Butterworth filter

From HandWiki
Short description: Type of signal processing filter
The frequency response plot from Butterworth's 1930 paper.[1]

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".[1]

Original paper

Butterworth had a reputation for solving very complex mathematical problems thought to be 'impossible'. 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 cutoff frequency was normalized to 1 radian per second and whose frequency response (gain) was

[math]\displaystyle{ G(\omega) = {\frac{1} \sqrt{1+{\omega}^{2n}}}, }[/math]

where [math]\displaystyle{ \omega }[/math] is the angular frequency in radians per second and [math]\displaystyle{ n }[/math] is the number of poles in the filter—equal to the number of reactive elements in a passive filter. If [math]\displaystyle{ \omega }[/math] = 1, the amplitude response of this type of filter in the passband is 1/2 ≈ 0.7071, which is half power or −3 dB. Butterworth only dealt with filters with an even number of poles in his paper. He may have been unaware that such filters could be designed with an odd number of poles. 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 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″ diameter and 3″ 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 Bode plot of a first-order Butterworth low-pass filter

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.[2] 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 [math]\displaystyle{ \omega }[/math], unlike other filter types that have non-monotonic ripple in the passband and/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:

[math]\displaystyle{ \frac{V_o(s)}{V_i(s)}=\frac{R_4}{s^3(L_1 C_2 L_3) + s^2(L_1 C_2 R_4) + s(L_1 + L_3) + R_4} }[/math]
A third-order low-pass filter (Cauer topology). The filter becomes a Butterworth filter with cutoff frequency [math]\displaystyle{ \omega_c }[/math]=1 when (for example) [math]\displaystyle{ C_2 }[/math]=4/3 F, [math]\displaystyle{ R_4 }[/math]=1 Ω, [math]\displaystyle{ L_1 }[/math]=3/2 H and [math]\displaystyle{ L_3 }[/math]=1/2 H.

A simple example of a Butterworth filter is the third-order low-pass design shown in the figure on the right, with [math]\displaystyle{ C_2 }[/math] = 4/3 F, [math]\displaystyle{ R_4 }[/math] = 1 Ω, [math]\displaystyle{ L_1 }[/math] = 3/2 H, and [math]\displaystyle{ L_3 }[/math] = 1/2 H.[3] Taking the impedance of the capacitors [math]\displaystyle{ C }[/math] to be [math]\displaystyle{ 1/(Cs) }[/math] and the impedance of the inductors [math]\displaystyle{ L }[/math] to be [math]\displaystyle{ Ls }[/math], where [math]\displaystyle{ s= \sigma + j\omega }[/math] is the complex frequency, the circuit equations yield the transfer function for this device:

[math]\displaystyle{ H(s)=\frac{V_o(s)}{V_i(s)}=\frac{1}{1+2s+2s^2+s^3}. }[/math]

The magnitude of the frequency response (gain) [math]\displaystyle{ G(\omega) }[/math] is given by

[math]\displaystyle{ G(\omega)=|H(j\omega)|=\frac{1}{\sqrt{1+\omega^6}}, }[/math]

obtained from

[math]\displaystyle{ G^2(\omega)=|H(j\omega)|^2=H(j\omega)\cdot H^*(j\omega)=\frac{1}{1+\omega^6}, }[/math]

and the phase is given by

[math]\displaystyle{ \Phi(\omega)=\arg(H(j\omega)).\! }[/math]
Gain and group delay of the third-order Butterworth filter with [math]\displaystyle{ \omega_c=1 }[/math]

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. It can be seen that there are no ripples in the gain curve in either the passband or the stop band.

The log of the absolute value of the transfer function [math]\displaystyle{ H(s) }[/math] 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.

Log density plot of the transfer function [math]\displaystyle{ H(s) }[/math] in complex frequency space for the third-order Butterworth filter with [math]\displaystyle{ \omega_c }[/math]=1. The three poles lie on a circle of unit radius in the left half-plane.

These are arranged on a circle of radius unity, symmetrical about the real [math]\displaystyle{ s }[/math] 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

Plot of the gain of Butterworth low-pass filters of orders 1 through 5, with cutoff frequency [math]\displaystyle{ \omega_0 = 1 }[/math]. Note that the slope is 20[math]\displaystyle{ n }[/math] dB/decade where [math]\displaystyle{ n }[/math] is the filter order.

