TExcelTAD

Noise in Analog Circuits

A strain-gauge bridge gives 2 mV2\ \text{mV} at full load. A 24-bit ADC behind a gain-of-100 amplifier should resolve that into millions of steps, yet the last five or six bits flicker no matter what. The flicker is noise: random fluctuations generated inside the resistors and transistors themselves, plus interference picked up from outside. Interference can be shielded and filtered (Grounding, Shielding and PCB Layout for Analog); intrinsic noise cannot be removed, only kept small by choosing parts, impedances and bandwidth. This lesson gives you the three physical noise sources, the rules for adding them, the op-amp noise model and a complete noise budget checked with SPICE.

Three kinds of intrinsic noise

Thermal (Johnson) noise. The charge carriers in any resistance jiggle with thermal energy, so an open-circuited resistor shows a random voltage with a flat ("white") spectrum:

vn2‾=4kTRB,en=4kTR  in V/Hz\overline{v_n^2} = 4kTRB, \qquad e_n = \sqrt{4kTR}\ \ \text{in V}/\sqrt{\text{Hz}}

with k=1.381×10−23 J/Kk = 1.381 \times 10^{-23}\ \text{J/K}, TT in kelvin and BB the bandwidth in hertz. At room temperature a 1 kΩ1\ \text{k}\Omega resistor gives 4.07 nV/Hz4.07\ \text{nV}/\sqrt{\text{Hz}}; the value scales with R\sqrt{R}, so 100 kΩ100\ \text{k}\Omega gives 40.7 nV/Hz40.7\ \text{nV}/\sqrt{\text{Hz}}. Only resistance is noisy: ideal capacitors and inductors add none.

Shot noise. A DC current across a potential barrier (a PN junction, the base or collector current of a BJT, a photodiode) is a stream of discrete charges arriving at random:

in2‾=2qIB,in=2qI  in A/Hz\overline{i_n^2} = 2qIB, \qquad i_n = \sqrt{2qI}\ \ \text{in A}/\sqrt{\text{Hz}}

