---
title: Midterm exam
heading: "Midterm exam: sensors, biopotentials, the ECG, electrodes, amplifiers and interference"
eyebrow: S15 · Midterm exam
type: problems
---

::: hook
Twelve problems from lessons 1 to 18: transducer specifications and sensor dynamics, bridges, capacitive and piezoelectric sensors, phase-sensitive and optical detection, temperature sensors, membrane potentials and conduction, the ECG's leads and axis, electrodes, instrumentation and isolation amplifiers and common-mode rejection, power-line interference and the driven right leg, and sampling, filtering and averaging. Give yourself two hours and work without the lessons open. "Another set" deals a different exam.
:::

::: pool
pick: 12

::: check
kind: parts
given: s = 4 | 15; V = 4 | 8; P = 100 | 200; R = 4 | 10; N = 14 | 18; G = 300 | 3000

## A {s} µV/V/mmHg transducer at {V} V; a gain of {G} feeding an {N}-bit converter spanning {R} V.

::: part
answer: s*V*P/1000
unit: mV
tolerance: 0.5%

### Output at {P} mmHg?

::: misses
- [any] $sVP$.
:::
:::

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

### Input-referred step?

::: misses
- [any] $R/(2^NG)$.
:::
:::

::: part
answer: R/(2^N*G)/(s*1e-6*V)
tolerance: 0.5%

### That step in mmHg?

::: misses
- [any] Divide by the transducer's µV per mmHg.
:::
:::
:::

::: check
kind: parts
given: T = 2 | 3.5; u = 6 | 25; s = 10 | 30; n = 25 | 50; z = 0.2 | 0.5; f = 10 | 20

## A probe with τ = {u} s meets a {T} °C step; a catheter with $f_n$ = {n} Hz and ζ = {z}.

::: part
answer: T*exp(-s/u)
unit: °C
tolerance: 0.5%

### Probe error after {s} s?

::: misses
- [any] $\Delta Te^{-t/\tau}$.
:::
:::

::: part
answer: 1/sqrt((1 - (f/n)^2)^2 + (2*z*f/n)^2)
tolerance: 0.5%

### Catheter amplitude ratio at {f} Hz?

::: misses
- [any] Second-order magnitude.
:::
:::
:::

::: check
kind: parts
given: G = 2 | 2.1; e = 400 | 1500; V = 3 | 10; k = 2 | 4; x = 0.04 | 0.1

## Gauges with G = {G} at ±{e} microstrain in a bridge at {V} V; separately, a quarter bridge with ΔR/R = {x}.

::: part
answer: V*G*e*1e-6*k/4*1000
unit: mV
tolerance: 0.5%

### Output with {k} active arms?

::: misses
- [any] $V(k/4)G\varepsilon$.
:::
:::

::: part
answer: V*x/(2*(2 + x))*1000
unit: mV
tolerance: 0.05%

### Exact quarter-bridge output?

::: misses
- [any] $Vx/(2(2 + x))$.
:::
:::
:::

::: check
kind: parts
given: A = 0.5 | 3; d = 0.05 | 0.3; r = 2 | 6; k = 100 | 400; F = 0.5 | 2; C = 1 | 3; R = 1 | 4

## A capacitive sensor ({A} cm², {d} mm, εr = {r}); a piezoelectric sensor (d = {k} pC/N, {C} nF, read across {R} GΩ).

::: part
answer: 8.854e-12*r*A*1e-4/(d*1e-3)*1e12
unit: pF
tolerance: 0.5%

### Capacitance?

::: misses
- [any] $\varepsilon_0\varepsilon_rA/d$.
:::
:::

::: part
answer: k*F/(C*1000)
unit: V
tolerance: 0.5%

### Initial piezo voltage for {F} N?

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

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

### Piezo corner frequency?

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

::: check
kind: parts
given: R = 8 | 15; B = 3600 | 4100; T = 34 | 40; I = 30 | 100; D = 1 | 3

## A thermistor of {R} kΩ at 25 °C with B = {B} K, carrying {I} µA with dissipation constant {D} mW/°C.

::: part
answer: R*exp(B*(1/(T + 273.15) - 1/298.15))
unit: kΩ
tolerance: 0.5%

### Resistance at {T} °C?

::: misses
- [any] The B equation.
:::
:::

::: part
answer: (I*1e-6)^2*R*exp(B*(1/(T + 273.15) - 1/298.15))*1e3/(D*1e-3)
unit: °C
tolerance: 0.5%

### Self-heating there?

