The RL circuit
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".
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).
Read the lesson step by step
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).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−)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/sThe 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 VThe 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)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 AEnergy 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)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)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 -> 0Where 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.
5 quick questions
Choose one answer per question. You can change your choices before checking them.
01A switch connects a DC supply to a series RL circuit that was carrying no current. What is the current just after the switch closes (t = 0+)?
Inductor current cannot change instantly (v = L·di/dt would have to be infinite), so i(0+) = i(0−) = 0. The whole supply voltage appears across the inductor instead.
02In the figure, what is the time constant of the 12 Ω, 0.6 H circuit?
τ = L/R = 0.6 H / 12 Ω = 0.049999999999999996 s = 50 ms. (R/L = 20 per second is the decay rate, 1/τ.)
03What is the current at t = τ = 50 ms after the switch closes?
i(τ) = 2(1 − e^−1) = 1.26 A, 63.2% of the final 2 A. 0.74 A (36.8%) is what remains of the current one τ into the decay.
04A coil has L = 2 H and winding resistance R = 40 Ω. Roughly how long after it is connected to a DC supply does its current settle (5τ)?
τ = L/R = 2/40 = 0.05 s = 50 ms, and after about 5τ = 250 ms the current is within 1% of its final value.
05A relay coil is carrying current when its switch suddenly opens, leaving the current no path. What happens?
The stored energy ½·L·i² must go somewhere. Forcing the current to zero fast makes v = L·di/dt very large, which can arc across the switch. A flyback diode across the coil lets the current circulate and decay instead, as the short does in the figure.
Glossary
- Inductor
- A coil of wire whose voltage depends on how fast its current changes: v = L·di/dt. It stores energy in its magnetic field.
- Inductance (L)
- How strongly a coil opposes a change in current. Unit: henry, H = V·s/A.
- Time constant (τ)
- The time scale of a first-order response. For a series RL circuit τ = L/R. After τ a step response is 63.2% of the way; after 5τ it is within 1%.
- Step response
- How a circuit responds when a constant source is switched in. For RL: i(t) = (Vs/R)(1 − e^(−t/τ)).
- Natural response
- How a circuit behaves with no source, driven only by its stored energy. For RL: i(t) = I0·e^(−t/τ).
- Steady state
- The condition after the transient dies away. With DC, an inductor then has di/dt = 0, so it acts like a short circuit.
- Stored energy
- The energy in an inductor's magnetic field, w = ½·L·i², in joules.
- Flyback diode
- A diode placed across an inductive load such as a relay coil, giving its current a path when the switch opens so the voltage cannot spike.
Notes and sources
- The parts are ideal: the switch moves instantly, the inductor has no winding resistance and the supply holds 24 V at any current. Every number in the figure is computed from this model.
- Every first-order response has the same shape: x(t) = x(∞) + [x(0+) − x(∞)]·e^(−t/τ). Find the starting value, the final value and τ, and you have the whole curve.
- Switching off a coil with no path for its current makes a large voltage spike. That is why a flyback diode is placed across inductive loads such as relay coils. The same physics applies to the contactor coil that switches an air-conditioner's compressor on and off.
- C. K. Alexander, M. N. O. Sadiku, Fundamentals of Electric Circuits, McGraw Hill (ch. 7, First-Order Circuits)
- RL circuit (Wikipedia): τ = L/R, the DC step solution and the decay when the source is replaced by a short
- Inductor (Wikipedia): v = L·di/dt, the henry, W = ½·L·I², and current cannot change instantaneously
- Time constant (Wikipedia): τ = L/R for an RL circuit, 63.2% after one τ, effectively settled after about 5τ
- Flyback diode (Wikipedia): the voltage spike when an inductive load is switched off, and the diode that gives its current a path
- MIT OpenCourseWare 6.002 Circuits and Electronics: energy storage elements and first-order networks
Quiz Unlocks after the last step.