 Research
 Open Access
 Published:
Removal of powerline interference from the ECG: a review of the subtraction procedure
BioMedical Engineering OnLine volume 4, Article number: 50 (2005)
Abstract
Background
Modern biomedical amplifiers have a very high common mode rejection ratio. Nevertheless, recordings are often contaminated by residual powerline interference. Traditional analogue and digital filters are known to suppress ECG components near to the powerline frequency. Different types of digital notch filters are widely used despite their inherent contradiction: tolerable signal distortion needs a narrow frequency band, which leads to ineffective filtering in cases of larger frequency deviation of the interference. Adaptive filtering introduces unacceptable transient response time, especially after steep and large QRS complexes. Other available techniques such as Fourier transform do not work in real time. The subtraction procedure is found to cope better with this problem.
Method
The subtraction procedure was developed some two decades ago, and almost totally eliminates powerline interference from the ECG signal. This procedure does not affect the signal frequency components around the interfering frequency. Digital filtering is applied on linear segments of the signal to remove the interference components. These interference components are stored and further subtracted from the signal wherever nonlinear segments are encountered.
Results
Modifications of the subtraction procedure have been used in thousands of ECG instruments and computeraided systems. Other work has extended this procedure to almost all possible cases of sampling rate and interference frequency variation. Improved structure of the online procedure has worked successfully regardless of the multiplicity between the sampling rate and the interference frequency. Such flexibility is due to the use of specific filter modules.
Conclusion
The subtraction procedure has largely proved advantageous over other methods for powerline interference cancellation in ECG signals.
Background
Modern biomedical amplifiers have very high common mode rejection ratio (CMRR), with commercial ECG instruments manifesting values up to 120 dB. Nevertheless, recordings are often contaminated by residual powerline (PL) interference. This is due to differences in the electrode impedances and to stray currents through the patient and the cables. Thus, the common mode voltage is transformed into a false differential signal [1–4] that cannot be suppressed even by an infinitely high CMRR. The problems become more complicated if the instrument has a floating input to increase patient safety [5, 6].
CMRR of a commercial ECG instrument is typically measured under laboratory conditions using generators with low impedance output and short connecting wires. Thus, a claim of CMRR > 60 ÷ 70 dB in the real world of ECG acquisition is without legitimate basis.
Any residual PL interference may interfere with the correct delineation of ECG wave boundaries [7] and corrupt the proper function of automatic ECG analysis. The interference can also disturb the correct measurement of RR intervals, which is the basis for heart rate variability analysis.
Hardware solutions have been developed to increase the actual CMRR by equalization of the cable shield and the right leg potentials [4]. This reduces the influence of stray currents through the body, but the efficiency obtained is not sufficient to significantly reduce the interference.
Traditional analogue and digital filters are known to suppress ECG components near the PL frequency. Different types of digital notch filters are widely used [8, 9] despite their inherent contradiction: tolerable signal distortion needs a narrow frequency band, which leads to ineffective filtering with larger PL frequency deviation. Moreover, the resulting transient time is often unacceptably long. Hamilton [10] compares the convergence times of adaptive and nonadaptive notch filters. Both introduce significant distortion in the QRS and STsegment portions due to the filter ringing. SooChang and ChienCheng [8] try to reduce to some extent the transient response time by using vector projection to find better initial values for IIR notch filters. Yoo et al. [11] propose a hardware notch filter with adaptive central frequency to follow the PL frequency changes, thus defining a narrower bandwidth. Filters with various Q factors have been tried. However, the resulting signal distortion cannot be correctly assessed because of the reduced scale of the examples provided [11].
Instead, the condition was simulated in the MATLAB environment [12]. A synthesized ECG signal (without noise) was mixed with constant 1 mV_{pp} 50 Hz interference and processed by notch filters with bandwidths: 49–51, 49.5–50.5, and 49.9–50.1 Hz. This 1 Hz bandwidth is one order of magnitude narrower than that used by Yoo et al. [11]. Acceptable distortion was found only with the 49.9 ÷ 50.1 Hz filter, but after an exclusively long tail of about 12 s. This adaptation period reappeared with abrupt powerline frequency change of 0.2 Hz, despite a synchronised identical shift of the filter centre frequency.
Ringing is also present when spectral components of the interference are removed from the ECG signals using the Fourier transform [13]. Furthermore, this transform does not work in real time.
Mitov [14] uses parabolic detrending of ECG to estimate the signal components with frequencies corresponding to PL interference by using the discrete Fourier transform, to approximate averaged interference values, which are subtracted from the contaminated signal. No results with frequencymodulated interference are presented in the publication.
The interference may be suppressed by adaptive filtering [15–17]. However, this technique introduces unacceptable transient response time, especially following signals of steep and high amplitude, e.g. the QRS complex.
Kumaravel and Nithiyanandam [18] reported interference cancellation by an offline working genetic algorithm.
Some authors do not present the results of their algorithms correctly or clearly enough to use for interference removal. Sometimes the original signal is not presented [19], no differences between original and processed signals are shown [20], and the performance is measured by the error square instead of amplitude differences [21].
Method
The subtraction procedure for PL elimination was first elaborated some two decades ago [22]. This procedure does not affect the ECG components neighbouring the PL frequency. This theoretical study is carried out for the basic PL frequency, but the conclusions are also valid for its harmonics and, consequently, for an arbitrary interference waveform. The efficiency of the procedure does not depend on the amplitude of the interference, as long as the amplifier is not saturated. Moreover, the procedure copes successfully with changes in amplitude and frequency of the interference. The procedure has been continuously improved over the years [12, 13, 23–32], and implemented in thousands ECG instruments and computeraided systems [33, 34]. Similar approaches have also been published by other researchers [35–41].
Principles
The subtraction procedure is applied originally with sampling frequency f_{ S }, a multiple of, and hardware synchronized with the PL frequency f_{ PL }. The procedure consists of the following steps [22]:

