Wiki · Read the guide: ADC/DAC: resolution, LSB and SNR

ADC · DAC Resolution & SNR

LSB, ideal SNR, dynamic range and Nyquist from bits, full-scale span and sample rate. Measured SINAD yields ENOB; SNR yields noise-equivalent bits. Demonstration tool.

ADC/DAC resolution & SNR tool

1 · Converter parameters

Results

1 LSB size
—
Ideal SNR (full-scale)
—
Dynamic range
—
Nyquist frequency
—

Ideal SNR and dynamic range hold for a full-scale sine with quantization noise only (ideal converter). The ENOB needs a SINAD measured on the real device; an SNR yields noise-equivalent bits instead.

enter a measured SINAD to compute the ENOB

How it works

What are quantization and the LSB?

The LSB is the ideal converter’s nominal step: Vref/2ᴺ. Here Vref means the whole full-scale span, which may depend on reference and gain in a device. This step is not a universal detection limit after averaging and filtering.

Vref here denotes the entire full-scale span; the LSB is its nominal step divided by 2ᴺ. It need not equal the reference-pin voltage alone.

LSB=Vref2N\text{LSB}=\dfrac{V_{ref}}{2^N}

Each extra bit halves the LSB: at the same Vref, going from 12 to 16 bits shrinks the LSB by 16×. That is why high resolution demands clean references and a low noise floor — otherwise the last bits drown in noise.

Where does 6.02·N + 1.76 come from?

For a full-scale sine, with uncorrelated uniform error between −½ and +½ LSB integrated over 0–fs/2, ideal SNR is 6.02·N+1.76 dB. Narrower bandwidth, filtering and noise shaping change the comparison: this is not a universal ceiling for every measurement.

Rounding a continuous signal to the quantization grid introduces an error. Modelled as white noise uniform over ±½ LSB, its power is LSB²/12 (the variance of a uniform distribution). A full-scale sine has power (Vref/2)²/2. The ratio of the two powers, in dB, gives the ideal SNR:

SNR=6.02 N+1.76 [dB]\text{SNR}=6.02\,N+1.76\ \text{[dB]}

6.02 dB corresponds to doubling the levels per bit; 1.76 dB follows from the ratio of a full-scale sine to uniform noise. The comparison applies to the stated assumptions and bandwidth.

For an ideal converter, limited only by quantization noise, the dynamic range numerically equals this full-scale SNR. In real devices distortion and spurs make the two diverge.

What are ENOB and SINAD?

SINAD includes noise and distortion. ENOB=(SINAD−1.76)/6.02 assumes a full-scale sine; comparing devices requires the same bandwidth, frequency and amplitude, or a full-scale-referred correction. SNR alone does not include distortion.

A real converter does not reach its theoretical SNR: thermal noise, clock jitter, non-linearity and distortion erode it. By measuring the SINAD (Signal-to-Noise-And-Distortion, which also includes harmonics) you invert the formula and obtain the effective number of bits, ENOB:

ENOB=SINAD−1.766.02\text{ENOB}=\dfrac{\text{SINAD}-1.76}{6.02}

At full scale, 90 dB SINAD corresponds to about 14.7 equivalent bits. This does not mean particular bits are always devoid of information; ENOB describes that test’s conditions.

What are Nyquist and aliasing?

For baseband sampling, Nyquist is fs/2. Components above it can fold into the useful band: the anti-aliasing filter must limit them before the ADC. Oversampling widens the available band; filtering reduces in-band noise and noise shaping changes its spectrum.

Sampling at rate fs, only components below half of fs can be represented unambiguously: the Nyquist frequency. Anything (signal or noise) above Nyquist "folds back" into the useful band as an alias, indistinguishable from a legitimate component.

fNyq=fs/2f_{Nyq}=f_s/2

Size the anti-aliasing filter from useful bandwidth and unwanted input spectra. The wiki distinguishes oversampling, filtering, decimation and noise shaping.