9 IIR filter (part 2)
9 IIR filter (part 2)
1
DESIGN OF CONTINUOUS-
TIME LOWPASS FILTERS
2
Analog lowpass filter specifications
3
Analog lowpass filters
4
The Butterworth approximation
2
1
𝐻𝐵 (𝑗) = 2𝑁
𝐻𝐵 (𝑗)
1+
𝑐
5
The Butterworth approximation
1 1
𝐻𝐵 𝑠 𝐻𝐵 −𝑠 = 2𝑁 ቮ = 2𝑁
𝑠
1+ 1+
𝑐 =𝑠𝑗 𝑗𝑐
6
The Butterworth approximation
𝜋 2𝑘−1 𝜋
• Poles of Butterworth filter 𝑠𝑘 = 𝑐 𝑒 2 + 2𝑁 𝑘 = 1,2,3, … , 2𝑁
𝑐 𝑁
𝐻𝐵 𝑠 =
𝑠 − 𝑠1 𝑠 − 𝑠2 … (𝑠 − 𝑠𝑁 ) 7
The Butterworth approximation
• Design procedure
8
MATLAB functions for analog Butterworth
lowpass filters
• [N, Omegac] = buttord(Omegap, Omegas, Ap, As, ’s’)
• [C,D] = butter(N, Omegac, ’s’)
9
The Butterworth approximation
10
The Butterworth approximation
11
The Butterworth The 19th-order lowpass
Butterworth filter
approximation
12
The Chebyshev approximation
Then 𝑇0 𝑥 = cos 0 = 1
𝑇1 𝑥 = cos 𝑢 = 𝑥
𝑇2 𝑥 = cos 2𝑢 = 2 cos 2 𝑢 − 1 = 2𝑥 2 − 1
14
Chebyshev I filter
2
1
𝐻𝑐 (𝑗) =
1 + 𝜀 2 𝑇𝑁 2
𝑐
Properties:
1. 1 when 𝑁 is odd
𝐻𝑐 𝑗 2ቚ =ቐ 1 when 𝑁 is even
=0 2
1+𝜀
1
2. Since 𝑇𝑁 (1) = 1 for any 𝑁, then 𝐻𝑐 𝑗𝑐 2 = for any 𝑁
1+𝜀 2
3. 𝐻𝑐 𝑗 decreases monotonically for || > 𝑐
15
Chebyshev I filter
𝜀 = 0.75
16
Chebyshev I filter
• Poles of Chebyshev I filter
𝑠𝑘 = 𝜎𝑘 + 𝑗𝑘 1 1
𝑐 𝑐𝑜𝑠ℎ sinh−1
𝑁 𝜀
1 1
= sinh −1
𝑁 𝜀
𝑘 = 1, 2, … , 2𝑁
17
Chebyshev I filter
• Design procedure
1 1 𝑠 1
≤ 2 𝑇𝑁 ≥ 𝐴2 − 1
𝑠 𝐴 𝑝 𝜀
1 + 𝜀 2 𝑇𝑁2
𝑝
cosh−1 𝛽 ln(𝛽 + 𝛽 2 − 1)
𝑁≥ =
cosh−1 𝛼 ln(𝛼 + 𝛼 2 − 1)
with
𝑠 1 10𝐴𝑠 /10 − 1
𝛼= , 𝛽= 𝐴2 − 1 =
𝑝 𝜀 10 𝐴𝑝 /10 − 1
18
Chebyshev I filter
• Design procedure
1. Compute the parameters 𝛼 and 𝛽
2. Compute order 𝑁
3. Compute the pole locations
4. Compute the filter gain 𝐺 and the system function 𝐻𝑐 (𝑗 )
19
MATLAB functions for analog Chebyshev I
lowpass filters
• [N, Omegac] = cheb1ord(Omegap, Omegas, Ap, As, ’s’)
• [C,D] = cheby1(N, Ap, Omegac, ’s’)
20
Chebyshev I filter
21
Chebyshev I filter
22
The seventh-order
Chebyshev I filter lowpass Chebyshev I filter
23
Chebyshev II filter
𝑐
𝜀 2 𝑇𝑁 2
2
1
𝐻𝐼𝑐 (𝑗) =1− =
𝑐
1 + 𝜀 2 𝑇𝑁 2 1 + 𝜀 2 𝑇𝑁 2 𝑐
High-pass filter 24
Chebyshev II filter
25
MATLAB functions for analog Chebyshev II
lowpass filters
• [N, Ws] = cheb2ord(Omegap, Omegas, Ap, As, ‘s’)
• [C, D] = cheby2(N, As, Ws, ‘s’)
26
Chebyshev II filter
27
Chebyshev II filter
28
The seventh-order lowpass
Chebyshev II filter Chebyshev II filter
29