PHASE 03 / DEEP OBSERVATION
Longitudinal N=1 Self-Tracking Continuous ECG & HRV Autonomic State Clustering

Long-Term Self-Monitoring & HRV Discovery

I wore my self-built heart monitor over several weeks during normal daily life—working, coding, exercising, and resting. I discovered why one-size-fits-all health numbers fail: your personal baseline changes by up to 25 beats per minute depending on sleep and time of day. An algorithm must learn your personal baseline to be accurate.

Testing Type
Multi-Week Self-Tracking
Metrics Tracked
Heart Rate & Variability (HRV)
Activities
Deep Coding, Rest, Exercise
Core Insight
Baseline Shifts (~25 bpm) Shift the Scale

The Problem: 3-Minute Lab Tests Miss Real Life

Most scientific studies only track people for 3 minutes in a quiet lab. But a 3-minute snapshot completely misses how your body changes from morning to night as you tire out or recover.

Using my custom test rig, I recorded my own heartbeats for weeks during real daily life: deep programming blocks, reading, stressful moments, workouts, and evening rest.

What was I trying to understand?

Can everyday heart rate variability accurately tell the difference between mental focus, physical exhaustion, and emotions—or do natural daily changes overwhelm the signal?

Tracking Protocol Specifications

Domain Protocol Details Context
Acquisition Hardware Custom AD8232 + ESP32 System Lead-II chest configuration with wet gel electrodes
Duration Multi-week continuous logging sessions Covering mornings, intense work blocks, and evening rest
Subjective Annotation Synchronized timestamped event logs Self-recorded emotional tags, focus levels, and error occurrences
Reference Alignment Cross-verified against DREAMER ECG Benchmarked against 7 discrete emotion clusters from literature

HRV Feature Extraction & Analysis

STAGE 01
Artifact Filtering
Applied point-process RR filter to eliminate premature ventricular contractions (PVCs) and motion spikes before calculating statistical intervals.
STAGE 02
Time-Domain Indices
Calculated rolling RMSSD (parasympathetic vagal tone marker) and SDNN (total autonomic power) across 3-minute sliding windows.
STAGE 03
Spectral LF/HF Ratio
Lomb-Scargle periodogram estimated Low Frequency (0.04–0.15 Hz) and High Frequency (0.15–0.40 Hz) bands to evaluate sympathovagal balance.
STAGE 04
Cognitive Task Segmentation
Segmented physiological recordings around difficult mental tasks: Sternberg holding, complex code debugging, and task switching.

Heart Rate Zones Across Discrete Emotional States

Cross-analyzing physiological recordings revealed distinct autonomic clusters. High-arousal states (Happy ~100 bpm, Anger & Surprise ~90 bpm) demonstrated marked sympathetic elevation compared to low-arousal states (Sad ~70 bpm, Fear ~70 bpm), providing biological boundaries despite subjective label noise.

Fig. 01 · HRV (RMSSD) Ranges and Associated States
Autonomic Flexibility Spectrum
HRV (RMSSD) Ranges and Associated States
Autonomic flexibility and physiological state mapping: Low HRV (0–25 ms) correlates with acute stress, high mental load, and sympathetic dominance; Medium HRV (25–50 ms) indexes active cognitive evaluation, analytical thinking, and balanced autonomic activity; High HRV (50+ ms) reflects adaptive resilience, memory consolidation, and parasympathetic recovery.
Fig. 02 · Heart Rate Distributions by Emotion
Multi-Week Empirical Distributions
Heart Rate Distributions by Emotion Box Plot
Heart rate distributions (BPM) across discrete affective states: High-arousal states (Happy ~100 bpm, Angry & Surprise ~90 bpm) produce pronounced sympathetic acceleration, while low-arousal states (Sad ~70 bpm, Fear ~70 bpm) display sustained parasympathetic vagal dominance with constrained variability.
CLUSTER 01
Arousal Extremes
Happy (~100 bpm) and Anger (~90 bpm) drive dramatic sympathetic activation and RMSSD suppression, reflecting metabolically demanding vigilance.
CLUSTER 02
Low-Arousal Valence
Sad (~70 bpm) and Fear states exhibit persistent parasympathetic vagal braking, marked by lower heart rates and dampened trajectory variance.
CLUSTER 03
Baseline Sensitivity
Personal resting offset varied by up to 25 bpm between morning rest and late-night exhaustion, confirming that universal fixed cutoffs fail.

What Failed: The Collapse of Fixed Thresholds

The primary algorithmic failure was attempting to use static, absolute HRV thresholds (e.g., "RMSSD < 20 ms = High Stress").

The Baseline Shift Problem: On a well-rested morning, my resting heart rate was 62 bpm with an RMSSD of 48 ms. Following a poor night of sleep, my baseline resting heart rate was 78 bpm with an RMSSD of 22 ms while completely calm. A static classifier interpreted my calm state as acute emotional distress simply because the autonomic floor had drifted.

What I Learned: Relative Deviation Over Absolute Values

Physiological interpretation is fundamentally relative. A drop of 10 ms in RMSSD is meaningful only when compared against the individual's rolling 7-day circadian baseline. Furthermore, mental task execution consistently produced transient cardiac deceleration upon cognitive intake—pointing toward evoked cardiac dynamics during working memory.

What This Investigation Does NOT Prove

How This Led to Phase 04

Transition to Phase 04: Question-Level Cardiac Dynamics in Working Memory

To test whether the cognitive cardiac slowing observed in my personal data was a universal neurocardiac phenomenon, I turned to a peer-reviewed cognitive dataset: OpenNeuro ds006848 (30 participants, 5,959 Sternberg working-memory trials with continuous 1000 Hz ECG).

Explore Phase 04 Case Study

Data Metrics Summary

State Category Median HR (BPM) Autonomic Modulation
High Arousal (Happy / Excitement) ~100 bpm Sympathetic dominance, reduced vagal braking
High Arousal (Anger / Surprise) ~90 bpm Elevated heart rate, high LF/HF ratio
Low Arousal (Sad / Fear) ~70 bpm Parasympathetic predominance, restrained variance
Cognitive Focus (Code / Study) ~74 bpm Evoked deceleration upon task engagement