Literature DB >> 30319742

An Efficient Teager Energy Operator-Based Automated QRS Complex Detection.

Hamed Beyramienanlou1, Nasser Lotfivand1.   

Abstract

Database: The efficiency and robustness of the proposed method has been tested on Fantasia Database (FTD), MIT-BIH Arrhythmia Database (MIT-AD), and MIT-BIH Normal Sinus Rhythm Database (MIT-NSD). Aim: Because of the importance of QRS complex in the diagnosis of cardiovascular diseases, improvement in accuracy of its measurement has been set as a target. The present study provides an algorithm for automatic detection of QRS complex on the ECG signal, with the benefit of energy and reduced impact of noise on the ECG signal. Method: The method is basically based on the Teager energy operator (TEO), which facilitates the detection of the baseline threshold and extracts QRS complex from the ECG signal.
Results: The testing of the undertaken method on the Fanatasia Database showed the following results: sensitivity (Se) = 99.971%, positive prediction (P+) = 99.973%, detection error rate (DER) = 0.056%, and accuracy (Acc) = 99.944%. On MIT-AD involvement, Se = 99.74%, P+ = 99.97%, DER = 0.291%, and Acc = 99.71%. On MIT-NSD involvement, Se = 99.878%, P+ = 99.989%, DER = 0.134%, and Acc = 99.867%.
Conclusion: Despite the closeness of the recorded peaks which inflicts a constraint in detection of the two consecutive QRS complexes, the proposed method, by applying 4 simple and quick steps, has effectively and reliably detected the QRS complexes which make it suitable for practical purposes and applications.

Entities:  

Mesh:

Year:  2018        PMID: 30319742      PMCID: PMC6167571          DOI: 10.1155/2018/8360475

Source DB:  PubMed          Journal:  J Healthc Eng        ISSN: 2040-2295            Impact factor:   2.682


1. Introduction

Cardiovascular disease is the primary global cause of death. According to the World Health Organization, about 17.3 million people died of cardiovascular disease in 2008, which represented 30 percent of all global deaths. This number is predicted to grow to more than 23.6 million by 2030 [1, 2]. Heart diseases like cardiovascular disease, sudden death, ischemic heart disease, and cardiac arrhythmias are all diagnosed by analyzing the heart's signal [3-5]. The electrocardiogram is a noninvasive method of recording signals of heart muscle contractions over a period of time. Therefore, the accurate analysis of these signals will result in a more accurate diagnosis of cardiovascular diseases [6, 7]. An ECG signal is a combination of QRS complex, P and T peaks, and sometimes includes U peak. The detection of the QRS complex also helps to detect and determine P and T peaks, QT interval, ST interval, and the respiratory rate, which are considered as the human's vital signs. Therefore, the accurate recognition of QRS complex has a significant role in the accurate diagnosis of heart disease [8]. During the past decades, a variety of QRS complex detection methods have been developed [9] such as Pan–Tompkins method of R-wave detection [10], support vector machine [11], and the wavelet method, which is an analytical technique based on time-frequency chromatography. The wavelet transform is widely used in medical signal analysis such as EEG or ECG. However, this has a drawback because by applying a fixed scale, the signal characteristics are ignored [3, 12, 13]. Kalman filters use a dynamic model derived from a dynamic system to predict the hidden state in a nonlinear approach [14]. Artificial neural networks are an ideal self-correcting nonlinear process used in a wide range of tasks [15]. Shannon energy computes the average signal energy in a signal spectrum. In other words, it reduces the high intensity to balance out with the low intensity [16-18]. The Adaptive Double Threshold Filter (ADTF) and Discrete Wavelet Transform (DWT) are used to reduce the noise in the ECG signal to improve the ECG signal filtering [19]. Hermit transformation, which is used as an alternative to the Fourier transformation, may by optimization, shows an improved performance [20]. Teager Energy Operator (TEO) mainly shows the frequency and instantaneous changes of the signal amplitude that is very sensitive to subtle changes. Although TEO was first proposed for modeling nonlinear speech signals, it was later widely applied in the audio signal processing. Using TEO can minimize the effects of P and T waves on QRS complex detection [21]. Remarkable research efforts have been developed to analyze the sensitive point of the ECG signal based on TEO [22, 23]. The aim of this study is to propose a new approach based on an innovative viewpoint using TEO to detect QRS complex in the ECG signal. The recorded ECG signal may be affected by noise interference, such as power line interference, which must be eradicated for more accuracy. The Section 2 of the study consists of a series of preprocessing measures to minimize the noises before QRS complex detection on the ECG signal. This includes low-pass filter which removes noises such as power line interference. Since P or T peaks may interfere with the TEO computation, the moving average technique is used to smoothen and envelope the spikes in the signal. Sensitivity, positive prediction, and accuracy of the proposed algorithm from Fantasia Database, MIT-AD, and MIT-NSD are evaluated in the Section 3 of this article. Finally, in Sections 4 and 5 of the study, a discussion and conclusions are presented.

2. Methodology

The details of the proposed method are illustrated in Figure 1. The QRS complex detection procedure involves four steps.
Figure 1

The diagram block shows 4 steps of QRS complex detection.

Most of the time, the recorded ECG signal is afflicted by noises [24]. The noise frequencies generated by the power lines' interferences are in the range of 50 to 60 Hz. The noises generated by the muscle contractions and the electrodes placed on the body skin are in the range of 38 to 48 Hz. These greatly impede on the ECG signals. However, a notch filter is very effective in removing these noises. The maximum density of the QRS complex is between 5 to 20 Hz [17, 25]. Therefore, the IIR Butterworth digital filter is the best compromise for phase response and signal attenuation. It has no ripple in the band-pass and is more efficient than the FIR filter [26, 27]. To reduce the noises from the electrical (device) components in order to make a peak clearer for detection, a Butterworth low-pass digital filter, with order 4 and cut-off frequency of 15 Hz, was used. TEO has various applications, especially in AM and FM signal processing such as speech signals. TEO can be driven from a second-order differential equation [28]. The total energy of oscillation (i.e., the sum of kinetic and potential energies) can be obtained from the following equation: where m is the mass of the oscillating body and k is the spring constant. Using the formula in (1), a periodic harmonic formula can be obtained: where ϕ is the phase shift, Ω is the oscillation frequency, A is the oscillation amplitude, and x(t) denotes the position of the oscillating body with respect to time. Using (1) and (2), the essential harmonic energy to generate signals can be calculated: The following is a simplified form of TEO: Substituting nT for t we will get the following equation: where Ψc[x(t)] is the energy operator for continuous time t, x(t) is the t th signal component, [x′(t)] and [x ″(t)] are the first and second derivatives of x(t), respectively, T is the sample period, and n is the sample size [28, 29]. The dynamicity of the heart beats creates an intermittent and nonlinear pattern for TEO. Since TEO itself is a nonlinear operator, it nonlinearly captivates the intermittent characteristics. After computing TEO, in some signals, spikes of energies are observable and are attributed to P and T peaks in QRS complex. Although not wide in range, they hamper the accurate detection of the QRS complex. To resolve the situation, these spikes should be converted into energy envelopes. There are several methods for this such as Hilbert transform [6] or averaging method [30]. In the present study, moving average the following equation is used: Here h defines a rectangle with L length, j is a constant and is equal to 1, and TEO defines Teager energy from previous steps. To increase the small amplitude, square root is used: Here MA is the moving average obtained from the previous step. To decrease the baseline signal's value below zero, the following formula is used [16]:where σ is the standard deviation and μ is defined as signal average. The process of peak detection includes the following step:where baseline (0) is the threshold level for peak detection and R peaks are found in an ECG signal by searching the maximum peak within ±50 samples (length of window = min (RR interval)) of the recognized location of the candidate R peak in the previous step (Equation (9)).

3. Results

Under the supervision of the National Research Center, the PhysioBank database was developed by the National Institute of Health in order to do a clinical diagnosis and conduct research on complex cardiovascular physiologic signals [31]. The proposed method was tested on three different ECG databases [32] including Fantasia Database (FTD), MIT-BIH Arrhythmia Database (MIT-AD), and MIT-BIH Normal Sinus Rhythm Database (MIT-NSD). The suggested peak detection method based on TEO has been implemented with MATLAB R2016a on a minimum laptop with a 4 GB of memory and Intel core i3-4000M 2.4 GHz CPU on Windows 10. This algorithm takes less than 0.026 second. The following formulae were used to determine the performance, sensitivity, error rate detection, positive prediction, and the accuracy of the proposed method: TP is the number of R peaks, FN is the number of missed R peaks, and FP is the false positive prediction of R peak due to the existing noise with dispositioned true R peak.

3.1. MIT-BIH Arrhythmia Database

MIT-AD contains slightly over 30 minutes of recordings in 48 records. The sampling frequency was set to 360 Hz with 11-bit ADC resolution. The subjects who were chosen for this study were 22 women aged 23 to 89 years and 25 men aged 32 to 89 years [31, 33]. Table 1 depicts the details of detected QRS complex in channel 1. The results showed that sensitivity was at 99.74% with a 0.391% (detection) error and 99.97% positive prediction with an accuracy of 99.71%. Table 2 compares the proposed algorithm in this study with those of other studies. All the stages and the process of QRS detections are illustrated in Figures 2 –4. The MIT-AD is available on [36].
Table 1

Results of QRS detection in MIT-BIH Arrhythmia Database (MIT-AD).

CaseTP + FNTPFNFPDER%Se%P+Acc%Time (s)
10022732272100.04499.956100.00099.9560.842011
10118651866010.054100.00099.94699.9460.831718
1022187218700100.000100.000100.0000.800651
10320842083100.04899.952100.00099.9520.832546
10422292232030.134100.00099.86699.8660.819847
105257225841240.61999.53899.84599.3850.821659
10620272023400.19899.803100.00099.8030.826349
10721372134300.14199.860100.00099.8600.831685
10817631758500.28499.716100.00099.7160.828862
10925322527500.19899.803100.00099.8030.839979
1112124212300100.000100.000100.0000.808473
1122539253900100.000100.000100.0000.822048
11317951794100.05699.944100.00099.9440.818563
114187918562301.23998.776100.00098.7760.80345
1151953195300100.000100.000100.0000.818539
116241223892300.96399.046100.00099.0461.321399
1171535153500100.000100.000100.0000.795675
11822782279010.044100.00099.95699.9560.082806
1191987198800100.000100.000100.0000.827755
12118631862100.05499.946100.00099.9460.804042
1222476247600100.000100.000100.0000.833951
1231518151700100.000100.000100.0000.816707
12416191617200.12499.876100.00099.8760.832643
2002601260100100.000100.000100.0000.79576
201196319521100.56499.440100.00099.4400.805514
202213621161900.89899.110100.00099.1100.810542
203298029116902.37097.685100.00097.6850.805071
20526562653300.11399.887100.00099.8870.818077
20718601863130.21599.94699.83999.7860.809665
208295529352000.68199.323100.00099.3230.814803
20930053008030.100100.00099.90099.9000.789794
210265026282220.91399.17099.92499.0950.813432
2122748274800100.000100.000100.0000.797922
21332513243800.24799.754100.00099.7540.826331
21422622256600.26699.735100.00099.7351.04979
21533633358500.14999.851100.00099.8510.796735
21722082205300.13699.864100.00099.8640.816972
2192154215400100.000100.000100.0001.032321
22020482047100.04999.951100.00099.9510.806677
22124272423400.16599.835100.00099.8350.817536
22224832475800.32399.678100.00099.6780.837608
223260525941100.42499.578100.00099.5780.79572
228205320651120.63099.95299.42299.3740.808852
2302256225600100.000100.000100.0000.806291
2311571157100100.000100.000100.0000.815568
23217801786040.224100.00099.77799.7770.802255
23330793070900.29399.708100.00099.7080.795327
23427532750300.10999.891100.00099.8910.80702
Total109494109262285330.29199.74099.97099.7100.81952
Table 2

Comparison of performance of our proposed method with other methods using MIT-BIH Arrhythmia Database (MIT-AD).

Ref.MethodDERSeP+Acc%
[10]Low-pass filtering, high-pass filtering derivative filtering0.67599.76299.56599.329
[34]Multiscale mathematical morphology0.003999.8199.8099.621
[35]Shannon energy envelope, Hilbert transform0.20599.9399.8699.79
[8]Median filter, Savitzky–Golay, Kurtosis0.9399.5099.5699.08
[17]Shannon energy0.16499.9599.8899.84
[18]Wavelet transform, Shannon energy envelope0.16399.9399.9199.838
Proposed methodTeager energy operator0.29199.7499.9799.71
Figure 2

Recognition of R peaks in 108 records. The Y-axis represents amplitude, and X-axis represents the samples.

Figure 3

(a) Low-pass filter, (b) Teager energy operator, (c) moving average, and (d) recognition of R peaks in 232 record. The Y-axis represents amplitude, and X-axis represents the samples.

Figure 4

Examples of the detected QRS Complex from various cases. (a) 104, (b) 203, (c) 228, and (d) 116. The Y-axis represents amplitude, and X-axis represents the samples.

In Figures 2 and 3, (a) reveals wandering signals. (b) shows that after calculating Teager energy, the amplitudes of the signals are very low and close to zero. Therefore, small values with low energy are reduced to zero, and the wandering signals (drift) are canceled.

3.2. Fantasia Database

Fantasia Database (FTD) contains 40 cases in both groups: the young group aged 21 to 34 years (f1y01 … f2y10 and f2y01 … f2y10) and the elderly group aged 68 to 85 years (f2o01 … f2o10 and f2y01 … f2y10), with an average of 5 men and 5 women in each group. The members of each group underwent 120 minutes of continuous supine resting with complete care. The sampling frequency was set at 250 Hz, with a 16- and 12-bit resolutions for ADC. The records included 2 or 3 channels, such as respiration, ECG signal, and blood pressure [31, 37]. Fantasia Database is available on [38]. The QRS complex detection details for the channel 2 in Fantasia Database are presented in Table 3. Here too, the results showed 99.971% sensitivity with 0.056% detection error, and 99.973% positive prediction with an accuracy of 99.944%. Table 4 shows the comparison of the proposed method with the other studies. Figures 5 and 6 illustrate another example of detection: QRS Complex in the Fantasia Database with both elderly and young subjects. As shown in this figure, the proposed method can remove drift noise and detect correct location beat.
Table 3

Results of QRS detection in Fantasia Database (FTD).

CaseTPFNFPDER%Se%P+Acc%Time (s)
f1o01m398800100.000100.000100.0001.051548
f1o02m381300100.000100.000100.0001.040927
f1o03m404600100.000100.000100.0001.055944
f1o04m3433030.087100.00099.91399.9131.02246
f1o05m3720240.16199.94699.89399.8390.997257
f1o06m340800100.000100.000100.0001.020774
f1o07m402500100.000100.000100.0001.031825
f1o08m4739030.063100.00099.93799.9371.012155
f1o09m2796020.072100.00099.92999.9291.016363
f1o10m460200100.000100.000100.0001.030248
f1y01m491700100.000100.000100.0001.026809
f1y02m396700100.000100.000100.0001.029854
f1y03m428900100.000100.000100.0001.006034
f1y04m299800100.000100.000100.0001.005517
f1y05m3942040.101100.00099.89999.8991.015047
f1y06m3906150.15499.97499.87299.8471.004932
f1y07m3381010.030100.00099.97099.9701.009606
f1y08m409800100.000100.000100.0001.043768
f1y09m4509020.044100.00099.95699.9561.029059
f1y10m4912100.02099.980100.00099.9801.046556
f2o01m421600100.000100.000100.0001.026018
f2o02m3594500.13999.861100.00099.8611
f2o03m3765100.02799.973100.00099.9731.063687
f2o04m385700100.000100.000100.0001.006415
f2o05m4926740.22399.85899.91999.7771.014471
f2o06m2987010.033100.00099.96799.9671.024759
f2o07m337300100.000100.000100.0001.066044
f2o08m415100100.000100.000100.0001.520268
f2o09m3335110.06099.97099.97099.9401.037157
f2o10m4996210.06099.96099.98099.9401
f2y01m458600100.000100.000100.0001.016468
f2y02m280700100.000100.000100.0001.018488
f2y03m3882100.02699.974100.00099.9741.023054
f2y04m4943070.142100.00099.85999.8591.038463
f2y05m5169200.03999.961100.00099.9611
f2y06m401700100.000100.000100.0001.017889
f2y07m371700100.000100.000100.0001.031076
f2y08m4014430.17499.90099.92599.8261
f2y09m48701120.26799.77599.95999.7341
f2y010m4032810.22399.80299.97599.7771
Total16072646440.05699.97199.97399.9440.86252
Table 4

Comparison of the proposed method with other methods using Fantasia Database (FTD).

DER%SE%+P%Acc%
Sharma and Sunkaria [8]0.1999.9099.9199.81
Proposed method0.05699.97199.97399.944
Figure 5

The phases of QRS complex detection in f1o09 case. (a) Low-pass filter phase; (b) the Teager energy from the Equation (5); (c) the moving average; (d) the final detection of QRS complex on ECG signal. The Y-axis represents amplitude, and X-axis represents the samples.

Figure 6

Signal processing steps of the proposed R-peak detector using the case f1y06m. (a) The recognition phases by applying a low-pass filtering, (b) the Teager energy, (c) decreased baseline after moving average and sqrt, and (d) the detection phases. The Y-axis represents amplitude, and X-axis represents the samples.

3.3. MIT-BIH Normal Sinus Rhythm Database

MIT-NSD contains 18 long-term two-channel ECG recordings. This database includes 5 men, aged 26 to 45 and 13 women, aged 20 to 50. Frequency sampling equals to 128 Hz with 12-bit ADC resolution [31]. The details of QRS complex detection of channel 1 of MIT-NSD is presented in Table 5. The obtained values showed that sensitivity was equal to 99.878%, with an error equal to 0.134, positive prediction was equal to 99.989%, and accuracy was equal to 99.867%. Table 6 includes a comparison of the proposed algorithm with the other studies. Figure 7 illustrates the QRS detection in record with Gaussian white noise. As shown in the figure, the proposed method removed Gaussian white noise, but T peak was detected as a beat. MIT-NSD Database is available on [39].
Table 5

Results of QRS detection in MIT-BIH Normal Sinus Rhythm Database (MIT-NSD).

CaseTPFNFPDER%Se%+P%Acc%Time (s)
1626511497100.00999.991100.00099.9911.035
162727992270.11399.97599.91299.8881.3
1627310431200.01999.981100.00099.9811.01
16420106872020.20699.81399.98199.7951.3
1648312157500.04199.959100.00099.9591.02
165399130780.16499.92399.91299.8361.04
167739679100.01099.990100.00099.9901.04
167869510200.02199.979100.00099.9791.029
167951038600100.000100.000100.0001.31
170528851400.04599.955100.00099.9551.049
1745311258010.009100.00099.99199.9911
1817711907500.04299.958100.00099.9581.32
18184108881310.12999.88199.99199.8721.023
1908812360300.02499.976100.00099.9761.04
19090104816510.63099.38499.99099.3741.33
19093911100100.000100.000100.0001.028
19140113163900.34599.657100.00099.6571.03
19830148116620.45999.55699.98699.5431.047
Total192452235220.13499.87899.98999.8671.108389
Table 6

Comparison of the proposed method with other methods using MIT-BIH Normal Sinus Rhythm Database (MIT-NSD).

MethodDER%SE%+P%Acc%
Sharma and Sunkaria [8]1.2199.3699.4398.81
Proposed method0.13499.87899.98999.867
Figure 7

Signal processing steps of the proposed R-peak detector using case 16272 with Gaussian white noise. (a) Low-pass filter; (b) the Teager energy; (c) moving average for eliminated spikes and BD stage; (d) detection of R peak. FP is false-positive prediction when the noise is detected. The Y-axis represents amplitude, and X-axis represents the samples.

4. Discussion

The aim of the present research is to use a novel algorithm based on the Teager energy operator in ECG signal to detect QRS complex. The main findings of the study indicated the high reliability and accuracy of this method in QRS complex detection. In spite of applying zero-phase digital filter to maintain QRS complex location, the zero-phase filter is anticausal, and the results showed that the present method had faced a little lag which was less than 0.026 second. Only a detection shift of less than 0.05 second is acceptable [40]. In testing the present method on MIT-AD, some records such as 203 and 210 are main sources of error. The error rate is higher than 1%, which is equal to 0.291. Record 203 has a great number of QRS complexes with multiform ventricular arrhythmia. The TEO phase revealed that the amplitudes are very low and close to zero. Due to this fact, the present method indicated quite a weak performance about records: 203, 19090, and 19830. Records 230, 114, 113, 107, and 106 contain high and sharp T peaks. Record number 207 includes some ventricular flutter (VF) intervals. Those intervals are not interpreted and they go out of studies. One of the constraints of the proposed method is when the QRS complex locations are very close to each other. The length (L) of moving average of phase 2 is assumed to be about 0.17  ×  fs. The recorded signals of Fantasia Database included a variety of cardiac morphology, heart failures, and noises from sources like power lines, white Gaussian noise, and flicker noise(1/f). Lowering the baseline is the main factor contributing to R-peak losses in the MIT-BIH Normal Sinus Rhythm Database. The advantages of the proposed method are a reduced number of steps to implement, no need for an excessive memory capacity or learning stage, a fast method of detection, a set baseline threshold, and no complex mathematical relationships.

