C11 · Lesson 16 · Noise, averaging and lock-in detection
Pulling small signals out of large noise
A strain gauge's output is a few microvolts; the amplifier in front of it adds noise a hundred times larger. The signal is still recoverable, because noise and signal behave differently when you repeat or filter them. A repeating signal adds up coherently over many sweeps while random noise only grows as the square root, and a signal at a known frequency can be picked out with a filter far narrower than any analog circuit could make: that's what a lock-in amplifier does, and it routinely measures signals buried a thousand times below the noise.
- Each draw is one reading of a 1 mV signal buried in noise with a standard deviation of s mV. The trace is the running average of the readings so far; the dashed line is the true 1 mV.
- With s = 10 mV, a single reading is useless, but after a few hundred the average closes in. Its error shrinks as .
- Raise the noise: the average still converges, just more slowly. Ten times the noise needs a hundred times the readings.
Predict
A scope averages 100 sweeps of a repeating signal. By how much does the random noise on the display fall?
10 times, 20 dB. The signal is identical in every sweep, so it averages to itself; the noise is independent from sweep to sweep, so its average shrinks as . In power terms the SNR improves by dB.
Name it
Averaging
Averaging N independent records of a repeating signal leaves the signal and divides the noise's RMS by :
It needs a stable trigger, so every record lines up, and it can't remove noise that's synchronized with the signal.
Filtering
Random noise's power is spread over frequency, so a narrower bandwidth passes less of it: noise RMS goes as . A single-pole RC filter has an equivalent noise bandwidth of
(π/2 times its −3 dB bandwidth). With a noise density in V/√Hz, the noise is .
Lock-in detection
A lock-in amplifier multiplies the input by a reference at the signal's frequency (as in synchronous demodulation, C9.48) and low-passes the product with time constant τ. Only input near the reference frequency survives, through a bandwidth of about , which can be a fraction of a hertz, centered wherever the reference is. To use it, modulate the quantity being measured (chop a light beam, drive a sensor with AC), which also moves the measurement away from low-frequency noise and drift.
The noise you start with
A resistor's thermal (Johnson) noise is (A11): 407 nV for 1 kΩ over 10 kHz at room temperature. That sets the floor no amount of amplification can beat, only narrower bandwidth.
Worked example
A lock-in uses a 0.1 s time constant on a signal with 10 nV/√Hz of noise density. What noise does it see?
Show the solution
- Noise bandwidth.
- Noise.
- Compared with a scope. A 100 nV signal, invisible on a scope with 100 kHz of bandwidth (3.2 µV of noise), reads with an SNR of 6.
Answer it sees 15.8 nV of noise.
Worked example
How many sweeps must be averaged to improve the SNR by 30 dB?
Show the solution
- Sweeps needed. Averaging N sweeps gains dB, so
- Further gains. Each further 10 dB costs ten times as many.
Answer 1000 sweeps.
Worked example
A repetitive signal is 20 dB below the noise in a single sweep. How many sweeps must be averaged to see it with 20 dB of SNR?
Show the solution
- Improvement needed. From −20 dB to +20 dB, the SNR must rise by 40 dB.
- Sweeps needed. Averaging N sweeps gains dB, so
- How long it takes. At one sweep a millisecond that's 10 s, fine; at one a second, nearly three hours, and drift would likely spoil it first.
- Another tool. Narrowing the bandwidth (a lock-in) is often the better tool.
Answer sweeps.
Check
A repeating signal is averaged over 64 records. By how many dB does its SNR improve?
Check
How many records must be averaged to improve the SNR by 20 dB?
Check
A lock-in's single-pole filter has a time constant of 0.3 s. What is its equivalent noise bandwidth?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
An amplifier has 10 nV/√Hz of noise. How much noise appears in a 10 Hz bandwidth?
Write units the way you normally would: 1.5 nV, 1500 pV and 0.0015 µV are the same answer.
Check
What is the thermal noise of a 1000 Ω resistor at 300 K over 1000 Hz?
Write units the way you normally would: 1.5 nV, 1500 pV and 0.0015 µV are the same answer.
Check
Readings with 20 mV of noise are averaged 25 times. What noise is left on the average?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A sensor's output drifts slowly and has strong 1/f noise below 10 Hz. How can a lock-in help measure a slowly changing quantity?
Check
Averaging must improve a repetitive signal's SNR by 20 dB.
(a)
How many sweeps?
(b)
By what factor does the rms noise fall?
Check
A lock-in with a single-pole filter of time constant 0.03 s sees white noise of 20 nV/√Hz.
(a)
What is its noise bandwidth?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
(b)
What rms noise does it pass?
Explain why
Why does averaging N sweeps improve the SNR by a factor of √N in amplitude, not N?
In each sweep the signal is the same, so summing N sweeps multiplies it by N. The noise in each sweep is independent, with random signs and sizes, so in the sum it partly cancels: the variances add, giving a total noise RMS of times one sweep's. Dividing both by N to average, the signal is unchanged and the noise falls to of a single sweep's. The amplitude ratio improves by , which in power, the way SNR is quoted in dB, is a factor of N, or dB.
Practice
Keep practicing
11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.