Professional Documents
Culture Documents
Yi Cheng
Fall 2014
Final Exam
Name:____________________
Score:___________/200______
1. Assume N = 8, and a sampling frequency of 1 MZ. A periodic discrete-time signal has the
|H(w)|
x(n)
h(n)
December 9, 2014
y(n)
0
0
3/8
w(radians)
Page 1
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
x(n) = an u(n)
y(n) = c an-D u(n-D)
a.
rxx(L) =
=
=
=
(assume L >=0)
rxy(L) =
=
=
+
= rxx(L + D)
c.
y(n) = c x(n-D)
ryy(L) =
=
=
2
=
= c rxx(L)
December 9, 2014
Page 2
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
3.
a. (15 points) Calculate X1(w) for an aperiodic continuous-time signal, x1(t),
x1(t)
A
=
T/3
2T/3
dx1(t)/dt
A/(T/3))
d2x1(t)/dt2
A/(T/3))
December 9, 2014
Page 3
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
-2T
$
-5T/3
-4T/3
-T
-2 T/3
-T/3
T/3
2T/3
4T/3
December 9, 2014
Page 4
5T/3
2T
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
Type equation here.
c. (15 points) Calculate X3(w) for an aperiodic discrete-time signal, x3(n) = x1(nTs),
where Ts = T/8
x3(n) = {0, 3A/8, 6A/8, A, A, A, 6A/8, 3A/8}
X3(w) = 5
= x(0) + x(1)e jw + x(2)e j2w+ x(3)e j3w+ x(4)e j4w+ x(5)e j5w+ x(6)e j6w+ x(7)e j7w
d. (15 points) Calculate X4(w) for a periodic discrete-time signal, x4(n+ mN) = x3(n), and N =
8. (Hint: Use 8-point FFT.)
December 9, 2014
Page 5
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
e.
T/2
t(second)
X2(t)
A
-1.5T
-0.5T
T/2
x3(n)
1.5T
t(second)
A
x3(n)={0, 0, 0, 0, A, 0, 0, 0, 0}
2
n
x4(n)
6 7
1
8
t
X4(n)={0, 0, 0, 0, A, 0, 0, 0, 0}
Np = 8
-12
-4 -3
1
-2 -1 0
1 2
6 7
12
December 9, 2014
Page 6
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
X1(w) =
1 dt =
A 89 :. ;< dt = Ae jw(0.5T)
(b) periodic continuous-time signal (Fourier Series)
%
ck = %
2 & dt
$
where 0 = 2/T
= %
" 8 0.5 & dt = (A/T) e jkw0(0.5T)
= (A/T) e jk
= (A/T) (-1)k
(c) Aperiodic discrete-time signal
X(w) =
3
=
"8 4
= Ae jw(4)
(d) periodic discrete-time signal using 8-point FFT
0
0
-1
-1
1
-1
-1
1
-1
-1
-1
December 9, 2014
Page 7
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
4. (40 points) Design a narrow band pass second-order IIR filter to pass a signal with a center
frequency of 2 KHz and a bandwidth of 1 KHz. (i.e. | H(2 KHz) | = 1, | H(1 KHz) | =| H(3 KHz) | =
0.707 ). A sampling frequency of 8 KHz is used.
0 = 2(2 KHz)/(8KHz) = /2 (radians)
1 = 2(1 KHz)/(8KHz) = /4 (radians)
A general transfer function for a second-order IIR filter is:
H(z) = K( z- z1)(z-z2)/[(z-p1)(z-p2)]
To design a narrow bandpass filter, or a resonator,
Choose
p1 = r ejw0
and
z1 = z2 =0
p2 = r e-jw0
K = 1 r2
|H(w= 1)| = 0.707 = |H(z= ej1)| = K/[|( 1- r ejw0 e-j1)||( 1- r e-jw0 e-j1)|]
= K/[| 1-r e-j/4 | |(1-r e-j3/4 |]
December 9, 2014
Page 8
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
(10 points) Calculate the difference equation relating output, y(n) to the input, x(n). (Hint: Inverse Z
transform).
C) calculate h(n).
h(n) = (n) (n-8)
C) Is this an FIR or IIR? It is an FIR filter, because all eight poles are at the origin.
C)is the phase of H(w) linear or not?
It is a linear phase FIR filter, because its impulse response, h(n) is symmetric with respect to its center,
n=4.
December 9, 2014
Page 9
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
e) (10 points) Use H(w) to explain the type of frequency-selective filter( e.g. low-pass, high-pass, bandpass or band-reject filter).
4 Given a discrete-time system
y(n) = a * y(n-1) + K * b * x(n-1) + K * x(n), where |a| < 1.
(a) (10 points) Calculate its impulse response, h(n).
Y(z) = a z-1 Y(z) + K * b * z-1 X(z) + K * X(z)
( 1 - a z-1 ) Y(z) = ( K * b * z-1 + K ) X(z) = K ( 1 + b * z-1 ) X(z)
H(z) = Y(z)/X(z) = K ( 1 + b * z-1 ) / ( 1 - a z-1 )
Taking Inverse Z transform of H(z) to obtain h(n)
h(n) = K an u(n) + Kb a n-1 u(n-1)
(b) (10 points) Calculate its step response.
Y(z) = H(z) X(z) = [K ( 1 + b * z-1 )/ ( 1 - a z-1 )] / ( 1 - z-1 )
= R1/( 1- a z-1 ) + R2 (1 - z-1 )
The step response is
y(n) = R1 an u(n) + R2u(n)
December 9, 2014
Page 10
ECE 306
Discrete-Time signals and systems
Yi Cheng
Fall 2014
+ sin( n + /3)
h1(n)
h2(n)
h4(n)
y(n)
h3(n)
December 9, 2014
Page 11