← Back to ElectroLab
Electronics & RFIEC 60076 / IEEE Std 100 • Inductor Flyback

RL Time Constant Calculator

Enter V, coil resistance and inductance to get the current rise, stored energy and turn-off flyback voltage.

τ = L / R  •  i(t) = (V/R)(1 − e−t/τ)  •  E = ½LI²  •  v = L di/dt
Calculated Result
—

Step-by-step

  1. Enter valid values to begin.

Ideal inductor with constant L and a lumped series resistance R (no core saturation, no winding capacitance). The switch is a low-side switch, so the switch node rises to V plus the clamp voltage when it opens. The diode drop is treated as constant. The unprotected spike L·I/topen is purely illustrative: in a real circuit it is limited by stray capacitance, avalanche or arcing, not by the assumed opening time. Diode and resistor clamps keep the voltage bounded; the 80% Vds margin is a derating practice, not a standard.

IEC 60076 • IEEE Std 100 • Inductor Flyback

RL Time Constant and Flyback: What Happens When the Switch Opens

Core Engineering Principles

An inductor opposes a change in current, so when voltage is applied the current climbs gradually along i = (V/R)(1 − e−t/τ), with τ = L/R. The R here is the total loop resistance, including the winding’s own DC resistance, which many people forget. The current reaches 63.2% of V/R after one τ and 99.3% after five. A relay pulls in only when the current is high enough to make the force, so what matters is the time to reach a given current, not 5τ.

The dangerous half is turn-off. The inductor stores ½LI² and cannot change its current instantly, so when the switch opens the coil produces whatever voltage is needed to keep current flowing, v = L di/dt. Into an open transistor that means an avalanche that can destroy the part. A flyback diode across the coil gives the current somewhere to go and limits the voltage to about one diode drop. The price is a slow decay, because the coil voltage is only 0.7 V. A resistor clamp or a Zener in series with the diode releases the energy faster, at a higher clamp voltage.

τ = L / R  •  I∞ = V / R  •  E = ½LI²
t = −τ ln(1 − I/I∞)  •  v = L di/dt  •  τfw = L / (R + Rclamp)

NEC & Standard References

IEEE Std 100 defines inductance, time constant and related terms. IEC 60076 covers power transformers, where the same stored-energy and L/R physics matter at large scale. MOSFET and IGBT datasheets give a drain-source breakdown and an avalanche energy rating, and JEDEC test methods apply, so check your device’s rated Vds and unclamped-inductive-switching energy. The 80% voltage margin used here is practice, not a standard.
Worked Example: 12 V Relay Coil Driven by a Low-Side MOSFET
Given: V = 12 V, coil 100 mH with 24 Ω DC resistance, flyback diode VD = 0.7 V, MOSFET rated 60 V, pull-in at 300 mA.
1. τ = 0.1 / 24 = 4.17 ms; I∞ = 12 / 24 = 500 mA.
2. Time to 300 mA = −4.167 ms × ln(1 − 0.6) = 3.82 ms.
3. Stored energy = ½ × 0.1 × 0.5² = 12.5 mJ.
4. With the diode, the drain rises to 12 + 0.7 = 12.7 V, safe against 60 V. The current takes (L/R) ln(1 + 0.5 × 24 / 0.7) = 12.1 ms to reach zero, and the diode absorbs 1.73 mJ.
5. With a 100 Ω resistor clamp instead: the clamp starts at 50 V, the drain sees 62 V, over the rating.
6. With no protection and an assumed 1 µs opening: L × I / t = 0.1 × 0.5 / 1 µs = 50 kV (illustrative only).
Safety & Installation Rules
  • Diodes slow the release. A relay on a plain flyback diode drops out several times slower; if contact timing matters, add a Zener or resistor in series.
  • Wire the diode backwards and nothing happens until the first turn-off. The cathode goes to the positive rail.
  • Mind the second spike. Lead inductance and diode recovery add overshoot, so keep the loop tight.
  • Inductor saturation breaks the maths. Above the rated current, L collapses and current rises faster than L/R predicts.

Time Constants for Common L and R

Time constant τ = L / R.
L1 Ω10 Ω100 Ω1 kΩ
1 mH1 ms100 µs10 µs1 µs
10 mH10 ms1 ms100 µs10 µs
100 mH100 ms10 ms1 ms100 µs
1 H1 s100 ms10 ms1 ms

Rise and Decay

After 5τ the current is within 1% of its final value.

Current as a percentage of I∞ when switched on, and decay after switching off into a diode.
TimeRiseDecay
0.5τ39.3%60.7%
1τ63.2%36.8%
2τ86.5%13.5%
3τ95.0%5.0%
4τ98.2%1.8%
5τ99.3%0.7%

How Much Energy Is in the Coil?

This energy has to go somewhere when the switch opens, which is why flyback diodes matter.

Stored energy E = ½ L I².
L0.1 A0.5 A1 A5 A
1 mH0.005 mJ0.125 mJ0.5 mJ0.0125 J
10 mH0.05 mJ1.25 mJ5 mJ0.125 J
100 mH0.5 mJ0.0125 J0.05 J1.25 J
1 H5 mJ0.125 J0.5 J12.5 J

Worked Example: 24 V Solenoid

A solenoid of 50 mH and 12 Ω on 24 V has τ = 4.17 ms and a final current of 2.00 A. It reaches 90% in 9.6 ms. The stored energy at full current is ½ × 0.05 × 2² = 0.100 J. Without a clamp the opening switch sees a large voltage spike, and a flyback diode limits it to about 0.7 V above the supply.

RL Circuit Questions

What is the RL time constant?

τ = L / R. The current reaches 63.2% of its final value in one τ.

Why does a coil need a flyback diode?

When current is interrupted the coil forces it to continue, producing a large voltage spike. The diode gives it a path.

What is the final current?

I = V / R, since the coil acts as a short at steady state.

Does a diode slow the release of a relay?

Yes. A plain diode makes release several times slower. A Zener or resistor in series speeds it up at a higher clamp voltage.

How do I get inductance from the time constant?

L = τ × R. Measure the time to 63.2% with a known resistance.

Is v = L di/dt useful here?

Yes. It explains why a fast current change creates a high voltage across the inductor.