Removing ECG Artifact from the Surface EMG Signal Using Adaptive Subtraction Technique

Similar documents
DETECTION OF HEART ABNORMALITIES USING LABVIEW

Assessment of Reliability of Hamilton-Tompkins Algorithm to ECG Parameter Detection

Biomedical Signal Processing

FREQUENCY DOMAIN BASED AUTOMATIC EKG ARTIFACT

Removal of Baseline wander and detection of QRS complex using wavelets

ECG Beat Recognition using Principal Components Analysis and Artificial Neural Network

PCA Enhanced Kalman Filter for ECG Denoising

Heart Rate Calculation by Detection of R Peak

An electrocardiogram (ECG) is a recording of the electricity of the heart. Analysis of ECG

Biomedical Signal Processing

POWER EFFICIENT PROCESSOR FOR PREDICTING VENTRICULAR ARRHYTHMIA BASED ON ECG

PERFORMANCE CALCULATION OF WAVELET TRANSFORMS FOR REMOVAL OF BASELINE WANDER FROM ECG

Separation of fetal electrocardiography (ECG) from composite ECG using adaptive linear neural network for fetal monitoring

CHAPTER 6 INTERFERENCE CANCELLATION IN EEG SIGNAL

Enhancement of Twins Fetal ECG Signal Extraction Based on Hybrid Blind Extraction Techniques

SEPARATION OF ABDOMINAL FETAL ELECTROCARDIOGRAMS IN TWIN PREGNANCY 1. INTRODUCTION

EEG, ECG, EMG. Mitesh Shrestha

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

Biomedical. Measurement and Design ELEC4623. Lectures 15 and 16 Statistical Algorithms for Automated Signal Detection and Analysis

Various Methods To Detect Respiration Rate From ECG Using LabVIEW

SPECTRAL ANALYSIS OF LIFE-THREATENING CARDIAC ARRHYTHMIAS

Analysis of Electrocardiograms

: Biomedical Signal Processing

Neural Network based Heart Arrhythmia Detection and Classification from ECG Signal

Powerline Interference Reduction in ECG Using Combination of MA Method and IIR Notch

A MATHEMATICAL ALGORITHM FOR ECG SIGNAL DENOISING USING WINDOW ANALYSIS

An Efficient Method for Fetal Electrocardiogram Extraction from the Abdominal Electrocardiogram Signal

NIH Public Access Author Manuscript J Biomed Sci Eng. Author manuscript; available in PMC 2013 December 02.

Analysis of Fetal Stress Developed from Mother Stress and Classification of ECG Signals

ELEC ENG 4BD4 Lecture 1. Biomedical Instrumentation Instructor: Dr. Hubert de Bruin

Design of the HRV Analysis System Based on AD8232

Testing the Accuracy of ECG Captured by Cronovo through Comparison of ECG Recording to a Standard 12-Lead ECG Recording Device

ECG QRS Detection. Valtino X. Afonso

MORPHOLOGICAL CHARACTERIZATION OF ECG SIGNAL ABNORMALITIES: A NEW APPROACH

FIR filter bank design for Audiogram Matching

ECG Signal Analysis for Abnormality Detection in the Heart beat

ECG Noise Reduction By Different Filters A Comparative Analysis

An Improved QRS Wave Group Detection Algorithm and Matlab Implementation

A Review on Sleep Apnea Detection from ECG Signal

Removal of Baseline Wander from Ecg Signals Using Cosine Window Based Fir Digital Filter

An ECG Beat Classification Using Adaptive Neuro- Fuzzy Inference System

Extraction of Unwanted Noise in Electrocardiogram (ECG) Signals Using Discrete Wavelet Transformation

Heart Abnormality Detection Technique using PPG Signal

Assessment of the Performance of the Adaptive Thresholding Algorithm for QRS Detection with the Use of AHA Database

Modifying the Classic Peak Picking Technique Using a Fuzzy Multi Agent to Have an Accurate P300-based BCI