Like all filters, the typical prototype is the low-pass filter, which can be modified into a high-pass filter, or placed in series with others to form band-pass and band-stop filters, and higher order versions of these.

The gain [math]\displaystyle{ G(\omega) }[/math] of an [math]\displaystyle{ n }[/math]th-order Butterworth low-pass filter is given in terms of the transfer function [math]\displaystyle{ H(s) }[/math] as

[math]\displaystyle{ G^2(\omega)=\left |H(j\omega)\right|^2 = \frac {{G_0}^2}{1+\left(\frac{j\omega}{j\omega_c}\right)^{2n}} }[/math]

where [math]\displaystyle{ n }[/math] is the order of filter, [math]\displaystyle{ \omega_c }[/math] is the cutoff frequency (approximately the −3 dB frequency), and [math]\displaystyle{ G_0 }[/math] is the DC gain (gain at zero frequency).

It can be seen that as [math]\displaystyle{ n }[/math] approaches infinity, the gain becomes a rectangle function and frequencies below [math]\displaystyle{ \omega_c }[/math] will be passed with gain [math]\displaystyle{ G_0 }[/math], while frequencies above [math]\displaystyle{ \omega_c }[/math] will be suppressed. For smaller values of [math]\displaystyle{ n }[/math], the cutoff will be less sharp.

We wish to determine the transfer function [math]\displaystyle{ H(s) }[/math] where [math]\displaystyle{ s=\sigma+j\omega }[/math] (from Laplace transform). Because [math]\displaystyle{ \left|H(s)\right|^2 = H(s)\overline{H(s)} }[/math] and, as a general property of Laplace transforms at [math]\displaystyle{ s=j\omega }[/math], [math]\displaystyle{ H(-j\omega) = \overline{H(j\omega)} }[/math], if we select [math]\displaystyle{ H(s) }[/math] such that:

[math]\displaystyle{ H(s)H(-s) = \frac {{G_0}^2}{1+\left (\frac{-s^2}{\omega_c^2}\right)^n}, }[/math]

then, with [math]\displaystyle{ s=j\omega }[/math], we have the frequency response of the Butterworth filter.

The [math]\displaystyle{ n }[/math] poles of this expression occur on a circle of radius [math]\displaystyle{ \omega_c }[/math] at equally-spaced points, and symmetric around the negative real axis. For stability, the transfer function, [math]\displaystyle{ H(s) }[/math], is therefore chosen such that it contains only the poles in the negative real half-plane of [math]\displaystyle{ s }[/math]. The [math]\displaystyle{ k }[/math]-th pole is specified by

[math]\displaystyle{ -\frac{s_k^2}{\omega_c^2} = (-1)^{\frac{1}{n}} = e^{\frac{j(2k-1)\pi}{n}} \qquad k = 1,2,3,\ldots, n }[/math]

and hence

[math]\displaystyle{ s_k = \omega_c e^{\frac{j(2k+n-1)\pi}{2n}}\qquad k = 1,2,3,\ldots, n. }[/math]

The transfer (or system) function may be written in terms of these poles as

[math]\displaystyle{ H(s)=G_0\prod_{k=1}^n \frac{\omega_c}{s-s_k}=G_0\prod_{k=1}^n \frac{\omega_c}{s-\omega_c e^{\frac{j(2k+n-1)\pi}{2n}}} }[/math].

where [math]\displaystyle{ \textstyle{\prod} }[/math] is the product of a sequence operator. The denominator is a Butterworth polynomial in [math]\displaystyle{ s }[/math].

Normalized Butterworth polynomials

The Butterworth polynomials may be written in complex form as above, but are usually written with real coefficients by multiplying pole pairs that are complex conjugates, such as [math]\displaystyle{ s_1 }[/math] and [math]\displaystyle{ s_n }[/math]. The polynomials are normalized by setting [math]\displaystyle{ \omega_c=1 }[/math]. The normalized Butterworth polynomials then have the general product form

[math]\displaystyle{ B_n(s)=\prod_{k=1}^{\frac{n}{2}} \left[s^2-2s\cos\left(\frac{2k+n-1}{2n}\,\pi\right)+1\right]\qquad n = \text{even} }[/math]
[math]\displaystyle{ B_n(s)=(s+1)\prod_{k=1}^{\frac{n-1}{2}} \left[s^2-2s\cos\left(\frac{2k+n-1}{2n}\,\pi\right)+1\right]\qquad n = \text{odd}. }[/math]

Factors of Butterworth polynomials of order 1 through 10 are shown in the following table (to six decimal places).

n Factors of Butterworth Polynomials [math]\displaystyle{ B_n(s) }[/math]
1 [math]\displaystyle{ (s+1) }[/math]
2 [math]\displaystyle{ (s^2+1.414214s+1) }[/math]
3 [math]\displaystyle{ (s+1)(s^2+s+1) }[/math]
4 [math]\displaystyle{ (s^2+0.765367s+1)(s^2+1.847759s+1) }[/math]
5 [math]\displaystyle{ (s+1)(s^2+0.618034s+1)(s^2+1.618034s+1) }[/math]
6 [math]\displaystyle{ (s^2+0.517638s+1)(s^2+1.414214s+1)(s^2+1.931852s+1) }[/math]
7 [math]\displaystyle{ (s+1)(s^2+0.445042s+1)(s^2+1.246980s+1)(s^2+1.801938s+1) }[/math]
8 [math]\displaystyle{ (s^2+0.390181s+1)(s^2+1.111140s+1)(s^2+1.662939s+1)(s^2+1.961571s+1) }[/math]
9 [math]\displaystyle{ (s+1)(s^2+0.347296s+1)(s^2+s+1)(s^2+1.532089s+1)(s^2+1.879385s+1) }[/math]
10 [math]\displaystyle{ (s^2+0.312869s+1)(s^2+0.907981s+1)(s^2+1.414214s+1)(s^2+1.782013s+1)(s^2+1.975377s+1) }[/math]

Factors of Butterworth polynomials of order 1 through 6 are shown in the following table (Exact).

n Factors of Butterworth Polynomials [math]\displaystyle{ B_n(s) }[/math]
1 [math]\displaystyle{ (s+1) }[/math]
2 [math]\displaystyle{ (s^{2}+\sqrt{2} s+1) }[/math]
3 [math]\displaystyle{ (s+1)(s^2+s+1) }[/math]
4 [math]\displaystyle{ (s^{2}+\sqrt{2-\sqrt{2} } s+1)(s^{2}+\sqrt{2+\sqrt{2} } s+1) }[/math]
5 [math]\displaystyle{ (s+1)(s^2+\varphi^{-1} s+1)(s^2+\varphi s+1) }[/math]
6 [math]\displaystyle{ (s^2+\sqrt{2-\sqrt{3} } s+1)(s^2+\sqrt{2} s+1)(s^2+\sqrt{2+\sqrt{3} } s+1) }[/math]

where the Greek letter phi ([math]\displaystyle{ \varphi }[/math] or [math]\displaystyle{ \phi }[/math]) represents the golden ratio. It is an irrational number that is a solution to the quadratic equation [math]\displaystyle{ x^2 - x - 1 = 0, }[/math] with a value of[4][5]

[math]\displaystyle{ \varphi = \frac{1+\sqrt5}{2} = 1.618033988749... }[/math](OEISA001622)

The [math]\displaystyle{ n }[/math]th Butterworth polynomial can also be written as a sum

[math]\displaystyle{ B_n(s)=\sum_{k=0}^n a_k s^k\,, }[/math]

with its coefficients [math]\displaystyle{ a_k }[/math] given by the recursion formula[6][7]

[math]\displaystyle{ \frac{a_{k+1}}{a_k}=\frac{\cos(k\gamma)}{\sin((k+1)\gamma)} }[/math]

and by the product formula

[math]\displaystyle{ a_k=\prod_{\mu=1}^k\frac{\cos((\mu-1)\gamma)}{\sin(\mu\gamma)}\,, }[/math]

where

[math]\displaystyle{ a_0=1\qquad \text{and}\qquad\gamma=\frac{\pi}{2n}\,. }[/math]

Further, [math]\displaystyle{ a_k=a_{n-k} }[/math]. The rounded coefficients [math]\displaystyle{ a_k }[/math] for the first 10 Butterworth polynomials [math]\displaystyle{ B_n(s) }[/math] are:

Butterworth Coefficients [math]\displaystyle{ a_k }[/math] to Four Decimal Places
[math]\displaystyle{ n }[/math] [math]\displaystyle{ a_0 }[/math] [math]\displaystyle{ a_1 }[/math] [math]\displaystyle{ a_2 }[/math] [math]\displaystyle{ a_3 }[/math] [math]\displaystyle{ a_4 }[/math] [math]\displaystyle{ a_5 }[/math] [math]\displaystyle{ a_6 }[/math] [math]\displaystyle{ a_7 }[/math] [math]\displaystyle{ a_8 }[/math] [math]\displaystyle{ a_9 }[/math] [math]\displaystyle{ a_{10} }[/math]
[math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 2 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 1.4142 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 3 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 2 }[/math] [math]\displaystyle{ 2 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 4 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 2.6131 }[/math] [math]\displaystyle{ 3.4142 }[/math] [math]\displaystyle{ 2.6131 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 5 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 3.2361 }[/math] [math]\displaystyle{ 5.2361 }[/math] [math]\displaystyle{ 5.2361 }[/math] [math]\displaystyle{ 3.2361 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 6 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 3.8637 }[/math] [math]\displaystyle{ 7.4641 }[/math] [math]\displaystyle{ 9.1416 }[/math] [math]\displaystyle{ 7.4641 }[/math] [math]\displaystyle{ 3.8637 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 7 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 4.4940 }[/math] [math]\displaystyle{ 10.0978 }[/math] [math]\displaystyle{ 14.5918 }[/math] [math]\displaystyle{ 14.5918 }[/math] [math]\displaystyle{ 10.0978 }[/math] [math]\displaystyle{ 4.4940 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 8 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 5.1258 }[/math] [math]\displaystyle{ 13.1371 }[/math] [math]\displaystyle{ 21.8462 }[/math] [math]\displaystyle{ 25.6884 }[/math] [math]\displaystyle{ 21.8462 }[/math] [math]\displaystyle{ 13.1371 }[/math] [math]\displaystyle{ 5.1258 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 9 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 5.7588 }[/math] [math]\displaystyle{ 16.5817 }[/math] [math]\displaystyle{ 31.1634 }[/math] [math]\displaystyle{ 41.9864 }[/math] [math]\displaystyle{ 41.9864 }[/math] [math]\displaystyle{ 31.1634 }[/math] [math]\displaystyle{ 16.5817 }[/math] [math]\displaystyle{ 5.7588 }[/math] [math]\displaystyle{ 1 }[/math]
[math]\displaystyle{ 10 }[/math] [math]\displaystyle{ 1 }[/math] [math]\displaystyle{ 6.3925 }[/math] [math]\displaystyle{ 20.4317 }[/math] [math]\displaystyle{ 42.8021 }[/math] [math]\displaystyle{ 64.8824 }[/math] [math]\displaystyle{ 74.2334 }[/math] [math]\displaystyle{ 64.8824 }[/math] [math]\displaystyle{ 42.8021 }[/math] [math]\displaystyle{ 20.4317 }[/math] [math]\displaystyle{ 6.3925 }[/math] [math]\displaystyle{ 1 }[/math]

The normalized Butterworth polynomials can be used to determine the transfer function for any low-pass filter cut-off frequency [math]\displaystyle{ \omega_c }[/math], as follows

[math]\displaystyle{ H(s) = \frac{G_0}{B_n(a)} }[/math] , where [math]\displaystyle{ a = \frac{s}{\omega_c}. }[/math]

Transformation to other bandforms are also possible, see prototype filter.

Maximal flatness

Assuming [math]\displaystyle{ \omega_c=1 }[/math] and [math]\displaystyle{ G_0=1 }[/math], the derivative of the gain with respect to frequency can be shown to be

[math]\displaystyle{ \frac{dG}{d\omega}=-nG^3\omega^{2n-1} }[/math]

which is monotonically decreasing for all [math]\displaystyle{ \omega }[/math] since the gain [math]\displaystyle{ G }[/math] is always positive. The gain function of the Butterworth filter therefore has no ripple. The series expansion of the gain is given by

[math]\displaystyle{ G(\omega)=1 - \frac{1}{2}\omega^{2n}+\frac{3}{8}\omega^{4n}+\ldots }[/math]

In other words, all derivatives of the gain up to but not including the 2[math]\displaystyle{ n }[/math]-th derivative are zero at [math]\displaystyle{ \omega=0 }[/math], resulting in "maximal flatness". If the requirement to be monotonic is limited to the passband only and ripples are allowed in the stopband, then it is possible to design a filter of the same order, such as the inverse Chebyshev filter, that is flatter in the passband than the "maximally flat" Butterworth.

