ECG Signal Classification Using MODWT and CNN for Early Detection of Cardiac Abnormalities
DOI:
https://doi.org/10.21776/jeeccis.v19i1.1769Keywords:
Cardiac Abnormalities, CNN, ECG Signal Classification, MODWT, QRS ComplexAbstract
Accurate classification of ECG signals is crucial for the early detection of cardiac abnormalities. This study proposes a method that integrates Maximal Overlap Discrete Wavelet Transform (MODWT) for feature extraction with a Convolutional Neural Network (CNN) to enhance classification performance. Unlike previous research that applied a custom 1D CNN directly to raw ECG signals, this approach preprocesses the data using MODWT to extract QRS complex features, improving the model’s ability to distinguish between different heart conditions. The classification includes four categories: Atrial Fibrillation (AF), Congestive Heart Failure (CHF), Normal Sinus Rhythm (NSR), and Ventricular Fibrillation (VF). The model’s performance was evaluated using key metrics, achieving precision of 96.96%, recall of 96.88%, F1-score of 96.86% and an accuracy of 98.75% on test data and 96.88%, on validation data. These results indicate that the proposed approach provides competitive classification performance, demonstrating the potential of combining wavelet transform and deep learning techniques to support ECG-based cardiac abnormality detection and diagnosis.
References
[1] S.-J. Wu and Y.-C. Hsieh, “Sudden cardiac death in heart failure with preserved ejection fraction: an updated review,” Int. J. Arrhythmia, vol. 23, no. 1, 2022, doi: 10.1186/s42444-021-00059-3.
[2] A. Brian, N. Sabna, and G. G. Paulson, “ECG based algorithm for detecting ventricular arrhythmia and atrial fibrillation,” Proc. 2017 Int. Conf. Intell. Comput. Control Syst. ICICCS 2017, vol. 2018-Janua, pp. 506–511, 2017, doi: 10.1109/ICCONS.2017.8250773.
[3] N. Ahmed and Y. Zhu, “Early detection of atrial fibrillation based on ecg signals,” Bioengineering, vol. 7, no. 1, pp. 1–18, 2020, doi: 10.3390/bioengineering7010016.
[4] G. T. Taye, H. J. Hwang, and K. M. Lim, “Application of a convolutional neural network for predicting the occurrence of ventricular tachyarrhythmia using heart rate variability features,” Sci. Rep., vol. 10, no. 1, pp. 1–7, 2020, doi: 10.1038/s41598-020-63566-8.
[5] Z. Abidin, K. Tanno, S. Mago, and H. Tamura, “Novel instrumentation amplifier architectures insensitive to resistor mismatches and offset voltage for biological signal processing,” Proc. Int. Symp. Mult. Log., vol. 2016-July, pp. 194–199, 2016, doi: 10.1109/ISMVL.2016.46.
[6] Rodrigues, João, David Belo, and Hugo Gamboa. 2017. “Noise Detection on ECG Based on Agglomerative Clustering of Morphological Features.” Computers in Biology and Medicine 87 (April): 322–34. 10.1016/j.compbiomed.2017.06.009.
[7] B. K. Kantharia, “Cardiac arrhythmias in congestive heart failure,” Expert Rev. Cardiovasc. Ther., vol. 8, no. 2, pp. 137–140, 2010, doi: 10.1586/erc.09.185.
[8] Y. N. Fu’adah and K. M. Lim, “Classification of Atrial Fibrillation and Congestive Heart Failure Using Convolutional Neural Network with Electrocardiogram,” Electron., vol. 11, no. 15, 2022, doi: 10.3390/electronics11152456.
[9] J. Liu, X. Zhou, X. Liu, X. Wang, and J. Zhou, “A Rhythm-Specific ECG Signal Quality Assessment Framework for Robust Cardiac Health Monitoring of AI-based Arrhythmia Classifer,” BioCAS 2023 - 2023 IEEE Biomed. Circuits Syst. Conf. Conf. Proc., pp. 1–5, 2023, doi: 10.1109/BioCAS58349.2023.10388946.
[10] Goldberger, A., L. Amaral, L. Glass, J. Hausdorff, P. C. Ivanov, R. Mark, J. E. Mietus, G. B. Moody, C. K. Peng, and H. E. Stanley. "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220." (2000), doi.org/10.13026/C2F305.
[11] H. Telangore, V. Azad, M. Sharma, A. Bhurane, R. S. Tan, and U. R. Acharya, “Early prediction of sudden cardiac death using multimodal fusion of ECG Features extracted from Hilbert–Huang and wavelet transforms with explainable vision transformer and CNN models,” Comput. Methods Programs Biomed., vol. 257, no. October, 2024, doi: 10.1016/j.cmpb.2024.108455.
[12] Rahmawan, Hanif Adi, Bambang Lelono Widjianto, Katherine Indrawati, and Rizki Mendung Ariefianto. 2023. “Advancing Fault Diagnosis for Parallel Misalignment Detection in Induction Motors Based on Convolutional Neural Networks.” Jurnal EECCIS (Electrics, Electronics, Communications, Controls, Informatics, Systems) 17 (2): 66–71. doi: 10.21776/jeeccis.v17i2.1655.
[13] P. Siwindarto, A. B. DIanisma, Z. Abidin, and S. S. Mahmadov, “ECG signal processing for early detection of atrial and ventricular fibrillation based on R-R interval,” EECCIS 2020 - 2020 10th Electr. Power, Electron. Commun. Control. Informatics Semin., no. c, pp. 142–146, 2020, doi: 10.1109/EECCIS49483.2020.9263454.
[14] Brian, Ann, N. Sabna, and Greeshma Grace Paulson. 2017. “ECG Based Algorithm for Detecting Ventricular Arrhythmia and Atrial Fibrillation.” Proceedings of the 2017 International Conference on Intelligent Computing and Control Systems, ICICCS 2017 2018-Janua:506–11. https://doi.org/10.1109/ICCONS.2017.8250773.
[15] Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.
[16] Baim DS, Colucci WS, Monrad ES, Smith HS, Wright RF, Lanoue A, Gauthier DF, Ransil BJ, Grossman W, Braunwald E. Survival of patients with severe congestive heart failure treated with oral milrinone. J Am Coll Cardiol. 1986 Mar;7(3):61-70. doi: 10.1016/s0735-1097(86)80478-8. PMID: 3950244.
[17] Goldberger, A., L. Amaral, L. Glass, J. Hausdorff, P. C. Ivanov, R. Mark, J. E. Mietus, G. B. Moody, C. K. Peng, and H. E. Stanley. "PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220." (2000), doi.org/10.13026/C2NK5R.
[18] Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE. PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220
[19] H. Bumpenje, Rahmadwati, and Z. Abidin, “Chest Cancer Classification from Chest CT-Scan Images using Deep Learning,” 2024 Int. Conf. Smart Comput. IoT Mach. Learn. SIML 2024, pp. 49–55, 2024, doi: 10.1109/SIML61815.2024.10578120.




