Sub topic 13
Opening an inductive circuit: voltage spikes and flyback paths
This chapter assumes you know the inductor relation v = L di/dt, that inductor current cannot jump, and the RL natural response with tau = L/R.
Why opening the switch is dangerous
An inductor keeps its current continuous. If a switch interrupts that current, the circuit has no path for it. The current is forced toward zero in a very short time, so di/dt is very large. The inductor then produces a large voltage, v = L di/dt, with a polarity that tries to keep the current flowing.
In a real circuit, that voltage appears across the switch contacts or the transistor. It can reach hundreds of volts. The result is an arc across the contacts or a destroyed transistor.
The rule to remember: the inductor current must always have somewhere to go. A flyback path provides it.
Choosing a path for the current
Place a path across the coil. At the instant of opening, the inductor current I0 flows through that path, and the path sets the voltage.
Resistor across the coil
Let the coil be an ideal inductor L in series with its winding resistance R. A resistor Rf across the whole coil gives a loop with total resistance R + Rf. The current decays as
i(t) = I0 e^(-t/tau), with tau = L / (R + Rf).
The voltage across Rf starts at I0·Rf. A larger Rf gives a faster decay and a taller spike.
Flyback diode
A diode is placed across the coil, with its cathode toward the supply side. During normal operation it is reverse-biased and carries nothing. When the switch opens, the coil voltage reverses and the diode turns on. The voltage is clamped to about the diode drop Vf, near 0.7 V. The decay is slow, with tau ≈ L/R, because only the small winding resistance dissipates the energy.
Worked example
A coil has L = 10 mH and R = 100 Ω, and it is driven from 12 V. The steady current is I0 = 12/100 = 120 mA.
V, R, L = 12.0, 100.0, 10e-3
I0 = V / R
for Rf in (1e3, 10e3):
peak = I0 * Rf
tau = L / (R + Rf)
print(f"Rf = {Rf:.0f} ohm: spike {peak:.0f} V, tau = {tau * 1e6:.1f} us")
Vf = 0.7
print(f"Diode: switch node {V + Vf:.1f} V, tau = {L / R * 1e6:.0f} us")The output is:
- Rf = 1000 Ω: spike 120 V, tau = 9.1 µs.
- Rf = 10000 Ω: spike 1200 V, tau = 1.0 µs.
- Diode: switch node 12.7 V, tau = 100 µs.
The table summarizes the trade-off.
| Flyback path | Peak voltage at the switch | Decay speed |
|---|---|---|
| None | Limited only by arcing | Nearly instant |
| 1 kΩ resistor | About 132 V | tau about 9 µs |
| Diode | About 12.7 V | tau = 100 µs |
Common errors
- Diode in the wrong direction. It then conducts when the switch is closed and shorts the supply.
- Ignoring the slow decay. A diode makes the current die slowly. A relay then releases late, because the contacts need the current to fall below the drop-out level.
- Treating the diode as ideal. The clamp is Vf, not 0 V. The decay is also not purely exponential while the diode is conducting.
Exercise
A 50 mH coil with 25 Ω winding resistance carries 0.2 A. A switch opens, and a 475 Ω resistor is connected across the coil. What is the peak resistor voltage, and what is tau?
Show answer
The peak voltage is 0.2 A × 475 Ω = 95 V. The loop resistance is 25 + 475 = 500 Ω, so tau = 50 mH / 500 Ω = 100 µs.