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

A11 · Lesson 33 · Reducing noise by averaging

Trading time for precision

A single reading from a sensitive voltmeter jumps around in the last digit. Take ten readings and average them, and the average jumps around less. Take a hundred and it's steadier still, but not ten times steadier. The rule for how much averaging helps is one of the most useful in measurement, and it explains why a scope's "average" mode can pull a tiny signal out of noise much bigger than it, and why it costs time to do so.

Play

  • Each draw is the average of k readings of a true value of 2 V, each reading with Gaussian noise of σ = 0.5 V. The histogram shows how the averages scatter.
  • Raise k from 1 to 4, then to 16, then 64. How much narrower does the histogram get each time?
  • In the second sim, a weak repeating signal sits under heavy noise. The scope averages k sweeps. How many does it take before you can see the shape?

Predict

You average 4 readings instead of 1. How much smaller does the random scatter get?

Name it

Averaging

The square-root rule. The average of n independent readings, each with noise σ, has the same mean and a spread of

σavg=σn

So the signal-to-noise ratio improves by a factor of n in power: 10log10⁡n dB, or 3 dB each time you double the number of readings.

What averaging can't fix. Only random, independent noise averages away. A systematic error, like an offset in the meter or a miscalibrated reference, is the same in every reading, so it's still there in the average, however many you take. Noise that's correlated from one reading to the next, like slow drift or 1/f noise, also averages away much more slowly than 1/n.

Averaging in disguise. Many instruments average without calling it that:

  • A scope's average mode averages many sweeps point by point. The repeating signal adds up the same way each time; the noise doesn't. It needs a stable trigger, so every sweep lines up.
  • A low-pass filter is a running average. Narrowing its bandwidth by a factor n cuts white noise by n, since noise power is proportional to bandwidth (lesson 45).
  • An integrating ADC, in a good bench multimeter, averages over exactly one or more power-line cycles, so 50 or 60 Hz pickup averages to zero.
  • A lock-in amplifier multiplies by a reference sinusoid and averages, the correlation of A10.2, to recover signals buried thousands of times below the noise.

Worked example

Readings have 5 mV of noise each. What does averaging 100 of them give, and how many are needed for 0.1 mV?

Show the solution
  1. Average 100 readings. 5mV100=0.5mV
  2. Readings for 0.1 mV. You need n=50, so n=2500
  3. The cost. Five times better costs 25 times the data.

Answer averaging 100 readings gives 0.5 mV of noise, and 0.1 mV takes 2500 readings.

Worked example

A scope averages 64 triggered records. How much does the SNR improve, and what happens to a 2 mV offset in the probe?

Show the solution
  1. SNR gain. Noise power falls by 64, so the SNR improves by 10log10⁡64=18.1dB
  2. The offset. The 2 mV offset is the same in every record, so averaging keeps it: averaging only removes errors that change from record to record.

Answer the SNR improves by 18.1 dB, and the 2 mV offset stays.

Worked example

A moving average over 16 samples smooths white noise. By how much does it improve the SNR?

Show the solution
  1. Noise. Averaging 16 independent samples divides the noise standard deviation by 16=4 and leaves a slowly varying signal unchanged.
  2. SNR. The SNR in power improves 16 times: 10log10⁡16=12dB
  3. The cost. The cost is time resolution: the output responds to a step over 16 samples instead of one.

Answer the SNR improves 16 times in power, or 12 dB.

Check

Each reading has 2 mV of random noise. What is the noise on the average of 4 readings?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

How many readings must you average to make the random noise 4 times smaller?

Check

A scope averages 10 sweeps of a repeating signal. By how many dB does the SNR improve?

Check

You narrow a filter's bandwidth from 20 kHz to 1 kHz. By what factor does the white noise voltage at its output fall?

Check

A voltmeter reads 2 mV high on every measurement, plus random noise of 1 mV. You average 10,000 readings. What error remains?

Check

A moving average over 64 samples smooths white noise.

(a)

By what factor does the noise's standard deviation fall?

(b)

By how many dB does the SNR improve?

Check

Readings have noise s; you want the average's noise below e.

Step 1

How many readings are needed?

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 averaging n readings reduce random noise by n and not by n?

Practice

Keep practicing

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