High-frequency roll-off

Again assuming [math]\displaystyle{ \omega_c=1 }[/math], the slope of the log of the gain for large [math]\displaystyle{ \omega }[/math] is

[math]\displaystyle{ \lim_{\omega\rightarrow\infty}\frac{d\log(G)}{d\log(\omega)}=-n. }[/math]

In decibels, the high-frequency roll-off is therefore 20[math]\displaystyle{ n }[/math] dB/decade, or 6[math]\displaystyle{ n }[/math] dB/octave (the factor of 20 is used because the power is proportional to the square of the voltage gain; see 20 log rule.)

Nonstandard cutoff attenuation

The cutoff attenuation for Butterworth filters is usually defined to be −3.01 dB. If it is desired to use a different attenuation at the cutoff frequency, then the following factor may be applied to each pole, whereupon the poles will continue to lie on a circle, but the radius will no longer be unity. The cutoff attenuation equation may be easily derived through algebraic manipulation of the Butterworth defining equation stated at the top of the page.[8]

[math]\displaystyle{ \begin{align} p_A = p_1 \times (10^{-\alpha/10}-1)^{{-1}/{2n}} &\qquad \text{For 0} \geq \alpha \gt - \infty \end{align} }[/math]

where:

[math]\displaystyle{ p_A }[/math] is the relocated pole positioned to set the desired cutoff attenuation.

[math]\displaystyle{ p_1 }[/math] is a −3.01 dB cutoff pole that lies on the unit circle.

[math]\displaystyle{ \alpha }[/math] is the desired attenuation at the cutoff frequency in dB (−1 dB, −10 dB, etc.)

[math]\displaystyle{ n }[/math] is the number of poles (the order of the filter).

Filter implementation and design

There are several different filter topologies available to implement a linear analogue filter. The most often used topology for a passive realisation is the Cauer topology, and the most often used topology for an active realisation is the Sallen–Key topology.

Cauer topology

Butterworth filter using Cauer topology

The Cauer topology uses passive components (shunt capacitors and series inductors) to implement a linear analog filter. The Butterworth filter having a given transfer function can be realised using a Cauer 1-form. The k-th element is given by[9]

[math]\displaystyle{ C_k = 2 \sin \left [\frac {(2k-1)}{2n} \pi \right ]\qquad k = \text{odd} }[/math]
[math]\displaystyle{ L_k = 2 \sin \left [\frac {(2k-1)}{2n} \pi \right ]\qquad k = \text{even}. }[/math]

The filter may start with a series inductor if desired, in which case the Lk are k odd and the Ck are k even. These formulae may usefully be combined by making both Lk and Ck equal to gk. That is, gk is the immittance divided by s.

[math]\displaystyle{ g_k = 2 \sin \left [\frac {(2k-1)}{2n} \pi \right ]\qquad k = 1,2,3, \ldots, n. }[/math]

These formulae apply to a doubly terminated filter (that is, the source and load impedance are both equal to unity) with ωc = 1. This prototype filter can be scaled for other values of impedance and frequency. For a singly terminated filter (that is, one driven by an ideal voltage or current source) the element values are given by[3]

[math]\displaystyle{ g_j = \frac{a_j a_{j-1}}{c_{j-1} g_{j-1}}\qquad j = 2,3, \ldots, n }[/math]

where

[math]\displaystyle{ g_1 = a_1 }[/math]

and

[math]\displaystyle{ a_j = \sin \left [\frac {(2j-1)}{2n} \pi \right ]\qquad j = 1,2,3, \ldots, n }[/math]
[math]\displaystyle{ c_j = \cos^2 \left [\frac{j}{2n} \pi \right ]\qquad j = 1,2,3, \ldots, n. }[/math]

Voltage driven filters must start with a series element and current driven filters must start with a shunt element. These forms are useful in the design of diplexers and multiplexers.[3]

Sallen–Key topology

The Sallen–Key topology uses active and passive components (noninverting buffers, usually op amps, resistors, and capacitors) to implement a linear analog filter. Each Sallen–Key stage implements a conjugate pair of poles; the overall filter is implemented by cascading all stages in series. If there is a real pole (in the case where [math]\displaystyle{ n }[/math] is odd), this must be implemented separately, usually as an RC circuit, and cascaded with the active stages.

