Home / Circuit lab / RLC step response

RLC circuit step response simulator

Add an inductor to an RC circuit and it can overshoot and ring like a bell. Change R, L and C and see how damping changes the response to a sudden step.

Advanced

Vc

Controls

Readings

What's going on

The inductor resists changes in current and the capacitor resists changes in voltage. Energy sloshes between them at the natural frequency f0 = 1 ÷ (2π√(LC)). The resistor turns some of that energy into heat on every swing.

The damping ratio ζ = (R ÷ 2) × √(C ÷ L) decides what happens. Below 1, the circuit is underdamped: it overshoots and rings. At exactly 1, it's critically damped and settles as fast as possible without overshoot. Above 1, it's overdamped and creeps up slowly. The Q factor, 1 ÷ (2ζ), describes the same thing from the other side.

The same maths describes a car's suspension, a loudspeaker and a control loop. In electronics, it's why long wires to a fast switch can ring, and why power supply filters sometimes need a damping resistor.

How this simulation works

The trace is the exact solution for the capacitor voltage in a series RLC circuit with ideal parts, starting from rest, after a perfect voltage step. Real inductors have winding resistance and real capacitors have equivalent series resistance (ESR). Both add to R, so real circuits ring a little less than an ideal one with the same parts.

Keep exploring