77
Mälardalen University Press Licentiate Theses No. 204 PROPOSING COMBINED APPROACHES TO REMOVE ECG ARTIFACTS FROM SURFACE EMG SIGNALS Sara Abbaspour 2015 School of Innovation, Design and Engineering

Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Mälardalen University Press Licentiate ThesesNo. 204

PROPOSING COMBINED APPROACHES TO REMOVEECG ARTIFACTS FROM SURFACE EMG SIGNALS

Sara Abbaspour

2015

School of Innovation, Design and Engineering

Mälardalen University Press Licentiate ThesesNo. 204

PROPOSING COMBINED APPROACHES TO REMOVEECG ARTIFACTS FROM SURFACE EMG SIGNALS

Sara Abbaspour

2015

School of Innovation, Design and Engineering

Page 2: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Copyright © Sara Abbaspour, 2015ISBN 978-91-7485-206-6ISSN 1651-9256Printed by Arkitektkopia Västerås, Sweden

Page 3: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

I

Abstract

Electromyography (EMG) is a tool routinely used for a variety of applications in a very large breadth of disciplines. However, this signal is inevitably contaminated by various artifacts originated from different sources. Electrical activity of heart muscles, electrocardiogram (ECG), is one of sources which affects the EMG signals due to the proximity of the collection sites to the heart and makes its analysis non-reliable. Different methods have been proposed to remove ECG artifacts from surface EMG signals; however, in spite of numerous attempts to eliminate or reduce this artifact, the problem of accurate and effective de-noising of EMG still remains a challenge. In this study common methods such as high pass filter (HPF), gating method, spike clipping, hybrid technique, template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial neural network (ANN), and adaptive noise canceller (ANC) and adaptive neuro-fuzzy inference system (ANFIS) are used to remove ECG artifacts from surface EMG signals and their accuracy and effectiveness is investigated. HPF, gating method and spike clipping are fast; however they remove useful information from EMG signals. Hybrid technique and ANC are time consuming. Template subtraction requires predetermined QRS pattern. Using wavelet transform some artifacts remain in the original signal and part of the desired signal is removed. ICA requires multi-channel signals. Wavelet-ICA approach does not require multi-channel signals; however, it is user-dependent. ANN and ANFIS have good performance, but it is possible to improve their results by combining them with other techniques. For some applications of EMG signals such as rehabilitation, motion control and motion prediction, the quality of EMG signals is very important. Furthermore, the artifact removal methods need to be online and automatic. Hence, efficient methods such as ANN-wavelet, adaptive subtraction and automated wavelet-ICA are proposed to effectively eliminate ECG artifacts from surface EMG signals. To compare the results of the investigated methods and the proposed methods in this study, clean EMG signals from biceps and deltoid muscles and ECG artifacts from pectoralis major muscle are recorded from five healthy subjects to create 10 channels of contaminated EMG signals by adding the recorded ECG artifacts to the clean EMG signals. The artifact removal methods are also applied to the 10 channels of real contaminated EMG signals from pectoralis major muscle of the left side. Evaluation criteria such as signal to noise ratio, relative error, correlation coefficient, elapsed time and power spectrum density are used to evaluate the performance of the proposed methods. It is found that the performance of the proposed ANN-wavelet method is superior to the other methods with a signal to noise ratio, relative error and correlation coefficient of 15.53, 0.01 and 0.98 respectively.

Page 4: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 5: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

III

Sammanfattning

Elektromyografi (EMG) är ett verktyg som rutinmässigt används för en mängd olika applikationer inom många discipliner. Dock är denna signal oundvikligen kontaminerad av artefakter som kommer från olika källor. Elektrisk aktivitet av hjärtmuskln, elektrokardiogram (EKG), är en av störkällorna som påverkar EMG-signalerna på grund av närheten till hjärtat och som försämrar analysens tillförlitlig. Olika metoder har föreslagits för att ta bort EKG artefakter från yt-EMG-signaler men trots många försök att eliminera eller minska denna artefakt, kvarstår problemet med korrekt och effektivt brusreducering av EMG. I denna studie har vanliga metoder för brusundertryckning undersökts, såsom högpassfilter (HPF), gatingmetod, spikklippning, hybridteknik, subtraktionsmetod, oberoende komponentanalys (ICA), wavelet, wavelet-ICA, artificiella neurala nätverk (ANN), och adaptiv brusreducering (ANC) och adaptiv neuro fuzzy inference system (ANFIS). Metorderna har använts för att avlägsna EKG- artefakter från yt-EMG-signaler och deras noggrannhet och effektivitet har undersökts. HPF, gatingmetod och spikklippning är snabba; men de tar även bort relevant information från EMG-signalen. Hybridteknik och ANC är tidskrävande. Subtraktionsmetoden kräver kännedom om QRS-mönstret.Wavelettransformen lämnade kvar vissa artefakter i signalen, och avlägsnade även endel av den ursprungliga EMG-signalen. ICA kräver flerkanaliga signaler. Wavelet-ICA kräver inte flerkanaliga signaler, men är däremot användarberoende. ANN och ANFIS har bra prestanda, men det är möjligt att förbättra resultaten genom att kombinera dem med andra tekniker. För vissa tillämpningar av EMG-signaler såsom rehabilitering, rörelsekontroll och prediktion, är kvaliteten på EMG-signalerna mycket viktigt. Dessutom måste de artefaktreducerande metoderna vara i realtid och automatiska. Detta innebär att metoderna ANN-wavelet, adaptiv subtraktion och automatiserad wavelet-ICA rekommenderas för effektiv eliminering av EKG-artefakter från yt-EMG-signaler. För att jämföra resultaten av de undersökta och föreslagna metoderna i denna studie, har rena EMG-signaler från biceps och delta-muskler, samt EKG-artefakter från stora bröstmuskeln spelats in från fem friska personer. För att skapa 10-kanaliga brusiga EMG-signaler har de inspelade EKG-artefakterna adderats till de rena EMG-signalerna. De olika artefaktreduceringsmetoderna har även tillämpats på 10 kanaler verkliga EMG signaler med artefakter, från stora bröstmuskeln på vänster sida. Utvärderingskriterier såsom signal-brusförhållandet, relativta felet, korrelationskoefficienten, förfluten tid och effektspektrumstäthet har använts för att utvärdera de föreslagna metoderna. Prestandan hos den föreslagna ANN-wavelet metoden befanns överlägsen de andra metoderna med ett signalbrusförhållande på 15,53, relativt fel på 0,01 och korrelationskoefficient på 0,98.

Page 6: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 7: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

V

To my beloved husband, Mehdi

Page 8: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 9: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

VII

Acknowledgments

Foremost, I would like to express my sincere gratitude to my supervisors Prof. Maria Lindén, Dr. Shahina Begum and Dr. Giacomo Spampinato. I am grateful to them for providing valuable and useful suggestions, comments and feedback throughout my studies. In particular, I thank my main supervisor Prof. Maria Lindén for her continuous support of my study and research. Her guidance helped me in all the time of research and writing of this thesis. I could not have imagined having a better supervisor and mentor for my study. I also would like to express the deepest appreciation to my co-author Dr. Hamid Gholamhosseini for his constructive comments on my papers. I am grateful in every possible way and hope to keep up our collaboration in the future.

I thank the lecturers and professors who I learned a lot from during meetings, lectures, seminars and PhD courses including Mats Björkman, Magnus Otterskog, Elisabeth Uhlemann, Hans Hansson, Mia Folke, Mikael Ekström, Martin Ekström, Peter Funk, Miguel Angel Valero, Ning Xiong, Anatoliy Malyarenko, Gordana Dodig-Crnkovic, Lars Asplund, Sasikumar Punnekkat, Baran Çürüklü, Daniel Sundmark, Jan Gustafsson, Johan Åkerberg, Björn Lisper, Lucia Lo Bello, Luis Almeida, Damir Isovic, Tomas Nolte, Cristina Seceleanu, Moris Behnam and Dag Nyström. You all have been a source of inspiration for me. I thank the administrative staff in particular, Carola Ryttersson, Sofia Jäderén and Susanne Fronnå for making my things easier. My sincere thanks also go to my friends and colleagues at the department; in my research group Per, Melika, Mobyen, Anna, Elaine, Nikola, Gregory, Lum, Shaibal, Aida and Jiaying; and in an alphabetic order Abhilash, Adnan, Alessio, Andreas G., Ayhan, Batu, Carl, Eduard, Elena, Farid, Federico, Francisco, Fredrik Ek., Gabriel, Guillermo, Hamid, Hang, Husni, Irfan, Ivan, Juraj, Kan, Kivanc, Leo, Luka, Malin Ås., Mahnaz, Matthias, Mehrdad, Meng, Miguel, Mohammad, Nesredin, Nima, Omar, Pablo, Predrag, Rafia, Raluca, Saad, Sara Ab., Sara Af., Severine, Simin, Stephan, Svetlana, Wasif, Yue and others.

Last but not the least, I thank my family: my parents for giving birth to me at the first place and supporting me spiritually throughout my life. I would like to acknowledge my husband and best friend, Mehdi. A big thank must go to him for his love, support and encouragement. Without you it would not have been done!

The work was financed by the Knowledge Foundation’s research profile Embedded Sensor System for Health (ESS- H).

Sara Abbaspour, Västerås, 2015

Page 10: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 11: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

IX

List of Publications

Papers included in this thesis1:

A. A Combination Method for Electrocardiogram Rejection from Surface Electromyogram. Sara Abbaspour, Ali Fallah, Open Biomedical Engineering Journal, 8:13-19, doi: 10.2174/1874120701408010013, 2014.

B. Removing ECG Artifact from Surface EMG Signal Using Adaptive Subtraction

Technique. Sara Abbaspour, Ali Fallah, Journal of Biomedical Physics and Engineering, 4:33-38, 2014.

C. ECG Artifact Removal from Surface EMG Signal Using an Automated Method

Based on Wavelet-ICA. Sara Abbaspour, Maria Linden, Hamid Gholamhosseini, 12th International Conference on Wearable Micro and Nano Technologies for Personalized Health, 2015.

                                                                                                                         1  The included articles have been reformatted to comply with the licentiate thesis layout.  

Page 12: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

X List of Publications

Additional publications, not included in this thesis:

1. Evaluation of Wavelet Based Methods in Removing Motion Artifact from ECG Signal. Sara Abbaspour, Hamid Gholamhosseini, Maria Linden, IFMBE Proceeding, 16th Nordic-Baltic Conference on Biomedical Engineering, 48:1-4, doi: 10.1007/978-3-319-12967-9_1, 2015.

2. A Comparison of Adaptive Filter and Artificial Neural Network Results in Removing Electrocardiogram Contamination from Surface EMG. Sara Abbaspour, Ali Fallah, Ali Maleki, IEEE Proceeding, 20th Iranian Conference on Electrical Engineering (ICEE), 1554-1557, doi: 10.1109/IranianCEE.2012.6292606, 2012.

3. A Comparison of Adaptive Neuro-fuzzy Inference System and Real-time Filtering

in Cancellation of ECG Artifact from Surface EMG. Sara Abbaspour, Ali Fallah, Ali Maleki, IEEE Proceeding, 20th Iranian Conference on Electrical Engineering (ICEE), 1558-1561, doi: 10.1109/IranianCEE.2012.6292607, 2012.

Page 13: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

XI

List of Figures

Figure 1. (a) ECG signal, (b) ECG artifact, (C) clean EMG and (d) contaminated EMG. 10 Figure 2. The model for creating the contaminated EMG signals. ................................... 11 Figure 3. The structure of the hybrid technique. ............................................................... 12 Figure 4. The flowchart of the wavelet-ICA method. ....................................................... 14 Figure 5. The structure of the adaptive noise canceller. ................................................... 14 Figure 6. The structure of the ANFIS. .............................................................................. 16Figure 7. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using HPF and (d) PSD of clean EMG and denoised EMG using HPF. ............................................ 20 Figure 8. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using spike clipping and (d) PSD of clean EMG and denoised EMG using spike clipping. ............... 20 Figure 9. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using gating method and (d) PSD of the clean EMG and denoised EMG using gating method. .......... 21 Figure 10. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using hybrid technique and (d) PSD of the clean EMG and denoised EMG using hybrid technique. .......................................................................................................................... 22 Figure 11. 20 selected frames including the QRS complexes in the contaminated EMG signal. ................................................................................................................................ 22 Figure 12. Created ECG template by averaging QRS complexes in the contaminated EMG signal. ...................................................................................................................... 23 Figure 13. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using template subtraction and (d) PSD of the clean EMG and denoised EMG using template subtraction. ........................................................................................................................ 23 Figure 14. (a, b) Contaminated EMG signals, (c, d) independent components obtained by ICA and (e, f) filtered components using HPF. ................................................................ 24 Figure 15. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ICA and (d) PSD of the clean EMG and denoised EMG using ICA. ....................................... 24 Figure 16. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet transform and (d) PSD of the clean EMG and denoised EMG using wavelet transform. .......................................................................................................................... 25 Figure 17. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet-ICA and (d) PSD of the clean EMG and denoised EMG using wavelet-ICA. ... 26 Figure 18. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANC and (d) PSD of the clean EMG and denoised EMG using ANC. ..................................... 26 Figure 19. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN and (d) PSD of the clean EMG and denoised EMG using ANN. ........................... 27

