---
title: Problem set 8
heading: "Problem set 8: real op amps, noise, stability and compensation"
eyebrow: C6 · Problem set 8
type: problems
---

::: hook
These problems use lessons 35 to 39: real op-amp limits, offsets and noise, stability and ringing, and frequency compensation. Use $k = 1.381 \times 10^{-23}$ J/K and T = 300 K.
:::

::: pool
pick: 12

::: check
kind: parts
given: GBW = 1 | 10 | 50; G = 10 | 100; SR = 0.5 | 20; Vp = 1 | 10

## An op amp (GBW {GBW} MHz, slew rate {SR} V/µs) runs at a gain of {G} with a {Vp} V peak output.

::: part
answer: GBW*1000/G
unit: kHz
tolerance: 0.5%

### What is its small-signal bandwidth?

::: misses
- [any] GBW over the noise gain.
:::
:::

::: part
answer: SR*1e6/(2*pi*Vp)/1000
unit: kHz
tolerance: 0.5%

### What is its full-power bandwidth?

::: misses
- [any] $\text{SR}/(2\pi V_p)$.
:::
:::
:::

::: check
kind: parts
given: Vos = 0.1 | 2; Rf = 9 | 99; IB = 1 | 100; IOS = 0.1 | 10

## A non-inverting amplifier has $R_f$ = {Rf} kΩ and $R_g$ = 1 kΩ; its op amp has $V_{OS}$ = {Vos} mV, $I_B$ = {IB} nA and $I_{OS}$ = {IOS} nA.

::: part
answer: Vos*(1 + Rf)
unit: mV
tolerance: 0.5%

### What output offset does $V_{OS}$ cause?

::: misses
- [any] Times the noise gain.
:::
:::

::: part
answer: IOS*Rf/1000
unit: mV
tolerance: 0.5%

### With a compensating resistor, what does the bias current cause?

::: misses
- [any] $I_{OS}R_f$.
:::
:::
:::

::: check
kind: parts
given: en = 2 | 20; inn = 0.01 | 2; Rs = 0.1 | 50

## An op amp with $e_n$ = {en} nV/√Hz and $i_n$ = {inn} pA/√Hz amplifies a {Rs} kΩ source.

::: part
answer: sqrt(en^2 + (inn*Rs)^2 + 4*1.381e-23*300*Rs*1000*1e18)
unit: nV/√Hz
tolerance: 0.5%

### What is the total input noise density?

::: misses
- [any] $\sqrt{e_n^2 + (i_nR_s)^2 + 4kTR_s}$.
:::
:::

::: part
answer: 10*log((en^2 + (inn*Rs)^2 + 4*1.381e-23*300*Rs*1000*1e18)/(4*1.381e-23*300*Rs*1000*1e18))
unit: dB
tolerance: 0.5%

### What is the noise figure?

::: misses
- [any] $10\log_{10}(e_\text{total}^2/4kTR_s)$.
:::
:::
:::

::: check
kind: parts
given: e = 5 | 30; G = 10 | 1000; fc = 1 | 50

## An amplifier with {e} nV/√Hz at its input and noise gain {G} feeds a single-pole filter with a {fc} kHz corner.

::: part
answer: pi/2*fc
unit: kHz
tolerance: 0.5%

### What is the noise bandwidth?

::: misses
- [any] $\frac{\pi}{2}f_c$.
:::
:::

::: part
answer: G*e*sqrt(pi/2*fc*1000)/1000
unit: µV
tolerance: 0.5%

### What RMS noise reaches the output?

::: misses
- [any] Gain times density times $\sqrt{B_n}$.
:::
:::
:::

::: check
kind: parts
given: Ro = 20 | 100; CL = 0.1 | 10; GBW = 1 | 10

## An op amp (GBW {GBW} MHz, output resistance {Ro} Ω) drives {CL} nF as a follower.

::: part
answer: 1/(2*pi*Ro*CL*1e-9)/1e6
unit: MHz
tolerance: 0.5%

### Where does the load put a second pole?

