Next Article in Journal / Special Issue
Remote Patient Monitoring Using Radio Frequency Identification (RFID) Technology and Machine Learning for Early Detection of Suicidal Behaviour in Mental Health Facilities
Previous Article in Journal
Multi-Layer Blockchain-Based Security Architecture for Internet of Things
Previous Article in Special Issue
Batch Similarity Based Triplet Loss Assembled into Light-Weighted Convolutional Neural Networks for Medical Image Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Artificial-Intelligence-Enhanced Mobile System for Cardiovascular Health Management

1
School of Management, University of Science and Technology of China, Hefei 230026, China
2
HeartVoice Medical Technology, Hefei 230027, China
3
National Institute of Health Data Science at Peking University, Peking University, Beijing 100191, China
4
Institute of Medical Technology, Health Science Center of Peking University, Beijing 100191, China
5
Division of Life Science and Medicine, University of Science and Technology of China, Hefei 230026, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(3), 773; https://doi.org/10.3390/s21030773
Submission received: 21 December 2020 / Revised: 19 January 2021 / Accepted: 20 January 2021 / Published: 24 January 2021
(This article belongs to the Special Issue Healthcare Monitoring and Management with Artificial Intelligence)

Abstract

:
The number of patients with cardiovascular diseases is rapidly increasing in the world. The workload of existing clinicians is consequently increasing. However, the number of cardiovascular clinicians is declining. In this paper, we aim to design a mobile and automatic system to improve the abilities of patients’ cardiovascular health management while also reducing clinicians’ workload. Our system includes both hardware and cloud software devices based on recent advances in Internet of Things (IoT) and Artificial Intelligence (AI) technologies. A small hardware device was designed to collect high-quality Electrocardiogram (ECG) data from the human body. A novel deep-learning-based cloud service was developed and deployed to achieve automatic and accurate cardiovascular disease detection. Twenty types of diagnostic items including sinus rhythm, tachyarrhythmia, and bradyarrhythmia are supported. Experimental results show the effectiveness of our system. Our hardware device can guarantee high-quality ECG data by removing high-/low-frequency distortion and reverse lead detection with 0.9011 Area Under the Receiver Operating Characteristic Curve (ROC–AUC) score. Our deep-learning-based cloud service supports 20 types of diagnostic items, 17 of them have more than 0.98 ROC–AUC score. For a real world application, the system has been used by around 20,000 users in twenty provinces throughout China. As a consequence, using this service, we could achieve both active and passive health management through a lightweight mobile application on the WeChat Mini Program platform. We believe that it can have a broader impact on cardiovascular health management in the world.

1. Introduction

With the rapid development of the worldwide economy and the significant improvement in living standards, peoples’ average life expectancy has increased, which has led to substantial changes in the types of diseases in the population. For example, in China, cardiovascular diseases have become the leading cause of death, and the prevalence of such diseases in China continues to rise. According to the summary of the 2018 Report on Cardiovascular Diseases in China [1], the number of patients with cardiovascular diseases is 290 million.
With the development of health informatics [2,3], clinical data—including those obtained from electrocardiograms (ECGs), electroencephalograms (EEGs), magnetic resonance imaging, computerized tomography scans, and electronic health records (EHRs)—are digitized and stored [4,5] in a Health Informatics System. Among them, ECGs are the primary diagnostic tool for cardiovascular disease both inside and outside hospitals. Common ECG abnormalities such as atrial fibrillation and ventricular arrhythmia are associated with significant mortality and morbidity through the association of risk of death, stroke, hospitalization, heart failure, and coronary artery disease, among others [6,7,8,9,10]. An ECG can be used for diagnosing a wide range of heart diseases, including cardiac arrhythmia and acute coronary syndrome [11,12]. Similar diagnostic measurements, including body temperature, blood pressure, and blood glucose levels, cannot provide the same ability as an ECG to monitor heart health. In addition, unlike a blood glucose monitor, an ECG monitor is noninvasive. Thus, the introduction of an ECG into cardiovascular health management is promising.
Thus far, however, only a small number of successful cardiovascular health management applications based on an ECG have been developed. To understand the associated difficulties, three key challenges are summarized in this paper.
  • An ECG is difficult to acquire outside a hospital. In addition, ECG data are easily distorted by environmental noise, other electrical interference, or even irrelevant electrical human physiology activities. Meanwhile, high-quality ECG recorders are extremely large to be carried on a daily basis. If an ECG is noisy, it would only provide insufficient information as to a photoplethysmogram (PPG), which is an optically obtained plethysmogram that can be collected from a Mi Band or Apple Watch (before series 4). Although a PPG can detect rhythm-level abnormalities such as Atrial Fibrillation (AF), it cannot provide useful information regarding heartbeat level abnormalities [13] such as Premature Ventricular Contraction (PVC).
  • Most existing ECG monitors can only record data and do not have sufficient analytical capability. Hence, a vast majority of ECG data remain stored in databases that are never used again [14]. Existing diagnostic pattern recognition methods are quite complicated and require significant effort for their development. Hence, only a few institutions use such diagnostic functions in low-priced devices for use outside a hospital setting.
  • ECG diagnostic results are difficult to understand by ordinary users. Although there are a few cloud services that can provide analysis capabilities [15], the results include professional terminology, requiring a professional to interpret. Such terms are quite difficult to understand by typical users, thus, it is difficult to encourage ordinary people to use such tools for cardiovascular health management. Such devices require further development to make them acceptable to ordinary users.
To tackle the above challenges, in this paper, we propose an AI-enhanced mobile system for cardiovascular health management for use outside hospitals. Using this system, anyone can easily manage their cardiovascular health. Specifically, our system has the following unique characteristics:
  • We developed a mobile system with high-quality data acquisition. Our system consists of hardware devices and a cloud service. The hardware devices are sufficiently lightweight and can be carried throughout the day. Cloud services can be accessed anywhere using the Internet. Data quality is guaranteed by both the hardware design and software algorithms.
  • We improved the mobile system using advanced AI algorithms to provide accurate ECG diagnostic results. Our cardiovascular health management system can provide abundant diagnostic reports for ordinary people and doctors. We also deploy it as a cloud service. The entire medical industry can be made more efficient by equipping their ECGs with our cloud service.
  • The user interface of the system application is very easy possible. In detail, we built a lightweight mobile app based on the WeChat Mini Program, allowing users to learn how to use the system with little expense. In addition, we created a new heart health score to quantitatively understand the ECG diagnostic results in a similar way to how we interpret body temperature or blood pressure.
Thus far, our system has been used by around 20,000 users from twenty provinces in China. It can also have a broader impact on cardiovascular health management in the world.

2. Methods

2.1. Overview

The framework of our system is shown in Figure 1. The four critical components in the system are the users, hardware device, cloud service, and doctors. Users first apply our hardware device to collect ECG data; the collection process is displayed simultaneously on a mobile phone. The hardware device sends the data to the cloud service through a mobile phone, and the cloud service sends the automatic ECG analysis results back to the phone. Cardiovascular health management occurs in two ways: (1) actively, by consulting with a doctor; (2) passively, by triggering predefined conditions.
In the subsequent sections, we introduce the data acquisition, automatic ECG analysis, and design of the cardiovascular health management system in detail.

2.2. Data Acquisition

As the mobile system works outside a hospital, the main goal of the data acquisition is to guarantee data of a high quality and fidelity while also reducing the size of the recorder.

2.2.1. Hardware Design

Our prototype is shown in Figure 2. To acquire ECG data at any time and any location, we designed a small printed circuit board (PCB) for our particular purposes (the middle green board shown on the right side in the figure). Overall, our PCB integrates an ECG collection unit and a Bluetooth low energy (BLE) microcontroller unit. The ECG collection unit further integrates an instrumentation amplifier, two-pole high-pass filtering, and three-pole low-pass filtering. The cut-off frequencies of the filters are 0.5–40 Hz. The sampling frequency of the ECG collection unit is 125 Hz, which is sufficient for a human ECG, according to the Nyquist theorem [16] and the dominant power spectral density of the ECG [17]. In addition, our ECG collection unit can also automatically detect an empty signal when the lead drops. The BLE is used to transmit data from the hardware device to the mobile phone and provides considerably reduced power consumption and cost while maintaining a similar communication range [18]. A button battery powers the PCB.
Two circular metal plates are used as electrodes (also known as “leads”) to connect the body as a circuit between the thumbs. This type of connection is equivalent to Lead I in a standard 12-lead ECG system used in a hospital, which is one of the most significant leads. Each metal plate has numerous small bumps to increase the friction of the thumb, allowing for more stable use of the device and improving the quality of data acquisition.
Finally, we encapsulate the PCB, battery, and electrodes into a small portable hardware device (Figure 2, left). The device weighs approximately 10 g and has a length of 75 mm, width of 25 mm, and height of 4.5 mm. Thus, the device looks similar to a pack of chewing gum and is extremely easy to carry in daily life.

2.2.2. Improved Data Quality

In addition to previously introduced hardware designs to improve the data quality, we also consider the software design.
Prior to the data acquisition, we must ensure that the user’s thumbs are correctly placed on the negative and positive leads. Thus, we designed an AI model to automatically detect whether the thumbs placed on the leads are placed in the correct (0) or reversed (1) way. Our automatic ECG analysis model is similar to a deep neural network, but the final prediction layer is replaced with a sigmoid activation function, which we introduce in Section 2.3.
After the data acquisition, we postprocess the ECG based on digital signal processing [19,20]. We consider two types of distortion: high-frequency noise and low-frequency baseline wandering. High-frequency noise is usually generated by other electrical devices such as electrical watches or irrelevant physiological signals like electromyograms (EMGs). We apply a joint 50-Hz low-pass filter and a 60-Hz notch filter to eliminate high-frequency noise. A low-frequency baseline wandering occurs when physical movement is detected, and it is removed by a 0.67-Hz high-pass filter and moving average filter.

2.3. Automatic ECG Analysis with Artificial Intelligence (AI) and Pattern Recognition

2.3.1. Diagnosing an ECG through Deep Neural Network

Deep neural networks (or deep learning methods) have been the most popular AI methods in recent years and have achieved a state-of-the-art performance in many areas, including speech recognition, computer vision, and natural language processing [21]. AI techniques have recently shown significant potential in cardiology [22,23,24,25,26,27] owing to their ability to automatically learn effective features from data without the help of domain experts. When focusing on deep learning methods applying ECG data, various architectures have been proposed for disease detection [15,17,28,29,30,31,32,33,34,35,36,37,38], sleep staging [39,40], and biometric identification [41,42,43,44], among others (see a recent survey in [22]).
However, most of these methods have not attained the stage of practical usage because none have been deployed as a cloud service for cardiovascular health management. Herein, we introduce deep neural networks into ECG diagnosis to facilitate cardiovascular health management.
Our deep neural network is a hybrid of a Convolutional Neural Network (CNN) and a Recurrent Neural Network (RNN), which have shown efficient performance in the modeling of ECG data [22]. As shown in Figure 3, the input-long ECG recording is split into short segments, and each segment is transmitted through 32 layers of stacked one-dimensional convolutional layers to capture local ECG patterns and shifts. The convolutional layers share weights between different segments. These 32 convolutional layers are grouped into eight stages, where each stage is a cascade of four one-dimensional convolutional layers with a kernel size of 16. Every two convolutional layers are residually connected with a shortcut connection [45,46]. In each stage, the first convolutional layer downsamples the input length (the last dimension of the output size in Figure 3) by a factor of 2. Meanwhile, the corresponding shortcut connections also downsample the identity input using a max pooling operation by a factor of 2. The number of filters also increases after every two stages (second dimension of the output size in Figure 3). Before each convolution layer, a nonlinear transformation occurs, which is a combination of batch normalization [47], ReLU activation [48], and a dropout [49]. After eight stages of convolutional layers, the last dimension is reduced by the global average layer. One recurrent layer is then built on top of the convolutional layers to capture long-term variations. The final prediction layer is a fully connected dense layer used to obtain the probabilities of each diagnosis class. The objective of the model is a multilabel learning task because a single ECG recording can have multiple diagnosis results.
Our model supports 20 types of diagnostic items, including sinus rhythm, tachyarrhythmia, and bradyarrhythmia, summarized in Table 1. To train the model, we used the anonymous ECG recordings training set collected from the electrocardiology departments of several tertiary hospitals in China. Each ECG recording lasting from 20 s to several minutes.

