---
title: Problem set 6
heading: "Problem set 6: instrumentation, analog computation and filters"
eyebrow: C6 · Problem set 6
type: problems
---

::: hook
These problems use lessons 22 to 30: instrumentation amplifiers, integrators and differentiators, active filters, precision rectifiers and log amplifiers, sample-and-holds, and analog switches. Use $V_T$ = 25.85 mV.
:::

::: pool
pick: 12

::: check
kind: parts
given: R2 = 10 | 49.4; RG = 0.1 | 1 | 10; R4 = 10 | 20

## A three-op-amp instrumentation amplifier has $R_2$ = {R2} kΩ, $R_G$ = {RG} kΩ, and $R_4/R_3$ = {R4}/10.

::: part
answer: 1 + 2*R2/RG
tolerance: 0.5%

### What is the first stage's differential gain?

::: misses
- [any] $1 + 2R_2/R_G$.
:::
:::

::: part
answer: (1 + 2*R2/RG)*R4/10
tolerance: 0.5%

### What is the overall gain?

::: misses
- [any] Times $R_4/R_3$.
:::
:::
:::

::: check
kind: parts
given: Vexc = 3.3 | 10; dR = 0.02 | 0.5; G = 100 | 500

## A strain-gauge bridge on {Vexc} V changes one arm by {dR}%, feeding an instrumentation amplifier of gain {G}.

::: part
answer: Vexc*dR/100/4*1000
unit: mV
tolerance: 0.5%

### What is the bridge's differential output?

::: misses
- [any] $V_\text{exc}\Delta R/(4R)$.
:::
:::

::: part
answer: G*Vexc*dR/100/4
unit: V
tolerance: 0.5%

### What does the amplifier output?

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

::: check
kind: parts
given: Ad = 1 | 10; tol = 0.05 | 1; G1 = 10 | 100

## A difference amplifier of gain {Ad} uses {tol}% resistors; an instrumentation amplifier puts a first stage of gain {G1} in front of it.

::: part
answer: 20*log((1 + Ad)/(4*tol/100))
unit: dB
tolerance: 0.5%

### What is the difference amplifier's worst-case CMRR?

::: misses
- [any] $(1 + A_d)/(4\varepsilon)$.
:::
:::

::: part
answer: 20*log((1 + Ad)/(4*tol/100)) + 20*log(G1)
unit: dB
tolerance: 0.5%

### And the instrumentation amplifier's?

::: misses
- [any] Add $20\log_{10}G_1$.
:::
:::
:::

::: check
kind: parts
given: V = 0.5 | 2; R = 22 | 220; C = 10 | 100; t = 1 | 5

## An integrator has R = {R} kΩ and C = {C} nF, with a steady {V} V at its input.

::: part
answer: -V/(R*1e3*C*1e-9)/1000
unit: V/ms
tolerance: 0.5%

### How fast does its output ramp?

::: misses
- [any] $-V/(RC)$.
:::
:::

::: part
answer: -V/(R*1e3*C*1e-9)/1000*t
unit: V
tolerance: 0.5%

### Starting from 0 V, where is it after {t} ms (if not saturated)?

::: misses
- [any] Slope times time.
:::
:::
:::

::: check
kind: parts
given: R = 10 | 100; C = 1 | 100; f = 50 | 2000; Rp = 1 | 10

## An integrator has R = {R} kΩ and C = {C} nF, with {Rp} MΩ across C to stop it drifting.

::: part
answer: 1/(2*pi*f*R*1e3*C*1e-9)
tolerance: 0.5%

### What is its gain magnitude at {f} Hz (well above the leak's corner)?

::: misses
- [any] $1/(\omega RC)$.
:::
:::

::: part
answer: 1/(2*pi*Rp*1e6*C*1e-9)
unit: Hz
tolerance: 0.5%

### Below what frequency does it stop integrating?

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

::: check
kind: parts
given: R = 10 | 47; C = 1 | 22; s = 0.1 | 5

## A differentiator has R = {R} kΩ and C = {C} nF; its input ramps at {s} V/ms.

::: part
answer: -R*1e3*C*1e-9*s*1000
unit: V
tolerance: 0.5%

### What is its output?

::: misses
- [any] $-RC\,dv/dt$.
:::
:::

::: part
answer: 1/(2*pi*R*1e3*C*1e-9)
unit: Hz
tolerance: 0.5%

### At what frequency is its gain 1?

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

::: check
kind: parts
given: R1 = 100 | 159; R2 = 0.8 | 1.5; R3 = 318 | 470; C = 10 | 22

## A multiple-feedback band-pass has $R_1$ = {R1} kΩ, $R_2$ = {R2} kΩ, $R_3$ = {R3} kΩ and two {C} nF capacitors.

::: part
answer: 1/(2*pi*C*1e-9)*sqrt((R1 + R2)/(R1*1e3*R2*1e3*R3*1e3))
unit: Hz
tolerance: 0.5%

### What is its center frequency?

::: misses
- [any] $\frac{1}{2\pi C}\sqrt{\frac{R_1 + R_2}{R_1R_2R_3}}$.
:::
:::

::: part
answer: -R3/(2*R1)
tolerance: 0.5%

### What is its gain at the center?

::: misses
- [any] $-R_3/(2R_1)$.
:::
:::
:::

::: check
kind: parts
given: R = 4.7 | 10; C = 10 | 47; Q = 0.707 | 1 | 2

## An equal-component Sallen-Key low-pass (R = {R} kΩ, C = {C} nF) must have Q = {Q}.

::: part
answer: 3 - 1/Q
tolerance: 0.5%

### What op-amp gain K does it need?

::: misses
- [any] $Q = 1/(3 - K)$.
:::
:::

