TExcelTAD
Home › Circuit Theory & Network Analysis › Second-Order Passive Filters

Second-Order Passive Filters

A first-order RC filter falls by only 20 dB/decade20\ \text{dB/decade}: to suppress a 50 kHz switching ripple by 40 dB while passing 5 kHz untouched, it is far too gentle. Add an inductor and the skirt doubles to 40 dB/decade40\ \text{dB/decade}. The same three parts, RR, LL and CC in series, also make a band-pass that picks out one frequency and a notch that removes one, depending only on where you take the output. One number, the damping ratio ζ\zeta (or its partner QQ), decides whether the response is smooth, flat or peaked. This lesson connects the three filters, the standard second-order forms, and the step response you met in Second-Order Step Response.

+ vin R 442 Ohm a L 10 mH b C 100 nF notch (band-stop): v(a) low-pass: v(b) band-pass: across R w0 = 1/sqrt(LC), Q = sqrt(L/C)/R, zeta = 1/(2Q)

Three outputs, one denominator

With the source Vin\mathbf{V}_\text{in} driving RR, LL and CC in series, the current is I=Vin/(R+sL+1/(sC))\mathbf{I} = \mathbf{V}_\text{in}/(R + sL + 1/(sC)) with s=jωs = j\omega. Multiply by the impedance across which the output is taken and tidy up:

HLP(s)=1/(sC)R+sL+1/(sC)=ω02s2+2ζω0s+ω02across CHBP(s)=RR+sL+1/(sC)=2ζω0ss2+2ζω0s+ω02across RHBS(s)=sL+1/(sC)R+sL+1/(sC)=s2+ω02s2+2ζω0s+ω02across L and C\begin{aligned} H_\text{LP}(s) &= \frac{1/(sC)}{R + sL + 1/(sC)} = \frac{\omega_0^2}{s^2 + 2\zeta\omega_0 s + \omega_0^2} && \text{across } C \\ H_\text{BP}(s) &= \frac{R}{R + sL + 1/(sC)} = \frac{2\zeta\omega_0 s}{s^2 + 2\zeta\omega_0 s + \omega_0^2} && \text{across } R \\ H_\text{BS}(s) &= \frac{sL + 1/(sC)}{R + sL + 1/(sC)} = \frac{s^2 + \omega_0^2}{s^2 + 2\zeta\omega_0 s + \omega_0^2} && \text{across } L \text{ and } C \end{aligned}

with

ω0=1LC,ζ=R2CL,Q=12ζ=1RLC\omega_0 = \frac{1}{\sqrt{LC}}, \qquad \zeta = \frac{R}{2}\sqrt{\frac{C}{L}}, \qquad Q = \frac{1}{2\zeta} = \frac{1}{R}\sqrt{\frac{L}{C}}

The denominator is the same for all three: it is the circuit's characteristic polynomial, whose roots are the natural frequencies of the RLC natural response and the poles of Transfer Functions, Poles, Zeros and Stability. Only the numerator changes, and with it the shape:

  • Low-pass: ∣H∣=1\lvert H \rvert = 1 at DC, QQ at ω0\omega_0, then −40 dB/decade-40\ \text{dB/decade}. Phase 0∘→−90∘0^\circ \to -90^\circ (at ω0\omega_0) →−180∘\to -180^\circ.
  • Band-pass: ∣H∣=1\lvert H \rvert = 1 at ω0\omega_0, +20 dB/decade+20\ \text{dB/decade} below, −20 dB/decade-20\ \text{dB/decade} above; −3 dB-3\ \text{dB} bandwidth B=f0/QB = f_0/Q (Resonance).
  • Band-stop (notch): zero output at exactly ω0\omega_0, ∣H∣→1\lvert H \rvert \to 1 far below and far above. The notch width at −3 dB-3\ \text{dB} is also f0/Qf_0/Q.

Choosing the damping

The low-pass is where ζ\zeta matters most:

ζ\zeta QQ name at ω0\omega_0 step overshoot
11 0.50.5 critically damped −6.0 dB-6.0\ \text{dB} none
0.7070.707 0.7070.707 Butterworth (maximally flat) −3.0 dB-3.0\ \text{dB} 4.3 %
0.50.5 11 0 dB0\ \text{dB} 16 %
0.1580.158 3.163.16 lightly damped +10 dB+10\ \text{dB} 60 %

For Q>1/2Q > 1/\sqrt{2} the low-pass peaks near ω0\omega_0, with a maximum of Q/1−1/(4Q2)Q/\sqrt{1 - 1/(4Q^2)}, at ω01−2ζ2\omega_0\sqrt{1 - 2\zeta^2}. A peak in the frequency response and an overshoot in the step response are the same fact seen two ways. Butterworth, ζ=1/2\zeta = 1/\sqrt{2}, is the usual choice: the flattest pass band with no peak. Other alignments (Bessel for the best step response, Chebyshev for a sharper corner with ripple) belong to the planned Signals, Systems & Digital Filters course.

Worked example

Given: L=10 mHL = 10\ \text{mH}, C=100 nFC = 100\ \text{nF}; a Butterworth low-pass is wanted.

Find: f0f_0, the ideal RR, the nearest E96 value and its ζ\zeta; the gain at f0f_0, 2f02f_0 and 10f010f_0.

Solve:

f0=12πLC=5.033 kHz,L/C=316.2 ΩR=2ζL/C=2⋅0.7071⋅316.2 Ω=447.2 Ω  →  442 Ω (E96)ζ=442 Ω2⋅1316.2 Ω=0.699,Q=0.715∣H(f0)∣=Q=0.715=−2.91 dB∣H(2f0)∣=1∣1−4+j⋅2⋅0.699⋅2∣=1∣−3+j2.80∣=0.244=−12.3 dB∣H(10f0)∣≈1100=−40.0 dB\begin{aligned} f_0 &= \frac{1}{2\pi\sqrt{LC}} = 5.033\ \text{kHz}, \qquad \sqrt{L/C} = 316.2\ \Omega \\ R &= 2\zeta\sqrt{L/C} = 2 \cdot 0.7071 \cdot 316.2\ \Omega = 447.2\ \Omega \;\to\; 442\ \Omega \text{ (E96)} \\ \zeta &= \frac{442\ \Omega}{2} \cdot \frac{1}{316.2\ \Omega} = 0.699, \quad Q = 0.715 \\ \lvert H(f_0) \rvert &= Q = 0.715 = -2.91\ \text{dB} \\ \lvert H(2f_0) \rvert &= \frac{1}{\lvert 1 - 4 + j \cdot 2 \cdot 0.699 \cdot 2 \rvert} = \frac{1}{\lvert -3 + j2.80 \rvert} = 0.244 = -12.3\ \text{dB} \\ \lvert H(10f_0) \rvert &\approx \frac{1}{100} = -40.0\ \text{dB} \end{aligned}

Check: from f0f_0 to 10f010f_0 the gain falls about 37 dB37\ \text{dB}, approaching the 40 dB/decade40\ \text{dB/decade} asymptote; a first-order filter with the same corner would only reach −20 dB-20\ \text{dB} at 10f010f_0.

In Python: all three outputs

scipy.signal.freqs evaluates a polynomial ratio in ss at chosen angular frequencies.

python · try it yourself
import numpy as np
from scipy import signal

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

den = [1, 2 * zeta * w0, w0**2]
nums = {"low-pass": [w0**2], "band-pass": [2 * zeta * w0, 0], "band-stop": [1, 0, w0**2]}
u = np.array([0.5, 1.0, 2.0, 10.0])
print("  f/f0 " + "".join(f"{k:>11}" for k in nums))
resp = {k: signal.freqs(n, den, worN=u * w0)[1] for k, n in nums.items()}
for k, x in enumerate(u):
    row = ""
    for name in nums:
        m = abs(resp[name][k])
        row += f"{20*np.log10(m):9.2f}dB" if m > 1e-9 else "     -inf  "
    print(f"{x:6.1f} {row}")

r = 10.0   # winding resistance of a real inductor
print(f"notch depth with r = {r:.0f} ohm: {20*np.log10(r/(R+r)):.1f} dB")
f0 = 5032.9 Hz, zeta = 0.699, Q = 0.715
  f/f0    low-pass  band-pass  band-stop
   0.5     -0.22dB    -3.33dB    -2.71dB
   1.0     -2.91dB     0.00dB     -inf  
   2.0    -12.26dB    -3.33dB    -2.71dB
  10.0    -40.00dB   -17.09dB    -0.09dB
notch depth with r = 10 ohm: -33.1 dB

The ideal notch is infinitely deep (-inf). A real inductor's winding resistance rr stays in series with LL and CC, so at f0f_0 the output is r/(R+r)r/(R + r) of the input, the last line.

Interactive: tune the damping

The netlist lab is the low-pass. Move R1R_1 from 442 Ω442\ \Omega down to 100 Ω100\ \Omega and the response grows a peak at f0f_0; raise it to 1 kΩ1\ \text{k}\Omega and the corner softens. Node a is the notch output: at the default 5 kHz5\ \text{kHz}, just below f0f_0, the lab shows V(b)=720 mVV(\text{b}) = 720\ \text{mV} but only V(a)=9.39 mVV(\text{a}) = 9.39\ \text{mV}.

0.00.51.01001k10k100kf (Hz)|V| (V)|V(b)||V(a)|phasors at f = 5.000 kHz (magnitude @ phase)V(in)1.00 V @ 0.0 degV(a)9.39 mV @ -89.5 degV(b)720 mV @ -89.5 degI(V1)2.26 mA @ -179.5 degI(R1)2.26 mA @ 0.5 degI(L1)2.26 mA @ 0.5 degI(C1)2.26 mA @ 0.5 deg