Page 14: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

XII List of Figures

Figure 20. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANFIS and (d) PSD of the clean EMG and denoised EMG using ANFIS. ...................... 28 Figure 21. The mean of PSD of the contaminated EMG, clean EMG, denoised EMG using ANN and denoised EMG using ANN-wavelet for 10 channel signals. .................. 29 Figure 22. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN-wavelet and (d) PSD of the clean EMG and denoised EMG using ANN-wavelet. 29 Figure 23. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using adaptive subtraction and (d) PSD of the clean EMG and denoised EMG using adaptive subtraction. ........................................................................................................................ 30 Figure 24. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using automated wavelet-ICA and (d) PSD of the clean EMG and denoised EMG using automated wavelet-ICA. ................................................................................................... 31 Figure 25. The performance of ANN, ANN-wavelet, template subtraction, adaptive subtraction, wavelet-ICA and automated wavelet-ICA on the contaminated EMG signals with different levels of noise (ECG artifacts). .................................................................. 34 Figure 26. (a) Contaminated EMG and (b) ECG signal with muscle movement artifact. 35 Figure 27. Denoised ECG signal using wavelet transform. .............................................. 35 Figure 28. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using HPF, (d) PSD of contaminated EMG and denoised EMG using HPF. ...................................... 36 Figure 29. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using spike clipping, (d) PSD of contaminated EMG and denoised EMG using spike clipping. ........ 36 Figure 30. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using gating method, (d) PSD of contaminated EMG and denoised EMG using gating method. ........................................................................................................................................... 37 Figure 31. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using hybrid technique, (d) PSD of contaminated EMG and denoised EMG using hybrid technique. .......................................................................................................................... 37 Figure 32. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using template subtraction, (d) PSD of the contaminated EMG and denoised EMG using template subtraction. ......................................................................................................... 38 Figure 33. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ICA, (d) PSD of the contaminated EMG and denoised EMG using ICA. ................................. 38 Figure 34. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet transform, (d) PSD of contaminated EMG and denoised EMG using wavelet transform. .......................................................................................................................... 39 Figure 35. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet-ICA, (d) PSD of contaminated EMG and denoised EMG using wavelet-ICA. .. 39 Figure 36. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANC, (d) PSD of contaminated EMG and denoised EMG using ANC. .......................... 40 Figure 37. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN, (d) PSD of contaminated EMG and denoised EMG using ANN. .......................... 40 Figure 38. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANFIS, (d) PSD of contaminated EMG and denoised EMG using ANFIS. .................... 41

Page 15: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

List of Figures XIII

Figure 39. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN-wavelet, (d) PSD of the contaminated EMG and denoised EMG using ANN-wavelet. ............................................................................................................................. 41 Figure 40. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using adaptive subtraction, (d) PSD of the contaminated EMG and denoised EMG using adaptive subtraction. ......................................................................................................... 42 Figure 41. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using automated wavelet-ICA, (d) PSD of the contaminated EMG and denoised EMG using automated wavelet-ICA. ................................................................................................... 42

Page 16: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 17: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

XV

List of Tables

Table 1. The contributions made by Sara Abbaspour to papers A, B and C, 1 = Main responsibility, 2 = Contributed to a high extent. ................................................................. 6 Table 2. Calculating signal to noise ratio of HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANC, ANN, ANFIS, adaptive subtraction, ANN-wavelet and automated (auto) wavelet-ICA for 10 contaminated EMG signals. .............................................................................................. 32 Table 3. Calculating evaluation criteria (SNR, RE, CC and ET in second) for HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANC, ANN, ANFIS, adaptive subtraction, ANN-wavelet and automated (auto) wavelet-ICA for 10 contaminated EMG signals. ................................................... 33 Table 4. The advantages and disadvantages of HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANC, ANN, ANFIS, adaptive subtraction, ANN-wavelet and automated (auto) wavelet-ICA in removing ECG artifacts from EMG signals. ..................................................................... 43

Page 18: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 19: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

XVII

List of Abbreviations

ANFIS Adaptive Neuro-Fuzzy Inference System ANC Adaptive Noise Canceller ANN Artificial Neural Network ARV Averaged Rectified Value BPN Back Propagation Network CC Correlation Coefficient DC Direct Current ET Elapsed Time ECG Electrocardiogram EMG Electromyogram EMD Empirical Mode Decomposition FIR Finite Impulse Response HPF High Pass Filter ICA Independent Component Analysis PSD Power Spectrum Density RLS Recursive Least Square RE Relative Error SNR Signal to Noise Ratio SD Standard Deviation

Page 20: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 21: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

XIX

Table of Contents

PART  1  .............................................................................................................................  1  Thesis  ..............................................................................................................................  1    

Chapter 1 ......................................................................................................................... 3 Introduction ................................................................................................................. 3

1.1 Motivation ...................................................................................................... 3 1.2 Background and Problem Description ........................................................... 4 1.3 Hypothesis ...................................................................................................... 5 1.4 Research Questions ........................................................................................ 5 1.5 Approach ........................................................................................................ 5 1.6 Scientific Contributions ................................................................................. 6

1.6.1 Combined Method ................................................................................... 6 1.6.2 Online Method ........................................................................................ 6 1.6.3 Automatic Method .................................................................................. 6

1.7 Outline of the Thesis ...................................................................................... 7  

Chapter 2 ......................................................................................................................... 9 Methodology ............................................................................................................... 9

2.1 Signal Recording ............................................................................................ 9 2.2 Common Artifact Removal Methods ........................................................... 11

2.2.1 High Pass Filter ..................................................................................... 11 2.2.2 Spike Clipping ....................................................................................... 11 2.2.3 Gating Method ...................................................................................... 11 2.2.4 Hybrid Technique .................................................................................. 12 2.2.5 Template Subtraction ............................................................................ 12 2.2.6 Independent Component Analysis ........................................................ 12 2.2.7 Wavelet Transform ................................................................................ 13 2.2.8 Combined Wavelet and ICA ................................................................. 13 2.2.9 Adaptive Noise Canceller ..................................................................... 14 2.2.10 Artificial Neural Network ................................................................... 15 2.2.11 Adaptive Neuro-Fuzzy Inference System ........................................... 15

2.3 Proposed Combined Artifact Removal Methods ......................................... 16 2.3.1 ANN-Wavelet (Paper A) ....................................................................... 16 2.3.2 Adaptive Subtraction (Paper B) ............................................................ 16 2.3.3 Automated Wavelet-ICA (Paper C) ...................................................... 16

Page 22: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

XX Table of Contents

2.4 Evaluation Criteria ....................................................................................... 17  

Chapter 3 ....................................................................................................................... 19 Result and Discussion ............................................................................................... 19

3.1 Simulated Signals ......................................................................................... 19 3.1.1 High Pass Filter ......................................................................................... 19 3.1.2 Spike Clipping ........................................................................................... 19 3.1.3 Gating Method .......................................................................................... 21 3.1.4 Hybrid Technique ...................................................................................... 21 3.1.5 Template Subtraction ................................................................................ 22 3.1.6 Independent Component Analysis ............................................................ 24 3.1.7 Wavelet Transform .................................................................................... 25 3.1.8 Combined Wavelet and ICA ..................................................................... 25 3.1.9 Adaptive Noise Canceller ......................................................................... 26 3.1.10 Artificial Neural Network ....................................................................... 27 3.1.11 Adaptive Neuro-Fuzzy Inference System ............................................... 28 3.1.12 ANN-Wavelet (Paper A) ......................................................................... 28 3.1.13 Adaptive Subtraction (Paper B) .............................................................. 30 3.1.14 Automated Wavelet-ICA (Paper C) ........................................................ 31 3.2 Real signals .................................................................................................. 34

 Chapter 4 ....................................................................................................................... 47

Conclusion and Future Work .................................................................................... 47  

References ..................................................................................................................... 49  PART  2  ..........................................................................................................................  55  Included  Papers  ........................................................................................................  55    

Chapter 5 ....................................................................................................................... 57 Paper A: A Combination Method for Electrocardiogram Rejection from Surface Electromyogram ............................................................................................................ 57

Abstract ................................................................................................................. 59 5.1 Introduction .................................................................................................. 60 5.2 Materials and methods ................................................................................. 61

5.2.1 Signal recording and simulation ............................................................ 61 5.2.2 Artificial neural network ....................................................................... 62 5.2.3 Wavelet transform based on nonlinear thresholding ............................. 63 5.2.4 Artificial neural network- wavelet transform ........................................ 64 5.2.5 Quantitative evaluation criteria ............................................................. 65

5.3 Results .......................................................................................................... 65 5.4 Discussion .................................................................................................... 67 Acknowledgments ................................................................................................. 69 References ............................................................................................................. 70

   

Page 23: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Table of Contents XXI

Chapter 6 ....................................................................................................................... 73 Paper B: Removing ECG Artifact from Surface EMG Signal Using Adaptive Subtraction Technique .................................................................................................. 73

Abstract ................................................................................................................. 75 6.1 Introduction .................................................................................................. 76 6.2 Material and Methods .................................................................................. 76 6.3 Adaptive Subtraction Technique .................................................................. 77

6.3.1 ECG Template ....................................................................................... 77 6.3.2 Low Pass Filter ...................................................................................... 78 6.3.3 Subtraction ............................................................................................ 79

6.4 Evaluation Criteria ....................................................................................... 79 6.5 Results .......................................................................................................... 79 6.6 Discussion .................................................................................................... 81 References ............................................................................................................. 82

 Chapter 7 ....................................................................................................................... 83 Paper C: ECG Artifact Removal from Surface EMG Signal Using an Automated Method Based on Wavelet-ICA .................................................................................... 83

Abstract ................................................................................................................. 85 7.1 Introduction .................................................................................................. 86 7.2 Material and Methods .................................................................................. 86

7.2.1 Signal Recording and Simulating .......................................................... 86 7.2.2 Automated Wavelet-ICA Technique ..................................................... 87

7.3 Results .......................................................................................................... 89 7.4 Discussion and Conclusion .......................................................................... 90 Acknowledgment .................................................................................................. 90 References ............................................................................................................. 91

Page 24: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 25: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

1

PART 1

Thesis

Page 26: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 27: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

3

Chapter 1

Introduction The electromyogram (EMG) signal indicates electrical activity of muscles, which comprises the summation of all motor unit action potentials within the detection area of the electrode [1]. Surface EMGs are powerful non-invasive tools, which allow for diagnosis of a wide range of diseases [2]. EMG recording has been widely used in the field of neuroscience, sports medicine and rehabilitation [1]. However, when the surface EMG signal is recorded, noise is often captured from different sources such as inherent noise in the electronic components of detection and recording equipment, ambient noise, motion artifacts, inherent instability of signal and biological signals [3]. Especially, when EMG is recorded from upper trunk muscles, electrical artifacts produced by heart (electrocardiogram (ECG)) significantly affect the EMG signal and make its analysis and quantification non-reliable [4, 5]. When the biomedical signal recordings are strongly corrupted by the artifacts, it is impossible to analyze the data accurately [6]. The choice of an efficient method for removing artifacts from biomedical signals is very important in accomplishing a reliable signal processing.

In the state of the art different techniques have been proposed to remove ECG artifacts from EMG signals. However, few studies have made direct comparisons between different methods for a given data set. Difficulties in comparing between studies arise due to the different signals, electrodes and collection systems. Understanding the impacts of the ECG elimination methods on amplitude and frequency parameters is vital given the widespread use of EMG. To achieve this understanding, techniques that are employed require to be assessed for efficacy and possible detrimental outcomes to measures of EMG data. Hence, our objective of this study is to evaluate commonly used approaches and propose suitable methods to improve this process.

1.1 Motivation

The loss of a limb, especially of an arm or hand, causes a severe worsening of the quality of life. To regain the ability for an independent and unimpaired life, artificial limbs have been developed over the past decades. These initiatives include hand prostheses that can be controlled by the user through the activity of the remnant muscles above the amputation. These systems provide the possibility to control multiple degrees of freedom so that the movement can mimic well that of the human hand. The control methods for

Page 28: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

4 Introduction

prostheses use signals recorded using electromyography. The quality of the EMG signal is one of the most important factors for the performance of the prosthesis [7].

Every year more than 750,000 people experience a stroke. Approximately one quarter of these people die, and a significant portion of the remainder survive with long-term disability. Post-stroke patients may have trouble moving their arms and legs, difficulty walking, and may also experience a loss of balance. Rehabilitation can help patients to learn new ways of using and moving their weak arms and legs, and may eventually help them to regain movement [8]. There is a pressing need to increase the potential for functional recovery of the muscles after stroke. To investigate muscle changes in post-stroke rehabilitation, surface EMG signal can be used to assess the effectiveness of different rehabilitation methods in muscle treatment [9-12]. One of challenges in this area is the requirement of clean EMG signals. Therefore, extensive work is required to be performed to increase the quality and information content of the EMG signal [7].

1.2 Background and Problem Description

In recent years, removal of ECG artifacts from surface EMG signals has been given large consideration. Where the quality of EMG signal is of interest, it is important to remove the ECG artifacts from the EMG signals. However, removal of the ECG artifacts from EMG signals is very difficult because their frequency spectrums greatly overlap. The frequency range of surface EMG signals is between 0 Hz and 400 Hz depending on the amount of fatty tissue and the muscle type [13]. The frequency range of ECG signals is between 0 Hz and 200 Hz and the highest frequency power occurs at frequencies less than 45 Hz [14].

ECG artifact removal from EMG signals has been performed using techniques such as high-pass filter (HPF) [15], gating method[16], spike clipping [17], hybrid technique [18], template subtraction [19], independent component analysis (ICA) [3, 20-22], wavelet transform [1, 23, 24], wavelet-ICA [25], artificial neural network (ANN) [26, 27], adaptive noise canceller (ANC) [27-30] and adaptive neuro-fuzzy inference system (ANFIS) [31-34]. Conventional high-pass filter is a simple and fast method, but it is not suitable for some applications such as hand motion control because it removes a large amount of useful information in EMG signals [27]. The efficacy of the subtraction procedure relies on the accuracy of QRS complex detection and the stationarity of the ECG signals [27]. It also requires the selection of the predefined QRS templates [1]. Gating method perhaps is the most frequently used technique for ECG removal, which although simple, suffers from the loss of portions of the EMG signal overlying the QRS complexes [16]. Moreover, ANC has been recently used to reduce the ECG artifacts [16], but due to the heavy computational cost it is not suitable for clinical applications [1]. Wavelet transform is an online method with low computation cost that does not require multiple inputs. However, using this method some artifacts remain in the original signal and part of the desired signal is removed [35]. The ICA method is an online method which operates on multi-channel signal that adds to the complexity of hardware [36]. Among all of these methods, ANN and ANFIS methods have better performance, but the

Page 29: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Introduction 5

result of these methods could be improved when used in combination with other techniques for specific applications [35].

1.3 Hypothesis

The quality of surface EMG signals is very important in applications such as rehabilitation, motion control and motion prediction. Furthermore, the artifact removal methods used in these applications need to be online and automatic. The hypothesis in this research work is that it is possible to improve the result of some artifact removal methods based on their quantitative and qualitative criteria by combining them with other methods and converting them to online and automatic approaches.

1.4 Research Questions

During development and investigation process it was expected to answer a number of research questions. The following research questions are formulated based on the problem description in section 1.2.

Q1: What combination of methods could be used to improve the results based on the quantitative and qualitative criteria?

Q2: Which artifact removal methods are suitable for online applications? ¥ How can a template subtraction method be converted to an online method?

Q3: How can a user-dependent wavelet-ICA be converted to an automatic method?

1.5 Approach

In this study 10 contaminated EMG signals were created by adding real ECG artifacts recorded from pectoralis major muscle of the left side to real clean EMG signals collected from biceps and deltoid muscles of the right side. Common methods such as HPF, gating method, spike clipping, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANN, ANC and ANFIS methods were applied to the contaminated EMG signals to investigate the impact of these methods on the denoised EMG signals. Then, a combined method based on ANN and wavelet transform (ANN-wavelet), an adaptive subtraction method and an automated wavelet-ICA technique were proposed to remove ECG interferences from the surface EMG signals. Quantitative and qualitative criteria such as signal to noise ratio (SNR), relative error (RE), correlation coefficients (CC), and power spectrum density (PSD) were calculated to compare the results. Finally, the investigated and proposed methods in this study were applied to the real contaminated EMG signals to remove the ECG artifacts.

Page 30: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

6 Introduction

1.6 Scientific Contributions

In this section the contributions of the thesis are presented that address the formulated research questions. The contributions are organized in three parts. The first contribution provides three different solutions for the first research question. The second contribution proposes one solution for the second research question and the third contribution proposes one solution for the third research question.

1.6.1 Combined Method

A combined method based on ANN and wavelet transform is proposed to eliminate ECG contamination from surface EMG signals recorded from upper trunk muscles. An adaptive subtraction technique in combination with low pass filter is proposed to improve the template creation process. An automated wavelet-ICA method, which uses a HPF for removing noise from noisy component, also is proposed. This contribution is presented in Paper A, B and C.

1.6.2 Online Method

To answer the second research question, the results of different methods in removing ECG artifacts from surface EMG signals on a given data set are investigated and an approach named adaptive subtraction method is proposed to convert the template subtraction to an online technique. This contribution is presented in Paper B.

1.6.3 Automatic Method

Following the previous contributions, this contribution addresses the third research question. An automatic wavelet-ICA method is proposed to convert the user-dependent wavelet-ICA to an automatic method with a better result. This contribution is presented in Paper C.

In Table 1, my contribution in paper A, paper B and paper C is presented.

Table 1. The contributions made by Sara Abbaspour to papers A, B and C, 1 = Main responsibility, 2 = Contributed to a high extent.

Papers

Paper sections A B C

Idea and study formulation 1 2 1

Experimental design 2 1 1

Performance of experiments 2 1 1

Programming 1 1 1

Data analysis 1 1 1

Writing of manuscript 1 1 1

Page 31: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Introduction 7

1.7 Outline of the Thesis

The thesis report is divided into two parts. The first part includes four chapters; Chapter 1 presents a short introduction, motivation of the research, problem description, hypothesis, research questions, approach and scientific contributions. Chapter 2 describes the signal recording process, common methods in ECG artifact removal from surface EMG signals, proposed methods and evaluation criteria used to compare the results. Chapter 3 summarizes the results and discussions of the common methods and the proposed methods in this study on contaminated EMG signals. Chapter 4 concludes the first part of the dissertation and also presents the plans of future work. The second part presents the three included papers.

Page 32: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 33: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

9

Chapter 2

Methodology As it is formulated in Chapter 1, the main challenges of the proposed research include (1) evaluating the impact of commonly used approaches on the denoised EMG signal in a given data set and (2) proposing suitable techniques to improve ECG artifact removal process. To address these challenges, the following steps were performed which include describing the signal recording process, evaluating common artifact removal methods and proposing combined approaches.

2.1 Signal Recording

EMG signals recorded from regions close to the heart usually contain ECG interferences, but a clean 1 EMG signal can be recorded from places where electrocardiogram contamination is negligible. In this study, five sets of two channels clean EMG signals, each of five minutes, were collected from the biceps and deltoid muscles of the right side (Figure 1c). The main reason for selecting these muscles is hand motion prediction and hand prosthesis control applications. Five sets of two channels ECG artifacts were also recorded from the pectoralis major muscle of the left side (Figure 1b). This signal is required for creating the contaminated EMG signals. The ECG artifact is added to the clean EMG to create the contaminated EMG signal (Figure 1d). The reference electrodes were located on the wrist.

To implement some of these methods, such as ANC, ANN and ANFIS, it is necessary to record both the ECG artifact and the corresponding ECG signal. Therefore, ECG signal was recorded from V5 area (Figure 1a). When the EMG signals were recorded, subjects were seated in a chair during the experiment, and were asked to activate their biceps and deltoid muscles at two different times. A rest time was considered between each activity. When ECG and ECG artifacts were recorded, the subjects were asked to lie in a completely relaxed position. Electrode placement on the pectoralis major, deltoid and biceps muscles was selected based on the SENIAM standard [37]. In order to record the ECG and EMG signals, the PowerLab/16SP device (ML795 from ADInstrument) was used at Biological Systems Control Laboratory, Faculty of Biomedical Engineering, Amirkabir University of Technology. Five 21.4±1.94 (mean ± standard deviation (SD))

                                                                                                                         1  In this thesis clean EMG refers to the EMG signals without ECG artifacts.  

Page 34: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

10 Methodology

years old males (height= 177±3.67 cm, mass= 72.6±13.37 kg) were recruited from the university population after obtaining informed consent.

Figure 1. (a) ECG signal, (b) ECG artifact, (C) clean EMG and (d) contaminated EMG.

The signals were recorded using pre-gelled Ag-AgCl bipolar electrodes (SKINTAC F-RG1 with dimensions of 32 x 41 mm) placed on the skin surface. The inter-electrode distance was 30 mm [37]. The skin was first prepared by shaving, light abrasion and cleaning with alcohol. The impedance level was kept below 10 kΩ. The EMG signal from these electrodes was fed into a biological amplifier (Dual Bio Amp/simulator, ML408 and ML135). After the pre-amplification and before sampling, the raw EMG signals were band-pass filtered from 0.3 to 500 Hz with an analogue filter to reduce the effects of high frequency noise and avoid aliasing problem. A notch filter (centered at 50 Hz) was also used to remove power line interference from EMG signals. The signals were recorded with a sampling frequency of 2000 Hz. To remove undesirable motion artifacts, the clean EMG signal was high-pass filtered with a cutoff frequency of 5 Hz (infinite impulse response, Butterworth order 5), and the direct current (DC) value was also removed from the ECG signal and the ECG artifact.

In order to obtain a quantitative evaluation of the methods, it is necessary that the corresponding clean EMG signal be available with the contaminated EMG. Therefore, in this study, the contaminated EMG signal has been created as accurately as possible. As it is presented in Figure 2, for creating the contaminated EMG signal, the ECG artifacts recorded from the pectoralis major muscle of the left side were multiplied by a factor (C=0.65) and were added to the clean EMG signals recorded from biceps and deltoid muscles of the right side. The SNR value of the contaminated EMG signals were considered zero (dB). Considering this initial SNR helps us to find out how different methods change the desired signal. This model was applied to all signals recorded from

0 2 4 6 8 10 12 14 16 18 20−0.5

0

0.5

Amplitude(mv)

a

0 2 4 6 8 10 12 14 16 18 20

−0.5

0

0.5

Amplitude(mv)

b

0 2 4 6 8 10 12 14 16 18 20

−0.5

0

0.5

Amplitude(mv)

c

0 2 4 6 8 10 12 14 16 18 20

−0.5

0

0.5

Amplitude(mv)

d

Time(sec)

Page 35: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Methodology 11

five healthy subjects to create 10 channels of contaminated EMG signals and finally a 60 seconds segment of signals was selected from each channel to be processed.

Figure 2. The model for creating the contaminated EMG signals.

2.2 Common Artifact Removal Methods

To investigate the effectiveness of ECG artifact removal methods, different currently used techniques such as HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANN, ANC and ANFIS were used to remove ECG artifacts from EMG signals.

2.2.1 High Pass Filter

A finite impulse response (FIR) high pass filter with Hamming window (length=100) and different cutoff frequencies of 10, 20, 30 and 60 Hz has been implemented to remove ECG artifacts from EMG signals [15, 25, 38]. The result with a cutoff frequency of 30 Hz is better than the other cutoff frequencies. A large amount of noise remains in the cleaned signal when using cutoff frequencies of 10 and 20 Hz, but when cutoff frequency of 50 Hz is used, a large amount of useful signal is removed [15].

2.2.2 Spike Clipping

As it is presented in equation (1) spike clipping relies on a threshold level (𝑇𝑇ℎ𝑟𝑟). If the amplitude of the recorded signal (𝑦𝑦!(𝑛𝑛)) exceeds this value, the signal is limited in amplitude at this level. 𝑠𝑠 𝑛𝑛 is the denoised signal [17].

𝑠𝑠 𝑛𝑛 = 𝑦𝑦! 𝑛𝑛                     𝑦𝑦!(𝑛𝑛) < 𝑇𝑇ℎ𝑟𝑟𝑇𝑇ℎ𝑟𝑟                         𝑦𝑦!(𝑛𝑛) > 𝑇𝑇ℎ𝑟𝑟 (1)

2.2.3 Gating Method

Gating method is very similar to the clipping technique, as it requires a threshold to be determined. In this method if the amplitude of the recorded signal (𝑦𝑦! 𝑛𝑛 ) exceeds this value, the signal is clamped to zero (equation (2)) [17]. The performance of this method depends on the thresholding process.

𝑠𝑠 𝑛𝑛 = 𝑦𝑦! 𝑛𝑛                     𝑦𝑦!(𝑛𝑛) < 𝑇𝑇ℎ𝑟𝑟0                                   𝑦𝑦!(𝑛𝑛) > 𝑇𝑇ℎ𝑟𝑟 (2)

!!

!!

!!

!!!!!

Clean EMG!

ECG artifact!

Contaminated EMG!!

!!

Contaminated EMG

Adaptive spike clipping High pass filter

Denoised EMG

Page 36: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

12 Methodology

2.2.4 Hybrid Technique

Hybrid technique has been performed to remove ECG artifacts from EMG signals [18]. As it is presented in Figure 3, it combines a spike clipping algorithm and a HPF. In this approach, spike-clipping algorithm is based on an adaptive thresholding. The threshold depends on the amplitude of the previous samples and a gain determined by the user. In each iteration of the spike-clipping algorithm an averaged rectified value (ARV) of the contaminated signal is calculated in a window of N duration. Then, a threshold is set as a gain of the ARV. Since an occurred spike is greater than the threshold, it is clipped and set to the cutoff level. The EMG signal in the output of the spike clipping technique is sent to a forth order Butterworth HPF with a cutoff frequency of 30 H. The evaluation of the spike-clipping algorithm in each iteration requires a high computation time, which is one of drawbacks of this method [18].

Figure 3. The structure of the hybrid technique.

2.2.5 Template Subtraction

Subtraction method has been used to remove ECG artifacts from the EMG signals [28]. This method consists of two stages: the first stage involves creating an ECG template and the second stage involves subtracting the created template from the contaminated EMG signal. In the first stage, the accurate detection of the ECG beats from the EMG signal is performed based on the R wave detection algorithm [39-41]. After detecting the R waves, a frame of a number of samples around this peak is selected for accommodating one QRS complex in each frame. Using the mean of selected QRS complexes, the ECG template is obtained. In the second stage, a denoised EMG signal is obtained by subtracting the ECG template from the contaminated EMG, where the QRS complex has been manifested by the R peak detection algorithm [19, 25, 38].

2.2.6 Independent Component Analysis

Independent component analysis extracts statistically independent components from a set of measured signals [6]. This method finds a linear representation of non-Gaussian data. When n linear mixtures 𝑦𝑦! 𝑡𝑡 ,…   , 𝑦𝑦!(𝑡𝑡) of m independent components 𝑥𝑥! 𝑡𝑡 ,…   , 𝑥𝑥!(𝑡𝑡) are observed, ICA can be used to estimate 𝑎𝑎!" , the mixing matrix, based on the information of their independence, which allows us to separate the original source signals from their mixtures. To use ICA method, the model in equation (3) is considered:

𝑦𝑦 = 𝐴𝐴𝐴𝐴 (3)

!!

!!

!!

!!!!!

Clean EMG!

ECG artifact!

Contaminated EMG!!

!!

Contaminated EMG

Adaptive spike clipping High pass filter

Denoised EMG

Page 37: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Methodology 13

Where 𝑦𝑦 is a linear mixture, 𝑥𝑥 is independent source signal and 𝐴𝐴 is full rank mixing matrix. After finding the noisy component in ICA-based methods, the noisy component usually is set to zero [42]. This procedure removes useful information in the reconstructed signal. Therefore, it is preferred to use a HPF to remove ECG artifact from the selected component [3]. Finally, inverse ICA is applied to reconstruct denoised EMG signal.

Some fundamental assumptions of ICA are; (1) the number of mixtures (𝑛𝑛) is greater than or equal to the number of independent sources (𝑚𝑚). (2) The mixtures are linear combinations of the sources and there is no delay or external noise included. (3) The sources are stationary and are not moving during the recording process [21]. ICA has three shortcomings (1) amplitude ambiguity (2) source ambiguity and (3) need for number of recordings to be equal to or more than the number of sources [21].

2.2.7 Wavelet Transform

Wavelet transform is a time-frequency representation of a signal that has been introduced to overcome the limitations in time and frequency resolution occurring with the classical Fourier transform. Instead of using a sine wave, which is the basic function for the Fourier transform, a basic waveform (𝜓𝜓) is used, which can be modified to basic functions (𝜓𝜓!,!) in equation (4), obtained from dilations and shifts of the basic waveform [35, 43]. Where a is the scaling parameter and b represents the translation parameter [35].

𝜑𝜑!,! 𝑡𝑡 = 𝜑𝜑! 𝑡𝑡 − 𝑏𝑏 = 𝑎𝑎 !!!𝜑𝜑(!!!!) (4)

Wavelet decomposes a signal into different frequency components and studies each component with a resolution matched to its scale [44]. This property can be used for denoising purposes [35]. The performance of the wavelet transform depends on the type of wavelet transform, type of the wavelet thresholding rule and the number of decomposition levels. In the denoising process the corrupted EMG signal is first decomposed by a wavelet transform to create wavelet decomposition of the raw signal representing different frequency components of the signal [1, 35]. The wavelet coefficients in the low frequency scales then underwent a nonlinear thresholding process, where the absolute value of the coefficients greater than the threshold is set to zero. The inverse wavelet transform is then implemented using the new coefficients to obtain the denoised EMG signal [1, 35].

2.2.8 Combined Wavelet and ICA

A new attitude in artifact removal process is to use single channel ICA [45]. Empirical mode decomposition (EMD) and wavelet transform are approaches that could enable ICA method to be used in single channel analysis. The combined wavelet-ICA method could successfully remove the ECG artifact [25]. However, EMD has high computational cost which is one of the drawbacks of this method [36].

Page 38: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

14 Methodology

The idea behind combined wavelet transform and ICA method is to decompose a single channel data into different components using wavelet transform before applying ICA technique. As it is presented in Figure 4, in this method a discrete wavelet transform is applied to a single channel recording to create wavelet decomposition of the raw signal. After calculating the wavelet coefficients, ICA is used to extract independent components from the multidimensional data produced by wavelet transform. After finding noisy component manually, the noisy component is set to zero [42].

Figure 4. The flowchart of the wavelet-ICA method.

2.2.9 Adaptive Noise Canceller

