ENع
←RL circuit
Lesson 21 · Capacitors, inductors and first-order circuits

The RL circuit

14 min10 steps5 questionsIntermediate
About this lesson

A resistor and an inductor in series answer a switch with a smooth exponential, never a jump. Close a 24 V supply onto 12 Ω and 0.6 H and watch the current climb toward 2 A with time constant τ = L/R = 50 ms; then short the branch and watch the stored energy drain into the resistor with the same τ. It mirrors "The RC circuit: natural and step response", with current playing the part that voltage played there, and builds on "Inductors and the magnetic field" and the Hardware lessons "Ohm's law" and "Resistors and capacitors".

You'll learn to

Tick what you feel confident about. These self-checks do not affect your lesson score.

Fig 21 · Interactive
01 / 10

A supply, a switch and a coil

A 24 V supply, a change-over switch, a 12 Ω resistor and a 0.6 H inductor. The switch rests on the short, so no current flows and the inductor stores nothing. What happens when it moves to the supply?

supply     Vs = 24 V
resistor   R  = 12 Ω
inductor   L  = 0.6 H

switch on "b" (the short) for a long time:
i = 0 A, no stored energy.
At t = 0 it moves to "a" (the supply).
Loading figure…
or ← →
Read the lesson step by step
  1. A supply, a switch and a coil

    A 24 V supply, a change-over switch, a 12 Ω resistor and a 0.6 H inductor. The switch rests on the short, so no current flows and the inductor stores nothing. What happens when it moves to the supply?

    supply     Vs = 24 V
    resistor   R  = 12 Ω
    inductor   L  = 0.6 H
    
    switch on "b" (the short) for a long time:
    i = 0 A, no stored energy.
    At t = 0 it moves to "a" (the supply).
  2. The inductor's rule

    An inductor is a coil of wire. Its voltage depends on how fast its current changes: v = L·di/dt. L is the inductance, in henries (H). A sudden jump in current would need an infinite voltage, so inductor current never jumps.

    v = L · di/dt      (i enters the + end)
    1 H = 1 V·s/A
    
    steady current  -> di/dt = 0 -> v = 0
    fast change     -> big voltage
    
    so  i(0+) = i(0−)
  3. t = 0: the switch moves to the supply

    At t = 0 the switch moves to the supply. At 0+ the current is still 0 A, so vR = 0 and all 24 V sits across the inductor. The current starts rising at di/dt = 24/0.6 = 40 A/s.

    i(0+) = i(0−) = 0 A
    vR(0+) = R·i = 0 V
    vL(0+) = Vs − vR = 24 V
    
    di/dt = vL / L = 24 / 0.6 = 40 A/s
  4. The time constant τ = L/R

    As the current grows, the resistor takes more of the 24 V and the rise slows. The time constant τ = L/R = 0.6/12 = 50 ms sets the pace. After one τ the current is 63.2% of its final value: 1.26 A.

    τ = L / R = 0.6 H / 12 Ω = 0.049999999999999996 s = 50 ms
    
    at t = τ:
      i  = 2 × (1 − e^−1) = 1.26 A  (63.2 %)
      vR = 12 × 1.26 = 15.17 V
      vL = 24 × e^−1 = 8.83 V
  5. The step response

    The current follows i(t) = 2(1 − e^(−t/τ)) A. The inductor voltage dies away, vL(t) = 24·e^(−t/τ) V, while vR = 12·i climbs. At every instant vR + vL = 24 V, as Kirchhoff's voltage law demands.

    i(t)  = (Vs/R)(1 − e^(−t/τ)) = 2(1 − e^(−t/0.049999999999999996)) A
    vL(t) = L di/dt = Vs e^(−t/τ) = 24 e^(−t/0.049999999999999996) V
    vR(t) = R i(t)
    
    KVL:  vR + vL = Vs = 24 V  (any t > 0)
  6. Steady state: just a wire

    After 5τ = 249.99999999999997 ms the current is 1.99 A, 99.3% of its final value, and vL is only 0.16 V. With steady DC an inductor acts like a short circuit, so the final current is Vs/R = 24/12 = 2 A.

    t = 5τ = 249.99999999999997 ms
      i  = 1.99 A  (99.3 % of 2 A)
      vL = 0.16 V
    
    DC steady state: di/dt = 0 -> vL = 0
    the inductor is a short circuit
    i(∞) = Vs / R = 2 A
  7. Energy in the magnetic field

    The current builds a magnetic field in the coil, and the field holds energy: w = ½·L·i². With i = 1.995 A at t = 300 ms, w = ½ × 0.6 × 1.995² = 1.19 J. That energy cannot vanish in an instant.

    w = ½ L i²
    
    t = 300 ms (6τ):  i = 1.995 A
    w = 0.5 × 0.6 × 1.995² = 1.19 J
    
    (left forever: ½ × 0.6 × 2² = 1.2 J)
  8. Switch back: the coil pushes on

    At t = 300 ms the switch moves back to the short. The supply is cut out, yet the current is still 1.995 A, the same way round. To push it through the resistor, vL jumps to −12 × 1.995 = −23.9 V.

    i(300+) = i(300−) = 1.995 A
    
    loop R-L-switch, no source:
      vR + vL = 0
      vL = −R·i = −12 × 1.995 = −23.9 V
    
    vL just before: 0.06 V; just after: −23.9 V
    (the voltage may jump; the current may not)
  9. The natural response

    Now i(t) = 1.995·e^(−(t − 300 ms)/τ) A, with the same τ = 50 ms. After one τ it is 0.73 A; after five, 0.013 A. With no source, the coil's current dies away exponentially.

    i(t) = I0 e^(−(t − T1)/τ),  I0 = 1.995 A, T1 = 300 ms
    
    t − T1 = τ   ->  i = 0.73 A  (36.8 %)
    t − T1 = 5τ  ->  i = 0.013 A
    
    vL = −vR = −R·i  ->  0
  10. Where the energy went

    During the decay the resistor turns the stored energy into heat: ∫i²R dt = ½·L·I0² = 1.19 J. Energy is conserved. With no path, the current would have to stop at once and the coil's voltage would spike.

    heat in R after T1:
      ∫ i²R dt = R I0² τ / 2
               = 12 × 1.995² × 0.049999999999999996 / 2
               = 1.19 J
      = ½ L I0² = 1.19 J stored
    
    No path (switch just opens): di/dt huge,
    v = L di/dt spikes and arcs the contact.
    A flyback diode across a relay coil
    gives the current that path.

Quiz Unlocks after the last step.