PROCESSING ECG SIGNAL WITH KAISER WINDOW- BASED FIR DIGITAL FILTERS

Similar documents
Filtration Of Artifacts In ECG Signal Using Rectangular Window-Based Digital Filters

Enhancing Electrocadiographic Signal Processing Using Sine- Windowed Filtering Technique

Improving ECG Signal using Nuttall Window-Based FIR Filter

INTEGRATED APPROACH TO ECG SIGNAL PROCESSING

A Finite Impulse Response (FIR) Filtering Technique for Enhancement of Electroencephalographic (EEG) Signal

NOISE REDUCTION TECHNIQUES IN ECG USING DIFFERENT METHODS Prof. Kunal Patil 1, Prof. Rajendra Desale 2, Prof. Yogesh Ravandle 3

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY

COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) NOISE REDUCTION IN ECG BY IIR FILTERS: A COMPARATIVE STUDY

Comparative Study of Chebyshev I and Chebyshev II Filter used For Noise Reduction in ECG Signal

Noise Reduction Technique for ECG Signals Using Adaptive Filters

Suppression of Noise in ECG Signal Using Low pass IIR Filters

Designing and Implementation of Digital Filter for Power line Interference Suppression

FPGA Based Notch Filter to Remove PLI Noise from ECG

2018 American Journal of Engineering Research (AJER)

A Lower Transition Width FIR Filter & its Noise Removal Performance on an ECG Signal

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Suppression of Baseline Wander and power line interference in ECG using Digital IIR Filter

ECG Artifact Removal from Surface EMG Signal Using an Automated Method Based on Wavelet-ICA

Removal of Power-Line Interference from Biomedical Signal using Notch Filter

ACS College of Engineering Department of Biomedical Engineering. BMDSP LAB (10BML77) Pre lab Questions ( ) Cycle-1

Adaptive Detection and Classification of Life Threatening Arrhythmias in ECG Signals Using Neuro SVM Agnesa.A 1 and Shally.S.P 2

CANCELLATION OF ARTIFACTS FROM CARDIAC SIGNALS USING ADAPTIVE FILTER LMS,NLMS AND CSLMS ALGORITHM

UNIVERSITY OF CALGARY DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING BIOMEDICAL SIGNAL ANALYSIS ENEL 563

Power Line Interference Removal from ECG Signal using Adaptive Filter

Performance Comparison of Various Digital Filters for Elimination of Power Line Interference from ECG Signal

Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #2. Filter Analysis, Simulation, and Design

Available online at ScienceDirect. Procedia Computer Science 57 (2015 ) A.R. Verma,Y.Singh

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

An Improved Adaptive Filtering Technique for De-Noising Electro-Encephalographic Signals

Introduction. Research Article. Md Salah Uddin Farid, Shekh Md Mahmudul Islam*

Ensemble Empirical Mode Decomposition: An adaptive method for noise reduction

ECG and power line noise removal from respiratory EMG signal using adaptive filters

ECG Signal Denoising Using Digital Filter and Adaptive Filter

COMPARISON OF VARIOUS FILTERING TECHNIQUES USED FOR REMOVING HIGH FREQUENCY NOISE IN ECG SIGNAL

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

MAC based FIR Filter: A novel approach for Low-Power Real-Time De-noising of ECG signals

Quantitative Investigation of Digital Filters in Electrocardiogram with Simulated Noises

Review on Design & Realization of Adaptive Noise Canceller on Digital Signal Processor

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

ADAPTIVE IIR FILTER FOR TRACKING AND FREQUENCY ESTIMATION OF ELECTROCARDIOGRAM SIGNALS HARMONICALLY

A Review On Methodological Analysis of Noise Reduction in ECG

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Removal of Artifacts from ECG Signal Using CSLMS Algorithm Based Adaptive Filter : A Review

Noise Removal from ECG Signal and Performance Analysis Using Different Filter

Design and Implementation of Digital Chebyshev Type II Filter using XSG for Noise Reduction in ECG Signal

Design and Simulation of Two Channel QMF Filter Bank using Equiripple Technique.

IMPLEMENTATION OF DIGITAL FILTER ON FPGA FOR ECG SIGNAL PROCESSING

Development of Electrocardiograph Monitoring System

Filtering Techniques for Reduction of Power Line Interference in Electrocardiogram Signals