::: part
answer: 1/(2*pi*R*1e3*C*1e-9)
unit: Hz
tolerance: 0.5%

### What is its $f_0$?

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

::: check
kind: parts
given: vin = 0.01 | 0.5 | 8; R = 1 | 47; IS = 10 | 1000

## A log amplifier has R = {R} kΩ and a transistor with $I_S$ = {IS} fA.

::: part
answer: -0.02585*ln(vin/(R*1000*IS*1e-15))
unit: V
tolerance: 0.2%

### What does it output for {vin} V?

::: misses
- [any] $-V_T\ln\frac{v_\text{in}}{RI_S}$.
:::
:::

::: part
answer: -0.02585*ln(10)
unit: V
tolerance: 0.5%

### How does its output change when the input rises tenfold?

::: misses
- [any] $-V_T\ln 10$.
:::
:::
:::

::: check
kind: parts
given: Vp = 0.2 | 2; A = 1e4 | 1e5; VD = 0.6 | 0.7

## A precision full-wave rectifier (op-amp gain {A}, diodes needing {VD} V) measures a {Vp} V peak sine.

::: part
answer: 2*Vp/pi
unit: V
tolerance: 0.5%

### What average does it produce?

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

::: part
answer: VD/A*1e6
unit: µV
tolerance: 0.5%

### What input does its op amp need to turn a diode on?

::: misses
- [any] $V_D/A$.
:::
:::
:::

::: check
kind: parts
given: IB = 0.1 | 10; C = 10 | 1000; t = 1 | 60

## A precision peak detector holds its value on {C} nF; its buffer draws {IB} nA.

::: part
answer: IB/C
unit: V/s
tolerance: 0.5%

### How fast does it droop?

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

::: part
answer: IB/C*t*1000
unit: mV
tolerance: 0.5%

### How far does it droop in {t} s?

::: misses
- [any] Rate times time.
:::
:::
:::

::: check
kind: parts
given: vin = 0.4 | 0.65; R = 1 | 10; IS = 1 | 10

## An antilog amplifier has a transistor with $I_S$ = {IS} × 10⁻¹⁴ A at its input and R = {R} kΩ in feedback.

::: part
answer: IS*1e-14*exp(vin/0.02585)*1e6
unit: µA
tolerance: 0.5%

### What current does {vin} V at the input set?

::: misses
- [any] $I_Se^{v_\text{in}/V_T}$.
:::
:::

::: part
answer: -R*1000*IS*1e-14*exp(vin/0.02585)
unit: V
tolerance: 0.5%

### What is the output?

::: misses
- [any] $-RI_Se^{v_\text{in}/V_T}$.
:::
:::
:::

::: check
kind: parts
given: V = 3.3 | 5; Rf = 10 | 20; b = 6 | 11 | 14

## A binary-weighted 4-bit DAC has inputs of $R_f$, $2R_f$, $4R_f$ and $8R_f$ with $R_f$ = {Rf} kΩ, driven by {V} V logic.

::: part
answer: -V*15/8
unit: V
tolerance: 0.5%

### What's its full-scale output (code 15)?

::: misses
- [V*15/8] A summing amplifier inverts.
- [any] $-V\left(1 + \frac12 + \frac14 + \frac18\right)$.
:::
:::

::: part
answer: -V*b/8
unit: V
tolerance: 0.5%

### What does code {b} give?

::: misses
- [any] Code × one step, with one step $-\frac V8$.
:::
:::
:::

::: check
kind: parts
given: C = 2.2 | 22; Rf = 4.7 | 47; Rs = 100 | 330; f = 0.5 | 2

## A differentiator has C = {C} nF, $R_f$ = {Rf} kΩ and {Rs} Ω in series with C.

::: part
answer: 2*pi*f*1000*Rf*1000*C*1e-9
tolerance: 1%

### What's its gain at {f} kHz?

::: misses
- [any] $\omega R_fC$ well below the series corner.
:::
:::

::: part
answer: 1/(2*pi*Rs*C*1e-9)/1000
unit: kHz
tolerance: 0.5%

### Where does it stop differentiating?

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

::: check
kind: parts
given: K = 1.4 | 2.2 | 2.7; R = 10 | 22; C = 1 | 4.7

## An equal-component Sallen-Key low-pass has R = {R} kΩ, C = {C} nF and K = {K}.

::: part
answer: 1/(2*pi*R*1000*C*1e-9)/1000
unit: kHz
tolerance: 0.5%

### What's $f_0$?

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

::: part
answer: K/(3 - K)
tolerance: 0.5%

### What's its gain at $f_0$?

::: misses
- [K] At $f_0$ the gain is KQ with $Q = \frac{1}{3 - K}$.
- [any] $\frac{K}{3 - K}$.
:::
:::
:::

::: check
kind: parts
given: k = 0.5 | 1 | 2; VDD = 3.3 | 5; Q = 50 | 200; CH = 5 | 20

## A matched transmission gate ($|V_t|$ = 0.7 V, $k$ = {k} mA/V²) runs on {VDD} V and opens onto a {CH} pF hold capacitor, releasing {Q} fC of channel charge.

::: part
answer: 1/(k*1e-3*(VDD - 1.4))
unit: Ω
tolerance: 0.5%

### What's its mid-range on-resistance?

::: misses
- [1/(k*1e-3*(VDD - 0.7))] Subtract both thresholds.
- [any] Not yet. $1/(k(V_{DD} - 2V_t))$.
:::
:::

::: part
answer: Q/2/CH
unit: mV
tolerance: 0.5%

### If half the charge lands on the capacitor, what step does it cause?

::: misses
- [Q/CH] Only half goes to the hold side.
- [any] Not yet. $Q/2C_H$.
:::
:::

::: right
Right. Bigger devices lower $R_{on}$ but carry more charge.
:::
:::
:::
