Skip to main content
Healthcare Technology Letters logoLink to Healthcare Technology Letters
. 2020 Feb 18;7(1):18–24. doi: 10.1049/htl.2019.0096

Detection and classification of ECG noises using decomposition on mixed codebook for quality analysis

Pramendra Kumar 1,, Vijay Kumar Sharma 1
PMCID: PMC7067057  PMID: 32190336

Abstract

In this Letter, a robust technique is presented to detect and classify different electrocardiogram (ECG) noises including baseline wander (BW), muscle artefact (MA), power line interference (PLI) and additive white Gaussian noise (AWGN) based on signal decomposition on mixed codebooks. These codebooks employ temporal and spectral-bound waveforms which provide sparse representation of ECG signals and can extract ECG local waves as well as ECG noises including BW, PLI, MA and AWGN simultaneously. Further, different statistical approaches and temporal features are applied on decomposed signals for detecting the presence of the above mentioned noises. The accuracy and robustness of the proposed technique are evaluated using a large set of noise-free and noisy ECG signals taken from the Massachusetts Institute of Technology-Boston's Beth Israel Hospital (MIT-BIH) arrhythmia database, MIT-BIH polysmnographic database and Fantasia database. It is shown from the results that the proposed technique achieves an average detection accuracy of above 99% in detecting all kinds of ECG noises. Furthermore, average results show that the technique can achieve an average sensitivity of 98.55%, positive productivity of 98.6% and classification accuracy of 97.19% for ECG signals taken from all three databases.

Keywords: medical signal processing, electrocardiography, medical signal detection, AWGN, signal denoising, Gaussian noise, signal classification

Keywords: PLI, additive white Gaussian noise, AWGN, signal decomposition, mixed codebook, ECG local waves, ECG noises, decomposed signals, noisy ECG signals, muscle artefact, Technology-Boston Beth Israel Hospital arrhythmia database, spectral-bound waveforms, MIT-BIH polysmnographic database, Fantasia database

1. Introduction

Continuous cardiac monitoring has become increasingly important for early detection of cardiovascular diseases by recording electrocardiogram (ECG) signals [13]. In continuous monitoring, ECG signal is corrupted by different noises which include baseline wander (BW), power line interference (PLI), muscle artefact (MA) and instrumentation noise (IN) [2, 3]. Example of these noises is illustrated in Fig. 1. It can be noted from Fig. 1 that presence of these low-frequency (LF) and high-frequency (HF) noises results in inaccurate estimation of characteristics points, feature extraction, beat segmentation, alert generation during long-term recordings which can lead to wrong diagnostic decisions. Identification of noisy ECG segments in steady or Holter recordings is of particular importance since these signals are of no clinical use [1]. Therefore, it is very important to analyse the signal quality before signal analysis, feature extraction, deterioration identification, alarm generation and risk stratification [4]. Therefore, signal quality assessment (SQA) of acquired cardiac signals is an important process at the initial stage of implementing a decision system or computer-aided system to avoid incorrect decisions [4]. Furthermore, SQA can help in suppressing false alarms, identifying the improper placement of sensors, distributing resources adequately in a clinical setting, precise or robust extraction of clinically relevant features [5].

Fig. 1.

Fig. 1

ECG signals with different types of artefacts and noise

a ECG corrupted with BWs noise

b ECG corrupted with MAs

c ECG corrupted added with AWGN at SNR = 5 dB and

d ECG corrupted added with PLI noise

SQA is the semi-automated process of rejecting corrupted signals with the help of a human operator [6]. Generally, this subjective measure of signal quality analysis can be time-consuming, costly and prone to error during long-term measurements. Furthermore, this problem is more profound in many applications moving toward multi-channel arrays [7]. Therefore, there is a need of automated algorithms which can help to screen the signals at the front end of any decision-making system. Furthermore, it can prompt the operator for reacquisition when quality is poor. Thus, the quality appraisal of the recorded signals plays an important aspect in the vision of providing continuous health monitoring. Also, not only the noise detection in SQA but also classification of noises is also extremely important for selecting noise-specific and computational simple denoising algorithm [3].

1.1. ECG SQA techniques

In the literature, many SQA techniques have been proposed based on the simple thresholding, morphological change detection, QRS and fiducial point detection, machine learning approaches, higher order statics, temporal domain statistics, transform domain and signal decomposition. In [1] Orphanidou et al. proposed heuristic rules for quality appraisal of ECG and photplethsmogram (PPG) signals using extracted features based on the QRS or pulse portions, RR intervals, RRmax/RRmin, and template matching. In [8], quality appraisal is accomplished based on regularity in the shape of PQRST complexes and ensemble averaging of PQRST complexes. Furthermore, effect on myocardial ischemia alarms due to motion artefact has been analysed in an ambulatory ECG leads. In [9] Naseri and Homaeinezhad proposed a machine learning approach based on the neural network followed by energy-based index and correlation analysis for quality appraisal of ECG signal.