Digital Filtering: Realization

Comparative Study of Different Algorithms for the Design of Adaptive Filter for Noise Cancellation

6.555 Lab1: The Electrocardiogram

RemovalofPowerLineInterferencefromElectrocardiographECGUsingProposedAdaptiveFilterAlgorithm

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

ISSN: X International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE) Volume 7, Issue 5, May 2018

Word length Optimization for Fir Filter Coefficient in Electrocardiogram Filtering

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 10, April 2014

ST Segment Extraction from Exercise ECG Signal Based on EMD and Wavelet Transform

Application of Interference Canceller in Bioelectricity Signal Disposing

Lecture 4 Biosignal Processing. Digital Signal Processing and Analysis in Biomedical Systems

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

Acoustic Echo Cancellation using LMS Algorithm

Question 1 Draw a block diagram to illustrate how the data was acquired. Be sure to include important parameter values

Efficient noise cancellers for ECG signal enhancement for telecardiology applications

Noise estimation and power spectrum analysis using different window techniques

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Detection of Abnormalities in Fetal by non invasive Fetal Heart Rate Monitoring System

Adaptive Filter for Ecg Noise Reduction Using Rls Algorithm

FPGA based Asynchronous FIR Filter Design for ECG Signal Processing

VLSI Implementation of Separating Fetal ECG Using Adaptive Line Enhancer

Biosignal Analysis Biosignal Processing Methods. Medical Informatics WS 2007/2008

Biomedical Instrumentation B2. Dealing with noise

Audio Restoration Based on DSP Tools

Changing the sampling rate

Design Of A Parallel Pipelined FFT Architecture With Reduced Number Of Delays

DESIGN OF FIR AND IIR FILTERS

Denoising of ECG Signals Using FIR & IIR Filter: A Performance Analysis

Performance Comparison of ZF, LMS and RLS Algorithms for Linear Adaptive Equalizer

Filtering Techniques for Reduction of Baseline Drift in Electrocardiogram Signals

Ultra Low Power Multistandard G m -C Filter for Biomedical Applications

Comparison of Multirate two-channel Quadrature Mirror Filter Bank with FIR Filters Based Multiband Dynamic Range Control for audio

An Intelligent Adaptive Filter for Fast Tracking and Elimination of Power Line Interference from ECG Signal

EPILEPSY is a neurological condition in which the electrical activity of groups of nerve cells or neurons in the brain becomes

Electromagnetic Compatibility to Bio-Medical Signals Using Shielding Methods

Multirate Digital Signal Processing

FIR Digital Filter and Its Designing Methods

CHAPTER 7 INTERFERENCE CANCELLATION IN EMG SIGNAL

Bio-Potential Amplifiers

ANALYSIS AND DESIGN OF HIGH CMRR INSTRUMENTATION AMPLIFIER FOR ECG SIGNAL ACQUISITION SYSTEM USING 180nm CMOS TECHNOLOGY

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

EFFECTS OF PHYSICAL CONFIGURATIONS ON ANC HEADPHONE PERFORMANCE

Characterization of Mobile Radio Propagation Channel using Empirically based Pathloss Model for Suburban Environments in Nigeria

SELECTIVE NOISE FILTERING OF SPEECH SIGNALS USING AN ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM AS A FREQUENCY PRE-CLASSIFIER

Comparative Studies of a Two-Stage Cascade Output Filter Single and Three-Phase PWM Inverters Feeding Rectifier-Types Non-linear Loads

Reduction in sidelobe and SNR improves by using Digital Pulse Compression Technique

Signal Processing Toolbox

A Body Area Network through Wireless Technology

EC209 - Improving Signal-To-Noise Ratio (SNR) for Optimizing Repeatable Auditory Brainstem Responses

Transcription:

PROCESSING ECG SIGNAL WITH KAISER WINDOW- BASED FIR DIGITAL FILTERS Mbachu C.B 1, Onoh G. N, Idigo V.E 3,Ifeagwu E.N 4,Nnebe S.U 5 1 Department of Electrical and Electronic Engineering, Anambra State University, Uli. Department of Electrical and Electronic Engineering Enugu State University of Science and Technology, Enugu. 345 Department of Electronic and Computer Engineering, Nnamdi Azikiwe University, Awka. Nigeria. Email:dambacc@yahoo.co.uk,vicugoo@yahoo.com,scotolysis@yahoo.com Abstract Heart attacks mostly occur in people who suffer from heart or heart-relate diseases if these diseases are not detected early enough and treated. There is therefore the need for a reliable means of detecting these diseases to save the patients from these attacks which are increasing in proportion all over the world. Electrocardiography (ECG), which is the electrical activity of the heart, generates a signal referred to as ECG signal or simply ECG and the shape of this signal tells much about the condition of the heart of a patient. Naturally the ECG signal gets distorted by different artifacts which must be removed otherwise it will convey an incorrect information regarding the patients heart condition. The work in this paper is the design of FIR digital filters with Kaiser Window to remove the interferences or the artifacts. Three filters are considered: low pass, high pass and notch filters. Each filter is used to filter the raw noisy ECG signal after which the three filters are used in cascade. Results are observed and recorded in each case, using FDA tool. Key words: Kaiser Window, Matlab, corrupting signals. Introduction Digital FIR filters are successfully employed in processing electrocardiographic signals for measurement. ECG which is a biomedical signal is naturally corrupt by various interferences such as 50/60Hz power line interferences (PLI) and some other biomedical signals like baseline wander, electromyogram (EMG) and electroencephalogram (EEG). ECG signal frequency is approximately between 0.5Hz and 100Hz. Baseline Wander frequency is below 1 Hz while that of EEG is above 100Hz. But EMG frequency can be below or overlap with ECG frequency depending on body muscle movement. These interferences have to be removed from ECG signal in order to obtain correct clinical information of the heart. Since the frequency of electromyogram depends on the muscle movement rate and pressure it can be reduced to the barest minimum during ECG measurement by the patient staying still and quiet so that the muscles are fully relaxed. Different researchers have worked on interference removal or reduction in ECG. In [1] Mahesh S. Chavan et al suggested that Kaiser window can be used to design FIR digital low pass, high pass and notch filters for processing ECG signal. Nobert Henzel in [] presented a new method of designing linear phase FIR filters for ECG noise reduction. The new method does not only use the constraints on the designed filter s frequency response but takes also into account the constraints on the output, time domain, signal. This approach exploits the error-insensitive loss function that plays recently an important role in a vast range of intelligent processing systems. Ch. Renumadhavi et al [3] worked on the evaluation of signal to noise ratio (SNR) of ECG signals, using a new approach of Noise power equal to mean square difference between actual and expected signal, and implementation of the approach. Sachin Singh and K. L. Yadav in [4] considered least means square (LMS) and recursive least square (RLS) algorithms in evaluating the performance of different adaptive filters for ECG signal processing. In [5] Mahesh S. Chavan et al designed ISSN : 0975-546 Vol. 3 No. 8 August 011 6775

and carried out software implementation of digital FIR equiripple notch filter for the removal of powerline interference in ECG, using FDA tool in the Matlab. Similarly, in [6] Mahesh S. Chavan employed FDAtool in the Matlab to design a FIR digital notch filter with a view to removing 50Hz powerline interference in ECG. The authors also simulated the filter with the tool, using ECG signal with 50Hz noise superimposed on it. In [5] the researchers carried out a comparative analysis of the filtration abilities and effects of filters on ECG signal, when designed with different windows. In [7] N. V. Thakor and Y. S. Zhu worked on how to use adaptive filters to do ECG analysis. In [8] Pranab Kumar Dhar et al designed and implemented FIR digital filters for audio signal processing, and this can be adapted to ECG signal processing. Mitov I. P. [9] worked on a method of reduction of powerline interference in ECG. In [10] Guohuo Lu et al worked on removing ECG noise from surface EMG signals using adaptive filters. Fig1a shows a normal ECG signal devoid of noise. Fig. 1a: Normal ECG waveform Kaiser Window Function Kaiser window has very desirable characteristics both in time domain and frequency domain [11]. A good window should be a time limited function with a Fourier transform that is band limited and Kaiser Window possesses such characteristics closely. Kaiser window is defined by the expression 1 n Jo β 1 N 1 ωk ( β, n) =, J β o for = 0, otherwise (1) ( N 1) ( N 1) n where N is the order of the filter and J o (x) is the modified Bessel function of the first kind of order zero, and is given by ( ) 1 J o P = + k = 0 [ ] k ( p / ) k! From (), for k = 0 J 0 (P) = 1 +.. Alternatively, J 0 (P) can be written as [ ] k ( p / ) k! () ( ) 1 J o P = + (3) k= 1 In most cases the upper limit of k turns out to be k = 9 or 10. ISSN : 0975-546 Vol. 3 No. 8 August 011 6776

