---
title: Problem set 11
heading: "Problem set 11: designing analog systems"
eyebrow: S2 · Problem set 11
type: problems
---

::: hook
These problems join the course's blocks into systems: drivers and converters, sensor front ends, references and regulators, clocks, sample-and-holds and power budgets. Each one is a budget: decide what each block may contribute, then size it. k = 1.381 × 10⁻²³ J/K and T = 300 K; full scale means peak to peak, so a full-scale sine has power $V_{FS}^2/8$.
:::

::: pool
pick: 12

::: check
kind: parts
given: N = 12 | 14 | 16; s = 1 | 10; e = 3 | 10

## An op-amp follower drives an {N}-bit ADC sampling at {s} MS/s and must settle each sample to half an LSB in half a sample period. Its input noise is {e} nV/√Hz.

::: part
answer: 1/(2*s*1e6)/ln(2^(N + 1))*1e9
unit: ns
tolerance: 0.5%

### What closed-loop time constant can it have?

::: misses
- [any] $(T_s/2)/\ln 2^{N+1}$.
:::
:::

::: part
answer: ln(2^(N + 1))*2*s*1e6/(2*pi)/1e6
unit: MHz
tolerance: 0.5%

### What gain-bandwidth does that take?

::: misses
- [any] $1/(2\pi\tau)$ for a follower.
:::
:::

::: part
answer: e*sqrt(pi/2*ln(2^(N + 1))*2*s*1e6/(2*pi))/1000
unit: µV
tolerance: 0.5%

### How much rms noise does the follower deliver over its own bandwidth?

::: misses
- [e*sqrt(ln(2^(N + 1))*2*s*1e6/(2*pi))/1000] A one-pole response's noise bandwidth is π/2 times its corner.
- [any] $e_n\sqrt{\frac\pi2\text{GBW}}$.
:::
:::
:::

::: check
kind: parts
given: N = 14 | 16; V = 2 | 4; n = 50 | 100 | 200

## An {N}-bit ADC with a {V} V full scale is driven by a stage that adds {n} µV rms of noise.

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

### What SNR does the combination reach?

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

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

### How many effective bits does the driver cost?

::: misses
- [any] N minus the ENOB.
:::
:::
:::

::: check
kind: parts
given: s = 2 | 10 | 20; V = 2.5 | 5; N = 16 | 20 | 24; e = 5 | 20; B = 10 | 100

## A bridge sensor's full-scale output is {s} mV; an amplifier must map it onto a {V} V full-scale, {N}-bit ADC. The amplifier has {e} nV/√Hz, and the signal band is {B} Hz.

::: part
answer: V*1000/s
tolerance: 0.5%

### What gain does the amplifier need?

::: misses
- [any] ADC span over sensor span.
:::
:::

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

### What is one LSB, referred to the sensor?

::: misses
- [any] Sensor span over $2^N$.
:::
:::

::: part
answer: e*sqrt(B)/1000
unit: µV
tolerance: 0.5%

### What rms noise does the amplifier add in the band, at its input?

::: misses
- [any] $e_n\sqrt B$ (white noise; a chopper removes the 1/f part).
:::
:::
:::

::: check
kind: parts
given: v = 1.2 | 2.5; t = 5 | 20 | 50; D = 100 | 125; N = 12 | 14 | 16

## An {N}-bit ADC uses a {v} V reference whose tempco is {t} ppm/K, over a {D} K temperature range.

::: part
answer: v*t*1e-6*D*1000
unit: mV
tolerance: 0.5%

### How far does the reference drift over the range?

::: misses
- [any] $V\cdot\text{TC}\cdot\Delta T$.
:::
:::

::: part
answer: t*1e-6*D*2^N
unit: LSB
tolerance: 0.5%

### How many LSBs of full-scale error is that?

::: misses
- [any] Drift over LSB: $\text{TC}\cdot\Delta T\cdot2^N$.
:::
:::

::: part
answer: 1e6/(2^N*D)
unit: ppm/K
tolerance: 0.5%

### What tempco would hold it to one LSB?

::: misses
- [any] Solve $\text{TC}\cdot\Delta T\cdot2^N = 1$.
:::
:::
:::

::: check
kind: parts
given: r = 10 | 50 | 100; P = 40 | 60 | 80; N = 12 | 16; V = 1.8 | 3.3

## An LDO powers an ADC's reference buffer. {r} mV of switching ripple on its input is attenuated by {P} dB of PSRR, and the buffer passes what's left straight to the {V} V reference of an {N}-bit converter.

::: part
answer: r*1000*10^(-P/20)
unit: µV
tolerance: 0.5%

### How much ripple reaches the reference?

::: misses
- [r*1000*10^(-P/10)] PSRR is a voltage ratio: 20 log.
- [any] $r\cdot10^{-\text{PSRR}/20}$.
:::
:::

