Combinations of Different FIR Windows for Removal of Baseline and Power Line Noise from Electrocardiogram

  •  Mohammad Istiaque Reja    
  •  Md. Golam Murtuza    
  •  Roki Roy    


Electrocardiogram (ECG) is a vital tool used for diagnosing various heart diseases. It is the graphical representation of the electrical activity of the heart. But the electrocardiographic signals are often corrupted by noise from diverse sources. The most significant noises that corrupt ECG signal are power line interference and baseline wanders. It is necessary to reduce the amount of these disturbances from ECG signal for proper identification and interpretation of heart condition. This paper investigates the performance of the different 'Band stop filter-High Pass filter' combinations of window based FIR filter for removing the baseline wander and power line noise present in electrocardiogram. The ECG signal is generated and then noises are added to the ECG signal using MATLAB® where filters are designed and analyzed using Filter Design and Analysis Tool (FDATool). 49 different 'Band stop filter-High Pass filter' combinations are made using seven different FIR windows namely Bartlett, Chebyshev, Hamming, Hann, Kaiser, Rectangular, Triangular. For filter order of 350 and 450, the performance of different window combinations are compared and analyzed in terms of Signal power, Peak-to-peak value, Signal to Noise Ratio (SNR) and Mean Square Error (MSE) of the filtered output. A further analysis of the waveforms of the filtered output show that the combinations where both the bandstop and highpass filters are either Kaiser or Rectangular window i.e. Kaiser-Kaiser, Kaiser-Rectangular, Rectangular-Kaiser and Rectangular-Rectangular windows give the best performance in reducing both the baseline noise and high frequency power line noise. It is also found that the reduction of baseline noise is better if 450 filter order is used instead of 350 order in the above mentioned best four combinations, although the amount of delay for 450 order is slightly higher.

This work is licensed under a Creative Commons Attribution 4.0 License.