Professional Documents
Culture Documents
Objectives j
y Introduction and filters specifications. y Transfer functions.
M.A.J.U.
y Filters approximations and prototype design. y Frequency F transformation t f ti and d magnitude it d scaling. li y Passive filter design g and realization. y Design examples
2
M.A.J.U.
Filters
Filters are frequency selective networks. Filters allows certain freq. band to pass through them
unity (or at fixed gain) for the frequencies of interest (pass band) and zero everywhere else (stop band).
The frequency at which the response changes from
M.A.J.U.
Filters Applications
y These are used to y Stabilize the amplifiers performance. y To block the offset voltage in the single supply amplifiers amplifiers. y Separate the bands of frequencies (e. g. radio receiver). y Eliminate the effect of aliases in A/D systems. y Eliminate the effect of harmonics in the reconstruction (D/A
FilterTypes
M.A.J.U.
Idealcharacteristics
5
M.A.J.U.
Thetransferfunctions
M.A.J.U.
vL
= L diL
vL
vc
ic
dt
= C dvc
iL
ic
dt
Z L = Ls
ZC
1 =
Cs
s = + j
N Neper freq f
7
radianfreq
M Riaz, EE, MAJU
Thetransferfunctions
M.A.J.U.
Transferfunctionsaretheratiooftheoutputvoltage(current)totheinput voltage(current).
Lowp passfunction
a0 H ( s) = b1s + b0
Firstorder20dB/decade rolloffinstopband
M.A.J.U.
a0 H ( s) = b2 s 2 + b1s + b0
Secondorder40dB/decaderoll offinstopband
Aninductorinseriesor/andcapacitorinparallelperformlowpassfunctions.
Rs RL
Vo
Vi
Vi
RL
Vo
Vi
RL
Vo
H (s) =
9
RL L + RL Ls
RL H (s) = Rs RLCs + Rs + RL
H (s) =
RL RL LCs LC 2 + L Ls + RL
M Riaz, EE, MAJU
High g p passfunction
a1s H ( s) = b1s + b0
Firstorder20dB/decade rolloffinstopband
M.A.J.U.
a2 s 2 H ( s) = b2 s 2 + b1s + b0
Secondorder40dB/decaderoll offinstopba o band d
Acapacitorinseriesor/andinductorinparallelperformhighpassfunctions.
H (s) =
10
RLCs RLCs C +1
RL Ls H (s) = ( RL + Rs ) Ls + RL Rs
Bandp passfunction
a1s H ( s) = b2 s 2 + b1s + b0
M.A.J.U.
H (s) =
H ( s) =
RL Ls Rs RL LCs 2 + ( Rs + RL ) Ls + RL Rs
M Riaz, EE, MAJU
11
Bandstop pfunction
a2 s 2 + a0 H ( s) = b2 s 2 + b1s + b0
M.A.J.U.
H ( s) =
12
( Rs + RL ) LCs + Rs RLCs + RL + Rs
2
RL ( LCs + 1)
2
H ( s) =
RL ( LCs 2 + 1) RL LCs LC 2 + L Ls + RL
M Riaz, EE, MAJU
GeneralBiquads
H (s) = H 0 s +
2
M.A.J.U.
p
Qp
2 z
H ( s) = H 0
2 p
s +
s +
2
s2
2 s + p
Qp
Lowpass
highpass
z
H ( s) = H 0 s2 +
Qz
s
2 s + p
H (s) = H 0
s 2 + z2 s +
2
Qp
Qp
2 s + p
Bandpass
Bandstop
s2 H (s) = H 0 s +
2
z p
Qp Qz
s + z2
2 s + p
Delayequalizer
13
Bandp passExample p
H (s) = a1s b2 s 2 + b1s + b0
M.A.J.U.
p = 1
LC , LC RL L = 1 RL L C
Q p = p RL L = 1
RL L ) s ( z Qz s p = 104 , Q p = 1 H ( s) = 2 = 2 2 s + ( RL L ) s + 1 LC s + p Q p s + p Magnitude response and phase plot is shown on the 14 M Riaz, EE, next slides.
MAJU
Gain Plot
0 -5 -10
10
10
10
10
15
Attenuation Plot
40 35 30 25
10
10
10
10
Phase Response
100 80 60 40 20 0
-100 2 10
10
10
10
10
17
Frequency in rad/sec
H ( s) = H 0
s2 +
z2 p
Qp
2 s + p
H ( s) =
RL
Vo
1 LC s 2 + (1 RLC ) s + 1 LC LC , Qp = RL C L
p = 1
For L = 100 mH , C = 0.1 F , RL = 10 k , Q p = 10
For L = 100 mH , C = 0.1 F , RL = 2 k , Q p = 2
For L = 100 mH , C = 0.1 F , RL = 707 , Q p = 0.707 For L = 100 mH , C = 0.1 F , RL = 500 , Q p = 0.5
18
Gain Response
40
20
-20
-40
-60
-80
-100 100 2 10
10
10
10
10
19
Frequency in rad/sec
Phase Response
0 -20
-40
-60
-80
-100
-120
-140
-160
-180 180 2 10
10
10
10
10
20
Frequency in rad/sec
s2 H ( s) = 2 s + (1 RLC ) s + 1 LC
Vo
RL
p = 1
LC ,
Qp = RL
C L
40
20
-20 20
-40
-60
-80
-100 2 10
10
10
10
10
22
Frequency in rad/sec
180
160
140
120
100
80
60
40
20
0 2 10
10
10
10
10
23
Frequency in rad/sec
Effect of Qp
RL L ) s ( z = 2 H (s) = 2 s + ( RL L ) s + 1 LC s + p Qz s 2 Qp s + p
p = 1
Qp =
1 RL
Gain Response
0
-10 10
-20
-30
-40
-50
-60 2 10
10
10
10
10
25
Frequency in rad/sec
Phase Response
100 80 60 40
10
10
10
10
26
Frequency in rad/sec
Bandstop pfunction
Rs L C RL
Vi
M.A.J.U.
Vo
Vi
RL
Vo
s 2 + 1 LC ) ( RL H ( s) = RL + Rs s 2 + ( Rs || RL L ) s + 1 LC
H ( s) =
s 2 + (1 RLC ) s + 1 LC
(s
+ 1 LC )
p = z = 1
LC ,
Qp =
1 Rs || RL
L C
p = z = 1
LC ,
Q p = RL
C L
27
C
H ( s) =
Vi
s 2 + (1 RLC ) s + 1 LC
(s
+ 1 LC )
RL
Vo
p = z = 1
LC ,
Q p = RL
C L
28
Phase Response
0 -10
-20
-30
-40
-50
-60
-70 70 2 10
10
10
10
10
29
Frequency in rad/sec
Phase Response
100 80
60
40
20
-20
-40
-60
-80
-100 2 10
10
30
Frequency in rad/sec
10
10
10
H (s) = H 0
s2 +
z2 p
Qp
M.A.J.U.
2 s + p
31
fp andQ(Highpass)
H ( s) = H 0
s +
2
s2
2 s + p
M.A.J.U.
Qp
32
fp andQ(Band ( p pass) )
H ( s) = H 0
s2 +
Qz
s
2 s + p
M.A.J.U.
Qp
fH fL
M Riaz, EE, MAJU
fp andQ(Bandstop)
H (s) = H 0
s 2 + z2 s +
2
M.A.J.U.
Qp
2 s + p
34
M.A.J.U.
35
fp andQ(Notchfilter)
M.A.J.U.
NotchFilterWidthversusFrequencyforVariousQValues
36
(Notchfilterp ( phaseResponse) p )
M.A.J.U.
37
DelayEqualizer(Allpassfilter)
s2 H (s) = H 0 s2 +
M.A.J.U.
z p
Qp Qz
s + z2
2 s + p
38
Assignment 31:
M.A.J.U.
For the following circuits: Find (a) the transfer functions functions. (b) the pole-zero plot in splane. (c) Magnitude Plot. (d) Phase Plot on the semilog graph paper. (e) compute 3 dB down frequency and show it on the plot. Also show brief detail of your calculations.
40form F otherwise you will be marked as absent. personally in original 5 mH
Important: You have to show the work in the next class (22-05-13) 40 F
5 mH
Vi
10
Vo
Vi
10
Vo
5 mH
40 F
Vi
40 F
10
Vo
Vi
5 mH
10
Vo
39
Filter Approximations
Filter specifications are approximated by using some welldescribed rational functions. The roots of the functions have been tabulated. tabulated The most popular approximations are: Butterworth, Chebyshev, Bessel, , Elliptic (or Cauer) types. These approximations are directly applicable to low low-pass pass filters. High-pass, band-pass, and band-reject filters are realized b using by i f frequency t transformation f ti from f low-pass l f function. ti
40
Butterworth Filters
H (s) =
2
M.A.J.U.
Gain function
2 A ( ) = 10 log 1 + p
2n
dB
n=
41
Example:
Find order for Butterworth filter for the following low-pass specifications: Wp=1000 rad/sec, Ws=1100 rad/sec, Amax=0.1 dBs, and Amin = 25 dBs Solution: n=log10((10^2.5-1)/(10^.01-1))/(2*log10(1100/1000)) n = 49 49.9049 9049 n=50, very high order because transition band is very narrow.
42
M.A.J.U.
= 1+ s
2n
and = 1 =0
2n
sk = e
43
j ( n + 2 k +1) 2 n
k = 0, 1, 2, " , 2n 1
Poles are on the circle because real and imaginary parts are equal.
M Riaz, EE, MAJU
M.A.J.U.
Attenuatio on (dB)
60
50
40
30
20
10
0 10
-1
10
10
10
Frequency rad/sec
44
Chebyshev Filters
(Equiripple pass band response)
H ( ) =
2
M.A.J.U.
1 1 + 2 F ( ) 2
A ( ) = 10 log (1 + 2 F ( ) 2 ) dB
= 10
0.1 Amax
1
for 1 for 1
Let the loss function L( 2 ) = 1 + 2 F ( ) 2 cos ( n cos 1 ) Let the loss function F 2 ( ) = 1 cosh n cosh ) (
45
M.A.J.U.
n=
cosh 10
0.1 Amin
cosh 1 s p
(2k + 1) 2n (2k + 1) 2n
)(
10
0.1 Amax
k = 0, 1, 2, " , n
>> [z,p,k]=cheb1ap(2,3)
k2
1 1 sinh sinh 1 n
2
k2
1 1 cosh sinh 1 n
2
=1
46
M.A.J.U.
47
M.A.J.U.
48
60
50 0
40
30
20
10
0 -1 10
(rad/sec)
10
10
49
-2
-4 10
-1
(rad/sec)
10
10
50
-20
-30
Gain (dB) G
-40
-50 50
-60
-70
-80 -1 10
10
10
-2
Gai in (dB)
-4
-6
-8
10
-1
10
(rad/sec)
10
52
53
M.A.J.U.
54
Example:
Find order for Chebyshev filter for the following low-pass specifications: Wp=1000 rad/sec, Ws=1100 rad/sec, Amax=0.1 dBs, and Amin = 25 dBs Solution: n=acosh(((10^2.5-1)/(10^.01-1))^.5)/(acosh(1100/1000)) n = 12.2858 n=13, much less than Butterworth filter (at the expense of equiripple n=13 response in pass-band) but still high.
55
M.A.J.U.
1 1 + 2 T (1 )
2
A ( ) = 10 log 1 + 2 T (1 )
dB
= 10
1
0.1 Amax
56
M.A.J.U.
(2k 1) 2n
(2k 1) 2n
k = 0, 1, 2, " , n
1 100.1 Amin 1
57
M.A.J.U.
58
T ( s) =
(s
60
140
120
100
80
60
40
20
-20 20 -1 10
10
(rad/sec)
10
61
-1 10
-0.9
10
-0.8
10
-0.7
10
-0.6
10
-0.5
10
-0.4
10
-0.3
10
-0.2
10
-0.1
10
62
70
60
50
40
30
20
10
10
63
MATLAB Code
w=.1:0.00001:10; s j w; s=j*w; [z,p,k]=ellipap(1,3,40) Hs1=k./(s-p(1)); [z,p,k]=ellipap(2,3,40) Hs2=k.*(s-z(1)).*(s-z(2))./((s-p(1)).*(s-p(2))); [z,p,k]=ellipap(3,3,40) Hs3=k*(s-z(1)).*(s-z(2))./((s-p(1)).*(s-p(2)).*(s-p(3))); [z,p,k]=ellipap(4,3,40) Hs4=k*(s-z(1)).*(s-z(2)).*(s-z(3)).*(s-z(4))./((s-p(1)).*(s-p(2)).*(s-p(3)).*(s-p(4))); [z,p,k]=ellipap(6,3,40) Hs6=k*(s-z(1)).*(s-z(2)).*(s-z(3)).*(s-z(4)).*(s-z(5)).*(s-z(6))./((s-p(1)).*(s-p(2)).*(s-p(3)).*(s-p(4)).*(s-p(5)).*(s-p(6))); semilogx(w 20*log10(abs(Hs1)) w 20*log10(abs(Hs2)) w 20*log10(abs(Hs3)) w 20*log10(abs(Hs4)) w semilogx(w,-20*log10(abs(Hs1)),w,-20*log10(abs(Hs2)),w,-20*log10(abs(Hs3)),w,-20*log10(abs(Hs4)),w,20*log10(abs(Hs6)));grid minor
64
Example:
Find order for Elliptic filter for the following low-pass specifications: wp=1000 rad/sec, Ws=1100 rad/sec, Amax=0.1 dBs, and Amin = 25 dBs Solution: [N,wp]=ellipord(1000,1100,0.1,25,'s') N = 6, reasonable order but at the expense of equiripple response both in pass and stop-bands.
65
50
Attenuatio on (dB)
40
30
20
10
0 10
1
10
10
(rad/sec)
10
66
-0.04 10
1
10
0.05
0
-10
-20
-30
-0.05
-40
-0.1
-50
-60
10
-1
10
10
-0.15 10
-1
10
67
LPP
= LPP
LPP
YC = CPP s s =
= CPP
CPP
CPP
68
Z L = LPP s s =
p
s
= LPP
p
s
(1 L
LPP p
PP
p ) s
YC = CPP s s = p = CPP
s
p
s
1 CPP p s
1 CPP p
69
(L
PP
2 0
LPP B
2 B ( LPP0 )
CPP B
70
B
2 CPP0
Bs
2 s 2 +0
2 B LPP0
= LPP
Bs = 2 2 s + 0
1 1 LPP B s+
(B L
1
2 PP 0 ) s
1 LPP B
YC = CPP s s =
Bs
2 +0
= CPP
Bs = 2 2 s + 0
1
1
2 PP 0 ) s
CPP B
ZC =
71
s+
(B C
CPP B
2 B CPP0
CPP B
s+
2 B C ( PP 0 ) s
Design procedure
1. specify the filter requirements. 2 Select 2. S l t approximation i ti t type according di t to th the application. 3. Determine the order of the filter. 4. Find transfer function for low-pass prototype (LPP) filter. 5 Find input or output deriving point impedance. 5. impedance 6. Use frequency transformation to transform the LPP filter according to the desired specifications. 7 Use 7. U magnitude it d scaling li t to achieve hi th the i impedance d matching.
72
M.A.J.U.
35 dB 0.5 dB
35 dB
1000
1500
2000
3000
rad / sec
log scale
73
M.A.J.U.
Solution: Convert the specification into LP prototype Wp=1 Ws=(w2-w1)/(w4-w3)=(3000-1000)/(2000-1500)=2000/500=4 Determine the Butterworth order.
100.1 Amin 1 log 100.1 Amax 1 2log s p
n=
= 3.58
n=4
The LP p prototype yp requirements q are shown in the next slide.
74
M.A.J.U.
A( ) dB
35 dB 0.5 dB
rad / sec
log scale
75
Poles, transfer function and reflection M.A.J.U. coeff. of normalized LP p prototype yp filter j ( n + 2 k +1) 2 n k = 0, 1, 2, " , 2n 1 sk = e , j (5 + 2 k ) 8 k = 0, , 1, , 2, , ", 7 s =e ,
T ( s) =
2
s e j5
)(
s e j7
)(
s e j9
)(
s e j11 8
)(
s e j 3
)(
s e j
)(
s ej
)(
s e j3
1 s8 + 1
T ( s) T ( s ) =
s e j5
)(
s e j 5
)(
1
s e j7
)(
s e j 7
)(
s ej
)(
s e j
)(
1 s e j3
8
)(
s e j 3
T ( s) T ( s) =
T ( s) =
(s
The deriving point impedance and the circuit f LP prototype for t t filter filt is i shown h
1 ( s) 2.61313s3 +3.41422s 2 +2.61313s+1 Z11 = = 4 1 + ( s ) 2s + 2.61313s3 +3.41422s 2 +2.61313s+1
M.A.J.U.
77
M.A.J.U.
L2 = 1.8478 H
L4 = 0.7654 H
C1 = 0.7654 F
C3 = 1.8478 F
78
Frequency transformation
M.A.J.U.
TBP ( s ) = TLPP ( s) s = s
2 s 2 + 0 C = 1 s+ Y1 = C1s = C1 Bs B
2 +0
Bs
1 B C1
2 0
2 s 2 + 0 L = 2 s+ Z 2 = L2 s = L2 Bs B
1 B L2
1 B
2 C30
= ( 3.6956 mH ) s + s
= ( 3.6956 mF ) s + s
= (1.531 mH ) s +
1 ( 90.2 F ) s
1
2 0
2 s 2 + 0 C = 3 s+ Y3 = C3 s = C3 Bs B
( 90.2 H ) s
2 s 2 + 0 L Z 4 = L4 s = L4 = 4 s+ Bs B
1 B
2 L40
1 ( 217.75 F ) s
M Riaz, EE, MAJU.
79
The band p pass filter with normalized terminations ( (one ohm) is shown
M.A.J.U.
3.6956 mH
90.2 F
217.75 H 1.531 mF
217.75 H
1.531 mF
3.6956 mH
90.2 F
80
M.A.J.U.
Impedance Scaling
Increase the impedance of each element by multiplying the resistors and inductors, inductors and dividing the capacitors by 75 75.
75
0.277 H
1.2 F
16.33 mH
20.4 F
16.33 mH
20.4 F
0.277 H
1.2 F
75
Final Circuit
81
Components C t values l f for normalized li d Butterworth filter with equal input and output t terminations i ti
Lk or Ck 2k 1) ( = 2sin , 2n k = 1, 2, ......, n
82
M.A.J.U.
n= n=
cosh 1 10
0.1 Amin
cosh h 1 s p cosh
1
)(
10
0.1 Amax
10 (
0.135
) (10
0.10.5
cosh 1 ( 4 )
= 2.74 2 74
n=3
0.71570 T ( s) = 2 ( s + 0.62646 + 1.14245) ( s + 0.62646 )
83
M.A.J.U.
84
M.A.J.U.
L2 = 1.2804 H
C3 = 1.8636 F
1
C1 = 1.8636 1 8636 F
The frequency and the impedance scaling is similar as in case of Butterworth filter design and complete the design yourselves.
85
Components values for normalized Chebyshev filter with equal input and output terminations
1 1 cosh 1 n ( 2k 1) , k = 1, 2, ......, n Ak = sin 2n A = ln coth max 17.37 A=
Y = sinh
2
2n
2
86
Components values for normalized 3rd order Chebyshev filter (using formulae of previous slide with equal input and output terminations
= 100.1 A 1 = 0.3493
max
87
1 1 1 1 1 1 = cosh = 0.570978 A = cosh 3 0 3493 0.3493 n 2k 1) ( = sin = 0.5, A2 = 1, A3 = 0.5 A1= sin 2n 6 A 0.5 = ln coth max = ln coth = 3.5481679 17.37 17.37 3.5481679 Y = sinh i h = sinh i h = 0.6264363529 0 6264363 29 2n 6 k 2 2 = 0.6264363529 + sin B1 ,B2 =Y 2 + sin 2 = 1.1424225 n 3 2 0.5 cosh 0.570978 G1 , G3= = 1.86369 0.6264363529 4 A1 A2 cosh 2 A 4 0.5 1 cosh 2 0.570978 G2 = = = 1.28038 B1G1 1.1424225 1.86369
Assignment # 04
M.A.J.U.
15 dB 1 dB
15 dB
3.74
3.742
3.778
3.78
88
Assignment # 04 (cont.)
with the following specifications. Rs=RL=1000 ohm
A( ) dB
M.A.J.U.
1 dB
35 dB
1 dB
100
200
400
800
rad / sec
log scale
89
Assignment # 04 (cont.)
Problem 03:
M.A.J.U.
A high-pass Butterworth filter must have at least 45 dB of attenuation below 300 Hz, and the attenuation must be no more than 0.5 dB above 3000 Hz. Find the approximation function and design the complete filter with Rs=RL=1500 ohm.
Problem 04:
A low-pass filter requirement is specified by Amax = 1 dB, Amin = 35 dB, Fp = 1000 Hz, Fs = 3500 Hz. Find the Butterworth approximation function, needed and design g the complete p Filter.
90