Automatic ECG Arrhythmia Recognition using ANN and CNN

Authors

DOI:

https://doi.org/10.52756/ijerr.2024.v45spl.001

Keywords:

Atrial Fibrillation, Convolution Neural Network, Compression, Malignant Ventricular Ectopy, Normal Sinus Rhythm, Supraventricular Arrhythmia

Abstract

Present research highlights the need for more patient-oriented monitoring systems for cardiac health, especially in the aftermath of COVID-19. The study introduces a contactless and affordable ECG device capable of recording heart arrhythmias for remote monitoring, which is vital in managing the rising incidence of untimely heart attacks. Two deep learning algorithms have been developed to design the system: RCANN (Real-time Compressed Artificial Neural Network) and RCCNN (Real-time Compressed Convolutional Neural Network), respectively, based on ANN and CNN. These methods are designed to classify and analyze three different forms of ECG datasets: raw, filtere and filtered + compressed signals. These were developed in this study to identify the most suitable type of dataset that can be utilized for regular/remote monitoring. This data is prepared using online ECG signals from Physionet(ONLINE) and the developed real-time signals from Arduino ECG sensor device. Performance is analysed on the basis of accuracy, sensitivity, specificity and F1 score for all kinds of designed ECG databases using both RCCNN and RCANN. For raw data, accuracy is 99.2%, sensitivity is 99.7%, specificity is 99.2%, and F1-Score is 99.2%. For RCCNN, accuracy is 93.2%, sensitivity is 91.5%, specificity is 95.1%, and F1-Score is 93.5% for RCANN. For Filtered Data, accuracy is 97.7%, sensitivity is 95.9%, specificity is 99.4%, and F1-Score is 97.6%. For RCCNN, accuracy is 90.5%, sensitivity is 85.8%, specificity is 96.4%, and F1-Score is 90.9% for RCANN. For Filtered + compressed data, accuracy is 96.6%, sensitivity is 97.6%, specificity is 95.7%, and F1-Score is 96.5%. For RCCNN, accuracy is 85.2%, sensitivity is 79.2%, specificity is 94.5%, and F1-Score is 86.7% for RCANN. The performance evaluation shows that RCCNN with filtered and compressed datasets outperforms other approaches for telemonitoring and makes it a promising approach for individualized cardiac health management.

References

Acharya, U. R., Fujita, H., Adam, M., Lih, O. S., Sudarshan, V. K., Hong, T. J., Koh, J. E., Hagiwara, Y., Chua, C. K., & Poo, C. K. (2017). Automated characterization and classification of coronary artery disease and myocardial infarction by decomposition of ECG signals: A comparative study. Information Sciences, 377, 17–29. https://doi.org/10.1016/j.ins.2016.10.013

Alqahtani, M., Abbas, M., Alsabaani, A., Alqarni, A., Almohiy, H. M., Alsawqaee, E., Alshahrani, R., & Alshahrani, S. (2022). The Potential Impact of COVID-19 Virus on the Heart and the Circulatory System. Infection and Drug Resistance, Volume 15, 1175–1189. https://doi.org/10.2147/IDR.S351318

Aslam, S., Herodotou, H., Mohsin, S. M., Javaid, N., Ashraf, N., & Aslam, S. (2021). A survey on deep learning methods for power load and renewable energy forecasting in smart microgrids. Renewable and Sustainable Energy Reviews, 144, 110992. https://doi.org/10.1016/j.rser.2021.110992

Chowdhury, M. H., & Cheung, R. C. (2019). Reconfigurable architecture for multi-lead ECG signal compression with high-frequency noise reduction. Scientific Reports, 9(1), 17233. https://doi.org/10.1038/s41598-019-53460-3

Deva, R., & Dagur, A. (2024). A Novel Computer-Aided Approach for Predicting COVID-19 Severity Using Hyperparameters in ResNet50v2 from X-ray Images. International Journal of Experimental Research and Review, 42, 120–132. https://doi.org/10.52756/ijerr.2024.v42.011

Ebrahimi, Z., Loni, M., Daneshtalab, M., & Gharehbaghi, A. (2020). A review on deep learning methods for ECG arrhythmia classification. Expert Systems with Applications: X, 7, 100033. https://doi.org/10.1016/j.eswax.2020.100033

Elamir, E. A. H. (2022). A Graphical Approach for Friedman Test: Moments Approach (No. arXiv: 2202.09131). arXiv. http://arxiv.org/abs/2202.09131

Emokpae, L. E., Emokpae, R. N., Lalouani, W., & Younis, M. (2021). Smart multimodal telehealth-IoT system for COVID-19 patients. IEEE Pervasive Computing, 20(2), 73–80.

Fersia, O., Bryant, S., Nicholson, R., McMeeken, K., Brown, C., Donaldson, B., Jardine, A., Grierson, V., Whalen, V., & Mackay, A. (2020). The impact of the COVID-19 pandemic on cardiology services. Open Heart, 7(2), e001359. https://doi.org/10.1136/openhrt-2020-001359

Goldberger, A. L., Amaral, L. A. N., Glass, L., Hausdorff, J. M., Ivanov, P. Ch., Mark, R. G., Mietus, J. E., Moody, G. B., Peng, C.-K., & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation, 101(23). https://doi.org/10.1161/01.CIR.101.23.e215

Güvenç, H. (2020). Wireless ECG device with Arduino. 2020 Medical Technologies Congress (TIPTEKNO), 1–4. https://ieeexplore.ieee.org/abstract/document/9299248/

Haloi, R., & Chanda, D. (2024). Performance Analysis of KNN, Naïve Bayes, and Extreme Learning Machine Techniques on EEG Signals for Detection of Parkinson’s Disease. International Journal of Experimental Research and Review, 43, 32–41. https://doi.org/10.52756/ijerr.2024.v43spl.003

Hua, J., Xu, Y., Tang, J., Liu, J., & Zhang, J. (2020). ECG heartbeat classification in compressive domain for wearable devices. Journal of Systems Architecture, 104, 101687. https://doi.org/10.1016/j.sysarc.2019.101687

Jain, P., Jain, G., Verma, G., Pauchauri, S., & Rawat, A. (2024). Design and Implementation of a Dual-Axis Solar Tracking System with IoT-Enhanced Monitoring Using Arduino. International Journal of Experimental Research and Review, 43, 107–118. https://doi.org/10.52756/ijerr.2024.v43spl.008

Jha, C. K., & Kolekar, M. H. (2021). Tunable Q-wavelet based ECG data compression with validation using cardiac arrhythmia patterns. Biomedical Signal Processing and Control, 66, 102464. https://doi.org/10.1016/j.bspc.2021.102464

Kim, S.H., & Jeong, E.-R. (2021). CNN Based Atrial Fibrillation Diagnosis with ECG Signals. NVEO-NATURAL VOLATILES & ESSENTIAL OILS Journal| NVEO, 1990–1999.

Kumar, N., Talwar, R., Tiwari, S., & Agarwal, P. (2024). Aspect based sentiment analysis of Twitter mobile phone reviews using LSTM and Convolutional Neural Network. International Journal of Experimental Research and Review, 43, 146–159. https://doi.org/10.52756/ijerr.2024.v43spl.011

Li, W., Chu, H., Huang, B., Huan, Y., Zheng, L., & Zou, Z. (2021). Enabling on-device classification of ECG with compressed learning for health IoT. Microelectronics Journal, 115, 105188. https://doi.org/10.1016/j.mejo.2021.105188

Limaye, H., & Deshmukh, V. V. (2016). ECG noise sources and various noise removal techniques: A survey. International Journal of Application or Innovation in Engineering & Management, 5(2), 86–92.

Liu, X., Wang, H., Li, Z., & Qin, L. (2021). Deep learning in ECG diagnosis: A review. Knowledge-Based Systems, 227, 107187. https://doi.org/10.1016/j.knosys.2021.107187

Madhual, S., Nayak, D., Dalei, S., Padhi, T., & Das, N. R. (2023). Assessment of cardiovascular risk factors in male androgenetic alopecia: A case control study in a tertiary care hospital of western Odisha. Int. J. Exp. Res. Rev., 36, 425-432. https://doi.org/10.52756/ijerr.2023.v36.037

Mahmud, H., Mohammadi, M., Ali, N., Omer, R. M. D., & Lu, J. (2020). Technologies in medical information processing. Advances in Telemedicine for Health Monitoring: Technologies, Design and Applications, pp. 31–54. https://doi.org/10.1049/pbhe023e_ch3

Nishiga, M., Wang, D. W., Han, Y., Lewis, D. B., & Wu, J. C. (2020). COVID-19 and cardiovascular disease: From basic mechanisms to clinical perspectives. Nature Reviews Cardiology, 17(9), 543–558. https://doi.org/10.1038/s41569-020-0413-9

Niu, J., Tang, Y., Sun, Z., & Zhang, W. (2019). Inter-patient ECG classification with symbolic representations and multi-perspective convolutional neural networks. IEEE Journal of Biomedical and Health Informatics, 24(5), 1321–1332. https://doi.org/10.1109/JBHI.2019.2942938

Nurmaini, S., Tondas, A. E., Darmawahyuni, A., Rachmatullah, M. N., Partan, R. U., Firdaus, F., Tutuko, B., Pratiwi, F., Juliano, A. H., & Khoirani, R. (2020). Robust detection of atrial fibrillation from short-term electrocardiogram using convolutional neural networks. Future Generation Computer Systems, 113, 304–317. https://doi.org/10.1016/j.future.2020.07.021

Pan, Q., Li, X., & Fang, L. (2020). Data Augmentation for Deep Learning-Based ECG Analysis. Springer Singapore, In C. Liu & J. Li (Eds.), Feature Engineering and Computational Intelligence in ECG Monitoring, pp. 91–111. https://doi.org/10.1007/978-981-15-3824-7_6

