Professional Documents
Culture Documents
Digital Signal Processing: - Reading
Digital Signal Processing: - Reading
11/18/2015 1
• Reading
11/18/2015 2
1
11/18/2015
𝑦 𝑛 =𝑥 𝑛 ⊛𝑦 𝑛 = 𝑥 𝑘 ℎ[𝑛 − 𝑘]
−∞
“The purpose of digital filter design is to approximate any of the ideal frequency response
characteristics with a causal and stable digital filter that meets a specific frequency response
with low order for efficient computational complexity”
11/18/2015 3
1. Window technique
2. Frequency-sampling method
3. Optimum equiripple filters (Parks-McClellan)
11/18/2015 4
2
11/18/2015
1 c
H d ( e j )
0 c
sin c n
hd [n ]
n
11/18/2015 5
h[n ] hd [n ].w[n ]
h [ n ] 0 n M 1
h[n ] d
0 otherwise
11/18/2015 6
3
11/18/2015
h[n ] hd [n ].w[n ] H e H e W e d
1
j
j j
2
d
11/18/2015 7
h[n ] hd [n ].w[n ] H e H e W e d
j1
j j
2
d
• the spectrum of the designed filter is the result of the convolution between the
desired spectrum with the window spectrum
11/18/2015 8
4
11/18/2015
11/18/2015 9
• The rectangular window has the highest sidelobes and the narrowest
transition band
• the Blackman window has the lowest sidelobes and the widest transition band
11/18/2015 10
5
11/18/2015
11/18/2015 11
• example
• 𝑥 𝑛 = cos 𝜔1 𝑛 + cos 𝜔2 𝑛 , 𝜔1 = 0.2𝜋, 𝜔2 = 0.5𝜋. The output signal 𝑦[𝑛]
is the result of filtering 𝑥[𝑛] with FIR filter ℎ[𝑛] whose cutoff frequency
𝜔𝑐 = 0.3𝜋. Plot the spectrum of 𝑦[𝑛]
11/18/2015 12
6
11/18/2015
11/18/2015 13
11/18/2015 14
7
11/18/2015
I 0 1 n M 2 M / 2
2
w[n ] 0n M
I 0
0.1102 A 8.7 A 50
0.5842 A 210.4 0.07886 A 21 21 A 50
0 A 21
A8
M
2.285
11/18/2015 15
8
11/18/2015
11/18/2015 17
9
11/18/2015
11/18/2015 19
• Table for symmetric linear-phase FIR filter design using frequency-sampling method
11/18/2015 20
10
11/18/2015
11/18/2015 21
11/18/2015 22
11
11/18/2015
• The weighted approximation error between the desired frequency response and the
actual frequency response is spread evenly across the stopband and evenly across the
passband of the filter minimizing the maximum error.
11/18/2015 23
11/18/2015 24
12
11/18/2015
11/18/2015 25
11/18/2015 26
13
11/18/2015
• Study
– Design of FIR differentiators
– Design of Hilbert transformers
11/18/2015 27
14