Home A portable household detection system based on the combination of bidirectional LSTM and residual block for automatical arrhythmia detection
Article
Licensed
Unlicensed Requires Authentication

A portable household detection system based on the combination of bidirectional LSTM and residual block for automatical arrhythmia detection

  • Zeqiong Huang , Shaohua Yang , Qinhong Zou , Xuliang Gao and Bin Chen EMAIL logo
Published/Copyright: September 29, 2023

Abstract

Objectives

Arrhythmia is an important component of cardiovascular disease, and electrocardiogram (ECG) is a method to detect arrhythmia. Arrhythmia detection is often paroxysmal, and ECG signal analysis is time-consuming and expensive. We propose a model and device for convenient monitoring of arrhythmia at any time.

Methods

This work proposes a model combining residual block and bidirectional long-term short-term memory network (BiLSTM) to detect and classify ECG signals. Residual blocks can extract deep features and avoid performance degradation caused by convolutional networks. Combined with the feature of BiLSTM to strengthen the connection relationship of the local window, it can achieve a better classification and prediction effect.

Results

Model optimization experiments were performed on the MIT-BIH Atrial Fibrillation Database (AFDB) and MIT-BIH Arrhythmia Database (MITDB). The accuracy simulation results on both long and short signal was higher than 99 %. To further demonstrate the applicability of the model, validation experiments were conducted on MIT-BIH Normal Sinus Rhythm Database (NSRDB) and the Long-Term AF Database (LTAFDB) datasets, and the related recognition accuracy were 99.830 and 91.252 %, respectively. Additionally, we proposed a portable household detection system including an ECG and a blood pressure detection module. The detection accuracy was higher than 98 % using the collected data as testing set.

Conclusions

Hence, we thought our system can be used for practical application.


Corresponding author: Bin Chen, Chongqing Key Laboratory of Non-linear Circuit and Intelligent Information Processing, College of Electronic and Information Engineering, Southwest University, Chongqing 400715, China, E-mail:

Funding source: National Nature Science Foundation of China

Award Identifier / Grant number: 61801400

Funding source: JSPS KAKENHI

Award Identifier / Grant number: JP18F18392

Acknowledgments

We thank the PhysioNet repository and the donators for sharing the datasets.

  1. Research ethics: Not applicable.

  2. Informed consent: Informed consent was obtained from all individuals included in this study.

  3. Author contributions: All authors have accepted responsibility for the entire content of this manuscript and approved its submission. Zeqiong Huang: methodology, software, validation, writing original draft. Shaohua Yang: software. Qinhong Zou: investigation. Xuliang Gao: validation. Bin Chen: conceptualization, supervision.

  4. Competing interests: The authors state no conflict of interest.

  5. Research funding: This study was supported by the National Nature Science Foundation of China [No. 61801400] and JSPS KAKENHI [No. JP18F18392].

  6. Data availability: The raw data can be obtained on request from the corresponding author.

References

1. United Nations, World population prospects: the 2017 revision: key findings and advance tables, 2017.Search in Google Scholar

2. WHO; 2016. https://www.who.int/cardiovascular_diseases/en/ [Accessed 25 Jan 2019].Search in Google Scholar

3. World Health Organization. Cardiovascular diseases (CVDs). http://www.who.int/mediacentre/factsheets/fs317/en/, 2017.Search in Google Scholar

4. Hossain, MB, Bashar, SK, Lazaro, J. A Robust ECG denoising technique using variable frequency complex demodulation. Comput Meth Prog Bio 2020;200:105856. https://doi.org/10.1016/j.cmpb.2020.105856.Search in Google Scholar PubMed PubMed Central

5. Kumar, A, Tomar, H, Mehla, VK. Stationary wavelet transform based ECG signal denoising method. ISA Trans 2020;114:S0019057820305486.10.1016/j.isatra.2020.12.029Search in Google Scholar PubMed

6. Yazid, M, Rahman, MA. Variable step dynamic threshold local binary pattern for classification of atrial fibrillation. Artif Intell Med 2020;108:101932. https://doi.org/10.1016/j.artmed.2020.101932.Search in Google Scholar PubMed

7. He, H, Tan, Y, Xing, J. Unsupervised classification of 12-lead ECG signals using wavelet tensor decomposition and two-dimensional Gaussian spectral clustering. Knowl-Based Syst 2019;163:392–403. https://doi.org/10.1016/j.knosys.2018.09.001.Search in Google Scholar