Adaptive noise canceller with recursive least square (RLS) algorithm was used in order to adjust the amplitude and phase of the reference signal against the artifact signal, and subtract it from the primary EMG signal [46-48]. Unlike the conventional band pass filter, which fixes filter weights, the adaptive filter has adjustable weights (𝑤𝑤!" in Figure 5), which are iteratively updated based on the characteristics of two input signals (the contaminated EMG and the reference ECG) [29]. In separating the EMG signal from the ECG artifact using an ANC, the contaminated EMG signal and ECG are primary input and reference input, respectively. The structure of the adaptive filter is presented in Figure 5. Where 𝑧𝑧!! is one sample delay, 𝑘𝑘 is time instant, 𝑦𝑦(𝑘𝑘) is the input to the ANC (contaminated EMG), 𝑛𝑛(𝑘𝑘) is the reference input, 𝑒𝑒(𝑘𝑘) is estimated noise that can be calculated using equation (5) and 𝑠𝑠(𝑘𝑘) is denoised EMG signal obtained from equation (6).

Figure 5. The structure of the adaptive noise canceller.

!!!

!!!!

!!!!!!!!!!!!

!!!!

!!!!!!!!!!

… Single Channel

EMG signal Denoised

EMG signal ICA Wavelet Transform

Inverse Wavelet Transform

Single Channel EMG signal

Denoised EMG signal ICA

Wavelet Transform

Hilbert Based

method for finding the

noisy component automatical

ly

HPF

(ANC)

ECGEMG

ANC

ECGEMG

ANC

EMGECGEMGECGECG

( )y k

( )n k 1z 1z 1z

1kw 2kw Mkw

ˆ( )e k

ˆ( )s k

z-1ky(k)

EMGn(k)ECG

n(k)Mw𝑒𝑒 (𝑘𝑘) 1 Adaptive Noise Cancellation 2 Stationary

Page 39: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Methodology 15

𝑒𝑒 𝑘𝑘 = 𝑤𝑤!!!!! 𝑘𝑘 𝑛𝑛(𝑘𝑘 − 𝑖𝑖) (5)

𝑠𝑠 𝑘𝑘 = 𝑦𝑦 𝑘𝑘 − 𝑒𝑒 𝑘𝑘 (6)

2.2.10 Artificial Neural Network

An artificial neural network with back propagation network (BPN), which belongs to the category of nonlinear adaptive systems has been proposed to estimate an unknown interference present in the EMG signal [26]. BPN is a feed forward, multilayer network that uses the supervised mode of learning. It uses a gradient descent algorithm to minimize the interferences. The BPN architecture consists of input layer, hidden layer, and output layer. The number of hidden layers and neurons in each layer depends on the application of the BPN [26]. To implement the BPN the following steps are used: Specifying (1) the inputs and targets to the BPN, (2) the minimum and maximum values of the input ranges, (3) the number of layers and the number of units in each layer, (4) the activation functions for each layer, and (7) the training parameters such as learning rate, momentum, performance goal, number of epochs, etc. (5) Creating a feed forward back propagation network model by using the command called NEWFF; (6) simulating the network for plotting the network output; (8) training the network using the training function called TRAINLM; (9) giving the conditions to stop training the network (the maximum number of epochs is reached or the maximum amount of time has been exceeded, etc.) [26].

2.2.11 Adaptive Neuro-Fuzzy Inference System

Adaptive noise cancelation using a linear filter was used successfully to remove ECG interferences. However, it is clear that the idea of linear adaptive noise cancelation can be extended to nonlinear forms using nonlinear adaptive systems [26]. One of these nonlinear systems is ANFIS, which has been used to estimate noise [31]. ANFIS is a network that combines the advantages of neural network and fuzzy system [49]. The general structure of ANFIS is with two inputs, one output and five hidden layers [31]. The first layer acts as a fuzzifier, the second layer represents the fuzzy rules, the third layer is used for normalization of the membership functions, the fourth layer is used to identify effective parameters and the fifth layer computes the output of the fuzzy system (defuzzification process) [49]. In this method, the noisy signal is applied as target. An ECG signal and a delayed ECG signal are applied as inputs to the ANFIS (Figure 6). Collecting data (the ECG signal and the ECG artifact) from different sources causes delay between recorded signals [25, 29]; hence, to improve the noise estimation process, the delayed ECG signal is used as one of inputs to the ANFIS.

In Figure 6, s(k) is the clean EMG of the biceps and deltoid muscles, e(k) is the ECG artifact (recorded from pectoralis major) and n(k) is the recorded ECG of V5 area. Using this method, the ECG artifact is estimated, ê(k), and the denoised EMG signal, ŝ(k), is obtained by subtracting the estimated noise from the contaminated EMG.

Page 40: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

16 Methodology

Figure 6. The structure of the ANFIS.

2.3 Proposed Combined Artifact Removal Methods

To improve the ECG artifact removal process ANN-wavelet, adaptive subtraction and automated wavelet-ICA have been proposed. These methods were presented in paper A, paper B and paper C respectively.

2.3.1 ANN-Wavelet (Paper A)

In this method, ANN is first employed for removing ECG artifact from the contaminated EMG signal. In this step, a large amount of pollution is removed; however, the result shows that there are still low frequency noise components in the denoised EMG signal. Wavelet transform with nonlinear thresholding is used to remove the residual noise in the output of the ANN method. Using this method, low frequency components (noise) remaining at the output of the neural network are deleted.

2.3.2 Adaptive Subtraction (Paper B)

This method contains of four steps; (1) QRS detection in the contaminated EMG signals, (2) formation of ECG template by averaging the electrocardiogram complexes, (3) using low pass filter to remove undesirable artifacts form the ECG template, (4) subtracting the template from the contaminated EMG signal where the QRS complexes are detected. The proposed technique is an online method that is somewhat effective in removing ECG artifact.

2.3.3 Automated Wavelet-ICA (Paper C)

In conventional ICA-based methods, after creating the ICA components, independent components are classified manually as EMG signal or ECG artifact. In this proposed method an automated algorithm is used to determine the ECG artifact components automatically. Each channel of independent components is evaluated separately and the component with ECG artifact is selected automatically. After finding the noisy component in ICA-based methods, the noisy component usually is set to zero. This procedure removes useful information in the reconstructed signal. Therefore, a FIR high pass filter, Hamming window, order 100 with cutoff frequency of 20 Hz is used to

ANFIS

D

s(k)

e(k)

n(k)

y(k)

∑ê(k) ŝ(k)+

++

-

Page 41: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Methodology 17

remove ECG artifact from the selected noisy component. Finally, inverse ICA and then inverse wavelet transform are applied to reconstruct the denoised EMG signal.

2.4 Evaluation Criteria

In this study, evaluation criteria such as SNR, RE and CC were calculated to compare the performance of the investigated methods in this study. Since average of the EMG signal is zero, the SNR can be obtained by equation (7) [28]:

SNR = 10 10log2s(k)∑

2(s(k)−s(k))∑ (7)

where, 𝑠𝑠(𝑘𝑘) and ŝ(𝑘𝑘) are clean EMG and denoised EMG respectively. An increase in the signal to noise ratio value corresponds to better performance. Equation (8) was used to calculate the relative error [16, 29], which a lower value of the relative error corresponds to a better performance. 𝑃𝑃!(𝑓𝑓) and 𝑃𝑃!(𝑓𝑓) are the power spectral density of ŝ(𝑘𝑘) and 𝑠𝑠(𝑘𝑘).

RE = sP ( f )- sP ( f )( )2∑

sP ( f )( )2∑ (8)

The correlation coefficients between the clean EMG and the denoised EMG using different artifact removal methods are computed using equation (9) [27, 35]. The high correlation value of the different methods represents minimal distortion of the muscle activities after ECG cancellation.

CC = s(k) s (k)∑

s(k)( )∑2 s (k)( )∑

2 (9)

Page 42: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 43: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

19

Chapter 3

Result and Discussion The investigated and the proposed methods in this study were applied to both simulated (the contaminated EMG signal that was created by adding the real ECG artifact to the real clean EMG signal) and real contaminated EMG signals to remove ECG artifacts. The results are presented in this chapter.

3.1 Simulated Signals

For comparing the results of the proposed methods and other currently used methods, quantitative criteria such as SNR, RE, CC, elapsed time (ET) and PSD were used to investigate the results. The artifact removal methods were applied to the 10 channels of contaminated EMG signals recorded from five healthy subjects. Results for these signals using MATLAB R2014a on a PC with 2.6 GHz dual-core Intel Core i5, Turbo Boost up to 3.1 GHz and 8GB 1600 MHz memory are presented in Table 2 and 3.

3.1.1 High Pass Filter

A FIR high pass filter with Hamming window (length=100) and cutoff frequency of 30 Hz was implemented to remove ECG artifact from surface EMG signal [15, 25, 38]. The contaminated EMG, denoised EMG and noise estimated using HPF and PSD of the clean EMG and the denoised EMG are shown in Figure 7. The SNR, RE, CC and ET of this method are presented in Table 2 and Table 3. HPF with cutoff frequency of 30 Hz not only deletes all useful components below this frequency (Figures 7c and 7d), but also parts of the ECG artifact still remains in the denoised EMG signal (Figure 7b). However, this method is very simple and can be used in online applications. One of the advantages of this method is that HPF does not require a separate ECG channel.

3.1.2 Spike Clipping

In this study a threshold value was set experimentally at 0.2 to remove ECG artifacts from the EMG signals using spike-clipping algorithm. If the absolute value of the amplitude in the contaminated EMG signal is greater than the threshold, it sets to the threshold value. Spike clipping is a simple and fast method; however, it suffers from the

Page 44: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

20 Result and Discussion

loss of portions of EMG signal overlying QRS complexes (Figure 8c) [16]. Furthermore, the PSD of the clean EMG and the denoised EMG signal using spike clipping in Figure 8d shows that this method removes some components of the original EMG signal in the high frequency and also low frequency noise remains in the denoised signal. The performance of the spike clipping method can be improved using an R peek detection algorithm; however, it is required to record ECG signal simultaneously with the contaminated EMG.

Figure 7. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using HPF and (d) PSD of clean EMG and denoised EMG using HPF.

Figure 8. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using spike clipping and (d) PSD of clean EMG and denoised EMG using spike clipping.

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using HPF

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using spike clipping

Page 45: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 21

3.1.3 Gating Method

Gating method is similar to the spike clipping technique with a difference in the thresholding process. The absolute value of the amplitude greater than the threshold is set to zero. In this method a threshold value was experimentally set to 0.15. As it is presented in Figures 9b and 9c, parts of the EMG signal that have high amplitude (because of high activity of muscles) are removed and a large part of the ECG artifact is remained in the denoised signal. The PSD of the clean EMG and the denoised EMG using gating method in Figure 9d shows that this method removes some parts of EMG component in high frequencies. It is possible to improve the performance of this method using an R peek detection algorithm at the cost of higher computation time and more complex hardware.

Figure 9. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using gating method and (d) PSD of the clean EMG and denoised EMG using gating method.

3.1.4 Hybrid Technique

Hybrid technique is a combination of an adaptive spike clipping and an HPF. The first step is to process the contaminated EMG signal using the adaptive spike-clipping algorithm. The second step is to filter the output of the spike clipping using a forth order Butterworth HPF with a cutoff frequency of 30 Hz. The contaminated EMG, denoised EMG, noise estimated and PSD of the clean EMG and denoised EMG using hybrid technique are presented in Figure 10. The SNR, RE, CC and ET of this method are shown in Table 2 and Table 3. Using a HPF for removing low frequency noise at the output of the spike-clipping algorithm improves the artifact removal process. However, this method removes some useful information in the EMG signal where the activated muscle has high amplitude (Figure 10c). This approach is time consuming (the adaptive spike clipping part) that is not useful in clinical applications (Table 3) [18].

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using gating method

Page 46: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

22 Result and Discussion

Figure 10. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using hybrid technique and (d) PSD of the clean EMG and denoised EMG using hybrid technique.

3.1.5 Template Subtraction

In the first step Pan-Tompkins algorithm was used to detect R peeks in the contaminated EMG signal [39]. A window of 2500 samples duration was used to segment the contaminated EMG signal around the detected R peeks. Each frame in Figure 11 shows one QRS complex.

Figure 11. 20 selected frames including the QRS complexes in the contaminated EMG signal.

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using hybrid technique

0 0.5 1−1

−0.5

0

0.5

Ampl

itude

(mv)

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

Ampl

itude

(mv)

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

Ampl

itude

(mv)

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

Ampl

itude

(mv)

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

0 0.5 1−1

−0.5

0

0.5

Ampl

itude

(mv)

Time(sec)0 0.5 1

−1

−0.5

0

0.5

Time(sec)0 0.5 1

−1

−0.5

0

0.5

Time(sec)0 0.5 1

−1

−0.5

0

0.5

Time(sec)

Page 47: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 23

The mean of all frames has been performed to create an ECG template (Figure 12). Finally, the denoised EMG (Figure 13b) was obtained by subtracting the created ECG template from the contaminated EMG where the R peek has been detected. Based on the results in Figure 13 and Tables 2 and 3, this method has good performance in removing ECG from surface EMG signals. Owing to the next QRS complex of the signal is required to obtain the ECG template; this method is not usable for online applications. Furthermore, it requires additional ECG signal for accurate detection of QRS complexes.

Figure 12. Created ECG template by averaging QRS complexes in the contaminated EMG signal.

Figure 13. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using template subtraction and (d) PSD of the clean EMG and denoised EMG using template subtraction.

0 0.2 0.4 0.6 0.8 1 1.2−0.5

−0.4

−0.3

−0.2

−0.1

0

0.1

Ampl

itude

(mv)

Time(sec)

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using template subtraction

Page 48: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

24 Result and Discussion

3.1.6 Independent Component Analysis

Independent component analysis separates independent components from a number of mixed signals. FastICA algorithm was used to separate the independent components form two channels of contaminated EMG signals (Figures 14a and 14b). Then, FIR high pass filter (Hamming window, order 100) with cutoff frequency of 30 Hz was used to remove the ECG artifact from the noisy component (Figure 14c). The inverse ICA was applied to the denoised components to get the denoised EMG signals (Figure 15).

Figure 14. (a, b) Contaminated EMG signals, (c, d) independent components obtained by ICA and (e, f) filtered components using HPF.

Figure 15. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ICA and (d) PSD of the clean EMG and denoised EMG using ICA.

0 5 10 15−1

−0.5

0

0.5

1

Ampl

itude

(mv)

a

0 5 10 15−1

−0.5

0

0.5

1b

0 5 10 15−10

−5

0

5

10

Ampl

itude

(mv)

c

0 5 10 15−10

−5

0

5

10d

0 5 10 15−10

−5

0

5

10

Ampl

itude

(mv)

e

Time(sec)0 5 10 15

−10

−5

0

5

10f

Time(sec)

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using ICA

Page 49: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 25

It can be observed from Figure 15b that using ICA small parts of noise remain in the denoised signal and parts of the desired signal is removed (Figure 15c and 15d). The requirement of additional sensor is one of the drawbacks of this method because it can add to the complexity of the hardware system [50].

3.1.7 Wavelet Transform

A discrete wavelet transform using a fourth-order Symlet wavelet has been used to decompose the contaminated EMG signal to eight levels. Choosing this wavelet was due to similarity of the wavelet function to the ECG signal that helps to remove ECG artifact successfully [51]. A threshold value was then defined to set the absolute value of the coefficients greater than the threshold to zero. This threshold was set experimentally. The inverse wavelet transform was then implemented using the new coefficients to obtain the denoised EMG signal. According to the result, it is observed that considerable amount of noise remained in the original signal (Figure 16b). In Figure 16d, in the PSD of the clean EMG and denoised EMG it can be observed that wavelet transform affects the EMG signal in high frequencies in a negative way. However, this method has an advantage in that it does not need a separate ECG channel.

Figure 16. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet transform and (d) PSD of the clean EMG and denoised EMG using wavelet transform.

3.1.8 Combined Wavelet and ICA

A sixth-order Daubechies wavelet was used to decompose the contaminated EMG signal (60 seconds) into six levels to produce multi-channels EMG signal for the ICA method. After decomposing the signal, the FastICA algorithm was used to separate the desired signal from the artifact. The noisy component then was detected manually by the user and was set to zero. Inverse wavelet transform was used to obtain the denoised signal (Figure

0 5 10 15

−0.5

0

0.5

Am

plitu

de (m

v)

a

0 5 10 15

−0.5

0

0.5

Am

plitu

de (m

v)

b

0 5 10 15

−0.5

0

0.5

Am

plitu

de (m

v)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PS

D

Clean EMGDenoised EMG using wavelet transform

Page 50: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

26 Result and Discussion

17b). This technique does not require multi-channel signal. It has better performance compared to the wavelet transform and the ICA technique (Table 2 and 3).

Figure 17. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet-ICA and (d) PSD of the clean EMG and denoised EMG using wavelet-ICA.

3.1.9 Adaptive Noise Canceller

The contaminated EMG signal is the input and the ECG signal is the reference input to the RLS algorithm. The results are presented in Figure 18.

Figure 18. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANC and (d) PSD of the clean EMG and denoised EMG using ANC.

0 5 10 15

−0.5

0

0.5a

Am

plitu

de (m

v)

0 5 10 15

−0.5

0

0.5b

Am

plitu

de (m

v)

0 5 10 15

−0.5

0

0.5c

Am

plitu

de (m

v)

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PS

D

Clean EMGDenoised EMG using wavelet−ICA

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using ANC

Page 51: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 27

The algorithm is initialized with w(0) = 0 , RLS forgetting factor=0.999 and filter length=32. The results in Figure 18 and Table 2 and 3 show that ANC is somewhat effective in removing ECG from EMG signals. This method is capable of estimating the noise in the contaminated EMG signal using the reference ECG. However, the noise is not well estimated and there is still noise in the denoised signal (Figure 18b and 18d). ANC is not suitable for clinical applications due to the heavy computational burden. It takes a long time to get the denoised signal using this method (Table 3).

3.1.10 Artificial Neural Network

The parameters used to train the ANN are two neurons in the input layer, 35 neurons in the only hidden layer and one neuron in the output layer. ECG signal and delayed ECG signal (9 samples) are inputs and contaminated EMG signal is target to the network. Epochs =1000, goal = 0.65, momentum =0.9, show = 5, learning rate = 0.5 and time = infinity. The activation function for each layer was hyperbolic tangent sigmoid, which is a transfer function. In this method, 120,000 samples (60 seconds) were selected from the dataset. 90,000 samples (45 seconds) were used for training and 30,000 samples (15 seconds) were used for testing.

According to the quantitative evaluation criteria in Table 2 and 3, it can be seen that the performance of the ANN in noise extraction of the EMG signal is relatively good. Using this method, a large amount of ECG artifact in the EMG signal is removed (Figure 19); however, it can be seen in Figure 19d that low frequency noise is remained in the denoised signal. One of the drawbacks of this method is the requirement of an additional sensor to provide a reference input.

Figure 19. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN and (d) PSD of the clean EMG and denoised EMG using ANN.

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using ANN

Page 52: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

28 Result and Discussion

3.1.11 Adaptive Neuro-Fuzzy Inference System

For removing noise from the contaminated EMG signal, 120,000 samples (60 seconds) were selected. 90,000 samples (45 seconds) were used for training and 30,000 samples (15 seconds) were used for testing. ECG signal and delayed ECG signal (9 samples) are inputs and contaminated EMG signal is the target to the system. The selection of appropriate parameters is essential for the performance of ANFIS algorithm. In this study, the proposed parameters for training ANFIS are epochs =1000, fuzzy rules=9, inputs=2, membership function=generalized bell (because of the advantage of smoothness and concise notation, it is used for tuning the fuzzy inference system parameters in nonlinear applications) and number of membership function=3, which are determined by a trial and error process. ANFIS was trained using the training database and the ECG artifact was estimated using testing database. The denoised signal was obtained by subtracting the estimated noise from the contaminated EMG signal. The performance of this method for estimating the ECG artifact in the EMG signal is similar to the ANN, but the elapsed time for ANFIS method is lower than the ANN (Figure 20 and Table 2 and 3). ANFIS can be trained for just once and after that can be used online quickly. However, the requirement of an additional sensor to provide a reference input is one of the drawbacks of this method [52]. Furthermore, the low frequency noise is remained in the denoised signal using the ANFIS method (Figure 20d,).

Figure 20. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANFIS and (d) PSD of the clean EMG and denoised EMG using ANFIS.

3.1.12 ANN-Wavelet (Paper A)

The ECG artifact first is removed from the contaminated EMG signal using ANN method. Figure 21 shows that there are still low frequency noise components (between 0 to 20 Hz) in the denoised signal using ANN. However, in the 5-20 Hz frequency range,

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using ANFIS

Page 53: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 29

the surface EMG spectrum contains information [37, 53] concerning the firing rates of the active motor unit that might be of interest in some applications such as movement analysis [53]; therefore, it might be important to remove noise from this particular frequency band. Hence, in the second step of the proposed method, a wavelet transform with nonlinear thresholding (Symlet wavelet family, fourth-order) was used to remove the residual noise at the output of the ANN method. Wavelet transform divides signals into different frequency components; therefore it is possible to find the low frequency noise in the original signal. Figure 22 shows the result of the ANN-wavelet method for one of signals.

Figure 21. The mean of PSD of the contaminated EMG, clean EMG, denoised EMG using ANN and denoised EMG using ANN-wavelet for 10 channel signals.

Figure 22. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN-wavelet and (d) PSD of the clean EMG and denoised EMG using ANN-wavelet.

0 20 40 60 80 100 120 140 160 180 2000

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

0.09

Frequency (Hz)

Powe

r spe

ctru

m d

ensit

y

Contaminated EMGDenoised EMG using ANNDenoised EMG using ANN−waveletClean EMG

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using ANN−wavelet

Page 54: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

30 Result and Discussion

The mean of PSD of the contaminated EMG, clean EMG, denoised EMG using ANN and denoised EMG using ANN-wavelet technique for 10 channel signals are presented in Figure 21. Welch method was used to estimate the PSD of the signals. In the PSD of the denoised EMG signal using ANN-wavelet in Figure 21, it can be seen that the low frequency noise components has been removed by the second process using wavelet transform. The parameters that were used to perform this method are the same as ANN and wavelet transform that described before. It is found that the proposed method, in compare with other methods, is capable of removing artifacts from the original signal, which is a promising result (Tables 2 and 3). This method is fast and automatic that can be used in clinical applications.

3.1.13 Adaptive Subtraction (Paper B)

After detecting R peeks in the contaminated EMG signal, ECG templates are created by averaging 30 past QRS complexes for each detected R wave. In this way, ECG templates are changed for each detected R to be adapted to each QRS complex. For removing undesirable artifacts from the created ECG templates, a low pass filter with cutoff frequency of 50 Hz was used. To obtain the denoised signal (Figure 23b), the created ECG templates were subtracted from the contaminated EMG signal where the R peaks are detected. The difference between this method and the template subtraction method is in the ECG template creation step. Unlike the template subtraction, this technique is an online method that can be used in clinical applications. This method has good results (Table 2 and 3) in removing ECG artifacts from EMG signals.

Figure 23. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using adaptive subtraction and (d) PSD of the clean EMG and denoised EMG using adaptive subtraction.

 

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

a

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

b

0 5 10 15

−0.5

0

0.5

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PSD

Clean EMGDenoised EMG using adaptive subtraction

Page 55: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 31

3.1.14 Automated Wavelet-ICA (Paper C)

The wavelet transform (Daubechies wavelet family, fourth-order) has been used to decompose the contaminated EMG signal into eight levels. After decomposing the signal, ICA algorithm was used to separate the independent components. An algorithm based on Hilbert transform was used to find the noisy component automatically (described in section 7.2.2). Since, ECG artifact is a low frequency noise it is possible to remove it from the noisy ICA component using a HPF with cutoff frequency of 20 Hz. Finally, inverse wavelet transform was used to obtain the denoised signal. The results of this method are presented in Figure 24.

Figure 24. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using automated wavelet-ICA and (d) PSD of the clean EMG and denoised EMG using automated wavelet-ICA.

The results of this method in Figure 24 show that small peaks in the denoised signal are remained (Figure 24b) and also some parts of the original signal are removed (Figures 24c and 24d). The calculated values (SNR, RE, CC and ET) for this method, as listed in Table 2 and 3, show this algorithm is capable of eliminating the ECG artifacts. This technique is an automatic artifact removal method that does not require multi-channel signal and can operate online with a promising result for many applications.

All of the evaluated criteria in Table 2 and 3 confirmed that the proposed methods have good performance and efficiency. They are fast and could successfully remove ECG artifacts from surface EMG signals. Table 2 represents the SNR values of the denoised EMG signals from deltoid (channel 1 to 5) and biceps (channel 6 to 10) muscles using 14 different artifact removal methods including the current methods and the proposed methods in this research work. Based on these SNR values it can be observed that some methods such as spike clipping and gating method; HPF, hybrid technique, ICA, wavelet-ICA and ANC; subtraction, ANN and ANFIS; adaptive subtraction and automated wavelet-ICA have almost the same results (SD ≈ ±1) and the proposed ANN-wavelet has

0 5 10 15

−0.5

0

0.5a

Am

plitu

de (m

v)

0 5 10 15

−0.5

0

0.5b

Am

plitu

de (m

v)

0 5 10 15

−0.5

0

0.5c

Am

plitu

de (m

v)

Time(sec)0 50 100 150 200

0

0.005

0.01

0.015

0.02

0.025

d

Frequency(Hz)

PS

D

Clean EMGDenoised EMG using auto wavelet−ICA

Page 56: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

32 Result and Discussion

the higher SNR values in all 10 channels. The last row represents the mean ± SD of SNRs in each column to track the performance of artifact removal methods on signals from different channels and muscles. There are differences between some of these averages that show methods have different performances on signals from different channels, which would be a research topic to be investigated further.

Table 2. Calculating the SNR (dB) of HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANC, ANN, ANFIS, adaptive subtraction, ANN-wavelet and automated (auto) wavelet-ICA for 10 contaminated EMG signals.

Channels

Deltoid muscle Biceps muscle

10 9 8 7 6 5 4 3 2 1 Methods

8.70 7.04 6.10 8.25 8.61 7.89 8.31 7.21 7.66 7.77 HPF

2.54 3.13 2.75 3.77 3.37 3.57 3.24 2.44 3.53 3.06 Spike clipping

2.70 3.08 2.77 2.49 3.12 3.02 2.24 2.08 2.17 3.20 Gating method

7.14 6.99 8.36 5.79 6.45 7.51 6.22 6.61 7.39 8.24 Hybrid technique

10.58 11.40 10.53 11.34 11.37 9.93 12.68 11.87 11.56 12.81 Template subtraction

7.87 7.94 7.90 8.88 7.55 6.96 7.58 8.79 8.52 7.34 ICA

5.62 5.18 4.59 5.03 6.00 4.28 4.49 6.25 5.14 6.08 Wavelet transform

6.45 6.86 6.41 6.84 9.34 8.57 9.76 11.38 10.09 9.51 Wavelet-ICA

9.46 8.42 6.18 9.50 8.69 6.12 7.88 7.60 6.14 8.80 ANC

12.16 13.46 12.59 12.97 12.35 10.31 10.71 10.21 11.14 12.59 ANN

12.19 13.27 12.63 12.17 12.65 10.83 13.67 10.24 12.06 13.04 ANFIS

16.15 15.60 15.31 14.29 14.98 13.54 16.45 17.61 15.40 15.99 ANN-wavelet

9.08 8.86 9.75 9.97 9.52 8.05 10.70 9.06 10.34 10.49 Adaptive subtraction

10.67 9.60 10.49 11.32 9.77 9.98 10.36 10.23 10.02 11.72 Auto wavelet-ICA

8.66

±3.71

8.63

±3.76

8.31

±3.79

8.76

±3.57

8.84

±3.40

7.89

±2.97

8.88

±4.01

8.68

±3.93

8.65

±3.59

9.33

±3.75

Mean ± SD

Table 3 represents the mean and standard deviation of SNR values, relative errors and correlation coefficients of denoised EMG signals using 14 artifact removal methods. Based on the results in this table, the proposed ANN-wavelet improves the ANN results up to 31 percent. In the proposed automated wavelet-ICA not only the method is converted to an automatic approach, but the results also are improved up to 20 percent by combining it with a HPF. The adaptive subtraction does not improve the results. The SNR, RE and CC are decreased, but it converts the template subtraction to an online technique. Table 3 also shows the elapsed time of each method in second. HPF, spike clipping and gating method are faster than the other methods. Hybrid technique and ANC are time consuming. The elapsed time to run the proposed ANN-wavelet algorithm is

Page 57: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 33

increased 0.35 second compared to ANN. The cost of making the wavelet-ICA method automatic is 0.24 second increasing in the elapsed time to run the algorithm.

Table 3. Calculating evaluation criteria (SNR, RE, CC and ET in second) for HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANC, ANN, ANFIS, adaptive subtraction, ANN-wavelet and automated (auto) wavelet-ICA for 10 contaminated EMG signals.

Methods SNR (dB) RE CC ET (second)

HPF 7.75±0.79 0.12±0.05 0.02±0.01 0.003

Spike clipping 3.14±0.44 0.36±0.04 0.77±0.02 0.007

Gating method 2.69±0.42 0.34±0.05 0.70±0.04 0.006

Hybrid technique 7.07±0.84 0.15±0.05 0.89±0.02 8.60

Template subtraction 11.41±0.91 0.05±0.02 0.96±0.01 0.42

ICA 7.93±0.62 0.09±0.04 0.92±0.03 1.64

Wavelet transform 5.36±0.81 0.15±0.03 0.86±0.02 0.37

Wavelet-ICA 8.64±1.92 0.09±0.04 0.92±0.03 1.85

ANC 8.09±1.29 0.12±0.04 0.92±0.02 126

ANN 11.85±1.16 0.05±0.02 0.96±0.01 0.31

ANFIS 12.27±1.06 0.04±0.01 0.97±0.01 0.12

ANN-wavelet 15.53±1.14 0.01±0.00 0.98±0.00 0.66

Adaptive subtraction 9.58±0.83 0.07±0.02 0.94±1.92 0.31

Auto wavelet-ICA 10.41±0.67 0.06±0.04 0.95±0.03 2.09

The performance of different methods such as ANN, ANN-wavelet, template subtraction, adaptive subtraction, wavelet-ICA and automated wavelet-ICA on contaminated EMG signals with different levels of noise (initial SNR from -3 to 3) was investigated. The X-axis presents the SNR of the contaminated EMG signals and the Y-axis shows the mean of SNR values of ten denoised EMG signals using artifact removal methods. The results in Figure 25 show that the performance of these methods is dependent on the level of pollution of the contaminated EMG signals. Increasing of the initial SNR increases the SNR of the denoised signals.

As it is presented in Figure 25, Wavelet transform improves the performance of the ANN in removing ECG artifacts from surface EMG signals. The ANN-wavelet has the best performance in different levels of noise. As the template subtraction is an offline method, the whole data must be available to create the ECG template by averaging the detected QRS complexes in the contaminated EMG signals; however, in the adaptive subtraction method which is an online method, to create the ECG template just a small part of the data is required to be available; therefore the performance of the template subtraction method is better than the adaptive subtraction especially when there is less noise in the

Page 58: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

34 Result and Discussion

EMG signal. Wavelet-ICA and automated wavelet-ICA have approximately the same results when the initial SNR in the contaminated EMG is equal to -3, but the performance of the automated wavelet-ICA improves when the initial SNR value of the contaminated EMG signal increases. In the automated wavelet-ICA a HPF is used to remove the noise from the noisy component, which is the reason for having better result compare to the wavelet-ICA.

Figure 25. The performance of ANN, ANN-wavelet, template subtraction, adaptive subtraction, wavelet-ICA and automated wavelet-ICA on the contaminated EMG signals with different levels of noise (ECG artifacts).  

3.2 Real signals

The investigated and the proposed artifact removal methods in this study were also applied to the real contaminated EMG signals. For this purpose, ten sets of contaminated EMG signals were recorded from pectoralis major muscle of the left side, each of five minutes (Figure 26a). Ten sets of the reference ECG signals were also recorded from V5 area at the same time (Figure 26b). The procedure of recording EMG and ECG signals was described in section 2.1. After recording the signals, DC value was removed from both EMG and ECG signals. A low pass filter with cutoff frequency of 50 Hz was used to remove high frequency noise from the ECG signals. As can be seen in Figure 26b, the ECG signal recorded from V5 area during the subject’s movements includes muscle movement artifacts, which requires to be removed before applying it as a reference signal to the ANC, ANN, ANFIS and ANN-wavelet approaches. Without removing the muscle artifact from this signal, the ECG artifact in the EMG signal cannot be well estimated. Therefore, not only parts of the noise remains in the denoised EMG signal but also parts of the original EMG signal is removed. Different methods such as adaptive filter, Kalman filter, Wiener filter, wavelet transform and ICA have been proposed to remove muscle movement artifact from ECG signals [50].

−3 −2 −1 0 1 2 38

10

12

14

16

18

20

SNR of contaminated EMG (dB)

SNR

of d

enoi

sed

EMG

(dB)

ANNANN−waveletTemplate subtractionAdaptive subtractionWavelet−ICAAutomated wavelet−ICA

Page 59: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 35

Figure 26. (a) Contaminated EMG and (b) ECG signal with muscle movement artifact.

In this study a discrete wavelet transform (Symlet family, eighth order) was used to remove this artifact. The reason for choosing this method is due to its advantages of being fast and not requiring multi-channel signals [36]. Using this method, the contaminated ECG was first decomposed to 32 levels then wavelet coefficients lower than the predefined threshold (thr=0.5, obtained experimentally) were set to zero. Both ECG signals and movement artifacts have most of their energy in the low frequencies; therefore, the contaminated ECG signal was decomposed to 32 levels to increase the accuracy of detecting noisy components in the wavelet domain. The denoised ECG signal is presented in Figure 27.

Figure 27. Denoised ECG signal using wavelet transform.

The results of ECG cancelation from real contaminated EMG signals using HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform,

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

3

Ampl

itude

(mv)

b

Time(sec)

0 5 10 15−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

2.5

3

Ampl

itude

(mv)

Time(sec)

Page 60: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

36 Result and Discussion

wavelet-ICA, ANC, ANN, ANFIS and the proposed ANN-wavelet, adaptive subtraction and automated wavelet-ICA are presented in Figures 28 to 41.

HPF with cutoff frequency of 30 Hz removes parts of the EMG components in the low frequencies (Figure 28c and 28d) and also as it is presented in Figure 28b, a part of noise is remained in the denoised signal.  Due to inappropriate thresholding in spike clipping and gating methods not only the noise remains in the denoised signal (Figure 29b and Figure 30b), but also parts of the original EMG signal that have high amplitude are removed (Figure 29c and Figure 30c).  

Figure 28. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using HPF, (d) PSD of contaminated EMG and denoised EMG using HPF.

Figure 29. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using spike clipping, (d) PSD of contaminated EMG and denoised EMG using spike clipping.

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using HPF

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using spike clipping

Page 61: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 37

 Figure 30. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using gating method, (d) PSD of contaminated EMG and denoised EMG using gating method.

The PSD of the denoised EMG using hybrid technique in Figure 31d shows that this method removes EMG components in the low frequencies because of utilizing HPF with a cutoff frequency of 30 Hz as a post processor.

 Figure 31. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using hybrid technique, (d) PSD of contaminated EMG and denoised EMG using hybrid technique.

In the estimated noise using template subtraction in Figure 32c, it can be seen that the R peek detection algorithm could not successfully find all R peeks in the contaminated

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)PS