Experience shows that as the Parameter B is varied in (1) both the transition bandwidth of a filter and the peak ripple in the side lobes change. The filter designer can therefore trade off main-lobe width for sidelobe ripple amplitude. Typical values of β lies in the range of: 4 < β <9. The value of B to be used in any design depends on such factors like the order of the filter, the type of signal to be filtered and targeted signal to noise ratio. A typical Kaiser window function is depicted as fig1b below. ω k (β,n) Amplitude 1 N N 1 0 Number of samples n Fig. 1b: Typical Kaiser window function. Design of low pass filter using Kaiser Window The low pass filter removes the corrupting high frequency noises in ECG. The cut off frequency used here is 100Hz while the sampling frequency is 1000Hz. Matlab is used for the design. The impulse response is shown in fig., magnitude response in fig. 3 and phase response in fig. 4. Fig. : Impulse response of the low pass filter. Fig. 3: Frequency response of the low pass filter ISSN : 0975-546 Vol. 3 No. 8 August 011 6777

Fig. 4: Phase response of the low pass filter 3. Design of High Pass Filter Using Kaiser Window The high pass filter removes the corrupting low frequency noises in ECG signal. The cut off frequency is 0.5Hz and the sampling frequency is 1000Hz. The order of the filter is 100. The impulse response is depicted in fig. 5, magnitude response in fig. 6 and phase response in fig. 7. Fig. 5: Impulse response of the high pass filter Fig. 6: Frequency response of the high pass filter ISSN : 0975-546 Vol. 3 No. 8 August 011 6778

Fig. 7: Phase response of the high pass filter 4. Design of Notch Filter Using Kaiser Window The notch filter removes the corrupting powerline frequency noise in ECG signal. The powerline frequency is 50Hz and sampling frequency is 1000Hz. The order of the filter is 100. The impulse, magnitude and phase responses are shown in fig. 8, fig. 9 and fig. 10 respectively. Fig. 8: Impulse response of the notch filter Fig. 9: Frequency response of the notch filter Fig. 10: Phase response of the notch filter 5. Results There are four groups in the presentation of the implementation of the filters: the results of the low pass filter, high pass filter, notch filter and a cascade of the three filters. ISSN : 0975-546 Vol. 3 No. 8 August 011 6779

5.1 Results of the Implementation of the Low Pass Filter A raw noisy ECG signal containing corrupting high frequency, low frequency and 50 Hz powerline noises is shown in fig. 11. The frequency response is shown in fig. 1. From fig 1 the average power of the ECG signal above 100Hz is (-4.10dB) Fig. 11: ECG signal before application of low pass filter Fig. 1: Frequency response of ECG signal before application of low pass filter The ECG signal of fig. 11 is passed through the low pass filter. The appearance after filtration is shown in fig. 13 while fig. 14 depicts the frequency response after filtration. From fig. 14, it is clear that the power of the signal above 100Hz is reduced to (-53.41dB), implying that the filter has removed high frequency noise from the raw ECG signal. Fig. 13: ECG signal after application of low pass filter ISSN : 0975-546 Vol. 3 No. 8 August 011 6780

Fig. 14: Frequency response of ECG signal after application of low pass filter 5. Results of the Implementation of the High pass filter From Fig. 1 the average power of the raw ECG signal below 0.5Hz is approximately (-11.98dB). The ECG signal after filtering with high pass filter is shown in fig. 15 while fig 16 provides the frequency response. Fig. 16 shows clearly that when the filter is applied the power of the signal below 0.5Hz drops to (-18.5), also implying that the high pass filter has removed the low frequency noise from the ECG signal. Fig. 15: ECG signal after application of high pass filter Fig. 16: Frequency response of ECG signal after application of high pass filter 5.3 Results of the Implementation of the Notch Filter From Fig. 1 the average power of the ECG signal before filtration at 50Hz is (-37.89dB). Fig. 17 shows the ECG signal after filtering with the notch filter while Fig. 18 is a representation of the frequency response. From Fig 18, the power of the ECG signal after filtration with the notch filter is brought down to ( -43dB ) by the filter, which confirms that the notch filter removes power line interference in ECG. ISSN : 0975-546 Vol. 3 No. 8 August 011 6781

