---
title: "Problem set 10: imaging, stimulation, safety and implants"
heading: "Problem set 10: beam hardening, CT dose and resolution, detector efficiency, echoes through tissue layers, transducer beams, MRI signal and contrast, defibrillator and pacemaker energy, safe neural stimulation, cochlear implant power, electrosurgery, fault currents, telemetry and inductive links through tissue"
eyebrow: S15 · Problem set 10
type: problems
---

::: hook
These problems cover lessons 37 to 49, the second half of the course: forming images and choosing their trade-offs, delivering energy to the body to pace, defibrillate, stimulate or cut, keeping patients safe from the equipment, and reaching devices inside the body without wires.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 0.3 | 0.4; b = 0.15 | 0.2; x = 5 | 15 | 30

## A beam has two equal-weight energies with attenuation coefficients {a} and {b} cm⁻¹ in tissue.

::: part
answer: (exp(-a*x) + exp(-b*x))/2
tolerance: 0.5%

### What fraction passes {x} cm?

::: misses
- [exp(-(a + b)/2*x)] Average the transmitted fractions, not the coefficients.
- [any] $(e^{-\mu_1x} + e^{-\mu_2x})/2$.
:::
:::

::: part
answer: -ln((exp(-a*x) + exp(-b*x))/2)/x
unit: cm^-1
tolerance: 0.5%

### What effective attenuation coefficient does that imply?

::: misses
- [any] $-\ln T/x$.
:::
:::
:::

::: check
kind: parts
given: D = 2 | 8; w = 0.5 | 0.8; h = 0.5 | 1; k = 0.7 | 1.5

## A CT protocol at {D} mSv changes its pixel width by a factor {w} and its slice thickness by {h}, and allows the noise to change by a factor {k}.

::: part
answer: D/(w^3*h*k^2)
unit: mSv
tolerance: 0.5%

### What dose does it need?

::: misses
- [D/(w^2*h*k^2)] The pixel width enters cubed.
- [any] Noise variance ∝ $1/(Dw^3h)$.
:::
:::
:::

::: check
kind: parts
given: N = 100 | 1000; e = 0.5 | 0.8; s = 5 | 20; C = 0.02 | 0.05

## A detector absorbs {e} of {N} photons per pixel and adds {s} photons RMS of electronic noise; a detail has contrast {C}.

::: part
answer: (e*N)^2/(e*N + s^2)/N
tolerance: 0.5%

### What is its detective quantum efficiency?

::: misses
- [e] Include the electronic noise.
- [any] $\eta^2N/(\eta N + \sigma_e^2)$.
:::
:::

::: part
answer: C*e*N/sqrt(e*N + s^2)
tolerance: 0.5%

### What contrast-to-noise ratio does the detail have per pixel?

::: misses
- [any] Contrast times the output SNR.
:::
:::
:::

::: check
kind: parts
given: Z = 1.38 | 1.63; Y = 1.7 | 7.8; d = 2 | 6; f = 3 | 7

## An ultrasound pulse at {f} MHz crosses {d} cm of tissue of {Z} MRayl (0.5 dB/(cm·MHz)) to an interface with {Y} MRayl.

::: part
answer: 10*log(((Y - Z)/(Y + Z))^2)
unit: dB
tolerance: 0.5%

### How strong is the reflection, before attenuation?

::: misses
- [20*log(((Y - Z)/(Y + Z))^2)] For intensity, 10 log of R.
- [any] $10\log R$ with $R = ((Z_2 - Z_1)/(Z_2 + Z_1))^2$.
:::
:::

::: part
answer: 10*log(((Y - Z)/(Y + Z))^2) - 0.5*f*2*d
unit: dB
tolerance: 0.5%

### How strong is the echo back at the transducer?

::: misses
- [10*log(((Y - Z)/(Y + Z))^2) - 0.5*f*d] The pulse crosses the tissue twice.
- [any] Subtract the round-trip attenuation.
:::
:::
:::

