Related Experiment Video
Updated: Jul 8, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
P wave detector with PP rhythm tracking: evaluation in different arrhythmia contexts
1Department of Computing Science, University of Aberdeen, Aberdeen AB24 3UE, UK. fportet@abdn.ac.uk
Insights
A new algorithm automatically detects P waves in electrocardiograms (ECGs), improving arrhythmia diagnosis. This knowledge-based approach adapts to patients and handles various arrhythmias effectively.
Area of Science:
- Cardiology
- Biomedical Engineering
- Signal Processing
Background:
- Accurate P wave detection in electrocardiograms (ECGs) is vital for diagnosing cardiac arrhythmias.
- Existing methods often struggle with complex arrhythmias beyond normal sinus rhythm, atrial flutter, and fibrillation.
- P wave detection is challenging due to signal variability and interference during various arrhythmias.
Purpose of the Study:
- To present a novel knowledge-based algorithm for automatic P wave detection in ECGs.
- To develop a self-adaptive algorithm capable of handling diverse arrhythmias by tracking PP rhythm.
- To evaluate the algorithm's performance on challenging arrhythmia datasets.
Main Methods:
- Development of a knowledge-based algorithm incorporating domain expertise for P wave identification.
- Implementation of a self-adaptive mechanism to personalize detection to individual patients.
- Testing the algorithm on the MIT-BIH arrhythmia database, including records with ventricular and supra-ventricular arrhythmias.
Main Results:
- The algorithm achieved an overall sensitivity (Se) of 96.60% and precision (Pr) of 95.46% across all records.
- For normal sinus rhythm, performance reached Se = 97.76% and Pr = 96.80%.
- Demonstrated robust performance in Mobitz type II (Se = 72.79%, Pr = 99.51%), trigeminy, and bigeminy, outperforming some advanced techniques.
Conclusions:
- The knowledge-based P wave detector demonstrates significant potential for improving arrhythmia diagnosis.
- The algorithm's self-adaptive nature and PP rhythm tracking enhance its robustness in complex cardiac conditions.
- Domain knowledge integration proves effective in advancing signal processing for challenging ECG analysis.
Abstract:
Automatic detection of atrial activity (P waves) in an electrocardiogram (ECG) is a crucial task to diagnose the presence of arrhythmias. The P wave is difficult to detect and most of the approaches in the literature have been evaluated on normal sinus rhythms and rarely considered arrhythmia contexts other than atrial flutter and fibrillation. A novel knowledge-based P wave detector algorithm is presented. It is self-adaptive to the patient and able to deal with certain arrhythmias by tracking the PP rhythm. The detector has been tested on 12 records of the MIT-BIH arrhythmia database containing several ventricular and supra-ventricular arrhythmias. On the overall records, the detector demonstrates Se = 96.60% and Pr = 95.46%; for the normal sinus rhythm, it reaches Se = 97.76% and Pr = 96.80% and, in the case of Mobitz type II, it demonstrates Se = 72.79% and Pr = 99.51%. It also shows good performance for trigeminy and bigeminy, and outperforms some more sophisticated techniques. Although the results emphasize the difficulty of P wave detection in difficult arrhythmias (supra and ventricular tachycardias), it shows that domain knowledge can efficiently support signal processing techniques.
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
Dysrhythmias III: Characteristics of Dysrhythmias
Special considerations while measuring pulse
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...
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias

