Abstract
The recorded surface Electromyogram (sEMG) signals is inevitably influenced by noise during the signal acquisition process. Because of the constant deviation that is known as the Pseudo-Gibbs phenomenon, which exists in conventional wavelet threshold de-noising, noise pertaining to sEMG is inevitable. In order to avoid or minimize noise in the recorded sEMG signals, the objective of this study is to investigate the feasibility of developing a new de-nosing function that uses the advantage of the adaptive threshold adopted in the Brige-Massart algorithm and test the performance of the new function. The simulation results show that applying this new de-noising function could effectively remove noise in the recorded sEMG signals. Furthermore, when compared with conventional threshold de-noising function, the new function achieved higher performed de-noising effect, and thereby enabling better signal analysis subsequently.
Introduction
Surface Electromyogram (sEMG) signals recorded by the electrodes from the skin surface can reflect the weak bioelectric signals of the related activation of neuromuscular system [1]. It has been widely applied in the field of basic research, clinical medicine, rehabilitation medicine and sports medicine etc [2]. It is also well established that sEMG is a nonlinear and non-stationary signal [3]. In addition, its peak value is in the range of 0∼10 mV. However, the useful signal energy is very weak, which is generally in the range of 10 Hz∼50 Hz. During the process of collecting sEMG, a wide range of factors, such as the human body biological signals, the inherent noise of acquisition instruments, and the ambient noise, has a significant impact on the noise ratio of sEMG [4]. Due to the above mentioned features, sEMG de-noising has become a key issue in its data extraction implementation. Therefore, to remove the noise effectively and retain the useful weak sEMG signal is a crucial process.
The traditional de-noising method is designed according to the frequency range of sEMG signal filter, such as the Chebyshev filter, Kalman filter, etc. However, this filtering process is complicated and difficult to realize, and its effect is not obvious. Kale utilized the artificial neural network method to remove the noise in the sEMG signal [5]. However, the artificial neural network method has its problems in this field of signal processing research [6]. At the same time, the selection of weight uncertainty results in migration to the local extremity and instability. The Fourier transform plays an enormous role in the process of the steady state signal de-noising. For stationary signals, the Fourier transform method applied to de-noising can achieve the ideal effect, but sEMG signals from the acquisition of human body pertain to non-stationary signaling. Due to the limitation of Fourier transform, it is unable to characterize the sEMG signal of local time-frequency characteristics and influences the de-noising effect. Wavelet transform is the inheritance and development of the Fourier transform. It is a new time-frequency analysis method with time frequency localization and multi-resolution, which can be effective to de-noising of non-stationary signal. Therefore, many scholars have applied the wavelet transform to the de-noising of sEMG [7–9].
At present, there are many de-noising methods based on the wavelet analysis [10, 11], such as the wavelet transform modulus maxima de-noising algorithm that is proposed by Mallat [12], the spatial correlation to noise algorithm that is proposed by Xu et al. [13], and application of another wavelet threshold used in de-noising that is proposed by Donoho et al. [14]. Evidently, the wavelet threshold in de-noising algorithm is common. This method can achieve the best estimated value in Besov space and a better convergence in comparison with the other methods [14]. The processing method is simple and little computation. So it is widely used in the field of de-noising [15–17]. In practical applications, it is common to use hard thresholding function or soft threshold function for de-noising signals. The hard threshold function appears readily in the pseudo Gibbs phenomena and many unexpected signal peaks, and result in loss of smoothness of the original signal because of its signal reconstruction. Although the soft threshold function has good continuity, there always exists a constant bias between the estimated value and the actual value. Besides, the derivative of soft threshold function is not continuous and has certain limitations [18]. Some literatures [19–20] adopts the improved wavelet threshold function pertaining to the sEMG signal de-noising in order to overcome the hard and soft threshold de-noising problems, which achieves good results. For example, Chen Guiliang et al. put forward a new method in 2013. It is called μ rhythm threshold method which is provided to improve threshold function [21]. The method can solve the effect to the threshold treatment of the soft-threshold wavelet coefficients constant deviation. Meanwhile, the application of the method in the wavelet analysis shows that wavelet packet μ rhythm method de-noising significantly are better than wavelet μ rhythm threshold method. However, the form of improved threshold function is complex. The parameter value of threshold function is determined through a series of tests for the computational complexity, large amount of calculation, which is often not good enough for signal reconstruction.
In order to resolve the issues presented the above algorithm, this paper proposes a new threshold function and sets the Signal-to-Noise Ratio (SNR) as the performance index. We can obtain an optimal threshold function by selecting a suitable value of parameter a and combining the adaptive threshold value of Brige-Massart algorithm for de-noising sEMG. The experimental results show that this method has a good performance during de-noising of the sEMG, In addition, it cannot only further improve the Signal-to-Noise Ratio (SNR), but also reduce the Root-Mean-Square Error (RMSE) in comparison with the traditional methods. In addition, this research is important in the field of bio-signal processing as its ability to improve the data accuracy and reliability used for diagnosis.
Methods
The basic principle of wavelet transform
We note that ψ (t) ∈ L2 (R), and
The formula (2) is called wavelet series. Here, a is the expansion factor, and b is the translation factor. For an arbitrary function f (t) ∈ L2 (R), its wavelet transform is:
The reconstruction formula is:
In Wavelet de-noising, a sEMG model with noise can be expressed as:
In the above formula, s (t) is the original signal, and n (t) is Gaussian white noise whose variance is σ2 and obeys the distribution of N (0, σ2). The steps for Wavelet thresholding and de-noising are as follows: Wavelet decomposition: Choosing the suitable wavelet base function, and making sure we have the right number j, which is the level number of decomposing wavelet. The coefficients ωj,k of decomposing wavelet can be obtained when the sEMG signal are decomposed to the jth level. Threshold Processing: This step includes threshold and threshold function. The decomposing coefficients is dealt by threshold, and then quantified. The rule of quantification is called the threshold function. Wavelet reconstruction: The reconstruction signal can be obtained through inverse of the quantified wavelet decomposing coefficients, which is the denoised sEMG. As an exemplification, the sEMG wavelet threshold de-noising process is shown in Fig. 1.

sEMG wavelet threshold de-noising process.
From the wavelet thresholding process, there exist four factors that can influence the de-noising effects: the select of wavelet basic function and decomposition layers number j, rules of choosing threshold and the design of threshold function, which is the key point to denoise wavelet thresholding [20]. The SNR and the RMSE can be regarded as the evaluation metric for de-noising effects, whereby the SNR value is proportional to the effects. On the contrary, the lower the RMSE value, the better is the coincidence degree. Their relationships are shown as follows:
Threshold selection
Determining the threshold size is the key issue of wavelet thresholding process. If the threshold is too small, part of the noise will be viewed as useful signal to be reserved, which can cause the “over reservations” phenomenon. On the contrary, if the threshold is too large, part of the useful signal will be filtered out as noise, and the “over strangle” phenomenon will emerge. Traditional threshold always use the Sqtwolog Donoho-Johnstone [22], but usually this thresholding signal is overly smooth and easily misses the important information of original signal. This study adopts a multi-threshold algorithm, which is based on Birge-Massart, and takes a different threshold for each decomposed signal. The Birge-Massart algorithm is defined by three parameters, which is j, M and a [23]: If the decomposition level is greater than the sub-levels j, all the coefficients should be retained. The largest absolute value coefficient n
I
for level j is given by:
We note that M and a are the experience coefficients, and j is the decomposition level. Generally, M is the length of coefficients after decomposing the first level. The coefficient a is 1.5 when compression Birge-Massart algorithm is used, and the coefficient a is 3 when de-noising. The threshold is c (n i ) after computing n I , which bases on the absolute value of wavelet coefficients in descending order.
Threshold function is the criteria of wavelet coefficients. Traditional threshold function includes soft threshold function and hard threshold function, which reflects the different treatment strategies of wavelet coefficients [22]. We assume that Wj,k is the wavelet coefficient of wavelet decomposition and Hard threshold function: The coefficients, which are less than the threshold T, are assigned to zeros. Otherwise they are kept unaltered. This can be expressed as: Soft threshold function: The coefficients, which are higher than threshold, are reduced by an amount to the value of threshold. Otherwise they are set to zeros. This can be expressed as:
In this formula, the sign (n) pertains to the sign function as follows:

Threshold function.
From the definition of soft and hard threshold functions, we can see that in general, the good signal edges and other local features can be retained by the hard threshold method. But as shown in Fig. 2 (a), due to the hard threshold function, there exists the discontinuity in – T and T, so that the reconstruction easily generates the local oscillation and leads to a smooth signal reconstruction. The soft threshold function is relatively smooth and its continuity is good compared with hard threshold function. But there is a certain deviation between
In this formula, a ranges from 0 to 1. When setting a as 0, (12) becomes the hard threshold function of (9). When taking a as 1, (12) becomes soft threshold function of (10), and in general, when a ∈ (0, 1), the
Since the purpose of algorithm is to achieve a minimum of

Basic flow chart of improved wavelet threshold de-noising.
sEMG collection
The sEMG signal acquisition process as shown in Fig. 4. The sEMG is extracted by the surface electrodes, which are affixed onto the skin, and they are input into the data acquisition card of DAQ, which are then enlarged through the signal conditioning equipment filter amplifier. Finally, the signal is collected with the digital form and transmitted to the computer via the A/D conversion.

sEMG acquisition process.
When collecting the signal, the subject’s right hand palm lay flat on the desktop and he/she repeated the process of clenching his fist forcibly and then slowly releasing this action at the regular interval. The collected signal was then processed and its output as the sEMG signal, which was then processed by the data acquisition card. In this experiment, the sampling frequency is 1000 Hz, and there are 20 groups, whereby each group has 2000 points. Finally, the discrete sampling value of SEMG signal is conducted based on the signal threshold de-noising algorithm using the Matlab software. The collection experiment is shown in Fig. 4.
Figure 5 shows the fist signal from the flexor carpi ulnaris of a healthy male subject that is programmed by the MATLAB software. Because of the noise is not obvious, in order to judge the effect of several de-noising methods better, the author adds Gauss white noise according to the characteristics of EMG signal noise. The resulting noise signal is shown in Fig. 6. In our experiment, we used the sym4 as the mother wavelet according to the sEMG signal de-noising effect. The choice of wavelet decomposition layer has a great influence on the de-noising result. The large number of layers can filter the useful signal together with noise. A small number is unable to filter this noise effectively. According to the practical experience, we will decompose the number of layers to two layers, and the threshold value is obtained through the Birge-Massart penalty function strategy. The change curve between the noise ratio of new threshold function and the independent variable a is shown in Fig. 7.

Original sEMG.

Noisy sEMG.

Graph of SNR versus a.
In Fig. 7, the SNR is the unimodal function of a in de-noising resulting about the new threshold function. There exists a maximum point that SNR is higher than hard threshold function when a = 0 and SNR is higher than soft threshold function when a = 1. Using an optimizing function, the maximized SNR value can be found.
In the MATLAB 2010 environment, the added noise signal is denoised by the universal threshold of Donoho-Johnstone [22], the soft threshold function, the hard threshold function, and a new threshold function. Then, the characteristics of de-noising is performed by the SNR and RMSE. Three experimental results about de-noising method are shown in Fig. 8, and the SNR and RMSE are shown in Table 1.

Six methods of de-noising results contrasting figure.
Six types of algorithm of de-noising effect data tables
In this study, we investigated a new threshold de-noising function, which combines the adaptive threshold of the Brige-Massart algorithm, to remove noise in sEMG effectively. From Fig. 8 we can show that the sEMG of de-noising effect that utilizes the new threshold function and the Birge-Massart Punishment strategy is better than the joint de-noising, which combines universal threshold, soft threshold function and hard threshold function de-noising. Our experimental results show that the method has a good performance during de-noising of the sEMG,. Besides, it can not only further improve the Signal-to-Noise Ratio (SNR), but also reduce the Root-Mean-Square Error (RMSE) in comparison with the traditional methods with the new threshold function in the Table 1. This method is mainly manifested in small signal attenuation, whereby the rich details and more useful signals can be retained. Although our experimental results can achieve the higher SNR and lower RMSE while comparing other method, we will focus on the using non-parameter approach to get the adaptive threshold de-noising function in future studies.
The acquisition of sEMG signal is very complex, and it is very important that this signal is preprocessed as the procedure is easily disturbed by noise, which leads to a low signal-to-noise ratio. For the study of EMG signal de-noising, the wavelet function has been widely used. An improved threshold function of wavelet denoising method is proposed in this paper in order to remove the noise in the signal. In order to obtain the optimal threshold function, the parameters of the threshold function are adjusted adaptively according to the signal to noise ratio by making full use of the characteristics of the wavelet. Then, combined with adaptive threshold of Brige-Massart calculation method, this sEMG signal can be de-noised. Compared with the traditional threshold methods, the de-noising effect of new method is more obvious. It can effectively suppress the noise in the signal and significantly improve the signal-to-noise ratio. This paper will be useful in the field of physiotherapy. It can be used to develop patients with muscle control problems. The framework from this research may even be used to develop controllable prosthetics or to build exoskeletons. Also, this method can be widely used in the study of weak signal de-noising.
Conflict of interest statement
We confirm that all authors of this manuscript have no conflicts of interest to declare.
Footnotes
Acknowledgments
Key University Science Research Project of Anhui Province, China (Project KJ2016A813), Anhui Provincial Natural Science Foundation (Project 1708085MF164).