D

Contaminated EMGDenoised EMG using gating method

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using hybrid technique

Page 62: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

38 Result and Discussion

EMG signals. There is low frequency noise in the PSD of the denoised EMG signal in Figure 32d and some small peaks of ECG are remained in the denoised signal in Figure 32b.

Figure 32. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using template subtraction, (d) PSD of the contaminated EMG and denoised EMG using template subtraction.

The result in Figure 33b shows that the ICA method has good performance in removing ECG from EMG signal; however, low frequency components in the EMG signal are removed (up to 25 Hz) in Figure 33d.

Figure 33. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ICA, (d) PSD of the contaminated EMG and denoised EMG using ICA.

0 5 10 15−2

−1

0

1

2a

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2b

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2c

Ampl

itude

(mv)

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using template subtraction

0 5 10 15−2

−1

0

1

2a

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2b

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2c

Ampl

itude

(mv)

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using ICA

Page 63: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 39

Wavelet transform with nonlinear thresholding was also applied to the real contaminated EMG signal to remove ECG artifacts. The result of this method is presented in Figure 34. This method is effective in removing low frequency noise from EMG signal; however, the PSD of the denoised EMG signal in Figure 34d shows that this method removes the EMG components in high frequencies (higher than 50 Hz).

Figure 34. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet transform, (d) PSD of contaminated EMG and denoised EMG using wavelet transform.

The combined wavelet-ICA was used to overcome the shortcomings of each wavelet and ICA methods; however, the PSD in Figure 35d shows that the EMG components lower than 40 Hz were removed.  

 Figure 35. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using wavelet-ICA, (d) PSD of contaminated EMG and denoised EMG using wavelet-ICA.

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using wavelet transform

0 5 10 15−2

−1

0

1

2a

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2b

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2c

Ampl

itude

(mv)

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using wavelet−ICA

Page 64: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

40 Result and Discussion

The result of ANC method in Figure 36c and 36d shows that this method removes a large part of the EMG signal and also the low frequency noise is remained in the denoised signal.

 Figure 36. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANC, (d) PSD of contaminated EMG and denoised EMG using ANC.

The result of ANN method in Figure 37c shows that this method removes a large part of ECG artifact; however, the PSD of the denoised EMG signal in Figure 37d shows that low frequency noise is remained in the denoised signal.  

 Figure 37. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN, (d) PSD of contaminated EMG and denoised EMG using ANN.

0 5 10 15−2

−1

0

1

2Am

plitu

de (m

v)a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using ANC

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using ANN

Page 65: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 41

The PSD of the denoised EMG signal using ANFIS in Figure 38d shows that low frequency noise is remained in the denoised signal. It also can be seen in the estimated noise using ANFIS (Figure 38c) that some parts of the EMG signal are removed.

 Figure 38. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANFIS, (d) PSD of contaminated EMG and denoised EMG using ANFIS.

To remove the remained low frequency noise at the output of the ANN method (Figure 37d), in this study wavelet transform have been proposed as a post processor. The PSD in Figure 39d shows that this approach is successful in removing remained low frequency noise at the output of the ANN.

Figure 39. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using ANN-wavelet, (d) PSD of the contaminated EMG and denoised EMG using ANN-wavelet.

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using ANFIS

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

a

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

b

0 5 10 15−2

−1

0

1

2

Ampl

itude

(mv)

c

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using ANN−wavelet

Page 66: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

42 Result and Discussion

However, small peaks are remained in the denoised EMG signal (Figure 39b), which may be due to having a high level of noise in the real contaminated EMG signals compared to the simulated signals.

Adaptive subtraction was also proposed in this study to convert the template subtraction to an online method. According to the result in Figure 40, a large amount of noise is removed, but it also can be seen that a part of the noise in the low frequency is remained in the denoised signal. The result of automated wavelet-ICA is presented in Figure 41.  

 Figure 40. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using adaptive subtraction, (d) PSD of the contaminated EMG and denoised EMG using adaptive subtraction.

Figure 41. (a) Contaminated EMG, (b) denoised EMG and (c) estimated noise using automated wavelet-ICA, (d) PSD of the contaminated EMG and denoised EMG using automated wavelet-ICA.

0 5 10 15−2

−1

0

1

2a

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2b

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2c

Ampl

itude

(mv)

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using adaptive subtraction

0 5 10 15−2

−1

0

1

2a

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2b

Ampl

itude

(mv)

0 5 10 15−2

−1

0

1

2c

Ampl

itude

(mv)

Time(sec)0 50 100 150 200 250

0

0.1

0.2

0.3

0.4

0.5

0.6

d

Frequency(Hz)

PSD

Contaminated EMGDenoised EMG using auto wavelet−ICA

Page 67: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 43

To make the wavelet-ICA method automatic and improve its result, automated wavelet-ICA combined with HPF is proposed in this research work. This method removes the most part of the ECG artifacts from the EMG signals. When comparing the result of the wavelet-ICA and the proposed automated wavelet-ICA in Figures 35 and 41, it can be seen that the proposed method does not remove the EMG components while the wavelet-ICA removes a large part of the EMG signal.

In Table 4, the advantages and disadvantages of the investigated and the proposed methods in this study are listed based on the results on our dataset.

Table 4. The advantages and disadvantages of HPF, spike clipping, gating method, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANC, ANN, ANFIS, adaptive subtraction, ANN-wavelet and automated (auto) wavelet-ICA in removing ECG artifacts from EMG signals.

Methods Advantages Disadvantages

HPF - Very fast (Table 3)1

- Not requiring multi-channel signals

- Automatic

- Online

- Removing a large amount of useful information from the original signal

- Remaining parts of artifacts in the denoised signal

Spike clipping - Very fast (Table 3)

- Not requiring multi-channel signals

- Automatic

- Online

- Removing parts of useful information from the original signal

- Remaining a large amount of artifacts in the denoised signal

Gating method - Very fast (Table 3)

- Not requiring multi-channel signals

- Automatic

- Online

- Removing a large amount of useful information from the original signal

- Remaining a large amount of artifacts in the denoised signal

Hybrid technique - Not requiring multi-channel signals

- Automatic

- Online

- Removing a large amount of useful information from the original signal

- Time consuming (Table 3)

Template subtraction - Fast (Table 3)2

- Not requiring multi-channel signals

- Automatic

- Good performance (Table 2, 3)3

- Requiring predetermined QRS template

- Offline

                                                                                                                         1 ET less than 0.01 sec. 2 ET less than 3 sec.  3  SNR approximately equal to or more than 9.  

Page 68: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

44 Result and Discussion

ICA - Fast (Table 3)

- Automatic

- Online

- Requiring multi-channel signals

- Removing a large amount of useful information from the original signal

Wavelet transform - Fast (Table 3)

- Not requiring multi-channel signals

- Automatic

- Online

- Removing parts of useful information from the original signal

- Remaining parts of artifact in the denoised signal

Wavelet-ICA - Fast (Table 3)

- Not requiring multi-channel signals

- Online

- User dependent

- Removing a large amount of useful information from the original signal

- Remaining parts of artifacts in the denoised signal

ANC - Automatic

- Online

- Time consuming (Table 3)

- Requiring reference signal

- Remaining a large amount of artifacts in the denoised signal

ANN - Fast (Table 3)

- Automatic

- Online

- Good performance (Table 2, 3)

- Requiring reference signal

- Remaining a part of low frequency noise in the denoised signal

ANFIS - Fast (Table 3)

- Automatic

- Online

- Good performance (Table 2, 3)

- Requiring reference signal

- Remaining a part of low frequency noise in the denoised signal

ANN-wavelet - Fast (Table 3)

- Automatic

- Online

- The best performance (Table 2, 3)

- Requiring reference signal

Adaptive subtraction - Fast (Table 3)

- Not requiring multi-channel signals

- Automatic

- Online

- Good performance (Table 2, 3)

- Requiring predetermined QRS template

Auto wavelet-ICA - Fast (Table 3)

- Not requiring multi-channel signals

- Automatic

- Online

- Removing parts of useful information from the original signal

- Remaining parts of artifacts in the denoised signal

Page 69: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

Result and Discussion 45

- Good performance (Table 2, 3)

In Table 4 different classes can be considered for artifact removal methods (e.g. very fast, fast, time consuming, online, offline, automatic, etc.) and based on the applications each method can be chosen. For example applications that require very quick result, among HPF, spike clipping and gating methods, which are very fast, HPF is recommended because it has better SNR. For applications that require very good performance ANN-wavelet is recommended. For applications that need less complex hardware system, methods that do not require multi-channel input such as HPF, spike clipping, gating method, template subtraction, wavelet transform, wavelet-ICA, adaptive subtraction and automated wavelet-ICA are good options, but among these methods template subtraction, adaptive subtraction and automated wavelet-ICA are recommended because of their good performance (high SNR value and low ET).

Page 70: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial
Page 71: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

47

Chapter 4

Conclusion and Future Work Heart’s electrical activities (ECG) interfere with EMG recordings when the surface EMG signal is recorded from muscles close to the heart such as pectoralis major, trapezius, deltoid and latissimus of the left side of body. Due to extensive applications of surface EMG signals in clinical diagnosis, motion analysis, prosthetic device, and etc., it is required to remove this interference from the EMG signals. In this licentiate thesis, several methods were investigated to solve this problem, and an ANN-wavelet method was found to give the best result.  

The investigated methods to remove ECG artifacts from surface EMG signals were HPF, gating method, spike clipping, hybrid technique, template subtraction, ICA, wavelet transform, wavelet-ICA, ANN, ANC and ANFIS. The investigation showed that three combined approaches including ANN-wavelet, adaptive subtraction and automated wavelet-ICA improved the result. The experimental result of these methods were analyzed using 10 channels of contaminated EMG signals and compared by the evaluation criteria SNR, RE, CC, ET and PSD.

Based on the results on simulated data in Table 2, the SNR values of different methods show that the proposed ANN-wavelet approach achieved the highest SNR value for all data set. The experimental results in Table 3 demonstrated that the combination of ANN and wavelet transform is able to produce better results compared to the other investigated methods. This method is fast and could successfully remove ECG artifacts from EMG signals. The denoised EMG signal may be used to predict and to control hand motion; hence the quality of the denoised signal and low computational time is very important. The importance of the proposed method lies on the removal of ECG without distorting the EMG signal. The template subtraction algorithm is successful in removing ECG artifacts from EMG signals, but it is sensitive to changes in the waveform of the ECG artifact. In the proposed adaptive subtraction technique the goal was to overcome to this limitation and make this method usable in online applications. The wavelet-ICA has been proposed to improve the performance of the wavelet transform and the ICA method. The wavelet transform creates multi-channel input to the ICA algorithm; therefore, it does not require multi-channel signal recording. However, it is user dependent and a significant part of EMG removes while setting the noisy component to zero. In this research the aim was to use a HPF for removing the noisy component instead of setting the noisy

Page 72: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

48 Conclusion and Future Work

component to zero and also make this method automatic in which the noisy component is found automatically.

Based on the results on real data, it is observed that the proposed methods have good performance in removing ECG artifacts from surface EMG signals compared to the other artifact removal methods. The ANN-wavelet removes a large amount of ECG artifact in the EMG signal without removing the original EMG. The adaptive subtraction does not improve the quality of the denoised EMG signal compared to the template subtraction method; however, it is an online method that is suitable for clinical applications. The automated wavelet-ICA removes low frequency noise from the EMG signal while not removing the EMG components.

Several research topics could be investigated further on the basis of the work presented in this licentiate thesis. Some of the possible research directions are as follow:

1) Investigating the performance of ECG artifact removal methods on surface EMG signals recorded from other muscles such as trapezius and latissimus.

2) Extracting suitable features from denoised surface EMG signals that could correctly assess the muscle changes in rehabilitation process.

3) Using electromyography as a biofeedback tool for rehabilitating muscle function in post stroke patients.

4) Using the denoised surface EMG signals for controlling hand prosthesis.

Page 73: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

49

References [1] Zhou P, Lowery M, Weir R, Kuiken T, (2005) Elimination of ECG artifacts from

