An Interpretable DSP Architecture for ECG Rhythm and Premature Ventricular Contraction Detection in MATLAB/Simulink
A. Atif, M. J. Ferdous
Key points
From the paper's conclusion- The results demonstrate the feasibility and limitations of a lightweight and explainable streaming ECG-processing architecture and motivate future work incorporating adaptive decision thresholds and broader patient-independent validation.
Abstract
Electrocardiogram (ECG) monitoring requires reliable signal preprocessing and interpretable detection of abnormal cardiac activity while maintaining low algorithmic complexity. This study presents an integrated digital signal processing architecture developed in MATLAB/Simulink for ECG preprocessing, QRS and R-peak detection, heart-rate estimation, rhythm classification, and premature ventricular contraction (PVC) detection. Real ECG recordings from the MIT-BIH Arrhythmia Database were used for development and evaluation. The preprocessing stage employs minimum-order elliptic IIR high-pass and low-pass filtering, followed by differentiation, squaring, moving-window integration, thresholding, and R-peak detection. RR intervals derived from detected R peaks are used for instantaneous heart-rate calculation and classification of normal rhythm, bradycardia, and tachycardia. PVC detection uses two interpretable beat-level features, an RR-interval ratio and a QRS-energy ratio, combined through fixed rule-based logic. Three initial 10-s windows containing 18 annotated PVCs were used during algorithm development and threshold selection. After the detector parameters were frozen, evaluation was performed on nine additional non-overlapping 10-s windows containing 56 expert-annotated PVCs from MIT-BIH Records 106, 119, and 200. Using a +/-100 ms event-matching tolerance, the held-out evaluation produced 40 true positives, 9 false positives, and 16 false negatives, corresponding to 71.43% sensitivity, 81.63% precision, and 76.19% F1 score. Across the same nine windows, the R-peak detector achieved 94.39% sensitivity, 99.02% positive predictivity, 96.65% F1 score, and approximately 16.91 ms mean absolute timing error. The results demonstrate the feasibility and limitations of a lightweight and explainable streaming ECG-processing architecture and motivate future work incorporating adaptive decision thresholds and broader patient-independent validation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Diagnostic Performance of a Deep Neural Network Algorithm for Automated Detection of Arrhythmias from Consumer ECG DevicesBIO Web of Conferences · 2026
- Machine Learning‐Based Classification of Right and Left Ventricular Outflow Tract Premature Ventricular ContractionsAnnals of Noninvasive Electrocardiology · 2026
- ECG-Based Arrhythmia Analysis and Short-Term Ventricular Event Prediction Using Deep LearningElectronics · 2026
- Single-Lead ECG Arrhythmia Classification with Machine Learning for IoT HealthcareApplied System Innovation · 2026
- Reconstructive information content of ECG leads and electrodes in premature ventricular contractions: an exhaustive, dual-population study.Journal of electrocardiology · 2026
- GCTRNet: global context-gated temporal refinement for short-window ECG-based premature ventricular contraction detection.Frontiers in physiology · 2026