LCR Resonance Circuit Simulator Back
Electromagnetics & Circuits

LCR Resonance Circuit Simulator

Visualize impedance and phase frequency response for series and parallel LCR circuits in real time. Instantly compute resonant frequency, Q-factor, and bandwidth.

Circuit Type
Parameters
Results
Resonant Freq. f₀
Hz
Q-Factor
dimensionless
Bandwidth BW
Hz
Theory
$f_0 = \dfrac{1}{2\pi\sqrt{LC}}$
$Q = \dfrac{\sqrt{L/C}}{R}$ (series)
$BW = \dfrac{f_0}{Q}$
Impedance |Z| vs Frequency
Phase φ vs Frequency

What is LCR Resonance?

🧑‍🎓
What exactly is "resonance" in an LCR circuit? I see the graph has a big peak.
🎓
Basically, it's the frequency where the circuit naturally "rings" or oscillates most strongly. The inductor (L) and capacitor (C) have opposite effects—one resists changes in current, the other in voltage. At one special frequency, these effects perfectly cancel out. In the simulator, that's where the impedance curve hits its minimum for a series circuit. Try moving the L and C sliders and watch how the peak jumps to a new frequency.
🧑‍🎓
Wait, really? They cancel? So at that point, is the circuit just a resistor?
🎓
Exactly! For a series circuit, at resonance, the impedance is purely resistive, $Z = R$. That's why the current is maximum. The phase angle between voltage and current becomes zero. In the simulator, switch the view to "Phase Response" and you'll see the line cross zero at the resonant frequency. The value of that resistor $R$ you set with the slider then controls how *big* that current peak is.
🧑‍🎓
So what's the Q-factor number telling me? Is a high Q good or bad?
🎓
The Q-factor tells you how "sharp" or selective the resonance peak is. A high Q means a very narrow, tall peak—great for tuning a radio to one station and rejecting others. A low Q means a broad, damped response. In practice, you get high Q by having a low resistance $R$. Try it: crank the R slider way down and see the peak get taller and narrower. The calculated bandwidth, shown below the graph, will shrink.

Physical Model & Key Equations

The heart of resonance is the frequency where inductive reactance ($X_L$) and capacitive reactance ($X_C$) are equal in magnitude but opposite in sign, causing them to cancel. This defines the resonant frequency.

$$ f_0 = \frac{1}{2 \pi \sqrt{LC}}$$

Where $f_0$ is the resonant frequency in Hertz (Hz), $L$ is the inductance in Henries (H), and $C$ is the capacitance in Farads (F).

The Quality Factor (Q) quantifies the damping and sharpness of the resonance. For a series LCR circuit, it's the ratio of the reactance of the inductor (or capacitor) at resonance to the circuit resistance.

$$ Q = \frac{1}{R}\sqrt{\frac{L}{C}}= \frac{f_0}{\text{Bandwidth}} $$

Where $R$ is the series resistance in Ohms (Ω). A higher $Q$ means lower energy loss relative to the energy stored in the oscillating fields, resulting in a narrower bandwidth (BW). Bandwidth is calculated as $BW = f_0 / Q$.

Real-World Applications

Radio Tuners: The most classic example. An LCR circuit is used to select a specific broadcast frequency from the myriad of signals picked up by an antenna. By varying the capacitor (like turning a tuning knob), you change the resonant frequency to match the station you want to listen to. A high Q-factor provides better selectivity between closely spaced stations.

Impedance Matching Networks: In RF (Radio Frequency) electronics, like in amplifiers for cell phones, LCR circuits are used to match the impedance between different components. This ensures maximum power transfer at the desired operating frequency, improving efficiency and signal strength.

Filters in Audio & Signal Processing: LCR circuits form the basis of band-pass, band-stop, low-pass, and high-pass filters. For instance, a graphic equalizer in a stereo system uses resonant circuits to boost or cut specific frequency bands, shaping the sound to your preference.

Medical Imaging (MRI): The radiofrequency coils inside an MRI machine are essentially high-Q LCR resonant circuits. They must be precisely tuned to resonate at the specific frequency needed to excite hydrogen nuclei in the body, which is critical for generating detailed diagnostic images.