::: misses
- [any] $1/(2\pi R_OC_L)$.
:::
:::

::: part
answer: 90 - atan(GBW/(1/(2*pi*Ro*CL*1e-9)/1e6))*180/pi
unit: °
tolerance: 0.5%

### Estimate the phase margin (crossover at GBW).

::: misses
- [any] $90° - \arctan(\text{GBW}/f_2)$.
:::
:::
:::

::: check
kind: parts
given: f2 = 5 | 10 | 20

## A follower has GBW = 10 MHz and a second pole at {f2} MHz.

::: part
answer: 0.5*sqrt(f2/10)
tolerance: 0.5%

### What damping ratio does its closed loop have?

::: misses
- [any] $\zeta = \frac12\sqrt{f_2/\text{GBW}}$.
:::
:::

::: part
answer: 100*exp(-pi*0.5*sqrt(f2/10)/sqrt(1 - 0.25*f2/10))
unit: %
tolerance: 0.5%

### What step overshoot does it have?

::: misses
- [any] $100e^{-\pi\zeta/\sqrt{1 - \zeta^2}}$ for ζ < 1.
:::
:::
:::

::: check
kind: parts
given: gm1 = 0.2 | 2; Cc = 0.5 | 5; I = 20 | 200

## A Miller-compensated op amp has $g_{m1}$ = {gm1} mS, $C_c$ = {Cc} pF and a {I} µA tail.

::: part
answer: gm1*1e-3/(2*pi*Cc*1e-12)/1e6
unit: MHz
tolerance: 0.5%

### What is its GBW?

::: misses
- [any] $g_{m1}/(2\pi C_c)$.
:::
:::

::: part
answer: I/Cc
unit: V/µs
tolerance: 0.5%

### What is its slew rate?

::: misses
- [any] $I/C_c$.
:::
:::
:::

::: check
kind: parts
given: gm1 = 0.5 | 2; gm2 = 2 | 20; CL = 2 | 20; PM = 55 | 65

## A two-stage op amp has $g_{m1}$ = {gm1} mS, $g_{m2}$ = {gm2} mS and a {CL} pF load, and must have {PM}° of phase margin with its zero nulled.

::: part
answer: gm2*1e-3/(2*pi*CL*1e-12)/1e6
unit: MHz
tolerance: 0.5%

### Where is the second pole?

::: misses
- [any] $g_{m2}/(2\pi C_L)$.
:::
:::

::: part
answer: gm1*1e-3/(2*pi*gm2*1e-3/(2*pi*CL*1e-12)*tan((90 - PM)*pi/180))*1e12
unit: pF
tolerance: 0.5%

### What $C_c$ does it need?

::: misses
- [any] GBW = $f_2\tan(90° - \text{PM})$, then $C_c = g_{m1}/(2\pi\text{GBW})$.
:::
:::
:::

::: check
kind: parts
given: gm2 = 1 | 10; Cc = 0.5 | 5; GBW = 10 | 50

## A second stage with $g_{m2}$ = {gm2} mS has a {Cc} pF compensation capacitor; the op amp's GBW is {GBW} MHz.

::: part
answer: gm2*1e-3/(2*pi*Cc*1e-12)/1e6
unit: MHz
tolerance: 0.5%

### Where is the right-half-plane zero?

::: misses
- [any] $g_{m2}/(2\pi C_c)$.
:::
:::

::: part
answer: atan(GBW/(gm2*1e-3/(2*pi*Cc*1e-12)/1e6))*180/pi
unit: °
tolerance: 0.5%

### How much phase does it cost at GBW?

::: misses
- [any] $\arctan(\text{GBW}/f_z)$.
:::
:::
:::

::: check
kind: parts
given: drift = 0.5 | 5; dT = 30 | 100; G = 100 | 1000

## A precision amplifier has a noise gain of {G}; its op amp's offset drifts {drift} µV/°C.

::: part
answer: drift*dT*G/1000
unit: mV
tolerance: 0.5%

### How far does its output move over {dT} °C?

::: misses
- [any] Drift × ΔT × gain.
:::
:::

