Design of window based FIR filter for electrocardiogram noise removal

Document Type : Research Paper


PSG College of Technology, Coimbatore, Tamil Nadu, India.


Cardiovascular diseases are a major threat to the survival of human beings. An electrocardiogram is used in the diagnosis of heart diseases. But many types of noises are present to deter the quality of ECG signals. Thus, these noises must be filtered using a Digital filter like FIR (Finite Impulse Response) filter. There are different approaches to designing an FIR filter. One of the prominent ways is by using windows. There are other ways of designing the FIR filters but filtering using windows is one of the fastest ways of designing the FIR filters. In this paper different orders to filter has been analyzed and the best order to filter the ECG is found. Using that order different windows of FIR filter has been designed using Xilinx System Generator which is used to filter the noisy ECG signal. Also, various windows have been compared for filtering noises in ECG like Baseline Wander noise and Muscle Artifacts noise. The best window among all the windows is found out using MATLAB Simulink.


[1] G. Beylkin, R.D. Lewis and L. Monzon, n the design of highly accurate and efficient IIR and FIR filters, IEEE
Trans. Signal Process. 60(8) (2012) 4045–4054.
[2] P.C. Bhaskar and M.D.Uplane, High frequency electromyogarm noise removal from electrocardiogram using FIR
low pass filter based on FPGA, Proc. Technol. 25 (2016) 497–504.
[3] M. S. Chavan, R. Agarwala and M.D. Uplane, Suppression of baseline wander and power line interference in
ECG using digital IIR filter, Int. J. Circuits Syst. Signal Process. 2(2) (2008).[4] D.J. Pawar and P. C. Bhaskar, FPGA based FIR filter design for enhancement of ECG signal by minimizing
base-line drift interference, Int. J. Curr. Eng. Technol. 3(5) (2013).
[5] A.A. Eleti and A.R. Zerek, FIR digital filter design by using windows method with mATLAB, IEEE 14th International Conference on Sciences and Techniques of Automatic Control & Computer Engineering, Tunisia, 2013
pp. 282–287.
[6] Ms. Geeta Kadam and P.C. Bhaskar, Reduction of power line interference in ECG signal using fir filter, Int. J.
Comput. Eng. Sci. 2(2) (2012) 314–319.
[7] S. Haykin and B. Widrow, Least-Mean-Square Adaptive Filters, Hoboken, NJ, USA: Wiley, Simultaneously in
Canada, 2003.
[8] A.V. Oppenheim and R.W. Schafer, Discrete-Time Signal Processing, Englewood Cliffs, NJ: Prentice Hall, 1989.
[9] T. Singh, P. Agarwal and V.K. Pandey, ECG baseline noise removal techniques using window-based FIR filters,
2014 Int. Conf. Medical Imaging, m-Health and Emerging Communication Systems (MedCom), 2014.
[10] G. Xu, Y. Zou, J. Han and X. Zeng Low power design for FIR filter, IEEE 10th Int. Conf. ASIC. 2013.
[12] blynch/elec442lab5.pdf
Volume 12, Special Issue
December 2021
Pages 1519-1528
  • Receive Date: 15 August 2021
  • Revise Date: 04 September 2021
  • Accept Date: 19 November 2021