C4 · Lesson 8 · Filter specifications
From a requirement to the number of poles it takes
"Make a low-pass filter" isn't a specification. A real one says: frequencies up to 1 kHz must pass with at most 1 dB of loss, and anything above 5 kHz must be at least 40 dB down. Between those edges lies the transition band, and how narrow it is decides how many poles the filter needs, and so how many capacitors, inductors and amplifiers. Choosing the order from the specification is the first step of every filter design, before any component values.
- Butterworth low-pass responses of order , against frequency relative to the corner (log scales). The marker is the stopband edge.
- Each extra order adds 20 dB per decade of roll-off. The readout gives the attenuation at the marker.
- Find the smallest order that's 40 dB down at five times the corner.
Predict
A Butterworth low-pass with a 1 kHz corner must be 40 dB down at 5 kHz. What is the lowest order that works?
- Order gives dB at five times the corner: 28 dB for and 42 dB for . The formula says , rounded up to the next whole order.
Name it
The specification
A low-pass specification has four numbers:
- passband edge , with at most dB of loss below it;
- stopband edge , with at least dB of loss above it.
The region between is the transition band; the ratio measures how sharp the filter must be.
Butterworth order
A Butterworth response has , where sets the loss at ( = 3 dB gives ε = 1, the usual corner). Meeting both edges needs
rounded up. Far above the corner it falls at dB per decade, dB per octave.
Chebyshev order
A Chebyshev response (lesson 9) allows ripple in the passband and rolls off faster, needing
with . For the same specification it often needs one or two fewer poles.
Other filter types
High-pass, band-pass and band-stop specifications are turned into an equivalent low-pass one (lesson 12), designed, and transformed back.
Worked example
A low-pass must lose at most 1 dB below 1 kHz and at least 40 dB above 5 kHz. What Butterworth order does it need?
Show the solution
- Ripple factor.
- Order. so order 4.
- With a 3 dB edge. With a 3 dB passband edge instead, n ≥ 2.86: order 3.
Answer order 4 (order 3 if the passband edge were the 3 dB point).
Worked example
The same 1 dB, 40 dB specification with a Chebyshev response: what order?
Show the solution
- Numerator.
- Denominator.
- Order. so order 3, one fewer than Butterworth.
Answer order 3, one fewer than the Butterworth's order 4.
Worked example
A Chebyshev filter is allowed 0.5 dB of passband ripple. What's its ripple factor ε?
Show the solution
- The dip. The passband dips to
- Set the dip to 0.5 dB.
- Solve for ε.
- What ε sets. ε then sets the stopband: beyond the edge the attenuation is
- More ripple. More ripple means a larger ε and a steeper fall for the same order.
Answer ε = 0.349.
Check
A Butterworth low-pass of order 4 (3 dB corner) is driven at 2 times its corner. How much does it attenuate?
Check
A Butterworth low-pass (3 dB corner) must be 50 dB down at 2 times its corner. What is the lowest order that works?
Check
What ε goes with 0.5 dB of loss at the passband edge?
Check
A Chebyshev low-pass with 0.5 dB of passband ripple must be 40 dB down at 5 times the passband edge. What order does it need?
Check
By how many dB per octave does an order-5 low-pass roll off far above its corner?
Check
How far above its 3 dB corner, as a ratio, is an order-3 Butterworth filter 40 dB down?
Check
A Chebyshev filter has 0.5 dB of ripple and order 3.
(a)
What's its ripple factor ε?
(b)
How far down is it at 2 times the ripple edge?
Check
A Chebyshev filter with r dB of ripple and order n, at x = f/f_p beyond its edge.
Step 1
What's ε?
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 , using arccosh x = ln(x + √(x² − 1))?
Step 3
What's its attenuation?
Explain why
Why does a filter's order grow so quickly as the transition band narrows?
Each pole adds 20 dB per decade of roll-off, so the attenuation reached at the stopband edge grows with the order times the logarithm of the edge ratio . When that ratio is large, a few poles cover a lot of decades and reach the target easily. As the ratio approaches 1, its logarithm shrinks toward zero, so the order needed to gain the same attenuation over that short span grows in inverse proportion. Halving the gap on a log scale roughly doubles the order, and with it the parts count and sensitivity of the filter.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.