Next Article in Journal
Fixed Flexible Spiral Wire Retainers and Unwanted Tooth Movements: A Case Report
Previous Article in Journal
Optimizing Airfoil Aerodynamic Characteristics by Using Proposed CSA-KJ Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Combination Method of a Convolutional Neural Network and Energy Operators for the Detection of Change-Points in Electromyographic Signals

College of Mechanical and Electrical Engineering, Harbin Engineering University, Harbin 150001, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(2), 923; https://doi.org/10.3390/app13020923
Submission received: 12 December 2022 / Revised: 3 January 2023 / Accepted: 6 January 2023 / Published: 9 January 2023

Abstract

:
Currently, neural network algorithms based on time-domain features are used for change-point detection problems, and they have proven to be effective. However, due to the instability of human biosignals, establishing a training dataset with labels is difficult. For supervised learning methods, wherein parameters are updated on a small sample set through a feed-forward mechanism, it is difficult to ascertain the degree to which the performance of the trained neural network corresponds to the overfitting of the dataset upon which the network was trained. To this end, this paper attempted to directly replace the parameters in the convolutional neural network that need to be updated by training. A method based on the combination of the Teager–Kaiser energy operator (TKEO) and the convolutional neural network is proposed. We tested the proposed method on simulated EMG data with different signal-to-noise ratios and real data with labels, respectively. Compared with multiple detection methods, the proposed method had significant advantages in terms of reliability, accuracy, and computational speed. Furthermore, the proposed method does not require any prior knowledge about the signal, lending itself to be flexible and adaptable to any application. It may be a promising alternative to solving change-point detection problems.

1. Introduction

Electromyogram (EMG) signals are superimposed motor unit action potentials (MUAPs) generated by motor neuron firing, reflecting a high level of neural control signals from the brain, and can be decoded by change-point detection algorithms to provide very specific information on the timing of muscle action [1]. The temporal information of muscle action can be used as a reliable neural control signal for mechanical exoskeletons [2,3], as a source of information for clinical evaluation of neuromuscular injuries [4,5], as a reference indicator for sports training [6,7], and as an interface signal for human–computer interaction [8,9,10]. It has important research significance and application value.
The most common method for EMG change-point detection (CPD) is the threshold method based on the time domain, which is very simple and intuitive [11]. There is a consensus among researchers that the amplitude variation of the EMG signal can reflect the activation intensity of MUAPs and the duration of muscle activity [12]. Therefore, comparing the EMG signal with a fixed threshold, the time point recorded when the amplitude of the EMG signal is above or below this threshold reflects the temporal characteristics of muscle activation. However, in situations where the threshold level is derived from the EMG amplitude, any change in the electrical activity amplitude will proportionally affect the threshold level [13]. Therefore, a fixed-constant threshold is often unsatisfactory for the CPD of noisy EMG signals. To overcome this problem, a double-threshold method was proposed. Double-threshold detectors allow the user to adopt the link between false alarms and detection probability with a higher degree of freedom than single-threshold methods. The user can tune the detector according to different optimal criteria, adapting its performance to the characteristics of each specific signal and application. However, double-threshold detectors still rely on complex signal preprocessing techniques, and they require prior acquisition of the features of the baseline segment (noise only) of the EMG signals. Consequently, frequency domain-based methods such as short-time Fourier transform (STFT) [14,15] and wavelet transform [16,17,18,19] are used to deal with the CPD issue of EMG and exhibit strong anti-noise ability. However, the time-to-frequency conversion of the frequency-domain-based methods requires a long window length to ensure a certain frequency-domain resolution, so the detector has poor real-time performance and is prone to distortion at high frequencies. With the development of neural network technology, dealing with CPD issues has refocused on the time-domain of the signals. The neural network detectors learn the time-domain features of the signal, which not only solves the real-time problem of the frequency-domain approach but also achieves strong anti-noise ability compared with the threshold-based method. However, such methods require a certain amount of labelled training data to train the parameters for optimal performance, and they also need to avoid problems such as overfitting or underfitting. It is difficult to obtain data with accurate labels due to the instability of human biosignals. Therefore, although the neural network detectors have good CPD performance in experimental scenarios [20,21], they are still not suitable for practical applications without solving the robustness of few-shot learning. Recently, published statistical methods, including the Bayesian change-point analysis methodology [22], profile likelihood maximization (PLM) [23,24], and CUSUM [25], are attractive alternatives. However, prior knowledge of the distribution assumption, probability parameter estimation, and density function selection can seriously affect the performance of CPD. Although the execution time of the statistics-based method can be improved by assuming that the underlying data distribution is Laplace (e.g., PLM-Lap) and by replacing the exhaustive search method with a discrete Fibonacci search to seek the maximum of profile likelihood function [24], ensuring the accuracy of the distribution fit is unreliable for a small number of sampling points. In other words, statistical-based detectors, when dealing with different types of EMG signals (e.g., fast, slow, or maximum voluntary contractions), are likely to fail if a false prior assumption is selected [23]; moreover, the number of sampling points for data distribution estimation should not be too small. In summary, while many new CPD techniques offer relatively good detection performance, the algorithms themselves are becoming increasingly complex, which leads to more demanding prerequisites for their implementation and deployment.
Because of this, it has been shown that the use of a simple but well-configured detector can match or even surpass the performance of many complex models when dealing with time-series tasks, such as outlier detection, anomaly detection, or change-point detection [26]. Due to the similarity between biosignals and speech signals, many techniques used to process speech signals can be used to process biosignals, such as Teager–Kaiser energy operator (TKEO) [27,28]. An important feature of the TKEO is that the time–frequency information of signals can be extracted through an extremely narrow window containing only three sampling points [9]. Therefore, the TKEO is a very effective pre-processing technique with the advantages of low computational complexity and high real-time performance, and it has been proven to be effective in improving the performance of EMG signal CPD [22,23,29,30,31,32,33].
Most previous studies in this area have employed a combination strategy of energy operators and threshold-based detectors [34,35,36], because threshold-based detectors can retain the real-time advantage of energy operators. Trained neural network detectors have the same advantage of a fast detection speed, and, at the same time, they are more robust [20,21]. Furthermore, extended versions of TKEO have been demonstrated to have improved detection performance for multiple detectors [37,38]. In this paper, a novel EMG activity detector (EONND, energy operator neural metwork detector) is proposed, which uses the energy operators to define the structure and set the parameters of a convolutional neural network, replacing the training process of the neural network, thus solving the problems that the update of neural network parameters requires a large amount of data with labels and that the design of the network structure is too complicated. Compared to several existing detectors, EONND has higher validity and reliability, and it has a definite advantage in terms of running time.
The remainder of this paper is organized as follows: Section 2 introduces the fundamental theory of EONND. We simulated EMG signals with a variety of signal-to-noise ratios (SNRs) in Section 3 and compared several existing methods using simulated and real data to verify the validity of EONND. In Section 4, the experimental results are discussed. Finally, the conclusions are drawn in Section 5.

2. Materials and Methods

2.1. Background of Energy Operators

