TExcelTAD
Home › Circuit Theory & Network Analysis › Resonance, Quality Factor and Bandwidth

Resonance, Quality Factor and Bandwidth

Turn the tuning knob of an old AM radio and one station rises out of the noise while its neighbours, only 9 or 10 kHz away, fade. Inside is an inductor and a capacitor whose reactances cancel at exactly one frequency. The same effect selects a channel in an RF front end, sets the frequency of an oscillator, and, unwanted, makes a power-supply filter ring or a PCB trace radiate. This lesson describes resonance in series and parallel RLC circuits, the quality factor QQ that measures how sharp it is, and the bandwidth you can measure on the bench. The time-domain side of the same circuit (ringing and damping) is in Second-Order Circuits: Natural Response.

series RLC parallel RLC + vs 1 V L 10 mH C 100 nF R 50 Ohm a b I I R 10 kOhm L 10 mH C 100 nF + - V

Series resonance

The series circuit's impedance is

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

The reactance is negative (capacitive) at low frequency, positive (inductive) at high frequency, and zero at the resonant frequency

ω0=1LC,f0=12πLC\omega_0 = \frac{1}{\sqrt{L C}}, \qquad f_0 = \frac{1}{2\pi \sqrt{L C}}

At f0f_0 the impedance is purely resistive and minimal, Z=RZ = R, so the current is largest, Imax=V/RI_\text{max} = V/R, and in phase with the source. The inductor and capacitor still carry that current: their voltages are equal and opposite and can be much larger than the source voltage.

Quality factor and bandwidth

The quality factor compares the reactance at resonance with the resistance:

Q=ω0LR=1ω0RC=1RLCQ = \frac{\omega_0 L}{R} = \frac{1}{\omega_0 R C} = \frac{1}{R}\sqrt{\frac{L}{C}}

Three meanings of the same number:

  1. Voltage magnification. At f0f_0, ∣VL∣=∣VC∣=Q∣Vs∣\lvert \mathbf{V}_L \rvert = \lvert \mathbf{V}_C \rvert = Q \lvert \mathbf{V}_s \rvert.
  2. Selectivity. The current falls to Imax/2I_\text{max}/\sqrt{2} (half power) at two frequencies f1<f0<f2f_1 < f_0 < f_2; the bandwidth is
B=f2−f1=R2πL=f0Q,f1,2=f0(1+14Q2∓12Q)B = f_2 - f_1 = \frac{R}{2\pi L} = \frac{f_0}{Q}, \qquad f_{1,2} = f_0\left(\sqrt{1 + \frac{1}{4Q^2}} \mp \frac{1}{2Q}\right)

and f0=f1f2f_0 = \sqrt{f_1 f_2} is their geometric mean. 3. Energy. Q=2π⋅Q = 2\pi \cdot (energy stored) / (energy lost per cycle) at resonance, which links QQ to ringing: when a lightly damped circuit rings, its amplitude falls by a factor e−π/Qe^{-\pi/Q} per cycle, so it takes about Q/πQ/\pi cycles to drop to 1/e1/e.

Parallel resonance

In the parallel tank, the admittance is Y=1/R+j(ωC−1/(ωL))Y = 1/R + j(\omega C - 1/(\omega L)). At the same ω0=1/LC\omega_0 = 1/\sqrt{LC} the susceptances cancel, the impedance is maximal (Z=RZ = R), and a current source produces the largest voltage. The roles swap with respect to the series circuit:

Qpar=Rω0L=ω0RC=RCL,B=12πRC=f0QparQ_\text{par} = \frac{R}{\omega_0 L} = \omega_0 R C = R\sqrt{\frac{C}{L}}, \qquad B = \frac{1}{2\pi R C} = \frac{f_0}{Q_\text{par}}

A large parallel resistance gives a high QQ (little current wasted in RR), while a large series resistance gives a low QQ. At resonance the inductor and capacitor currents are each QparQ_\text{par} times the source current, circulating inside the tank. A real inductor with winding resistance rr is close to an ideal LL with a parallel resistance Rp≈QL2rR_p \approx Q_L^2 r near resonance, where QL=ω0L/rQ_L = \omega_0 L / r.