Vital Responder: Real-time Health Monitoring of First- Responders

Classification of People using Eye-Blink Based EOG Peak Analysis.

Temporal Analysis and Remote Monitoring of ECG Signal

Genetic Algorithm based Feature Extraction for ECG Signal Classification using Neural Network

Novel single trial movement classification based on temporal dynamics of EEG

NOISE DETECTION ALGORITHM

Quick detection of QRS complexes and R-waves using a wavelet transform and K-means clustering

PROCESSING THE ABDOMINAL FETAL ECG USING A NEW METHOD. Zentralinstitut fur Biomedizinische Technik der Universitat Erlangen-Nurnberg, FRG

EEG signal classification using Bayes and Naïve Bayes Classifiers and extracted features of Continuous Wavelet Transform

DIFFERENCE-BASED PARAMETER SET FOR LOCAL HEARTBEAT CLASSIFICATION: RANKING OF THE PARAMETERS

Portable ECG Electrodes for Detection of Heart Rate and Arrhythmia Classification

Fuzzy Based Early Detection of Myocardial Ischemia Using Wavelets

SPPS: STACHOSTIC PREDICTION PATTERN CLASSIFICATION SET BASED MINING TECHNIQUES FOR ECG SIGNAL ANALYSIS

EE 4BD4 Lecture 11. The Brain and EEG

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Simulation Based R-peak and QRS complex detection in ECG Signal

Performance Analysis of Epileptic EEG Expert System Using Scaled Conjugate Back Propagation Based ANN Classifier

Analysis of ECG Signals for Arrhythmia Using MATLAB

Introduction to Electrophysiology

Noise Cancellation using Adaptive Filters Algorithms

Learning Decision Tree for Selecting QRS Detectors for Cardiac Monitoring

Delineation of QRS-complex, P and T-wave in 12-lead ECG

Influence of Inter-electrode Distance on EMG

Combination Method for Powerline Interference Reduction in ECG

Long-term Sleep Monitoring System and Long-term Sleep Parameters using Unconstrained Method

ECG Rhythm Analysis by Using Neuro-Genetic Algorithms

Discrimination of Parkinsonian Tremor From Essential Tremor by Voting Between Different EMG Signal Processing Techniques

Classification of ECG Data for Predictive Analysis to Assist in Medical Decisions.

Local wavelet-based filtering of electromyographic signals to eliminate the electrocardiographic-induced artifacts in patients with spinal cord injury

Performance Identification of Different Heart Diseases Based On Neural Network Classification

Blood Pressure Determination Using Analysis of Biosignals

IJRIM Volume 1, Issue 2 (June, 2011) (ISSN ) ECG FEATURE EXTRACTION FOR CLASSIFICATION OF ARRHYTHMIA. Abstract

Robust system for patient specific classification of ECG signal using PCA and Neural Network

Speech Enhancement Based on Spectral Subtraction Involving Magnitude and Phase Components

Classification of Epileptic EEG Using Wavelet Transform & Artificial Neural Network

Development of 2-Channel Eeg Device And Analysis Of Brain Wave For Depressed Persons

Dual channel photoplethysmography studies of cardio-vascular response to the body position changes

USING CORRELATION COEFFICIENT IN ECG WAVEFORM FOR ARRHYTHMIA DETECTION

An Auditory-Model-Based Electrical Stimulation Strategy Incorporating Tonal Information for Cochlear Implant

Comparative Analysis of QRS Detection Algorithms and Heart Rate Variability Monitor Implemented on Virtex-4 FPGA

arxiv:physics/ v1 4 Jun 2004

ANALYSIS OF PHOTOPLETHYSMOGRAPHIC SIGNALS OF CARDIOVASCULAR PATIENTS

Robust Detection of Atrial Fibrillation for a Long Term Telemonitoring System

Keywords: Adaptive Neuro-Fuzzy Interface System (ANFIS), Electrocardiogram (ECG), Fuzzy logic, MIT-BHI database.

