Ojs Admin,+393
Ojs Admin,+393
Email: [email protected]
Abstract
Real time monitoring with IOT is developed in the industry of health care , this can enable the doctors and specialist to
diagnosis the patient status in quick, smart and efficient methods. Although, there is a lot of research and studies are
designed methods for observing the ECG signal remotely, there are no proposed methods for classifying these signals
with monitoring, and therefore , to design complete health care system, classification techniques should be used to
classify the extracted signal. In this paper , We have proposed ECG monitoring and classification system. The proposed
system is extracted ECG signal based on AD8232 sensor with the ardunino nodeMcu, analog to digital converter and its
communication is used to convert the signal to more precision , then the extracted signal is transmitted to cloud to be
used at anywhere by using cloud, the signal is pre-processed to remove the noise and QRS complex is detected to
determine the other characteristics of the signal such as heart rate, also to determine one cycle of ECG signal, later the
signal is classified by using proposed convolution neural network model to detect the signal status. The extracted ECG
signal is transmitted in real time to cloud (Ubidots cloud is used) through ESP8266 over to the cloud using WiFi based on
MQTT publishing method. The experimental results are performed on different signals and the different stage of de-
noising and QRS detection are applied and different pooling layers are used in the proposed CNN model. The results
show that the proposed classification model is achieved accuracy (94.94%) with ( 94.56%), (94.56% ) and ( 5.06) for
sensitivity, specificity and error rate (ERR) respectively.
95
Aqeel M.Hamad alhussainy(1), Ammar D. Jasim (2) Remote ECG signal monitoring and classification based
on Arduino with AD8232 sensor
to classification system. We are used Nodemcu esp8266 Arduino , then de-noising processing is used to remove the
microcontroller, which is used MQTT connection in noise from the signal based on enhancement . Latter, QRS
Webserver(Ubidots cloud), then the data is transmitted complex detection is used to detect peak of the signal
according to the programmed Wi-Fi and specified finally CNN model is designed to be used for ECG
allocated IP address [5,6]. classification.
96
Aqeel M.Hamad alhussainy(1), Ammar D. Jasim (2) Remote ECG signal monitoring and classification based
on Arduino with AD8232 sensor
-A- -B-
Figure (3) AD8232 ECG sensor device. A- components . B-pin diagram .
98
Aqeel M.Hamad alhussainy(1), Ammar D. Jasim (2) Remote ECG signal monitoring and classification based
on Arduino with AD8232 sensor
Figure (10) screen shoot for real time publishing of ECG data to
Ubidots cloud.
99
Aqeel M.Hamad alhussainy(1), Ammar D. Jasim (2) Remote ECG signal monitoring and classification based
on Arduino with AD8232 sensor
5. Conclusions
Internet of thing can be used in medical field to
monitor, control and classify the status of patient remotely,
so different research and methodology are developed to
introduced a new application in health area. In this paper,
We have proposed anew ECG monitoring , controlling and
classification system based on deep learning convolution
Figure (17) fragment of original signal . neural network (CNN), because ECG signal is very
significant measure to diagnosis the problem of human
heart, which can be used to diagnosis the cardio disease .
The proposed ECG signal is extracted the ECG signal
based on AD8232 sensor with ADS1115 analog to digital
converter, which is connected to arduino NodMcu , and
its communication and implementation are programmed
by using arduino IDE terminal ,because the extracted
signal have some types of noise, de-noising and
enhancement algorithms are applied to improve the quality
of the signal based on wavelet transform with adaptive
Figure (18) fragment after resolution (up sampling) . threshold. Then QRS complex detection is performed to
determine one cycle of ECG to be used as input to
classification stage , then classification is performed by
using the proposed CNN model, which is used convolution
layer with different pooling layer to extract the features of
the convolution . The extracted ECG signal is transmitted
in real time to cloud ( We have used Ubidots cloud)
through ESP8266 over to the cloud using WiFi based on
MQTT publishing method. The experimental results are
performed on different signals and the different stage of
de-noising and QRS detection are applied with good
Figure (19) Normalized signal .
results and different pooling layers are used in the
100
Aqeel M.Hamad alhussainy(1), Ammar D. Jasim (2) Remote ECG signal monitoring and classification based
on Arduino with AD8232 sensor
proposed CNN model. The results show that best results 13. Aqeel M. Hamad alhussainy, Ammar D. Jasim , “A novel pooling
for classification is satisfied with HGT pooling method , layer based on gaussian function with wavelet transform “,Vol. 20,
which is achieved accuracy (94.94%) verses (93.97%) for No. 3, pp. 1289~1298, 2020.
GWT method, also it is achieved ( 94.56%), (94.56% ) and
14. Aqeel M. Hamad Alhussainy and Ammar D. Jasim,”A New
( 5.06) for sensitivity specificity and error rate (ERR) Pooling Layer based on Wavelet Transform for Convolutional
respectively. Neural Network” , Jour of Adv Research in Dynamical & Control
Systems, Vol. 12, No. 4, 2020.
References
15. Aqeel M. Hamad Alhussainy, Ammar D. Jasim, “Half Gaussian-
1. Mrs.G.Mohana Prabha, Autamatic,” health monitoring system based wavelet transform for pooling layer for convolution neural
using Raspberry PI”, international journal of pure and applied network”,Vol.19, No.1,2020.
mathematics , Vol. 118, No. 8, 2018. .
2. Gauravi. A. Yadav and Shailaja.S., “Rasberry Pi based ECG data 16. F. Saeedan, et al., "Detail-preserving pooling in deep networks,"
acquisition system “,international journal of advance research in 2018 IEEE/CVF Conference on Computer Vision and Pattern
engineering and technology.vol.6,No. 4, 2017. Recognition, Salt Lake City, UT, pp. 9108-9116, 2018.
3. J.Gao ,D.Teng and E.Ertin, “ECG feature detection using randomly 17. C.-Y. Lee, P. W. Gallagher, and Z. Tu., "Generalizing pooling
compressed samples for stableHRV analysis over low rate links”, functions in convolutional neural networks: Mixed, gated, and
13th international conference on wearable and implantable body tree," In AISTATS, vol. 51, pp. 464-472, 2016.
sensor network, pp.165:170,2016.
4. Aqeel M. H. Alhussainy, “QRS complex detection and R–R 18. Valliappan CA, Advait Balaji, Sai Ruthvik Thandayam, Piyush
interval computation based on discrete wavelet transform”, Dhingra, and Veeky Baths, “A Portable Real Time ECG Device for
international journal on smart sensing and intelligent systems , Vol. Arrhythmia Detection Using Raspberry Pi “,Conference: Wireless
13, No,1, (2020) Mobile Communication and Healthcare,Volume:2016 ,Milan, Italy,
pp 177-184,2016
5. Rashima M. and Dipla B, “Identification of heart beat abnormality
using heart rate and power spectral analysis of ECG”, international 19. Shamika Jog , Prajakta Ghodake , Darshana Jagta pand
conference on soft computing techniques and implementations, Deepgandha Shete,” Patient Health Monitoring and Controlling
pp.131:135,2015. System using Internet of Things “, international journal of advanced
research in computer and communication engineering , Vol. 6,
6. Shamika Jog , Prajakta Ghodake , Darshana Jagta pand No.5, May 2017 .
Deepgandha Shete,” Patient Health Monitoring and Controlling 20. Deiaa Eida, Amr Y., and Ali E., “ECG signal transmissions
System using Internet of Things “, international journal of advanced performance over wearable wireless sensor networks “,
research in computer and communication engineering , Vol. 6, International Conference on Communication, Management and
No.5, May 2017 . Information Technology (ICCMIT 2015) Procedia Computer
Science 65 ( 2015 ) 412 – 421.
7. Warish D. , Chirag P.and Carlos V., “ IoMT based Efficient Vital 21. Mohammed almoahamdy and Bryan riley,”Performance study of
Signs Monitoring System for Elderly Healthcare Using Neural different denoising methods foe ECG signals”,procedia computer
Network”, International Journal of Research , Vol.7, No.1, 2019. science 37,Elsevier,325-332,2014.
https://doi.org/10.1016/j.procs.2014.08.048.
8. Jasti Sowmya Sree, Mohammed Ali Hussain , ” An efficient body
Line health monitoring system with alerts triggered through 22. Aqeel M.Hamad alhussainy and Ammar D. Jasim, “ECG signal de-
predictive data analytics”, International journal of innovative noising based on deep learning auto encoder and discrete wavelet
technology and exploring engineering , Vol.8 , No.6, 2019. transform”, International Journal of Engineering & Technology,
Vol.9 , No.(2) ,pp :415-423, ,2020.
9. Surekha N., Yamuna N. , Akhil K. and Naveen K. ,” Patiant
monitoring system using IOT “,International Journal of Innovative
Research in Advanced Engineering, Vol. 5, No.5, 2018. 23. George B. et al, " The Impact of the MIT-BIH Arrhythmia
Database", IEEE engineering in medicine and bilology, ,2001.
10. Rohit Kumar et.al , ” Patient’s Health Monitoring System using
Internet of Things (Iot) “, international journal of engineering 24. Goldberger, A., et al. "PhysioBank, PhysioToolkit, and PhysioNet:
trends and technology , Vol.59 , No.3 2018. Components of a new research resource for complex physiologic
signals. Circulation [Online]. Vol.101 , No.23, pp. e215–e220."
11. K. Seena Naik and E. Sudarshan,” smart health care monitoring ,2000.
system using raspberry pi on IOT platform, journal of engineering
and applied sciences, Vol. 14, No. 4, 2019
101