Worked example

Given: series RLC, L=10 mHL = 10\ \text{mH}, C=100 nFC = 100\ \text{nF}, R=50 ΩR = 50\ \Omega, source 1 V1\ \text{V} (amplitude).

Find: f0f_0, QQ, BB, f1f_1, f2f_2, the current and the capacitor voltage at f0f_0.

Solve:

f0=12π10 mH⋅100 nF=12π⋅31.62 μs=5.033 kHzQ=150 Ω10 mH100 nF=316.2 Ω50 Ω=6.325B=50 Ω2π⋅10 mH=795.8 Hz,12Q=0.0791f1=5.033 kHz⋅(1.00312−0.0791)=4.651 kHz,f2=5.033 kHz⋅(1.00312+0.0791)=5.447 kHzImax=1 V/50 Ω=20 mA,∣VC∣=Q⋅1 V=6.32 V\begin{aligned} f_0 &= \frac{1}{2\pi\sqrt{10\ \text{mH} \cdot 100\ \text{nF}}} = \frac{1}{2\pi \cdot 31.62\ \mu\text{s}} = 5.033\ \text{kHz} \\ Q &= \frac{1}{50\ \Omega}\sqrt{\frac{10\ \text{mH}}{100\ \text{nF}}} = \frac{316.2\ \Omega}{50\ \Omega} = 6.325 \\ B &= \frac{50\ \Omega}{2\pi \cdot 10\ \text{mH}} = 795.8\ \text{Hz}, \quad \frac{1}{2Q} = 0.0791 \\ f_1 &= 5.033\ \text{kHz} \cdot (1.00312 - 0.0791) = 4.651\ \text{kHz}, \quad f_2 = 5.033\ \text{kHz} \cdot (1.00312 + 0.0791) = 5.447\ \text{kHz} \\ I_\text{max} &= 1\ \text{V}/50\ \Omega = 20\ \text{mA}, \quad \lvert \mathbf{V}_C \rvert = Q \cdot 1\ \text{V} = 6.32\ \text{V} \end{aligned}

Check: f2−f1=796 Hz=Bf_2 - f_1 = 796\ \text{Hz} = B; f1f2=4.651⋅5.447 kHz=5.033 kHz=f0\sqrt{f_1 f_2} = \sqrt{4.651 \cdot 5.447}\ \text{kHz} = 5.033\ \text{kHz} = f_0. The quantity L/C=316 Ω\sqrt{L/C} = 316\ \Omega is the characteristic impedance: the reactance of LL and of CC at f0f_0.

In Python

python · try it yourself
import numpy as np

L, C, R, V = 10e-3, 100e-9, 50.0, 1.0
w0 = 1 / np.sqrt(L * C); f0 = w0 / (2 * np.pi)
Q = np.sqrt(L / C) / R
print(f"f0 = {f0:.1f} Hz, Q = {Q:.3f}, B = {f0/Q:.1f} Hz")

f = np.linspace(3e3, 8e3, 500001)
w = 2 * np.pi * f
I = V / (R + 1j * (w * L - 1 / (w * C)))
half = np.abs(I) >= np.abs(I).max() / np.sqrt(2)
f1, f2 = f[half][0], f[half][-1]
print(f"sweep: f1 = {f1:.1f} Hz, f2 = {f2:.1f} Hz, B = {f2 - f1:.1f} Hz")
k = np.argmin(abs(f - f0))
print(f"at f0: |I| = {abs(I[k])*1e3:.2f} mA, |V_C| = {abs(I[k])/(w[k]*C):.3f} V, |V_L| = {abs(I[k])*w[k]*L:.3f} V")
f0 = 5032.9 Hz, Q = 6.325, B = 795.8 Hz
sweep: f1 = 4650.7 Hz, f2 = 5446.5 Hz, B = 795.8 Hz
at f0: |I| = 20.00 mA, |V_C| = 6.325 V, |V_L| = 6.325 V

