C4 · Lesson 21 · Noise bandwidth and anti-aliasing
Filters as gatekeepers for noise and for sampling
Two jobs fall to filters in almost every measurement system. One is limiting noise: white noise has power at every frequency, so the only way to reduce it is to pass fewer frequencies, and the right measure of "how many" is the filter's noise bandwidth. The other is protecting a sampler: an analog-to-digital converter can't tell a 9 kHz tone from a 1 kHz one when it samples at 10 kHz, so anything above half the sampling rate must be removed before it gets there. Both turn a vague "filter it" into a number.
- A converter samples at . The sawtooth shows the frequency a tone appears at after sampling, against its true frequency: everything folds into the range 0 to .
- Move the marker to a tone above and read where it lands. That alias can't be removed after sampling.
- The anti-aliasing filter (Butterworth, order , corner ) must attenuate it first: the readout gives how much it does.
Predict
A 10 kΩ resistor's noise is filtered by an RC low-pass with a 1 kHz corner. Through what bandwidth does its noise effectively pass?
About 1.57 kHz. White noise passed by an RC low-pass carries the same total power as through an ideal brick-wall filter wide, because the gentle roll-off lets a lot of noise through above the corner. That's the RC filter's equivalent noise bandwidth.
Name it
Noise bandwidth
White noise has the same power in every hertz, so the noise a filter passes depends on its equivalent noise bandwidth (ENBW): the width of an ideal rectangular filter, with the same peak gain, that would pass the same noise power,
| Filter | ENBW |
|---|---|
| first-order RC | |
| Butterworth, order | : 1.11, 1.05, 1.03 for = 2, 3, 4 |
A resistor's thermal noise in that bandwidth is (A11). For an RC filter the R cancels: the total noise on the capacitor is , the same as for a sampling capacitor (C2.22).
Aliasing
Sampling at can't distinguish a frequency from (A10). A tone above the Nyquist frequency appears at
and is indistinguishable from a real signal there. Once sampled, it can't be removed.
Anti-aliasing filters
An analog filter before the converter must cut everything that would alias into the band you care about. For signals up to , the first frequency that folds back into that band is , and it must be attenuated below the converter's resolution: an ideal -bit converter has an SNR of dB. The order follows from lesson 8. Oversampling, sampling much faster than , widens the gap and eases the filter, and is why audio converters sample at 64 or more times the signal rate and filter digitally.
Worked example
A 10 kΩ resistor's noise passes an RC low-pass with a 1 kHz corner, at 300 K. How much noise comes out?
Show the solution
- Noise bandwidth.
- Noise voltage. With J/K,
- Check: the capacitor.
- Check: kT/C.
Answer 0.51 µV RMS comes out.
Worked example
A 12-bit converter samples at 10 kHz, and the signal of interest goes up to 1 kHz. What Butterworth anti-aliasing filter, with its corner at 1 kHz, does it need?
Show the solution
- First alias. The first frequency to fold into 0 to 1 kHz is
- Attenuation needed. It must be down
- Order. so 4.
Answer a fourth-order Butterworth, so that 9 kHz is at least 74 dB down.
Worked example
A 10 kΩ resistor's noise at 300 K passes a second-order Butterworth low-pass with a 1 kHz corner. How much comes out, compared with a one-pole filter at the same corner?
Show the solution
- Noise bandwidth. For an n-th order Butterworth it's which is 1.571f₀ for one pole and 1.111f₀ for two.
- Second-order noise.
- One-pole noise. The one-pole filter passes 510 nV.
- The limit. Steeper filters approach a brick wall, whose noise bandwidth equals its corner: 407 nV.
Answer 429 nV comes out of the second-order filter, against 510 nV for the one-pole.
Check
What is the equivalent noise bandwidth of an RC low-pass with a 1 kHz corner?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
What is the noise bandwidth of an order-3 Butterworth low-pass with a 1 kHz corner?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
What total thermal noise appears on the 10 nF capacitor of an RC low-pass at 300 K?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
A 5 kHz tone is sampled at 8 kHz. At what frequency does it appear?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
What is the SNR of an ideal 12-bit converter?
Check
Signals up to 2 kHz are sampled at 20 kHz by a 14-bit converter. What Butterworth order, cornered at 2 kHz, keeps aliases below its resolution?
Check
A 10 kΩ resistor's noise at 300 K passes an n = 2 Butterworth low-pass at 1 kHz.
(a)
What's 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 comes out?
Check
A resistor R at T through a one-pole low-pass with corner f.
Step 1
What's the noise bandwidth?
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
What RMS noise comes out?
Explain why
Why must an anti-aliasing filter come before the converter rather than after it?
Sampling folds every frequency above half the sampling rate down into the band below it, and once folded, a tone at 9 kHz sampled at 10 kHz becomes a set of numbers identical to those a genuine 1 kHz tone would produce. Nothing done to the samples afterward can tell the two apart, so no digital filter can remove the alias without also removing the real signal. The unwanted frequencies have to be removed while they're still at their true frequencies, which means an analog filter in front of the converter.
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.