Abstract
Myoelectric pattern recognition (MPR) to decode limb movements is an important advancement regarding the control of powered prostheses. However, this technology is not yet in wide clinical use. Improvements in MPR could potentially increase the functionality of powered prostheses. To this purpose, offline accuracy and processing time were measured over 44 features using six classifiers with the aim of determining new configurations of features and classifiers to improve the accuracy and response time of prosthetics control. An efficient feature set (FS: waveform length, correlation coefficient, Hjorth Parameters) was found to improve the motion recognition accuracy. Using the proposed FS significantly increased the performance of linear discriminant analysis, Knearest neighbor, maximum likelihood estimation (MLE), and support vector machine by 5.5%, 5.7%, 6.3%, and 6.2%, respectively, when compared with the Hudgins’ set. Using the FS with MLE provided the largest improvement in offline accuracy over the Hudgins feature set, with minimal effect on the processing time. Among the 44 features tested, logarithmic root mean square and normalized logarithmic energy yielded the highest recognition rates (above 95%). We anticipate that this work will contribute to the development of more accurate surface EMGbased motor decoding systems for the control prosthetic hands.
1 Introduction
Myoelectric pattern recognition (MPR) controlled prosthesis ideally mimics the functionality of a natural limb using signals from residual muscles left over after amputation or congenital defect. The ability of MPR systems to decode motor volition is dependent on how well each stage of the system performs. MPR processing stages are typically divided into preprocessing, feature extraction, and classification [1]. Preprocessing is used to remove unwanted signal components from the raw electromyogram (EMG) like motion artifacts or power line interference. EMG signals are then windowed and signal features are calculated over each window. Signal features can be grouped into three categories, time domain (TD) [1], frequency domain (FD), and timefrequency domain (TFD) [2], each describing different components of the signal. If the resulting feature space is sufficiently high, dimensionality reduction techniques like principal component analysis (PCA) may be employed to improve classification accuracy and efficiency [3]. The resulting feature vectors are then fed into a classifier for training and decoding motor volition.
Various features and classification methods have been developed to improve the usability of prosthetic hands [4, 5]. Phinyomark et al. evaluated 37 of the most commonly used EMG features to discriminate hand movements using linear discriminant analysis (LDA) [6]. Based on their results, they suggested using a feature set composed of mean absolute value, waveform length, Wilson amplitude, autoregressive coefficients, and mean absolute value slope. The obtained accuracy is 92.1%. Another study by the same researchers [7] compared the performance of 50 features using LDA to classify ten upperlimb movements; they found the sample entropy feature to yield the highest classification accuracy. They also proposed a feature set of four single features to improve the accuracy up to 95%. Oskoei et al. [8] combined 12 features and used an artificial neural network (ANN) to discriminate six movements. Their study on six healthy subjects indicated that satisfactory pattern recognition accuracy could not be achieved using TD features alone. Conversely, Scheme et al. [9] used a set of TD features introduced by Hudgins et al. [10] to classify 11 classes of motion using ten commonly used classification techniques. The LDAbased, oneversusone configuration significantly outperformed the other classifiers, achieving an error of less than 5% using TD features alone. Hargrove et al. [11] compared the classification accuracy of four different feature sets—the Hudgins TD feature set, autoregressive (AR) model, combined TD and AR (TDAR), and root mean square (RMS) using ANN and LDA classifiers—to discriminate ten classes of isometric contractions. Their results from 12 healthy subjects showed the TDAR/LDA combination had the best performance with accuracy up to 97%. Guo et al. [5] compared the classification accuracy of combinations of four TD features and ANN and support vector machine (SVM) classifiers to discriminate nine movements. They recommended muscular model (MM) and ANN for realtime applications, while MM with SVM was more suitable when processing time is not a key requirement. Although these offline studies have shown that accurate decoding of gestures from electrodes placed on the forearm can be achieved, optimal feature extraction and robust classification continue to be open challenges which likely affects the adoption and use rates of such systems by amputees for controlling prosthetic hands [12]; therefore, improvements in these areas could potentially increase the functionality and use of powered prostheses. Furthermore, due to variations in methodologies used to evaluate the algorithms in different studies, it is difficult to compare their results. Few studies have quantitatively evaluated the performance of a wide range of classifiers and features to discriminate hand and finger movements using the same database and methodology [5,6,7,8, 11].
Accuracy in decoding different motions and low response time are crucial for a successful surface EMGbased control system [13]. Therefore, the aim of the present study was to determine new configurations that improve the accuracy and responsiveness of hand gesture recognition with surface EMG signals. We investigated various combinations of 44 common and new features and six classifiers, based on the literature mentioned above, for motion recognition with surface EMG signals. We proposed a new feature set and determined new configurations for decoding individual hand movements. We examined classification accuracy and processing time using a database recorded from 20 healthy volunteers to avoid much of variability in the recordings and maintain consistency between experiments so that it is possible to compare the results of different algorithms. We anticipate that this work will contribute to the development of more accurate surface EMGbased motor decoding systems for the control prosthetic hands. The paper is organized as follows: Section 2 presents data collection and preprocessing followed by feature extractions, dimensionality reduction, and classifiers used in this study. Section 3 presents the results. Section 4 summarizes the discussion and finally, Section 5 draws conclusions.
2 Methods
2.1 Data collection
Four channels of surface EMG signals (sampled at 2000 Hz) from 20 healthy subjects were obtained from the BioPatRec database [14]. Subjects were aged between 23 and 63 (mean ± STD 30.1 ± 10.5) years, 10 were females and 10 were males, one was lefthanded and 19 were righthanded, with a mean weight of 68.8 ± 11.0 kg and a mean height of 1.77 ± 0.08 m. Recordings were taken using silversilver chloride electrodes placed with roughly equal spacing over the proximal third of the subjects’ dominant forearm. The available hand and wrist movements in this database, as shown in Fig. 1, were open hand, close hand, flex hand, extend hand, pronation, supination, side grip, fine grip, agree or thumb up, pointer or index extension, and relaxation.
2.2 Preprocessing
The raw EMG signals were filtered using a Butterworth bandpass filter with a bandwidth of 10–500 Hz [3, 15] and a Notch filter at 50 Hz. Afterwards, 30% of the contraction time in the EMG signal was trimmed to exclude inactive periods at the beginning and ending of the contraction (15% each) [14]. The relaxation part was added as an additional movement. Overlapping windows of 200 ms length, with 100 ms overlap, was used to segment the signal. Information theory has shown that EMG segments with a length of 100–300 ms contain the highest information content. Furthermore, the optimal length for this specific task has been suggested to be between 100 and 300 ms [16].
Figure 2 shows the samples of the EMG signal acquired from the first channel of one of the subjects. The figure shows that the amplitude of the acquired EMG signals is different for each hand and finger motion. The EMG signal behaves similarly across all channels with different signal characteristics apparent for each movement class and channel. Signal features are calculated over each channel and window to be fed into the classifier for training and discrimination. The signal features over all channels will ideally result in vectors that can be cleanly separated in the feature space.
2.3 Feature extraction
In total, 44 features in the time, frequency, and timefrequency domains were extracted from each window. The description of features extracted from EMG is introduced in this section. Thirtysix of these features are commonly used in this area (and were chosen by extensively reviewing the literature) and eight of them are new (which we would like to present their result). The eight new features, while not extensively reviewed for EMG processing, have shown initial promise in unpublished preliminary experiments.
2.3.1 Time domain features
TD features are extracted directly from preprocessed EMG without any transformation; therefore, they have low computational cost and are easy to implement [7]. This study extracted 25 features in TD from the surface EMG signals. Mean of peak values and mean firing velocity have not been evaluated for this purpose before.