In [10], Behar et al. derived signal quality indices (SQIs) for the different varieties of arrhythmias and for the reduction of false alarm using a trained support vector machine (SVM) classifier. In [11], ECG signal quality is labelled as unacceptable based on the lead absence, spike detection, lead crossing points and robustness of QRS detection. In [12], Clifford et al. employed higher order moments and spectral energy information for SQIs and data fusion. Then, multi-layer perceptron, artificial neural network and SVM are trained using moments and energy features for determining clinical acceptability of ECGs. In [13], Hayn et al. proposed ECG SQA for patient treatment in m-Health applications. The method relies on signal parameters, crossing counts among various leads, and R-peak amplitude versus noise-amplitude ratio. In [14], Lee et al. exploited empirical mode decomposition (EMD) followed by statistical approaches for automatic motion artefact detection. A novel SQI is proposed for PPG, arterial blood pressure and ECG based on adaptive multi-channel prediction in [15]. In [16, 17], LF and HF information of local waves of ECG signals and noises are extracted using various decomposition techniques followed by different temporal features for the detection and classification of ECG noises. In [18], a Daubechies wavelet-based method is proposed for assessing the ECG signal with unacceptable quality using heuristic rules and temporal features.

Many of the techniques based on the detection of QRS complex, R-R interval and fiducial points from the input ECG signal are not suitable for SQA since detection of correct R-R interval, QRS complex, fiducial points is difficult due to frequent variation in PQRST morphology in the ECG signal and under severe noises [16, 17]. Many machine learning-based SQA techniques require a large number of ECG beats with different morphological shapes and noises for improving the detection accuracy [19]. Although detection and classification of ECG noises based on signal and noise separation using various decomposition techniques provide a promising approach, the accuracy of detection and classification highly depends on decomposition techniques. For example, in EMD-based SQA techniques, localised components of ECG signal and noises are segregated over a number of intrinsic mode functions (IMFs). Under this situation, it is quite challenging to identify the noisy IMFs from the signal IMFs [16]. In wavelet-based techniques, the wavelet coefficients of BW, PLI, and MA noises and ECG signal are dispersed over detail and approximation subbands. Although the spectral range of each wavelet subband is known, characterisation of noisy subband is quite challenging under time-varying PQRST morphologies and noise characteristics. Thus, selection of the wavelet filter, decomposition level and characteristic subband is quite difficult. Therefore, in this Letter, sparse signal decomposition (SSD) of ECG signal on mixed codebooks is exploited for signal separation followed by low-level feature extraction to detect and classify different ECG noises including BW, MA, PLI, and IN.

2. Proposed ECG noise detection and classification technique

In this section, the sparse representation of ECG signal on mixed hybrid overcomplete codebooks is briefly described for simultaneously extracting the local components of ECG signal and different noises such as BW, PLI, MA and additive white Gaussian noise (AWGN).

2.1. ECG signal decomposition on hybrid codebooks

A composite ECG signal (with its local waves and noises) x can be adequately represented on hybrid mixed codebook ΦRP×Q, where P<Q, including temporal-bound and spectral-bound elementary waveforms [2022]. Hence, ECG signal for a predefined mixed codebook can be expressed as

x=Φα=k=1Qαkϕk (1)

where α=[α1,α2,αQ] is the sparse transformed vector, which can be derived from an overcomplete codebook. The overcomplete codebook can be constructed using analytical orthogonal functions or beat patterns by exploiting the prior knowledge about the temporal and spectral characteristics of ECG local waves and noises [2022]. Hence, spectral-domain bound components such as LF components of an ECG signal and BW and PLI noises can be effectively modelled using sinusoidal waveforms [2022]. The spike-like components of MAs and AWGN may be modelled as impulsive elementary waveforms. It is worth to note that the high spectral components of QRS complex are also captured by these elementary waveforms. This codebook provides an efficient sparse representation for ECG local waves as well as noises. Thus, the codebook including both temporal-bound and spectral-bound signals is derived from different orthogonal functions to provide adequate representations of ECG signals and inherent noises [2022]. In this Letter, the ECG signal is decomposed using the overcomplete mixed codebook with a size of P×Q as

Φ=[ΦBW|ΦLF|ΦPLI|ΦHF], (2)