2.3.2. Measuring ECG through Pattern Recognition

Pattern recognition methods play essential roles in traditional ECG analysis methods. They were developed and accepted by cardiologists during the past few decades. For example, ECG measurements are the most important primary step in the interpretation of an ECG by clinicians for the purpose of diagnosis. Such ECG measurements can describe what an ECG looks like (Figure 4). Although deep learning methods achieve superior performance in ECG diagnoses, they do not perform equally well in ECG measurements. In this study, we also implemented some pattern recognition methods to obtain ECG measurements, which serve as a supplement to deep learning methods.
A diagram of an ECG measurement is shown in Figure 4. For a long ECG recording, the ECG is first split into short beats using QRS complex detection. The P and T waves are then detected based on the beat level. After detecting the onset/peak/offset of the P/QRS/T waves, we can further calculate the following ECG measurements: P wave duration, PR interval, QRS interval, QT interval, QTc interval, T wave duration, atrial rate, and ventricular rate (also known as heart rate).

2.3.3. Deployment as a Cloud Service

We deployed deep learning models and pattern recognition methods on a cloud machine for use as cloud services. We used the Java Client TensorFlow Serving gRPC Application Programming Interface (API). The information transmitted between servers and clients is based on the HTTP protocol. One request of the HTTP includes a HEADER and POST. The HEADER includes authorization information. The authority is a unique token provided by the server. We use Tencent Cloud for our service.

2.4. Design of Cardiovascular Health Management

We will now introduce our designed cardiovascular health management system based on previous techniques. Our goal is to provide easy-to-use cardiovascular health management for everyone.
We built a lightweight mobile application based on the WeChat Mini Program, the most popular mobile App in China. This allows users to learn how to use the system at nearly zero cost. We then propose both active and passive methods for health management.

2.4.1. Passive Health Management

For passive health management, the mobile system will automatically detect notable events and alert the user. To achieve this, we first consider the critical value of the indications [50,51,52] and create a new cardiovascular health score. The mapping of diagnostic indications to such scores is shown in Table 2. The score is 100 if no abnormality is detected, and values are subtracted upon detecting corresponding diagnosis items. Subsequently, as advised by cardiologists, we proposed two conditions that require further actions by a doctor: lower than 85 points for two consecutive measurements and lower than 90 points for three measurements, in the most recent five measurements. The heart health score is used as a bridge between outside the hospital and inside the hospital.

2.4.2. Active Health Management

Active health management provides sufficient information based on previous techniques, but it requires users or doctors to initiate health management. Our application can provide a retrospective analysis of historical ECG data commonly used in the medical area. Specifically, our retrospective analysis includes statistics of diagnostic results from a deep learning model, ECG measurements, average beats, heart rate variation (HRV), and a scatterplot of RR intervals. These retrospective analyses are summarized as a unified report and shared with users through WeChat each week. In addition, users can also consult their doctors directly online, accompanied with their reports. Doctors can also estimate the cardiovascular health conditions of the patients more efficiently and take action as quickly as possible.

3. Results and Discussion

In this section, we describe the results of methods mentioned earlier, including data-quality improvement (removing high-/low-frequency distortion and reverse lead detection), the efficiency of the cloud service, and the performance of the automatic ECG analysis (deep learning model and pattern recognition method). Finally, we describe a demonstration of health management reports from real-world applications.

3.1. Data-Quality Improvement

Data-quality improvement consists of three parts: removing high-frequency noise, low-frequency baseline wandering, and reverse lead detection.
Figure 5 shows the results of removing high-frequency noise. The top figure shows raw contaminated ECG data with the noise. After postprocessing the ECG data based on a digital signal filter introduced in Section 2.2.2, the output ECG data are smoother without jitters (bottom figure). Figure 6 shows the results of removing low-frequency baseline wandering. The top figure shows raw contaminated ECG data with low-frequency baseline wandering. The bottom figure shows clean data with a stable baseline. Meanwhile, in Figure 5 and Figure 6, we can still clearly recognize a P wave, QRS complex, and T wave in the clean data. Hence, important information is retained to better support the following automatic ECG analysis.
The performance of reverse lead detection is shown in Figure 7. We tested the detector on 5479 ECG recordings from our hardware device, wherein 2748 ECG recordings were correct (0) and 2748 were reversed (1). The figure on the left shows the receiver operating characteristic (ROC) curve, in which the x-axis represents a false positive rate, and the y-axis represents a true positive rate. The ROC–AUC score, which is the area under the ROC curve, is 0.9011. The performance suggests that our reverse lead detector has a good ability to distinguish a correct lead from a reverse lead. The results of other classification evaluations are shown in the right side of the table.

3.2. Efficiency

