Design, Fabrication, and Testing of an IoT Healthcare Cardiac Monitoring Device †
Abstract
:1. Introduction
2. Related Work
3. Concept and Theory of Operation of the Telecare-ECG Monitor System
4. Presentation of the Practical Results Obtained During Validation of the Telecare-ECG Monitoring Device
4.1. Materials and Fabrication Aspects
- event_sel_Comm: This event is sent by HMI to the Comm thread, allowing the selection of a communication mode (USB, Bluetooth, or GSM);
- event_receive and event_transmit are events generated by the callback functions after the full transmission and reception of a complete message (specific to the selected protocol);
- The pair-type events event_execute_MODBUS and event_MODBUS_execute launch the execution of a Modbus command to the destination task and, accordingly, provide a response to signal the completion of this execution (from Comm to the Ecg, HMI, and Hist);
- event_start_ECG is an event that leads the Ecg task to launch the acquisition process, and event_ECG_ready is an event through which the HMI task is informed by the completion of this acquisition;
- event_save_ECG_microSD leads the Hist task to create a file with the latest ECG acquisition in the local memory stored via microSD.
4.2. Methods for Design, Validation and Testing
- ECG selection mode: The operator selects the state mode circularly by pressing the user key for periods of less than three seconds (see also the front view in Figure 7).
- ECG execution mode: The operator launches the pre-selected work mode.
- LED 1: 100% (in ECG selection mode)\CARD Error: file system error (in ECG execution mode);
- LED 2: 80% (in ECG selection mode)\ECG Error: error associated with communication related to ECG circuit (in ECG execution mode);
- LED 3: 60% (in ECG selection mode)\ECG ERR Start: incorrect patient position before ECG start (in ECG execution mode);
- LED 4: 40% (in ECG selection mode)\GSM SLAVE: indicates the selection or operation mode for slave GSM communications;
- LED 5: 20% (in ECG selection mode)\GSM Master: indicates the selection or operation mode for master GSM communications;
- LED 6: GSM ACT indicates the connection to a GSM network;
- LED 7: indicate USB selection or operating mode;
- LED 8: indicate ECG selection or operating mode;
- LED 9: indicates the power supply of the GSM;
- LED 10: Bluetooth indicates selection or operating mode of BLE (Bluetooth) or GSM Master, together with the GSM Master LED and the GSM Slave together with the GSM Slave LED.
- LED 11: indicates the status of the accumulator (disconnected: blinks, charging: ON, charged: OFF).
- Optionally, there may be an LED that indicates the USB connection to the micro USB connector (located close to the USB port).
- The device is provided with a user button to select the execution mode (the central red button illustrated in Figure 7). Pressing and releasing this button will turn the buzzer on or off.
- ECG selection mode: The ECG LED is ON, and the five horizontal LEDs indicate the accumulator charge status (only in this state);
- USB selection mode: The USB LED is ON;
- BLE selection mode: The Bluetooth LED is ON;
- GSM MASTER selection mode: The Bluetooth LED is in the IIFMI state (blinks at a low frequency), and the GSM LED is ON;
- GSM SLAVE selection mode: The Bluetooth LED is in the IIFMI state, and the GSM LED is ON;
- EXIT selection mode: All operator LEDs are OFF.
- ECG execution mode: The ECG LED is in the IIFMA state (blinks at a high frequency);
- USB execution mode: The USB LED is in the IIFMA state;
- BLE execution mode: The Bluetooth LED is in the IIFMA state;
- GSM MASTER execution mode: The Bluetooth and GSM LEDs are in the IIFMA state;
- GSM SLAVE execution mode: The Bluetooth and GSM LEDs are in the IIFMA state;
- EXIT execution mode: The Telecare-ECG device enters into a low-power state.
- The operator checks for the microSD card, so no ECGs can be made without the microSD card. The internal accumulator switch is assumed to be in the ON position. Users can omit its presence if calibration, debugging, or maintenance work is done.
- Press the user key until the LED test starts. This test will switch the LEDs to the IIFMA state for 2 seconds each; after testing the 8 LEDs, the system switches to the ECG selection mode (the ECG LED will be ON).
- During the test, the buzzer will indicate an ON state by emitting a 4 kHz sound.
- The device issues an SMS every five minutes until either it exits from this execution mode or the server responds with the sequence 5F100090001CCC93, at which point the device goes into GSM SLAVE execution mode and waits for commands from the server (for example, to read the file). The name of the transmitted file is strictly related to the creation date (M0:\YearMonthDay\HourMinuteSecond.txt).
- When attempting to emit an SMS, the buzzer is set in the POI10_15s state, and when it receives an SMS, the buzzer goes into the POI0_5s state.
5. Discussion
- ECG acquisition on multiple channels.
- Real-time signal preprocessing and the real-time assessment of the signal/noise ratio for different frequency bands in order to determine the nature of the noise.
- Dynamic selection of the optimal noise extractor and of the QRS complex detector.
- An alarm in the case of a critical situations and data storage in the absence of communication.
- Secure data interpretation for diagnostic assistance.
- The transmission of synthetic data to a high-level module to detect and classify various pathologies using pattern recognition methods.
6. Conclusions
7. Patents
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Zimmer, V.; Sun, J. Embedded Firmware Solutions: Development Best Practices for the Internet of Things, 1st ed.; APress: Berlin/Heidelberg, Germany, 2015; pp. 16–17. ISBN 10 1484200713. [Google Scholar]
- Smithamol, M.B.; Rajeswari, S. Hybrid Solution for Privacy-Preserving Access Control for Healthcare Data. Adv. Electr. Comput. Eng. 2017, 17, 31–38. [Google Scholar] [CrossRef]
- Madisetti, V.; Bahga, A. Internet of Things (A Hands-on-Approach); Springer: New York, NY, USA, 2014; pp. 20–46. ISBN1 10 0996025510. ISBN2 13 978-0996025515. [Google Scholar]
- Zagan, I.; Găitan, V.G.; Iuga, N.; Brezulianu, A. m-GreenCARDIO embedded system designed for out-of-hospital cardiac patients. In Proceedings of the 2018 International Conference on Development and Application Systems (DAS), Suceava, Romania, 24–26 May 2018; pp. 11–17. [Google Scholar] [CrossRef]
- Ungurean, I.; Brezulianu, A. An Internet of Things Framework for Remote Monitoring of the HealthCare Parameters. Adv. Electr. Comput. Eng. 2017, 17, 11–16. [Google Scholar] [CrossRef]
- Gouaux, F.; Simon-Chautemps, L.; Fayn, J.; Adami, S.; Arzi, M.; Assanelli, D.; Forlini, M.C.; Malossi, C.; Martinez, A.; Placideet, J.; et al. Ambient intelligence and pervasive systems for the monitoring of citizens at cardiac risk: New solutions from the EPI-MEDICS project. Comput. Cardiol. 2002, 289–292. [Google Scholar] [CrossRef] [Green Version]
- Sardana, P.; Kalra, M.; Sardana, A. Design, Fabrication, and Testing of an Internet Connected Intravenous Drip Monitoring Device. J. Sens. Actuator Netw. 2019, 8, 2. [Google Scholar] [CrossRef] [Green Version]
- El Mimouni, E.H.; Karim, M. A MicroBlaze-based Multiprocessor System on Chip for real-time cardiac monitoring. In Proceedings of the 2014 International Conference on Multimedia Computing and Systems (ICMCS), Marrakech, Morocco, 14–16 April 2014; pp. 331–336. [Google Scholar] [CrossRef]
- PhysioNet: MIT-BIH Arrhythmia Database. Available online: https://physionet.org/physiobank/database/mitdb/ (accessed on 20 March 2017).
- Ukil, A.; Bandyoapdhyay, S.; Puri, C.; Pal, A. IoT Healthcare Analytics: The Importance of Anomaly Detection. In Proceedings of the IEEE 30th International Conference on Advanced Information Networking and Applications (AINA), Crans-Montana, Switzerland, 23–25 March 2016; pp. 994–997. [Google Scholar] [CrossRef]
- Park, J.; Lee, J.; Ryu, J.; Shin, H.; Heu, S.; Kang, K. Evaluating QoS of a Wireless System for Real-Time Cardiac Monitoring. In Proceedings of the IEEE 27th International Conference on Advanced Information Networking and Applications (AINA), Barcelona, Spain, 25–28 March 2013; pp. 1105–1112. [Google Scholar] [CrossRef]
- Al-Dulaimi, J.; Cosmas, J.; Abbod, M. Smart Health and Safety Equipment Monitoring System for Distributed Workplaces. Computers 2019, 8, 82. [Google Scholar] [CrossRef] [Green Version]
- Sánchez, L.; Lanza, J.; Santana, J.R.; Agarwal, R.; Raverdy, P.G.; Elsaleh, T.; Fathy, Y.; Jeong, S.; Dadoukis, A.; Korakis, T.; et al. Federation of Internet of Things Testbeds for the Realization of a Semantically-Enabled Multi-Domain Data Marketplace. Sensors 2018, 18, 3375. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Yang, Z.; Zhou, Q.; Lei, L.; Zheng, K.; Xiang, W. An IoT-cloud Based Wearable ECG Monitoring System for Smart Healthcare. J. Med Syst. 2016, 40, 286. [Google Scholar] [CrossRef] [PubMed]
- ARM®RTX™. Real-Time Operating System, A Cortex-M Optimized RTOS That Simplifies Embedded Programming; ARM: Cambridge, UK, 2013. [Google Scholar]
- Yiu, J. The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd ed.; Academic Press: Cambridge, MA, USA, 2015; pp. 57–64. ISBN 10 0128032774. [Google Scholar]
- Zagan, I.; Găitan, V.G.; Petrariu, A.-I.; Brezulianu, A. Healthcare IoT m-GreenCARDIO Remote Cardiac Monitoring System—Concept, Theory of Operation and Implementation. Adv. Electr. Comput. Eng. 2017, 17, 23–30. [Google Scholar] [CrossRef]
- Majumder, S.; Aghayi, E.; Noferesti, M.; Memarzadeh-Tehran, H.; Mondal, T.; Pang, Z.; Deen, M. Smart Homes for Elderly Healthcare—Recent Advances and Research Challenges. Sensors 2017, 17, 2496. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Zhu, Y. Embedded Systems with ARM Cortex-M3 Microcontrollers in Assembly Language and C; E-Man Press LLC: Ballston Spa, NY, USA, 2014; pp. 457–464. ISBN1 10 0982692625. ISBN2 13 978-0982692622. [Google Scholar]
- SIM800C. Available online: SIM800C_Hardware_Design_V1.02.pdf (accessed on 16 April 2018).
- MMA8452Q. Available online: https://www.nxp.com/docs/en/data-sheet/MMA8452Q.pdf (accessed on 16 April 2018).
- ADAS1000. Available online: http://www.analog.com/media/en/technical-documentation/data-sheets/ADAS1000_1000-1_1000-2.pdf (accessed on 16 April 2018).
- Choi, Y.; Kang, H.; Lee, I. Scalable and Secure Internet of Things Connectivity. Electronics 2019, 8, 752. [Google Scholar] [CrossRef] [Green Version]
- Saman, K.; Ali, D.M.; Ghaznavi-Ghoushchi, M.B. Low-complexity and differential power analysis (DPA)-resistant two-folded power-aware Rivest–Shamir–Adleman (RSA) security schema implementation for IoT-connected devices. Iet Comput. Digit. Tech. 2018, 12, 279–288. [Google Scholar] [CrossRef]
- Zagan, I.; Găitan, V.G. Hardware RTOS: Custom Scheduler Implementation Based on Multiple Pipeline Registers and MIPS32 Architecture. Electronics 2019, 8, 211. [Google Scholar] [CrossRef] [Green Version]
Field Definition | Values (hexadecimal) |
---|---|
Device address | 5F |
The write function (16) in MODBUS registers | 10 |
Start address (means new ECG file) | 00 90 |
Counter registers | 00 1C |
Counter bytes | 38 |
Out-of-hospital cardiac patient phone number | +3960144676375 |
Telecare-ECG Monitoring device code | 018417EA190000B0 |
New (current) file name | M0:\20180920\16M54S29.txt |
CRC Modbus | 6F82 |
Microcontroller: STM32F107VCT6TR | Bluetooth Module: HC-06 | Unique ID Module: DS2411 | GSM Transmission Module: SIM800C [20] |
---|---|---|---|
ARM 32-bit Cortex-M3; Maximum speed: 72 MHz; 256 kB flash memory; 64 kB SRAM; 16 ADC channels with 12 bits; Interfaces: SPI, I2C, I2S, UART, USB; Up to 80 GPIO ports; Supply voltage between 3 and 3.6 V; The possibility to change the microcontroller by using an adaptation socket. | Sensitivity to data transmission: −80 dBm; Output power configurable between −4 dBm and +6 dBm; Transfer speed: 2 Mbps; 9 Mb FLASH internal memory; Current consumed in transmission mode: 8 mA; Frequency of operation: 2.4 GHz; Standard port: HCI (UART or USB); Supply voltage between 3.1 and 4.2 V. | Unique internal code of 64 b, laser engraved; Supply voltage between 1.5 V and 5.25 V; Communication speed up to 15.4 kbps; Current consumption: 100 µA. | Quad-Band (GSM850, EGSM900, DCS1800, PCS1900); 24 Mb FLASH internal memory; 32 Mb RAM memory; Supply voltage between 3.4 and 4.4 V; Current consumption in idle mode of 13.8 mA; Power consumption in call mode of up to 413 mA; Power consumption in sleep mode of a maximum 1.5 mA. |
Accelerometer on 3 Axes: MMA8452QT [21] | Battery Charger: BQ24296M | ECG data Acquisition Circuit: ADAS1000 [22] | Temperature Sensor: TMP100 |
---|---|---|---|
Supply voltage between 1.95 and 3.6 V; 12 bit and 8 bit digital converter; Current consumption between 6 and 165 µA; Output Data Rates from 1.56 to 800 Hz; I2C digital interface. | Communication with microcontroller via I2C interface; Maximum charging current of 3 A; Input voltage between 3.9 and 6.2 V; Possibility to limit the charging current; Thermal charging protection of the battery; Overvoltage protection of the battery; LED indicator for charging status or missing battery. | SPI communication interface; Acquisition of ECG signals using 3 or 5 electrodes; Possibility of parallel connection for reading vital signals with over 10 electrodes; Supply voltage between 3.15 and 5.5 V; Maximum current consumption: 975 µA. | I2C communication interface; User selectable resolution: 9 to 12 bits; Typical accuracy of ±1 °C; Measurement of temperatures between −55 and +125 °C; Supply voltage between 2.7 and 5.5 V; Maximum current consumption: 150 µA. |
ECG Capture Settings | ECG Capture Information’s | ECG Records |
---|---|---|
File name: M0:\20180919\12M28S36.txt Number of samples = (500 × 3 × 2) × 10 = 30.000 Time period for ECG capture = 10 seconds Sampling speed = 500 samples per second Source = Three electrodes for ECG | Record name: ECG: 19:09:2018-12:28:36 Telecare-ECG Monitoring device code: 018417EA190000B0 Patient name: Carl Berry The patient’s sex: male Date of birth: 29:11:1989 Temperature: degrees Celsius: 28 Note: No note | 0000 FE60 FD20 FEC0 0001 FE78 FE45 FFCD 0002 057D 47E0 4263 0003 21D7 29B0 07D9 0004 5095 1B7A CAE5 0005 855D 9A92 1535 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zagan, I.; Găitan, V.G.; Petrariu, A.-I.; Iuga, N.; Brezulianu, A. Design, Fabrication, and Testing of an IoT Healthcare Cardiac Monitoring Device. Computers 2020, 9, 15. https://doi.org/10.3390/computers9010015
Zagan I, Găitan VG, Petrariu A-I, Iuga N, Brezulianu A. Design, Fabrication, and Testing of an IoT Healthcare Cardiac Monitoring Device. Computers. 2020; 9(1):15. https://doi.org/10.3390/computers9010015
Chicago/Turabian StyleZagan, Ionel, Vasile Gheorghiță Găitan, Adrian-Ioan Petrariu, Nicolai Iuga, and Adrian Brezulianu. 2020. "Design, Fabrication, and Testing of an IoT Healthcare Cardiac Monitoring Device" Computers 9, no. 1: 15. https://doi.org/10.3390/computers9010015
APA StyleZagan, I., Găitan, V. G., Petrariu, A. -I., Iuga, N., & Brezulianu, A. (2020). Design, Fabrication, and Testing of an IoT Healthcare Cardiac Monitoring Device. Computers, 9(1), 15. https://doi.org/10.3390/computers9010015