::: misses
- [any] $I^2R/\delta$.
:::
:::
:::

::: check
kind: parts
given: i = 135 | 150; o = 3.5 | 6; r = 0.02 | 0.06

## Potassium {i} mM inside and {o} mM outside; sodium 12 mM inside and 145 mM outside; $P_{Na}/P_K$ = {r}; 37 °C.

::: part
answer: 26.727*ln(o/i)
unit: mV
tolerance: 0.5%

### Potassium's Nernst potential?

::: misses
- [any] $(RT/F)\ln([K]_o/[K]_i)$.
:::
:::

::: part
answer: 26.727*ln((o + 145*r)/(i + 12*r))
unit: mV
tolerance: 0.5%

### GHK resting potential (K⁺ and Na⁺ only)?

::: misses
- [any] Weight by permeability.
:::
:::
:::

::: check
kind: parts
given: d = 1 | 4; M = 5000 | 20000; R = 60 | 150; L = 20 | 30; a = 3 | 4; b = 8 | 9.5

## An axon {d} µm across with $R_m$ = {M} Ω·cm² and $R_i$ = {R} Ω·cm; a conduction study over {L} cm with latencies {b} and {a} ms.

::: part
answer: 10*sqrt(M*d*1e-4/(4*R))
unit: mm
tolerance: 0.5%

### Length constant?

::: misses
- [any] $\sqrt{R_md/4R_i}$.
:::
:::

::: part
answer: L*1e-2/((b - a)*1e-3)
unit: m/s
tolerance: 0.5%

### Conduction velocity?

::: misses
- [any] Δx/Δt.
:::
:::
:::

::: check
kind: parts
given: p = 2 | 5; t = 25 | 55; r = 10 | 20; s = 0.2 | 0.35

## A {p} × 10⁻⁵ A·m dipole in tissue of {s} S/m.

::: part
answer: p*1e-5*cos(t*pi/180)/(4*pi*s*(r/100)^2)*1000
unit: mV
tolerance: 0.5%

### Potential {r} cm away at {t}°?

::: misses
- [any] $p\cos\theta/(4\pi\sigma r^2)$.
:::
:::

::: part
answer: p*1e-5/(4*pi*s*(r/100)^2)*1000
unit: mV
tolerance: 0.5%

### On the axis at the same distance?

::: misses
- [any] cos 0 = 1.
:::
:::
:::

::: check
kind: parts
given: a = 0.35 | 0.7; b = 0.8 | 1.5; D = 16 | 24; q = 0.36 | 0.4

## Lead I reads {a} mV and lead II {b} mV; R waves are {D} mm apart at 25 mm/s; QT = {q} s.

::: part
answer: atan((2*b - a)/(sqrt(3)*a))*180/pi
unit: °
tolerance: 0.5%

### Electrical axis?

::: misses
- [any] $\tan^{-1}[(2\,\text{II} - \text{I})/(\sqrt{3}\,\text{I})]$.
:::
:::

::: part
answer: 1500/D
tolerance: 0.5%

### Heart rate?

::: misses
- [any] 1500/D at 25 mm/s.
:::
:::

::: part
answer: q/sqrt(D/25)
unit: s
tolerance: 0.5%

### Bazett's QTc?

::: misses
- [any] $QT/\sqrt{RR}$.
:::
:::
:::

::: check
kind: parts
given: s = 0.5 | 2; R = 60 | 250; C = 0.05 | 0.3; f = 15 | 40; o = 200 | 300; V = 4 | 5

## An electrode with $R_s$ = {s} kΩ, $R_d$ = {R} kΩ, $C_d$ = {C} µF; offsets up to {o} mV into a stage that swings ±{V} V.

::: part
answer: sqrt((s + R/(1 + (2*pi*f*R*1e3*C*1e-6)^2))^2 + (R*2*pi*f*R*1e3*C*1e-6/(1 + (2*pi*f*R*1e3*C*1e-6)^2))^2)
unit: kΩ
tolerance: 0.5%

### Impedance at {f} Hz?

::: misses
- [any] $|R_s + R_d \| C_d|$.
:::
:::

::: part
answer: V/(o*1e-3)
tolerance: 0.5%

### Largest first-stage gain?

::: misses
- [any] Swing over offset.
:::
:::
:::

::: check
kind: parts
given: R = 3 | 8; F = 25 | 50; v = 10 | 25; d = 15 | 50; Z = 100 | 1000; C = 90 | 110

