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

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 fs. The sawtooth shows the frequency a tone appears at after sampling, against its true frequency: everything folds into the range 0 to fs/2.
  • Move the marker to a tone above fs/2 and read where it lands. That alias can't be removed after sampling.
  • The anti-aliasing filter (Butterworth, order n, corner fc) 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?

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,

Bn=∫0∞|H(f)|2df(for peak gain 1)
FilterENBW
first-order RCπ2fc=1.57fc
Butterworth, order nfcπ/2nsin⁡(π/2n): 1.11, 1.05, 1.03 fc for n = 2, 3, 4

A resistor's thermal noise in that bandwidth is 4kTRBn (A11). For an RC filter the R cancels: the total noise on the capacitor is kT/C, the same as for a sampling capacitor (C2.22).

Aliasing

Sampling at fs can't distinguish a frequency f from f±kfs (A10). A tone above the Nyquist frequency fs/2 appears at

falias=|f−fsround(f/fs)|

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 fmax, the first frequency that folds back into that band is fs−fmax, and it must be attenuated below the converter's resolution: an ideal N-bit converter has an SNR of 6.02N+1.76 dB. The order follows from lesson 8. Oversampling, sampling much faster than 2fmax, 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
  1. Noise bandwidth. Bn=1571Hz
  2. Noise voltage. With k=1.381×10−23 J/K, vn=4kTRBn=4k×300×104×1571=0.51μV RMS
  3. Check: the capacitor. C=12π×104×1000=15.9nF
  4. Check: kT/C. kT/C=0.51μV

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
  1. First alias. The first frequency to fold into 0 to 1 kHz is 10−1=9kHz
  2. Attenuation needed. It must be down 6.02×12+1.76=74dB
  3. Order. n≥log10⁡(107.4−1)2log10⁡9=3.88 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
  1. Noise bandwidth. For an n-th order Butterworth it's Bn=f0π/2nsin⁡(π/2n) which is 1.571f₀ for one pole and 1.111f₀ for two.
  2. Second-order noise. vn=4kTR×1111Hz=429nV
  3. One-pole noise. The one-pole filter passes 510 nV.
  4. 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°.

Explain why

Why must an anti-aliasing filter come before the converter rather than after it?

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.