Second-Order Passive Filters
A first-order RC filter falls by only : 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 . The same three parts, , and 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 (or its partner ), 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.
Three outputs, one denominator
With the source driving , and in series, the current is with . Multiply by the impedance across which the output is taken and tidy up:
with
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: at DC, at , then . Phase (at ) .
- Band-pass: at , below, above; bandwidth (Resonance).
- Band-stop (notch): zero output at exactly , far below and far above. The notch width at is also .
Choosing the damping
The low-pass is where matters most:
| name | at | step overshoot | ||
|---|---|---|---|---|
| critically damped | none | |||
| Butterworth (maximally flat) | 4.3 % | |||
| 16 % | ||||
| lightly damped | 60 % |
For the low-pass peaks near , with a maximum of , at . A peak in the frequency response and an overshoot in the step response are the same fact seen two ways. Butterworth, , 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: , ; a Butterworth low-pass is wanted.
Find: , the ideal , the nearest E96 value and its ; the gain at , and .
Solve:
Check: from to the gain falls about , approaching the asymptote; a first-order filter with the same corner would only reach at .
In Python: all three outputs
scipy.signal.freqs evaluates a polynomial ratio in at chosen angular frequencies.
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 stays in series with and , so at the output is of the input, the last line.
Interactive: tune the damping
The netlist lab is the low-pass. Move from down to and the response grows a peak at ; raise it to and the corner softens. Node a is the notch output: at the default , just below , the lab shows but only .
The step response of the same circuit shows the damping in the time domain. With the lab reports and an overshoot of 4.64 %, close to the Butterworth 4.3 %.
Guided lab: a 5 kHz low-pass and notch
Hand calculation. Low-pass at , at . Include the generator's and the coil's winding resistance in : with , use a resistor so that .
Simulation. Set in the lab to ; freqs in Python as above.
What you would measure. Generator at 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 of the table at , and a notch whose frequency lies within about of (component tolerances) and whose depth is set by : about for ( 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 (lowering ) and limits the notch depth.
- Loading the output. A load across is a fourth element; it changes and the DC gain.
- Reading from a low-pass peak. exactly, but the maximum of a peaked response is slightly above 's value and slightly below in frequency.
- Choosing a high "for sharpness". A low-pass with rings badly on every step; for a sharper corner use a higher order, not a higher .
Practice
- With the same and , which gives critical damping? What is the gain at ?
- A notch at uses . What is needed, and is it practical?
- A series RLC low-pass has , , . Find and its peak gain in dB.
Answer
- : ; , .
- : a large, heavy iron-cored inductor. Low-frequency notches are usually built as active or twin-T RC circuits instead.
- ; peak , which is , at .
Test yourself
The series RLC low-pass, band-pass and band-stop outputs differ in…
- their denominators
- their numerators only
- their resonant frequency
- nothing
Far above , a second-order low-pass falls at…
- it stays flat
Which damping ratio gives the maximally flat (Butterworth) second-order low-pass?
What limits the depth of a real passive LC notch?
- the source frequency
- the resistance of the inductor winding (and capacitor ESR)
- the value of C alone
- nothing, it is always infinite