The following animation illustrates the behaviour of a series RLC circuit in an AC circuit. Impedance, phase shift, and resonance behaviour are visualised in real time.
Embed this animation in your website or learning platform
Copy the code and paste it into your website or learning platform (e.g. Moodle, ILIAS – in HTML mode). The animation stays up to date automatically, and the link leads back to this page.
<div style="position:relative;width:100%;aspect-ratio:16/9"><iframe src="https://www.educational-animation.org/web-animations/rlc-circuits/en/rlc-circuits.html" title="Interactive Animation: RLC Circuit in the Browser" style="position:absolute;inset:0;width:100%;height:100%;border:0" allowfullscreen loading="lazy"></iframe></div>
<p><a href="https://www.educational-animation.org/en/rlc-series-circuit/">RLC Circuit in the Browser – educational-animation.org</a> · MIT licence</p>
Links
Have you fixed a bug in the animation or made an improvement? Send us your animation via our contact form.
What Happens in This Circuit?
This section explains the basics. A series RLC circuit has three components:
- Resistor (R) – like friction in a mechanical system. It converts electrical energy into heat and limits the current flow.
- Capacitor (C) – like a spring. It stores energy in an electric field and releases it again. The faster the voltage changes, the more current flows through it.
- Inductor (L) – like a heavy flywheel. It stores energy in a magnetic field and resists changes in current. The faster the current changes, the more it “pushes back.”
Capacitor and inductor form an oscillating system. Energy swings between the electric field (capacitor) and the magnetic field (inductor). The resistor dampens this oscillation.
At the resonant frequency, capacitor and inductor balance each other out. The circuit behaves as if only the resistor were present. The current reaches its maximum.
Animation Description
The animation shows a series RLC circuit with four synchronised displays: circuit diagram, formulas, phasor diagram, and time domain graph. The start button begins the animation. The phasors rotate and the sine waves move through the diagram.
The impedance of the circuit is calculated as:
\[ Z = \sqrt{R^2 + (X_L-X_C)^2} \]
With the reactances:
- \( X_L = 2\pi f L \) – inductive reactance
- \( X_C = \frac{1}{2\pi f C} \) – capacitive reactance
The phase shift φ between voltage and current is displayed as a double arrow in both the phasor diagram and the time domain graph.
Interactive Controls
The following parameters can be adjusted using the sliders:
- U (1–24 V): AC voltage amplitude
- f (1–200 Hz): AC voltage frequency
- R (1–1000 Ω): Resistance
- C (1–100 µF): Capacitance
- L (10–1000 mH): Inductance
The checkboxes L, C, and R allow individual components to be shown or hidden to examine different circuit configurations (e.g., pure RC or RL circuit).
Physical Background
In a series RLC circuit, three effects combine: R converts energy into heat, L stores it in a magnetic field, C in an electric field. The inductor and capacitor periodically exchange energy. The resistor dampens this oscillation.
At the resonant frequency \( f_0 = \frac{1}{2\pi\sqrt{LC}} \), the reactances cancel out (\( X_L = X_C \)), the impedance reaches its minimum and equals the resistance. The current reaches its maximum and is in phase with the voltage.
Understanding the Phasor Diagram
The phasor diagram is a tool for analysing AC circuits. Here is how to read it:
What is a phasor? A phasor is a rotating arrow (vector). It represents a sinusoidal quantity. Its length shows the amplitude. Its angle shows the phase position.
What do the individual phasors show?
- The current phasor \( I \) serves as the reference – in a series circuit, the same current flows through all components.
- The voltage across R \( (U_R) \) points in the same direction as the current, because voltage and current are in phase at a resistor.
- The voltage across L \( (U_L) \) leads the current by 90° – the phasor points “ahead” of the current phasor.
- The voltage across C \( (U_C) \) lags behind the current by 90° – the phasor points in the opposite direction to \( U_L \).
Why do \( U_L \) and \( U_C \) point in opposite directions? Because inductor and capacitor react oppositely to current changes. Their effects partially cancel each other. The total voltage \( U \) results from the vector sum of all partial voltages.
Tip for the animation: Watch how the angle between the total voltage phasor and the current phasor (the phase angle φ) changes as you adjust the frequency. At resonance, both phasors point in the same direction – the phase angle becomes zero.
Series vs. Parallel Resonant Circuit
This animation shows a series resonant circuit. In practice, parallel resonant circuits are common as well. The key differences:
| Property | Series Circuit | Parallel Circuit |
| Component arrangement | R, L, C in series | L and C in parallel (R often in series with L) |
| Impedance at resonance | Minimum (= R) | Maximum |
| Current at resonance | Maximum | Minimum |
| Typical application | Bandpass filter, frequency selection | Bandstop filter, signal blocking |
| Resonant frequency | \( f_0 = \frac{1}{2\pi\sqrt{LC}} \) | \( f_0 = \frac{1}{2\pi\sqrt{LC}} \) (ideal case) |
Both types share the same resonant frequency \( f_0 \), but they behave oppositely: where the series circuit lets maximum current through, the parallel circuit blocks it. A series circuit acts as a bandpass (passes the desired frequency), while a parallel circuit acts as a bandstop (blocks a specific frequency).
Common Misconceptions
The following questions come up when learning about RLC circuits. If you have wondered about any of them, you are not alone:
“How can the voltage across L or C be greater than the source voltage?”
This phenomenon is called resonance voltage rise. At resonance, energy oscillates between inductor and capacitor. The voltages across the components can be larger than the applied voltage – they point in opposite directions and cancel each other. The total voltage still equals the source voltage.
In the animation, you can observe this: set R to a low value and adjust f to the resonant frequency – the voltage phasors become longer than the total voltage phasor.
“Why is the impedance at resonance not zero?”
At resonance, only the reactive components cancel out (\( X_L = X_C \)). The resistance R remains. The impedance at resonance therefore equals R. Only in a lossless, idealized circuit (R = 0) would the impedance become zero – but such a circuit does not exist in practice.
“Why does the phase shift become zero at resonance?”
The phase shift φ depends on the ratio of reactive to resistive impedance: \( \tan(\varphi) = \frac{X_L-X_C}{R} \). At resonance \( X_L = X_C \), so the numerator becomes zero and with it the phase angle. The circuit then behaves resistively – current and voltage are in phase.
“Is a higher Q factor always better?”
Not necessarily. A high quality factor \( Q = \frac{1}{R}\sqrt{\frac{L}{C}} \) means sharp resonance and high selectivity – ideal for radio receivers that need to separate closely spaced stations. But for broadband applications (e.g., audio amplifiers), a lower Q factor is chosen to cover a wider frequency range. In the animation, you can see this effect: a small R value gives a sharp resonance peak, a large R value gives a flat, broad response.
Practical Applications
- Radio receivers: Tuned circuits select frequencies through resonance
- Filters: Highpass, lowpass, and bandpass filters in audio engineering
- Oscillators: LC oscillators for clock generation in digital circuits
- Power factor correction: Capacitors compensate for inductive loads in power grids
Real-World Examples with Concrete Values
FM radio tuning: An FM radio receives stations between 88 and 108 MHz. To tune to 100 MHz with an inductance of L = 0.1 µH, the required capacitance is:
\[ C = \frac{1}{(2\pi f_0)^2 \cdot L} = \frac{1}{(2\pi \cdot 100 \times 10^6)^2 \cdot 0.1 \times 10^{-6}} \approx 25 \text{ pF} \]
By varying the capacitance (e.g., with a variable capacitor), different stations can be selected.
Subwoofer crossover filter: A crossover filter for a subwoofer typically separates frequencies at around 200 Hz. With R = 8 Ω (speaker impedance) and C = 100 µF, an inductor of approximately L = 6.3 mH creates a resonant circuit at this cutoff frequency. Try entering these values in the animation to observe the resonance behaviour.
Power factor correction in industry: An industrial motor with L = 50 mH at 50 Hz has an inductive reactance of \( X_L = 2\pi \cdot 50 \cdot 0.05 \approx 15.7 \text{ Ω} \). To compensate, a capacitor with \( C = \frac{1}{(2\pi \cdot 50)^2 \cdot 0.05} \approx 203 \text{ µF} \) is connected in the circuit.
\({}\)Format and Use
Format: This animation runs in the browser (Chrome, Firefox, Edge, Safari). No download required.
Use case: Suited for computer labs, homework or self study. Students can adjust parameters independently.
For large screens: An HD version for download is available for projectors and large screens.
Use in the Classroom
Tasks
Tasks that can be worked through with the animation:
- With the initial values (V = 12 V, f = 50 Hz, R = 100 Ω, C = 10 µF, L = 200 mH), read off XL, XC, Z, φ and I. Which reactance is larger? Start the animation: which curve reaches its maximum first – current or voltage?
- Raise the frequency slowly from 50 Hz to 200 Hz. At which frequency does φ become roughly 0° and the current largest? Compare with the resonant frequency shown. What happens to the sign of φ above resonance?
- Set f = 113 Hz and R = 50 Ω. Compare the length of the phasors VL and VC with the total voltage phasor V. How can the voltage across the inductor be larger than the source voltage?
- At f = 50 Hz, first switch off the capacitor (RL circuit), then switch off the inductor and switch the capacitor back on (RC circuit). Note Z and φ each time and explain the sign of φ.
Worksheets
Worksheet “Impedance, Phase Shift and Resonance in an RLC Series Circuit” with answers: Word (editable) · PDF
Graphics
Graphics from the animation as SVG – they scale without loss for worksheets, slides or the board. Click to open a graphic; right-click → “Save as …” to download it.
Phasor diagram and waveforms at 50 Hz (R = 100 Ω, L = 200 mH, C = 10 µF): capacitive
Phasor diagram and waveforms close to resonance (113 Hz)
Phasor diagram and waveforms at 200 Hz: inductive
Licence for graphics and worksheets: CC BY 4.0 – please credit “educational-animation.org”.
Related Animations
Overview
| Title | RLC Circuits |
| Target Audience | Teachers and Lecturers |
| Features | Full screen mode Lossless scaling Large screens and projectors supported |
| Licence | Animation (code): MIT · Text and graphics: CC BY 4.0 |
Contributors
C. Hein, S. Rikowski
Sources and Origin
Parts of the program code for this animation were created with the help of AI tools. The idea, design and technical responsibility remain with us.
Cite this post
The animation (code) is published under the MIT licence, text and graphics under CC BY 4.0: you may use, share and modify everything freely – please give credit. The easiest way is to copy this citation:
Sebastian Rikowski: Interactive Animation: RLC Circuit in the Browser. educational-animation.org, 2026. https://www.educational-animation.org/en/rlc-series-circuit/ – Licence: code MIT, text and graphics CC BY 4.0.
If you use the animation, we would greatly appreciate a link to our site or a brief mention of it. It helps others find us – and helps us keep going.