ECG segments with frequency band near zero are continuously detected using an appropriate criterion. They are referred to as linear segments and are found mainly in the PQ and TP intervals, but also in sufficiently long straight parts of the R and T waves.

The samples of these segments are moving averaged, i.e., subjected to a linear phase comb filter [42] with first zero set at f_{ PL }. Thus, the filtered samples do not contain interference.

Interference amplitudes, called corrections, are calculated for each of the phaselocked samples, n, in the PL period, T_{ PL }, by subtracting the filtered samples from the corresponding ones of the contaminated (original) ECG signal.

The set of corrections obtained is continually updated in linear segments and used in nonlinear segments (usually around QRS complexes and highamplitude T waves) to subtract the interference from the original ECG signal.
One of the first results obtained by the subtraction method is shown in Fig. 1 [22]. Interference was added to a clean simulated ECG signal in order to evaluate the errors and the efficiency of the method.
Linear criterion
A linear criterion, Cr, usually corresponds to the second difference of the signal (mathematical evaluation of the linearity). The first Cr [22] is defined in the following manner. Six consecutive first differences, FD_{ i }, are calculated using signal samples, X_{ i }, spaced at one T_{ PL }:
FD_{ i } = X_{ i+n }  X_{ i }, for i = 1 ... 6 (1)
The PL interference in the first differences is suppressed if n = f_{ S }/f_{ PL }. In this case n = 5, since the procedure was developed initially for rated f_{ PL } = 50 Hz and f_{ S } = 250 Hz. Furthermore, the maximum FD_{ max }and minimum FD_{ min }values are taken to determine Cr:
Cr =  FD_{ max } FD_{ min } <M, (2)
where M is the threshold value.
Typical linear and nonlinear segments are shown in Fig. 2. Real ECG signal (trace a) is superimposed by interference (trace b). The linear segments include low frequency signal and powerline frequency components. An approximate frequency spectrum of such linear segments is shown in Fig. 3.
This criterion works accurately, but can hardly be applied in real time because its relatively slow implementation. This drawback is overcome by Christov and Dotsinsky [23] who use a modified criterion of just two subsequent differences.
Cr =  FD_{i+1} FD_{ i } <M. (3)
The first sample, which does not fulfill equation (3), is associated with the beginning of a nonliner segment. In the nonlinear to linear transition, equation (3) should be satisfied consecutively n times in order to avoid premature detection of the linear segment. The criterion is implemented in real time for f_{ S }= 400 Hz and n = 8.
Later, Dotsinsky and Daskalov [13] defined the criterion as two nonsubsequent differences:
Cr = FD_{i+k} FD_{ i } <M, for k >1 (4)
This approach makes the transition from linear to nonlinear segment more precise.
Compensation of PL amplitude variations
The more frequently the corrections are updated, the better compensation of the amplitude variations of the PL is achieved. Therefore, the linear criterion threshold, M, has to be reasonably less restrictive so that the errors, committed by averaging some segments that depart from the ideal linear signal, are smaller than the errors, that will appear if M initiates sporadic updating of the correction. Initially, M was fixed at 160 μV [22]. Later, heuristic values were found to be M = 150 μV [23] and M = 100 μV [13].
Linear filtering
For odd sample number n = 2m + 1 in one period of the PL interference, the filtered value:
is phasecoincident with the nonfiltered one.
In case of even number n = 2m, the two values are phaseshifted by a half of the sample period:
but become inphase coincidence using the formula
It is possible to take for averaging every second, third or q^{th}sample if n/q is integer. Depending on whether n/q is odd or even, equation (7) or (8) is used, respectively.
A special case of maximum sample reducing arises with q = n/2 [28]. The corresponding formula:
is called 'threepoints' filter. In addition to equation (8), the following formula
can also be applied if q is even. In case of q = n/2, the filter becomes 'twopoints' and is represented by:
Reduced sample number in a period of the interference will lead to enhanced steep slope of the comb filter lobes and will shorten the computation time. However, these 'advantages' must be assessed carefully in order not to violate the Nyquist rule with a large amount of the third harmonic present. The other harmonics are not taken into consideration since the highest odd harmonics are usually suppressed by lowpass filters with cutoff in the range of 100–150 Hz, while the even ones are practically absent because of the precise pole manufacturing of the electric power station generators.
Compensation of PL frequency variation
The allowed deviation from the rated PL frequency is limited in some countries up to 1% by the standards. In practice, deviation is oftentimes higher. Kumaravel et al. [43] reported for variation of 3%. McManus et al. [44] found considerable changes in the interference frequency, which is superimposed on recordings taken from the Common Standards for Electrocardiography (CSE) database.
Frequency variations lead to a special case of nonmultiple sampling with real n, instead of integer one. This complication can be bypassed if the deviations are detected by continuous hardware measurement of f_{ PL }and corrected by small adjustments of the sample interval t_{ S }around its rated (R) value, t_{ RS }= T_{ RPL }/n (here, T_{ RPL }= 20 ms is the rated T_{ PL }for f_{ RPL }= 50 Hz). For f_{ PL }, deviation between 49.5 and 50.1 Hz, the t_{ S }variations are in the range of 1%, and consequently they do not introduce errors beyond the accepted measuring accuracy of parameters that are usually used for automatic ECG classification.
A first approach associates the triggering of each first sample, S_{ 1 }, of the sequences S_{ k }(k = 1, 2...n) in the periods T_{ PL }with arbitrary chosen but constant amplitude of the PL voltage. The next samples, S_{ k }(k = 2...n), are spaced at t_{ S }, which is obtained by t_{ S }= T_{ RTL }/n. For 50 Hz, and n = 5, t_{ S }= 4 ms. Two types of errors committed using this approach are studied by Dotsinsky and Daskalov [13]. The first, due to intersample irregularities, may reach 1% at f_{ S }= 400 Hz and 1.2% at f_{ S }= 250 Hz, in case of 1% deviation around the f_{ RPL }. The second type of error does not exceed 3% and is a consequence of the additionally shifted location of the filtered sample.
Dotsinsky and Daskalov [13] reported an improved approach. The ongoing period T_{ PL }is measured and divided by n. The obtained t_{ S }is used in the subsequent T_{ PL }.
Efficiency assessment of the procedure
Subtraction procedure examples are shown in Fig. 4 and Fig. 5. The ECG signals are taken from the American Heart Association database. The signals are notch filtered to suppress the 60 Hz (PL frequency in the US) interference. Then, the signals are mixed with 50 Hz interference, amplitude modulated from 0 through 3.2 mV_{pp} by a slew rate of 200 μVs^{1}. The traces are identified as follows: i) input signal; ii) synthesized interference; iii) mixed signal; iv) processed signal; v) difference between original and processed signals and vi) zoomed difference. Actually, the discarded components also include electromyographic (EMG) and other noises. A nonsuppressed part of the signal, together with small residual interference and distortions due to compromise with the M value are also present in the differences.
Two signals are used to assess the efficiency of the subtraction procedure with respect to the interference only. The first, taken from our own database, is called conditionally 'clean' (Fig. 6). The result shows small differences between input and processed signals, visually due to the noise presented in the input. This result is verified with the second synthesized signal, which does not contain any disturbances (Fig. 7). As can be seen, no distortions are introduced. The same synthesized signal is superimposed by interference and processed (Fig. 8). No residual interference can be found.
Influence of EMG noise
Sometimes EMG noise is so high that the linear segment finding is hampered. As a consequence, inaccurate corrections, which do not correspond to the last change of the interference amplitude, will cause errors (see the residual noise between the 11^{th} and 14^{th} s in Fig. 9).
A very simple approach for suppression of EMG noise influence on the procedure introduces an additional parallel buffer where ongoing portions of the signal are unconditionally averaged [31]. This buffer is used for accurate linearity detection. Fig. 10 and Fig. 11 show the comparison of results without and with the parallel buffer. The traces 'a' represent ECG signal mixed with interference and EMG noise. The traces 'b' in Fig. 10 and 'c' in Fig. 11 indicate transitions from linear to nonlinear segments (onoff functions). As can be seen, the averaged signal part in Fig. 10 is very limited. As a consequence, the procedure efficiency is reduced (Fig. 10c and 10d. In contrast, the parallel buffer allows detection of long linear segments (Fig. 11c and the residual noise in the processed signal (Fig. 11d is low. However, the noise is not totally suppressed because a part of it participates in the correction calculation.
Further improvement in EMG noise suppression is obtained by Christov [29] by using adaptive threshold value M, which is calculated with respect to the noise/signal ratio Rt, defined as Rt = S_{ NL }/S_{ F }, where the noise level S_{ NL }equals the summary width of the nonlinear segments in an epoch S_{ F }, approximately corresponding to the RR interval under consideration. Linearity search with a criterion of M = 150 μV for 'clean' ECG (Fig. 12a) and for the same signal, but contaminated with EMG noise (Fig. 12b) show different S_{ NL }, (Fig. 12c and 12d). The method is developed in MATLAB environment. The initial threshold M is chosen equal to 30 μV. Then, it is gradually increased until Rt reaches 10%, after which the subtraction procedure is started. The level Rt ≤ 0.1 value is suggested by the ratio 'QRS width versus its RR interval', which is usually around 10%. The elimination of both interference and EMG noise can be observed in Fig. 13b and 13d, where M = 420 μV is used. For comparison, the 'clean' ECG signal is processed with M = 35 μV (Fig. 13a and 13c).
Linear segments cannot be regularly found in patients with atrial and ventricular fibrillation. However, the total preservation of the wave shape is not necessary for fibrillation detection and therefore, all kinds of traditional filters may be applied.
Interference suppression in highresolution ECG
The subtraction procedure is not directly applicable to the bodysurface HisECG, as the low amplitude and relatively low frequency Hiswave can not be distinguished in linear segments. Thus, the Hiswave will be, in practice, suppressed or even removed from the signal. The EMG noise is usually of higher amplitude and with much higher frequency content compared to the surface Hiswave. Therefore, simple change of the threshold value, M, does not result in acceptable delineation of linear and nonlinear segments.
Bazhina et al. [45, 46] implemented the following modification. The beginning of the detected nonlinear segment before a QRS complex is shifted 100 ms to the left, thus defining the Hiswave region as a nonlinear segment by default (Fig. 14).
The subtraction procedure and three other methods: notch filters, spectral interpolation [47], and regression subtraction [35] are tested against minimal distortion of the original signal [45]. The subtraction and the regressionsubtraction procedures proved to be the best, as Baratta et al. [35] use a similar concept for noise estimation in linear segments. Regressionsubtraction deals poorly with amplitude changes of the interference within the current segment.
Case of batterysupplied devices and computer aided ECG systems
The hardware measurement of f_{ PL }, necessary for compensation of the interference frequency modulation, is not feasible in batterysupplied devices and in some computer aided ECG systems. Dotsinsky and Stoyanov [12] studied the range of frequency changes of interference with constant amplitude, for which the residual part is restricted to acceptable levels without use of synchronized sampling. They found that residual interference below 20 μV_{pp} could be obtained with the procedure by: i) interference amplitude ≤ 0.4 mV_{pp} and ii) frequency change with a rate ≤ 0.0125 Hzs^{1}. Since such requirements for the powersupply can often be exceeded, a software interference measuring was developed.
The ECG signal is processed initially by a 49–51 Hz bandpass filter. The amplitudes of two adjacent samples, Br_{ L }and Br_{ R }, taken from a positivegoing slope of the interference, located below and above the zero line, are measured (Fig. 15). The distance, t_{ CP }, between the crossing point CP and the right sample, Br_{ R }, is computed continually by:
In case of T_{ PL }change, t_{ S }is redefined using
This approach was implemented in the MATLAB environment. For sampling frequency f_{ S }= 500 Hz and f_{ RPL }= 50 Hz, n is equal to 10. The product kn determines the time recommended to elapse before calculating and substituting new t_{CP,i + kn}for the previous t_{CP,i}. Fig. 16 shows a processed 1 mV ECG signal after being mixed by interference with 2 mV_{pp} constant amplitude and extremely fast varying by 1 Hz per 8 s frequency (first trace). To assess the efficiency obtained, the zoomed difference without synchronized sampling (last trace) is also presented.
The next logical step to be taken consists of: i) keeping the rated t_{ S }of the ECG instrument, ii) resampling the signal according to the ongoing measured f_{ PL }in order to eliminate the interference and iii) returning to the rated t_{ S }. The first results of such an approach are highly promising [48]. Thus, the software compensation of the variable f_{ PL }, as well as a total implementation of the subtraction procedure in an instrument, including automatic adjustment for f_{ RPL }of 50 or 60 Hz, will be completed regardless of the hardware circuits and the corresponding software.
Automatic adaptation to the rated PL frequency
A common program for alternative interference subtraction in 50 and 60 Hz environment leads to nonmultiple sampling, i.e. to real n. Widely used values of t_{ S }for f_{ RPL }= 50 Hz, such as 250, 500 and 1000 Hz, correspond to irrational n of 4.1(6), 8.3(3) and 4.1(6) if 60 Hz interference has to be eliminated. In the inverse case, f_{ S }= 360 Hz requires n = 7.2. Rounded values n* are unacceptable to use, since they would introduce considerable error.
A very simple solution not needing f_{ S }change was found by Dotsinsky and Stoyanov [30]. The original procedure applies a comb filter over one period, T_{ PL }, of the interference. Thus, the program runs faster. Generally, n may be taken from k > 1 entire periods. The procedure is operated if:
n = kT_{ PL }/t_{ S }is an integer.
For t_{ S }= 2 ms (f_{ S }= 500 Hz) and f_{ RPL }= 50 Hz, the smallest value of k satisfying equation (14) is really k = 1. However, in case of 60 Hz, k equals 3. Zeros associated with the subharmonics 20 and 40 Hz will appear too but they have no influence on the procedure. Therefore, it is quite enough to switch n between 10 (k = 1) and 25 (k = 3) in order to operate with both interferences. For this purpose two digital bandpass filters check the incoming signal. Fig. 17 shows that the filter with frequency band overlapping the interference generates an order of magnitude higher output signal than the other filter.
Theoretical procedure development
The theory of the subtraction procedure was developed further by Mihov [27], Levkov and Mihov [28], and Mihov et al. [32]. They proposed four types of filters, implemented in a generalized structure that may overcome the problems with almost all cases of nonmultiple sampling, including interference frequency variations, without using synchronized AD conversion.
The socalled Dfilter in multiple sampling is defined as is Cr in equation (2), where the second difference, D_{ i }, is obtained with FD s that are spaced at one T_{ PL }:
D_{ i }= (X_{ i+n } X_{ i })  (X_{ i } X_{ in }) = X_{ in } 2X_{ i }+ X_{ i+n } (15)
The transfer function of the Dfilter has zeros at f = 0 and f = f_{ PL }Hz, which is shown equal to 50 Hz in Fig. 18.
The Kfilter describes the moving average presented by equations (5) and (6). Its transfer function is given in Fig. 19 for n = 5 in case of odd multiplicity.
The equation used for ongoing calculation of the interference components:
B_{ i }= X_{ i } Y_{ i } (16)
actually defines a digital filter called (1K)filter.
Furthermore, the filters are redefined for nonmultiple sampling, and f_{ S }= 250 Hz in conjunction with f_{ RPL }= 60 Hz is taken in consideration to illustrate the software improvement.
In order to preserve the transfer function zeros, the Dfilter has to be subtracted with a correction filter with zero at f = 0 and gain of D_{ RPL }at f = f_{ RPL }, equal to the gain of the Dfilter for the same frequency, f_{ RPL }. The correction filter synthesis is based on a threepoints auxiliary filter given by the equation:
where (n/2)* is the rounded value of n/2.
Since A_{ RPL }is the gain of the auxiliary filter for f = f_{ RPL }, the correction filter is multiplied by the ratio D_{ RPL }/A_{ RPL }. Using the corresponding transfer functions, D_{ RPL }and A_{ RPL }are computed in advance by:
Finally, the corrected D*filter is presented as
and is shown in Fig. 20 by trace 'c', where traces 'a' and 'b' are the Dfilter and the correction filter, respectively.
The transfer function of the Kfilter must preserve zero for f = f_{ RPL }, unity gain for f = 0 and linear phase response. The procedure of the Kfilter correction is similar to the previous one. An auxiliary filter is given by the formula used for corrections computation:
A_{ i }= X_{ i } Y_{ i }, (20)
The filter gain is equal to 1  K_{ RPL }for f = f_{ RPL }, where K_{ RPL }is the Kfilter gain for the same frequency f_{ RPL }. The auxiliary filter is multiplied by K_{ RPL }/(1  K_{ RPL }) and subtracted from the Kfilter. The equation for the corrected K*filter is:
The constant K_{ RPL }can be estimated by:
for odd or even multiplicity, respectively.
An example of Kfilter correction is shown in Fig. 21, where traces 'a', 'b' and 'c' represent the primary Kfilter, the auxiliary filter, and the corrected K*filter.
In case of nonmultiple sampling, a phase difference appears between the ongoing ECG samples and the interference components B_{ i }(equation 16) usually located in a temporary firstinfirstout (FIFO) buffer. Therefore, B_{ i }must be modified being subtracted from the ECG samples during nonlinear segments. The compensation procedure is relatively complicated. Fig. 22 shows the contents of the temporary buffer. The current interference sample, B_{ in }*, does not coincide with the restored sample, B_{ i }. Its amplitude must be recalculated in order to compensate the phase difference between them. This is accomplished by a new filter with linear phase response and unity gain for f = f_{ RPL }, denoted as the Bfilter. It is synthesized from the known Kfilter, with a window equal to the interference period. In case of odd n*, it can be described as:
where K_{ RPL }is the gain for the interference of the averaging filter given by equation (22).
The restored buffer value B_{ i }can be calculated by:
In case of even n*:
The Bfilter transfer function is shown in Fig. 23.
The generalized structure is presented in Fig. 24, where the modules of the subtraction procedure are as follows:

Linearity detection. Dfilter is applied to evaluate the linearity of each signal sample neighbourhood.

Interference extraction. (1K)filter is used to calculate the interference component.

Criterion. The condition Cr <M sends either extracted or restored PL interference to Subtraction.

Interference temporary buffer. The extracted or restored interference component used as correction in nonlinear segment is saved at the position locked with the ongoing phase of the powerline interference.

Interference restoring. Bfilter is called in case of nonmultiple sampling in order to restore the true correction values, which have to be subtracted from the input signal samples in nonlinear segments.

Delay buffer. Compensates the delay, which appears with the Dfilter and (1K)filter and is imperative if the procedure is run in quasireal time. Otherwise, the buffer could be disregarded.

Subtraction. Extracted or restored interference value is subtracted from the delayed input signal to output 'clean' ECG signal. In case of nonlinearity both Interference extraction and Subtraction implement the Kfilter.
An improved algorithm according to the generalized structure has been tested offline. The results for f_{ S }= 250 Hz and f_{ RPL }= 60 Hz are shown in Fig. 25.
Conclusion
As first elaborated two decades ago and continually improved since then, the subtraction procedure eliminates powerline interference from the ECG signal without affecting its spectrum. The procedure operates successfully even with amplitude and frequency deviations of the interference. The frequency deviations are first compensated by hardware measurement of the powerline frequency. Software measurement of the interference period was developed for battery supplied units and some ECG modules connected to personal computers.
The improved structure of online going subtraction procedure leads to its extended implementation regardless of multiplicity between sampling rate and interference frequency. The structure flexibility is due to the introduced filtering modules, which are called into use depending on the type of sampling.
The presented analysis of the subtraction procedure and the different types of notch filters confirms the advantages of this method for interference cancellation in ECG signals.
References
 1.
