Definitions

# Butterworth filter

The Butterworth filter is one type of electronic filter design. It is designed to have a frequency response which is as flat as mathematically possible in the passband. Another name for them is 'maximally flat magnitude' filters.

The Butterworth type filter was first described by the British engineer Stephen Butterworth in his paper "On the Theory of Filter Amplifiers", Wireless Engineer (also called Experimental Wireless and the Wireless Engineer), vol. 7, 1930, pp. 536-541.

## Overview

The frequency response of the Butterworth filter is maximally flat (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. For a first-order filter, the response rolls off at −6 dB per octave (−20 dB per decade) (all first-order filters, regardless of name, have the same normalized frequency response). For a second-order Butterworth filter, the response decreases at −12 dB per octave, a third-order at −18 dB, and so on. Butterworth filters have a monotonically changing magnitude function with ω. The Butterworth is the only filter that maintains this same shape for higher orders (but with a steeper decline in the stopband) whereas other varieties of filters (Bessel, Chebyshev, elliptic) have different shapes at higher orders.

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. However, Butterworth filter will have a more linear phase response in the passband than the Chebyshev Type I/Type II and elliptic filters.

## A simple example

A simple example of a Butterworth filter is the 3rd order low-pass design shown in the figure on the right, with $C_2=4/3$ farad, $R_4=1$ ohm, $L_1=3/2$ and $L_3=1/2$ henry. Taking the impedance of the capacitors C to be 1/Cs and the impedance of the inductors L to be Ls, where $s=sigma+jomega$ is the complex frequency, the circuit equations yields the transfer function for this device:

$H\left(s\right)=frac\left\{V_o\left(s\right)\right\}\left\{V_i\left(s\right)\right\}=frac\left\{1\right\}\left\{1+2s+2s^2+s^3\right\}$

The magnitude of the frequency response (gain) $G\left(omega\right)$ is given by:

$G^2\left(omega\right)=|H\left(jomega\right)|^2=frac\left\{1\right\}\left\{1+omega^6\right\},$

and the phase is given by:

$Phi\left(omega\right)=arg\left(H\left(jomega\right)\right),$

The group delay is defined as the derivative of the phase 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 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. If we change each capacitor and inductor into a resonant capacitor and inductor in parallel, with the proper choice of component values, a band-pass Butterworth filter is obtained.

## The transfer function

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 $G\left(omega\right)$ of an n-order Butterworth low pass filter is given in terms of the transfer function H(s) as:

$G^2\left(omega\right)=left |H\left(jomega\right)right|^2 = frac \left\{G_0^2\right\}\left\{1+left\left(frac\left\{omega\right\}\left\{omega_c\right\}right\right)^\left\{2n\right\}\right\}$

where

• n = order of filter
• ωc = cutoff frequency (approximately the -3dB frequency)
• $G_0$ is the DC gain (gain at zero frequency)

It can be seen that as n approaches infinity, the gain becomes a rectangle function and frequencies below ωc will be passed with gain $G_0$, while frequencies above ωc will be suppressed. For smaller values of n, the cutoff will be less sharp.

We wish to determine the transfer function H(s) where $s=sigma+jomega$. Since H(s)H(-s) evaluated at s = jω is simply equal to |H(jω)|2, it follows that:

$H\left(s\right)H\left(-s\right) = frac \left\{G_0^2\right\}\left\{1+left \left(frac\left\{-s^2\right\}\left\{omega_c^2\right\}right\right)^n\right\}$

The poles of this expression occur on a circle of radius ωc at equally spaced points. The transfer function itself will be specified by just the poles in the negative real half-plane of s. The k-th pole is specified by:

$-frac\left\{s_k^2\right\}\left\{omega_c^2\right\} = \left(-1\right)^\left\{frac\left\{1\right\}\left\{n\right\}\right\} = e^\left\{frac\left\{j\left(2k-1\right)pi\right\}\left\{n\right\}\right\}$

and hence,

$s_k = omega_c e^\left\{frac\left\{j\left(2k+n-1\right)pi\right\}\left\{2n\right\}\right\}qquadmathrm\left\{k = 1,2,3, ldots, n\right\}$

The transfer function may be written in terms of these poles as:

$H\left(s\right)=frac\left\{G_0\right\}\left\{prod_\left\{k=1\right\}^n \left(s-s_k\right)/omega_c\right\}$

The denominator is a Butterworth polynomial in s.

### 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 which are complex conjugates, such as $s_1$ and $s_n$. The polynomials are normalized by setting $omega_c=1$. The normalized Butterworth polynomials then have the general form:

$B_n\left(s\right)=prod_\left\{k=1\right\}^\left\{frac\left\{n\right\}\left\{2\right\}\right\} left\left[s^2-2scosleft\left(frac\left\{2k+n-1\right\}\left\{2n\right\},piright\right)+1right\right]$ for n even
$B_n\left(s\right)=\left(s+1\right)prod_\left\{k=1\right\}^\left\{frac\left\{n-1\right\}\left\{2\right\}\right\} left\left[s^2-2scosleft\left(frac\left\{2k+n-1\right\}\left\{2n\right\},piright\right)+1right\right]$ for n odd

To four decimal places, they are:

n Factors of Polynomial $B_n\left(s\right)$
1 $\left(s+1\right)$
2 $s^2+1.4142s+1$
3 $\left(s+1\right)\left(s^2+s+1\right)$
4 $\left(s^2+0.7654s+1\right)\left(s^2+1.8478s+1\right)$
5 $\left(s+1\right)\left(s^2+0.6180s+1\right)\left(s^2+1.6180s+1\right)$
6 $\left(s^2+0.5176s+1\right)\left(s^2+1.4142s+1\right)\left(s^2+1.9319s+1\right)$
7 $\left(s+1\right)\left(s^2+0.4450s+1\right)\left(s^2+1.2470s+1\right)\left(s^2+1.8019s+1\right)$
8 $\left(s^2+0.3902s+1\right)\left(s^2+1.1111s+1\right)\left(s^2+1.6629s+1\right)\left(s^2+1.9616s+1\right)$

### Maximal flatness

Assuming $omega_c=1$ and $G_0=1$, the derivative of the gain with respect to frequency can be shown to be:

$frac\left\{dG\right\}\left\{domega\right\}=-nG^3omega^\left\{2n-1\right\}$

which is monotonically decreasing for all $omega$ since the gain G is always positive. The gain function of the Butterworth filter therefore has no ripple. Furthermore, the series expansion of the gain is given by:

$G\left(omega\right)=1 - frac\left\{1\right\}\left\{2\right\}omega^\left\{2n\right\}+frac\left\{3\right\}\left\{8\right\}omega^\left\{4n\right\}+ldots$

In other words, all derivatives of the gain up to but not including the 2n-th derivative are zero, resulting in "maximal flatness".

### High-frequency roll-off

Again assuming $omega_c=1$, the slope of the log of the gain for large ω is:

$lim_\left\{omegarightarrowinfty\right\}frac\left\{dlog\left(G\right)\right\}\left\{dlog\left(omega\right)\right\}=-n$

In decibels, the high-frequency roll-off is therefore 20n dB/decade, or 6n dB/octave (The factor of 20 is used because the power is proportional to the square of the voltage gain.)

## Filter design

There are a number of different filter topologies available to implement a linear analogue filter. These circuits differ only in the values of the components, but not in their connections.

### 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 kth element is given by:

$C_k = 2 sin left \left[frac \left\{\left(2k-1\right)\right\}\left\{2n\right\} pi right \right]$; k = odd

$L_k = 2 sin left \left[frac \left\{\left(2k-1\right)\right\}\left\{2n\right\} pi right \right]$; k = even

### Sallen-Key topology

The Sallen-Key topology uses active and passive components (op amps 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 $n$ is odd), this must be implemented separately, usually as an RC circuit, and cascaded with the op-amp stages.

The Sallen-Key transfer function is given by

$H\left(s\right)=frac\left\{V_\left\{out\right\}\left(s\right)\right\}\left\{V_\left\{in\right\}\left(s\right)\right\}=frac\left\{1\right\}\left\{1+C_2\left(R_1+R_2\right)s+C_1C_2R_1R_2s^2\right\}$

We wish the denominator to be one of the quadratic terms in a Butterworth polynomial. Assuming that $omega_c=1$, this will mean that

$C_1C_2R_1R_2=1,$

and

$C_2\left(R_1+R_2\right)=2cosleft\left(frac\left\{2k+n-1\right\}\left\{2n\right\} piright\right)$

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

### Digital implementation

Digital implementations of Butterworth filters often use bilinear transform or matched z-transform to discretize an analog filter. For higher orders, they are sensitive to quantization errors. For this reason, they are often calculated as cascaded biquad sections and a cascaded first order filter, for odd orders.

## Comparison with other linear filters

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

All filters are of the same order, in this case five, which means that all filters roll off by 5 times 20 dB per decade, or 100 dB per decade (30.1 dB per octave). The Butterworth filter rolls off more slowly around the cutoff frequency than the others, but shows no ripples.

Search another word or see Butterworth_filteron Dictionary | Thesaurus |Spanish