---
title: "Problem set 9: sampled-data circuits, converters and PLLs"
heading: "Problem set 9: switched capacitors, comparators, converters and PLLs"
eyebrow: S2 · Problem set 9
type: problems
---

::: hook
These problems cover lessons 39 to 45: switched-capacitor integrators and switch errors, latch regeneration and metastability, aperture jitter, quantization and converter architectures, delta-sigma noise shaping, and charge-pump PLL dynamics. k = 1.381 × 10⁻²³ J/K, T = 300 K.
:::

::: pool
pick: 12

::: check
kind: parts
given: f = 0.5 | 4; a = 0.5 | 2; b = 5 | 20

## A switched-capacitor integrator: $C_1$ = {a} pF, $C_2$ = {b} pF, clock {f} MHz.

::: part
answer: 1/(f*1e6*a*1e-12)/1e3
unit: kΩ
tolerance: 1%

### Resistance $C_1$ emulates?

::: misses
- [any] $1/f_sC_1$.
:::
:::

::: part
answer: f*1e6*a/(2*pi*b)/1e3
unit: kHz
tolerance: 1%

### Unity-gain frequency?

::: misses
- [any] $f_sC_1/2\pi C_2$.
:::
:::
:::

::: check
kind: parts
given: W = 5 | 20; L = 0.1 | 0.2; c = 8 | 14; v = 0.6 | 1; C = 0.5 | 2; o = 0.5 | 2; V = 1.2 | 1.8

## A sampling switch W/L = {W}/{L} µm ($C_{ox}$ = {c} fF/µm²) at {v} V overdrive onto {C} pF, with {o} fF of gate overlap and a {V} V clock.

::: part
answer: W*L*c*v/(2*C)
unit: mV
tolerance: 1%

### Charge-injection error?

::: misses
- [any] $WLC_{ox}V_{ov}/2C_s$.
:::
:::

::: part
answer: o/(o + C*1000)*V*1000
unit: mV
tolerance: 1%

### Clock feedthrough?

::: misses
- [any] $\frac{C_{ov}}{C_{ov} + C_s}\Delta V_\text{clk}$.
:::
:::
:::

::: check
kind: parts
given: N = 8 | 12; t = 0.5 | 2; f = 50 | 200

## An amplifier with time constant {t} ns settles a switched-capacitor stage clocked at {f} MHz (half a period to settle), for {N} bits.

::: part
answer: ln(2^(N + 1))
tolerance: 1%

### Time constants needed?

::: misses
- [any] $\ln2^{N + 1}$.
:::
:::

::: part
answer: exp(-(1/(2*f*1e6))/(t*1e-9))*100
unit: %
tolerance: 1%

### Settling error actually reached?

::: misses
- [any] $e^{-T/2\tau}$.
:::
:::
:::

::: check
kind: parts
given: g = 0.5 | 1; C = 20 | 40; T = 150 | 400

## A latch with $g_m$ = {g} mS and {C} fF per side, given {T} ps to decide.

::: part
answer: C*1e-15/(g*1e-3)*1e12
unit: ps
tolerance: 1%

### Regeneration time constant?

::: misses
- [any] $C/g_m$.
:::
:::

::: part
answer: exp(-T/(C*1e-15/(g*1e-3)*1e12))*1e6
unit: µV
tolerance: 2%

### Smallest input resolved to 1 V in time?

::: misses
- [any] $e^{-T/\tau}$ volts.
:::
:::
:::

::: check
kind: parts
given: f = 0.2 | 2; s = 50 | 300; N = 10 | 14

## An ADC samples a {f} GHz sine with {s} fs rms jitter; its quantizer has {N} bits.

::: part
answer: -20*log(2*pi*f*1e9*s*1e-15)
unit: dB
tolerance: 0.5%

### Jitter-limited SNR?

::: misses
- [any] $-20\log(2\pi f\sigma_t)$.
:::
:::

::: part
answer: 10^(-(6.02*N + 1.76)/20)/(2*pi*f*1e9)*1e15
unit: fs
tolerance: 1%

### Jitter that would match the quantization SNR?

::: misses
- [any] Equate with 6.02N + 1.76 dB.
:::
:::
:::

::: check
kind: parts
given: V = 1 | 2; N = 10 | 16; S = 58 | 92

## An {N}-bit, {V} V full-scale converter measuring {S} dB SINAD.

::: part
answer: V/2^N*1e6
unit: µV
tolerance: 0.1%

### LSB?

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

::: part
answer: (S - 1.76)/6.02
tolerance: 0.5%

### ENOB?

::: misses
- [any] $(S - 1.76)/6.02$.
:::
:::
:::

::: check
kind: parts
given: N = 5 | 8; s = 0.2 | 1; M = 10 | 14

## Architectures: an {N}-bit flash ADC, and an {M}-bit binary-weighted DAC with {s}% unit mismatch.

::: part
answer: 2^N - 1
tolerance: 0.1%

### Flash comparators?

::: misses
- [any] $2^N - 1$.
:::
:::

::: part
answer: s/100*sqrt(2^M - 1)
tolerance: 1%

### DAC's midscale DNL spread, in LSB?

::: misses
- [any] $\sigma_u\sqrt{2^M - 1}$.
:::
:::
:::

::: check
kind: parts
given: P = 2 | 20; E = 9 | 12; f = 20 | 500

## A converter at {P} mW, {f} MS/s, ENOB {E}.

