Professional Documents
Culture Documents
Dept. of Electroscience
Exam in
ADAPTIVE SIGNAL PROCESSING (ETT042)
2005-12-16
Tid: 08.00–13.00
Sal: Kårhuset:Gasque
a) Mark Jmin , J(n), Jex (∞) and wo for the LMS algorithm in an error surface.
(0.1)
b) Convergence and tracking are two aspects of the performance of an apative
filter. Explain which of the standard LMS and standard RLS that is best with
respect to each of these aspects based on the strategy to find the optimal
solution for the two methods. (0.2)
c) What does ERLE measure and in which context? (0.1)
d) Stalling is a property of Fixpoint LMS. What does it mean and can you always
avoid it (why or why not)? (0.2)
e) Name three different block structures in which adaptive filters are typically
used together with one important thing to consider when using each of them.
(0.2)
f) Name four different adaptive algorithms together with one reason to use each
of them and one reason to not use each of them. (0.2)
2. A data sequence, p(n), that can be approximated as white with variance σp2 = 1 is
sent through a channel, c(n). The received signal from the channel is measured in
additive white noise with variance σv2 = 0.3.
a) Connect an adaptive filter for the purpose of retrieving the original signal
(training phase). Draw a blockdiagram and label all branches. What is the
adaptive structure called? (0.2)
1
b) Assume c[n] = [ 0.5 −0.8 1 ] and an (adaptive) filter length of M=2. De-
termine the optimum filter, wo and Jmin . If necessary, try different delays.
(0.5)
c) Calculate Jex (∞) if µ = 41 µmax . (0.2)
d) Illustrate how you can handle slow changes in the channel. (0.1)
3. A mobile phone that uses a sampling rate of 8 kHz for the speech without echo
cancellation suffers from severe echo problems.
a) Explain how an echo occurs in such system and present an adaptive filter
strategy (block diagram with labels) for how you can reduce the echo. (0.3)
b) Select filter order M if the network delay in each direction is 10 ms, the distance
between the phone and the head of the speaker is 2cm and the distance between
the microphone and speaker is 8 cm. The reflexion in the head is considered
to be the longest echo path. There are also shorter ones inside the phone. The
speed of sound is 340 m/s. (0.4)
c) Which algorithm would you use (and why?) and how would you set the design
parameters for that algorithm? (0.2)
d) What is the requirement for good performance if the two speakers are speaking
at the same time (double-talk situation)? (0.1)
4. The RLS algorithm is applied to adapt a two-step predictor with the input signal
d(n) = cos(2πf n + θ) (u(n) = d(n − 2)) where θ is uniformly distributed within
[−π, π] and f = 1/6. The predictor is an FIR filter with p = 2 coefficients.
d1 (n) = d(n)2s1
b T (n)u(n)]2−s2
e1 (n) = d1 (n) − [w
w(n
b + 1) = w(n)
b + 2−s3 [u(n)e1 (n)].
2
LUND INSTITUTE OF TECHNOLOGY
Dept. of Electroscience
Exam in
ADAPTIVE SIGNAL PROCESSING (ETT042)
2005-12-16
Tid: 08.00–13.00
Sal: Kårhuset:Gasque
1
d(n)=p(n-D)
z −D
e(n)
u(n) d̂(n)
p(n) c ( n) w ( n)
v(n) LMS
Channel equalizer.
(0.2)
b)
−0.8
rdu (D = 1) =
0.5
1
rdu (D = 2) =
−0.8
0
rdu (D = 3) =
1
2
For D=3,
0.3576
wo (D = 3) =
0.6525
3. a) The echo that a speaker receives is a result of leaking between the other
speakers loudspeaker and microphone. You can therefore use your own voice
to cancel the echo.
network
u(n) from microphone, subscriber A ← →
to speaker,
subscriber B
ˆ
d(n) -
- FIR
filter ?
H(z)
+
? +
room B
Σ
- adaptive
algorithm
from microphone,
subscriber B
–
to speaker, subscriber A ?
d(n)
Σ
+
e(n)
(0.3)
b) The longest echo is 2*0.010s+sqrt(22 +42 )*2/100/340=22.7
ms corresponding
to 182 taps or 22 taps if the network delays are excluded. (0.4)
c) E.g., NLMS, µ = 0.5 (0.2)
d) That the signals from the two speakers are uncorrelated. (0.1)
4.
1 π
ru (k) = cos( k)
2 3
1 1 1/2 1 1/2 1
Ru = , rdu = , wo = Ru rdu =
−1
.
2 1/2 1 2 −1/2 −1
P(0) = I, w(0) = 0.
I[1/2 1]T 4
n=1: u(1) = [1/2 1]T , g(1) = T
= [1/2 1]T .
1 + [1/2 1]I[1/2 1] 9
α(1) = d(1) − wT (0)u(1) = u(2) = −1/2,
3
2
w(1) = w(0) + α(1)g(1) = − [1/2 1]T .
9
T 1 8 −2
P(1) = P(0) − g(1)u (1)P(0) =
9 −2 5
2
n=2: u(2) = [−1/2 1/2]T , g(2) = · · · = [−20 14]T .
53
α(2) = d(2) − wT (1)u(2) = −17/18,
1
w(2) = w(1) + α(2)g(2) = [13 − 25]T ≈ [0.25 − 0.47]T (jämför med wo ).
53
5.
d1 (n) = d(n)2s1
e1 (n) = d1 (n) − [wT (n)u(n)]2−s2
w(n + 1) = w(n) + α[u(n)e1 (n)] ⇒
wo,s = 2s1 +s2 wo = 2s1 +s2 R−1 p, Filtret skalas upp!
w(n + 1) = w(n) + α u(n) 2s1 d(n) − uT (n)w(n)2−s2
= I − α2−s2 u(n)uT (n) w(n) + α2s1 u(n)d(n)