Abstract
One of the most promising applications of Internet of things (IoT) is to interconnect the available medical resources and offer smart, reliable, and effective healthcare service, to meet the demands of growing population and increasing medical expenses. In remote places where people do not have easy and fast access to healthcare facilities, IoT enabled system can easily cater to such issues. IoT-based remote healthcare service allows patients to take quality medical advice from any corner of the world. Electrocardiogram (ECG) is a common diagnostic tool used to detect heart problems. This paper presents an IoT-based real-time ECG monitoring system design for remote patients. AD8232 sensor is used to acquire ECG signal which is interfaced with notch filter, for removal of power-line frequencies and is then sent to Arduino Uno for further processing. This signal is further processed in MATLAB platform, for removal of baseline wander and then uploaded to the cloud, which is then accessed via an external web page.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Within the period between 1990 and 2016, the death rate due to cardiovascular diseases (CVD) in India increased by almost 34% [1]. In 2016, there was an estimated 62.5 million premature loss of life due to CVD in India. Regular visits to a doctor’s chamber are a challenge for the elderly people. Also, in rural areas, there is acute shortage of health providers and infrastructure. India has 1 million doctors of modern medicine to treat its 1.3 billion population. Just 1.1 lakh out of them work in the public health sector, to whom India’s 900 million rural population turns for treatment [2].
The modern technology, IoT, used in health monitoring of a patient wirelessly is a major development in medical arena. Electrocardiogram (ECG) is a diagnostic tool, used to monitor the electrical activity of our heart. For detection of heart diseases remotely, we used IoT in ECG monitoring system. A person can regularly monitor their health using this system. Doctor, sitting at any part of the world, can check the monitored data and accordingly can provide quick services and necessary instructions to the patient. Hence, the time spend by people in travelling to hospitals and waiting in long queues at hospitals can be saved.
Mishra and Chakraborty proposed a smart healthcare application using IoT system based on AD8232 sensor interfaced with Arduino Uno and further connected to cloud using Esp8266 Wi-Fi module [3]. Singh and Jasuja proposed an IoT-based remote ECG monitoring system, where the ECG signal is collected by AD8232 sensor [4]. After the required processing by Arduino Uno and Raspberry Pi 2, the data is sent to the cloud IBM Bluemix for further analysis. Deshpande and Kulkarni proposed an implementation of ECG monitoring system based on Cypress Wireless Internet Connectivity for Embedded Devices (WICED) in IoT platform [5].
Our proposed IoT-based ECG monitoring system consists of the AD8232 ECG sensor module to capture the ECG signal from the body. This signal is first filtered by our designed notch filter for removal of power-line frequencies and then processed by the Arduino Uno. The measured real-time ECG data is displayed on both Arduino’s serial monitor and serial plotter. This signal is further filtered by Symlet wavelet transform in MATLAB environment for removal of baseline wander and uploaded to the cloud server via Wi-Fi. The data stored in the cloud can be then accessed from our designed external Website, for remote access. The main novelty of the system lies in the hardware design of notch filter and the use of Webhostapp Internet hosting service to create our own cloud server in healthcare application.
2 Methodology
Figure 1 shows the block representation of the proposed IoT-based ECG monitoring system. It consists of a sensing unit, a processing unit, and an ECG monitoring unit.
The sensing unit consists of the AD8232 sensor module [6]. It is an integrated signal conditioning block for ECG and other bio-potential measurement applications. The processing unit consists of
Hardware Component. Arduino Uno [7].
Software Component. MATLAB environment [8].
The patients can self-monitor their ECG image and communicate to a remote doctor via IoT platform.
The experimental set-up of our IoT-based real-time remote ECG monitoring system and the placement of the ECG electrodes on the body are shown in Fig. 2a, b, respectively.
The Arduino UNO is connected to the PC via an USB cable, and the power supply is switched on. When the red LED of the AD8232 ECG sensor module turns on, our system is in operation.
The noise (50 Hz frequency) from electric power system is a major source of noise during the recording of ECG. ECG signal has frequency range from 0.5 to 80 Hz, and power-line frequency of 50 Hz lies within that signal. This corrupts the ECG readings which affect the diagnosis of diseases. Hence, a notch filter is designed to eliminate the power-line frequencies [9, 10] as shown in Fig. 3.
The Arduino Uno receives powerline interference free signal, and processed ECG voltage is displayed on serial monitor at every instant of time. The real-time ECG signal, measured directly from the volunteer, is visible on Arduino serial plotter during the run-time [11].
The CoolTerm application [12], a freeware serial terminal software, is used to save the discrete data that appeared on the serial monitor of Arduino Uno in a text file, titled as “ecg.txt”. This “ecg.txt” file (containing ECG data) is used in MATLAB environment for further filtering to remove baseline wander (BLW) which is a major noise source in ECG signal. BLW is a low frequency noise (0.05–3 Hz), characterized by the varying electrical isoline of the ECG signal, arising mainly due to movement during breathing, patient movements, poor contact between electrode cables and ECG recording equipment, inadequate skin preparation where the electrode is placed, and dirty electrodes. BLW severely limits the usefulness of ECG records. Hence, the elimination of this kind of noise is necessary for a better clinical evaluation.
Symlet, a type of discrete wavelet transform (DWT), is used to remove BLW from ECG signal [13] as Symlet wavelets nearly resemble the ECG wave [14]. Figure 4a shows a Symlet6 wavelet, where 6 represent the order, while Fig. 4b shows a typical ECG signal. Figure 5a, b shows the BLW removal algorithm developed in MATLAB R2015a platform and the algorithm for uploading the ECG data to the cloud server, respectively.
After removing BLW, the ECG signal is uploaded to the cloud server. Webhostapp [15], a free Internet hosting service, is thus used to create our cloud server https://rpe-iot-ecg.000webhostapp.com. The image file containing the ECG signal of a person is sent to this cloud server. We can observe the ECG signal on this Website, and the signal can be accessed by the respective doctor, in any part of the world.
3 Result and Discussion
An ECG signal (1 out of 50 data samples) obtained from the sensor directly has a lot of noise (Fig. 6a), and our designed notch filter eliminates such noises (Fig. 6b). Figure 7a, b show, respectively, the ECG signal obtained after BLW removal in MATLAB environment and the signal observed from the remote end on our developed Website https://iotlabecg.000webhostapp.com. Both the uploading site (https://rpe-iot-ecg.000webhostapp.com) and the display site (https://iotlabecg.000webhostapp.com) for the ECG data can be viewed by entering the required address in the address bar.
4 Conclusion
Our system is able to provide 24/7 ECG monitoring of patients, and hence, this will reduce the unnecessary hospital visits and transportation cost and consequently result in a reduction in treatment cost. Any patient can take medical advice from any corner of the world because physicians and patient are connected globally via Internet. The MBBS doctor to patient ratio in India is far below the WHO recognized standard till date. Under this circumstance, the proposed system will reduce the huge burden of patients at hospitals. Our system has further scope of improvement by including more physiological parameter measurement sensors like heart rate, SpO2, blood pressure, etc. These uploaded ECG data can be used to create a database for further research and analysis.
References
Dey, S.: Heart disease deaths rise in India by 34% in 26 years. The Times of India. https://timesofindia.indiatimes.com/india/heart-disease-deaths-rise-in-india-by-34-in-15-years/articleshow/64924601.cms
Sharma, S.: India’s public health system in crisis: too many patients, not enough doctors. Hindustan Times. https://www.hindustantimes.com/india-news/public-health-system-in-crisis-too-many-patients-not-enough-doctors/story-39XAtFSWGfO0e4qRKcd8fO.html
Mishra, A., Chakraborty, B.: AD8232 based smart healthcare system using internet of things (IoT). Int. J. Eng. Res. Technol. (IJERT) 7(4), 13–16 (2018)
Singh, P., Jasuja, A.: IoT based low-cost distant patient ECG monitoring system. In: International Conference on Computing, Communication and Automation, pp. 1330–1334 (2017)
Deshpande, U.U., Kulkarni, M.A.: IoT based real time ECG monitoring system using Cypress WICED. Int. J. Adv. Res. Electr. Electron. Instrum. Eng. 6(2), 710–720 (2017)
Single-Lead, Heart Rate Monitor Front End Data Sheet AD8232. Analog Devices. https://www.analog.com/media/en/technical-documentation/data-sheets/AD8232.pdf
Arduino Uno. https://www.farnell.com/datasheets/1682209.pdf
MATLAB-Wikipedia. https://en.wikipedia.org/wiki/MATLAB
Band Stop Filters are Called Reject Filters. Electronics Tutorials. https://www.electronics-tutorials.ws/filter/band-stop-filter.html
Pavani, P., Adithya, N.V.R., Krishna, K.H., Kumar, M.V.S.: Removal of power line interference in ECG signal by adaptive LMS, NLMS and RLS algorithms. Int. J. Adv. Res. Comput. Commun. Eng. 6(4), 800–806 (2017)
Verma, S.: Arduino Based ECG & Heartbeat Monitoring Healthcare System. Instructables. https://www.instructables.com/id/ECG-Monitoring-System-by-Using-Arduino-or-AD8232/
Visualize Data From Sensors Using Arduino + Coolterm. Instructables. https://www.instructables.com/id/Visualize-data-from-sensors-using-Arduino-coolte/
Ara, I., Hossain, Md.N., Mahbub, S.M.Y.: Baseline drift removal and de-noising of the ECG signal using wavelet transform. Int. J. Comput. Appl. 95(16), 15–17 (2014)
Yadav, T., Mehra, R.: Denoising ECG signal using Daubechies and Symlet wavelet transform techniques. Int. J. Adv. Res. Comput. Commun. Eng. 5(9), 438–443 (2016)
Webhostapp. https://in.000webhost.com/
Acknowledgements
The authors would like to thank UGC UPE II, “Modern Biology Group B: Signal Processing Group”, University of Calcutta for providing research facilitiesand SMDP-C2SD, University of Calcutta,funded by MeitY, Govt. of India for technical support.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Basu, S., Sengupta, A., Das, A., Ghosh, M., Barman (Mandal), S. (2021). IoT-Based Real-Time Remote ECG Monitoring System. In: Das, N.R., Sarkar, S. (eds) Computers and Devices for Communication. CODEC 2019. Lecture Notes in Networks and Systems, vol 147. Springer, Singapore. https://doi.org/10.1007/978-981-15-8366-7_4
Download citation
DOI: https://doi.org/10.1007/978-981-15-8366-7_4
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-8365-0
Online ISBN: 978-981-15-8366-7
eBook Packages: EngineeringEngineering (R0)