---
title: Noise through systems
heading: What a filter does to random signals
eyebrow: C9 · Lesson 47 · Noise through systems
xp: 40
---

::: hook
Noise can't be described sample by sample; its next value is unpredictable. But its statistics are perfectly predictable, and an LTI system transforms them in a simple way: the power spectrum is multiplied by the squared gain. That rule tells you how much noise an amplifier contributes in a given bandwidth, why a capacitor sets a floor on every sampled voltage, and how much averaging buys.
:::

::: play
- The curve is $\lvert H(f)\rvert^2$ for an RC low-pass with corner $f_c$, which shapes flat (white) noise.
- The rectangle has the same area: its width is the filter's **noise bandwidth**, $\frac{\pi}{2}f_c$, the width of the ideal filter that would pass the same noise power.
- The readout is the output noise for an input of $e_n$ nV/√Hz. It grows only as the square root of the bandwidth: four times the bandwidth, twice the noise.
:::

```sim plot
view: graph
x: f = 0..10 kHz
y: G = 0..1.1
slider: fc = 0.2..4 step 0.1 = 1 kHz
slider: en = 1..50 step 1 = 10
plot: 1/(1 + (f/fc)^2) | label: |H|² of the RC low-pass
plot: step(pi/2*fc - f) | dashed | label: equal-area brick wall
readout: noise bandwidth, kHz = pi/2*fc | digits: 4
readout: output noise, µV rms = en*sqrt(pi/2*fc*1000)/1000 | digits: 3
```

::: predict
## White noise passes through an ideal low-pass filter. The filter's bandwidth is made 4 times wider. What happens to the rms noise at the output?

- [ ] It stays the same
- [x] It doubles
- [ ] It quadruples
- [ ] It grows 16 times

::: reveal
It doubles. White noise has the same power in every hertz, so four times the bandwidth passes four times the power, and rms voltage is the square root of power. That's why noise specifications are given per square root of hertz.
:::
:::

::: nameit
## Describing noise

A random signal x(t) with a steady character (stationary) is described by its mean, its variance $\sigma^2$ (the power of its fluctuations), its **autocorrelation** $R_x(\tau) = E[x(t)x(t + \tau)]$, and its **power spectral density** $S_x(f)$, the Fourier transform of $R_x$. Integrating the PSD over all frequencies gives the power. **White noise** has a flat PSD: every frequency carries the same power per hertz, and samples at different times are uncorrelated.

## Through an LTI system

$$S_y(f) = \lvert H(f)\rvert^2\,S_x(f)$$

The squared magnitude appears because power goes as amplitude squared; the phase doesn't matter. For white noise of one-sided density $N_0$ (V²/Hz), the output power is

$$\sigma_y^2 = N_0\int_0^\infty\lvert H(f)\rvert^2df = N_0B_N\lvert H(0)\rvert^2$$

which defines the **noise bandwidth** $B_N$. For a first-order low-pass with corner $f_c$, $B_N = \frac{\pi}{2}f_c = \frac{1}{4RC}$.

## Two results worth knowing

- **kT/C noise.** A resistor's thermal noise filtered by a capacitor C leaves $\sigma^2 = kT/C$ on the capacitor, whatever the resistance: a larger R makes more noise density but a narrower bandwidth, and the two cancel. Every switched-capacitor circuit and sampling ADC has this floor.
- **Averaging.** The mean of N uncorrelated samples has $\sigma^2/N$: the rms noise falls by $\sqrt N$, an SNR gain of $10\log_{10}N$ dB. A moving average is a low-pass filter, and this is its noise bandwidth at work.
:::

::: example
## An amplifier has 10 nV/√Hz of input noise and is followed by an RC low-pass with a 1 kHz corner. What rms noise comes out, with gain 1?

::: solution
1. **Noise bandwidth.**
   $$\begin{aligned} B_N &= \frac{\pi}{2} \times 1000 \\ &= 1571\ \text{Hz} \end{aligned}$$
2. **Output noise.**
   $$\begin{aligned} v_n &= 10\text{ nV} \times \sqrt{1571} \\ &= 0.396\ \text{µV rms} \end{aligned}$$
3. **Compare a brick wall.** A brick-wall filter at 1 kHz would have given 0.316 µV; the first-order filter's slow roll-off lets 57% more noise power through.

**Answer:** 0.396 µV rms comes out.
:::
:::

::: example
## What noise does sampling onto a 1 pF capacitor leave at 300 K? And onto 10 pF?

::: solution
1. **1 pF.**
   $$\begin{aligned} \sqrt{kT/C} &= \sqrt{\frac{1.381 \times 10^{-23} \times 300}{10^{-12}}} \\ &= 64.4\ \text{µV rms} \end{aligned}$$
2. **10 pF.** It's 20.4 µV rms.
3. **Compare with ADC steps.** A 12-bit ADC with a 1 V range has 244 µV steps, so 1 pF is fine; a 16-bit one (15 µV steps) needs tens of picofarads, which is why high-resolution converters have large sampling capacitors.

**Answer:** 64.4 µV rms on 1 pF and 20.4 µV rms on 10 pF.
:::
:::

::: example
## A sensor reading has 1 mV rms of white noise. How much do 16-sample averages help?

::: solution
1. **Noise reduction.** The rms noise falls by $\sqrt{16} = 4$:
   $$1\ \text{mV}/4 = 0.25\ \text{mV}$$
   which is 12 dB better SNR.
2. **Going further.** Getting another 12 dB costs 256 samples.
3. **The limit.** Averaging helps only with noise that's uncorrelated from sample to sample; slow drift and hum don't average away so easily.

**Answer:** 16-sample averages cut the noise to 0.25 mV rms, 12 dB better.
:::
:::

::: check
kind: parts
given: en = 4 | 10 | 25; fc = 0.5 | 2 | 20

## Noise of {en} nV/√Hz passes through an RC low-pass with a {fc} kHz corner.

::: part
answer: pi/2*fc
unit: kHz
tolerance: 0.5%

### What is the filter's noise bandwidth?

::: misses
- [fc] A first-order roll-off lets extra noise through: $\frac{\pi}{2}f_c$.
- [any] $\frac{\pi}{2}f_c$.
:::
:::

::: part
answer: en*sqrt(pi/2*fc*1000)/1000
unit: µV
tolerance: 0.5%

### What rms noise comes out?

::: misses
- [any] Density × √(noise bandwidth).
:::
:::
:::

::: check
kind: parts
given: C = 0.5 | 2 | 20; T = 300 | 77

## A {C} pF capacitor is sampled at {T} K.

::: part
answer: sqrt(1.380649e-23*T/(C*1e-12))*1e6
unit: µV
tolerance: 0.5%

### What rms noise voltage does it hold?

::: misses
- [any] $\sqrt{kT/C}$.
:::
:::

::: part
answer: 1.380649e-23*T/(C*1e-12)*1e12
tolerance: 0.5%

### What is that as a variance, in square microvolts (µV²)?

::: misses
- [any] $kT/C$.
:::
:::
:::

::: check
kind: parts
given: s = 0.5 | 2 | 10; N = 4 | 25 | 100

## Samples with {s} mV rms of white noise are averaged {N} at a time.

::: part
answer: s/sqrt(N)
unit: mV
tolerance: 0.5%

### What rms noise does the average have?

::: misses
- [s/N] It's the variance that falls by N; the rms falls by √N.
- [any] $\sigma/\sqrt N$.
:::
:::

::: part
answer: 10*log(N)
unit: dB
tolerance: 0.5%

### By how much does the SNR improve?

::: misses
- [any] $10\log_{10} N$.
:::
:::
:::

::: check
kind: parts
given: N0 = 1e-16 | 4e-18; B = 1 | 20 | 1000

## White noise of one-sided density {N0} V²/Hz passes an ideal low-pass of {B} kHz.

::: part
answer: N0*B*1000
unit: V²
tolerance: 0.5%

### What is the output noise power?

::: misses
- [any] Density × bandwidth.
:::
:::

::: part
answer: sqrt(N0*B*1000)*1e6
unit: µV
tolerance: 0.5%

### What rms voltage is that?

::: misses
- [any] The square root.
:::
:::
:::

::: check
kind: derivation
vars: N = 1e-20..1e-10, R = 10..1000000, C = 1e-12..1e-6

## A white noise density N (V²/Hz) drives an RC low-pass.

::: step
answer: 1/(4*R*C)

### What is the noise bandwidth, $\frac{\pi}{2}f_c$ with $f_c = 1/(2\pi RC)$?
:::

::: step
answer: N/(4*R*C)

### What output noise power results?
:::

::: right
Right. With N = 4kTR, the resistor's own thermal noise, this is kT/C.
:::
:::

::: check
kind: choice

## Why does a filter multiply a noise PSD by $\lvert H\rvert^2$ and not by $\lvert H\rvert$?

- [ ] Because noise is complex
- [x] Because a PSD measures power, and power goes as amplitude squared
- [ ] Because the phase doubles
- [ ] It's a convention; either would work

::: misses
- [1] Real noise has a real PSD; the point is power.
- [3] Phase drops out entirely: shifting random phases doesn't change their power.
- [4] Only the square gives the right output power.
:::
:::

::: explain
## Why is the noise on a sampled capacitor kT/C no matter how large the switch's resistance is?

::: model
The switch's resistance R produces thermal noise with a density of 4kTR volts squared per hertz, which grows with R. But that noise reaches the capacitor through the RC low-pass formed by the same R and C, whose noise bandwidth is 1/(4RC), which shrinks with R. The output power is the product, 4kTR × 1/(4RC) = kT/C, and the R cancels: a bigger resistance makes more noise but filters it more tightly. When the switch opens, whatever value the capacitor held is frozen, so its spread is set by C and temperature alone. Only a larger capacitor lowers it.
:::
:::

::: practice
::: check
given: en = 5 | 20; fc = 1 | 10
answer: en*sqrt(pi/2*fc*1000)/1000
unit: µV
tolerance: 0.5%

## {en} nV/√Hz through an RC low-pass at {fc} kHz. Output rms?

::: misses
- [any] Density × √(π/2 · f_c).
:::
:::

::: check
given: C = 0.1 | 0.5 | 1 | 2 | 5 | 10 | 20
answer: sqrt(1.380649e-23*300/(C*1e-12))*1e6
unit: µV
tolerance: 0.5%

## kT/C noise on {C} pF at 300 K?

::: misses
- [any] $\sqrt{kT/C}$.
:::
:::

::: check
given: N = 4 | 9 | 16 | 25 | 64 | 100 | 1000
answer: 1/sqrt(N)
tolerance: 0.5%

## By what factor does averaging {N} samples cut the rms noise?

::: misses
- [any] $1/\sqrt N$.
:::
:::
:::
