Skip to main content

Welcome to a Grasp lesson

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

Lesson 17

Butterworth Filter: Derivation and Maximally Flat Response

Recommended resources

Hello! Welcome back to our module on analog filter design.

In the previous lesson, we surveyed the historical landscape of filter approximation theory. We learned that the "approximation problem"—finding a realizable transfer function that mimics an ideal filter—was tackled with different philosophies, leading to the Butterworth, Chebyshev, and Cauer filter families. You saw that each represents a different trade-off between passband flatness, transition steepness, and stopband attenuation.

Today, we'll begin our deep dive into the first of these great designs. Our goal is to derive the Butterworth filter approximation and analyze its maximally flat magnitude response property. This lesson will connect Stephen Butterworth's elegant design philosophy to the underlying mathematics of poles and polynomials, giving you a complete picture of how this fundamental filter is constructed.

1. The Butterworth Magnitude Response

As we discussed, Stephen Butterworth's goal was a filter with a frequency response that was as flat as possible in the passband. He stated that "an ideal electrical filter should not only completely reject the unwanted frequencies but should also have uniform sensitivity for the wanted frequencies." The approximation he developed mathematically formalizes this concept.

The magnitude squared of the frequency response for an Nth-order low-pass Butterworth filter is defined as:

Let's break down these parameters:

  • is the DC gain (the gain at ). We will assume for simplicity in our derivations.
  • is the cutoff frequency. This is the frequency at which the magnitude is attenuated by a factor of , or -3 dB, regardless of the filter order.
  • is the order of the filter. As increases, the filter's response gets closer to an ideal "brick-wall" filter.

To get a feel for this response, let's watch a short video.

Butterworth filter magnitude response

The video 'Butterworth filter magnitude response' provides a clear, quick introduction to the filter's characteristic equation and how its response changes with frequency and filter order.

Please watch the video from the beginning to 2:22. Pay attention to three key points: the response at DC (ω=0), the response at the cutoff frequency (ω=ωc), and how the curve becomes steeper as the order N increases.

As the video illustrates, for any order :

  • At , , so the DC gain is unity.
  • At , . The magnitude is , which corresponds to the -3 dB point.
  • As , . The response rolls off towards zero.

The image below summarizes this behavior for various filter orders, showing the response on both linear and logarithmic (decibel) scales.

Butterworth Filter Amplitude Response and Formula
The amplitude response of a Butterworth low-pass filter for various orders (N). Note that the passband becomes flatter and the transition to the stopband becomes steeper as N increases. All curves pass through the -3 dB point at the cutoff frequency ωc.

2. Deriving the Butterworth Transfer Function, H(s)

Now for the central task: how do we get from the magnitude response to a realizable transfer function that we can build as a circuit? This involves moving from the frequency domain () to the complex frequency domain () and is a beautiful application of complex analysis.

The derivation involves three main steps:

  1. Relate the magnitude-squared response to a function in the s-plane, .
  2. Find the poles of this combined function, .
  3. Select the poles that correspond to a stable filter to construct .

The following reading provides the complete mathematical details for this derivation.

Butterworth filter

The Wikipedia article 'Butterworth filter' contains an excellent and concise derivation of the transfer function. We will walk through it step-by-step.

Please read the section titled 'Transfer function'. Focus on how the expression for |G(jω)|² is converted into an expression for H(s)H(-s), and how the poles are found by solving for the roots of the denominator.

Let's consolidate and explain the key steps from that reading.

Step 1: From to

From your study of Laplace transforms, you know that for a stable system with a real impulse response, the magnitude-squared frequency response is given by:

We can use this to move from the frequency domain to the s-domain. Let's start with our normalized Butterworth response ():

To find , we substitute . This gives:

Step 2: Finding the Poles

The poles of are the roots of the denominator polynomial, i.e., the values of for which:

This looks a bit complicated. A more direct way is to note that . The roots of in the complex plane are for any integer .
So, we are looking for such that:

