Optimal and Adaptive Filtering
Murat Üney
M.Uney@ed.ac.uk
Institute for Digital Communications (IDCOM)
26/06/2017
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 1 / 69
Optimal and Adaptive Filtering Murat ney M.Uney@ed.ac.uk Institute - - PowerPoint PPT Presentation
Optimal and Adaptive Filtering Murat ney M.Uney@ed.ac.uk Institute for Digital Communications (IDCOM) 26/06/2017 Murat ney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 1 / 69 Table of Contents Optimal Filtering 1 Optimal filter
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 1 / 69
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 2 / 69
Optimal Filtering Optimal filter design
Linear time invariant system Observation sequence Estimation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 3 / 69
Optimal Filtering Optimal filter design
Linear time invariant system Observation sequence Estimation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 4 / 69
Optimal Filtering Optimal filter design
Linear time invariant system Observation sequence Estimation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 5 / 69
Optimal Filtering Optimal filter design
Linear time invariant system Observation sequence Estimation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 5 / 69
Optimal Filtering Application examples
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 6 / 69
Optimal Filtering Application examples
◮ Prediction for anti-aircraft fire control. Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 7 / 69
Optimal Filtering Application examples
◮ Signal denoising applications, estimation of missing data points. Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 8 / 69
Optimal Filtering Application examples
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 9 / 69
Optimal Filtering Application examples
signal + received echo synthesized echo ) x
^
(n e ) n (n x ) Σ y(n) line two−wire earpiece transmitter microphone receiver filter ( transformer hybrid
Modem
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 9 / 69
Optimal Filtering Application examples
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 10 / 69
Optimal Filtering Application examples
◮ Channel equalisation in digital communication systems. Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 10 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 11 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 11 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 12 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
∞
∞
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 12 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
∞
∞
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 12 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 13 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 13 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 13 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 14 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
h h
N
h ) (n)
1
n ( y Σ
sequence { }
x { } received z-1 z-1 z-1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 15 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 16 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 16 / 69
Optimal Filtering Optimal solution: Wiener-Hopf equations
−20 20 −20 20 10 20 30 40 tap 0 MSE surface tap 1 MSE (dB)
−30 −20 −10 10 20 30 −30 −20 −10 10 20 30 tap 0 tap 1 MSE contours with gradient vectors
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 17 / 69
Optimal Filtering Example: Wiener equaliser
^
z
^
{x (n-d { ( e )} n-d x (n-d )} {x ( )} )} ( ) { η n x (n)} (n) η y(n) { } y(n) { } ( n z ( ) z ) { ) ( z) ( H H z { (n-d )} x
(b) (a) noise data data noise equaliser equaliser C channel C channel Σ Σ Σ
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 18 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 19 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 20 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 20 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 21 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 22 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 22 / 69
Optimal Filtering Example: Wiener equaliser
e’(n) y’(n) x’(n) )}
^
{x (n−d)} {x (n)} (n) η y(n) { } ( ) z ( { z) H z { (n−d)}
−d
data equaliser C channel Σ Σ x n−d e (
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 23 / 69
Optimal Filtering Example: Wiener equaliser
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 24 / 69
Adaptive filtering Introduction
Σ
Σ
. . .
z-1 z-1 z-1
sequence estimated signal training sequence impulse response error signal
adaptation algorithm
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 25 / 69
Adaptive filtering Recursive Least Squares Adaptation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 26 / 69
Adaptive filtering Recursive Least Squares Adaptation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 27 / 69
Adaptive filtering Recursive Least Squares Adaptation
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 28 / 69
Adaptive filtering Recursive Least Squares Adaptation
yy (n−1)y(n)yT (n)R−1 yy (n−1)
yy (n−1)y(n)
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 29 / 69
Adaptive filtering Least Mean Square Algorithm
1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 30 / 69
Adaptive filtering Least Mean Square Algorithm
1
h
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 31 / 69
Adaptive filtering Least Mean Square Algorithm
1
h
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 32 / 69
Adaptive filtering Least Mean Square Algorithm
1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 33 / 69
Adaptive filtering Least Mean Square Algorithm
1
(n)
h
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 34 / 69
Adaptive filtering Least Mean Square Algorithm
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 35 / 69
Adaptive filtering Least Mean Square Algorithm
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 36 / 69
Adaptive filtering Least Mean Square Algorithm
2
^ 1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 37 / 69
Adaptive filtering Least Mean Square Algorithm
1
(n)
h
y Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 38 / 69
Adaptive filtering Least Mean Square Algorithm
max Wiener
min
constant MSE contour of
2 4 6 2 4 6 tap 0 tap 1
2 4 6 2 4 6 tap 0 tap 1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 39 / 69
Adaptive filtering Least Mean Square Algorithm
system white noise white noise h(n) filter adaptive
unknown h y(n) noise shaping filter x(n) x(n) ^ Σ Σ
Optimal and Adaptive Filtering 26/06/2017 40 / 69
Adaptive filtering Least Mean Square Algorithm
200 400 600 800 1000 −80 −70 −60 −50 −40 −30 −20 −10 iterations norm (dB)
LMS RLS
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 41 / 69
Adaptive filtering Least Mean Square Algorithm
200 400 600 800 1000 −80 −70 −60 −50 −40 −30 −20 −10 iterations norm (dB)
LMS RLS
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 42 / 69
Adaptive filtering Least Mean Square Algorithm
200 400 600 800 1000 −70 −60 −50 −40 −30 −20 −10 iterations norm (dB)
LMS RLS
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 43 / 69
Adaptive filtering Least Mean Square Algorithm
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 44 / 69
Adaptive filtering Applications
◮ Adaptive line enhancement ◮ Adaptive tone suppression ◮ Echo cancellation ◮ Channel equalisation Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 45 / 69
Adaptive filtering Applications
x n (
^
) y(n (n e (n x ) ) ) unknown system adaptive lter Σ
^
(n) e Σ unknown system adaptive lter (n) x (n) y x (n)
(n) delay adaptive lter Σ y (n) x
^ (n)
x e(n)
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 46 / 69
Adaptive filtering Applications
n) x (n) e (n) ( a1 a0 a2 Σ prediction prediction error
^
x z-1 z-1 z-1 Σ signal noise
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 47 / 69
Adaptive filtering Applications
^
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 48 / 69
Adaptive filtering Applications
n) x (n) e (n) ( a1 a0 a2 Σ prediction prediction error
^
x z-1 z-1 z-1 Σ interference signal
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 49 / 69
Adaptive filtering Applications
coloured noise
n) x (n) e (n) ( a1 a0 a2 Σ prediction prediction error
^
x z-1 z-1 z-1 Σ whitened noise
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 50 / 69
Adaptive filtering Applications
Telephone A Telephone B two−wire line earpiece transmitter microphone receiver hybrid transformer hybrid transformer transmitter receiver
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 51 / 69
Adaptive filtering Applications
near end echo far end echo Telephone B Telephone A two−wire line earpiece transmitter microphone receiver hybrid transformer hybrid transformer transmitter receiver
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 52 / 69
Adaptive filtering Applications
signal + received echo synthesized echo ) x
^
(n e ) n (n x ) Σ y(n) line two−wire earpiece transmitter microphone receiver filter ( transformer hybrid
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 53 / 69
Adaptive filtering Applications
^
x ) n ( ) e n ( (n x ) Σ y(n) line two-wire earpiece transmitter microphone receiver hybrid transformer adaptive filter
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 54 / 69
Adaptive filtering Applications
) (n x ) n n- d x( ) ( y noise error Σ adaptive filter filter channel (n- d )
^
x Σ delay
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 55 / 69
Adaptive filtering Applications
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 56 / 69
Optimal signal detection Application examples and optimal hypothesis testing
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 57 / 69
Optimal signal detection Application examples and optimal hypothesis testing
Uni.
Abbot et. al.,“Observation of gravitational waves from a binary black hole merger”, Phys. Rev. Let., Feb. 2016.. Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 57 / 69
Optimal signal detection Application examples and optimal hypothesis testing
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 58 / 69
Optimal signal detection Application examples and optimal hypothesis testing
1
1
1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 59 / 69
Optimal signal detection Application examples and optimal hypothesis testing
1
1
1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 59 / 69
Optimal signal detection Application examples and optimal hypothesis testing
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 60 / 69
Optimal signal detection Application examples and optimal hypothesis testing
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 60 / 69
Optimal signal detection Application examples and optimal hypothesis testing
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 61 / 69
Optimal signal detection Additive white and coloured noise
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 62 / 69
Optimal signal detection Additive white and coloured noise
N−1
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 63 / 69
Optimal signal detection Additive white and coloured noise
> < H0
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 64 / 69
Optimal signal detection Additive white and coloured noise
5 10 15 20 25 30 35 40
0.5 1 5 10 15 20 25 30 35 40 0.5 1
30
60
90
120
150
180
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 65 / 69
Optimal signal detection Additive white and coloured noise
ν ∼ N .; 0, Cν = rν(0) rν(−1) . . . rν(−N + 1) rν(1) rν(0) . . . rν(−N + 2) . . . . . . . . . . . . rν(N − 1) rν(N − 2) . . . rν(0)
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 66 / 69
Optimal signal detection Additive white and coloured noise
5 10 15 20
✁H1
(t) (t) ✂0.04 ✂0.020.00 0.02 0.04
GPS time relative to 1 1 2 6 2 5 9 4 6 2 .4 2 4(s)
< >
(upper left) Noise (amplitude) spectral density. (upper right) Abstract, Abbot et. al., Phys. Rev. Let., Feb. 2016.. (lower left) Matched filter outputs: Best MF (blue) and the expected MF (purple). (lower right) Measurement, reconstructed and noise signals around the detection. Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 67 / 69
Summary
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 68 / 69
Summary
Murat Üney (IDCOM) Optimal and Adaptive Filtering 26/06/2017 69 / 69