ENع
←RLC step
Lesson 31 · Second-order circuits and the Laplace transform

Step response of RLC circuits

16 min10 steps5 questionsAdvanced
About this lesson

Switch a 12 V DC source onto a series loop of R = 28 Ω, L = 25 mH and an empty C = 10 µF, and the capacitor voltage does not simply rise to 12 V: it overshoots to 16.8 V, rings and settles. Find the initial and final values, write KVL as a second-order equation, split the answer into a forced part and a natural part, fit the constants, and see how R decides between ringing, critical damping and a slow creep. It builds on Series RLC natural response and Parallel RLC response, and on the Hardware lessons on resistors and capacitors and power supplies.

You'll learn to

Tick what you feel confident about. These self-checks do not affect your lesson score.

Fig 31 · Interactive
01 / 10

A step into an RLC loop

A 12 V source, a switch, R = 28 Ω, a coil L = 25 mH and a capacitor C = 10 µF form one loop. C is empty. Closing the switch applies a sudden 12 V step. How does vC reach 12 V?

Vs  12 V    DC source (the step)
R   28 Ω    turns energy into heat
L   25 mH   stores energy in its magnetic field
C   10 µF   stores energy in its electric field

before t = 0: switch open, vC = 0, i = 0

"Step response": the source switches on at t = 0
and stays on. Compare the natural response,
where no source drives the loop.
Loading figure…
or ← →
Read the lesson step by step
  1. A step into an RLC loop

    A 12 V source, a switch, R = 28 Ω, a coil L = 25 mH and a capacitor C = 10 µF form one loop. C is empty. Closing the switch applies a sudden 12 V step. How does vC reach 12 V?

    Vs  12 V    DC source (the step)
    R   28 Ω    turns energy into heat
    L   25 mH   stores energy in its magnetic field
    C   10 µF   stores energy in its electric field
    
    before t = 0: switch open, vC = 0, i = 0
    
    "Step response": the source switches on at t = 0
    and stays on. Compare the natural response,
    where no source drives the loop.
  2. Just after closing: t = 0+

    A capacitor's voltage and a coil's current cannot jump. So at t = 0+, vC = 0 and i = 0, which makes vR = 0. KVL puts all 12 V across the coil: vL = 12 V, so di/dt = Vs/L = 480 A/s.

    initial conditions (t = 0+)
      vC(0+) = 0      capacitor voltage is continuous
      i(0+)  = 0      inductor current is continuous
      vR(0+) = R·0 = 0
      vL(0+) = Vs − vR − vC = 12 V
    
    slopes
      di/dt(0+)  = vL/L = 12 / 0.025 = 480 A/s
      dvC/dt(0+) = i/C  = 0
    
    The current starts from zero but rises at once.
  3. Long after: t → ∞

    Long after closing, nothing changes. A steady coil acts as a plain wire (vL = 0) and a full capacitor as a gap (i = 0). So the final values are i = 0 and vC = 12 V. This is the forced response.

    final conditions (DC steady state)
      di/dt = 0  ->  vL = L di/dt = 0  (coil = wire)
      dv/dt = 0  ->  i = C dv/dt = 0   (capacitor = gap)
      vR = R·0 = 0
      vC(∞) = Vs = 12 V
    
    shown here at t = 50 ms, when the transient
    is smaller than 10⁻¹¹ V.
    
    forced response: vf = 12 V
  4. Close the switch

    Now watch it in slow motion. The source pushes charge round the loop. The coil makes the current grow smoothly, the capacitor fills, and the dots speed up, slow down and briefly turn round before everything settles.

    the arrow marks i's reference direction:
    out of the source's + terminal,
    into the capacitor's + plate.
    
    Dots move with the real charge flow,
    faster where |i| is larger.
    
    largest current: i = 165 mA at t = 0.67 ms
    one run of the animation: 0 to 10 ms
  5. KVL gives the equation

    Round the loop the drops add up to the source: vR + vL + vC = Vs. With i = C dvC/dt, vR = Ri and vL = L di/dt, this becomes LC v″ + RC v′ + v = Vs. The tag sums them.

    KVL, R, L and C with the passive sign convention
      vR + vL + vC = Vs
      R i + L di/dt + v = Vs,   i = C dv/dt
      LC v″ + RC v′ + v = Vs
    
    divide by LC:
      v″ + (R/L) v′ + v/(LC) = Vs/(LC)
      v″ + 1120 v′ + 4×10⁶ v = 48×10⁶
    
    The same left side as the source-free loop;
    only the right side is new.
  6. Forced plus natural

    Write vC = 12 + vn(t). The forced part 12 V solves the equation alone, so vn obeys the source-free one. Its roots are s = −α ± √(α² − ω0²), with α = R/2L = 560 s⁻¹ and ω0 = 1/√(LC) = 2000 rad/s.

    vC(t) = vf + vn(t)
      vf = 12 V                     forced (final) value
      LC vn″ + RC vn′ + vn = 0      natural part
    
    s² + (R/L) s + 1/(LC) = 0
    α  = R/2L   = 28 / (2 × 0.025) = 560 s⁻¹
    ω0 = 1/√(LC) = 1/√(2.5×10⁻⁷)  = 2000 rad/s
    ζ  = α/ω0   = 0.28  (damping ratio)
    
    The source does not change the roots:
    α and ω0 depend only on R, L and C.
  7. Our loop is underdamped

    α = 560 is less than ω0 = 2000, so s = −560 ± j1920. Using vC(0) = 0 and dvC/dt(0) = 0 gives vC(t) = 12 − e^(−560t)(12 cos 1920t + 3.5 sin 1920t) V. Watch the marker trace it.

    ωd = √(ω0² − α²) = √(2000² − 560²) = 1920 rad/s
    
    vC(t) = 12 + e^(−αt)(B1 cos ωd t + B2 sin ωd t)
      vC(0)  = 0:   12 + B1 = 0,  B1 = −12
      vC′(0) = 0:   −αB1 + ωd B2 = 0
                    B2 = αB1/ωd = −3.5
    
    vC(t) = 12 − e^(−560t)(12 cos 1920t + 3.5 sin 1920t) V
    ringing period 2π/ωd = 3.27 ms
  8. Overshoot

    The current i = C dvC/dt = 250 e^(−560t) sin 1920t mA. The coil keeps charge moving after vC reaches 12 V, so vC overshoots to 16.8 V at t = π/ωd = 1.64 ms, 40 % above its final value. There i turns round.

    i = C dvC/dt = (Vs/(ωd L)) e^(−αt) sin ωd t
      = 250 e^(−560t) sin 1920t mA
    
    largest i      165 mA at 0.67 ms
    i = 0 again    t = π/ωd = 1.64 ms
    there vC       = 12(1 + e^(−απ/ωd)) = 16.8 V
    
    overshoot = e^(−απ/ωd) = e^(−ζπ/√(1−ζ²))
              = 40 %  (ζ = 0.28)
  9. Change R, change the shape

    All three curves end at 12 V; R only sets how. At 28 Ω vC rings. At R = 2√(L/C) = 100 Ω it is critically damped: the fastest rise with no overshoot. At 125 Ω it is overdamped and creeps up more slowly.

    R        α (s⁻¹)   case       roots (s⁻¹)
    28 Ω     560       under      −560 ± j1920
    100 Ω    2000      critical   −2000 (twice)
    125 Ω    2500      over       −1000, −4000
    
    ω0 = 2000 rad/s for all three: only R moves α.
    R = 125 Ω: vC = 12 − 16e^(−1000t) + 4e^(−4000t) V
    R = 100 Ω: vC = 12 − 12(1 + 2000t)e^(−2000t) V
  10. Where the energy goes

    The source moves charge CVs at 12 V, so it delivers CVs² = 1.44 mJ. The full capacitor keeps ½CVs² = 0.72 mJ. The other 0.72 mJ becomes heat in R, whatever the value of R.

    wS = Vs·q = Vs·C·vC      delivered by the source
    wC = ½ C vC²            wL = ½ L i²
    heat in R = ∫ R i² dt
    
    always   wS = wC + wL + heat
    t → ∞    wS = C·Vs² = 1.44 mJ
             wC = ½C·Vs² = 0.72 mJ,  wL = 0
             heat = 0.72 mJ
    
    Half the energy is always lost when a
    capacitor charges from a step, for any R.

Quiz Unlocks after the last step.