Pandey, S. K., & Janghel, R. R. (2019). ECG Arrhythmia Classification Using Artificial Neural Networks. In C. R. Krishna, M. Dutta, & R. Kumar (Eds.), Proceedings of 2nd International Conference on Communication, Computing and Networking, 46, 645–652. Springer Singapore. https://doi.org/10.1007/978-981-13-1217-5_63

Ranganathan, L., Rajasundaram, A., & Kumar, S. K. (2024). Demographic and Lifestyle Factors Influencing Cardiovascular Health Among Construction Workers: A Cross-Sectional Analysis. International Journal of Experimental Research and Review, 42, 312-319. https://doi.org/10.52756/ijerr.2024.v42.027

Rincon, J. A., Guerra-Ojeda, S., Carrascosa, C., & Julian, V. (2020). An IoT and fog computing-based monitoring system for cardiovascular patients with automatic ECG classification using deep neural networks. Sensors, 20(24), 7353. https://doi.org/10.3390/s20247353

S, B., Annamalai, M., Arjunan, P., C, K., & Ramanathan, K. (2024). Effectiveness of Capacity Building Programme on Competency of Electrocardiogram (ECG) Interpretation Among Critical Care Nurses. International Journal of Experimental Research and Review, 42, 60-67. https://doi.org/10.52756/ijerr.2024.v42.006

Shahidul Islam, M., Islam, M. T., Almutairi, A. F., Beng, G. K., Misran, N., & Amin, N. (2019). Monitoring of the human body signal through the Internet of Things (IoT) based LoRa wireless network system. Applied Sciences, 9(9), 1884. https://doi.org/10.3390/app9091884

Shaker, A. M., Tantawi, M., Shedeed, H. A., & Tolba, M. F. (2020). Generalization of convolutional neural networks for ECG classification using generative adversarial networks. IEEE Access, 8, 35592–35605. https://doi.org/10.1109/ACCESS.2020.2974712

Simanjuntak, J. E. S., Khodra, M. L., & Manullang, M. C. T. (2020). Design methods of detecting atrial fibrillation using the recurrent neural network algorithm on the Arduino AD8232 ECG module. Iop Conference Series: Earth and Environmental Science, 537(1), 012022. https://iopscience.iop.org/article/10.1088/1755-1315/537/1/012022/meta

Swarnalatha, K., Narisetty, N., Rao Kancherla, G., & Bobba, B. (2024). Analyzing Resampling Techniques for Addressing the Class Imbalance in NIDS using SVM with Random Forest Feature Selection. International Journal of Experimental Research and Review, 43, 42–55. https://doi.org/10.52756/ijerr.2024.v43spl.004

Swetha, R., & Ramakrishnan, S. (2021). K-Means clustering optimized fuzzy logic control algorithm for arrhythmia classification. 2021 International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), 1–7. https://ieeexplore.ieee.org/abstract/document/9392494/

Thomas, M., Das, M. K., & Ari, S. (2015). Automatic ECG arrhythmia classification using dual tree complex wavelet based features. AEU-International Journal of Electronics and Communications, 69(4), 715–721. https://doi.org/10.1016/j.aeue.2014.12.013

Tutuko, B., Nurmaini, S., Tondas, A. E., Rachmatullah, M. N., Darmawahyuni, A., Esafri, R., Firdaus, F., & Sapitri, A. I. (2021). AFibNet: An implementation of atrial fibrillation detection with convolutional neural network. BMC Medical Informatics and Decision Making, 21(1), 216. https://doi.org/10.1186/s12911-021-01571-1

Xiong, Z., Nash, M. P., Cheng, E., Fedorov, V. V., Stiles, M. K., & Zhao, J. (2018). ECG signal classification for the detection of cardiac arrhythmias using a convolutional recurrent neural network. Physiological Measurement, 39(9), 094006. https://doi.org/10.1088/1361-6579/aad9ed

Y?ld?r?m, Ö., P?awiak, P., Tan, R.-S., & Acharya, U. R. (2018). Arrhythmia detection using deep convolutional neural network with long duration ECG signals. Computers in Biology and Medicine, 102, 411–420. https://doi.org/10.1016/j.compbiomed.2018.09.009

Yoo, H., Han, S., & Chung, K. (2020). A frequency pattern mining model based on deep neural network for real-time classification of heart conditions. Healthcare, 8(3), 234. https://www.mdpi.com/2227-9032/8/3/234

Zhou, S., & Tan, B. (2020). Electrocardiogram soft computing using hybrid deep learning CNN-ELM. Applied Soft Computing, 86, 105778. https://doi.org/10.1016/j.asoc.2019.105778

Published

2024-11-30

How to Cite

Soni, E., Nagpal, A., & Bhutani, S. (2024). Automatic ECG Arrhythmia Recognition using ANN and CNN. International Journal of Experimental Research and Review, 45(Spl Vol), 01–14. https://doi.org/10.52756/ijerr.2024.v45spl.001