- Open Access
Tremor suppression in ECG
BioMedical Engineering OnLine volume 7, Article number: 29 (2008)
Electrocardiogram recordings are very often contaminated by high-frequency noise usually power-line interference and EMG disturbances (tremor). Specific method for interference cancellation without affecting the proper ECG components, called subtraction procedure, was developed some two decades ago. Filtering out the tremor remains a priori partially successful since it has a relatively wide spectrum, which overlaps the useful ECG frequency band.
The proposed method for tremor suppression implements the following three procedures. Contaminated ECG signals are subjected to moving averaging (comb filter with linear phase characteristic) with first zero set at 50 Hz to suppress tremor and PL interference simultaneously. The reduced peaks of QRS complexes and other relatively high and steep ECG waves are then restored by an introduced by us procedure called linearly-angular, so that the useful high frequency components are preserved in the range specified by the embedded in the ECG instrument filter, usually up to 125 Hz. Finally, a Savitzky-Golay smoothing filter is applied for supplementary tremor suppression outside the QRS complexes.
The results obtained show a low level of the residual EMG disturbances together with negligible distortion of the wave shapes regardless of rhythm and morphology changes.
Electrocardiogram (ECG) recordings are very often contaminated by residual power-line (PL) interference [1–4], base-line drift [5–7], artefacts and EMG disturbances due to involuntary muscle contractions (tremor) of the patient [8–12]. The base-line drift resulting from electrochemical processes at the electrode-to-skin barrier  is a typical low-frequency noise that distorts the susceptible ST segment [6, 13]. Interference and tremor have overlapping frequency bands. Therefore, many algorithms are aimed at their common suppression [14–17] in order to provide an accurate automatic delineation of the ECG wave boundaries .
Specific digital filter for PL interference cancellation, called subtraction procedure, has been developed some two decades ago and permanently improved later on . It does not affect the signal frequency components around the rated PL frequency. Moving averaging is applied on linear segments of the signal (usually found in the PQ and TP intervals, but also in sufficiently long straight parts of the R and T waves) to remove the interference components. They are stored as phase locked corrections and further subtracted from the signal wherever non-linear segments are encountered, e.g. QRS complexes or other high and steep waves. Several criteria for linearity have been tested and implemented depending on the purpose. In general, they are based on the second difference of the signal (mathematical evaluation of the curvature).
Filtering out the tremor is a priori partially successful since it has a relatively wide spectrum, which covers the useful ECG frequency band. One of the first recommendations for ECG instruments  suggests a low-pass filter with minimum 35 Hz cut-off. However, in this way the amplitudes of sharp QRS waves are reduced. The moving averaging (comb filter with linear phase characteristic) gives similar results .
The time averaging is one of the classic methods for ECG noise suppression. It is based on the assumption that the ECG signal is repeatable . As the variability of the ECG morphology is also suppressed, some authors [23, 24] proposed adaptive triggered filtering. Another way to preserve the ECG individuality is to reduce the number of the averaged beats but thus the effect of noise suppression is decreased. The variable ECG morphology, which is related to the respiration, may be compensated in multilead recordings by spatial transformations . However, they can not be applied in the case of single channel time alignment.
Kotas  published projective filtering of time-aligned ECG beats. This is an extension of time averaging, which preserves the variability of the beat morphology. The method employs the rules of principal component analysis for the desired ECG reconstruction and aims to retain to some extent the deviations from the averaged component changes, in the same time, rejecting deviations caused by noise. However, the nonlinear projective filtering is computationally intensive and is known to be sensitive to noise changes.
Adaptive filtration has been also attempted but with limited success because the QRS complexes disturb the adaptation process up to the end of the T-waves . Luo and Tompkins  obtained faster convergence using additional EMG channel as reference input. Bensadoun et al  proposed a multidimensional method but the reduction of sharp Q-waves amplitudes is too high.
Clifford et al  reported a model-based filtering method. P-, Q-, R-, S- and T-waves are defined by a Gaussian with three parameters: amplitude, width and relative position with respect to the R-peak. T-wave is described by T+ and T- because of its asymmetric turning point. Non-linear least-squares optimization is applied to fit this ECG model to the observed signal. The authors present one cleanly recorded P-QRS-T interval superimposed by electrode motion noise. The result shows almost total noise suppression but also significant waveform distortions. However, the locations of the wave peaks match the uncorrupted signal; the errors around the isoelectric line and the S-T segment are negligible. Thus, much of the clinical information of the beats is captured after the noise removal. Nevertheless, the error tolerance has to be tested over a set of databases, since non-parameterized beat will be considered to be an artefact, while some artefacts may closely resemble a known beat. An important advantage of the method is the almost total elimination of series of pulses (artefacts).
Sameni et al  proposed a nonlinear Bayesian filtering framework consisting of Extended Kalman Filter (EKF), Extended Kalman Smoother (EKS) and Unscented Kalman Filter (UKF) as suboptimal filtering schemes. They are based on modified dynamic ECG model thus utilizing a priori information about the underlying dynamics of ECG signals. Recordings taken from the MIT-BIH Normal Sinus Rhythm Database are superimposed by artificially generated noise. They are used for off-line testing EKF, EKS and UKF together with Wavelet denoising technique, adaptive and FIR filtering. A best SNR improvement (difference between output and input SNR) of about 10 dB is obtained with the framework filters. The authors found that brady- or tachycardia do not considerably affect the filter performance, while other abnormalities appearing in some of the ECG cycles may lead to large errors in the Gaussian functions locations. Besides, neither the model nor the measurement is reliable for filtering signals with low input SNR. Therefore, an accurate denoising of abnormal ECGs with high morphological changes remains an open problem.
Christov and Daskalov  applied an adopted by Savitzky and Golay  smoothing procedure, which uses least square approximation and a special 'wings' function for defining the weighting coefficients. The obtained suppression ration of the EMG artefact is about 6. Low reduction of R and S waves is reported depending of the wave shape.
Nikolaev and Gotchev  denoised ECG signals by applying wavelet domain Wiener filtering. They mixed original signals with EMG noise with a SNR = 14 dB. Two-stage algorithm improves the traditional technique by involving time-frequency dependent threshold for calculating the first stage pilot estimate. A SNR over 20 dB is obtained together with less than 10% QRS amplitudes reduction. In another paper Nikolaev et al  reported an SNR improvement of more than 10 dB.
Another technique for applying the subtraction procedure in the case of tremor is reported by Christov . The approach introduces adaptive criterion for linearity detection based on the ratio R between the linear segments length in a selected epoch and its total length usually chosen about 1 s. Normally, the criterion threshold M is a constant, which is set from 100 to 160 μV . In the referred publication , M starts from a low value of 50 μV and increases until R reaches a pre-selected value, e.g. 0.9 that corresponds to QRS complex and free of noise RR interval with normal dimensions. The results obtained show a reasonable compromise between tremor suppression and QRS amplitudes reduction.
Gotchev et al  applied Savitzky-Golay filter inside the QRS complexes and wavelet shrinkage outside them. The first technique gives a good preservation of the RS amplitude of about 30 μV but with low tremor suppression, while the second one offers good suppression with 440 μV decreasing in the RS amplitude. The combined method incorporates the features of both approaches. They are switched depending on the value W of the 'wings' function. W < 10 is taken as dynamic order of the Savitzky-Golay filter; a higher value calls the wavelet subroutine.
When the comb filter is used as a step of the subtraction procedure , the signal inside the QRS complexes is not subjected to moving averaging. Thus, the QRS peaks are preserved but in the presence of tremor the complexes become corrupted and the linear segments are not detected correctly, the last leading to: i) unsuppressed disturbance in false non-linear segments, and ii) rare re-calculation of the phase corrections, which can not follow the changes of the interference amplitudes. These problems are overcome to some extent by Dotsinsky and Christov , who introduced a parallel buffer. The comb filtering is applied there over the entire signal, thus allowing precise location of the linear segments. However, the possibility of denoising the QRS complexes by inappropriate tremor components as a part of the calculated phase corrections still remains.
Aim of the study
The purpose of this work was to develop real-time going method and algorithm for suppressing both tremor and PL interference in single- or multilead ECG regardless of SNR, wave shapes and morphology changes.
Methods and materials
The developed method for tremor suppression in ECG implements the following three procedures:
Contaminated ECG signals are subjected to moving averaging (comb filter with linear phase characteristic) with first zero set at 50 Hz to suppress tremor and PL interference together.
The reduced peaks of the processed signal are then restored by an introduced by us procedure called linearly-angular, thus the useful high frequency components are preserved in the range specified by the embedded in the ECG instrument filter, usually up to 125 Hz.
Finally, a Savitzky-Golay smoothing filter is applied for supplementary tremor suppression outside the QRS complexes.
About 80 episodes consisting of several RR intervals are extracted from 51 AHA database recordings . They are preliminary moving averaged to suppress any undefined inherent noise. The obtained signals are called 'conditionally clean'. The sampling rate is 250 Hz, the resolution is 5 μV/bit.
In the first part of the study the conditionally clean signals are used for developing the recovery procedure and evaluation of its correctness. For this purpose clean signals are comb filtered and then restored. Input and output signals are compared to assess the distortions introduced by the recovery.
In the second part of the study the clean signals are mixed with synthesized 50 Hz PL interference and tremor obtained by two ECG electrodes placed on one forearm. The mixed signals are subjected to all procedures. The obtained results are analysed to evaluate the tremor suppression and PL interference cancellation.
In the third part of the study the procedures are applied directly on noisy recordings taken from the AHA database and MIT-BIH Noise Stress Database.
Basic relations between filtered and non-filtered samples
The formulae for calculating the middle term in moving averaging over n samples for odd n = 2m+1 and even n = 2m  are presented below:
Here m is integer, n is equal to the sampling rate divided by the rated interference frequency; i stands for the position of the ongoing averaged sample Y i , which is obtained over m surrounding non-averaged samples.
Taking in consideration that and , equation (1) can be expressed by
Substituting , n = 2m + 1; , n = 2m, equation (2) is transformed in
The polynomial inside the parentheses is a second difference, represents one of the possible versions of the linear criterion  and is further denoted as
D i,j = X i+j - 2X i + X i-j = (X i+j - X i ) - (X i - X i-j ). Using this equation, the samples X i and Y i can be expressed by
The mean signal velocities on the left and the right hand side of the ongoing sample X i are and . They are averaged within the intervals [i-j, i] and [i, i+j], since they correspond to the time-coordinates i+j/2 and i-j/2.
Then, equation (4) is presented as
Background of the linearly-angular recovery procedure
Let us assume that the conditionally clean signal is linear aside from the ongoing sample X i and has a triangular-like shape (Fig. 1). Then v i+j,i = v r , j = i+1, ..., i+n; v i+j,i = v l , j = i-n, ..., i-1 and the difference v i+j,i - v i,i-j = v r - v l as well as the ratio D i,j /j = D i,k /k, k = 1, 2, ..., n are constant.
The equation (5) is transformed into a uniform expression both for odd and even number of averaged samples:
where the constant κ n is given by
Equation (6) can be written as
Analogously to the second difference D i,k , a filtered second difference = Y i+k - 2Y i + Y i-k is introduced using filtered signal samples. Substituting D i,k = η, the back filtered sample X* i can be calculated by
The coefficient η is intended to consider the real signal shapes. For the time being, this study presumes that η is very close to 1.
The influence of k on the back filtering error is assessed by experiments with k = 1, 2, 3, 4, 5; n = 5 and M = 0,12 mV. The error committed is minimal with k = 2, which value is further used. Lower value of k contributes to better shape recovery of rounded peaks, while the steeper ones are sub-compensated. Higher k value restores well steep peaks, but the rounded ones become over-compensated.
Assessment of the recovery procedure
The recovery evaluation is illustrated by episodes of some AHA signals shown in Fig. 2, 3, 4, 5. They present different ECG rhythm and wave shapes: QRS complexes + ectopic beats (Fig. 2), high and steep QRS complexes (Fig. 3), high T waves (Fig. 4), high P wave + ST depression (Fig. 5). The two upper traces are clean and processed signals, respectively. The lower traces demonstrate an error committed in the range of 3%. No loss of clinical information is observed. The results obtained with the other episodes taken from the 51 AHA recordings are identical or better. These episodes are listed in Table 1 with their starting and ending times.
The recovery is assessed without additional suppression outside the QRS complexes in order to have statistically the same residual noise all over the episode. Thus, a more accurate evaluation of the distortions within the complexes is possible.
Actually, the linear segments outside the ventricular beats (see for example Fig. 2 and 3) that represent physiological zero-line should be free of any distortions. Obviously, the 'error' there is due to noise components of the AHA recordings that have not been totally eliminated by the preliminary moving averaging, since the first lobe of the comb filter  has an equivalent high-pass cut-off approximately at 24 Hz.
This impression may be reinforced by visual inspection of tremor episodes after moving averaging followed by some kind of additional filtering.
Consequently, the real errors own to the procedure are considerably smaller. One may speculate that the distortions introduced by the recovery inside the QRS complexes are within ± 50 μV (see Fig. 2, 3, 4, 5).
Additional tremor suppression in the linear segments
Fig. 6 shows Savitzky-Golay frequency responses obtained for 250 Hz sampling rate with different parameter s. Here the original notation n  is substituted by s in order to avoid confusion with the number of samples in one PL period.
Filters with parameter s < 4 are unusable since their first zero is shifted too far towards the high frequencies that stultify the attempts for tremor suppression. In this study s = 15 is used as a compromise between good tremor suppression and preserving the P-wave shapes.
The expected effect of the additional tremor suppression outside the QRS complexes and some high T-waves can be seen in Fig. 7 and 8. The first one shows a considerable tremor amplitude reduction after the moving averaging and the Savitzky-Golay filter. Therefore, a part of the residual tremor in the processed signals demonstrated below, which are taken from the AHA database, is due to noise components in the original recordings. Fig. 8 presents the FFT diagrams of the two consecutive filtrations.
The observation of the traces in Fig. 7 suggests how to assess the suppression ratio of both procedures. It is quite possible that the maximum peak coupled to a relatively high frequency before filtering is well suppressed after filtering while a lower amplitude lower frequency peak before may practically preserve its amplitude after that. Therefore, the suppression ratio could be defined as the quotient of the maximum peaks in signals before and after processing. For the moving averaging such ratio is over 6 times. It becomes about 25 after additional Savitzky-Golay filtering.
Evaluation of the noise suppression in conditionally clean signals mixed with PL interference and tremor
Fig. 9 illustrates how the contaminated signals are obtained. A conditionally clean ECG episode (upper trace) is mixed with tremor (second trace) and interference (third trace) to be used further (lower trace) for precise assessing the tremor suppression and PL interference cancellation when the three procedures are applied.
Noise suppression of the contaminated AHA 5001d1 episode is presented in Fig. 10. It is chosen for comparison with Fig. 3, where the same clean signal is used as input. The traces are as follows: conditionally clean signal; processed signal; error = processed - clean signals; extracted tremor = contaminated by tremor - clean signals. The PL interference is totally eliminated . For more clarity, the contaminated signal is not shown. The error within the QRS complexes is the same as presented in Fig. 3. The tremor suppression outside the complexes is higher due to the additional Savitzky-Golay filtering. The extracted tremor is a considerable part of the non-correlated added and residual tremors of the clean signal. Again, all clinical information (P waves, QRS parameters, ST segments, T waves) is preserved. This is true also for the other contaminated and tested AHA database episodes.
Tremor suppression in originally noisy recordings
The efficiency of the reported method and algorithm is illustrated below by two originally noisy AHA recordings subjected to the procedures (figures 13 and 14). The two first traces are the original and the processed signals, respectively. The lower traces point out the extracted tremor.
Discussion and conclusion
The proposed method for tremor suppression in one- or multilead ECG is based on moving averaging of the ECG signal followed by a linearly-angular procedure for restoring the affected amplitudes of QRS complexes and other relatively high and steep ECG waves. Thus, the useful high frequency components are preserved in the range specified by the embedded in the ECG instrument filter, usually up to 125 Hz. Finally, the signal portions outside the QRS complexes are additionally processed to reduce the tremor level by applying a Savitzky-Golay smoothing procedure. The results prove the efficiency of the developed method. The recovery error of about 50 μV is below the level that may provoke wrong diagnostic. The interference is totally eliminated. The tremor is suppressed approximately 25 times. The residual tremor does not lead to false ECG interpretation. The procedure efficiency is independent on arrhythmia and any other wave shape variations. The algorithm is suitable for real-time implementation. For the time being the individual shape of the restored waves (the coefficient η) is not taken in consideration. This possibility will be further checked up.
Huhta JC, Webster JG: 60 Hz interference in electrocardiography. IEEE Trans Biomed Eng 1973, 20: 91–100.
van Metting R, Peper A, Grimbergen CA: High-quality recording of bioelectrical events, Part 1: Interference reduction, theory and practice. Med Biol Eng Comput 1990, 28: 389–397.
Ziarani AK, Konrad A: A Nonlinear Adaptive Method of Elimination of Power Line Interference in ECG Signals. IEEE Trans Biomed Eng 2002, 49: 540–547.
Ju-Won Lee, Gun-Ki Lee: Design of an adaptive filter with a dynamic structure for ECG signal processing. Intern J Contr Automat Syst 2005, 3: 137–142.
Pottala EW, Bailey JJ, Horton MR, Gradwohl JR: Suppression of baseline wander in the ECG using a bilinearly transformed, null phase filter. J Electrocardiol 1989, 22 Suppl: 243–247.
Frankel RA, Pottala EW, Browser RW, Bailey JJ: A filter to suppress ECG baseline wander and preserve ST-segment accuracy in a real-time environment. J Electrocardiol 1991,24(4):315–323.
McAdams ET, Jossinet J: Nonlinear transient response of electrode-electrolyte interface. Med Biol Eng Comput 2000,38(4):427–432.
Luo S, Tompkins WJ: Experimental study: Brachial motion artefact reduction in the ECG. Comp Cardiol 1995, 33–36.
Bensadoun Y, Novakov E, Raoof K: Multidimensional adaptive method for cancellation EMG signals from the ECG signal. In Proceedings of the 17th Annual International Conference on the IEEE Engng in Med and Biol Soc 1995: Montreal Edited by: Roberge FA, Kearney RE. 1995, 299–300.
Christov II, Daskalov IK: Filtering of electromyogram artifacts from the electrocardiogram. Med Eng Phys 1999, 21: 731–736.
Nikolaev N, Gotchev A: ECG signal denoising using wavelet domain Wiener filtering. In Proceedings of the European Signal Processing Conference EUSIPCO-2000. Tampere, Finland; 2000:51–54.
Nikolaev N, Gotchev A, Egiazarian K, Nikolov Z: Suppression of electromyogram interference on the electrocardiogram by transform domain denoising. Med Biol Eng Comput 2001,39(6):649–655.
Dotsinsky I, Stoyanov T: Optimization of bi-directional digital filtering for drift suppression in electrocardiogram signals. J Med Eng Technol 2004,28(4):178–180.
Thakor NV, Zhu Y: Applications of adaptive filtering to ECG analysis: noise cancellation and arrhythmia detection. IEEE Trans Biomed Eng 1991, 38: 785–793.
Romanca M, Szabo W: Electrocardiogram pre-processing for the removal of high frequency and power-line frequency noise. Proceedings of the 6th International Conference on Optimization of Electrical and Electronic Equipments: May 1998; Braşov 1998, 703–706.
Christov II: Dynamic power-line interference subtraction from biosignals. J Med Eng Techn 2000, 24: 169–172.
Dotsinsky I, Christov I: Power-line interference subtraction from the electrocardiogram in the presence of electromyogram artifacts. Electrotechnika Elektronika 2002,37(1–2):18–21.
Sahambi JS, Tandon SN, Bhatt RKP: Quantitative analysis of errors due to power line interference and base line drift in detection of onsets and offset in ECG using wavelets. Med Biol Eng Comput 1997, 35: 747–751.
Levkov C, Mihov G, Ivanov R, Daskalov I, Christov I, Dotsinsky I: Removal of Power-line Interference from the ECG: a Review of the Subtraction Procedure. BioMed Eng OnLine 2005, 4: 50.
Subcommittee on Instrumentation Committee on Electrocardiography – American Heart Association, Recommendation for instruments in electrocardiography and vectorcardiography IEEE Trans Biomed Eng 1967, 14: 60–68.
Lynn PA: Online digital filters for biological signals: some fast designs for a small computer. Med Biol Eng Comput 1977, 15: 534–540.
Jane R, Rix H, Caminal R, Laguna P: Alignment methods for averaging of high resolution cardiac signals: A comparative study of performance. IEEE Trans Biomed Eng 1991,38(6):571–579.
Laguna P, Jane R, Meste O, Poon PW, Caminal P, Rix H, Thakor NV: Adaptive filter for event-related bioelectric signals using impulse correlated reference input: Comparison with signal averaging techniques. IEEE Trans Biomed Eng 1992, 39: 1032–1043.
Aström M, Carro Santos E, Sörnmo L, Laguna P, Wohlfar B: Vectorcardiographic loop alignment and the measurement of morphologic beat-to-beat variability in noisy signals. IEEE Trans Biomed Eng 2000,47(4):497–506.
Kotas M: Projective filtering of time-aligned ECG beats. IEEE Trans Biomed Eng 2004, 51: 1129–1139.
Clifford GD, Shoeb A, McSharry PE, Janz BA: Model-based filtering, compression and classification of the ECG. Intern J Bioelectromagnetism 2005,7(1):158–161.
Sameni R: A nonlinear Bayesian filtering framework for ECG denoising. IEEE Trans Biomed Eng 2007,54(12):2172–2185.
Savitzky A, Golay M: Smoothing and differentiation of data by simplified least square procedures. Anal Chem 1964, 36: 1627–1639.
Gotchev A, Christov I, Egiazarian K: Denoising the electrocardiogram from electromyogram artifacts by combined transform-domain and dynamic approximation method. proceedings of the International Conference on Acoustics Speech and Signal Processing ICASSP'2002: Orlando USA 13–17 May 2002, 3872–3875.
American Heart Association (AHA) arrhythmia ECG database Emergency care Research Institute 5200 Butler Pike, Plymouth Meeting, PA 19462 USA
The authors declare that they have no competing interests.
GM developed the recovery procedure and determined the optimal order of the Savitzky-Golay filter. ID carried out the other parts of the study. Both authors discussed the ideas accompanying the elaboration of the reported method for tremor suppression in ECG. They read and approved the final manuscript.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Dotsinsky, I.A., Mihov, G.S. Tremor suppression in ECG. BioMed Eng OnLine 7, 29 (2008). https://doi.org/10.1186/1475-925X-7-29
- Extend Kalman Filter
- Unscented Kalman Filter
- Comb Filter
- Extended Kalman Smoother
- Tremor Suppression