Sub topic 2
Deriving the second-order equation for the series RLC circuit
This chapter assumes you can apply Kirchhoff's voltage law (KVL), know the element relations for resistors, inductors, and capacitors, and have solved first-order RC and RL step responses. By the end you will have one differential equation that governs the whole family of responses covered later.
The circuit and the goal
A DC source of value Vs is connected at t = 0 to a resistor R, an inductor L, and a capacitor C, all in series. The same current i flows through every element. We take the capacitor voltage v(t) as the unknown, because it is continuous at t = 0 and equals the final value after the transient.
Step 1: write KVL
For t > 0 the source is a constant Vs. Summing the voltage drops around the loop gives:
Vs = R·i + L·(di/dt) + v
Each element contributes one term. The resistor gives R·i, the inductor gives L·di/dt, and the capacitor voltage is v itself.
Step 2: express everything through v
The capacitor relation is i = C·dv/dt. Differentiating once gives di/dt = C·d²v/dt². Substituting both into the KVL equation:
Vs = RC·(dv/dt) + LC·(d²v/dt²) + v
Rearranged:
LC·v'' + RC·v' + v = Vs
Step 3: standard form
Divide by LC so the highest derivative has a coefficient of 1:
v'' + (R/L)·v' + (1/LC)·v = Vs/(LC)
Define two parameters:
- α = R/(2L) is the neper frequency, in rad/s.
- ω0 = 1/√(LC) is the undamped resonant frequency, in rad/s.
The equation then becomes:
v'' + 2α·v' + ω0²·v = ω0²·Vs
This is a linear, constant-coefficient, second-order equation with a constant forcing term. The next chapters split its solution into a forced part and a natural part.
Worked example
Take R = 20 Ω, L = 1 mH, C = 1 µF, and Vs = 10 V.
- R/L = 20 / 0.001 = 2.0×10⁴ s⁻¹, so α = 1.0×10⁴ rad/s.
- 1/(LC) = 1 / (10⁻³ · 10⁻⁶) = 10⁹ s⁻², so ω0 ≈ 3.16×10⁴ rad/s.
- The right side is ω0²·Vs = 10¹⁰ V/s².
The equation is:
v'' + 2×10⁴·v' + 10⁹·v = 10¹⁰
A short script reproduces the coefficients:
R, L, C, Vs = 20.0, 1e-3, 1e-6, 10.0
a1 = R / L # coefficient of v'
a0 = 1 / (L * C) # coefficient of v
rhs = a0 * Vs # forcing term
print(f"v'' + {a1:.3e} v' + {a0:.3e} v = {rhs:.3e}")A useful side result: the current equation
Because Vs is constant for t > 0, differentiating the KVL equation removes the source. Using v' = i/C:
i'' + (R/L)·i' + (1/LC)·i = 0
The current obeys the same left side with zero forcing. The characteristic equation, and therefore the damping behavior, is identical for v and i. Only the forcing and the initial conditions differ.
Common errors
- Writing i = L·dv/dt or C·di/dt. The capacitor relation is i = C·dv/dt.
- Forgetting the right-hand side. For v, it is ω0²·Vs, not zero.
- Using the equation before t = 0. It holds only for t > 0, after the source has stepped.
- Dropping units. A quick check is that α and ω0 must both come out in rad/s.
Exercise
A series RLC circuit has R = 50 Ω, L = 10 mH, C = 100 µF, and a 12 V step is applied at t = 0. Write the differential equation for the capacitor voltage v in the form v'' + a1·v' + a0·v = f.
Show answer
a1 = R/L = 50 / 0.01 = 5000 s⁻¹. a0 = 1/(LC) = 1 / (0.01 · 10⁻⁴) = 10⁶ s⁻². f = a0·Vs = 12×10⁶ = 1.2×10⁷ V/s². The equation is v'' + 5000·v' + 10⁶·v = 1.2×10⁷.