Signal Detection in Noise
Is the signal there, or is it just noise? This is the detection problem — and it underlies radar, communications, medical diagnostics, and spectrum sensing.
Two Hypotheses
Every detector chooses between two scenarios. H0: only noise is present. H1: signal plus noise. It computes a test statistic and compares to a threshold.
False Alarm vs. Missed Detection
- False Alarm (PFA): noise triggered the detector
- Missed Detection (1−PD): signal present but undetected
- Raise threshold → fewer false alarms, more misses
- Lower threshold → fewer misses, more false alarms
- These cannot both be minimized simultaneously
Neyman–Pearson
Fix PFA = α. Among all detectors that meet this constraint, pick the one with maximum PD. The answer is the likelihood ratio test.
Correlation is Optimal
For a known signal in white Gaussian noise, the NP optimal test statistic simplifies to the cross-correlation of the received signal with the known template.
Detection vs. False Alarm
Drag the SNR slider. The ROC curve bows toward the ideal top-left corner as SNR increases.
What the Curve Tells You
- Diagonal = random guesser (no better than chance)
- Top-left corner = perfect detector
- AUC (area under curve) → 1 is perfect, 0.5 is random
- Higher SNR → curve bows further toward top-left
- Each point on curve = one threshold setting
Integration Gain
Average N independent samples: noise variance shrinks by N, so effective SNR improves by 10 log10 N dB. GPS uses 1023 chips to gain ~30 dB — signals hidden below the noise floor become detectable.
Where It Appears
- Radar — CFAR processing, PFA ~ 10−6
- Digital comms — bit decision = binary detection
- Medical tests — sensitivity & specificity on ROC curve
- Cognitive radio — detect primary user before transmitting
- GPS — correlate PRN code below noise floor
Matched Filtering
We proved correlation is optimal for detection — next we design the filter that implements it. The matched filter maximizes output SNR at the sampling instant and is the engine behind pulse compression in radar.