Skip to main content

Removal of power-line interference from the ECG: a review of the subtraction procedure



Modern biomedical amplifiers have a very high common mode rejection ratio. Nevertheless, recordings are often contaminated by residual power-line interference. Traditional analogue and digital filters are known to suppress ECG components near to the power-line 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.


The subtraction procedure was developed some two decades ago, and almost totally eliminates power-line 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 non-linear segments are encountered.


Modifications of the subtraction procedure have been used in thousands of ECG instruments and computer-aided systems. Other work has extended this procedure to almost all possible cases of sampling rate and interference frequency variation. Improved structure of the on-line 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.


The subtraction procedure has largely proved advantageous over other methods for power-line interference cancellation in ECG signals.


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 power-line (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 [14] 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 non-adaptive notch filters. Both introduce significant distortion in the QRS and ST-segment portions due to the filter ringing. Soo-Chang and Chien-Cheng [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 mVp-p 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 power-line 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 frequency-modulated interference are presented in the publication.

The interference may be suppressed by adaptive filtering [1517]. 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 off-line 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].


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, 2332], and implemented in thousands ECG instruments and computer-aided systems [33, 34]. Similar approaches have also been published by other researchers [3541].


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 phase-locked 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 non-linear segments (usually around QRS complexes and high-amplitude 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.

Figure 1
figure 1

One of the first results obtained by the subtraction procedure.

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 non-linear 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 power-line frequency components. An approximate frequency spectrum of such linear segments is shown in Fig. 3.

Figure 2
figure 2

Typical linear and non-linear segments in real ECG signal.

Figure 3
figure 3

Approximate frequency spectrum of a linear segment.

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 = | FDi+1- FD i | <M.     (3)

The first sample, which does not fulfill equation (3), is associated with the beginning of a non-liner segment. In the non-linear 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 non-subsequent differences:

Cr = |FDi+k- FD i | <M, for k >1     (4)

This approach makes the transition from linear to non-linear 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 phase-coincident with the non-filtered one.

In case of even number n = 2m, the two values are phase-shifted by a half of the sample period:

but become in-phase coincidence using the formula

It is possible to take for averaging every second, third or qthsample 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 'three-points' 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 'two-points' 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 low-pass filters with cut-off 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 non-multiple 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 inter-sample 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 mVp-p 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 non-suppressed part of the signal, together with small residual interference and distortions due to compromise with the M value are also present in the differences.

Figure 4
figure 4

Processed AHA 3004d1 recording.

Figure 5
figure 5

Processed AHA 6007d1 recording.

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.

Figure 6
figure 6

Processing of conditionally 'clean' signal.

Figure 7
figure 7

Processing of synthesized signal.

Figure 8
figure 8

Processed synthesized signal+interference.

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 11th and 14th s in Fig. 9).

Figure 9
figure 9

Processed ECG signal+EMG noise+interference.

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 non-linear segments (on-off 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.

Figure 10
figure 10

Subtraction of interference+EMG noise without parallel buffer.

Figure 11
figure 11

Subtraction of interference+EMG noise with parallel buffer.

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 non-linear 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).

Figure 12
figure 12

Noise levels SNL (traces c and d) in 'clean' ECG signal (trace a) and EMG contaminated signal (trace b), respectively.

Figure 13
figure 13

Interference+EMG noise suppression using adaptive threshold M: 'clean signal' (a) processed with M = 35 μV (c) and contaminated signal (b) subjected to the procedure with M = 420 μV (d).

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 high-resolution ECG

The subtraction procedure is not directly applicable to the body-surface His-ECG, as the low amplitude and relatively low frequency His-wave can not be distinguished in linear segments. Thus, the His-wave 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 His-wave. 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 non-linear segment before a QRS complex is shifted 100 ms to the left, thus defining the His-wave region as a non-linear segment by default (Fig. 14).

Figure 14
figure 14

The beginning of a non-linear segment including the QRS complex was shifted by default 100 ms to the left, to include the zone where the His-bundle wave is expected to appear.

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 regression-subtraction procedures proved to be the best, as Baratta et al. [35] use a similar concept for noise estimation in linear segments. Regression-subtraction deals poorly with amplitude changes of the interference within the current segment.

Case of battery-supplied devices and computer aided ECG systems

The hardware measurement of f PL , necessary for compensation of the interference frequency modulation, is not feasible in battery-supplied 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 μVp-p could be obtained with the procedure by: i) interference amplitude ≤ 0.4 mVp-p and ii) frequency change with a rate ≤ 0.0125 Hzs-1. Since such requirements for the power-supply can often be exceeded, a software interference measuring was developed.

The ECG signal is processed initially by a 49–51 Hz band-pass filter. The amplitudes of two adjacent samples, Br L and Br R , taken from a positive-going 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:

Figure 15
figure 15

Interference zero crossing.

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 tCP,i + knfor the previous tCP,i. Fig. 16 shows a processed 1 mV ECG signal after being mixed by interference with 2 mVp-p 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.

Figure 16
figure 16

Subtraction procedure using software power-line frequency measurement.

The next logical step to be taken consists of: i) keeping the rated t S of the ECG instrument, ii) re-sampling 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 non-multiple 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 sub-harmonics 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 band-pass 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.

Figure 17
figure 17

Detection of the rated power-line frequency, a) part of QRS complex, b) 50 Hz interference and c) 60 Hz interference.

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 non-multiple sampling, including interference frequency variations, without using synchronized AD conversion.

The so-called D-filter 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 i-n ) = X i-n - 2X i + X i+n     (15)

The transfer function of the D-filter has zeros at f = 0 and f = f PL Hz, which is shown equal to 50 Hz in Fig. 18.

Figure 18
figure 18

Transfer function of D-filter for fPL = 50 Hz.

The K-filter 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.

Figure 19
figure 19

Transfer function of K-filter for fPL = 50 Hz and n = 5.

The equation used for ongoing calculation of the interference components:

B i = X i - Y i     (16)

actually defines a digital filter called (1-K)-filter.

Furthermore, the filters are re-defined for non-multiple 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 D-filter 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 D-filter for the same frequency, f RPL . The correction filter synthesis is based on a three-points 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 D-filter and the correction filter, respectively.

Figure 20
figure 20

Transfer functions of a) D-filter, b) auxiliary correction filter and c) corrected D-filter.

The transfer function of the K-filter must preserve zero for f = f RPL , unity gain for f = 0 and linear phase response. The procedure of the K-filter 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 K-filter gain for the same frequency f RPL . The auxiliary filter is multiplied by K RPL /(1 - K RPL ) and subtracted from the K-filter. 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 K-filter correction is shown in Fig. 21, where traces 'a', 'b' and 'c' represent the primary K-filter, the auxiliary filter, and the corrected K*-filter.

Figure 21
figure 21

Transfer function of a) K-filter, b) auxiliary correction filter and c) corrected K-filter.

In case of non-multiple sampling, a phase difference appears between the ongoing ECG samples and the interference components B i (equation 16) usually located in a temporary first-in-first-out (FIFO) buffer. Therefore, B i must be modified being subtracted from the ECG samples during non-linear segments. The compensation procedure is relatively complicated. Fig. 22 shows the contents of the temporary buffer. The current interference sample, B i-n *, 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 B-filter. It is synthesized from the known K-filter, with a window equal to the interference period. In case of odd n*, it can be described as:

Figure 22
figure 22

Restored values in the temporary buffer.

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 B-filter transfer function is shown in Fig. 23.

Figure 23
figure 23

Transfer functions of a) B-filter and b) the known K-filter.

The generalized structure is presented in Fig. 24, where the modules of the subtraction procedure are as follows:

Figure 24
figure 24

Generalized structure of the subtraction procedure.

  • Linearity detection. D-filter is applied to evaluate the linearity of each signal sample neighbourhood.

  • Interference extraction. (1-K)-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 non-linear segment is saved at the position locked with the ongoing phase of the power-line interference.

  • Interference restoring. B-filter is called in case of non-multiple sampling in order to restore the true correction values, which have to be subtracted from the input signal samples in non-linear segments.

  • Delay buffer. Compensates the delay, which appears with the D-filter and (1-K)-filter and is imperative if the procedure is run in quasi-real 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 non-linearity both Interference extraction and Subtraction implement the K-filter.

An improved algorithm according to the generalized structure has been tested off-line. The results for f S = 250 Hz and f RPL = 60 Hz are shown in Fig. 25.

Figure 25
figure 25

Example for non-multiple sampling with fRPL = 60 Hz and fS = 250 Hz.


As first elaborated two decades ago and continually improved since then, the subtraction procedure eliminates power-line 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 power-line 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 on-line 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.


  1. Huhta JC, Webster JG: 60 Hz interference in electrocardiography. IEEE Trans Biomed Eng 1973, 20: 91–100.

    Article  Google Scholar 

  2. Thakor NV, Webster JG: Ground free ECG recording with two electrodes. IEEE Trans Biomed Eng 1980, 27: 699–704.

    Article  Google Scholar 

  3. Towe BC: Comments on 'Ground-Free ECG Recording with Two Electrodes'. IEEE Trans Biomed Eng 1981, 28: 838–839.

    Article  Google Scholar 

  4. Metting van Rijn , 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.

    Article  Google Scholar 

  5. Pallas-Areny R: Interference-rejection potential characteristics of biopotential amplifiers: A comparative analysis. IEEE Trans Biomed Eng 1988, 35: 953–959.

    Article  Google Scholar 

  6. Metting van Rijn, Peper A, Grimbergen CA: The isolation mode rejection ratio in Bioelectric amplifiers. IEEE Trans Biomed Eng 1991, 38: 1154–1157.

    Article  Google Scholar 

  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.

    Article  Google Scholar 

  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.

    Article  Google Scholar 

  9. Ma WK, Zhang YT, Yang FS: A fast recursive-least-squares adaptive notch filter and it is applications to biomedical signals. Med Biol Eng Comput 1999, 37: 99–103.

    Article  Google Scholar 

  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.

    Article  Google Scholar 

  11. Yoo SK, Kim NH, Song JS, Lee TH, Kim KM: Simple self tuned notch filter in a bio-potential amplifier. Med Biol Eng Comput 1997, 35: 151–154.

    Article  Google Scholar 

  12. Dotsinsky I, Stoyanov T: Power-line interference cancellation in ECG signals. Biomed Instr Techn 2005, 39: 155–162.

    Google Scholar 

  13. Dotsinsky IA, Daskalov IK: Accuracy of the 50 Hz Interference Subtraction from the Electrocardiogram. Med Biol Eng Comput 1996, 34: 489–494.

    Article  Google Scholar 

  14. Mitov IP: A method for reduction of power line interference in the ECG. Med Eng Phys 2004, 26: 879–887.

    Article  Google Scholar 

  15. Bellanger M: Digital Processing of Signals: Theory and Practice. 2000.

    MATH  Google Scholar 

  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.

    Article  Google Scholar 

  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.

    Google Scholar 

  18. Kumaravel N, Nithiyanandam N: Genetic-algorithm cancellation of sinusoidal powerline interference in electrocardiograms. Med Biol Eng Comput 1998, 36: 191–196.

    Article  Google Scholar 

  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

    Google Scholar 

  20. 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.

    Chapter  Google Scholar 

  21. Fergjallah M, Barr RE: Frequency-domain digital filtering techniques for the removal of power-line noise with application to the electrocardiogram. Comput Biomed Res 1990, 23: 473–489.

    Article  Google Scholar 

  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.

    Article  Google Scholar 

  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.

    Article  Google Scholar 

  24. Yan XG: Dynamic Levkov-Christov subtraction of mains interference. Med Biol Eng Comput 1993, 31: 635–638.

    Article  Google Scholar 

  25. Dotsinsky IA, Daskalov IK: Comments on 'Dynamic Levkov-Christov subtraction of mains interference'. Med Biol Eng Comput 1995, 33: 360.

    Article  Google Scholar 

  26. Daskalov I, Dotsinsky I: Reader respond to 'A new adaptive coherent model algorithm for removal of power-line interference'. J Clinical Eng 1995, 20: 357–358.

    Article  Google Scholar 

  27. Mihov G: Elimination of mains interference from the ECG in non-synchronized 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.

    Google Scholar 

  28. Levkov C, Mihov G: Rejection-subtraction 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.

    Google Scholar 

  29. Christov II: Dynamic powerline interference subtraction from biosignals. J Med Eng Techn 2000, 24: 169–172.

    Article  Google Scholar 

  30. Dotsinsky I, Stoyanov T: Cancellation of the power-line interference: effect of amplitude and frequency variations on the ECG signal. Proceedings of the 11-th International Conference ELECTRONICS – ET'20: Sozopol 2002, 65–70. 25–27 September 2000

    Google Scholar 

  31. Dotsinsky I, Christov I: Power-line interference subtraction from the electrocardiogram in the presence of electromyogram artifacts. Electrotechniques & Electronics E+E 2002, 1–2: 18–21.

    Google Scholar 

  32. Mihov G, Dotsinsky I, Georgieva Ts: Subtraction procedure for power-line interference removing from ECG: Improvement for non-multiple sampling. J Med Eng Techn 2005, 29: 238–243.

    Article  Google Scholar 

  33. Dotsinsky IA, Christov II, Levkov CL, Daskalov IK: A microprocessor-electrocardiograph. Med Biol Eng Comput 1985, 23: 209–212.

    Article  Google Scholar 

  34. Daskalov IK, Dotsinsky IA, Christov II: Developments in ECG Acquisition, Preprocessing, Parameter Measurement and Recording. IEEE Eng Med Biol 1998, 17: 50–58.

    Article  Google Scholar 

  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.

    Article  Google Scholar 

  36. Li G, Ling L, Qilian Y, Xuemin Y: A new adaptive coherent model algorithm for removal of power-line interference. J Clin Eng 1995, 20: 147–150.

    Article  Google Scholar 

  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.

    Google Scholar 

  38. Monaco A: Sviluppo di un modulo software per la gestione di un sistema per il controllo remoto dei portatori di pacemaker. 2000.

    Google Scholar 

  39. Adli , Yamamoto Y, Nakamura T, Kitaoka K: Automatic interference controller device for eliminating the power-line interference in biopotential signals. Proceedings of the 17th IEEE Instrumentation and Measurements Technology Conference: Baltimore 2000, 1358–1362. 01–04 May 2000

    Google Scholar 

  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.

    Article  Google Scholar 

  41. Butler KE, Russell RD: Subtraction of power-line harmonics from geophysical records. Geophysics 2003, 58: 898–903.

    Article  Google Scholar 

  42. Lynn PA: Online digital filters for biological signals: some fast designs for a small computer. Med Biol Eng Comput 1977, 15: 534–540.

    Article  Google Scholar 

  43. Kumaravel N, Senthil A, Sridhar KS, Nithiyanandam N: Integrating the ECG power-line interference removal methods with rule-based system. Biomed Sci Instrum 1995, 31: 115–120.

    Google Scholar 

  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.

    Article  Google Scholar 

  45. Bazhyna A, Christov I, Gotchev A, Daskalov I, Egiazarian K: Powerline Interference Suppression in High-Resolution ECG. Comp in Card 2003, 30: 561–564.

    Google Scholar 

  46. Bazhyna A, Christov I, Gotchev A, Daskalov I, Egiazarian K: Beat-to-beat noise removal in noninvasive His-bundle electrocardiogram. Med Biol Eng Comput 2004, 42: 712–720.

    Article  Google Scholar 

  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

    Google Scholar 

  48. Dotsinsky I: Removal of frequency fluctuating power-line interference from ECG. Proceedings of the 3rd European Medical & Biological Engineering Conference: Prague 20–25 November 2005. Accepted

Download references


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

Authors and Affiliations


Corresponding author

Correspondence to Ivan Dotsinsky.

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 ( ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Levkov, C., Mihov, G., Ivanov, R. et al. Removal of power-line interference from the ECG: a review of the subtraction procedure. BioMed Eng OnLine 4, 50 (2005).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: