Noise lab
See and hear thermal, shot, flicker, popcorn and brown noise — waveform, histogram, spectral density and autocorrelation — learn how noise adds (root-sum-square, noise bandwidth, crest factor), build a signal-chain noise budget from source to ADC and an RF Friis cascade, and watch averaging, a lock-in amplifier, oversampling, filtering, chopping and differential signalling beat it.
Added
Works with
- Op-amps in the real world Electronicspick the op-amp — its en, in and 1/f corners feed this tool's preamp stages, and its noise tab does one stage in detail
- Circuit simulator Electronicsrun a noise analysis on the actual schematic — the same 4kTR, shot and op-amp noise model, solved node by node
- Decibels and gain chains ElectronicsdB levels, dBm and dBu at any impedance, and the same Friis cascade with IP3 for a full receiver line-up
- ADC accuracy Electronicsbudget the converter at the end of the chain — ENOB from noise, reference and divider errors
- Data converters lab Electronicshow the ADC's quantisation noise, dither, oversampling and noise shaping work, step by step
- RF and wireless calculator Electronicslink budgets and path loss to set the signal level against this tool's receiver noise floor
How to use it
Noise is the floor under every measurement: the hiss of a resistor, the graininess of a current, the slow wander of a dc amplifier. This lab is the conceptual companion to the electronics calculators. It shows what each kind of noise looks like and sounds like and where it comes from, how noise from several sources adds, how to budget it through a whole signal chain from the sensor to the ADC, and the tricks that pull a signal out from under it — with every waveform and number computed live in the browser.
How to use it
-
Noise types: pick thermal, shot, flicker, popcorn or brown noise. Change the resistor and drag the temperature to watch √(4kTR) move; turn the shot current down to a few electrons per sample to see the histogram stop being Gaussian. Compare the four plots — waveform, histogram, spectral density with its slope guides, autocorrelation — and press Play to hear each one (they are all played at the same loudness).
-
Adding noise: set two to four sources and switch between uncorrelated, correlated and partly correlated to see why noise adds as root-sum-square; check the equivalent noise bandwidth of a filter against its −3 dB bandwidth; integrate a density with a 1/f corner over a band; and see how peak-to-peak relates to rms.
-
Signal chain: load a preset (microphone preamp, thermocouple amplifier, photodiode transimpedance amplifier, guitar pickup), then edit the source, add, remove and reorder stages — preamp (any op-amp from the catalogue, or your own en and in), filters, gain stages and an ADC. Read the SNR, the dynamic range, the noise figure, each source’s share at the output and referred to the input, and the advice on what dominates. Switch to RF cascade (Friis) for receiver line-ups in dB and try LNA at the antenna.
-
Fighting noise: run the averaging and lock-in demos (the lock-in recovers a 1 V sine from noise 71 times larger — 40 dB under it — in a few simulated minutes), and try oversampling, filtering, chopping a slow signal past the 1/f corner, and shielding, twisting and differential receivers against mains interference.
-
Converter: dB ↔ power and voltage ratios, SNR ↔ ENOB, noise figure ↔ noise factor ↔ noise temperature, dBm/Hz ↔ V/√Hz at any impedance, density × bandwidth, and a resistor’s noise.
Values accept engineering notation (10k, 4n7, 2.5meg).
The physics and the models
-
Thermal (Johnson–Nyquist) noise. The open-circuit voltage density of a resistance R at absolute temperature T is √(4kTR) (k = 1.380649 × 10−23 J/K), flat in frequency, Gaussian, independent of any current. It is the fluctuation–dissipation theorem at work: whatever dissipates must also fluctuate (Nyquist, Phys. Rev. 32, 1928). Into a matched load it delivers kT per hertz, −174 dBm/Hz at 290 K. The generator draws independent Gaussian samples with σ = √(4kTR·fs/2).
-
Shot noise. A dc current of independent carriers crossing a barrier has a density √(2qI). The generator counts Poisson-distributed electrons per sample (mean I/(q·fs)), so at low counts the histogram is skewed and discrete, as it really is.
-
Flicker and brown noise are synthesised in the frequency domain: complex Gaussian coefficients in every FFT bin scaled to the density (4kTR·fc/f for 1/f, 4kTR·(f₀/f)² for brown), inverse transformed. The record is Gaussian, has exactly the target spectrum on average, and loops without a click. The measured slope comes from a least-squares fit to a Welch (Hann, 50% overlap) estimate.
-
Popcorn noise is a two-state random telegraph signal (switching rate r each way) on thermal noise; its autocorrelation is e−2r·τ and its spectrum a Lorentzian (Machlup, J. Appl. Phys. 25, 1954). Sums of such traps with spread time constants give 1/f (McWhorter, 1957).
-
Adding noise. Uncorrelated sources add in power; with correlation ρ, v = √(Σvᵢ² + 2ρΣvᵢvⱼ). The equivalent noise bandwidth of an nth-order Butterworth filter is f₃·(π/2n)/sin(π/2n) — 1.571, 1.111, 1.047, 1.026 for orders 1 to 4 — and of n cascaded identical RC poles fp·√π·Γ(n − ½)/(2Γ(n)) — 1.571, 1.220, 1.155, 1.128 times their −3 dB bandwidth. A density e·√(1 + fc/f) integrates to e·√(fc·ln(f₂/f₁) + f₂ − f₁) (the closed form in opamp-real). Gaussian noise is outside ±3.3σ 0.1% of the time, hence peak-to-peak ≈ 6.6 × rms.
-
Signal chain. Every noise generator — the source’s 4kT·Rs (or a photodiode’s shot noise and shunt resistance), the preamp’s en (split into its white and 1/f parts) and in·|Zs| (with Zs = Rs
jωL for a pickup), a transimpedance amplifier’s 4kT/Rf and en·|1/Zf + 1/Zs| (the "enC" noise that rises with frequency), later stages' en — is carried to the output by the gain after it (single-pole preamp and gain-stage bandwidths, Butterworth filters) and integrated numerically over the band. With an ADC the band stops at Nyquist; analog noise above Nyquist aliases in, spread over 0…fs/2; the ADC adds white noise of rms (full scale/2√2)·10−SNR/20 over 0…fs/2 (6.02N + 1.76 dB if no SNR is given). The op-amp figures are the catalogue of opamp-real, the same model the circuit simulator's noise analysis uses. The model ignores feedback-network resistors, op-amp gain-bandwidth limits and the preamp’s input impedance loading the source; for those, simulate the stage. -
Friis. F = F₁ + (F₂ − 1)/G₁ + (F₃ − 1)/(G₁G₂) + …, Te = T₀(F − 1), T₀ = 290 K (Friis, Proc. IRE 32, 1944) — the same formula as the decibels tool’s chain. Passive losses have NF equal to their loss at 290 K. The noise floor is k·(Tant + Te)·B.
-
Averaging and lock-in. Averaging N sweeps cuts uncorrelated noise by √N. The lock-in multiplies by 2·sin and 2·cos of the reference and low-passes (or averages): the error of X is 2σ·√(ENBW/fs) for white noise of rms σ sampled at fs, with ENBW = 1/(4τ) for one RC pole, 1/(8τ) for two, fs/2N for an average of N samples. Oversampling uses converters-lab's simulation. The chopper demo modulates the input with a ±1 square wave around an amplifier with offset and 1/f noise, demodulates and low-passes.
-
Shielding and differential signalling is a qualitative model with round numbers — about 40 dB for a grounded shield against electric fields, about 34 dB for twisting against magnetic loops, common-mode rejection limited by the CMRR or the imbalance — meant to show which fix addresses which coupling, not to predict a real installation (see Ott, Electromagnetic Compatibility Engineering, and Morrison, Grounding and Shielding).
Further reading: Motchenbacher and Connelly, Low-Noise Electronic System Design; Horowitz and Hill, The Art of Electronics (3rd ed.), chapter 8; Analog Devices tutorials MT-047 (op-amp noise) and MT-048 (noise figure); TI’s Noise Analysis in Operational Amplifier Circuits (SLVA043); Stanford Research Systems' application note About Lock-In Amplifiers.
Feedback is a gift. Something to improve, a feature to add, or a bug? Tell me.
Runs entirely in your browser; nothing you type leaves this page.