C4 · Lesson 7 · Filter order and roll-off
How many poles a filter needs
A single RC stage rolls off at 20 dB per decade. That's gentle: one decade above the corner, a tenth of the unwanted signal still gets through. To drop sharply from passband to stopband, a filter needs more poles. But piling up identical RC stages also sags the passband well before the corner. Proper filter designs place their poles carefully so the response stays flat as long as possible and then falls fast.
Play
- Two low-pass filters of order n, both with a 1 kHz corner: n identical RC stages (buffered so they don't load each other), and a Butterworth filter, the flattest possible.
- Raise n from 1 to 6. Compare their attenuation at 2 kHz, and at the 1 kHz corner.
- How many poles would you need to knock a 2 kHz tone down by 60 dB?
Predict
Four identical buffered RC low-pass stages, each with a 1 kHz corner, are cascaded. What is the total gain at 1 kHz?
−12 dB. Each stage is 3 dB down at its own corner, and the stages multiply, so four of them are 12 dB down: the overall −3 dB point has moved well below 1 kHz. A fourth-order Butterworth filter with a 1 kHz corner is exactly 3 dB down at 1 kHz, and flat almost to the corner, because its four poles aren't identical: they're spread around a circle in the s-plane.
Name it
Order
Order is the number of poles (for a low-pass, the number of reactive parts that matter). Far above the corner, a filter of order n falls at
Cascading identical stages multiplies their responses: . At that's dB, so the passband droops early.
The Butterworth response is the flattest possible in the passband:
It's exactly −3 dB at for any order, and almost perfectly flat below. Its poles lie evenly spaced on a semicircle of radius in the left half of the s-plane; for n = 2 that's a single section with .
Other designs trade flatness for sharpness or timing:
- Chebyshev: allows ripple in the passband, for a steeper initial fall.
- Elliptic: ripple in both bands, the steepest transition for a given order.
- Bessel: the most uniform delay, so pulses keep their shape, at the cost of a gentle roll-off.
How many poles? To attenuate by A dB at frequency with a Butterworth:
rounded up. Roughly: each pole buys 6 dB per octave of separation between corner and stopband.
Worked example
A Butterworth low-pass must be 40 dB down at four times its corner. What order?
Show the solution
- Order formula.
- Round up. The order is a whole number, so it's 4.
- Check. At four times the corner a fourth-order filter is down.
Answer fourth order, which is 48.2 dB down at four times the corner.
Worked example
Compare three identical buffered RC stages with a third-order Butterworth filter, both cornered at , at and at .
Show the solution
- RC cascade at .
- RC cascade at .
- Butterworth at . It gives −3.0 dB.
- Butterworth at .
Answer the RC cascade gives −9.0 dB at and −2.9 dB at ; the Butterworth gives −3.0 dB and −0.07 dB, a much flatter passband.
Worked example
A Butterworth low-pass must be 60 dB down at ten times its corner. What order does it need?
Show the solution
- Butterworth attenuation.
- Solve for n. Setting it to 60 dB at x = 10:
- Check. A third-order filter gives exactly 60.0 dB there.
- Far from the corner. Each order adds 20 dB per decade, so far from the corner the count is easy: 60 dB in one decade needs three poles.
- Near the corner. Close to the corner, or with a ripple allowance, the formula is needed.
Answer third order, which gives exactly 60.0 dB at ten times the corner.
Check
An order-2 low-pass: what is its roll-off rate far above the corner?
Check
An order-3 Butterworth low-pass: what is its gain at 1.2 times its corner frequency?
Check
A Butterworth low-pass must attenuate by at least 60 dB at 2 times its corner frequency. What is the lowest order that does it?
Check
3 identical buffered RC low-pass stages share a corner frequency. What is their combined gain at that frequency?
Check
Match each filter design to its strength.
- Asteeper fall-off, with passband ripple
- Bflattest passband with no ripple
- Csimplest to build, with a drooping passband
- Dmost uniform delay, so pulses keep their shape
Check
A Butterworth low-pass must be 60 dB down at 3 times its corner.
(a)
What order does that take, before rounding up?
(b)
What would a third-order filter give there?
Check
An n-th order Butterworth low-pass at x = f/f₀.
Step 1
What's its gain?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What's its attenuation in dB?
Step 3
At what x does it reach A dB?
Check
Write butter_qs(n) returning the Q of each pole pair of an order-n Butterworth filter, smallest first. The poles sit on a circle, spaced π/n apart and placed symmetrically about the negative real axis: for even n the pairs are at from that axis, for odd n at with one real pole left over, which has no Q. A pair at angle θ has .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does a Butterworth filter of a given order stay flatter in its passband than the same number of identical RC stages?
Identical RC stages each start losing gain gradually well below their shared corner, and because the losses multiply, the droop compounds: n stages are 3n dB down at the corner. A Butterworth filter places its poles at different positions, some close to the imaginary axis with higher Q, so their small peaking offsets the others' droop. The result is a response that stays almost perfectly flat until near the corner, where it is only 3 dB down, and then falls at the same final rate.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.