Introduction

Electrical signal detected during muscle contraction is called the myoelectric signal. Some properties of this signal represent myoelectrical manifestation of muscle fatigue [1]. Surface electromyography (sEMG) signals give useful information about transformations in the muscle, which is used for localised muscle fatigue analysis [24]. Manifestation of muscle fatigue is usually investigated in terms of signal amplitude, muscle fibre conduction velocity (MFCV) and the frequency content of the signal. During non-isometric contractions (muscle length and tension change) the characteristic of the signal amplitude and the frequency content of the signal are affected by several factors [5], such as the position of active detectable motor units with respect to the electrodes, different limb states (e.g., joint angles) and the non-stationary nature of sEMG signal. These factors directly affect sEMG signal properties and may interfere with the detection of localised muscle fatigue.

Research on sEMG signals found that the onset of muscle fatigue correlate with changes in amplitude and median frequency (Med F) [6]. One study detected that a significant decline in the signal’s Instantaneous Median Frequency (IMDF) is the manifestation of fatigue occurrence [7].

The discrete wavelet transform (DWT) is a joint time-frequency technique. This method has been applied in research on dynamic contractions to analyze muscle fatigue [8], and to estimate the power spectrum of sEMG signals [9, 10]. Analysis of the sEMG spectrum in dynamic contractions demonstrate a strong correlation between the onset of fatigue and the reduction of the Med F [11] and that a decline in CV reflects muscle fatigue [12]. Dimitrov et al. presented a new spectral index with a much higher sensitivity than traditional EMG parameters for isometric and dynamic contractions [13] that will aid in the analysis of sEMG signals.

Guglielminotti and Merletti hypothesised that if the wavelet analysis is selected to fit with the shape of the motor unit action potential (MUAP), the WT would give the best energy location in a time-scale [14]. Kumar et al. stated that the STFT does not give an optimal time or frequency resolution for the non-stationary signal, although the relatively short time windows may trace spectral variations with time [15]. The WT, comprised of numerous WFs, can be used to decompose the sEMG signal. The output of the power transform domain is calculated and thus functions as a deciding parameter in selecting the most appropriate WF to give the highest contrast between sEMG cases. It has been shown that it is possible to detect muscle fatigue status by determining the Sym4 or Sym5 WFs and decomposing the signal at levels 8 and 9 (out of 10 levels). Kumar et al. discussed the effectiveness of decomposing the EMG signal to measure its power in order to identify muscle fatigue as an automated process [15].

There are numerous ways to classify the sEMG signals, although the non-stationary nature of the signals make classification more complicated [16]. Common classification methods are Principal Component Analsis (PCA) [17] and support vector machine (SVM) [18]. Another common method for sEMG classification is to measure the Euclidean distance between the MUAPs waveform; where a shimmer is generated in the representation of time-triggered and non-overlapping MUAPs [19]. The shimmer is influenced by external factors, such as background noise and noise from offsets. In addition, the shimmer of the MUAP is affected by the variance within a class as well as the distance between the classes. A recent study developed a classification method for sEMG signals based on discrete harmonic wavelet packet transform (DHWPT) [20]. Firstly, the relative energy of sEMG signals in each frequency band was extracted using DHWPT, and, secondly, a GA selected appropriate features that reduced the feature dimensionality. Various research has used different classification techniques for SEMG signals in localised muscle fatigue, such as genetic programming and genetic algorithms [2125], statistical analysis [2628], as well as classification methods to predict and detect fatigue by using neural networks [29, 30] or linear discriminant analysis (LDA) [31]. A variation of these techniques have been adapted in this research where the genetic algorithm utilises a pseudo-wavelet as the feature extraction method for classifying (using LDA) fatigue content in the sEMG signal.

Methods

This study used wavelet analysis to overcome the stochastic and transitory nature of the sEMG signals emanating from dynamic contractions. A genetic algorithm was selected to evolve an optimal solution by tuning a pseudo-wavelet function for its optimal decomposition of sEMG targeted in extracting muscle fatigue content. In addition, the evolved pseudo-wavelet was validated and compared with other common wavelet transforms. The term ’pseudo-wavelet’ is used here to indicate that the evolved wavelet-like function is not required to meet the necessary conditions (e.g., admissibility and regularity) to be formally described as a wavelet [24]. Pseudo-wavelets are thus a convenient joint time-frequency tool aimed specifically at pattern recognition.

Data Recording and Pre-Processing

