Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 20

Filter Design Trade-offs

Recommended resources

Hello! Welcome back to our journey through analog filter design.

In the past few lessons, you've done the deep mathematical work to derive the three major families of analog filters:

  • Butterworth: The "maximally flat" filter, prized for its smooth passband.
  • Chebyshev: The "equiripple" filter, which sacrifices passband (Type I) or stopband (Type II) flatness for a steeper roll-off.
  • Elliptic (Cauer): The "optimal" filter, which allows ripple in both bands to achieve the sharpest possible transition for a given complexity.

Now, we shift from derivation to application. In engineering, design is always a game of trade-offs. You can't have everything, so you must choose what's most important for your specific problem. Today's lesson is about understanding this game. Our goal is to analyze the trade-offs between filter order, transition bandwidth, and passband/stopband ripple for different filter types.

By the end of this lesson, you will have a clear framework for comparing these filter approximations and making informed decisions about which to use in a given scenario.

1. The Language of Trade-Offs: Defining Filter Specifications

Before we can compare filters, we need a precise vocabulary to describe their performance. A practical filter's response is defined by a few key parameters. Let's formalize them.

CHAPTER 8 ANALOG FILTERS

The following document from Analog Devices provides a concise and practical definition of the five key parameters that characterize a real-world filter. Understanding these is fundamental to specifying and comparing filter performance.

Please read the section 'INTRODUCTION' up to and including the paragraph that starts 'Typically, one or more of the above parameters...'. Focus on Figure 8.2 and the definitions of the five parameters listed there.

As you just read, the primary specifications we are concerned with are:

  • Passband Ripple (): The maximum permissible gain variation in the passband, usually specified in dB. A value of 0 dB implies a flat passband.
  • Cutoff Frequency ( or ): The edge of the passband. For ripple filters, this is the frequency where the response last leaves the boundary.
  • Stopband Frequency ( or ): The start of the stopband, where the required minimum attenuation is met.
  • Minimum Stopband Attenuation (): The minimum amount of signal reduction required for all frequencies beyond .
  • Filter Order (N): The number of poles in the filter's transfer function. This is our primary measure of a filter's complexity and cost. A higher order means a more complex circuit and, as we'll see, a steeper potential roll-off.

The frequency range between and is the transition band. The fundamental trade-off in filter design is this: for a given filter order , a narrower transition band (a "sharper" filter) must be paid for with more ripple.


2. A Tour of the Trade-Offs

Let's take a tour of our filter families, keeping these parameters in mind. The following video provides an excellent visual and conceptual overview of how these filter approximations compare.

Filter Approximations: Overview of Butterworth, Chebyshev, Elliptic and Bessel Filter Approximation

This video gives a comprehensive overview of the different filter approximations. It starts by contrasting an ideal filter with what is practically achievable and then walks through the characteristics of Butterworth, Chebyshev, Elliptic, and Bessel filters.

Please watch the video from the beginning up to 06:45, and then from 07:46 to 09:28. Pay close attention to the descriptions of the passband and stopband for each filter type and the final comparison of their roll-off rates.

Let's consolidate what you've just seen.

Comparison of 5th-order low-pass filters. Each line represents a different filter type, all of the same order. This plot vividly illustrates the core trade-off: to get a steeper transition (like the Elliptic filter), you must accept ripple in the passband and/or stopband.

This image perfectly encapsulates the hierarchy of performance:

  1. Butterworth (Green): Maximally flat passband and monotonic stopband. It's smooth, but its roll-off is the slowest of the group for a given order. It "pays" for its smoothness with a wide transition band.

  2. Chebyshev Type I (Blue): Introduces ripple in the passband. In return, it achieves a significantly faster roll-off and narrower transition band than the Butterworth filter of the same order.

  3. Chebyshev Type II (Red): Also called the "Inverse Chebyshev." It keeps the passband flat (like Butterworth) but introduces ripple in the stopband (by placing zeros on the -axis). This also provides a steeper roll-off than Butterworth.

  4. Elliptic / Cauer (Magenta): The most aggressive filter. It allows ripple in both the passband and stopband. This "pays" for the sharpest possible transition band of any filter for a given order .

From this, a clear rule emerges: For a fixed filter order, sharpness of transition is "bought" by introducing ripple.


3. Order vs. Transition Width: A Quantitative Look

We can also view the trade-off from another angle. Instead of fixing the order, let's fix the specifications. Suppose you need a filter with a specific passband ripple, stopband attenuation, and transition width. Which filter type will give you the lowest order (i.e., the simplest circuit)?

The answer is always the Elliptic filter. The Chebyshev will require a higher order, and the Butterworth the highest of all.

Comparison of Butterworth Filter and Chebyshev Filter - Analog Filter Design - DTSP - DSP

This short video provides the formulas for calculating the required filter order (n) for Butterworth and Chebyshev filters based on the same specifications. It makes the trade-off explicit.

Please watch from 02:31 to 04:06. Notice how the formulas for the order 'n' are different. The key takeaway is in the final summary: for the same specifications, the Chebyshev filter results in a lower order.

The video confirms that for the same specifications (), a Chebyshev filter will require a lower order than a Butterworth filter. An Elliptic filter would require an even lower order still.

This illustrates the second key rule: For fixed performance specifications, passband/stopband ripple "buys" a lower filter order (less complexity).

