---
title: Problem set 8
heading: "Problem set 8: data converters and delta-sigma modulators"
eyebrow: S2 · Problem set 8
type: problems
---

::: hook
These problems use lessons 42 and 43: quantization and noise budgets, DAC and ADC architectures, figures of merit, oversampling, noise shaping and decimation. Full scale means peak to peak; a full-scale sine has power $V_{FS}^2/8$. k = 1.381 × 10⁻²³ J/K and T = 300 K.
:::

::: pool
pick: 12

::: check
kind: parts
given: N = 8 | 10 | 12 | 14; V = 1 | 2 | 3.3; b = 3 | 6 | 10

## An {N}-bit converter has a {V} V full scale.

::: part
answer: V/2^N*1000
unit: mV
tolerance: 0.5%

### What is its LSB?

::: misses
- [any] $V_{FS}/2^N$.
:::
:::

::: part
answer: V/2^N/sqrt(12)*1e6
unit: µV
tolerance: 0.5%

### What rms quantization noise does it add?

::: misses
- [V/2^N/2*1e6] The error is uniform over one LSB: its rms is LSB/√12.
- [any] $\text{LSB}/\sqrt{12}$.
:::
:::

::: part
answer: 6.02*N + 1.76 - b
unit: dB
tolerance: 0.5%

### What SNR does it give a sine {b} dB below full scale?

::: misses
- [6.02*N + 1.76] The noise stays put while the signal shrinks.
- [any] $6.02N + 1.76 - \text{backoff}$.
:::
:::
:::

::: check
kind: parts
given: N = 10 | 12 | 14; V = 1 | 2; n = 200 | 500

## An {N}-bit, {V} V full-scale ADC also has {n} µV rms of thermal noise at its input.

::: part
answer: 10*log((V^2/8)/((V/2^N)^2/12 + (n*1e-6)^2))
unit: dB
tolerance: 0.5%

### What SNR does it reach with a full-scale sine?

::: misses
- [6.02*N + 1.76] Add the thermal noise power to the quantization noise.
- [any] $10\log[(V^2/8)/(\text{LSB}^2/12 + v_n^2)]$.
:::
:::

::: part
answer: (10*log((V^2/8)/((V/2^N)^2/12 + (n*1e-6)^2)) - 1.76)/6.02
unit: bits
tolerance: 0.5%

### What is its ENOB?

::: misses
- [any] $(\text{SNR} - 1.76)/6.02$.
:::
:::
:::

::: check
kind: parts
given: O = 4 | 16 | 64 | 256; k = 1 | 2 | 3

## A Nyquist converter is oversampled by {O}, with a plain digital low-pass behind it and no noise shaping.

::: part
answer: 10*log(O)
unit: dB
tolerance: 0.5%

### How much does the in-band SNR improve?

::: misses
- [20*log(O)] Noise power falls by OSR, so 10 log, not 20 log.
- [any] $10\log\text{OSR}$.
:::
:::

::: part
answer: 4^k
tolerance: 0.5%

### What oversampling ratio would gain {k} more bits?

::: misses
- [2^k] Each bit needs 6 dB, a factor of 4 in noise power.
- [any] $4^k$.
:::
:::
:::

::: check
kind: parts
given: N = 1 | 3 | 4; L = 2 | 3; s = 6.4 | 25.6; B = 20 | 50

## An order-{L} delta-sigma modulator with an {N}-bit quantizer runs at {s} MHz for a {B} kHz band.

::: part
answer: s*1000/(2*B)
tolerance: 0.5%

### What is the oversampling ratio?

::: misses
- [s*1000/B] OSR = $f_s/2f_B$.
- [any] $f_s/2f_B$.
:::
:::

::: part
answer: 6.02*N + 1.76 - 10*log(pi^(2*L)/(2*L + 1)) + (2*L + 1)*10*log(s*1000/(2*B))
unit: dB
tolerance: 0.5%

### What is its ideal SQNR?

::: misses
- [any] $6.02N + 1.76 - 10\log\frac{\pi^{2L}}{2L + 1} + (2L + 1)10\log\text{OSR}$.
:::
:::

::: part
answer: (6.02*N - 10*log(pi^(2*L)/(2*L + 1)) + (2*L + 1)*10*log(s*1000/(2*B)))/6.02
unit: bits
tolerance: 0.5%

### What resolution is that, in bits?

::: misses
- [any] $(\text{SQNR} - 1.76)/6.02$.
:::
:::
:::

::: check
kind: parts
given: S = 90 | 100 | 110; L = 2 | 3 | 4; N = 1 | 4; B = 20 | 100