Thirteen athletic, healthy male subjects (mean age 27.5 +/- 3.6 yr) volunteered for this research. The study was approved by the University of Essex’s Ethical Committee and all subjects signed an informed consent form prior to taking part in the study.

The participants, all non-smokers, were seated on a ’preacher’ biceps curl machine to ensure stability and biceps isolation while performing biceps curl tasks. The participants reached physiological fatigue and was encouraged during the trial to reach the complete fatigue stage (unable to continue the exercise).

To evaluate the Maximum Dynamic Strength (MDS) percentage for each participant we used the average of three 100 % MDS measurements on three different days to ensure correct estimation. The 100 % MDS measurements for each subject were determined by the one-repetition maximum (1RM), where the subjects managed to keep the correct technique while executing the repetition with the heaviest possible load on a preacher biceps curl machine. In other words 100 % MDS is equal to 1RM. Determining each subject’s 100 % MDS allowed estimating the correct loading MDS (40 % MDS and 70 % MDS) across subjects when conducting the trials.

After establishing the MDS for each subject the trials where carried out. After the warm-up period, all the thirteen participants carried out 3 trials of non-isometric exercises with 40 % Maximum Dynamic Strength (MDS) and 3 trials of 70 % MDS with a one week resting period between trials to ensure full recovery from the biceps fatigue, giving a total of 104 trials. Only one trial was performed per day for each subject in order to avoid injury.

sEMG electrodes (Biometrics Ltd., Model SX230W) were placed on the participant’s biceps brachii’s lower belly, avoiding the estimated innervation zone and toward the distal tendon to acquire sEMG reading. These electrodes were chosen due to their high quality, designed with an input impedance of more than 1015 ohms. A goniometer (Biometrics Ltd.) was placed on the lateral side of the arm to measure the elbow angle and arm oscillation.

The myoelectric signal was recorded using one two-channel Single Differential (SD) electrodes (Biometrics Ltd.), (both placed on the biceps brachii with a distance of 2 cm [3]) with A/D conversion at 2000 samples/s. The sEMG signals underwent a rectification and filtering process. The signals were filtered with a dual pass Butterworth filter of order 5, with the pass band being between 10 and 500 Hz. All movement aspects were recorded simultaneously and are described in the subsection below.

The test bed set up for one of the conducted trials is shown in Fig. 1.

Fig. 1
figure 1

Experimental set-up showing one of the trials

Labelling the Signals

The acquired sEMG signals were divided into Fatigue and Non-Fatigue epochs. The first few repetitions were considered as Non-Fatigue as the subject felt ”fresh”, while the last few repetitions before the subject could not continue the sustained task, were labelled as Fatigue epoch [15]. This meant that for the signal analysis the first rep was labelled as Non-Fatigue and the last full repetition was labelled as Fatigue. The labelling of the sEMG signal was utilised to tune the evolved pseudo-wavelet as well as for training and testing the classifier.

Wavelet Decomposition

In a wavelet transform there are various standard mother wavelet functions utilised for decomposing a signal, such as Daubechies, Symmlet, Mexican Hat, Morlet etc. The wavelets can be used for different signals, but previous research has recommended guidelines to select the most suited wavelet [32], such as Db4 is appropriate for signals using feature extractions and linear approximation with more than four samples, but Db6 is more suited for a signal approximated by a quadratic function over the support of six; coiflet6 is used for data compression results [32]. To select the most appropriate wavelet, the properties of the wavelet function and the characteristic of the signal should be analysed and matched for specific data sets.

The pseudo-wavelet evolved in this study utilises scaling function (phi) coefficients that are the most suitable to find the optimal shape for our application. The goal was to evolve a custom-made wavelet-like shape suitable for join-time frequency decomposition for muscle fatigue detection in the sEMG signal. The GA first evolved random values for the scaling function coefficients, then ten coefficients for phi was chosen.

Genetic Algorithms

Genetic Algorithms (GA) can be used for solving linear and nonlinear problems by utilising different operators, e.g. crossover, mutation and selection operations applied to each individual in the population to explore the optimal solution is the state space [33]. Presumably, by using a GA to adapt a standard wavelet, or to evolve a pseudo-wavelet, an optimal solution will be generated that finds the shape of a (pseudo)wavelet for improved, data-specific joint-time frequency decomposition that detects muscle fatigue within the sEMG signal.

The steps taken for the initialisation and running of the GA are displayed as a flow chart in Fig. 2, while the parameter settings for the GA runs are shown in Table 1.

Table 1 Parameter settings for the GA runs
Fig. 2
figure 2

Flowchart of the pseudo-wavelet evolution