MULTI-MODAL FETAL ECG EXTRACTION USING MULTI-KERNEL GAUSSIAN PROCESSES. Bharathi Surisetti and Richard M. Dansereau

Automatic Detection of Abnormalities in ECG Signals : A MATLAB Study

Emotion Detection Using Physiological Signals. M.A.Sc. Thesis Proposal Haiyan Xu Supervisor: Prof. K.N. Plataniotis

Proceedings 23rd Annual Conference IEEE/EMBS Oct.25-28, 2001, Istanbul, TURKEY

Analysis of ECG Signal for Detecting Heart Blocks Using Signal Processing Techniques

11/18/13 ECG SIGNAL ACQUISITION HARDWARE DESIGN. Origin of Bioelectric Signals

Evaluating Feature Extraction Methods of Electrooculography (EOG) Signal for Human-Computer Interface

A COMPARATIVE STUDY ON ATRIAL FIBRILLATION ECG WITH THE NORMAL LIMITS

Chapter 2 Quality Assessment for the Electrocardiogram (ECG)

LABVIEW based expert system for Detection of heart abnormalities

Localization a quick look

Transcription:

www.jbpe.org Removing ECG Artifact from the Surface EMG Signal Using Adaptive Subtraction Technique Original 1 Department of Biomedical Engineering, Amirkabir University of technology, Tehran, Iran Abbaspour S. 1, Fallah A. 1* ABSTRACT Background: The electrocardiogram artifact is a major contamination in the electromyogram signals when electromyogram signal is recorded from upper trunk muscles and because of that the contaminated electromyogram is not useful. Objective: Removing electrocardiogram contamination from electromyogram signals. Methods: In this paper, the clean electromyogram signal, electrocardiogram artifact and electrocardiogram signal were recorded from leg muscles, the pectoralis major muscle of the left side and V4, respectively. After the pre-processing, contaminated electromyogram signal is simulated with a combination of clean electromyogram and electrocardiogram artifact. Then, contaminated electromyogram is cleaned using adaptive subtraction method. This method contains some steps; (1) QRS detection, (2) formation of electrocardiogram template by averaging the electrocardiogram complexes, (3) using low pass filter to remove undesirable artifacts, (4) subtraction. Results: Performance of our method is evaluated using qualitative criteria, power spectrum density and coherence and quantitative criteria signal to noise ratio, relative error and cross correlation. The result of signal to noise ratio, relative error and cross correlation is equal to 1.493,.4 and %97 respectively. Finally, there is a comparison between proposed method and some existing methods. Conclusion: The result indicates that adaptive subtraction method is somewhat effective to remove electrocardiogram artifact from contaminated electromyogram signal and has an acceptable result. Keywords Electrocardiogram artifact, Surface electromyogram, Contamination, Noise removal, Adaptive subtraction Introduction The electromyogram (EMG) signal indicates electrical activity of the muscles which comprises the summation of all the motor unit action potentials within the detection area of the electrode. EMG recording has been widely used in the field of neuroscience, sports medicine and rehabilitation [1]. A major difficulty during analysis of surface EMG signal is electrocardiogram (ECG) contamination. This causes an increase in the power content of the EMG signal and a distortion of its frequency content [2]. Generally, the ECG interference is large in amplitude and overlapped with the frequency of the EMG [3]. Early techniques employed to reduce the level of contamination include amplitude clipping, gating technique and high pass filtering, neither of which have proved effective [2]. Investigations of ECG contamination in EMG signals have employed techniques such as spike clipping, real J Biomed Phys Eng 214; 4(1) *Corresponding author: Fallah A. Department of Biomedical Engineering, Amirkabir University of Technology, 424 Hafez Ave, Tehran, Iran E-Mail: afallah@aut.ac.ir 33

Abbaspour S et al time filtering, independent component analysis, wavelet, artificial neural network, adaptive filtering and subtraction [1]. Conventional high pass filtering essentially fails since the ECG has a frequency spectrum that overlaps markedly with that of the surface EMG signal of the upper trunk muscles [3]. The gating method, perhaps the loss of the portions of the EMG signals overlying QRS complexes. The adaptive filter has been recently used to reduce the ECG artifacts but it needs a reference input either recorded from an additional channel. This method is not suitable for clinical application due to the heavy computation burden. It takes a lot of time to get the cleaned signal [3]. The main drawback of wavelet method is that a mother wavelet has to be defined a priori and this choice may influence the final results [4]. A method based on the combined use of wavelet transform and ICA is presented in [5]. In this paper, the adaptive subtraction technique has been studied to remove ECG interference from the surface EMG signal of the upper trunk muscles. The method is applied to the collection of EMG data set contaminated by ECG artifacts and then the noise would be eliminated. Also, the result of some existing methods is presented. Finally, the performance of these methods is evaluated. To evaluate the obtained results, the contaminated EMG signal is simulated and the signals to noise ratio (SNR), the relative error (RE) and cross correlation (CC) criteria are calculated. Also, power spectrum density (PSD) and coherence are determined. Material and Methods Five 19-24 years old male (height= 173-18cm, mass= 7-85kg) was recruited from the university population. The surface EMG, ECG artifact and ECG signals used in the study were collected from leg muscles, the pectoralis major muscle of the left side and V4 respectively, at Amirkabir University of Technology, Faculty of Biomedical Engineering, Biological Systems Control Laboratory. When EMG signal was recorded, the subjects 34 www.jbpe.org were seated in a chair and during the experiment, the subjects were asked to activate their leg muscles. Between each activation a rest time was intended. When ECG and ECG artifact signals were recorded, the subjects were asked to lie completely relaxed. The signals were recorded using electrodes placed on the skin. The skin was first prepared by shaving, light abrasion and cleaning alcohol. The EMG signal from these electrodes was fed into a biological amplifier (Dual Bio Amp/simulator). After the pre- amplification and before sampling, the raw EMG signals were band pass filtered from.3 to 5Hz with an analogue filter. The signals were recorded with a sampling frequency of 2Hz. To remove undesirable motion artifacts, clean EMG signal was high pass filtered with cutoff frequency of 1Hz, ECG and ECG artifact were high pass filtered with cutoff frequency of 1Hz. For simulating the contaminated EMG signal, ECG artifact was added to the clean EMG signal. Signal to noise ratio for contaminated EMG signal was considered zero. ECG, ECG artifact, clean EMG and contaminated EMG are presented in figure 1 respectively..5 -.5 5 1 15 2.5 -.5.5 -.5.5 -.5 Figure 1: (a) ECG, (b) ECG artifact, (c) clean EMG and (d) contaminated EMG. a b 5 1 15 2 c 5 1 15 2 d 5 1 15 2 J Biomed Phys Eng 214; 4(1)

www.jbpe.org Adaptive subtraction technique ECG template ECG template subtracting takes advantage of the quasi-periodic characteristics of ECG signal. It involves subtraction of an ECG template from the EMG signal at each occurrence of an ECG waveform [1]. The first step involves the finding QRS complex in the contaminated EMG signals using ECG signals that was recorded simultaneously with ECG artifact. A QRS detection algorithm [6] was used to identify the position of the ECG artifacts in the signal. This algorithm was applied to ECG signal. The second step is formation of ECG template that contaminated the EMG signal. This could be done by averaging the ECG complexes based on assumption that the EMG has a zero mean Gaussian distribution, so the ECG template set is consisting of QRS detection and a subtraction template, which was selected from the averaged waveform. The subtraction template presented longer duration including the complete ECG waveform (i.e. the whole QRS complex as well as P and T waves), which was used to subtract the ECG artifacts from the signal [1]. A sample of the created ECG template is presented in figure 2. During the formation of the ECG template, for each R wave detected, average of 3 QRS Removing ECG Artifact from the Surface EMG Signal complex ago (This number is gained experimentally) were calculated. Therefore we will have a template that will change. Adaptation of this method is at this step, because each R wave detected has its own ECG template. Low pass filter To remove undesirable artifacts, after creating ECG template, this signal was low pass filtered with cutoff frequency of 5Hz. Since the highest frequency power of the ECG signal is between.1 Hz and 45 Hz, cutoff frequency of 5Hz is the best choice. Filtered ECG template is presented in figure 3. mv.2 -.2 ECG template -.4.2.4.6.8 1 1.2 Figure 3: The filtered ECG template..2 -.2 electrocardiogram template Subtraction With information obtained in step 1, the occurrence of ECG spikes in the signal was detected. The second step of the subtraction process was to create the ECG template. Then, ECG template was low pass filtered. In the subtraction step, created ECG template was subtracted from contaminated EMG in places where there was an R wave. -.4.2.4.6.8 1 1.2 Figure 2: A sample of the created ECG template. J Biomed Phys Eng 214; 4(1) Evaluation criteria In this paper, Quantitative criteria such as signal to noise ratio, relative error and cross correlation are calculated. Since average of EMG signal is zero, so equation (1) is used to calculate signal to noise ratio. 35

