Cardiovascular SystemInteractive lab
ECG Lab: Read the Waves of the Heartbeat
Cardiac Cycle Explorer
Step through the five phases of one heartbeat.
Atrial systole
The atria contract, pushing the final ~20–30% of ventricular filling (the 'atrial kick') into the ventricles. The ventricles are relaxed.
| Feature | State in this phase |
|---|---|
| AV valves (mitral & tricuspid) | Open |
| Semilunar valves (aortic & pulmonic) | Closed |
| Pressure relationship | Atrial pressure briefly exceeds ventricular pressure, driving blood through the open AV valves. |
| ECG correlation | P wave — atrial depolarization just before the atria contract. |
| Heart sound | — |
During both isovolumetric phases all four valves are closed — no blood enters or leaves, so pressure changes at constant volume. Ejection begins only when ventricular pressure exceeds arterial pressure, which forces the semilunar valves open.
The electrocardiogram records the heart's electrical activity: the P wave is atrial depolarization, the QRS complex is ventricular depolarization, and the T wave is ventricular repolarization. In this lab you morph a single-lead ECG and correlate each deflection with the mechanical phase it triggers.
Instructions
Set a resting heart rate of 75 and identify P, QRS, and T on the trace.
Lengthen the PR interval past 200 ms to see the AV-conduction-delay pattern.
Widen the QRS past 120 ms to see the ventricular-conduction-delay pattern.
Raise the ST segment and note which phase of the cycle it overlies.
Variables
| Variable | Unit | Range | Role |
|---|---|---|---|
| heartRate | bpm | 40 – 160 (default 75) | Beats per minute. Sets the R-R interval and the trace's horizontal scale. |
| prInterval | ms | 120 – 220 (default 160) | Time from atrial to ventricular depolarization. Normal is 120-200 ms. |
| qrsDuration | ms | 60 – 140 (default 90) | Ventricular depolarization time. Normal is under 120 ms. |
| stSegment | mV | -0.2 – 0.5 (default 0) | ST-segment deviation from baseline. Elevation patterns appear with this slider. |
Expected outcomes
- The P wave precedes atrial systole; the QRS precedes ventricular systole.
- A PR interval above 200 ms shows the first-degree AV block pattern.
- A QRS wider than 120 ms shows a ventricular conduction delay pattern.
- The T wave represents ventricular repolarization, occurring during diastole.
Single-lead (lead II style) idealized trace; no arrhythmias, axis, or multi-lead interpretation. Patterns are educational illustrations of textbook ECG changes — reading real ECGs is a clinical skill, and this lab is not medical advice.
Learning goals
- Label P, QRS, and T waves on a normal trace.
- Map each wave to its cardiac-cycle phase.
- Recognize prolonged PR and wide QRS patterns.
- Explain what the T wave represents.