Analog Filter Explained
Analog Filter Explained
Nam Pham
Auburn University
Bogdan M. Wilamowski
Auburn University
Frequency Transformations; Low-Pass to High-Pass Frequency Transformations; Low-Pass to Band-Pass Frequency Transformations; Low-Pass to Band-Stop Frequency Transformation; Low-Pass to Multiple Band-Pass
26.1 Introduction
Analog filters are essential in many different systems that electrical engineers are required to design in their engineering career. Filters are widely used in communication technology as well as in other applications. Although we discuss and talk a lot about digital systems nowadays, these systems always contain one or more analog filters internally or as the interface with the analog world [SV01]. There are many different types of filters such as Butterworth filter, Chebyshev filter, inverse Chebyshev filter, Cauer elliptic filter, etc. The characteristic responses of these filters are different. The Butterworth filter is flat in the stop-band but does not have a sharp transition from the pass-band to the stop-band while the Chebyshev filter has a sharp transition from the pass-band to the stop-band but it has the ripples in the pass-band. Oppositely, the inverse Chebyshev filter works almost the same way as the Chebyshev filter but it does have the ripple in the stop-band instead of the pass-band. The Cauer filter has ripples in both pass-band and stop-band; however, it has lower order [W02, KAS89]. The analog filter is a broad topic and this chapter will focus more on the methodology of synthesizing analog filters only (Figures 26.1 and 26.2). Section 26.2 will present methods to synthesize four different types of these low-pass filters. Then we will go through design example of a low-pass filter that has 3dB attenuation in the pass-band, 30dB attenuation in the stop-band, the pass-band frequency at 1kHz, and the stop-band frequency at 3kHz to see four different results corresponding to four different synthesizing methods.
K10147_C026.indd 1
6/22/2010 5:25:41 PM
26 -2
[dB]
[dB]
20
20
40
40
Magnitude
Magnitude
AQ1
[dB]
[dB]
20
20
40
40
Magnitude
Magnitude
FIGURE 26.2 Inverse Chebyshev filter (left), Cauer elliptic filter (right).
1 + 2n / 02n
There are three basic steps to synthesize any type of low-pass filters. The first step is calculating the order of a low-pass filter. The second step is calculating poles and zeros of a low-pass filter. The third step is design circuits to meet pole and zero locations; however, this part is another topic of analog filters, so it will be not be covered in this work [W90, WG05, WLS92]. All steps to design Butterworth low-pass filter. Step 1: Calculate order of filter: log[(10 s /10 1)(10 p 1)]1/2 log( s / p )
/10
n=
K10147_C026.indd 2
6/22/2010 5:25:46 PM
26 -3
0 dB
Step 2: Calculate pole and zero locations: Angle if n is odd: = Angle if n is even: k n2 = 0.5 + 180; k = 0,1, , n 2 Normalized pole locations: ak = cos(); bk = sin(); (0 = 1) ( ps )1/2 [(10
s /10
k180 n 1 ; k = 0,1, , n 2
0 =
1) / (10
p /10
1)]1/( 4n)
; Qk =
1 2ak
Step 3: Design circuits to meet pole and zero locations (not covered in this work) (Figure 26.4).
Example:
Step 1: Calculate order of filter: n= log[(1030 /10 1)(103/10 1)]1/2 = 3.1456 n = 4 log(3000 / 1000)
Step 2: Calculate pole and zero locations Normalized values of poles and 0 and Q:
0.38291 + 0.92443i 0.38291 0.92443i 0.92443 + 0.38291i 0.92443 0.38291i 1.00059 1.00059 1.00059 1.00059 1.30656 1.30656 0.54120 0.54120
K10147_C026.indd 3
6/22/2010 5:25:55 PM
26 -4
s -plane
FIGURE 26.4 Pole-zero locations, magnitude response, and phase of Butterworth filter.
|T6( j)|
K10147_C026.indd 4
6/22/2010 5:26:00 PM
26 -5
= 10
p /10
1/ 2 sinh 1(1 / ) 1 ; = n
k 2ak
ak = sinh()cos(); bk = cosh()sin(); k = ak 2 + bk 2 ; QK =
Step 3: Design circuits to meet pole and zero locations (not covered in this work) (Figure 26.6).
Example:
Step 1: Calculate order of filter: n= ln[4 * (1030 /10 1) / (103/10 1)]1/2 = 2.3535 n = 3 log[(3000 /1000) + ((30002 /10002 ) 1)1/2 ]
Step 2: Calculate pole and zero locations Normalized values of poles and 0 and Q:
0.14931 + 0.90381i 0.14931 0.90381i 0.29862 0.91606 0.91606 3.06766 3.06766
x x
90 180 Phase
FIGURE 26.6 Pole-zero locations, magnitude response, and phase of Chebyshev filter.
K10147_C026.indd 5
6/22/2010 5:26:08 PM
26 -6
The method to design the inverse Chebyshev low-pass filter is almost the same as the Chebyshev lowpass filter. It is just slightly different. Step 1: Calculate order of filter n = order of the Chebyshev filter Step 2: Calculate pole and zero locations: Pic = 1 1 , find zeros i = ; i = 2k 1 : 1, 3, 5 < np ak + bk cos[ * i / (2n)]
Notes: two conjugate poles on the imaginary axis. Step 3: Design circuits to meet pole and zero locations (not covered in this work) (Figure 26.8).
Example:
Step 1: Calculate order of filter: n= ln[4 * (1030/10 1) / (103/10 1)]1/2 = 2.3535 n = 3 log[(3000/1000) + ((30002/10002 ) 1)1/2 ]
Gain =
c 1 + c2
Passband
Stopband
K10147_C026.indd 6
6/22/2010 5:26:13 PM
26 -7
s-plane
[dB] 20 40 Magnitude x 90
180 Phase
FIGURE 26.8 Pole-zero locations, magnitude response, and phase of inverse Chebyshev filter.
Step 2: Calculate pole and zero locations Normalized values of poles and 0 and Q:
0.6613 + 1.29944i 0.6613 1.29944i 1.60734 1.45803 1.45803 1.10240 1.10240
1 2 (w, L) 1 + Rn
2
To design the Cauer elliptic filter is more complicated than designing three previous filters. In order to calculate the transfer function of this filter, a mathematic process is summarized as below. Although the low-pass Cauer elliptic filter has ripples in both stop-band and pass-band, it has lower order than the three previous filters (Figure 26.10). That is the advantage of the Cauer elliptic filter: k= p s (26.1) (26.2) (26.3)
k = 1 k 2 q0 = 0.5(1 k ) (1 + k )
K10147_C026.indd 7
6/22/2010 5:26:20 PM
26 -8
G= 1 1 + 2
G= 1 1 + 2L 2 i
40 x x 0 Magnitude
90 Phase
FIGURE 26.10 Pole-zero locations, magnitude response, and phase of Cauer elliptic filter.
(26.4)
D=
(26.5)
(26.6)
p 1 10 +1 ln 0.05 p 2n 10 1
(26.7)
K10147_C026.indd 8
6/22/2010 5:26:29 PM
26 -9
0 =
2q1/ 4
m =0
1+ 2
(1)m q m cosh(2m)
2 0
(26.8)
(1 + k ) 1 + k
2 0
(26.9)
i =
2q1/ 4
m=0
1+ 2
(26.10)
i = 1 i 2
i = 1, 2, ..., r
(26.11)
2 Vi = (1 ki2 ) 1 i k A01 = 1 i2
(26.12)
(26.13)
B0i =
(26.14)
B1i =
(26.15)
Example:
n = 1.9713 n = 2. This filter is the second low pass filter. Normalized values of poles and 0 and Q:
0.31554 + 0.97313i 0.31554 + 0.97313i 0.85360 0.85360 1.35259 1.35259
K10147_C026.indd 9
6/22/2010 5:26:46 PM
26 -10
T (s ) =
Frequency transformation transforms the pass-band of the low-pass, centered around = 0, into that of the band-pass, centered around = c. Similarly, it transforms the low-pass stop-band that is centered around = into that of the band-pass, centered around = 0 (Figure 26.12). Consequently,
1 1 1 1 1 S= s
K10147_C026.indd 10
6/22/2010 5:26:52 PM
26 -11
0 1 c 2
the frequency transformation function Z(s) has zeros in the center of the pass-band of the band-pass (at= c) and poles in the center of the band-pass, stop-band (at = 0 and = ) [SV01]: T (S) = 02 S 2 + ( 0S /Q) + 02 T (s ) = s 2 B 2 02 s 4 + ( 0 Bs 3/Q) + (2 c 2 + B 2 02 )s 2 + ( 0 B c 2 s /Q) + c 4
Z (s ) = S =
B ; c 2 = 12 ; B = 2 1 c 2
2
Frequency transformation transforms the pass-band of the low-pass, centered around = 0, into that of the band-stop, centered around = 0 and = (Figure 26.13). Similarly, it transforms the low-pass, stop-band that is centered around = into that of the band-stop, centered around = c. Consequently, the frequency transformation function Z(s) has zeros in the center of the pass-band of the band-stop (at = 0 and = ) and poles in the center of the band-stop, stop-band (at = c) [SV01]:
0 0 1 c 2 B
K10147_C026.indd 11
6/22/2010 5:26:57 PM
26 -12
T (S) =
02 S 2 + ( 0S /Q) + 02
T (s ) =
0 2 s 4 + 2 0 2 c 2 s 2 + 0 2 c 4 02 s 4 + ( 0 Bs 3/Q) + (2 c 2 02 + B 2 )s 2 + ( 0 B c 2 s /Q) + c 4 02
Transfer functions from the low-pass frequency S to the frequency s of other types of filters are recognized and can be written under the following form: Z (s ) =
2 2 2 2 H (s 2 + 2 z1 )(s + z 2 ) (s + zn ) 2 2 2 2 2 2 (s + p1 )(s + p2 ) (s + pn )
Or () =
2 2 2 2 H ( 2 2 z1 )( z 2 ) ( zn ) 2 2 2 2 ( 2 2 p1 )( p 2 ) ( pn )
Z(s) has zeros where the desired filter has pass-bands and poles where it has stop-bands. The function Z(s) is called Foster Reactance function. For example, we can write the transfer function of the filter (Figure 26.15) as Z (s ) = Hs(s 2 + 2 z) (s 2 + 2 p) or () = H ( 2 2 z) ( 2 2 p)
1 2 0
z0 p1
z1
K10147_C026.indd 12
6/22/2010 5:27:07 PM
26 -13
2 dB
The transfer function has zeros at = 0, = z and poles at = p and = . At corner frequencies 1 = 1kHz, 2 = 4kHz, 3 = 6kHz, the values of () are equal to 1, 1, and 1, respectively. Therefore, the transformation () can be rewritten into multi-equations corresponding to = 1, 2, 3. Three equations with three unknowns always have solutions: 1=
2 H 1(1 2 Z) 2 1 2 P
1 =
2 H 2 (2 2 Z ) 2 2 2 P
1=
2 H 3 (2 3 Z ) 2 2 3 P
References
[SV01] R. Schaumann and M.E. Van Valkenburg, Analog Filter Design, Oxford University Press, Oxford, U.K., 2001. [W02] S. Winder, Analog and Digital Filter Design, Newnes, Woburn, MA, 2002.
K10147_C026.indd 13
6/22/2010 5:27:15 PM
26 -14
[KAS89] M.R. Kobe, J. Ramirez-Angulo, and E. Sanchez-Sinencio, FIESTA-A filter educational synthesis teaching aid, IEEE Trans. Educ., 32(3), 280286, August 1989. [W90] B.M. Wilamowski, A filter synthesis teaching-aid, in: Proceedings of the Rocky Mountain ASEE Section Meeting, Golden, CO, April 6, 1990. [WG05] B.M. Wilamowski and R. Gottiparthy, Active and passive filter design with MATLAB, Int. J. Eng. Educ., 21(4), 561571, 2005. [WLS92] B.M. Wilamowski, S.F. Legowski, and J.W. Steadman, Personal computer support for teaching analog filter analysis and design courses, IEEE Trans. Educ., E-35(4), 351361, 1992.
K10147_C026.indd 14
6/22/2010 5:27:15 PM