::: part
answer: P*1e-3/(2^E*f*1e6)*1e15
unit: fJ
tolerance: 1%

### Walden FOM?

::: misses
- [any] $P/2^\text{ENOB}f_s$.
:::
:::

::: part
answer: 6.02*E + 1.76 + 10*log(f*1e6/2/(P*1e-3))
unit: dB
tolerance: 0.5%

### Schreier FOM with SNDR from that ENOB and BW = $f_s/2$?

::: misses
- [any] SNDR + 10 log(BW/P).
:::
:::
:::

::: check
kind: parts
given: B = 20 | 200; s = 5 | 40; L = 1 | 2 | 3

## A one-bit delta-sigma modulator of order {L}, clocked at {s} MHz for a {B} kHz band.

::: part
answer: s*1e6/(2*B*1e3)
tolerance: 0.1%

### OSR?

::: misses
- [any] $f_s/2f_B$.
:::
:::

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

### Ideal SQNR?

::: misses
- [any] The delta-sigma SQNR formula.
:::
:::
:::

::: check
kind: parts
given: f = 10 | 26; N = 100 | 240; I = 50 | 200; K = 50 | 200; C = 100 | 400

## A charge-pump PLL: {f} MHz reference, N = {N}, $I_{cp}$ = {I} µA, $K_{VCO}$ = 2π × {K} MHz/V, C = {C} pF.

::: part
answer: f*N/1000
unit: GHz
tolerance: 0.1%

### Output frequency?

::: misses
- [any] $Nf_\text{ref}$.
:::
:::

::: part
answer: sqrt(I*1e-6*2*pi*K*1e6/(2*pi*N*C*1e-12))/(2*pi)/1e3
unit: kHz
tolerance: 1%

### Natural frequency?

::: misses
- [any] $\frac{1}{2\pi}\sqrt{I_{cp}K_{VCO}/2\pi NC}$.
:::
:::

::: part
answer: 2*0.707/sqrt(I*1e-6*2*pi*K*1e6*C*1e-12/(2*pi*N))/1000
unit: kΩ
tolerance: 1%

### R for ζ = 0.707?

::: misses
- [any] Invert the damping formula.
:::
:::
:::

::: check
kind: parts
given: N = 64 | 512; n = -160 | -145; z = 0.5 | 1; f = 30 | 300

## A PLL with N = {N}, a reference at {n} dBc/Hz, ζ = {z}, natural frequency {f} kHz.

::: part
answer: n + 20*log(N)
unit: dB
tolerance: 1%

### In-band output phase noise, dBc/Hz?

::: misses
- [any] Add 20 log N.
:::
:::

::: part
answer: 4/(z*2*pi*f*1e3)*1e6
unit: µs
tolerance: 1%

### Lock time?

::: misses
- [any] $4/\zeta\omega_n$.
:::
:::
:::

::: check
kind: parts
given: R = 30 | 300; C = 0.5 | 4; I = 1 | 50; t = 1 | 20

## A track-and-hold: {R} Ω switch, {C} pF capacitor leaking {I} pA, holding for {t} µs.

::: part
answer: 1/(2*pi*R*C*1e-12)/1e9
unit: GHz
tolerance: 1%

### Tracking bandwidth?

::: misses
- [any] $1/2\pi R_\text{on}C$.
:::
:::

::: part
answer: I*1e-12*t*1e-6/(C*1e-12)*1e6
unit: µV
tolerance: 1%

### Droop during the hold?

::: misses
- [any] $It/C$.
:::
:::
:::

::: check
kind: parts
given: r = 1 | 10 | 26; z = 0.707 | 1

## A charge-pump PLL with a {r} MHz reference should have $\omega_n$ a tenth of $\omega_\text{ref}$, with ζ = {z}.

::: part
answer: 2*pi*r*1e6/10
unit: rad/s
tolerance: 0.5%

### What natural frequency is that?

::: misses
- [r*1e6/10] Convert to radians per second.
- [any] $2\pi f_\text{ref}/10$.
:::
:::

::: part
answer: 4/(z*2*pi*r*1e6/10)*1e6
unit: µs
tolerance: 0.5%

### About how long does it take to lock after a frequency step?

::: misses
- [any] $4/(\zeta\omega_n)$.
:::
:::
:::

::: check
kind: parts
given: f = 10 | 50; t = 2 | 5

## A switched-capacitor integrator clocked at {f} MHz gets half a period to settle, and its op-amp loop has a {t} ns time constant.

::: part
answer: exp(-1/(2*f*1e6*t*1e-9))*100
unit: %
tolerance: 0.5%

### What fraction of each charge transfer is left unsettled?

::: misses
- [any] $e^{-T/2\tau}$.
:::
:::

::: part
answer: 1/(2*f*1e6*ln(1e4))*1e9
unit: ns
tolerance: 0.5%

### What time constant would bring that to 0.01%?

::: misses
- [any] $\tau = (T/2)/\ln10^4$.
:::
:::
:::

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

## A SAR ADC's comparator adds input-referred noise. The converter has {N} bits on a {V} V full scale, and the comparator may cost at most 0.5 dB of SNR.

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

### What is the LSB?

::: misses
- [any] $V/2^N$.
:::
:::

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

### What rms comparator noise can it allow?

::: misses
- [any] $\sigma_n^2 = (\text{LSB}^2/12)(10^{0.05} - 1)$.
:::
:::
:::
:::
