S16 · Lesson 31 · Noise spectra and detecting signals
Spectrum level and band level, octave and third-octave bands, adding band levels, detection as a choice between two overlapping distributions, the detectability index and receiver operating characteristics, and the detection thresholds of correlation and energy detectors
A sonar operator listens for a faint propeller in the roar of the sea; a technician listens for a bearing's whine in a factory; your ear picks out a voice at a party. Each is the same problem: decide whether a signal is present in noise, accepting some chance of missing it and some chance of a false alarm. How much signal does detection take, and why does knowing exactly what you're listening for help so much?
- The detector's output with noise alone and with signal plus noise are two bell curves one detectability index d′ apart (in units of their spread). Any threshold trades false alarms for detections.
- The curve is the receiver operating characteristic (ROC): probability of detection against probability of false alarm as the threshold sweeps. The dot is the operating point at the threshold you set.
- Larger d′ bows the curve toward the top-left corner, where detection is near certain with few false alarms. At d′ = 0 the curve is the diagonal: guessing.
Predict
A noise has a pressure spectrum level of 40 dB (re 20 µPa in 1 Hz), flat with frequency. What's its level in the octave band centered on 1 kHz?
The octave band at 1 kHz runs from 707 to 1414 Hz, 707 Hz wide. Each hertz contributes the same power, so the band level is 40 + 10 log 707 = 68.5 dB. A band level is always a spectrum level plus ten times the log of the bandwidth.
Name it
Spectrum level and band level
For a noise, the intensity is spread over frequency with a spectral density 𝓘 (watts per square meter per hertz). Its decibel measure in a 1 Hz band is the intensity spectrum level ISL, or in pressure terms the pressure spectrum level PSL. Over a band of width w where the spectrum is flat,
Analyzers use constant-bandwidth filters or proportional bands with a fixed ratio of edge frequencies: octave bands () and third-octave bands (), centered at the geometric mean . An octave band is wide, a third-octave band . Band levels combine by adding intensities: .
Detection as a decision
Each observation produces a number, and the detector compares it with a threshold. With noise alone the number is spread around one mean; with a signal present, around a higher mean. For Gaussian spreads of equal width σ, the separation in units of σ is the detectability index d′. A threshold x (in units of σ above the noise mean) gives
The receiver operating characteristic plots P(D) against P(FA) as the threshold moves. A system specified by both probabilities, such as P(D) = 0.5 at P(FA) = 0.02, needs a particular d′, here about 2.
Detection thresholds
The detection threshold is the signal-to-noise ratio, in the receiver's bandwidth w, needed to reach the required d′ after processing for a time τ:
- Correlation detection, for a signal known exactly, cross-correlates the input with a copy: , so DT = .
- Energy (square-law) detection, for a signal of unknown form, measures power: (for S/N ≪ 1 and wτ ≫ 1), so DT = .
Both improve with a longer look and a wider band, but the correlator improves twice as fast in decibels, because it adds signal coherently. The sonar equations of lesson 43 use DT as their pass mark.
Worked example
A flat noise has a PSL of 40 dB. Find its octave-band and third-octave-band levels at 1 kHz, and the total of three bands at 65, 68 and 62 dB.
Show the solution
- Octave band.
- Third-octave band. 4.8 dB lower because it's about a third as wide.
- Three bands. They add by intensity: only 2.4 dB above the loudest band.
Answer 68.5 dB in the octave band and 63.6 dB in the third-octave band, and the three bands total 70.4 dB.
Worked example
A listener must detect a tone with d′ = 2 through a 100 Hz-wide channel, observing for 0.5 s. What signal-to-noise ratio does an energy detector need, and what would a correlator need?
Show the solution
- Energy detector. For square-law detection: The signal power can be 0.28 of the noise power in the band.
- Against the spectrum level. Since the band level is the PSL plus 20 dB here, the tone must be above the noise's spectrum level.
- Correlator. A correlator, which knows the signal's waveform, needs 8.5 dB less.
- Why sonars correlate. That's Kinsler's example; it's why active sonars, which know the pulse they sent, correlate against it.
Answer an energy detector needs a signal-to-noise ratio of −5.5 dB in the band (14.5 dB above the spectrum level), and a correlator needs −14 dB.
Worked example
A noise spectrum is estimated by averaging 16 independent periodograms. How uncertain is each band's level, roughly at 95% confidence?
Show the solution
- One periodogram. A single periodogram's estimate at each frequency has a standard deviation equal to its mean (it's exponentially distributed).
- Average 16. Averaging K independent ones divides that by √K:
- Confidence interval. Two standard deviations either side, 1 ± 0.5 in power, is
- The trade. Halving the uncertainty needs four times as many averages, so analyzers trade measurement time for confidence, the same trade as an energy detector's.
Answer each band's level is uncertain by roughly +1.8 dB and −3.0 dB.
Check
A flat noise has a pressure spectrum level of 35 dB. What's its level in the octave band centered at 250 Hz?
Check
How wide is the third-octave band centered at 500 Hz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
Three bands measure 60, 63 and 65 dB. What's the overall level?
Check
A detector's threshold sits 2σ above the noise mean, and the signal shifts the mean by d′ = 1. What's the probability of detection?
Check
An energy detector needs d′ = 2 with bandwidth 50 Hz and integration time 2 s. What's its detection threshold?
Check
The same task (d′ = 2, 50 Hz, 2 s) with a correlator that knows the signal exactly. What's the detection threshold?
Check
A spectrum estimate averages 16 independent periodograms.
(a)
How far above the true level does a two-standard-deviation error reach?
(b)
How many averages would keep that upper error to 1 dB?
Check
A flat noise has pressure spectrum level P dB re 1 Hz.
Step 1
What is its level in the octave band centered at f?
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°.
Step 2
And in the third-octave band?
Explain why
Why does a correlator need a lower signal-to-noise ratio than an energy detector, and why does both detectors' threshold fall as they listen longer?
Listening longer and over a wider band gives the detector more independent samples of the noise: about wτ of them. A correlator multiplies the input by a copy of the expected signal and adds up the products. The signal's products all have the same sign and add in amplitude, while the noise's products have random signs and add only as the square root of their number, so the output's signal-to-noise ratio grows in proportion to wτ, and d′² ∝ 2wτ S/N. An energy detector doesn't know the waveform, so it squares the input and averages. The signal then raises the average power only slightly, and averaging reduces the power's fluctuation as , so d′ grows only as times S/N. In decibels the correlator's threshold falls 10 dB per decade of wτ and the energy detector's only 5.
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.