Part 9 · Health and Medicine
Ultrasound, CT and MRI
Three ways to see inside a living body in slices instead of shadows. Ultrasound times the echoes of sound pulses from a vibrating crystal; CT takes hundreds of X-ray shadows from every side and lets a computer work out the slice that made them; MRI makes the hydrogen in the body ring like tiny radio transmitters inside a giant magnet. How each works, what each is good for, how they are really built, and the stepping stones — from an echo on a screen and a whistle from a bottle of water — that lead to them.
- Difficulty
- ●●●●●
- Time
- Weeks for a working A-mode echo set and an Earth's-field NMR; years for a B-mode scanner; CT and MRI need an electronics and computing industry
- Steps from zero
- 58 prerequisites →
This unlocks
—The full path from nothing — 58 steps before this one
- Fire
- Cordage and Rope
- Stone Tools
- Finding and Preparing Clay
- Finding and Identifying Ores
- Sulfur
- Writing and Numbers
- Hunting and Trapping
- Basic Woodworking
- The Kiln
- Pottery
- Charcoal
- Abrasives and Grinding Stones
- Arithmetic and Fractions
- Hides and Leather
- Lime
- Bricks
- Salt
- Mercury
- Lye and Potash
- Fermentation
- The Wheel and Axle
- Logic and Binary
- Glass
- Firebrick and Refractories
- Bellows
- Saltpeter
- The Lathe
- Gears
- Copper Smelting
- Iron (the Bloomery)
- Lead
- Laboratory Glassware
- Sulfuric Acid
- Pumps
- The Waterwheel
- Lenses
- Blacksmithing
- Gold and Silver
- Hydrochloric Acid
- The Battery
- The Vacuum Pump
- Magnets
- The Light Bulb
- Copper Wire
- Photography
- The Electromagnet
- The Generator
- The Vacuum Tube
- The Electric Arc Furnace
- The Induction Coil
- Amplifiers and Oscillators
- X-Rays
- Pure Silicon
- Quartz Crystals and Frequency Control
- Semiconductors and the Transistor
- Integrated Circuits
- The Computer
- Ultrasound, CT and MRI
Do them roughly in this order. See it on the tech tree →
Why it matters
An X-ray picture (X-Rays) is a shadow: everything between the tube and the film is piled on top of everything else, and soft tissues — liver, brain, kidney, a baby in the womb — barely show at all. The three machines in this chapter each see the body in slices, and each sees something the others miss.
| Ultrasound | CT | MRI | |
|---|---|---|---|
| Uses | Echoes of sound, 2–15 MHz | X-rays from all round, and a computer | A strong magnet, radio waves, and a computer |
| Best for | Pregnancy, heart, gallbladder, kidneys, blood flow, guiding needles | Head injury, stroke, lungs, bleeding, broken bones, cancer staging | Brain, spinal cord, joints, soft-tissue tumours |
| Harm | None known at normal settings | A real radiation dose | No radiation, but the magnet is dangerous |
| Cost and size | Cheapest; can be hand-held | Large; needs X-ray, computing | Largest; needs cryogenics |
| How achievable | A rebuilt society can make it decades before the others | After computers | Last of all |
If you can build only one, build ultrasound. It answers the commonest life-or-death questions in a small hospital — is the baby alive and which way is it lying, where is the placenta, is there blood in the belly after an accident — and does no harm (Safe Childbirth, Emergencies, Running a Hospital).
Ultrasound
How it works
- A short electric spike makes a piezoelectric crystal (Quartz Crystals and Frequency Control) ring for one or two cycles, sending a click of sound far too high to hear — 2–15 million vibrations a second (megahertz, MHz) — into the body.
- Sound travels through soft tissue at about 1,540 m/s, nearly the same in all of it. At every boundary between tissues that differ in density and stiffness — fat and muscle, organ and fluid, flesh and bone — a little of the sound bounces back.
- The same crystal, now listening, turns the returning echoes into tiny voltages. The time of each echo gives its depth: the sound goes there and back, so each centimetre of depth adds 13 microseconds (millionths of a second). An echo at 130 µs comes from 10 cm deep.
- The strength of each echo shows how strong the boundary is. Plot echoes against depth and you have one line of the picture.
Some rules decide everything:
- Air stops it. Almost all sound bounces back from a boundary with air, which is why the probe is pressed to the skin through gel (any water-based jelly, or oil), why the lungs and gut gas cannot be seen through, and why a full bladder is a useful "window" to the womb.
- Bone blocks it. It reflects and absorbs most of the sound and casts a shadow behind it.
- Higher frequency, finer detail, less depth. The finest detail is about one wavelength: 0.5 mm at 3 MHz, 0.15 mm at 10 MHz. But tissue absorbs higher frequencies faster. So 2–5 MHz is used for the belly, womb and heart (to 15–20 cm deep), and 7–15 MHz for shallow things: thyroid, breast, tendons, veins, eyes.
- Echoes from deep down are weaker, because the sound has been absorbed on the way. The receiver turns its own gain up steadily during each listening period — time-gain compensation — so deep echoes show as bright as shallow ones.
The ultrasound transducer
The transducer (probe) is the heart of the machine. A single-element probe is:
- The crystal: a disc 10–20 mm across, its thickness set so that it rings at the working frequency — half a wavelength of sound in the crystal. For an X-cut quartz plate, thickness in mm = 2.86 ÷ frequency in MHz: 1.4 mm for 2 MHz. Both faces are silvered or gold-plated to make electrodes.
- The backing block behind it: a heavy, sound-absorbing mixture — tungsten or lead powder in resin or rubber — that stops the crystal ringing on, so the pulse is short and the depth sharp.
- A matching layer in front, a quarter-wavelength thick, of resin filled with fine powder, that helps the sound pass from the hard crystal into soft flesh; then a thin protective face.
- A case of metal or plastic, earthed, and a screened cable (Radio).
Quartz works but is weak. Far better are piezoelectric ceramics: barium titanate (made from barite and the titanium dioxide of Titanium) and, better still, lead zirconate titanate (PZT, from Lead, zircon sand and titanium). They are made like Stoneware and Porcelain (Piezoelectric Crystals and Ceramics has the full method): the powders are mixed, fired, ground, pressed into discs and sintered at about 1,250–1,350 °C, then silvered. At this point they are not piezoelectric at all. They become so only when poled: heated in oil to about 100–150 °C with a strong voltage across them — 1–3 kV for every millimetre of thickness — and cooled with the voltage on. This locks the tiny electric domains inside into line.
A modern probe is not one crystal but an array of 128–256 narrow strips side by side, each with its own wire. Fired in a precise sequence a few billionths of a second apart, they steer and focus the beam electronically, with no moving parts.
The ultrasound scanner
- A-mode ("amplitude"): one beam, echoes drawn as spikes along a line on a cathode-ray tube. Still used to measure the length of the eye before cataract surgery (Eye Health and Preventing Blindness), and once used to find the midline of the brain. This is the first thing to build.
- B-mode ("brightness"): the beam is swept across the body and each echo drawn as a dot, brighter for stronger echoes, building a picture of a slice. One line to 20 cm takes 260 µs, so 128 lines take 1/30 of a second: sweep that fast, by a motor or an array, and you see the heart beat in real time.
- Doppler: echoes from moving blood come back shifted in pitch. At 3 MHz, blood moving at 0.5 m/s shifts the echo by about 2,000 vibrations a second — right in the range of hearing. A simple continuous-wave Doppler uses two crystals side by side, one sending, one listening, and mixes the echo with the sent signal so the difference comes straight out of an earphone as a whooshing. It is one of the cheapest useful instruments in medicine: it finds a baby's heartbeat from about 10–12 weeks and checks blood flow in limbs.
Inside the box: a pulser that dumps a small capacitor charged to 100–300 V through the crystal by a fast switch (The Vacuum Tube or transistor) 1,000–5,000 times a second; a receiver with gain of 10,000 or more and time-gain control (Amplifiers and Oscillators); and a display synchronised to the pulser.
Building one: the stepping stones
- Prove the crystal. Make a quartz or Rochelle-salt plate (Quartz Crystals and Frequency Control); drive it from a 1–3 MHz oscillator in a dish of water and watch the surface — a strong one raises a small fountain or mist.
- A-mode flaw detector. Put a pulser, receiver and oscilloscope together, and couple the probe with oil to a steel bar. You will see the echo from the far end: measure its delay (sound in steel travels about 5,900 m/s) and you have measured the bar. A crack shows as an extra echo. This is exactly how the first pulse-echo instruments of the 1940s inspected metal — a valuable tool in its own right (Jet Engines, Welding).
- Water tank and phantom. Scan objects in water, then an imaging phantom (below).
- Hand-swept B-mode. Mount the probe on a jointed arm whose angles are read by potentiometers that steer the spot on the screen, and photograph the screen (Photography) while sweeping slowly — the way the first scanners of the 1950s worked.
- Continuous-wave Doppler for the obstetric ward.
- Ceramic transducers, a motor-rocked probe, real time, and finally arrays driven by Microprocessors and Personal Computers.
The imaging phantom
An imaging phantom is a fake body part for learning and testing. Dissolve 10% gelatine (Gelatin) or 2–3% agar (from red seaweed; see Agar and Culture Plates) in hot water, stir in about 1% of very fine graphite or flour so the jelly gives a speckled "tissue" echo, and pour it into a box. Before it sets, hang objects inside on threads: grapes or water-filled balloons for cysts, olives or a hard-boiled egg for solid lumps, a chicken bone, nylon threads stretched at measured depths for checking distance accuracy. Keep it cold and covered; it lasts a week or two.
CT
How it works
A single X-ray measurement along a line through the body tells you only the total of how much everything along that line absorbed. But if you measure along thousands of lines crossing the same slice in every direction, there is only one arrangement of absorbing material that fits them all, and a computer can find it.
The simplest way to see it is back-projection. For each angle, take the row of measurements and "smear" each one back across a blank grid along the line it came from. Add up the smears for all angles. Places that absorbed strongly get smeared over from every direction and stand out; the result is the slice, slightly blurred. The blur is removed by first sharpening each row — subtracting a little of each reading's neighbours from it — before smearing. That is filtered back-projection, and with refinements it is what every scanner computes.
Each point of the result is given a number on the Hounsfield scale: water 0, air −1,000, fat about −100, soft tissue +20 to +60, fresh blood clot +60 to +80, bone several hundred to over +1,000. CT can tell apart tissues differing in density by about half a percent — ten times finer than an X-ray film — so it shows a blood clot in the brain within minutes of a stroke or injury.
The CT scanner
A modern CT scanner is a ring (gantry) about 2 m across with a 70 cm hole: on one side an X-ray tube at about 120 kV (X-Rays), opposite an arc of detectors in 16–320 rows, each a crystal that glows when X-rays hit it (a scintillator, Photomultipliers and Scintillation Counters) on a light-sensitive diode (Photocells and Sensors). The whole assembly spins round the patient two to four times a second, with power and data passing through sliding contacts, and scans a chest in a few seconds.
The first clinical scanner of 1971 was far simpler: a single pencil beam and two detectors moved sideways across the head on a carriage driven by a lead screw, taking 160 readings; then the whole frame turned one degree, and so on through 180 degrees. Each pair of slices took about five minutes; the picture was 80 by 80 squares, each 3 mm across. That translate-rotate design is the one to copy first.
The stepping stones:
- Optical CT, without radiation. Make a "patient": a jar of clear gelatine with a few blobs of jelly darkened with ink. Stand it in a tank of water on a turntable marked in degrees. Shine a narrow beam from a lamp through a slit, and measure the light coming out with a photocell and meter (Photocells and Sensors, Measuring Electricity). Move the jar sideways in 2 mm steps with a lead screw, recording each reading; then turn it 10° and repeat, through 180°. Do the back-projection on squared paper, or better on a The Computer (Programming). When the blobs appear where you put them, you understand CT.
- X-ray CT of objects. Replace the lamp with an X-ray tube behind a lead block with a 1–2 mm hole, and the photocell with a Geiger counter or a scintillator and photomultiplier (Detecting Radiation, Photomultipliers and Scintillation Counters). Scan castings, welds and blocks of wood — industrial CT finds hidden holes in metal parts. Everything is behind lead; no person is ever in the beam.
- A medical translate-rotate head scanner — only with a doctor, a radiation-safety officer, proper shielding, a calibrated dose, and patients for whom the answer will change what is done.
MRI
How it works
The body is mostly water and fat, both full of hydrogen. The nucleus of each hydrogen atom — a single proton — spins and acts as a tiny magnet (Magnets).
- Line them up. In a strong magnetic field, a few more protons point along the field than against it — at 1.5 tesla (30,000 times the Earth's field), only about five in a million more. Even so, a body holds so many that the total is measurable.
- They wobble. Like a spinning top leaning under gravity, each proton precesses round the field direction at a frequency exactly set by the field: 42.58 MHz for every tesla — 64 MHz at 1.5 T, a radio frequency (Radio).
- Tip them. A short burst of radio waves at exactly that frequency, from a coil round the patient, tips the protons over. Afterwards they keep precessing together, and their combined magnet, swinging round, induces a faint radio signal in a receiving coil — exactly like a The Generator.
- Watch them settle. The signal dies away as the protons fall out of step with each other (in tens to hundreds of milliseconds — the T2 time) and as they realign with the field (in hundreds to thousands of milliseconds — the T1 time). These times differ between fat, muscle, brain, fluid and diseased tissue. By choosing when to listen, the scanner makes any of them bright or dark: this is MRI's great power for soft tissue.
- Find where. Gradient coils make the field slightly stronger at one end than the other, so protons at each position sing at a slightly different frequency. Like reading the position of piano keys from the notes they play, a computer sorts the signal by frequency (by the Fourier transform — Calculus) and builds an image, slice by slice.
The MRI scanner
- The magnet: today, coils of niobium–titanium wire — thousands of fine filaments of the alloy inside copper — wound on a tube about 1 m across, giving 1.5 or 3 tesla. Cooled to −269 °C in a bath of liquid helium, the wire loses all electrical resistance (superconductivity, Cryogenics and Superconductors): once the current is started, it flows for years with no power supply. The whole is wrapped in vacuum and radiation shields like a giant vacuum flask, weighs 4–7 tonnes, and must be even to a few parts in a million across a 40–50 cm sphere, adjusted with small iron pieces and extra coils (shimming). Niobium comes from the mineral columbite; helium from certain Natural Gas and Helium wells; liquefying it needs Liquid Air, Nitrogen and the Noble Gases-style machinery working much colder.
- Gradient coils of copper, switched thousands of times a second with hundreds of amperes; each switch makes them jerk in the field — hence the deafening knocking.
- Radio coils — a transmitter of several kilowatts in short pulses, and receiving coils shaped to the head, knee or spine — inside a room lined with copper sheet to keep out outside signals; and a computer to time the pulses and build the images.
There are simpler magnets. Permanent-magnet scanners use tonnes of magnet blocks on an iron yoke for 0.2–0.4 T, need no helium and are open at the sides. Resistive scanners use a water-cooled copper electromagnet (The Electromagnet) of under a tenth of a tesla, drawing tens of kilowatts; the first useful whole-body images were made with magnets like these around 1980. Pictures are grainier and slower, but these are the realistic first goal for a rebuilt society.
The stepping stone you can build now: a whistle from a bottle of water
The Earth itself is a magnet of about 0.05 millitesla. In it, protons precess at about 2,000 vibrations a second — an audible note. This is the proton magnetometer, a practical instrument for finding iron ore, buried walls and pipes (Mining and Tunnelling, Hall Sensors and Magnetometers), and a first-hand demonstration of everything MRI depends on.
- Wind 500–1,000 turns of enamelled copper wire about 1 mm thick (Copper Wire) on a tube round a bottle holding half a litre to a litre of water.
- Work far from steel, power lines and motors — in a field, away from buildings.
- Turn the coil so its axis points east–west, across the Earth's field.
- Pass 1–3 amperes from a battery through the coil for 3–5 seconds (The Battery). This makes a field of around ten millitesla, hundreds of times the Earth's, that lines up many more protons.
- Cut the current quickly with a switch (relay) — protect the switch with a diode or spark gap (Rectifiers: Turning AC into DC) — and connect the same coil to a very high-gain audio amplifier (Amplifiers and Oscillators), tuned to about 2 kHz with a capacitor across the coil.
- Listen in earphones or watch on an oscilloscope: a pure, fading whistle lasting one to three seconds. Its exact pitch, divided by 42.58, gives the strength of the Earth's field at that spot in microtesla.
Then: hold one end of a magnet nearby, or add a small coil that makes the field stronger at one end of the bottle, and hear the note change and blur — the principle of the gradient coils.
How to tell it worked
- Ultrasound: in a water tank, the echo from a steel plate moves exactly 13 µs further away for every centimetre you move the plate. In the phantom, the threads appear at their true depths, and grapes show as dark (echo-free) circles with bright echoes behind them.
- CT: the reconstructed slice of your jar shows each blob at its true place and size; a uniform jar shows uniform grey, not rings or stripes.
- Earth's-field NMR: the whistle appears only with water in the bottle (not with the bottle empty), is the same pitch every time at one place, and changes with a magnet nearby.
Note Troubleshooting. Ultrasound: no echoes: no gel or water between probe and object, or the receiver is swamped by the transmit pulse — add a limiter of two diodes across the receiver input. Long smeared echoes: the crystal rings on — improve the backing. Many repeated echoes at equal spacing: sound bouncing back and forth between two surfaces; they are false. CT: streaks and stars: too few angles, readings not lined up with the centre of rotation, or no sharpening. NMR: only hum: too near power lines, coil not across the field, amplifier picking up mains — move further away and shield the amplifier.
Dangers
Danger The MRI magnet is always on. It pulls any iron or steel object — scissors, oxygen cylinders, chairs, keys — into the bore at the speed of a thrown stone. In 2001 a six-year-old boy in New York was killed by an oxygen cylinder pulled into a scanner. It can stop or wreck pacemakers and move metal clips and fragments inside the body. Screen every person and object at the door. If the magnet quenches (suddenly stops superconducting), its helium boils off at once — each litre of liquid becomes about 750 litres of gas — and must be piped outside, or it smothers everyone in the room.
Danger CT is a real radiation dose. A head scan gives about 2 millisieverts and a belly scan about 8–10 — a hundred or more chest X-rays, or three to four years of natural background. Each 10 mSv adds roughly one chance in 2,000 of a cancer later in life, more for children. Scan only when the answer will change what you do, and never use people for testing. All the dangers of X-Rays apply.
- Ultrasound pulsers carry hundreds of volts; the power supplies of CT and MRI, thousands — see Wiring and Electrical Safety. Ultrasound does no known harm at imaging power, but keep Doppler of early pregnancy short and never run a probe at high continuous power on a person: it heats tissue.
- MRI radio power can burn skin where wires, leads or skin-to-skin loops are touching; and the noise needs ear protection.
- Over-trust. Every one of these machines makes convincing pictures of things that are not there. Learn on phantoms and normal volunteers first, and have an experienced reader check your early findings (Examining a Patient).
What this unlocks
Safe, routine checks in pregnancy; fast diagnosis of stroke, head injury and internal bleeding; surgery planned from images (Basic Surgery); needles guided into the right place. Outside medicine, the same machines inspect castings, welds, turbine blades and aircraft structures, find ore bodies and archaeological remains, and study how chemicals are built (NMR is chemistry's most powerful tool for working out molecular structure — Identifying Substances).
How it was first done
Ultrasound began with submarine detection: in 1917 the French physicist Paul Langevin sent ultrasonic pulses into the sea from quartz crystals between steel plates. Sergei Sokolov in the Soviet Union proposed finding flaws in metal with it in 1928, and Floyd Firestone in the United States built a pulse-echo flaw detector around 1940. In the early 1950s John Wild and John Reid in Minneapolis and Douglass Howry in Denver made the first B-mode pictures. In Glasgow, the obstetrician Ian Donald, with the engineer Tom Brown and John MacVicar, borrowed an industrial flaw detector, made a contact scanner, and published in The Lancet in 1958; within twenty years ultrasound was routine in pregnancy across the world.
CT was worked out twice. The South African physicist Allan Cormack published the mathematics and a test with a gamma-ray source and a Geiger counter in 1963–64. Independently, Godfrey Hounsfield, an engineer at the British company EMI, built a scanner whose first laboratory scans took days; the first patient, a woman with a suspected brain tumour, was scanned at Atkinson Morley's Hospital in London on 1 October 1971, and the tumour was plainly visible. Cormack and Hounsfield shared the Nobel Prize in 1979.
MRI grew from nuclear magnetic resonance, discovered in 1946 by Felix Bloch and Edward Purcell. In 1971 Raymond Damadian showed that tumours have longer relaxation times than normal tissue. In 1973 Paul Lauterbur used gradients to make the first image, of two tubes of water, and Peter Mansfield in Nottingham developed slice selection and fast imaging. The first useful whole-body clinical images came around 1980, notably from John Mallard's team in Aberdeen. Lauterbur and Mansfield shared the Nobel Prize in 2003. The word "nuclear" was dropped from the name, because patients feared it.
Source: content/entries/health/medical-imaging.md