::: part
answer: r*1e-3*10^(-P/20)/(V/2^N)
unit: LSB
tolerance: 0.5%

### How many LSBs is that?

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

::: check
kind: parts
given: R = 10 | 100; C = 5 | 20; G = 10 | 50

## A photodiode with {C} pF of capacitance feeds a transimpedance amplifier with $R_f$ = {R} kΩ, built on a {G} MHz op amp; $C_f$ is chosen for a Butterworth response, with $C_d \gg C_f$.

::: part
answer: sqrt(G*1e6/(2*pi*R*1000*C*1e-12))/1e6
unit: MHz
tolerance: 0.5%

### What bandwidth does it reach?

::: misses
- [any] $\sqrt{\text{GBW}/(2\pi R_fC_d)}$.
:::
:::

::: part
answer: sqrt(C*1e-12/(pi*R*1000*G*1e6))*1e15
unit: fF
tolerance: 0.5%

### What feedback capacitance gives that response?

::: misses
- [sqrt(C*1e-12/(2*pi*R*1000*G*1e6))*1e15] That gives 45° of margin; Butterworth needs √2 times more.
- [any] $C_f = \sqrt{C_d/(\pi R_f\text{GBW})}$.
:::
:::

::: part
answer: sqrt(4*1.380649e-23*300/(R*1000))*1e15
unit: fA/√Hz
tolerance: 0.5%

### What current noise does $R_f$ add at the input?

::: misses
- [any] $\sqrt{4kT/R_f}$.
:::
:::
:::

::: check
kind: parts
given: S = -38 | -42 | -46; M = 110 | 120; F = 1 | 2

## A microphone's sensitivity is {S} dBV/Pa (1 Pa is 94 dB SPL). The loudest sound to record is {M} dB SPL, and it should reach the {F} V rms full scale of the ADC.

::: part
answer: 10^(S/20)*1000
unit: mV
tolerance: 0.5%

### What rms voltage does the microphone give at 94 dB SPL?

::: misses
- [any] $10^{S/20}$ volts.
:::
:::

::: part
answer: 20*log(F) - S - (M - 94)
unit: dB
tolerance: 0.5%

### What preamp gain maps the loudest sound to full scale?

::: misses
- [any] Full scale in dBV minus the microphone's output at {M} dB SPL.
:::
:::
:::

::: check
kind: parts
given: D = 70 | 80 | 90 | 100; B = 0.02 | 1 | 20; F = 170 | 180

## A converter must reach {D} dB SNDR over a {B} MHz band; the best designs reach a Schreier figure of merit of {F} dB.

::: part
answer: B*1e6*10^((D - F)/10)*1000
unit: mW
tolerance: 0.5%

### What power should it expect to need?

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

::: part
answer: B*1e6*10^((D + 6 - F)/10)*1000
unit: mW
tolerance: 0.5%

### And for 6 dB more SNDR at the same figure of merit?

::: misses
- [any] Each 6 dB costs four times the power.
:::
:::
:::

::: check
kind: parts
given: S = 60 | 70 | 80; f = 10 | 100; c = 100 | 500; B = 10 | 100

## An ADC must keep a {f} MHz input at {S} dB SNR, counting only clock jitter. Its {c} MHz sampling clock has flat phase noise over the {B} MHz on each side that matters.

::: part
answer: 10^(-S/20)/(2*pi*f*1e6)*1e15
unit: fs
tolerance: 0.5%

### How much rms jitter can the clock have?

::: misses
- [any] $\sigma_t = 10^{-\text{SNR}/20}/(2\pi f_\text{in})$.
:::
:::

::: part
answer: 10*log((2*pi*c*1e6*10^(-S/20)/(2*pi*f*1e6))^2/(2*B*1e6))
unit: dBc/Hz
tolerance: 0.5%

### What phase-noise level gives that jitter?

::: misses
- [any] $\sigma_\phi = 2\pi f_c\sigma_t$, and $\sigma_\phi^2 = 2\cdot10^{\mathcal L/10}B$.
:::
:::
:::

::: check
kind: parts
given: N = 12 | 14; t = 70 | 80; j = 100 | 300; f = 50 | 200

## An {N}-bit ADC also has thermal noise for {t} dB of SNR, and its {j} fs of clock jitter samples a {f} MHz input.

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

### What SNR does the jitter alone allow?

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

::: part
answer: -10*log(10^(-(6.02*N + 1.76)/10) + 10^(-t/10) + 10^(2*log(2*pi*f*1e6*j*1e-15)))
unit: dB
tolerance: 0.5%

### What is the total SNR?

::: misses
- [any] Add the three noise powers.
:::
:::