The Teager–Kaiser energy operator (TKEO) is a signal processing technique that was proposed by Kaiser to calculate the instantaneous “energy” of nonlinear signals based on a conversation with Teager, and it has important applications in the processing of various nonlinear signals, such as speech signals [39,40], physiological signals [23,30,41], and mechanical vibration and noise signals [42,43,44,45]. The most commonly used discrete domain TKEO formula is obtained by converting the continuous domain to the discrete domain through the forward difference method:
Ψ d x n = x 2 n x n + 1 x n 1
where x n denotes the data value at the n th sampling point, and n + 1 and n 1 represent the pre- and post-sampling points adjacent to the n th sample, respectively. Equation (1) shows that the TKEO can monitor the “energy” of the signal in a very narrow window of three sampling points, with simple operations and no division, making it particularly suitable for processing zero-crossing signals. The TKEO is actually a special case under a broader operator paradigm. Kumaresan et al. generalized the TKEO into a matrix framework and interpreted the general framework through the determinant of a Toplitz matrix containing the signal and its derivatives. Using this, we can obtain the determinant of Equation (1), as follows [46]:
Ψ d x n = x n x n 1 x n + 1 x n
The determinant is time-invariant for a signal with constant frequency. If such a matrix is generalized to an M × M Toeplitz matrix by adding delayed x n up to x n ± M 1 , the determinant is also time-invariant but for signals with multi frequency [46,47]:
Ψ M x n = x n x n M 1 x n + M 1 x n
Different M values can enhance different frequency components [47], which not only makes the algorithm ‘observe’ more signal information to enhance the robustness but also improves the signal conditioning performance of the energy operators.
In fact, converting a discrete signal into a determinant form can be understood as slicing the signal:
X n = x n x n m x n d 1 m ] ] T
where m and d are integer time-lag values, and · T denotes the transpose operator. The sliced signal of Equation (4) can still be matrixed by the Toeplitz matrix [38,46]:
X n = x n x n + s x n + d 1 s x n m x n m + s x n m + d 1 s x n d 1 m x n d 1 m + s x n d 1 m s
where s 0 is a time-lag value, as are m and d . Important factors for maintaining the efficiency of energy operators are the length of their corresponding index windows and the symmetry of their time alignment [44]. Therefore, we set s = m = 1 , d 1 = k and converted Equation (5) into a more intuitive format of temporal symmetry, as follows:
X n = x n x n + 1 x n + k x n 1 x n x n + k 1 x n k x n k + 1 x n
Equations (3) and (6) address two key issues of EONND. Firstly, Equation (6) converts 1-D discrete signal data into the form of 2-D Toeplitz matrices, providing the mathematical basis for the combination of energy operator methods with neural networks. Secondly, Equation (3) provides a computational method for obtaining energy operators from 2-D matrices data. It is worth mentioning that Equation (6) can be regarded as a matrix form of a multi-resolution Teager energy operator (MTEO) [48,49].

2.2. Relational Mapping of Convolutional Neural Networks to Change-Point Detectors

The main types of neural networks are feedforward networks (FFN), recurrent neural networks (RNN), long short-term memory (LSTM), auto encoder (AE), generative adversarial network (GAN), and convolutional neural networks (CNN) [50]. By analyzing the structure of neural networks, we found that the unique architecture of CNN is relatively suitable to integrate with energy operator methods to construct change-point detectors.
The architecture of the simplest typical CNN generally consists of an input layer, a convolutional layer (CONV), a ReLU layer, a pooling layer, a fully connected layer (FC), and an output layer [51,52], and the CONV layer and ReLU layer are often collectively referred to as the convolutional layer. In more detail, CONV is a filter that extracts signal features and filters the signal. The filter is equivalent to a convolution kernel for data in 2-D matrix form, defining the “vision” of the detector and assigning weights to each data point. The pooling layer pools the signal features from the CONV output, extracts the main features, and implements feature compression. After CONV and pooling, the data are abstracted into features with higher information content, and FC is subsequently used to classify these features.
The architecture of a typical change-point detector is almost identical to that of CNN. First, a filter (Butterworth, Baseline detrending, TKEO, etc.) is needed for the noise reduction or feature enhancement of the raw signal; then, the signal is framed by a sliding window to extract features such as the mean or variance of each frame. Finally, the features are classified by a classifier. Due to the one-to-one correspondence between the functional components of CNN and the traditional change-point detector, the mapping can be established intuitively, as shown in Figure 1.
In the CNN algorithm, the parameters (such as weights and biases) of neurons in the CONV, pooling layer, and FC need to be updated through training with a large amount of labelled data. The training process generates most of the computation demand in CNN and is the main source of algorithmic complexity. Furthermore, although CNN is nonlinear, functional components such as the CONV, pooling layer, and FC are linear, and the nonlinear properties of neural network algorithms mainly come from activation functions.
By introducing the functional components of CNN, it can be observed that, if the weights and biases of CNN are pre-set in advance, and the activation function part is retained, not only can the complexity of the algorithm be reduced, but also the non-linear property of the detector can be preserved.

2.3. EONND: Energy Operator Detector with Neural Network Architecture

CNN can process signals in multiple dimensions, including 1-D for time series, such as speech or biosignals; 2-D for images or audio spectrograms; and 3-D for video or volumetric images [51]. The CONV and pooling layers can be stacked in any number, and the more layers a CNN model has, the higher-level features it will extract [52]. In contrast, the processing of 1-D biosignals is relatively simple, and it can be expected that a simplified CNN may still have a good detection performance. In this paper, the EMG signal was converted into a k × k Toplitz matrix by a multi-resolution energy operator, as shown in Equation (6). Equation (6) describes the range of data observed by the detector at each detection, and Equation (3), similar to the convolution kernel function, describes how the sampling points are calculated.
As shown in Figure 2, the construction of EONND is very simple and has only the most basic architecture of a typical CNN. Each layer will be described in detail in the following section. It is important to note that, although there is no real convolution operation in EONND, the algorithmic framework of EONND is consistent with CNN. Therefore, the labels of each layer are also consistent with CNN for clarity of description and ease of understanding.

2.3.1. Convolutional Layer

As shown in Figure 2, in the first step, the signal is converted into the form of a k × k Toplitz matrix by a multi-resolution energy operator. The Toplitz matrix is determined by the elements of the first row and the first column. In this paper, the first row was x n   x n + 1   x n +   x n + k , and the first column was x n   x n 1   x n   x n k , where x n represents the n th sampling point. Based on the sampling points calculation relationship established by Equation (3), the convolution layer of EONND is shown in Figure 3.
Figure 3 illustrates the logic of EONND for sampling-points processing in the form of the most common neurons in neural network algorithms. This part of the algorithm has the function of signal filtering and enhancing the active segment features, since the computational relationship between the sampling points is a multi-resolution energy operator. More specifically, f x = x 2 is used to replace ReLU as the activation function, and a local connection is used to establish the computational relationship for the data in the range k before and after sampling point n . Compared with the traditional TKEO approach of observing only three sampling points to obtain the “energy” of the signal, Equation (7) allows the energy operator to observe more contextual content and thus obtain more accurate features of sampling point n .
C k = W 1 w 11 x n + k 2 + W 2 w 22 x n 2 + W 3 w 33 x n k 2 + W 4 w 14 x n + k + w 34 x n k 2
The weights parameter W 1 4 in Equation (7) is updated by training with the traditional neural network algorithms, while in this paper, the parameter W was determined by establishing the relationship of Equation (8) with the multi-resolution energy operators.
C k = Ψ k x n = x 2 n x n + k x n k
Then, we were able to obtain: W 1 = W 2 = W 3 = 1 , W 4 = 1 , w 11 = w 14 = 2 , w 22 = 1 , and w 33 = w 34 = 1 / 4 .
In fact, after determining the neuron parameters by Equation (8), the time-lag value k becomes the only hyperparameter in CONV that affects the performance of EONND. According to previous studies, the multi-resolution energy operator with odd values in the range of the scale factor k = 15 can cover the signal “energy” up to 450 Hz [36,39,47,48,49]. This paper set k = 15 , so that for each sampling point n , we could obtain odd values within 15 [ C 1 , C 3 , C 5 , …, C 15 ], for a total of 8 possible “energy” features.
As shown in Figure 3, CONV processes 2 k + 1 sampling points at a time and outputs possible “energy” features as input to the pooling layer through a local connected layer and a global connected layer. In addition, all parameters within CONV were fixed by the relational Equation (8).

2.3.2. Pooling Layer

