C11 · Lesson 22 · Data acquisition and ADCs
Resolution, quantization noise and effective bits
Almost every measurement today ends in an analog-to-digital converter, whether it's inside a meter, a scope or a microcontroller logging a sensor. An ADC's bit count says how finely it can divide its input range, but not how well it actually performs: noise, nonlinearity and timing jitter all eat into it, and a "16-bit" converter may deliver only 12 useful bits. Knowing the quantization limit, what the effective number of bits means and how the sampling clock limits high-frequency accuracy lets you choose a converter, and set its range and sample rate, for the measurement you need.
- A full-scale sine (dashed) and the same sine after an N-bit converter (solid): each sample snaps to the nearest of levels.
- At 3 bits the staircase is coarse and the error large; each extra bit halves the step. The readouts give the step size for a ±1 V input and the ideal signal-to-noise ratio, 6.02N + 1.76 dB.
- The difference between the two curves is the quantization noise, about RMS for a busy signal.
Predict
What is the best signal-to-noise ratio an ideal 12-bit ADC can give for a full-scale sine?
74 dB: . Each bit halves the quantization step and so adds 6 dB. Real 12-bit converters reach 68 to 72 dB, because their own noise and distortion add to the quantization noise.
Name it
Resolution and quantization noise
An N-bit converter divides its full-scale range FS into steps of
Rounding to the nearest step leaves an error that, for a signal that moves across many steps, is spread evenly over ±q/2, with an RMS of
For a full-scale sine this gives the ideal
Effective number of bits
A real converter's measured SINAD (signal to noise and distortion) defines its effective number of bits:
A signal smaller than full scale loses SNR in proportion: one at a tenth of full scale gives up 20 dB. Choose the range so the signal fills it.
Timing jitter
Uncertainty in the sampling instant turns a sine's slope into noise, limiting the SNR at input frequency f to
so high-frequency, high-resolution sampling needs a very clean clock.
Oversampling
Sampling faster than needed and averaging down (as in C9.23) spreads quantization noise over a wider band, gaining dB: one bit for every factor of 4 in oversampling, since dB. Delta-sigma converters push this much further with noise shaping.
Worked example
A 12-bit ADC spans 0 to 3.3 V. What are its step and its quantization noise?
Show the solution
- Step size.
- Quantization noise.
- In practice. A 1 mV change in a sensor's output is just over one step.
Answer a step of 0.806 mV, and 0.233 mV RMS of quantization noise.
Worked example
A converter measures 68 dB SINAD. How many effective bits does it have?
Show the solution
- Effective bits.
- What part might give this. A 14-bit part that loses three bits to noise and distortion would give this.
Answer 11.0 effective bits.
Worked example
A 12-bit ADC is oversampled 16 times and averaged, with enough noise to dither it. How many bits of resolution does that gain?
Show the solution
- Noise reduction. Averaging 16 samples cuts the noise by which is 12 dB.
- Bits gained. Each bit is 6.02 dB, so it gains 2 bits: effectively 14-bit resolution at a sixteenth of the sample rate.
- When it works. It only works if the input noise is at least about one LSB, so that the samples differ.
Answer 2 bits, for effectively 14-bit resolution.
Check
What is the step size of an 8-bit converter with a 3.3 V full-scale range?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
What is the ideal SNR of a 10-bit converter for a full-scale sine?
Check
A converter's measured SINAD is 62 dB. What is its ENOB?
Check
What is the RMS quantization noise of a 10-bit converter over 2 V?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
A converter's clock has 0.1 ps of RMS jitter. What SNR limit does that set for a 10 MHz input?
Check
An ideal 12-bit converter digitizes a sine 20 dB below full scale. What SNR does it get?
Check
A 16-bit converter sampling at 100 kS/s records a sensor whose signal of interest is below 1 kHz, but whose wiring picks up 60 kHz interference. What must come before the ADC?
Check
A 12-bit ADC spans 0 to 2.5 V.
(a)
What is one LSB?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
(b)
What is its rms quantization noise?
Check
An ADC measures 74 dB SINAD; it is oversampled and averaged by 4 with enough dither.
(a)
What is its ENOB?
(b)
What effective resolution does averaging give?
Explain why
Why does each extra bit of resolution add about 6 dB of SNR?
Each extra bit doubles the number of levels across the same range, halving the step size. The quantization error is spread over plus and minus half a step, so its RMS halves too, and halving a noise voltage lowers its power by a factor of 4, which is dB. The signal's power, for a full-scale sine, doesn't change, so the ratio improves by 6.02 dB per bit; the constant 1.76 dB comes from comparing a sine's power with the uniform error's.
Practice
Keep practicing
11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.