1 mA1\ \text{mA} carries 17.9 pA/Hz17.9\ \text{pA}/\sqrt{\text{Hz}} of shot noise. Current in a plain resistor shows no shot noise (the carriers' motion is correlated), only thermal noise.

Flicker (1/f1/f) noise. Below a corner frequency fcf_c the noise density of most devices rises as 1/f1/\sqrt{f} in amplitude (1/f1/f in power), from charge trapping at surfaces and defects. MOSFETs have high corners (kilohertz or more), bipolar op-amps tens of hertz, and "zero-drift" (chopper) amplifiers effectively none. Carbon and thick-film resistors add excess 1/f1/f noise when carrying current; metal-film and wire-wound resistors much less.

0.1 1 10 100 1k 10k 100k f (Hz) 1 10 100 en (nV/rtHz) 1/f region white: 10 nV/rtHz corner fc = 10 Hz

Adding noise and choosing bandwidth

Independent noise sources are uncorrelated, so their powers add, not their amplitudes:

etotal=e12+e22+⋯,Vrms=∫f1f2en2(f) df=enB  (white noise)e_\text{total} = \sqrt{e_1^2 + e_2^2 + \cdots}, \qquad V_\text{rms} = \sqrt{\int_{f_1}^{f_2} e_n^2(f)\,df} = e_n\sqrt{B}\ \ (\text{white noise})

So the largest source dominates quickly: 1010 and 4 nV/Hz4\ \text{nV}/\sqrt{\text{Hz}} combine to 10.810.8, not 14. Bandwidth matters as much as density. A real filter is not a brick wall, so use its equivalent noise bandwidth (ENBW): the width of the brick wall that passes the same noise power. A first-order low-pass with corner fcf_c has ENBW=π2fc=1.57fc\text{ENBW} = \frac{\pi}{2} f_c = 1.57 f_c; a second-order Butterworth 1.11fc1.11 f_c. The total noise in an RC low-pass, integrated over all frequencies, is famously independent of RR:

Vrms=4kTR⋅π2⋅12πRC=kTCV_\text{rms} = \sqrt{4kTR \cdot \frac{\pi}{2} \cdot \frac{1}{2\pi RC}} = \sqrt{\frac{kT}{C}}

A larger RR is noisier, but narrows the bandwidth by exactly as much. This kT/C noise sets the floor of every sample-and-hold and switched-capacitor circuit.

The op-amp noise model

Datasheets describe an op-amp's noise by two sources at its input: a voltage density ene_n in series with an input, and a current density ini_n into each input (typical 2026 values: ene_n from about 1 nV/Hz1\ \text{nV}/\sqrt{\text{Hz}} for low-noise bipolar parts to tens, and for nanopower parts a few hundred, for micropower CMOS; ini_n from femtoamps for CMOS and JFET inputs to a few picoamps for bipolar). The current noise flows through whatever resistance the input sees and becomes a voltage. For a non-inverting stage with source resistance RsR_s, everything referred to the input:

ein2=4kTRs+4kT(Rf∥Rg)+en2+in2Rs2+in2(Rf∥Rg)2,Vn,out=(1+RfRg)einENBWe_\text{in}^2 = 4kTR_s + 4kT(R_f \parallel R_g) + e_n^2 + i_n^2 R_s^2 + i_n^2 (R_f \parallel R_g)^2, \qquad V_{n,\text{out}} = \left(1 + \frac{R_f}{R_g}\right) e_\text{in}\sqrt{\text{ENBW}}

The multiplier is the noise gain 1+Rf/Rg1 + R_f/R_g, also for an inverting stage (Real Op-Amps: Gain-Bandwidth, Slew Rate and a SPICE Macro-Model). The design lesson in one line: low ene_n parts (bipolar) for low source impedances, low ini_n parts (JFET/CMOS) for high source impedances; the crossover is around Rs≈en/inR_s \approx e_n/i_n.

Signal-to-noise ratio and noise figure. SNR=20log⁡10(Vsignal/Vnoise)\text{SNR} = 20\log_{10}(V_\text{signal}/V_\text{noise}) with both rms. The noise figure compares the amplifier with an ideal noiseless one fed from the same source: NF=20log⁡10(ein/4kTRs)\text{NF} = 20\log_{10}(e_\text{in}/\sqrt{4kTR_s}). It is used mostly in RF (Communications, RF Engineering & Antennas), where the source is a 50 Ω50\ \Omega antenna.

Worked example: a noise budget

Given: a non-inverting amplifier with gain 100 (Rf=99 kΩR_f = 99\ \text{k}\Omega, Rg=1 kΩR_g = 1\ \text{k}\Omega) from a 1 kΩ1\ \text{k}\Omega source; op-amp en=10 nV/Hze_n = 10\ \text{nV}/\sqrt{\text{Hz}} (corner 10 Hz10\ \text{Hz}), in=1 pA/Hzi_n = 1\ \text{pA}/\sqrt{\text{Hz}}; band 10 Hz10\ \text{Hz} to 10 kHz10\ \text{kHz} (brick-wall); T=300 KT = 300\ \text{K}.

Find: the input-referred noise density, the output noise, and the SNR for a 10 mV10\ \text{mV} rms signal.

Solve:

eRs=4kT⋅1 kΩ=4.07 nV/Hz,eRf∥Rg=4kT⋅990 Ω=4.05 nV/Hzein=4.072+4.052+102+1.002+0.992 nV/Hz=11.6 nV/HzVn,in≈11.6 nV/Hz⋅9990 Hz=1.16 μV,Vn,out=100⋅1.16 μV=116 μVSNR=20log⁡1010 mV1.16 μV=78.7 dB\begin{aligned} e_{R_s} &= \sqrt{4kT \cdot 1\ \text{k}\Omega} = 4.07\ \text{nV}/\sqrt{\text{Hz}}, \qquad e_{R_f \parallel R_g} = \sqrt{4kT \cdot 990\ \Omega} = 4.05\ \text{nV}/\sqrt{\text{Hz}} \\ e_\text{in} &= \sqrt{4.07^2 + 4.05^2 + 10^2 + 1.00^2 + 0.99^2}\ \text{nV}/\sqrt{\text{Hz}} = 11.6\ \text{nV}/\sqrt{\text{Hz}} \\ V_{n,\text{in}} &\approx 11.6\ \text{nV}/\sqrt{\text{Hz}} \cdot \sqrt{9990\ \text{Hz}} = 1.16\ \mu\text{V}, \qquad V_{n,\text{out}} = 100 \cdot 1.16\ \mu\text{V} = 116\ \mu\text{V} \\ \text{SNR} &= 20\log_{10}\frac{10\ \text{mV}}{1.16\ \mu\text{V}} = 78.7\ \text{dB} \end{aligned}

Check: the op-amp's ene_n dominates; replacing it with a 4 nV/Hz4\ \text{nV}/\sqrt{\text{Hz}} part would bring the total to about 7 nV/Hz7\ \text{nV}/\sqrt{\text{Hz}}, set by the resistors. The 1/f1/f region adds only en2fcln⁡(1000)e_n^2 f_c \ln(1000), under 1 % of the power, because the band starts at the corner. The noise figure is 20log⁡10(11.6/4.07)=9.1 dB20\log_{10}(11.6/4.07) = 9.1\ \text{dB}.

In Python

python · try it yourself
import numpy as np
from scipy.integrate import quad

k, q, T = 1.380649e-23, 1.602177e-19, 300.15      # SPICE's default 27 C
vR = lambda R: np.sqrt(4 * k * T * R)             # thermal noise density, V/sqrt(Hz)
print(f"1 k resistor: {vR(1e3) * 1e9:.2f} nV/rtHz; shot noise of 1 mA: {np.sqrt(2 * q * 1e-3) * 1e12:.1f} pA/rtHz")
print(f"kT/C for 1 nF: {np.sqrt(k * T / 1e-9) * 1e6:.3f} uV rms")

# Gain-100 non-inverting stage, source 1 k; op-amp en = 10 nV/rtHz (1/f corner 10 Hz), in = 1 pA/rtHz
Rs, Rf, Rg = 1e3, 99e3, 1e3
Rp = Rf * Rg / (Rf + Rg)
en, in_, fc = 10e-9, 1e-12, 10.0
def input_psd(f):                                  # input-referred, V^2/Hz
    return (vR(Rs)**2 + vR(Rp)**2 + en**2 * (1 + fc / f)
            + (in_ * Rs)**2 + (in_ * Rp)**2)
parts = {"Rs thermal": vR(Rs), "Rf||Rg thermal": vR(Rp), "op-amp en": en,
         "in * Rs": in_ * Rs, "in * (Rf||Rg)": in_ * Rp}
for name, v in parts.items():
    print(f"  {name:15s} {v * 1e9:6.2f} nV/rtHz")
print(f"  total (white)   {np.sqrt(sum(v**2 for v in parts.values())) * 1e9:6.2f} nV/rtHz")
vin2, _ = quad(input_psd, 10, 10e3, limit=200)
G = 1 + Rf / Rg
print(f"10 Hz-10 kHz: {np.sqrt(vin2) * 1e6:.3f} uV rms at the input, {G * np.sqrt(vin2) * 1e6:.1f} uV rms at the output")
print(f"SNR for a 10 mV rms input: {20 * np.log10(10e-3 / np.sqrt(vin2)):.1f} dB")
print(f"ENBW of a first-order 10 kHz low-pass: {np.pi / 2 * 10e3 / 1e3:.2f} kHz")
1 k resistor: 4.07 nV/rtHz; shot noise of 1 mA: 17.9 pA/rtHz
kT/C for 1 nF: 2.036 uV rms
  Rs thermal        4.07 nV/rtHz
  Rf||Rg thermal    4.05 nV/rtHz
  op-amp en        10.00 nV/rtHz
  in * Rs           1.00 nV/rtHz
  in * (Rf||Rg)     0.99 nV/rtHz
  total (white)    11.62 nV/rtHz
10 Hz-10 kHz: 1.164 uV rms at the input, 116.4 uV rms at the output
SNR for a 10 mV rms input: 78.7 dB
ENBW of a first-order 10 kHz low-pass: 15.71 kHz

The integral includes the 1/f1/f term, and still lands on the hand value.

Cross-check with SPICE: .noise

ngspice's noise analysis computes the output noise density of every noisy element (resistors' thermal noise, diode and transistor shot and flicker noise), sums their powers at the chosen output and integrates over the sweep. Two circuits: (1) an RC low-pass, 10 kΩ10\ \text{k}\Omega and 1 nF1\ \text{nF}, integrated from 1 Hz to 1 GHz, which should give kT/C\sqrt{kT/C}; (2) the gain-100 stage with a noiseless ideal op-amp (an E source), so only the three resistors contribute, over 1 Hz to 10 kHz. SPICE works at 27 ∘C27\ ^\circ\text{C}, 300.15 K300.15\ \text{K}.

