Skip to content
Electrical Engineering

Transients in first-order RC and RL circuits

The first-order equation, the general solution with time constant, initial and final values, an example, overvoltage when an inductor is switched off, and second-order circuits.

When a switch closes in a circuit with capacitors or inductors, or a signal changes suddenly, quantities do not jump instantly to their new values: there is a transient, governed by the stored energy. In this lesson we cover the general method for first-order circuits (a single energy-storing element), which gives the solution almost without calculation, and touch on second-order circuits.

The first-order circuit

A first-order circuit contains a single capacitor or a single inductor, plus resistors and constant sources. Applying Thevenin’s theorem to the rest of the circuit, seen from the terminals of the storage element, it always reduces to a source V_{th} with a resistance R_{th} connected to the capacitor (or inductor).

For the capacitor: V_{th} = R_{th}\,C\,\frac{dv}{dt} + v, a first-order linear differential equation (Analysis 2). For the inductor, with the Norton equivalent, the same form is obtained for the current.

The general solution

Any quantity x(t) of a first-order circuit with constant sources, after switching at t = 0, is

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

Response of a first-order circuit between its initial and final values with the time constant
Every quantity starts from x(0⁺) and tends exponentially to its final value x(∞). The tangent at the origin reaches the final value after a time τ; after 5τ the transient is practically over.

Only three numbers are needed:

  1. the initial value x(0^+), just after switching;
  2. the final value x(\infty), at steady state;
  3. the time constant \tau.

How to find the three numbers

The initial value. Use continuity: the voltage on a capacitor and the current in an inductor cannot jump, so v_C(0^+) = v_C(0^-) and i_L(0^+) = i_L(0^-). Other quantities (resistor currents, the inductor voltage) can jump: they are computed at t = 0^+ replacing the capacitor with a voltage source v_C(0) and the inductor with a current source i_L(0).

The final value. At steady state, with constant sources, nothing changes: the capacitor is an open circuit, the inductor a short circuit. Solve the resistive circuit that remains.

The time constant. Switch off the independent sources and compute the resistance R_{th} seen from the terminals of the storage element:

    \[ \tau = R_{th}\,C\qquad\text{or}\qquad \tau = \frac{L}{R_{th}} \]

Example

A 10 µF capacitor, initially empty, is connected through a switch to a divider: a 12 V source, R_1 = 2 kΩ in series, R_2 = 3 kΩ in parallel with the capacitor. At t = 0 the switch closes. What is the capacitor voltage?

  • Initial: v_C(0^+) = v_C(0^-) = 0.
  • Final: at steady state the capacitor is open and the voltage is the divider’s, 12\cdot 3/5 = 7.2 V.
  • Time constant: with the source off, the capacitor sees R_1\parallel R_2 = 1.2 kΩ, so \tau = 1.2\cdot 10^3\cdot 10\cdot 10^{-6} = 12 ms.

    \[ v_C(t) = 7.2\big(1 - e^{-t/12\,\text{ms}}\big)\ \text{V} \]

After 12 ms the capacitor is at 4.55 V (63% of the final value), after 60 ms at 7.15 V. No differential equation to solve.

A switch opening on an inductor

A relay has a coil with L = 0.1 H and 50 Ω resistance, fed at 12 V: at steady state 240 mA flows. If a transistor interrupts the current suddenly, the inductor current cannot jump: to keep flowing it must find a path, and the voltage rises until it does, destroying the transistor. With a flyback diode across the coil the current keeps circulating through the diode and dies away with time constant L/R = 2 ms. It is the most important application of current continuity in inductors.

Inputs that are not steps

With a square wave input the method is applied at each edge, starting each time from the value reached. If the period is much longer than \tau an RC circuit’s output follows the input with rounded edges; if much shorter, the capacitor has no time to charge and the output becomes a nearly flat triangle wave around the average value: the RC circuit integrates. Swapping R and C, the output taken across the resistor shows only the edges: the circuit differentiates. These are the two limiting behaviours of the low-pass and high-pass filters of the lesson on frequency response.

Second order

With a capacitor and an inductor together (an RLC circuit) the equation becomes second order. The behaviour depends on the damping ratio \zeta = \frac R2\sqrt{\frac CL} (for the series RLC): overdamped, critical or oscillating. Solutions and graphs are in the Analysis 2 lesson on differential equations and in the Mathematical Methods lesson on Laplace transform applications, the most convenient tool when circuits get more complex.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x