::: part
answer: drift*dT
unit: µV
tolerance: 0.5%

### What input-referred error is that?

::: misses
- [any] Drift × ΔT.
:::
:::
:::

::: check
kind: parts
given: f = 20 | 100; Vp = 2 | 10; G = 10 | 50

## An op amp must deliver a {Vp} V peak sine at {f} kHz at a gain of {G}.

::: part
answer: 2*pi*f*1e3*Vp/1e6
unit: V/µs
tolerance: 0.5%

### What slew rate does it need?

::: misses
- [any] $2\pi fV_p$.
:::
:::

::: part
answer: G*f/1000
unit: MHz
tolerance: 0.5%

### What GBW does it need for that to sit at its bandwidth (a 3 dB loss)?

::: misses
- [any] Gain times frequency.
:::
:::
:::

::: check
kind: parts
given: Rf = 10 | 470; Rg = 1 | 10; en = 4 | 15

## An inverting amplifier has $R_f$ = {Rf} kΩ and $R_g$ = {Rg} kΩ; its op amp has $e_n$ = {en} nV/√Hz.

::: part
answer: 1 + Rf/Rg
tolerance: 0.5%

### What is its noise gain?

::: misses
- [any] $1 + R_f/R_g$.
:::
:::

::: part
answer: Rf*Rg/(Rf + Rg)
unit: kΩ
tolerance: 0.5%

### What resistor belongs in its non-inverting input to cancel bias currents?

::: misses
- [any] $R_f \parallel R_g$.
:::
:::
:::

::: check
kind: parts
given: V = 9 | 15; h = 0.2 | 1.2; I = 15 | 60; R = 0.15 | 0.8

## An op amp on ±{V} V swings within {h} V of its rails and supplies {I} mA, into {R} kΩ.

::: part
answer: (V - h)*step(I*R - (V - h)) + I*R*step((V - h) - I*R)
unit: V
tolerance: 0.5%

### What's its largest peak output?

::: misses
- [any] The smaller of the swing and $I_\text{max}R_L$.
:::
:::

::: part
answer: ((V - h)*step(I*R - (V - h)) + I*R*step((V - h) - I*R))^2/(2*R)
unit: mW
tolerance: 1%

### What power does that deliver to the load?

::: misses
- [any] $\frac{\hat V^2}{2R_L}$.
:::
:::
:::

::: check
kind: parts
given: en = 3 | 8; Rg = 0.2 | 2; G = 21 | 201

## A non-inverting amplifier has $R_g$ = {Rg} kΩ, $R_f$ = ({G} − 1)$R_g$, and an op amp with {en} nV/√Hz, at 300 K.

::: part
answer: sqrt(en^2 + 4*1.381e-23*300*Rg*1000*(G - 1)/G*1e18)
unit: nV/√Hz
tolerance: 0.5%

### What's its input-referred density?

::: misses
- [any] $\sqrt{e_n^2 + 4kT(R_g \parallel R_f)}$.
:::
:::

::: part
answer: G*sqrt(en^2 + 4*1.381e-23*300*Rg*1000*(G - 1)/G*1e18)
unit: nV/√Hz
tolerance: 0.5%

### What's its output density?

::: misses
- [any] Times the noise gain.
:::
:::
:::

::: check
kind: parts
given: g = 3 | 8; Cc = 0.8 | 2.5; CL = 3 | 15

## A two-stage op amp has $g_{m2}$ = {g} mS, $C_c$ = {Cc} pF and $C_L$ = {CL} pF.

::: part
answer: g*1e-3/(2*pi*CL*1e-12)/1e6
unit: MHz
tolerance: 0.5%

### Where's its second pole?

::: misses
- [any] $\frac{g_{m2}}{2\pi C_L}$.
:::
:::

::: part
answer: (1 + CL/Cc)/g*1000
unit: Ω
tolerance: 0.5%

### What nulling resistor cancels it with the zero?

::: misses
- [any] $\frac{1 + C_L/C_c}{g_{m2}}$.
:::
:::
:::
:::
