You are on page 1of 14

Matched Filters

By: Andy Wang


What is a matched filter? (1/1)
A matched filter is a filter used in communications to
match a particular transit waveform.
It passes all the signal frequency components while
suppressing any frequency components where there is
only noise and allows to pass the maximum amount of
signal power.
The purpose of the matched filter is to maximize the
signal to noise ratio at the sampling point of a bit stream
and to minimize the probability of undetected errors
received from a signal.
To achieve the maximum SNR, we want to allow through
all the signal frequency components, but to emphasize
more on signal frequency components that are large and
so contribute more to improving the overall SNR.


Deriving the matched filter (1/8)
A basic problem that often arises in the study of communication systems is
that of detecting a pulse transmitted over a channel that is corrupted by
channel noise (i.e. AWGN)
Let us consider a received model, involving a linear time-invariant (LTI) filter
of impulse response h(t).
The filter input x(t) consists of a pulse signal g(t) corrupted by additive
channel noise w(t) of zero mean and power spectral density N
o
/2.
The resulting output y(t) is composed of g
o
(t) and n(t), the signal and noise
components of the input x(t), respectively.

) ( ) ( ) (
0 ), ( ) ( ) (
t n t g t y
T t t w t g t x
o
+ =
s s + =
LTI filter of impulse
response
h(t)

White noise
w(t)
Signal
g(t)
y(t) x(t) y(T)
Sample at
time t = T

Linear receiver
Deriving the matched filter (2/8)
Goal of the linear receiver
To optimize the design of the filter so as to minimize
the effects of noise at the filter output and improve the
detection of the pulse signal.
Signal to noise ratio is:




| | ) (
| ) ( | | ) ( |
2
2
2
2
t n E
T g T g
SNR
o
n
o
= =
o
where |g
o
(T)|
2
is the instantaneous power of the filtered signal, g(t) at
point t = T, and
n
2
is the variance of the white gaussian zero mean
filtered noise.

Deriving the matched filter (3/8)
We sampled at t = T because that gives you the max
power of the filtered signal.
Examine g
o
(t):
Fourier transform

}
}
=
=
=
2 2 2
2
| ) ( ) ( | | ) ( |
) ( ) ( ) (
) ( ) ( ) (
df e f H f G t g then
df e f H f G t g so
f H f G f G
ft j
o
ft j
o
o
t
t
Deriving the matched filter (4/8)
Examine
n
2
:



( ) | | ( ) | |
( ) | |
( ) | | ( ) | | ( )
( ) ( )
( ) ( )
}
}
=
=
= =
=
=
df f S R
df e f S R
R t n t n E
t n E
t n E t n E
n n
f j
n n
n
n
n
1 0
0 var
2
2
2 2
2 2
t t
t
o
o


but this is zero mean so
and recall that

autocorrelation is inverse
Fourier transform of power
spectral density
autocorrelation at 0 = t
Deriving the matched filter (5/8)
Recall:
( )
| | ( ) ( ) ( )
( )
}
}
} }
=
= = = =
=
df f H
N
df e f G f H
SNR
so df f H
N
df f H
N
R t n E
f H
N
f S
o
fT j
o o
n n
o
n
2
2
2 2 2
2
2
| |
2
| ) ( ) ( |
| |
2
| |
2
0 ) (
| |
2
) (
t
o
H(f)
filter
S
X
(f) S
X
(f)|H(f)|
2

= S
Y
(f)
In this case, S
X
(f) is PSD of white gaussian noise,
Since S
n
(f) is our output:

2
) (
o
X
N
f S =
Deriving the matched filter (6/8)
To maximize, use Schwartz Inequality.

( )
( ) < u
< u
}
}
dx x
dx x
2
2
2
1
| |
| |
Requirements: In this
case, they must be finite
signals.
( ) ( ) ( ) ( )
} } }


u u s u u dx x dx x dx x x
2
2
2
1
2
2 1
| | | | | |
This equality holds if
1
(x) =k
2
*(x).
Deriving the matched filter (7/8)
We pick
1
(x)=H(f) and
2
(x)=G(f)e
j2fT
and want to make the
numerator of SNR to be large as possible
o
o
o o
fT
fT j fT
N
df f G
N
df f G
SNR
df f H
N
df f G df f H
df f H
N
df e f G f H
df e f G df f H df e f G f H
} }
}
} }
}
}
} } }
= s
s
s
2 2
2
2 2
2
2
2 2 2 2
| ) ( | 2
2
| ) ( |
| ) ( |
2
| ) ( | | ) ( |
| ) ( |
2
| ) ( ) ( |
| ) ( | | ) ( | | ) ( ) ( |
t
t t
maximum SNR
according to Schwarz
inequality
Deriving the matched filter (8/8)
Inverse transform
Assume g(t) is real. This means g(t)=g
*
(t)
If
{ } ( )
{ } ( ) f G t g F
f G t g F
=
=
* *
) (
) (
then ( ) ( )
( ) ( ) f G f G
f G f G
=
=
*
*
for real signal g(t)
through duality
( )
( )
( )
( )
( )
( ) ( ) t T kg t h
df e f G k
df e f G k
df e e f G k t h
t T f j
t T f j
ft j fT j
=
=
=
=
}
}
}

t
t
t t
2
2
2 2
) (
Find h(t) (inverse transform of H(f))

h(t) is the time-reversed and
delayed version of the input
signal g(t).
It is matched to the input signal.
What is a correlation detector? (1/1)
A practical realization of the
optimum receiver is the
correlation detector.
The detector part of the
receiver consists of a bank of
M product-integrators or
correlators, with a set of
orthonormal basis functions,
that operates on the received
signal x(t) to produce the
observation vector x.
The signal transmission
decoder is modeled as a
maximum-likelihood decoder
that operates on the
observation vector x to
produce an estimate, . m
Detector
Signal Transmission Decoder
The equivalence of correlation and
matched filter receivers (1/3)
We can also use a corresponding set of matched filters
to build the detector.
To demonstrate the equivalence of a correlator and a
matched filter, consider a LTI filter with impulse response
h
j
(t).
With the received signal x(t) used as the filter output, the
resulting filter output, y
j
(t), is defined by the convolution
integral:
( ) ( ) ( ) t t t d t h x t y
j j
=
}


The equivalence of correlation and
matched filter receivers (2/3)
From the definition of the
matched filter, we can
incorporate the impulse
h
j
(t) and the input signal

j
(t) so that:
Then, the output
becomes:
Sampling at t = T, we get:
( ) ( ) t T t h
j j
u =
( ) ( )
}


+ u = t t t d t T x t y
j j
) (
( ) ( ) ( )
}


u = t t t d x t y
j j
The equivalence of correlation and
matched filter receivers (3/3)
So we can see that the
detector part of the
receiver may be
implemented using either
matched filters or
correlators. The output of
each correlator is
equivalent to the output of
a corresponding matched
filter when sampled at t =
T.

Matched filters
Correlators

You might also like