Solution Representation

The solution representation was utilised to determine the optimal wavelet by using standard wavelet functions, including Symlet, Mexican hat and Daubechies. In this research we selected a scaling function (phi) coefficients from 1 to 19 for the evolved pseudo-wavelet, while it is common to chose a scaling function from 1-10. According to Kumar et al.the muscle fatigue content lays between scale 9 and 10 [15], while in this study it was chosen for the GA to have a wide scaling function (1-19) to find the most optimal scale for class discrimination.

Fitness Function

A fitness function in the GA is used to find the optimal solution in the search space. The modified Davies Bouldin Index (DBI) was selected in this study in the fitness function as it is a simple and effective index. Data cluster linear overlap was calculated applying the modified DBI [34] by deceding the propotion of intracluster spread to intercluster centroid distance. A good class separation was expressed by smaller DBI values.

The joint-time frequency decomposition by the pseudo-wavelet was achieved for every scale (1-19) and extracted in one second intervals to calculate the DBI between the two classes (i.e., Fatigue and Non-Fatigue). This resulted in minimising the DBI, which aided the evolutionary processes. Furthermore, it permitted the fitness function to increase the separation between the two classes. Normally the fitness function works by maximisation, using a hill climbing method; however, in this research the DBI was changed into negative numbers, letting the fitness function use the hill climbing method by trying to bring the (now) negative DBI closer to zero.

Validation/ Classification

Linear Discriminant Analysis (LDA) classifier was used as this method is simple, well established and requires few computational resources. The input for the training and testing of the LDA classifier utilised the decomposed sEMG signal from the pseudo-wavelet. Similar to the evolutionary process, the classifier was trained utilising 70 % the trials and tested with the remaining 30 % of the trials.

The performance of the evolved pseudo-wavelet was compared with other common wavelet functions. In order to obtain a meaningful comparison, the decomposition scale value of the eight compared standard wavelet functions (see Wavelet Decomposition above) matched the decomposition scale value of the evolved pseudo-wavelet function.

Results

There are three main interesting findings in this research. Firstly, the GA selected the optimal wavelet for sEMG classification and secondly, the optimal scale for decomposing the sEMG signal was selected. Thirdly, the classification performance of the evolved pseudo-wavelet proved to be better than traditional wavelet functions for sEMG classification.

Table 2 Twenty eight independent runs, showing the best individual

The GA chose the optimal wavelet dependent upon the solution representation, in which it detects improvements based on the fitness function of the final evolved population with the best DBI scoring. This is shown in Fig. 3, where superimposed shapes of original randomly produced pseudo-wavelets with the final pseudo-wavelet at the end of a typical evolutionary process.

Fig. 3
figure 3

Pseudo-wavelet before and after evolution

An interesting finding of these results was the relationship between the shape of the wavelet and the optimal scale. The shape of the wavelet affects the choice of the optimal scale that gives the best discrimination between Fatigue and Non-Fatigue content of the sEMG signal. This result is similar to Kumar et al.’s [15] finding that some wavelet functions at various scales better contrast between Fatigue and Non-fatigue.

In this research, the GA selected the optimal scale according to the wavelet function, which eliminated human subjective choice of the most suited wavelet functions for fatigue content analysis. By using the DBI, the GA choose the optimal scale for decomposing the sEMG signals. The highest separability between the fatigue classes (Fatigue and Non-Fatigue) is found by the optimal scale. Figure 4 displays the improvements in the pseudo-wavelet population fitness (values closer to zero indicate improved fitness) attained by one of the GA runs in optimising the pseudo-wavelet function and the most optimal scale.

Fig. 4
figure 4

Generation fitness during the GA

The GA was initialised using 5000 individuals with randomly seeded coefficients. In the first generation the GA run was generated with relatively good solutions averaging a transformed DBI of -1.547. When continuing with the evolutionary process the fitness enhanced for this particular scenario and obtained its optimal range of -0.4730 DBI, around the 14th generation.

The GA initialisation and GA run were completed 28 times utilising a variation of epochs each time to safeguard optimal coverage of the GA search space. In Table 2 all the 28 independent GA runs are presented. The table shows that there is a consistency in the results from each GA run.

The optimal scale for the best GA run is 11, which gives an exceptional separability of -0.4730. This shows that the GA is capable of separating the sEMG signals from the two different classes (Fatigue and No-Fatigue) while using an optimal wavelet..

