L298 Dead Time
AGCB
Posts: 327
I'm working on a balancing project and using a L298 driver module. My question is, do I need to provide protection from shoot through current?
I have researched the L298 data sheet and see nowhere that mentions either that it has this protection built in or that it must be provided in software or something.
To be safe I have so far halted it before a direction change for 8 uS but if it's not needed I could speed up the program a little.
I don't see any delay or anything in others programs.
Thanks for consideration.
Aaron
I have researched the L298 data sheet and see nowhere that mentions either that it has this protection built in or that it must be provided in software or something.
To be safe I have so far halted it before a direction change for 8 uS but if it's not needed I could speed up the program a little.
I don't see any delay or anything in others programs.
Thanks for consideration.
Aaron
Comments
-Phil
I don't think there's a danger of shoot through with the L298.
From looking at the block diagram, I don't see how both switches on one side of the "H" can be open?
Am I missing something (again)?
I thought if both In1 and In2 were set high (or low), it would cause the motor to brake?
The schematic is not enough to determine this. It depends upon the turn-on and turn-off delays. If the source-current turn-on delay were shorter than the sink-current turn-off delay, for example, there would be shoot-through when In1 or In2 changed state. 'Same for the sink-current turn-on vs. the source-current turn-off. But according to the datasheet, that appears not to be the case. Nonetheless, the timings are so close that I would still disable the switches when changing state on the inputs, just to be sure.
-Phil
Okay, I think I now understand the original question.
Thanks for your patients (again).
Dr. PhiPi's patients have great patience.
You know that crossed my mind as I typed it but I didn't stop to check.
Having had a heart transplant and having spent more time waiting for doctors than most, it occurred to me many times that the name "patients" was likely derived from their need to have "patience".
But I'm not going to call PhiPi "Dr. Phil", he deserve better.
Don't [quack] be so [quack] sure! [quack]
-Phil
(A friend of mine has an iPhone that he's programmed to emit different rings for different callers. When I call him, it sounds like a duck quacking.)
I'd just say the propagation delays in the logic and the transition times of the power devices are represented there as a total. So you might take your 8 microseconds down to 5 microseconds.
The only other thing is the H-bridge voltage drop can be quite high... about 2 volts. So you input 12 volts, and the motors see 10 volts. Generally, the higher the voltage that you can drive your H-bridge at, the less power proportionally wasted in the H-bridge. Of course, a MOSfet design would be far better.
And a higher voltage to the motor would also add to the response from a standstill.
I hadn't thought of that. I do have a LMD 18200 on hand but have not looked at the data sheet yet. I also have a homemade MOSFET driver that I made quite some time ago but don't know if I trust my memory as to how it worked or even IF it worked.
Oh well, more study and work to keep me busy.
Thanks for all the replies.
Aaron