RLC Circuit Resonance Simulator Back
Electrical Circuits · Resonance

RLC Circuit Resonance Simulator

Analyze series and parallel RLC resonance interactively. Visualize impedance and current vs frequency on log scales, inspect the phasor diagram, and explore Q factor and bandwidth in real time.

Circuit Type
Parameters
Presets
Resonance Parameters
Electromagnetic CAE Connection
RLC resonance is fundamental to antenna design, RF filters, and EMC suppression. CAE uses FDTD and FEM EM solvers to analyze resonant frequency, Q factor, and radiation patterns. Also critical for PCB signal integrity and parasitic extraction.
Live Readouts (drive frequency f)
Drive f
Resonance f₀
Impedance Z
Current |I|
Phase φ
X_L
X_C
Q factor
Bandwidth Δf
Power factor cosφ
At resonance: φ≈0, |I| max, Z=R
Real-Time Animation (Phasors + Waveforms)
V(t) source I(t) current V_R V_L V_C
How to read: as the drive f approaches f₀ the current amplitude peaks and the phase φ→0 so voltage and current align (resonance). Below f₀ the circuit is capacitive (current leads); above f₀ it is inductive (current lags).
Results
Resonant freq. f₀
Q factor
Bandwidth BW
|Z| at resonance
Impedance & Current vs Frequency (Log Scale)
How to read: blue=|Z| (left axis), red=|I| (right axis), yellow line=f₀, pale dashed lines=half-power (−3 dB) frequencies.
Phasor Diagram (f = f₀)
VR (Resistor voltage)
VL (Inductor voltage)
VC (Capacitor voltage)
Vs (Source — resultant)
I (Current phasor)
Phase angle φ = 0.0°
|I| at f₀ =
|Z| at f₀ =
Series: Z=R (minimum)
Parallel: Z=R (maximum)
Theory & Key Formulas

Resonant frequency: $$\omega_0 = \frac{1}{\sqrt{LC}}$$

Q factor (series): $$Q = \frac{\omega_0 L}{R}$$

Bandwidth: $$\mathrm{BW}= \frac{f_0}{Q}$$

What is RLC Circuit Resonance?

🙋
What exactly is "resonance" in this RLC circuit? I see the current gets really big at a specific frequency.
🎓
Basically, resonance is when the circuit naturally oscillates with maximum energy transfer. In a series RLC circuit, the inductor and capacitor have opposite effects. At one special frequency, their reactances cancel each other out. Try moving the frequency slider in the simulator—you'll see the current peak sharply when $X_L = X_C$, leaving only the resistor to limit the current.
🙋
Wait, really? So the inductor and capacitor just... cancel? What determines that magic frequency?
🎓
Exactly! The "magic" resonant frequency $\omega_0$ is set by just the inductance (L) and capacitance (C). It's $ \omega_0 = 1/\sqrt{LC}$. In practice, this means a tiny capacitor and a big inductor will resonate at a low frequency, and vice-versa. Play with the L and C sliders above—you'll see the peak in the current graph shift left or right instantly.
🙋
Okay, I see the peak. But sometimes it's a sharp spike and sometimes it's a wide hump. What controls that?
🎓
Great observation! That's the Q factor, or "quality factor". A high Q (sharp peak) means low energy loss per cycle, dominated by the reactances. A low Q (wide hump) means high loss, dominated by the resistance. The simulator calculates it as $Q = (\omega_0 L)/R$. Try cranking the R slider up—watch the peak get lower and wider, which directly shows a lower Q and a larger bandwidth.

Physical Model & Key Equations

The core of resonance is the impedance of the series RLC circuit. At any frequency, the total impedance Z is the sum of the resistance and the two reactances. Since the inductive reactance ($X_L$) and capacitive reactance ($X_C$) have opposite signs, they can cancel.

$$Z = R + j\omega L + \frac{1}{j\omega C}= R + j\left(\omega L - \frac{1}{\omega C}\right)$$

$Z$ is the complex impedance (Ω), $R$ is the resistance (Ω), $\omega$ is the angular frequency (rad/s), $L$ is the inductance (H), and $C$ is the capacitance (F). Resonance occurs when the imaginary part is zero.

From the impedance condition, we derive the key resonant frequency. The bandwidth (BW) defines the range of frequencies around resonance where the power is at least half the maximum, and is inversely related to the Q factor.

$$\omega_0 = \frac{1}{\sqrt{LC}}\quad \quad Q = \frac{\omega_0 L}{R}= \frac{1}{R}\sqrt{\frac{L}{C}}\quad \quad \mathrm{BW}= \frac{\omega_0}{Q}$$

$\omega_0$ is the resonant angular frequency. $Q$ is the quality factor (dimensionless). BW is the bandwidth (rad/s). A high Q means a narrow, selective resonance, which is crucial for filters.

Resonant Frequency and Reactance

In an RLC circuit the inductive reactance $X_L=\omega L$ and capacitive reactance $X_C=1/(\omega C)$ vary with frequency. The frequency where they are equal ($X_L=X_C$) is the resonant frequency.

$X_L=X_C \;\Rightarrow\; \omega_0=\dfrac{1}{\sqrt{LC}}, \qquad f_0=\dfrac{1}{2\pi\sqrt{LC}}$

The series impedance is $Z=\sqrt{R^2+(X_L-X_C)^2}$; at resonance the reactances cancel, giving $Z=R$ (minimum) and maximum current. The simulator shows the variation of $Z$, current, and phase with frequency and the resonant point in real time.

Quality Factor (Q) and Bandwidth

The Q factor is a dimensionless measure of how sharp (selective) the resonance is — higher Q means a sharper, narrower peak.

QuantityFormula (series)Meaning
Q factor$Q=\dfrac{\omega_0 L}{R}=\dfrac{1}{\omega_0 C R}=\dfrac{1}{R}\sqrt{\dfrac{L}{C}}$Sharpness / selectivity
Bandwidth BW$\mathrm{BW}=\dfrac{f_0}{Q}=\dfrac{R}{2\pi L}$Frequency width where amplitude is $1/\sqrt2$ (−3 dB)

The smaller $R$, the higher the Q and the narrower the band. An AM radio tuning circuit uses a high Q to select a single station; applications needing a wide band lower the Q.

Series vs. Parallel Resonance

ItemSeries resonanceParallel resonance (tank)
Impedance at resonanceMinimum $Z=R$Maximum
CurrentMaximumMinimum from the source
UseBand-pass / tuning (pass a frequency)Band-stop / oscillator (reject or select)

Both have the same resonant frequency $f_0=1/(2\pi\sqrt{LC})$, but their impedance and current behave oppositely. Filter design chooses series or parallel depending on whether a frequency should be passed or blocked.

Real-World Applications

Radio Tuners: Your radio selects a station by using a tunable RLC circuit (often with a variable capacitor). It resonates at the frequency of the desired radio station, allowing that signal's current to be maximized while rejecting others. The simulator's sharp peak shows this selectivity.

RF/Microwave Filters: In cell phones and WiFi routers, RLC-based bandpass and bandstop filters are essential. They allow specific frequency bands for communication while blocking interference. Engineers use CAE tools to simulate the Q factor and bandwidth exactly as this simulator does.

Antenna Impedance Matching: Antennes are designed to resonate at their operating frequency for efficient power transfer. An RLC matching network ensures the antenna's complex impedance looks purely resistive to the transmitter, minimizing reflected power.

EMC/Noise Suppression: Unwanted resonant circuits can form on printed circuit boards (PCBs) from parasitic inductance and capacitance. CAE software performs parasitic extraction to find these and predict electromagnetic compatibility (EMC) issues, using the same resonance principles shown here.

Common Misconceptions and Points to Note

First, are you under the impression that "the resonant frequency is determined solely by L and C"? It's true that the formula $f_0 = 1 / (2\pi\sqrt{LC})$ does not include the resistance R. However, real-world components always have parasitic elements known as "Equivalent Series Resistance (ESR)". Examples include the winding resistance of a coil or the dielectric loss of a capacitor. If you set the simulator to approach an ideal R=0Ω, the peak impedance theoretically diverges to infinity, which is impossible in a real circuit. In practice, this parasitic resistance determines the Q factor and directly impacts heat generation and efficiency.

Next, it's dangerous to think "series and parallel resonance are simply inverses". In series resonance, the impedance is at a "minimum," resulting in maximum current. In parallel resonance, however, the impedance is at a "maximum," resulting in maximum voltage. If you design a filter without understanding this fundamental difference, it will behave in a completely unintended way. For example, using parallel resonance as a noise filter on a power line makes the impedance maximum at a specific noise frequency, thereby blocking that noise (trap filter). Try switching between both modes in this simulator and observe how the graph shape inverts.

Finally, the discrepancy between simulation and actual measurement. Calculations on paper or results from this tool assume a "lumped-element circuit." However, especially at high frequencies (e.g., tens of MHz and above), wiring length becomes non-negligible compared to the wavelength, and distributed-element effects appear. Furthermore, the influence of parasitic capacitance and mutual inductance between components cannot be ignored. Even if you obtain perfect characteristics in the tool, it's not uncommon for the resonant frequency to shift by a few percent on an actual printed circuit board. Always consider "theoretical values as a first approximation" and plan real-world evaluation as an essential step.

How to Use

  1. Set resistance (R) using slR slider: typical values 10–1000 Ω for passive circuits
  2. Adjust inductance (L) with slL: range 1–500 mH for audio/RF applications
  3. Set capacitance (C) with slC: 0.1–100 µF for power factor correction or tuning circuits
  4. Input source voltage (Vs) via slVs: standard 12 V, 120 V, or 230 V for industrial systems
  5. Read resonant frequency f₀, Q factor, impedance magnitude |Z|, and bandwidth BW from output labels

Worked Example

Design a power-factor correction filter for a 50 Hz industrial load. Set R = 50 Ω, L = 85 mH, C = 150 µF, Vs = 230 V AC. The simulator calculates f₀ = 44.6 Hz, Q = 0.48, |Z| at resonance = 50 Ω (purely resistive), and bandwidth = 93.6 Hz. At 50 Hz line frequency, impedance is approximately 53 Ω with slight inductive phase lag, confirming harmonic damping effectiveness.

Practical Notes

  1. High Q (>10) indicates narrow bandwidth and sharp resonance peak; use in antenna tuning (915 MHz ISM band) or crystal oscillators
  2. Low Q (<1) produces wide bandwidth; preferred in audio crossovers and noise filters to avoid oscillation
  3. At resonance, XL = XC; plot impedance curve to identify anti-resonance nodes in transmission lines
  4. Wire resistance and inductor losses add to R; neglecting parasitic R underestimates bandwidth by 15–40% in real transformers