Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Flowchart of EMG signal processing executed in our experiments is shown in Fig. 3.1. According to flowchart, after data acquisition phase, all recorded signals underwent noise filtering as preprocessing phase. Long-time recording signals are cut off in a windowing procedure as long as 20,000 samples or 10 s records with 2 kHz sampling rate. Each window is split into sub-windows with length of 100–5,000 samples. For all windows, 70 % of samples are set for training procedure and rest of samples for testing purpose. After multiple runs of training and testing procedures for different lengths of windows, windows length of 2,000 samples (corresponding to 1 s signal recording) was chosen. Therefore, each window (with 20,000 samples) is split into 10 sub-windows each one with 2,000 samples. Seventy percent of sub-windows are still considered for training purpose (7 sub-windows) and rests for testing purpose (3 sub-windows).

Fig. 3.1
figure 1

Flowchart of EMG signal characterization process used in this work

For evaluating classifier, mean-squared error is used which is most common criterion defined as below:

$$ {\text{MSE}} = \frac{1}{N}\mathop \sum \limits_{i = 1}^{N} (y_{i} - \bar{y}_{i} ) $$

where \( y_{i} \) and \( \bar{y}_{i} \) are real and desired outputs of network, respectively, and N is total number of samples. MSE of training process shows trainability of system, and MSE of testing samples indicates system’s modeling capability.

True classification rate is defined as rate of true assigned samples to their classes to whole number of samples as below:

$$ {\text{Classification}}\,{\text{Rate}} = \frac{{{\text{True}}\,{\text{assigned}}\,{\text{samples}}}}{{{\text{Total}}\,{\text{number}}\,{\text{of}}\,{\text{samples}}}} $$

The flowchart of procedure sequence of EMG signal characterization is shown in Fig. 3.1. As it is illustrated in flowchart, there are two main assessment sections on process, one for evaluating extracted features and another one for evaluating and structure optimization of classifier. Therefore, evaluation of potential features is taken into account. The reference classifier for this step is a multilayer perceptron (MLP) as an efficient artificial neural network with least square back propagation learning algorithm.

The MLP used in this part of simulation has 1 hidden layer and 20 neurons in the hidden layer. Transfer function was used as tangent sigmoid mathematics function. Inputs of MLP are extracted features, and network is trained based on training samples described earlier.

According to Table 3.1, combinations of RMS + WL and RMS + MAV + WL yield best result for quadriceps muscle. For biceps muscle, lowest MSE corresponds to combination of MAV and VAR according to Table 3.2.

Table 3.1 Training and testing errors of MLP network for one or a set of features corresponding to the EMG signals of quadriceps muscle contraction
Table 3.2 Training and testing errors of the MLP network for one or a set of features corresponding to the EMG signals of biceps muscle in a dynamic test

From results of Tables 3.3, 3.4, and 3.5, it can be inferred that isometric contraction test, compared to two other contractions, has lower MSE values when it is modeled. It should be noted that these MSE errors correspond to distance to relative class and misclassification of force of a muscle with a higher or lower class of force do not affect course of treatment significantly. In Tables 3.3, 3.4, and 3.5, more appropriate features are colored red according to their MSE values which are selective features for isometric contraction (ISO), maximum voluntary contraction (MVC), and dynamic contraction, respectively. One primary purpose of developing an expert system to perform feature extraction and sample classification is to achieve a standard evaluation procedure and to reduce therapist affectivity on evaluation quality.

Table 3.3 Best results for biceps, deltoid, triceps, quadriceps, and tibialis anterior muscles (ISO)
Table 3.4 Best results for biceps, deltoid, triceps, quadriceps, and tibialis anterior muscles (MVC)
Table 3.5 Best results for biceps, deltoid, triceps, quadriceps, and tibialis anterior muscles (dynamics)

After most suitable features are extracted by reference classifier, an evaluation is performed to find a robust and efficient classifier. Neuro-fuzzy network is a potential for this task which is compared to some other well-known classifiers in this part of experiment.

For neuro-fuzzy classifier, a combination of least squares and back propagation method was used as learning algorithm. Trapezoidal and Gaussian membership functions are commonly used as shape of fuzzy sets of inputting nodes. Number of 2–4 membership functions is suggested for each variable in EMG signal modeling problem.

Table 3.6 shows results of implementing five types of classifiers for classification of EMG signals according to extracted features. Due to difference between muscles power of two groups of gender, male and female, we separated males and females in analysis of their EMG signals of mentioned muscles. Classes of muscle forces are separated and samples are assigned to their relative classed. True assignments of samples to their classes define classification rate in percent as criteria for evaluation of classifier in addition to training and testing capability.

Table 3.6 Classifier evaluation for classification of EMG signals (muscle force) according to extracted features