Related Experiment Video
Updated: May 22, 2026

Calculating Heart Rate Variability from ECG Data from Youth with Cerebral Palsy During Active Video Game Sessions
Published on: June 5, 2019
A three-lead, programmable, and microcontroller-based electrocardiogram generator with frequency domain
Ying-Chieh Wei1, Ying-Yu Wei, Kai-Hsiung Chang
1Department of Electrical Engineering, National Cheng Kung University, No.1 University Road, Tainan 70101, Taiwan.
This study developed a programmable electrocardiogram (ECG) generator simulating heart rate variability (HRV) for testing ECG algorithms and equipment. The system offers adjustable parameters for ECG morphology and HRV frequency components.
Area of Science:
- Biomedical Engineering
- Medical Device Development
- Signal Processing
Background:
- Electrocardiogram (ECG) algorithms require rigorous testing and calibration.
- Existing ECG simulators may lack comprehensive control over signal morphology and heart rate variability (HRV).
- Accurate ECG signal generation is crucial for medical device validation.
Purpose of the Study:
- To design and develop a programmable ECG generator with adjustable frequency domain characteristics of HRV.
- To create a versatile tool for testing ECG algorithms and calibrating ECG equipment.
- To provide control over key ECG parameters including amplitude, heart rate, and waveform morphology.
Main Methods:
- Simplified and modified McSharry's model into a single differential equation for ECG signal generation.
- Implemented adjustable parameters for signal amplitude, heart rate, QRS-complex slopes, and P/T-wave positions.
- Developed a graphical user interface (GUI) using LABVIEW for parameter control and signal preview, with USB 2.0 data storage.
Main Results:
- The system allows independent adjustment of very low, low, and high frequency components of HRV.
- Programmable heart rate ranges from 20 to 122 BPM with HRV enabled and 20 to 139 BPM without HRV.
- Adjustable ECG signal amplitude from 0.0 to 330 mV with 0.005 mV resolution.
- Generated three distinct synthetic ECG signal types for testing and calibration purposes.
Conclusions:
- The developed programmable ECG generator effectively simulates complex ECG signals with controllable HRV characteristics.
- This system serves as a valuable tool for enhancing the efficiency of ECG algorithm testing and ensuring the accuracy of ECG equipment.
- The user-friendly GUI and adjustable parameters facilitate precise ECG signal generation for diverse research and clinical applications.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
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 to...
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...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage. When...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
Electrophysiology of Normal Cardiac Rhythm