myoelectric prosthesis control signals developed by targeted muscle reinnervation, in 27th Conference on Engineering in Medicine and Biology, Shanghai, 5276-5279. doi: 10.1109/IEMBS.2005.1615670

[2] Pullman SL, Goodin DS, Marquinez AI, Tabbal S, Rubin M, (2000) Clinical utility of surface EMG: report of the therapeutics and technology assessment subcommittee of the american academy of aeurologyg, J Neurology, 55:171-177

[3] Hu Y, Mak J, Liu H, Luk KDK, (2007) ECG cancellation for surface electromyography measurement using independent component analysis, in International Symposium on Circuits and Systems, New Orleans, 3235-3238. doi: 10.1109/ISCAS.2007.378161

[4] Ghaeb N, (2008) Simulation study for electrocardiography contamination in surface electromyography, in International Biomedical Engineering Conference, Cairo, 1-3. doi: 10.1109/CIBEC.2008.4786097

[5] Nitzken M, Bajaj N, Aslan S, Gimel’farb G, El-Baz A, Ovechkin A, (2013) Local wavelet-based filtering of electromyographic signals to eliminate the electrocardiographic-induced artifacts in patients with spinal cord injury, J Biomedical Science and Engineering, 6:1-13. doi: 10.4236/jbise.2013.67A2001

[6] Azzerboni B, Carpentieri M, La Foresta F, Morabito F, (2004) Neural-ICA and wavelet transform for artifacts removal in surface EMG, in IEEE International Conference on Neural Networks, Budapest, 4:3223-3228. doi: 10.1109/IJCNN.2004.1381194

[7] Rehbaum H, Farina D, (2015) Adaptive common average filtering for myocontrol applications, J Medical & Biological Engineering & Computing, 53:179-186. doi: 10.1007/s11517-014-1215-1

[8] National Stroke Association: http://www.stroke.org [9] Riley NA, Bilodeau M, (2002) Changes in upper limb joint torque patterns and

EMG signals with fatigue following a stroke, J Disability and Rehabilitation, 24:961-969. doi: 10.1080/0963828021000007932

[10] Tsai BC, Wang WW, Hsu LC, Fu LC, Lai JS, (2010) An articulated rehabilitation robot for upper limb physiotherapy and training, in IEEE/RSJ International Conference on Intelligent Robots and Systems, 1470-1475. doi: 10.1109/IROS.2010.5649567

[11] Thibaut A, Chatelle C, Ziegler E, Bruno MA, Laureys S, Gosseries O, (2013) Spasticity after stroke: physiology, assessment and treatment, J Brain Injury, 27:1093-1105. doi: 10.3109/02699052.2013.804202

Page 74: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

50 References

[12] Brauer SG, Hayward KS, Carson RG, Cresswell AG, Barker RN, (2013) The efficacy of SMART arm training early after stroke for stroke survivors with severe upper limb disability: a protocol for a randomized controlled trial, J BMC Neurology, 13:71-77. doi: 10.1186/1471-2377-13-71

[13] De Luca CJ, Gilmore LD, Kuznetsov M, Roy SH, (2010) Filtering the surface EMG signal: movement artifact and baseline noise contamination, J Biomechanics, 43:1573-1579. doi: 10.1016/j.jbiomech.2010.01.027.

[14] Butler HL, Newell R, Hubley CL, Kozey JW, (2009) The interpretation of abdominal wall muscle recruitment strategies change when the electrocardiogram (ECG) is removed from the electromyogram (EMG), J Electromyography and Kinesiology, 19:102-113. doi: 10.1016/j.jelekin.2007.10.004

[15] Redfern M, Hughes R, Chaffin D, (1993) High-pass filtering to remove electrocardiographic interference from torso EMG recordings, J Clinical Biomechanics, 8:44-48. doi: 10.1016/S0268-0033(05)80009-9

[16] Liang H, Lin Z, Yin F, (2005) Removal of ECG contamination from diaphragmatic EMG by nonlinear filtering, J Nonlinear Analysis, 63:745-753. doi: 10.1016/j.na.2004.09.018

[17] Black JS, Lovely DF, (1997) A comparison of ECG cancellation techniques applied to the surface recording of somatosensory evoked potentials, J Medical Engineering & Physics, 19:279-285

[18] Rhou B, Sawan M, Desilets T, Bellemare F, (2008) Real-time filtering technique to remove ECG interference from recorded esophageal EMG, in Biomedical Circuits and Systems Conference, Baltimore, 21-24. doi: 10.1109/BIOCAS.2008.4696864

[19] Bartolo A, Roberts C, Dzwonczyk R, Goldman E, (1996) Analysis of diaphragm EMG signal: comparison of gating vs. subtraction for removal of ECG contamination, J Applied Physiology, 80:1898-1902

[20] Mak JNF, Hu Y, Luk KDK, (2007) ICA-based ECG removal from surface electromyography and its effect on low back pain assessment, in 3rd International IEEE/EMBS Conference on Neural Engineering, Kohala Coast, 646-649. doi: 10.1109/CNE.2007.369756

[21] Ragupathy SC, Kumar DK, Polus B, Kamei K, (2004) Electrocardiogram Removal from Electromyogram of the Lumbar Muscles, in 26th Conference on Engineering in Medicine and Biology Society, San Francisco, USA, 243-246. doi: 10.1109/IEMBS.2004.1403137

[22] Alty SR, Man WD, Moxham J, Lee KC, (2008) Denoising of Diaphragmatic Electromyogram Signals for Respiratory Control and Diagnostic Purposes, in 30th IEEE International Conference on Engineering in Medicine and Biology Society, Vancouver, 5560-5563. doi: 10.1109/IEMBS.2008.4650474

[23] Zhan C, Yeung LF, Yang Z, (2010) A Wavelet-Based Adaptive Filter for Removing ECG Interference in EMGdi Signals, J Electromyography and Kinesiology, 20:542-549. doi: 10.1016/j.jelekin.2009.07.007

[24] Aithocine E, Guméry B, Meignen S, Heyer L, Lavault Y, Gottfried SB, (2006) Contribution to Structural Intensity Tool: Application to the Cancellation of ECG Interference in Diaphragmatic EMG, in 28th International Conference on

Page 75: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

References 51

Engineering in Medicine and Biology Society 1:5-8. doi: 10.1109/IEMBS.2006.260795

[25] Tealman J, Van Huffel S, Spaepen A, (2007) Wavelet-independent component analysis to remove electrocardiography contamination in surface electromyography, in 29th International Conference on Engineering in Medicine and Biology Society, Lyon, 682-685. doi: 10.1109/IEMBS.2007.4352382

[26] Vijila CKS, Kumar CES, (2009) Cancellation of ECG in electromyogram using back Propagation network, in International Conference on advances in recent technologies in communication and computing, Kottayam, Kerala, 630-634. doi: 10.1109/ARTCom.2009.69

[27] Abbaspour S, Fallah A, Maleki A, (2012) A comparison of adaptive filter and artificial neural network results in removing electrocardiogram contamination from surface EMGs, in Iranian Conference on Electrical Engineering, Tehran, 1554-1557. doi: 10.1109/IranianCEE.2012.6292606

[28] Lu G, Brittain JS, Holland P, Yianni J, Green AL, Stein JF, Aziz T, Wang S, (2009) Removing ECG noise from surface EMG signals using adaptive filtering, J Neuroscience Letters, 462:14-19. doi: 10.1016/j.neulet.2009.06.063

[29] Chen JDZ, Lin ZY, Ramahi M, Mittal RK, (1994) Adaptive cancellation of ECG artifacts in the diaphragm electromyographic signals obtained through intraoesophageal electrodes during swallowing and inspiration, J Neurogastroenterology & Motility, 6:279-288. doi: 10.1111/j.1365-2982.1994.tb00194.x

[30] Marque C, Bisch C, Dantas R, Elayoubi S, Brosse V, Perot C, (2005) Adaptive filtering for ECG rejection from surface EMG recordings, J Electromyography and Kinesiology, 15:310-315. doi: 10.1016/j.jelekin.2004.10.001

[31] Vijila CKS, Kumar CES, (2009) Interference cancellation in EMG signal using ANFIS, J Recent Trends in Engineering, 2:244-248

[32] Swarnalatha R, Prasad DV, (2010) Maternal ECG cancellation in abdominal signal using ANFIS and wavelets, J applied science, 10:868-877. doi: 10.3923/jas.2010.868.877

[33] Assaleh Kh, (2006) Adaptive neuro-fuzzy inference systems for extracting fetal electrocardiogram, in International Symposium on Signal Processing and Information Technology, 122-126. doi: 10.1109/ISSPIT.2006.270782

[34] Abbaspour S, Fallah A, Maleki A, (2012) A comparison of adaptive neuro-fuzzy inference system and real-time filtering in cancellation ECG artifact from surface EMGs, in Iranian Conference on Electrical Engineering, Tehran, 1558-1561. doi: 10.1109/IranianCEE.2012.6292607

[35] Abbaspour S, Fallah A, (2014) A combination method for electrocardiogram rejection from surface electromyogram, J Open Biomedical Engineering, 8:13-19. doi: 10.2174/1874120701408010013

[36] Abbaspour S, Gholamhosseini H, Linden M, (2014) Evaluation of wavelet based methods in removing motion artifact from ECG signal, in 16th Nordic-Baltic Conference on Biomedical Engineering and Medical Physics, Gotenburg, 48:1-4. doi: 10.1007/978-3-319-12967-9_1

Page 76: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

52 References

[37] Stegeman DF, Hermens HJ, (2007). Recommendation for Sensor Location on Individual Muscles.

[38] Drake JDM, Callaghan JP, (2006) Elimination of electrocardiogram contamination from electromyogram signals: an evaluation of currently used removal techniques, J Electromyography and Kinesiology, 16:175–187. doi: 10.1016/j.jelekin.2005.07.003

[39] Pan J, Tompkins W, (1985) A real-time QRS detection algorithm, J IEEE Transaction on Biomedical Engineering, 32:230-236. doi: 10.1109/tbme.1985.325532

[40] Hamilton PS, Tompkins W, (1986) Quantitative investigation of QRS detection rules using the MIT/BIH arrhythmia database, J IEEE Transaction on Biomedical Engineering, 33:1157-1165. doi: 10.1109/TBME.1986.325695

[41] Nurminen J, (2009) Electrophysiological studies of neonatal sleep stage, in Proceeding of International Conference on advances in recent technologies in communication and computing, 526-530

[42] Mak JNF, Hu Y, Luk KDK, (2010) An automated ECG-artifact removal method for trunk muscle surface EMG recordings, J Medical Engineering & Physics 8:840-848. doi: 10.1016/j.medengphy.2010.05.007

[43] Zhou P, Kuiken TA, (2006) Eliminating cardiac contamination from myoelectric control signals developed by targeted muscle reinnervation, J Physiological Measurement, 27:1311-1327. doi: 10.1088/0967-3334/27/12/005

[44] Daubechies I, (1994) Ten lectures on wavelets, CBMS, SIAM [45] Taelman J, Mijovic B, Van Huffel S, Devuyst S, Dutoit T, (2011) ECG artifact

removal from surface EMG signals by combining emperical mode decomposition and independent component analysis, in Proceedings of the International Conference on Bio-inspired Systems and Signal Processing, 421-424. doi: 10.5220/0003136804210424

[46] Akay M, (1994) Biomedical signal processing, San Diego Academic press [47] Bellanger MG, (2001) Adaptive digital filters, New York Marcel Dekker [48] Wan EA, (1996) Adjoint LMS: an efficient alternative to the filtered-x LMS and

multiple error LMS algorithms, in Proceeding of International Conference on Acoustics, Speech and Signal Processing 3:1842-1845. doi: 10.1109/ICASSP.1996.544227

[49] Shoorehdeli MA, Teshnehlab M, Sedigh A, (2009) Training ANFIS as an identifier with intelligent hybrid stable learning algorithm based on particle swarm optimization and extended Kalman filter, J Fuzzy Sets and System, 160:922-948. doi: 10.1016/j.fss.2008.09.011

[50] Sweeney KT, Ward TE, McLoone SF, (2012) Artifact removal in physiological signals-practices and possibilities, J IEEE Transaction on Information Technology in Biomedicine, 16:488-500. doi: 10.1109/TITB.2012.2188536

[51] Hashim FR, Soraghan J, Petropoulakis L, Safie SI, (2012) wavelet based motion artifact removal for ECG signals, in IEEE EMBS International Conference on Biomedical Engineering and Sciences (IECBES), Langkawi, 339-342. doi: 10.1109/IECBES.2012.6498019

Page 77: Mälardalen University Press Licentiate Theses No. 204 ...806958/FULLTEXT01.pdf · template subtraction, independent component analysis (ICA), wavelet transform, wavelet-ICA, artificial

References 53

[52] He P, Wilson G, Russell C, (2004) Removal of ocular artifacts from electro-encephalogram by adaptive filtering, J Medical & Biological Engineering & Computing, 42:407-412. doi: 10.1007/BF02344717

[53] Merletti R, (1999) Standards for reporting EMG data, J Electromyography and Kinesiology, 9:3-4. doi: http://dx.doi.org/10.1016/S1050-­‐6411(14)00006-­‐6