The step response of the same circuit shows the damping in the time domain. With R=442 ΩR = 442\ \Omega the lab reports ζ=0.6989\zeta = 0.6989 and an overshoot of 4.64 %, close to the Butterworth 4.3 %.

0.000.501.000100 us200 us300 us400 ustvC (V)underdamped, zeta = 0.699peak +4.6 % at 139 usvC(t) after a step of V at t = 0envelopecritical R = 2 sqrt(L/C) = 632 Ohm

Guided lab: a 5 kHz low-pass and notch

Hand calculation. Low-pass −2.9 dB-2.9\ \text{dB} at 5.03 kHz5.03\ \text{kHz}, −12.3 dB-12.3\ \text{dB} at 10 kHz10\ \text{kHz}. Include the generator's 50 Ω50\ \Omega and the coil's winding resistance in RR: with r=20 Ωr = 20\ \Omega, use a 370 Ω370\ \Omega resistor so that 50+20+370=440 Ω50 + 20 + 370 = 440\ \Omega.

Simulation. Set R1R_1 in the lab to 440440; freqs in Python as above.

What you would measure. Generator at 2 V2\ \text{V} peak-to-peak; scope channel 1 at the generator output, channel 2 on node b (low-pass) and then node a (notch). Expect the low-pass gain within about ±0.5 dB\pm 0.5\ \text{dB} of the table at f0f_0, and a notch whose frequency lies within about ±6 %\pm 6\,\% of 5.03 kHz5.03\ \text{kHz} (component tolerances) and whose depth is set by rr: about −26 dB-26\ \text{dB} for r=20 Ωr = 20\ \Omega (20/(370+20)20/(370 + 20) of the voltage at the generator terminals). Drive a square wave at 500 Hz and look at node b: a small overshoot of a few percent on each edge.

Hazards and safe setup. Signal levels only. Inductors couple to nearby wiring; keep leads short. Use capacitors rated at least 50 V.

Pitfalls

  • Ignoring the inductor's resistance. It adds to RR (lowering QQ) and limits the notch depth.
  • Loading the output. A load across CC is a fourth element; it changes ζ\zeta and the DC gain.
  • Reading QQ from a low-pass peak. ∣H(f0)∣=Q\lvert H(f_0) \rvert = Q exactly, but the maximum of a peaked response is slightly above f0f_0's value and slightly below f0f_0 in frequency.
  • Choosing a high QQ "for sharpness". A low-pass with Q=3Q = 3 rings badly on every step; for a sharper corner use a higher order, not a higher QQ.

Practice

  1. With the same LL and CC, which RR gives critical damping? What is the gain at f0f_0?
  2. A notch at 50 Hz50\ \text{Hz} uses C=10 μFC = 10\ \mu\text{F}. What LL is needed, and is it practical?
  3. A series RLC low-pass has R=100 ΩR = 100\ \Omega, L=10 mHL = 10\ \text{mH}, C=100 nFC = 100\ \text{nF}. Find QQ and its peak gain in dB.
Answer
  1. ζ=1\zeta = 1: R=2L/C=632 ΩR = 2\sqrt{L/C} = 632\ \Omega; ∣H(f0)∣=Q=0.5\lvert H(f_0) \rvert = Q = 0.5, −6.0 dB-6.0\ \text{dB}.
  2. L=1/((2π⋅50)2⋅10 μF)=1.01 HL = 1/((2\pi \cdot 50)^2 \cdot 10\ \mu\text{F}) = 1.01\ \text{H}: a large, heavy iron-cored inductor. Low-frequency notches are usually built as active or twin-T RC circuits instead.
  3. Q=316.2/100=3.16Q = 316.2/100 = 3.16; peak Q/1−1/(4Q2)=3.20Q/\sqrt{1 - 1/(4Q^2)} = 3.20, which is +10.1 dB+10.1\ \text{dB}, at 4.91 kHz4.91\ \text{kHz}.

Test yourself

The series RLC low-pass, band-pass and band-stop outputs differ in…

  1. their denominators
  2. their numerators only
  3. their resonant frequency
  4. nothing

Far above f0f_0, a second-order low-pass falls at…

  1. −20 dB/decade-20\ \text{dB/decade}
  2. −40 dB/decade-40\ \text{dB/decade}
  3. −60 dB/decade-60\ \text{dB/decade}
  4. it stays flat

Which damping ratio gives the maximally flat (Butterworth) second-order low-pass?

  1. ζ=0.1\zeta = 0.1
  2. ζ=0.5\zeta = 0.5
  3. ζ=0.707\zeta = 0.707
  4. ζ=2\zeta = 2

What limits the depth of a real passive LC notch?

  1. the source frequency
  2. the resistance of the inductor winding (and capacitor ESR)
  3. the value of C alone
  4. nothing, it is always infinite