In the classification of the sEMG signals, both the optimal wavelet and the optimal scale were used. The classification performance with the developed pseudo-wavelet was 87.905 %. In comparison to other commonly used wavelet functions, the pseudo-wavelet could better classify the sEMG signal, with an average of 81.61 % (p<0.05) vs. 83.67 % for DB4, which was the second best wavelet function.

Table 3 presents a classification comparison of the evolved wavelet with eight traditional wavelet functions in decomposing the sEMG signal, which shows the classification capabilities of the evolved pseudo-wavelet. Classification performance of all thirteen subjects with the unseen test data sets indicates that the evolved pseudo-wavelet function has outperformed all of the other wavelets, with an improvement ranging from 4.45 percentage points (P-W and DB4) to 14.95 percentage points (P-W and Mexican Hat) between the pseudo-wavelet and the highest and lowest average percent for the other wavelets. This is giving an average of 87.90 %. In addition, the average for all the other wavelets combined gives 81.61 % with significance of (p<0.05) . By studying the standard deviation across the classification averages, the evolved wavelet produced the lowest values, which may be due to its consistency in classification across subjects. To ensure consistency in the comparison all the wavelet functions, including the pseudo-wavelet, used scale 11. Figure 5 displays graphically the classification performance (in %) seen in Table 3.

Fig. 5
figure 5

Graphical representation of the Classification performance (in %) (P-W = Pseudo-wavelet)

Table 3 Classification Results (P-W = Pseudo-wavelet)

Discussion

In this paper a pseudo-wavelet function was created and an optimal scale was found by the genetic algorithm that specifically improves the classification of localised muscle fatigue using sEMG signals. The evolved pseudo-wavelet improved the classification of muscle fatigue when compared to other wavelet functions. Results show that using the GA to evolve a pseudo-wavelet can produce exceptional classification performance, when specifically optimised to decompose the sEMG signal, retaining the fatigue content in the signal.

Using sEMG as a signal acquisition technique has been warned against for localised muscle fatigue on dynamic contractions [5], yet several studies have used it and found that sEMG signal detection is still a reliable technique for fatiguing dynamic contractions [1113, 35]. Wavelets are a suited method for signal analysis as it takes into account the non-stationary nature of the sEMG signals from dynamic contractions [36]. Several studies has utilised wavelets to decompose the sEMG signal in muscle fatigue research [8, 14, 15]. The results in this study adds to this finding, as it shows that the pseudo-wavelet outperformed other common wavelets when it comes to the classification of sEMG signals. Additionally, all the other wavelets used for comparison purposes gives high classification performance, which shows that utilising wavelets are an appropriate method for sEMG signal classification from fatiguing dynamic contractions.

The optimal scale for decomposing the fatigue content of the sEMG signal was 11. This is a higher level than Kumar et al.’s finding, where the fatigue content was found at scale 8 and 9, out of 10 levels, for Sym4. The reason the optimal scale is different in this research is due to the GA utilising a scale of 1-19 in selecting the most optimal scale, while Kumar et al’s research only used 10 levels. Another factor influencing the selection of the scale is the wavelet function utilised. The GA selected the pseudo-wavelet, which is a wavelet-like function that is a joint time-frequency tool, while Kumar et al.’s research utilised Sym4. There are no specific rules for which wavelet is most suited for classifying fatigue content of the sEMG signal, but a selection needs to take into consideration the properties of the WF and the sEMG signal characteristics for the data sets. In this research it was the GA that selected the most suited wavelet function, and hence, the pseudo-wavelet was selected. The performance of the GA in finding the optimal scale is worth noting for future research, where the sEMG signals emanate from fatiguing dynamic contractions.

Classifying sEMG signals from fatiguing dynamic contraction is more complicated due to the non-stationary nature of the signal [16]. Various classification methods can be applied, but as mentioned above, wavelets take the stochastic nature of the sEMG signal into consideration. A similar study was carried out by Wang et al. where DHWPT was used to classify the sEMG signals. He used the GA to select the feature that would reduce dimensionality That research used a similar method applied to this study where the GA selected the feature that would best classify the fatigue content from the sEMG signal. The results here proved similarities to a previous study by Almulla et al., where this classification technique proved successful in classifying the sEMG signal emananting from fatiguing isometric contractions [24]. This shows that the methodology developed in this paper, as in the previous research, gives excellent classification results.

Conclusion

This study was able to classify the fatigue content using sEMG signals from fatiguing dynamic contractions. The classification results of the pseudo-wavelet proved to be better than other traditional wavelet functions, which would indicate that this methodology is useful for future research on sEMG signal classification for localised muscle fattigue from dynamic contractions.