bash · try it yourself
cat > noise.cir <<'EOF'
* (1) RC low-pass: kT/C noise; (2) gain-100 non-inverting stage, noiseless op-amp, Rs = 1k
V1 in 0 DC 0 AC 1
R1 in o1 10k
C1 o1 0 1n
V2 s 0 DC 0 AC 1
Rs s p 1k
E1 o2 0 p n 1meg
Rf o2 n 99k
Rg n 0 1k
.control
noise v(o1) V1 dec 50 1 1g
setplot noise2
print onoise_total
noise v(o2) V2 dec 50 1 10k
setplot noise3
print onoise_spectrum[0] inoise_spectrum[0]
setplot noise4
print onoise_total inoise_total
.endc
.end
EOF
ngspice -b noise.cir 2>&1 | grep -E '(noise_total|spectrum)'
onoise_total = 2.035545e-06
onoise_spectrum[0] = 5.742802e-07
inoise_spectrum[0] = 5.743376e-09
onoise_total = 5.742515e-05
inoise_total = 5.743089e-07

The RC gives 2.036 μV2.036\ \mu\text{V} rms, exactly kT/C\sqrt{kT/C}. The amplifier's input-referred density is 5.74 nV/Hz=4.072+4.0525.74\ \text{nV}/\sqrt{\text{Hz}} = \sqrt{4.07^2 + 4.05^2}, and its output 57.4 μV57.4\ \mu\text{V} rms over 10 kHz, the resistor-only part of the Python budget (0.574 μV0.574\ \mu\text{V} at the input). Adding the op-amp's own ene_n and ini_n is the Python model's job; vendor SPICE models include them as extra sources.

Guided lab: measure an amplifier's noise floor

Hand calculation. For your amplifier: eine_\text{in} from the formula, output noise over the measurement bandwidth.

Simulation. The Python budget with your op-amp's datasheet ene_n, ini_n and corner.

What you would measure. Build the gain-100 stage with a low-noise op-amp on ±5 V\pm 5\ \text{V} from batteries (battery supplies avoid mains hum during the measurement), short its input through 1 kΩ1\ \text{k}\Omega, and put the whole circuit in a closed metal tin connected to circuit ground. Follow it with a second gain-of-10 stage so the noise is well above your scope's own floor, and an RC low-pass at 10 kHz (ENBW 15.7 kHz). Read the AC rms on the scope or a true-rms meter with adequate bandwidth, divide by the total gain: with ein=11.6 nV/Hze_\text{in} = 11.6\ \text{nV}/\sqrt{\text{Hz}} expect about 11.6 nV⋅15.7 kHz=1.45 μV11.6\ \text{nV} \cdot \sqrt{15.7\ \text{kHz}} = 1.45\ \mu\text{V} referred to the input, i.e. 1.45 mV1.45\ \text{mV} rms at the output of gain 1000. Expect ±20 %\pm 20\ \% scatter between readings: a random signal's rms over a short record is itself uncertain. On a scope the peak-to-peak value is about 6 to 7 times the rms. With the lid off, mains hum at 50 or 60 Hz and its harmonics will usually swamp it, a good argument for the next lesson.

Hazards and safe setup. Batteries only, low voltage. The tin must not short anything: insulate the board from it.

Pitfalls

  • Adding noise amplitudes linearly. Add powers (squares), then take the root.
  • Large resistors everywhere "to save power". A divider of two 200 kΩ200\ \text{k}\Omega resistors (100 kΩ100\ \text{k}\Omega seen by the input) adds 40 nV/Hz40\ \text{nV}/\sqrt{\text{Hz}}, more than most op-amps.
  • Unlimited bandwidth. Noise grows as B\sqrt{B}; filter to the band you need before the ADC.
  • Confusing noise with interference. Hum, switching spikes and radio pickup are not random and do not follow these formulas; shield and ground them away first.

Practice

  1. What is the thermal noise of 10 kΩ10\ \text{k}\Omega at 300 K300\ \text{K} over 20 kHz20\ \text{kHz}?
  2. An op-amp has en=5 nV/Hze_n = 5\ \text{nV}/\sqrt{\text{Hz}} and in=2 pA/Hzi_n = 2\ \text{pA}/\sqrt{\text{Hz}}. Above about what source resistance does its current noise dominate its voltage noise?
  3. What is kT/C\sqrt{kT/C} for a 10 pF10\ \text{pF} sampling capacitor at 300 K300\ \text{K}?
Answer
  1. 4kTRB=4⋅1.381×10−23⋅300⋅104⋅2×104=1.82 μV\sqrt{4kTRB} = \sqrt{4 \cdot 1.381 \times 10^{-23} \cdot 300 \cdot 10^4 \cdot 2 \times 10^4} = 1.82\ \mu\text{V} rms.
  2. Rs=en/in=5 nV/2 pA=2.5 kΩR_s = e_n/i_n = 5\ \text{nV}/2\ \text{pA} = 2.5\ \text{k}\Omega.
  3. 1.381×10−23⋅300/10−11=20.4 μV\sqrt{1.381 \times 10^{-23} \cdot 300/10^{-11}} = 20.4\ \mu\text{V} rms.

Test yourself

The thermal noise density of a 1 kΩ1\ \text{k}\Omega resistor at room temperature is about…

  1. 0.4 nV/Hz0.4\ \text{nV}/\sqrt{\text{Hz}}
  2. 4 nV/Hz4\ \text{nV}/\sqrt{\text{Hz}}
  3. 40 nV/Hz40\ \text{nV}/\sqrt{\text{Hz}}
  4. 4 μV/Hz4\ \mu\text{V}/\sqrt{\text{Hz}}

Two uncorrelated noise sources of 66 and 8 nV/Hz8\ \text{nV}/\sqrt{\text{Hz}} combine to…

  1. 22
  2. 1010
  3. 1414
  4. 4848 (all in nV/Hz\text{nV}/\sqrt{\text{Hz}})

The total noise of an RC low-pass integrated over all frequencies…

  1. grows with RR
  2. is kT/C\sqrt{kT/C}, independent of RR
  3. is zero, because capacitors are noiseless
  4. is 4kTR\sqrt{4kTR}

A sensor with a 1 MΩ1\ \text{M}\Omega source resistance needs an op-amp with…

  1. the lowest possible ene_n, whatever its ini_n
  2. very low input current noise ini_n (a JFET or CMOS input)
  3. the highest slew rate
  4. a bipolar input stage