๐Ÿซ€ Cardiac Rehabilitation: Exercise Prescription and Heart-Rate Monitor

The science

Cardiac rehabilitation prescribes supervised exercise in a heart-rate window that is hard enough to train but safe. The model combines four standard relations.

  • Oxygen cost (ACSM leg ergometry): VO2 = 7 + 10.8 ยท W / m mL/kg/min, power W in watts, body mass m in kg (1 MET = 3.5).
  • Heart rate vs. oxygen use: linear between rest and peak, HRss = HRrest + (HRpeak - HRrest)(VO2 - 3.5)/(VO2peak - 3.5); HRpeak โ‰ˆ 220 - age, about 20 % lower on a beta-blocker.
  • Kinetics: first-order, dHR/dt = (HRss - HR)/ฯ„, ฯ„ about 35 s going up and 55 s coming down.
  • Target zone (Karvonen): HRrest + p (HRpeak - HRrest) with p = 40-70 % of heart-rate reserve. If the patient has an ischaemic threshold, stay about 10 bpm below it.

The 12-week projection is an illustrative saturating model (a few percent of VO2peak per week for sessions spent mostly in zone); the fall of heart rate at a fixed workload follows from the same linear relation. Real gains of 10-25 % are typical, but vary widely.

Simplifications: no blood pressure, no fatigue drift or cardiac drift, a single linear HR-VO2 line, synthetic ECG. This is educational, not medical advice.

Patient

Exercise session

30-min session: 5 min warm-up at 40 % load, 20 min main phase, 5 min cool-down.

Monitor

Self-checks