where P denotes the length of the ECG signal x and Q denotes the number of orthogonal waveforms. ΦBW denotes the codebook of elementary waveforms of BW to capture the BW components present in the signal. ΦLF denotes the codebook containing LF elementary waveforms to capture the P wave, T wave and LF portions of QRS complexes. ΦPLI denotes the codebook of the elementary waveforms of power line frequencies to capture the PLI noise components present in the signal. ΦHF with size of P×P denotes identity codebook to capture spike-like components such as MAs, AWGN or HF components of QRS complex that are well bound in the temporal domain. The BW codebook ΦBW, LF codebook ΦLF, and PLI codebook ΦPLI codebooks are constructed using the orthogonal sine and cosine signals derived from the discrete sine and cosine functions to capture the information of the noise components including the BW, PLI, and local ECG waves including the P-wave, T-wave and wide QRS complexes. The codebooks S and C both with size P×K contain a set of elementary sine and cosine signals, respectively, for a known spectral bin range of each aforementioned codebook, which can be computed similar to [2022] and can be written as [S]ij=2/Paisinπ(2j+1)(i+1)/2P and [C]ij=2/P[aicos(π(2j+1)i/2P)]. Where ai=1/2 for i=P1 in S and i=0 in C, otherwise ai=1.

In this work, both discrete cosine and sine elementary waveforms are used to avoid signal discontinuities at the segment boundaries [20]. The computational complexity for estimating the sparse coefficients relies upon the dimension of the codebook and the number of iterations taken by the algorithm [20, 21, 23]. Codebook can be learned based on the characteristics of the signals of interests for specific type of applications such as event identification, parameter estimation, compression and denoising problems [20, 21]. Since the main goal is to detect and classify the presence of ECG noises, spectral-bound codebooks ΦBW, ΦPLI and ΦLF are constructed based upon the dominant spectral ranges of the BW, the PLI and the ECG local waves, respectively. In this Letter, spectral bin ranges of [0–1] Hz, [47–53] Hz and [1–6] Hz for the sinusoidal codebooks ΦBW, ΦPLI and ΦLF, respectively, are chosen to capture BW, PLI and LF components of ECG signal as mentioned in [20, 21, 24]. For a given frequency f1, the column number is calculated as 2Pf1/Fs, where Fs is the sampling rate and P denotes the length of the signal. Then, the orthogonal sine and cosine basis signals are calculated for desired spectral bin ranges. The LF component P/T wave and wide QRS complexes are adequately captured by the LF codebook ΦLF.

The main goal is to estimate the sparse coefficients which can adequately capture all ECG local waves and ECG noises including BW, PLI, MA, AWGN compactly. These sparse coefficients can be estimated by well-known l1 norm optimisation algorithm [20, 21]

α^=argminΦαx22+λα1 (3)

where λ is the regularisation parameter which adjusts relative weights between reconstruction fidelity Φαx22 and sparsity term α1. α^ is the reconstructed sparse coefficients vector which consists of coefficients reconstructed from ΦBW, ΦPLI, ΦLF and ΦHF, which can be written as

α^=[α^BW|α^PLI|α^LF|α^HF] (4)

where α^BW represents the sine and cosine coefficients derived for the BW codebook ΦBW, α^LF represents the sine and cosine coefficients derived for the LF codebook ΦLF, α^PLI represents the sine and cosine coefficients derived for the PLI codebook ΦPLI and α^PLI represents the impulsive coefficients derived for the HF codebook ΦHF. Using (1), (2) and (4), ECG signal and inherent noises can be described as a linear combination of weighted columns of codebook Φ

xΦα^=[ΦBW|ΦPLI|ΦLF|ΦHF]α^ (5)
x=ΦBWα^BW+ΦPLIα^PLI+ΦLFα^LF+ΦHFα^HF

Finally, the reconstructed ECG signal x[n] can be written as

x[n]xB[n]+xP[n]+xL[n]+xH[n] (6)

Using this sparse decomposition, ECG signal is decomposed into BW signal xB[n], the PLI signal xP[n], the LF signal xL[n] including the P-wave, wide QRS complex, and T-wave, and the HF signal xH[n] including the HF component of QRS complex and spiky noise components such as MA and AWGN.

2.2. Statistical features for detection and classification of ECG noises

In this Letter, different statistical features are applied on the decomposed components, i.e. xB[n], xP[n], xH[n] for the detection of noises. This detection problem can be formulated as two hypothesis problem for the estimation of individual components in the decomposed signals which is as follows:

Hi=1:noisepresent0:noiseabsent (7)

Once, the detection is accomplished then it is classified in the subsequent classes based on values of statistical features. Different statistical features such as dynamic range, zero-crossing, kurtosis are employed to detect and classify the various noises. In this work, 10 s ECG segment is used for processing, Fig. 2. A detailed discussion is presented on detection and classification of individual noise type in the following section.

Fig. 2.

Fig. 2

Illustrates reconstructed spectral localized noises and time-localized HF QRS complex signal using sparse signal decomposition from noise-free ECG signal

a Original clean ECG signal taken from MITBIHAD

b Decomposed BW signal xB[n]

c Decomposed PLI signal xP[n]

