| Literature DB >> 24409290 |
Mohamed Elgendi1, Björn Eskofier2, Socrates Dokos3, Derek Abbott4.
Abstract
Cardiovascular diseases are the number one cause of death worldwide. Currently, portable battery-operated systems such as mobile phones with wireless ECG sensors have the potential to be used in continuous cardiac function assessment that can be easily integrated into daily life. These portable point-of-care diagnostic systems can therefore help unveil and treat cardiovascular diseases. The basis for ECG analysis is a robust detection of the prominent QRS complex, as well as other ECG signal characteristics. However, it is not clear from the literature which ECG analysis algorithms are suited for an implementation on a mobile device. We investigate current QRS detection algorithms based on three assessment criteria: 1) robustness to noise, 2) parameter choice, and 3) numerical efficiency, in order to target a universal fast-robust detector. Furthermore, existing QRS detection algorithms may provide an acceptable solution only on small segments of ECG signals, within a certain amplitude range, or amid particular types of arrhythmia and/or noise. These issues are discussed in the context of a comparison with the most conventional algorithms, followed by future recommendations for developing reliable QRS detection schemes suitable for implementation on battery-operated mobile devices.Entities:
Mesh:
Year: 2014 PMID: 24409290 PMCID: PMC3883654 DOI: 10.1371/journal.pone.0084018
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Figure 1Main Events in ECG signals.
A typical ECG trace of the cardiac cycle (heartbeat) consists of a P wave, a QRS complex, and a T wave.
Comparison of QRS enhancement techniques based on algorithm usage and assessment criteria.
| Technique | Algorithm | Robustness to noise | Parameter choice | Numerical efficiency |
|
| Amplitude threshold is applied to the ECG signal, usually followed by the first derivative of the ECG signal | The signal noise is not removed properly and is not considered by the first- derivative-only class of algorithms for feature extraction. | The processed segments have equally fixed lengths | Amplitude and first derivative class of algorithms is simple and usually contain a threshold and first derivative equation for feature extraction. The complexity mainly depends on the threshold used and segmentation if applied. |
|
| First derivative of ECG signal followed by threshold | The first derivative does not remove high-frequency noise; however, it helps to reduce motion artifacts and base line drifts | The processed ECG segments have equally fixed lengths and thresholds | First derivative class of algorithms is simple and contains one equation for feature extraction. Most cases used Okada's equation |
|
| First derivative combined with second derivative of ECG signal | The signal noise is not removed properly and is not considered by the first- derivative-only class of algorithms for feature extraction. | The processed segments have equal and fixed lengths | First- and second-derivative classes of algorithms are simple and contain only up to four equations for feature extraction. The complexity of this class derives from the number of equations used and segmentation, if applied. |
|
| First derivative of ECG signal followed by digital filters followed by threshold | The digital filter can increase the SNR ratio depending on the nature of the filter and its order | The processed segments have equal and fixed lengths | The digital filters class of algorithms is simple and contains up to only four equations for feature extraction. The complexity of this class will increase if segmentation is applied. The order of complexity depends on the number of processed segments for each record. |
|
| Mathematical morphology filtering applied to ECG signal, followed by threshold | The signal noise is partially addressed by the mathematical morphology class of algorithms. The use of a low-pass filter improves the SNR. | The processed segments have equal and fixed lengths | The mathematical morphology class of algorithms is simple and contains at least 15 equations for feature extraction. The complexity increases with the number of processed ECG segments. The order of complexity is higher than the derivative-based algorithms and digital filter algorithms. |
|
| EMD filtering applied to ECG signal followed by threshold | The first several IMFs can filter out the noise and preserve the QRS content compared to the other ECG features | The processed segments have equally fixed lengths | The EMD class of algorithms is simple and contains at least nine steps with several equations for feature extraction. The complexity increases with the number of processed ECG segments. Certainly, the order of complexity is higher than the derivative-based algorithms and digital filter algorithms. |
|
| First derivative can be used before applying Hilbert transform followed by threshold | The Hilbert transform does not improve the SNR itself. Therefore, some investigators filter the signal before applying the Hilbert transform. Benitez et al. | The processed segments have equally fixed lengths | The Hilbert transform algorithm contains at least nine steps with several equations for features extraction. However, the primary disadvantage of this method is the increased computational burden required for FFT calculations compared to the time domain approaches. Hilbert transform techniques generally have a large computation overhead |
|
| Filter banks applied to ECG signal followed by threshold | The filter banks significantly improve the SNR for Gaussian noise compared to the mean and median averaging methods | The length of the filter, number of sub-bands, transition-band width and stop-band attenuation have fixed values | The drawback of using filter banks is a relatively high computational cost due to the involvement of a large amount of multipliers in the FIR filters |
|
| WT applied to ECG signal, followed by threshold | WT does not increase the SNR, but the SNR can be improved by selecting the coefficients with the largest amplitude | Choosing the mother wavelet is usually determined by the shape of the wavelet, which should be closer to the QRS complex shape, and it depends on the investigator's methodology for detecting the QRS complex.One mother wavelet (i.e. Haar, Daubechies, Biorthogonal, Mexican hat must be chosen once during the entire ECG analysis.Choosing the length of the processed ECG segment does vary in literature. Ahmed et al. | If the ECG is segmented (this is usually the case), the length of the segment reflects the tradeoff between accuracy and computational time-consumption of the algorithm |
Figure 2QRS enhancement stage in ECG signals.
(a) ECG signal (top: from record 100 of the MIT-BIH Arrhythmia Database [62]), (b) amplitude from Eq.1 where , (c) first derivative from Eq.4, (d) first derivative and second derivative from Eq.7, and (e) digital filter from Ref. [33]. Signal amplitudes have been manipulated to fit all signals in one figure. Here, a red asterisk represents the annotated R peak.
Figure 3Filter bank schematic.
A filter bank contains a set of analysis filters that decompose the input signal into sub-bands with uniform bandwidths in order to extract ECG features. Here, is a downsampling process producing down-sampled signals .
Comparison of QRS detection techniques based on algorithm usage and assessment criteria.
| Technique | Algorithm | Robustness to noise | Parameter choice | Numerical efficiency |
|
| The threshold step has been used in the literature as the last stage for most QRS detection algorithms | The performance of the threshold approach will be affected by low SNR signals | –The threshold is a fixed value | The threshold approach is simple. It is an IF-THEN-ELSE statement. Therefore, it is considered computationally efficient by researchers |
|
| –WT applied to ECG signal, followed by NNs | NN are highly sensitive to noise | – The type of the NNs must be chosen and adjusted before the analysis.–Number | –The training phase can be numerically inefficient as it is an iterative process for adjusting the NN weights |
|
| –Bandpass filter applied to ECG signal, followed by HMM | –HMM is sensitive to noise, baseline wander and heart rate variation | – Determining the number of states, transition probabilities and output function has been done experimentally.–The parameters of a HMM cannot be directly estimated from training data using maximum likelihood estimation formulas, since the underlying state sequence that produced the data is unknown | –The problems of the method include a necessary manual segmentation for training prior to the analysis of a record, its patient dependence, and its considerable computational complexity, even when the computationally efficient Viterbi algorithm |
|
| – Matched filters applied to ECG signal | The matched filter improves SNR | – Fixed template length.–The template length and filter are determined experimentally. | Efficient implementations are available |
|
| The syntactic method is applied to an ECG signal to detect a QRS complex by itself | The syntactic method is sensitive to noise | –The length of the segment is fixed. Belforte et al. | The syntactic method has a high computational cost compared to other approaches. Measurements of various parameters have to be performed; powerful grammars capable of describing syntax as well as semantics are needed to model the formulation of a pattern grammar. |
|
| The zero-crossing technique has been used in the literature to detect QRS complexes as follows:– Bandpass filter applied to ECG signal, followed by zero crossing | The zero crossing is sensitive to noise | –The threshold used for counting the number of zero crossings per segment is fixed | The zero-crossing approach is simple but computationally inefficient. This is because of the time consuming stages in the maximum/minimum search for temporal localization of the R wave |
|
| –EMD filtering applied to ECG signal, followed by singularity and threshold | The singularity approach is sensitive to noise | –Choosing the wavelet scales to search for singular points is performed experimentally | The singularity approach load is more complex than the zero- crossing approach. It is computationally inefficient because of the consuming stages in the search and optimization for detecting R waves in ECG segments |
Comparison of ECG beat detection algorithms based on techniques for QRS enhancement and detection on the MIT-BIH arrhythmia database [62].
| Publication | QRS Enhancement | QRS detection | Number of beats | Numerical Efficiency | SE (%) | +P (%) |
| Chiarugi et al. | Bandpass Filter + first Derivative | Multiple thresholds | 109494 | High | 99.76 | 99.81 |
| Christov | Multiple moving averages + first derivative | Multiple thresholds | 109494 | High | 99.76 | 99.81 |
| Elgendi | Bandpass filter + first derivative + squaring | Thresholding using two moving averages | 109985 | High | 99.78 | 99.87 |
| Zidelmal | WT + coefficients multiplication | Two thresholds | 109494 | Medium | 99.64 | 99.82 |
| Choukri | WT + histogram +moving average | Two thresholds | 109488 | Low | 98.68 | 97.24 |
| Li et al. | WT + digital filter | Singularity + multiple thresholds | 104182 | Low | 98.89 | 99.94 |
| Pan and Tompkins | Bandpass filter+first derivative + squaring + moving average | Multiple thresholds | 116137 | Medium | 99.76 | 99.56 |
| Arzeno et al. | First derivative + Hilbert transform | Threshold | 109257 | Medium | 99.13 | 99.31 |
| Arzeno et al. | First derivative + Hilbert transform | Two thresholds | 109517 | Medium | 99.29 | 99.24 |
| Arzeno et al. | First derivative + squaring + bandpass filter | Multiple thresholds | 109504 | Medium | 99.68 | 99.63 |
| Arzeno et al. | First derivative + squaring + bandpass filter | Variable thresholds comparison | 109436 | Medium | 99.57 | 99.58 |
| Arzeno et al. | Second derivative + squaring + bandpass filter | Variable thresholds comparison | 108228 | Medium | 98.08 | 99.18 |
| Moraes et al. | Low pass filter + First derivative + modified spatial velocity | Threshold | 109481 | Medium | 99.69 | 99.88 |
| Chouhan and Mehta | Digital filters | Threshold | 102654 | Medium | 99.55 | 99.49 |
| Elgendi et al. | Digital filters | Multiple thresholds | 44677 | Medium | 97.5 | 99.9 |
| Martinez et al. | WT | Multiple thresholds + zero Crossing | 109428 | Medium | 99.8 | 99.86 |
| Afonso et al. | Filter banks | Multiple thresholds | 90909 | Low | 99.59 | 99.56 |
| Ghaffari et al. | Continuous WT | Threshold | 109837 | Medium | 99.91 | 99.72 |
| Zheng and Wu | Discrete WT + Cubic Spline Interpolation + moving average | Threshold | N/R | Low | 98.68 | 99.59 |
| Ghaffari et al. | Hybrid Complex WT | Threshold | 24000 | Low | 99.79 | 99.89 |
| Ghaffari et al. | Complex Frequency B-Spline WT | Threshold | 24000 | Low | 99.29 | 99.89 |
| Ghaffari et al. | Complex Morlet WT | Threshold | 24000 | Medium | 99.49 | 99.29 |
SE and +P stand for sensitivity and positive productivity respectively, while N/R denotes not reported.
Figure 4Screenshot showing the main interface of the ‘Hearty’ application implemented by Gradl et al. (2012) [8].
From top to bottom: Panel showing various clinically relevant parameters that are automatically detected including heart rate (HR) and RR interval; Panel showing the detected ECG signal, which is wirelessly streamed to the application; Panel showing the QRS detection with filled circle markers for the Q, R and S waves; Panel showing the detected beat-to-beat heart rate.
Figure 5A showcase of realtime factors for three outdated mobile phones.
Three QRS detection algorithms were tested, as reported by Sufi et al. [63]. The QRS enhancement phase was based on amplitude, first-derivative, and second-derivative techniques, whilst the QRS detection phase employed thresholding. Realtime factor is the processing time needed to run the QRS detection algorithm for an individual ECG entry within one measurement window size of 60 seconds.
Figure 6QRS enhancement stage in ECG signals.
(a) ECG signal (top: from record 107, bottom: from record 108 of the MIT-BIH Arrhythmia Database [62]), (b) amplitude from Eq.1 where , (c) first derivative from Eq.4, (d) first derivative and second derivative from Eq.7, and (e) digital filter from Ref. [33]. Signal amplitudes have been manipulated to fit all signals in one figure. Here, a red asterisk represents the annotated R peak.