Ilovepdf Merged
Ilovepdf Merged
Digital Filter
Introduction:
A discrete time filter takes a discrete time input sequence x(n) and
produces a discrete time output sequence y(n).
𝑎𝑘 𝑦 𝑛 − 𝑘 = 𝑏𝑘 𝑥 𝑛 − 𝑘
𝐾=0 𝑘=0
105
28
`
Requirements: k1, w1, k2, and w2 represents the cutoff and stop-band
a) From Table (1), select the window type such that the stop-band
gain exceeds k2
wc = w1 , and = ( N 1 ) /2
d) Find h(n) from eq. (1) using the specified window type and Table
(2) .
106
29
`
107
30
`
Minimum stop-band
Window Transition Width (wt)
attenuation
Rectangular 4 /N 21 dB
Bartlett 8 /N 25 dB
Hanning 8 /N 44 dB
Hamming 8 /N 53 dB
Blackman 12 /N 74 dB
10
31
`
4. Using eq. for wHam and the value of hd(n) from Table (2) to find
h(n):
H.W: We want to design a Low Pass FIR Filter with the following
characteristics:
Passband 10kHz,
Stopband 11kHz, with attenuation of 50dB,
Sampling frequency 44kHz .Determine the causal impulse response h(n),
and an expression for the phase within the passband.
10
32
`
Table (3) summary of ideal impulse responses for standard fir filters.
110
33
`
EX: Calculate the filter coefficients for a 3-tap FIR lowpass filter with a
cutoff frequency of 800 Hz and a sampling rate of 8,000 Hz using the
Fourier transform method. AND determine the transfer function and
difference equation of the designed FIR system.
SOL:
The computed filter coefficients via the previous expression are listed as:
111
34