The pooling layer is responsible for fusing the multiple possible “energy” features estimated by CONV for sampling point n into an “optimal” estimate, completing the sample-level filtering. Usually, the pooling functions are max pooling, linear softmax, exp. softmax, and average pooling. If they are interpreted as the weighted average, the four pooling functions exist in the relationship shown in Figure 4 [53].
As shown in Figure 4, max pooling and average pooling are the two extremes. When pooling the “energy” features, the max pooling function gives the maximum “energy” all the weight, while the average pooling function gives all “energy” features equal weight. In between, the weight distribution of the linear softmax pooling function and exp. softmax pooling function are assigned in a relatively soft way. The performance differences of the four pooling functions are discussed in Section 3.

2.3.3. Fully Connected Layer

The fully connected layer in a typical CNN is actually a deep neural network (DNN). DNN updates the linear coefficients w and bias b of each neuron using a backpropagation algorithm through the training-set data. The training process of neural networks not only tests the ability of engineers to tune the parameters but also requires a large amount of training data with labels. In this paper, instead of the fully connected layer, a sampling layer and a sigmoid layer were used to classify the signal point by point at the sample-level. The sampling layer actually normalizes the output of the pooling layer:
y i = x i min i 2 k < i x i max i 2 k < i x i min i 2 k < i x i ,
where i denotes the current sampling point, and the extreme values are obtained on signal segments in the range [ i 2 k , i ]. The sigmoid layer, which is connected to the sampling layer, is responsible for classifying the output of the sampling layer. The sigmoid activation function is given in Equation (10):
f x = 1 1 + e x .
The sigmoid activation function requires a pre-set threshold T, and, when the output of the neuron exceeds T, the output value is fixed to 1 by a hard limiter, indicating that the muscle is activated, while the output in other cases is 0, indicating that the muscle is not activated.
The complete framework of EONND is described above. Using the raw EMG signal as input, EONND can return a binary output, 0 or 1, for each sampling point. However, after experimental testing, the direct output classification results contained a large number of false alarms. A post-processing step was applied to the output of EONND to reject the erroneous transitions due to the stochastic nature of the EMG signal [20]. Since the shortest interval between muscle contractions is generally considered to be > 30 ms [11], all the muscle activations lasting less than 30 ms were discarded [34].

2.4. Performance Evaluation

The performance of the detectors was assessed and compared in terms of (1) precision, (2) recall, (3) F1 score, (4) onset bias, and (5) offset bias:
p r e c i s i o n = T P T P + F P ,
r e c a l l = T P T P + F N ,
F 1   s c o r e = 2 r e c a l l × p r e c i s i o n r e c a l l + p r e c i s i o n ,
o n s e t / o f f s e t   b i a s = 1 N i = 1 N ( | t i ^ t | ) .
In this paper, simulated and real EMG data with labels were used. Therefore, the algorithm performance could be examined by quantitatively comparing the detected onset and offset time points with the ground truth. t i ^ in Equation (14) represents the ground truth, and t i is the estimate of the onset/offset time points. We can express the algorithm accuracy by the absolute difference between the detected time point and the true time point, as well as describing the robustness of the detector by the precision, recall, and F1 score. The confusion matrix of the three indices of the precision, recall, and F1 score was obtained by classifying the sampling points one by one using the following rules:
  • True positives (TP): the number of EMG time points correctly classified as 1 by the detectors in activity segments;
  • True negatives (TN): the number of EMG time points correctly classified as 0 by the detectors in baseline segments;
  • False positives (FP): the number of EMG time-points incorrectly classified as 1 by the detectors in baseline segments;
  • False negatives (FN): the number of EMG time-points incorrectly classified as 0 by the detectors in activity segments.
In addition, the running time of the program on the same PC platform was recorded as a way to verify the computational resource usage of the algorithm. Detailed comparison results are discussed in Section 3.

2.5. Experimental Data

2.5.1. Real Data

Similar to the method proposed by Chopra et al. to synchronously label change-points with the help of a high-performance gaming mouse to obtain EMG signals with labels [9], this paper used a high-precision gaming steering wheel to locate the change-points. Specifically, fifteen healthy participants (10 males and 5 females, 24–32 years old) with right-handedness participated in the experiment, completing one signal acquisition per day for five days. During each signal acquisition, the electrodes were fixed on the extensor carpi radialis longus (ECRL) and flexor carpi radialis (FCR) of the right limb of participants after skin treatment. Participants operated the game steering wheel to the left and right 30 times, respectively, in their most natural state without limiting speed or strength. The control signal collected by the game steering wheel can be regarded as the human motion data to segment the active and baseline segments of the EMG signals (including the onset and offset time points). The raw real EMG signals are illustrated in Figure 5b.
It should be noted that, due to the antagonistic characteristics of the muscles, the active muscles (spontaneous muscles) of the right forearm are different when the steering wheel is operated to the left or right, which results in half of the real EMG signals acquired in this paper not being accurately detected at the change-points of the active segments and needing to be discarded.

2.5.2. Simulated Data

In this paper, the performance of EONND was tested on real and simulated EMG signals. The simulated data was able to compensate for the lack of quantity of real data and the deviation of data labels. More importantly, the parameters of the simulated data could be adjusted to suit the experimental purpose, such as SNR. However, simulating EMG signals is very difficult because it is not possible to accurately describe all the physiological, anatomical, and physical properties of EMG signals [54]. Since the EMG signal model is generally simplified as the superposition of a noisy signal (baseline segment) and EMG signal (activity segment), the EMG signal change-point detection can be described as a source separation issue [55].
Based on the objectives of the experiment, a simple EMG signal model was simulated using NeuroKit2 (a Python toolbox for signal processing in neurophysiology) [56], which was as follows:
S i m u l a t e d   E M G = S a c t i v i t y + S n o i s e ,
where S a c t i v i t y represents the electrical activity generated by each muscle during contraction, and S n o i s e denotes the background noise generated mainly by the neighboring muscles, the friction between electrodes and skin, and the ambient noise [31,57,58]. As illustrated in Equation (15), the simulated EMG signals with different SNR values could be obtained by changing S n o i s e while keeping S a c t i v i t y constant. Ten different values of SNR were simulated (SNR = 14.41, 14.12, 12.51, 10.59, 8.91, 7.52, 6.38, 5.45, 4.69, and 4.05 dB). For each SNR value, 90 active segments were simulated at one time, for a total of 10 simulations. The simulated EMG signal is shown in Figure 5a.
Therefore, a dataset consisting of 4500 real and 9000 simulated activity segments was created. It should be noted that the labels of the real EMG signals in Figure 5b are described as ‘rough’ labels, as the responsiveness of the experimental device and the steering wheel (ignoring the physiological electro-mechanical delay) determines the temporal bias of the real data labels.

3. Results

3.1. Comparison of the Pooling Functions

Four pooling functions are tested. The performance of the linear softmax pooling function in EONND was very unstable, and the effective threshold selection range was narrow. This meant that the parameter was difficult to tune, so it was excluded from the comparison. In addition, since the F1 score reflects the overall performance of the algorithms, this section takes the F1 score as an example to show the performance trends of different pooling functions in the threshold range of 0.5 to 0.6 for processing different SNR values. Additional details on the performance evaluation can be found in the Supplementary Materials. In particular, data (onset bias, offset bias, precision, recall, and F1 score) are reported separately, and bar diagrams comparing the three pooling functions are also provided.
Figure 6a–c shows the 3D surface plots of F1 score for the three pooling functions with the SNR on the X-axis, the threshold values on the Y-axis, and the F1 score statistics for the detector at the corresponding parameter settings on the Z-axis. Figure 6d shows that the histogram of the detection performance of the three pooling functions varied with SNR under the optimal threshold conditions (max T = 0.53, exp. T = 0.54, ave. T = 0.54). It can be seen that the three pooling functions showed a consistent trend with condition changes, and the exp. and ave. pooling functions had a similar performance, while max pooling was stronger. When EONND obtained the optimal threshold parameter, as shown in Figure 6d, although the peak performance of the three pooling functions was very close at a higher SNR, only with the max pooling function did EONND still maintain a higher F1 score as SNR decreased, indicating that the use of the max pooling function in the EONND framework allows the detector to be more robust to noise.
The same conclusion was drawn from the results tested on real EMG signals. As shown in Figure 7, the performance of EONND with the three pooling functions on the real EMG signals was still the best with the max pooling function. EONND with the max pooling function achieved all three reliability metrics at higher values than the other pooling functions, with smaller deviations.
In terms of detection accuracy, max pooling is still the best choice. Table 1 shows the average values of the detection bias of the three pooling functions for the onset and offset under the optimal threshold parameters. Three phenomena can be observed from Table 1: (1) The exp. and ave. pooling functions had similar accuracy, while max pooling showed a better performance; (2) For the simulated signals, the detection of the offset points was more accurate than the onset points; (3) For real EMG signals, the accuracy of the onset points was higher than the offset points.
In summary, by testing four pooling functions, max pooling should be used as the best matching choice for EONND. The following section will compare the performance of EONND with the max pooling function against several popular EMG activity detectors to highlight the effectiveness of the proposed method in this paper.

