Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
Introduction
Filtering of signals
Classification of filters
Introduction
Filtering of signals
X (e )
jw
x[n]e
jwn
1
x[n]
2
jw
jwn
X
(
e
)
e
dw
Jan 6, 2016
Filtered signal
Example.1
Choose frequency response of a system such that
1
H (e )
0
jw
If
for c
for c
Almost = 0
y[n] A H (e ) cos 1n (1 )
j1
Adawy
Example.2
h[n]=[ a b a]
H (e ) h[0] h[1]e
j
h[2]e
a be ae
j
j
e
j
j 2
j
j
a(1 e ) be 2a
e
be
j
(2a cos b)e
j
H (e j ) 2a cos b
H (e j 0.1 ) 2a cos(0.1) b 0
j 2
j 2
()= -
H (e j 0.4 ) 2a cos(0.4) b 1
a= -6.76195,
y[n]=h[n]*x[n]
b=13.456335
y[n]=h[0]x[n]+h[1]x[n-1]+h[2]x[n-2]=ax[n]+bx[n-1]+ax[n-2]
Jan 6, 2016
Transient
Output is
almost
equal to x2,
the high
frequency
Output of
the filter
x1
Jan 6, 2016
Classification of filters
Classification of filters as
analog or digital
Analog filters
Digital filters
Jan 6, 2016
10
Classification of filters as
analog or digital
Analog filters
Digital filters
Jan 6, 2016
Jan 6, 2016
12
Classification of filters
Based on Frequency
response
H(ej)
LPF
HPF
H(e )
H(ej)
BPF
0
Jan 6, 2016
c1 c2
c1 c2
BSF
14
Lowpass
filter
Highpass
filter
p
Bandpass
filter
Jan 6, 2016
Bandstop
filter
2
U
16
Jan 6, 2016
17
Magnitude (dB)
Amax=p
Amin=s
Passband
0
Jan 6, 2016
Transition
band
p
frequency
Stopband
18
19
20
Magnitude (dB)
Amax=p
Amin=s
Amin=s
Passband
Stopband
Jan 6, 2016
Stopband
21
Jan 6, 2016
22
Jan 6, 2016
23
Jan 6, 2016
24
Jan 6, 2016
25
Jan 6, 2016
26
Analog filter
approximations
Magnitude function
V
H ( S ) H ( j) OUT
VIN
2
1
1 K ( j )
1
1
N ( j ) 2
D ( j )
(1)
28
VIN 2
VOUT
1 K ( j) 2 1 VOUT VIN
i.e as , K ( j)
VIN 2
VOUT
1 K ( j) 2 VOUT 0
Jan 6, 2016
29
They are
1. Butterworth Polynomial
(Maximally flat approximation)
1. Chebyshev polynomial
2. Elliptic polynomials
3. Bessel Polynomials
We are going to study
Jan 6, 2016
30
Butterworth
Chebyshev Type I
Elliptic
Jan 6, 2016
Chebyshev Type II
Bessel
31
K ( S ) PN ( S )
S N
SP
N
P
or
N
C
(4)
Where
N
C
Jan 6, 2016
N
P
VOUT
1
VIN
1 C
2N
is a constant
is the operating frequency and
C is the cutoff frequency
P is the pass band edge frequency
1/ N
P
or
P 1 / N C ( 6)
32
At DC means near =0
So
1
2
2N
P
1
2
1 12 2
2N
P
2N
P
18 4
4N
P
161 6
6N
P
...
This expression shows that the first 2N-1 derivatives are zero at
=0.
Since K(S) was chosen to be an nth order polynomial this
is the maximum number of derivatives that can be made zero.
Thus the slope is as flat as possible at DC.
For this reason the butter worth approximation is also known as
the Maximally flat Approximation.
Jan 6, 2016
33
A() 10 log10 1
V
H ( j) OUT
VIN
2
dB (8)
1
1
2N
P
i.e at P
2N
P
(7)
10
1 (9)
P A( P ) 10 log10 1 2
It is the parameter related to pass band
At high frequencies the loss asymptotically approaches 20 log10 N
0.1 P
because
10 log10 1
10 log
2N
P
10
2
N
P
20 log10
N
P
0.1 S
2 S 2 N
P
S 2 N
P
i.e at S
2 S 2 N
P
10 0.1 S 1
0.1 P
10
1
S N
P
10 0.1 S 1
100.1 P 1
100.1 1
log
log10
10
0.1
1
10
1
log10
log10
S
Where
log
S
10 P
N log
10
100.1
100.1
100.1 1 (10)
S
log10
10
P
log
(11)
35
2N
1
2
(11)
36
H ( j ) H ( j ) H ( j )
Jan 6, 2016
H ( S ) H ( S )
S 2N
j
(13)
1
(14)
1 (1) N S 2 N
37
1
N=100
N=2
0.8
N=1
N=200
0.6
0.4
0.2
Jan 6, 2016
10
20
30
40
50
60
70
80
90
100
38
1 ( S 2 ) N 0 (15)
For N odd it reduces to
S 2 N 1 e j 2k S k e
2N
1 e
j ( 2 k 1)
j Nk
(16)
Sk e
j ( 2 kN1)
(17)
Sk e
Jan 6, 2016
j 2
2 k NN 1
for
k 1,2,...,2 N (18)
39
1
(19)
(
S
S
)
Im
Z-Plane
Jan 6, 2016
r
Re
40
Example.3
S3 e
23
33
e j cos j sin 1
j 43
4
4
cos
Im
Z-Plane
1
1
H (S )
1
1
2
2
( S 0.5) ( j 0.866) S 1 ( S S 0.25 0.75)( S 1)
H (S )
Jan 6, 2016
Re
1
( S 1)( S 2 S 1)
41
78
S2 e
S3 e
S4 e
58
98
Z-Plane
cos
H (S )
Im
1
( S 0.3827) ( j 0.9239) ( S 0.9239) 2 ( j 0.3827) 2
H (S )
r
Re
1
( S 2 0.76536 S 1)( S 2 1.84776S 1)
Jan 6, 2016
42
Denominator of H(S)
(S+1)
(S2+2S+1)
(S+1) (S2+S+1)
(S2+0.76537S+1) (S2+1.84776S+1)
(S2+1.931855S+1)(S2+2S+1) (S2+0.51764S+1)
Jan 6, 2016
43
44
Jan 6, 2016
45
VOUT
1
H ( j )
VIN
1 2C N2
2
Where
and CN
C N ()
1
cosh(
N
cosh
)
passband
stopband
(2)
as
Jan 6, 2016
C N 1 () 2C N () CN 1 () (3)
46
C0 ( ) 1
and
C1 ()
Then from
C N 1 () 2C N () C N 1 ()
C2 () 2C1 () C0 () 2 2 1
C3 () 2C2 () C1 () 2 2 2 1 43 3
C4 () 2C3 () C2 () 2 43 3 2 2 1 8 4 8 2 1
C5 () 2C4 () C3 () 2 8 4 8 2 1 43 3 165 20 4 5
Jan 6, 2016
47
Jan 6, 2016
48
C N () for N odd
C N ( )
C N () for N even
2.
0 for N odd
C N ( 0)
(1) for N even
3.
CN (1) 1 for
all N
1 for N odd
4. CN (1)
1 for N even
5. C N () oscillates with equal ripple between 1 for 1.
6. For all N 0 C N () 1 for 0 1 and C N () 1 for 1
7. CN () is monotonically increasing for 1 for all N .
8. Every coefficient is an integer and the one associated with N
is 2 N 1.
Jan 6, 2016
49
Chebyshev Type-I
Jan 6, 2016
50
VOUT
1
H ( j )
VIN
1 2CN2
2
A
(
10
log
1
C
1
10
log
1
P
P
10
N
10
2
2
A
(
10
log
1
S
S
10
N
S
P
100.1 1 (5)
P
10 log 1
10
cosh 2 N cosh 1 ( )
S
100.1 1
100.1 1
2
1
1
1
cosh N cosh ( ) N cosh ( ) cosh
2
100.1 1
S
100.1 S 1
1
cosh
cosh
0.1 P
10
1
(6)
N
cosh 1 ( PS )
cosh 1 PS
Jan 6, 2016
51
A() 10 log10 1
2 S 2 N
P
10 log
2 S 2 N
P
10
20 log I
But for
S
P
A() 20 log10
S N
P
S
P
10 log C 20 log C II
2
10
N 1 S N
P
S
N P
A() 20 log10 C N
S N
P
10
A() 10 log10 1 2C N2
20 log
10
2
N
S
P
10
S
P
III
N 1 S N
P
20 log
10
S N
P
S
P
20 log10 2 N 1
6( N 1) IV
52
H ( j ) H ( j ) H ( j )
1
1 2C N2 ()
j
2 2
1 C N () 0 C N ()
Where
further
Jan 6, 2016
k
k
1 1
1 1
1
1
sinh
sinh
(
)
cosh
sinh
( )
N
N
1
53
cosh N1 sinh 1 ( 1 )
Im
Z-Plane
R
e
H ( S ) S 0
Jan 6, 2016
1
1
1 2
for N odd
for N even
sinh N1 sinh 1 ( 1 )
54
Example.5
1
10
1
1
cosh 1
cosh
0.1
0.05
cosh 1 (28.484)
10
1
10
1
N
2.293
1
1 600
1
cosh ( )
cosh ( 200 )
cosh (3)
S
Where
k sin
k cos 2 2 kN1
Jan 6, 2016
sinh
cosh
2 k 1
N
1
N
1
N
sinh ( 1 )
1
sinh 1 ( 1 )
55
H ( j) 0.1 for 4
H ( j) 1 for 0 2
H ( j) 1 for 0 p H ( j)
P 2
1
1 2
1
1 2
S 4
1
2
1
1 2
for s
1 2 1
2
0.1
10
1
cosh 1
1
1 9.95
0.1
1 2.269
cosh
cosh
10
1
cosh 1 ( )
cosh 1 ( ) cosh 1 ( 42 )
S
k=1 to 2N = 1 to 6.
56
H ( j) 1 for 0 2
1
2
Solution cont.d:
Where
1
N
H ( j) 0.1 for 4
S k k j k for k 1,2,...,2 N
Jan 6, 2016
57
k sin 2 2 k31 A
k cos 2 2 k31 B
2 cos 2 33 (1.043) 0
S1 1 j1 0.149 j 0.903
S 2 2 j 2 0.298
S3 3 j3 0.149 j 0.903
Jan 6, 2016
58
H (S )
Using
H0
H0
H0
H0
H 0 (0.298)(0.8388) 0.25 H ( S )
0.25
( S 0.298)( S 2 0.298S 0.8388)
s
C
0.25
0.25
2
H (s)
( s 0.596)( s 2 0.596 s 3.354)
Jan 6, 2016
59
Jan 6, 2016
60
of N.
1
H ( S ) S 0
for N even
1 2
5. Find the De-normalized transfer function H(s) by
replacing S with s/c.
Jan 6, 2016
61
HP, BP or BR
requirements
Equivalent
LP
Requirements
TLP (S)
T HP (s)
TBP(s)
TBR(s)
62
High pass
filter
Band pass
filter
Jan 6, 2016
Band stop
filter
U
63
p 1 and
p
s
for
HPF
.i.e.
r
s
for BPF r u2 1l
for
BRF
u l
2 1
H ( s) H (S ) S
for
HPF
for
BPF
H ( s) H (S ) S
for
BRF or BRF
H ( s) H (S ) S
Jan 6, 2016
C
s
s 2 u l
s ( u l )
s ( u l )
s 2 u l
64
Solution:
100.1 1 100.3 1 1
/ 5.533
Equivalent low pass requirements are
N
Jan 6, 2016
log10
log10
r
p
log10 5.533
2.468
log10 2
65
23
S2 e
S3 e
33
43
e j cos j sin 1
cos 43 j sin 43 0.5 j 0.866
H (S )
H (S )
Jan 6, 2016
1
( S 1)( S 2 S 1)
66
Solution:
P 1/ N C C P / 1/ N 1000 / 1 1000
H (s) H ( S ) S
( S 1)( S 2 S 1) S 1000
s
H (s)
1
2
1000
1000 1000
1
1
s
s
s
s3
H (s)
s 103 s 2 103 s 106
Jan 6, 2016
67