Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You could use a PTC resistor (polyfuse/switch), I'd recommend 500mA.So now it appears I'll need a way of limiting this current so that it doesn't draw a massive current while the motor is stalled, which could potentially damage both the transistors and the battery... I've used up all of my fingers and toes counting all of the problems that have been spawned by this 'basic' problem
The robot, being a toy, may have been designed to tolerate a stall condition. It would be a good idea to measure the stall current first to determine if it is actually a problem.So now it appears I'll need a way of limiting this current so that it doesn't draw a massive current while the motor is stalled, which could potentially damage both the transistors and the battery... I've used up all of my fingers and toes counting all of the problems that have been spawned by this 'basic' problem
The robot, being a toy, may have been designed to tolerate a stall condition. It would be a good idea to measure the stall current first to determine if it is actually a problem.
It may require no action on your part.
Only one PA signal at "0" elsewhere on any of the five other motors will bypass the 'organic' ground. This will defeat the protection against both PA0 (CW) and PA1 (ACW) being high at the same time. It's not a simple problem to be 'fixed later when I come to it'.
An 'organic' ground has no benefit in actual practice. We use real logic (e.g. diodes) to protect from illegal states.
I'm fairly sure I just solved this problem with a schematic I just drew up; a diode will connect the ground portion of each H-Bridge to the actual ground, as well as to the two diodes leading to the uC ports for that motor. The H-Bridge current can simply pass through the diode to the battery ground, but each H-Bridge is isolated from the others since they each have a diode between them and ground.
You're probably right, bypassing the motor is always a good idea anyway to suppress the RF generated by it. Little motors can generate some surprisingly high frequency harmonics which extent into the UHF and microwave bands.mneary said:Protection diodes are probably unnecessary in this particular circuit, since the supply is only 3V. The BJT's are probably 40V rated (or more), and a small (0.1 µF) capacitor across the motor should easily keep spikes from rising above that.
Won't all those diodes drop too much voltage for a 3V supply?giftiger_wunsch said:I just drew up; a diode will connect the ground portion of each H-Bridge to the actual ground, as well as to the two diodes leading to the uC ports for that motor.
How many motors are there?
I thought there was only one?
Yes, if there's more than one the original circuit won't work.
Hmm... how much voltage would I lose through the diodes? Maybe there's a way I can cut out a diode somewhere, there are a lot of diodes used... I can't see a way though.
Why are you trying to use only 3V (or only 2.4V if you're using NICAD's).
I already solved that problem by adding a Schottky diode which uses less parts than your suggestion.Here's how I would solve the shoot-through (forward and reverse at the same time) problem. One resistor, one transistor. It assumes that for a moment (a few nanoseconds) in a fault condition, that the fault current is beta limited.
Connect the collector of the 'new' transistor to the base of TR2. The base resistor of the 'new' transistor may be 10K.
You could use Schottky diodes of course.
I'll give you a crash course.I'm not familiar with Schottky diodes... I'd better go look them up
Lower maximum reverse voltage.
I saw post #165. I missed that the diode was Schottky so I missed the significance. Vcesat of Tr1 and Vfd of the diode are less than the base turn-on of Tr2.I already solved that problem by adding a Schottky diode which uses less parts than your suggestion.