RL circuit (time constant)
A coil fights any change in its current. Switch the supply on and the current can't jump: it climbs steeply at first, then ever more slowly towards V/R, reaching 63% after one time constant L/R. Take the supply away and the coil keeps the current flowing round the resistor, dying away along the same curve mirrored.
The formulas
- Time constant: τ = L ÷ R (henries ÷ ohms = seconds). A bigger coil is slower; a bigger resistor is faster.
- Rising from zero: I(t) = (Vs ÷ R)(1 − e−t/τ). Time to reach a fraction f of the final current: t = −τ ln(1 − f), so 99% takes about 4.6 τ.
- Decaying from I0 with the supply replaced by a wire: I(t) = I0 e−t/τ.
- Coil voltage: VL = L dI/dt. At switch-on no current flows yet, so the whole supply sits across the coil and the current starts rising at Vs ÷ L amps per second. Stored at full current: energy ½ L I².
Ideal parts: the coil's own winding resistance is counted in R, its inductance stays fixed (no core saturation), and the supply and wires have no resistance. The animation runs for 5 τ with the supply on, then 5 τ with it off, in 6 seconds however long that really takes. Breaking the circuit outright, instead of giving the current a path, forces dI/dt and so the coil voltage L dI/dt very high: that is why relay and motor coils get a flyback diode. Tested: the formulas against stepping L dI/dt = Vs − IR numerically (packages/mechanics/test/science.test.ts).
Example
With resistance 10 Ω, inductance 500 mH, supply 12 V: time constant τ = L/R: 50 ms; time to 99%: 230 ms; final current V/R: 1.2 A; rate of rise at switch-on: 24 A/s; energy stored at full current: 360 mJ. Open this setup, then change one thing at a time.
Related: RC circuit · Voltage divider · Spring–mass–damper