d Decomposed HF (including QRS) signal xH[n]

2.2.1. BW noise detection

The information of LF components <0.5 Hz is captured in the decomposed signal xB[n]. Fig. 3a shows that ECG signal is corrupted with BW and PLI noises. Also, BW noise is captured in the decomposed component xB[n] as depicted in Fig. 3b. Fig. 3b shows the large variation in the amplitude range. Therefore, for detecting the presence of the BW noise, dynamic range of xB is compared with a threshold γB as follows:

vDR=max{|xB|} (8)
Fig. 3.

Fig. 3

Illustrates reconstructed spectral localized noises and time-localized HF QRS complex signal using sparse signal decomposition from corrupted ECG signal

a Original ECG signal corrupted with BW and PLI (added synthetically) taken from MITBIHAD

b Decomposed BW signal xB[n]

c Decomposed PLI signal xP[n]

d Decomposed HF (including QRS) signal xH[n]

Then, implementing amplitude thresholding rule with a predefined threshold γB, the BW noise event is detected as follows:

HB=1:vDRγB,0:otherwise (9)

where HB is the hypothesis for the BW noise. Here, the value of γB is chosen as 0.1 mV such that acceptable level of BW noise does not distort the minimum amplitude value of P-wave of the ECG signal [20, 24].

2.2.2. PLI detection

SSD exploits the information of elementary waveforms of the power line frequency. Therefore, information about 50/60 Hz frequency is adequately captured in the decomposed signal xP. It is evident from Fig. 3a that complete ECG segment is corrupted by uniformly distributed PLI and adequately captured in xP as shown in Fig. 3c. For detecting the presence of PLI, a predefined threshold (let γP) can be employed. Typically, the minimum value of P-wave amplitude lies below 0.1 mV [20, 24]. Hence, the value of the threshold can be chosen such that it should not distort the local P wave. Here, the value of the threshold γP is chosen as 0.05 mV. It can be observed in case of higher MA or Gaussian noise, xP may exceed the predefined threshold γP as shown in Fig. 4. In order to discriminate the PLI noise from either MA or AWGN, two temporal domain parameters, i.e. kurtosis and high zero-crossing rate ratio (HZCRR) are employed. HZCRR is defined as the ratio of the number of segments having a zero-crossing rate (ZCR) above 1.5-times as compared to average ZCR in 10 s block [25]. HZCRR basically estimates the dynamic amplitude range of the zero-crossings. HZCRR can be computed as:

HZCRR=1Ln=0L1[sgn(ZCR(n)1.5ZCR¯)+1], (10)

where L is the number of blocks and ZCR¯ is the mean of zero-crossings rate in each block.

Fig. 4.

Fig. 4

Illustrates reconstructed spectral localized noises and time-localized HF QRS complex signal using sparse signal decomposition from corrupted ECG signal

a Original ECG signal corrupted with higher BW, MA and AWGN (added with SNR = 0 dB) taken from MITBIHAD

b Decomposed BW signal xB[n]

c Decomposed PLI signal xP[n]

d Decomposed HF (including QRS) signal xH[n]

In order to discriminate the MA from PLI (under severe MA), HZCRR is employed. In such cases, dynamic amplitude range of zero-crossings in xP is not consistent which is indicated by the non-zero value of HZCRR. However, in presence of high Gaussian noise, dynamic amplitude range of zero-crossings in xP is consistent. Hence, in order to discriminate it from PLI, kurtosis measure κ is used. Kurtosis measures the sharp peaks of the distribution of random variable [26] in the signal. Kurtosis measure κ can be computed as:

κ=(1/N)j=1N(xP(j)μ)4[(1/N)j=1N(xP(j)μ)2]2 (11)

where N is the length of noisy signal xP and μ is the mean of xP. It is well known fact that kurtosis value of Gaussian distribution is ∼3. Therefore, by comparing the kurtosis value, PLI and AWGN can be classified. The reason for setting predefined threshold (γP) is to avoid computation of kurtosis and HZCRR in case of lower noise in xP. Therefore, the detection problem becomes in PLI case as follows:

HP=1:HZCRR=0&&round(κ)=30:otherwise (12)

2.2.3. HF detection and classification

The decomposed signal xHF contains QRS complex as well as dense spiky HF noise (MA and AWGN) as shown in Figs. 5 and 6. It is very important to detect the presence of HF noise before classification of MA and AWGN. It can be observed from Figs. 5 and 6 that amplitude of zero-crossings is increased. Therefore, information of the amplitude and number of zero-crossings is employed to detect the presence of HF noise. The zero-crossing computation and amplitude thresholding stages are implemented based on the overlapped segmentation of the HF signal xH. In the segmentation process, the decomposed signal xH is divided into overlapping segments with segment duration of 100 ms with a segment shift (Q) of 10%. The overlapping segmenting process is implemented as

