5D Library › Autonomic Sympathovagal Balance, Six-Meridian State-Space Models and Multimodal Biomarker Inversion · 中文
Chapter 1. The Heart-Rate Variability Spectrum and the Limits of “Sympathovagal Balance”
From beat intervals to a spectrum
Heart-rate variability (HRV) studies the fluctuation of successive beat-to-beat (RR) intervals. The 1996 international standards divided the spectrum of a five-minute recording into a low-frequency band (LF, 0.04 to 0.15 Hz) and a high-frequency band (HF, 0.15 to 0.40 Hz), and defined time-domain indices such as RMSSD, the root mean square of successive interval differences (Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology 1996; Shaffer and Ginsberg 2017). The HF component comes mainly from respiratory sinus arrhythmia and is mediated by the vagus; the sources of the LF component are far more complicated.
Below these quantities are computed on synthetic data. Each five-minute run of beats is built from a mean interval, a vagal wave that follows breathing, a 0.1 Hz baroreflex (Mayer) wave and random noise; it is resampled at 4 Hz and passed through a discrete Fourier transform.
Calculation
# Chapter 1. p01: Synthetic RR intervals and their HRV spectrum. Five
# minutes of beats are built from a mean RR, a respiratory (vagal) wave at
# the breathing rate, a 0.1 Hz baroreflex (Mayer) wave and white noise.
# The RR series is resampled at 4 Hz and its power is read with a plain
# DFT in the LF band (0.04-0.15 Hz) and HF band (0.15-0.40 Hz).
# RMSSD is the root mean square of successive RR differences. Seed 86.
import random
from math import cos, pi, sin, sqrt
def beats(rr0, a_resp, f_resp, a_mayer, noise, rng, secs=300.0):
t, out = 0.0, []
while t < secs:
rr = (rr0 + a_resp * sin(2 * pi * f_resp * t)
+ a_mayer * sin(2 * pi * 0.1 * t) + rng.gauss(0, noise))
out.append((t, rr))
t += rr / 1000.0
return out
def resample(series, fs=4.0):
ts, rr = [t for t, _ in series], [r for _, r in series]
n, j, out = int(ts[-1] * fs), 0, []
for k in range(n):
x = k / fs
while j < len(ts) - 2 and ts[j + 1] <= x:
j += 1
w = (x - ts[j]) / (ts[j + 1] - ts[j])
out.append(rr[j] + w * (rr[j + 1] - rr[j]))
m = sum(out) / len(out)
return [v - m for v in out]
def band_power(x, fs, lo, hi):
n, p = len(x), 0.0
for k in range(1, n // 2):
f = k * fs / n
if lo <= f < hi:
re = sum(x[i] * cos(2 * pi * k * i / n) for i in range(n))
im = sum(x[i] * sin(2 * pi * k * i / n) for i in range(n))
p += 2 * (re * re + im * im) / (n * n)
return p
def summary(series):
rr = [r for _, r in series]
rmssd = sqrt(sum((b - a) ** 2 for a, b in zip(rr, rr[1:]))
/ (len(rr) - 1))
x = resample(series)
lf, hf = band_power(x, 4.0, 0.04, 0.15), band_power(x, 4.0, 0.15, 0.40)
return 60000 / (sum(rr) / len(rr)), rmssd, lf, hf
CASES = (("rest, 15 breaths/min", 900, 30, 0.25, 15),
("stress: vagal wave cut", 700, 8, 0.25, 15),
("slow breathing 6/min", 900, 30, 0.10, 15),
("weak baroreflex wave", 900, 30, 0.25, 4))
if __name__ == "__main__":
rng = random.Random(86)
print(" case HR RMSSD LF ms2 HF ms2 LF/HF")
for name, rr0, ar, fr, am in CASES:
hr, rmssd, lf, hf = summary(beats(rr0, ar, fr, am, 6.0, rng))
print(" {:<23} {:4.0f} {:6.1f} {:7.1f} {:7.1f} {:5.2f}".format(
name, hr, rmssd, lf, hf, lf / hf))
# case HR RMSSD LF ms2 HF ms2 LF/HF
# rest, 15 breaths/min 67 29.3 112.1 326.7 0.34
# stress: vagal wave cut 86 11.6 121.2 36.7 3.30
# slow breathing 6/min 67 19.8 959.9 11.9 80.66
# weak baroreflex wave 67 28.7 13.5 331.6 0.04At rest, breathing 15 times a minute, heart rate is 67 beats a minute, RMSSD 29.3 ms and LF/HF 0.34. With the vagal wave weakened and heart rate up to 86, RMSSD falls to 11.6 ms and LF/HF rises to 3.30. These two rows fit the textbook reading of “sympathovagal balance”. The last two do not: with the autonomic settings entirely unchanged, slowing breathing to 6 a minute raises LF/HF to 80.66; weakening only the baroreflex wave lowers it to 0.04.
LF/HF is not sympathovagal balance
Calculation
# Chapter 1. p02: Same heart, same nerves, different breathing. The
# autonomic settings of p01's resting case are held fixed (mean RR 900 ms,
# respiratory wave 30 ms, Mayer wave 15 ms) and only the breathing rate
# changes. Below 9 breaths a minute the respiratory wave falls inside the
# LF band, so LF/HF rises although no sympathetic input changed. Each rate
# is averaged over 5 recordings; seed 86.
import importlib.util
import random
def load(name):
spec = importlib.util.spec_from_file_location(name, name + ".py")
m = importlib.util.module_from_spec(spec)
spec.loader.exec_module(m)
return m
p01 = load("p01_rr_spectrum")
if __name__ == "__main__":
rng = random.Random(86)
print(" breaths/min Hz LF ms2 HF ms2 LF/HF RMSSD")
for bpm in (6, 7, 8, 9, 10, 12, 15):
f = bpm / 60.0
acc = [0.0, 0.0, 0.0]
for _ in range(5):
_, rmssd, lf, hf = p01.summary(
p01.beats(900, 30, f, 15, 6.0, rng))
acc = [acc[0] + lf / 5, acc[1] + hf / 5, acc[2] + rmssd / 5]
print(" {:11d} {:.3f} {:7.1f} {:7.1f} {:5.2f} {:5.1f}".format(
bpm, f, acc[0], acc[1], acc[0] / acc[1], acc[2]))
# breaths/min Hz LF ms2 HF ms2 LF/HF RMSSD
# 6 0.100 969.9 11.4 85.14 19.8
# 7 0.117 535.9 10.2 52.57 17.1
# 8 0.133 522.7 12.1 43.37 18.8
# 9 0.150 118.2 410.6 0.29 20.4
# 10 0.167 116.2 401.6 0.29 21.9
# 12 0.200 117.4 381.7 0.31 25.3
# 15 0.250 111.7 339.7 0.33 29.7Lowering the breathing rate step by step from 15 to 6 a minute, with everything else unchanged: at 9 a minute and above, LF/HF stays between 0.29 and 0.33; at 8, the breathing frequency (0.133 Hz) falls inside the LF band and LF/HF jumps to 43.37; at 6 a minute it is 85.14. This is why LF/HF has been criticised: low-frequency power mainly reflects the baroreflex modulation of cardiac autonomic outflow, not cardiac sympathetic tone itself (Goldstein et al. 2011; Billman 2013).
Note
Record breathing before reading HRV. In the same person, slow breathing, talking or yawning moves power into the LF band. An LF/HF without a simultaneous record of breathing rate cannot be read as sympathetic or vagal strength; RMSSD and HF reflect vagal modulation more directly, but they too depend on breathing depth.
Summary
In the illustrative model, slowing breathing alone, with no autonomic setting changed, raises LF/HF from 0.33 to 85.14. LF/HF cannot stand alone for “sympathovagal balance”; the chapters that follow use heart rate, RMSSD and breathing rate together, and treat every autonomic reading as a model still to be tested.
References
Fan, Y. (2026). Autonomic Sympathovagal Balance, Six-Meridian State-Space Models and Multimodal Biomarker Inversion: Heart-Rate Variability Spectral Decomposition, Thermoregulatory Phase Drift and Bayesian Syndrome Classification [自主神经交感迷走平衡、六经辨证状态空间与多模态标志物反演] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090227 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).