Analog Lowpass Filter Specifications Analog Lowpass Filter Specifications
Analog Lowpass Filter Specifications Analog Lowpass Filter Specifications
Analog Lowpass Filter Specifications Analog Lowpass Filter Specifications
Specifications Specifications
• Typical magnitude response H a ( jΩ) of an • In the passband, defined by 0 ≤ Ω ≤ Ω p , we
analog lowpass filter may be given as require
indicated below 1 − δ p ≤ H a ( jΩ ) ≤ 1 + δ p , Ω ≤ Ω p
i.e., H a ( jΩ) approximates unity within an
error of ± δ p
• In the stopband, defined by Ω s ≤ Ω ≤ ∞ , we
require
H a ( jΩ ) ≤ δ s , Ω s ≤ Ω ≤ ∞
i.e., H a ( jΩ) approximates zero within an
1 2 error of δ s
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
1
Butterworth Approximation
Butterworth Approximation
• The magnitude-square response of an N-th
order analog lowpass Butterworth filter
is given by • Gain in dB is G (Ω) = 10 log10 H a ( jΩ) 2
1
H a ( jΩ ) =
2
1 + (Ω / Ω c ) 2 N • As G (0) = 0 and
• First 2 N − 1 derivatives of H a ( jΩ) at Ω = 0
2
G (Ωc ) = 10 log10 (0.5) = −3.0103 ≅ −3 dB
are equal to zero Ω c is called the 3-dB cutoff frequency
• The Butterworth lowpass filter thus is said
to have a maximally-flat magnitude at Ω = 0
7 8
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
9 10
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
2
Butterworth Approximation Butterworth Approximation
• Example - Determine the lowest order of a
• Transfer function of an analog Butterworth Butterworth lowpass filter with a 1-dB cutoff
frequency at 1 kHz and a minimum attenuation of 40
lowpass filter is given by dB at 5 kHz
ΩcN ΩcN
H a ( s) = C = N = • Now
DN ( s ) s + ∑lN=−01d s l ∏lN=1 ( s − pl )
l 10 log10 ⎛⎜ 1 2 ⎞⎟ = −1
⎝1 + ε ⎠
where which yields ε 2 = 0.25895
pl = Ωc e j[π ( N + 2l−1) / 2 N ] , 1 ≤ l ≤ N and
• Denominator DN (s ) is known as the 10 log10 ⎛⎜ 12 ⎞⎟ = − 40
Butterworth polynomial of order N ⎝A ⎠
which yields A2 = 10,000
13 14
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
1
N=2
N=3
• Solving the above we get
cosh −1 ( A2 − 1 / ε ) cosh −1 (1 / k1 )
0.8 N=8
Magnitude
0.6 N= =
0.4 cosh −1 (Ω s / Ω p ) cosh −1 (1 / k )
0.2
• Order N is chosen as the nearest integer
0
0 1
Ω
2 3
greater than or equal to the above value
17 18
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
3
Chebyshev Approximation Chebyshev Approximation
• The magnitude-square response of an N-th • Typical magnitude response plots of the
order analog lowpass Type 2 Chebyshev analog lowpass Type 2 Chebyshev filter are
(also called inverse Chebyshev) filter is shown below
given by Type 2 Chebyshev Filter
1 N=3
H a ( jΩ ) =
2 1 N=5
⎡T (Ω / Ω p ) ⎤
2 0.8 N=7
Magnitude
1+ ε 2 ⎢ N s ⎥
0.6
⎣ TN (Ω s / Ω) ⎦ 0.4
0.2
where TN (Ω) is the Chebyshev polynomial 0
0 1 2 3
of order N Ω
19 20
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
4
Analog Lowpass Filter Design
Elliptic Approximation • Example - Design an elliptic lowpass filter
of lowest order with a 1-dB cutoff
• Typical magnitude response plots with Ω p = 1 frequency at 1 kHz and a minimum
are shown below attenuation of 40 dB at 5 kHz
Elliptic Filter
N=3
• Code fragments used
1 N=4 [N, Wn] = ellipord(Wp, Ws, Rp, Rs, ‘s’);
0.8
Magnitude
-20
Step 2 - Design the prototype analog
-40
lowpass filter
-60 Step 3 - Determine the transfer function HD (s )
0 2000 4000 6000
Frequency, Hz of desired analog filter by applying the
inverse frequency transformation to H LP (s)
27 28
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
5
Analog Highpass Filter Design
Analog Highpass Filter Design
• Example - Design an analog Butterworth
Ω pΩ ˆp highpass filter with the specifications:
Ω=− Fˆ p = 4 kHz, Fˆs = 1 kHz, α p = 0.1 dB,
Ωˆ
α s = 40 dB
Ω
Stopband − Ω s − Ω p Ω p Ωs Stopband • Choose Ω p = 1
0
Ω Lowpass
Passband • Then 2πFˆ p Fˆ p 4000
Ωs = = = =4
Passband Stopband Passband 2πFˆs Fˆs 1000
−Ω
ˆ p −Ω
ˆs 0 Ω̂ s Ω̂ p
Ω̂ Highpass • Analog lowpass filter specifications: Ω p = 1,
31 32
Ω s = 4 , α p = 0.1 dB, α s = 40 dB
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
Gain, dB
-40 -40
desired bandpass filter H BP (sˆ)
-60 -60
-80 -80
0 2 4 6 8 10 0 2 4 6 8 10
33 Ω Frequency, kHz 34
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
6
Analog Bandpass Filter Analog Bandpass Filter
Design Design
• Stopband edge frequency ± Ω s is mapped • Case 1: Ωˆ p1Ω
ˆ p2 > Ω
ˆ s1Ω
ˆ s2
ˆ s1 and ± Ω
into m Ω ˆ s 2 , lower and upper
To make Ω p1Ω p 2 = Ω s1Ω
ˆ ˆ ˆ ˆ s 2 we can either
stopband edge frequencies
increase any one of the stopband edges or
• Also, decrease any one of the passband edges as
Ωˆ o2 = Ω
ˆ p1Ω
ˆ p2 = Ω ˆ s1Ω
ˆ s2 shown below
• If bandedge frequencies do not satisfy the ← Passband ←
above condition, then one of the frequencies
needs to be changed to a new value so that Stopband → → Stopband
Ω̂
the condition is satisfied Ω
ˆ s1 Ω
ˆ p1 Ω
ˆ p2 Ω
ˆ s2
37 38
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
7
Analog Bandpass Filter Analog Bandpass Filter
Design Design
• Example - Design an analog elliptic
• Note: The condition Ω ˆ o2 = Ω
ˆ p1Ω
ˆ p2 = Ω
ˆ s1Ω
ˆ s2 bandpass filter with the specifications:
can also be satisfied by increasing Ω ˆ p1 Fˆ p1 = 4 kHz, Fˆ p 2 = 7 kHz, Fˆs1 = 3 kHz
which is not acceptable as the passband is Fs 2 = 8 kHz, α p = 1 dB, α s = 22 dB
ˆ
reduced from the desired value
• Alternately, the condition can be satisfied • Now Fˆ p1Fˆ p 2 = 28 × 106 and Fˆs1Fˆs 2 = 24 × 106
by decreasing Ω ˆ s1 which is not acceptable
• Since Fˆ p1Fˆ p 2 > Fˆs1Fˆs 2 we choose
as the lower stopband is reduced from the
desired value Fˆ p1 = Fˆs1Fˆs 2 / Fˆ p 2 = 3.571428 kHz
43 44
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
Ω s = 1.4 , α p = 1 dB, α s = 22 dB
Gain, dB
Gain, dB
-20
-20
-40 -40
-60 -60
45 46 0 2 4 6 8 0 5 10 15
Copyright © 2005, S. K. Mitra Ω Frequency, kHz © 2005, S. K. Mitra
Copyright
8
Analog Bandstop Filter Design Analog Bandstop Filter Design
• Passband edge frequency ± Ω p is mapped • Also,
into m Ω
ˆ p1 and ± Ω
ˆ p 2 , lower and upper Ω
ˆ o2 = Ω
ˆ p1Ω
ˆ p2 = Ω
ˆ s1Ω
ˆ s2
passband edge frequencies • If bandedge frequencies do not satisfy the
Stopband − Ω s − Ω p Ω p Ωs Stopband above condition, then one of the frequencies
Ω Lowpass
0
Passband
needs to be changed to a new value so that
the condition is satisfied
Passband Stopband Passband Stopband Passband
Ω̂ Bandpass
ˆ p2 ↓ − Ω
−Ω ˆ o ↓ −Ω ˆ p10 Ω
ˆ p1 ↓ Ω̂ o ↓ Ω ˆ p2
−Ω
ˆ s2 −Ω
ˆ s1 Ωˆ s1 Ω
ˆ s2
49 50
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
Passband
No change in passbands and
Passband
shorter rightmost transition band
Stopband
Ω̂
51 Ω
ˆ p1 Ω
ˆ s1 Ω
ˆ s2 Ω
ˆ p2 52
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
9
Analog Bandstop Filter Design Analog Bandstop Filter Design
• Note: The condition Ω ˆ o2 = Ω
ˆ p1Ω
ˆ p2 = Ω
ˆ s1Ω
ˆ s2
(1) Increase Ωˆ p1 to Ω
ˆ s1Ω
ˆ s2 / Ω
ˆ p1 can also be satisfied by increasing Ω ˆ p2
larger passband and shorter which is not acceptable as the high-
leftmost transition band frequency passband is decreased from the
desired value
(2) Decrease Ωˆ s1 to Ω
ˆ p1Ω
ˆ p2 / Ωˆ s1
• Alternately, the condition can be satisfied
No change in passbands and by decreasing Ω ˆ s 2 which is not acceptable
shorter leftmost transition band as the stopband is decreased
55 56
Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra
10