S242 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 2N 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 LSB/12.
  • 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?

Name it

Quantization

An N-bit converter with full scale VFS has an LSB of VFS/2N. Its quantization error, uniform over ±½ LSB for a busy input, has rms LSB12, so for a full-scale sine

SNRideal=6.02N+1.76 dB,ENOB=SINAD−1.766.02

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: 2N 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 σu, σDNL≈σu2N−1 LSB there.
  • Unary (thermometer): 2N−1 equal elements switched one at a time, guaranteed monotonic, but needs a decoder. Segmented designs use unary MSBs and binary LSBs.

Nyquist ADCs

ArchitectureComparatorsConversionTypical use
flash2N−1one clock4 to 8 bits, highest speed
SAR1N clocks (binary search)8 to 18 bits, lowest power
pipelinea few per stageone stage per clock, pipelined10 to 16 bits, 100 MS/s to GS/s
integrating12N clocksmeters, 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: FOMW=P2ENOBfs, energy per conversion step (femtojoules for good designs).
  • Schreier: FOMS=SNDR+10log⁡BWP, 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
  1. LSB. 1V4096=244µV with a quantization noise of 70.5 µV rms.
  2. Ideal SNR. SNR=6.02×12+1.76=74.0dB
  3. ENOB. ENOB=68−1.766.02=11.0 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
  1. Walden figure of merit. FOMW=10−229.5×108=138fJ per conversion step, a reasonable mid-range design.
  2. DAC at midscale. The midscale code change swaps 512 units for 511, so the step error has spread 0.005×1023=0.16LSB
  3. 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
  1. Flash. It decides in one cycle, with 26−1=63 comparators.
  2. SAR. One comparator, 6 cycles (plus sampling).
  3. 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°.

Explain why

Why does a binary-weighted DAC have its worst differential nonlinearity at the midscale transition?

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.