Fig. 17: ECG signal after application of notch filter Fig. 18: Frequency response of ECG signal after application of notch filter 5.4 Results of Application of the Low pass, High pass and Notch filters in Cascade When the raw ECG signal of fig 11 is filtered with the three filters in cascade the whole noises were removed, producing a near clean ECG signal of fig 19, almost devoid of corruption. The cascaded arrangement is how digital filters are connected in an electrocardiograph which is an instrument for checking the heart conditions of patients. Table 1 is a summary of the implementation results of the three digital fitters. Fig. 19: ECG signal after filtration with the three filters in cascade ISSN : 0975-546 Vol. 3 No. 8 August 011 678

Table 1: Summary of the implementation results of the three digital filters designed with Kaiser Window Type Signal power before Signal power after filtration in db filtration in db Low pass filter, above 100-4.10-53.41 Hz High pass filter, below 0.5-11.98-18.5 Hz Notch filter, at 50 Hz -37.89-43 Conclusion The design of the filters indicates that there are some ripples in the filters but the responses are stable. The phase is also linear which indicates that even if a multiple frequency signal like ECG signal is applied to it there will be no differential phase shift and hence no distortion. The results of the implementation show that each filter removed the noise specifically meant for it to filter. The output of the cascade of the three filters produced a near clean ECG signal almost devoid of noises and distortion which is a confirmation of the compatibility of the filters to one another and the optima of the filter orders used when Kaiser window is used to design digital filters for ECG signal processing. References: [1] Mahesh S. Chavan, R. A. Agarwala and M. D. Uplane, Use of Kaiser window for ECG processing. Proceeding of the 5th WSEAS international conference on signal processing, robotics and automation, Madrid, Spain, pages 85 to 89. February 15 17, 006. [] Nobert Henzel: A new class of digital filters designed for ECG noise reduction. XI conference on Medical Informatics and Technologies, Pages 360 365. 006. [3] C. H. Renumadhavi, S. Madhava. Kumar, A. G. Ananth and Nirupama Srinivasan; A new approach for evaluating SNR of ECG signals and its implementation. Proceedings of the 6th WSEAS international conference on Simulation, modeling and optimization, Lisbon, Portugal, pages 0 05. 4 September, 006. [4] Sachin Singh and K.L. Yadav, performance evaluation of different adaptive filters for ECG signal processing. International journal on computer science and engineering, Vol. 0, No4, pages 90-93. 006. [5] Mahesh S. Chavan, R. A. Agarwala and M. D. Uplane, Design and implementation of digital FIR equiripple notch filter on ECG signal for removal of power line interference. WSEAS transactions on signal processing, issue 4, Vol. 4, pages 1 30. April 008. [6] Mahesh S. Chavan, R. A. Agarwala and M. D. Uplane, FIR equiripple filter for reduction of powerline interference in ECG signal. Proceedings of the 7th international conference on signal processing, robotics and automation (ISPRA 08), University of Cambridge, UK, pages 147 150. February 0, 008. [7] N. V. Thakor and Y. S. Zhu, Applications of adaptive filtering to ECG analysis, noise cancellation and arrhythmia detection. IEEE transactions on biomedical engineering, vol. 38, no. 8, pages 785 794. 1991. [8] Pranab Kuma Dhar, He-Sung Jun and Jon-Myon Kim, design and implementation of digital filters, for audio signal processing. Third international forum on strategic technologies, 008, pp. 33 335. 19 August, 008. [9] Mitov I. P; A method for reduction of powerline interference in the ECG. Medical Engineering Physics, vol. 6, no. 10, pages 879 887. December, 004. [10] Guohua Lu, John-Stuart Brittain, Peter Holland, John Yianni, Alexander L. Green, John F. Stein, Tipu Z. Aziz and Shouyan Wang, Removing ECG noise from surface EMG signals using adaptive filters. Journal of Neuroscience letters, Vol. 46, pages 14 19. 009. [11] Sarkar, N. (003): Elements of digital signal Processing: Khanna Publishers, Delhi India. ISSN : 0975-546 Vol. 3 No. 8 August 011 6783