S813 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S8 · Lesson 13 · The matched filter

Detecting a known pulse in white noise, the filter that maximizes the output SNR, its value 2E/N0, the correlator, and what a simple RC filter gives up

A digital receiver has one job at each symbol instant: decide which of a few known pulses was sent, despite the noise riding on it. Before deciding, it should filter, and there's a best possible filter: the one that makes the pulse stand highest above the noise at the sampling instant. It turns out to be the pulse itself, reversed in time, and the signal-to-noise ratio it achieves depends only on the pulse's energy, not its shape. Every modem, radar and GPS receiver is built around this matched filter or its equivalent, the correlator.

  • The output SNR of a simple RC lowpass filter, sampled at the end of a rectangular pulse of duration T, relative to the matched filter's 2E/N0, against the filter's time constant τ (in units of T).
  • Too short a τ lets in too much noise; too long a τ never lets the pulse build up. The best choice, τ ≈ 0.80T, still loses 0.89 dB.
  • The matched filter for a rectangular pulse is an integrator over one symbol, integrate-and-dump, which reaches 0 dB on this scale exactly.

Predict

Two pulses have the same energy, one a short tall rectangle and the other a long chirp. Which gives the higher SNR after its own matched filter in white noise?

Name it

The matched filter

For a known pulse s(t), 0 ≤ t ≤ T, in white noise of two-sided density N0/2, the filter maximizing the output SNR at t = T is

h(t)=s(T−t),SNRmax=2EN0,E=∫0Ts2(t)dt

(by the Cauchy–Schwarz inequality). Its output at t = T is E, plus noise of variance N0E/2. In frequency, H(f)=S*(f)e−j2πfT: it passes each frequency in proportion to how much of the pulse is there and lines up all the phases to peak at T.

The correlator

Sampling the matched filter at T is the same as computing ∫0Tr(t)s(t)dt: multiply the received signal by a copy of the pulse and integrate. For a rectangular pulse this is integrate-and-dump.

Practical filters

A filter that isn't matched loses SNR. For a rectangular pulse and an RC lowpass of time constant τ, sampled at T, the ratio to the matched filter is

SNRRCSNRMF=2τT(1−e−T/τ)2

at best 0.815 (−0.89 dB) with τ = 0.796T.

Worked example

A rectangular pulse of 2 V lasting 10 µs arrives in noise with N0 = 10⁻⁹ W/Hz (across 1 Ω). What SNR does a matched filter give, and what does an RC filter with τ = T give?

Show the solution
  1. Pulse energy. In V²·s across 1 Ω: E=22×10µs=40µJ
  2. Matched filter. 2EN0=2×40×10−610−9=80000=49.0dB
  3. RC filter with τ = T. It gets a fraction of that: 2(1−e−1)2=0.799=−0.97dB so 48.1 dB.
  4. RC filter with τ = 0.1T. It would lose 7.0 dB.

Answer the matched filter gives 49.0 dB and the RC filter with τ = T gives 48.1 dB.

Worked example

What's the matched filter for s(t)=sin⁡(2πt/T) on 0 ≤ t ≤ T, and what's its peak output?

Show the solution
  1. Reverse the pulse. h(t)=s(T−t)=sin⁡(2π(T−t)/T)=−sin⁡(2πt/T) That's the pulse reversed, which for this odd-symmetric pulse is its negative.
  2. Peak output. The output at T is the energy: ∫0Tsin2⁡(2πt/T)dt=T2

Answer h(t)=−sin⁡(2πt/T) on 0 ≤ t ≤ T, and its peak output, at t = T, is T/2.

Worked example

A half-sine pulse is received by an integrate-and-dump (rectangular template) instead of its matched filter. How much SNR is lost?

Show the solution
  1. Efficiency of a template. For a template w against a pulse s it's (∫sw)2∫s2∫w2
  2. Half-sine against a rectangle. For s=sin⁡(πt/T) and w = 1 on [0, T]: (2T/π)2(T/2)T=8π2=0.811
  3. In decibels. That's a loss of 0.91 dB, almost exactly the best RC filter's 0.89 dB.
  4. Why match. A correlator with the right shape costs nothing extra in hardware, which is why it's worth matching.

Answer the integrate-and-dump loses 0.91 dB (an efficiency of 0.811).

Check

A pulse has E/N₀ = 10 dB. What's the matched filter's output SNR?

Check

A rectangular pulse of 2 V lasts 1 µs (across 1 Ω). What's its energy?

Write units the way you normally would: 1.5 µJ, 1500 nJ and 0.0015 mJ are the same answer.

Check

An RC filter with τ = 0.5T is used in place of a matched filter for a rectangular pulse. How much SNR does it lose?

Check

What RC time constant gives the best SNR for an 8 µs rectangular pulse?

Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.

Check

A correlator's signal output is E = 4 (in its units). With noise density N0 = 0.01, what's the rms noise at its output?

Check

A rectangular pulse of amplitude 1 and duration 2 passes through its matched filter (integrate-and-dump, unit gain). What's the output a fraction 0.75 of the way through the pulse?

Check

A rectangular pulse of 0.5 V lasting 1 µs arrives (across 1 Ω) with N0 = 1 × 10⁻⁸ W/Hz.

(a)

What SNR does its matched filter give?

(b)

What does an RC filter with τ = 2T give?

Check

A rectangular pulse of amplitude A and duration T arrives with noise density N (one-sided), across 1 Ω.

Step 1

What is its energy?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does the matched filter's best SNR depend only on the pulse's energy, not its shape?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.