Sub topic 9
Underdamped: a decaying sinusoid around the final value
This chapter assumes you can write the series RLC equation from KVL and that the capacitor voltage and inductor current are continuous across a step. It also assumes you know the neper frequency α = R/(2L), the resonant frequency ω0 = 1/√(LC), and the characteristic equation s² + 2αs + ω0² = 0. Basic complex numbers and Euler's formula are enough for the rest.
When the circuit is underdamped
The capacitor voltage v(t) of a series RLC circuit driven by a DC step Vs obeys
v'' + 2α v' + ω0² v = ω0² Vs
The circuit is underdamped when α < ω0. Equivalently, the damping ratio ζ = α/ω0 is below 1, or R is below the critical value 2√(L/C). The discriminant of the characteristic equation is then negative, and the roots are a complex conjugate pair:
s = −α ± jωd, where ωd = √(ω0² − α²)
ωd is the damped natural frequency in rad/s. It is always lower than ω0, and it shrinks as damping grows. The real part of the roots, −α, sets how fast the oscillation dies out. The imaginary part, ωd, sets how fast it rings.
Building the general solution
The response is the forced part plus the natural part. For a DC step the forced part is the final value, Vs, because the capacitor ends up fully charged with no current flowing. The natural part comes from the two roots:
v(t) = Vs + e^(−αt)(B1 cos ωd t + B2 sin ωd t)
The pair of complex exponentials e^((−α+jωd)t) and e^((−α−jωd)t) combines into the real cosine and sine form by Euler's formula. B1 and B2 are real constants fixed by the initial conditions.
Fixing the constants
Capacitor voltage and inductor current cannot jump. For a circuit that starts with v(0) = V0 and i(0) = I0, the two conditions are:
- v(0) = V0. Setting t = 0 gives Vs + B1 = V0, so B1 = V0 − Vs.
- v'(0) = I0/C. In a series loop the current through the capacitor is i = C v', so the slope of the voltage at t = 0 comes from the inductor current just before the step.
Differentiating the solution at t = 0 gives v'(0) = −αB1 + ωd B2. Setting this equal to I0/C gives
B2 = (I0/C + αB1) / ωd
For the common case of an initially relaxed circuit (V0 = 0, I0 = 0), B1 = −Vs and B2 = −αVs/ωd. The step response is then:
v(t) = Vs [1 − e^(−αt)(cos ωd t + (α/ωd) sin ωd t)]
The same result in amplitude-phase form is easier to read:
v(t) = Vs [1 − (ω0/ωd) e^(−αt) cos(ωd t − φ)], with φ = arctan(α/ωd)
This shows the whole shape. The curve is the final value minus a cosine whose amplitude shrinks along the envelope (ω0/ωd)e^(−αt).
The current in the relaxed case follows from i = C v':
i(t) = (Vs / (ωd L)) e^(−αt) sin ωd t
The current starts at zero and is zero again whenever ωd t is a multiple of π. Those are the instants where v' = 0, which is where the voltage peaks and dips occur.
Worked example
Take R = 20 Ω, L = 1 mH, C = 1 µF, and Vs = 10 V, with the circuit relaxed before the step.
- α = R/(2L) = 10 000 rad/s
- ω0 = 1/√(LC) = 31 623 rad/s
- ωd = √(10⁹ − 10⁸) = 30 000 rad/s
- ζ = α/ω0 ≈ 0.316
The critical resistance is 2√(L/C) ≈ 63.2 Ω, so 20 Ω is well inside the underdamped region. Because α/ωd = 1/3, the response is:
v(t) = 10 [1 − e^(−10 000 t)(cos 30 000 t + (1/3) sin 30 000 t)]
Three sample points show the shape:
| Time | α t | ωd t (rad) | v(t) |
|---|---|---|---|
| 50 µs | 0.5 | 1.5 | 7.554 V |
| 100 µs | 1.0 | 3.0 | 13.469 V |
| 500 µs | 5.0 | 15.0 | 10.037 V |
At 100 µs the voltage is already above the 10 V final value. It peaks just after that, at t = π/ωd ≈ 104.7 µs, and then oscillates around 10 V with a shrinking amplitude.
Verifying the solution in code
The following script builds the response from general initial conditions, then checks it three ways. It checks v(0), it checks v'(0) against I0/C, and it checks the residual of the differential equation by finite differences.
import math
def underdamped(R, L, C, Vs, V0=0.0, I0=0.0):
alpha = R / (2 * L)
w0 = 1 / math.sqrt(L * C)
if alpha >= w0:
raise ValueError("not underdamped")
wd = math.sqrt(w0**2 - alpha**2)
B1 = V0 - Vs
B2 = (I0 / C + alpha * B1) / wd
def v(t):
return Vs + math.exp(-alpha * t) * (
B1 * math.cos(wd * t) + B2 * math.sin(wd * t))
return v, alpha, w0, wd
R, L, C, Vs = 20.0, 1e-3, 1e-6, 10.0
V0, I0 = 2.0, 0.05
v, alpha, w0, wd = underdamped(R, L, C, Vs, V0, I0)
h = 1e-8
print("v(0) =", v(0.0))
print("v'(0) =", (v(h) - v(-h)) / (2 * h), " expected I0/C =", I0 / C)
worst = 0.0
for t in (20e-6, 80e-6, 200e-6):
d1 = (v(t + h) - v(t - h)) / (2 * h)
d2 = (v(t + h) - 2 * v(t) + v(t - h)) / h**2
residual = d2 + 2 * alpha * d1 + w0**2 * v(t) - w0**2 * Vs
worst = max(worst, abs(residual) / (w0**2 * Vs))
print("worst relative ODE residual:", worst)
assert worst < 1e-6The nonzero V0 and I0 matter. They confirm that the B2 formula carries the I0/C term and that a nonrelaxed start works as well as the relaxed case.
Peaks, overshoot, and settling
The voltage reaches its extremes where i = 0, that is, at t_k = kπ/ωd for k = 1, 2, 3, and so on. The deviation from the final value at those instants is:
v(t_k) − Vs = (−1)^(k+1) Vs e^(−kπα/ωd)
- The first peak (k = 1) gives the percentage overshoot, 100·e^(−πα/ωd) = 100·e^(−πζ/√(1−ζ²)). It depends only on ζ and not on Vs, R, L, or C separately.
- For the example, α/ωd = 1/3, so overshoot = 100·e^(−π/3) ≈ 35.1%. The peak is about 13.51 V.
- The first peak time is π/ωd ≈ 104.7 µs.
- Successive peaks on the same side of Vs are one damped period apart, Td = 2π/ωd, and each is smaller by the factor e^(−αTd). Here that factor is e^(−2π/3) ≈ 0.123.
- For settling within 2%, a practical estimate is ts ≈ 4/α. Here that is 400 µs. The exact bound comes from the envelope (ω0/ωd)e^(−αt) ≤ 0.02 and gives about 396 µs.
Settling time depends on α alone. Overshoot depends on the ratio α/ωd alone. Raising R speeds the decay (larger α) and also reduces the overshoot, but only up to the critical resistance.
Limiting cases and edge cases
- R → 0. Then α = 0 and ωd = ω0. The response becomes v = Vs(1 − cos ω0 t), which swings between 0 and 2Vs forever. A real circuit has some resistance, but a very high-Q circuit overshoots close to 100%.
- R → critical. Then ωd → 0, and sin(ωd t)/ωd → t. The underdamped formula smoothly turns into the critically damped response Vs[1 − (1 + αt)e^(−αt)]. This is why computed solutions behave well near critical, but a program that divides by ωd needs a guard to avoid dividing by zero.
- Nonzero starting state. If V0 differs from zero, the response starts at V0 and heads for Vs. If the step is a drop to a lower value, Vs is just the new final value, and the overshoot is relative to the size of the swing Vs − V0 when I0 = 0.
- Other outputs. The inductor current, resistor voltage, and inductor voltage have their own forms. For example, the inductor voltage is vL = L di/dt, and it jumps to Vs at t = 0 in the relaxed case. Do not reuse the capacitor-voltage constants for them. Derive each one from v(t) using i = C v'.
Common errors
- Writing the solution as A·e^(−αt)·cos(ωd t + θ) without the Vs term, which makes the response decay to zero instead of Vs.
- Setting v'(0) = 0 when the inductor was carrying current before the step. The correct value is I0/C.
- Taking the initial slope from the inductor voltage instead of the capacitor current. For a series circuit, the capacitor and inductor share the same current.
- Using degrees in the calculator when ωd t is in radians.
Exercise
A series RLC circuit has R = 40 Ω, L = 1 mH, and C = 1 µF. It is relaxed before a 10 V step is applied. Show it is underdamped, then find the percentage overshoot and the first peak time. Also state the settling-time estimate ts ≈ 4/α.
Show answer
α = R/(2L) = 20 000 rad/s. ω0 = 1/√(LC) = 31 623 rad/s. Since α < ω0 (equivalently R = 40 Ω < 2√(L/C) ≈ 63.2 Ω), the circuit is underdamped. ωd = √(ω0² − α²) = √(10⁹ − 4×10⁸) = √(6×10⁸) ≈ 24 495 rad/s. Overshoot = 100·e^(−πα/ωd) = 100·e^(−2.565) ≈ 7.7%, so the peak is about 10.77 V. The first peak time is π/ωd ≈ 128.3 µs. The settling-time estimate is 4/α = 200 µs.