Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 58 min ago
PreprintCC BY-NC-NDmedRxiv

An Interpretable DSP Architecture for ECG Rhythm and Premature Ventricular Contraction Detection in MATLAB/Simulink

  1. 1Varendra University

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.

Related

  1. GCTRNet: global context-gated temporal refinement for short-window ECG-based premature ventricular contraction detection.
    Manhong Shi, Yuqing Yang, Jianguo Chen
    Frontiers in physiologyPeer-reviewedCC BYFull textCardiovascular medicineEurope PMCPMC
  2. Large Language Model‐Based Localization of Premature Ventricular Contraction Origins: A Retrospective Diagnostic Accuracy Study
    Kazuhisa Matsumoto, Yuya Fujisaki, Syunta Higuchi +10
    Journal of Cardiovascular ElectrophysiologyPeer-reviewedCC BY 4.0Full text1 citedCardiovascular medicinePMC
  3. Analysis of activation recovery interval at the Purkinje fiber-myocardial junction in ventricular fibrillation storm triggered by premature ventricular contractions: A case report.
    Masahiro Toba, Toshihiro Nasu, Nobuyoshi Nekomiya +2
    HeartRhythm case reportsPeer-reviewedCC BY-NC-NDFull textCardiovascular medicineEurope PMC
  4. Transcatheter suture embolization for ventricular premature beats originating from the distal great cardiac vein: A case report.
    Shen Huang, Xiuyu Wang, Chunwei Zhang +1
    HeartRhythm case reportsPeer-reviewedCC BY-NC-NDFull textCardiovascular medicineEurope PMC
  5. Ultra-selective chemical ablation via an over-the-wire microelectrode catheter for radiofrequency-refractory premature ventricular complexes arising from deep intramural outflow tract.
    Yuhei Kasai, Takayuki Kitai, Junji Morita +3
    HeartRhythm case reportsPeer-reviewedCC BY-NC-NDFull textCardiovascular medicineEurope PMC
BibTeX
@misc{atif2026interpretable,
  title = {{An Interpretable DSP Architecture for ECG Rhythm and Premature Ventricular Contraction Detection in MATLAB/Simulink}},
  author = {A. Atif and M. J. Ferdous},
  howpublished = {medRxiv},
  year = {2026},
  month = nov,
  doi = {10.64898/2026.11.16.26368189},
  url = {https://www.medrxiv.org/content/10.64898/2026.11.16.26368189v1},
  note = {CC BY-NC-ND},
}
RIS
TY  - UNPB
TI  - An Interpretable DSP Architecture for ECG Rhythm and Premature Ventricular Contraction Detection in MATLAB/Simulink
AU  - A. Atif
AU  - M. J. Ferdous
PY  - 2026
DA  - 2026/11/16
PB  - medRxiv
DO  - 10.64898/2026.11.16.26368189
UR  - https://www.medrxiv.org/content/10.64898/2026.11.16.26368189v1
AB  - 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.
ER  -