To validate the efficiency of a cloud service, we conducted a stress test using Apache Jmeter [53]. We prepared 16,000 samples of simulated 30-s single-lead ECG recordings and operated the stress test from the local machine to the cloud service. Each cloud server is equipped with a 4-core Intel Xeon Sliver 4110 (2.1 GHz) with 20 GB RAM and a Tesla P4 GPU for model inference. The results are shown in Figure 8. The figure on the left shows the distribution of the process time. We can see that 99% of the requests can be returned within less than 5 s. The table on the right shows the test summary. We can see that the total throughput is 2.9 records per second, which means that our cloud service can analyze approximately 250,000 30-s ECG recordings per day.

3.3. Performance of Automatic ECG Analysis

We first tested our deep learning model on a hold-out test set, which was not used to train the model. The test set includes 15,437 anonymous ECG recordings collected from several tertiary hospitals in China. The lead we used is the same lead between limbs, and down-sample a raw ECG to 125 Hz. Each ECG recording was annotated and revised by at least two cardiologists. We extracted the final diagnostic items as ground-truth labels, which covered all of our supported diagnostic items. The results are shown in Table 3. Almost all items achieve higher than 0.95 ROC–AUC scores except Sinus Rhythm, which is a broad group containing various situations. Notably, 17 of them are higher than 0.98. These results suggest that our deep learning model can predict cardiovascular abnormalities from an ECG with extremely high accuracy.
We then evaluate the performance of wave detection. As annotating P/QRS/T waves is time-consuming, we conducted an evaluation through a case study. Figure 9 shows a random case of wave detection. Every three consecutive dashed lines indicate the onset, peak, and offset of P/QRS/T waves. This case suggests reasonable boundaries of P/QRS/T waves. More cases can be provided upon request.

3.4. Demonstration

Finally, we show some screenshots of our mobile health management WeChat Mini Program. The left-most image in Figure 10 shows the process of ECG collection. The six figures on the right show the analysis results (a), history data (b), average beats (c), HRV trend (d), ECG measurements (e), and scatterplot (f). All interfaces are kept as simple as possible by removing unnecessary contents, aiming to provide clear and easy-to-understand information to ordinary users.

3.5. Discussion

This paper proposes a mobile system for cardiovascular health management enhanced with AI. It has achieved initial success in China. The comparison of similar products around the world is shown in Table 4. Overall, our device is smaller and lighter, while supporting more diagnostic items. Although this devices does not use a rechargeable lithium battery, the working power consumption is only 50 uA, while sleeping power consumption is 0.5 uA. It is estimated to be used for one month with one button cell (CR2016). Our next generation product equipped with a rechargeable lithium battery is on the way. Besides, as shown in Figure 1, the AI algorithm, databases, and health management are provided by cloud service, so the requirement of memory storage is very little.
Our system has several limitations. First, our hardware device is not wearable; therefore, it cannot collect ECG data continuously. Thus, some paroxysmal cardiovascular diseases might be overlooked. The second limitation is the opaque mechanism of deep learning models. Our model contains millions of trainable parameters and nonlinear connections. It is complicated and cannot be fully understood by doctors. To alleviate this, we also designed attention mechanisms [54] in convolutional and recurrent layers. This allows users to determine the model’s mechanism by visualizing the attention weights. However, considerable time is required to fully comprehend the deep learning models.
In the future, we plan to promote both the hardware and software techniques. For the hardware, we will design a more convenient ECG data acquisition tool, for example, a comfortable wearable device that can be placed on the skin throughout the day. The ECG data collection can thus last for the entire day, allowing more paroxysmal cardiovascular diseases to be detected. For the software, we plan to implement other advanced AI techniques based on machine learning and data mining research. For example, we plan to use ensemble learning to further improve the model’s performance. We also plan to implement semisupervised learning for better use of unlabeled data.

4. Conclusions

In this paper, we proposed a mobile system for cardiovascular health management. We developed a portable system with high-quality data acquisition for use in a natural environment. We improved the mobile system using advanced AI algorithms to provide accurate ECG diagnostic results. The user interface of the system application is easy-to-use for the elderly population. Hence, ordinary people can easily apply it as a powerful tool to manage their cardiovascular health.

Author Contributions

Conceptualization, Z.F. and S.H.; data curation, Z.F., S.H. and R.Z.; funding acquisition, Z.F. and S.D.; investigation, Z.F.; methodology, Z.F. and S.H.; project administration, Z.F. and S.D.; validation, R.Z.; visualization, S.H.; writing—original draft, Z.F. and S.H.; writing—review and editing, Z.F., S.H., R.Z. and S.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Natural Science Foundation of China (Grant Nos. 72071193, 71631006, 71921001), and Top-Notch Young Talents Program of China. We thank Elsevier Language Editing Services for English language editing.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset used to support the findings of this study are available on request from the corresponding author.

Acknowledgments

We thank Rongbo Zhou, Jie Yu, Yanqi E, Yongkui Li, Kai Wang, Guanlin Cheng, Kaixiang Wu, Guodong Wei from HeartVoice Medical Technology for their valuable discussions and contributions of this work.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial Intelligence
AEAtrial Escape
AFAtrial Fibrillation
AFLAtrial Flutter
AVBIFirst Degree Atrioventricular Block
AVBIISecond Degree Atrioventricular Block
AVBIIIThird Degree Atrioventricular Block
BLEBluetooth low energy
CNNConvolutional Neural Network
ECGsElectrocardiograms
EEGsElectroencephalograms
EHRsElectronic health records
EMGsElectromyograms
HRVHeart rate variation
IoTInternet of Things
JEJunctional Escape
LBBBLeft Bundle Branch Block
PACPremature Atrial Contraction
PCBPrinted circuit board
PJCPremature Junctional Contraction
PPGPhotoplethysmogram
PVCPremature Ventricular Contraction
RBBBRight Bundle Branch Block
RNNRecurrent Neural Network
ROCReceiver operating characteristic
ROC–AUCArea Under the Receiver Operating Characteristic Curve
SNSinus Rhythm
SNASinus Arrhythmia
SNBSinus Bradycardia
SNTSinus Tachycardia
SVTSupraventricular Tachycardia
VEVentricular Escape
VTVentricular Tachycardia
WPWWolff-Parkinson-White Syndrome

