Listening to the Pulse: Real-Time Heart Rate Variability Biofeedback on Apple Watch
How photoplethysmography sensors, inter-beat interval statistics, and closed-loop biofeedback turn cardiac fluctuations into a compass for nervous system recovery.
To the naked eye or an ordinary pulse monitor, a healthy human heart appears to beat with the mechanical regularity of a quartz clock: 60 beats per minute, precisely one beat per second.
In reality, a completely regular heart is a sign of severe physiological distress. In a healthy, adaptable human being, the time interval between consecutive heartbeats (the inter-beat interval (IBI) or RR-interval) fluctuates constantly by tens or hundreds of milliseconds:
$t_1 = 890\text{ ms}, \quad t_2 = 1040\text{ ms}, \quad t_3 = 960\text{ ms}$
This beat-to-beat variability is known as Heart Rate Variability (HRV). It is the physiological mirror of the autonomic nervous system—a continuous tug-of-war between the sympathetic "accelerator" and the parasympathetic "brake".
JustZenGo harnesses the Apple Watch's green photoplethysmography (PPG) optical sensors to deliver real-time HRV biofeedback during breathing sessions. This article details the mathematical metrics, signal processing realities, and closed-loop feedback design.

1. Autonomic Physiology: The Sympathetic and Parasympathetic Balance
The heart does not beat autonomously in a vacuum. It is innervated by both branches of the autonomic nervous system:
Because the vagus nerve (parasympathetic branch) releases acetylcholine with sub-second latency, it can modulate the heart rate between . When parasympathetic tone is high, heart rate accelerates during inhalation and decelerates sharply during exhalation.