1)
Mean absolute value (MAV)
MAV is obtained by averaging the absolute value of the EMG signal in a window [4]. A large increase occurs in the value of this feature at onset and remains high during the contraction [3] and can be defined as [4]:
where x_{i} is the EMG data and N is the number of samples in each time window (2000 Hz × 0.2 s = 400 samples) [3].

2)
Standard deviation (STD)
STD represents the difference between each sample of EMG and its mean value [17] and is defined as:
where \( \overline{x} \) represents the mean value of the EMG signal in a segment [18].

3)
Variance (Var)
Variance represents the power of the EMG signal and helps to determine onset and contraction [3]. It can be obtained as [3, 19]:

4)
Waveform length
Waveform length of the signal gives information about complexity of the signal in a window by summing the numerical derivative of the sample window and can be calculated by [20]:

5)
Zero crossing (ZC)
ZC counts the number of times that the sign of the amplitude of the signal changes. It is calculated as [21]:

6)
Number of peaks (NP)
Number of peaks is the number of values that are higher than their RMS value. RMS is calculated using Eq. (6) [22].

7)
Mean of peak values (MPV)
Mean of peak values is the average of the peak values that have been found in Section 6 [23].

8)
Mean firing velocity (MFV)
Mean firing velocity is the difference or velocity of the peak values found in Section 6 [23].

9)
Slope sign changes (SSC)
SSC represents the frequency properties of the EMG signal and it counts the number of times the slope of the EMG signal in a time window changes sign [6]. This can be defined as [13]:
 10)
Correlation coefficient
The Pearson correlation coefficient of all pairs of EMG channels in a time window shows the linear relationship between two samples of the EMG signal [24] and is defined as [25]:
where x_{i} and y_{i} are the EMG data of different channels.

11)
Difference absolute mean value (DAMV)
DAMV is calculated as follows [15]:

12)
Fractal dimension (FDim)
Fractal dimension of the EMG measures the strength of muscle activity and presents information about the active muscle (such as size and complexity) [19]. It is calculated as follows:
where N is the sample window length and k is the timestep.

13)
Maximum fractal length (MFL)
The maximum fractal length of the EMG measures the strength of muscle contraction specifically lowlevel muscle activation [19]. The definitions of this feature are expressed as follows [26]:

14)
Higuchi’s fractal dimension (HFD)
Higuchi’s fractal dimension is one of the most popular techniques that has shown good performance in calculating the fractal dimension. It can be calculated as follows [26]:

15)
Skewness (Skew)
The Skewness describes asymmetry in a statistical distribution around the mean value and is calculated as [18]:

16)
Integrated absolute value (IAV)
The integral of absolute value is a summation of absolute values of the EMG signal in a time window of N samples, which is given by [27]:

17)
Hjorth mobility parameter (HMob)
Three parameters were introduced by Hjorth [28]: activity, mobility, and complexity (HCom). The activity parameter is the variance of the signal that was described previously in Section 3. The mobility parameter is proportional to the standard deviation of the power spectrum and is defined as [29, 30]:

18)
Hjorth complexity parameter
Complexity is the third feature of the Hjorth parameters which compares the similarity of the shape of a signal with a pure sine wave and can be calculated as [29, 30]:

19)
Multichannel energy ratio
The absolute energy of the EMG signal from one channel is given by [24]:
where j is the jth channel of the EMG. The energy ratio of the jth channel to the kth channel signals is calculated by [24]:
The normalization of the energy ratio (\( {\mathrm{ER}}_{jk}^{\ast } \)) with respect to the first channel EMG signal is defined as [24]:

20)
Difference absolute standard deviation value (DASDV)
DASDV is a standard deviation value of the difference between the adjacent samples, which is calculated by [15, 22]:

21)
Willison amplitude (WAM)
WAM in a time window counts the number of times the absolute value of the difference between two adjacent samples exceeds a predefined threshold. Its value indicates the muscle contraction levels [3].

22)
Mean absolute value slope (MAVS)
Mean absolute value slope is the difference between mean absolute value of adjacent time windows and is defined as [4, 20]:

23)
Kurtosis (Kurt)
Kurtosis describes the shape of a statistical distribution compared with the normal distribution and is defined as [18]:
where Mis defined in Eq. (14).

24)
Percentile (Perc)
The 75th percentile of the signal distribution is given by [18]:
where card is the number of elements in the set.

25)
Histogram (Hist)
EMG histogram is an extended version of the ZC and WAM features that sorts the samples of the EMG signal from its minimum value to the maximum, segments the sorted values into several equally spaced frames, and returns the number of samples in each segment [21].
2.3.2 Frequency domain features
FD features are usually statistical properties of power spectral density (PSD) of EMG signals [7]. We defined eight frequency domain features as follows, three of which (waveform length, mean of peaks, and standard deviation of peaks) have not been investigated before. For all FD features, the fast Fourier transform was applied to the TD signal without padding.
2.3.3 Waveform length (WL)
WL in the frequency domain is calculated using Eq. (4) over the magnitude of the fast Fourier transform [23]. This also gives an estimate of the signal complexity, but in the frequency domain.
2.3.4 Mean frequency (MNF)
MNF is an average frequency value that can be calculated as [6]:
where f_{j} is the frequency variable at frequency bin j, p_{j} is the power spectrum of the EMG signal at frequency bin j, and M is length of the frequency bin.
2.3.5 Median frequency (MDF)
MDF is a frequency at which the EMG power spectrum is divided into two parts with equal amplitude; it can be defined as [6]:
2.3.6 Mean of peaks (MPK)
Similar to the MPV, the average of the peak values exceeding the RMS value of the EMG signal in frequency domain is calculated to form the MPK feature.
2.3.7 Standard deviation of peaks
After applying FFT to all channels of the EMG signals in the time domain, the STD of the peak values of the EMG signal in frequency domain is calculated to obtain the standard deviation of peaks (STDPK).
2.3.8 Frequency ratio (FR)
FR provides information to differentiate between contraction and relaxation of muscle and it is defined as the ratio of power spectrum at lowfrequency band and highfrequency band. [4]:
The frequency bands are decided through the experiments. For example, Han et al. in 2000 [31] considered 30–250 Hz as the lowfrequency band and 250–1000 Hz as the highfrequency band. In this study, we applied a bandpass filter with a bandwidth of 10–500 Hz as a preprocessor; therefore, the low and highfrequency bands were changed to 10–250 and 250–500 Hz, respectively.
2.3.9 Peak frequency (PKF)
Peak frequency is the frequency of the maximum power. It is defined as [32]:
2.3.10 Frequency energy (FE)
To obtain the frequency energy feature, after computing the FFT for each sample, the FFT amplitude is squared. Then, the summation of the energy of all channels into 10 Hz bins is calculated [33].
2.3.11 Timefrequency domain features
A discrete wavelet transform (DWT) using fourthorder Coiflet mother wavelet and a wavelet packet transform using a fifthorder Symmlet mother wavelet (as recommended in [34]) were applied to the time domain signal to create a fourlevel wavelet decomposition (as recommended in [35]) of the EMG signal. Then, a total of 11 features were extracted from the wavelet and wavelet packet coefficients in the fourth (last) level. WL, mean, and MAV of wavelet coefficients have not been used before.
2.3.12 Standard deviation of wavelet coefficients
After applying DWT to each segment of the EMG signal, standard deviation of the wavelet coefficients in the last level was calculated [35].
2.3.13 Variance of wavelet coefficients
First, each segment of the EMG signal was decomposed using DWT; then, variance of the wavelet coefficients in the last level was calculated [35].
2.3.14 Waveform length of wavelet coefficients
After applying wavelet transform to each window of the EMG signal, waveform length of the wavelet coefficients in the last level was calculated.
2.3.15 Energy of wavelet coefficients
The EMG signal is decomposed by wavelet transform into four levels; then, the energy of the wavelet coefficients is determined in the last level as components of the feature vector [36, 37].
2.3.16 Maximum absolute value of wavelet coefficients
The maximum absolute value (MaxAV) of the wavelet coefficients in the last level was calculated as the feature vector of EMG signals [38].
2.3.17 Zero crossing of wavelet coefficients
After decomposing the EMG signal using DWT, the number of ZC of the wavelet coefficients in the last level is evaluated [36, 39].
2.3.18 Mean of wavelet coefficients
The EMG signal was decomposed by DWT into four levels; then, the mean of the wavelet coefficients in the last level was calculated.
2.3.19 Mean absolute value of wavelet coefficients
After decomposing the EMG signal using DWT into four levels, the mean absolute value of the wavelet coefficients in the last level was calculated.
2.3.20 Logarithmic RMS of wavelet packet coefficients
After applying the wavelet packet transform (WPT) and decomposing the EMG into four levels, the logarithmic RMS (LogRMS) of the coefficient in the last subspace was calculated [40].
2.3.21 Relative energy of wavelet packet coefficients
After the EMG had been decomposed by WPT, the relative energy (RE) of the coefficients in every subspace was employed as the signal feature set. The energy in each subspace can be computed as follows [41]:
where w is the matrix of wavelet packet coefficients and p and j are the indexes of subspace and decomposition level, respectively. The total energy of the signal is given by:
The relative energy of the signal in each subspace is:
2.3.22 Normalized logarithmic energy of wavelet packet coefficients
WPT was applied to the EMG signals to generate wavelet coefficients up to a level j decomposition. The logarithmic operator was then applied to the accumulation of the squares of the coefficients divided by the number of coefficients (N) in the subspace. Normalized logarithmic energy (NLE) is defined as follows [40]:
2.4 Dimensionality reduction
To increase the classification performance, dimensionality reduction of the feature set is often necessary [13]. In this study, two types of dimensionality reduction were applied: feature selection (forward feature selection and backward feature elimination) and feature projection (PCA). Forward feature selection and backward feature elimination consist of adding features one by one to the feature set. If an added feature produced higher accuracy rate, it would stay in the feature set; otherwise it would be removed. Once all features were evaluated, features in the obtained feature set were removed in inverted order if their subtraction did not negatively affect accuracy. The 25 features in TD, the eight features in FD, and the 11 features in TFD were considered as three different feature sets. Then the feature selection and PCA were employed to reduce the dimensionality of the aforementioned feature sets.
2.5 Classification
The resulting feature vectors corresponding to 11 movements were then fed into the following classifiers: LDA, knearest neighbor (KNN), decision tree (DT), maximum likelihood estimation (MLE), SVM, and multilayer perceptron (MLP). LDA, KNN, SVM, and MLP were chosen by reviewing state of the art; DT and MLE have been extensively used in different areas such as gait measurement and speech recognition [42]; however, there is no enough investigation on their performance on hand gesture recognition. First, the data of the 11 hand motions were used as a learning data set for the classifiers. Then, another data set of similar motions (from the same experiment of the same subject) was applied to the classifiers as test data for making decision regarding the kind of motion.
The results of the classifiers were performed by a 10fold crossvalidation in each subject and the classification accuracy was computed as an average accuracy based on the results from crossvalidation testing of all subjects. The best performance of a feature is approached when the classification accuracy reaches its highest value [6].
2.5.1 Linear discriminant analysis
LDA is a simple and efficient classifier that has been used due to its high performance in classification of EMG signals, the robustness in longterm effect usage, and the low computational cost [6]. Discriminant analysis algorithm (type: linear) in MATLAB 2015b was used to classify the 11 hand motions.
2.5.2 Knearest neighbor
KNN is a simple machine learning algorithm with a low training time that utilizes a distance measure relative to the knearest neighbors of a point to assign an unknown event to a given class [9, 21, 43]. In this study, Euclidean distance was chosen as the distance metric. In choosing K in the KNN classifier, it was observed that a larger value of K decreases the classification accuracy. We carried out our experiments with different values of K: 1 to 10, 40, and 100; K = 2 eventually provided the highest classification accuracy.
2.5.3 Decision tree
DT uses a set of comparisons of features extracted from physiological signals to classify the unknown input [42, 44]. To perform the DT classifier, the available algorithm in MATLAB 2015b was used.
2.5.4 Maximum likelihood estimation
The MLE is used for parameter estimation in statistics [15, 45]. For Gaussian inputs, these parameters are the mean and the covariance of the probability density function [15, 45]. In this study, the extracted features from the EMG signals were applied to the MLE in order to estimate the optimal parameters (one Gaussian model per class), and a group of the motion data was then determined.
2.5.5 Support vector machine
SVM is an increasingly popular machine learning tool that uses kernels to map data into separable hyperplanes [2, 9]. In this study, the LIBSVM library (CSVC) was used to classify 11 different hand motions and the Kernel type was set to a Gaussian radial basis function [46]. In order to optimize the decoding performance and maximize correct classification, all parameters (such as cost and gamma in the kernel function) were set with a gridsearch procedure.
2.5.6 Multilayer perceptron
Feedforward multilayer perceptron with two hidden layers of 16 neurons and 11 output neurons each (one neuron per movement) was used for classification. MLP can be implemented with more neurons and hidden layers, but doing so limits the ability to translate the results to realtime embedded systems useful for prosthetic control. The transfer function for the hidden layers is tansigmoid. The MLP was trained using a MATLAB’s Bayesian Regularization algorithm to prevent overtraining. The learning rate and momentum were 0.1.
2.6 Feature and classification evaluation
All combinations of features and classifiers were used to perform the initial evaluation. We then investigated the accuracy rate of different combinations of features in each feature set (TD, FD, TFD) by applying the dimensionality reduction methods.
2.7 Data analysis
Classification accuracy (acc) was computed as the average classwise accuracy, defined as:
where i is the class index and TP, TN, FP, and FN are true positive, true negative, false positive, and false negative predictions, respectively. Accuracy averaged over all classes and further averaged over crossvalidation results.
Performance matrixes between movements (intended and detected movements) were also used to better visualize and compare the performance of different algorithms in detecting different movements. Each row of the matrix represents the intended movements while each column represents the detected movements.
Another important issue for motion recognition is the time consumption for training and classification. Therefore, the elapsed time of each classifier in combination with features and feature sets that obtained better accuracy rates in each domain was calculated in second (s).
The processing stages in this study for decoding hand and finger movements are presented in Fig. 3.
To compare the results, we also applied all the classifiers to the Hudgins feature set (a set of TD features including MAV, WL, SSC, ZC, and DAMV introduced by Hudgins et al. [10]). Oneway analysis of variances (ANOVA) using general linear model procedure of SAS software (SAS Institute Inc. 2004) was carried out by analyzing the parameters as a completely randomized design to find statistically significant differences among the obtained accuracies by each feature and feature set. Duncan’s multiple range test was used to test the significance of the difference between means. All significances were declared at p < 0.0001.
3 Results
The average classification accuracy and standard deviation of different feature/classifier combinations across the 20 subjects are shown in Tables 1, 2, 4, and 6. The least significant difference tests [47], which were used to determine significant differences among obtained accuracy rates, are also presented in Tables 1, 2, 4, and 6.
3.1 TD feature result
Of the 25 TD features, nine features including one of the new features (MPV)—MAV, STD, WL, MPV, DAMV, MFL, IAV, DASDV, and Perc—showed the best performance for the six classifiers. The KNN and MLP classifiers showed numerically higher accuracy rates than the rest, but no statistical significance was observed. Combining the KNN classifier with each of the aforementioned features produced accuracy rates with averages of 93.17%, 93.52%, 93.16%, 92.29%, 93.29%, 93.95%, 93.23%, 92.26%, and 89.60%, respectively. The MAVS/LDA combination obtained the lowest rate, with an average of 11.52%.
For the feature set evaluation using the forward feature selection and backward feature elimination, Var, WL, Cor, HMob, and HCom were found to improve the results, referred to here as FS, our proposed feature set. The highest accuracy rate of each investigated classifier in this study (LDA, KNN, DT, MLE, SVM, and MLP) in combination with the 25 TD features was 84.88%, 93.95%, 90.29%, 90.44%, 85.01%, and 91.62%, respectively (Table 1). Combining TD features and proposing the new feature set (FS) increased the accuracy rates of LDA, MLE, and SVM classifiers to 95.15%, 97.43%, and 91.97%, respectively (Table 2), which was statistically significant (p < 0.0001). There was also a numerical increase in the accuracy rates of KNN, DT, and MLP classifiers, to 94.07%, 91.36%, and 93.73%, respectively; however, this increase was not statistically significant.
The Hudgins feature set in Table 2 showed significantly lower accuracy rates (p < 0.0001) than FS for LDA, KNN, MLE, and SVM classifiers. The highest accuracy rate for the Hudgins feature set was obtained by the MLP classifier, with an average of 91.64%. PCA was also applied to all 25 TD features as a feature set to decrease the dimension of the feature set from 133 to 20, a number experimentally found to offer a reasonable tradeoff between accuracy and complexity. The DT and MLE classifiers, using the FS set, showed significantly (p < 0.0001) higher accuracy than the TD features/PCA combination. For the LDA, KNN, SVM, and MLP classifiers, there was no statistically significant difference between the rates of TD features/PCA combination and our proposed feature set. However, the accuracy rates of LDA, SVM, and MLP classifiers in conjunction with TD features/PCA combination were numerically higher than that of the FS set with an average of 96.20%, 94.73%, and 94.39%, respectively.
Table 3 shows the performance matrix between the movements (the intended movements and the detected movements) for the FS/MLE combination that obtained the highest classification accuracy among the TD features. As presented in Table 3, flex hand and extend hand were easy to detect as they obtained the highest classification accuracies (above 99%). However, there was confusion between flex hand and open hand, pronation, and others when using the FS/MLE combination. There was also some difficulty discriminating extend hand from open hand, close hand, side grip, and fine grip. The lowest classification accuracy with an average of 94.43% was obtained by fine grip indicating that this movement was the most difficult to detect. It was confused most often (1.88% of the time) with side grip.
3.2 FD feature results
Most of the FD features obtained low accuracy rates; among the eight FD features tested, WL and our proposed feature, MPK, showed only marginally better performance. The highest rate was obtained by FE/KNN combination with an average of 90.02% (Table 4). The combination of the FE feature and the MLE classifier obtained the lowest accuracy rate among the FD features, with an average of 16.80%.
Different combinations of the FD features were investigated using the forward feature selection and backward feature elimination; however, the results did not improve significantly. PCA was applied to the eight FD features to decrease the dimensionality of the feature set from 828 to 20. The accuracy rate of the KNN classifier showed a slight numerical increase, but the other classifiers obtained lower accuracy rates when employing the PCA (Table 4).
As illustrated in Table 5, the FE/KNN combination (the best performing combination among the FD features) showed the highest average accuracy of 98.52% for rest (no movement) with flex hand showing the next highest accuracy of 97.46%. Rest was confused with open hand and close hand by the FE/KNN combination the most, but each was less than 1% of the total predictions for the class. The lowest classification accuracy with an average of 84.43% was obtained by side grip. This movement was confused with all the movements to some extent except flex hand and extend hand; the most confusion happened with fine grip with an average prediction rate of 5.90%.
3.3 TFD feature result
Table 6 presents the classification accuracy of 11 different TFD features (the first eight features were extracted from the wavelet coefficients and the last three features were extracted from the wavelet packet coefficients). Afterwards, PCA was applied to all 11 TFD features as a set to decrease dimension of the feature set from 224 to 20. The wavelet transform features did not have good performance in decoding the 11 hand movements and the highest accuracy rate, with an average of 67.66%, was obtained with the WL/MLP combination (Table 6). The forward feature selection and backward feature elimination were applied to the TFD features; however, the results did not improve significantly.
Among the TFD features, LogRMS and NLE showed the highest accuracy rates when applied to the LDA and MLP classifiers (with averages of above 95%). The abovementioned features, as applied to the KNN and SVM classifiers, evolved into the second highest accuracy rates with averages of above 93% for KNN and SVM (Table 6). DT and MLE did not achieve good accuracy rates using TFD features. The LDA and SVM classifiers obtained the highest rate of 94.87% and 93.33% in conjunction with TFD features/PCA combination (almost the same result obtained by LogRMS and NLE features). The PCA dimensionality reduction improved the result of MLE classifier from 76.20 to 79.37%, which was not statistically significant. The results for the feature set analysis of TFD features using the feature selection method did not significantly improve the classification accuracy of any of the classifiers.
Table 7 illustrates the performance matrix between the movements (the intended movements and the detected movements) for the LogRMS/MLP combination which obtained the highest classification accuracy among the TFD features. Flex hand, extend hand, and pronation obtained the highest accuracy rates of above 98%. Flex hand was misclassified to some extent with all the movements except close hand and extend hand with the highest misclassification rate of 0.49% with pronation. The highest misclassification rate in detecting extend hand was found with fine grip at 0.49%. The lowest classification accuracy with an average of 91.31% was obtained by side grip. Side grip was confused with all movements except flex hand and extend hand; the highest misclassification rate was obtained by fine grip with an average accuracy of 3.61%.
3.4 Processing time
The average values of offline training and testing times (proportional to the offline training and realtime classification delay, respectively) of the 20 subjects on the same feature extraction and classifiers are presented in Tables 8 and 9, respectively.
The training process for KNN and MLE took less time than other classifiers, whereas MLP took the most time. The MAV/MLE combination was the fastest (0.008 s) and FE/MLP was the most timeconsuming combination (3655.0 s) in training (Table 8). The testing process for KNN and DT was faster than the other classifiers, and LDA consistently took the most time. The MAV/DT combination had the fastest testing time, and NLE/LDA showed the slowest testing time (Table 9). Among the TD features, MFL was the most timeconsuming. For FE, LogRMS, and NLE, the transformation of time domain signal to the frequency and timefrequency domains made these feature sets relatively timeconsuming.
For LDA and SVM classifiers, FS, LogRMS, and NLE features provided the highest accuracy rates. However, LogRMS and NLE took much more time than FS for both training and testing (34.31 s vs. 0.198 s and 34.30 s vs. 0.185 s, respectively). For the KNN and DT classifiers, FS obtained the highest accuracy; however, MAV was the fastest for both testing and training. For MLE, the FS showed the highest accuracy rate, and the elapsed time for training and testing was 0.121 s and 0.136 s, respectively. For MLP, FS, LogRMS, and NLE showed the highest accuracy rates; however, FS was the fastest in both training and testing (7.189 s and 0.131 s, respectively).
4 Discussion
The aim of the present study was to investigate configurations of signal features and classifiers to improve the accuracy and responsiveness of surface EMGbased motor decoding systems. To this purpose, four channels of surface EMG signal recorded from 20 healthy subjects during 11 different hand movements were selected from the BioPatRec database [14]. An investigation was then performed on the accuracy and responsiveness of 44 conventional and new features in combination with six different classifiers on a freely available database using a publicly available training and testing methodology. Many of the relative accuracy differences found in this work are corroborated with results from some of the existing literature [7, 11, 48], but the standardized and open pattern recognition framework used here provided results that are easily comparable with any other works that opt to use the same system.
The experimental results of the 25 TD features as presented in Table 1 showed that MAV, STD, WL, MPV, DAMV, MFL, IAV, and DASDV in combination with the KNN classifier obtained the highest accuracy rates (above 92%). Among these features, MFL was the most computationally expensive feature (Tables 8 and 9), limiting its usefulness in realtime systems.
Since the accuracy rate of the TD features was not satisfactory, we evaluated many different combinations of the 25 TD features and proposed an efficient feature set which provided statistically significant improvement in combination with LDA, MLE, and SVM classifiers. However, the elapsed training and testing time were slightly increased, but the authors still consider it acceptable for realtime applications. We then compared the result of our proposed feature set with that of a wellknown feature set in the state of the art (Hudgins’ set). The results in Table 2 show that our proposed feature set outperformed the Hudgins’ TD feature set. The presented performance matrix for the FS/MLE combination in Table 3 shows that, among the movements, gross movements, like flex hand and extend hand, were easy to detect while fine grip was the most difficult. This is expected, as gross antagonist movements tend to generate highly separable features.
We also investigated the performance of eight FD features. However, they did not show sufficiently low delay in combination with any of the six classifiers under investigation. The highest accuracy was obtained with the FE/KNN combination with an accuracy of 90.2%, but the testing time for this combination was almost 0.3 s, over twice that of our proposed feature set. The provided performance matrix for this combination in Table 5 shows that, among the individual movements, rest (no movement) and flex hand obtained the highest accuracy, whereas side grip obtained the lowest. This indicates that the frequency content of system and environmental noise, which dominates the EMG recordings at rest, has significantly different frequency characteristics than EMG signals.
Among the 11 investigated TFD features, the features that were obtained from the wavelet packet coefficients (LogRMS and NLE) had the highest accuracy when used in combination with LDA and MLP classifiers (above 95%). However, the FD and TFD features were computationally expensive, since the TD EMG signal needs to be transformed to the frequency and timefrequency domains, respectively. The performance matrix in Table 7 illustrates that flex hand, extend hand, and pronation were the easiest to detect and side grip was the most difficult, which corroborates our previous conclusions.
PCA was also applied to the three sets of features (25 TD features, eight FD features and, 11 TFD features) in each domain as the dimensionality reduction method and the results in Tables 2, 4, and 6 show that, in some cases, the accuracy rate dropped. This indicates that the reduced feature set lost some useful information from the EMG signal. However, almost the same result was obtained with a lower dimension (133 vs. 20, 224 vs. 20, and 828 vs. 20) for some of the combinations such as FE/KNN and FD/PCA in combination with KNN, suggesting that some classifiers, like KNN, are more robust to the information loss.
Overall, a wide range of pattern recognition methods, some of which have been evaluated in different studies with varying methodologies, were gathered into one study with the same experimental setup to find efficient configurations, resulting in an efficient feature set that improves motion recognition accuracy while maintaining high responsiveness.
In future work, other promising alternative classifiers, like deep–learning algorithms and cascade classification schemes [49], will be used to decode individual hand movements and will be compared with conventional machine learning algorithms shown in this work. Improved parameter selection for the conventional machine learning will also be investigated. The data from other customcollected datasets will also be used to observe the amount of deviations in the performance of algorithms and to enhance the statistical robustness of the comparisons. Optimal feature and classifier combinations will then be used in realtime tests, like the Target Achievement Control [50] or Motion Test [51], to corroborate the findings and translate them to clinically useful technologies.
5 Conclusions
In this study, we investigated 44 EMG features and five combinations of such features, and used six classifiers to decode 11 human upperlimb movements. Even though the processing time and dimension for the TD features were faster and smaller than other features, recognition performance was found to be unsatisfactory. Therefore, a new feature set (FS) was proposed by combining different TD features, which offered statistically significant improvement (p < 0.0001) in the results, with the cost of a small increase in the elapsed time for both training and testing processes. Among the classifiers under investigation, KNN and MLP offered the best performance for time domain features. However, MLP took much longer to train. LDA and MLP showed higher accuracy than other classifiers when used in combination with wavelet packet features (LogRMS and NLE), but at the cost of training and testing time. LDA was much faster than MLP when training, but the reverse was true for testing. MLE and SVM obtained their highest rates with the TD and TFD features, but they showed unsatisfactory performance in combination with FD features. The FS/MLE combination obtained the highest accuracy rate (above 97%) among the FD features. However, the elapsed time for the training and testing was 0.358 s and 0.298 s, respectively, making this combination unsuitable for realtime pattern recognition. PCA was also applied to the three feature sets in TD, FD, and TFD, and the results indicated that applying PCA offers improvement in the performance of LDA, MLE, and SVM classifiers which is not statistically significant. As a consequence, TD features and feature sets MAV, STD, WL, DAMV, IAV, and FS in combination with KNN and FS/MLE are recommended to obtain higher recognition accuracy rates while maintaining low processing times, whereas LogRMS and NLE in combination with LDA and MLP are suitable when time consumption is not a key requirement.
Abbreviations
 ANN:

Artificial neural networks
 AR:

Autoregressive
 Cor:

Correlation coefficient
 DAMV:

Difference absolute mean value
 DASDV:

Difference absolute standard deviation value
 DWT:

Discrete wavelet transform
 EMG:

Electromyography
 Er:

Energy
 FFT:

Fast Fourier transform
 FDim:

Fractal dimension
 FDF:

Frequency domain features
 FE:

Frequency energy
 FR:

Frequency ratio
 FS:

Feature set
 HFD:

Higuchi’s fractal dimension
 Hist:

Histogram
 HCom:

Hjorth complexity parameter
 HMob:

Hjorth mobility parameter
 IAV:

Integrated absolute value
 KNN:

Knearest neighborhood
 Kurt:

Kurtosis
 LDA:

Linear discriminant analysis
 LogRMS:

Logarithmic root mean square
 MAV:

Mean absolute value
 MAVS:

Mean absolute value slope
 MaxAV:

Maximum absolute value
 MDF:

Median frequency
 MFL:

Maximum fractal length
 MFV:

Mean firing velocity
 MLE:

Maximum likelihood estimation
 MNF:

Mean frequency
 MPK:

Mean of peaks
 MPV:

Mean of peak values
 MLP:

Multilayer perceptron
 MM:

Muscular model
 MPR:

Myoelectric pattern recognition
 mV:

Millivolt
 NLE:

Normalized logarithmic energy
 NP:

Number of peaks
 PCA:

Principle component analysis
 Perc:

Percentile
 PKF:

Peak frequency
 RE:

Relative energy
 DT:

Decision tree
 s:

Seconds
 Skew:

Skewness
 SSC:

Slope sign changes
 STD:

Standard deviation
 STDPK:

Standard deviation of peaks
 SVM:

Support vector machine
 TDAR:

Combined TD and AR
 TDF:

Time domain features
 TFDF:

Timefrequency domain features
 Var:

Variance
 WAM:

Willison amplitude
 WL:

Waveform length
 WPT:

Wavelet packet transform
 ZC:

Zero crossing
References
Scheme E, Englehart KB (2011) Electromyogram pattern recognition for control of powered upperlimb prostheses: state of the art and challenges for clinical use. J Rehabil Res Dev 48:643–660. https://doi.org/10.1682/JRRD.2010.09.0177
Nazmi N, Abdul Rahman MA, Yamamoto S, Ahmad SA, Zamzuri H, Mazlan SA (2016) A review of classification techniques of EMG signals during isotonic and isometric contractions. Sensors 16. https://doi.org/10.3390/s16081304
Tenore FV, Ramos A, Fahmy A, Acharya S, EtienneCummings R, Thakor NV (2009) Decoding of individuated finger movements using surface electromyography. IEEE Trans Biomed Eng 56:1427–1434. https://doi.org/10.1109/TBME.2008.2005485
Zecca M, Micera S, Carrozza MC, Dario P (2002) Control of multifunctional prosthetic hands by processing the electromyographic signal. Crit Rev Biomed Eng 30:459–485. https://doi.org/10.1615/CritRevBiomedEng.v30.i456.80
Guo S, Pang M, Gao B, Hirata H, Shihara H (2015) Comparison of sEMGbased feature extraction and motion classification methods for upperlimb movement. Sensors 15:9022–9038. https://doi.org/10.3390/s150409022
Phinyomark A, Phukpattaranont P, Limsakul C (2012) Feature reduction and selection for EMG signal classification. Expert Syst Appl 39:7420–7431. https://doi.org/10.1016/j.eswa.2012.01.102
Phinyomark A, Quaine F, Charbonnier S, Serviere C, TarpinBernard F, Laurillau Y (2013) EMG feature evaluation for improving myoelectric pattern recognition robustness. Expert Syst Appl 40:4832–4840. https://doi.org/10.1016/j.eswa.2013.02.023
Oskoei MA, Hu H (2006) GAbased feature subset selection for myoelectric classification. In: IEEE International Conference on Robotics and Biomimetics. IEEE, China, pp 1465–1470
Scheme EJ, Englehart KB, Hudgins BS (2011) Selective classification for improved robustness of myoelectric control under nonideal conditions. IEEE Trans Biomed Eng 58:1698–1705
Hudgins BS, Parker P, Scott RN (1991) The recognition of myoelectric patterns for prosthetic limb control. Annual International Conference of the IEEE Engineering in Medicine and Biology Society, IEEE, pp 2040–2041
Hargrove LJ, Englehart KB, Hudgins BS (2007) A comparison of surface and intramuscular myoelectric signal classification. IEEE Trans Biomed Eng 54:847–853
Karlsson S (2015) Communication interfaces and protocols for advanced control of highend prosthetic hands, Chalmers University of Technology
Micera S, Carpaneto J, Raspopovic S (2010) Control of hand prostheses using peripheral information. IEEE Rev Biomed Eng 3:48–68. https://doi.org/10.1109/RBME.2010.2085429
OrtizCatalan M, Brånemark R, Håkansson B (2013) BioPatRec: a modular research platform for the control of artificial limbs based on pattern recognition algorithms. Source Code Biol Med:8. https://doi.org/10.1186/17510473811
Yu S, Jeong E, Hong K, Lee S (2012) Classification of nine directions using the maximum likelihood estimation based on electromyogram of both forearms. Biomed Eng Lett 2:129–137. https://doi.org/10.1007/s135340120063x
Farfán FD, Politti JC, Felice CJ, (2010) Evaluation of EMG processing techniques using information theory. Biomed Eng Online 9. https://doi.org/10.1186/1475925X972
Wan Daud WMB, Yahya AB, Horng CS, Sulaima MF, Sudirman R (2013) Features extraction of electromyography signals in time domain on biceps brachii muscle. IJMO 3:515–519
Zoubek L, Charbonnier S, Lesecq S, Buguet A, Chapotot F (2007) Feature selection for sleep/wake stages classification using data driven methods. Biomed. Signal Process. Control 2:171–179. https://doi.org/10.1016/j.bspc.2007.05.005
Arjunan SP, Kumar DK (2010) Decoding subtle forearm flexions using fractal features of surface electromyogram from single and multiple sensors. J Neuroeng Rehabil 7. https://doi.org/10.1186/17430003753
Hudgins BS, Parker P, Scott RN (1993) A new strategy for multifunction myoelectric control. IEEE Trans Biomed Eng 40:82–94
ZardoshtiKermani M, Wheeler BC, Badie K, Hashemi RM (1995) EMG feature evaluation for movement control of upper extremity prostheses. IEEE Trans Rehabil Eng 3:324–333. https://doi.org/10.1109/86.481972
Kim KS, Choi HH, Moon CS, Mun CW (2011) Comparison of knearest neighbor, quadratic discriminant and linear discriminant analysis in classification of electromyogram signals based on the wristmotion directions. Curr Appl Phys 11:740–745. https://doi.org/10.1016/j.cap.2010.11.051
OrtizCatalan M, Brånemark R, Håkansson B (2012) Biologically inspired algorithms applied to prosthetic control. BioMed, Austria, pp 35–44
Tang X, Liu Y, Lv C, Sun D (2012) Hand motion classification using a multichannel surface electromyography sensor. Sensors 12:1130–1147. https://doi.org/10.3390/s120201130
Diwaker S, Gupta SK, Gupta N (2016) Classification of EEG signal using correlation coefficient among channels as features extraction method. Indian J Sci Technol 9:1–7. https://doi.org/10.17485/ijst/2016/v9i32/100742
Phinyomark A, Phukpattaranont P, Limsakul C (2012) Fractal analysis features for weak and singlechannel upperlimb EMG signals. Expert Syst Appl 39:11156–11163
Micera S, Sabatini AM, Dario P, Rossi B (1999) A hybrid approach to EMG pattern analysis for classification of arm movements using statistical and fuzzy techniques. Med Eng Phys 21:303–311. https://doi.org/10.1016/S13504533(99)000557
Hjorth B (1970) EEG analysis based on timedomain properties. Electroencephalogr Clin Neurophysiol 29:306–310
Vidaurre C, Krämer N, Blankertz B, Schlögl A (2009) Time domain parameters as a feature for EEGbased brain–computer interfaces. Neural Netw 22:1313–1319. https://doi.org/10.1016/j.neunet.2009.07.020
Oh SH, Lee YR, Kim HN (2014) A novel EEG feature extraction method using Hjorth parameter. Int J Electron Electr Eng 2:106–110. https://doi.org/10.12720/ijeee.2.2.106110
Han JS, Song WK, Kim JS, Bang WC, Lee H, Bien Z (Year) New EMG pattern recognition based on soft computing techniques and its application to control a rehabilitation robotic arm. In: 6th International Conference on Soft Computing pp 890897.
BIOPAC System Inc.: Application note. In: EMG frequency signal analysis. (2010)<http://www.biopac. com/Manuals/app_pdf/app118.pdf> .
Saponas S, Tan D, Morris D, Balakrishnan R (2008) Demonstrating the feasibility of using forearm electromyography for musclecomputer interfaces. In: CHI ‘08 proceedings of the SIGCHI conference on human factors in computing systems. ACM, Italy, pp 515–524
Englehart KB, Hudgins BS, Parker P (2001) A waveletbased continuous classification scheme for multifunction myoelectric control. IEEE Trans Biomed Eng 48:302–311
Rafiee J, Rafiee MA, Yavari F, Schoen MP (2011) Feature extraction of forearm EMG signals for prosthetics. Expert Syst Appl 38:4.58–4.4067. https://doi.org/10.1016/j.eswa.2010.09.068
Boostani R, Moradi HM (2003) Evaluation of the forearm EMG signal features for the control of a prosthetic hand. Physiol Meas 24:309–319
AlAngari HM, Kanitz G, Tarantino S, Cipriani C (2016) Distance and mutual information methods for EMG feature and channel subset selection for classification of hand movements. Biomed. Signal Process. Control 27:24–31
Duan F, Dai L, Chang W, Chen Z, Zhu C, Li W (2016) sEMGbased identification of hand motion commands using wavelet neural network combined with discrete wavelet transform. IEEE Trans Ind Electron 63:1923–1934
Khezri M, Jahed M (2011) A neuro–fuzzy inference system for sEMGbased identification of hand motion commands. IEEE Trans Ind Electron 58:1952–1960
Khushaba RN, Kodagoda S, Lal S, Dissanayake G (2011) Driver drowsiness classification using fuzzy waveletpacketbased featureextraction algorithm. IEEE Trans Biomed Eng 58:121–131
Wang G, Wang Z, Chen W, Zhuang J (2006) Classification of surface EMG signals using optimal wavelet packet method based on DaviesBouldin criterion. Med Biol Eng Comput 44:865–872
Kokol P, Mernik M, Završnik J, Kancler K, Malèiæ I (1994) Decision trees based on automatic learning and their use in cardiology. J Med Syst 9:201–206
Shin S, Tafreshi R, Langari R (2014) A performance comparison of hand motion EMG classification. In: Middle East Conference on Biomedical Engineering (MECBME). IEEE, Qatar, pp 353–356
Rani P, Sarkar N, Liu C (2006) Maintaining optimal challenge in computer games through realtime physiological feedback. In: 1st International Conference on Augmented Cognition, Las Vegas, pp 2227.
Khushaba RN, Kodagoda S, Liu D, Dissanayake G (2011) Electromyogram (EMG) based fingers movement recognition using neighborhood preserving analysis with QRdecomposition. In: Seventh International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), IEEE, Australia, pp.
Tsai AC, Hsieh TH, Luh JJ, Lin TT (2014) A comparison of upperlimb motion pattern recognition using EMG signals during dynamic and isometric muscle contractions. Biomed Signal Process Control 11:17–26. https://doi.org/10.1016/j.bspc.2014.02.005
Steel RGD, Torrie JH (1980) Principles and procedures of statistics. McGrawHill Book Co. Inc., New York, NY
Ren H, Singhvi S (2018) Comparative study of motion recognition with temporal modelling of electromyography for thumb and index finger movements aiming for wearable robotic finger exercises. In: 3rd International Conference on Advanced Robotics and Mechatronics (ICARM). IEEE, pp 509–514
Akben SB (2017) Lowcost and easytouse grasp classification, using a simple 2channel surface electromyography (sEMG). Biomed Res 28:577–582
Simon AM, Hargrove LJ, Lock BA, Kuiken T (2011) Target achievement control test: evaluating realtime myoelectric pattern recognition control of multifunctional upperlimb prostheses. J Rehabil Res Dev 48:619–628. https://doi.org/10.1682/JRRD.2010.08.0149
Kuiken T, Li G, Lock BA, Lipschutz RD, Miller LA, Stubblefield KA et al (2009) Targeted muscle reinnervation for realtime myoelectric control of multifunction artificial arms. JAMA 301:619–628. https://doi.org/10.1001/jama.2009.116
Acknowledgements
Open access funding provided by Mälardalen University.
Funding
The study was financed by Swedish Knowledge Foundation’s research profile Embedded Sensor System for Health (ESSH).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Abbaspour, S., Lindén, M., Gholamhosseini, H. et al. Evaluation of surface EMGbased recognition algorithms for decoding hand movements. Med Biol Eng Comput 58, 83–100 (2020). https://doi.org/10.1007/s1151701902073z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s1151701902073z