↑↓ move↵ open[] previous / next lesson? all shortcuts
Appearance
Theme
Type size
Reading

Focus mode hides the sidebars. Press f to toggle it anywhere.

Keyboard shortcuts
/
Search
[ ]
Previous / next lesson
t
Jump to the table of contents
r
Review queue
f
Focus mode
?
This panel
ProjectOne weekendAbout $15 in materials, $80 with the scope and generatorTier 2

Project D: The phantom head

Saline gelatin with buried wire dipoles driven at known amplitudes. Now you can measure your amplifier's noise floor, crosstalk, and rejection instead of guessing. The difference between 'I made an EEG' and 'I characterized an EEG.'

AssumesProject A: The ADS1299 boardSpineAnalog / mixed-signal hardware
On this pageOne weekend
  1. Building it
  2. The measurements

You cannot characterize an amplifier on a head, because you do not know what the head is doing. A is a head that you control: a bowl of salty gelatin with the conductivity of tissue, and inside it two or three tiny current sources you drive from a signal generator at any frequency and amplitude you like. With it you can measure what your system records when the truth is known, which is the only kind of measurement that means anything.

Predict before you look

You drive a buried dipole with 10 µA and a 5 mm tip separation. Three centimetres away, on the surface, roughly how large is the potential?

About 10 microvolts, in the range of real . For a in a medium of conductivity σ, the potential at distance r along the axis is roughly I·d / (4π σ r²); with 10 µA, 5 mm, 0.33 S/m, and 3 cm that is about 13 µV, a bit more near a boundary. You can now inject an EEG-sized signal with a known amplitude, which is the whole point.

Parts

PartWhereQtyApprox.
3D printing access (campus makerspace) or a Bambu A1 mini
Free on campus after the safety certification, which is the right answer for almost everyone. Buying your own is $299 and is worth it by Phase 2 only if you print weekly.
Marriott Library or Lassonde makerspace; Bambu Lab if buying1free
Handheld oscilloscope with a built-in signal generator (FNIRSI DSO-510)
$44.99 for 10 MHz, 48 MSa/s, and a DDS generator in one box, which replaces two purchases. 10 MHz is plenty for biopotentials and enough to eyeball SPI, but not enough for careful digital timing; the engineering building has real bench scopes for that. A Hantek 6022BE USB scope is $65.90 and a Rigol DHO800 is the one to want.
Amazon1$45
Signal generator (cheap DDS module, or use the scope's built-in)
Drives the phantom head dipoles at known amplitudes. Skip this if you bought the DSO-510, whose generator does the same job.
Amazon1$19
Unflavored gelatin or agar, table salt, plastic bowl
$14.17 for a pound of gelatin, which is about what a head-sized phantom takes, plus salt and a bowl. Saline concentration around 0.9% by weight matches tissue conductivity to within a factor you can calibrate.
Grocery store, Amazon1$16
Total (prices drift; treat as a ceiling)$80

Building it

Figure 1. A head you control, in cross section. Gelatin with the conductivity of tissue, two buried wire pairs driven at amplitudes you chose, and your own electrodes on the surface measuring something whose true answer you already know.

The medium. Brain tissue has a conductivity around 0.3 siemens per metre. A 0.2 percent salt solution by weight (2 grams per litre) is close; physiological saline at 0.9 percent is about five times too conductive, which is fine for an amplifier test but wrong if you want the potentials to match a head. Dissolve unflavored gelatin at about 8 percent by weight in the warm salt solution, pour into a bowl a bit smaller than a head, and refrigerate overnight. Agar works too and does not melt on a warm day.

The dipoles. Twisted pairs of insulated wire, with 5 mm of insulation stripped from each conductor at the tip and the two bare tips held 5 mm apart with a dab of epoxy. Make three. Push them into the gelatin before it sets, at different depths and orientations, with the wires leaving through the bottom or side. Note their positions.

The current source. A signal generator output in series with a 100 kΩ resistor. The resistor makes the current nearly independent of the ’s impedance: 1 volt peak gives 10 microamps peak, and you can dial the generator down to 10 mV for 100 nA, which produces potentials of a fraction of a microvolt for noise-floor work.

The . Your own wires from the project, or gold cups, pushed a millimetre into the surface at marked positions. Eight in a ring around the top plus a reference at the rim and a bias at the far side.

The measurements

Each one gets a row in the characterization report.

. All inputs shorted to the reference at the connectors, no . Sixty seconds. RMS in 0.5 to 40 Hz, input-referred. Then the same with the in the and the dipoles unpowered: this adds the noise, and the difference tells you what the cost.

and bandwidth. Drive one dipole with a sine at 10 µA. Step the frequency from 0.5 Hz to 100 Hz. Plot recorded amplitude against frequency on the channel nearest the dipole. The flat part is your passband; the frequency where it falls to 70 percent is your bandwidth. Compare to the settings you thought you had.

Common-mode rejection. Drive the bias against the with a 60 Hz sine of 100 mV through a 1 kΩ resistor, so the whole ’s potential swings, equally at every . Record. The 60 Hz amplitude you see, divided by 100 mV, is your common-mode ; its ratio to your differential , in dB, is the of the system, included. Repeat with the bias drive on and off.

Crosstalk. Drive one dipole at 20 Hz. Measure the 20 Hz amplitude on every channel. Channels far from the dipole should see only what predicts; anything more is crosstalk in the amplifier or the cable.

Linearity. Drive at 1, 3, 10, 30, and 100 µA. The recorded amplitude should scale exactly. Where it stops, you have found the input range.

A spatial map. Drive one dipole and record on all eight . Plot amplitude against position. This is a forward model measured rather than computed, and in Phase 4 you will compute it and compare.

  1. Mix and pour the with three dipoles at recorded positions. Refrigerate overnight.
  2. Build the current source. Verify with the multimeter that 1 V into 100 kΩ into a 10 kΩ dummy load gives about 10 µA.
  3. Measure the shorted-input and the in- . Record both.
  4. Sweep frequency for and bandwidth. Plot.
  5. Measure with and without bias drive. Compute the dB values.
  6. Measure crosstalk and linearity.
  7. Record the eight-channel spatial map for one dipole and save the CSV; you will need it in Phase 4.
Recall
Why can't an amplifier be characterized on a real head?
Because the true signal is unknown. A phantom lets you inject signals of known frequency, amplitude, and location, so the recording can be compared to the truth.
Recall
How does a series resistor turn a signal generator into a current source, and why do you want one?
A large resistor in series makes the current approximately V/R regardless of the load's smaller, variable impedance. A known current into a known medium gives a computable potential.
Recall
How do you measure the CMRR of the whole system rather than just the chip?
Drive the entire phantom against the reference with a known common-mode voltage (all electrodes see the same signal), record, and compare the recorded amplitude to the injected one, in dB, relative to the differential gain.