3.2. Comparison of EONND with Popular Detectors

EONND is an energy-operator-based method, and, as a reference, the traditional TKEO method and a variant version, MTEO, are used for comparison [34,36]. Other detectors used for comparison were the Envelope method, the Pelt method, the Biosppy method [59], the Silva method [60], and the traditional amplitude-based method. Among them, Pelt detector and Silva detector were excluded first for their poor performance on the test data.
The TKEO and MTEO use a double-threshold detector after full-wave rectification; for details of the detector parameters, refer to [34,36]. The Envelope method first requires noise reduction of the signal through a fourth-order 100 Hz high-pass Butterworth filter followed by a constant detrending, then the signal is conditioned by the TKEO, and finally the envelope of the signal is obtained by second-order Butterworth filter with zero lag to complete the complex signal pre-processing [56]. Based on the above reduction of signal noise, Biosppy also needs to perform a two-step operation of full-wave rectification and sliding average. The amplitude-based method is based on noise reduction by a fourth-order 100 Hz high-pass Butterworth filter and detrending, followed by a sliding average to smooth the signal and the square of the filtered sample points as signal features, and, finally, a double-threshold detector for classification. For convenience, the above detectors are named abs_TKEO, abs_MTEO, Biosppy, ENV, and AMP, respectively. In addition, all algorithms require threshold parameters. For the experimental data in this paper, the method of automatic threshold update based on SNR [32,61] was not very effective, so before proposing an effective mutual mapping relationship between the threshold and signal features, this paper determined the threshold by the traversal method. Figure 8 and Figure 9 show the schematic diagrams of the detection results of the six detectors for the simulated and real EMG signals, respectively. As shown in Figure 8 and Figure 9, each detector had different requirements for signal pre-processing, resulting in significant changes in signal features, with Biosppy being the closest to the raw EMG signal.
Figure 10 illustrates the performance of the six detectors on simulated and real data. As shown in Figure 10a, for Precision, EONND achieved the highest Precision when the SNR was high, but as the SNR decreased, the Precision values of EONND decreased slightly and were surpassed by Biosppy, indicating that Biosppy has a low false detection rate for the change-point detection of noise-containing signals. The Precision values of the TKEO and MTEO were between those of EONND and Biosppy, and MTEO performed better. Figure 10b shows that, although the ENV method had the highest Recall for signals with a high SNR, the performance of the ENV method decreased significantly as the SNR decreased, and it was gradually surpassed by other detectors. As the SNR continued to decrease, the Recall values of Biosppy also decreased significantly, while the performance of the energy-operator-based detectors was relatively stable, with EONDD being the best, which indicated that EONND had fewer missed detection problems due to the decrease in SNR. Figure 10c illustrates that the overall performance of EONND was significantly better than the other detectors, especially in scenarios wherein the SNR was below 7 dB. Figure 10d shows the performance of the detectors under real EMG signal conditions. Although EONND was still the best performing detector, the statistical metric, F1 score, only achieved 77.46%, but with 98.75% Precision. The reason for this phenomenon is analyzed in detail in the Discussion section.
Table 2 gives the comparison results of the accuracy of all detectors. For onset points, the “energy”-based methods did not change significantly as the SNR decreased and were relatively stable, with EONND being obviously more accurate. The bias of Biosppy gradually increased, and the performance of the ENV method was very extreme; when the SNR was high (SNR > 12 dB), the accuracy of ENV was substantially better than the other methods, but after the SNR fell below 10 dB, almost no accurate change points were detected. In terms of offset points, the performance of ENV showed a similar trend to that of onset detection; Biosppy had a good detection accuracy for signals with SNR > 5 dB, but as the SNR continued to decrease, the performance of Biosppy also decreased significantly. EONND maintained a low detection bias, and, as the SNR decreased, the detection accuracy of EONND for offset points only showed a small increase in bias. For the detection of real EMG signals, EONND had the smallest detection bias, indicating the highest accuracy.

3.3. Comparison of Running Time

The runtime is an important consideration for EMG change-point-detection algorithms, especially in real-time applications or when they are deployed on low computing power devices. In this experiment, we deployed all algorithms via Python 3.9.12 on a PC platform with a CPU of i5-5200U @ 2.20 GHz and 8 GB (1600 MHz) of RAM. Ninety EMG signal activity detections were executed on the same simulated signal to obtain the total running time, as well as the average running time. The statistical results are shown in Table 3.
As shown in Table 3, the running time of the “energy”-based methods was much lower than that of Biosppy and ENV, and EONND was close to the traditional TKEO and lower than MTEO, indicating that the proposed combination of multi-resolution energy operators and neural networks has lower computational complexity. It should be noted that the running time in Table 3 is only the time taken by the algorithm to detect the change-points and does not include the time to perform any pre-processing of the signal. From the perspective of calculation complexity, the threshold method is the simplest one to implement, since the algorithm only needs to compare instant signal amplitude to a predefined threshold [11]. Therefore, the running time of the “energy”-based methods was much shorter than that of ENV, which was sufficient to demonstrate the advantage of the low computational complexity of the energy operator methods.

4. Discussion

Based on our previous analyses, EONND showed better reliability and accuracy than other detectors on simulated and real EMG. According to the results, five additional issues need to be discussed in detail.
  • The reason for the good robustness of EONND.
