Electrical Engineering › Section H · Magnetic circuits and inductors › Topic H.6

R-L transients

Switch a dc source onto a coil and its current does not jump; it climbs along an exponential curve set by the time constant L/R. Switch it off carelessly and the coil fights back with a voltage spike. The mathematics is the same as for capacitor charging, with current and voltage trading roles.

Why coil switching needs its own analysis

Relays, solenoid valves, motor windings and ignition coils are all inductors that get switched on and off. The topic "Charging and discharging transients" showed that a capacitor's voltage cannot jump, so it moves exponentially towards its new value with time constant \(\tau = RC\). An inductor's current cannot jump either, because \(v_L = L\,di_L/dt\) would need infinite voltage. So after any switching, inductor currents and voltages also move exponentially, from an initial value to a final value, with a new time constant.

The storage phase: first and last moments

Take a dc source \(E\) with a switch, a resistor \(R\) and an ideal inductor \(L\), all in series. The inductor current is zero before the switch closes, so it is still zero the instant after. With no current there is no drop across \(R\), so the whole of \(E\) appears across the inductor: at \(t = 0^+\) the inductor acts as an open circuit. Long after, the current is steady, \(v_L = 0\), and the inductor acts as a short circuit, so the current is \(E/R\). These are the opposite equivalents to an uncharged capacitor's, which starts as a short circuit and ends as an open circuit.

The storage-phase equations

Between those moments,

i_L = \frac{E}{R}\left(1 - e^{-t/\tau}\right), \quad \tau = \frac{L}{R}

while \(v_L = E e^{-t/\tau}\) and \(v_R = E(1 - e^{-t/\tau})\). The time constant really is a time: a henry is a volt-second per ampere and an ohm is a volt per ampere, so H/Ω is seconds. The familiar exponential milestones apply:

\begin{array}{ccc} t & 1 - e^{-t/\tau} & e^{-t/\tau} \\ \hline 1\tau & 0.632 & 0.368 \\ 2\tau & 0.865 & 0.135 \\ 3\tau & 0.950 & 0.050 \\ 5\tau & 0.993 & 0.007 \end{array}

After five time constants the transient is treated as over. A larger \(L\) or a smaller \(R\) slows the rise.

Worked example: switching on a coil

A 12 V source is switched onto a 470 Ω resistor in series with a 220 mH inductor. Find \(\tau\), the final current, \(i_L\) and \(v_L\) at 1.0 ms, and when the current reaches 20 mA. 1. \(\tau = 0.220/470 = 0.468\,\text{ms}\), and \(I_f = 12/470 = 25.5\,\text{mA}\). 2. At 1.0 ms, \(t/\tau = 2.14\) and \(e^{-2.14} = 0.118\), so \(i_L = 25.5 \times 0.882 = 22.5\,\text{mA}\) and \(v_L = 12 \times 0.118 = 1.42\,\text{V}\). 3. Check with KVL: \(v_R = 470 \times 0.0225 = 10.6\,\text{V}\), and \(10.6 + 1.42 = 12.0\,\text{V}\). 4. Solving the current equation for time,

t = \tau \ln\frac{I_f}{I_f - i_L} = 0.468 \ln\frac{25.53}{5.53}

which gives 0.716 ms, keeping the unrounded \(I_f = 25.53\,\text{mA}\). 5. The rise is complete after \(5\tau = 2.34\,\text{ms}\).

Starting from a non-zero current

If the inductor already carries a current \(I_i\) when the switching happens, the current starts there instead of at zero, because it cannot jump. It then heads for the final value \(I_f\) found by replacing the inductor with a short circuit:

i_L = I_f + (I_i - I_f)e^{-t/\tau}

This is the general first-order form, used for capacitors too:

x(t) = x(\infty) + [x(0) - x(\infty)]e^{-t/\tau}

Substitute \(t = 0\) to recover \(I_i\), and a large \(t\) to recover \(I_f\). The inductor voltage, by contrast, may jump at the switching instant; find its new value from KVL using the known current.

The danger of simply opening the switch

Open the switch in a series R-L circuit once the current has built up, and the current has no path. It collapses almost instantly, so \(L\,di/dt\) becomes enormous and a spark jumps across the opening contacts. A car's ignition coil uses this effect on purpose: interrupting its primary current, with a secondary winding of many more turns stepping the spike up, makes the tens of kilovolts that fire a spark plug from a 12 V battery. In ordinary circuits the spark is damage, so a designer always gives the inductor's current somewhere to go: a resistor, or a flyback diode as in the topic "Self-inductance, inductor types, and induced voltage".

The decay phase with a discharge resistor

Picture this circuit. A switch joins the + terminal of a dc source \(E\) to node a; the − terminal is ground, node 0. Resistor \(R_2\) runs from node a to ground. Resistor \(R_1\) runs from node a to node b, and the inductor \(L\) from node b to ground. With the switch closed, \(R_2\) simply sits across the source, and the \(R_1\)-\(L\) branch stores energy with \(\tau = L/R_1\), reaching \(E/R_1\). When the switch opens, the inductor's current keeps flowing in the same direction round the loop \(L\), \(R_2\), \(R_1\). It decays as \(i_L = I_i e^{-t/\tau'}\), with \(\tau' = L/(R_1 + R_2)\), and the inductor voltage reverses, starting at \(-I_i(R_1 + R_2)\).

Worked example: a coil switched off

In the circuit just described, \(E = 12\,\text{V}\), \(R_1 = 100\,\Omega\), \(R_2 = 1.0\,\text{k}\Omega\) and \(L = 470\,\text{mH}\). The switch has been closed for a long time and now opens. 1. Before opening: \(\tau = 0.470/100 = 4.70\,\text{ms}\), and the current has settled at \(I_i = 12/100 = 120\,\text{mA}\). 2. After opening: \(\tau' = 0.470/1100 = 0.427\,\text{ms}\), so \(i_L = 120e^{-t/0.427\,\text{ms}}\) mA, over in about 2.14 ms. 3. At \(t = 0^+\): \(v_L = -0.120 \times 1100 = -132\,\text{V}\). Node a swings to \(-120\,\text{V}\), so the open switch must withstand 132 V. 4. Check the trade-off: a larger \(R_2\) ends the decay sooner but makes the reverse spike bigger.

Any network: use the Thevenin resistance

When the inductor is not in a simple series loop, find the Thevenin equivalent of everything connected to it, then use \(\tau = L/R_{Th}\) and \(I_f = E_{Th}/R_{Th}\). Example: an 18 V source, + at node a, feeds \(R_1 = 3.3\,\text{k}\Omega\) from node a to node b. \(R_2 = 6.8\,\text{k}\Omega\) runs from node b to ground, and \(R_3 = 1.0\,\text{k}\Omega\) from node b to node c, with a 100 mH inductor from node c to ground. Seen from the inductor, \(R_{Th} = R_3 + R_1 \parallel R_2 = 3.22\,\text{k}\Omega\) and \(E_{Th} = 18 \times 6.8/10.1 = 12.1\,\text{V}\). So \(\tau = 31.0\,\mu\text{s}\) and \(I_f = 3.76\,\text{mA}\).

Common mistakes to avoid

First, writing \(\tau = LR\) or \(R/L\); it is \(L/R\), the opposite way up to \(RC\). Second, letting the inductor current jump at the switching instant, when it is the voltage that may jump. Third, using only part of the resistance: \(R\) is the Thevenin resistance the inductor sees after the switching, so the decay phase usually has a different \(\tau\). Fourth, forgetting a real coil's winding resistance, which adds to \(R\). Fifth, dropping the sign of the reversed inductor voltage during decay. Sixth, mixing milliseconds and microseconds inside \(e^{-t/\tau}\).

Key takeaways

Inductor current cannot jump, so R-L circuits respond exponentially with \(\tau = L/R_{Th}\). On switching on, the inductor starts as an open circuit and ends as a short: \(i_L = (E/R)(1 - e^{-t/\tau})\) and \(v_L = Ee^{-t/\tau}\), 63.2% of the change after \(1\tau\) and effectively complete after \(5\tau\). In general, \(i_L = I_f + (I_i - I_f)e^{-t/\tau}\). Opening a coil's only path causes a large spike, so give the current a discharge path; the decay then has its own time constant and a reversed inductor voltage of \(I_i\) times the loop resistance.

Flashcards

Flashcard

R-L time constant

τ = L / R

Henries over ohms gives seconds.

Test your understanding

Question 1 of 5

A 330 mH inductor is switched in series with a 1.5 kΩ resistor across a dc source. What is the time constant?

Question 2 of 5

A 9.0 V source is switched onto a 180 Ω resistor in series with an uncharged ideal inductor. Which pair of values is right?

Question 3 of 5

In an R-L storage phase, what fraction of its final value has the current reached after two time constants?

Question 4 of 5

A coil carries a steady 0.20 A. Its switch opens, leaving the coil in a loop with R₁ = 47 Ω and R₂ = 470 Ω. What is the size of the inductor voltage just after opening?

Question 5 of 5

An inductor carries 10 mA when a switch moves. Its final current will be 4.0 mA and τ = 2.0 ms. What is the current 2.0 ms after switching?

← Previous topicNext topic →