OpenStax-CNX module: m693 Butterworth Filter Properties C. Sidney Burrus This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3. This section develops the properties of the Butterworth lter which has as its basic concept a Taylor's series approximation to the desired frequency response. The measure of the approximation is the number of terms in the Taylor's series expansion of the actual frequency response that can be made equal to those of the desired frequency response. The optimal or best solution will have the maximum number of terms equal. The Taylor's series is a power series expansion of a function in the form of where K = F (), F (ω) = K + K ω + K 2 ω 2 + K 3 ω 3 + () K = df (ω) dω ω=, K 2 = (/2) d2 F (ω) dω 2, etc., (2) ω= with the coecients of the Taylor's series being proportional to the various order derivatives of F (ω) evaluated at ω =. A basic characteristic of this approach is that the approximation is all performed at one point, i.e., at one frequency. The ability of this approach to give good results over a range of frequencies depends on the analytic properties of the response. The general form for the squared-magnitude response is an even function of ω and, therefore, is a function of ω 2 expressed as F F (jω) = d + d 2 ω 2 + d 4 ω 4 +... + d 2M ω 2M c + c 2 ω 2 + c 4 ω 4 +...c 2N ω 2N (3) In order to obtain a solution that is a lowpass lter, the Taylor's series expansion is performed around ω =, requiring that F F () = and that F F (j ) =, (i.e., d = c, N > M, and c 2N ). This is written as Combining (3) and (4) gives F F (jω) = + E (ω) (4) d + d 2 ω 2 + + d 2 Mw = c + c 2 w + + c 2N ω 2N + E (ω) [c + c 2 ω + ] (5) The best Taylor's approximation requires that F F (jω) and the desired ideal response have as many terms as possible equal in their Taylor's series expansion at a given frequency. For a lowpass lter, the expansion is around ω =, and this requires E (ω) have as few low-order ω terms as possible. This is achieved by setting c = d, c 2 = d 2, c 2M = d 2M, c 2M+2 =, c 2N 2 =, c 2N (6) Version.2: Nov 7, 22 5:54 pm -6 http://creativecommons.org/licenses/by/3./ http://cnx.org/content/m693/.2/
OpenStax-CNX module: m693 2 Because the ideal response in the passband is a constant, the Taylor's series approximation is often called maximally at". (6) states that the numerator of the transfer function may be chosen arbitrarily. Then by setting the denominator coecients of FF(s) equal to the numerator coecients plus one higher-order term, an optimal Taylor's series approximation is achieved [2]. Since the numerator is arbitrary, its coecients can be chosen for a Taylor's approximation to zero at ω =. This is accomplished by setting d = and all other d's equal zero. The resulting magnitude-squared function is[2] F F (jω) = (7) + c 2N ω 2N The value of the constant c 2N determines at which value of ω the transition of passband to stopband occurs. For this development, it is normalized to c 2N =, which causes the transition to occur at ω =. This gives the simple form for what is called the Butterworth lter F F (jω) = (8) + ω 2N This approximation is sometimes called maximally at" at both ω = and ω =, since it is simultaneously a Taylor's series approximation to unity at ω = and to zero at ω =. A graph of the resulting frequency response function is shown in Figure for several N. Order N Analog Butterworth Filter N = Magnitude Response.8.6.4.2 N = 3 N =.5.5 2 2.5 3 Normalized Frequency Figure : Frequency Responses of the Butterworth Lowpass Filter Approximation The characteristics of the normalized Butterworth lter frequency response are: http://cnx.org/content/m693/.2/
OpenStax-CNX module: m693 3 Very close to the ideal near ω = and ω =, Very smooth at all frequencies with a monotonic decrease from ω = to, and Largest dierence between the ideal and actual responses near the transition at ω = where F (j) 2 = /2. Although not part of the approximation addressed, the phase curve is also very smooth. An important feature of the Butterworth lter is the closed- form formula for the solution, F (s). The expression for F F (s) may be determined as F (s) F ( s) = + ( s 2 ) N (9) This function has 2N poles evenly spaced around a unit radius circle and 2N zeros at innity. The determination of F (s) is very simple. In order to have a stable lter, F (s) is selected to have the N lefthand plane poles and N zeros at innity; F ( s) will necessarily have the right-hand plane poles and the other N zeros at innity. The location of these poles on the complex s plane for N =, 2, 3, and 4 is shown in Figure 2. Imaginary part of s Imaginary part of s.5.5.5 First Order BW Filter Poles.5 2 2.5.5.5 Third Order BW Filter Poles.5 2 2 Real part of s.5.5.5 Second Order BW Filter Poles.5 2 2.5.5.5 Fourth Order BW Filter Poles.5 2 2 Real part of s Figure 2: Pole Locations for Analog Butterworth Filter Transfer Function on the Complex s Plane http://cnx.org/content/m693/.2/
OpenStax-CNX module: m693 4 Because of the geometry of the pole positions, simple formulas are easy to derive for the pole locations. If the real and imaginary parts of the pole location are denoted as the locations of the N poles are given by s = u + jw () u k = cos (kπ/2n) () for N values of k where ω k = sin (kπ/2n) (2) k = ±, ±3, ±5,..., ± (N ) for N even (3) k =, ±2, ±4,..., ± (N ) for N odd (4) Because the coecients of the numerator and denominator polynomials of F (s) are real, the roots occur in complex conjugate pairs. The conjugate pairs in (),(2) can be combined to be the roots of second-order polynomials so that for N even, F (s) has the partially factored form of F (s) = s 2 + 2cos (kπ/2n) s + k for k =, 3, 5,..., N. For N odd, F (s) has a single real pole and, therefore, the form F (s) = s + s 2 + 2cos (kπ/2n) s + for k = 2, 4, 6,, N This is a convenient form for the cascade and parallel realizations discussed in elsewhere. A single formula for the pole locations for both even and odd N is k (5) (6) u k = sin ((2k + ) π/2n) (7) ω k = cos ((2k + ) π/2n) (8) for N values of k where k =,, 2,..., N One of the important features of the Butterworth lter design formulas is that the pole locations are found by independent calculations which do not depend on each other or on factoring a polynomial. A FORTRAN program which calculates these values is given in the appendix as Program 8. Mathworks has a powerful command for designing analog and digital Butterworth lters. The classical form of the Butterworth lter given in (8) is discussed in many books [3], [], [4], [5], [2]. The less well-known form given in (6) also has many useful applications [2]. If the frequency location of unwanted signals is known, the zeros of the transfer function given by the numerator can be set to best reject them. It is then possible to choose the pole locations so as to have a passband as at as the classical Butterworth lter by using (6). Unfortunately, there are no formulas for the pole locations; therefore, the denominator polynomial must be factored. Summary This section has derived design procedures and formulas for a class of lter transfer functions that approximate the ideal desired frequency response by a Taylor's series. If the approximation is made at ω = and ω =, the resulting lter is called a Butterworth lter and the response is called maximally-at at zero and innity. This lter has a very smooth frequency response and, although not explicitly designed for, has a smooth phase response. Simple formulas for the pole locations were derived and are implemented in the design program in the appendix of this book. http://cnx.org/content/m693/.2/
OpenStax-CNX module: m693 5 Butterworth Filter Design Procedures This section considers the process of going from given specications to use of the approximation results derived in the previous section. The Butterworth lter is the simplest of the four classical lters in that all the approximation eort is placed at two frequencies: ω = and ω =. The transition from passband to stopband occurs at a normalized frequency of ω =. Assuming that this transition frequency or bandedge can later be scaled to any desired frequency, the only parameter to be chosen in the design process is the order N. The lter specications that are consistent with what is optimized in the Butterworth lter are the degree of atness" at ω = (DC) and at ω =. The higher the order, the atter the frequency response at these two points. Because of the analytic nature of rational functions, the atter the response is at ω = and ω =, the closer it stays to the desired response throughout the whole passband and stopband. An indirect consequence of the lter order is the slope of the response at the transition between pass and stopband. The slope of the squared-magnitude frequency response at ω = is s = F F ' (j) = N/2 (9) The eects of the increased atness and increased transition slope of the frequency response as N increases are illustrated in Figure from Design of Innite Impulse Response (IIR) Filters by Frequency Transformations. In some cases specications state the response must stay above or below a certain value over a given frequency band. Although this type of specication is more compatible with a Chebyshev error optimization, it is possible to design a Butterworth lter to meet the requirements. If the magnitude of the frequency response of the lter over the passband of < ω < ω P must remain between unity and G, where ω p < and G <, the required order is found by the smallest integer N satisfying ( ) log (/G) 2 N (2) log (ω p ) This is illustrated in Figure 3 where F must remain above.9 for ω up to.9, i.e., G =.9 and ω p =.9. These requirements require an order of at least N = 7. http://cnx.org/content/m693/.2/
OpenStax-CNX module: m693 6 Analog Butterworth Filter Frequency Response.8 Magnitude Response.6.4.2 ω p.5.5 2 2.5 3 Normalized Frequency ω Figure 3: Passband Specications for Designing a Butterworth Filter If stopband performance is stated in the form of requiring that the response stay below a certain value for frequency above a certain value, i.e., F < G for ω > ω s, the order is determined by the same formula (2) with ω p replaced by ω s. Note F (j) = / (2) which is called the half power" frequency because F (j) 2 = /2. This frequency is normalized to one for the theory but can be scaled to any value for applications. Example : Design of a Butterworth Lowpass IIR Filter To illustrate the calculations, a lowpass Butterworth lter is designed. It is desired that the frequency response stay above.8 for frequencies up to.9. The formula (2) for determining the order gives a value of 2.73; therefore, the order is three. The analytic function corresponding to the squared-magnitude frequency response in (9) is F (jω) 2 = + ω 6 (2) The transfer function corresponding to the left-half-plane poles of F'(s) are calculated from () http://cnx.org/content/m693/.2/
OpenStax-CNX module: m693 7 to give F (s) = (s + ) (s +.5 + j.866) (s +.5 j.866) F (s) = (s + ) (s 2 + s + ) (22) (23) F (s) = s 3 + 2s 2 + 2s + The frequency response is obtained by setting s = jω which has a plot illustrated in Figure for N = 3. The pole locations are the same as shown in Figure 2c. (24) References [] A. V. Oppenheim and R. W. Schafer. Discrete-Time Signal Processing. Prentice-Hall, Englewood Clis, NJ, second edition, 999. Earlier editions in 975 and 989. [2] T. W. Parks and C. S. Burrus. Digital Filter Design. John Wiley & Sons, New York, 987. [3] L. R. Rabiner and B. Gold. Theory and Application of Digital Signal Processing. Prentice-Hall, Englewood Clis, NJ, 975. [4] F. J. Taylor. Digital Filter Design Handbook. Marcel Dekker, Inc., New York, 983. [5] M.E. Van Valkenburg. Analog Filter Design. Holt, Rinehart, and Winston, New York, 982. http://cnx.org/content/m693/.2/