5. Conclusion

The present study detects QRS complex based on Teager energy, which was tested on four databases. It is a novel algorithm with an acceptable accuracy for ECG baseline prediction. The obtained results from testing the presented method on the Fantasia Database involved: sensitivity (Se) = 99.971%, positive prediction (+P) = 99.973%, detection error rate (DER) = 0.056%, and accuracy (Acc) = 99.944%. On MIT-AD involvement, Se = 99.74%, +P = 99.97%, DER = 0.291%, and Acc = 99.71%. On MIT-NSD involvement, Se = 99.878%, +P = 99.989%, DER = 0.134%, and Acc = 99.867%. The provided results indicate that the presented method is reliable to detect QRS complex, and because the relationships are simple, the proposed method has a better performance than other sophisticated techniques such as neural networks. The results show that the proposed method is simple, effective, accurate, and suitable for practical application. To avoid the lag from zero-phase filter, a low-pass filter and a moving average were used, but still, the signal faced a shift that was about 0.026 s.
  13 in total

1.  PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals.

Authors:  A L Goldberger; L A Amaral; L Glass; J M Hausdorff; P C Ivanov; R G Mark; J E Mietus; G B Moody; C K Peng; H E Stanley
Journal:  Circulation       Date:  2000-06-13       Impact factor: 29.690

2.  The impact of the MIT-BIH arrhythmia database.

Authors:  G B Moody; R G Mark
Journal:  IEEE Eng Med Biol Mag       Date:  2001 May-Jun

3.  QRS Detection Based on Multiscale Mathematical Morphology for Wearable ECG Devices in Body Area Networks.

Authors: 
Journal:  IEEE Trans Biomed Circuits Syst       Date:  2009-08       Impact factor: 3.833

4.  Age-related alterations in the fractal scaling of cardiac interbeat interval dynamics.

Authors:  N Iyengar; C K Peng; R Morin; A L Goldberger; L A Lipsitz
Journal:  Am J Physiol       Date:  1996-10

5.  Extended Kalman smoother with differential evolution technique for denoising of ECG signal.

Authors:  D Panigrahy; P K Sahu
Journal:  Australas Phys Eng Sci Med       Date:  2016-08-19       Impact factor: 1.430

Review 6.  Nutrition Interventions for Cardiovascular Disease.

Authors:  Janet M de Jesus; Scott Kahan; Robert H Eckel
Journal:  Med Clin North Am       Date:  2016-11       Impact factor: 5.456

7.  A new approach to detect congestive heart failure using Teager energy nonlinear scatter plot of R-R interval series.

Authors:  Chandrakar Kamath
Journal:  Med Eng Phys       Date:  2011-10-26       Impact factor: 2.242

Review 8.  Prevalence and prevention of cardiovascular disease and diabetes mellitus.

Authors:  Pitchai Balakumar; Khin Maung-U; Gowraganahalli Jagadeesh
Journal:  Pharmacol Res       Date:  2016-09-30       Impact factor: 7.658

9.  Shannon's Energy Based Algorithm in ECG Signal Processing.

Authors:  Hamed Beyramienanlou; Nasser Lotfivand
Journal:  Comput Math Methods Med       Date:  2017-01-18       Impact factor: 2.238

10.  R Peak Detection Method Using Wavelet Transform and Modified Shannon Energy Envelope.

Authors:  Jeong-Seon Park; Sang-Woong Lee; Unsang Park
Journal:  J Healthc Eng       Date:  2017-07-05       Impact factor: 2.682

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.