References

  1. Hu, S.; Gao, R.; Liu, L.; Zhu, M.; Wang, W.; Wang, Y.; Wu, Z.; Li, H.; Gu, D.; Yang, Y.; et al. Summary of the 2018 Report on Cardiovascular Diseases in China. Chin. Circ. J. 2019, 34, 209–220. [Google Scholar]
  2. Bath, P.A. Health informatics: Current issues and challenges. J. Inf. Sci. 2008, 34, 501–518. [Google Scholar] [CrossRef] [Green Version]
  3. Agarwal, R.; Gao, G.; DesRoches, C.; Jha, A.K. Research commentary—The digital transformation of healthcare: Current status and the road ahead. Inf. Syst. Res. 2010, 21, 796–809. [Google Scholar] [CrossRef] [Green Version]
  4. Lei, J.; Meng, Q.; Li, Y.; Liang, M.; Zheng, K. The evolution of medical informatics in China: A retrospective study and lessons learned. Int. J. Med. Inform. 2016, 92, 8–14. [Google Scholar] [CrossRef] [PubMed]
  5. Yip, W.; Fu, H.; Chen, A.T.; Zhai, T.; Jian, W.; Xu, R.; Pan, J.; Hu, M.; Zhou, Z.; Chen, Q.; et al. 10 years of health-care reform in China: Progress and gaps in universal health coverage. Lancet 2019, 394, 1192–1204. [Google Scholar] [CrossRef]
  6. Benjamin, E.J.; Virani, S.S.; Callaway, C.W.; Chamberlain, A.M.; Chang, A.R.; Cheng, S.; Chiuve, S.E.; Cushman, M.; Delling, F.N.; Deo, R.; et al. Heart Disease and Stroke Statistics 2018 Update: A Report from the American Heart Association. Circulation 2018, 137, e67–e492. [Google Scholar] [CrossRef] [PubMed]
  7. Camm, A.J.; Kirchhof, P.; Lip, G.Y.; Schotten, U.; Savelieva, I.; Ernst, S.; Van Gelder, I.C.; Al-Attar, N.; Hindricks, G.; Prendergast, B.; et al. Guidelines for the Management of Atrial Fibrillation: The Task Force for the Management of Atrial Fibrillation of the European Society of Cardiology (ESC). Eur. Heart J. 2010, 31, 2369–2429. [Google Scholar] [PubMed]
  8. Mozaffarian, D.; Benjamin, E.J.; Go, A.S.; Arnett, D.K.; Blaha, M.J.; Cushman, M.; Das, S.R.; de Ferranti, S.; Després, J.P.; Fullerton, H.J.; et al. Heart disease and stroke statistics—2016 Update: A report from the American Heart Association. Circulation 2015, 133, e38–e360. [Google Scholar] [CrossRef] [PubMed]
  9. Al-Khatib, S.M.; Stevenson, W.G.; Ackerman, M.J.; Bryant, W.J.; Callans, D.J.; Curtis, A.B.; Deal, B.J.; Dickfeld, T.; Field, M.E.; Fonarow, G.C.; et al. 2017 AHA/ACC/HRS guideline for management of patients with ventricular arrhythmias and the prevention of sudden cardiac death: A report of the American College of Cardiology/American Heart Association Task Force on Clinical Practice Guidelines and the Heart Rhythm Society. J. Am. Coll. Cardiol. 2018, 72, e91–e220. [Google Scholar]
  10. Lip, G.; Fauchier, L.; Freedman, S.; Gelder, I.V.; Natale, A.; Gianni, C.; Nattel, S.; Potpara, T.; Rienstra, M.; Tse, H.; et al. Atrial Fibrillation. Nat. Rev. Dis. Prim. 2016, 2, 16016. [Google Scholar] [CrossRef] [Green Version]
  11. Yanowitz, F.G. Introduction to ECG Interpretation; LDS Hospital and Intermountain Medical Center: Salt Lake City, UT, USA, 2012. [Google Scholar]
  12. Garcia, T.B. Introduction to 12-Lead ECG: The Art of Interpretation; Jones & Bartlett Learning: Burlington, MA, USA, 2014. [Google Scholar]
  13. Lu, G.; Yang, F.; Taylor, J.; Stein, J. A comparison of photoplethysmography and ECG recording to analyse heart rate variability in healthy subjects. J. Med. Eng. Technol. 2009, 33, 634–641. [Google Scholar] [CrossRef] [PubMed]
  14. Obermeyer, Z.; Emanuel, E.J. Predicting the future—Big data, machine learning, and clinical medicine. N. Engl. J. Med. 2016, 375, 1216. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Hong, S.; Fu, Z.; Zhou, R.; Yu, J.; Li, Y.; Wang, K.; Cheng, G. CardioLearn: A Cloud Deep Learning Service for Cardiac Disease Detection from Electrocardiogram. In Proceedings of the Companion Proceedings of the Web Conference 2020, Taipei, Taiwan, 20–24 April 2020; pp. 148–152. [Google Scholar]
  16. Nyquist, H. Certain topics in telegraph transmission theory. Trans. Am. Inst. Electr. Eng. 1928, 47, 617–644. [Google Scholar] [CrossRef]
  17. Hong, S.; Xiao, C.; Ma, T.; Li, H.; Sun, J. MINA: Multilevel knowledge-guided attention for modeling electrocardiography signals. In Proceedings of the 28th International Joint Conference on Artificial Intelligence, Macao, China, 10–16 August 2019; AAAI Press: Menlo Park, CA, USA, 2019; pp. 5888–5894. [Google Scholar]
  18. Gomez, C.; Oller, J.; Paradells, J. Overview and evaluation of bluetooth low energy: An emerging low-power wireless technology. Sensors 2012, 12, 11734–11753. [Google Scholar] [CrossRef]
  19. Levkov, C.; Mihov, G.; Ivanov, R.; Daskalov, I.; Christov, I.; Dotsinsky, I. Removal of power-line interference from the ECG: A review of the subtraction procedure. BioMed Eng. OnLine 2005, 4, 50. [Google Scholar] [CrossRef] [Green Version]
  20. Yazdanpanah, H.; Diniz, P.S.; Lima, M.V. Feature Adaptive Filtering: Exploiting Hidden Sparsity. IEEE Trans. Circuits Syst. I Regul. Pap. 2020. [Google Scholar] [CrossRef]
  21. LeCun, Y.; Bengio, Y.; Hinton, G.E. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
  22. Hong, S.; Zhou, Y.; Shang, J.; Xiao, C.; Sun, J. Opportunities and challenges of deep learning methods for electrocardiogram data: A systematic review. Comput. Biol. Med. 2020, 103801. [Google Scholar] [CrossRef]
  23. Johnson, K.W.; Soto, J.T.; Glicksberg, B.S.; Shameer, K.; Miotto, R.; Ali, M.; Ashley, E.; Dudley, J.T. Artificial intelligence in cardiology. J. Am. Coll. Cardiol. 2018, 71, 2668–2679. [Google Scholar] [CrossRef]
  24. Litjens, G.; Ciompi, F.; Wolterink, J.M.; de Vos, B.D.; Leiner, T.; Teuwen, J.; Išgum, I. State-of-the-Art Deep Learning in Cardiovascular Image Analysis. JACC Cardiovasc. Imaging 2019, 12, 1549–1565. [Google Scholar] [CrossRef]
  25. Mincholé, A.; Camps, J.; Lyon, A.; Rodríguez, B. Machine learning in the electrocardiogram. J. Electrocardiol. 2019, 57, S61–S64. [Google Scholar] [CrossRef] [PubMed]
  26. Parvaneh, S.; Rubin, J. Electrocardiogram monitoring and interpretation: From traditional machine learning to deep learning, and their combination. In Proceedings of the 2018 IEEE Computing in Cardiology Conference (CinC), Maastricht, The Netherlands, 23–26 September 2018; Volume 45, pp. 1–4. [Google Scholar]
  27. Parvaneh, S.; Rubin, J.; Babaeizadeh, S.; Xu-Wilson, M. Cardiac arrhythmia detection using deep learning: A review. J. Electrocardiol. 2019, 57, S70–S74. [Google Scholar] [CrossRef] [PubMed]
  28. Hong, S.; Wu, M.; Zhou, Y.; Wang, Q.; Shang, J.; Li, H.; Xie, J. ENCASE: An ENsemble ClASsifiEr for ECG classification using expert features and deep neural networks. In Proceedings of the 2017 IEEE Computing in Cardiology (cinc), Rennes, France, 24–27 September 2017; pp. 1–4. [Google Scholar]
  29. Hong, S.; Zhou, Y.; Wu, M.; Shang, J.; Wang, Q.; Li, H.; Xie, J. Combining deep neural networks and engineered features for cardiac arrhythmia detection from ECG recordings. Physiol. Meas. 2019, 40, 054009. [Google Scholar] [CrossRef] [PubMed]
  30. Hannun, A.Y.; Rajpurkar, P.; Haghpanahi, M.; Tison, G.H.; Bourn, C.; Turakhia, M.P.; Ng, A.Y. Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nat. Med. 2019, 25, 65. [Google Scholar] [CrossRef] [PubMed]
  31. Raghunath, S.; Cerna, A.E.U.; Jing, L.; Stough, J.; Hartzel, D.N.; Leader, J.B.; Kirchner, H.L.; Stumpe, M.C.; Hafez, A.; Nemani, A.; et al. Prediction of mortality from 12-lead electrocardiogram voltage data using a deep neural network. Nat. Med. 2020, 1–6. [Google Scholar] [CrossRef] [PubMed]
  32. Attia, Z.I.; Kapa, S.; Lopez-Jimenez, F.; McKie, P.M.; Ladewig, D.J.; Satam, G.; Pellikka, P.A.; Enriquez-Sarano, M.; Noseworthy, P.A.; Munger, T.M.; et al. Screening for cardiac contractile dysfunction using an artificial intelligence—Enabled electrocardiogram. Nat. Med. 2019, 25, 70–74. [Google Scholar] [CrossRef] [PubMed]
  33. Attia, Z.I.; Noseworthy, P.A.; Lopez-Jimenez, F.; Asirvatham, S.J.; Deshmukh, A.J.; Gersh, B.J.; Carter, R.E.; Yao, X.; Rabinstein, A.A.; Erickson, B.J.; et al. An artificial intelligence-enabled ECG algorithm for the identification of patients with atrial fibrillation during sinus rhythm: A retrospective analysis of outcome prediction. Lancet 2019, 394, 861–867. [Google Scholar] [CrossRef]
  34. Tison, G.H.; Zhang, J.; Delling, F.N.; Deo, R.C. Automated and interpretable patient ECG profiles for disease detection, tracking, and discovery. Circ. Cardiovasc. Qual. Outcomes 2019, 12, e005289. [Google Scholar] [CrossRef]
  35. Han, X.; Hu, Y.; Foschini, L.; Chinitz, L.; Jankelson, L.; Ranganath, R. Deep learning models for electrocardiograms are susceptible to adversarial attack. Nat. Med. 2020, 1–4. [Google Scholar] [CrossRef]
  36. Ribeiro, A.H.; Ribeiro, M.H.; Paixão, G.M.; Oliveira, D.M.; Gomes, P.R.; Canazart, J.A.; Ferreira, M.P.; Andersson, C.R.; Macfarlane, P.W.; Wagner, M., Jr.; et al. Automatic diagnosis of the 12-lead ECG using a deep neural network. Nat. Commun. 2020, 11, 1–9. [Google Scholar] [CrossRef] [Green Version]
  37. Zhou, Y.; Hong, S.; Shang, J.; Wu, M.; Wang, Q.; Li, H.; Xie, J. K-margin-based Residual-Convolution-Recurrent Neural Network for Atrial Fibrillation Detection. In Proceedings of the Tweenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI), Macao, China, 10–16 August 2019; pp. 6057–6063. [Google Scholar]
  38. Zhou, Y.; Hong, S.; Shang, J.; Wu, M.; Wang, Q.; Li, H.; Xie, J. Addressing Noise and Skewness in Interpretable Health-Condition Assessment by Learning Model Confidence. Sensors 2020, 20, 7307. [Google Scholar] [CrossRef] [PubMed]
  39. Erdenebayar, U.; Kim, Y.J.; Park, J.U.; Joo, E.Y.; Lee, K.J. Deep learning approaches for automatic detection of sleep apnea events from an electrocardiogram. Comput. Methods Programs Biomed. 2019, 180, 105001. [Google Scholar] [CrossRef] [PubMed]
  40. Li, K.; Pan, W.; Li, Y.; Jiang, Q.; Liu, G. A method to detect sleep apnea based on deep neural network and hidden markov model using single-lead ECG signal. Neurocomputing 2018, 294, 94–101. [Google Scholar] [CrossRef]
  41. Zhang, Q.; Zhou, D.; Zeng, X. HeartID: A multiresolution convolutional neural network for ECG-based biometric human identification in smart health applications. IEEE Access 2017, 5, 11805–11816. [Google Scholar] [CrossRef]
  42. Labati, R.D.; Muñoz, E.; Piuri, V.; Sassi, R.; Scotti, F. Deep-ECG: Convolutional neural networks for ECG biometric recognition. Pattern Recognit. Lett. 2019, 126, 78–85. [Google Scholar] [CrossRef]
  43. Li, Y.; Pang, Y.; Wang, K.; Li, X. Toward improving ECG biometric identification using cascaded convolutional neural networks. Neurocomputing 2020, 391, 83–95. [Google Scholar] [CrossRef]
  44. Hong, S.; Wang, C.; Fu, Z. CardioID: Learning to identification from electrocardiogram data. Neurocomputing 2020, 412, 11–18. [Google Scholar] [CrossRef]
  45. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
  46. He, K.; Zhang, X.; Ren, S.; Sun, J. Identity mappings in deep residual networks. In European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2016; pp. 630–645. [Google Scholar]
  47. Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv 2015, arXiv:1502.03167. [Google Scholar]
  48. Glorot, X.; Bordes, A.; Bengio, Y. Deep sparse rectifier neural networks. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, Fort Lauderdale, FL, USA, 11–13 April 2011; pp. 315–323. [Google Scholar]
  49. Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
  50. Lundberg, G. When to panic over abnormal values. MLO Med. Lab. Obs. 1972, 4, 47–54. [Google Scholar]
  51. Tillman, J.; Barth, J. A survey of laboratory’critical (alert) limits’ in the UK. Ann. Clin. Biochem. 2003, 40, 181–184. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  52. Dighe, A.S.; Jones, J.B.; Parham, S.; Lewandrowski, K.B. Survey of critical value reporting and reduction of false-positive critical value results. Arch. Pathol. Lab. Med. 2008, 132, 1666–1671. [Google Scholar] [PubMed]
  53. Foundation, A.S. Apache JMeter. Available online: https://jmeter.apache.org (accessed on 1 October 2019).
  54. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems; Proceedings of Machine Learning Research: New York, NY, USA, 2017; pp. 5998–6008. [Google Scholar]
