Fundamental Issues in Mobile Healthcare Information SystemsView this Special Issue
Research Article | Open Access
Eka Adi Prasetyo Joko Prawiro, Chun-I Yeh, Nai-Kuan Chou, Ming-Wei Lee, Yuan-Hsiang Lin, "Integrated Wearable System for Monitoring Heart Rate and Step during Physical Activity", Mobile Information Systems, vol. 2016, Article ID 6850168, 10 pages, 2016. https://doi.org/10.1155/2016/6850168
Integrated Wearable System for Monitoring Heart Rate and Step during Physical Activity
This paper integrates a heart rate (HR) monitoring system with step counter for use during physical activities. Novel step counter algorithm has been developed to enable the highly accurate detection of step. The proposed system comprises a wireless wearable device, a smartphone, and a remote server. Data transmission between a wearable device and a smartphone is conducted via Bluetooth low energy (BLE). An indirect contact measurement method has also been devised to eliminate the need for direct contact electrodes and likelihood of skin irritation. The proposed system is compact, lightweight, and comfortable to wear. A smartphone application provides the interface for the display of data related to HR, step count (SC), exercise intensity, speed, distance, and calories burned, as well as waveforms related to ECG and step cycle. ECG peak detection algorithm achieved accuracy of 99.7% using the MIT-BIH ST Change Database. Accuracy of 98.89% was achieved for HR and 98.96% for SC at treadmill speeds of 1.8 to 9.0 km/h.
Global annual expenditure in the health-related domain is currently US$5.3 trillion, and this is expected to increase at an ever-accelerating rate . Evidence supports a strong link between regular physical exercise and decreased risk of cardiovascular disease  as well as chronic illnesses such as diabetes .
It has been suggested that the volume of exercise required by most individuals is equivalent to 10,000 steps per day . Pedometers are sensors that are worn on the body to motivate one in the pursuit of physical activity and assess one’s progress. Pedometers are viewed as a practical alternative to group health promotion because the output (e.g., steps taken, steps/day) is user-friendly . Unfortunately, most pedometers give no indication of the intensity of the physical activity, despite the importance of meeting minimum exertion thresholds and the danger of exceeding physical limits. For example, 55–90% of maximum HR has been cited as an appropriate level for training cardiorespiratory fitness without leading to early fatigue . This underlines the need to monitor exercise intensity in real time. HR can be used as an indicator of exercise intensity , according to the formula outlined by Fox and Haskell .
Sun and Yu  designed an HR monitoring and fatigue detection system for drivers. Khan et al.  enabled the monitoring of HR using photoplethysmographics (PPG). He et al.  designed an ear-worn HR monitoring system using a combination of ECG, PPG, and ballistocardiogram (BCG). Accelerometers have also been used to monitor activity. Gupta and Dallas  developed an activity monitoring system using a single triaxial accelerometer. Cheng et al.  proposed a system for activity monitoring and fall detection using accelerometer signals and Ryu et al.  proposed a step counter using accelerometer data. Nonetheless, a comprehensive system for the evaluation of one’s overall physical condition in real time has yet to be developed.
A shift toward technology that prioritizes comfort for the user has led to the development of systems based on coupling capacitance for indirect contact ECG in order to monitor HR. Oehler et al.  first used capacitive sensors to measure multichannel ECGs. Matsuda and Makikawa  implemented ECG capacitive sensors in driving applications. In 2012, Baek et al.  embedded in a smart chair indirect contact ECG for the measurement of physiological signals. Eilebrecht et al.  proposed a measurement system using capacitive multichannel ECGs. However, no previous study has conducted a comprehensive investigation into the monitoring of everyday activities such as walking and running.
Smartphones have recently been adapted to accommodate p-health monitoring systems [19, 20] and rapid progress in this area makes it a particularly useful medium for mobile monitoring systems. In this study, we developed a wearable device integrating an accelerometer-based pedometer with single-channel ECG system for the monitoring of HR, SC, exercise intensity, speed, distance, and calories burned as well as the presentation of ECG waveforms and depictions of step cycle during physical activities. We also developed a novel step counter algorithm to enable the highly accurate detection of step. The proposed device is strapped to the chest using indirect contact to reduce the likelihood of skin irritation.
2.1. System Architecture
The proposed monitoring system consists of three parts: a wireless wearable device, a smartphone, and a remote server. Figure 1 illustrates the architecture of the system. The wearable device includes two-electrode circuits for the measurement of ECG signals, a 3-axis accelerometer for the measurement of step signals, and an ultra-low-power microcontroller (MSP430) for data acquisition and calculations. Data transmission between the wearable device and the smartphone is conducted via BLE . A smartphone application was developed to receive user data and display the HR, step count, exercise intensity, speed, distance, and calorie burn information. The sensors data can be transmitted to the smartphone in real time; the ECG and step signal waveforms can also be displayed on the screen of smartphone. If the system detects an instance of overexercise, the smartphone triggers an alarm (sound and vibration) to warn the user. At the same time, HR, SC, and GPS location are transmitted to a remote server (remote health care center) via a 3G mobile network, to enable clinical staff to monitor the activity status of the user.
2.2. Wearable Device
The wearable device comprises three parts, sensors and circuits, microcontroller, and wireless data transmission interface, as shown in the block diagram in Figure 2. The sensors and circuits include an accelerometer and ECG circuits that use I2C and ADC on a microcontroller. Wireless data transmission is achieved using a CC2541 module with BLE support. All external circuits are implemented using SMD to reduce the size of the hardware. Figure 3 presents a prototype of the wearable device, which is compact (6 × 4 cm) and lightweight (19 g including a 110 mAh battery).
2.2.1. Sensors, Circuits, and Microcontroller
The sensors include POLAR belt electrodes for single-channel ECG acquisition and a 3-axis accelerometer (ADXL 345) for the detection of body movement.
The main chip in the wearable device is the MSP430, which includes an ultra-low-power microprocessor integrating memory, MCU, ADC, I2C, UART data communication, and other peripheral functions on a single chip . For the ECG circuits, we modified a simple, low-cost circuit using the two-electrode nondifferential amplifier proposed by Dobrev et al. , a block diagram of which is presented in Figure 4. The ECG signals first pass through a biopotential amplifier and noninverting amplifier with gain of 11, followed by a high-pass filter and noninverting amplification with cutoff frequency of 4.8 Hz and gain of 48. Finally, a low-pass filter with cutoff frequency at 48 Hz is applied.
We also employed a digital accelerometer (ADXL 345) with 13-bit resolution and acceleration range of ±16 g. The sampling rates of the ECG and accelerometer are 200 Hz and 50 Hz, respectively. The MSP430 processes the digital data to calculate the HR and SC, whereupon the processed data is sent to UART connected to a BLE module for data transmission at a data rate of 115.2 kb/s.
2.2.2. Wireless Data Transmission
The wearable device uses a standard BLE 4.0 as a data transmission interface, due to its wide compatibility with mobile devices such as smartphones. We use CC2541 Bluetooth module , which is Bluetooth 4.0 that has low power energy and appropriate for healthcare applications.
2.3. Smartphone Platform
We used the ASUS Padfone S with an Android 4.4.2 operating system in conjunction with Android Eclipse for the development of a smartphone application, which we entitled “Integrated Monitoring System.” This application makes it possible to save HR, SC, and related parameters on a memory card and display it on the screen of the smartphone. It also initiates call to emergency response services should the need arise. Figure 5 presents the graphic user interface (GUI) on the smartphone and the function of each component.
2.4. HR Detection Algorithm
We developed a heart rate detection algorithm based on our previous work in . This algorithm is divided into two stages: preprocessing and decision. Preprocessing includes a band-pass filter, differentiation, absolute function, and moving window integration (MWI). The output from this stage is then used as the input for the decision stage in which HR is calculated. The HR value is used to derive exercise intensity (1) with a corresponding maximum HR for each subject (2). For example, using 24 years as a default age value, we obtain the maximum HR as follows:
2.5. Step Counter Algorithm
The step counter algorithm is based on that of a pedometer, wherein the number of steps can be determined after one’s cycle is recognized. The accelerometer is highly sensitive to small motions; therefore, we applied several preprocessing steps to adjust the -axis data of the signal from the accelerometer, where is the number of data samples. Preprocessing includes band-pass filtering, the removal of baseline wandering, obtaining a moving average, enlargement, and integration. Figure 6 presents the workflow involved in preprocessing the signal, beginning with the signal passing through an FIR digital band-pass filter with cutoff frequencies of 0.5 Hz and 2 Hz. These cutoff frequencies are in accordance with the method proposed by Libby , with modifications to reduce noise. Baseline wandering removal () is used to remove the DC offset from the band-pass filter output (). This is achieved by reducing each data sample using the average data point. The number of Len is 43, and represents data number from to . Third, we implement an 8-tap moving average filter to smooth the signal (). The formulations of baseline wandering removal and moving average are given in (3) and (4), respectively. Consider
The moving average filter is a simple low-pass filter. The cutoff frequency in terms of moving average is given by (5), where , , and N are the sampling frequency (50 Hz), cutoff frequency, and number of taps (8 taps), respectively. Consider
An enlarging process () is also used to enlarge the signal characteristics using (7), as follows:
Finally, an 8-tap () integration process () is then applied to enlarge and smooth, where j represents the number of data points from to , as follows:
Figure 7 illustrates the algorithm used in step detection. As shown in Figure 8(b), a fall is defined as a situation in which the amplitude of the current input is lower than the previous input . A maximum value is set when the first fall signal is detected, and a minimum value is set when current input is lower than previous one. The maximum and minimum values are used to detect peaks and peak amplitudes, which are then used to determine the interval threshold. After a peak is detected, the peak-to-peak interval is compared with the interval threshold, adapted from an experience-based rule (Table 1). Situations in which the peak-to-peak interval is higher than the interval threshold are recognized as step, whereupon the maximum and minimum values are reset and the process is repeated from the beginning. Remember that the amplitude of the step signal is associated with the speed walking; that is, a slower walking speed has a smaller amplitude and longer interval and vice versa. This adaptive threshold is used to increase the accuracy of step detection for various speeds.
2.6. Experiment Setup
To verify the performance of ECG peak detection, we use the open-source MIT-BIH ST Change Database  as input data. We also compared the reliability of the ECG acquisition device using CardioSoft . To evaluate the performance of the HR and SC algorithm, we recruited five healthy males to walk and run on a treadmill. The participants ranged in age from 22 to 28 years (mean: 24 years, SD: 2.4 years), with body mass ranging from 63 to 79 kg (mean: 69 kg, SD: 6.7 kg). Measurements were obtained sequentially at the following treadmill speeds: 1.8, 2.7, 3.6, 4.5, 5.4, 6.3, 7.2, 8.1, and 9 km/h. Measurements were taken for a period of one minute at each speed, before increasing the speed by 0.9 km/h and repeating the process. Subjects wore thin clothes with the device fastened across the chest with a belt. The subjects walked for the first six speeds and ran for the last three speeds. HR data was recorded for two seconds at each speed using the proposed device as well as a commercial device (GE Dash 3000)  for comparison. The SC results from the proposed device were compared with those obtained from two commercial products (Omron HJ-720 and Yamax SW200), the accuracy and reliability of which are proven [29, 30]. HJ-720 detects step using dual accelerometers, whereas the SW200 detects step using a traditional mechanical method. The subjects and an observer were also requested to count the number of steps taken at each speed for use as a standard (actual number of steps).
2.7. Evaluation Methods
To verify the reliability of the ECG acquisition device, we began by comparing the ECG signal from the proposed device with that of the commercial device, CardioSoft. We then applied our ECG R-peak detection algorithm to 26 records from the open-source MIT-BIH ST Change Database. The aim was to identify the number of beats identified by the proposed algorithm as False Positives (FPs) and False Negatives (FNs) and then calculate the accuracy based on Real Beats (RBs) obtained from the database. The equation used to determine the accuracy of ECG peak detection is given in (9). We then applied HR detection to the data acquired from the five subjects in the treadmill test. HR accuracy was based on the HR from GE Dash 3000 as a reference. We compared the accuracy of HR detection using the proposed device and a GE Dash 3000 in two-second increments over a period of one minute at each of the speeds between 1.8 and 9.0 km/h:
The accuracy of step detection was evaluated by calculating the difference () between real step count (RSC) and detected step count (DSC), as shown in (10), using data obtained from the five test subjects at each of the speeds. These values were then compared with those obtained using the two commercial pedometers. The detection rate () is defined as follows:
3.1. ECG Raw Data
Evaluating the accuracy of the devices began with a comparison of the raw data obtained from the proposed device and that from CardioSoft. Figures 9 and 10 present the raw ECG data obtained from the two devices at walking and running speeds, respectively.
3.2. MIT-BIH ST Change Database Test
We applied the proposed ECG peak detection algorithm to 26 datasets from the MIT-BIH ST Change Database (except data numbers 305 and 319), which resulted in a total of 72580 beats. The detection results are listed in Table 2, the sums of which are divided as follows: FP: 81, FN: 106, and total failed beats: 187. Therefore, the accuracy of ECG peak detection based on 10 is 99.7%.
3.3. HR Detection in Treadmill Test
Table 3 lists the HR detection results from one subject in the treadmill test walking at 1.8 km/h. The graph in Figure 11 compares the HR values obtained using the proposed device and those from the GE Dash 3000 over the period of one minute. In this example, the difference between the HR values from the two devices never exceeds 3 BPM. Table 4 lists the overall results for all five subjects walking or running at all speeds, revealing an overall HR detection accuracy of 98.89%.
3.4. Step Counting Accuracy in Treadmill Test
Table 5 presents the results of step detection for one subject in the treadmill test. The accuracy values of the Yamax SW200 and Omron HJ-720 and the proposed device were 95.71%, 98.25%, and 98.70%, respectively. Table 6 lists the results of step detection for all five subjects walking or running at all speeds, revealing the accuracy of three devices was 92.37%, 94.57%, and 98.96%, respectively.
| A: proposed device, B: Omron, and C: Yamax.|
3.5. Power Consumption
The power consumption of the device was tested in the four main working modes: (1) standby; (2) being not connected; (3) execution of HR/SC algorithm and transmission of calculated data (HR, SC, speed, and distance); and (4) execution of HR/SC algorithm and transmission of calculated and raw (ECG and accelerometer) data. The transmission load for calculated data was two bytes/second, whereas the transmission load for raw ECG data was four bytes/0.01 seconds and raw accelerometer data was two bytes/0.02 seconds. The acquisition of ECG and accelerometer data was, respectively, conducted at sampling rates of 200 Hz and 50 Hz for each channel. Table 7 lists the consumption of current by the main components in each of the working modes.
This study developed a wireless wearable system for the monitoring of HR and SC in real time as indications of exercise intensity. The aim was to limit the likelihood of overexertion and/or underexertion in order to maximize the efficiency of training.
The proposed device is compact and lightweight, designed to be attached to the chest of the user over thin clothes. The proposed system monitors 3-axis accelerometer signals and ECG signals without the need to connect electrodes to the subject directly. The proposed system also facilitates continuous remote monitoring via a smartphone using systems such as Mobile-Cloud Telemonitoring .
The detection accuracy of ECG peaks and HR and the number of steps were verified using the MIT-BIH ST Change Database and a treadmill experiment involving five subjects. The average accuracy in ECG peak detection was 99.7%. Detection failures were due to instabilities in the raw ECG data. The accuracy of HR detection remained consistent at 98.89% across all speeds.
The accuracy of step detection was determined using a treadmill test. In most situations, lower treadmill speeds are less accurate than higher treadmill speeds due to the associated signal amplitudes. The Yamax SW200 achieved good performance at walking speeds exceeding 3.6 km/h; however, the Omron HJ-720 was more accurate at lower walking speeds. The proposed system achieved an average accuracy of 98.96%, exceeding that of both commercial devices, regardless of speed.
4.3. Usability and Practicality
Pedometers are a powerful tool for motivating individuals to increase their physical activity; however, unless they are lightweight and easy to use, they will not be adopted. The proposed device overcomes this issue and provides the ability to monitor HR as well as SC.
Furthermore, the power consumption of the device under full load is only 19 mA. The sampling rate could be reduced in order to reduce power consumption even further.
This paper outlines an integrated wearable system for the monitoring of HR and SC. Novel step counter algorithm has been developed to achieve the highly accurate step detection. We integrated an accelerometer-based pedometer with a two-electrode ECG circuit to reduce the size and weight of the device. In a treadmill test, the accuracy of the proposed device was shown to be very high. A Bluetooth interface facilitates connection to smartphones for the display, recording, and transmission of data, thereby enhancing the flexibility and usability of the device for health monitoring applications.
Yuan-Hsiang Lin is IEEE Member.
The authors declare no conflict of interests regarding the publication of this paper.
This work was supported in part by a research grant from the Ministry of Science and Technology under Grant MOST 104-3115-E-011-001, Avalue Technology Inc., and the Department of Medical Research of National Taiwan University Hospital.
- WHO, World Health Report 2010, WHO, Geneva, Switzerland, 2010, http://whqlibdoc.who.int/whr/2010/9789241564021_eng.pdf.
- T. E. Kottke, P. Puska, J. T. Salonen, J. Tuomilehto, and A. Nissinen, “Projected effects of high-risk versus population-based prevention strategies in coronary heart disease,” American Journal of Epidemiology, vol. 121, no. 5, pp. 697–704, 1985.
- R. P. Tonino, “Effect of physical training on the insulin resistance of aging,” American Journal of Physiology—Endocrinology and Metabolism, vol. 256, pp. E352–E356, 1989.
- C. Krucoff, “Popular, low-cost pedometers: 10,000 steps to a better health,” The Seattle Times, 1999.
- C. Tudor-Locke and D. R. Bassett Jr., “How many steps/day are enough? Preliminary pedometer indices for public health,” Sports Medicine, vol. 34, no. 1, pp. 1–8, 2004.
- T. C. T. Ho and X. Chen, “ExerTrek: a portable handheld exercise monitoring, tracking and recommendation system,” in Proceedings of the 11th IEEE International Conference on e-Health Networking, Applications and Services (Healthcom '09), pp. 84–88, Sydney, Australia, December 2009.
- Z. Li, “Exercises intensity estimation based on the physical activities healthcare system,” in Proceedings of the IEEE International Conference on Communications and Mobile Computing, vol. 3, pp. 132–136, 2009.
- S. M. Fox and W. L. Haskell, “The exercise stress test: needs for standardization,” in Cardiology: Current Topics and Progress, M. Eliakim and H. N. Neufeld, Eds., pp. 149–154, Academic Press, New York, NY, USA, 6th edition, 1970.
- Y. Sun and X. Yu, “An innovative nonintrusive driver assistance system for vital signal monitoring,” IEEE Journal of Biomedical and Health Informatics, vol. 18, no. 6, pp. 1932–1939, 2014.
- E. Khan, F. Al Hossain, S. Z. Uddin, S. K. Alam, and M. K. Hasan, “A robust heart rate monitoring scheme using photoplethysmographic signals corrupted by intense motion artifacts,” IEEE Transactions on Biomedical Engineering, vol. 63, no. 3, pp. 550–562, 2016.
- D. D. He, E. S. Winokur, and C. G. Sodini, “An ear-worn vital signs monitor,” IEEE Transactions on Biomedical Engineering, vol. 62, no. 11, pp. 2547–2552, 2015.
- P. Gupta and T. Dallas, “Feature selection and activity recognition system using a single triaxial accelerometer,” IEEE Transactions on Biomedical Engineering, vol. 61, no. 6, pp. 1780–1786, 2014.
- J. Cheng, X. Chen, and M. Shen, “A framework for daily activity monitoring and fall detection based on surface electromyography and accelerometer signals,” IEEE Journal of Biomedical and Health Informatics, vol. 17, no. 1, pp. 38–45, 2013.
- U. Ryu, K. Ahn, E. Kim et al., “Adaptive step detection algorithm for wireless smart step counter,” in Proceedings of the International Conference on Information Science and Applications (ICISA '13), pp. 1–4, Suwon, Republic of Korea, June 2013.
- M. Oehler, V. Ling, K. Melhorn, and M. Schilling, “A multichannel portable ECG system with capacitive sensors,” Physiological Measurement, vol. 29, no. 7, pp. 783–793, 2008.
- T. Matsuda and M. Makikawa, “ECG monitoring of a car driver using capacitively-coupled electrodes,” in Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society, pp. 1315–1318, Vancouver, Canada, August 2008.
- H. J. Baek, G. S. Chung, K. K. Kim, and K. S. Park, “A smart health monitoring chair for nonintrusive measurement of biological signals,” IEEE Transactions on Information Technology in Biomedicine, vol. 16, no. 1, pp. 150–158, 2012.
- B. Eilebrecht, A. Schommartz, M. Walter, T. Wartzek, M. Czaplik, and S. Leonhardt, “A capacitive ECG array with visual patient feedback,” in Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology, pp. 6539–6542, Buenos Aires, Argentina, August-September 2010.
- J. Wannenburg and R. Malekian, “Body sensor network for mobile health monitoring, a diagnosis and anticipating system,” IEEE Sensors Journal, vol. 15, no. 12, pp. 6839–6852, 2015.
- C. Seeger, K. Van Laerhoven, and A. Buchmann, “MyHealthAssistant: an event-driven middleware for multiple medical applications on a smartphone-mediated body sensor network,” IEEE Journal of Biomedical and Health Informatics, vol. 19, no. 2, pp. 752–760, 2015.
- Bluetooth low energy, http://www.bluetooth.com/.
- Texas Instruments, http://www.ti.com/.
- D. Dobrev, T. Neycheva, and N. Mudrov, “Simple two-electrode biosignal amplifier,” Medical and Biological Engineering and Computing, vol. 43, no. 6, pp. 725–730, 2005.
- CC2541 bluetooth module, http://www.ti.com/product/cc2541.
- E. A. P. J. Prawiro, C.-C. Hu, Y.-S. Chan, C.-H. Chang, and Y.-H. Lin, “A heart rate detection method for low power exercise intensity monitoring device,” in Proceedings of the IEEE International Symposium on Bioelectronics and Bioinformatics (ISBB '14), pp. 1–4, April 2014.
- R. Libby, “A simple method for reliable footstep detection on embedded sensor platforms,” 2008.
- MIT-BIH ST Change Database, http://www.physionet.org/physiobank/database/mitdb.
- GE Website, http://www3.gehealthcare.com.
- B. Dijkstra, W. Zijlstra, E. Scherder, and Y. Kamsma, “Detection of walking periods and number of steps in older adults and patients with Parkinson's disease: accuracy of a pedometer and an accelerometry-based method,” Age and Ageing, vol. 37, no. 4, pp. 436–441, 2008.
- M. L. Moy, A. W. Janney, H. Q. Nguyen et al., “Use of pedometer and internet-mediated walking program in patients with chronic obstructive pulmonary disease,” Journal of Rehabilitation Research & Development, vol. 47, no. 5, pp. 485–496, 2010.
- X. Wang, Q. Gui, B. Liu, Z. Jin, and Y. Chen, “Enabling smart personalized healthcare: a hybrid mobile-cloud approach for ECG telemonitoring,” IEEE Journal of Biomedical and Health Informatics, vol. 18, no. 3, pp. 739–745, 2014.
Copyright © 2016 Eka Adi Prasetyo Joko Prawiro et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.