A heartbeat starts as charged atoms crossing a membrane and ends as twelve lines on pink paper.
Every step in between can be seen, and this course shows each one moving.
One engine sits under every module: a single heart vector, turning through one beat. Each of the twelve leads
is that vector seen from one direction, so nothing here is drawn by hand. Change the vector, the electrode,
the filter or the paper and watch the trace answer.
PDR
Dr Dinesh Raja Palanisamy
v2.3 · November 2026
1 of 14 modules
Jump to a module
Types of electrode
The sensor you stick on decides how clean the trace can ever be. Pick one and watch what it does to the signal.
Half-cell offset
Skin contact impedance
Movement artifact
Recovery after a shock
Trace you would get from this electrode
Contact impedance, side by side
Impedance is what turns mains hum into a visible problem. The amplifier only cancels interference if both electrodes see the same thing — and a high-impedance electrode next to a low-impedance one breaks that match. Two good electrodes beat one good and one dry every time.
Impedance — how hard it is for the signal to get out
Impedance is the resistance the signal meets between heart and amplifier. Almost all of it lives in the dead outer layer of skin. Change the conditions and watch it move.
Skin cleaned and lightly abraded
Removes the dead surface layer, where most impedance sits
Hair at the site
Holds the electrode off the skin
Gel dried out
Old or long-open electrode
Patient sweating
Lifts adhesive but wets the skin
Electrode contact area
This electrode
Machine would report
Why matching matters more than the number
The amplifier cancels interference only if both electrodes see it identically. Give one a different impedance and the cancellation breaks.
Impedance of the partner electrode
What arrives at the wire
The starting point for everything in this module: about 1 mV of heartbeat, sitting on a much larger steady offset, with room noise on top. Every stage that follows is an attempt to keep the first part and discard the rest.
The signal you want
≈ 1 mV
Electrode offset on top
up to 300 mV
Mains hum in the room
often > 1 mV
So the wanted part is
under 1% of it
This is why an ECG machine is mostly a noise-rejection device. Amplifying is the easy part;
amplifying only the heartbeat is the whole engineering problem. The offset and impedance behind
these numbers are covered in the Electrodes module.
Why is a ventricular beat so big?
A VPC is usually taller and wider than the patient's own QRS. Both facts come from the same cause.
Normal beat
Ventricular beat
A normal beat runs down the His–Purkinje system, so both ventricles fire at the same moment, in roughly
opposite directions. Most of that cancels, exactly like the scattered cells in the Vectors module — what is
left over is a modest 1 mV.
A ventricular beat starts in one ventricle and crawls across muscle. The two ventricles fire
one after the other, not together, so there is far less to cancel and a much larger vector survives.
The slow muscle-to-muscle spread is also what makes it wide. Big and wide are the same fact seen twice.
The first 40 ms tells you where the beat started
A beat that gets into the His–Purkinje system early begins fast. One that has to crawl through muscle begins slowly. Compare the shaded start and end of each.
Initial speed (first 40 ms)
Terminal speed (last 40 ms)
Ratio Vi / Vt
QRS width
Quiz
0 / 0
Question 1
What aliasing does to a real ECG
A 600 Hz source reaching the converter, with the filter on and off.
Anti-alias filter
Real machines have no switch. Here you can turn it off to see why.
ANTI-ALIAS (here)
Blocks what is too fast to sample Hardware, before the converter Always on Cannot be undone
NOTCH (stage 6)
Removes mains hum at 50/60 Hz Software, after the converter You switch it on Can be undone