::: check
kind: parts
given: f = 3 | 7.5; F = 3 | 6; z = 10 | 20; L = 128 | 256

## A {f} MHz array focuses at f-number {F} and images {L} lines to {z} cm.

::: part
answer: 1540/(f*1e6)*F*1e3
unit: mm
tolerance: 0.5%

### What lateral resolution does it reach at the focus?

::: misses
- [any] λ times the f-number.
:::
:::

::: part
answer: 1540/(2*z*1e-2)/L
unit: Hz
tolerance: 0.5%

### What is its highest frame rate?

::: misses
- [1540/(z*1e-2)/L] Each line waits for the round trip, 2z/c.
- [any] $c/(2zL)$.
:::
:::
:::

::: check
kind: parts
given: v = 0.6 | 0.8; n = 2 | 4; B = 1.5 | 3; a = 120 | 300; b = 50 | 80

## An MRI scan shrinks its voxels by {v} in each dimension, uses {n} averages, and runs at {B} T instead of 1.5 T; separately, two tissues have T2 of {a} and {b} ms.

::: part
answer: v^3*sqrt(n)*B/1.5
tolerance: 0.5%

### By what factor does its SNR change?

::: misses
- [any] Volume × √(averages) × field ratio.
:::
:::

::: part
answer: ln(a/b)/(1/b - 1/a)
unit: ms
tolerance: 0.5%

### What echo time best separates the two tissues?

::: misses
- [(a + b)/2] The optimum lies between them but not at the average.
- [any] $\ln(T_{2a}/T_{2b})/(1/T_{2b} - 1/T_{2a})$.
:::
:::
:::

::: check
kind: parts
given: E = 25 | 40; C = 120 | 180; P = 6 | 12; e = 0.75 | 0.9

## An ICD stores {E} J in {C} µF through a converter drawing {P} W at efficiency {e}.

::: part
answer: sqrt(2*E/(C*1e-6))
unit: V
tolerance: 0.5%

### What voltage does the capacitor reach?

::: misses
- [any] $\sqrt{2E/C}$.
:::
:::

::: part
answer: E/(P*e)
unit: s
tolerance: 0.5%

### How long does charging take?

::: misses
- [any] Energy over delivered power.
:::
:::
:::

::: check
kind: parts
given: Q = 1 | 3; H = 60 | 80; i = 3 | 8; C = 1 | 2.5

## A pacemaker delivers {Q} µC per pulse at {H} per minute and draws {i} µA continuously from a {C} Ah cell.

::: part
answer: Q*H/60 + i
unit: µA
tolerance: 0.5%

### What average current does it draw?

::: misses
- [Q*H + i] Convert pulses per minute to per second.
- [any] Pulse charge times rate, plus the circuit current.
:::
:::

::: part
answer: C*1e6/(Q*H/60 + i)/8766
unit: years
tolerance: 0.5%

### How many years does the cell last?

::: misses
- [any] Capacity over current, in years of 8766 hours.
:::
:::
:::

::: check
kind: parts
given: A = 0.002 | 0.02; k = 1.75 | 1.85; I = 0.5 | 2; t = 50 | 200; c = 20 | 40; R = 1 | 3

## A stimulating electrode of {A} cm² (double layer {c} µF/cm², access resistance {R} kΩ) delivers {I} mA phases of {t} µs; Shannon's k = {k}.

::: part
answer: I*t*1e-3/sqrt(10^k*A)
tolerance: 0.5%

### What fraction of the safe charge per phase does each phase use?

::: misses
- [any] $It$ over $\sqrt{10^kA}$.
:::
:::

::: part
answer: I*R + I*t*1e-3/(c*A)
unit: V
tolerance: 0.5%

### What compliance voltage does the phase need?

::: misses
- [any] $IR_a + Q/C_\text{dl}$.
:::
:::
:::

::: check
kind: parts
given: N = 12 | 22; r = 800 | 2400; t = 25 | 40; I = 0.6 | 1.2; V = 6 | 9; Q = 40 | 100

## A cochlear implant drives {N} channels at {r} biphasic pulses per second with {t} µs, {I} mA phases from {V} V; its processor and link add {Q} mW.

::: part
answer: N*r*2*t*1e-6*I*V + Q
unit: mW
tolerance: 0.5%

### What total power does the implant draw?

::: misses
- [N*r*t*1e-6*I*V + Q] Count both phases.
- [any] Stimulation power plus overhead.
:::
:::
:::

::: check
kind: parts
given: I = 0.4 | 1.2; A = 80 | 160; a = 15 | 40

## An electrosurgical unit returns {I} A RMS through a {A} cm² pad, of which only {a} cm² stays in contact.

::: part
answer: I*1000/a
unit: mA/cm^2
tolerance: 0.5%

### What current density does the contact area carry?

::: misses
- [I*1000/A] Only the area in contact carries current.
- [any] Current over contact area.
:::
:::

::: part
answer: (A/a)^2
tolerance: 0.5%

### How many times faster does the skin heat than with full contact?

::: misses
- [any] Heating goes as current density squared.
:::
:::
:::

::: check
kind: parts
given: V = 120 | 230; w = 0.15 | 0.4; g = 0.1 | 0.3; C = 500 | 2000; R = 1 | 2

## A device's case is grounded through {g} Ω; the supply is {V} V, 60 Hz, with {w} Ω of wiring; {C} pF couples the supply to the case; a person of {R} kΩ touches it.

::: part
answer: V/(w + g)*g/(R*1e3)*1e3
unit: mA
tolerance: 0.5%

### What flows through the person during a hot-to-case fault, before the breaker trips?

::: misses
- [any] Case voltage, fault current times ground resistance, over the person's resistance.
:::
:::

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

### Without a fault, what leakage would flow through the person if the ground wire were broken?

::: misses
- [any] All the capacitive leakage, $2\pi fCV$.
:::
:::
:::

::: check
kind: parts
given: c = 1 | 4; f = 100 | 300; b = 12 | 16; e = 2 | 20

## A telemeter sends {c} channels with content to {f} Hz, sampled at five times that with {b} bits, at {e} nJ per bit.

::: part
answer: c*5*f*b/1e3
unit: kb/s
tolerance: 0.5%

### What bit rate does it need?

::: misses
- [any] Channels × 5f × bits.
:::
:::

::: part
answer: c*5*f*b*e*1e-9*86400
unit: J
tolerance: 0.5%

### How much radio energy does it use per day?

::: misses
- [any] Bit rate × energy per bit × 86,400 s.
:::
:::
:::

::: check
kind: parts
given: k = 0.01 | 0.04; a = 60 | 150; b = 30 | 80; P = 10 | 30

## An implant's coil couples k = {k} to an external coil with quality factors {a} and {b}; the implant needs {P} mW.

::: part
answer: k^2*a*b/(1 + sqrt(1 + k^2*a*b))^2
tolerance: 0.5%

### What is the link's best efficiency?

::: misses
- [k^2*a*b/4] That's the weak-coupling approximation; use the full expression.
- [any] $k^2Q_1Q_2/(1 + \sqrt{1 + k^2Q_1Q_2})^2$.
:::
:::

::: part
answer: P/(k^2*a*b/(1 + sqrt(1 + k^2*a*b))^2)
unit: mW
tolerance: 0.5%

### How much must the external coil deliver?

::: misses
- [any] Needed power over efficiency.
:::
:::
:::

::: check
kind: parts
given: a = 1.65 | 3.9; M = 15 | 30; d = 2 | 4

## Tissue between an implant and its reader costs {a} dB/cm, and the link has {M} dB of margin at zero depth.

::: part
answer: a*d
unit: dB
tolerance: 0.5%

### How much does {d} cm of tissue cost?

::: misses
- [any] Loss per centimeter times depth.
:::
:::

::: part
answer: M/a
unit: cm
tolerance: 0.5%

### How deep can the implant sit before the margin is gone?

::: misses
- [any] Margin over loss per centimeter.
:::
:::
:::
:::
