Professional Documents
Culture Documents
{
σ = E s − d ( x )
2
e
2
}
Theorem : Let error e = s - d
h minimizes the M SE quantity σ e2 if h is chosen such that
E {exi* } = E { xi* e} = 0 , ∀ i = 1, " , N
i.e., the error e is orthogonal to the observations xi , i = 1..., N
used to compute the filter output.
x(n)
x(n-1)
noise
w(n)
af afa f
P−1
d n = ∑h* k x n − k
k=0
How d(n) is defined specifies the operation done:
− filtering: d(n)=s(n)
− predicting: d(n)=s(n+p)
− smoothing: d(n)=s(n-p)
08/29/12 EC4440.MPF -Section 00 6
How to find hk?
{
Minimize the MSE: E d ( n ) − dˆ ( n )
2
}
P −1
∑ k x (n − k ) = h x
* H
h
k =0
h = [ h0 , hP −1 ] , x = ⎡⎣ x ( n ) , x ( n − P + 1) ⎤⎦
T T
⇒ E{ x ( n − i ) e* ( n)} = 0, ∀i = 0,..., P −1
⎧⎪ ⎡ P−1
⎤ ⎫⎪
*
E ⎨x ( n − i ) ⎢d ( n) − ∑hk x ( n − k ) ⎥ ⎬ = 0, ∀i = 0,..., P −1
*
⎪⎩ ⎣ k =0 ⎦ ⎪⎭
P−1
⇒ rxd ( −i ) − ∑hk*Rx ( k − i ) = 0, ∀i = 0,..., P −1
k =0
Matrix form:
i =0 ⇒ ⎡rdx* ( 0)⎤ ⎡ Rx ( 0) Rx (1) " Rx ( P−1) ⎤ ⎡ h0 ⎤
⎢* ⎥ ⎢ ⎥⎢ ⎥
i =1 ⇒ ⎢rdx (1) ⎥ = ⎢ Rx ( −1) Rx ( 0) " Rx ( P−2) ⎥ ⎢ h1 ⎥
⎢ # ⎥ ⎢ # ⎥⎢ # ⎥
⎢ ⎥ ⎢ ⎥⎢ ⎥
⎣ # ⎦ ⎢⎣Rx ( −P+1) Rx ( 0) ⎥⎦ ⎣hP−1⎦
= E ⎨d ( n ) ⎜ d ( n ) − ∑ hk x ( n − k ) ⎟ ⎬
*
⎪⎩ ⎝ k =0 ⎠ ⎭⎪
P −1
= Rd ( 0 ) − ∑ hk rdx ( k )
k =0
σ = Rd ( 0 ) − h r dx
2 T
emin
s(n) x(n)
filter
af
d n +
+ + -
signal
noise
w(n) e(n)
P−1
d ( n) = ∑ hk x ( n − k )
ˆ *
k =0
where σ = E d ( n ) − dˆ ( n ) ⎤ is minimum.
⎡ 2
2
⎢⎣
e ⎥⎦
smoothing:
predicting:
• W-H equations
hopt = Rx−1 r dx
*
P −1
where dˆ ( n ) = ∑ hl* x ( n − A )
A =0
d ( n) = ?
x(n+1)
e(n)
x(n) d̂ ( n ) =
d̂ ( n )
e (n) =
x(n-1)
e(n) is the error between true value x(n+1) and predicted value
for x(n+1) based on predictor inputs x(n) and x(n-1)
Æ represents the new information in x(n+1) which is not already
contained in x(n) or x(n-1)
Æ e(n) is called the innovation process corresponding to x(n)
x(n) dˆ ( n ) =
e (n ) =
x(n-1)
x(n) dˆ ( n ) =
e (n ) =
x(n-1)
s(n) x(n)
filter
af
d n +
+ + -
signal
noise
w(n) e(n)
s(n), w(n) uncorrelated
w(n) white noise, zero mean Rw(n) = 2δ(n)
s(n) Rs(n) = 2 (0.8)|n|
a =
LM + 0 . 5 OP
N 0 Q
08/29/12 EC4440.MPF -Section 00 22
08/29/12 EC4440.MPF -Section 00 23
Link between Predictor behavior & input signal behavior
1) Case 1: s(n) = process with correlation
Rs (k ) = δ (k ) + 0.5δ (k − 1) + 0.5δ (k + 1)
Rs (k ) = a|k | , | a |< 1
Investigate performances of predictor as a function of changes in a
R anf = 2a0.5f
n
s(n) = process with w
R anf = 2a0.5f
n
and s(n) and w(n) uncorrelated w
2
e {
σ = E d (n) − h x H 2
} = E {( d ( n ) − h
)( H
x d (n) − h x
H
)}
*
= Rd ( 0 ) + h E { xx } h − 2 Real ( h r )
H H T
dx
σ e2 = Rd ( 0 ) + hT Rx h − 2 hT r dx
( )
*
= x
H H
h x h
d (n ) h x = h d (n ) x
H H
σ = Rd ( 0) + h ( 0) Rx ( 0) − 2h ( 0) rdx ( 0)
2 2
e
σe2
σe2min
h ( 0)
hopt ( 0)
h = ⎡⎣ h ( 0 ) , h (1) ⎤⎦ ; x = ⎡⎣ x ( n ) , x ( n − 1) ⎤⎦
T T
σ e2 = R d ( 0 ) + h T R x h − 2 h T r d x
⎡ R x (0 ) R x (1 ) ⎤ ⎡ h (0 ) ⎤
= R d ( 0 ) + ⎣⎡ h ( 0 ) , h (1 ) ⎤⎦ ⎢ ⎥ ⎢ h (1) ⎥
⎣ R x (1 ) R x ( 0 )⎦ ⎣ ⎦
⎡ rd x ( 0 ) ⎤
− 2 ⎡⎣ h ( 0 ) , h (1 ) ⎤⎦ ⎢ ⎥
⎣ rd x (1 ) ⎦
⇒ σ = A 0 h ( 0 ) + A1 h (1 ) + A 2 h (1 ) + A 3 h ( 0 )
2 2 2
e
+ A 4 h ( 0 ) h (1 ) + R d ( 0 )
σ = R d ( 0 ) + h R x h − 2 h r dx
2 T T
e
shape of σ edepends on Rx information: λ(Rx) & eigenvectors
2
moves σ up and
2
e
∂σ e
down
= 2 Rx h − 2r dx
∂h
Rx: specifies shape of σe2 ( h)
rdx: specifies where the bowl is in the 3-d plane but
doesn’t change the shape of the bowl
R x h = r dx
Rd(0): moves bowl up and down in 3-d plane but
doesn’t change shape or location of bowl
eigenvalues of Rx
⎧1 − a
(1 − λ ) − a 2 = 0 ⇒ λ=⎨
2
⎩1 + a
eigenvectors
⎛1 − λ a ⎞ ⎛ u11 ⎞
⎜ ⎟⎜ ⎟=0
⎝ a 1 − λ ⎠ ⎝ u12 ⎠
⇒ (1 − λ ) u 1 1 + a u12 = 0
λ1 = 1 − a ⇒ ( 1 − 1 + a )u 11 + a u12 = 0
⎡ 1⎤
⇒ u11 = − u12 ⇒ u1 =⎢ ⎥
⎣−1⎦
⎡1 ⎤
λ2 = 1 + a ⇒ u2 = ⎢ ⎥
⎣1 ⎦
08/29/12 EC4440.MPF -Section 00 41
Error surface shape and eigenvalue ratios
a=0.1 a=0.99
a=0.5
Questions:
1) Assume v(n) = 0 & D=0. Identify the type of filter (FIR/IIR)
needed to cancel channel distortions. Identify resulting H(z)
2) Identify whether the equalization filter is causal and stable.
3) Assume v(n) = 0 & D≠0. Identify resulting H2(z) in terms of H(z).
Delay D
d(n) = s(n-D)
s(n) z(n) dˆ ( n ) +
W(z) H(z) −⊕ e(n)
Delay D
d(n) = s(n-D)
s(n) z(n) dˆ ( n ) +
W(z) H2 (z) −⊕ e(n)
Compute the FIR Wiener filter of length 2 and evaluate filter performances
Information Available:
K
s(n)+w(n) & v(n)+Ks(n)
x(n) = v(n) + Ks (n)
Transformation
White Of white noise Wiener d (n) Assumption: w(n) is
noise into correlated filter stationary, zero-mean,
source noise
w(n) uncorrelated with s(n).
A(z) v(n)
x1(n)
s(n)
v1(n) d (n)
x1(n)
±1 x2(n)
BPSK Filtering
v2(n) x2(n)
Noisy
received
signals
Array
steering
vector
2
w a (θ )
H
Aw (θ ) = H
w w
08/29/12 EC4440.MPF -Section 00 62
Application to Spatial Filtering, cont’
Did we gain anything by using multiple receivers?
Assumption: v(n) zero mean RP
s(n) independent of s(n).
x(n) Filtering
Process Goal: Compute filter
±1
coefficients, filter output, and
BPSK v(n)
MMSE.
Proof: {
ξ = E s − d ( x )
2
}
= E {( s − d ( x ) ) ( s − d ( x ) ) }
T
Define (
L s , s ( x ) ) : loss function
ξ = ∫∫ L ( s , d ( x ) ) f ( s x ) f ( x ) d x d s ,
M
B a y e s R u le
= ∫ ⎡ ∫ L ( s , d ( x ) ) f ( s x ) d s ⎤ f ( x ) d M
x
⎣
⎦N
≥0
K
Note:
∂2K
∂ d
2
= ( − 2) ∂ (∫ ( s − d ) )
( x ) f ( s x ) ds / ∂ d
= ( − 2) ∫ − f ( s x ) ds
=(2) × 1 > 0
( )
H
e = s − h x = s − h + h − h
H
x
where h is the weight vector defined so that the orthogonality principle
holds. Resulting error is called
e = s − h x
H
{ } ⎧
= E ⎨⎜⎛ s − h x + h − h ( ) x ⎟⎞ (
⎫
H
)
H
σ e2 = E e
2 H
⎬
⎩⎝ ⎠ ⎭
⎧
= E ⎨ ⎜⎛ e + ( ) x ⎟⎞ (
⎫
H
h − h )
H
⎬
⎩⎝ ⎠ ⎭
⎧2 ⎫
( ) ( ) ( )
H H 2
= E⎨e + h − h
x e + h − h
H
+ e xx
H
h − h ⎬
⎩ ⎭
{ }( ) { } ( ) ⎧
{ ⎫
} ( h − h )
2 H H 2
= E e + h − h E x e x ⎬ + E e x
H
+E⎨ h−h
H
⎩ ⎭
= E { e } = E {( s − h x ) e } = E {s e } − h E { x e }
2 H H H H H
{ } { }
= E s e
H
= E s e
*