Huhta JC, Webster JG: 60 Hz interference in electrocardiography. IEEE Trans Biomed Eng 1973, 20: 91–100.
 2.
Thakor NV, Webster JG: Ground free ECG recording with two electrodes. IEEE Trans Biomed Eng 1980, 27: 699–704.
 3.
Towe BC: Comments on 'GroundFree ECG Recording with Two Electrodes'. IEEE Trans Biomed Eng 1981, 28: 838–839.
 4.
Metting van Rijn , Peper A, Grimbergen CA: Highquality recording of bioelectrical events, Part 1: Interference reduction, theory and practice. Med Biol Eng Comput 1990, 28: 389–397.
 5.
PallasAreny R: Interferencerejection potential characteristics of biopotential amplifiers: A comparative analysis. IEEE Trans Biomed Eng 1988, 35: 953–959.
 6.
Metting van Rijn, Peper A, Grimbergen CA: The isolation mode rejection ratio in Bioelectric amplifiers. IEEE Trans Biomed Eng 1991, 38: 1154–1157.
 7.
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.
 8.
Pei SC, Tseng CC: Elimination of AC Interference in Electrocardiogram Using IIR Notch Filter with Transient Suppression. IEEE Trans Biomed Eng 1995, 42: 1128–1132.
 9.
