www.robowars.org

RoboWars Australia Forum Index -> Builders Reports

Pulse 50 Speed Controllers - TDT - QLD [1280 x 960]
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next

Post new topic   Reply to topic
  Author    Thread
Spockie-Tech
Site Admin


Joined: 31 May 2004
Posts: 3160
Location: Melbourne, Australia


 Reply with quote  

Unmarked triangles are strange.. normally grounds are either the three parallel lines facing down, or the rails are a flat line with the rail voltage facing up. I guess triangles for both are OK, provided they are labelled, but I would rearrange them so the power bus's are facing up.. its much clearer.

How best to drive the FET gates is the big trick in motor control.

If the Fets are lightly loaded, then you could probably just get away with a "pull-up" resistor on the gates to 12v, and allow the ULN2003 to pull them to ground. Simple change, but you need to make sure that your pull-ups are attached to the right voltage so you dont exceed your Vgs(max) spec (Maximum Voltage Gate-to-Source) for the Fet if you decide to run your motors at 24v or something.

The drawback of this technique is that the pull-ups need to be of a high enough resistance to allow the ULN2003 driver to pull the gates "down" when appropriate without having to soak up too much current from the pull-up resistor, but still be low enough to allow the pull-up resistor to flow enough current into the gates to turn them on again quickly when the drivers pull-down "lets go".

Its a bit of a balancing act and takes a bit of scoping to ge the right balance between too much pull-up resistance meaning a slow turn-on but a fast turn-off, and too little pull-up resistance meaning a fast turn-on, but a slow turn off.

It gets even tricker when you are running a full-bridge of Fet's, since you need to make sure that one Fet is off before you turn the other one on. Thats not a problem in your relay reverse controller though..

A better technique is to use a "push-pull" Gate drive, where instead of a switch one way (to ground in this case), with resistors pulling it the other (when the switch is off), you actually have a switch in both directions that pulls the gates down nice and fast, and a seperate switch that pulls them up again.

This *can* be done with a transistor on each side of the gate, but you need to get your transistor-base drive circut right then so they both switch on and off cleanly with no-overlap. Not too hard, but requires fiddling with a few resistors to get the base bias correct.

A better solution is to use a small relatively cheap specialised Mosfet gate drive IC that is designed specifically to drive the fiddly capacitive gates of mosfets properly. This greatly improves the Fets ability to handle high power when they are being cleanly switched on and off since they spend less time in the resistive partially-conducting region as they "transition" from on to off.

The one I have used in some test circuits is the TC4424. They only about $2 IIRC and are available from Farnell
http://au.farnell.com/

I have uploaded a datasheet for the 4424 here for you to have a look at.
http://www.robowars.org/temp/tc4424.pdf
_________________
Great minds discuss ideas. Average minds discuss events. Small minds discuss people

Post Thu Aug 18, 2005 11:56 am 
 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

snap ;->
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Thu Aug 18, 2005 12:02 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

Okay, I'll look at the possibility of using the TC4424 or the MC34151 chips. The TC4424 looks fairly easy and will run my fets, so all I'll need then is a SN75N (I think that's it) NPN 3 channel darlington bank to switch the relays.
Just means I need 3 x 8-Dip IC's now, which is still the same amount of space as a 16-Dip and an 8-Dip.

This is very educational!
_________________
https://www.halfdonethings.com/

Post Thu Aug 18, 2005 12:06 pm 
 View user's profile Send private message
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

naw
the one chip should work fine
tie the inputs and outputs togther
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Thu Aug 18, 2005 7:06 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  
T.V.R Relay Boards

Well the first test type of my Team Vertex Robotics (T.V.R) Relay boards custom built for Sproing's lifter was completed and given autonomous instructions to switch the weapon relays on alternating each one every 1 second. No explosions, just gotta test it under radio now. Cool

@Angus: I'll get a board etched for your one and will do some more testing before sending it too you.

Photos:


_________________
https://www.halfdonethings.com/

Post Sat Dec 03, 2005 7:22 pm 
 View user's profile Send private message
dyrodium
Experienced Roboteer


Joined: 24 Aug 2004
Posts: 6476
Location: Sydney


 Reply with quote  

Very cool! Smile
_________________
( •_•)

( •_•)>⌐■-■

(⌐■_■)

YEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH

Post Sun Dec 04, 2005 8:44 am 
 View user's profile Send private message Visit poster's website MSN Messenger
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

A few revisions have been made. Increased the stability of the failsafe code. Seems to work reliable now, Have yet to get it to pick up anything but the transmitters signals Cool

Andrew (Dumhed) has kindly offered to make up some professional boards, thanks a million Andrew! I've also added some features into the design. Added BEC (Turned on via jumper) and I've added a dead band jumper. The idea of the deadband jumper will be to make the controller more suited to either drive or weapon channels. For drive channels, you want the drive turning on at around less then 1/4 stick. This will make it more responsive to your finger movements. While using it for a weapon, if you remove the deadband jumper, it will make the weapon switch on at around 1/2 stick, making it less likely that a a small accidental bump of the stick doesn't fire your weapon off.

Here is the component list so far:

TVR Relay Board Component List:

2 x TIP31 40v 3A Transistor - JayCar Part #ZT-2285 = $2.40
2 x Mylar Capacitors - JayCar Part #RG-5125 = $0.40
2 x 1Amp Diodes - JayCar Part #ZR-1020 = $0.95
2 x Jumper Shunts - JayCar Part #HM-3240 = $1.45 (10.pkt)
1 x 7805 5v Regulator - JayCar Part #ZV1505 = $1.20
1 x 7812 12v Regulator - JayCar Part #ZV1512 = $1.20
1 x 8-DIP Socket - JayCar Part #PI-6500 = $0.25
1 x Red LED - JayCar Part #ZD-0102 = $0.50
1 x Green LED - JayCar Part #ZD-0122 = $0.95
1 x 28pin Header Terminal - JayCar Part #HM-3211 = $0.55
1 x 50v Electrolytic Capacitor - JayCar Part #RE-6180 = $0.80
1 x .125watt 200 Ohm Resistor - JayCar Part #RR-0555 = $0.40

Total Onboard Costs: $11.05

Off Board Parts Required:
1 x PicAXE 08M chip [Micro-Zed = $5.00]
2 x 30amp SPDT Horn relays - JayCar Part #SY-4070 = $12.40

Off Board Costs: $17.40

Optional Parts:
2 x Horn Relay Bases - JayCar Part #SY-4069 = $5.90 (Makes wiring up the relays easier)
2 x 60amp SPDT Horn relays - JayCar Part #SY-4074 = $8.95(Handles double the current, use

instead of the 30Amp relays)

Here is the source code minus the new Failsafe LED code and Deadband code:

;-------------------------------------------------------------;
;Team Vertex Robotics
;PicAxe 08M Relay Controllers
;Written by Aaron Knight, with lots of help from Ajax & Spockie
;Copyright 2005 Aaron Knight
;Last Updated: 08/12/2005
;Note: This is NOT a professional controller!
;-------------------------------------------------------------;
;-RC Channel Definitions
symbol fail_low = 100 ;1ms - failsafe below here
symbol low_on = 135 ;low activate point
symbol low_off = 140 ;low deactivate point
symbol neutral = 150 ;where motor is off
symbol high_on = 160 ;high deactivate point
symbol high_off = 165 ;high activate point
symbol fail_high = 200 ;2ms - failsafe above here

;-PicAxe Pin Definitions
symbol led = 0 ;Failsafe LED
symbol reciver = 1 ;Pulsein from Reciever
symbol relay1 = 2 ;Relay 1 activate
symbol relay2 = 4 ;Relay 2 activate

;-PicAxe Register Definitions
symbol chan1 = b0
symbol fail = b1
symbol srt = b2

;-------------------------------------------------------------;
main:
pulsin 1,1,chan1
if chan1 <= fail_low then deny
if chan1 >= fail_high then deny
let fail = 0
goto accept
;-------------------------------------------------------------;
main2:
let srt = 0
if chan1 > low_off and chan1 < high_off then stp
if chan1 <= low_on then fwd
if chan1 >= high_on then rev
goto main
;-------------------------------------------------------------;
fwd:
high relay1
low relay2
goto main
;-------------------------------------------------------------;
rev:
low relay1
high relay2
goto main
;-------------------------------------------------------------;
stp:
low relay1
low relay2
goto main
;-------------------------------------------------------------;
;-Advanced Counting Failsafe
;-------------------------------------------------------------;
accept:
srt = srt + 1
fail = fail - 1
if srt <= 3 then main
if srt = 4 then main2
goto main
;-------------------------------------------------------------;
deny:
fail = fail + 1
srt = srt - 1
if fail <= 3 then main
if fail = 4 then stp
goto main
;-------------------------------------------------------------;


Well, I'll report when I get the boards and some more chips happening Cool
_________________
https://www.halfdonethings.com/

Post Thu Dec 15, 2005 12:33 pm 
 View user's profile Send private message
Grotto



Joined: 30 Aug 2005
Posts: 38
Location: Morisset NSW


 Reply with quote  

Can you post a recent schematic that includes
you recent changes? Confused

I also noticed that (in the schematic) you arent tying
SerIn(pin2) to ground at all, I guess this is assumed by all
picaxe users as being required.
EDIT: Ive just looked at the PCB V0.12 and seen you arent tying
it off. It MUST be tied to ground (either direct or via a resistor as
per PicAxe Doco), otherwise chip will occaisionally lock up or
even lose its program on a "noisy" power rail.


And does anyone know the effect of pumping regulated 5V
into a 4.8V nicad/NMH battery pack via a RX unit with
NO current resistor Question (if the power jumper is incorrectly set)
Is this potentially harmful or will this just trickle charge it?
(just an educated guess here)


Also,
(and anyone experienced with relay welding PLEASE comment)
would it be an advantage to zero all power output (in software)
while the relays are being switched to prevent relay burn/welding? Idea

Ive not gotten far enough into the physical building to experience this yet.
Please forgive me if this is already done in software already, but I
havent dissected that yet... Embarassed


PS. Old News--Ive got a schematic program that just uses a
down-triangle for ground and no standard at all for + rails.
Its a Euro-tech trend I believe. Rolling Eyes
_________________
"The future is not set. There is no fate but what WE make."
........CEO Cyberdyne Systems

Post Sun Jan 08, 2006 6:22 am 
 View user's profile Send private message Send e-mail
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

I've just tied pin2 off to the ground. My latest PCB design as of 5 mins ago is here:



quote:
Also,
(and anyone experienced with relay welding PLEASE comment)
would it be an advantage to zero all power output (in software)
while the relays are being switched to prevent relay burn/welding?


To prevent arcing out the contacts of the relays on 24v, put a capacitor across the contacts. Andrew A found this to be very effective on his robot. If your worried about switching full loads with relays from one direction to another and over amping them, you can look at wiring the relays up into a h-bridge configuration using 2 x SPDT relays. This will give you a braking effect when the relays are off or both are on. Plus it stops it from accidentally shorting out Smile
_________________
https://www.halfdonethings.com/

Post Sun Jan 08, 2006 11:00 am 
 View user's profile Send private message
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

yeah if you can turning power off via FET's to the relays would be a "good thing TM"

they weld when they switch on so i cant really see how a cap would help, (it'd hinder things as far as i can tell by making a huge current draw as it charges) not saying it isnt true, i just cant see how it works is all.
one of the best "unwelders" we have found for microswitches is just driving around, the vibration pops the "weld"
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Sun Jan 08, 2006 5:35 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Totaly_Recycled
Experienced Roboteer


Joined: 15 Jun 2004
Posts: 1346


 Reply with quote  

Most of the arcing on the contact occurs when a high current is being switched off this causes the points to start piting on one side and building up material on the other at a certain point while breaking the current flow this arcing can cause the points to weld together .Puting a capacitor across each set of points(in parallel with them ) alows the curent a path to momentary folllow as the contacts open .
When the points are closed the curent flows across them and the cap has zero potential so is sitting in a discharged state .The moment the points open the curent flows into the cap which helps reduce the arc .

Excatly the same way the condensor (just a glorified capaciitor ) works in a point igniton system in an i/c motor . Try running a points ignition engine with out the condensor and see how long the points last ..usualy only a few minutes at the most if you can get it started at all before they arc out . The condensor is used to quench the arc so that the coils gets a nice clean snap off so it can discharge the magnetic field into the secondary coil if arcing is present this reduces the seconday voltage generated .

Post Sun Jan 08, 2006 10:06 pm 
 View user's profile Send private message
Rotwang
Experienced Roboteer


Joined: 15 Jun 2004
Posts: 1589
Location: Vic


 Reply with quote  

Good answer Andrew; I had to resort to using car Ignition capacitors on Fragmentor’s hammer relays. I think it is possible that the relay contacts snap shut relatively quickly but open slow, this makes it easy to draw an arc between the opening contacts.

Post Mon Jan 09, 2006 5:56 am 
 View user's profile Send private message
Totaly_Recycled
Experienced Roboteer


Joined: 15 Jun 2004
Posts: 1346


 Reply with quote  

exactly Very Happy it fixed my welding problems on sproing when it was running on 24 volts

Also to answer Grotos question further if you can switch the contacts on and off under no load it reduces the arcing -welding problem considerably .I have run my home made controlers in our robot T2M i have them set to switch before the full curent goes acros them as i use pwm from servo boards for speed control .T2M uses two winch motors for drive and i am only useing 30 amp relays it can pull surges of up to 100 amps on each motor(ask nick in nsw he put his meter on them when we were in sydney ) . I can sit on the robot and drive it around and the contacts havent welded yet .Im sure if i pushed them too hard they would probaly start to melt though .

Post Mon Jan 09, 2006 7:12 am 
 View user's profile Send private message
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  


_________________
https://www.halfdonethings.com/

Post Wed Jan 11, 2006 10:42 pm 
 View user's profile Send private message
DumHed
Experienced Roboteer


Joined: 29 Jun 2004
Posts: 1219
Location: Sydney


 Reply with quote  

nice boards Smile
_________________
The Engine Whisperer - fixer of things

Post Wed Jan 11, 2006 11:04 pm 
 View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
  Display posts from previous:      

Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 4 of 7

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Last Thread | Next Thread  >
Powered by phpBB: © 2001 phpBB Group
millenniumFalcon Template By Vereor.