- 1School of Management, Fujian University of Technology, Fuzhou, China
- 2School of Mechanical and Automotive Engineering, Fujian University of Technology, Fuzhou, China
- 3School of Electronic, Electrical Engineering and Physics, Fujian University of Technology, Fuzhou, China
- 4Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei, China
Introduction: Surface electromyogram (sEMG) signals have been widely used in human upper limb force estimation and motion intention recognition. However, the electrocardiogram(ECG) artifact generated by the beating of the heart is a major factor that reduces the quality of the EMG signal when recording the sEMG signal from the muscle close to the heart. sEMG signals contaminated by ECG artifacts are difficult to be understood correctly. The objective of this paper is to effectively remove ECG artifacts from sEMG signals by a novel method.
Methods: In this paper, sEMG and ECG signals of the biceps brachii, brachialis, and triceps muscle of the human upper limb will be collected respectively. Firstly, an improved multi-layer wavelet transform algorithm is used to preprocess the raw sEMG signal to remove the background noise and power frequency interference in the raw signal. Then, based on the theory of blind source separation analysis, an improved Fast-ICA algorithm was constructed to separate the denoising signals. Finally, an ECG discrimination algorithm was used to find and eliminate ECG signals in sEMG signals. This method consists of the following steps: 1) Acquisition of raw sEMG and ECG signals; 2) Decoupling the raw sEMG signal; 3) Fast-ICA-based signal component separation; 4) ECG artifact recognition and elimination.
Results and discussion: The experimental results show that our method has a good effect on removing ECG artifacts from contaminated EMG signals. It can further improve the quality of EMG signals, which is of great significance for improving the accuracy of force estimation and motion intention recognition tasks. Compared with other state-of-the-art methods, our method can also provide the guiding significance for other biological signals.
1 Introduction
The past decade has seen the rapid development of Surface electromyogram (sEMG) in the biomedical field which is obtained from the surface of human skeletal muscle and reflects the changes of human nerves and muscles effectively. The essence of sEMG is a kind of nonlinear and non-stationary time series generated by the superposition of multiple muscles in time and space. Considering that sEMG has the characteristic of 30–150 ms ahead of body movement, hence, it is suitable for estimating muscle strength (Staudenmann et al., 2006; Tang et al., 2016). Furthermore, sEMG can also provide critical information about muscle rehabilitation and neurological dysfunction which has been widely used in sports biomechanics (Ye et al., 2015), and neuromuscular evaluation systems (Tang et al., 2018), prosthesis control (Castro et al., 2015), and other tasks. Evidence suggests that sEMG is an ideal control signal source among others.
sEMG signal is an important information source for human motion recognition and diagnosis. However, in the record of sEMG, the sensor is susceptible to heterogeneous noise (e.g., motion noise and Gaussian noise), cable movement, electrode-skin interface, and adjacent muscles. Therefore, the collected sEMG contains a large number of signal sources. What’s more, when some trunk muscles (e.g., bicep muscles, pectoral muscles, and back muscles) are located near the heart, the ECG signal produced by cardiac must be recorded together with the sEMG. This would make the sEMG contaminated and gets worse when the muscle gets closer to the cardiac (Allison, 2003).
To our knowledge, sEMG frequency band is between 20 Hz and 250 Hz, The frequency of the power signal is 50 Hz, ECG frequency band is between 0 Hz and 100 Hz. Due to the overlapping frequency distribution of these components, it would increase the power content of sEMG signal and distort the signal amplitude. Consequently, extracting effective information from sEMG signals becomes more and more difficult (Kuiken et al., 2004). Researchers show that when the muscle is in the state of complete relaxation, the sEMG signal is accompanied by signal pulsation, which can be determined to be the artifact generated by the periodic ECG signal (Joseph et al., 2007). In the EEG-FMRI experiment (Daly, 2021), the authors used a monopole lead to record the ECG signal, mainly because of the interference caused by the R wave in the ECG signal. In our previous work, we found that ECG artifacts have a great impact on the accuracy of elbow flexion force prediction (Lu et al., 2021). Therefore, it is crucial to improve the signal-to-noise ratio (SNR) of sEMG signal by removing the artifacts from sEMG (Abbaspour and Fallah, 2014). Currently, a considerable amount of literature has been published on signal processing research which has achieved good results (De Luca et al., 2010; Symeonidou et al., 2018). Some researchers pay attention to sEMG signal denoising (Nagasirisha B. and Prasad VVKDV., 2020; Lazaro et al., 2020). Other researchers have investigated ECG artifact removal. These methods can be classified into five general categories: High Pass based (HP-based), Template Subtraction based (TS-based), Wavelet-based (WT-based), Adaptive Filter-based (AF-based), and Blind Source Separation based (BSS-based). The characterization of these methods will be described in detail in Section 2.
In summary, the study of removing ECG artifacts from sEMG signals of upper limb muscles still faces the following challenges: 1. Some frequencies of the sEMG and ECG signals overlap, making it difficult to accurately remove ECG artifacts from the sEMG signal. 2. sEMG signals are susceptible to interference by factors such as muscle activity, electrode placement and individual differences, which increases the difficulty of ECG artifact removal. 3. It is difficult for current algorithms to balance the accuracy and real-time performance of artifact removal tasks. In recent years, our team has been committed to the research of perception and recognition of human muscle movement information, and has obtained certain results (Lu et al., 2021; Lu et al., 2022a; Lu et al., 2022b). The problem of ECG artifact removal in sEMG is the key to hindering our further research on human motion intention prediction and muscle force estimation tasks. Therefore, exploring the removal of ECG artifacts in sEMG is an important and meaningful work.
This paper aims at comprehensive research on eliminating ECG artifacts from sEMG signals of upper limb muscles based on the improved blind source separation method. We proposed a IWT-FastICA algorithm to realized the ECG artifact from sEMG. The study of using the IWT-FastICA algorithm represents a significant advancement in signal processing techniques. sEMG are often contaminated with artifacts caused by ECG signals, especially when the electrodes are placed close to the heart. These artifacts can obscure the underlying EMG activity, thus hindering accurate analysis and interpretation. The IWT is a powerful tool for signal decomposition and denoising. It breaks down the EMG signal into multiple layers, each representing a different frequency component. FastICA is an efficient independent component analysis (ICA) algorithm that separates mixed signals into their independent sources. In the context of EMG-ECG artifact removal, FastICA can be used to identify and isolate the ECG component from the mixed EMG signal. By combining IWT and FastICA, the IWT is first applied to the EMG signal to decompose it into multiple layers. Then, FastICA is used to identify and extract the ECG component from the decomposed layers. Finally, the extracted ECG artifact is subtracted from the original EMG signal, resulting in a cleaner EMG signal with reduced ECG interference. Our method was successfully applied to sEMG signals contaminated by ECG signals to eliminate ECG artifacts. The effectiveness of the proposed method is demonstrated by comparing the SNR, RE, and CC indexes with state-of-the-art methods.
2 Related works
According to the technology adopted, ECG artifact removal methods can be classified into five categories: High-pass Filtering based (HP-based), Template Subtraction based (TS-based), Wavelet Transform based (WT-based), Adaptive Filtering based (AF-based), Blind Source Separation based (BSS-based). Nevertheless, each method has its advantages and limitations. In this part, we will discuss the characteristics of each algorithm in detail.
2.1 High pass-based (HP-based)
According to the literature, Redfern et al. (1993) conclude that the increase of cutoff frequency can reduce the contamination of ECG signal and smooth the integrated signal. Ten years later, based on the finding of Redfern, Drake and Callaghan (2006) proved that a high-pass filter with a cutoff frequency of 30 Hz provides an optimal balance between ease of implementation, time commitment and performance. Although the high-pass filter can effectively remove low-frequency noise, it may also inhibit some useful low-frequency components in the signal, resulting in signal distortion. In addition, the cut-off frequency of the high-pass filter may be affected by environmental factors, making the filtering effect unstable.
2.2 Template subtraction-based (TS-based)
Template Subtraction technique is to remove artifacts by subtracting a template signal representing artifacts from the contaminated sEMG signal. In the literature, Abbaspour and Fallah (2014) firstly collected the sEMG signals, ECG artifacts, and ECG signals, then proposed an adaptive subtraction method to clean the contaminated sEMG signal. The relative error is 0.04 and the correlation is 97%. Limnuson et al. (2014) proposed an infinite impulse response (IIR) temporal filtering technique for real-time stimulus artifact rejection based on template subtraction. Junior et al. (2019) presented a template subtraction method for reducing electrocardiographic artifacts in sEMG signals which used the real contamination and emulated mixtures based on real signals. The above methods have preserved better the sEMG information compared with High-Pass Filtering based methods. The disadvantage of the TS-based technique is that it depends on the choice of template. If the template is not selected properly, it may lead to unsatisfactory filtering effect and even introduce new noise. In addition, the template subtraction filter is weak in processing dynamically changing signals, and it is difficult to adapt to the filtering requirements of non-stationary signals.
2.3 Wavelet-based (WT-based)
Wavelet decomposition is considered to be one of the most effective methods for processing non-stationary signals. The basic idea of ECG artifact removal by WT-based methods is based on the similarity of sEMG, ECG artifact, and wavelet function, then reset the wavelet coefficients and get a clean sEMG signal through wavelet reconstruction. Zhan et al. (2010) proposed a wavelet-based adaptive filter for removing ECG interference in EMGdi signals. Wavelet transform and ICA algorithm were combined to eliminate ECG artifacts (Taelman et al., 2007; Abbaspour et al., 2016) and proposed an ECG artifact removal algorithm combining wavelet with the ANFIS model. Luo and Yang (2018) presented a new algorithm to locate the peak value of ECG signal by using the square of the low-frequency coefficient and eliminate the ECG interference coefficient by using the “inverse” hard threshold. The disadvantage of wavelet transform is that it needs to decompose and reconstruct the signal at multiple levels. In addition, the performance of the wavelet filter is affected by the selection of wavelet basis function, and improper selection may lead to the degradation of the filtering effect.
2.4 Adaptive filter-based (AF-based)
Marque et al. (2005) proposed an adaptive filter method, which can effectively remove artifacts in the case of spectral overlap between sEMG signal and ECG signal. At the same time, this method can track the signal and noise in real-time. Qiu et al. (2015) found an adaptive matching filter based on a genetic algorithm, which can effectively extract sEMG from stimulated muscles and adjacent muscles. Nagasirisha B. and Prasad VVKDV (2020) proposed an Enhanced Squirrel Search (ESS) algorithm which is a combination of an adaptive Least Mean Square (LMS) filter and an adaptive Recursive Least Square (RLS) filter based on the adaptive filter. Compared with the mainstream methods, it eliminates noise and provides a noiseless sEMG signal to the output of the system. Using the Gram-Schmidt algorithm and the adaptive Prediction Error Filter (Yeom, 2005), Wang K. et al. (2020) described the design of a stimulus artifact removal system that operates at different frequencies, and the validity of the model was verified in healthy subjects with an average correlation coefficient of 0.94. However, The AF-based algorithm needs to adjust the filter parameters in real time according to the characteristics of the input signal to achieve the best filtering effect. When the input signal changes rapidly, it may be difficult for the adaptive filtering algorithm to converge quickly to the best state, resulting in a decline in filtering effect.
2.5 Blind source separation based (BSS-based)
Assumes that sEMG signal and ECG signal are independent of each other, BSS-based algorithms extract multiple independent components from the raw sEMG. The signal is purified by recognizing the information of the artifacts. Al Harrach et al. (2017) concluded a canonical component analysis-based technique to denoise HD-sEMG recordings at 20% of the maximum voluntary contraction. This research improved the signal-to-noise ratio (SNR) of sEMG signal in the isometric contraction task. Anand et al. (2018) proposed a method for artifact removal from the raw sEMG by using Canonical Correlation Analysis. Islam (2017) proposed an ECG mobility artifact removal algorithm based on ICA, which effectively realizes the artifact removal method without considering the mixed process information. Meanwhile, the results improve the accuracy by ∼9% in seizure detection and ∼24% in prediction. In the same year, Clarke et al. (2021) taking the advantage of the ICA and CCA, presented a novel denoising method called independent vector analysis (IVA). This method obtained better results in root mean square error and signal-to-noise ratio. In 2020, Schlink et al. (2020) summarized the different artifact removal algorithms and get the conclusion that the canonical correlation analysis filter is superior to the principal component analysis filter and high-pass filter in cleaning high-density sEMG during fast walking or running.
In summary, all the above methods could provide ECG removal with different effects. Nevertheless, each method has its limitation. Such of the defects of the high-pass filtering algorithm is that the low-frequency part of sEMG was also removed when the ECG is removed. The theoretical basis of the TS-based algorithm assumed that sEMG obeys Gaussian distribution with zero means, but this hypothesis is not satisfied in most situations. WT-based methods depict the two major flaws in the selection of mother wavelet and differentiation of model when the amplitudes of the source signal and artifact signal are similar. The main problem with AF-based methods is that it requires an extra sensor to record the clean ECG as a reference, which would increase the complexity of the algorithm. Hence, there is an urgent need for a better approach to ECG removal. Blind source separation technology can separate individual source signals from mixed signals without knowing the specific information of source signals in advance. Therefore, when the ECG artifact and sEMG tend to be mixed together, blind source separation technology can effectively separate them to achieve the removal of ECG artifact. Secondly, the sEMG signal is often interfered by various noises, but the blind source separation technology has strong adaptability to non-stationary signals and noisy environments, and can accurately separate the sEMG signal in complex environments, improving the quality and reliability of the signal.
3 Materials and methods
3.1 Component analysis of raw sEMG signal
In the field of biomedicine, artifacts refer to various forms of information that do not exist in the measured object but appear at the collection end. The generation of artifacts is mainly related to two factors: the condition of the subjects and measurement equipment. The existence of artifacts brings great difficulties to the analysis of raw signals. sEMG is physiological signals generated during muscle contractions and records the potential difference between two electrodes. The reference electrode is placed on the skin surface without muscle tissue. This will lead to the collected sEMG signal including all kinds of artifact components. Specifically, the artifacts can be divided into biological factors and technical factors (Wang HP. et al., 2020). Technical factors include inherent noise, 50 Hz power frequency interference, limb movement artifacts, and electromagnetic interference between devices. They can be removed by many effective denoising methods (Phinyomark, 2010; Gradolewski et al., 2015; Nagasirisha B. and Prasad VVKDV., 2020). However, biological factors are the specific attributes of the human muscle itself, which are mainly produced by cardiac, muscle movement and are hard to be removed fundamentally. It is worth noting that some artifacts can’t be avoided, but some can be controlled. Such as, the artifacts from the subjects and the equipment can be effectively suppressed in the experiment. However, for some artifacts that cannot be controlled, such as ECG signals, the method of threshold removal can be used to detect and eliminate them.
3.2 Principal of independent component analysis
Blind source separation (BSS) is to separate the independent signal source from the linear mixed observation signal by inferring the characteristics of the signal source. ICA is a branch of BSS. Based on high-order statistics of signals, ICA decomposes the independent components from the linear combination of several independent signal sources. BSS has been widely used in biomedical information processing (Flexer et al., 2005). The problem of blind source separation of signals is based on the assumption of statistical independence between the components of the observed mixed-signal
Where,
And the corresponding observed mixed signal is denoted as:
Where,
Due to the mixed-signal having a linear characteristic and instantaneous characteristic, for
Where,
Hence, the sequence
where,
The separation signal can be calculated if we get the inverse matrix W of the mixing matrix A:
Where
To sum up, the key to obtaining the separation signal
3.3 Our proposed method
sEMG sensors have multiple channel sensors which can simultaneously record the signals produced by “activity”, such as ECG, muscle movement, and cable movement. We assume that the source signals are statistically independent and non-Gaussian. Therefore, we use ICA based algorithm to separate the source signal into different components, then eliminate the unnecessary components. Finally, reconstruct the signal (Sheehan et al., 2022). The overall framework of our method is shown in Figure 1.
3.3.1 Improved multi-layer wavelet transform algorithm for denoising
Typically, sEMG signals are non-stationary signals contaminated by various noises generated by skin-electrode interfaces, electronic devices, and external sources. Therefore, before effectively removing ECG artifacts of sEMG signals, appropriate filtering procedures should be used to purify the signals. The wavelet transforms denoising method has been proposed in the early years and has got good results. In this study, we adopt a new wavelet transform denoising method based on multi-layer decomposition analysis (El hanine et al., 2020; Li et al., 2021). The emphasis of this method is to select a new threshold rule for sEMG reconstruction and denoising. The flowchart of the algorithm is shown in Figure 2. The process can be divided into three steps, namely, multi-level decomposition, thresholding criteria, and reconstructed signal.
The Wavelet Transform (WT) of the input sEMG signal is expressed as:
Where
Step 1: Multi-level decomposition. The raw sEMG time series is decomposed by a pair of finite impulse response filters, which is represented by a low-pass filter and a high-pass filter. The low-pass filter is to extract the approximation coefficients (
Where,
Where,
Step 2: Threshold Criteria. Considering the information contained in each detail, the threshold criteria of each level are established. The higher the frequency, the greater the correlation between detail and noise. What’s more, to obtain clean surface sEMG signals, the signal-to-noise ratio index is associated with each wavelet transform layer. When the WT level associated with SNR is higher than the SNR ratio of the original signal, the decomposition level was selected. The diagram of multi-layers wavelet denoising is shown in Figure 3. As can be seen from the diagram, A1, A2, A3 … , An is the approximates of composition in different scales, and D1, D2, D3, … , Dn are the details of composition in different scales.
The key to affecting the effect of denoising is the selection of threshold function and quantifying wavelet coefficients according to thresholds. Traditional threshold functions are divided into the hard threshold and soft threshold functions which can be described by the following equation (He et al., 2023).
Nevertheless, there are some shortcomings of these two threshold functions. First of all, the hard threshold function is discontinuous in the whole wavelet domain and discontinuous at the point of
The following conclusions can be drawn from Eq. 12:
1. As the value of
2. The function meet that the noise coefficient decreases while the signal coefficient increases in the wavelet domain.
3. When the
Step 3: Reconstructed Signal. Applying this threshold criterion application, the new detail coefficients and the original approximation coefficients are used to reconstruct the denoised sEMG signal.
3.3.2 Mean subtraction and whitening
To facilitate calculation, the observed vector
Where,
In general, the collected data are correlated, so it is necessary to whiten the data to remove the correlation between observation signals and simplify the extraction process of independent components. Furthermore, the convergence of the algorithm is better after whitening. The new data
Step 1. We defined the input sample data as:
Where,
Step 2. Calculate the covariance matrix after mean subtraction
Step 3. The covariance matrix is decomposed by eigenvalue decomposition:
Step 4. Rotate the data:
Step 5. Scale the data on each principal component axis so that its variance is 1.
From what has been discussed above, Principal Component Analysis (PCA) whitening is defined as:
After PCA whitening, the covariance matrix of data is an identity matrix, that is, each dimension becomes irrelevant and the variance of each dimension is 1.
3.3.3 Improved Fast-ICA
Fast-ICA, also known as a fixed-point algorithm, takes the maximum negative entropy as a search direction. The independent sources are extracted sequentially, and the fixed-point iterative optimization algorithm is adopted to make the convergence of the results faster and more robust.
Fast-ICA aimed to find an optimal direction
In this paper, we selected the negative entropy to measure non-Gaussian which is defined as:
Where
The source signal is estimated by maximizing the objective function, and the approximate maximum of negative entropy
Where
Here we used the Newton iteration method to solve the problem of finding the roots of the equation which can be expressed as:
The iteration formula used by Fast-ICA can be described as:
As we all know, the initial values of Fast-ICA are chosen randomly, different initial values would affect the accuracy and convergence of the algorithm. Currently, the optimal method to reduce the sensitivity of the algorithm is by using the fastest descent method. It is an optimization algorithm that takes the negative gradient direction as descending direction. The improved algorithm can be described as follows:
(1) Firstly, construct a random matrix:
(2) Calculate the gradient value of
(3) Calculate the iteration step
(4) Update the iteration equation based on the faster descent method:
3.3.4 ECG component identification algorithm
The different components obtained by the improved Fast-ICA algorithm are considered to be the multiple signal sources. Therefore, the active components of the ECG need to be accurately identified. In information theory, entropy is used to evaluate the degree of signal confusion. Compared with sEMG signals, ECG signals are used to represent the rhythm and activity of the human heart which have more regular, less complex, and lower entropy characteristics. Hence, artifact components can be separated effectively by the entropy criterion. Compared with approximate entropy and sample entropy, fuzzy entropy has the advantages of better anti-noise performance and higher stability (Erdal et al., 2023). Therefore, fuzzy entropy is used as the basis for ECG component discrimination. The calculation process is as follows:
1. Let the time series with length N be denoted as
2. With the size of the sliding window as M, a group of M-dimensional vectors are generated in sequence and denoted as:
3. Calculate the distance
4. The degree of similarity between sequences is calculated by the fuzzy membership function, which is defined as:
Where, r is the similarity tolerance parameter, which is defined as r times the standard deviation of one-dimensional time series.
Therefore, the similarity between the two vectors
5. Define function:
6. Increase the sliding window
Therefore, the fuzzy entropy can be calculated as:
7. Finally, ECG components in sEMG can be identified by threshold judgment. In this paper, the threshold discriminant proposed by Tichavsk et al. (2006) is used as threshold judgment. The detailed description is as follows:
Where,
If the k value is satisfying the above formula, k is the minimum integer satisfying the conditions, and the Fast-ICA components corresponding to the first K entropy values are determined as ECG artifacts and eliminated.
4 Experimental analysis
4.1 Design of experimental
In this experiment, we selected five healthy adult subjects without musculoskeletal diseases or a history of major upper limb injuries. Three sEMG sensors were placed on the different muscles of the upper limb to collect the raw sEMG signal. Meanwhile, the ECG sensor was placed on the chest of each subject. Each subject grabbed a different mass of the load to perform isokinetic contraction to highlight the validity of the experimental results. All participants have informed the consent of the experiment procedure and signed the informed consent form. The physical parameters of the subjects are shown in Table 1. The Illustration of sEMG and ECG wireless acquisition system and the schematic diagram of the subject experiment are shown in Figures 4, 5. The detailed parameters of ECG sensor and sEMG sensor are shown in Table 2. Each subject performed three contraction tasks, and the muscles were fully rested before each contraction. The experiment lasted for 60 s in total. The experimental scheme adopted in this paper is shown in Figure 6.
4.2 sEMG signal denoising and performance analysis
We compare the effectiveness of five mainstream denoising algorithms. They are Butterworth low-pass filtering algorithm (Barin and Zencir, 2022), FIR low-pass filtering algorithm (Yang et al., 2022), moving average filtering algorithm (Lee, 2014) and wavelet filtering algorithm (Ramakrishnan and Selvan, 2003). The filtering results are shown in Figure 7. From the figure, we can see that the Butterworth filter, Moving Average filter and Improved Wavelet filter got better performance. To further verify the effectiveness and superiority of the denoising methods, correlation coefficient (CC) and Root Mean Square Error (RMSE) indicators are chosen to evaluate the performance of the different algorithms (Yoo et al., 2018; Iluore et al., 2022). The results are detailed in Table 3.
Where,
Where,
Our proposed denoising method gets the best performance in two indexes. The CC reflects the integrity of valid information retention, the larger the CC is, the higher correlation between the raw signal and the filtered signal. RMSE reflects the difference between the raw signal and the filtered signal.
4.3 ECG artifact removal results
In order to prove the effectiveness of the next method, we collected the EMG of biceps muscle in static and dynamic conditions, and analyzed the frequency domain information after filtering algorithm, as shown in Figures 8, 9. It can be seen that the frequency distribution of the filtered EMG signal is 0 ∼ 500 hz, mainly concentrated in 0 ∼ 150 hz; 2. In both cases, there will be obvious spikes around 50 Hz and 100 Hz. In addition to the power supply interference factor, the largest factor is caused by the ECG artifact, because the frequency of the signal is close to the power supply frequency or its frequency multiplier, which appears as a spike in the frequency domain plot.
In order to clarify the effectiveness and universality of our artifact removal algorithm, we analyzed the experimental results of one subject and compared the ECG artifact removal results from the biceps brachii, triceps and brachialis as shown in Figures 10–12.
Figure 10. Effect of artifact removal of biceps brachii (A) Mixed Signal. (B) Clean sEMG signal. (C) ECG artifact.
Figure 11. Effect of artifact removal of triceps (A) Mixed Signal. (B) Clean sEMG signal. (C) ECG artifact.
Figure 12. Effect of artifact removal of brachialis (A) Mixed signal. (B) Clean sEMG signal. (C) ECG artifact.
As we can see from Figures 10–12, the muscles closer to the cardiac are more affected by the ECG. Muscles farther from the heart are less affected by ECG. Our method achieves good performance in removing ECG artifacts in sEMG signal.
In order to fully demonstrate the advantages of the proposed algorithm in ECG artifact removal, we performed a frequency-domain analysis and explored the ECG artifact removal effectiveness for different muscle locations. As shown in Figure 13.
The experimental results clearly show the ECG artifact removal performance at different muscle positions. In frequency domain analysis, we observed that our method can effectively identify and separate ECG artifact components. By comparing the spectra before and after processing, it can be found that the characteristic frequencies of ECG artifacts are significantly suppressed, while the useful frequency components of sEMG signals are well preserved. This result proves that our algorithm has good artifact removal ability in frequency domain, and can effectively reduce the interference of ECG artifact to sEMG signal analysis. The algorithm shows good artifacts removal effect at different muscle positions, and retains the original features of sEMG signal.
To further evaluate the performance of the algorithm, we made statistics on the experimental results of five subjects respectively, and calculated Relative Error (RE), CC(Correlation Coefficient) and Signal-to-Noise Ratio (SNR) indicators in sEMG signals, as shown in Table 4. Compared with the state-of-the-art methods, the results are shown in Table 5.
We compare the current mainstream algorithms with the methods in this paper in terms of accuracy, efficiency and calculation requirements, as shown in Tables 6–8. It is worth noting that the actual performance indicators of each algorithm are affected by the differences in design parameters, hardware implementation methods and input signal characteristics. The specific performance of each algorithm indicator will vary according to the actual situation. Therefore, we have only combined many experiments with a general understanding and cannot cover all possible situations.
It can be seen from Tables 4, 5, the CC index and SNR index of the proposed method perform best, indicating that the sEMG signal after artifact removal in this paper contains more effective information. At the same time, the algorithm can effectively improve the quality of the signal while removing artifacts, and make the useful information in the signal more prominent.
5 Conclusion
A new artifact removal algorithm in sEMG combining an improved multi-layer wavelet transform algorithm and Fast ICA algorithm is presented, which is called the IWT-FastICA algorithm. By using improved multi-layer wavelet transform techniques, improved threshold criteria, and through a large number of comparison experiments, our proposed method has a better performance in the signal denoising aspect when compared with other state-of-art filters. For a signal with ECG artifacts, we adopt FastICA, which has the best performance in a blind separate source algorithm. Furthermore, the application of fuzzy entropy theory improves the recognition rate of ECG artifacts. By the experimental analysis of different muscles and different movements, the ECG artifacts caused by heart beating can be significantly improved. The experimental results show that there are significant improvements in objective indicators and real application.
The results of this study can provide effective guidance for human-computer interaction and robot compliant control and optimization of biomechanical models. In addition, compared with other mainstream methods, the proposed method has some advantages, but it still has some limitations in practical application, such as performance degradation and high calculation cost when processing complex signals. Therefore, the combination of deep learning algorithm and signal processing to achieve the effective removal of ECG artifacts is worthy of further exploration. We will focus on the following aspects to carry out further research work: 1. Combined with noise suppression technology which can remove artifacts and reduce the influence of other noises on sEMG signal. 2. Combination with feature extraction and classification algorithm, more useful information can be extracted from the processed sEMG signal and some tasks (such as action recognition and muscle force estimation) can be completed. 3. Integration of cross-domain technologies: learn from advanced technologies in other fields (such as signal processing, pattern recognition, machine learning, etc.) to further improve the performance of the algorithm.
Data availability statement
The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.
Ethics statement
The studies involving humans were approved by the Institutional Review Committee of Fujian University of Techonology. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.
Author contributions
WL: Data curation, Investigation, Methodology, Project administration, Writing–original draft, Writing–review and editing. DG: Resources, Writing–original draft. XX: Writing–original draft, Writing–review and editing. LG: Project administration, Supervision, Writing–review and editing.
Funding
The authors declare that financial support was received for the research, authorship, and/or publication of this article. This research was funded by Talent Development Fund (Science and Technology), Grant No. E0600587. Supported by Talent Development Fund (Science and Technology), Grant No. E0600592.
Acknowledgments
This work was partly carried out at the Department of Industrial Engineering, School of Management, Fujian University of Science and Technology and Robotic Sensors and Human-Computer Interaction Laboratory, Hefei Institute of Intelligent Machinery, Chinese Academy of Sciences.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
Abbaspour, S., and Fallah, A. (2014). Removing ECG artifact from the surface EMG signal using adaptive subtraction technique. J. Biomed. Phys. Eng. 4 (1), 33–38.
Abbaspour., S., Fallah., A., Linden, M., and Gholamhosseini, H. (2016). A novel approach for removing ECG interferences from surface EMG signals using a combined ANFIS and wavelet removing ECG interferences from surface EMG signals using a combined ANFIS and wavelet. J. Electromyogr. Kinesiol. 26, 52–59. doi:10.1016/j.jelekin.2015.11.003
Al Harrach, M., Boudaoud, S., Hassan, M., Ayachi, F. S., Gamet, D., Grosset, J. F., et al. (2017). Denoising of HD-sEMG signals using canonical correlation analysis. Med. Biol. Eng. Comput. 55 (3), 375–388. doi:10.1007/s11517-016-1521-x
Allison, G. T. (2003). Trunk muscle onset detection technique for EMG signals with ECG artefact. J. Electromyogr. Kinesiol. 13, 209–216. doi:10.1016/s1050-6411(03)00019-1
Anand., D., Bhateja, V., Srivastava., A., and Tiwari, D. K. (2018). An approach for the preprocessing of EMG signals using canonical correlation analysis in Smart Innovation. Syst. Technol. 78, 201–208. doi:10.1007/978-981-10-5547-8_21
Barin, F., and Zencir, E. (2022). Gain and bandwidth programmable fourth-order multiple feedback Butterworth low-pass filter for C–V2X applications. J. Circuits, Syst. Comput. 31. doi:10.1142/s021812662250164x
Castro., M. C. F., Arjunan, S. P., and Kumar, D. K. (2015). Selection of suitable hand gestures for reliable myoelectric human computer interface. Biomed. Eng. Online 14 (1), 1–11. doi:10.1186/s12938-015-0025-5
Clarke, A. K., Atashzar, S. F., Vecchio, A. D., Barsakcioglu, D., Muceli, S., Bentley, P., et al. (2020). Deep learning for robust decomposition of high-density surface EMG signals [J]. IEEE Trans. Biomed. Eng. PP (99), 1–1. doi:10.1109/TBME.2020.3006508
Daly, I. (2021). Removal of physiological artifacts from simultaneous EEG and fMRI recordings. Clin. neurophysiology 132 (10), 2371–2383. doi:10.1016/j.clinph.2021.05.036
De Luca., C. J., Donald Gilmore, L., Kuznetsov, M., and Roy, S. H. (2010). Filtering the surface EMG signal: movement artifact and baseline noise contamination. J. Biomech. 43 (8), 1573–1579. doi:10.1016/j.jbiomech.2010.01.027
Dong, J., and Zhou, W. (2020). Research on the improved FastICA blind signal separation algorithm[C]. 2020 IEEE 20th International Conference on Communication Technology (ICCT) IEEE. doi:10.1109/ICCT50939.2020.9295837
Drake, J. D. M., and Callaghan, J. P. (2006). Elimination of electrocardiogram contamination from electromyogram signals: an evaluation of currently used removal techniques electromyogram signals: an evaluation of currently used removal techniques. J. Electromyogr. Kinesiol 16 (2), 175–187. doi:10.1016/j.jelekin.2005.07.003
El hanine, M., Abdelmounim, E., Haddadi, R., and Belaguid, A. (2020). “Electrocardiogram signal denoising using discrete wavelet transform,” in 2014 international conference on multimedia computing and systems (ICMCS) (IEEE), 2022. doi:10.1109/icmcs.2014.6911270
Erdal, H., Kurtay, K. G., Dagistanli, H. A., and Altundas, A. (2023). Evaluation of anti-tank guided missiles: an integrated fuzzy entropy and fuzzy CoCoSo multi criteria methodology using technical and simulation data[J]. Appl. Soft Comput. 137, 110145. doi:10.1016/j.asoc.2023.110145
Flexer, A., Bauer, H., Pripfl, J., and Dorffner, G. (2005). Using ICA for removal of ocular artifacts in EEG recorded from blind subjects. Neural Netw. 18 (7), 998–1005. doi:10.1016/j.neunet.2005.03.012
Gradolewski, D., Tojza, P. M., and Jaworski, J. (2015) Arm EMG wavelet-based denoising system. Springer International Publishing.
He, L. F., Liu, Q, L., and Jiang, Z. J. (2023). Combined Underdamped Bistatic Stochastic Resonance for Weak Signal Detection and Fault Diagnosis under Wavelet Transform[J]. Fluct. Noise Lett. doi:10.1142/S0219477523500074
Iluore, K., and Lu, J. (2022). Long short-term memory and gated recurrent neural networks to predict the ionospheric vertical total electron content[J]. Adv Space Res Journal. doi:10.1016/j.asr.2022.04.066
Islam, Md S. (2017) EEG artifact removal for ambulatory epileptic seizure prediction applications Deep Learning for Robust Decomposition of High-Density Surface EMG Signals. 2021.
Jayasanthi, M., Ramamoorthy, V., and Parthiban, A. (2020). Improved ICA algorithm for ECG feature extraction and R-peak detection[J]. Int. J. Adapt. Control Signal Process. doi:10.1002/acs.3186
Joseph, N. F. M., Yong, Hu., and Kdk, L. (2007). “ICA-Based ECG removal from Surface electromyogram and its effect on low back pain assessment,” in The 3rd international IEEE EM BS conference on neural engineering. Haw aii, 2–5.
Junior, J. C., Seixas, J. D., Miranda, de Sá., and Antonio Mauricio Ferreira, L. (2019). A template subtraction method for reducing electrocardiographic artifacts in EMG signals of low intensity. Biomed. Signal Process. Control 47, 380–386. doi:10.1016/j.bspc.2018.09.004
Koldovsk, Z., Kautsk, V., and Tichavsk, P. (2022). Double non-stationarity: blind extraction of independent non-stationary vector/component from nonstationary mixtures--algorithms[j]. doi:10.1109/TSP.2022.3216106
Kuiken, T. A., Dumanian, G. A., Lipschutz, R. D., Miller, L. A., and Stubblefield, K. A. (2004). The use of targeted muscle reinnervation for improved myoelectric prosthesis control in a bilateral shoulder disarticulation amputee. Prosthet. Orthot. Int. 28, 245–253. doi:10.3109/03093640409167756
Lazaro, J., Reijin, N., and Hossain, M. B. (2020). Wearable armband device for daily life electrocardiogram monitoring. IEEE Trans. Biomed. Eng. (99), 1. doi:10.1109/tbme.2020.2987759
Lee, J. (2014). Motion artifacts reduction from PPG using cyclic moving average filter. Technol. health care 22, 409–417. doi:10.3233/thc-140798
Li, Y., Wang, Z., Li, Z., and Li, H. (2021). Research on gear signal fault diagnosis based on wavelet transform denoising. J. Phys. Conf. Ser. 1971 (1), 012074. doi:10.1088/1742-6596/1971/1/012074
Limnuson., K., Lu., H., Chiel., H. J., and Mohseni, P. (2014). Real-time stimulus artifact rejection via template subtraction. IEEE Trans. Biomed. Circuits Syst. 8 (3), 391–400. doi:10.1109/tbcas.2013.2274574
Lu, W., Gao, L., Cao, H., and Li, Z. (2022b). sEMG-upper limb interaction force estimation framework based on residual network and bidirectional long short-term memory network. Appl. Sci. 12, 8652. doi:10.3390/app12178652
Lu, W., Gao, L., Cao, H., Li, Z., and Wang, D. (2022a). A comparison of contributions of individual muscle and combination muscles to interaction force prediction using KPCA-DRSN model. Front. Bioeng. Biotechnol. 10, 970859. doi:10.3389/fbioe.2022.970859
Lu, W., Gao, L., Li, Z., Wang, D., and Cao, H. (2021). Prediction of long-term elbow flexion force intervals based on the informer model and electromyography. Electronics 10, 1946. doi:10.3390/electronics10161946
Luo, G., and Yang, Z. (2018). The application of ECG cancellation in diaphragmatic electromyographic by using stationary wavelet transform. Biomed. Eng. Lett. 2018, 259–266. doi:10.1007/s13534-018-0064-5
Marque, C., Bisch, C., Dantas, R., Elayoubi, S., Brosse, V., and Pérot, C. (2005). Adaptive filtering for ECG rejection from surface EMG recordings. J. Electromyogr. Kinesiol 15 (3), 310–315. doi:10.1016/j.jelekin.2004.10.001
Nagasirisha, B., and Prasad, VVKDV (2020a). Emg signal denoising using adaptive filters through hybrid optimization algorithms. Biomed. Eng. Appl. Basis Commun. 33, 2150009. doi:10.4015/s1016237221500095
Nagasirisha, B., and Prasad, V. V. K. D. V. (2020b). Compared with the main methods, this method eliminates noise and provides noiseless EMG signal at the output end. Fluctuation Noise Lett. 2020 (5).
Phinyomark, A. (2010) “EMG denoising estimation based on adaptive wavelet thresholding for multifunction myoelectric control,” in International conference on electrical engineering/electronics computer telecommunications and information technology. IEEE.
Qiu., S., Feng., J., Xu., R., Xu., J., Wang., K., He., F., et al. (2015). A stimulus artifact removal technique for SEMG signal processing during functional electrical stimulation. IEEE Trans. Biomed. Eng. 62 (8), 1959–1968. doi:10.1109/tbme.2015.2407834
Qiu, Y., Sun, C., and Tang, J. (2022). Seismic attribute fusion approach using optimized fastICA-based blind source separation algorithm[J]. Geophys. Prospect. 57 (5), 733–743. doi:10.3969/j.issn.1000-1441.2018.05.013
Ramakrishnan, S., and Selvan, S. (2003). Wavelet transform based impulsive noise removal: a smart non-linear filtering algorithm. Proc. SPIE - Int. Soc. Opt. Eng. 5062, 517. doi:10.1117/12.514629
Redfern, M. S., Hughes, R. E., and Chaffin, D. B. (1993). High-pass filtering to remove electrocardiographic interference from torso EMG recordings. Clin. Biomech. 8, 44–48. doi:10.1016/s0268-0033(05)80009-9
Schlink, B. R., Nordin, A., and Ferris, D. P. (2020). Comparison of signal processing methods for reducing motion artifacts in high-density electromyography during human locomotion. IEEE Open J. Eng. Med. Biol. 1, 156–165. doi:10.1109/ojemb.2020.2999782
Sheehan, M. P., and Davies, M. E. (2022). Compressive independent component analysis: theory and algorithms[J]. INF Inference. doi:10.1093/imaiai/iaac016
Staudenmann, D., Daffertshofer, A., Stegeman, D. F., and van Dieen, J. H. (2006). Improving EMG-based muscle force estimation by using a high-density EMG grid and principal component analysis. IEEE Trans. Biomed. Eng. 4, 712–719. doi:10.1109/tbme.2006.870246
Symeonidou, E. R., Nordin, A. D., Hairston, W. D., and Ferris, D. P. (2018). Effects of cable sway, electrode surface area, and electrode mass on electroencephalography signal quality during motion. Sens. Switz. 18 (4), 1073. Art. no. 1073. doi:10.3390/s18041073
Taelman, J., Van Huffel, S., and Spaepen, A. (2007). Waveletindependent component analysis to remove electrocardiography contamination in surface electromyography. Conf. Proc. IEEE Eng. Med. Biol. Soc. 20. doi:10.1109/iembs.2007.4352382
Tang, X., Zhang, X., Gao, X., Chen, X., and Zhou, P. (2018). A novel interpretation of sample entropy in surface electromyographic examination of complex neuromuscular alternations in subacute and chronic stroke. IEEE Trans. Neural. Syst. Rehabil. Eng. 26, 1878–1888. doi:10.1109/tnsre.2018.2864317
Tang, Z., Yu, H., and Cang, S. (2016). Impact of load variation on joint angle estimation from surface EMG signals. IEEE Trans. Neural. Syst. Rehabil. Eng. 12, 1342–1350. doi:10.1109/tnsre.2015.2502663
Tichavsk, P., Koldovsk, Z., and Doron, E. (2006). Blind signal separation by combining two ICA algorithms: HOS-based EFICA and time structure-based WASOBI[C]. 14th European Signal Processing Conference.
Tong, F., and Fei-Yun, W. (2016). EMGdi signal enhancement based on ICA decomposition and wavelet transform[J]. Appl. Soft Comput. 43, 561–571.
Wang, H. P., Bi, Z. Y., Fan, W. J., Zhou, Y. X., Zhou, Y. X., Li, F., et al. (2020a). Real-time artifact removal system for surface EMG processing during ten-fold frequency electrical stimulation. IEEE Access 9, 68320–68331. doi:10.1109/access.2021.3077644
Wang, K., Chen, X., Wu, L., Zhang, X., and Wang, Z. J. (2020b). High-density surface EMG denoising using independent vector analysis. IEEE Trans. Neural Syst. Rehabilitation Eng. 28 (99), 1271–1281. doi:10.1109/tnsre.2020.2987709
Yang, T., Yu, H., and Wang, Y. (2022). An efficient low-pass-filtering algorithm to de-noise global GRACE data. Remote Sens. Environ., 283. doi:10.1016/j.rse.2022.113303
Ye, X., Beck, T. W., and Wages, N. P. (2015). Relationship between innervation zone width and mean muscle fiber conduction velocity during a sustained isometric contraction. J. Musculoskelet. Neuronal Interact. 15 (1), 95–102. doi:10.5100/jje.31.supplement_504
Yeom, H. (2005). Gram-Schmidt M-wave canceller for the EMG controlled FES. IEICE Trans. Inf. Syst. 88 (9), 2213–2217. doi:10.1093/ietisy/e88-d.9.2213
Yoo, C., and Cho, E. (2020). Comparison of GCM precipitation Predictions with their RMSEs and pattern correlation coefficients[J]. Water 10 (1), 28. doi:10.3390/w10010028
Keywords: surface electromyography, electromyogram, artifact removal, wavelet transform, blind source separation, fuzzy entropy
Citation: Lu W, Gong D, Xue X and Gao L (2024) Improved multi-layer wavelet transform and blind source separation based ECG artifacts removal algorithm from the sEMG signal: in the case of upper limbs. Front. Bioeng. Biotechnol. 12:1367929. doi: 10.3389/fbioe.2024.1367929
Received: 09 January 2024; Accepted: 19 April 2024;
Published: 20 May 2024.
Edited by:
Feilong Zhang, Nanyang Technological University, SingaporeReviewed by:
Bowen Ji, Northwestern Polytechnical University, ChinaWen Qi, Polytechnic University of Milan, Italy
Copyright © 2024 Lu, Gong, Xue and Gao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Dongliang Gong, dG90bzIwMDhAMTI2LmNvbQ==; Xue Xue, eHVleHVlaGZ1dEAxMjYuY29t