Common Misconceptions and Points to Note

Here are a few pitfalls that beginners often encounter when mastering this simulator. The first is that real-world components do not have ideal values. The coil (L) in the simulator is a pure inductance, but actual coils always have winding resistance. For example, even a 100μH coil has a DC resistance (ESR) ranging from a few ohms to tens of ohms. In a series resonant circuit, this acts directly as the resistance R, preventing you from achieving the high Q factor calculated theoretically. In parallel circuits, this resistance appears as a parasitic element in parallel, which also needs to be considered.

The second point is that while the resonance frequency calculation is simple, the actual resonance point shifts. The theoretical formula $f_0 = \frac{1}{2\pi\sqrt{LC}}$ is an ideal equation. In reality, "parasitic elements" such as the coil's self-capacitance and the capacitor's residual inductance cannot be ignored. This effect becomes more significant at higher frequencies. While the simulator calculates approximately 5.03MHz for settings like "L=10μH, C=100pF", it's not uncommon for actual measurements to be around 4.8MHz. Always include a margin in your design.

The third point is not to confuse the "Q factor formulas" for series and parallel circuits. The Q factor for series resonance is $Q = \frac{1}{R}\sqrt{\frac{L}{C}}$, where a smaller R yields a higher Q. On the other hand, the Q factor for a parallel resonant circuit is $Q = R\sqrt{\frac{C}{L}}$, meaning a larger resistance R results in a higher Q. If you don't understand this reversal, you might build a circuit and wonder, "Huh? The resonance isn't as sharp as I expected," so be careful.

Related Engineering Fields

The principles of LCR resonance are applied across various engineering fields, extending beyond the fundamentals of electronic circuits. The first to mention is wireless communication (RF) technology. It's an essential concept for tuners and filters in smartphones and Wi-Fi, directly linked to designing "bandpass filters" that pass only specific frequency bands and "notch filters" that remove unwanted frequencies. Adjusting L and C in this simulator to shift the resonance point is precisely how channel selection works.

Next is power electronics. Here, resonance phenomena are actively utilized in crucial technologies like "resonant converters," which dramatically reduce switching losses. By synchronizing the switching timing of elements (like MOSFETs) with the point where the circuit's resonant current reaches zero (zero-current switching), ultra-high efficiency is achieved. The concept of "phase difference between current and voltage" you observe in the simulator becomes a key factor determining efficiency here.

Furthermore, it extends to mechatronics and sensor technology. Crystal oscillators are devices where mechanical vibration couples with electrical resonance, used as clock sources in watches and microcontrollers. Also, "eddy current sensors" for non-contact object detection utilize the principle where changes in a coil's inductance shift the resonant frequency. Looking at it this way, LCR resonance is a remarkably universal physical phenomenon connecting "electrical oscillation" and "mechanical oscillation."

For Further Learning

Once you're comfortable with this simulator, I encourage you to take the next step and tackle "handling impedance using complex numbers (j)". Right now, you're only looking at the magnitude, but considering the full complex number including phase information allows for a much deeper understanding of circuit behavior. For instance, the sign of the imaginary part X (reactance) in the impedance representation $Z = R + jX$ immediately tells you whether the circuit is inductive (current lags voltage) or capacitive (current leads voltage).

Mathematically, learning Laplace transforms can suddenly broaden your perspective. It's a technique for transforming differential equations in the time domain (the voltage-current relationships for coils and capacitors are expressed via differentiation and integration) into algebraic equations in the complex frequency s domain. Using this, you can also analyze transient responses (the oscillatory behavior the moment a switch is turned on). The step response of a resonant circuit exhibits "damped oscillation," and the oscillation frequency and damping rate are precisely determined by the R, L, and C values you're adjusting in this simulator.

As specific next topics, I recommend "active filters" using active components and "coupled resonant circuits" where multiple resonant circuits are combined to sharpen the characteristics. Also, in practical design, it's standard to use simulation tools (like SPICE) to verify characteristics with more realistic models (including parasitic elements). The intuition you develop with this online tool can be validated and expanded upon with more advanced tools, paving your way to becoming a practical engineer.