Low-Cost Electrocardiogram Monitoring System For Elderly People Using LabVIEW
Low-Cost Electrocardiogram Monitoring System For Elderly People Using LabVIEW
Low-Cost Electrocardiogram Monitoring System For Elderly People Using LabVIEW
Corresponding Author:
Ricardo Yauri
Facultad de Ingeniería, Universidad Tecnológica del Perú
125 Natalio Sanchez Road, Santa Beatriz, Lima, Perú
Email: boncer99@gmail.com
1. INTRODUCTION
The growing population of older adults in Metropolitan Lima requires specialized and accessible
medical care to guarantee their well-being and quality of life. Cardiovascular diseases, such as stroke and
heart disease, are the leading cause of death globally, especially in low-resource countries, accounting for
more than 75% of global deaths [1], [2]. In this context, continuous monitoring of heart rhythms is presented
as a vital tool for the detection of possible arrhythmias [3].
Cardiovascular diseases, driven by obesity, atherosclerosis, and poor diet, represent one of the
leading causes of mortality worldwide due to their effects on metabolism and cardiovascular health [4]. In the
case of hospitals in Peru, they face significant problems due to deficiencies in internal management,
insufficient acquisition of medical supplies, lack of modern medical equipment which, combined with poor
infrastructure, results in chaotic care and untimely for seriously ill patients [5]–[7]. Furthermore, the shortage
of human resources in the MINSA (Peruvian Ministry of Health) is worsened in the poorest regions, where
the lack of personnel prevents timely care [8]. This is why the use of low-cost technologies can contribute to
preventing cardiovascular diseases in the elderly population of Lima, given the high prevalence of risk
factors.
In the review of the literature, studies have been found that focus on designing a low-cost and easy-
to-use electrocardiogram (ECG), focusing on capturing cardiac electrical signals, filtering noise, and
transmitting them [9], adding in some cases Bluetooth technology to facilitate the early diagnosis of cardiac
diseases [10]–[12] while other authors [13]–[15] present an approach on the design of a simulator of
electrocardiographic signals, highlighting the reduction of cost by converting analog to digital signals. On the
other hand, there have been significant advances in the monitoring and detection of cardiac arrhythmias [16],
[17] through the development of a portable ECG device [18], data transmission through artificial intelligence
while other research [19] presented a prototype based on machine learning for the detection and classification
of arrhythmias in low-cost ECG devices with MATLAB and PSoC4 [20], [21]. Finally, big data systems
allow medical decision making based on historical data to optimize medical signal monitoring processes [22],
[23], focusing, in some cases, on energy savings [24] .
Therefore, the objective of this research is to design a monitoring system based on LabVIEW for the
visualization of the heart rhythms of older adults in Metropolitan Lima, which is easy to use and adapted to
the needs of older adults. The system will provide a cardiac signal monitoring solution, through secure and
accessible information storage, facilitating analysis between health professionals. This can be complemented
with automatic notification mechanisms to alert about possible anomalies, improving timely medical care.
2. RESEARCH METHOD
The research focuses on developing an electronic device to collect the heart rhythms of people over
60 years of age and evaluate its effectiveness. A combined technology development approach is used,
involving design, implementation, and iterative testing of the device, along with practical evaluations and
pilot tests to validate its usefulness. In addition, easy-to-use features are integrated into the design of the
device, considering the needs of older people for the successful adoption of the system in their daily lives.
The implementation procedure begins with the design and development of the electronic device,
focusing on the selection of sensors, electronic circuits, and software. The descriptive diagram of operation
(Figure 1) shows the beginning of signal acquisition and subsequent treatment to eliminate noise, using a
notch filter, a band-pass filter and a final amplification stage. Subsequently, the conditioned signal will be
converted from analog to digital using an Arduino Uno module. The information is displayed through a
graphical interface created in LabVIEW, obtaining a detailed representation of the heart signal.
2.1. Components
For the design of the acquisition stage, essential electronic components required to assemble the
hardware stage are used, among which we have: i) instrumentation amplifier: which is built with high
impedance operational amplifiers (Op-amps) at the input using the AD620 device [25]; ii) Op-amps:
the LM741 is used as an inverting comparator, adder and filter to process the signals obtained by the
transducers [26]; iii) ECG cable with jack output: snap connectors are used to facilitate connection to the
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 2, July 2024: 483-490
Int J Reconfigurable & Embedded Syst ISSN: 2089-4864 485
circuit, allowing the second derivative to be analyzed (left leg with right arm); iv) electrodes: it is used to
acquire the electrical activity generated using an silver/silver chloride (Ag/AgCl) electrode; and v) Arduino
Uno it integrates an ATmega328P microcontroller and an analog to digital conversion (DAQ) module,
conducting programming through its integrated development environment (IDE).
Low-cost electrocardiogram monitoring system for elderly people using LabVIEW (Ricardo Yauri)
486 ISSN: 2089-4864
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 2, July 2024: 483-490
Int J Reconfigurable & Embedded Syst ISSN: 2089-4864 487
serial port control (Figure 6). Furthermore, the flexibility of LabVIEW not only allows the creation of an
intuitive interface, but also facilitates the implementation of signal processing algorithms in real time.
In LabVIEW, the node creation process is essential to effectively understand and analyze cardiac
signals. First, nodes are generated for the input of ECG and BPM data, which come from sensors connected
to the Arduino module. Signal processing nodes are used to filter and condition ECG signals, removing
unwanted noise and preparing them for analysis. These elements connect to display nodes, which represent
the ECG signals and BPM data graphically and numerically respectively (Figure 7).
Low-cost electrocardiogram monitoring system for elderly people using LabVIEW (Ricardo Yauri)
488 ISSN: 2089-4864
Figure 8. PCB for ECG acquisition Figure 9. Interconnection of the PCB to the Arduino
module and the computer
Figure 10. Visualization of the ECG signal in the Arduino IDE Figure 11. LabVIEW interface for signal
visualization
Using the captured signals, the results of Table 1 are obtained, which presents evaluation results for
some patients. In the normal context, the human heart usually beats between 60 and 100 times per minute,
however, in individuals who exercise regularly or take medications to reduce heart rate, the heart rate may be
less than 60 BPM. By analyzing the cardiac characteristics of these patients, it is observed that the data
obtained are within the expected ranges, thus validating the optimal performance.
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 2, July 2024: 483-490
Int J Reconfigurable & Embedded Syst ISSN: 2089-4864 489
4. CONCLUSION
This research has culminated in the development of a portable ECG device using analog filters and
an intuitive graphical interface in LabVIEW, significantly reducing noise. Optimization of ECG frequencies
and effective communication between components have improved the accuracy and clarity of the signals
obtained. The correct functioning of the system and use of low-cost components underlines the economic
viability of the technology used. In relation to noise and interference reduction, the use of Op-amps has
proven to be crucial to effectively reduce noise and interference in ECG measurements. Additionally, the
application of analog filters has allowed the ECG frequencies to be limited to a specific range, effectively
eliminating unwanted noise. In the case of the intuitive graphical interface, the use of LabVIEW has provided
an intuitive visual platform for the analysis of cardiac signals. In addition to offering a clear representation of
the data, it has also facilitated the subsequent analysis of the results, improving the monitoring capacity of
medical personnel, related to the portability of the device. In addition, the interface in LabVIEW is used as a
tool that provides the diagnostic capacity of medical personnel in clinical environments, homes, and
ambulances.
The feasibility of a portable and accessible ECG device that uses electronic technologies for the
detection and visualization of cardiac signals has been demonstrated. Despite significant achievements, future
research could focus on integrating artificial intelligence for more accurate diagnoses, implementing wireless
technologies for remote monitoring, and including early warnings. Additionally, may include customization
of the system to adapt to various medical conditions, and the inclusion of telemedicine.
REFERENCES
[1] N. R. C. Campbell et al., “World health organization 2021 guidelines on pharmacological treatment of hypertension: policy
implications for the Region of the Americas (in Spain),” Revista Panamericana de Salud Pública, vol. 46, p. 1, May 2022, doi:
10.26633/RPSP.2022.54.
[2] J. W. Brettler et al., “Drivers and scoring methods for improving hypertension control in primary care clinical practice:
recommendations from the HEARTS innovation group in the Americas (in Spain),” Revista Panamericana de Salud Pública, vol.
46, p. 1, May 2022, doi: 10.26633/RPSP.2022.56.
[3] M. Pérez-Flórez and J. A. Achcar, “Socioeconomic inequalities in cardiovascular disease mortality: pacific region of colombia,
2002-2015 (in Spain),” Ciência and Saúde Coletiva, vol. 26, no. suppl 3, pp. 5201–5214, Oct. 2021, doi: 10.1590/1413-
812320212611.3.02562020.
[4] É. A. Contreras-Leal and J. Santiago-García, “Obesity, metabolic syndrome, and their impact on cardiovascular disease (in
Spain),” Rev Biomed, vol. 22, no. 3, 2011, doi: 10.32776/revbiomed.v22i3.98.
[5] J. Arroyo et al., “Health today: problems and solutions (in Spain),” CENTRUM Católica-Centro de Negocios de la Pontificia,
2015.
[6] F. Barrios-Ipenza, A. Calvo-Mora, F. Velicia-Martín, F. Criado-García, and A. Leal-Millán, “Patient satisfaction in the peruvian
health services: validation and application of the healthqual scale,” International Journal of Environmental Research and Public
Health, vol. 17, no. 14, p. 5111, Jul. 2020, doi: 10.3390/ijerph17145111.
[7] F. Barrios-Ipenza, A. Calvo-Mora, F. Criado-García, and W. H. Curioso, “Quality evaluation of health services using the kano
model in two hospitals in Peru,” International Journal of Environmental Research and Public Health 2021, vol. 18, no. 11, p.
6159, Jun. 2021, doi: 10.3390/IJERPH18116159.
[8] A. Soto, “Barriers to effective care in Peru's Ministry of Health referral hospitals: caring for patients in the 21st century with 20th
century resources (in Spain),” Revista Peruana de Medicina Experimental y Salud Pública, vol. 36, no. 2, p. 304, Jun. 2019, doi:
10.17843/rpmesp.2019.362.4425.
[9] R. Yauri, “IoT edge device to estimate breathing rate from ECG signal for continuous monitoring,” in 2022 IEEE Engineering
International Research Conference (EIRCON), IEEE, Oct. 2022, pp. 1–4, doi: 10.1109/EIRCON56026.2022.9934805.
[10] Y. Elsawaf et al., “Implantable intracranial pressure sensor with continuous bluetooth transmission via mobile application,”
Journal of Personalized Medicine, vol. 13, no. 9, p. 1318, Aug. 2023, doi: 10.3390/JPM13091318.
[11] J. Hua-Ping, Z. Jun-Long, and L. Jun, “Design of portable electrocardiograph monitoring system,” Journal of Imaging Science
and Technology, vol. 65, no. 3, May 2021, doi: 10.2352/J.IMAGINGSCI.TECHNOL.2021.65.3.030403.
[12] X. Bi and Y. Q. Long, “Design and application of home wireless electrocardiograph machine based on internet,” Chinese Journal
of Medical Instrumentation, vol. 46, no. 3, pp. 269–272, May 2022, doi: 10.3969/j.issn.1671-7104.2022.03.007.
[13] J. A. Coleman et al., “Electrophysiological mechanisms underlying T wave pseudonormalisation on stress ECGs in hypertrophic
cardiomyopathy,” Computers in Biology and Medicine, vol. 169, Feb. 2024, doi: 10.1016/J.COMPBIOMED.2023.107829.
[14] L. Xu et al., “Simulator of a full fetal electrocardiogram measurement chain by multichannel capacitive sensing,” IEEE
Transactions on Instrumentation and Measurement, vol. 69, no. 7, pp. 4348–4357, Jul. 2020, doi: 10.1109/TIM.2019.2947979.
[15] I. Chairez and V. Utkin, “Electrocardiographically signal simulator based on a sliding mode controlled buck DC-DC power
converter,” IFAC-PapersOnLine, vol. 55, no. 9, pp. 419–424, 2022, doi: 10.1016/j.ifacol.2022.07.073.
[16] J. Lai et al., “Practical intelligent diagnostic algorithm for wearable 12-lead ECG via self-supervised learning on large-scale
dataset,” Nature Communications, vol. 14, no. 1, pp. 1–13, Jun. 2023, doi: 10.1038/s41467-023-39472-8.
[17] S. Bhatia, S. K. Pandey, A. Kumar, and A. Alshuhail, “Classification of electrocardiogram signals based on hybrid deep learning
models,” Sustainability (Switzerland), vol. 14, no. 24, Dec. 2022, doi: 10.3390/SU142416572.
[18] R. Yauri and M. Rios, “Implementation of a sensor node for monitoring physiological signals with Websocket communication
and data visualization in a node.js server over the Internet,” Proceedings of the 2020 IEEE Engineering International Research
Conference, EIRCON 2020, Oct. 2020, doi: 10.1109/EIRCON51178.2020.9254049.
[19] Z. Zeng et al., “Assessing electrocardiogram changes after ischemic stroke with artificial intelligence,” PLOS ONE, vol. 17, no.
12, p. e0279706, Dec. 2022, doi: 10.1371/journal.pone.0279706.
[20] A. Anzaldo, “Design and development of an ECG signal generator using MATLAB and PSoC 4 (in Spain),” Memorias del
Congreso Nacional de Ingeniería Biomédica, vol. 5, no. 1, pp. 414–417, Oct. 2018, doi: 10.24254/CNIB.18.87.
Low-cost electrocardiogram monitoring system for elderly people using LabVIEW (Ricardo Yauri)
490 ISSN: 2089-4864
[21] J. Heaney, J. Buick, M. U. Hadi, and N. Soin, “Internet of things-based ECG and vitals healthcare monitoring system,”
Micromachines, vol. 13, no. 12, p. 2153, Dec. 2022, doi: 10.3390/mi13122153.
[22] K. Batko and A. Ślęzak, “The use of big data analytics in healthcare,” Journal of Big Data, vol. 9, no. 1, pp. 1–24, Dec. 2022, doi:
10.1186/S40537-021-00553-4/TABLES/11.
[23] Z. Yang, Q. Zhou, L. Lei, K. Zheng, and W. Xiang, “An IoT-cloud based wearable ECG monitoring system for smart healthcare,”
Journal of Medical Systems, vol. 40, no. 12, pp. 1–11, Dec. 2016, doi: 10.1007/S10916-016-0644-9/METRICS.
[24] M. A. Scrugli, D. Loi, L. Raffo, and P. Meloni, “An adaptive cognitive sensor node for ECG monitoring in the internet of medical
things,” IEEE Access, vol. 10, pp. 1688–1705, 2022, doi: 10.1109/ACCESS.2021.3136793.
[25] J. M. A. Padilla, “Low cost low power instrumentation amplifier AD620 applications weigh scales ECG and medical
instrumentation transducer interface data acquisition systems industrial process controls battery-powered and portable equipment
connection diagram,” Analog Devices, 2003.
[26] “LM741 operational amplifier check for samples: LM741 features description,” Texas instruments, 1998, Accessed: Oct. 09,
2023. [Online]. Available: www.ti.com.
BIOGRAPHIES OF AUTHORS
Enzo Flores is in the final stage of his degree in electronic engineering at the
Universidad Nacional Mayor de San Marcos and has shown a deep interest in hardware
technology and computers from an early age. His focus is on signal acquisition and processing,
especially in the field of bio signals, with a particular emphasis on remote monitoring
applications. Additionally, he has been actively involved in hardware development,
significantly contributing to the creation of various electronic devices. He can be contacted at
email: enzo.flores@unmsm.edu.pe.
Int J Reconfigurable & Embedded Syst, Vol. 13, No. 2, July 2024: 483-490