Abbaspour S et al SNR = 1log 1 var ( s (k)) ( s (k) s(k) ˆ ) var (1) Where, S(k) and Ŝ(k) were the variance operator, clean EMG and cleaned EMG respectively [7]. Increase of signal to noise ratio is represent better performance of approach. Equation (2) is used to calculate relative error. 2 ( S(f)- Sˆ (f)) RE = (2) 2 ( S (f)) Where s(f) and ŝ(f) were spectral density of clean EMG and cleaned EMG respectively [3,8,9]. Decrease of relative error is representing better performance of approach. Equation (3) is used to calculate cross correlation. ˆ s ( k) s ( k) CC 1 = (3) ( s ( k) ) 2 ( sˆ ( k) ) 2 Results Adaptive subtraction method for substantial removal of the ECG contamination in the surface EMG signal was achieved using the proposed method. This method applied to 6 seconds of the contaminated EMG signal. An example of the performance for this method is presented in figure 4. In figure 4, section (a) is an example of the raw simulated EMG signal. The ECG contamination in the signal is obvious. The noise estimated is shown in figure 4 (b). The cleaned EMG signal is obtained when ECG template is subtracted from the contaminated signal. This signal can be seen in figure 4 (c). The ECG artifact removal algorithm was implemented using Matlab 1.b. It is clear from figure 4 that the ECG artifacts were substantially reduced. To qualitative validation of the proposed ECG artifact removal method, power spectrum density and coherence in figure 5 and figure 6 were compared before and after noise removal. In the coherence curve being close to one indicates that the cleaned signal and the clean signal are very similar. The result of signal to 36.5 -.5.5 -.5.5 -.5 www.jbpe.org 5 1 15 2 Figure 4: (a) contaminated EMG, (b) noise estimated and (c) cleaned EMG. PSD PSD.4.2.4.2 a b 5 1 15 2 c 5 1 15 2 a 1 2 3 4 b 1 2 3 4 Frequency(Hz) Figure 5: (a) PSD of clean EMG signal and (b) PSD of cleaned EMG using adaptive subtraction technique. coherence 1.8.6.4.2 2 4 6 8 1 frequency(hz) Figure 6: Coherence of clean EMG and cleaned EMG signals. J Biomed Phys Eng 214; 4(1)

