Related Experiment Video
Updated: Nov 12, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
An Accurate QRS complex and P wave Detection in ECG Signals using Complete Ensemble Empirical Mode Decomposition
Billal Hossain1, Syed Khairul Bashar1, Allan J Walkey2
1Department of Biomedical Engineering, University of Connecticut, Storrs CT 06269, USA.
Abstract:
We developed a novel method for QRS complex and P wave detection in the electrocardiogram (ECG) signal. The approach reconstructs two different signals for the purpose of QRS and P wave detection from the modes obtained by the complete ensemble empirical mode decomposition with adaptive noise, taking only those modes that best represent the signal dynamics. This approach eliminates the need for conventional filtering. We first detect QRS complex locations, followed by removal of QRS complexes from the reconstructed signal to enable P wave detection. We introduce a novel method of P wave detection from both the positive and negative amplitudes of the ECG signal and an adaptive P wave search approach to find the true P wave. Our detection method automatically identifies P waves without prior information. The proposed method was validated on two well-known annotated databases-the MIT BIH Arrythmia database (MITDB) and The QT database (QTDB). The QRS detection algorithm resulted in 99.96% sensitivity, 99.9% positive predictive value, and an error of 0.13% on all validation databases. The P wave detection method had better performance when compared to other well-known methods. The performance of our P wave detection on the QTDB showed a sensitivity of 99.96%, a positive predictive value of 99.47%, and the mean error in P peak detection was less than or equal to one sample (4 ms) on average.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...
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....
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...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias

