A Novel Deterministic Algorithm for Atrial Fibrillation Detection
Abstract
The absence of a recognizable P wave in an electrocardiogram (ECG) is a critical indicator for the diagnosis of atrial fibrillation (AF). An algorithm capable of distinguishing between physiological and pathological states in a short period of time could serve as a valuable tool for timely and effective diagnosis, even in a home setting. To achieve this goal, a deterministic algorithm is proposed. The Fantasia Database and the AF Termination Challenge Database were used for training the model. Subsequently, for the test session, a one-minute recording was extracted from the Autonomic Aging Dataset and the Long-Term AF Database. After band-pass filtering, characteristic points such as R-peaks and P waves were extracted. The R-peak detection algorithm was compared with the gold standard Pan-Tompkins, obtaining a p-value > 0.05 on the Fantasia Database, which means that there is no statistical difference between them. Subsequently derived features such as duration, amplitude, subtended area, and P wave slope have been used to discriminate healthy subjects from AF patients. The P-wave slope emerged as the most effective feature, achieving a classification accuracy of 100% and 96% for the training and test sets, respectively. This algorithm thus represents a significant advancement as it achieves a performance comparable to other deterministic methods based on P wave analysis using only one-minute recordings, thereby enabling accurate diagnosis in a shorter time frame.
Fields of Study & Subjects
ECG Monitoring and Analysis
Atrial Fibrillation Management and Outcomes
Cardiac electrophysiology and arrhythmias
Publication details
- Journal / source
- Signals
- Volume
- 7
- Issue
- 1
- Pages
- 3–3
- Publication date
- 8 January 2026
- Language
- EN