Noise in Analog Circuits
A strain-gauge bridge gives 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:
with , in kelvin and the bandwidth in hertz. At room temperature a resistor gives ; the value scales with , so gives . 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:
carries of shot noise. Current in a plain resistor shows no shot noise (the carriers' motion is correlated), only thermal noise.
Flicker () noise. Below a corner frequency the noise density of most devices rises as in amplitude ( 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 noise when carrying current; metal-film and wire-wound resistors much less.
Adding noise and choosing bandwidth
Independent noise sources are uncorrelated, so their powers add, not their amplitudes:
So the largest source dominates quickly: and combine to , 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 has ; a second-order Butterworth . The total noise in an RC low-pass, integrated over all frequencies, is famously independent of :
A larger 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 in series with an input, and a current density into each input (typical 2026 values: from about for low-noise bipolar parts to tens, and for nanopower parts a few hundred, for micropower CMOS; 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 , everything referred to the input:
The multiplier is the noise gain , also for an inverting stage (Real Op-Amps: Gain-Bandwidth, Slew Rate and a SPICE Macro-Model). The design lesson in one line: low parts (bipolar) for low source impedances, low parts (JFET/CMOS) for high source impedances; the crossover is around .
Signal-to-noise ratio and noise figure. with both rms. The noise figure compares the amplifier with an ideal noiseless one fed from the same source: . It is used mostly in RF (Communications, RF Engineering & Antennas), where the source is a antenna.
Worked example: a noise budget
Given: a non-inverting amplifier with gain 100 (, ) from a source; op-amp (corner ), ; band to (brick-wall); .
Find: the input-referred noise density, the output noise, and the SNR for a rms signal.
Solve:
Check: the op-amp's dominates; replacing it with a part would bring the total to about , set by the resistors. The region adds only , under 1 % of the power, because the band starts at the corner. The noise figure is .
In Python
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 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, and , integrated from 1 Hz to 1 GHz, which should give ; (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 , .
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 rms, exactly . The amplifier's input-referred density is , and its output rms over 10 kHz, the resistor-only part of the Python budget ( at the input). Adding the op-amp's own and 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: from the formula, output noise over the measurement bandwidth.
Simulation. The Python budget with your op-amp's datasheet , and corner.
What you would measure. Build the gain-100 stage with a low-noise op-amp on from batteries (battery supplies avoid mains hum during the measurement), short its input through , 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 expect about referred to the input, i.e. rms at the output of gain 1000. Expect 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 resistors ( seen by the input) adds , more than most op-amps.
- Unlimited bandwidth. Noise grows as ; 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
- What is the thermal noise of at over ?
- An op-amp has and . Above about what source resistance does its current noise dominate its voltage noise?
- What is for a sampling capacitor at ?
Answer
- rms.
- .
- rms.
Test yourself
The thermal noise density of a resistor at room temperature is about…
Two uncorrelated noise sources of and combine to…
- (all in )
The total noise of an RC low-pass integrated over all frequencies…
- grows with
- is , independent of
- is zero, because capacitors are noiseless
- is
A sensor with a source resistance needs an op-amp with…
- the lowest possible , whatever its
- very low input current noise (a JFET or CMOS input)
- the highest slew rate
- a bipolar input stage