Examination Paper For TTT4120 Digital Signal Processing
Examination Paper For TTT4120 Digital Signal Processing
Department of Electronics and Telecommunications
Other information:
• The examination consists of 4 problems where
– problem 1 concerns LTI systems
– problem 2 concerns digital filters
– problem 3 concerns filter realization
– problem 4 concerns signal generation
• Weighting of each sub-problem is given in parenthesis at the start of each problem.
• All problems are to be answered
• Grades will be announced 3 weeks after the examination date.
Language: English
Total number of pages: 9
Of this, number of enclosure pages: 1
Checked by:
Date Signature
Note! Students will find the examination results in Studentweb. If you have questions about your results, you
must contact your department. The Examination Office will not be able to answer such inquiries.
Page 2 of 9
Problem 1 (3+3+4+2+3+4=19)
1a) Which properties need to be fulfilled in order to describe a time discrete system by its unit
pulse response h(n)?
Define the properties stability and causality using h(n).
1b) A time discrete signal y(n) is formed by processing another time discrete signal x(n). The
relationship between the signals is expressed by
Find the transfer function, H(z), of an LTI system that recovers x(n) from y(n).
1c) Find the causal unit pulse response, h(n), of the system in problem 1b.
1d) We have a stable and causal LTI system with real coefficients and transfer function
1 − βz −1
H(z) =
1 − αz −1
Define the legal region for poles and zeros in the z plane.
Sketch the region of convergence (ROC) for the system.
1e) Show that the time discrete Fourier transform (DTFT), X(f ), of a sequence x(n) has the
following properties
1f ) Suppose you have an FIR filter with real coefficients, h(n), and a finite duration real se-
quence, x(n) We shall use this filter to produce a filtered version of x(n) that has the same
phase as the original signal.
Show that the DTFT of y(n), Y (f ), has the same phase as X(f ).
Page 3 of 9
Problem 2 (2+4+2+2+3=13)
We have a linear, time invariant time discrete system defined by the difference equation:
∞
X 1
y(n) = (− )k x(n − 2k); n ≥ 0
k=0
2
2a) Calculate the 8 first values of the unit pulse response of this system.
2b) Show that the system can be implemented with the filter depicted in Figure 1.
(Hint: Start by finding y(n) for the first values of n )
2d) What are the locations of the poles and zeros of H(z) ?
Problem 3 (3+2+4+4+4=17)
3c) Show that the filter in Figure 3 is equivalent to the filter in Figure 2. Based on the filter
structure in Figure 3, find the unit pulse response of the filter, h(n).
Our filter is to be implemented in fixed point arithmetic, and we wish to ensure that we will
not have overflow in the summations, and that we have control of the round-off errors from the
multiplications.
3d) Find how we need to scale the input signal in order to avoid summation overflow in the two
filter structures of Figures 2 and 3.
Hint: If a sequence, x(n),Pincreases monotonously, such that x(n) < 0 for n < K and
x(n) ≥ 0 for n ≥ K, then ∞
P∞ PK−1
n=0 |x(n)| = n=0 x(n) − 2 n=0 x(n)
3e) Assume that the round-off error after each multiplication can be modeled as an additive
noise source with zero mean and variance σq2 .
Find the power of the total round-off noise at the output of the two filters expressed by σq2 .
Page 6 of 9
Problem 4 (2+4+2+2=10)
We are to make a causal 2nd order IIR filter with an unit pulse response that is a pure sinusoid.
For simplicity, we let the unit pulse response be a zero phase cosine function. The filter will
operate on a sampling rate of Fs = 48kHz, and the sinusoid is to have a frequency of 8kHz.
4a) Find an expression for the unit pulse response, h(n), of the filter expressed as a sum of
exponential functions. (Remember that ejω = cos ω + j sin ω)
4b) Show that the z transform of the filter’s unit pulse response is
1 − 21 z −1
H(z) =
1 − z −1 + z −2
Draw the location of poles and zeros in the z plane.
4c) What is the expression for the difference equation describing the system?
4d) Explain how a filter like this can be used as a computationally efficient signal generator for
a digital sinusoid with normalized frequency f = 61 .
Page 7 of 9
Appendix page 1 of 3
A. Sequences:
N −1
X 1 − αN
n
α =
n=0
1−α
∞ −∞
X 1 X 1
|α| < 1 ⇒ αn = and − αn =
n=0
1−α n=−1
1−α
N −1
X 1 − αN N αN
(n + 1)αn = − ; α 6= 1
n=0
(1 − α)2 1 − α
∞
X 1
|α| < 1 ⇒ (n + 1)αn =
n=0
(1 − α)2
B. Linear convolution:
X X
y(n) = h(n) ∗ x(n) = h(k)x(n − k) = x(k)h(n − k)
k k
C. Transforms:
X X
Z : H(z) = h(n)z −n ⇒ H(f ) = h(n) e−j2πnf
n n
L−1
X
DFT : H(k) = h(n) e−j2πnk/N k = 0, ..., N − 1
n=0
N −1
1 X
IDFT: h(n) = H(k) ej2πnk/N n = 0, ..., L − 1
N k=0
Page 8 of 9
Appendix page 2 of 3
X
X(f ) = X(F/Fs ) = Fs Xa [(f − k)Fs ]
k
X
Autocorrelation: rhh (m) = h(n)h(n + m) m = −∞, ...., ∞
n
X Z 2π
2
Parseval’s theorem: Eh = rhh (0) = h (n) = |H(f )|2 df
n 0
F. Multirate formulae:
D
Interpolation where Tsy = DTsv = Tsx :
X U
y(lTsy ) = h[(lD − mU )Tsv ] x(mTsx ) l = −∞, ...., ∞
m
Page 9 of 9
Appendix page 3 of 3
X
Wiener-Khintchin: Γxx (f ) = DT F T [γxx (m)] = γxx (m) e−j2πmf
m
p
X
Normal equations: ak γxx (m − k) = −γxx (m) m = 1, ..., p
k=1