Although the detector proposed in this paper was not specifically designed with an adaptive mechanism, the special neural network structure of EONND can indirectly give EONND some adaptiveness by pooling multiple energy operator features from the output of the “convolutional” layer (this is not a real convolutional layer but shows the position relationship). Therefore, EONND with the max pooling function still maintained a high change-point-detection performance for signals with very low SNR. In addition, the baseline segments of low SNR signals contain a lot of noise, which seriously affects the accuracy of the traditional threshold-based methods to determine the threshold values by obtaining the baseline segment features. EONND does not require any prior knowledge of the signal for change-point detection and is not disturbed by noise in the baseline segments. This is because EONND is essentially equivalent to a trained neural network. Therefore, EONND has a strong advantage in the processing of low SNR signals.
2.
The issue of setting EONND hyperparameters.
In the EONND method proposed in this paper, the parameters of the “convolution” layer were fixed by a multi-resolution energy operator; therefore, updating the parameters through training was not required. However, in practice, EONND still has two hyperparameters that need to be set or tuned in advance; the energy operator scale factor k and the threshold T . The scale factor k of the energy operators determines how many sampling points can be observed by EONND at a time. Since this is a preliminary exploration, this paper did not discuss the issue of how to obtain the optimal value of k . Instead, we directly set the value recommended by relevant studies, i.e., k = 15 , because such a setting can cover the frequency of EMG signals [47,48]. For the problem of setting the threshold T, we used the traversal method to predict the value. The traversal method requires a certain amount of data with labels, but not as much data as required by the neural network algorithms. As the SNR of the simulated signal decreased, the detection performance of EONND did not show significant degradation, indicating that EONDD also has good performance under a fixed threshold value. It should be noted that the optimal threshold values for real and simulated signals are different ( T real = 0.506 , T simulated = 0.53 ). Therefore, the development of an automatic mapping mechanism between the threshold and signal will be the focus of future research.
3.
The problem of abnormal accuracy performance statistics.
When the detection accuracy metrics of the simulated EMG were counted, an abnormal scenario with bias values of 0 occurred, indicating that the detection values did not deviate from the ground truth. It is important to note that this result only represents a performance trend, as such accuracy is almost impossible to achieve when dealing with real-world signals. In addition, all detectors had a higher detection accuracy for the offset points than for the onset points, but according to previous studies [62] and the detection of real EMG signals in this paper, the normal phenomenon for the detection of real EMG signals should be higher accuracy for onset than for offset, which is determined by MUAPs discharge characteristics. However, the simulated signal simplified the signal model and therefore produced the opposite result. Although there was a deviation between the study approach using simulated signals and that using real EMG signals, it is this deviation that precisely validated the generalization performance of EONND in processing different types of signals, providing the possibility to expand EONND to other signal areas (such as speech, ECG, EEG, etc.). Therefore, the study approach using simulated signals can still reflect the performance differences between detectors.
4.
Performance metrics show significant degradation on real data.
The detection results of the simulated data were significantly better than the real data, both in terms of reliability and accuracy metrics. There are two reasons for this phenomenon: (1) the device used to synchronize the onset and offset time labels and (2) the way the confusion matrix used to calculate the statistical metrics was constructed. As mentioned above, the real-world data for this paper were collected during an experiment based on steering wheel rotation. Since the temporal bias of the algorithm was heavily dependent on the responsiveness of the steering wheel (ignoring the physiological electro-mechanical delay) and the rotational torque of the steering wheel affected the features of the EMG signals, low values of the statistical metrics resulted.
Figure 11a illustrates a raw EMG signal and the onset and offset points labelled by the motion data acquired through the game steering wheel. With Figure 11a as a reference, Figure 11b–g shows the detection results of the six detectors. The vertical solid lines are the ground truth values, while the vertical dashed lines are the change points detected by the detectors. Since the ground truth values were automatically labelled by the experimental equipment, they were more objective than the manual labelling carried out by human experts. However, it is obvious that there was a period of EMG silence during the muscle voluntary contraction, called the silent period (SP) [63]. All sampling points in the SP were classified as FN by the confusion matrix. Therefore, for the real data, the performance metric Recall was significantly lower than the simulated data, as was the F1 score for the same reason. Nevertheless, the Precision of EONND was 98.75% (as shown in Figure 10d), indicating that the false detection rate of EONND was quite low.
5.
EONND applicability issues.
With the current proliferation of wearable devices, it is valuable to build an algorithmic framework with low computational complexity for low-computing-power devices. The efficiency of EONND has been demonstrated by comparison with simple methods. EONND operates almost as fast as the scheme combining the TKEO with a threshold detector and about 56% faster than the scheme combining the MTEO with a threshold detector. In addition, EONND does not require any prior knowledge about the noise segment of the signal, which is advantageous for the application of EONND to other signals with change-point detection tasks (e.g., speech signals, ECG, EEG, etc.).

5. Conclusions

This paper presents a novel EMG change-point detector, EONND. Unlike the previous approaches that use only energy operators as a pre-processing technique, EONND maps the computational relationships of energy-operator-processing sampling points to the computational operations between neurons of neural networks. As a result, EONND is able to perform the change-points detection task in a form similar to that of a trained neural network. The method proposed in this paper not only has the ability to condition the signal using a multi-resolution energy operator but also inherits the nonlinear property of neural networks while improving the detection efficiency. The performance of EONND was tested under multiple signal conditions (simulated and real signals, signals with multiple SNRs). Compared with multiple detectors, EONND showed significant advantages in terms of reliability, accuracy, and computational speed. In particular, EONND operated almost as fast as the conventional TKEO, indicating that the detector proposed in this paper had a lower computational complexity than the conventional threshold method. In future work, we need to further investigate the optimization mechanism of hyperparameters to further enhance the generalization performance of the algorithm. We expect that the proposed method will be helpful for EMG change-point detection and will provide ideas for studies related to the extraction of temporal information on muscle activity.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/app13020923/s1, Supplementary File S1: Comparison of pooling functions; Supplementary File S2: Comparison of detectors; Figure S1: Comparison of running times.

Author Contributions

Conceptualization, S.W. and S.Z.; methodology, S.W.; software, S.W.; validation, S.W., S.Z. and Z.S.; investigation, S.W.; resources, S.Z. and Z.S.; data curation, Z.S.; writing—original draft preparation, S.W.; writing—review and editing, S.W.; visualization, S.W.; supervision, S.Z. and Z.S.; project administration, S.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the University–Industry Collaborative Education Program of the Ministry of Education under grant number 201702145024.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

