Next Article in Journal
Channel Characteristic Aware Privacy Protection Mechanism in WBAN
Next Article in Special Issue
The Dynamic EEG Microstates in Mental Rotation
Previous Article in Journal
A Fluorescent Biosensors for Detection Vital Body Fluids’ Agents
Previous Article in Special Issue
Development of a Modular Board for EEG Signal Acquisition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Windowing Framework for Surface Electromyogram-Based Pattern Recognition System for Transradial Amputees

1
Biomedical Engineering Department, Al-Khwarizmi College of Engineering, University of Baghdad, Baghdad 47146, Iraq
2
Centre for Robotics and Neural Systems (CRNS), Cognitive Institute, Plymouth University, Plymouth PL4 8AA, UK
3
School of Engineering, Institute for Digital Communications, The University of Edinburgh, Alexander Graham Bell Building, Edinburgh EH9 3FG, UK
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(8), 2402; https://doi.org/10.3390/s18082402
Submission received: 5 June 2018 / Revised: 9 July 2018 / Accepted: 18 July 2018 / Published: 24 July 2018
(This article belongs to the Special Issue EEG Electrodes)

Abstract

:
Electromyogram (EMG)-based Pattern Recognition (PR) systems for upper-limb prosthesis control provide promising ways to enable an intuitive control of the prostheses with multiple degrees of freedom and fast reaction times. However, the lack of robustness of the PR systems may limit their usability. In this paper, a novel adaptive time windowing framework is proposed to enhance the performance of the PR systems by focusing on their windowing and classification steps. The proposed framework estimates the output probabilities of each class and outputs a movement only if a decision with a probability above a certain threshold is achieved. Otherwise (i.e., all probability values are below the threshold), the window size of the EMG signal increases. We demonstrate our framework utilizing EMG datasets collected from nine transradial amputees who performed nine movement classes with Time Domain Power Spectral Descriptors (TD-PSD), Wavelet and Time Domain (TD) feature extraction (FE) methods and a Linear Discriminant Analysis (LDA) classifier. Nonetheless, the concept can be applied to other types of features and classifiers. In addition, the proposed framework is validated with different movement and EMG channel combinations. The results indicate that the proposed framework works well with different FE methods and movement/channel combinations with classification error rates of approximately 13% with TD-PSD FE. Thus, we expect our proposed framework to be a straightforward, yet important, step towards the improvement of the control methods for upper-limb prostheses.

1. Introduction

In Iraq, successive wars and violent terrorist attacks have resulted in a large number of people losing their upper limbs. Despite the large number of amputees there and in the rest of the world, they are yet to be provided with hand prostheses that meet their expectations, such as high dexterity and easy controllability. Poor functionality and limited usability are some of the main problems of the existing prostheses.
Pattern Recognition (PR) based EMG control may offer a promising approach to control the advanced dexterous hands such as the i-Limb hand or Michelangelo hand [1] with the ability to intuitively control a large number of movements with fast reaction times, unlike the conventional EMG control [2,3]. In spite of the recent advances in the field of EMG-based PR systems, where remarkable achievements have been reached in terms of classification accuracy and the ability to control large number of movements, PR systems have been recently deployed in commercial prostheses [4]. However, their use is still very limited. Performance degradation in real life situations due to changing arm posture [5], force variation [3] and signal non-stationarity [6] are some of the barriers which may limit the clinical implementation of PR systems. This is despite a number of studies on processing methods having been tested to recognize hand movements including, for example, nonlinear measures based on recurrence plot to assess the hidden dynamical characteristics of sEMG [7] or modelling sEMG signals of hand manipulations with expectation maximization (EM) algorithms [8].
To improve the classification performance, robustness and usability of PR systems, as well as to overcome the limitations of the conventional EMG control, researchers have proposed many enhanced PR systems. Examples of PR system enhancements included post-processing techniques such as Majority Voting (MV) [9], Bayesian Fusion (BF) [10] and self-correcting systems [11].
Other approaches to PR enhancement included rejection-based methods which were also proposed to improve the usability of PR systems [12,13,14]. Scheme et al. [12] proposed an extended Linear Discriminant Analysis (LDA) capable of movement rejection. Fitt’s law testing framework was utilized to evaluate the proposed rejection scheme on intact-limbed and amputee subjects. If the system is not robust enough, it may fail to produce the correct decision as a result of outputs with low classifier probabilities; for instance, when the amputee changes the movement a lot or very quickly. In [11], a novel post-processing technique using LDA with maximum likelihood and an artificial neural network was proposed and tested with EMGs from intact-limbed and amputee subjects. However, the proposed technique has numerous parameters that need to be adjusted for each amputee in order to achieve maximal performance.
Other approaches of PR systems enhancements include the adaptation of classifiers [13,15,16,17] and the ensemble of multiple classifiers [13,18,19], which are methods based on the improvement at the classifier level. An unsupervised adaptation strategy of LDA based on probability weighting and cycle substitution was proposed in [20] and tested with EMG signals acquired from five able-bodied subjects for ten classes of movement. In contrast, in [13], a classification scheme was developed based on boosting and random forest classifiers where a threshold was used to adjust the classification and the rejection of the samples belonging to some untrained classes. The approach was validated on EMGs for seven movements from six intact-bodied subjects. This approach is a good example of utilizing two techniques, ensemble boosting and rejection methods, to enhance the performance PR systems.
PR system enhancements may help to improve the existing prostheses and to make them available for amputees’ use. In the real world, the amputee may prefer a prosthesis that can achieve minimal errors with some delay for only suspicious (low confidence) decisions rather than a system which is fast but makes a lot of errors. For instance, a system with 90% accuracy may have one wrong movement in every ten movements which may be catastrophic for the amputee in real life such as dropping off a hot cup of coffee or tea on the amputee which eventually may result in secondary prostheses rejection [21]. Furthermore, the statistical properties of the EMG recorded in real-world situations may be different from those acquired in laboratory conditions [22]. Hence, rigid PR systems will face additional difficulties in their translation to clinical use by patients. This emphasizes the need for systems that have some degree of adaptiveness to facilitate reducing the gap between research and industry [2,22].
Englehart and Hudgins [23] showed that there is a trade-off between the classification accuracy and time window size for PR systems based on the classification of overlapped windows. Therefore, the performance of PR systems can be improved simply by increasing the size of the time window for the misclassified decisions, something that will reduce the variance or variability within the features of the EMG [24]. Most PR systems adopt a fixed and relatively short window size [25,26,27] allowing for acceptable response time delays [28]. However, this entails a risk of lower accuracy.
In this paper, we propose a new PR system enhancement that uses the unexploited factor of adaptively increasing the time window size when required. To the best of our knowledge, no framework based on the adaptive windowing of EMG signal has been proposed in the literature. The enhancement is simple in the sense that it is based on thresholding the output likelihood of the classifier to check the confidence in the decision. This provides an improvement in the classification performance at the expense of a very small fraction of extended time windows. The proposed adaptive window size framework is only used for low confidence decisions. The underlying hypothesis is that the system will adapt to the difficult decisions by increasing window size until a confident classification can be achieved. The proposed novel adaptive window size framework will be validated on EMG data acquired from nine transradial amputees who performed nine classes of hand and finger movements. It will also be tested with different feature extraction methods and movement/channel combinations.

2. Materials and Methods

2.1. Proposed Adaptive Windowing-Based PR Framework

In this section, our novel adaptive windowing-based PR framework will be presented. Figure 1 shows the block diagram of the PR system with adaptive windowing. It illustrates the main steps followed in the design and evaluation phases of the system and highlights the differences with traditional approaches by enclosing them with a dashed line (blue for the design phase and red for the evaluation one).
First of all, using the feature reduction and classification technique of choice (spectral regression and LDA in our case), the classifier is trained with features extracted from a range of window lengths. Traditionally, PR systems consider only a single window length. Instead, our adaptive windowing framework will train the classifier simultaneously with features extracted from window lengths from 150 ms to 350 ms, in steps of 50 ms. Once the classifier has been trained, it is used, without any changes, in the evaluation phase.
The key element of our system is the introduction of a threshold to evaluate if there is enough “confidence” in the result of the classification. Traditional systems output the movement with the largest probability, Pr, no matter how large such probability is in comparison with those estimated for other classes. For example, for a three-class problem with outputs, PrA = 0.34, PrB = 0.33 and PrC = 0.33, for classes A, B and C, respectively, the traditional approach will decide on class A even though the output for class A is very similar to those of B and C. Instead, we introduce a threshold (θ). For each window, the largest Pr among all classes (PrMax) is compared against θ. If PrMaxθ, we consider that there is enough confidence in the decision and the system outputs the class associated with PrMax. Instead, if PrMax < θ, we consider that the system does not have enough confidence in the decision and the system will increase the window size. The features will be recomputed for the increased window size and the classification will be reattempted with the expectation that the classifier will now provide a more confident decision since a large window size may have less variability in the extracted features [24]. This iterative process is repeated until PrMaxθ, in which case the system outputs the corresponding class, or the maximal window length has been reached, in which case the system does not produce any output. In this way, the system implicitly refuses to output a class when the classification confidence is not high enough, in a similar way to [29].
A crucial parameter of the system is the value of θ. We considered 16 values in θ = {0.70, 072, 0.74, …, 0.96, 0.98, 0.99}. θ is fine-tuned individually for each subject in the design phase, when the system assumes a fixed value of θ and estimates the performance of the system in terms of percentage of erroneous classifications and the percentage of increased windows, which depends on how many windows needed to be extended. This evaluation is then repeated for all possible values of θ. The results can be visualized as performance curves. Lower θs imply that a lower level of confidence is required to accept a classification decision. This leads to faster decisions (shorter windows) at the expense of more errors. In contrast, higher θs tend to be associated with lower error rates but larger windows. A trade-off balancing both factors is achieved by carrying out a visual inspection of the curves. The value of θ chosen for each subject will be utilized in the evaluation phase without any modification.

2.2. Data Collection

Nine amputees (seven acquired males and two congenital females) with unilateral amputation were recruited with average age 31.8 ± 10.6 years (mean ± standard deviation, SD). Time since amputation was 7.6 ± 8.8 years (mean ± standard deviation, SD). The demographic information of the amputees is illustrated in Table 1. For TR1-TR6 amputees, the EMG datasets were collected at Al-Muthana Rehabilitation Centre for the Iraqi Army (Baghdad) and Babylon Rehabilitation Centre, Iraq, while for TR7 (Transradial 7), CG1-CG2 (Congenital 1 & 2), the EMG datasets were collected at Plymouth University, UK. The study was conducted in accordance with the Declaration of Helsinki and the protocol was approved by the Ethical Committee at the School of Computing and Mathematics, Plymouth University (17 September 2009) and updated to collect the data from Iraq. Written informed consent was approved by amputees to join the study.
At the beginning, participants’ skin was cleaned with alcohol. Afterwards, abrasive skin preparation gel (NuPrep®, D.O. Waver and Company) was put on the skin. Seven pairs of Ag/AgCl electrodes (Tyco healthcare, Ratingen, Germany) were utilized and placed around the left stump in one or two rows arrangement for all amputees. The exception was amputee CG2 in which the electrodes were put on the right stump. The reference electrode was placed on the Olecranon process of the Ulna. Figure 2 shows examples of the electrode locations for 2 amputees, TR4 and CG2. It should be noted that the electrode locations for each amputee was variable as each amputee has different stump morphology.
The EMG signals were acquired with custom-build pre-amplifier. The electronic system of the preamplifier consisted of a 2-stage amplifier (gain factor of 1000). The preamplifier has also two analogue filters to reduce noise, low-pass filter (fourth-order Butterworth, fc = 450 Hz) and high-pass filter (second-order Butterworth, fc = 10 Hz). Then, NI USB 6210 (National Instruments, Austin, TX, USA) was utilized for analogue to digital conversion (sampling frequency = 2000 Hz). LabVIEW software package (National Instruments, USA) was utilized to develop a virtual Instrument (VI) for signal acquisition and display.
EMG signals were acquired for nine classes of movements, which are: (1) Thumb flexion; (2) Index flexion; (3) No movement (rest); (4) Fine pinch; (5) Tripod grip; (6) Hook grip; (7) Spherical grip; (8) Pronation and (9) Supination. For each of the movements, the amputees produced constant, non-fatiguing contraction with moderate force level. In order to help them to imagine the needed movement, the amputees used their intact-hand and/or visual feedback from the raw EMG signals. Figure 3 shows amputee TR5 performing the protocol of imaging the fine pinch movement with the help of the intact hand. We recorded five to eight trials for each movement class, for each amputee. A trial represents a holding phase of 8–12 s.

2.3. Investigation of the Effect of Different Feature Extraction Methods on the Adaptive Windowing Framework

In order to evaluate the proposed PR windowing framework based on adaptive window size, the EMG signals were split into three sets, (a) training (2 trials), (b) validation (2 trials) and (c) testing (rest of the trials, 1 to 4 trials). The training and validation sets (Figure 1) were used to find the trade-off threshold for each amputee (design phase), while the unseen testing set was utilized to evaluate the final performance (evaluation phase) as will be explained next and shown in the results section. For more information about the details of the design and evaluation phases, the reader is refereed to Table 2.

2.3.1. Design Phase

In the design phase, the training and validations sets were used to find the trade-off threshold for each amputee. First, the EMG signal of the training set (Table 2) is band pass filtered 20–450 Hz. Three feature extractions were used to investigate the suitability of our proposed framework with different feature extraction methods. These methods include (1) Time Domain-Power Spectral Descriptors (TD-PSD) [3]; (2) Wavelet features [3], where the energy of the coefficients at each node were calculated with 5 levels decomposition and Symmlet-8 family; and (3) Time-domain features (TD) [30] including: integral absolute value, waveform length, number slope sign changes and the number of zero crossings.
We extracted these features for 150 ms window size and an increment of 50 ms. In order to train the classifier with features of multiple window sizes, we also extracted these features for other window sizes involved in the adaptive window size algorithm that is, 200, 250, 300 and 350 ms. The features from all window sizes were combined in the training data. To reduce the dimensionality of the extracted features, the Spectral Regression (SR) dimensionality reduction method was used [31,32]. With SR, mapping of the feature set is done into a new reduced domain with the size of c − 1 features only, where c is the number of movement classes.
An LDA classifier with output probabilities was used to perform classification [11,30]. The LDA classifier in the design phase is trained with reduced features from all window sizes and tested with EMG features from the validation set and the adaptive windowing framework. The algorithm was tested with 16 different threshold values for each amputee {0.7, 0.72, 0.74, 0.76, ..., 0.94, 0.96, 0.98 and 0.99}. For each subject, we calculated the classification errors (Equation 1) (for the validation set) and the percentage of windows larger than 150 ms (% of increased windows) for each threshold value. For all threshold values, we plotted a single graph containing the error rates plotted on the primary axis and the percentage of increased windows plotted on the secondary axis. The axes range were set to the minimum and maximum values of the error rates and percentage of increased windows for each individual amputee. The threshold value that is located after intersection point of the two curves was chosen as the trade-off threshold for that amputee. Figure 4 shows an example of the process of finding the trade-off threshold for TR6 amputee for the case of 9-movement classes with 7 EMG channels (TD-PSD FE method was used here) where the chosen trade-off threshold value was 0.92. It should be noted that the design phase was only utilized to obtain the trade-off threshold value for each individual amputee.
The classification error rates will be calculated according to [30] as follows
  C l a s s i f i c a t i o n   e r r o r   r a t e   ( % ) =   N u m b e r   o f   i n c o r r e c t   d e c i s i o n s T o t a l   n u m b e r   o f   d e c i s i o n s   ×   100  

2.3.2. Evaluation Phase

In the evaluation phase, we utilize the testing set (Table 2) to evaluate the performance of the proposed adaptive windowing method for each amputee with the trade-off threshold calculated in the previous phase (design phase) with the use of the same PR chain that is, the same feature extraction (TD-PSD, WT and TD), SR and adaptive windowing. The classification error rates were calculated for all FE methods (Equation (1)).
We utilised a Bonferroni-corrected Analysis of Variance (ANOVA) test with a significance level of 0.05 to test the statistical significance of the achieved classification results, where the null hypothesis is that the errors of classification obtained by the proposed adaptive windowing framework, for each feature extraction set (i.e., TD-PSD, Wavelet and TD) are not significantly different from each other. The null hypothesis will be doubted if the p-values are small (<0.05), which may infer that the performance of the different methods is significantly different.

2.4. Investigation of the Effect of Different Movement/ Channel Combinations on the Adaptive Windowing Framework

In order to evaluate the effectiveness of the proposed adaptive windowing-based PR framework, different number of movement classes (7 and 9 classes) with 2 EMG channel sets (5 and 7 channels) were investigated with the proposed adaptive windowing framework, LDA classifier and the best performer for the feature extraction methods from the previous analysis in Section 2.3.2. For the case of 7 movement classes, the first 7 movements from all 9 movements were chosen, that is, (1) Thumb flexion; (2) Index flexion; (3) Fine pinch; (4) No movement (5) Tripod grip; (6) Hook grip; (7) Spherical grip (see Section 2.2). As for the case of 5 EMG channel, the first 5 EMG channels were chosen from the full set of 7 EMG channels.
Bonferroni-corrected Analysis of Variance (ANOVA) tests with a significance level of 0.05 were utilized to test the statistical significance of the achieved classification results, where the null hypothesis is that the errors of classification obtained by the proposed adaptive windowing framework with different EMG channel combinations are not significantly different from each other. In such a situation, the performance of each of the two different channel combinations is significantly different from each other, if the p-values are less than 0.05.

3. Results

3.1. Investigation of the Effect of Different Feature Extraction Methods

The classification error rates for the proposed adaptive windowing framework, for all nine amputees with three feature extraction methods, (a) TD-PSD, (b) Wavelet, (c) TD, for the case of for 9 movement classes with 7 EMG channels, are illustrated in Table 3. Mean and Standard Deviation (SD) are also shown in Table 3.
The average percentages for each of the window sizes for the case of nine movements with 7 EMG channels with three feature extraction methods (TD-PSD, Wavelets and TD) are shown in Figure 5 where error bars represent SD across nine amputees. It should be noted that the percentage of increased windows (windows longer than 150 ms) was higher in TD and Wavelet than in TD-PSD. Only around of 10% of all windows with TD-PSD FE have undergone an increase in the window size by the proposed adaptive windowing framework while the rest of windows led to probabilities above the threshold (Figure 1).
The results of statistical tests (Bonferroni corrected p-values) showed that there are no significant differences between each pair of the 3 feature extraction methods as p-values > 0.05.

3.2. The Effect of Different Movement/Channel Combinations

In this section, the best feature extraction method from the previous analysis (TD-PSD) will be used to investigate the effect of using different movement/channel combinations. Figure 6 displays the results of testing the proposed windowing framework with the trade-off threshold values, for the 7- and 9-movement-class problems and for each of five and seven EMG channel cases for all nine amputees.
In all movement/channel combinations investigated (Figure 6), the average error rates for the proposed adaptive windowing framework are within the range 13–20%. The results of statistical tests showed that for the cases of 7 and 9 movement classes, there are significant difference between the 5 and 7 EMG channels (p-values < 0.05).
Table 4 illustrated the average final window size ± SD across all amputees for all cases of movement/channel combinations investigated. This was calculated by taking the average of the final window size for all windows in the test set for each amputee. Clearly, it can be seen that as the number of EMG channels were reduced, the average window size increases since the classification problem is more difficult with only 5 channels than with 7 EMG channels.
In Table 5, the trade-off threshold values (θ) for each amputee are shown for the cases of 9-movement classes with 5 and 7 EMG channels.
Table 6 presents the results of the classification accuracy for each of the 9 movement classes with TD-PSD FE and the proposed adaptive windowing framework with 5 and 7 EMG channels.

4. Discussion

We proposed an adaptive windowing framework which increases the window size of the EMG signal to acquire more information for difficult decisions whose confidence lies below a certain threshold value (θ). The proposed framework was tested with three different FE methods, namely, TD-PSD, WT and TD. The proposed adaptive windowing framework was also validated with different combinations of movement classes and number of EMG channels.
LDA was chosen to be used with our proposed framework since it has shown good performance for PR systems and it has few tuneable parameters [3,33]. The proposed framework can be extended to work with other classifiers that produce output probabilities.
In our proposed framework, we utilize the information from the EMG signal to improve the performance at the expense of potentially increasing the window size. On one hand, this increase in the window size only happens for the suspicious decisions with low confidence after implementing a confidence checker for the LDA classifier. On the other hand, increasing the window size can reduce the variability within the EMG features [24]. The decision of rejecting a window is based on the ground of safety. Otherwise, the class with the highest probabilities will be chosen as the output class (Figure 1).
For comparative purposes, Table 7 presents the average classification errors for the case of 9 movement classes with 5- and 7- EMG channels with TD FE and the classical LDA, LDA with MV across the current and 8 previous decisions [9], LDA with BF also across the current and 8 previous decisions, in a similar manner to [10] and our proposed adaptive windowing framework. It can be seen that the proposed adaptive procedure manages to decrease the error rates and outperforms other methods.
In Table 2, we showed that our work can still be applied with different FE methods, that is, TD-PSD, Wavelet transform and TD. The error rates of TD-PSD (13%) were lower than that of TD and WT. Unlike [11,13,24] who used one FE which was TD, we utilised three other FE methods in this study. It is noteworthy to mention that TD-PSD outperformed TD FE method, in agreement with the recently published literature [34,35].
In Figure 6, it should be noted that the error rates for 7 movement classes with 5 channels were higher than for 9 movement classes with 5 EMG channels. This may be because the errors appeared mainly in the second movement which is index flexion movement (within the first 7 movement classes). However, the errors in pronation and supination grips (in the set of 9 classes) were much less than that of the index flexion (see Table 6). This may be a potential reason for why 7 classes have larger errors than 9 classes.
The errors shown in Figure 6 are still in the range of 13–20% and away from that of a usable system [30]. However, our adaptive windowing method is based on the EMG signal itself and it is applicable to most EMG control strategies. We illustrated our proposed windowing framework with LDA in challenging classification tasks carried out by nine amputees and we expect it to be able to improve the performance of other PR-based systems. The recent deployment of a PR system in commercial prostheses shows the importance of such systems for the control of upper- limb hand prostheses [4].
In Table 4, the average of the final window size obtained during the evaluation phase (Section 2.3.2) was illustrated for all nine amputees. We acknowledge that our method results in an increased window size for a fraction of movement instances. However, we argue that this increase in the window size is not fixed for all windows and it is only for particular windows of the signal where a difficult decision is identified, that is, when the output probability of the classifier is below a certain threshold (θ). Our windowing framework only increases the window size to get the final output for the difficult decisions which is a small fraction of the total decisions (around 10–15% for the case of 9-movement classes with 7 channels). Among these 10–15%, only a small fraction reached the maximum window size of 350 ms as shown in Figure 5.
Unlike the work presented in [13] where a fixed threshold value was used for all subjects, it is shown in Table 5 that the threshold value (θ) is different for each amputee and subject-specific tuning of the threshold value of the algorithm is essential. We also showed an example of finding the threshold value (θ) for 1 amputee in Figure 4. It is worth noting that normal subjects recruited in [13] have less variance in their performance while, in our study, we recruited nine transradial amputees where each amputee has different stump morphology and time since amputation.
In our proposed windowing framework, only uncertain decisions are corrected. The limitation of the simple movement rejection approach was acknowledged in [36], where the unintended activation of a device was also suggested to be a potential reason for frustration while testing pattern recognition systems [19]. It should be noted that the approach proposed in [11] has many tuneable parameters unlike our proposed framework where only the threshold (θ) needs to be adjusted.
Table 6 illustrated the classification accuracy for each class, for all nine amputees, for the case of 9 movements classes with 5 and 7 EMG channels, where most of the errors were in the index flexion movement. As expected, the rest movement was the class with the lowest errors.
We started with a window size of 150 ms and adopted an increase in the window size of 50 ms, that is, 200, 250, 300 and 350 ms, with 50 ms window increment. Larger steps with steps of window size can be used such as 100 ms to reduce the iterations of the algorithm and to help real-time implementations. Nonetheless, it must be noted that the key element in our windowing framework is the estimation of a personalised threshold (θ) in the design phase (Section 2.3.1). This forms part of the training of the prosthesis. However, once θ has been set, the system could operate in real-time. It might be advisable, though, to readjust the value of θ periodically to accommodate slow changes in the patterns of the EMG signals due to training in the use of the prostheses, for example. To calculate the error rates, the classification errors were computed without including the rejected windows, which account for only a very small fraction of the results.
Finally, offline analysis was performed in this study which may a limitation, similar to other studies [11,13]. In addition, a relatively small number of movement classes was collected in this study. Future studies will collect more movement classes from more amputees and consider regression approaches. We note, however, that our framework is applicable as well to regression-based prosthesis control.

5. Conclusions

A novel adaptive windowing framework was proposed as an enhancement for the PR systems. The proposed novel framework was validated with LDA classifier and our proposed concept can be applied to other classifiers. The proposed approach estimated the output confidence of each individual movement classification process and increased the window size only if a decision with a probability below a certain threshold value (θ) is detected. The proposed adaptive windowing framework was tested with EMG datasets collected from nine transradial amputees who performed nine movement classes. Classification error rate of 13 % was obtained with TD-PSD and the proposed adaptive framework for 9 movements classes. Recent deployment of PR systems on commercial prostheses gives hope to improve the existing prosthesis control. The PR enhanced system proposed in this study is a further step towards improving the control of the upper limb prostheses.

Author Contributions

Conceptualization, A.H.A.-T., J.E. and G.B.; Data curation, A.H.A.-T.; Formal analysis, A.H.A.-T. and J.E.; Methodology, A.H.A.-T., J.E. and G.B.; Software, A.H.A.-T. and J.E.; Supervision, G.B.; Writing—original draft, A.H.A.-T.; Writing—review & editing, A.H.A.-T., J.E. and G.B.

Funding

This research was funded by the Ministry of Higher Education and Scientific Research, Iraq, grant number [10121-2008].

Acknowledgments

The authors would like to thank S. Haitham and H. Al-Jamal for recruiting the amputees and also H. Li and N. Outram for building the EMG amplifier. The authors are also grateful to the amputee participants, A. Chan for providing the Myoelectric Control Toolbox and R. Khushaba for the discussion.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Atzori, M.; Müller, H. Control capabilities of myoelectric robotic prostheses by hand amputees: A scientific research and market overview. Front. Syst. Neurosci. 2015, 9, 162. [Google Scholar] [CrossRef] [PubMed]
  2. Farina, D.; Jiang, N.; Rehbaum, H.; Holobar, A.; Graimann, B.; Dietl, H.; Aszmann, O. The extraction of neural information from the surface EMG for the control of upper-limb prostheses: Emerging avenues and challenges. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 797–809. [Google Scholar] [CrossRef] [PubMed]
  3. Al-Timemy, A.H.; Khushaba, R.N.; Bugmann, G.; Escudero, J. Improving the performance against force variation of EMG controlled multifunctional upper-limb prostheses for transradial amputees. IEEE Trans. Neural Syst. Rehabil. Eng. 2016, 24, 650–661. [Google Scholar] [CrossRef] [PubMed]
  4. Scudellari, M. Bionic Arms Get a Thought-Control Upgrade. Available online: https://spectrum.ieee.org/the-human-os/biomedical/bionics/thoughtcontrol-systems-advance-bionic-arms (accessed on 11 November 2017).
  5. Fougner, A.; Scheme, E.; Chan, A.; Englehart, K.; Stavdahl, Ø. Resolving the limb position effect in myoelectric pattern recognition. IEEE Trans. Neural Syst. Rehabil. Eng. 2011, 19, 644–651. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Lorrain, T.; Jiang, N.; Farina, D. Influence of the training set on the accuracy of surface EMG classification in dynamic contractions for the control of multifunction prostheses. J. Neuroeng. Rehabil. 2011, 8, 25. [Google Scholar] [CrossRef] [PubMed]
  7. Ouyang, G.; Zhu, X.; Ju, Z.; Liu, H. Dynamical characteristics of surface EMG signals of hand grasps via recurrence plot. Biomed. Health Inf. IEEE J. 2013, 18, 257–265. [Google Scholar] [CrossRef] [PubMed]
  8. Lu, Y.; Ju, Z.; Liu, Y.; Shen, Y.; Liu, H. Time series modeling of surface EMG based hand manipulation identification via expectation maximization algorithm. Neurocomputing 2015, 168, 661–668. [Google Scholar] [CrossRef] [Green Version]
  9. Yonghong, H.; Englehart, K.; Hudgins, B.; Chan, A. A Gaussian mixture model based classification scheme for myoelectric control of powered upper limb prostheses. IEEE Trans. Biomed. Eng. 2005, 52, 1801–1811. [Google Scholar] [CrossRef]
  10. Khushaba, R.; Kodagoda, S.; Takruri, M.; Dissanayake, G. Toward improved control of prosthetic fingers using surface electromyogram (EMG) signals. Expert Syst. Appl. 2012, 39, 10731–10738. [Google Scholar] [CrossRef]
  11. Amsuss, S.; Goebel, P.M.; Jiang, N.; Graimann, B.; Paredes, L.; Farina, D. Self-correcting pattern recognition system of surface EMG signals for upper limb prosthesis control. IEEE Trans. Biomed. Eng. 2014, 61, 1167–1176. [Google Scholar] [CrossRef] [PubMed]
  12. Scheme, E.; Hudgins, B.; Englehart, K. Confidence based rejection for improved pattern recognition myoelectric control. IEEE Trans. Biomed. Eng. 2013, 60, 1563–1570. [Google Scholar] [CrossRef] [PubMed]
  13. Li, Z.; Wang, B.; Yang, C.; Xie, Q.; Su, C.Y. Boosting-based EMG patterns classification scheme for robustness enhancement. IEEE J. Biomed. Health Inf. 2013, 17, 545–552. [Google Scholar] [CrossRef]
  14. Menon, R.; Di Caterina, G.; Lakany, H.; Petropoulakis, L.; Conway, B.A.; Soraghan, J.J. Automatic misclassification rejection for LDA classifier using ROC curves. In Proceedings of the 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Milan, Italy, 25–29 August 2015. [Google Scholar]
  15. Huang, Q.; Yang, D.; Jiang, L.; Zhang, H.; Liu, H.; Kotani, K. A novel unsupervised adaptive learning method for long-term electromyography (EMG) pattern recognition. Sensors 2017, 17, 1370. [Google Scholar] [CrossRef] [PubMed]
  16. Chen, X.; Zhang, D.; Zhu, X. Application of a self-enhancing classification method to electromyography pattern recognition for multifunctional prosthesis control. J. Neuroeng. Rehabil. 2013, 10, 44. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Liu, J. Adaptive myoelectric pattern recognition toward improved multifunctional prosthesis control. Med. Eng. Phys. 2015, 37, 424–430. [Google Scholar] [CrossRef] [PubMed]
  18. Scheme, E.J.; Englehart, K.B.; Hudgins, B.S. Selective classification for improved robustness of myoelectric control under nonideal conditions. IEEE Trans. Biomed. Eng. 2011, 58, 1698–1705. [Google Scholar] [CrossRef] [PubMed]
  19. Hargrove, L.J.; Scheme, E.J.; Englehart, K.B.; Hudgins, B.S. Multiple binary classifications via linear discriminant analysis for improved controllability of a powered prosthesis. IEEE Trans. Neural Syst. Rehabil. Eng. 2010, 18, 49–57. [Google Scholar] [CrossRef] [PubMed]
  20. Zhang, H.; Zhao, Y.; Yao, F.; Xu, L.; Shang, P.; Li, G. An adaptation strategy of using LDA classifier for EMG pattern recognition. In Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Osaka, Japan, 3–7 July 2013; pp. 4267–4270. [Google Scholar]
  21. Biddiss, E.A.; Chau, T.T. Upper limb prosthesis use and abandonment: A survey of the last 25 years. Prosthet. Orthot. Int. 2007, 31, 236–257. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Jiang, N.; Dosen, S.; Muller, K.R.; Farina, D. Myoelectric control of artificial limbs: Is there a need to change focus? [In the Spotlight]. IEEE Signal Process. Mag. 2012, 29, 150–152. [Google Scholar] [CrossRef]
  23. Englehart, K.; Hudgins, B. A robust, real-time control scheme for multifunction myoelectric control. IEEE Trans. Biomed. Eng. 2003, 50, 848–854. [Google Scholar] [CrossRef] [PubMed]
  24. Amsuss, S.; Rudigkeit, N.; Graimann, B.; Herrmann, M.J.; Farina, D. Long term stability of surface EMG pattern classification for prosthetic control. In Proceedings of the 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 2013; pp. 6508–6513. [Google Scholar]
  25. Nazmi, N.; Abdul Rahman, M.A.; Yamamoto, S.-I.; Ahmad, S.A.; Zamzuri, H.; Mazlan, S.A. A Review of classification techniques of EMG signals during isotonic and isometric contractions. Sensors 2016, 16, 1304. [Google Scholar] [CrossRef] [PubMed]
  26. Smith, L.H.; Hargrove, L.J.; Lock, B.A.; Kuiken, T.A. Determining the optimal window length for pattern recognition-based myoelectric control: Balancing the competing effects of classification error and controller delay. IEEE Trans. Neural Syst. Rehabil. Eng. 2011, 19, 186–192. [Google Scholar] [CrossRef] [PubMed]
  27. Losier, Y.; Clawson, A.; Wilson, A.; Scheme, E.; Englehart, K.; Kyberd, P.; Hudgins, B. An overview of the UNB hand system. In Proceedings of the MyoElectric Controls/Powered Prosthetics Symposium Fredericton, New Brunswick, SJ, Canada, 14–19 August 2011. [Google Scholar]
  28. Farrell, T.R.; Weir, R.F. The optimal controller delay for myoelectric prostheses. IEEE Trans. Neural Syst. Rehabil. Eng. 2007, 15, 111–118. [Google Scholar] [CrossRef] [PubMed]
  29. Escudero, J.; Ifeachor, E.; Zajicek, J.P.; Green, C.; Shearer, J.; Pearson, S. Machine learning-based method for personalized and cost-effective detection of Alzheimer’s disease. IEEE Trans. Biomed. Eng. 2013, 60, 164–168. [Google Scholar] [CrossRef] [PubMed]
  30. Scheme, E.; Englehart, K. Electromyogram pattern recognition for control of powered upper-limb prostheses: State of the art and challenges for clinical use. J. Rehabil. Res. Dev. 2011, 48, 643–659. [Google Scholar] [CrossRef] [PubMed]
  31. Cai, D.; He, X.; Han, J. SRDA: An efficient algorithm for large-scale discriminant analysis. IEEE Trans. Knowl. Data Eng. 2008, 20, 1–12. [Google Scholar] [CrossRef]
  32. Anam, K.; Khushaba, R.N.; Al-Jumaily, A. Two-channel surface electromyography for individual and combined finger movements. In Proceedings of the 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 3–7 July 2013; pp. 4961–4964. [Google Scholar]
  33. Al-Timemy, A.H.; Bugmann, G.; Escudero, J.; Outram, N. Classification of finger movements for the dexterous hand prosthesis control with surface electromyography. IEEE J. Biomed. Heal. Inf. 2013, 17, 608–618. [Google Scholar] [CrossRef]
  34. Khushaba, R.N.; Al-Timemy, A.; Kodagoda, S.; Nazarpour, K. Combined influence of forearm orientation and muscular contraction on EMG pattern recognition. Expert Syst. Appl. 2016, 61, 154–161. [Google Scholar] [CrossRef]
  35. Adewuyi, A.A.; Hargrove, L.J.; Kuiken, T.A.; Medicine, P. Evaluating EMG feature and classifier selection for application to partial-hand prosthesis control. Front. Neurorobot. 2016, 10, 1–11. [Google Scholar] [CrossRef] [PubMed]
  36. Castellini, C.; Artemiadis, P.; Wininger, M.; Ajoudani, A.; Alimusaj, M.; Bicchi, A.; Caputo, B.; Craelius, W.; Dosen, S.; Englehart, K.; et al. Proceedings of the first workshop on peripheral machine interfaces: Going beyond traditional surface electromyography. Front. Neurorobot. 2014, 8. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Block diagram of the proposed framework for adaptive windowing based on pattern recognition (PR).
Figure 1. Block diagram of the proposed framework for adaptive windowing based on pattern recognition (PR).
Sensors 18 02402 g001
Figure 2. Examples of electrode locations for 2 amputees, (A) Transradial amputee TR4, (B) Congenital amputee CG2, (C) Cross section of the forearm with approximate electrode locations over the muscles: Flexor Digitorum Superficialis (FDS) and Flexor Digitorum Profundus (FDP) for Transradial amputee TR4.
Figure 2. Examples of electrode locations for 2 amputees, (A) Transradial amputee TR4, (B) Congenital amputee CG2, (C) Cross section of the forearm with approximate electrode locations over the muscles: Flexor Digitorum Superficialis (FDS) and Flexor Digitorum Profundus (FDP) for Transradial amputee TR4.
Sensors 18 02402 g002
Figure 3. Picture showing the protocol used in this study where amputee TR5 is using the intact-hand to help him imagine the fine pinch movement with his stump.
Figure 3. Picture showing the protocol used in this study where amputee TR5 is using the intact-hand to help him imagine the fine pinch movement with his stump.
Sensors 18 02402 g003
Figure 4. An example of the behaviour of the error of classification (on the validation set—see Table 2) and percentage of increased windows with the classifier trained with the training set and tested with the validation set for the case of 9-movement classes with 7 electromyogram (EMG) channels for amputee TR6 with TD-PSD feature extraction method. Primary axis is the error rates (dotted line) and secondary axis is the % of increased windows (solid line). The trade-off threshold is shown as a red circle.
Figure 4. An example of the behaviour of the error of classification (on the validation set—see Table 2) and percentage of increased windows with the classifier trained with the training set and tested with the validation set for the case of 9-movement classes with 7 electromyogram (EMG) channels for amputee TR6 with TD-PSD feature extraction method. Primary axis is the error rates (dotted line) and secondary axis is the % of increased windows (solid line). The trade-off threshold is shown as a red circle.
Sensors 18 02402 g004
Figure 5. Average percentages for each of the window sizes for the case of nine movements with 7 EMG channels with 3 feature extraction methods (TD-PSD, Wavelets and TD) and the proposed adaptive windowing framework. Error bars represent SD across nine amputees.
Figure 5. Average percentages for each of the window sizes for the case of nine movements with 7 EMG channels with 3 feature extraction methods (TD-PSD, Wavelets and TD) and the proposed adaptive windowing framework. Error bars represent SD across nine amputees.
Sensors 18 02402 g005
Figure 6. Error rates and the mean over 9 amputees for the proposed adaptive windowing framework and TD-PSD feature extraction (FE) method, with different movement/channel combinations for all nine amputees. SD is shown with error bars.
Figure 6. Error rates and the mean over 9 amputees for the proposed adaptive windowing framework and TD-PSD feature extraction (FE) method, with different movement/channel combinations for all nine amputees. SD is shown with error bars.
Sensors 18 02402 g006
Table 1. The details of the demographic information of the transradial amputees recruited in this study.
Table 1. The details of the demographic information of the transradial amputees recruited in this study.
IDAge (y)SexStump Length (cm)Time Since AmputationType of Prosthesis
TR125M13 4 yearsCosmetic
TR233M18 6 yearsNone
TR330M29 28 yearsCosmetic
TR427M16 4 yearsBody powered
TR535M23 8 yearsCosmetic
TR629M24 7 yearsCosmetic
TR757M14 3 yearsNone
CG119F9 N/AMyoelectric 3–12 y
CG231F10.5 N/AMyoelectric 8–16 y
Table 2. Summary of the details of the design and evaluation phases.
Table 2. Summary of the details of the design and evaluation phases.
Design PhaseEvaluation Phase
Classifier is trained withtraining set (2 trials)training and validation sets (4 trials)
Classifier is tested withvalidation set (2 trials)unseen testing set (1 to 4 trials)
PurposeTo find the optimal threshold (θ)To calculate classification errors to assess the performance of our method in an unbiased way
Table 3. Error rates for the proposed adaptive windowing framework (9 movements with 7 EMG channels) for all nine amputees, with 3 feature extraction methods, (a) Time Domain Power Spectral Descriptors (TD-PSD), (b) Wavelet, (c) Time Domain (TD). Mean and SD are also shown.
Table 3. Error rates for the proposed adaptive windowing framework (9 movements with 7 EMG channels) for all nine amputees, with 3 feature extraction methods, (a) Time Domain Power Spectral Descriptors (TD-PSD), (b) Wavelet, (c) Time Domain (TD). Mean and SD are also shown.
IDFeature Extraction
TD-PSDWaveletTD
TR13.47.99.6
TR29.013.320.5
TR320.321.016.4
TR413.211.711.2
TR514.217.415.0
TR67.49.28.7
TR710.911.29.7
CG119.718.017.9
CG217.817.225.6
Mean12.914.114.9
SD5.84.55.7
Table 4. Mean ±SD of the final window size when tested with the test set (evaluation phase) in ms with the standard deviation for all 9 amputees with TD-PSD FE method.
Table 4. Mean ±SD of the final window size when tested with the test set (evaluation phase) in ms with the standard deviation for all 9 amputees with TD-PSD FE method.
Number of MovementsNumber of ChannelsAverage of Final Window Size (ms)
7 Movements5 Channels176.6 ± 14.6
7 Channels162.2 ± 5.8
9 Movements5 Channels169.7 ± 11.6
7 Channels162.7 ± 7.3
Table 5. Example of threshold values for 9 movements with 5 and 7 EMG channels for nine amputees with TD-PSD FE method.
Table 5. Example of threshold values for 9 movements with 5 and 7 EMG channels for nine amputees with TD-PSD FE method.
Amputee IDTrade-Off Threshold (θ) Values
9 Movements with 5 EMG Channels9 Movements with 7 EMG Channels
TR10.920.96
TR20.880.96
TR30.920.94
TR40.940.92
TR50.960.96
TR60.920.92
TR70.820.84
CG10.880.98
CG20.740.74
Table 6. Overall average classification accuracies for each movement-class in percent (and their respective standard deviation for nine amputees), for the case of 9 movements with 5 EMG channels and for the case of 9 movements with 7 EMG channels with TD-PSD and the proposed adaptive windowing framework.
Table 6. Overall average classification accuracies for each movement-class in percent (and their respective standard deviation for nine amputees), for the case of 9 movements with 5 EMG channels and for the case of 9 movements with 7 EMG channels with TD-PSD and the proposed adaptive windowing framework.
No.Movement9 Movements with 5 EMG Channels9 Movements with 7 EMG Channels
1Thumb flexion86 ± 1092 ± 9
2Index flexion68 ± 3078 ± 31
3Fine pinch84 ± 2784 ± 27
4No Mov.99.5 ± 0.599 ± 1
5Tripod grip82 ± 2891 ± 12
6Hook grip83 ± 1782 ± 20
7Spherical grip68 ± 1777 ± 12
8Pronation92 ± 697 ± 2
9Supination86 ± 2195 ± 8
Table 7. Mean ± SD of the classification errors for the case of 9 movement classes with 5- and 7- EMG channels with the classical LDA, LDA with MV, LDA with BF and our proposed adaptive windowing framework.
Table 7. Mean ± SD of the classification errors for the case of 9 movement classes with 5- and 7- EMG channels with the classical LDA, LDA with MV, LDA with BF and our proposed adaptive windowing framework.
9 Movements
Method7 Channels5 Channels
Classical LDA20.8 ± 728.2 ± 10.2
LDA with BF17.3 ± 6.524.8 ± 10.1
LDA with MV17.7 ± 6.424.9 ± 9.8
Adaptive windowing Framework14.9 ± 5.723.6 ± 9.6

Share and Cite

MDPI and ACS Style

Al-Timemy, A.H.; Bugmann, G.; Escudero, J. Adaptive Windowing Framework for Surface Electromyogram-Based Pattern Recognition System for Transradial Amputees. Sensors 2018, 18, 2402. https://doi.org/10.3390/s18082402

AMA Style

Al-Timemy AH, Bugmann G, Escudero J. Adaptive Windowing Framework for Surface Electromyogram-Based Pattern Recognition System for Transradial Amputees. Sensors. 2018; 18(8):2402. https://doi.org/10.3390/s18082402

Chicago/Turabian Style

Al-Timemy, Ali H., Guido Bugmann, and Javier Escudero. 2018. "Adaptive Windowing Framework for Surface Electromyogram-Based Pattern Recognition System for Transradial Amputees" Sensors 18, no. 8: 2402. https://doi.org/10.3390/s18082402

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