Taking the -th root of both sides gives:


These poles are all located on a circle of radius 1 in the s-plane, spaced at equal angles. For a general cutoff frequency , the poles lie on a circle of radius .

Step 3: Selecting the Stable Poles

For a filter to be stable and causal, all of its poles must lie in the left half of the s-plane (LHP), where the real part is negative.

The poles we found for are symmetrically distributed about the imaginary axis. For every pole in the LHP, there is a corresponding pole in the right-half plane (RHP). The poles in the LHP belong to , and the poles in the RHP belong to .

Therefore, to construct our stable filter , we simply select the poles from the set that have a negative real part. The following video provides a great visual explanation of this process.

Lecture 24, Butterworth Filters | MIT RES.6.007 Signals and Systems, Spring 2011

This lecture from MIT OpenCourseWare clearly explains the process of finding the poles of H(s)H(-s) and selecting the left-half-plane poles to create a stable system.

Watch the segment from 3:29 to 8:16. The lecturer illustrates the pole locations for an N=3 Butterworth filter and explains why we must choose the poles in the left-half plane for our filter H(s).

Once we have identified the stable poles , we can write the transfer function as the product of their factors:

The numerator is 1 to ensure the DC gain is 1. The denominator is known as a Butterworth polynomial.

Test your understanding!

Let's apply this. For a 2nd-order () normalized () Butterworth filter:

  1. Find the poles of . The pole locations are given by for .
  2. Identify the two poles that lie in the left-half plane.
  3. Write the transfer function .
Show answer
  1. Find the 4 poles:

    • For k=0:
    • For k=1:
    • For k=2:
    • For k=3:
  2. Identify LHP poles:
    The poles with a negative real part are and . These form a complex conjugate pair.

  3. Write H(s):


    Using :


    This is the transfer function for a normalized 2nd-order Butterworth filter.


3. The "Maximally Flat" Property Explained

We've now derived the filter, but why is it called "maximally flat"? Let's analyze this property formally, as it's the defining feature of the Butterworth approximation.

Butterworth filter

The 'Maximal flatness' section of the Wikipedia article provides a concise mathematical justification for this property using a series expansion.

Read this short section. Focus on the series expansion of the gain function G(ω) and what it implies about its derivatives at ω=0.

As the reading shows, the "maximally flat" property can be seen by performing a Maclaurin series expansion of the magnitude-squared function around . Let's use the normalized response again:

The general form of a Maclaurin series for is . In our case, and .

The key insight here is that the lowest power of in the series after the constant term is .

A function's k-th derivative at zero is non-zero only if its Maclaurin series contains an term (or can be related to it). Since all terms between and are missing, it means that the first derivatives of with respect to are zero at :

This is the mathematical definition of being maximally flat. For a given filter order , the Butterworth response is the "flattest" possible function near DC that can be realized by a polynomial of that order. It hugs the value 1 as closely as possible before it starts to roll off.



Conclusion

In this lesson, we moved from the concept of a "maximally flat" filter to its complete mathematical description. You now understand not only what a Butterworth filter is, but how to derive it from first principles.

Key Takeaways:

  • The Butterworth filter's magnitude-squared response is given by , which is defined by its order and cutoff frequency .
  • The transfer function is derived by finding the poles of , which lie on a circle in the s-plane, and then selecting the poles in the left-half plane to ensure stability.
  • The "maximally flat" property is a direct consequence of the mathematical form of the response. The first derivatives of the magnitude-squared response are zero at , making the passband extremely flat near DC.

Preview of the Next Lesson:
We have now mastered the maximally flat approach. But what if we're willing to sacrifice this perfect passband flatness for a faster roll-off? In our next lesson, we will derive the Chebyshev Type I filter approximation and analyze its equiripple properties. This will introduce a new set of trade-offs and a powerful new class of polynomials to our filter design toolkit.