Ma WK, Zhang YT, Yang FS: A fast recursiveleastsquares adaptive notch filter and it is applications to biomedical signals. Med Biol Eng Comput 1999, 37: 99–103.
 10.
Hamilton PS: A comparison of Adaptive and Nonadaptive Filters for Reduction of Power Line Interference in the ECG. IEEE Trans Biomed Eng 1996, 43: 105–109.
 11.
Yoo SK, Kim NH, Song JS, Lee TH, Kim KM: Simple self tuned notch filter in a biopotential amplifier. Med Biol Eng Comput 1997, 35: 151–154.
 12.
Dotsinsky I, Stoyanov T: Powerline interference cancellation in ECG signals. Biomed Instr Techn 2005, 39: 155–162.
 13.
Dotsinsky IA, Daskalov IK: Accuracy of the 50 Hz Interference Subtraction from the Electrocardiogram. Med Biol Eng Comput 1996, 34: 489–494.
 14.
Mitov IP: A method for reduction of power line interference in the ECG. Med Eng Phys 2004, 26: 879–887.
 15.
Bellanger M: Digital Processing of Signals: Theory and Practice. 2000.
 16.
Thakor NV, Zhu Y: Applications of adaptive filtering to ECG analysis: noise cancellation and arrhythmia detection. IEEE Trans Biomed Eng 1991, 38: 785–793.
 17.
