EMDyna Sandbox Scene Details
Overview Manual & Theory Validation Suite Python API Gallery Open Simulator

← Back to Scene Gallery

OfficialStandardSeries RLC resonance (free oscillation and damping)

An RLC series resonant circuit connecting inductor L (~10 µH), resistor R (1 Ω), and capacitor C (100 nF = 0.1 µF). On each edge of the pulsed source (0–5 V square wave, 10 kHz), beautiful damped sinusoidal oscillation occurs at natural frequency f0 = 1/(2π√LC) ≈ 159 kHz (period ~6.3 µs). The waveform scope shows capacitor voltage and circuit current with a 90° phase shift, visualizing energy transfer between electric (½CV²) and magnetic (½LI²) fields. Resistance R causes exponential damping (underdamping) via Joule heating. Clicking resistor R to change its value lets you experiment with decay rate and transitions to critical or overdamping.

Oct 17, 2026 • 10 views

Launch & Remix in Simulator

Read the explanation, with equations and figures ↓

Modify this scene in the simulator, then open the "Scene" tab and click "Publish Current Scene to Gallery" to share your remix!

·

In short

When a capacitor, an inductor coil, and a resistor are connected in series, electrical energy sloshes back and forth between them like water in a bowl.

What you are looking at

A classic series RLC resonant circuit composed of:

  • An inductor coil with inductance L≈10 μHL \approx 10\ \mu\text{H} (N=22 turnsN = 22\text{ turns}, radius 1.5 cm1.5\text{ cm})
  • A discrete resistor R=1.0 ΩR = 1.0\ \Omega
  • A capacitor C=100 nFC = 100\text{ nF} (0.1 μF0.1\ \mu\text{F})
  • A pulse source delivering a 0∼5 V0 \sim 5\text{ V} square wave at f=10 kHzf = 10\text{ kHz}

At every sharp rising and falling step of the input voltage, the circuit rings with a beautifully decaying sinusoidal oscillation. The bottom oscilloscope traces show the capacitor voltage VC(t)V_C(t) and loop current I(t)I(t).

Three damping regimes and energy exchange

The total instantaneous energy stored in the circuit is partitioned between the capacitor's electric field and the inductor's magnetic field:

Utotal(t)=UE(t)+UB(t)=12CVC(t)2+12LI(t)2U_{\text{total}}(t) = U_E(t) + U_B(t) = \frac{1}{2} C V_C(t)^2 + \frac{1}{2} L I(t)^2

Notice on the oscilloscope that VC(t)V_C(t) and I(t)I(t) are precisely 90∘90^\circ (π/2 rad\pi/2\text{ rad}) out of phase. When capacitor voltage peaks (maximum electric field), current crosses zero. When capacitor voltage crosses zero, current peaks (maximum magnetic field). Energy continuously sloshes back and forth between CC and LL, decaying exponentially according to dUdt=−RI2\frac{dU}{dt} = -R I^2.

The behavior is determined by the ratio of α\alpha to ω0\omega_0:

        R < 20 Ω                      R = 20 Ω                       R > 20 Ω
     Underdamped                  Critically Damped                 Overdamped
(Oscillatory Ringing)        (Fastest Aperiodic Settling)        (Sluggish Settling)
  1. Underdamped (α<ω0\alpha < \omega_0, R<Rcrit=2L/C=20 ΩR < R_{\text{crit}} = 2\sqrt{L/C} = 20\ \Omega): The circuit rings with damped frequency ωd=ω02−α2≈998.7 krad/s\omega_d = \sqrt{\omega_0^2 - \alpha^2} \approx 998.7\text{ krad/s} inside an exponential decay envelope e−αte^{-\alpha t}.
  2. Critically damped (α=ω0\alpha = \omega_0, R=20 ΩR = 20\ \Omega): The circuit returns to equilibrium in the shortest possible time without crossing zero.
  3. Overdamped (α>ω0\alpha > \omega_0, R>20 ΩR > 20\ \Omega): The circuit returns slowly to equilibrium without ringing.

Second-order differential equation and resonance

Applying Kirchhoff's voltage law around the single mesh yields:

LdIdt+RI+VC=V(t)L \frac{dI}{dt} + R I + V_C = V(t)

Since the loop current is the rate of charge accumulation I(t)=dqdt=CdVCdtI(t) = \frac{dq}{dt} = C \frac{dV_C}{dt}, this becomes a canonical second-order linear differential equation:

d2VCdt2+RLdVCdt+1LCVC=V(t)LC\frac{d^2 V_C}{dt^2} + \frac{R}{L} \frac{dV_C}{dt} + \frac{1}{LC} V_C = \frac{V(t)}{LC}

The characteristic equation s2+2αs+ω02=0s^2 + 2\alpha s + \omega_0^2 = 0 has roots:

s=−α±α2−ω02s = -\alpha \pm \sqrt{\alpha^2 - \omega_0^2}

where:

  • Undamped natural angular frequency: ω0=1LC=110 μH×100 nF=106 rad/s\omega_0 = \frac{1}{\sqrt{LC}} = \frac{1}{\sqrt{10\ \mu\text{H} \times 100\text{ nF}}} = 10^6\text{ rad/s} (f0≈159.2 kHzf_0 \approx 159.2\text{ kHz})
  • Attenuation coefficient: α=R2L\alpha = \frac{R}{2L}
  • Resonant period: T0=1f0=2πLC≈6.28 μsT_0 = \frac{1}{f_0} = 2\pi\sqrt{LC} \approx 6.28\ \mu\text{s}
ParameterValueRole
Inductance LL≈10 μH\approx 10\ \mu\text{H}Stores magnetic energy 12LI2\frac{1}{2} L I^2
Capacitance CC100 nF100\text{ nF}Stores electrostatic energy 12CVC2\frac{1}{2} C V_C^2
Resistance RR1.0 Ω1.0\ \OmegaDissipates energy as heat (RI2R I^2)
Undamped frequency f0f_0≈159.2 kHz\approx 159.2\text{ kHz}Oscillation repetition rate
Critical resistance RcritR_{\text{crit}}20 Ω20\ \OmegaBoundary of oscillatory behavior

Try it

Comments