---
title: "Problem set 12: analog design across the course"
heading: "Problem set 12: analog design across the course"
eyebrow: S2 · Problem set 12
type: problems
---

::: hook
These problems mix the whole course the way a design review does: a block's sizing, its bias, its bandwidth and stability, its noise and matching, and the converter or loop it sits in. $V_T$ = 25.85 mV, k = 1.381 × 10⁻²³ J/K, T = 300 K.
:::

::: pool
pick: 12

::: check
kind: parts
given: g = 0.3 | 1.5; e = 10 | 20; A = 8 | 16; G = 0.67 | 1

## An input transistor must give {g} mS at $g_m/I_D$ = {e} /V, with $V_A$ = {A} V and noise factor γ = {G}.

::: part
answer: g/e*1000
unit: µA
tolerance: 1%

### Current?

::: misses
- [any] $g_m/(g_m/I_D)$.
:::
:::

::: part
answer: sqrt(4*1.380649e-23*300*G/(g*1e-3))*1e9
unit: nV
tolerance: 1%

### Input noise density, nV/√Hz?

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

::: part
answer: e*A
tolerance: 1%

### Intrinsic gain?

::: misses
- [any] $(g_m/I_D)V_A$.
:::
:::
:::

::: check
kind: parts
given: V = 0.62 | 0.7; e = 3 | 4; N = 8 | 24; R = 0 | 1500

## A bandgap: $V_{BE0}$ = {V} V, η − α = {e}, ratio N = {N}, resistor TC {R} ppm/K in the PTAT current path.

::: part
answer: ((1.205 - V)/0.02585 + e)/ln(N)
tolerance: 1%

### Resistor gain K?

::: misses
- [any] $K\ln N = (V_{G0} - V_{BE0})/V_T + (\eta - \alpha)$.
:::
:::

::: part
answer: (1/300 - R*1e-6)*1e6
unit: ppm/K
tolerance: 1%

### Temperature coefficient of the PTAT current itself at 300 K?

::: misses
- [any] $1/T - TC_R$.
:::
:::
:::

::: check
kind: parts
given: g = 1 | 4; b = 0.15 | 0.4; o = 20 | 60

## A cascode current source of two identical transistors: $g_m$ = {g} mS, $g_{mb}$ = {b} mS, $r_o$ = {o} kΩ.

::: part
answer: (2*o + (g + b)*o^2)/1000
unit: MΩ
tolerance: 1%

### Output resistance?

::: misses
- [any] $2r_o + (g_m + g_{mb})r_o^2$.
:::
:::

::: part
answer: (2*o + (g + b)*o^2)/1000/(o/1000)
tolerance: 1%

### Improvement over a single transistor?

::: misses
- [any] Divide by $r_o$.
:::
:::
:::

::: check
kind: parts
given: G = 20 | 60; L = 2 | 8; r = 0.25 | 0.5; k = 2 | 3; a = 12 | 20

## A two-stage op amp for GBW = {G} MHz into {L} pF, $C_c$ = {r}$C_L$, $p_2$ = {k}·GBW, input pair at {a} /V.

::: part
answer: 2*pi*G*1e6*r*L*1e-12*1000
unit: mS
tolerance: 1%

### $g_{m1}$?

::: misses
- [any] $2\pi\,\text{GBW}\,C_c$.
:::
:::

::: part
answer: 2*2*pi*G*1e6*r*L*1e-12/a/(r*L*1e-12)/1e6
unit: V/µs
tolerance: 1%

### Slew rate?

::: misses
- [any] $2I_1/C_c$ with $I_1 = g_{m1}/(g_m/I_D)$.
:::
:::

::: part
answer: (1 + 1/r)/(k*2*pi*G*1e6*L*1e-12)/1000
unit: kΩ
tolerance: 1%

### $R_z$ to cancel $p_2$?

::: misses
- [any] $(1 + C_L/C_c)/g_{m6}$.
:::
:::
:::

::: check
kind: parts
given: s = 1 | 4; L = 5 | 25; g = 2 | 8; G = 50 | 200; D = 5 | 15; C = 50 | 200

## A common-source stage: $R_s$ = {s} kΩ, $R_L$ = {L} kΩ, $g_m$ = {g} mS, $C_{gs}$ = {G}, $C_{gd}$ = {D}, $C_L$ = {C} fF.

::: part
answer: 1/(2*pi*(s*G + (s + L + g*s*L)*D + L*C)*1e3*1e-15)/1e6
unit: MHz
tolerance: 1%

### Bandwidth estimate?

::: misses
- [any] Open-circuit time constants.
:::
:::

::: part
answer: 1/(2*pi*(s*G + (s + 2/g)*D + L*C)*1e3*1e-15)/1e6
unit: MHz
tolerance: 1%

### Estimate with a cascode (take $C_{gd}$'s resistance as $R_s$ + 2/$g_m$, the load's time constant unchanged)?

::: misses
- [any] The cascode removes the $g_mR_sR_L$ term.
:::
:::
:::

::: check
kind: parts
given: f = 10 | 40; r = 1 | 2.5; b = 0.1 | 1

## An op amp ($\omega_u/2\pi$ = {f} MHz, $p_2$ = {r}$\omega_u$) in a loop with β = {b}.

::: part
answer: 90 - atan(b/r)*180/pi
unit: °
tolerance: 1%

### Quick-estimate phase margin?

::: misses
- [any] $90° - \arctan(\beta\omega_u/p_2)$.
:::
:::

::: part
answer: 9.2/(2*pi*r*f*1e6)*1e9
unit: ns
tolerance: 1%

### 1% settling time as a follower (β = 1)?

::: misses
- [any] $9.2/p_2$.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 4; W = 10 | 50; L = 0.5 | 2; e = 0.5 | 3; i = 0.5 | 2

## An input pair {W} µm × {L} µm ($A_{VT}$ = {A} mV·µm) in an amplifier with $e_n$ = {e} nV/√Hz and $i_n$ = {i} pA/√Hz.

::: part
answer: A/sqrt(W*L)
unit: mV
tolerance: 1%

### Offset spread?

::: misses
- [any] $A_{VT}/\sqrt{WL}$.
:::
:::

::: part
answer: e/i*1000
unit: Ω
tolerance: 1%

### Optimum source resistance?

::: misses
- [any] $e_n/i_n$.
:::
:::
:::

::: check
kind: parts
given: A = 5 | 25; v = 0.15 | 0.3; T = 1 | 4

## Linearity: differential pairs driven with {A} mV.

::: part
answer: 20*log((A/1000)^2/(48*0.02585^2)) - 20*log(1 + T)
unit: dB
tolerance: 1%

### Bipolar pair's HD3 with degeneration giving loop gain {T}?

::: misses
- [any] $A^2/48V_T^2$ divided by 1 + T.
:::
:::

::: part
answer: 20*log((A/1000)^2/(32*v^2))
unit: dB
tolerance: 1%

### MOS pair's HD3 at $V_{ov}$ = {v} V, undegenerated?

::: misses
- [any] $A^2/32V_{ov}^2$.
:::
:::
:::

::: check
kind: parts
given: N = 10 | 14; V = 1 | 2; f = 50 | 500

## An {N}-bit, {V} V full-scale converter sampling {f} MHz signals.

::: part
answer: 1.380649e-23*300/(V/2^N/sqrt(12))^2*1e12
unit: pF
tolerance: 1%

### Capacitance for kT/C noise equal to quantization noise?

::: misses
- [any] $C = kT/(\text{LSB}^2/12)$.
:::
:::

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

### Jitter that would equal the quantization SNR?

::: misses
- [any] $-20\log(2\pi f\sigma_t) = 6.02N + 1.76$.
:::
:::
:::

::: check
kind: parts
given: L = 2 | 3; B = 20 | 100; s = 3 | 12

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

::: 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 SQNR formula.
:::
:::

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

### Its ENOB?

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

::: check
kind: parts
given: N = 100 | 400; I = 50 | 150; K = 100 | 300; C = 100 | 300; z = 0.6 | 1

## A charge-pump PLL with N = {N}, $I_{cp}$ = {I} µA, $K_{VCO}$ = 2π × {K} MHz/V, C = {C} pF, aiming for ζ = {z}.

::: 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*z/sqrt(I*1e-6*2*pi*K*1e6*C*1e-12/(2*pi*N))/1000
unit: kΩ
tolerance: 1%

### Loop-filter resistor?

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

::: check
kind: parts
given: s = 0.2 | 1; N = 10 | 12; f = 1 | 20

## A {N}-bit SAR ADC with {s}% unit-capacitor mismatch, sampling at {f} MS/s.

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

### Midscale DNL spread, LSB?

::: misses
- [any] $\sigma\sqrt{2^N - 1}$.
:::
:::

::: part
answer: (N + 1)*f
unit: MHz
tolerance: 0.1%

### Internal clock (one sampling cycle plus one per bit)?

::: misses
- [any] $(N + 1)f_s$.
:::
:::
:::

::: check
kind: parts
given: f = 1 | 10 | 100

## A fourth-order Butterworth low-pass at {f} kHz is built from two equal-resistor Sallen–Key sections, with Q = 0.541 and Q = 1.307.

::: part
answer: 4*1.307^2
tolerance: 0.5%

### What capacitor ratio does the high-Q section need?

::: misses
- [any] $C_1/C_2 = 4Q^2$.
:::
:::

::: part
answer: 20*log(1.307/sqrt(1 - 1/(4*1.307^2)))
unit: dB
tolerance: 0.5%

### How high does that section alone peak?

::: misses
- [20*log(1.307)] That's its gain at $f_0$; the peak is a little higher.
- [any] $Q/\sqrt{1 - 1/4Q^2}$.
:::
:::

::: part
answer: f*sqrt(1 - 1/(2*1.307^2))
unit: kHz
tolerance: 0.5%

### At what frequency is that peak?

::: misses
- [any] $f_0\sqrt{1 - 1/2Q^2}$.
:::
:::
:::

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

## An LDO supplies an ADC's {V} V reference. A {I} mA load step must not move it by more than one LSB of {N} bits before the {t} µs loop responds (ignore ESR).

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

### What is the LSB?

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

::: part
answer: I*1e-3*t*1e-6/(V/2^N)*1e6
unit: µF
tolerance: 0.5%

### What output capacitance does that need?

::: misses
- [any] $C = \Delta I\,t/\text{LSB}$.
:::
:::
:::

::: check
kind: parts
given: F = 3 | 6; B = 1 | 20; P = -20 | -10

## A receiver with a {F} dB noise figure digitizes a {B} MHz channel; its strongest signal is {P} dBm, referred to the same input.

::: part
answer: -174 + F + 10*log(B*1e6)
unit: dBm
tolerance: 0.5%

### Where is its noise floor?

::: misses
- [any] $-174 + \text{NF} + 10\log B$.
:::
:::

::: part
answer: ceil((P - (-174 + F + 10*log(B*1e6)) - 1.76)/6.02)
unit: bits
tolerance: 0

### How many bits must its ADC have to span from the noise floor to the strongest signal?

::: misses
- [any] $(\text{DR} - 1.76)/6.02$, rounded up.
:::
:::
:::
:::
