C47 of 30
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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?

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

−20n dB per decade=−6n dB per octave

Cascading identical stages multiplies their responses: |H|=(1+(f/fc)2)−n/2. At fc that's −3n dB, so the passband droops early.

The Butterworth response is the flattest possible in the passband:

|H|=11+(f/fc)2n

It's exactly −3 dB at fc for any order, and almost perfectly flat below. Its poles lie evenly spaced on a semicircle of radius ωc in the left half of the s-plane; for n = 2 that's a single section with Q=0.707.

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 f with a Butterworth:

n≥log10⁡(10A/10−1)2log10⁡(f/fc)

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
  1. Order formula. n≥log10⁡(104−1)2log10⁡4=4.001.20=3.32
  2. Round up. The order is a whole number, so it's 4.
  3. Check. At four times the corner a fourth-order filter is 10log10⁡(1+48)=48.2dB 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 fc, at fc and at fc/2.

Show the solution
  1. RC cascade at fc. G=−3×3.01=−9.0dB
  2. RC cascade at fc/2. G=−3×10log10⁡1.25=−2.9dB
  3. Butterworth at fc. It gives −3.0 dB.
  4. Butterworth at fc/2. G=−10log10⁡(1+1/64)=−0.07dB

Answer the RC cascade gives −9.0 dB at fc and −2.9 dB at fc/2; 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
  1. Butterworth attenuation. A=10log⁡(1+x2n)
  2. Solve for n. Setting it to 60 dB at x = 10: n=log⁡(106−1)2log⁡10=3.0
  3. Check. A third-order filter gives exactly 60.0 dB there.
  4. 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.
  5. 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.

  1. Asteeper fall-off, with passband ripple
  2. Bflattest passband with no ripple
  3. Csimplest to build, with a drooping passband
  4. 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°.

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 θk=(2k−1)π2n from that axis, for odd n at θk=kπn with one real pole left over, which has no Q. A pair at angle θ has Q=12cos⁡θ.

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?

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.