## A delta-sigma ADC needs {S} dB of SQNR in a {B} kHz band from an order-{L} loop with an {N}-bit quantizer.

::: part
answer: 10^((S - 6.02*N - 1.76 + 10*log(pi^(2*L)/(2*L + 1)))/((2*L + 1)*10))
tolerance: 0.5%

### What oversampling ratio does it need?

::: misses
- [any] Solve the SQNR formula for OSR.
:::
:::

::: part
answer: 2*B*1000*10^((S - 6.02*N - 1.76 + 10*log(pi^(2*L)/(2*L + 1)))/((2*L + 1)*10))/1e6
unit: MHz
tolerance: 0.5%

### What clock rate is that?

::: misses
- [any] $f_s = 2f_B\cdot\text{OSR}$.
:::
:::
:::

::: check
kind: parts
given: L = 2 | 3 | 4; O = 32 | 64 | 128

## An order-{L} loop's noise transfer function is $(1 - z^{-1})^L$, and the band edge is at $f_s/(2\cdot${O}$)$.

::: part
answer: 20*L*log(2*sin(pi/(2*O)))
unit: dB
tolerance: 0.5%

### What is the NTF's gain at the band edge?

::: misses
- [20*log(2*sin(pi/(2*O)))] Raise it to the L-th power: multiply the dB by L.
- [any] $20L\log|2\sin(\pi f_B/f_s)|$.
:::
:::

::: part
answer: 6.0206*L
unit: dB
tolerance: 0.5%

### What is its gain at $f_s/2$?

::: misses
- [any] $|2\sin(\pi/2)|^L = 2^L$.
:::
:::
:::

::: check
kind: parts
given: N = 8 | 10 | 12; f = 100 | 200 | 500

## An {N}-bit SAR ADC spends one clock cycle sampling and one per bit, at a {f} MHz clock.

::: part
answer: f/(N + 1)
unit: MS/s
tolerance: 0.5%

### What sample rate does it reach?

::: misses
- [f/N] Include the sampling cycle.
- [any] $f_\text{clk}/(N + 1)$.
:::
:::

::: part
answer: 1/(f*1e6)/ln(2^(N + 1))*1e12
unit: ps
tolerance: 0.5%

### What is the longest DAC time constant that settles to half an LSB within one bit cycle?

::: misses
- [any] $t_\text{bit}/\ln 2^{N+1}$.
:::
:::
:::

::: check
kind: parts
given: u = 1 | 5 | 10; N = 8 | 10 | 12; V = 1 | 2

## A binary capacitor DAC for an {N}-bit SAR ADC is built from {u} fF unit capacitors, $2^N$ of them in all; full scale is {V} V.

::: part
answer: u*2^N/1000
unit: pF
tolerance: 0.5%

### What is its total capacitance?

::: misses
- [any] $2^NC_u$.
:::
:::

::: part
answer: sqrt(1.380649e-23*300/(u*1e-15*2^N))*1e6
unit: µV
tolerance: 0.5%

### What kT/C noise does it sample?

::: misses
- [any] $\sqrt{kT/C_\text{total}}$.
:::
:::

::: part
answer: sqrt(1.380649e-23*300/(u*1e-15*2^N))/(V/2^N/sqrt(12))
tolerance: 0.5%

### What is that as a fraction of the quantization noise?

::: misses
- [any] Divide by $\text{LSB}/\sqrt{12}$.
:::
:::
:::

::: check
kind: parts
given: N = 4 | 6 | 8; c = 20 | 50; p = 0.1 | 0.5

## An {N}-bit flash ADC uses comparators with {c} fF of input capacitance that each burn {p} mW.

::: part
answer: 2^N - 1
tolerance: 0

### How many comparators does it need?

::: misses
- [2^N] One threshold between each pair of adjacent codes.
- [any] $2^N - 1$.
:::
:::

::: part
answer: (2^N - 1)*c/1000
unit: pF
tolerance: 0.5%

### What capacitance does its input present?

::: misses
- [any] All the comparators hang on the input.
:::
:::

::: part
answer: (2^N - 1)*p
unit: mW
tolerance: 0.5%

### What do the comparators burn?

::: misses
- [any] Count times power.
:::
:::
:::

::: check
kind: parts
given: N = 10 | 12 | 14

## A pipeline ADC is built from 1.5-bit stages with an interstage gain of 2 (feedback factor 1/2), ending in a 2-bit flash, for {N} bits in all.

::: part
answer: N - 2
tolerance: 0

### How many 1.5-bit stages does it need?

::: misses
- [any] Each stage resolves one effective bit; the flash adds two.
:::
:::

::: part
answer: 20*log(2^(N + 1))
unit: dB
tolerance: 0.5%

### What op-amp gain keeps the first stage's gain error under half an LSB of the {N} − 1 bits behind it?

::: misses
- [20*log(2^N)] Include the feedback factor: the error is $1/(A\beta)$.
- [any] $1/(A\beta) < 2^{-N}$.
:::
:::
:::

::: check
kind: parts
given: N = 8 | 10 | 12; s = 0.2 | 0.5 | 1

## A unary current-steering DAC with {N} bits uses unit sources matched to {s}% (one standard deviation).

::: part
answer: s/100/2*sqrt(2^N)
unit: LSB
tolerance: 0.5%

### What is the standard deviation of its INL at midscale?

::: misses
- [s/100*sqrt(2^N)] At midscale half the elements are on, and the endpoints pin the line: $\frac12\sigma_u\sqrt{2^N}$.
- [any] $\tfrac12\sigma_u\sqrt{2^N}$.
:::
:::

::: part
answer: 100/(3*sqrt(2^N))
unit: %
tolerance: 0.5%

### What unit matching would put 3σ of that at half an LSB?

::: misses
- [any] Solve $3\cdot\tfrac12\sigma_u\sqrt{2^N} = \tfrac12$.
:::
:::
:::

::: check
kind: parts
given: D = 60 | 70 | 80; B = 1 | 10 | 100; P = 1 | 10 | 100

## A converter reaches {D} dB SNDR over a {B} MHz band (sampling at the Nyquist rate) while burning {P} mW.

::: part
answer: D + 10*log(B*1e6/(P*1e-3))
unit: dB
tolerance: 0.5%

### What is its Schreier figure of merit?

::: misses
- [any] $\text{SNDR} + 10\log(BW/P)$.
:::
:::

::: part
answer: P*1e-3/(2^((D - 1.76)/6.02)*2*B*1e6)*1e15
unit: fJ
tolerance: 0.5%

### What is its Walden figure of merit, in energy per conversion step?

::: misses
- [P*1e-3/(2^((D - 1.76)/6.02)*B*1e6)*1e15] Nyquist sampling is twice the bandwidth.
- [any] $P/(2^\text{ENOB}f_s)$.
:::
:::
:::

::: check
kind: parts
given: N = 12 | 16 | 20; f = 1 | 4; k = 1 | 2 | 5; L = 50 | 60

## An {N}-bit dual-slope ADC counts through $2^N$ clock cycles in its fixed integration phase. It should reject the {L} Hz line by integrating over exactly {k} line cycles.

::: part
answer: 2^N*L/k/1e6
unit: MHz
tolerance: 0.5%

### What clock rate makes the integration phase last exactly {k} cycles?

::: misses
- [any] $2^N/f_\text{clk} = k/f_\text{line}$.
:::
:::

::: part
answer: L/(2*k)
unit: Hz
tolerance: 0.5%

### What is its conversion rate, if the de-integration phase can take as long as the integration?

::: misses
- [L/k] The de-integration can double the time.
- [any] One conversion per $2k/f_\text{line}$.
:::
:::
:::

::: check
kind: parts
given: K = 3 | 4; R = 16 | 64 | 256; n = 1 | 4

## A delta-sigma ADC's decimator starts with a CIC filter of order {K} that decimates by {R}, fed with {n}-bit words.

::: part
answer: n + K*round(log(R)/log(2))
unit: bits
tolerance: 0

### How wide must its registers be?

::: misses
- [any] Word growth is $K\log_2 R$ bits.
:::
:::

::: part
answer: 20*K*log(R)
unit: dB
tolerance: 0.5%

### What is its DC gain in dB?

::: misses
- [any] $R^K$.
:::
:::
:::

::: check
kind: parts
given: e = 0.1 | 0.5 | 1; d = 0.5 | 1 | 2; f = 100 | 500

## Two interleaved ADCs share a {f} MHz input. Their gains differ by {e}%, and their sampling instants are skewed by {d} ps.

::: part
answer: 20*log(e/100/2)
unit: dBc
tolerance: 0.5%

### What image spur does the gain mismatch create?

::: misses
- [20*log(e/100)] The image is half the mismatch.
- [any] $20\log(\varepsilon/2)$.
:::
:::

::: part
answer: 20*log(pi*f*1e6*d*1e-12)
unit: dBc
tolerance: 0.5%

### What spur does the timing skew create?

::: misses
- [20*log(2*pi*f*1e6*d*1e-12)] The image is half the phase error: $\pi f\Delta t$.
- [any] $20\log(\pi f_\text{in}\Delta t)$.
:::
:::
:::
:::