www.jbpe.org noise ratio, relative error (RE) and cross correlation (CC) for one of subjects is equal to 8.86,.8 and %93 respectively. This method Removing ECG Artifact from the Surface EMG Signal was applied to the five signals recorded from five subjects. Results for these signals can be seen in the table 1. Table 1: Calculating evaluation criteria (SNR, RE and CC) and their mean and standard deviation (SD) for the five simulated signals recorded from five subjects. SNR RE CC Subject1 1.49.4 %97 Subject2 9.6.7 %94 Subject3 8.5.1 %92 Subject4 9.97.6 %95 Subject5 8.86.8 %93 mean ± SD 9.28 ±.96.7 ±.2 %94.2 ± 1.92 Finally, the result of presented method in this paper was compared with the results of some existing methods such as high pass filter with a cutoff frequency of 3 Hz, wavelet transform based on nonlinear thresholding and adaptive filter. Signal to noise ratio for these methods are equal to 7.63, 5.36 and 8.9 respectively. This result shows that operation of adaptive subtraction method is somewhat better than the result of three other methods. Discussion In this paper we have proposed an adaptive subtraction technique for the elimination of ECG contamination. The performance of the algorithm was first evaluated on computer simulation. The application of proposed method was investigated using applying that to simulated EMG signals obtained from five healthy subjects. The results of this method were expressed with quantitative criteria. The SNR, Relative Error and cross correlation was used as performance indicator to assess the proposed method. These criteria for the best results respectively is equal to; 1.493,.4 and %97. The power spectral analysis and coherence has been used for qualitative evaluation. It was found that ECG artifacts could be successfully J Biomed Phys Eng 214; 4(1) removed from EMG signal. This algorithm was capable of eliminating the ECG artifacts, which is a promising result. Algorithm performance was improved when the ECG template created was low pass filtered. The adaptive subtraction technique shown in this study is general scheme to elimination the ECG contamination. The effectiveness of the method is evident in the results section, but this method has some limitations, such as time consuming and high computational cost. Finally, the result of this method was compared with the result of three existing methods such as high pass filter, wavelet transform and adaptive filter. Conflict of Interest None References 1. Zhou P, Kuiken TA. Eliminating cardiac contamination from myoelectric control signals developed by targeted muscle reinnervation. Physiol Meas. 26;27:1311-27. doi: 1.188/967-3334/27/12/5. PubMed PMID: 1713572. 2. Bartolo A, Dzwonczyk RR, Roberts C, Goldman E. Description and validation of a technique for the removal of ECG contamination from diaphragmatic EMG signal. Med Biol Eng Comput. 1996;34:76-81. PubMed PMID: 8857315. 37

Abbaspour S et al 3. Liang H, Lin Z, Yin F. Removal of ECG contamination from diaphragmatic EMG by nonlinear filtering. Nonlinear Anal Theor Meth App. 25;63:745-53. doi: http://dx.doi.org/1.116/j.na.24.9.18. 4. Vijila CKS, Kanagasabapathy P, Johnson S, Ewards V. Efficient Cancellation of Artifacts in EEG Signal Using ANFIS. Int J Soft Computing. 27;2:355-6. 5. Taelman J, Van Huffel S, Spaepen A. Waveletindependent component analysis to remove electrocardiography contamination in surface electromyography. Conf Proc IEEE Eng Med Biol Soc. 27;27:682-5. doi: 1.119/ iembs.27.4352382. PubMed PMID: 18248. 6. Pan J, Tompkins WJ. A real-time QRS detection algorithm. IEEE Trans Biomed Eng. 1985;32:23-6. doi: 1.119/tbme.1985.325532. PubMed PMID: www.jbpe.org 3997178. 7. Lu G, Brittain JS, Holland P, et al. Removing ECG noise from surface EMG signals using adaptive filtering. Neurosci Lett. 29;462:14-9. doi: 1.116/j.neulet.29.6.63. PubMed PMID: 19559751. 8. Chen JDZ, Lin ZY, Ramahi M, Mittal RK. Adaptive cancellation of ECG artifacts in the diaphragm electromyographic signals obtained through intraoesophageal electrodes during swallowing and inspiration. Neurogastroenterol Mot. 1994;6:279-88. 9. Deng Y, Wolf W, Schnell R, Appel U. New aspects to event-synchronous cancellation of ECG interference: an application of the method in diaphragmatic EMG signals. IEEE Trans Biomed Eng. 2;47:1177-84. doi: 1.119/1.867924. PubMed PMID: 118418. 38 J Biomed Phys Eng 214; 4(1)