Figure 1. Framework of our mobile cardiovascular health management system. It consists of four critical components: users, hardware device, cloud service, and doctors. The role of active management and passive management are also presented.
Figure 1. Framework of our mobile cardiovascular health management system. It consists of four critical components: users, hardware device, cloud service, and doctors. The role of active management and passive management are also presented.
Sensors 21 00773 g001
Figure 2. Design of electrocardiogram (ECG) data acquisition hardware.
Figure 2. Design of electrocardiogram (ECG) data acquisition hardware.
Sensors 21 00773 g002
Figure 3. Architecture of the deep neural network for ECG diagnosis. RNN-Recurrent Neural Network; CNN—Convolutional Neural Network. *—User defined batch size.
Figure 3. Architecture of the deep neural network for ECG diagnosis. RNN-Recurrent Neural Network; CNN—Convolutional Neural Network. *—User defined batch size.
Sensors 21 00773 g003
Figure 4. Diagram of ECG measurement based on pattern recognition.
Figure 4. Diagram of ECG measurement based on pattern recognition.
Sensors 21 00773 g004
Figure 5. Results of removing high-frequency noise. (Top) raw data; (Bottom) clean data.
Figure 5. Results of removing high-frequency noise. (Top) raw data; (Bottom) clean data.
Sensors 21 00773 g005
Figure 6. Results of removing low-frequency baseline wandering. (Top) raw data; (Bottom) clean data.
Figure 6. Results of removing low-frequency baseline wandering. (Top) raw data; (Bottom) clean data.
Sensors 21 00773 g006
Figure 7. Performance of reverse lead detection. ROC–AUC—Area Under the Receiver Operating Characteristic Curve.
Figure 7. Performance of reverse lead detection. ROC–AUC—Area Under the Receiver Operating Characteristic Curve.
Sensors 21 00773 g007
Figure 8. Results of the cloud service efficiency test.
Figure 8. Results of the cloud service efficiency test.
Sensors 21 00773 g008
Figure 9. Results of ECG measurements based on pattern recognition. Every three consecutive dashed lines indicate the onset, peak, and offset of the P/QRS/T waves.
Figure 9. Results of ECG measurements based on pattern recognition. Every three consecutive dashed lines indicate the onset, peak, and offset of the P/QRS/T waves.
Sensors 21 00773 g009
Figure 10. Demonstration of user interfaces based on WeChat Mini Program. (a): analysis results; (b): history data; (c): average beats; (d): HRV trend; (e): ECG measurements; (f)): scatterplot.
Figure 10. Demonstration of user interfaces based on WeChat Mini Program. (a): analysis results; (b): history data; (c): average beats; (d): HRV trend; (e): ECG measurements; (f)): scatterplot.
Sensors 21 00773 g010
Table 1. Items of ECG diagnosis supported by our deep neural network.
Table 1. Items of ECG diagnosis supported by our deep neural network.
GroupSubgroupNameAbbr.
Sinus RhythmSinus RhythmSinus RhythmSN
Sinus AbnormalitySinus ArrhythmiaSNA
Sinus TachycardiaSNT
Sinus BradycardiaSNB
TachyarrhythmiaPremature BeatPremature Ventricular ContractionPVC
Premature Junctional ContractionPJC
Premature Atrial ContractionPAC
TachycardiaVentricular TachycardiaVT
Supraventricular TachycardiaSVT
Flutter and FibrillationAtrial FlutterAFL
Atrial FibrillationAF
Pre-excitationWolff–Parkinson–White SyndromeWPW
BradyarrhythmiaEscape BeatVentricular EscapeVE
Atrial EscapeAE
Junctional EscapeJE
Atrioventricular BlockFirst Degree Atrioventricular BlockAVBI
Second Degree Atrioventricular BlockAVBII
Third Degree Atrioventricular BlockAVBIII
Intraventricular BlockLeft Bundle Branch BlockLBBB
Right Bundle Branch BlockRBBB
Table 2. Categories and critical values of diagnostic items.
Table 2. Categories and critical values of diagnostic items.
CategoryDiagnosis Items (Critical Value)
No RiskSN (0)
Medium-low RiskSNA (2), SNT (5), SNB (5)
Medium RiskLBBB (9), PVC (12), PJC (12), PAC (12), RBBB (15)
Medium-high RiskWPW (16), VE (16), AE (16), JE (16), AVBI (16), AFL (25), AF (25), AVBII (25)
High RiskVT (50), SVT (50), AVBIII (50)
Table 3. Performance of our deep neural network on the test set.
Table 3. Performance of our deep neural network on the test set.
Abbr.AccuracyPrecisionRecallF1ROC–AUC
SN0.98620.98810.99780.99290.8948
SNA0.95530.49770.64790.56290.9564
SNT0.98880.88000.87610.87800.9948
SNB0.98420.86850.94130.90340.9968
PVC0.99460.86590.85050.85820.9852
PJC0.99770.14290.55560.22730.9973
PAC0.98610.67710.83200.74660.9855
VT0.99970.83330.55560.66670.9916
SVT0.99750.48650.50000.49320.9894
AFL0.99840.74070.55560.63490.9967
AF0.99740.89410.87860.88630.9989
WPW0.99890.83330.69440.75760.9954
VE0.99900.21051.00000.34780.9992
AE0.99800.09380.75000.16670.9968
JE0.99880.61900.56520.59090.9967
AVBI0.99630.68380.81630.74420.9973
AVBII0.99930.77780.46670.58330.9967
AVBIII0.99970.87500.70000.77780.9974
LBBB0.99840.77050.82460.79660.9837
RBBB0.99110.87760.68040.76650.9616
Table 4. Comparison of similar products.
Table 4. Comparison of similar products.
SupplierOursiRhythmAppleQardio
ModelE-HA03Zio SR PatchApple WatchQardioCore
User InterfaceWeChat Mini-Program/iOSiOS
LeadSingle-leadSingle-leadSingle-lead3-leads
CarryingPortablePatchWristChest
Diagnostic itemsSN, SNA, SNT, SNB, PVC, PJC, PAC, VT, SVT, AFL, AF, WPW, VE, AE, JE, AVBI, AVBII, AVBIII, LBBB, RBBBSN, AF, AFL, VT, SVT, VE, PVC, PAUSE, AVBSN, AFSN, AF, SNB, SNT, PAUSE
TransmissionBluetooth//Bluetooth
BatteryButton CellLithiumLithiumLithium
Size (mm)75 × 26 × 6110 × 60 × 20/185 × 87 × 9
Weight12 g34 g56 g130 g
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fu, Z.; Hong, S.; Zhang, R.; Du, S. Artificial-Intelligence-Enhanced Mobile System for Cardiovascular Health Management. Sensors 2021, 21, 773. https://doi.org/10.3390/s21030773

AMA Style

Fu Z, Hong S, Zhang R, Du S. Artificial-Intelligence-Enhanced Mobile System for Cardiovascular Health Management. Sensors. 2021; 21(3):773. https://doi.org/10.3390/s21030773

Chicago/Turabian Style

Fu, Zhaoji, Shenda Hong, Rui Zhang, and Shaofu Du. 2021. "Artificial-Intelligence-Enhanced Mobile System for Cardiovascular Health Management" Sensors 21, no. 3: 773. https://doi.org/10.3390/s21030773

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop