



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Adaptive Signal Processing Homework solutions for Chapter 6 of Widrow and Stearns
Exercise 7 on p.
What is the effect of adding a third weight to the adaptive transversal filter in Figure 6.2:
(a) On the minimum mean-square error? From equation:
2 * min P W
T ξ = E dk − (2.19) We need to find P and W
.
Using a modified equation (2.21) we can calculate P.
2 n -sin
sin
cos
1
−
n N
k n
N
k
N
Ed x
N
k
k k n
sin
sin
2
1
0
Ed x
Ed x
Ed x
Ed
k
k
k
k k
To find R (for W
) we use equation the following two equations and note the random samples are independent of each other.
2 Ex k
n E xkxkn
− = n^ = 1, 2^ (2.20) slightly modified.
cos
cos
1 2 cos
cos
cos
1 2 cos
Since answering this question for an arbitrary N and φ is too exhaustive we shall set N to
16, as the example in the book has done, and φ to 0.01. Then R and P become:
Using Matlab to obtain the inverse of R :
−
1 R
W (^) ,
Adaptive Signal Processing Homework solutions for Chapter 6 of Widrow and Stearns
and finally:
min^200.^38270.^7071
⎥
as you increase the number of weights (for this particular problem with N set to 16 and φ
set 0.01) that the minimum mean-squared error will most probably decrease. This makes sense since the adaptive filter has more degrees of freedom to adjust the input signal to the desired signal.
(b) On the misadjustment?
The misadjustment is given by:
M = μtr [ R ] (6.36)
With two weights and the same parameters as used in Figure 6.3 above we calculate R :
cos
1 2 cos
φ
π
π φ
M = 0.01 * 1.0200 = 0.0102.
For three weights:
cos
cos
1 2 cos
cos
cos
1 2 cos
φ
π π
π φ
π
π π φ
M = 0.01 * 1.5300 = 0.0153. This may seem odd at first glance, but after realizing what the misadjustment is defined as it does make sense. The misadjustment is defined as the ratio of the excess mean- square error to the minimum mean-square error. Since the minimum mean-square error has been reduced (calculated above) the misadjustment must increase. Also the excess MSE increases because there is more noise introduced into the measurement.
(c) On the learning curve?
The learning curve can be defined piece wise by the associated time constants given by:
T n L n
MSE (^) n ≈ =
For the two weight case with the above parameters we have the following eigenvalues:
Which gives us the following:
Adaptive Signal Processing Homework solutions for Chapter 6 of Widrow and Stearns
( ). 2
sin 7
cos 2
0 1 1
2 1
2 = 0 + + − +
(b) Determine a range for the adaptive gain constant.
The general rule is:
0 <μ <
tr [ R ] = 1
∴ 0 < μ < 1
(c) Express the LMS algorithm for this situation.
W k + 1 = W k + 2 με k X k (6.3)
where,
k d^ k X k W k^ (6.1)
T
1
0
7
cos 7
cos 7
sin w
k k k w k
cos
cos
cos 7
cos 7
2 sin 1
0
1
0
1 1
0 1
k
k
w
k k k w
w
w
w
w
k
k
k
k
k
k
π
π
π π π μ
cos
cos
cos 7
cos 7
2 sin 0 1 1
0
1 1
0 1 k
k k w
k w
k
w
w
w
w k k k
k
k
k
(d) Using μ =0.05 and 0.005 with zero initial conditions, run the LMS algorithm and plot
two learning curves similar to Figure 6.5 on the same graph. Estimate the two time constants.
The time constants are given by:
T n L n
MSE (^) n ≈ =
For μ =0.05 (these values have been rounded up to the nearest integer):
For μ =0.005 (these values have also been rounded up to the nearest integer):
Adaptive Signal Processing Homework solutions for Chapter 6 of Widrow and Stearns
These numbers can also be obtained by eyeballing the figure below. For example for
(TMSE) 1 when μ = 0.050 the line for the first portion of the graph is seen to decrease
approximately 7 decades in 100 iterations ( ≈ 1 decade in 14 iterations). Since a decade
is a factor of 10 or e
, a decade also represents a lapse of 2.30 time constants. Thus
(TMSE) 1 , is observed to be on the order of 14/2.30, or approximately 6 iterations. The
same can be done for the other time constants.
The figure below shows the two learning curves:
Adaptive Signal Processing Homework solutions for Chapter 6 of Widrow and Stearns
1
0
5
sin 5
sin 5
sin w
k k k w k
sin
sin
sin 5
sin 5
sin 5
1
0
1
0
1 1
0 1
k
k
w
k k k w
w
w
w
w
k
k
k
k
k
k
,
sin
sin
sin 5
sin 5
sin 5
0 1 1
0
1 1
0 1 k
k
k w
k w
k
w
w
w
w k k k
k
k
k
.
Assume that W 0 = 0.
-0.4870, 0.0859, 0.3322, 0.4395, 0.5450, 0.3812, -0.0760, -0.2691, -0.3543, -0.4386, -0.3063, 0.0617, 0.2169. .