Cross-check with SPICE: f0, bandwidth and Q from an AC sweep

The resistor is at the bottom of the loop, so V(b)=50 Ω⋅IV(b) = 50\ \Omega \cdot I peaks at 1 V1\ \text{V} at resonance and the half-power points are where it crosses 0.70711 V0.70711\ \text{V}. f0f_0 is where the phase of V(b)V(b) (the current's phase) crosses zero.

bash · try it yourself
cat > rlc.cir <<'EOF'
* Series RLC: L = 10m, C = 100n, R = 50, 1 V AC
V1 in 0 AC 1
L1 in a 10m
C1 a b 100n
R1 b 0 50
.control
ac lin 4001 3k 8k
meas ac f0 when vp(b)=0
meas ac vr_pk max vm(b)
meas ac f1 when vm(b)=0.70711 rise=1
meas ac f2 when vm(b)=0.70711 fall=1
let vc = mag(v(a) - v(b))
meas ac vc_f0 find vc at=5032.9
let bw = f2 - f1
let q = f0 / bw
print bw q
.endc
.end
EOF
ngspice -b rlc.cir 2>&1 | grep -E '^(f[0-9]|vr_pk|vc_f0|bw|q) '
f0                  =  5.032921e+03
vr_pk               =  9.999994e-01 at=  5.032500e+03
f1                  =  4.650740e+03
f2                  =  5.446508e+03
vc_f0               =  6.324575e+00
bw = 7.957680e+02
q = 6.324608e+00

SPICE reproduces f0f_0, f1f_1, f2f_2, BB, QQ and the magnified capacitor voltage of 6.32 V6.32\ \text{V} from a 1 V1\ \text{V} source.

Interactive: the resonance curve

The lab draws ∣I∣\lvert I \rvert from f0/3f_0/3 to 3f03f_0 with the half-power band shaded, and the phase of II below. Its defaults are the worked example.

0 A5.0 mA10 mA15 mA20 mAf0/3f0/2f02f03f0|I|f0 = 5.03 kHzImax/sqrt2f1f2-90090f0/3f0/2f02f03f0phase of I (deg)Q = 6.32B = f2 - f1 = 796 Hzat f0: resistive

It reads f0=5.033 kHzf_0 = 5.033\ \text{kHz}, Q=6.325Q = 6.325, bandwidth 795.8 Hz795.8\ \text{Hz}, f1=4.651 kHzf_1 = 4.651\ \text{kHz}, f2=5.447 kHzf_2 = 5.447\ \text{kHz} and ∣VC∣=6.325 V\lvert \mathbf{V}_C \rvert = 6.325\ \text{V}. Raise RR to 100: QQ halves and the band doubles. Move the drive frequency below f0f_0 and the current leads (capacitive), above it lags (inductive).

Guided lab: measure resonance and bandwidth

Hand calculation. As above. But the function generator has an output resistance of 50 Ω50\ \Omega in series with the circuit, so the bench circuit really has Rtotal=100 ΩR_\text{total} = 100\ \Omega plus the inductor's winding resistance rr (often 10 to 40 Ω\Omega for a small 10 mH10\ \text{mH} choke: Bourns' RLB-series 10 mH parts list 12 to 39 Ω\Omega maximum; measure it with a DMM). With r=20 Ωr = 20\ \Omega: Q=316/120=2.64Q = 316/120 = 2.64, B=1.91 kHzB = 1.91\ \text{kHz}, while f0f_0 stays 5.03 kHz5.03\ \text{kHz}.

Simulation. In the lab set RR to your measured total; in the SPICE deck add Rg in0 in 50, move the source to node in0, and give L1 a series resistor.

