Related Experiment Video
Updated: Jan 9, 2026

Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
Heartbeat Detection from Ballistocardiogram Signals Using a Transformer Network
Insights
This study introduces a transformer network to precisely detect heartbeats from Ballistocardiogram (BCG) signals, enabling accurate heart rate (HR) and heart rate variability (HRV) monitoring for cardiovascular health.
Area of Science:
- Biomedical Engineering
- Cardiovascular Physiology
- Signal Processing
Background:
- Longitudinal monitoring of heart rate (HR) and heart rate variability (HRV) is crucial for assessing cardiovascular diseases (CVDs), sleep quality, and autonomic nervous system activity.
- Current methods for HR/HRV monitoring may be invasive or lack long-term applicability in everyday settings.
Purpose of the Study:
- To develop and evaluate a transformer network for precise heartbeat timing detection from Ballistocardiogram (BCG) signals.
- To assess the performance of segment-based versus subject-based models for HR and HRV estimation using BCG data.
Main Methods:
- A transformer network was designed to predict electrocardiogram (ECG) signals from input BCG signals for heartbeat detection.
- Performance was evaluated using segment-based and subject-based models across three datasets: young adults, older adults, and a combined group.
- Correlation coefficients against ground truth ECG were calculated for HR and mean heart beat interval (MHBI).
Main Results:
- The segment-based model achieved superior performance compared to the subject-based model.
- Correlation coefficients of 0.97 were obtained for both HR and MHBI using the segment-based model against ground truth ECG.
- The model demonstrated effectiveness across different age groups.
Conclusions:
- A non-invasive transformer network approach using BCG signals can accurately detect heartbeat timing for HR and HRV monitoring.
- This method holds significant potential for long-term, at-home monitoring to aid in the early detection and prevention of cardiovascular issues.
- The segment-based approach is recommended for enhanced accuracy in HR/HRV estimation from BCG.
Abstract:
Longitudinal monitoring of heart rate (HR) and heart rate variability (HRV) can aid in tracking cardiovascular diseases (CVDs), sleep quality, and sleep disorders, and reflect autonomic nervous system activity, stress levels, and overall well-being. These metrics are valuable in both clinical and everyday settings. In this paper, we present a transformer network aimed primarily at detecting the precise timing of heart beats from predicted electrocardiogram (ECG) signals that are derived from input Ballistocardiogram (BCG) signals. We compared the performance of segment-based and subject-based models across three datasets: a dataset with 46 young, healthy subjects, a dataset with 28 older adults, and a combined dataset. The segment-based model demonstrated superior performance, with correlation coefficients of 0.97 for both, HR and mean heart beat interval (MHBI) when compared to ground truth ECG. This non-invasive method offers significant potential for long-term, in home HR and HRV monitoring, aiding in the early indication and prevention of cardiovascular issues.
Related Concept Videos
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Equivalent Circuits for Practical Transformers
In a practical transformer, each winding exhibits resistance and leakage reactance. The...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Bode Plots Construction
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...

