ArticleslgStudy

computer science

Butterworth filter

Butterworth filter is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Butterworth filter rather than just read about it. In short: The Butterworth filter is a type of signal processing filter designed to have a frequency response that is as flat as possible in the passband. It is also referred to as a maximally flat magnitude filter.

Butterworth filter — main illustration
Butterworth filter — illustration

Key takeaways

  • Butterworth filter belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Butterworth filter to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Butterworth filter from memory before moving on to harder problems.

Reference excerpt

The Butterworth filter is a type of signal processing filter designed to have a frequency response that is as flat as possible in the passband. It is also referred to as a maximally flat magnitude filter. It was first described in 1930 by the British engineer and physicist Stephen Butterworth in his paper entitled "On the Theory of Filter Amplifiers".

Original paper

At the time, filter design required a considerable amount of designer experience due to limitations of the theory then in use. The filter was not in common use for over 30 years after its publication. Butterworth stated that: "An ideal electrical filter should not only completely reject the unwanted frequencies but should also have uniform sensitivity for the wanted frequencies". Such an ideal filter cannot be achieved, but Butterworth showed that successively closer approximations were obtained with increasing numbers of filter elements of the right values. At the time, filters generated substantial ripple in the passband, and the choice of component values was highly interactive. Butterworth showed that a low-pass filter could be designed whose gain as a function of frequency (i.e., the magnitude of its frequency response) is:

G(ω)=11+ω2n, where ω is the angular frequency in radians per second and n is the number of poles in the filter—equal to the number of reactive elements in a passive filter. Its cutoff frequency (the half-power point of approximately −3 dB or a voltage gain of 1/√2 ≈ 0.7071) is normalized to 𝜔 = 1 radian per second. Butterworth only dealt with filters with an even number of poles in his paper, though odd-order filters can be created with the addition of a single-pole filter applied to the output of the even-order filter. He built his higher-order filters from 2-pole filters separated by vacuum tube amplifiers. His plot of the frequency response of 2-, 4-, 6-, 8-, and 10-pole filters is shown as A, B, C, D, and E, respectively, in his original graph. Butterworth solved the equations for two-pole and four-pole filters, showing how the latter could be cascaded when separated by vacuum tube amplifiers and so enabling the construction of higher-order filters despite inductor losses. In 1930, low-loss core materials such as molypermalloy had not been discovered and air-cored audio inductors were rather lossy. Butterworth discovered that it was possible to adjust the component values of the filter to compensate for the winding resistance of the inductors. He used coil forms of 1.25 inches (32 mm) in diameter and 3 inches (76 mm) in length with plug-in terminals. Associated capacitors and resistors were contained inside the wound coil form. The coil formed part of the plate load resistor. Two poles were used per vacuum tube and RC coupling was used to the grid of the following tube. Butterworth also showed that the basic low-pass filter could be modified to give low-pass, high-pass, band-pass and band-stop functionality.

Overview

The frequency response of the Butterworth filter is maximally flat (i.e., has no ripples) in the passband and rolls off towards zero in the stopband. When viewed on a logarithmic Bode plot, the response slopes off linearly towards negative infinity. A first-order filter's response rolls off at −6 dB per octave (−20 dB per decade) (all first-order lowpass filters have the same normalized frequency response). A second-order filter decreases at −12 dB per octave, a third-order at −18 dB and so on. Butterworth filters have a monotonically changing magnitude function with ω, unlike other filter types that have non-monotonic ripple in the passband or the stopband. Compared with a Chebyshev Type I/Type II filter or an elliptic filter, the Butterworth filter has a slower roll-off, and thus will require a higher order to implement a particular stopband specification, but Butterworth filters have a more linear phase response in the passband than Chebyshev Type I/Type II and elliptic filters can achieve.

Example A transfer function of a third-order low-pass Butterworth filter design shown in the figure on the right looks like this:

Vo(s)Vi(s)=R4s3(L1C2L3)+s2(L1C2R4)+s(L1+L3)+R4

A simple example of a Butterworth filter is the third-order low-pass design shown in the figure on the right, with C2 = 4/3 F, R4 = 1 Ω, L1 = 3/2 H, and L3 = 1/2 H. Taking the impedance of the capacitors C to be 1/(Cs) and the impedance of the inductors L to be Ls, where s=σ+jω is the complex frequency, the circuit equations yield the transfer function for this device:

H(s)=Vo(s)Vi(s)=11+2s+2s2+s3. The magnitude of the frequency response (gain) G(ω) is given by

G(ω)=|H(jω)|=11+ω6, obtained from

G2(ω)=|H(jω)|2=H(jω)⋅H∗(jω)=11+ω6, and the phase is given by

Φ(ω)=arg⁡(H(jω)).

The group delay is defined as the negative derivative of the phase shift with respect to angular frequency and is a measure of the distortion in the signal introduced by phase differences for different frequencies. The gain and the delay for this filter are plotted in the graph on the left. There are no ripples in the gain curve in either the passband or the stopband. The log of the absolute value of the transfer function H(s) is plotted in complex frequency space in the second graph on the right. The function is defined by the three poles in the left half of the complex frequency plane.

These are arranged on a circle of radius unity, symmetrical about the real s axis. The gain function will have three more poles on the right half-plane to complete the circle. By replacing each inductor with a capacitor and each capacitor with an inductor, a high-pass Butterworth filter is obtained. A band-pass Butterworth filter is obtained by placing a capacitor in series with each inductor and an inductor in parallel with each capacitor to form resonant circuits. The value of each new component must be selected to resonate with the old component at the frequency of interest. A band-stop Butterworth filter is obtained by placing a capacitor in parallel with each inductor and an inductor in series with each capacitor to form resonant circuits. The value of each new component must be selected to resonate with the old component at the frequency that is to be rejected.

Transfer function

… excerpt ends here. Continue reading the full article.

Illustrations

Butterworth filter: The frequency response plot from Butterworth's 1930 paper.[1]
The frequency response plot from Butterworth's 1930 paper.[1]
Butterworth filter: The Bode plot of a first-order low-pass filter
The Bode plot of a first-order low-pass filter
Butterworth filter: A third-order low-pass filter (Cauer topology). The filter becomes a Butterworth filter with cutoff frequency ωc=1 when (for example) C2=4/3 F, R4=1 Ω, L1=3/2 H and L3=1/2 H.
A third-order low-pass filter (Cauer topology). The filter becomes a Butterworth filter with cutoff frequency ωc=1 when (for example) C2=4/3 F, R4=1 Ω, L1=3/2 H and L3=1/2 H.
Butterworth filter: Gain and group delay of the third-order Butterworth filter with ωc=1
Gain and group delay of the third-order Butterworth filter with ωc=1
Butterworth filter: Log density plot of the transfer function H(s) in complex frequency space for the third-order Butterworth filter with ωc=1. The three poles lie on a circle of unit radius in the left half-plane.
Log density plot of the transfer function H(s) in complex frequency space for the third-order Butterworth filter with ωc=1. The three poles lie on a circle of unit radius in the left half-plane.

Worked examples

Example 1 — a first encounter with Butterworth filter

Start with the simplest possible case. Write down what Butterworth filter claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Butterworth filter before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Butterworth filter ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Butterworth filter

In research
Butterworth filter appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Butterworth filter in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Butterworth filter is common in secondary-school and first-year university syllabi. It links to neighbouring topics Electronic design, Linear filters, Network synthesis filters, so understanding it makes those chapters shorter.
In everyday life
Look for Butterworth filter outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Butterworth filter” →

How to study Butterworth filter in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Butterworth filter means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Butterworth filter out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Butterworth filter in simple terms?

The Butterworth filter is a type of signal processing filter designed to have a frequency response that is as flat as possible in the passband. It is also referred to as a maximally flat magnitude filter.

Why does Butterworth filter matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Butterworth filter?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Butterworth filter.

Tags

  • Electronic design
  • Linear filters
  • Network synthesis filters

Keep exploring