Skip to main content

RLC Circuit

CI

CircuitSim

·

Created Oct 3, 2026

·

Updated Oct 3, 2026

Preview will appear once the owner saves the schematic
Details

Components

4


Schematic

Yes


Simulation

Transient analysis


Copies

Not copied yet

About this circuit

Explore overshoot, ringing, and settling in a series RLC circuit. Compare capacitor voltage and series current, then change resistance or capacitance to see how the response changes.

Circuit notes

RLC Circuit

An inductor and a capacitor can exchange stored energy, producing oscillation. Resistance dissipates energy and makes the oscillation fade. Here a 5 V step drives R1, L1, and C1 in series. The capacitor voltage rises above the source voltage, then rings around 5 V before settling.

Read the circuit and chart

  • Vc — green: capacitor voltage, measured from C1's upper terminal to ground.
  • Vs — red: source voltage, which rises from 0 to 5 V at about 1 ms and stays high throughout the displayed interval.
  • I — blue: current through the series loop. Positive current flows right through L1 and downward into C1. Negative values mean it has reversed.

The same current passes through R1, L1, and C1. Ground at the source return defines zero volts. The voltage traces share the upper chart group; current has a separate scale below. Both use the same time axis.

Why the voltage overshoots

Initially, C1 has no charge and L1 carries no current. When Vs rises, the inductor prevents the current from changing instantaneously. Current builds and charges C1. Even when Vc reaches 5 V, L1 still carries current, so it continues charging C1 above the source voltage.

At the first voltage peak, current is momentarily zero. It then reverses: C1 releases some energy, and Vc falls. This exchange repeats while R1 dissipates energy as heat. The source remains connected and can supply or absorb energy during the response.

At steady DC, C1 acts as an open circuit and the current approaches zero. The resistor and ideal inductor then have zero voltage drop, leaving VC=5 VV_C=5\,\mathrm{V}.

Frequency and damping

With R=100 ΩR=100\,\Omega, L=100 mHL=100\,\mathrm{mH}, and C=1 μFC=1\,\mu\mathrm{F}:

f0=12πLC≈503 Hzζ=R2CL≈0.158\begin{aligned} f_0 &= \frac{1}{2\pi\sqrt{LC}} \approx 503\,\mathrm{Hz}\\ \zeta &= \frac{R}{2}\sqrt{\frac{C}{L}} \approx 0.158 \end{aligned}

f0f_0 is the undamped natural frequency. The damping ratio ζ\zeta describes how strongly the resistor suppresses oscillation. This circuit is underdamped because 0<ζ<10<\zeta<1.

The observed ringing frequency is slightly lower: fd=f01−ζ2≈497 Hzf_d=f_0\sqrt{1-\zeta^2}\approx497\,\mathrm{Hz}. Successive voltage peaks are about Td=1/fd≈2.01 msT_d=1/f_d\approx2.01\,\mathrm{ms} apart.

For an ideal step, the fractional overshoot and first peak are:

Mp=e−πζ/1−ζ2≈0.605Vpeak=5(1+Mp)≈8.02 V\begin{aligned} M_p &= e^{-\pi\zeta/\sqrt{1-\zeta^2}} \approx 0.605\\ V_{\mathrm{peak}} &= 5(1+M_p) \approx 8.02\,\mathrm{V} \end{aligned}

The decaying envelope has time constant 2L/R=2 ms2L/R=2\,\mathrm{ms}. This describes the shrinking oscillation, not the spacing between peaks.

What to look for

Chart timeExpected behavior
Before 1 msVs, Vc, and I are zero.
About 1.45 msI reaches its first positive peak, about 12.6 mA.
About 2.01 msVc reaches about 8.02 V; I crosses zero.
About 3.01 msVc reaches its first trough, about 3.17 V; I crosses zero again.
About 4.02 msThe next voltage peak is smaller, about 6.11 V.
By 16 msVc is within a few millivolts of 5 V; I is close to zero.

These are approximate landmarks because the source has a finite 1 μs1\,\mu\mathrm{s} rise time and the result is sampled. Overshoot is not extra energy appearing from nowhere: it follows from energy already supplied by the source and stored in L1 and C1.

Use CircuitSim

The example runs Transient analysis automatically from 0 to 16 ms. The target and maximum time steps are 5 µs, giving hundreds of samples per oscillation. Normal operating-point initialization is enabled; Use initial conditions is off.

Hover over the chart to inspect values. Open Table for numeric samples in the order time, Vc, Vs, I. Select a component, change the named field in Properties, then use Run simulation.

Try it

  1. Increase damping. Change R1's Resistance from 100 to 400. Predict the effect before running: the first Vc peak falls to about 5.38 V, and the ringing dies away much faster. The final voltage remains 5 V.
  2. Increase capacitance. Restore R1 to 100, then change C1's Capacitance from 1u to 4u. The ringing slows to about 239 Hz. The first Vc peak occurs near 3.09 ms and reaches about 6.75 V. Damping also changes, so this is not just the same trace stretched in time.

Restore R1 = 100, L1 = 100m, and C1 = 1u, then rerun. Resistance is in ohms, inductance in henries, and capacitance in farads. V1 uses VI = 0, VP = 5, TD = 1m, TR = TF = 1u, PW = 30m, and Per = 60m. Its falling edge occurs beyond the displayed interval.

Model assumptions

L1 and C1 are ideal linear components with no winding resistance, capacitor ESR, saturation, or other parasitic effects. R1 is constant, and V1 is an ideal voltage source. Real losses usually add damping. This example isolates the series RLC step response; the natural frequency calculation does not replace an AC frequency-response measurement.

Components used

Components used
4 components
NameManufacturerMPNCountType

Capacitor

Generic

—

1

Official

Inductor

Generic

—

1

Official

Pulse Voltage Source

Generic

—

1

Official

Resistor

Generic

—

1

Official

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.