Skip to content
Tutorials Center
My learning

Topics

Lesson 21 of 38 ยท Filters: IIR

Chebyshev and Elliptic Filters

Compare Butterworth, Chebyshev I and II, elliptic and Bessel IIR filters. Learn how ripple buys a sharper cutoff and how to pick the right family with SciPy.

A Butterworth filter has no ripple, but its transition from passband to stopband is gentle. If you accept some ripple in the passband, the stopband, or both, you can get a much steeper cutoff for the same order. That trade is the idea behind the Chebyshev and elliptic families. A fourth family, Bessel, goes the other direction: it gives up sharpness to preserve the waveform shape. This lesson compares them with numbers.

The four families at a glance

Choose by what you value

Butterworth Flat passband, gentle slope
Chebyshev I Passband ripple, steep slope
Chebyshev II Flat passband, stopband ripple
Elliptic Ripple in both, steepest slope

For a given order, elliptic is the sharpest.

1 / 2
  • Chebyshev type I (cheby1): ripple allowed in the passband, monotonic in the stopband.
  • Chebyshev type II (cheby2): monotonic passband, equiripple stopband. You specify the stopband attenuation instead of the passband ripple.
  • Elliptic (ellip, also called Cauer): equiripple in both bands. It meets a specification with the lowest order of all four.
  • Bessel (bessel): maximally flat group delay, so signals within the passband keep their shape. The roll-off is the slowest.

Same order, different sharpness

Let us design four 4th-order low-pass filters with a 1 kHz cutoff at 8 kHz sampling, then look at the attenuation at 1.5 kHz.

Python Four families, order 4

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Read the table column by column. At 1500 Hz the elliptic filter has already fallen far below the Butterworth. Chebyshev I falls faster than Butterworth but has 1 dB of passband ripple. Bessel is the slowest. Note that the cutoff definitions differ: for cheby1 and ellip the edge is where the ripple band ends; for cheby2 the edge is where the stopband begins; bessel is normalized so that its -3 dB point is near the cutoff with norm="mag".

Group delay: why Bessel exists

A filter delays each frequency by its group delay. If the delay is the same across the passband, the waveform is merely shifted. If the delay varies, shapes smear and ring. Sharp filters have strongly varying delay near the cutoff.

Python Group delay near the cutoff

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The Bessel delay is almost flat, about the same number of samples at every frequency; the elliptic delay swells near the edge. For audio crossovers and data pulses this matters more than a few extra dB of attenuation.

Comparing order requirements

Each family has an ord helper: buttord, cheb1ord, cheb2ord, ellipord. Give them the same specification and see how the minimum order differs.

Python Minimum order for one specification

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The elliptic order is usually less than half the Butterworth order. In a real-time system that is a direct saving in multiplications.

Practical guidance

  • Default: Butterworth when you simply want a clean low-pass and the specification is relaxed.
  • Tight transition band: elliptic, if ripple of a fraction of a dB is acceptable. Check the phase.
  • Measurement and anti-alias filters: Chebyshev II or elliptic are common because a flat passband with a deep stopband is what the application needs.
  • Pulses, control, audio crossovers: Bessel (or an FIR with linear phase from the FIR chapter).
  • Higher orders: design in second-order sections, as shown in stability and second-order sections.

Whatever the family, always verify the final filter with freqz or sosfreqz. Specifications are easy to mix up (passband edge versus -3 dB point), and a quick plot or table catches it.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which family meets a given specification with the lowest order?

    Elliptic filters allow ripple in both passband and stopband and therefore achieve the steepest transition for a given order.
  2. 2. What does a Chebyshev type II filter have?

    Type II is flat in the passband and equiripple in the stopband, the inverse of type I.
  3. 3. Why choose a Bessel filter?

    Bessel filters are designed for flat group delay in the passband, at the cost of a slow roll-off.
  4. 4. What is group delay?

    Group delay is the negative derivative of phase with respect to frequency; it tells how long a narrowband group of frequencies is delayed.

Summary

  • Butterworth is flat but gentle; Chebyshev I and II and elliptic trade ripple for steeper slopes.
  • Elliptic gives the lowest order for a specification; Bessel preserves waveform shape with flat group delay.
  • Use buttord, cheb1ord, cheb2ord and ellipord to compare required orders.
  • Always check magnitude and group delay for your application, not just the cutoff.

Next: Second-Order Sections and Stability