*This plot demonstrates the three-way trade-off for FIR filters, but the principle is identical for IIR filters. Filter Length (L) is analogous to Order (N).

  1. Orange vs. Teal: For a fixed transition bandwidth (0.1), increasing the order (from L=21 to L=42) drastically reduces the passband ripple.
  2. Orange vs. Beige: For a fixed order (L=21), widening the transition band (from 0.1 to 0.2) also drastically reduces the ripple.*

4. The Hidden Trade-Off: Transient and Phase Response

So far, our analysis has been entirely in the frequency domain. However, your background in control systems and signal processing tells you that there's no such thing as a free lunch. Aggressive manipulation of the magnitude response almost always has consequences for the phase response, which in turn affects the time-domain behavior of the filter.

A key concept is group delay, defined as , where is the filter's phase response. For a signal to pass through a filter without its waveform being distorted, the group delay should be constant (i.e., the phase should be linear with frequency).

  • Bessel Filter: As mentioned in the video LINK, there is another filter type called the Bessel-Thomson filter. Its design goal is not a sharp magnitude response, but rather a maximally flat group delay. It prioritizes a linear phase response.
  • The Consequence: A filter with good phase response (like Bessel) has excellent transient response—it will pass a square wave with minimal overshoot and ringing. However, it has the slowest roll-off of all filter types.
  • The Spectrum: At the other extreme, the Elliptic filter has the sharpest magnitude response but the most non-linear phase, leading to significant ringing and overshoot in its step response.

The following resource provides a powerful visualization of this trade-off.

CHAPTER 8 ANALOG FILTERS

This section of the Analog Devices chapter directly compares the amplitude and transient responses of Bessel, Butterworth, and Chebyshev filters of the same order. It's a perfect illustration of the frequency-domain vs. time-domain trade-off.

Please read the section 'Comparison of All-Pole Responses' (page 8.25). Pay close attention to Figure 8.13 (amplitude response) and Figure 8.14 (step and impulse responses).

The figures you just examined show this clearly:

  • Moving from Bessel -> Butterworth -> Chebyshev, the amplitude discrimination improves (the filter gets sharper).
  • Simultaneously, the transient behavior gets progressively poorer (more overshoot and ringing).

This adds the third, crucial dimension to our analysis.


5. How to Choose a Filter: A Practical Guide

Given these trade-offs, how do you choose the right filter for an application? It depends on what you prioritize.

Priority First Choice Rationale Common Applications
Excellent Time-Domain Fidelity Bessel Maximally flat group delay preserves signal waveforms with minimal distortion. Video signal processing, data transmission, crossover networks in high-fidelity speakers.
Passband Flatness (No Ripple) Butterworth Good compromise between a reasonably sharp roll-off and good transient response. No passband distortion. General-purpose filtering, high-quality audio processing.
Steep Roll-Off (at low order) Chebyshev Type I Steeper roll-off than Butterworth for the same order. Tolerates passband ripple for efficiency. General-purpose filtering where some passband gain variation is acceptable.
Steep Roll-Off & Flat Passband Chebyshev Type II Steeper than Butterworth with a flat passband, but has non-monotonic stopband attenuation. Applications where stopband nulls are not an issue.
Absolute Steepest Roll-Off Elliptic (Cauer) The most "efficient" filter for meeting magnitude specifications. Achieves the narrowest transition band for a given order. Anti-aliasing filters (where you must kill signals just before the Nyquist frequency), telecommunications.
Test your understanding!

You are designing an anti-aliasing filter for a 12-bit ADC that samples at 100 kHz. The signal of interest is up to 20 kHz. You need to attenuate frequencies at and above the Nyquist frequency (50 kHz) by at least 80 dB to prevent aliasing. The filter's complexity (and thus cost) is a major constraint. Which filter type would you start with and why?

Show answer

The Elliptic (Cauer) filter is the best starting point.

Reasoning:

  1. Steep Transition Required: The transition band is from 20 kHz (passband edge) to 50 kHz (stopband edge). This is a relatively narrow region.
  2. High Attenuation: 80 dB is a significant attenuation requirement.
  3. Cost/Complexity is Key: The prompt states that complexity is a major constraint. To meet the steep transition and high attenuation requirements with the lowest possible filter order (i.e., lowest complexity), the Elliptic filter is the mathematically optimal choice.

While an Elliptic filter has poor phase response, for a typical data acquisition anti-aliasing application, the magnitude response is far more critical than preserving the signal's waveform in the time domain.



Conclusion

Today, we've synthesized everything you've learned about the major analog filter approximations into a practical framework of engineering trade-offs. You are no longer just deriving formulas; you are now equipped to make design decisions.

Key Takeaways:

  • Filter design is a multi-dimensional optimization problem governed by trade-offs between order (complexity), transition bandwidth (sharpness), ripple (flatness), and transient response (phase linearity).
  • For a fixed order, increasing sharpness requires introducing ripple (Butterworth -> Chebyshev -> Elliptic).
  • For fixed specifications, introducing ripple allows for a lower, more efficient filter order.
  • Improving magnitude response sharpness (e.g., Elliptic filter) almost always degrades time-domain transient response, while prioritizing transient response (e.g., Bessel filter) results in a less sharp magnitude response.

Preview of the Next Lesson:
All of our derivations have focused on low-pass "prototype" filters. What if you need a high-pass, band-pass, or band-stop filter? Fortunately, we don't need to start from scratch. In the next lesson, you will learn how to apply frequency transformations to convert a low-pass prototype to any other filter configuration, greatly expanding the utility of the design principles you've just mastered.