xPk[n]=xPPk2+nn=1,2,,P (13)

where k=0,1,,M11 and M1=N/Q. P denotes the size of window. Then, ZCR is calculated for each block xPk[n]. To detect the presence of HF noises, median of amplitudes and ZCR of that block are compared with thresholds γP1 and γP2, respectively. Here, the value of threshold γP1 for median is chosen 0.02 mV to avoid distortion in the local P wave. Median feature has been used to reduce the effect of R peak amplitude in the window. The value of threshold γP2 is chosen as 5. This threshold is selected based on the fact that the block containing QRS complex should not have >5 zero-crossings in the case of noise-free ECG signal. Let the instances in which the block does not fulfil the above two conditions be ρ. Then, the hypothesis problem for HF detection case can be written as follows:

HH=1:L>00:otherwise (14)

where L is the length of the vector ρ. To discriminate the MA and AWGN after detecting the presence of HF noise, uniformity of the zero-crossings above threshold (same as γP2) has been used. If ratio of number of the blocks exceeded the zero-crossing threshold to the total number of blocks is above 80% then it is classified as AWGN and vice versa. Let Λ be this ratio then resulting signal can be written as:

HH=AWGN:Λ<0.8MA:otherwise (15)
Fig. 5.

Fig. 5

Illustrates reconstructed spectral localized noises and time-localized HF QRS complex signal using sparse signal decomposition from corrupted ECG signal

a Original ECG signal corrupted with MA taken from MITBIHAD

b Decomposed BW signal xB[n]

c Decomposed PLI signal xP[n]

d Decomposed HF (including QRS) signal xH[n]

Fig. 6.

Fig. 6

Illustrates reconstructed spectral localized noises and time-localized HF QRS complex signal using sparse signal decomposition from corrupted ECG signal

a Original ECG signal corrupted with AWGN (added with SNR = 5 dB) taken from MITBIHAD

b Decomposed BW signal xB[n]

c Decomposed PLI signal xP[n]

d Decomposed HF (including QRS) signal xH[n]

Hence, all the noises can be classified using SSD and statistical features.

3. Results and discussion

In this section, the detection and classification performance of the proposed technique is evaluated using a variety of ECG signals taken from three publicly available databases, i.e. Massachusetts Institute of Technology-Boston's Beth Israel Hospital (MIT-BIH) arrhythmia database (MITBIHAD), MIT-BIH polysmnographic database (MITBIHPD) and Fantasia database (FD).

3.1. Databases and performance metrics

MITBIHAD contains 48 records of ECGs for two leads [27]. Each signal is recorded longer than 30-min and digitised at 360 samples/s with sample resolution of 11-bits per sample [27]. The database contains ECG signals with normal sinus rhythm (NSR) and different arrhythmias including atrial fibrillation, supraventricular tachyarrhythmia, atrial flutter, sinus bradycardia, ventricular tachycardia, ventricular flutter, atrial premature beat, premature ventricular contraction, left bundle branch block, right bundle branch block [27]. MITBIHPD consists of four physiological signals ECG, blood pressure, EEG (electroencephalogram) and respiratory signal [28]. ECG signals are taken from the database for evaluating the proposed technique. This database contains long recordings (varying in time for different records) of the ECG signal recorded at a sampling frequency of 250 Hz and 12-bit resolution [28]. The FD consists of 2 h of continuous supine resting ECG signals recorded from 20 young and 20 elderly subjects. Each signal was digitised at 250 Hz with 12/16-bit resolution [29].

Mostly, ECG records consist of different kinds of PQRST morphologies and contaminated by various kinds of artefacts and noises including BW, PLI and MA. For creating the PLI annotated database with ECGs + PLI, sinusoidal noise is added with varying amplitude and frequency ranging from 47 to 52 Hz. Similarly, other noises including, BW and MA are added in noise-free ECG signal to increase the test ECG segments using synthetic noise generator available in [30]. Consequently, for ECG corrupted with AWGN noise, WGN is added with 0 to 15 dB SNR. The ECG records were taken from all records of MITBIHAD, MITBIHPD and FD. Then, a large ECG signal database is constructed for each class (i.e. Clean, BW, MA, PLI, AWGN) and combination of classes from various records of all three databases. For all the records, ground-truth annotation was performed using two experts by visually inspecting the records. In case of disagreement of both experts, we have discarded those ECG segments and those segments are not included in the created database. Five benchmark parameters such as sensitivity (Se), specificity (Sp), positive predicitivity (+P), accuracy (A), and classification accuracy (Ac) are computed for evaluating the proposed technique as in [17].

3.2. Performance evaluation

