EN

DC transients

RC, RL and RLC circuits when a source is connected or disconnected: theory, simulator and problems

1. Simulator

Circuit
V
Ω
µF

Move the time cursor to read the voltage and current at each instant. Try RLC with R = 50 Ω, L = 100 mH and C = 10 µF, then raise R to 200 Ω and 500 Ω.

2. Practice problems

Problem type

What a transient is

When a switch closes or opens in a circuit with capacitors or inductors, voltages and currents do not jump straight to their new values: they go through a transient state before reaching the steady state. The cause is stored energy. A capacitor stores energy in its electric field (½·C·v²) and an inductor in its magnetic field (½·L·i²); since energy cannot change instantly, the voltage of a capacitor and the current of an inductor are continuous. That rule sets the initial conditions of any transient.

First-order circuits: the time constant

With a single energy-storing element, any voltage or current moves exponentially from its initial value to its final one. Three facts are enough: the initial value x(0⁺), the final value x(∞) and the time constant τ.

\[ x(t) = x(\infty) + \left[x(0^+) - x(\infty)\right] e^{-t/\tau} \]
\[ \tau_{RC} = R\,C \qquad \tau_{RL} = \frac{L}{R} \]

R is the resistance "seen" by the element with the sources set to zero (the Thévenin resistance). In one time constant 63 % of the change is covered; in 3τ, 95 %; in 5τ, over 99 %, and in practice the transient is considered over.

tτ2τ3τ4τ5τ
Change covered63.2 %86.5 %95.0 %98.2 %99.3 %

Charging and discharging a capacitor

\[ v_C = V\left(1 - e^{-t/RC}\right) \qquad i = \frac{V}{R}\,e^{-t/RC} \]
\[ v_C = V_0\,e^{-t/RC} \]

When charging, only R limits the initial current; that is why a large capacitor connected to a source without resistance causes a huge spike. A curious fact: when a capacitor is charged from zero through a resistor, the resistor dissipates exactly the same energy that ends up stored, whatever R is. When discharging, all the energy ends up in the resistor: this is the principle of the discharge resistors fitted to power capacitors and power-supply filters, which must bring the voltage down to a safe value within a set time.

Inductor: switch-on and switch-off

\[ i = \frac{V}{R}\left(1 - e^{-tR/L}\right) \qquad v_L = V\,e^{-tR/L} \]

The current rises with a delay, which limits the switch-on surge of relays, contactors and electromagnets. When opening, the inductor tries to keep the current flowing: if we give it a path (a resistor or a freewheeling diode) the current dies away with τ = L/R; if not, the voltage v = L·di/dt shoots up until an arc forms across the contact or the transistor driving it breaks down.

Second order: the series RLC circuit

With an inductor and a capacitor, energy can move from one to the other and the response may oscillate. The damping ratio ζ decides it, comparing α = R/2L with the natural frequency ω₀ = 1/√(LC):

\[ \alpha = \frac{R}{2L} \qquad \omega_0 = \frac{1}{\sqrt{LC}} \qquad \zeta = \frac{\alpha}{\omega_0} \]
\[ \omega_d = \sqrt{\omega_0^2 - \alpha^2} \]

This behaviour appears when capacitor banks are switched in with the network inductance, in the LC filters of switch-mode power supplies and in switching overvoltages.

How to solve a transient step by step

  1. Analyse the circuit before switching, in steady state: capacitor voltages and inductor currents.
  2. Those values hold just after switching (t = 0⁺). Use them to find the initial values of what the problem asks for.
  3. Analyse the final circuit in steady state to get x(∞).
  4. Find τ with the equivalent resistance seen from the element, with voltage sources shorted and current sources open.
  5. Apply x(t) = x(∞) + [x(0⁺) − x(∞)]·e−t/τ.

See also: AC transients, Flyback diode, RLC circuit and Thévenin and Norton.