RLC Circuit Simulator

This tool simulates a series RLC circuit: a resistor, an inductor and a capacitor connected in a single loop with a voltage source. The charge on the capacitor follows the ODE below, where q is the charge at time t, q′ = i is the current, q″ is the rate of change of the current, L, R and C are the inductance, resistance and capacitance, and E(t) is a source voltage you choose from a family of common functions.

circuit equation
Source Voltage

Set the parameters and the source, then watch the circuit, the charge–current phase portrait, and the time series move together. The circuit obeys the same kind of equation as a spring–mass–damper, with L playing the role of the mass, R the damping and 1/C the spring constant (see Physics & Mathematics).

Motion

series RLC circuit
Playback
Listen: the solution sped up so that ω₀ sounds as a 220 Hz note.
show voltages
t = 0.00
Parameters L, R, C
ODE
Initial condition q(0), q′(0)
Source voltage E(t)
Solution
Signatures
natural frequency —
damping ratio —
eigenvalues—
natural (quasi) period—
source period—
amplitude of —
phase lag —
practical resonance —
—
Parameter presets
Source presets