S2 · Lesson 42 · Data converters
Quantization, linearity, and the flash, SAR and pipeline architectures
Data converters are where analog design meets everything else on a chip. A converter's resolution sets its quantization noise floor, but its real performance is set by everything this course has covered: matching sets the linearity of its DAC, kT/C sets the size of its capacitors, the comparator sets its speed and metastability, the op amp's settling sets how fast a pipeline can run, and clock jitter caps it at high frequencies. This lesson defines the measures (LSB, SNR, ENOB, INL, DNL, figures of merit) and compares the main architectures, so lesson 53's SAR converter has its context.
- An N-bit quantizer's output (the staircase) and its error (dashed, scaled up by so it reads in LSBs), for inputs across the full scale.
- The error is a sawtooth between −½ and +½ LSB: for a busy signal it's like uniform noise of rms .
- Each extra bit halves the step and the error, buying 6 dB of SNR.
Predict
A converter's measured SINAD on a full-scale sine is 68 dB. How many effective bits is that?
= 11.0. An ideal N-bit converter's SNR is 6.02N + 1.76 dB for a full-scale sine, so the 1.76 dB has to come off before dividing. A "12-bit" converter with 68 dB SINAD behaves like an ideal 11-bit one: noise, distortion and jitter cost it a bit.
Name it
Quantization
An N-bit converter with full scale has an LSB of . Its quantization error, uniform over ±½ LSB for a busy input, has rms , so for a full-scale sine
where SINAD counts noise and distortion together.
Static linearity
- DNL (differential nonlinearity): each code step's width minus 1 LSB. DNL below −1 means a missing code.
- INL (integral nonlinearity): the transfer curve's deviation from a straight line, in LSBs.
DACs
- Resistor string: resistors; monotonic by construction; large for many bits.
- R-2R ladder: few resistors; linearity depends on matching.
- Binary-weighted current steering: fast, but the midscale transition switches every element at once, so its DNL is worst: with unit elements of mismatch , LSB there.
- Unary (thermometer): equal elements switched one at a time, guaranteed monotonic, but needs a decoder. Segmented designs use unary MSBs and binary LSBs.
Nyquist ADCs
| Architecture | Comparators | Conversion | Typical use |
|---|---|---|---|
| flash | one clock | 4 to 8 bits, highest speed | |
| SAR | 1 | N clocks (binary search) | 8 to 18 bits, lowest power |
| pipeline | a few per stage | one stage per clock, pipelined | 10 to 16 bits, 100 MS/s to GS/s |
| integrating | 1 | clocks | meters, very high resolution |
A SAR converter samples onto a capacitor DAC and tests one bit per cycle from the MSB down, keeping each bit whose trial voltage doesn't overshoot. A pipeline stage resolves a few bits, subtracts them with a DAC, amplifies the residue and passes it on.
Figures of merit
- Walden: , energy per conversion step (femtojoules for good designs).
- Schreier: , in dB, better for noise-limited designs.
Worked example
A 12-bit converter has a 1 V full scale. Find its LSB, its ideal SNR, and the ENOB if its measured SINAD is 68 dB.
Show the solution
- LSB. with a quantization noise of 70.5 µV rms.
- Ideal SNR.
- ENOB. The extra 6 dB of noise and distortion cost one bit.
Answer an LSB of 244 µV, an ideal SNR of 74.0 dB, and 11.0 effective bits.
Worked example
A converter reaches 9.5 effective bits at 100 MS/s on 10 mW. What's its Walden figure of merit? And what DNL does a 10-bit binary-weighted DAC with 0.5% unit mismatch have at midscale?
Show the solution
- Walden figure of merit. per conversion step, a reasonable mid-range design.
- DAC at midscale. The midscale code change swaps 512 units for 511, so the step error has spread
- At 1% unit mismatch. It would be 0.32 LSB, and 3σ parts would come close to missing codes.
Answer a Walden figure of merit of 138 fJ per conversion step, and a midscale DNL spread of 0.16 LSB.
Worked example
How many comparators does a 6-bit flash converter need, and how many cycles does a 6-bit SAR take?
Show the solution
- Flash. It decides in one cycle, with comparators.
- SAR. One comparator, 6 cycles (plus sampling).
- Scaling. Each extra bit doubles the flash's comparators but adds only one SAR cycle, which is why flash converters stop at about 8 bits.
Answer the flash needs 63 comparators, and the SAR takes 6 cycles.
Check
What's the LSB of an 8-bit converter with a 2 V full scale?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
What's the ideal SNR of a 10-bit converter for a full-scale sine?
Check
A converter's SINAD is 62 dB. What's its ENOB?
Check
How many comparators does a 6-bit flash ADC need?
Check
A converter uses 10 mW at 100 MS/s with an ENOB of 8. What's its Walden figure of merit?
Write units the way you normally would: 1.5 fJ and 0.0015 pJ are the same answer.
Check
A binary-weighted DAC has 8 bits and unit elements matched to 0.5%. What's the spread of its midscale DNL, in LSB?
Check
What's the rms quantization noise of a 10-bit, 1 V full-scale converter?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
Check
A 10-bit converter measures 50 dB SINAD.
(a)
What is its ideal SNR?
(b)
What ENOB does it reach?
Check
A converter uses power P at sample rate f and reaches E effective bits.
Step 1
What is its Walden figure of merit (energy per conversion step)?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What if it needed twice the power for the same performance?
Explain why
Why does a binary-weighted DAC have its worst differential nonlinearity at the midscale transition?
A binary-weighted DAC builds each output from elements weighted 1, 2, 4 and so on, each made of unit elements with independent random errors. Most code steps change only a few small elements, so the step's error is small. Going from just below midscale to midscale, every element except the MSB turns off and the MSB turns on: about unit elements change state at once. Their errors add in variance, so the step's error grows as the square root of , and that's where the step is most likely to be too small or too large, or even negative. Thermometer coding avoids it by turning on one equal element per step.
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.