Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
5/2/2015
Overview
Comparison of FIR and IIR
Digital Signal Processing: Conversion Analog to Digital Filter
Bilinear & Impulse Invarient
IIR filter design
1
nikeshbajaj.in
Digital Signal Processing
5/2/2015
2
nikeshbajaj.in
Digital Signal Processing
5/2/2015
Butterworth Filter
3
nikeshbajaj.in
Digital Signal Processing
5/2/2015
N
c
H a ( s )= ( N 1 )/ 2
N Odd
( s+ c ) ( s 2 +b k c s+ 2c )
i=1
b k = 2sin (2k-1
2N
)
N B=
log 10
( )
p 2 1 p = 10 Ap /20
2log 10 ( s / p ) s = 10 As/20
log 10 ( s 2 1 )
N=
2log 10 ( s / c )
Compute
H(z)
Digital Compute
Filter H(s)
Analog
filter By: Nikesh Bajaj 24 By: Nikesh Bajaj
4
nikeshbajaj.in
Digital Signal Processing
5/2/2015
s 2 1
log 10
( )
p 2 1
Problems N B=
2log 10 ( s / p ) Designing Digital filter
Design Low Pass Butterworth filter to meet the following Given
Specification Convert
specifications of Digital Specification
Passband gain = 0.89 Filter of Digital
filter to
Pass band frequency edge =30Hz
Specification
Attenuation = 0.20 of Analog Compute
Stop band edge =75Hz Filter Order and
3dB freq. of
filter N, c
Compute
H(z)
Digital Compute
Filter H(s)
Analog
25 Nikesh Bajaj filter By: Nikesh Bajaj
2 1
log 10 s 2
1
NB = p
2log 10 ( s / p )
Given
Problems Specification Convert
Specification
of Digital
Filter of Digital
Design a Digital lowpass Butterworth filter to meet the filter to
Steps
following specifications, use bilinear transformation Specification
Digital Filter Design of Analog
Passband ripple < = 1.25dB
1. Normalize frequency with Fs Filter
Pass band edge =200Hz
Stop band Attenuation > = 15dB 2. prewarp -Find analog frequency
Stop band edge =300Hz 3. Find N and c of analog filter Compute
Order and
Sampling frequency = 2KHz 4. find the Transfer Function of analog filter 3dB freq. of
filter N, c
5. find transfer function of digital filter
Compute
H(z)
Compute
Digital
H(s)
Filter
Analog
27 Nikesh Bajaj filter
5
nikeshbajaj.in
Digital Signal Processing
5/2/2015
N /2
1
pN C k .
H a (s) = k =1 1+ 2 N Even
N /2
2
(s + bk p s + C k p2 )
k =1
35 Nikesh Bajaj
6
nikeshbajaj.in
Digital Signal Processing
5/2/2015
37 Nikesh Bajaj
s2 1
cosh 1
p 2 1
NC =
cosh 1 ( s / p )
1 1
3dB = pcosh cosh1
N
By: Nikesh Bajaj 41
7
nikeshbajaj.in
Digital Signal Processing
5/2/2015
cN pNC0
(N1)/ 2
2k 1
Ha(s)= N Odd C k bk = 2 yN sin
(N1)/ 2
(s+c ) (s2 +bk cs+c2 ) Ha(s)= (N1)/ 2
k=1
2N
i=1
(s+pC0 ) (s2 +bkps+Ck p2 ) 1/ N 1/ N
k=1 1 1 1 1 1
yN = 1+ 2 + 1+ 2 +
2k - 1
2
bk = 2sin 2k 1
bk = 2 y N sin
2N 2N
43 Nikesh Bajaj 44 Nikesh Bajaj
Problems Problems
Design Chebyshev filter with pass band frq =1.5KHz stop MAKE sure to understand term
band frequency =6KHz passband ripple =0.9 stop band
ripple =0.01 Design DIGITAL Filter
Design digital filter satisfying above specifications for Design ANALOG Filter
sampling frequency of 20KHz
Try Designing filters with and Notice the change
Steps are different in both cases
p =0.8 p = 1000 s =0.1 s 3000
See both kind of example in Proakis at end of
p =0.8 p = 1000 s =0.1 s 2000
book. Example 24 and 25 pg : 1112-1116
p =0.8 p = 1000 s =0.1 s 1.500
8
nikeshbajaj.in
Digital Signal Processing
5/2/2015
Frequency Transformation
Normalized low pass filter NLPF NLPF Normalized Low Pass Filter
NLPF to Any LPF
p
NLPF to High Pass Filter
NLPF to Band Pass
NLPF to Band Reject s
s
Q s 2 02 Digital filter
NLPF to Band Pass S Compute
0s H(s) of
Frequency
Transformation Normalized
0s Compute
NLPF to Band Reject S H(z) Lowpass
Q s 2 02 Digital
Compute H(s)
of De-
Analog filter
Filter normalized
Analog Filter
53 By: Nikesh Bajaj Nikesh Bajaj
9
nikeshbajaj.in
Digital Signal Processing
5/2/2015
Problems
Determine Order and Poles of Low pass Butterworth filter
for that has -3dB bandwidth at 500Hz and attenuation of 40
dB at 1000Hz
Convert same filter to Digital filter using Bilinear Method
with sampling frequency of 4KHz
10
nikeshbajaj.in