Processing math: 100%
Research article Special Issues

Precise detection and localization of R-peaks from ECG signals


  • Heart rate variability (HRV) is derived from the R-R interval, which depends on the precise localization of R-peaks within an electrocardiogram (ECG) signal. However, current algorithm assessment methods prioritize the R-peak detection's sensitivity rather than the precision of pinpointing the exact R-peak positions. As a result, it is of great value to develop an R-peak detection algorithm with high-precision R-peak localization. This paper introduces a novel R-peak localization algorithm that involves modifications to the well-established Pan-Tompkins (PT) algorithm. The algorithm was implemented as follows. First, the raw ECG signal X(i) was band-pass filtered (5–35 Hz) to obtain a preprocessed signal Y(i). Second, Y(i) was squared to enhance the QRS complex, followed by a 5 Hz low-pass filter to obtain the QRS envelope, which was transformed into a window signal W(i) by dynamic threshold with a minimum width of 200 ms to mark the QRS complex. Third, Y(i) was used to generate QRS template T(n) automatically, and then the R-peak was identified by a template matching process to find the maximum absolute value of all cross-correlation values between T(n) and Y(i). The proposed algorithm achieved a sensitivity (SE) of 99.78%, a positive prediction value (PPV) of 99.78% and data error rate (DER) of 0.44% in R-peak localization for the MIT-BIH Arrhythmia database. The annotated-detected error (ADE), which represents the error between the annotated R-peak location and the detected R-peak location, was 8.35 ms for the MIT-BIH Arrhythmia database. These results outperformed the results obtained using the classical Pan-Tompkins algorithm which yielded an SE of 98.87%, a PPV of 99.14%, a DER of 1.98% and an ADE of 21.65 ms for the MIT-BIH Arrhythmia database. It can be concluded that the algorithm can precisely detect the location of R-peaks and may have the potential to enhance clinical applications of HRV analysis.

    Citation: Diguo Zhai, Xinqi Bao, Xi Long, Taotao Ru, Guofu Zhou. Precise detection and localization of R-peaks from ECG signals[J]. Mathematical Biosciences and Engineering, 2023, 20(11): 19191-19208. doi: 10.3934/mbe.2023848

    Related Papers:

    [1] James C. L. Chow . Recent progress in Monte Carlo simulation on gold nanoparticle radiosensitization. AIMS Biophysics, 2018, 5(4): 231-244. doi: 10.3934/biophy.2018.4.231
    [2] Masoud Jabbary, Hossein Rajabi . High-resolution phantom of a nephron for radiation nephrotoxicity evaluation in biophysical simulations. AIMS Biophysics, 2022, 9(2): 147-160. doi: 10.3934/biophy.2022013
    [3] Tomohiro Yanao, Sosuke Sano, Kenichi Yoshikawa . Chiral selection in wrapping, crossover, and braiding of DNA mediated by asymmetric bend-writhe elasticity. AIMS Biophysics, 2015, 2(4): 666-694. doi: 10.3934/biophy.2015.4.666
    [4] Panisak Boonamnaj, Pornthep Sompornpisut, Piyarat Nimmanpipug, R.B. Pandey . Thermal denaturation of a coronavirus envelope (CoVE) protein by a coarse-grained Monte Carlo simulation. AIMS Biophysics, 2022, 9(4): 330-340. doi: 10.3934/biophy.2022027
    [5] Warin Rangubpit, Sunan Kitjaruwankul, Panisak Boonamnaj, Pornthep Sompornpisut, R.B. Pandey . Globular bundles and entangled network of proteins (CorA) by a coarse-grained Monte Carlo simulation. AIMS Biophysics, 2019, 6(2): 68-82. doi: 10.3934/biophy.2019.2.68
    [6] Carl S. Helrich . Studies of cholesterol structures in phospholipid bilayers. AIMS Biophysics, 2017, 4(3): 415-437. doi: 10.3934/biophy.2017.3.415
    [7] Nily Dan . Bilayer degradation in reactive environments. AIMS Biophysics, 2017, 4(1): 33-42. doi: 10.3934/biophy.2017.1.33
    [8] István P. Sugár, Parkson Lee-Gau Chong . Monte Carlo simulations of the distributions of intra- and extra-vesicular ions and membrane associated charges in hybrid liposomes composed of negatively charged tetraether and zwitterionic diester phospholipids. AIMS Biophysics, 2017, 4(2): 316-336. doi: 10.3934/biophy.2017.2.316
    [9] Kazushige Yokoyama, Christa D. Catalfamo, Minxuan Yuan . Reversible peptide oligomerization over nanoscale gold surfaces. AIMS Biophysics, 2015, 2(4): 649-665. doi: 10.3934/biophy.2015.4.649
    [10] Dinesh Bhatia, Tania Acharjee, Shruti Shukla, Monika Bhatia . Nano-technological advancements in multimodal diagnosis and treatment. AIMS Biophysics, 2024, 11(4): 464-507. doi: 10.3934/biophy.2024026
  • Heart rate variability (HRV) is derived from the R-R interval, which depends on the precise localization of R-peaks within an electrocardiogram (ECG) signal. However, current algorithm assessment methods prioritize the R-peak detection's sensitivity rather than the precision of pinpointing the exact R-peak positions. As a result, it is of great value to develop an R-peak detection algorithm with high-precision R-peak localization. This paper introduces a novel R-peak localization algorithm that involves modifications to the well-established Pan-Tompkins (PT) algorithm. The algorithm was implemented as follows. First, the raw ECG signal X(i) was band-pass filtered (5–35 Hz) to obtain a preprocessed signal Y(i). Second, Y(i) was squared to enhance the QRS complex, followed by a 5 Hz low-pass filter to obtain the QRS envelope, which was transformed into a window signal W(i) by dynamic threshold with a minimum width of 200 ms to mark the QRS complex. Third, Y(i) was used to generate QRS template T(n) automatically, and then the R-peak was identified by a template matching process to find the maximum absolute value of all cross-correlation values between T(n) and Y(i). The proposed algorithm achieved a sensitivity (SE) of 99.78%, a positive prediction value (PPV) of 99.78% and data error rate (DER) of 0.44% in R-peak localization for the MIT-BIH Arrhythmia database. The annotated-detected error (ADE), which represents the error between the annotated R-peak location and the detected R-peak location, was 8.35 ms for the MIT-BIH Arrhythmia database. These results outperformed the results obtained using the classical Pan-Tompkins algorithm which yielded an SE of 98.87%, a PPV of 99.14%, a DER of 1.98% and an ADE of 21.65 ms for the MIT-BIH Arrhythmia database. It can be concluded that the algorithm can precisely detect the location of R-peaks and may have the potential to enhance clinical applications of HRV analysis.



    Electrocardiogram (electrocardiogram, ECG) is the process of recording the electrical activity of the heart over a period of time using electrodes placed on the skin. These electrodes detect the minor electrical changes on the skin that arise from the heart muscle's electrophysiologic pattern of depolarizing and repolarizing during each heartbeat. It has been widely applied in clinical medicine to detect any cardiac problems. However, most electrocardiograms need manual examination with long-term patience which is very time-consuming and boring. Besides, because the huge amount of ECG data is produced every day, the diagnostic doctors for ECG are not willing to analyze ECG in details, instead only determine whether it is abnormal. Thus many details may be missed. The reality is that it has some possibility to misdiagnose ECG for doctors' careless of overworked state. In order to help improve doctors' efficiency and accuracy, machine learning based electrocardiogram analysis can be employed. The normal electrocardiogram can be filtered out by machines quickly according to machine learning algorithms based on historical data sets. While the doubtful examination reports can be left for doctors for carefully studying later. Therefore, machine learning tools for electrocardiogram reports examination play a very important role in the first round screening of clinical diagnosis.

    An electrocardiogram record usually contains 12 leads [1], which are: Ⅰ, Ⅱ, Ⅲ, avL, avF, avR, v1, v2, v3, v4, v5, v6. Each lead is a time series, which consists of multiple heartbeat cycles. A heartbeat produces a higher pulse, as shown in Figure 1. Our model can be served for the first round screening of ECG examination clinical diagnosis. Given a 12-lead ECG record, our model can be employed to determine whether it is normal or not. Once a doutful examination report is determined, the doctor would further analyze it to make a final clinical diagnosis report.

    Figure 1.  12-lead electrocardiogram for clinical diagnosis.

    In this paper, a deep learning model, called CBRNN, is proposed for the data dependence of multi-lead electrocardiogram in the same lead and the independence of data between different leads. We evaluate the performance of our model on Chinese Cardiovascular Disease Database (CCDD) which is an big public dataset, the accuracy of the model is up to 87.69%, which is quite valueable for actual electrocardiogram diagnosis.

    The techinques of computer aided electrocardiogram have been greatly developed in recent years, and some of them have been widely used in the clinical electrocardiogram examination. Various methods of detecting normal or abnormal electrocardiogram have been proposed, most of them are based on traditional classification of heartbeat data. The heartbeat classification is that classifying these heartbeat by rule reasoning [2] or statistical learning methods [3,4]. Because all the R waves in the waveform need to be detected by the heartbeat classifier, it may occur some errors in the division process of heartbeat waves before classification, which would also reduce the accuracy of ECG classification in the next step. In order to overcome this deficiency, the way of classifying the whole ECG were developed later (without division of the heartbeat). It is popular to empoy machine learning method to classify ECG, but features such as Time domain, Waveform, Wavelet [5], Higher order [6], Power spectrum [7], Lyapunov coefficient [8], Hermit coefficient [9], Shannon entropy [10], Hermite Polynomial coefficient [11], characteristics of linear prediction error [12] etc., are extracted by manual work. The Common used machine learning algorithms are: Principal Component Analysis (PCA) [13], Linear Discriminant Analysis (LDA) [14], Independent Components Analysis (ICA) [15], Support Vector Machine (SVM) [16] etc. Some researchers tried using deep learning tool to extract the features of the electrocardiogram waves, for example, Kiranyaz et al. [17] employed Convolutional Neural Network (CNN) to exact features, and then utilized the SVM as the classifier, as a result, they achieved a good performance. Therefore, deep learning method began to be noticed.

    Besides, there are some machine learning methods for solving one type of special cardiac problems. In [23], it is a survey paper about the atrial fibrillation detection based on ECG signals. It mainly reviews the machine learning methods to detect atrial fibrillation problems. For the papers [24,25,26,27], they are mianly solving one area problem such as myocardial infarction detection, ventricular arrhythmias detection, Glaucoma detection, congestive heart failure detection. But we can detect multiple cardiac problems instead of only detect one.

    In machine learning, feature extraction by manual work cannot accurately reflect the exact feature of the electrocardiogram itself. Besides, the extraction of these features requires a better understanding of ECG domain knowledge, which is difficult for technique researchers without deep medical background. In the proposals of deep learning based ECG detection, most of them employs convolutional neural networks (CNN). While, multi-lead ECG is commonly treated as a two-dimensional image since two-dimensional convolutional operation is used inside the CNN network. However, Because of the particularity of the leads of ECG, it is not appropriate to treat it as two-dimensional image only. In this paper, we propose a model combining convolutional neural network and recurrent neural network. For each lead of electrocardiogram, we firstly employ one-dimensional convolutional operation to extract features, then employ recurrent neural network to fuse features of leads to get deeper feature maps. Finally, the validity of the proposed model was verified in this paper.

    In general, there are 12 leads in a electrocardiogram, each lead is a waveform of a ECG signal. Each lead usually collects 10 seconds electrocardiogram data, including 12 to 18 times cardiac pulsation, 500Hz sampling frequency, and the ECG signal is corresponding to a 5000 dimensional vector each lead, so the 12 leads of ECG recording of each individual data have 12*5000 dimensions. Our task is to make the classification of the normal and abnormal of the 12 leads electrocardiogram, which is a binary classification problem. Multi-lead ECG is similar to two-dimensional image. But there is still some difference between the multi-lead electrocardiogram and the two-dimensional image. Because there is strong correlation between the data in the row direction and the column direction of the two-dimensional image while Multi-lead ECG has strong correlation with data in the same lead (row direction), but data from different lead directions (column direction) can be regarded as independent one. A series of one-dimensional convolutional and pooling operations are used to obtain the low dimensional vector representation of ECG signals based on the special two-dimensional structure of multi-lead electrocardiogram. At the same time, there is a certain time series between the different leads. The low dimensional vector representation of each lead is input into the LSTM layer. Finally, the Softmax layer is utilized to classify it and the class labels of normal or abnormal can be achieved.

    Our model (CBRNN) combines the advantages of CNN and RNN. In our model, not only the features of the leads are considered, but also the deeper features to be learned are aslo involved, which is quite helpful for enhancing the accuracy of the deep learning model on ECG. The model architecture is shown in Figure 2.

    Figure 2.  The architecture of our model.

    The architecture is divided into the following layers:

    (1) Input layer. The pre-processed 12-lead electrocardiogram was input into the input layer. A lead is a one dimensional vector, the length of which is 1*2400.

    (2) CNN layer. Each lead of the ECG is passed through a convolutional neural network layer and then a 1*128 one-dimension vector can be created, but the parameters of the lead are not shared. Inside the CNN layer, the workflow is as follows: the dimension of the input layer is 1*2400, in the first CNN layer C1, it has 16 feature maps, each feature map uses a convolutional kernel of 1*21, this layer outputs 16 feature maps with 1*2380 dimensions. Then, a pooling layer P1 with a 1*7 pooling kernel is employed to produce 16 feature maps with 1*340 dimension; the second convolutional neural network layers C2 has 32 feature maps, 1*17 convolutional kernels, the second pooling layer P2 has a 1*6 pooling kernel; the third convolutional neural network C3 has 64 feature maps, 1*13 convolutional kernels; the third pooling layer P3 has a 1*7 convolutional kernel and produces 64 1*6 feature maps. Then, the feature maps are flattened. A 1*384 one dimensional vector can be generated. At last, the vector connects a fully connected layer and a 1*128 one dimensional vector can be finally generated. Since the ECG of each individual has 12 leads, the finally obtained vector through the CNN layer is 12*1*128 dimensions.

    (3) RNN layer. we employed Bidirectional RNN (BRNN) [18]. The basic idea of BRNN is that each training sequence consists of two RNNs, which represent forward and backward, and both are connected to an output layer. The structure provides the complete privious and subsequent context information for each point in the input layer. We believe that the information is not only related to the previous information, but also the subsequent, therefore we choose BRNN as the main framework. Besides, the performance of BRNN should be better than original RNN, and we employ Long Short Term Memory Network (LSTM) as BRNN basic cell, The structure of LSTM is shown in Figure 3. Since BRNN can consider both the previous and the latter influnce in one moment, the historical information is actually more abundant. Suppose the output of forward recurrent neural network is hft, the output of reverse recurrent neural network is hbt, then the output of BRNN is ht=[hTft,hTbt]T.

    Figure 3.  LSTM structure in BRNN.
    Figure 4.  Comparison of experimental results.
    Figure 5.  Comparison of different ECG classification models.

    The input of each neural in RNN is a one-dimension vector of 1*128, after the forward RNN and the backward RNN, the final output of bi-directional LSTM layer is a vector of 1*256 dimension.

    (4) Flatten layer. Flatten all the outputs of RNN neural, a one-dimension vector of 1*3072 dimension can be generated.

    (5) Output layer. Softmax is employed to classify the output of the last layer (two classifications), the label Li can be achieved.

    With the continuous development of ECG acquisition equipment and the rapid expansion of the demand, existing standard database such as MIT-BIH, QT, CSE and AHA have showed a lack of scale and representativeness to varying degrees. While Chinese Cardiovascular Disease Database (CCDD) is a big dataset and it has 193690 cases. Each electrocardiogram has 10 to 20 seconds 12-lead electrocardiogram data. Each electrocardiogram record has a corresponding label of disease types, which is of great practical value.

    All the data in CCDD are all real data instead of simulation data, so some data should be cleaned to be used for deep learning. We discard about 4850 pieces of data where the annotation records is 0×00 which is invalid), Each lead of each valid record is only intercepted by the first 4850 points. Then the records of the annotation for 0×0101, 0×020101 and 0×020102 are normal, and the other annotation results are abnormal. Then the electrocardiogram is sampled from 500Hz to 250Hz, to reduce the data dimension without affecting the data quality. At the same time, for the stability of the waveform of the electrocardiogram, we skipped the beginning of the 25 sampling points, and finally got the 12*2400 dimension of each individual electrocardiogram. The CCDD dataset consists of many batches of the data, After these pre-treatments are carried out above, the positive anomaly distribution of each batch of datasets can be studied out which is shown in Error! Reference source not found..

    In order to avoid the problem of imbalanced distribution of normal and abnormal samples in training centralization, the package "data95830-119551" and the package "data119552-141104" are selected to be our training sets, the package "data141105-160913" are selected to be the validation datasets, the rest are used as test datasets. Consequently, the number of the training data, validation data and the test data are 44517, 19538 and 127014. Most of the samples are selected as test sets because the small test set may have some overfitting problems. The final goal is to make our model help in clinical diagnosis. We need to verify the performance of the model on a large real test set so that it reflects the real environment of clinical medicine.

    `According to the definition of medical diagnosis, the normal electrocardiogram was negative, and the abnormal electrocardiogram was positive. Table 2 describes the possible relationship between the gold label and the decision label.

    Table 1.  The distribution of each package of datasets.
    Dataset Package Valid Invalid
    Normal Abnormal
    Training data95830-119551 10347 12940 435
    data119552-141104 9704 11526 323
    Validation data141105-160913 9710 9828 271
    Test data1-943 197 746 0
    data944-25693 17461 7204 85
    data25694-37082 4910 6350 129
    data37083-72607 25014 10246 265
    data72608-95829 16203 6507 512
    data141105-160913 9710 9828 271
    data160914-175871 6942 7777 239
    data175872-179130 2289 936 34
    data179131-193690 4670 9562 328

     | Show Table
    DownLoad: CSV
    Table 2.  Possible relationship between true and prediction label.
    Decision label Gold label
    Negative(normal ECG) Positive(abnormal ECG)
    Negative True Negative(TN) False Negative(FN)
    Postive False Positive(FP) True Positive(TP)

     | Show Table
    DownLoad: CSV

    In order to measure the performance of an electrocardiogram classification model, the diagnostic indicators we used include Specificity Sp, Sensitivity Se and Accuracy Acc. Specificity Sp means that the proportion of the normal electrocardiogram is correctly detected, and sensitivity Se is the correct detection of the proportion of the abnormal electrocardiogram. Accuracy Se is the proportion of the correct classification of the electrocardiogram. In general, Accuracy is regarded as the main reference. These evaluation criteria are calculated as follows:

    Sp=TNTN+FP (4-1)
    Se=TPTP+FN (4-2)
    Acc=TP+TNTP+FP+FN+TP (4-3)

    The original electrocardiogram signals often contain various interference signals, for example, the frequency of respiratory movement is lower than 0.5Hz, 50-60Hz high frequency wave is induced by power frequency, about 33Hz is produced by body muscle activity etc. Therefore, the dianoising process needs to be done before the classification of the electrocardiogram. The low pass filter and band-pass filter are used to filter the noise. Then each ECG in the CCDD dataset is sampled as 250Hz, meanwhile, the first 25 sampling points are skipped, a 12*2400 vector of the ECG for each individual is obtained. Finally, the model we have built to classify the class label of the electrocardiogram and get the category it belongs to.

    Our model is data driven and end-to-end training, we train all models on the whole training dataset and tune our hyper parameters on the validation set, and we use test set to evaluate our model. Parameters inside the model are shown in Figure 2. At the same time, we set the maximum number of iterations to be 1000 and learning rate to be 0.01. The early stopping mechanism is used to stop the iteration ahead of time in order to prevent the model from overfitting.

    In order to highlight the performance of the model we have built, we built another two convolutional neural networks in our experiment to be compared with. With the original CNN model solving ECG data, it commonly treats them as a two-dimensional image. Therefore, we firstly construct an ordinary three layers' two-dimensional CNN model. The model through the convolutional layer and the pooling layer three times to extract the features of the electrocardiogram signal. Three convolutional kernels are 3*21, 3*17 and 3*13 separately and three pooling kernels are 1*7, 1*6 and 1*7. At last, after the same flattening operation, Softmax layer is used for classification. At the same time, the Residual network (ResNet) is constructed as a contrast. Residual connection is different from the traditional network structure, and the corresponding network Resnet proposed by Kaiming He [19] who won the championship in 2015 ImageNet competition. In view of the excellent performance of the ResNet network, we employ the ResNet network to classify the electrocardiogram. Thus, we also implement two contrast models, which are traditional CNN and ResNet model, to compare with our CBRNN. The experimental results are shown in Table 3.

    Table 3.  Comparison of experimental results.
    Model Classification result Gold result Sp Se Acc
    Normal Abnormal
    CNN Normal 65601 17710 75.06 70.06 84.28
    Abnormal 21795 41446
    Resnet Normal 65769 16531 75.25 72.06 85.34
    Abnormal 21627 42625
    CBRNN Normal 66703 14480 76.32 75.52 87.69
    Abnormal 20693 44676

     | Show Table
    DownLoad: CSV

    From Table 3, it is clearly that ResNet network from Google is better than the traditional CNN model and the Acc is increased by 1.06%, which showed the advantages of the ResNet network. However, both the traditional CNN model and the ResNet model are the two dimensional convolutional operation for the multi-lead electrocardiogram. Multi-lead ECG is strongly correlated with data in the same lead (row direction), but the data on each lead (column direction) can be regarded as individual. Therefore, two-dimensional convolutional operation is not that accurate. In this paper, a CBRNN model is designed for multi-lead ECG. For each lead, one-dimension convolutional operation is adopted. At the same time, bidirectional RNN is used to fuse different lead features to get deeper feature representation. Consequently, our CBRNN model shows more consistent with the lead feature of ECG itself, and experiments result shows better than that of CNN model and ResNet model, Acc of which are increased by 3.41% and 2.35%, respectively. It is proved that the CBRNN model we proposed is effective in dealing with the problem of classification on electrocardiogram.

    To further evaluate the performance of our proposed approach, we compare it with the existing classification algorithms of electrocardiogram. According to the second chapter of related work, the model proposed by Ye et al. [5] is the best model currently. Hence, we train a heartbeat classifier based on the method proposed by Ye et al. First, we need to intercept the heartbeat on each ECG record from the dataset, which need to first detect the R wave in the waveform, so we utilized the method proposed by Zhu et al. [20] to detect all the R waves on an ECG record and then intercept the heart beat according to the position of the R wave. There are usually two ways to intercept the heartbeat, namely, the average heart beat method and the exception priority method [21]. Finally, the heartbeat classifier is constructed to determine the conclusion of the test centralized electrocardiogram. Since the interception method has average beat and abnormal priority, we use the data set mentioned in this paper to achieve two different heartbeat classifiers, that are HBClassifier[A] and HBClassifier[B].The experiment results are shown in Table 4.

    Table 4.  Comparison of different ECG classification models.
    Model Classification result Gold result Sp Se Acc
    Normal Abnormal
    HBClassifier[A] Normal 53396 18282 61.10 69.10 74.22
    Abnormal 34000 40874
    HBClassifier[B] Normal 50421 18343 57.69 68.99 71.83
    Abnormal 36975 40813
    CBRNN Normal 66703 14480 76.32 75.52 87.69
    Abnormal 20693 44676

     | Show Table
    DownLoad: CSV

    All of these models use the same training set and validation set to build models, and test the performance of models on the same test set, so that the results are comparable. From Table 4, we can see that the CBRNN model proposed in this paper is much higher than the HBClassifier[A] model and HBClassifier[B] model in all performance indicators, and the accuracy rate is higher than 13.47% and 15.86% respectively. It can be seen that the robustness of the model proposed by Ye et al. is not strong enough. The possible reason is that there are only 48 individual ECG records in MIT-BIH-AR dataset. The size of the dataset is small, and there may be contingency and imbalance in data distribution. The CCDD database has more than 190 thousand individual clinical ECG records, and there is no imbalance in data distribution, where Ye' model shows a relative poor result. Hakacova et al. [22] survey and compare the performance of automatic diagnosis and human diagnosis of electrocardiogram equipment on the market, and they concluded that human diagnosis has a higher average accuracy than the automatic diagnosis, which is about 85% of 3 professional doctors to diagnose the clinical ECG data. While the accuracy of our proposed model in the large scale clinical ECG data set is up to 87.69%. Therefore, our model proposed in this paper has an advantage to apply to the clinical medicine.

    In this paper, we propose a deep learning model to classfiy ECG data for assisited ECG diagnosis by machine. The model has a comination design of CNN and bidirectional RNN, which make full use of the features of ECG data. We test the performance of the model on some open dataset including a big dataset Chinese Cardiovascular Disease Database (CCDD), the accuracy of the model is up to 87.69%, exceeds the existing models of ECG classfication. It has value for clinical application in the future.

    This research was supported in part by National Natural Science Foundation of China (No.61572157), grant No.2016A030313660 and 2017A030313365 from Guangdong Province Natural Science Foundation, grants JCYJ20160608161351559, KQJSCX70726103044992, JCYJ20170811155158682 and JCYJ20160428092427867 from Shenzhen Municipal Science and Technology Innovation Project. The authors thank the reviewers for their comments.

    We declare that there is no conflict of interests regarding the publication of this article.



    [1] K. M. Dalmeida, G. L. Masala, HRV features as viable physiological markers for stress detection using wearable devices, Sensors, 21 (2021), 2873. https://doi.org/10.3390/s21082873 doi: 10.3390/s21082873
    [2] T. Dan, H. Yeheng, A. Cole, A. Roger, S. Rashmi, G. Yang, et al., The benefits of heart rate variability (HRV) in the assessment of health and exercise performance, Imaging J. Clin. Med. Sci., 9 (2022), 11–14. https://doi.org/10.17352/2455-8702.000136 doi: 10.17352/2455-8702.000136
    [3] A. R. Schwerdtfeger, C. Rominger, Feelings from the heart: Developing HRV decrease-trigger algorithms via multilevel hyperplane simulation to detect psychosocially meaningful episodes in everyday life, Psychophysiology, 58 (2021). https://doi.org/10.1111/psyp.13914
    [4] E. Mejía-Mejía, K. Budidha, T. Y. Abay, J. M. May, P. A. Kyriacou, Heart rate variability (HRV) and pulse rate variability (PRV) for the assessment of autonomic responses, Front. Physiol., 11 (2020). https://doi.org/10.3389/fphys.2020.00779
    [5] M. Frasch, Comprehensive HRV estimation pipeline in Python using Neurokit2: Application to sleep physiology, Methodsx, 9 (2022), 101782. https://doi.org/10.1016/j.mex.2022.101782 doi: 10.1016/j.mex.2022.101782
    [6] D. Romero, R. Jane, Relationship between sleep stages and HRV response in obstructive sleep apnea patients, in IEEE Engineering in Medicine and Biology Society. Annual International Conference, 2021 (2021), 5535. https://doi.org/10.1109/EMBC46164.2021.9630148
    [7] S. Raj, K. C. Ray, O. Shankar, Development of robust, fast and efficient QRS complex detector: A methodological review, Australas. Phys. Eng. Sci. Med., 41 (2018), 581–600. https://doi.org/10.1007/s13246-018-0670-7 doi: 10.1007/s13246-018-0670-7
    [8] B. Köhler, C. Hennig, R. Orglmeister, The principles of software QRS detection, Eng. Med. Biol. Mag., 21 (2002), 42–57. https://doi.org/10.1109/51.993193 doi: 10.1109/51.993193
    [9] B. R. Hopenfeld, Multiple channel electrocardiogram QRS detection by temporal pattern search, preprint, 2021. https://doi.org/10.1101/2021.08.15.456413
    [10] J. Rahul, M. Sora, L. Sharma, A novel and lightweight P, QRS, and T-peaks detector using adaptive thresholding and template waveform, Comput. Biol. Med., 132 (2021), 104307. https://doi.org/10.1016/j.compbiomed.2021.104307 doi: 10.1016/j.compbiomed.2021.104307
    [11] T. Sa, F. B. Reguig, The QRS complex detection using morphological filtering, Arch. Biomed. Sci. Eng., 2019 (2019), 1–6. https://doi.org/10.17352/abse.000011 doi: 10.17352/abse.000011
    [12] T. W. Bae, K. K. Kwon, Efficient real-time R and QRS detection method using a pair of derivative filters and max filter for portable ECG device, Appl. Sci., 9 (2019), 4128. https://doi.org/10.3390/app9194128 doi: 10.3390/app9194128
    [13] C. Nayak, S. Saha, R. Kar, D. Mandal, An efficient QRS complex detection using optimally designed digital differentiator, Circuits Syst. Signal Process., 38 (2019). https://doi.org/10.1007/s00034-018-0880-y
    [14] S. Tabakov, I. Iliev, V. Krasteva, Online digital filter and QRS detector applicable in low resource ECG monitoring systems, Ann. Biomed. Eng., 36 (2008), 1805–1815. https://doi.org/10.1007/s10439-008-9553-5 doi: 10.1007/s10439-008-9553-5
    [15] N. Bui, G. Byun, The comparison features of ECG signal with different sampling frequencies and filter methods for real-time measurement, Symmetry, 13 (2021), 1461. https://doi.org/10.3390/sym13081461 doi: 10.3390/sym13081461
    [16] L. Bachi, L. Billeci, M. Varanini, QRS detection based on medical knowledge and cascades of moving average filters, Appl. Sci., 11 (2021), 6995. https://doi.org/10.3390/app11156995 doi: 10.3390/app11156995
    [17] F. Guendouzi, M. Attari, QRS complex detection in ECG signals using empirical wavelet transform and flower pollination algorithm, Period. Polytech. Electr. Eng. Comput. Sci., 66 (2022). https://doi.org/10.3311/PPee.20535
    [18] K. Daqrouq, A. Alkhateeb, W. Ahmad, E. Khalaf, M. Awad, E. Noeth, et al., A universal ECG signal classification system using the wavelet transform, Neural Network World, 32 (2022), 43–54. https://doi.org/10.14311/NNW.2022.32.003 doi: 10.14311/NNW.2022.32.003
    [19] W. Xu, F. Du, A robust QRS complex detection method based on Shannon energy envelope and Hilbert transform, J. Mech. Med. Biol., 22 (2022). https://doi.org/10.1142/S0219519422400139
    [20] H. Sharma, K. Sharma, ECG-derived respiration based on iterated Hilbert transform and Hilbert vibration decomposition, Australas. Phys. Eng. Sci. Med., 41 (2018). https://doi.org/10.1007/s13246-018-0640-0
    [21] J. P. D. V. Madeiro, J. A. L. Marques, T. Han, R. C. Pedrosa, Evaluation of mathematical models for QRS feature extraction and QRS morphology classification in ECG signals, Measurement, 156 (2020), 107580. https://doi.org/10.1016/j.measurement.2020.107580 doi: 10.1016/j.measurement.2020.107580
    [22] Y. Li, X. Tang, Z. Xu, H. Yan, A novel approach to phase space reconstruction of single lead ECG for QRS complex detection, Biomed. Signal Process. Control, 39 (2018), 405–415. https://doi.org/10.1016/j.bspc.2017.06.007 doi: 10.1016/j.bspc.2017.06.007
    [23] J. Rahul, M. Sora, L. D. Sharma, Dynamic thresholding based efficient QRS complex detection with low computational overhead, Biomed. Signal Process. Control, 67 (2021), 102519. https://doi.org/10.1016/j.bspc.2021.102519 doi: 10.1016/j.bspc.2021.102519
    [24] T. Nguyen, T. Nguyen, B. Ngo, R peak determination using a WDFR algorithm and adaptive threshold, Appl. Comput. Sci., 18 (2022), 19–30. https://doi.org/10.35784/acs-2022-18 doi: 10.35784/acs-2022-18
    [25] S. Modak, L. Y. Taha, E. Abdel-Raheem, A novel method of QRS detection using time and amplitude thresholds with statistical false peak elimination, IEEE Access, 9 (2021), 46079–46092. https://doi.org/10.1109/ACCESS.2021.3067179 doi: 10.1109/ACCESS.2021.3067179
    [26] S. K. Mukhopadhyay, S. Krishnan, Robust identification of QRS-complexes in electrocardiogram signals using a combination of interval and trigonometric threshold values, Biomed. Signal Process. Control, 61 (2020). https://doi.org/10.1016/j.bspc.2020.102007
    [27] X. Lu, M. Pan, Y. Yu, QRS detection based on improved adaptive threshold, J. Healthcare Eng., 2018 (2018), 1–8. https://doi.org/10.1155/2018/5694595 doi: 10.1155/2018/5694595
    [28] D. S. Benitez. A simple algorithm for detection of QRS onset in single channel ECG signals, in 2017 CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies (CHILECON), (2017), 1–6. https://doi.org/10.1109/CHILECON.2017.8229647
    [29] H. Ahsan, C. Karmakar, J. Yearwood, Impact of ECG dataset diversity on generalization of CNN model for detecting QRS complex, IEEE Access, 7 (2019), 93275–93285. https://doi.org/10.1109/ACCESS.2019.2927726 doi: 10.1109/ACCESS.2019.2927726
    [30] Y. Brosnan, X. Dong, T. Lu, Inter-patient CNN-LSTM for QRS complex detection in noisy ECG signals, IEEE Access, 7 (2019), 169359–169370. https://doi.org/10.1109/ACCESS.2019.2955738 doi: 10.1109/ACCESS.2019.2955738
    [31] Y. Xiang, Z. Lin, J. Meng, Automatic QRS complex detection using two-level convolutional neural network, Biomed. Eng. Online, 17 (2018). https://doi.org/10.1186/s12938-018-0441-4
    [32] K. Zhao, Y. Li, G. Wang, Y. Pu, Y. Lian, A robust QRS detection and accurate R-peak identification algorithm for wearable ECG sensors, Sci. China Inf. Sci., 64 (2021). https://doi.org/10.1007/s11432-020-3150-2
    [33] J. Pan, W. Tompkins, A real-time QRS detection algorithm, Biomed. Eng. IEEE Trans., 32 (1985), 230–236. https://doi.org/10.1109/TBME.1985.325532 doi: 10.1109/TBME.1985.325532
    [34] M. A. Z. Fariha, R. Ikeura, S. Hayakawa, S. Tsutsumi, Analysis of Pan-Tompkins algorithm performance with noisy ECG signals, J. Phys. Conf. Ser., 1532 (2020), 12022. https://doi.org/10.1088/1742-6596/1532/1/012022 doi: 10.1088/1742-6596/1532/1/012022
    [35] G. B. Moody, R. G. Mark, The impact of the MIT-BIH arrhythmia database, IEEE Eng. Med. Biol. Mag., 20 (2001), 45–50. https://doi.org/10.1109/51.932724 doi: 10.1109/51.932724
    [36] A. Goldberger, L. A. Amaral, L. Glass, J. Hausdorff, P. Ivanov, R. Mark, et al., PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals, Circulation, 101 (2000), E215–E220. https://doi.org/10.1161/01.CIR.101.23.e215 doi: 10.1161/01.CIR.101.23.e215
    [37] D. Makowski, T. Pham, Z. J. Lau, J. C. Brammer, F. Lespinasse, H. Pham, et al., NeuroKit2: A python toolbox for neurophysiological signal processing, Behav. Res. Methods, 53 (2021), 1689–1696. https://doi.org/10.3758/s13428-020-01516-y doi: 10.3758/s13428-020-01516-y
    [38] T. Nguyen, X. Qin, A. Dinh, F. Bui, Low resource complexity R-peak detection based on triangle template matching and moving average filter, Sensors, 19 (2019), 3997. https://doi.org/10.3390/s19183997 doi: 10.3390/s19183997
    [39] F. Liu, C. Liu, X. Jiang, Z. Zhang, Y. Zhang, J. Li, et al., Performance analysis of ten common QRS detectors on different ECG application cases, J. Healthcare Eng., 2018 (2018), 1–8. https://doi.org/10.1155/2018/9050812 doi: 10.1155/2018/9050812
    [40] B. Porr, L. Howell, R-peak detector stress test with a new noisy ECG database reveals significant performance differences amongst popular detectors, preprint, 2019. https://doi.org/10.1101/722397
    [41] U. Zalabarria, E. Irigoyen, R. Martinez, A. Lowe, Online robust R-peaks detection in noisy electrocardiograms using a novel iterative smart processing algorithm, Appl. Math. Comput., 369 (2020), 124839. https://doi.org/10.1016/j.amc.2019.124839 doi: 10.1016/j.amc.2019.124839
    [42] M. U. Zahid, S. Kiranyaz, T. Ince, O. C. Devecioglu, M. E. H. Chowdhury, A. Khandakar, et al., Robust R-peak detection in low-quality Holter ECGs using 1D convolutional neural network, IEEE Trans. Biomed. Eng., 69 (2022), 119–128. https://doi.org/10.1109/TBME.2021.3088218 doi: 10.1109/TBME.2021.3088218
  • This article has been cited by:

    1. Weike Duan, Jinsen Zhang, Liang Zhang, Zongsong Lin, Yuhang Chen, Xiaowei Hao, Yixin Wang, Hongri Zhang, Evaluation of an artificial intelligent hydrocephalus diagnosis model based on transfer learning, 2020, 99, 0025-7974, e21229, 10.1097/MD.0000000000021229
    2. Peng Lu, Hao Xi, Bing Zhou, Hongpo Zhang, Yusong Lin, Liwei Chen, Yang Gao, Yabin Zhang, Yanhua Hu, Zhenghua Chen, A New Multichannel Parallel Network Framework for the Special Structure of Multilead ECG, 2020, 2020, 2040-2309, 1, 10.1155/2020/8889483
    3. Babita Pandey, Devendra Kumar Pandey, Brijendra Pratap Mishra, Wasiur Rhmann, A comprehensive survey of deep learning in the field of medical imaging and medical natural language processing: Challenges and research directions, 2021, 13191578, 10.1016/j.jksuci.2021.01.007
    4. Beanbonyka Rim, Nak-Jun Sung, Sedong Min, Min Hong, Deep Learning in Physiological Signal Data: A Survey, 2020, 20, 1424-8220, 969, 10.3390/s20040969
    5. Sulaiman Somani, Adam J Russak, Felix Richter, Shan Zhao, Akhil Vaid, Fayzan Chaudhry, Jessica K De Freitas, Nidhi Naik, Riccardio Miotto, Girish N Nadkarni, Jagat Narula, Edgar Argulian, Benjamin S Glicksberg, Deep learning and the electrocardiogram: review of the current state-of-the-art, 2021, 1099-5129, 10.1093/europace/euaa377
    6. Xu Wang, Runchuan Li, Shuhong Wang, Shengya Shen, Wenzhi Zhang, Bing Zhou, Zongmin Wang, Automatic diagnosis of ECG disease based on intelligent simulation modeling, 2021, 67, 17468094, 102528, 10.1016/j.bspc.2021.102528
    7. Shuhong Wang, Runchuan Li, Xu Wang, Shengya Shen, Bing Zhou, Zongmin Wang, Chien Yu Chen, Multiscale Residual Network Based on Channel Spatial Attention Mechanism for Multilabel ECG Classification, 2021, 2021, 2040-2309, 1, 10.1155/2021/6630643
    8. Nehemiah Musa, Abdulsalam Ya’u Gital, Nahla Aljojo, Haruna Chiroma, Kayode S. Adewole, Hammed A. Mojeed, Nasir Faruk, Abubakar Abdulkarim, Ifada Emmanuel, Yusuf Y. Folawiyo, James A. Ogunmodede, Abdukareem A. Oloyede, Lukman A. Olawoyin, Ismaeel A. Sikiru, Ibrahim Katb, A systematic review and Meta-data analysis on the applications of Deep Learning in Electrocardiogram, 2022, 1868-5137, 10.1007/s12652-022-03868-z
    9. Shan Wei Chen, Shir Li Wang, Xiu Zhi Qi, Suzani Mohamad Samuri, Can Yang, Review of ECG detection and classification based on deep learning: Coherent taxonomy, motivation, open challenges and recommendations, 2022, 74, 17468094, 103493, 10.1016/j.bspc.2022.103493
    10. Ya'nan Wang, Sen Liu, Haijun Jia, Xintao Deng, Chunpu Li, Aiguo Wang, Cuiwei Yang, A two-step method for paroxysmal atrial fibrillation event detection based on machine learning, 2022, 19, 1551-0018, 9877, 10.3934/mbe.2022460
    11. Qun Song, Tengyue Li, Simon Fong, Feng Wu, An ECG data sampling method for home-use IoT ECG monitor system optimization based on brick-up metaheuristic algorithm, 2021, 18, 1551-0018, 9076, 10.3934/mbe.2021447
    12. Qinghua Sun, Zhanfei Xu, Chunmiao Liang, Fukai Zhang, Jiali Li, Rugang Liu, Tianrui Chen, Bing Ji, Yuguo Chen, Cong Wang, A dynamic learning-based ECG feature extraction method for myocardial infarction detection, 2022, 43, 0967-3334, 124005, 10.1088/1361-6579/acaa1a
    13. S. Immaculate Joy, K. Senthil Kumar, M. Palanivelan, D. Lakshmi, Review on Advent of Artificial Intelligence in Electrocardiogram for the Detection of Extra-Cardiac and Cardiovascular Disease, 2023, 46, 2694-1783, 99, 10.1109/ICJECE.2022.3228588
    14. Enes Efe, Emrehan Yavsan, AttBiLFNet: A novel hybrid network for accurate and efficient arrhythmia detection in imbalanced ECG signals, 2024, 21, 1551-0018, 5863, 10.3934/mbe.2024259
  • Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(3361) PDF downloads(344) Cited by(1)

Figures and Tables

Figures(8)  /  Tables(5)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog