TMP 85 B1
TMP 85 B1
TMP 85 B1
, Real-time classification of simultaneous hand and wrist motions using Artificial Neural Networks with variable
threshold outputs, in Proceedings of the XXXIV International Conference on Artificial Neural Networks (ICANN), Amsterdam, May 15-16, 2013, 77:1159-1164.
Abstract—Limb motions normally involve more than one degree The presented pattern recognition task can be named in
of freedom combined in a coordinated manner. Although prosthetic different ways: multi-class, multi-label, mixed-label, etc…
hardware today could be combined for a highly motorized limb Multi-label classification problems are normally formulated by
replacement, the control options available to amputees are so limited
having a feature set bellowing to each of the different labels
that this approach is rarely used. In this work, we introduce a
classification strategy for the real-time simultaneous prediction of the [8], e.g. a scientific article is associated to different keywords
individual movements present in natural motions. The real-time (labels). Analogously, a movement involving different DoF
evaluation of this strategy based on a Multi-Layer Perceptron (MLP) would have the associated labels of each DoF. A difference in
with variable threshold outputs resulted in high motion completion this case however, is that the feature vectors are also mixed,
rates. Moreover, the MLP alone showed higher offline accuracy than and therefore the terminology of mixed-label is here more
previously reported. This classifier was developed and evaluated in
appropriated. A mixed-label problem also implies that at least
BioPatRec, an open source framework for advanced prosthetic
control strategies based in pattern recognition algorithms. The source two classes are involved, and therefore its multi-class nature
code and the data obtained in this study are freely available to be can be deduced.
used for further algorithms development and benchmarking. The feasibility of decoding simultaneous motions has been
shown by Yatsenko et al. with offline accuracies up to 75%
Keywords—Artificial Neural Networks, Electromyography, using a grid of 22 electrodes [9]. Their algorithm employed
Mixed-label, Mixed-class, Simultaneous Prosthetic Control. principal component analysis (PCA), whitening, and
orthonormalization of the feature vectors assuming linear
I. INTRODUCTION relationships in the combined MES. Based on the same
principle, Jiang et al. proposed the biologically inspired
This study was approved by the Swedish Regional Ethics vectors was divided in 40% training, 20% validation and 40%
Committee in Gothenburg (626-10, T688-12). testing. The feature vectors on the testing set were not
presented to the MLP during the training process, and were
II. METHODS only used to compute the offline accuracy once the network
was trained. One hundred trainings per subject were conducted
A. Signal Acquisition and Processing to compute the average offline performance. Cross-validation
was performed by randomizing the feature vectors belonging
Eight pairs of disposable Ag/AgCl electrodes (Ø = 1 cm) in to the training, validation and testing sets before each
a bipolar configuration (2 cm inter-electrode distance) were network’s training.
placed equally distributed around the proximal third of the Additionally, we have previously found in similar
forearm; one distal and one proximal. The first pair (channel experiments that using half of the randomized testing and
1) was consistently placed along the extensor carpi ulnaris and validation sets produced similar accuracies while reducing
the rest following the lateral direction around the forearm. The training time and improving cross-validation [6]. Therefore 24
bioelectric amplifier was an in-house design (MyoAmpF2F4- and 12 feature vectors per movement were used for training
VGI8) with 66 dB gain, and embedded active filtering: 4th and validation respectively, while 49 were used for testing.
order high-pass filter at 20 Hz; 2nd order low-pass filter at 400 During preliminary research we found that a concurrent
Hz; and, Notch filter at 50 Hz. The signals were digitalized at issue was the false positives of mixed movements while
2 kHz with 16-bits resolution. performing individual ones. For example, supination was
The subjects were guided by the software (BioPatRec [6]) to easily predicted as intended motion during the execution of
execute and hold the motion during 3s, and relax during 3s hand open or close.
between each contraction. Three repetitions of each movement An analysis of the output firing strength suggested that
result in 9s of raw MES information. The movements were misclassification could be considerable reduced by adjusting
hand open and close, wrist flexion and extension, and the activation threshold of the output neurons. The artificial
pro/supination, as well as all their possible combinations neuron’s firing is governed by its activation function, which
resulting in 26 motions plus rest. traditionally has a limited range, and although the firing
Seven subjects participated in this study and 4 of them had strength can vary through the activation range, the prediction
previous experience with the task, however, the remaining 3 of a motion is made binary for simplicity. Especially if
performed the task for the first time. The recording sessions, proportional control can later be implemented using the
together with the relevant subject’s information, are available average signal strength [14]. A visual indicator was created to
in the BioPatRec’s bioelectric signals repository under the individually setup the activation thresholds for each output
folder “6mov8ChFUS_MLP_Th” [6]. neuron during real-time classification. A similar visual strategy
We have previously found that under the presented has been employed by Hargrove et al. to setup binary
recording method, 70% of the contraction time (cTp) normally classification threshold to decode individual motions using
eliminates periods of absent MES while conserving the linear discriminant analysis (LDA) [3]. This approach is
isometric part of the contraction. This resulted in 121 time reasonably useful in the clinical settings as it allows easy
windows of 200 ms per movement (50 ms time increment), see customization of parameters according to individual needs.
[6] for further explanation on the signal processing and feature False positives have been observed to be more detrimental
extraction. to controllability than false negatives [3]. Therefore as an
Four time-domain signal features (mean absolute value, additional measure for the reduction of false positives during
wave length, zero crossings, and slope sign changes) were real-time prediction, the floor noisy during the relaxation
extracted from each time window in order to from the feature period of the recording session was used as a minimum value
vectors later used to feed the classifier. to overcome before further proceeding with classification. The
floor noise value corresponded to the average of the mean
B. Classifier Topology and Training absolute value of all channels. If the strength of the signal was
lower than the floor noise, the classifier predicted the “rest”
class by default.
As opposed to previous work where independent MLPs
were used per DoF [11], [12], a simplified single MLP was
employed in this study. The MLP had 32 input neurons (4 C. Real-time Evaluation
features x 8 channels), 2 hidden layers of 32 neurons each, 7
output neurons (six motions plus rest), and a sigmoid The “motion test” introduced by Kuiken et al. [4] was used
activation function. The training method was backpropagation as the real-time valuation evaluation tool. Its implementation
with η ꞊ 0.1 learning rate and α ꞊ 0.1 momentum. The training in BioPatRec and further description can be found in [6] . It
was stochastic by randomly supplying 70% of the available briefly consists on requesting the subject to execute the
training sets per learning iteration. A maximum of 200 different motions in a randomized order while evaluating the
iterations was allowed for convergence. The total of feature following key performance indicators.
Ortiz-Catalan, M., Håkansson, B., and Brånemark, R., Real-time classification of simultaneous hand and wrist motions using Artificial Neural Networks with variable
threshold outputs, in Proceedings of the XXXIV International Conference on Artificial Neural Networks (ICANN), Amsterdam, May 15-16, 2013, 77:1159-1164.
Fig. 3. Selection times grouped by the number of mixed movements. Fig. 5. Completion rate grouped by the number of mixed movements.
device and a virtual hand (virtual and augmented reality), Fig The results presented in this work should only be used as an
8. It was also employed to substitute keyboard strokes for indication of the feasibility of such a system. The absolute
game control, which is aimed to be used a neuromuscular values of speed and accuracy are dependent on the processing
rehabilitation tool. Videos of these demonstration are available hardware and the employed real-time test respectively. The
online on BioPatRec’s project website [15]. same algorithm running in different hardware will have
different response time. The subject’s attention and motivation
during the motion test might also alter the absolute results, as
one can be easily distracted or misinterpret requested motions,
thus resulting in delays and accuracy decay. Furthermore,
additional subject training is known to improve their
classification results [16]. We observed such impact in this
study as illustrated in Fig. 6 where considerable difference can
be observed between subjects with previous experienced in the
task, and first timers.
All the discussed variables so far suggest that the results
presented in this work are likely to be lower than the actual
potential of the classification strategy. For example, more
practice, electrodes and their selective placement including
additional muscles, are likely to improve these results.
However, to truly evaluate the real performance of any
Fig. 8. Demonstrations on the classifier used for the simultaneous
control of a multi-functional prosthesis (top-left inset); a virtual hand prosthetic control strategy, further testing on clinical settings is
in augmented reality (top-ring inset); and game control (bottom-right necessary.
inset). The bottom-left inset shows a trans-radial amputee controlling
a virtual hand to demonstrate the viability in subjects with missing V. CONCLUSION
limbs. The decoding of mixed movements is a necessary step
towards a more natural control of artificial limbs. In this work,
IV. DISCUSSION we demonstrate the feasibility of simultaneous motion
A concern worth of attention when planning to substitute classification for the real-time control of artificial limbs.
individual by simultaneous control, is the loss of stability when Furthermore, the proposed MLP implementation using
aiming to move a single DoF. Our results show the highest variable threshold outputs can be potentially used in the
real-time accuracy and completion rate, as well as the fastest clinical settings due to its operation simplicity and practicality.
selection and completion time, for single motions over the
mixed ones, thus reassuring the approach of simultaneous ACKNOWLEDGMENT
classification without compromising individual control. The authors thank Nichlas Sander and Morten B.
Further research on control algorithms aiming to reduce Kristoffersen for their contribution to the virtual and
spurious classifications and improve controllability is currently augmented reality environments. The authors also thank to all
performed by our group as well as tests on amputee subjects. the participants in this study.
In this work, the electrodes were only placed around the
forearm as oppose to previous implementations where REFERENCES
additional electrodes were also paced in the biceps muscle
[1] G. Li, A. E. Schultz, and T. Kuiken, “Quantifying pattern recognition-
[10]. The biceps provide independent information on the based myoelectric control of multifunctional transradial prostheses”,
supination movement, thus potentially facilitating IEEE Trans Neural Syst Rehabil Eng, vol. 18, no. 2, pp. 185–92, Apr.
classification. Furthermore, less electrodes were used in 2010.
[2] E. J. Scheme and K. Englehart, “Electromyogram pattern recognition for
comparison with previous work [9]. However, despite the control of powered upper-limb prostheses: State of the art and
simplifications made in this study, the MLP with variable challenges for clinical use”, J Rehabil Res Dev, vol. 48, no. 6, p. 643,
threshold outputs achieved higher offline accuracies than 2011.
[3] L. J. Hargrove, E. J. Scheme, K. B. Englehart, and B. S. Hudgins,
previously reported. It is worthy of notice however, that no fair “Multiple binary classifications via linear discriminant analysis for
performance comparison can be made between related studies improved controllability of a powered prosthesis.,” IEEE Trans Neural
due to the several variables involved in the methodology. The Syst Rehabil Eng, vol. 18, no. 1, pp. 49–57, Feb. 2010.
[4] T. A. Kuiken, G. Li, B. A. Lock, R. D. Lipschutz, L. A. Miller, K. A.
differences range from the electrode type and positioning;
Stubblefield, and K. B. Englehart, “Targeted muscle reinnervation for
through acquisition protocols; to subject’s anatomy, skills and real-time myoelectric control of multifunction artificial arms,” JAMA:
experience. This stresses the importance of using common data the Journal of the American Medical Association, vol. 301, no. 6, pp.
sets and a common platform for the comparison of different 619–628, 2009.
[5] M. Ortiz-Catalan, R. Brånemark, and B. Håkansson, “Biologically
algorithms. BioPatRec and the data generated in this study Inspired Algorithms Applied to Prosthetic Control,” in Proceedings of
provide an openly available solution for this problem. the IASTED International Conference, Biomedical Engineering,
BioMed, Innsbruck, 15-17 Feb 2012, pp. 7–15.
Ortiz-Catalan, M., Håkansson, B., and Brånemark, R., Real-time classification of simultaneous hand and wrist motions using Artificial Neural Networks with variable
threshold outputs, in Proceedings of the XXXIV International Conference on Artificial Neural Networks (ICANN), Amsterdam, May 15-16, 2013, 77:1159-1164.