## An instrumentation amplifier ($R_1$ = {R} kΩ, $R_2$ = {F} kΩ, unity second stage, CMRR {C} dB, common-mode input impedance {Z} MΩ) with {v} mV of common mode and {d} kΩ of electrode mismatch.

::: part
answer: 1 + 2*F/R
tolerance: 0.5%

### Gain?

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

::: part
answer: v*1e-3*d*1e3/(Z*1e6)*1e6 + v*1e-3/10^(C/20)*1e6
unit: µV
tolerance: 0.5%

### Total input-referred common-mode error, adding both causes?

::: misses
- [any] Mismatch error plus $v_{cm}/\text{CMRR}$.
:::
:::
:::

::: check
kind: parts
given: V = 120 | 230; f = 50 | 60; C = 2 | 4; o = 3 | 8; F = 3 | 8; a = 25 | 50

## A {V} V, {f} Hz line couples through {C} pF to a patient on a driven-right-leg circuit ($R_o$ = {o} MΩ, $R_f$ = {F} MΩ, $R_a$ = {a} kΩ).

::: part
answer: V*2*pi*f*C*1e-12*1e6
unit: µA
tolerance: 0.5%

### Displacement current?

::: misses
- [any] $V2\pi fC$.
:::
:::

::: part
answer: o*1e6*V*2*pi*f*C*1e-12/(1 + 2*F*1e6/(a*1e3))*1e3
unit: mV
tolerance: 0.5%

### Common-mode voltage?

::: misses
- [any] $R_oi_d/(1 + 2R_f/R_a)$.
:::
:::
:::

::: check
kind: parts
given: s = 0.5 | 2; n = 10 | 30; t = 3 | 8; c = 32 | 64; f = 500 | 1000; B = 16 | 24

## An evoked response of {s} µV in {n} µV of background; a {c}-channel recorder at {f} per second with {B}-bit samples.

::: part
answer: (t*n/s)^2
tolerance: 0.5%

### Sweeps for an SNR of {t}?

::: misses
- [any] $(\text{target}\times n/s)^2$.
:::
:::

::: part
answer: c*f*B/1e6
unit: Mb/s
tolerance: 0.5%

### Data rate?

::: misses
- [any] Channels × rate × bits.
:::
:::
:::

::: check
kind: parts
given: c = 0.05 | 0.5; f = 0.5 | 2; a = 20 | 50; G = 2 | 2.1; T = 3 | 10

## A first-order high-pass at {c} Hz; a foil gauge (G = {G}) with a {a} ppm/°C coefficient.

::: part
answer: atan(c/f)*180/pi
unit: °
tolerance: 0.5%

### Phase lead at {f} Hz?

::: misses
- [any] $\tan^{-1}(f_c/f)$.
:::
:::

::: part
answer: a*T/G
tolerance: 0.5%

### Apparent strain in microstrain for a {T} °C change?

::: misses
- [any] $\alpha\Delta T/G$.
:::
:::
:::

::: check
kind: parts
given: A = 40 | 80; f = 20 | 40 | 60; e = 0.75 | 0.9; l = 660 | 940; P = 2 | 8

## A pulse oximeter's {l} nm LED is switched at 1 kHz, and its photodiode (quantum efficiency {e}) receives {P} µW of it. After amplification, the demodulator sees an {A} mV carrier at {f}° to its reference.

::: part
answer: e*(l/1000)/1.23984*P
unit: µA
tolerance: 0.5%

### Photocurrent from the LED's light?

::: misses
- [any] $\eta\lambda/1.24$ A/W times the power.
:::
:::

::: part
answer: 2/pi*A*cos(f*pi/180)
unit: mV
tolerance: 0.5%

### Average demodulator output?

::: misses
- [any] $(2/\pi)A\cos\varphi$.
:::
:::
:::

::: check
kind: parts
given: a = 5 | 20; b = 2 | 5; V = 120 | 230; f = 50 | 60; M = 120 | 140; G = 500 | 1000

## An isolated front end has a {a} pF converter and a {b} pF signal isolator across its barrier, with {M} dB of IMRR and a gain of {G}; {V} V at {f} Hz stands across the barrier.

::: part
answer: 2*pi*f*(a + b)*1e-12*V*1e6
unit: µA
tolerance: 0.5%

### What leakage flows through the patient?

::: misses
- [any] $2\pi fCV$ with both capacitances.
:::
:::

::: part
answer: G*V/10^(M/20)*1e3
unit: mV
tolerance: 0.5%

### How much line interference appears at the output?

::: misses
- [any] Gain times $V/\text{IMRR}$.
:::
:::
:::
:::
