Sub topic 5
Inductive Kickback and Flyback Paths
Assume you understand basic voltage, current, resistance, and transistor switching. You should also know that a brushed DC motor contains coils of wire and that an H-bridge has four electronic switches.
Why the motor creates a voltage spike
A motor winding is an inductor, which is a component that resists sudden changes in current. While the motor runs, current flows through its windings and creates a magnetic field. If a switch opens, the current cannot instantly become zero.
The winding then raises its terminal voltage until it finds another path for the current. This sudden voltage rise is called inductive kickback, or flyback. The voltage can damage the H-bridge switches, cause electrical noise, and reset the Arduino through the power supply.
The stored magnetic energy is approximately:
\[ E = \frac{1}{2}LI^2 \]
Here, L is inductance in henries and I is winding current in amperes. A larger motor current stores much more energy because current is squared in the equation.
The flyback path
A flyback path gives the winding current somewhere safe to go. In a simple low-side switch, a diode is placed across the motor. The diode is normally reverse-biased, so it does not conduct while the switch is on. When the switch opens and the motor winding reverses its voltage, the diode becomes forward-biased and carries the current.
In an H-bridge, the current can often flow through freewheel diodes. These may be separate diodes, integrated diodes, or the body diodes inside MOSFETs. The exact path depends on which two switches are on, whether PWM is turning a switch off, and whether the motor is coasting or braking.
| Driver design | Typical protection | What to verify |
|---|---|---|
| Integrated driver IC | Internal diodes and control logic | Datasheet current and voltage limits |
| MOSFET module | Body diodes, sometimes extra Schottky diodes | Diode current and switching behavior |
| Discrete transistor bridge | External flyback diodes often required | Reverse voltage, peak current, and placement |
H-bridge switching and PWM
During PWM speed control, switches turn off repeatedly. Each turn-off needs a controlled current path. A driver may route current through a supply rail, ground, or another MOSFET depending on its decay mode.
The protection path must be physically close to the switching devices. Long wires add inductance and can produce higher voltage spikes even when the circuit includes diodes. Place the motor supply bypass capacitor close to the driver. A ceramic capacitor handles fast noise, while a larger electrolytic capacitor supplies motor current changes.
Practical checks
- Confirm that the driver specifies flyback protection for brushed DC motors.
- Check the motor's stall current, because kickback energy increases with current.
- Keep motor-current wiring short and separate from sensitive Arduino signal wiring.
- Connect Arduino ground and driver logic ground together unless the system uses an intentional isolated interface.
- Add a fuse or current-limited supply during initial tests.
- Watch for resets, unexplained noise, or hot driver switches. These can indicate poor flyback control.
Exercise
Why does opening a motor switch create a voltage spike, and what does a flyback path do?
Show answer
Motor current cannot stop instantly because the winding is inductive. The flyback path carries that current temporarily and limits the voltage to a safer value.