8. Yanık, H, Değirmenci, E, Büyükakıllı, B, Karpuz, D, Kılınç, OH, Gürgül, S. Electrocardiography (ECG) analysis and a new feature extraction method using wavelet transform with scalogram analysis. Biomed Eng-Biomed Tech 2020;65:543–56. https://doi.org/10.1515/bmt-2019-0147.Search in Google Scholar PubMed

9. Banerjee, S, Singh, GK. A new approach of ECG steganography and prediction using deep learning. Biomed Signal Proces 2021;64:102151. https://doi.org/10.1016/j.bspc.2020.102151.Search in Google Scholar

10. Liu, W, Wang, F, Huang, Q, Chang, S, Wang, H, He, J. MFB-CBRNN: a hybrid network for MI detection using 12-lead ECGs. IEEE J Biomed Health 2020;24:503–14. https://doi.org/10.1109/jbhi.2019.2910082.Search in Google Scholar PubMed

11. Yang, W, Si, Y, Wang, D, Zhang, G, Liu, X, Li, L. Automated intra-patient and inter-patient coronary artery disease and congestive heart failure detection using EFAP-Net. Knowl-Based Syst 2020;201–202:106083. https://doi.org/10.1016/j.knosys.2020.106083.Search in Google Scholar

12. Wu, X, Zheng, Y, Chu, C-H, He, Z. Extracting deep features from short ECG signals for early atrial fibrillation detection. Artif Intell Med 2020;109:101896. https://doi.org/10.1016/j.artmed.2020.101896.Search in Google Scholar PubMed

13. Assadi, I, Charef, A, Bensouici, T. PVC arrhythmia classification based on fractional order system modeling. Biomed Eng-Biomed Tech 2021;66:363–73. https://doi.org/10.1515/bmt-2020-0170.Search in Google Scholar PubMed

14. Nurmaini, S, Tondas, AE, Darmawahyuni, A. Electrocardiogram signal classification for automated delineation using bidirectional long short-term memory. Inform Med Unlocked 2021;22:100507. https://doi.org/10.1016/j.imu.2020.100507.Search in Google Scholar

15. Wang, G, Zhang, C, Liu, Y. A global and updatable ECG beat classification system based on recurrent neural networks and active learning. Inf Sci 2019;501:523–42. https://doi.org/10.1016/j.ins.2018.06.062.Search in Google Scholar

16. Mousavi, S, Afghah, F, Acharya, UR. HAN-ECG: an interpretable atrial fibrillation detection model using hierarchical attention networks. Comput Biol Med 2020;127:104057. https://doi.org/10.1016/j.compbiomed.2020.104057.Search in Google Scholar PubMed PubMed Central

17. Acharya, UR, Fujita, H, Lih, OS, Hagiwara, Y, Tan, JH, Adam, M. Automated detection of arrhythmias using different intervals of tachycardia ECG segments with convolutional neural network. Inf Sci 2017;405:81–90. https://doi.org/10.1016/j.ins.2017.04.012.Search in Google Scholar

18. Acharya, UR, Fujita, H, Oh, SL, Hagiwara, Y, Tan, JH, Adam, M. Application of deep convolutional neural network for automated detection of myocardial infarction using ECG signals. Inf Sci 2017;415–416:190–8. https://doi.org/10.1016/j.ins.2017.06.027.Search in Google Scholar

19. Fujita, H, Cimr, D. Computer Aided detection for fibrillations and flutters using deep convolutional neural network. Inf Sci 2019;486:231–9. https://doi.org/10.1016/j.ins.2019.02.065.Search in Google Scholar

20. Ganapathy, N, Swaminathan, R, Deserno, TM. Adaptive learning and cross training improves R-wave detection in ECG. Comput Meth Prog Bio 2021;200:105931. https://doi.org/10.1016/j.cmpb.2021.105931.Search in Google Scholar PubMed

21. Han, C, Shi, L. ML–ResNet: a novel network to detect and locate myocardial infarction using 12 leads ECG. Comput Meth Prog Bio 2020;185:105138. https://doi.org/10.1016/j.cmpb.2019.105138.Search in Google Scholar PubMed

22. Jin, Y, Qin, C, Liu, J. A novel domain adaptive residual network for automatic atrial fibrillation detection. Knowl-Based Syst 2020;203:106122. https://doi.org/10.1016/j.knosys.2020.106122.Search in Google Scholar

23. Wang, J. Automated detection of atrial fibrillation and atrial flutter in ECG signals based on convolutional and improved Elman neural network. Knowl-Based Syst 2020;193:105446. https://doi.org/10.1016/j.knosys.2019.105446.Search in Google Scholar

24. Shi, H, Qin, C, Xiao, D, Zhao, L, Liu, C. Automated heartbeat classification based on deep neural network with multiple input layers. Knowl-Based Syst 2020;188:105036. https://doi.org/10.1016/j.knosys.2019.105036.Search in Google Scholar

25. Peimankar, A, Puthusserypady, S. DENS-ECG: a deep learning approach for ECG signal delineation. Expert Syst Appl 2021;165:113911. https://doi.org/10.1016/j.eswa.2020.113911.Search in Google Scholar

26. Lih, OS, Jahmunah, V, San, TR. Comprehensive electrocardiographic diagnosis based on deep learning. Artif Intell Med 2020;103:101789. https://doi.org/10.1016/j.artmed.2019.101789.Search in Google Scholar PubMed

27. Du, N, Cao, Q, Yu, L. FM-ECG: a fine-grained multi-label framework for ECG image classification. Inf Sci 2021;549:164–77. https://doi.org/10.1016/j.ins.2020.10.014.Search in Google Scholar

28. Liu, H, Zhao, Z, Chen, X, Yu, R, She, Q. Using the VQ-VAE to improve the recognition of abnormalities in short-duration 12-lead electrocardiogram records. Comput Meth Prog Bio 2020;196:105639. https://doi.org/10.1016/j.cmpb.2020.105639.Search in Google Scholar PubMed

29. Eltrass, AS, Tayel, MB, Ammar, AI. A new automated CNN deep learning approach for identification of ECG congestive heart failure and arrhythmia using constant-Q non-stationary Gabor transform. Biomed Signal Proces 2021;65:102326. https://doi.org/10.1016/j.bspc.2020.102326.Search in Google Scholar

30. Mathunjwa, BM, Lin, Y-T, Lin, C-H, Abbod, MF, Shieh, J-S. ECG arrhythmia classification by using a recurrence plot and convolutional neural network. Biomed Signal Proces 2021;64:102262. https://doi.org/10.1016/j.bspc.2020.102262.Search in Google Scholar

31. Goldberger, AL, Amaral, LAN, Glass, L. PhysioBank, PhysioToolkit, and PhysioNet. Circulation 2000;101:e215–20. https://doi.org/10.1161/01.cir.101.23.e215.Search in Google Scholar PubMed

32. He, R, Wang, K, Zhao, N. Automatic detection of atrial fibrillation based on continuous wavelet transform and 2D convolutional neural networks. Front Physiol 2018;9:1206. https://doi.org/10.3389/fphys.2018.01206.Search in Google Scholar PubMed PubMed Central

33. Aung, SK, Zaw, MN. Quantitative investigation of digital filters in Electrocardiogram with simulated noises. Int J Inf Electron Eng 2011;1:210–16.Search in Google Scholar

34. Wang, J, Ye, Y, Pan, X, Gao, X. Parallel-type fractional zero-phase filtering for ECG signal denoising. Biomed Signal Proces 2015;18:36–41. https://doi.org/10.1016/j.bspc.2014.10.012.Search in Google Scholar

35. Berwal, DCRV, Dewan, SCVJ, Baghini, MS. Motion artifact removal in ambulatory ECG signal for heart rate variability analysis. IEEE Sensor J 2019;19:12432–42. https://doi.org/10.1109/jsen.2019.2939391.Search in Google Scholar

36. Berkaya, SK, Uysal, AK, Gunal, ES, Ergin, S, Gunal, S, Gulmezoglu, MB. A survey on ECG analysis. Biomed Signal Proces 2018;43:216–35. https://doi.org/10.1016/j.bspc.2018.03.003.Search in Google Scholar

37. Sahambi, JS, Tandon, SN, Bhatt, R. Quantitative analysis of errors due to power-line interference and base-line drift in detection of onsets and offsets in ECG using wavelets. Med Biol Eng Comput 1997;35:747–51. https://doi.org/10.1007/bf02510988.Search in Google Scholar

38. Kumar, A, Komaragiri, R, Kumar, M. Heart rate monitoring and therapeutic devices: a wavelet transform based approach for the modeling and classification of congestive heart failure. ISA Trans 2018;79:239–50. https://doi.org/10.1016/j.isatra.2018.05.003.Search in Google Scholar PubMed

39. Berwal, D, Kumar, A, Kumar, Y. Design of high performance QRS complex detector for wearable healthcare devices using biorthogonal spline wavelet transform. ISA Trans 2018;81:222–30. https://doi.org/10.1016/j.isatra.2018.08.002.Search in Google Scholar PubMed

40. Donoho, DL, Johnstone, IM. Ideal spatial adaptation by wavelet shrinkage. Biometrika 1994;81:425–55. https://doi.org/10.1093/biomet/81.3.425.Search in Google Scholar

41. Fukushima, K. Neocognitron: a self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in position. Biol Cybern 1980;36:193–202. https://doi.org/10.1007/bf00344251.Search in Google Scholar PubMed

42. Li, X, Ding, L, Wang, L, Cao, F. FPGA accelerates deep residual learning for image recognition. In: Information Technology, Networking, Electronic and Automation Control Conference (ITNEC). Chengdu, China; 2017.10.1109/ITNEC.2017.8284852Search in Google Scholar

43. Hochreiter, S, Schmidhuber, J. Long short-term memory. Neural Comput 1997;9:1735–80. https://doi.org/10.1162/neco.1997.9.8.1735.Search in Google Scholar PubMed

44. Darmawahyuni, A, Nurmaini, S, Caesarendra, W, Bhayyu, V, Rachmatullah, MN, et al.. Deep learning with a recurrent network structure in the sequence modeling of imbalanced data for ECG-rhythm classifier. Algorithms 2019;12:1–12.10.3390/a12060118Search in Google Scholar

45. Ai, Z, Zheng, L, Qi, H, Cui, W. Low-power wireless wearable ECG monitoring system based on BMD101. In: The 37th Chinese Control Conference (CCC2018). Wuhan, China; 2018.10.23919/ChiCC.2018.8484125Search in Google Scholar

46. Sangeethalakshmi, K, Preethi, AS, Preethi, U, Pavithra, S, Shanmuga, PV. Patient health monitoring system using IoT. Mater Today Proc 2021;80:2228–31.Search in Google Scholar

47. Henzel, N, Wróbel, J, Horoba, K. Atrial fibrillation episodes detection based on classification of heart rate derived features. In: 2017 MIXDES – 24th International Conference “Mixed Design of Integrated Circuits and Systems (MIXDES)”. Bydgoszcz, Poland; 2017.10.23919/MIXDES.2017.8005278Search in Google Scholar

48. Acharya, UR, Fujita, H, Lih, OS, Hagiwara, Y, Tan, JH, Adam, M. Automated detection of arrhythmias using different intervals of tachycardia ECG segments with convolutional neural network. Inf Sci 2017;405:81–90. https://doi.org/10.1016/j.ins.2017.04.012.Search in Google Scholar

49. Kumar, M, Pachori, RB, Acharya, UR. Automated diagnosis of atrial fibrillation ECG signals using entropy features extracted from flexible analytic wavelet transform. Biocybern Biomed Eng 2018;38:564–73. https://doi.org/10.1016/j.bbe.2018.04.004.Search in Google Scholar

50. Faust, O, Shenfield, A, Kareem, M, San, TR, Fujita, H, Acharya, UR. Automated detection of atrial fibrillation using long short-term memory network with RR interval signals. Comput Biol Med 2018;102:327–35. https://doi.org/10.1016/j.compbiomed.2018.07.001.Search in Google Scholar PubMed

51. Andersen, RS, Peimankar, A, Puthusserypady, S. A deep learning approach for real-time detection of atrial fibrillation. Expert Syst Appl 2019;115:465–73. https://doi.org/10.1016/j.eswa.2018.08.011.Search in Google Scholar

52. Petmezas, G, Haris, K, Stefanopoulos, L. Automated atrial fibrillation detection using a hybrid CNN-LSTM network on imbalanced ECG datasets. Biomed Signal Proces 2021;63:102194. https://doi.org/10.1016/j.bspc.2020.102194.Search in Google Scholar


Supplementary Material

This article contains supplementary material (https://doi.org/10.1515/bmt-2021-0146).


Received: 2021-05-12
Accepted: 2023-09-11
Published Online: 2023-09-29
Published in Print: 2024-04-25

© 2023 Walter de Gruyter GmbH, Berlin/Boston

Downloaded on 27.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/bmt-2021-0146/html?lang=en
Scroll to top button