Sub topic 4
Shoot-through: the one switch combination to avoid
This chapter assumes you understand basic Arduino output control, transistor switches, and the four-switch H-bridge arrangement. You should know that motor current depends on load and that a motor can generate voltage while it is spinning.
What shoot-through means
An H-bridge has two vertical switch legs. Each leg has a high-side switch connected to the positive motor supply and a low-side switch connected to ground. The motor connects between the two leg centers.
Shoot-through is the condition where the high-side and low-side switches on the same leg are on at the same time. This creates a low-resistance path directly from the motor supply to ground:
| Switches on in one leg | Result |
|---|---|
| High-side and low-side together | Shoot-through, causing a large supply current |
| High-side only | The motor terminal is connected to the supply |
| Low-side only | The motor terminal is connected to ground |
| Both off | The terminal is disconnected, except for diode paths |
The motor does not limit this current. The current flows through the switches, wiring, and supply impedance instead. It can rise in microseconds, causing voltage dips, overheating, damaged transistors, or a failed driver.
How direction commands create the risk
To drive the motor forward, one diagonal pair is enabled. For example, the left high-side switch and right low-side switch can turn on. Current flows through the motor in one direction.
To drive it in reverse, the opposite diagonal pair turns on: the right high-side switch and left low-side switch.
The dangerous transition occurs when changing between these pairs. If one switch turns on before its opposing switch has fully turned off, both switches in one leg may conduct briefly. This can happen because of transistor switching time, driver delays, software timing, or electrical noise.
Dead time and driver protection
Dead time is a short interval when both switches in a leg are off before the other switch turns on. It prevents overlap during switching.
A proper motor-driver IC usually provides:
- Break-before-make switching.
- Dead-time insertion.
- Undervoltage shutdown.
- Logic input filtering or interlocking.
- Thermal and overcurrent protection on some devices.
These features make an integrated driver safer than controlling four separate MOSFET gates directly. Check the data sheet because protection features and dead-time behavior differ between parts.
If you build an H-bridge from discrete MOSFETs, the gate-driver circuit must control dead time. Do not depend on two Arduino pins changing at exactly the same instant. Microcontroller instructions, pin propagation delays, and transistor turn-off times are not identical.
Never connect a high-side and low-side gate directly to independent Arduino outputs without hardware interlock and dead-time control. A software mistake or reset state can turn on both switches.Preventing and diagnosing shoot-through
Use these practices:
- Set all control pins to safe states before enabling the driver.
- Use a driver with built-in interlock and dead time.
- Disable the bridge before changing direction when the driver requires it.
- Add the manufacturer-recommended supply bypass capacitor close to the driver.
- Use a current-limited bench supply during first tests.
- Treat sudden resets, a hot driver, or a supply that collapses as possible shoot-through symptoms.
A brief current spike can occur during normal switching, but repeated or sustained spikes indicate a control or hardware fault.
Exercise
Why must dead time be inserted when switching from one motor direction to the other?
Show answer
Dead time keeps both switches in each H-bridge leg off briefly, preventing the high-side and low-side switches from conducting together and shorting the supply.