What you would measure. Generator at 2 V2\ \text{V} peak-to-peak sine, scope channel 1 at the generator terminals, channel 2 across the 50 Ω50\ \Omega resistor (proportional to the current). Sweep 2 to 10 kHz and find the peak of channel 2 and the two frequencies where it is 0.7070.707 of the peak. Expect f0f_0 within about ±6 %\pm 6\,\% of 5.03 kHz5.03\ \text{kHz} (5 % capacitor and 5 to 10 % inductor tolerances enter as square roots), and BB matching Rtotal/(2πL)R_\text{total}/(2\pi L) within about 10 %. At f0f_0, compare the voltage across CC (move channel 1 to node a, keep channel 2 on node b and use the scope's math function CH1 - CH2, or swap the positions of CC and RR so CC is grounded) with the source: about QQ times larger.

Hazards and safe setup. Signal levels only, but remember the magnification: with a high-QQ circuit a few volts in can give tens of volts across CC, so use capacitors rated at least 50 V and keep the generator amplitude low until you have seen the peak. Never connect a resonant circuit to mains: series resonance on a supply can build destructive voltages.

Pitfalls

  • Forgetting the source resistance. The generator's 50 Ω50\ \Omega and the coil's winding resistance belong in RR; ignoring them overestimates QQ, sometimes by a factor of several.
  • Mixing up series and parallel Q. Series: Q=L/C/RQ = \sqrt{L/C}/R (small RR is good). Parallel: Q=RC/LQ = R\sqrt{C/L} (large RR is good).
  • Using B=f0/QB = f_0/Q as exact symmetric limits. f1f_1 and f2f_2 sit symmetrically about f0f_0 on a log axis, not a linear one, which matters for low QQ.
  • Probing across C with a grounded scope. Both ends of CC are off ground in the series circuit; a ground clip on node a shorts part of the circuit.

Practice

  1. Which capacitor resonates with L=220 μHL = 220\ \mu\text{H} at 1.0 MHz1.0\ \text{MHz}?
  2. A series RLC has f0=10 kHzf_0 = 10\ \text{kHz} and B=500 HzB = 500\ \text{Hz} from a 0.5 V0.5\ \text{V} source. What is ∣VC∣\lvert \mathbf{V}_C \rvert at f0f_0?
  3. A parallel tank has L=10 mHL = 10\ \text{mH}, C=100 nFC = 100\ \text{nF}, R=10 kΩR = 10\ \text{k}\Omega. Find QQ and BB.
Answer
  1. C=1/((2πf0)2L)=1/((6.283×106)2⋅220×10−6)=115 pFC = 1/((2\pi f_0)^2 L) = 1/((6.283 \times 10^6)^2 \cdot 220 \times 10^{-6}) = 115\ \text{pF}.
  2. Q=f0/B=20Q = f_0/B = 20, so ∣VC∣=20⋅0.5=10 V\lvert \mathbf{V}_C \rvert = 20 \cdot 0.5 = 10\ \text{V}.
  3. Q=RC/L=104⋅10−5=31.6Q = R\sqrt{C/L} = 10^4 \cdot \sqrt{10^{-5}} = 31.6; B=f0/Q=5033/31.6=159 HzB = f_0/Q = 5033/31.6 = 159\ \text{Hz} (also 1/(2πRC)1/(2\pi R C)).

Test yourself

At the resonant frequency of a series RLC circuit, the impedance is…

  1. zero
  2. infinite
  3. equal to RR and purely resistive
  4. equal to L/C\sqrt{L/C}

Doubling RR in a series RLC circuit (L and C unchanged)…

  1. doubles f0f_0
  2. halves QQ and doubles the bandwidth
  3. doubles QQ
  4. leaves QQ unchanged

A series RLC with Q=6.3Q = 6.3 is driven at f0f_0 by 1 V1\ \text{V}. The voltage across the capacitor is about…

  1. 0.16 V0.16\ \text{V}
  2. 1 V1\ \text{V}
  3. 6.3 V6.3\ \text{V}
  4. 40 V40\ \text{V}

In a parallel RLC tank, increasing the parallel resistance RR…

  1. lowers QQ
  2. raises QQ and narrows the bandwidth
  3. changes f0f_0
  4. has no effect