Abstract
Brain- and muscle-triggered exoskeletons have been proposed as a means for motor training after a stroke. With the possibility of performing different movement types with an exoskeleton, it is possible to introduce task variability in training. It is difficult to decode different movement types simultaneously from brain activity, but it may be possible from residual muscle activity that many patients have or quickly regain. This study investigates whether nine different motion classes of the hand and forearm could be decoded from forearm EMG in 15 stroke patients. This study also evaluates the test-retest reliability of a classical, but simple, classifier (linear discriminant analysis) and advanced, but more computationally intensive, classifiers (autoencoders and convolutional neural networks). Moreover, the association between the level of motor impairment and classification accuracy was tested. Three channels of surface EMG were recorded during the following motion classes: Hand Close, Hand Open, Wrist Extension, Wrist Flexion, Supination, Pronation, Lateral Grasp, Pinch Grasp, and Rest. Six repetitions of each motion class were performed on two different days. Hudgins time-domain features were extracted and classified using linear discriminant analysis and autoencoders, and raw EMG was classified with convolutional neural networks. On average, 79 ± 12% and 80 ± 12% (autoencoders) of the movements were correctly classified for days 1 and 2, respectively, with an intraclass correlation coefficient of 0.88. No association was found between the level of motor impairment and classification accuracy (Spearman correlation: 0.24). It was shown that nine motion classes could be decoded from residual EMG, with autoencoders being the best classification approach, and that the results were reliable across days; this may have implications for the development of EMG-controlled exoskeletons for training in the patient’s home.
Keywords: stroke, EMG, brain-computer interface, myoelectric control, pattern recognition
1. Introduction
A stroke is a cardiovascular disease affecting millions of people each year, where approximately 80% of the survivors are left with motor disabilities, such as paresis or paralysis [1,2]. Even after rehabilitation, around 50% of the patients are left with disabilities such that they require assistance with some of their activities of daily living [3,4]. Since a stroke is heterogeneous, there is no effective treatment that works for all [2]. There seems to be a consensus that principles of motor learning are relevant to stroke recovery [5], and induction of neural plasticity, which is the underlying factor of motor learning [6]. New patient-driven technologies have emerged where motor learning principles, such as repetition and attention, are incorporated in training, examples of such technologies are muscle- and brain-triggered exoskeletons or robots [7,8,9,10]. With the advances in the design and production of exoskeletons and rehabilitation robots, it is possible to perform different motions, which can be used to introduce task variability in training that can maximize the retention and generalization of the relearned movements [5]. To use such devices, however, it is necessary to detect the movement intention of various movement types to pair the motor commands with relevant afferent feedback. In patients with paralysis and no detectable electromyography (EMG) activity, it is necessary to use a Brain-Computer Interface where movement intentions are detected through electroencephalography (EEG). It is possible to classify movement intentions from idle activity with accuracies up to 80% in stroke patients [11,12], but the accuracies decrease when different movement types are classified [11,12,13]. If EMG activity is preserved or regained [14], it is possible to classify various movement types with high accuracy [15], even in patients with severe impairments [16,17]. It has been shown that neuroplasticity can be introduced using both EEG- and EMG-triggered electrical stimulation for providing afferent feedback [18], but it may be advantageous to use EMG if different movement types need to be classified. It has been shown in different studies that different movement types can be classified from EMG activity from the muscles in the affected limb. These movements include finger movements [14], various functional hand movements, such as open/close [15,19,20,21,22] and grasps [23], wrist extension [16], elbow and shoulder movements [24], and reaching [25]. Some of the techniques that have been used for decoding the attempted movements from the EMG are amplitude thresholds of the EMG signal envelope and proportional control [14,20], and pattern recognition approaches using, e.g., Hudgins time-domain features [15], autoregressive coefficients [22], empirical mode decomposition [26], and wavelets [27]. The performance of the decoding algorithms spans a wide range of 38–100%. Generally, the highest accuracies were associated with binary tasks, such as detecting a movement versus no-movement, and the performance decreases when including more motion classes. Some results have also shown how the classification accuracy is affected by the severity of the stroke [21]. As outlined, several studies have investigated the possibility of decoding attempted movements from stroke patients using surface EMG. These studies have primarily been single-session studies; therefore, there is a need for reliability studies to see if the decoding results are reproducible over time. Moreover, in previous work, EMG electrodes have been positioned for each patient individually to account, e.g., for muscle weakness and spasticity [22], or several EMG electrodes have been used to capture the activity from several muscles [15]. Therefore, the aim of this study was to investigate if different hand and forearm movements can be classified using a simple electrode setup placed on the same three muscles across heterogeneous stroke participants over two different days using a simple pattern recognition (linear discriminant analysis) approach with a low computational complexity which implements low-cost embedded systems. For comparison purposes, the simple classification approach using linear discriminant analysis was compared to autoencoders and convolutional neural networks that have been shown previously to improve the classification performance [28], but are more computationally intensive. In addition, the reliability of the pattern recognition approach was evaluated over two days. Besides the reliability analysis, it was investigated if it was possible to use the EMG recorded on one day to classify the EMG on the other day. Lastly, it was investigated if there was an association between the level of motor impairment and classification accuracy. Such an association has been reported previously, but more evidence is important, especially in a heterogeneous condition, such as a stroke.
2. Materials and Methods
2.1. Participants
Sixteen stroke patients (one female; 53 ± 8 years old) were recruited for this study (see the patient demographics in Table 1) from Railway General Hospital in Rawalpindi, Pakistan. One patient dropped out during the data collection. All patients provided their informed consent prior to participation. The procedures were approved by the local ethical committee (Riphah/RCRS/REC/00651). All procedures were in accordance with the Declaration of Helsinki. The Fugl-Meyer Assessment was performed to indicate the motor impairment of the patients, (motor score). The motor part of the Fugl-Meyer Assessment consists of two scores (100 points in total), one for the upper (66 points) and lower extremities (34 points). In this study, the score for the upper extremities is of interest. It covers the functionality of shoulder, elbow, wrist, and finger movements, as well as grasping various objects [29].
Table 1.
Patient | Months Since Injury | Affected Side | Type of Injury | Fugl-Meyer [UL/LL/Total] |
---|---|---|---|---|
1 | 24 | Left | Ischemic | [55/22/77] |
2 | 17 | Right | Ischemic | [36/34/70] |
3 | 18 | Right | Ischemic | [23/28/51] |
4 | 32 | Left | Ischemic | [46/32/78] |
5 | 36 | Left | Ischemic | [26/18/44] |
6 | 5 | Right | Ischemic | [65/31/96] |
7 | 38 | Right | Ischemic | [17/22/39] |
8 | 2 | Left | Ischemic | [59/31/90] |
9 | 38 | Right | Ischemic | [55/30/85] |
10 | 6 | Left | Ischemic | [51/23/74] |
11 | 3 | Right | Ischemic | [56/24/80] |
12 | 5 | Left | Hemorrhagic | [44/20/64] |
13 | 66 | Right | Hemorrhagic | [28/18/46] |
14 | 19 | Left | Ischemic | [50/21/71] |
15 | 70 | Left | Hemorrhagic | [36/33/69] |
2.2. Recordings—Surface EMG
Six surface EMG electrodes (Ambu Neuroline 720 surface electrodes, REF 72000-S/25, Ambu, Ballerup, Denmark) were placed on the forearm on Extensor Carpi Radialis, Flexor Carpi Radialis, and Flexor Carpi Ulnaris. Two electrodes were placed on each muscle two cm apart and used in a bipolar configuration to obtain a single channel. The signals were referenced to a moist wristband. The signals were amplified with a gain of 10,000 (OT Bioelettronica, Torino, Italy) and sampled with 2048 Hz.
2.3. Experimental Setup
The experiment consisted of two recording sessions performed on two different days. The same experimental procedure was followed in both sessions. The recordings were performed in a seated position. Initially, the EMG electrodes were placed on the forearm on the most affected side, and the signal quality was checked (the electrode positions were marked on the forearm to ensure the same placement of the electrodes on day two). The participants were instructed how to perform the motions, and during the recording of the signals, they were visually cued (a picture of the specific motion was shown). A digital trigger was sent to the amplifier to synchronize the visual cue with the EMG recordings at the beginning of the recording. The following motion classes were performed: Hand Close, Hand Open, Wrist Extension, Wrist Flexion, Supination, Pronation, Lateral Grasp, Pinch Grasp, and Rest. Each motion class consisted of six repetitions of attempted movement, and the participant was asked to maintain the contraction for six seconds. Between each movement, there was a break of six seconds. All repetitions of the motion class were completed before moving to the next motion class. The order of motion classes was randomized.
2.4. Data Analysis
2.4.1. Pre-Processing and Feature Extraction
The EMG was bandpass filtered between 20–500 Hz, and a Notch filter from 48–52 Hz was applied using a 2nd order Butterworth filter with zero phase shift. The onsets of the EMG activity were visually inspected to avoid a potential delay between the cue and onset of the movements, such that the movement onsets were correctly identified for further analysis. Each of the 6-s repetitions of the motion class were extracted, and the first and last second were removed from the analysis, which resulted in epochs of 4-s duration for each repetition of the motion class. Following the pre-processing, four features were extracted: Mean absolute value, waveform length, zero crossing, and slope sign changes [30]. The features were extracted from a 200-millisecond data window with no overlap to obtain more data for classification [31]. The same analysis was performed on the data from the two separate recording sessions. An example of the filtered and rectified EMG for each motion class is shown in Figure 1.
2.4.2. Classification
The classification was performed in two different ways: (1) Within-session calibration; and (2) between-session calibration. For the within-session calibration, 80% of the data windows were randomly selected for training, and 20% of the data windows were used for testing. The classifiers were trained on data windows from each subject individually and on the same randomly selected data windows to fairly compares classifiers. In the within-session calibration, the classifier was trained and tested on the recordings from the same day. In the between-session calibration, the classifier was trained on data from one day and tested on the other day. Moreover, confusion matrices were obtained.
Three classifiers were tested, two of them used features as input, while the third used bandpass filtered data windows as input. The features were classified using a linear discriminant analysis classifier (LDA) and autoencoders (AE), and the filtered data windows were classified with a convolutional neural network (CNN). The LDA is a linear classifier that can separate multiple classes using a linear combination of the input features [32], while AE is an artificial neural network. In this study, the default MATLAB implementation of the LDA was used where all classes have the same covariance matrix. In the implementation of the LDA in this study, all motion classes were included leading to a classification problem with nine classes. The AE network consisted of two layers, each with hidden units of 12 (length of the feature vector) and a softmax layer. Optimized parameters from previous work were used [33]. The 200-millisecond data windows of EMG were classified using a CNN. The CNN consisted of an input layer (200-millisecond data window), four convolutional layers, each with Relu and pooling layers, a fully connected layer, and a softmax layer. The architecture of the network was optimized randomly, and the network was trained using Adam optimizer with default values except for L2R (10 × 10−6) and initial learning rate (5 × 10−3) with a ‘piecewise’ learning rate schedule having a drop rate factor of 0.1 and drop period of 4. Maxepochs were set to 20, and a mini-batch size of 16 and 32 were used for within- and between-session analyses, respectively. All data processing and analyses were performed in MATLAB 2020a (MathWorks®). The computational time of the different classifiers was estimated on the training and test data. The classification was performed on a computer with 8 GB RAM, a core i5 processor, and a 64-bit operating system.
2.5. Statistics
All statistical analyses were performed in IBM® SPSS®. The test-retest reliability of the classification accuracies in the within- and between-session calibration was assessed using a two-way mixed-effect model with absolute agreement. The test was repeated three times for LDA, AE, and CNN, respectively. The mean classification accuracy was calculated across the two days for the within- and between-session calibration, and a two-way repeated-measures analysis of variance (ANOVA) was performed with “Calibration” (2 levels: Within-, and between-session calibration) and “Classifier” as factors (3 levels: LDA, AE, and CNN). Six Friedman tests were performed (the assumption of normality was violated) on the diagonal values in the confusion matrices (mean across the two days) with “Motion Class” as the factor (9 levels: Hand Close, Hand Open, Wrist Extension, Wrist Flexion, Supination, Pronation, Lateral Grasp, Pinch Grasp, and Rest) for the three classifiers in the within- and between-session calibration. Significant tests were followed up with a posthoc test using Bonferroni correction. Lastly, the Spearman correlation coefficient was calculated between the upper limb Fugl-Meyer score and the average classification accuracy for the within-session calibration (mean across the two days). Significant tests in all analyses were assumed when p < 0.05.
3. Results
The average classification accuracies across participants obtained in the within-session calibration were approximately 70% for the LDA and CNN on both days, while 80% of the motions were correctly classified with AE (see Figure 2). The average classification accuracies in the between-session calibration were approximately 30% for day 1 and 2, respectively, with slightly lower accuracies for AE. The results of the test-retest analysis are presented in Table 2. Good agreement was obtained for all classification and calibration scenarios except for the CNN in the between-session calibration, where the moderate agreement was obtained [34].
Table 2.
Within-Session | Between-Session | |
---|---|---|
Linear discriminant analysis | 0.84 [0.54:0.95] | 0.88 [0.63:0.96] |
Autoencoders | 0.88 [0.63:96] | 0.87 [0.62:0.96] |
Convolutional neural network | 0.86 [0.58:0.95] | 0.69 [0.06:0.90] |
The mean classification accuracy was calculated across the two days, and a two-way repeated-measures ANOVA revealed a significant interaction between Calibration and Classifier (F(2,28) = 27.05; p < 0.001; η2 = 0.66). This was followed up with two one-way repeated-measures ANOVA tests for the within- and between-session calibration. For the within-session calibration, there was a significant difference between the classifiers (F(1.2,17.1) = 17.27; p < 0.001; η2 = 0.55), and the posthoc analysis revealed higher classification accuracies for AE compared to the LDA and CNN. For the between-session calibration, there was no difference between the classifiers (F(2,28) = 3.10; p = 0.061; η2 = 0.18).
The confusion matrices (mean across the two days and across participants) for the within-session and between-session calibration are shown in Table 3, Table 4, Table 5, Table 6, Table 7 and Table 8, respectively. For the within-session calibration, the highest numbers were on the diagonal for all motion classes, with Rest being the easiest to discriminate (92–95%). The other motion classes were in the range of 55–83%. A significant difference between the motion classes was found for the LDA (χ2(8) = 44.13; p < 0.001), AE (χ2(8) = 39.63; p < 0.001) and CNN (χ2(8) = 51.14; p < 0.001). For the LDA, the posthoc analyses revealed that Rest had higher classification accuracies compared to the other classes except Wrist Extension and Hand Open. Wrist Extension and Hand Open had higher classification accuracies than Lateral Grasp. For AE, the classification accuracies for the Rest class were higher than Lateral Grasp, Supination, Pinch Grasp, and Pronation. For CNN, Rest had higher classification accuracies compared to the other classes except Wrist Extension and Wrist Flexion. Wrist Extension and Wrist Flexion had higher classification accuracies than Lateral Grasp.
Table 3.
HC | HO | WF | WE | Sup | Pro | Lat | Pin | Rest | |
---|---|---|---|---|---|---|---|---|---|
HC | 72 | 5 | 2 | 2 | 4 | 2 | 10 | 4 | 2 |
HO | 4 | 77 | 6 | 4 | 2 | 3 | 1 | 4 | 1 |
WF | 4 | 9 | 71 | 4 | 3 | 4 | 4 | 3 | 1 |
WE | 2 | 4 | 4 | 75 | 6 | 3 | 2 | 5 | 1 |
Sup | 2 | 2 | 2 | 7 | 66 | 8 | 7 | 5 | 3 |
Pro | 1 | 2 | 2 | 2 | 12 | 70 | 4 | 7 | 3 |
Lat | 9 | 2 | 1 | 2 | 9 | 8 | 56 | 9 | 6 |
Pin | 2 | 4 | 1 | 5 | 7 | 3 | 6 | 69 | 5 |
Rest | 0 | 1 | 0 | 0 | 2 | 2 | 2 | 3 | 92 |
Table 4.
HC | HO | WF | WE | Sup | Pro | Lat | Pin | Rest | |
---|---|---|---|---|---|---|---|---|---|
HC | 82 | 3 | 2 | 2 | 2 | 1 | 8 | 3 | 1 |
HO | 3 | 83 | 5 | 2 | 2 | 2 | 2 | 2 | 0 |
WF | 2 | 7 | 80 | 3 | 2 | 2 | 3 | 3 | 1 |
WE | 1 | 4 | 4 | 79 | 5 | 2 | 2 | 3 | 0 |
Sup | 2 | 2 | 2 | 7 | 73 | 7 | 6 | 3 | 2 |
Pro | 1 | 2 | 2 | 3 | 9 | 76 | 3 | 6 | 2 |
Lat | 7 | 1 | 4 | 2 | 4 | 6 | 70 | 7 | 2 |
Pin | 2 | 2 | 2 | 3 | 4 | 3 | 6 | 77 | 3 |
Rest | 0 | 0 | 1 | 0 | 1 | 1 | 2 | 2 | 94 |
Table 5.
HC | HO | WF | WE | Sup | Pro | Lat | Pin | Rest | |
---|---|---|---|---|---|---|---|---|---|
HC | 70 | 5 | 4 | 2 | 3 | 1 | 13 | 3 | 1 |
HO | 5 | 69 | 8 | 4 | 5 | 4 | 2 | 3 | 0 |
WF | 2 | 8 | 73 | 6 | 3 | 4 | 3 | 3 | 0 |
WE | 1 | 4 | 4 | 76 | 4 | 4 | 4 | 5 | 1 |
Sup | 2 | 4 | 3 | 7 | 61 | 9 | 6 | 8 | 2 |
Pro | 1 | 3 | 3 | 4 | 11 | 68 | 4 | 7 | 2 |
Lat | 13 | 3 | 4 | 2 | 6 | 6 | 55 | 10 | 4 |
Pin | 2 | 4 | 2 | 5 | 7 | 7 | 6 | 68 | 2 |
Rest | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 2 | 95 |
Table 6.
HC | HO | WF | WE | Sup | Pro | Lat | Pin | Rest | |
---|---|---|---|---|---|---|---|---|---|
HC | 41 | 6 | 5 | 6 | 13 | 6 | 18 | 5 | 1 |
HO | 16 | 30 | 13 | 6 | 14 | 7 | 9 | 7 | 1 |
WF | 16 | 9 | 39 | 6 | 12 | 6 | 10 | 3 | 2 |
WE | 15 | 7 | 6 | 42 | 7 | 3 | 10 | 10 | 2 |
Sup | 17 | 9 | 10 | 4 | 21 | 10 | 17 | 11 | 3 |
Pro | 12 | 6 | 7 | 4 | 15 | 23 | 12 | 15 | 7 |
Lat | 35 | 8 | 4 | 5 | 14 | 7 | 17 | 6 | 5 |
Pin | 19 | 8 | 7 | 6 | 15 | 12 | 6 | 24 | 6 |
Rest | 13 | 0 | 4 | 1 | 14 | 9 | 5 | 11 | 43 |
Table 7.
HC | HO | WF | WE | Sup | Pro | Lat | Pin | Rest | |
---|---|---|---|---|---|---|---|---|---|
HC | 29 | 9 | 16 | 6 | 8 | 7 | 22 | 6 | 1 |
HO | 9 | 28 | 15 | 10 | 12 | 6 | 12 | 9 | 0 |
WF | 16 | 9 | 40 | 8 | 13 | 7 | 6 | 3 | 1 |
WE | 11 | 7 | 8 | 41 | 7 | 8 | 11 | 9 | 0 |
Sup | 14 | 9 | 12 | 8 | 22 | 12 | 21 | 3 | 2 |
Pro | 12 | 10 | 11 | 8 | 13 | 28 | 9 | 7 | 4 |
Lat | 24 | 10 | 14 | 9 | 11 | 9 | 16 | 7 | 2 |
Pin | 17 | 8 | 13 | 15 | 12 | 13 | 7 | 14 | 4 |
Rest | 13 | 2 | 7 | 10 | 13 | 13 | 14 | 8 | 22 |
Table 8.
HC | HO | WF | WE | Sup | Pro | Lat | Pin | Rest | |
---|---|---|---|---|---|---|---|---|---|
HC | 30 | 8 | 19 | 5 | 14 | 4 | 14 | 7 | 1 |
HO | 16 | 21 | 17 | 8 | 9 | 8 | 13 | 7 | 1 |
WF | 8 | 11 | 49 | 7 | 10 | 4 | 8 | 3 | 2 |
WE | 8 | 10 | 13 | 43 | 8 | 2 | 8 | 9 | 1 |
Sup | 13 | 12 | 13 | 7 | 22 | 11 | 11 | 6 | 7 |
Pro | 7 | 10 | 12 | 7 | 15 | 19 | 12 | 14 | 7 |
Lat | 19 | 11 | 17 | 5 | 9 | 9 | 15 | 10 | 7 |
Pin | 10 | 10 | 11 | 15 | 15 | 12 | 8 | 13 | 6 |
Rest | 1 | 0 | 7 | 0 | 12 | 4 | 7 | 4 | 66 |
For the between-session calibration, the highest numbers were on the diagonal for most motion classes except Lateral and Pinch Grasps. Rest was the motion class with the highest accuracies (22–66%). The other motion classes were in the range of 13–43%. A significant difference between the motion classes was found for the LDA (χ2(8) = 23.02; p = 0.003), AE (χ2(8) = 20.52; p = 0.009), and CNN (χ2(8) = 29.72; p < 0.001). For the LDA, the posthoc analyses revealed no difference between the classes, which is due to the conservative nature of the Bonferroni correction. For AE, the classification accuracies for the Wrist Extension and Wrist Flexion classes were higher than the Pinch Grasp. For CNN, Rest had higher classification accuracies compared to the Lateral Grasp and Pinch Grasp. Wrist Extension had higher classification accuracies than the Pinch Grasp. There was a considerable standard deviation across the participants (see Figure 2), which may be attributed to the amplitude differences between movement and Rest for the different participants (see Figure 3).
The Spearman correlation was calculated between the upper limb Fugl-Meyer score and the classification accuracy across all motion classes for the within-session calibration. The results are presented in Table 9. There was no association between the functional score and the classification accuracies.
Table 9.
Correlation Coefficients | p-Value | |
---|---|---|
Linear discriminant analysis | 0.29 | 0.30 |
Autoencoders | 0.24 | 0.38 |
Convolutional neural network | 0.37 | 0.18 |
The results of the computational time are presented in Table 10. The LDA was the fastest classifier to train, followed by the AE. For testing, the LDA and AE were faster than the CNN, but it only took 0.22 and 0.27 s to classify all test data with a CNN.
Table 10.
Classifier | Training (Seconds) | Test (Seconds) |
---|---|---|
Linear discriminant analysis (within-session) | 0.010 | 0.010 |
Autoencoders (within-session) | 12.16 | 0.015 |
Convolutional neural network (within-session) | 47.68 | 0.22 |
Linear discriminant analysis (between-session) | 0.018 | 0.018 |
Autoencoders (between-session) | 13.22 | 0.016 |
Convolutional neural network (between-session) | 58.77 | 0.27 |
4. Discussion
The aim of this study was to decode attempted movements in stroke patients. Generally, it was possible to decode nine different motion classes of the hand/forearm with accuracies of 79 ± 12% and 80 ± 12% for day 1 and 2, respectively (using AE). There was a strong intraclass correlation between the classification accuracies, but there was no association between the classification accuracies and the upper limb Fugl-Meyer score. The classification accuracies obtained with AE were significantly higher than the LDA and CNN in the within-session calibration, but not significantly different for between-session calibration.
The findings in this study are in agreement with other studies that have found that EMG of attempted movements can be decoded from stroke patients with motor impairments [15,16,17,21,22,24]. Similar or slightly lower classification accuracies are obtained, although the studies differ in terms of methodology. The number of channels in this study (three bipolar channels) is low compared to other studies [15,26], which is likely to account for some of the differences in the classification accuracies. Moreover, a generalized approach was used where the electrodes were placed on the same three muscles on the contrary to other findings where electrodes have been positioned based on the impairment of the individual patient [22]. By increasing the number of channels, it is possible to record activity from more muscles; especially the chronic stroke patients may have developed coping strategies to perform the movements using altered activation patterns. For the different grasp motions, it would have been beneficial to place EMG electrodes closer to or on the hand. Different classifiers were tested, and it was shown that the classification performance could be significantly improved using AE, which is in agreement with previous findings [28]. It was also shown that classification accuracies comparable to a LDA can be obtained for a CNN without the need for extracting features, but this indicates that it may not be needed to use a CNN over LDA with features. Generally, Hudgins time-domain features [15,22,24,27,30] have been used, but to improve the classification accuracies further, other feature types could be added to the feature vector, such as spectral information, wavelets, autoregressive coefficients, and entropy [15,27,35].
In future studies, the most optimal or general electrode setup and feature types could be investigated, e.g., with and without constraints on computational power and energy consumption of the system. For a low-end implementation, Raspberry Pi could be used, while a Parallella Baseline System (PBS) could be used when more computational power is needed with a constraint of still being energy efficient [36]. These approaches should be validated using online control and with afferent feedback from an exoskeleton. Lastly, the impairment of the patients would probably affect the classification accuracies as well. There was no association between the level of motor impairment and classification accuracy in this study, although that was expected, as it has been shown previously that classification accuracies decrease as a function of the severity of the injury [21]. The limited sample size in this study could explain that no association was found between the classification accuracies and motor impairment. Another explanation could be that the machine learning approach was able to pick up movement patterns from participants with a low Fugl-Meyer score leading to reasonably high classification accuracy, or that the Fugl-Meyer score not only reflects the tasks performed in this study, but also reflexes and shoulder and elbow movements. Participants that have reduced hand and wrist movement may have functional reflexes and elbow and shoulder movements. Lastly, the movements and assessment method in this study differed from those performed in Reference [21]. In Reference [21], more functional hand movement tasks were performed, while more wrist movement tasks where performed in the current study, which may be easier to perform for participants with a low Fugl-Meyer score compared to functional hand movement tasks leading to higher classification accuracy, and hence, a lower correlation coefficient. In addition, in Reference [21], they used the Stage of Hand component of the Chedoke-McMaster Stroke Assessment scale, which may be more sensitive to hand movements compared to the total upper limb Fugl-Meyer score. However, these are speculations that need to be tested in a future study.
The motion class that was easiest to discriminate was the Rest condition, which was significantly different from the other classes except Wrist Extension and Wrist Flexion in the within-session calibration. This indicates that the patients did not suffer much from spasticity, which would reduce the ability to discriminate between the motion classes and the usability of EMG to control an exoskeleton/rehabilitation robot or functional electrical stimulation. However, a recent study has found that spasticity can be reduced by utilizing a myoelectric computer interface [37]. The motion class that was most difficult to discriminate was the Lateral Grasp. This is probably because it resembles the motion class Hand Close, 7–13% of the data from the Lateral Grasp motion class was classified as Hand Close. It has also been previously reported that the motions that resembled each other were more difficult to classify [21]. In a rehabilitation scenario, the motion classes that are difficult to classify could be performed in separate training sessions to improve the system performance. The test-retest reliability of the classification of the motion classes was good for both within- and between-session calibration, but the 95%-percent confidence intervals were wide. In addition, there was a large standard deviation of the accuracies for the different participants. This could potentially be explained by various factors, such as the patient’s level of fatigue or that, the recruitment patterns of some motion classes differ slightly, and that the muscles from which the EMG was recorded were affected differently in the participants. Moreover, the amplitude of the EMG is related to the force the muscles can produce (see Figure 3). The classification accuracies may also be affected by the signal quality, which could be reduced over time if the impedance of the electrodes changed, due to, for example, sweating. The classification accuracies associated with the between-session calibration were significantly lower compared to the within-session calibration. However, if more days were included, it could potentially have improved the performance [28], but only 2–3 repetitions of each motion class are needed to perform within-session calibration [31], so it would be possible to quickly calibrate the EMG decoder each day. Another aspect that needs to be considered if an EMG-controlled exoskeleton/rehabilitation robot can be used by the patients in their own homes is if they can place the recording electrodes accurately on the muscles. An alternative is to use technology, such as the Thalmic Myo armband, which is easy to don and doff. It utilizes several dry electrodes around the forearm, and the activity from multiple muscles can be recorded. Previously it has been shown that comparable classification accuracies can be obtained using such a setup compared to state-of-the-art wet electrodes and expensive amplifiers [38].
5. Conclusions
In conclusion, it is possible to decode various motion classes of the hand and forearm in stroke patients using both a simple setup with few electrodes and a simple pattern recognition approach and a deep learning approach with and without feature extraction. These findings were consistent across days where the test-retest reliability was good. No association was found between the classification accuracies and the level of impairment. The Rest, Hand Open and Close, and Wrist Extension and Flexion were the classes that were easiest to classify, and the Lateral Grasp was the most difficult to classify. The best classification was obtained using AE. However, more patients with varying degrees of impairment should be included in future studies to validate these findings. Moreover, other feature types and electrode setups (number and location) should be investigated as well to improve the classification accuracy further. These approaches should be validated in online studies where afferent feedback is provided from an exoskeleton or rehabilitation robot.
Acknowledgments
The Authors would like to thank Afaq Ahmed and Ahmed Saad Ullah for assistance in the data collection.
Author Contributions
Conceptualization, M.J., I.K.N., I.A., M.S., S.O.G. and A.W.; Data curation, I.K.N., I.A., M.S., S.O.G. and A.W.; Formal analysis, M.J., M.Z.u.R.; Funding acquisition, M.J.; Methodology, M.J., M.Z.u.R.; Writing—original draft, M.J.; Writing—review & editing, M.J., I.K.N., M.Z.u.R., I.A., M.S., S.O.G. and A.W. All authors have read and agreed to the published version of the manuscript.
Funding
This work was funded by VELUX FONDEN (project no. 22357).
Conflicts of Interest
The authors declare no conflict of interest.
Footnotes
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.WHO MONICA Project Principal Investigators The world health organization monica project (monitoring trends and determinants in cardiovascular disease): A major international collaboration. J. Clin. Epidemiol. 1988;41:105–114. doi: 10.1016/0895-4356(88)90084-4. [DOI] [PubMed] [Google Scholar]
- 2.Langhorne P., Coupar F., Pollock A. Motor recovery after stroke: A systematic review. Lancet Neurol. 2009;8:741–754. doi: 10.1016/S1474-4422(09)70150-4. [DOI] [PubMed] [Google Scholar]
- 3.Jørgensen H.S. The Copenhagen Stroke Study experience. J. Stroke Cerebrovasc. Dis. 1996;6:5–16. doi: 10.1016/S1052-3057(96)80020-6. [DOI] [PubMed] [Google Scholar]
- 4.Schaechter J.D. Motor rehabilitation and brain plasticity after hemiparetic stroke. Prog. Neurobiol. 2004;73:61–72. doi: 10.1016/j.pneurobio.2004.04.001. [DOI] [PubMed] [Google Scholar]
- 5.Krakauer J.W. Motor learning: Its relevance to stroke recovery and neurorehabilitation. Curr. Opin. Neurol. 2006;19:84–90. doi: 10.1097/01.wco.0000200544.29915.cc. [DOI] [PubMed] [Google Scholar]
- 6.Pascual-Leone A., Nguyet D., Cohen L.G., Brasil-Neto J.P., Cammarota A., Hallett M. Modulation of muscle responses evoked by transcranial magnetic stimulation during the acquisition of new fine motor skills. J. Neurophysiol. 1995;74:1037–1045. doi: 10.1152/jn.1995.74.3.1037. [DOI] [PubMed] [Google Scholar]
- 7.Xu R., Jiang N., Mrachacz-Kersting N., Lin C., Prieto G.A., Moreno J.C., Pons J.L., Dremstrup K., Farina D. A Closed-Loop Brain-Computer Interface Triggering an Active Ankle-Foot Orthosis for Inducing Cortical Neural Plasticity. IEEE Trans. Biomed. Eng. 2014;20:2092–2101. doi: 10.1109/TBME.2014.2313867. [DOI] [PubMed] [Google Scholar]
- 8.Ramos-Murguialday A., Broetz D., Rea M., Läer L., Yilmaz Ö., Msc F.L.B., Liberati G., Curado M.R., Garcia-Cossio E., Vyziotis A., et al. Brain–machine interface in chronic stroke rehabilitation: A controlled study. Ann. Neurol. 2013;74:100–108. doi: 10.1002/ana.23879. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Monte-Silva K., Piscitelli D., Norouzi-Gheidari N., Batalla M.A.P., Archambault P., Levin M.F. Electromyogram-related neuromuscular electrical stimulation for restoring wrist and hand movement in Poststroke hemiplegia: A systematic review and meta-analysis. Neurorehabilit. Neural Repair. 2019;33:96–111. doi: 10.1177/1545968319826053. [DOI] [PubMed] [Google Scholar]
- 10.Ambrosini E., Russold M., Gfoehler M., Puchinger M., Weber M., Becker S., Krakow K., Immick N., Augsten A., Rossini M., et al. A Hybrid Robotic System for Arm Training of Stroke Survivors: Concept and First Evaluation. IEEE Trans. Biomed. Eng. 2019;66:3290–3300. doi: 10.1109/TBME.2019.2900525. [DOI] [PubMed] [Google Scholar]
- 11.Jochumsen M., Niazi I.K., Mrachacz-Kersting N., Jiang N., Farina D., Dremstrup K. Comparison of spatial filters and features for the detection and classification of movement-related cortical potentials in healthy individuals and stroke patients. J. Neural Eng. 2015;12:56003. doi: 10.1088/1741-2560/12/5/056003. [DOI] [PubMed] [Google Scholar]
- 12.Jochumsen M., Niazi I.K., Taylor D., Farina D., Dremstrup K. Detecting and classifying movement-related cortical potentials associated with hand movements in healthy subjects and stroke patients from single-electrode, single-trial EEG. J. Neural Eng. 2015;12:56013. doi: 10.1088/1741-2560/12/5/056013. [DOI] [PubMed] [Google Scholar]
- 13.Jochumsen M., Niazi I.K., Dremstrup K., Kamavuako E.N. Detecting and classifying three different hand movement types through electroencephalography recordings for neurorehabilitation. Med. Biol. Eng. Comput. 2015;54:1491–1501. doi: 10.1007/s11517-015-1421-5. [DOI] [PubMed] [Google Scholar]
- 14.Kawakami M., Fujiwara T., Ushiba J., Nishimoto A., Abe K., Honaga K., Nishimura A., Mizuno K., Kodama M., Masakado Y., et al. A new therapeutic application of brain-machine interface (BMI) training followed by hybrid assistive neuromuscular dynamic stimulation (HANDS) therapy for patients with severe hemiparetic stroke: A proof of concept study. Restor. Neurol. Neurosci. 2016;34:789–797. doi: 10.3233/RNN-160652. [DOI] [PubMed] [Google Scholar]
- 15.Zhang X., Zhou N.P. High-density myoelectric pattern recognition toward improved stroke rehabilitation. IEEE Trans. Biomed. Eng. 2012;59:1649–1657. doi: 10.1109/TBME.2012.2191551. [DOI] [PubMed] [Google Scholar]
- 16.Balasubramanian S., Garcia-Cossio E., Birbaumer N., Burdet E., Ramos-Murguialday A. Is EMG a Viable Alternative to BCI for Detecting Movement Intention in Severe Stroke? IEEE Trans. Biomed. Eng. 2018;65:2790–2797. doi: 10.1109/TBME.2018.2817688. [DOI] [PubMed] [Google Scholar]
- 17.Ramos-Murguialday A., García-Cossio E., Walter A., Cho W., Broetz D., Bogdan M., Cohen L.G., Birbaumer N. Decoding upper limb residual muscle activity in severe chronic stroke. Ann. Clin. Transl. Neurol. 2015;2:1–11. doi: 10.1002/acn3.122. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Jochumsen M., Navid M.S., Rashid U., Haavik H., Niazi I.K. EMG-versus EEG-Triggered Electrical Stimulation for Inducing Corticospinal Plasticity. IEEE Trans. Neural Syst. Rehabil. Eng. 2019;27:1901–1908. doi: 10.1109/TNSRE.2019.2932104. [DOI] [PubMed] [Google Scholar]
- 19.Camona C., Wilkins K.B., Drogos J., Sullivan J.E., Dewald J.P.A., Yao J. Improving hand function of severely impaired chronic hemiparetic stroke individuals using task-specific training with the ReIn-Hand system: A case series. Front. Neurol. 2018;9:923. doi: 10.3389/fneur.2018.00923. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Huang Y., Lai W.P., Qian Q., Hu X., Tam E.W.C., Zheng Y.-P. Translation of robot-assisted rehabilitation to clinical service: A comparison of the rehabilitation effectiveness of EMG-driven robot hand assisted upper limb training in practical clinical service and in clinical trial with laboratory configuration for chronic stroke. Biomed. Eng. Online. 2018;17:91. doi: 10.1186/s12938-018-0516-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Lee S.W., Wilson K.M., Lock B.A., Kamper D.G. Subject-specific myoelectric pattern classification of functional hand movements for stroke survivors. IEEE Trans. Neural Syst. Rehabil. Eng. 2010;19:558–566. doi: 10.1109/TNSRE.2010.2079334. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Lu Z., Tong R.K., Zhang X., Li S., Zhou P. Myoelectric pattern recognition for controlling a robotic hand: A feasibility study in stroke. IEEE Trans. Biomed. Eng. 2018;66:365–372. doi: 10.1109/TBME.2018.2840848. [DOI] [PubMed] [Google Scholar]
- 23.Gandolla M., Ferrante S., Ferrigno G., Baldassini D., Molteni F., Guanziroli E., Cottini M.C., Seneci C., Pedrocchi A. Artificial neural network EMG classifier for functional hand grasp movements prediction. J. Int. Med. Res. 2017;45:1831–1847. doi: 10.1177/0300060516656689. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Kopke J.V., Hargrove L.J., Ellis M.D. Applying LDA-based pattern recognition to predict isometric shoulder and elbow torque generation in individuals with chronic stroke with moderate to severe motor impairment. J. Neuroeng. Rehabil. 2019;16:35. doi: 10.1186/s12984-019-0504-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Subramaniam S., Varghese R., Bhatt T. Influence of chronic stroke on functional arm reaching: Quantifying deficits in the ipsilesional upper extremity. Rehabil. Res. Pr. 2019;2019:1–10. doi: 10.1155/2019/5182310. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Zhang X., Zhou P. Myoelectric pattern identification of stroke survivors using multivariate empirical mode decomposition. J. Healthc. Eng. 2014;5:261–274. doi: 10.1260/2040-2295.5.3.261. [DOI] [PubMed] [Google Scholar]
- 27.Wang D., Zhang X., Gao X., Chen X., Zhou P. Wavelet packet feature assessment for high-density myoelectric pattern recognition and channel selection toward stroke rehabilitation. Front. Neurol. 2016;7:197. doi: 10.3389/fneur.2016.00197. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Rehman M.Z.U., Waris A., Gilani S.O., Jochumsen M., Niazi I.K., Jamil M., Farina D., Kamavuako E.N. Multiday EMG-based classification of hand motions with deep learning techniques. Sensors. 2018;18:2497. doi: 10.3390/s18082497. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Gladstone D.J., Danells C.J., Black S.E. The fugl-meyer assessment of motor recovery after stroke: A critical review of its measurement properties. Neurorehabil. Neural Repair. 2002;16:232–240. doi: 10.1177/154596802401105171. [DOI] [PubMed] [Google Scholar]
- 30.Hudgins B., Parker P., Scott R.N. A new strategy for multifunction myoelectric control. IEEE Trans. Biomed. Eng. 1993;40:82–94. doi: 10.1109/10.204774. [DOI] [PubMed] [Google Scholar]
- 31.Jochumsen M., Waris A., Kamavuako E.N. The effect of arm position on classification of hand gestures with intramuscular EMG. Biomed. Signal Process. Control. 2018;43:1–8. doi: 10.1016/j.bspc.2018.02.013. [DOI] [Google Scholar]
- 32.Duda R.O., Hart P.E., Stork D.G. Pattern Classification. John Wiley & Sons; Hoboken, NJ, USA: 2012. [Google Scholar]
- 33.Rehman M.Z.U., Gilani S.O., Waris A., Niazi I.K., Slabaugh G., Farina D., Kamavuako E.N. Stacked sparse autoencoders for EMG-based classification of hand motions: A comparative multi day analyses between surface and intramuscular EMG. Appl. Sci. 2018;8:1126. doi: 10.3390/app8071126. [DOI] [Google Scholar]
- 34.Koo T.K., Li M.Y. A guideline of selecting and reporting intraclass correlation coefficients for reliability research. J. Chiropr. Med. 2016;15:155–163. doi: 10.1016/j.jcm.2016.02.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Zhou P., Barkhaus P.E., Zhang X., Rymer W.Z. Characterizing the complexity of spontaneous motor unit patterns of amyotrophic lateral sclerosis using approximate entropy. J. Neural Eng. 2011;8:66010. doi: 10.1088/1741-2560/8/6/066010. [DOI] [PubMed] [Google Scholar]
- 36.Hussain T., Haider A., Taleb-Ahmed A. A heterogeneous multi-core based biomedical application processing system and programming toolkit. J. Signal Process. Syst. 2019;91:963–978. doi: 10.1007/s11265-018-1437-9. [DOI] [Google Scholar]
- 37.Mugler E.M., Tomic G., Singh A., Hameed S., Lindberg E.W., Gaide J., Alqadi M., Robinson E., Dalzotto K., Limoli C., et al. Myoelectric Computer Interface Training for Reducing Co-Activation and Enhancing Arm Movement in Chronic Stroke Survivors: A Randomized Trial. Neurorehabilit. Neural Repair. 2019;33:284–295. doi: 10.1177/1545968319834903. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Pizzolato S., Tagliapietra L., Cognolato M., Reggiani M., Müller H., Atzori M. Comparison of six electromyography acquisition setups on hand movement classification tasks. PLoS ONE. 2017;12:e0186132. doi: 10.1371/journal.pone.0186132. [DOI] [PMC free article] [PubMed] [Google Scholar]