Table 1 depicts the comparative performance of the proposed technique as compared to existing methods in detecting the various ECG noises. All the ECG segments are divided into three categories: Acceptable/unacceptable ECG segments with NSR; Acceptable/unacceptable ECG segments with ventricular arrhythmias; Acceptable/unacceptable ECG segments with atrial arrhythmias. Five existing SQA techniques including QRS complex features and template matching [1], correlation between PQRST morphologies of ECG beats [8], QRS detection and RR interval features and heuristics rules [11], Wavelet-based technique [17], and moving average filter and low-level features [31] are implemented. It is evident from the table that the proposed technique provides superior detection performance over existing SQA techniques. The proposed technique achieves an average Se of 99.40%, Sp of 98.49% and A of 99.17% in detecting all types of ECG noises.

Table 1.

Comparative detection results of different techniques

Group Total seg. Clean Noisy TP TN FP FN Se Sp A
Ref. [1] I 6000 2500 3500 2271 1404 1096 1229 64.89 56.16 61.25
II 600 254 346 280 67 187 66 80.92 26.38 57.83
III 500 117 383 278 27 90 105 72.58 23.08 61.00
Ref. [8] I 6000 2500 3500 2104 1424 1076 1396 60.11 56.96 58.80
II 600 254 346 227 135 119 119 65.61 53.15 60.33
III 500 117 383 204 49 68 179 53.26 41.88 50.60
Ref. [11] I 6000 2500 3500 2201 1546 954 1299 62.89 61.84 62.45
II 600 254 346 230 70 184 116 66.47 27.56 50.00
III 500 117 383 249 87 30 134 65.01 74.36 67.20
Ref. [17] I 6000 2500 3500 3462 2488 12 38 98.91 99.52 99.17
II 600 254 346 342 250 4 4 98.84 98.43 98.67
III 500 117 383 383 114 3 0 100.00 97.44 99.40
Ref. [31] I 6000 2500 3500 3181 2231 269 319 90.89 89.24 90.20
II 600 254 346 317 204 42 29 91.62 82.93 88.01
III 500 117 383 346 104 13 37 90.34 88.89 90.00
proposed I 6000 2500 3500 3467 2490 10 33 99.06 99.60 99.28
II 600 254 346 343 250 4 3 99.13 98.43 98.83
III 500 117 383 383 114 3 0 100.00 97.44 99.40

Note: I = Acceptable/unacceptable quality of ECG signals with NSR; II = Acceptable/unacceptable quality of ECG signals with ventricular arrhythmias; III = Acceptable/unacceptable quality of ECG signals with atrial arrhythmias.

Table 2 depicts the average classification performance of the proposed technique for ECG signals taken from all three databases in terms of benchmark parameters such as sensitivity (Se), positive predicitivity (+P) and classification accuracy (Ac). The proposed technique achieves a classification accuracy of 97% approximately for all ECG and noise classes taken from all three databases as shown in Table 2. It is clear from the results that SSD enables to detect the presence of BW, PLI and HF noise from the subsequent decomposed signals using simple statistical parameters. Although all databases provide good Se, +P and classification accuracy, it is important to identify the unacceptable recording of signal by detecting the type of noise. However, one can bypass the step of classification by neglecting the unacceptable records after detecting HF noise itself which may further improve the detection accuracy of the proposed technique. It is evident from the results that the proposed technique can be suitable for detecting most commonly encountered noise types including BW, PLI, MA, AWGN and mixture noise types including BW + PLI, and BW + MA.

Table 2.

Average classification results of the proposed technique

Signal type Total seg. TP FP FN Se, % +P, % Ac, %
clean 3982 3957 59 25 99.37 98.53 97.92
BW 3482 3458 55 24 99.31 98.43 97.77
MA 3672 3628 30 44 98.80 99.18 98.00
PLI 3942 3931 78 11 99.72 98.05 97.79
AWGN 3952 3875 35 77 98.05 99.10 97.19
BW + MA 3662 3621 75 41 98.88 97.97 96.90
BW + PLI 3032 2936 27 96 96.83 99.09 95.98
BW + AWGN 3142 3020 37 122 96.12 98.79 95.00
MA + PLI 3342 3323 57 19 99.43 98.31 97.76
PLI + AWGN 3922 3881 44 41 98.95 98.88 97.86
BW + PLI + MA 2692 2652 75 40 98.51 97.25 95.84
BW + PLI + AWGN 3452 3406 14 46 98.67 99.59 98.27
total 42,274 41,688 586 586 98.55 98.60 97.19

4. Conclusion

In this Letter, a new technique is presented for detection and classification of ECG noises based on SSD on mixed codebooks and statistical features such as dynamic amplitude range, HZCRR, kurtosis measures, ZCR. The proposed detection and classification technique is evaluated using a wide variety of clean and noisy ECG signals taken from three publicly available MITBIHAD, MIT-BIH polysomnographic database and FD. Results demonstrate that the proposed technique achieves the average detection accuracy of above 99% in detecting all kinds of ECG noises. Furthermore, average results show that the technique can achieve an average sensitivity (Se) of 98.55%, positive productivity (+P) of 98.60% and classification accuracy of 97.19% for all three databases.

5 References

  • 1.Orphanidou C., Bonnici T., Charlton P., et al. : ‘Signal quality indices for the electrocardiogram and photoplethysmogram: derivation and applications to wireless monitoring’, IEEE J. Biomed. Health Inf., 2014, 19, (3), pp. 832–838 [DOI] [PubMed] [Google Scholar]
  • 2.Satija U., Ramkumar B., Manikandan M.S.: ‘A new automated signal quality-aware ECG beat classification method for unsupervised ECG diagnosis environments’, IEEE Sens. J., 2018, 19, (1), pp. 277–286 (doi: 10.1109/JSEN.2018.2877055) [Google Scholar]
  • 3.Satija U., Ramkumar B., Manikandan M.S.: ‘A review of signal processing techniques for ECG signal quality assessment’, IEEE Rev. Biomed. Eng., 2018, 11, pp. 36–52 (doi: 10.1109/RBME.2018.2810957) [DOI] [PubMed] [Google Scholar]
  • 4.Sukor J.A.: ‘Signal quality measures for pulse oximetry and blood pressure signals acquired in unsupervised home telecare environments’. Doc. Dissert, Uni. of New South Wales, 2012 [Google Scholar]
  • 5.Satija U., Ramkumar B., Manikandan M.S.: ‘Real-time signal quality-aware ECG telemetry system for IoT-based health care monitoring’, IEEE Internet Things J., 2017, 4, (3), pp. 815–823 (doi: 10.1109/JIOT.2017.2670022) [Google Scholar]
  • 6.Cooper D.H., Kennedy H.L., Lyyski D.S., et al. : ‘Holter triage ambulatory ECG analysis: accuracy and time efficiency’, J. Electrocardiol., 1996, 29, (1), pp. 33–38 (doi: 10.1016/S0022-0736(96)80109-9) [DOI] [PubMed] [Google Scholar]
  • 7.Grönlund C., Roeleveld K., Holtermann A., et al. : ‘Online signal quality estimation of multichannel surface electromyograms’, Med. Biol. Eng. Comput., 2005, 43, (3), pp. 357–364 (doi: 10.1007/BF02345813) [DOI] [PubMed] [Google Scholar]
  • 8.Quesnel P.X., Chan A.D.C., Yang H.: ‘Real-time biosignal quality analysis of ambulatory ECG for detection of myocardial ischemia’. IEEE Int. Symp. Medical Measurements Applications Proc. (MeMeA), Gatineau, QC, USA, 2013, pp. 1–5 [Google Scholar]
  • 9.Naseri H., Homaeinezhad M.R.: ‘Electrocardiogram signal quality assessment using an artificially reconstructed target lead’, Comput. Methods Biomech. Biomed. Eng., 2014, 18, (10), pp. 1126–1141 (doi: 10.1080/10255842.2013.875163) [DOI] [PubMed] [Google Scholar]
  • 10.Behar J., Oster J., Li Q., et al. : ‘ECG signal quality during arrhythmia and its application to false alarm reduction’, IEEE Trans. Biomed. Eng., 2013, 60, (6), pp. 1660–1666 (doi: 10.1109/TBME.2013.2240452) [DOI] [PubMed] [Google Scholar]
  • 11.Hayn D., Jammerbund B., Schreier G.: ‘QRS detection based ECG quality assessment’, Physiol. Meas., 2012, 33, (9), pp. 1449–1462 (doi: 10.1088/0967-3334/33/9/1449) [DOI] [PubMed] [Google Scholar]
  • 12.Clifford G.D., Behar J., Li Q., et al. : ‘Signal quality indices and data fusion for determining clinical acceptability of electrocardiograms’, Physiol. Meas., 2012, 33, (9), pp. 1419–1437 (doi: 10.1088/0967-3334/33/9/1419) [DOI] [PubMed] [Google Scholar]
  • 13.Hayn D., Jammerbund B., Schreier G.: ‘ECG quality assessment for patient empowerment in mHealth applications’. Computing Cardiology, Hangzhou, 2011, pp. 353–356 [Google Scholar]
  • 14.Lee J., McManus D.D., Merchant S., et al. : ‘Automatic motion and noise artifact detection in Holter ECG data using empirical mode decomposition and statistical approaches’, IEEE Trans. Biomed. Eng., 2012, 59, (6), pp. 1499–1506 (doi: 10.1109/TBME.2011.2175729) [DOI] [PubMed] [Google Scholar]
  • 15.Silva I., Lee J., Mark R.G.: ‘Signal quality estimation with multichannel adaptive filtering in intensive care settings’, IEEE Trans. Biomed. Eng., 2012, 59, (9), pp. 2476–2485 (doi: 10.1109/TBME.2012.2204882) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Satija U., Ramkumar B., Manikandan M.S.: ‘Automated ECG noise detection and classification system for unsupervised healthcare monitoring’, IEEE. J. Biomed. Health. Inform., 2018, 22, (3), pp. 722–732 (doi: 10.1109/JBHI.2017.2686436) [DOI] [PubMed] [Google Scholar]
  • 17.Satija U., Ramkumar B., Manikandan M.S.: ‘An automated ECG signal quality assessment method for unsupervised diagnostic systems’, Biocybern. Biomed. Eng., 2018, 38, (1), pp. 54–70 (doi: 10.1016/j.bbe.2017.10.002) [Google Scholar]
  • 18.Hermawan I., Sevani N., Ma'sum M.A., et al. : ‘Wavelet-based signal quality assessment: noise detection by temporal feature and heuristics-based’. 2019 IEEE Int. Conf. on Cybernetics and Computational Intelligence (CyberneticsCom), Banda Aceh, Indonesia, 2019, pp. 103–108 [Google Scholar]
  • 19.Fraser G.D., Chan A.D., Green J.R., et al. : ‘Automated biosignal quality analysis for electromyography using a one-class support vector machine’, IEEE Trans. Instrum. Meas., 2014, 63, (12), pp. 2919–2930 (doi: 10.1109/TIM.2014.2317296) [Google Scholar]
  • 20.Satija U., Ramkumar B., Manikandan M.S.: ‘Noise-aware dictionary learning based sparse representation framework for detection and removal of single and combined noises from ECG signal’, IET Healthc. Technol. Lett., 2017, 4, (1), pp. 2–12 (doi: 10.1049/htl.2016.0077) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Satija U., Ramkumar B., Manikandan M.S.: ‘A unified sparse signal decomposition and reconstruction framework for elimination of muscle artifacts from ECG signal’. 41st IEEE Int. Conf. Acoustics, Speech Signal Process. (ICASSP), Shanghai, China, 2016 [Google Scholar]
  • 22.Manikandan M.S., Ramkumar B., Deshpande P.S., et al. : ‘Robust detection of premature ventricular contractions using sparse signal decomposition and temporal features’, Healthc. Technol. Lett., 2015, 2, (6), pp. 141–148 (doi: 10.1049/htl.2015.0006) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Yang A.Y., Zhou Z., Balasubramanian A.G., et al. : ‘Fast l1-minimization algorithms for robust face recognition’, IEEE Trans. Image Process., 2013, 22, (8), pp. 3234–3346 (doi: 10.1109/TIP.2013.2262292) [DOI] [PubMed] [Google Scholar]
  • 24.Satija U., Ramkumar B., Manikandan M.S.: ‘A robust sparse signal decomposition framework for baseline wander removal from ECG signal’. IEEE TENCON, Singapore, 2016 [Google Scholar]
  • 25.Song Y., Wang W.H., Guo F.J.: ‘Feature extraction and classification for audio information in news video’. Int. Conf. Wavelet Analysis and Pattern Recognition, (ICWAPR), Baoding, July 2009, pp. 43–46 [Google Scholar]
  • 26.Ferdosi N., Narasimhan R.: U.S. Patent Application 13/604, 287, 2012
  • 27.Moody G.B., Mark R.G.: ‘The impact of the MIT-BIH arrhythmia database’, IEEE Eng. Med. Biol., 2001, 20, (3), pp. 45–50 (doi: 10.1109/51.932724) [DOI] [PubMed] [Google Scholar]
  • 28.Goldberger A.L., Amaral L.A.N., Glass L., et al. : ‘Physiobank, physiotoolkit, and physionet: components of a new research resource for complex physiologic signals’, Circulation, 2000, 101, (23), pp. e215–e220 (doi: 10.1161/01.CIR.101.23.e215) [DOI] [PubMed] [Google Scholar]
  • 29.Iyengar N., Peng C.-K., Morin R., et al. : ‘Age related alterations in the fractal scaling of cardiac interbeat interval dynamics’, J. Physiol., 1996, 271, pp. R1078–R1084 [DOI] [PubMed] [Google Scholar]
  • 30.McSharry P.E., Clifford G.D.: ‘ECGSYN-a realistic ECG waveform generator’. Available at http://www.physionet.org/physiotools/ecgsyn/
  • 31.Satija U., Ramkumar B., Manikandan M.S.: ‘A simple method for detection and classification of ECG noises for wearable ECG monitoring devices’. IEEE Int. Conf. Signal Processing Integrated Networks (SPIN), Noida, India, 2015 [Google Scholar]

Articles from Healthcare Technology Letters are provided here courtesy of Wiley

RESOURCES