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.
Abstract:
The objective of this study is to design and develop a programmable electrocardiogram (ECG) generator with frequency domain characteristics of heart rate variability (HRV) which can be used to test the efficiency of ECG algorithms and to calibrate and maintain ECG equipment. We simplified and modified the three coupled ordinary differential equations in McSharry's model to a single differential equation to obtain the ECG signal. This system not only allows the signal amplitude, heart rate, QRS-complex slopes, and P- and T-wave position parameters to be adjusted, but can also be used to adjust the very low frequency, low frequency, and high frequency components of HRV frequency domain characteristics. The system can be tuned to function with HRV or not. When the HRV function is on, the average heart rate can be set to a value ranging from 20 to 122 beats per minute (BPM) with an adjustable variation of 1 BPM. When the HRV function is off, the heart rate can be set to a value ranging from 20 to 139 BPM with an adjustable variation of 1 BPM. The amplitude of the ECG signal can be set from 0.0 to 330 mV at a resolution of 0.005 mV. These parameters can be adjusted either via input through a keyboard or through a graphical user interface (GUI) control panel that was developed using LABVIEW. The GUI control panel depicts a preview of the ECG signal such that the user can adjust the parameters to establish a desired ECG morphology. A complete set of parameters can be stored in the flash memory of the system via a USB 2.0 interface. Our system can generate three different types of synthetic ECG signals for testing the efficiency of an ECG algorithm or calibrating and maintaining ECG equipment.
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