This study was supported by the ‘Scientific Research Support’ project provided by Kingfar International Inc. We would like to give our thanks for the research technical and ErgoLAB Man-Machine-Environment Testing Cloud Platform-related scientific research equipment support of the Kingfar project team. The authors have confirmed that any identifiable participants in this study have given their consent for publication.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dai, C.; Hu, X. Independent Component Analysis Based Algorithms for High-Density Electromyogram Decomposition: Systematic Evaluation through Simulation. Comput. Biol. Med. 2019, 109, 171–181. [Google Scholar] [CrossRef] [PubMed]
  2. Zhang, X.; Li, X.; Samuel, O.W.; Huang, Z.; Fang, P.; Li, G. Improving the Robustness of Electromyogram-Pattern Recognition for Prosthetic Control by a Postprocessing Strategy. Front. Neurorobot. 2017, 11, 51. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Wang, F.; Wei, X.; Guo, J.; Zheng, Y.; Li, J.; Du, S. Research Progress of Rehabilitation Exoskeletal Robot and Evaluation Methodologies Based on Bioelectrical Signals. In Proceedings of the 2019 IEEE 9th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems (CYBER), Suzhou, China, 29 July–2 August 2019; pp. 826–831. [Google Scholar]
  4. Zhao, J.; She, J.; Wang, D.; Fukushima, E.F.; Wu, M.; Hashimoto, H. Evaluation of Lower-Limb Rehabilitation Based on Muscle Fatigue. In Proceedings of the 2018 IEEE 27th International Symposium on Industrial Electronics (ISIE), Cairns, Australia, 12–15 June 2018; pp. 1106–1111. [Google Scholar]
  5. Badani, S.; Saha, S.; Kumar, A.; Chatterjee, S.; Bose, R. Detection of Epilepsy Based on Discrete Wavelet Transform and Teager-Kaiser Energy Operator. In Proceedings of the 2017 IEEE Calcutta Conference (CALCON), Kolkata, India, 2–3 December 2017; pp. 164–167. [Google Scholar]
  6. Vigotsky, A.D.; Halperin, I.; Lehman, G.J.; Trajano, G.S.; Vieira, T.M. Interpreting Signal Amplitudes in Surface Electromyography Studies in Sport and Rehabilitation Sciences. Front. Physiol. 2018, 8, 985. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Abe, S.; Nozawa, T.; Kondo, T. A Proposal of EMG-Based Training Support System for Basketball Dribbling. In Human Interface and the Management of Information. Designing Information Environments; Lecture Notes in Computer Science; Smith, M.J., Salvendy, G., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; Volume 5617, pp. 459–465. ISBN 978-3-642-02555-6. [Google Scholar]
  8. Chen, C.; Yu, Y.; Sheng, X.; Farina, D.; Zhu, X. Simultaneous and Proportional Control of Wrist and Hand Movements by Decoding Motor Unit Discharges in Real Time. J. Neural Eng. 2021, 18, 056010. [Google Scholar] [CrossRef] [PubMed]
  9. Chopra, T. Ultra-Low Latency in Human-Machine Interfacing Using EMG Onset Detection and Pattern Recognition. Master’s Thesis, University of Waterloo, Waterloo, ON, Canada, 2021. [Google Scholar]
  10. Farina, D.; Vujaklija, I.; Sartori, M.; Kapelner, T.; Negro, F.; Jiang, N.; Bergmeister, K.; Andalib, A.; Principe, J.; Aszmann, O.C. Man/Machine Interface Based on the Discharge Timings of Spinal Motor Neurons after Targeted Muscle Reinnervation. Nat. Biomed. Eng. 2017, 1, 0025. [Google Scholar] [CrossRef] [Green Version]
  11. Yang, D.; Zhang, H.; Gu, Y.; Liu, H. Accurate EMG Onset Detection in Pathological, Weak and Noisy Myoelectric Signals. Biomed. Signal Process. Control 2017, 33, 306–315. [Google Scholar] [CrossRef]
  12. Merletti, R.; Cerone, G.L. Tutorial. Surface EMG Detection, Conditioning and Pre-Processing: Best Practices. J. Electromyogr. Kinesiol. 2020, 54, 102440. [Google Scholar] [CrossRef]
  13. Ozgunen, K.T.; Celik, U.; Kurdak, S.S. Determination of an Optimal Threshold Value for Muscle Activity Detection in EMG Analysis. J. Sports Sci. Med. 2010, 9, 620–628. [Google Scholar]
  14. Wang, S.-Y.; Aziz, T.Z.; Stein, J.F.; Liu, X. Time–Frequency Analysis of Transient Neuromuscular Events: Dynamic Changes in Activity of the Subthalamic Nucleus and Forearm Muscles Related to the Intermittent Resting Tremor. J. Neurosci. Methods 2005, 145, 151–158. [Google Scholar] [CrossRef]
  15. Davies, M.R.; Reisman, S.S. Time Frequency Analysis of the Electromyogram during Fatigue. In Proceedings of the 1994 20th Annual Northeast Bioengineering Conference, Springfield, MA, USA, 17–18 March 1994; pp. 93–95. [Google Scholar]
  16. Merlo, A.; Farina, D.; Merletti, R. A Fast and Reliable Technique for Muscle Activity Detection from Surface EMG Signals. IEEE Trans. Biomed. Eng. 2003, 50, 316–323. [Google Scholar] [CrossRef]
  17. Restrepo-Agudelo, S.; Roldan-Vasco, S.; Ramirez-Arbelaez, L.; Cadavid-Arboleda, S.; Perez-Giraldo, E.; Orozco-Duque, A. Improving Surface EMG Burst Detection in Infrahyoid Muscles during Swallowing Using Digital Filters and Discrete Wavelet Analysis. J. Electromyogr. Kinesiol. 2017, 35, 1–8. [Google Scholar] [CrossRef]
  18. Vannozzi, G.; Conforto, S.; D’Alessio, T. Automatic Detection of Surface EMG Activation Timing Using a Wavelet Transform Based Method. J. Electromyogr. Kinesiol. 2010, 20, 767–772. [Google Scholar] [CrossRef]
  19. Sebastian, R.-V.; Estefania, P.-G.; Andres, O.-D. Scalogram-Energy Based Segmentation of Surface Electromyography Signals from Swallowing Related Muscles. Comput. Methods Programs Biomed. 2020, 194, 105480. [Google Scholar] [CrossRef]
  20. Ghislieri, M.; Cerone, G.L.; Knaflitz, M.; Agostini, V. Long Short-Term Memory (LSTM) Recurrent Neural Network for Muscle Activity Detection. J. Neuroeng. Rehabil. 2021, 18, 153. [Google Scholar] [CrossRef]
  21. Akef Khowailed, I.; Abotabl, A. Neural Muscle Activation Detection: A Deep Learning Approach Using Surface Electromyography. J. Biomech. 2019, 95, 109322. [Google Scholar] [CrossRef]
  22. Tenan, M.S.; Tweedell, A.J.; Haynes, C.A. Analysis of Statistical and Standard Algorithms for Detecting Muscle Onset with Surface Electromyography. PLoS ONE 2017, 12, e0177312. [Google Scholar] [CrossRef]
  23. Selvan, S.E.; Allexandre, D.; Amato, U.; Yue, G.H. Unsupervised Stochastic Strategies for Robust Detection of Muscle Activation Onsets in Surface Electromyogram. IEEE Trans. Neural Syst. Rehabil. Eng. 2018, 26, 1279–1291. [Google Scholar] [CrossRef]
  24. Suviseshamuthu, E.S.; Allexandre, D.; Amato, U.; Vecchia, B.D.; Yu, G.H. PROLIFIC: A Fast and Robust Profile-Likelihood-Based Muscle Onset Detection in Electromyogram Using Discrete Fibonacci Search. IEEE Access 2020, 8, 105362–105375. [Google Scholar] [CrossRef]
  25. Jeske, D.R.; Montes De Oca, V.; Bischoff, W.; Marvasti, M. Cusum Techniques for Timeslot Sequences with Applications to Network Surveillance. Comput. Stat. Data Anal. 2009, 53, 4332–4344. [Google Scholar] [CrossRef]
  26. Elsayed, S.; Thyssens, D.; Rashed, A.; Jomaa, H.S.; Schmidt-Thieme, L. Do We Really Need Deep Learning Models for Time Series Forecasting? arXiv 2021, arXiv:2101.02118. [Google Scholar]
  27. Teager, H.M.; Teager, S.M. Evidence for Nonlinear Sound Production Mechanisms in the Vocal Tract. In Speech Production and Speech Modelling; Hardcastle, W.J., Marchal, A., Eds.; Springer: Dordrecht, The Netherlands, 1990; pp. 241–261. ISBN 978-94-010-7414-8. [Google Scholar]
  28. Kaiser, J.F. On a Simple Algorithm to Calculate the “energy” of a Signal. In Proceedings of the International Conference on Acoustics, Speech, and Signal Processing, Albuquerque, NM, USA, 3–6 April 1990; pp. 381–384. [Google Scholar]
  29. Crotty, E.D.; Furlong, L.-A.M.; Hayes, K.; Harrison, A.J. Onset Detection in Surface Electromyographic Signals across Isometric Explosive and Ramped Contractions: A Comparison of Computer-Based Methods. Physiol. Meas. 2021, 42, 035010. [Google Scholar] [CrossRef] [PubMed]
  30. Solnik, S.; Devita, P.; Rider, P.; Long, B.; Hortobagyi, T. Teager-Kaiser Operator Improves the Accuracy of EMG Onset Detection Independent of Signal-to-Noise Ratio. Acta Bioeng. Biomech. 2008, 10, 65–68. [Google Scholar] [PubMed]
  31. Solnik, S.; Rider, P.; Steinweg, K.; DeVita, P.; Hortobágyi, T. Teager–Kaiser Energy Operator Signal Conditioning Improves EMG Onset Detection. Eur. J. Appl. Physiol. 2010, 110, 489–498. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  32. Bengacemi, H.; Abed-Meraim, K.; Buttelli, O.; Ouldali, A.; Mesloub, A. A New Detection Method for EMG Activity Monitoring. Med. Biol. Eng. Comput. 2020, 58, 319–334. [Google Scholar] [CrossRef] [PubMed]
  33. Kaur, A.; Agarwal, R.; Kumar, A. Adaptive Threshold Method for Peak Detection of Surface Electromyography Signal from around Shoulder Muscles. J. Appl. Stat. 2018, 45, 714–726. [Google Scholar] [CrossRef]
  34. Rashid, U.; Niazi, I.K.; Signal, N.; Farina, D.; Taylor, D. Optimal Automatic Detection of Muscle Activation Intervals. J. Electromyogr. Kinesiol. 2019, 48, 103–111. [Google Scholar] [CrossRef]
  35. Li, X.; Aruin, A.S. Muscle Activity Onset Time Detection Using Teager-Kaiser Energy Operator. In Proceedings of the 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference, Shanghai, China, 1–4 September 2005; pp. 7549–7552. [Google Scholar]
  36. Wang, S.; Zhu, S.; Shang, Z. Comparison of Different Algorithms Based on TKEO for EMG Change Point Detection. Physiol. Meas. 2022, 43, 075001. [Google Scholar] [CrossRef]
  37. Tigrini, A.; Mengarelli, A.; Cardarelli, S.; Fioretti, S.; Verdini, F. Improving EMG Signal Change Point Detection for Low SNR by Using Extended Teager-Kaiser Energy Operator. IEEE Trans. Med. Robot. Bionics 2020, 2, 661–669. [Google Scholar] [CrossRef]
  38. Jabloun, M. A New Generalization of the Discrete Teager-Kaiser Energy Operator—Application to Biomedical Signals. In Proceedings of the 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), New Orleans, LA, USA, 5–9 March 2017; pp. 4153–4157. [Google Scholar]
  39. Wu, K.; Zhang, D.; Lu, G. GMAT: Glottal Closure Instants Detection Based on the Multiresolution Absolute Teager–Kaiser Energy Operator. Digit. Signal Process. 2017, 69, 286–299. [Google Scholar] [CrossRef]
  40. Kerkeni, L.; Serrestou, Y.; Raoof, K.; Mbarki, M.; Mahjoub, M.A.; Cleder, C. Automatic Speech Emotion Recognition Using an Optimal Combination of Features Based on EMD-TKEO. Speech Commun. 2019, 114, 22–35. [Google Scholar] [CrossRef]
  41. Rankawat, S.A.; Rankawat, M.; Dubey, R. ECG Artifacts Detection in Noncardiovascular Signals Using Slope Sum Function and Teager Kaiser Energy. In Proceedings of the 2015 International Conference on BioSignal Analysis, Processing and Systems (ICBAPS), Kuala Lumpur, Malaysia, 26–28 May 2015. [Google Scholar]
  42. Braut, S.; Žigulić, R.; Rončević, G.Š.; Skoblar, A. Rotor-Stator Partial Rub Detection Based on Teager-Huang Transform. In Proceedings of the 10th International Conference on Rotor Dynamics—IFToMM; Mechanisms and Machine Science; Cavalca, K.L., Weber, H.I., Eds.; Springer International Publishing: Cham, Switzerland, 2019; Volume 61, pp. 252–264. ISBN 978-3-319-99267-9. [Google Scholar]
  43. Xu, Y.; Wang, Y.; Lingzhi, W.; Qu, J. Bearing Fault Detection Using an Alternative Analytic Energy Operator: A Fast and Non-Filtering Method. Meas. Sci. Technol. 2021, 32, 105101. [Google Scholar] [CrossRef]
  44. Gałęzia, A.; Gryllias, K. Application of the Combined Teager-Kaiser Envelope for Bearing Fault Diagnosis. Measurement 2021, 182, 109710. [Google Scholar] [CrossRef]
  45. Wang, Y.; Gu, L.; Qing, L.; Xu, X.; Shen, J. An Improved K-Value Symmetrical Difference Analytic Energy Operator with HTFIF and L-KCA for Bearing Fault Diagnosis. IEEE Access 2021, 9, 34307–34324. [Google Scholar] [CrossRef]
  46. Kumaresan, R.; Sadasiv, A.G.; Ramalingam, C.S.; Kaiser, J.F. Instantaneous Non-Linear Operators for Tracking Multicomponent Signal Parameters. In Proceedings of the 1992 IEEE Sixth SP Workshop on Statistical Signal and Array Processing, Victoria, BC, Canada, 7–9 October 1992; pp. 404–407. [Google Scholar]
  47. Boudraa, A.-O.; Salzenstein, F. Teager–Kaiser Energy Methods for Signal and Image Analysis: A Review. Digit. Signal Process. 2018, 78, 338–375. [Google Scholar] [CrossRef]
  48. Choi, J.H.; Jung, H.K.; Kim, T. A New Action Potential Detector Using the MTEO and Its Effects on Spike Sorting Systems at Low Signal-to-Noise Ratios. IEEE Trans. Biomed. Eng. 2006, 53, 738–746. [Google Scholar] [CrossRef]
  49. Choi, J.H.; Kim, T. Neural Action Potential Detector Using Multi-Resolution TEO. Electron. Lett. 2002, 38, 541. [Google Scholar] [CrossRef]
  50. Schmidhuber, J. Deep Learning in Neural Networks: An Overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef] [Green Version]
  51. LeCun, Y.; Bengio, Y.; Hinton, G. Deep Learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
  52. Tang, B.; Pan, Z.; Yin, K.; Khateeb, A. Recent Advances of Deep Learning in Bioinformatics and Computational Biology. Front. Genet. 2019, 10, 214. [Google Scholar] [CrossRef] [Green Version]
  53. Wang, Y.; Li, J.; Metze, F. A Comparison of Five Multiple Instance Learning Pooling Functions for Sound Event Detection with Weak Labeling. In Proceedings of the ICASSP 2019—2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK, 12–17 May 2019; pp. 31–35. [Google Scholar]
  54. Merletti, R.; Farina, D. Surface Electromyography: Physiology, Engineering and Applications; The Institute of Electrical and Electronics Engineers: Piscataway, NJ, USA, 2016; ISBN 978-1-118-98702-5. [Google Scholar]
  55. Naik, G.R.; Arjunan, S.; Kumar, D. Applications of ICA and Fractal Dimension in SEMG Signal Processing for Subtle Movement Analysis: A Review. Australas. Phys. Eng. Sci. Med. 2011, 34, 179–193. [Google Scholar] [CrossRef]
  56. Makowski, D.; Pham, T.; Lau, Z.J.; Brammer, J.C.; Lespinasse, F.; Pham, H.; Schölzel, C.; Chen, S.H.A. NeuroKit2: A Python Toolbox for Neurophysiological Signal Processing. Behav. Res. 2021, 53, 1689–1696. [Google Scholar] [CrossRef] [PubMed]
  57. Chowdhury, R.; Reaz, M.; Ali, M.; Bakar, A.; Chellappan, K.; Chang, T. Surface Electromyography Signal Processing and Classification Techniques. Sensors 2013, 13, 12431–12466. [Google Scholar] [CrossRef] [PubMed]
  58. Xu, Q.; Quan, Y.; Yang, L.; He, J. An Adaptive Algorithm for the Determination of the Onset and Offset of Muscle Contraction by EMG Signal Processing. IEEE Trans. Neural Syst. Rehabil. Eng. 2013, 21, 65–73. [Google Scholar] [CrossRef] [PubMed]
  59. Carreiras, C.; Alves, A.P.; Lourenço, A.; Canento, F.; Silva, H.; Fred, A. BioSPPy—Biosignal Processing in Python. 2015. Available online: https://github.com/PIA-Group/BioSPPy/ (accessed on 11 December 2022).
  60. Silva, H.; Scherer, R.; Sousa, J.; Londral, A. Towards Improving the Usability of Electromyographic Interfaces. In Converging Clinical and Engineering Research on Neurorehabilitation; Biosystems & Biorobotics; Pons, J.L., Torricelli, D., Pajaro, M., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; Volume 1, pp. 437–441. ISBN 978-3-642-34545-6. [Google Scholar]
  61. Bengacemi, H.; Mesloub, A.; Ouldali, A.; Abed-Meraim, K. Adaptive Linear Energy Detector Based on Onset and Offset Electromyography Activity Detection. In Proceedings of the 2017 6th International Conference on Systems and Control (ICSC), Batna, Algeria, 7–9 May 2017; pp. 409–413. [Google Scholar]
  62. Kang, K.; Rhee, K.; Shin, H.-C. Event Detection of Muscle Activation Using an Electromyogram. Appl. Sci. 2020, 10, 5593. [Google Scholar] [CrossRef]
  63. Škarabot, J.; Mesquita, R.N.O.; Brownstein, C.G.; Ansdell, P. Myths and Methodologies: How Loud Is the Story Told by the Transcranial Magnetic Stimulation-evoked Silent Period? Exp. Physiol. 2019, 104, 635–642. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the correspondence between the functional modules of CNN and traditional change-point detector algorithms.
