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 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 resonance
The series circuit's impedance is
The reactance is negative (capacitive) at low frequency, positive (inductive) at high frequency, and zero at the resonant frequency
At the impedance is purely resistive and minimal, , so the current is largest, , 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:
Three meanings of the same number:
- Voltage magnification. At , .
- Selectivity. The current falls to (half power) at two frequencies ; the bandwidth is
and is their geometric mean. 3. Energy. (energy stored) / (energy lost per cycle) at resonance, which links to ringing: when a lightly damped circuit rings, its amplitude falls by a factor per cycle, so it takes about cycles to drop to .
Parallel resonance
In the parallel tank, the admittance is . At the same the susceptances cancel, the impedance is maximal (), and a current source produces the largest voltage. The roles swap with respect to the series circuit:
A large parallel resistance gives a high (little current wasted in ), while a large series resistance gives a low . At resonance the inductor and capacitor currents are each times the source current, circulating inside the tank. A real inductor with winding resistance is close to an ideal with a parallel resistance near resonance, where .
Worked example
Given: series RLC, , , , source (amplitude).
Find: , , , , , the current and the capacitor voltage at .
Solve:
Check: ; . The quantity is the characteristic impedance: the reactance of and of at .
In Python
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 peaks at at resonance and the half-power points are where it crosses . is where the phase of (the current's phase) crosses zero.
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 , , , , and the magnified capacitor voltage of from a source.
Interactive: the resonance curve
The lab draws from to with the half-power band shaded, and the phase of below. Its defaults are the worked example.
It reads , , bandwidth , , and . Raise to 100: halves and the band doubles. Move the drive frequency below 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 in series with the circuit, so the bench circuit really has plus the inductor's winding resistance (often 10 to 40 for a small choke: Bourns' RLB-series 10 mH parts list 12 to 39 maximum; measure it with a DMM). With : , , while stays .
Simulation. In the lab set 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 peak-to-peak sine, scope channel 1 at the generator terminals, channel 2 across the resistor (proportional to the current). Sweep 2 to 10 kHz and find the peak of channel 2 and the two frequencies where it is of the peak. Expect within about of (5 % capacitor and 5 to 10 % inductor tolerances enter as square roots), and matching within about 10 %. At , compare the voltage across (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 and so is grounded) with the source: about times larger.
Hazards and safe setup. Signal levels only, but remember the magnification: with a high- circuit a few volts in can give tens of volts across , 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 and the coil's winding resistance belong in ; ignoring them overestimates , sometimes by a factor of several.
- Mixing up series and parallel Q. Series: (small is good). Parallel: (large is good).
- Using as exact symmetric limits. and sit symmetrically about on a log axis, not a linear one, which matters for low .
- Probing across C with a grounded scope. Both ends of are off ground in the series circuit; a ground clip on node a shorts part of the circuit.
Practice
- Which capacitor resonates with at ?
- A series RLC has and from a source. What is at ?
- A parallel tank has , , . Find and .
Answer
- .
- , so .
- ; (also ).
Test yourself
At the resonant frequency of a series RLC circuit, the impedance is…
- zero
- infinite
- equal to and purely resistive
- equal to
Doubling in a series RLC circuit (L and C unchanged)…
- doubles
- halves and doubles the bandwidth
- doubles
- leaves unchanged
A series RLC with is driven at by . The voltage across the capacitor is about…
In a parallel RLC tank, increasing the parallel resistance …
- lowers
- raises and narrows the bandwidth
- changes
- has no effect