For the second-order Sallen–Key circuit shown to the right the transfer function is given by

[math]\displaystyle{ H(s) = \frac{V_\text{out}(s)}{V_\text{in}(s)} = \frac{1}{1 + C_2(R_1+R_2)s + C_1 C_2 R_1 R_2 s^2}. }[/math]

We wish the denominator to be one of the quadratic terms in a Butterworth polynomial. Assuming that [math]\displaystyle{ \omega_c = 1 }[/math], this will mean that

[math]\displaystyle{ C_1C_2R_1R_2=1\, }[/math]

and

[math]\displaystyle{ C_2(R_1+R_2)=-2\cos\left(\frac{2k+n-1}{2n} \pi\right). }[/math]

This leaves two undefined component values that may be chosen at will.

Butterworth lowpass filters with Sallen–Key topology of third and fourth order, using only one op amp, are described by Huelsman,[10][11] and further single-amplifier Butterworth filters also of higher order are given by Jurišić et al.[12]

Digital implementation

Digital implementations of Butterworth and other filters are often based on the bilinear transform method or the matched Z-transform method, two different methods to discretize an analog filter design. In the case of all-pole filters such as the Butterworth, the matched Z-transform method is equivalent to the impulse invariance method. For higher orders, digital filters are sensitive to quantization errors, so they are often calculated as cascaded biquad sections, plus one first-order or third-order section for odd orders.

Comparison with other linear filters

Properties of the Butterworth filter are:

Here is an image showing the gain of a discrete-time Butterworth filter next to other common filter types. All of these filters are fifth-order.

Filters order5.svg

The Butterworth filter rolls off more slowly around the cutoff frequency than the Chebyshev filter or the Elliptic filter, but without ripple.

See also

References

  1. 1.0 1.1 Butterworth, S. (1930). "On the Theory of Filter Amplifiers". Experimental Wireless and the Wireless Engineer 7: 536–541. https://www.changpuak.ch/electronics/downloads/On_the_Theory_of_Filter_Amplifiers.pdf. 
  2. Bianchi, Giovanni; Sorrentino, Roberto (2007). Electronic filter simulation & design. McGraw-Hill Professional. pp. 17–20. ISBN 978-0-07-149467-0. https://books.google.com/books?id=5S3LCIxnYCcC&q=Butterworth-approximation+maximally-flat&pg=PT32. 
  3. 3.0 3.1 3.2 Matthaei, George L.; Young, Leo; Jones, E. M. T. (1964). Microwave Filters, Impedance-Matching Networks, and Coupling Structures. McGraw-Hill. pp. 104–107, 105, and 974. 
  4. Weisstein, Eric W.. "Golden Ratio" (in en). https://mathworld.wolfram.com/GoldenRatio.html. 
  5. OEISA001622
  6. Bosse, G. (1951). "Siebketten ohne Dämpfungsschwankungen im Durchlaßbereich (Potenzketten)". Frequenz 5 (10): 279–284. doi:10.1515/FREQ.1951.5.10.279. Bibcode1951Freq....5..279B. 
  7. Weinberg, Louis (1962). Network analysis and synthesis. Malabar, Florida: Robert E. Krieger Publishing Company, Inc. (published 1975). pp. 494–496. ISBN 0-88275-321-5. https://hdl.handle.net/2027/mdp.39015000986086. Retrieved 2022-06-18. 
  8. Butterworth filter
  9. William R. Bennett, "Transmission Network", US patent 1849656, published March 15, 1932
  10. Huelsman, L. P. (May 1971). "Equal-valued-capacitor active-RC-network realisation of a 3rd-order lowpass Butterworth characteristic". Electronics Letters 7 (10): 271–272. doi:10.1049/el:19710185. Bibcode1971ElL.....7..271H. 
  11. Huelsman, L. P. (December 1974). "An equal-valued capacitor active RC network realization of a fourth-order low-pass Butterworth characteristic". Proceedings of the IEEE 62 (12): 1709. doi:10.1109/PROC.1974.9689. 
  12. Jurišić, Dražen; Moschytz, George S.; Mijat, Neven (2008). "Low-sensitivity, single-amplifier, active-RC allpole filters using tables". Automatika 49 (3–4): 159–173.