::: part
answer: (-10*log(10^(-(6.02*N + 1.76)/10) + 10^(-t/10) + 10^(2*log(2*pi*f*1e6*j*1e-15))) - 1.76)/6.02
unit: bits
tolerance: 0.5%

### What ENOB is that?

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

::: check
kind: parts
given: o = 50 | 200; d = 0.5 | 2; D = 50 | 100; G = 10 | 100; N = 12 | 16; r = 1 | 5

## An amplifier with {o} µV of offset drifting {d} µV/K drives an {N}-bit, 2 V full-scale ADC with a gain of {G}, over a {D} K range.

::: part
answer: G*(o + d*D)/1000
unit: mV
tolerance: 0.5%

### What worst-case error does that put at the ADC?

::: misses
- [G*o/1000] Add the drift over the range.
- [any] $G(V_{os} + \text{drift}\cdot\Delta T)$.
:::
:::

::: part
answer: G*(o + d*D)*1e-6/(2/2^N)
unit: LSB
tolerance: 0.5%

### How many LSBs?

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

::: part
answer: G*r*1e-6/(2/2^N)
unit: LSB
tolerance: 0.5%

### How many after chopping leaves only {r} µV?

::: misses
- [any] $Gr/\text{LSB}$.
:::
:::
:::

::: check
kind: parts
given: b = 1 | 2; A = 3 | 5; v = 0.2 | 0.5; s = 0.1 | 0.2 | 0.5

## A current source's matching follows $\sigma_I/I = \sqrt{A_\beta^2 + (2A_{VT}/V_{ov})^2}/\sqrt{WL}$, with $A_\beta$ = {b} %·µm and $A_{VT}$ = {A} mV·µm, at {v} V overdrive. It must match to {s}%.

::: part
answer: (b^2 + (2*A/(v*1000)*100)^2)/s^2
unit: µm²
tolerance: 0.5%

### What gate area does it need?

::: misses
- [(b^2 + (2*A/(v*1000))^2)/s^2] Express $2A_{VT}/V_{ov}$ in %·µm: multiply by 100.
- [any] $WL = (A_\beta^2 + (2A_{VT}/V_{ov})^2)/\sigma^2$.
:::
:::

::: part
answer: (b^2 + (2*A/(2*v*1000)*100)^2)/s^2
unit: µm²
tolerance: 0.5%

### And at twice the overdrive?

::: misses
- [any] The threshold term shrinks fourfold.
:::
:::
:::

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

## A sample-and-hold for an {N}-bit converter with a {V} V full scale samples at {f} MS/s, with half a period to track.

::: part
answer: 1.380649e-23*300*10^((6.02*N + 1.76)/10)/(V^2/8)*1e12
unit: pF
tolerance: 0.5%

### What capacitance keeps kT/C noise at the quantization noise?

::: misses
- [any] $kT/C = (V^2/8)/10^{(6.02N + 1.76)/10}$.
:::
:::

::: part
answer: 1/(2*f*1e6)/(1.380649e-23*300*10^((6.02*N + 1.76)/10)/(V^2/8)*ln(2^(N + 1)))
unit: Ω
tolerance: 0.5%

### What switch resistance tracks to half an LSB in time?

::: misses
- [any] $R_\text{on}C\ln2^{N+1} = T/2$.
:::
:::
:::

::: check
kind: parts
given: v = 1.2 | 1.25; R = 10 | 50 | 120; t = 100 | 1000 | 2000; D = 100 | 125

## A bias current is made by forcing a {v} V bandgap voltage across an on-chip {R} kΩ resistor whose tempco is +{t} ppm/K.

::: part
answer: v/R*1000
unit: µA
tolerance: 0.5%

### What current does it make?

::: misses
- [any] $V_\text{BG}/R$.
:::
:::

::: part
answer: (1/(1 + t*1e-6*D) - 1)*100
unit: %
tolerance: 0.5%

### By what percentage does the current change over a {D} K rise?

::: misses
- [-t*1e-6*D*100] Close for small tempcos; the exact change is $1/(1 + \text{TC}\Delta T) - 1$.
- [any] The current goes as 1/R.
:::
:::
:::

::: check
kind: parts
given: I = 0.5 | 2; V = 1.8 | 3.3; t = 1 | 10; P = 1 | 10; s = 1 | 5

## A sensor node wakes every {P} s; each time its front end and ADC draw {I} mA from {V} V for {t} ms. Asleep it draws {s} µA.

::: part
answer: I*V*t
unit: µJ
tolerance: 0.5%

### How much energy does each measurement take?

::: misses
- [any] IVt.
:::
:::

::: part
answer: I*V*t/P + s*V
unit: µW
tolerance: 0.5%

### What is the average power?

::: misses
- [I*V*t/P] Add the sleep current's share.
- [any] $E\cdot\text{rate} + I_\text{sleep}V$.
:::
:::
:::
:::
