Professional Documents
Culture Documents
EECS3451 Chapter5
EECS3451 Chapter5
Topics Covered
• Filter classification
• Non-ideal filter characteristics
• Examples of CT filter
• Design of CT lowpass filters using Matlab
1
Topics Covered
• Filter classification
• Non-ideal filter characteristics
• Examples of CT filter
• Design of CT lowpass filters using Matlab
Continuous-time filters
• An ideal frequency-selective filter is a system that passes a
pre-specified range of frequency components without any
attenuation but completely rejects the remaining frequency
components.
• Filter classification:
1. Lowpass filters
2. Highpass filters
3. Bandpass filters
4. Bandstop filters
2
Characteristic of Continuous-time filters
• The transfer function of an ideal lowpass filter is:
ì A 0 £ w £ wc
H LP = í
î0 w > wc
where ωc is the cut-off frequency
3
Characteristic of Continuous-time filters
• The transfer function of an ideal bandpass filter is:
⎧A ω c1 ≤ ω ≤ ω c2
⎪
H BP = ⎨
⎪0 ω < ω c1 and ω > ω c2
⎩
where ωc1 and ωc2 are referred to as the lower cut-off and
higher cut-off frequencies
4
Topics Covered
• Filter classification
• Non-ideal filter characteristics
• Examples of CT filter
• Design of CT lowpass filters using Matlab
Passband 1− δ p ≤ H (ω ) ≤ 1+ δ p
Stopband 0 ≤ H (ω ) ≤ δ s
• The transition bands of non-zero bandwidth are included in
between the pass and stop bands of the practical filters.
Consequently, the discontinuity at the cut-off frequency of
the ideal filters is eliminated.
10
5
Non-ideal lowpass filter
H lp (w)
1+ dp
1- d p
ds
w
0 wp ws
11
1+ dp
1- d p
ds
w
0 ws wp
12
6
Non-ideal bandpass filter
H bp (w)
1+ dp
1- d p
ds2
d s1
w
0 w s1 w p1 w p 2 ws 2
13
1 + d p1 1 + d p2
1 - d p1 1 - d p2
ds
w
0 w p1 w s1 ws 2 w p 2
14
7
Cut-off Frequency
• The cut-off frequency (ωc) is defined as the frequency for
which the transfer function magnitude is decreased by the
factor 1 2 (0.7071 or -3dB) from its maximum value:
1
H (wc ) = H max
2
Activity 1
8
Activity 1 Solution
Topics Covered
• Filter classification
• Non-ideal filter characteristics
• Examples of CT filter
• Design of CT lowpass filters using Matlab
18
9
An Example of a Lowpass Filter
R
• Transfer function
+ +
1
H (w ) = x(t) C y(t)
1 + jwCR _ _
1
H (ω ) =
2
1+ (ωCR)
⎯ω⎯
=0
→ H (ω ) max = 1
èLø
• The cut-off frequency is then determined by:
1 wc R
= ¾® wc =
¾
2 æRö
2 L
wc2 + ç ÷
èLø
20
10
Bandpass filter
• A bandpass filter has two cut-off frequencies. Another
important parameter that characterizes a bandpass filter is
the center frequency ωo (or called the resonant frequency)
H(ω)
passband
A
ω1 ωo ω2 ω
• The center frequency is defined as the frequency for which
a filter circuit’s transfer function is purely real (i.e no
imaginary component).
21
R
=
⎛ 1 ⎞
R + j ⎜ω L − ⎟
⎝ ωC ⎠
11
An Example of Bandpass Filter (2)
H (w ) max = H (wo ) = 1
L C
+ +
x(t) R y(t)
_ _
23
12
An Example of Bandpass Filter (4)
• Hence:
2
⎛ 1 ⎞
⎜ω c L − ⎟
⎝ ω cC ⎠
1+ =2
R2
• The two cut-off frequencies are:
2
R æ R ö æ 1 ö
wc1 = - + ç ÷ +ç ÷
2L è 2 L ø è LC ø
2
R æ R ö æ 1 ö
wc 2 = + ç ÷ +ç ÷
2L è 2 L ø è LC ø
25
Topics Covered
• Filter classification
• Non-ideal filter characteristics
• Examples of CT filter
• Design of CT lowpass filters using Matlab
26
13
Four Types of CT Filter Implementation
• Butterworth filters
• Type I Chebyshev filters
• Type II Chebyshev filters
• Elliptic filters
27
Butterworth Filter
1
1+ dp H (w) =
w 2N
1 1+ ( wc
)
1- d p
ds
w
0 wp ws
28
14
Type I Chebyshev Filter
1+ dp
1
1- d p
ds
w
0 wp ws
29
ds
w
0 wp ws
30
15
Elliptic Filter
1+ dp
1
1- d p
ds
w
0 w p ws
31
Filter Specifications
• A set of lowpass filter specification is given by:
32
16
Steps to Design Butterworth Filter
• Step 1: Determine the order N and cut-off frequency of the
filter based on given filter specifications.
In Matlab: H=tf(num,den)
34
17
Example of Butterworth Filter Design
• Given the following specifications, design a Butterworth
filter in Matlab.
Passband: 0.8 ≤ H (ω ) ≤ 1
Stopband: H (ω ) ≤ 0.2
35
[N,Wc]=buttord(Wp,Ws,Rp,Rs,’s’)
à N=2, Wc=9.0360;
[num,den]=butter(N,Wc,’s’)
ànum=[0 0 81.6497]; den=[1.000 12.7789 81.6497];
Ht=tf(num,den)
àHt=81.65/(s^2+12.78s+81.65);
36
18
Example of Butterworth Filter Design
[H,w]=freqs(num,den);
Plot(w,abs(H));
1
0.8
0.6
0.4
0.2
0
0 5 10 15 20 25 30 35 40 45 50
37
19
Steps to Design Type I Chebyshev Filter
• Step 3: Determine the transfer function H(s) of the filter.
In Matlab: H=tf(num,den)
39
20
Steps to Design Type II Chebyshev Filter
• Step 3: Determine the transfer function H(s) of the filter.
In Matlab: H=tf(num,den)
41
21
Steps to Design Elliptic Filter
• Step 3: Determine the transfer function H(s) of the filter.
In Matlab: H=tf(num,den)
43
22