CHAPTER 8: PROBLEM SHEET
Q1)
a) A second-order analogue band pass filter with an s-domain transfer function is given
by
bps (1)
H ( s)
s2 b ps p2
h
Where ωp and bp are the centre frequency and bandwidth of the filter; respectively,
ja
both expressed in rad/s. By applying the bilinear transformation to equation (1) a
digital filter with the following transfer function can be obtained:
ira
a0 a1 z 2
H ( z) (2)
1 b1 z 1 b2 z 2
Show that the digital filter coefficients are given by
a
lia ik
2 p T 2 8 4 p2T 2 2b p T
2
2b p T
a0 a1 ; b1 ; b2
4 2b p T p T 2
2
4 2b p T p T 2
2
4 2b pT p2T 2
b)
b
A digital filter with a centre frequency of 1000 Hz and a bandwidth of 150 Hz is
tra m
required. Assuming a sampling frequency of 10kHz, compute the digital filter
coefficients a0, a1, b1 & b2 and show that a0 = a1 = 0.04409115; b1 = -1.551 and b2
= 0.918176
us . A
c) Comment on the stability of the digital filter H(z) (see equation 2 above) which you
have obtained .
Ans: Filter is stable.
,A E
Q2)
a) Determine the impulse response hd[n] of the bandpass filter whose frequency
or
response is given by
j 3 3
e
H d ( ) 4 4
SW ss
0 otherwise
b) To obtain a finite impulse response from hd[n] a Bartlett window of length N = 7 is
used. Compute the coefficients of the FIR filter with this impulse response.
U ofe
Note: The Bartlett Window function is given by
2n
0n
N 1
N 1 2
Pr
N 1 where N is the length of the window.
w B n 2
2n
n N 1
N 1 2
0 otherwise
N
Ans:
( n13) sin(n 3) 34 sin(n 3) 4 n 3
hd n
1
2 n3
h[n] 0 -1/(3) 0 1/2 0 -1/(3) 0
n 0 1 2 3 4 5 6
Chapter 8 21
Q3) Design a digital filter which meets the following specifications:
Low-pass filter: 0 to 10 kHz passband
Sampling frequency: fs = 100 kHz
Transition band: 10 kHz to 20 kHz
Stopband attenuation: -10 dB(Starting at 20 kHz)
The filter must be monotonic in the pass and stop bands, (i.e. no ripple).
h
0.0675 0.1349 z 1 0.0675 z 2
Ans: H ( z )
ja
(1 1.143z 1 0.4123z 2 )
ira
Q4) Consider the following analogue system with a transfer function
H ( s) h(t ) e t
s
where (= 104 rad/sec) is the analogue cut-off frequency.
a
(a) Using bilinear transformation, show that the transfer function H(z) is
lia ik
1 a (1 a) z 1 2 T
H ( z) 1 where a
2 1 az 1 2 T
b
tra m
where a = 104 rad/sec and the sampling period T is 100 s.
(i) What is the dc gain of H(z)?
us . A
(ii) At what frequency is the H() equal to zero? ( - digital frequency).
(iii) Calculate the impulse response h[n].
(iv) Assuming that the impulse response decays to 1/e of its initial value at n = N
samples, show that:
,A E
a
ln 1
a 1
N
or
ln( a)
SW ss
U ofe
Pr
N
Chapter 8 22