Bensadoun Y, Raoof K, Novakov E: Elimination du 50 Hz du signal ECG par filtrage adaptatif multidimensionnel. Innov Tech Biol 1994, 15: 751–758.
 18.
Kumaravel N, Nithiyanandam N: Geneticalgorithm cancellation of sinusoidal powerline interference in electrocardiograms. Med Biol Eng Comput 1998, 36: 191–196.
 19.
De Lima LA, Yioneyama T: A neural integrated circuit for noise cancellation in electrocardiograph signals. Proceedings of the 11th International Conference on Control Systems and Computer Science: Bucharest 1997, 101–105. 26–28 May 1997
 20.
Romanca M, Szabo W: Electrocardiogram preprocessing for the removal of high frequency and powerline frequency noise. Proceedings of the 6th International Conference on Optimization of Electrical and Electronic Equipments: May 1998; Braşov 1998, 703–706.
 21.
Fergjallah M, Barr RE: Frequencydomain digital filtering techniques for the removal of powerline noise with application to the electrocardiogram. Comput Biomed Res 1990, 23: 473–489.
 22.
Levkov C, Michov G, Ivanov R, Daskalov I: Subtraction of 50 Hz interference from the electrocardiogram. Med Biol Eng Comput 1984, 22: 371–373.
 23.
Christov II, Dotsinsky IA: New approach to the digital elimination of 50 Hz interference from the electrocardiogram. Med Biol Eng Comput 1988, 26: 431–434.
 24.
Yan XG: Dynamic LevkovChristov subtraction of mains interference. Med Biol Eng Comput 1993, 31: 635–638.
 25.
Dotsinsky IA, Daskalov IK: Comments on 'Dynamic LevkovChristov subtraction of mains interference'. Med Biol Eng Comput 1995, 33: 360.
 26.
Daskalov I, Dotsinsky I: Reader respond to 'A new adaptive coherent model algorithm for removal of powerline interference'. J Clinical Eng 1995, 20: 357–358.
 27.
Mihov G: Elimination of mains interference from the ECG in nonsynchronized sampling: a theoretical approach. In Proceedings of the 13th Biennial International Conference BIOSIGNAL'96: June 1996; Brno. Edited by: Jan J, Kilian P, Provaznik I. Technical University Brno Press; 1996:189–191.
 28.
Levkov C, Mihov G: Rejectionsubtraction filter of mains interference from the ECG. In Proceedings of the 13th Biennial International Conference BIOSIGNAL'96: June 1996; Brno. Edited by: Jan J, Kilian P, Provaznik I. Technical University Brno Press; 1996:183–185.
 29.
Christov II: Dynamic powerline interference subtraction from biosignals. J Med Eng Techn 2000, 24: 169–172.
 30.
Dotsinsky I, Stoyanov T: Cancellation of the powerline interference: effect of amplitude and frequency variations on the ECG signal. Proceedings of the 11th International Conference ELECTRONICS – ET'20: Sozopol 2002, 65–70. 25–27 September 2000
 31.
Dotsinsky I, Christov I: Powerline interference subtraction from the electrocardiogram in the presence of electromyogram artifacts. Electrotechniques & Electronics E+E 2002, 1–2: 18–21.
 32.
Mihov G, Dotsinsky I, Georgieva Ts: Subtraction procedure for powerline interference removing from ECG: Improvement for nonmultiple sampling. J Med Eng Techn 2005, 29: 238–243.
 33.
Dotsinsky IA, Christov II, Levkov CL, Daskalov IK: A microprocessorelectrocardiograph. Med Biol Eng Comput 1985, 23: 209–212.
 34.
Daskalov IK, Dotsinsky IA, Christov II: Developments in ECG Acquisition, Preprocessing, Parameter Measurement and Recording. IEEE Eng Med Biol 1998, 17: 50–58.
 35.
Baratta RV, Solomonov M, Zhou BH, Zhu M: Methods to reduce the variability of EMG power spectrum estimates. J Electromyography Kinesiology 1998, 8: 279–285.
 36.
Li G, Ling L, Qilian Y, Xuemin Y: A new adaptive coherent model algorithm for removal of powerline interference. J Clin Eng 1995, 20: 147–150.
 37.
Wu Y, Yang Y: A new digital filter method for eliminating 50 Hz interference from ECG. Chinese J Med Instrum 1999, 23: 145–158.
 38.
Monaco A: Sviluppo di un modulo software per la gestione di un sistema per il controllo remoto dei portatori di pacemaker. 2000.
 39.
Adli , Yamamoto Y, Nakamura T, Kitaoka K: Automatic interference controller device for eliminating the powerline interference in biopotential signals. Proceedings of the 17th IEEE Instrumentation and Measurements Technology Conference: Baltimore 2000, 1358–1362. 01–04 May 2000
 40.
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.
 41.
Butler KE, Russell RD: Subtraction of powerline harmonics from geophysical records. Geophysics 2003, 58: 898–903.
 42.
Lynn PA: Online digital filters for biological signals: some fast designs for a small computer. Med Biol Eng Comput 1977, 15: 534–540.
 43.
Kumaravel N, Senthil A, Sridhar KS, Nithiyanandam N: Integrating the ECG powerline interference removal methods with rulebased system. Biomed Sci Instrum 1995, 31: 115–120.
 44.
McManus CD, Neuber KD, Cramer E: Characterization and elimination of AC noise i electrocardiograms: a comparison of digital filterimg methods. Comput Biomed Res 1993, 26: 48–67.
 45.
Bazhyna A, Christov I, Gotchev A, Daskalov I, Egiazarian K: Powerline Interference Suppression in HighResolution ECG. Comp in Card 2003, 30: 561–564.
 46.
Bazhyna A, Christov I, Gotchev A, Daskalov I, Egiazarian K: Beattobeat noise removal in noninvasive Hisbundle electrocardiogram. Med Biol Eng Comput 2004, 42: 712–720.
 47.
Mewett DT, Nazeran H, Reynolds KJ: Removing power line noise from recorded EMG. Proceedings of the 23rd Annual International Conference on Engineering in Medical and Biological Society: Istanbul 2001, 2190–2193. 25–28 October 2001
 48.
Dotsinsky I: Removal of frequency fluctuating powerline interference from ECG. Proceedings of the 3rd European Medical & Biological Engineering Conference: Prague 20–25 November 2005. Accepted
Acknowledgements
The authors gratefully acknowledge the contribution of the Ph.D. students Mrs. Ts. Georgieva and Mr. T. Stoyanov in the theoretical investigations and the software synchronized sampling rate.
Author information
Affiliations
Corresponding author
Rights and permissions
Open Access This article is published under license to BioMed Central Ltd. This is an Open Access article is distributed under the terms of the Creative Commons Attribution License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Levkov, C., Mihov, G., Ivanov, R. et al. Removal of powerline interference from the ECG: a review of the subtraction procedure. BioMed Eng OnLine 4, 50 (2005). https://doi.org/10.1186/1475925X450
Received:
Accepted:
Published:
Keywords
 Linear Segment
 Notch Filter
 Subtraction Procedure
 Common Mode Rejection Ratio
 Interference Component