Figure 1. Schematic diagram of the correspondence between the functional modules of CNN and traditional change-point detector algorithms.
Applsci 13 00923 g001
Figure 2. The architecture of EONND.
Figure 2. The architecture of EONND.
Applsci 13 00923 g002
Figure 3. Schematic diagram of CONV.
Figure 3. Schematic diagram of CONV.
Applsci 13 00923 g003
Figure 4. Pooling functions.
Figure 4. Pooling functions.
Applsci 13 00923 g004
Figure 5. Schematic of the signal acquisition method and the raw EMG data with labels. (a) The simulated EMG signal with precise labels and (b) the real EMG signal with rough labels. The green vertical line is the ground truth of the onset points, and the red vertical line is the ground truth of the offset points. The left part of the figure illustrates the data source.
Figure 5. Schematic of the signal acquisition method and the raw EMG data with labels. (a) The simulated EMG signal with precise labels and (b) the real EMG signal with rough labels. The green vertical line is the ground truth of the onset points, and the red vertical line is the ground truth of the offset points. The left part of the figure illustrates the data source.
Applsci 13 00923 g005
Figure 6. Comparison of the effect of max, exp., and average pooling functions on the EONND framework at different SNRs.
Figure 6. Comparison of the effect of max, exp., and average pooling functions on the EONND framework at different SNRs.
Applsci 13 00923 g006
Figure 7. Performance comparison of the three pooling functions on real EMG signals.
Figure 7. Performance comparison of the three pooling functions on real EMG signals.
Applsci 13 00923 g007
Figure 8. Schematic diagram of the detection results of the six detectors on the simulated EMG signal. (a) The raw data with labels. (bg) Detection results of the six detectors. The green vertical lines and red vertical lines represent the onset points and offset points detected by the detectors, respectively. “abs_” stands for full-wave rectification.
Figure 8. Schematic diagram of the detection results of the six detectors on the simulated EMG signal. (a) The raw data with labels. (bg) Detection results of the six detectors. The green vertical lines and red vertical lines represent the onset points and offset points detected by the detectors, respectively. “abs_” stands for full-wave rectification.
Applsci 13 00923 g008
Figure 9. Schematic of the detection results of the detectors on the real EMG signal. (a) The raw data with labels. (bg) Detection results of the six detectors.
Figure 9. Schematic of the detection results of the detectors on the real EMG signal. (a) The raw data with labels. (bg) Detection results of the six detectors.
Applsci 13 00923 g009
Figure 10. Comparison of reliability metrics of detectors on simulated and real EMG signals. (ac) Reliability statistics of all compared detectors for the detection of simulated EMG signals with different SNRs; (d) Reliability statistics of the detectors for the detection of real EMG signals.
Figure 10. Comparison of reliability metrics of detectors on simulated and real EMG signals. (ac) Reliability statistics of all compared detectors for the detection of simulated EMG signals with different SNRs; (d) Reliability statistics of the detectors for the detection of real EMG signals.
Applsci 13 00923 g010
Figure 11. Comparison of detection results of six detectors on real EMG signals. Subplot (a) shows the raw EMG signal with ground truth labels; (bg) are schematic diagrams of the differences between the detection results and ground truth labels. The dashed vertical lines are the change points detected by the detectors.
Figure 11. Comparison of detection results of six detectors on real EMG signals. Subplot (a) shows the raw EMG signal with ground truth labels; (bg) are schematic diagrams of the differences between the detection results and ground truth labels. The dashed vertical lines are the change points detected by the detectors.
Applsci 13 00923 g011
Table 1. Onset/offset bias averaged over the simulated EMG data for each value of SNR and for each pooling function.
Table 1. Onset/offset bias averaged over the simulated EMG data for each value of SNR and for each pooling function.
SNR (dB)Onset Bias (ms)Offset Bias (ms)
Max T = 0.53Exp. T = 0.54Ave. T = 0.54Max T = 0.53Exp. T = 0.54Ave. T = 0.54
14.4116.5925.5525.550.160.320.33
14.1217.0025.1425.140.200.370.37
12.5117.3825.5325.530.310.490.54
10.5917.1026.1726.170.360.510.51
8.9117.3927.4427.440.430.600.60
7.5217.9028.1628.000.760.840.80
6.3816.6927.9527.950.621.321.27
5.4515.0725.2425.240.522.172.17
4.6914.0523.9423.611.292.632.76
4.0512.5322.7322.731.272.832.83
Real EMG102.37 ± 19.01117.25 ± 21.95120.73 ± 23.43204.54 ± 71.65218.28 ± 80.71231.30 ± 85.87
T represents the threshold parameter.
Table 2. Onset/offset bias averaged over the simulated EMG data for each value of SNR and for each EMG activity detector.
Table 2. Onset/offset bias averaged over the simulated EMG data for each value of SNR and for each EMG activity detector.
SNR (dB)EONNDabs_TKEOabs_MTEOAMPBiosppyENV
Onset bias (ms)14.4116.5930.628.4631.3626.431.73
14.1217.0030.3410.8731.3327.061.78
12.5117.3829.741429.6328.161.16
10.5917.1027.4719.5426.9429.3917.66
8.9117.3926.4925.2126.7230.77[‘Nan’]
7.5217.9027.4227.5727.132.37[‘Nan’]
6.3816.6928.7329.9628.5334.21[‘Nan’]
5.4515.0729.8834.2030.7235.22[‘Nan’]
4.6914.0531.8937.0532.7538.55[‘Nan’]
4.0512.5334.8740.2633.7840.44[‘Nan’]
Real EMG102.37 ± 19.01144.22 ± 25.77126.17 ± 21.96187.54 ± 33.65177.32 ± 35.65166.54 ± 52.35
Offset bias (ms)14.410.160.000.000.030.000.00
14.120.200.010.000.030.000.00
12.510.310.030.000.030.000.00
10.590.360.090.080.090.000.00
8.910.430.130.090.250.04[‘Nan’]
7.520.760.210.260.230.28[‘Nan’]
6.380.620.240.360.261.85[‘Nan’]
5.450.520.41.070.521.81[‘Nan’]
4.691.292.222.891.036.17[‘Nan’]
4.051.274.388.064.3713.31[‘Nan’]
Real EMG204.54 ± 71.65246.83 ± 85.22221.09 ± 77.47264.23 ± 81.28257.31 ± 77.85252.34 ± 78.43
[‘Nan’] represents undetected.
Table 3. Running time comparisons.
Table 3. Running time comparisons.
MethodsEONNDabs_MTEOabs_TKEOAMPBiosppyENV
Total165.6 ± 14.31 ms374.8 ± 19.19 ms162.6 ± 13.92 ms500 ± 57.22 ms16.56 ± 0.65 s19.54 ± 0.62 s
Mean1.84 ms4.16 ms1.8 ms5.56 ms183 ms217.11 ms
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, S.; Zhu, S.; Shang, Z. A Novel Combination Method of a Convolutional Neural Network and Energy Operators for the Detection of Change-Points in Electromyographic Signals. Appl. Sci. 2023, 13, 923. https://doi.org/10.3390/app13020923

AMA Style

Wang S, Zhu S, Shang Z. A Novel Combination Method of a Convolutional Neural Network and Energy Operators for the Detection of Change-Points in Electromyographic Signals. Applied Sciences. 2023; 13(2):923. https://doi.org/10.3390/app13020923

Chicago/Turabian Style

Wang, Shenglin, Shifan Zhu, and Zhen Shang. 2023. "A Novel Combination Method of a Convolutional Neural Network and Energy Operators for the Detection of Change-Points in Electromyographic Signals" Applied Sciences 13, no. 2: 923. https://doi.org/10.3390/app13020923

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop