Next Article in Journal
A Compact Dual Band MIMO Dielectric Resonator Antenna with Improved Performance for mm-Wave Applications
Next Article in Special Issue
Supervised Myoelectrical Hand Gesture Recognition in Post-Acute Stroke Patients with Upper Limb Paresis on Affected and Non-Affected Sides
Previous Article in Journal
CAFS: An Attention-Based Co-Segmentation Semi-Supervised Method for Nasopharyngeal Carcinoma Segmentation
Previous Article in Special Issue
Sliding-Window Normalization to Improve the Performance of Machine-Learning Models for Real-Time Motion Prediction Using Electromyography
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Evaluation of Simple Algorithms for Proportional Control of Prosthetic Hands Using Intramuscular Electromyography

by
Nebojsa Malesevic
1,*,
Anders Björkman
2,
Gert S. Andersson
3,4,
Christian Cipriani
5 and
Christian Antfolk
1,*
1
Department of Biomedical Engineering, Faculty of Engineering, Lund University, 223 63 Lund, Sweden
2
Department of Hand Surgery, Institute of Clinical Sciences, Sahlgrenska Academy, Sahlgrenska University Hospital, University of Gothenburg, 402 33 Gothenburg, Sweden
3
Department of Clinical Neurophysiology, Skåne University Hospital, 223 63 Lund, Sweden
4
Department of Clinical Sciences in Lund—Neurophysiology, Lund University, 223 63 Lund, Sweden
5
The BioRobotics Institute, Scuola Superiore Sant’Anna, 56025 Pisa, Italy
*
Authors to whom correspondence should be addressed.
Sensors 2022, 22(13), 5054; https://doi.org/10.3390/s22135054
Submission received: 3 June 2022 / Revised: 28 June 2022 / Accepted: 29 June 2022 / Published: 5 July 2022
(This article belongs to the Special Issue Electromyography (EMG) Signal Acquisition and Processing)

Abstract

:
Although seemingly effortless, the control of the human hand is backed by an elaborate neuro-muscular mechanism. The end result is typically a smooth action with the precise positioning of the joints of the hand and an exerted force that can be modulated to enable precise interaction with the surroundings. Unfortunately, even the most sophisticated technology cannot replace such a comprehensive role but can offer only basic hand functionalities. This issue arises from the drawbacks of the prosthetic hand control strategies that commonly rely on surface EMG signals that contain a high level of noise, thus limiting accurate and robust multi-joint movement estimation. The use of intramuscular EMG results in higher quality signals which, in turn, lead to an improvement in prosthetic control performance. Here, we present the evaluation of fourteen common/well-known algorithms (mean absolute value, variance, slope sign change, zero crossing, Willison amplitude, waveform length, signal envelope, total signal energy, Teager energy in the time domain, Teager energy in the frequency domain, modified Teager energy, mean of signal frequencies, median of signal frequencies, and firing rate) for the direct and proportional control of a prosthetic hand. The method involves the estimation of the forces generated in the hand by using different algorithms applied to iEMG signals from our recently published database, and comparing them to the measured forces (ground truth). The results presented in this paper are intended to be used as a baseline performance metric for more advanced algorithms that will be made and tested using the same database.

1. Introduction

The anatomy concerning the muscles controlling the human hand demonstrates the complexity of the system responsible for the control of voluntary movement. The majority of muscles controlling hand and finger movements are located in the forearm, and they have long, sometimes multiple tendons crossing several joints, sometimes acting on several fingers. Thus, the control of hand and individual finger movements involves a complex pattern of neural activation and the inhibition of several muscles, ultimately resulting in a smooth action with the precise positioning of the joints with a force that is gradually adapted to interact with the surroundings [1].
The underlying mechanics and mechatronics in hand prostheses have been significantly improved in recent decades [2,3] and present-day hand prostheses are capable of a multitude of movements. However, most hand amputees, even if using a hand prosthesis with state-of-the-art technology, can only perform basic motor hand functions, such as opening and closing pre-selected grasps. This gap between the ability of contemporary prosthetic hands to produce dexterous movements and the actual rudimentary functionality of such hands when provided to amputees poses a challenge for researchers and companies in the field of prosthetics.
The real bottleneck preventing the optimal use of a prosthetic hand in a dexterous manner is the control part. More precisely, the methods for decoding velocities and forces of individual digits and the wrist, while interpreting the desire to move the joints of a prosthetic hand by a user, are still far from being intuitive and robust [4]. In most commercial high-end implementations, surface electromyography (sEMG) is used as a link between the amputee and the machine (prosthetic hand) [5,6,7,8,9]. However, due to the low spatial resolution and non-stationarity of sEMG, even the most sophisticated and computationally expensive algorithms are not able to extract enough information to provide robust and smooth control that resembles the behavior of the unimpaired hand. Namely, the machine learning and deep learning strategies applied on sEMG signals [10,11,12,13,14] commonly only detect the intention of an amputee to execute specific hand movements/gestures without being able to extract the desired force/velocity levels of individual joints in the hand. Therefore, the control of a multi-joint prosthetic hand usually lacks the real-time adjustment of grasps and ad hoc hand gestures that could enhance the sense of agency and function of a prosthetic hand.
Some of the control solutions that provide a higher level of functionality for prosthetic hands are oriented towards improving the quality of the signals used for control. To do so, it is necessary to obtain EMG signals close to their source, thus avoiding distortion and the loss of information that occurs due to mixing with signals from other muscles and attenuation in biological tissue. Acquiring the EMG signal close to the desired muscle has proven to yield superior results using fully implantable devices that record EMG signals directly from the surfaces of multiple muscles [15], including signals from muscles deep within the arm that are very difficult to single-out from the skin surface level. Furthermore, instead of implanting the whole recording–transmitting device, it is possible to implant only electrodes while having the associated electronics together with a power source outside the body [16,17]. This approach simplifies the surgical implantation of electrodes and the maintenance process, and the only complication is related to electrode leads failing due to excessive stress or a limited (although large) number of wire-bending cycles. With advances in surgical techniques to anchor the prosthesis using osseointegration [18,19], the longevity of the implant is further increased, thus enabling a stable and reliable interface between the human (residual muscles in the forearm) and the prosthetic hand. As a consequence of surgical and technological advances, it has become possible to derive control strategies that rely on high-quality intramuscular EMG (iEMG) signals [20] and implement them in prosthetic devices based on implantable technologies [16,21]. With a significant improvement in control signal quality, there is real potential to finally diminish one of the primary reasons for amputees’ rejection of myoelectric prostheses, which is limited controllability [22,23].
To contribute to the body of knowledge within the field of prosthetic control, our previous effort was directed towards obtaining and disseminating a database of iEMG signals [24] that could be used for developing and testing novel hand control strategies. The database uniquely combines highly selective iEMG measurements obtained using fine-wire intramuscular EMG electrodes [25] with isometric forces of individual fingers and the wrist during various hand gestures recorded using a custom-made measurement device [26]. The implicit novelty of this database is the availability of isometric hand forces elicited through a sinewave tracking task with visual feedback that then enables the evaluation of regression-based control algorithms. To provide a solid baseline of the prosthetic hand control performance, simulated offline through the utilization of the database, the present study evaluates common/well-known/simple computational methods in the scope of recorded iEMG and force signals. The methods described in the paper are utilized to show (1) the (root mean square) error between the measured and the estimated hand joints forces, and (2) the similarity of the shapes of measured and estimated forces through cross-correlation. The secondary objective of the present study is to evaluate if the common algorithms are suitable for real-time application with high sampling-rate iEMG signals. To show the relevance of common algorithms with realistic inputs, and also to serve as the reference for more computationally complex algorithms, the processing time is evaluated on various embedded and PC platforms. The purpose of the battery of tests conducted within this paper is to facilitate future studies using the same database by providing common baseline results.

2. Materials and Methods

2.1. Subjects

Fourteen male able-bodied volunteers aged between 25 and 57 years (mean 39 years) participated in the study which was divided into two protocols. As the volunteers were equally divided between protocols and two of the volunteers were included in both protocols, the final database contained sixteen files, eight for each protocol. All the volunteers signed an informed consent, and the study was approved by the Regional Ethical Review Board in Lund, Sweden (Dnr 2017-297).

2.2. Recorded Signals

The signals database [24] was recorded in a setup that included intramuscular fine-wire EMG electrodes in a differential recording configuration, with volunteers performing a set of hand gestures in a timely fashion and the acquisition of isometric hand forces using a custom-made measurement device.
The iEMG signals were recorded from 9 forearm muscles divided into 2 groups which were associated with the 2 levels of amputation:
  • The short residual limb (SRL) protocol targeted the following muscles: flexor carpi radialis (FCR), extensor carpi radialis (ECR), pronator teres (PT), flexor digitorum profundus (FDP), extensor digitorum communis (EDC), and abductor pollicis longus (APL);
  • The long residual limb (LRL) targeted the following muscles: flexor digitorum profundus (FDP), extensor digitorum communis (EDC), abductor pollicis longus (APL), flexor pollicis longus (FPL), extensor pollicis longus (EPL) and extensor indicis proprius (EIP).
The positioning of the fine-wire electrodes was performed by a senior consultant in clinical neurophysiology. The signals picked up by the pairs of fine wires (in differential recording configurations) were amplified and digitalized using the Quattrocento biomedical amplifier system from OT Bioelettronica, Torino, Italia. The amplifier had a common mode rejection ratio (CMMR) higher than 95 dB, an input resistance higher than 1011 Ω on the entire bandwidth, and a noise level lower than 1 µVRMS. To reduce the interferences induced in the leads between the fine wires and the amplifier, shielded differential preamplifiers were used in close proximity to the fine-wire skin entry points. In parallel with the iEMG recordings, forces resulting from hand muscles contractions were also recorded using the measurement device which kept the hand stationary during the procedure. In total, 9 force gauges picked up the resulting hand forces: one per finger (D2 (index finger)–D5 (little finger)), two for the thumb, and three for the wrist. The recording protocol was guided by an automated graphical user interface which, in a strictly timed manner, displayed commands and cues to the volunteer. It also provided feedback on the exerted force which was crucial for force matching/tracking tasks. An example of this functionality is the sine wave tracking task which started by instructing the volunteer to perform maximal voluntary flexion and the extension of a finger, thumb or the wrist, the adduction–abduction of the thumb, or the pronation–supination of the wrist. Although the inserted electrodes targeted only a subset of the muscles involved in the abovementioned hand movements, the protocol was consistent for all volunteers and all electrode placements. This way, it was possible to compare muscle synergies and crosstalk between iEMG channels, which is not in the focus of this study, but might be of interest for other studies that use the database. Then, the software generated a low-frequency sine wave with an amplitude equal to 20% of the maximal voluntary flexion/extension and a frequency of 0.1 Hz and displayed it in the same graph with the finger or wrist force that the volunteer produced (see Figure 1). The idea here was that the volunteer would match the computer-generated sine wave by continuously eliciting an equivalent force.
Although the measurement protocol included various hand gestures, for the scope of this paper, only the sine tracking data were used because the aim of this paper is to produce the direct and proportional control of a multi-joint prosthetic hand.
As the iEMG was recorded at 10 kHz, the force data were up-sampled for easier manipulation. In addition, the commands and cues presented to the volunteers were recorded for the offline segmentation of the measurements into individual finger/wrist movements. The Matlab data container files (*.mat) can be found here: (https://figshare.com/s/06f113bd74ecf6384729 (accessed on 2 June 2022)).

2.3. Signal Pre-Processing

As the methods presented in this paper are intended for online implementation, the recorded signals were minimally pre-processed. Namely, the powerline noise was superimposed with the iEMG signal, which was relatively weak compared to the sEMG. To remove the powerline base frequency (f0) and its harmonics (f0 × i, i = 2, 3, 4…), which also exceeded iEMG signal amplitude, a band-stop comb filter comprising third-order Butterworth notch filters (f0 = 50 Hz and Δf = ± 2 Hz) was applied to the recorded signals [27]. The next pre-processing step was the segmentation of recorded signals based on the automatic data labeling performed during the recordings. In this stage, force outputs were divided between positive and negative values or phases (flexions–extensions, adductions–abductions, pronations–supinations) so that they could be independently associated with different muscles. Finally, as the last step preceding the algorithm stage, optimal matchings between targeted muscles, elicited movements and the force gauges were established. On top of that, within the selected force channel, a phase (positive or negative) was associated with the actions of specific muscles. In other words, for each iEMG signal (muscle) there was an associated hand movement that specifically activated the muscle where the fine-wire electrode was placed. Furthermore, there was a sensor within the force measurement device that registered the force generated by the muscle contraction of interest. For example, activation in the PT muscle was always associated with the command to pronate the forearm and the elicited force was measured by the sensor designated for the measurement of wrist pronation. Nevertheless, for some muscles, there could be a variety of different matchings for different subjects due to the multi-compartment nature of the muscles in which the fine-wire electrodes were anchored or the individuals’ strategies for producing the commanded contractions. Such examples include the FDP, which could flex any of the D3–D5 fingers depending on the activated compartment, or EDC, which extended the D2–D4 fingers. Furthermore, depending on individuals’ synergies, APL could be more active during the command to push the thumb to the left (right-handed setup) or upwards. An example of the signal pre-processing method is shown in Figure 2.
The iEMG–movement–force matchings were initially selected based on the signal-to-noise ratio of iEMG within different segments (movements) and refined based on the minimal root mean square error (RMSE) between a normalized force gauge output and the estimated force using the MAV algorithm.

2.4. Testing of Algorithms

The algorithm evaluation procedure was designed with a specific prosthesis-use scenario. The performance of the algorithms was tested in a similar fashion as that shown in Figure 2 by using the optimal pairings between the iEMG channels, the phases of the force channels, and the movements found during the signal pre-processing stage. It was envisioned that the full setup should be as quick as possible. In line with this principle, only the first two of ten sine tracking periods per tracking task were selected to normalize the outputs of the algorithm for force estimations (similar to the previous study [28]), while the following tracking periods were used only for evaluating the performances of the algorithms. Such a condition results in fast calibration that requires only two repetitions of slowly increasing and decreasing isometric force elicited by muscles during various hand movements. Although in the case of amputees there is no possibility of tracking muscle forces, the same principle still applies as the only purpose of the initial calibration is to match muscle activity and forces, and to normalize force output. Thus, in the realistic scenario, the amputee will be asked to slowly increase and decrease force while imagining specific hand movements [29].
The testing of the iEMG algorithms for extracting signal features was also performed in a manner that corresponded to the real-time application. To achieve this requirement, all algorithms were implemented within the moving/sliding windows of different widths where the computed value was adjoined with the last (newest) sample from the window. This scenario corresponds to the direct control of a prosthesis degree of freedom in real-time using a single muscle.
The algorithms selected for evaluation are already well-known from numerous publications in the field of prosthetics [30,31,32]. Due to relatively poor sEMG signal quality, these algorithms are often used only for feature extraction, while some machine learning algorithms are used to extract relevant information regarding muscle activation. The following algorithms were systematically used in conjunction with the recorded iEMG signals and evaluated against measured forces.
1.
Mean Absolute Value
Mean absolute value (MAV) is the favored EMG feature in many myoelectric control applications [33,34]. It is calculated within a moving average window of the rectified iEMG signal.
2.
Variance
Variance (Var) is the mean value of the square of the deviation of the signal [35]. As the mean of iEMG is close to zero, the equation can be simplified for faster calculations.
3.
Slope Sign Change
Slope sign change (SSC) is a time-domain method used to estimate the frequency feature of the iEMG signal [36]. The calculation of the SSC relies on counting changes between positive and negative slopes among three consecutive samples. To limit SSC calculation only to periods with iEMG activity, the threshold function is imposed in the feature extraction method.
4.
Zero Crossing
Zero crossing (ZC) is the function that counts the number of consecutive EMG samples that change signs within the sliding window [33]. Similarly to the SSC calculation, the threshold function is imposed to remove the calculation of ZC during periods without pronounced EMG activity.
5.
Willison Amplitude
Willison amplitude (WA) is a measure related to the superimposed action potentials that make the EMG signal [37]. The WA is the number of consecutive differences between consecutive samples that exceed the set threshold.
6.
Waveform Length
Waveform length (WL) is the cumulative length of the waveform over the time window [38].
7.
Envelope
The signal envelope (ENV) is calculated as the root mean square over the time window.
8.
Total signal energy
The total signal energy (Etot) is defined as the sum of spectral amplitudes calculated using fast Fourier transformation.
9.
Teager energy in time domain
The Teager energy operator is a non-linear operator that can track the energy and identify the instantaneous frequencies and instantaneous amplitudes of signals at any instant. It strongly correlates with the nature of the iEMG signal which comprises individual action potentials [39,40,41]. Teager energy in the time domain (Ttd) was calculated using the Teager–Kaiser energy operator. The resulting values were then smoothed using a moving average filter defined in the same manner as the sliding windows present in other algorithms.
10.
Teager energy in frequency domain
Another implementation of the Teager energy operator is in the frequency domain (Tf) using fast Fourier transformation [42].
11.
Modified Teager energy
The modified Teager energy (Tf_mod) is similar to the Teager energy operator in the frequency domain (Tf) with the only difference being that the frequencies are not squared.
12.
Mean of signal frequencies
Mean of signal frequencies (MNF) is calculated from the windowed iEMG power spectrum as the average frequency [43].
13.
Median of signal frequencies
Median of signal frequencies (MDF) is calculated as the frequency at which the power spectrum is divided into two regions with equal power [43].
14.
Firing rate
The calculation for the firing rate (FR) iEMG signal feature is performed by implementing the algorithm presented in [21]. The algorithm is based on counts of action potentials within the iEMG signal that are larger than the set threshold.
The mathematical formulas used to compute algorithms are given in Table 1.
To provide greater insight into the iEMG signal properties, the abovementioned computational methods were optimized to provide the lowest discrepancies between measured and estimated forces. The optimization (parameter exploration) was performed in a brute-force manner by testing all combinations of parameters within defined ranges. The rationale behind this method is to provide outputs for the incrementally increasing parameters in order to obtain the gradual evolution of error between measured and estimated force. The main reason for having such data is to identify trade-offs between force estimation error and computational complexity.
The computational complexity of individual algorithms is estimated theoretically and practically. For the theoretical computational complexity, which is completed in big O notation, the algorithms were analyzed down to the basic arithmetic operations. The results for theoretical computational complexity are given in Table 2. The practical computational complexity of the algorithms was evaluated as the execution time for different window sizes. To ensure that the processing was not biased by the specific processor architecture, the tests were repeated on different platforms:
  • PC with Intel i7-6700K, 64-bit processor at 4 GHz;
  • Teensy 4.0 with Cortex-M7, 32-bit processor at 600 MHz;
  • Teensy 3.6 with Cortex-M4, 32-bit processor at 180 MHz;
  • BLE-Nano with Cortex-M0 (NRF51822), 32-bit processor at 16 MHz;
  • Arduino-Nano with ATmega328, 8-bit processor at 16 MHz.
The implementation on the PC platform was performed with Matlab 2018b (The MathWorks, Natick, MA, USA) scripts where the timing was an average of all sliding window computations within the whole signal. It should be noted that the execution time of algorithms on the PC platform was not deterministic nor constant, as the operating system (Windows 10, Microsoft Corporation, Redmond, WA, USA) was not in real time. To minimize the variability of the execution time required for single window processing, the results were based on the averaged values for all signals and all subjects. Thus, the execution times on the PC platform are given only for inter-algorithm comparison. The implementations on other real-time platforms were written and compiled in the Arduino IDE environment using a single-precision floating-point format (float32) which guarantees the same conditions for all three processors. All functions, except for fast Fourier transformation (FFT), were written using basic mathematical operations. The Arduino library (github.com/kosme/arduinoFFT (accessed on 18 February 2022)) was modified for single precision and used as an FFT function in Arduino IDE. The exact duration of individual algorithm executions was measured by pulling a single digital output port during the computations. Furthermore, for the processors based on the Cortex-M4 or M7 architecture, some of the algorithms were implemented using CMSIS-DSP functions that are highly optimized for these types of operations.
The parameter included in all the algorithms that was varied was window size. An additional parameter present in some of the algorithms was the threshold (SSC, ZC, WA, and FR) which was also varied together with the window size. The list of varied parameters is shown in Table 2.
The range of window sizes tested within this study was 50–1050 ms, which is wider than that of the state of the art [32,44,45,46]. There are several reasons for extending the range of tested window width. First, we wanted to provide computational/practical evidence of an optimal range of window sizes that should be used in conjunction with iEMG signals. Secondly, a wider window impacts computational time, which in turn results in increased controller delay, which has been identified as one of the obstacles in providing intuitive prosthetic control [9,47]. As microprocessor technology is continuously advancing, there is a need to update general knowledge regarding computational time for different EMG feature extraction algorithms, window widths, and processor architectures. Thus, providing both quantitative and qualitative information about algorithm performances, even for wide window sizes, should be beneficial for future studies. The increment of the sliding window width for all algorithms was set to 100 ms to provide 10 equally spaced evaluation points. The thresholds for SSC, ZC, and WA were defined as signal “dead zones” and, as in [33], were based on the system noise. In this study, we estimated the noise by calculating the MAV of the EMG during the rest period. The MAV (rest) was computed from the first 100 ms of each segmented movement (isometric contraction) which did not contain voluntary iEMG, as the command for initiating muscle contraction was delayed in order to enable the subject to focus on the subsequent hand movement. For the purpose of estimating the optimal dead zone range, thresholds between 0 and Q × MAV were used, where Q was the multiplier of the MAV (rest) value. The parameter Q was varied in the range (0–4) with 0.2 increments during the exploration of the parameters. The threshold for the FR algorithm was calculated as a quantile of the iEMG signal during the first full period of the sine tracking task and it varied between the 85th and 99th quantile with 1 quantile increments.

2.5. Evaluation

The outputs of the algorithms were evaluated with respect to the elicited force which served as the ground truth. As previously stated, both estimated and measured forces were normalized using only the first two full periods of the sine tracking task. The metrics selected for the evaluation of the algorithms included root mean square error (RMSE) and cross-correlation (Pearson), as in [28]. As the data used to compare different algorithms and window sizes did not follow the normal distribution determined by the Lilliefors test, we used the Friedman test with Bonferroni post hoc correction to assess the statistically significant differences of the medians.

3. Results

A sample of the measured and estimated forces is shown in Figure 3.
In addition to the theoretically calculated computational complexity of each algorithm, the first performance parameter of the tested algorithms was the execution time across different platforms. These results are presented in Table 3. As mentioned before, execution times on the PC platform were influenced by the implementation in Matlab, while the execution times on other platforms could be directly compared as they used the same source codes.
As the aim of this paper is to evaluate the possibility of direct force tracking using only iEMG signals, the most appropriate performance evaluation metric was the root mean square error (RMSE) between the measured and the estimated force signals. This was also the most rigorous metric, as it showed sample-to-sample difference without any time-lag compensation between the measured and estimated joint forces. The RMSE results for each finger movement and each subject (6 iEMG channels × 16 datasets) were aggregated to enable stronger statistical analysis (see Figure 4).
As the cumulative RMSE data did not follow a normal distribution, the Friedman test with Bonferroni correction for multiple comparisons was used to assess the differences between the algorithms. The results of the statistical analysis are summarized in Table 4. Most notably, there was a highly statistically significant difference (p < 10−6) between the mean ranks of MNF, MDF and FR and the rest of the algorithms. In addition, other statistical differences could also be found between some of the other algorithms, as shown in Table 4. This table was derived from the best performances of each algorithm and for each signal, regardless of the algorithm parameters (such as window size).
The cross-correlations between the measured and estimated forces are provided in Figure 5. This metric is complementary to RMSE as it quantifies the similarity of the signal shapes. Cross-correlation and RMSE provided different insights into matching between measured and estimated forces, and the statistical analysis showed different statistical differences between the algorithms.
In addition to comparing different algorithms, this paper shows the impact of parameters associated with individual algorithms on the RMSE and cross-correlation metrics. For all the algorithms, the computational sliding window size was used as a variable parameter. The range for this parameter was broader than in other relevant publications [48]—between 50 ms and 1050 ms—so as to obtain optimal values and assess the algorithms’ performances in extreme setups. Furthermore, some of the algorithms were based on two adjustable parameters: window size and a threshold. Thus, during the algorithm evaluation, both of the parameters were independently varied within the broad range of values. Figure 6 depicts the impact of the variable window size on the MAV algorithm metrics, but a similar behavior could be seen in all of the one-parameter algorithms (see Appendix A section). The MAV algorithm was chosen as an example, as it is commonly used in myoelectric applications [30].
In the case of two-parameter algorithms (SSC, ZC and FR), the second parameter is the threshold. SSC and ZC use a threshold to exclude events within a dead zone, while FR relies on the signal amplitude percentile-based threshold to detect motor units firing above it (above the noise level). Figure 7 and Figure 8 show the RMSE and cross-correlations for the SSC and FR algorithms when two parameters were varied. A figure depicting the performance of ZC during the two-parameter sweep is similar to SSC, and is available in the Appendix A section. The results presented in Figure 7 show that, in the case of FR, both parameters influence the performance of the algorithm, while SSC (and ZC) is more sensitive to threshold changes (as in Figure 8).

4. Discussion

The central part of the paper is the database of iEMG signals that we have recently published [24] that are suitable for developing and testing novel algorithms for prosthetic control. Thus, to make upcoming methods developed using our database comparable, there is a need to establish a golden standard based on simple, well-established computational methods. For this purpose, the set of common algorithms/methods that are usually utilized only for EMG feature extraction was selected. However, instead of only being used the first stage of a prosthesis control scheme, in the scope of this study, they were elevated to present the sole link between muscle activation and prosthetic hand actuators. It has to be noted here that the paper does not present any computational novelties per se, but its contribution is the combination of unique datasets and well-known, common feature extraction algorithms. The results presented in the paper can be divided into three categories: (1) the comparison between different algorithms in terms of RMSE and cross-correlation metrics; (2) the exploration of the influence of the algorithms’ parameters on the RMSE and cross-correlation metrics; and (3) the estimation of the computational times of algorithms for various embedded and PC platforms.
An analysis of the RMSE metric of different algorithms showed statistically significant differences between FR and all other algorithms. This clear advantage of FR is somewhat unexpected, as some of the other algorithms are commonly used, and preferred, for prosthetic control, especially in commercially available systems [4]. We hypothesize that the main reason for such performances with the FR algorithm was the high quality of iEMG recordings that selectively picked up the activity of agonist muscles during isometric force generation. In addition, with the small electrode area, only a few motor units were predominately present in the iEMG signals; thus, it was possible to estimate the firing rate of motor units with high precision, compared with the case of surface EMG signals which incorporated the firings of tens or hundreds of motor units. On the other end of the algorithm spectrum, frequency-based algorithms relying on dominant frequency within a time window (MNF and MDF) consistently underperformed compared to the other algorithms. With the iEMG signals that were used, these algorithms predominately acted as methods to detect muscle activity, with a sharp rise upon the initiation of muscle contraction and a mostly flat response during contraction. Again, we hypothesize that this behavior was due to the selective nature of the recorded iEMG samples containing sparse motor unit action potentials, compared with the superficial EMG samples which comprised superimposed action potentials. This, in the case of highly selective iEMG, indicates that mean and median signal frequency were more related to the shape of individual action potentials. On the other hand, in the case of superficial EMG, frequency measures of the signal were more related to the sheer number of the superimposed action potentials which corresponded to the muscle force. The analysis of the cross-correlation metric was less deterministic in terms of clear overperforming and underperforming algorithms. As in the case of the RMSE metric, FR generally estimated force shape better than the other algorithms, while MNF and MDF tended to distort the iEMG-based force estimation more than the other algorithms.
In addition, the optimal window size for different algorithms was also investigated in the current study. A wide range of window sizes (50–1050 ms) was used to assess the performance of the algorithms. The results indicating the best tradeoff between RMSE, correlation, and the controller delay (due to the window size) for the MAV algorithm are presented in Figure 6. There was no statistically significant difference in RMSE metrics between 250 ms and the larger windows; thus, 250 ms should be favored in the use case requiring minimal RMSE and controller latency. In the case of cross-correlation, with the increase in the window size up to 450 ms, there was a statistically significant increase in correlation metrics. As beyond this point there was no significant difference between the calculated cross-correlations between estimated and measured force, 450 ms should be used to obtain the best signal shape approximation if the MAV algorithm is to be used. Examples for other algorithms are provided in the Appendix A section.
The results of applying simple computational algorithms with this database could also be compared to other studies. For example, Kamavuako et al. [28], in their study, used a sine tracking protocol with isometric forces corresponding to two wrist DoFs, which is relatively similar to the protocol used in this paper. The force level was >10% of the MVC level, which was also the case in the study presented here. The results for the ten subjects reported by Kamavuako et al. showed a mean RMSE of ~14% (range between 10% and 19%). These values are in line with the best-performing algorithm (FR) from our study which had a median RMSE of 17.8% (Q1-13%; Q3-26%). For the other algorithms, there is partial overlap with the results of Kamavuako et al.’s study (e.g., for MAV, median RMSE was 22.5% with Q1-17%; Q3-29.6%). In terms of cross-correlation metrics, Kamavuako et al. achieved a mean Pearson correlation coefficient of ~0.93 (range between 0.88 and 0.96). The results of the presented study show a lover cross-correlation between the isometric forces and the tested simple algorithms. The best-performing algorithm (FR) only partially falls into the range reported by Kamavuako et al., with a median cross-correlation of 0.85 (Q1-0.75; Q3-0.92), while for the other algorithms, only Q3 values were above 0.88. We hypothesize that there are three potential causes of the somewhat worse results presented in this study compared with the study performed by Kamavuako et al. Firstly, the algorithms used in our study were very basic; the normalization of the outputs was based on only the first two force sine tracking repetitions, and no additional optimization was performed. Secondly, the correlations between some of the iEMG channels and the elicited joint forces were labeled as “questionable” during the qualitative evaluation of signal quality completed by the neurologist (check [24] for more information). Nevertheless, those pairings were still included in this study as they represent realistic use cases where fine wires, or intramuscular electrodes in general, were slightly misaligned with the targeted muscle, or migrated after initial insertion. Thirdly, in the presented study, only direct control was considered (one iEMG channel to estimate one joint force), while in the study completed by Kamavuako et al. eight iEMG channels were used to estimate two wrist DoFs, therefore using more information regarding muscle activity to estimate the resulting forces.
In terms of computational complexity, the approach of using simple feature extraction algorithms as the main force regression method significantly reduces the necessary processing power, which is an important step in the development of an embedded real-time prosthetic hand controller. Preferably, the controller should provide an immediate joint force output response to the user command to enhance the sense of agency of the prosthetic hand. Due to the latencies of the motorized actuator system, the computational aspect of the prosthesis control chain should have a delay below 125 ms [47] so that the total latency of the prosthetic hand reaction stays below 300 ms, which is still considered acceptable [9]. To keep the computational latency as short as possible, one of the solutions is to increase computational window overlap. Ideally, the sliding window increment of only one sample would yield the smallest computational delay. However, this principle requires computation to be performed between consecutive EMG (or iEMG) samples, which in the case of the iEMG used within this study should be completed within 100 µs. State-of-the-art prosthetic hand control methods do not use such rigorous conditions, but permit window overlaps of 50–300 ms [9,49].
In the context of the iEMG used within the scope of this paper, which was sampled at 10 kHz, the embedded implementations of MAV, Var, WA, WL, Env, and Ttd were able to perform real-time control for the window sizes found to be optimal. In other words, with window sizes up to 450 ms (4626 samples), the listed algorithms would execute computations under 0.1 ms (running on a Cortex-M7), ensuring a window increment of only a single sample. In the case of other time-domain algorithms (SSC, ZC and FR), the increment should be more than two samples (>0.2 ms), which still fulfils the commonly used computational delay requirement [47] by far. Finally, frequency-domain algorithms require more time to compute, but with FFT library optimization, it is possible to obtain updated control (sliding window increment) every 1 ms for window sizes up to 450 ms. The computational time simulations carried out on Cortex-M7 clearly showed the ability of the implemented algorithms to run in real time, even with the high sampling rate used in this study. In the case of commonly used estimation update rates (50–300 ms), most of the tested algorithms with maximal tested window sizes were calculated within this computational window. Only the FFT-based algorithms exceeded this range of acceptable delays for window sizes longer than 256 samples when computed on Cortex-M0. In the case of ATmega328, the main restriction was relatively limited RAM, which permitted tests on window sizes of 128 samples or less. With advancements in microprocessor/microcontroller technology, it is safe to assume that the computational load of calculating the algorithms evaluated within this study would not present an issue, even with extreme conditions such as low latency coupled with low power consumption.
A strong point regarding the methodology presented in this paper is the calibration phase, which tunes the output of individual algorithms to match the level of the desired joint force. This phase comprises only two repetitions of slowly increasing/decreasing self-perceived muscle contractions in the case of amputees, or isometric muscle force in the case of the signals used within this paper. Thus, the transfer function between iEMG and the force of an actuated prosthetic hand joint is governed by self-selected maximal muscle activity level. Although this method is intended for the recording/testing protocols associated with this iEMG database (ten repetitions, two for tuning and eight for performance evaluation), there are also implications for real-world prosthetic control strategies. Specifically, based on our findings, by executing one or two slow muscle contractions per controllable degree of freedom while recording iEMG, it should be possible to establish direct muscle control. Therefore, the initial calibration process could be relatively quick when compared with the machine learning methods that usually require a large number of repetitions to build an accurate movement model.
A limitation of the results presented here is related to the dataset of iEMG signals that was recorded and made publicly available [24]. Some of the findings presented in this paper might be challenged with methods based on other iEMG signal databases or real-time control approaches. Nevertheless, our intention is to provide baseline measures for the proportional/direct control of a dexterous prosthetic hand using well-known and extensively used computational methods. In this way, future studies using our iEMG database as the base for developing and testing novel algorithms could use presented results instead of independently implementing and optimizing “baseline” algorithms. Another limitation of this study is that all evaluations were completed offline. Therefore, as with any offline simulation study, the results should be taken with caution, as in real-time application there is always an interaction between controller output and user control in a closed-loop manner. Furthermore, physiological factors (such as fatigue or cognitive load) and environmental obstruction can have a significant impact on the accuracy of any online evaluated control method.
The methods presented in this study were devised in line with recent trends in prosthetic technology, namely, osseointegration [18], targeted muscle reinnervation (TMR) [46], and intramuscular EMG recording [15]. Although the combination of these techniques is currently not a clinical standard for prosthetic users, strong results of small sample studies have shown the great potential of these methods to increase the usability of hand prostheses. We assume that a combination of these techniques will become the state of the art in both research studies and clinical applications; therefore, providing an appropriate iEMG signal database alongside the evaluation of simple algorithms’ performances could be useful in future studies. Furthermore, within this study, only a subset of the available muscles were targeted by the fine-wire electrodes inserted through the skin to obtain representative signals. The combination of osseointegration and TMR could enable the placement of more intramuscular electrodes with greater precision during a surgical intervention, therefore establishing a genuine foundation for the direct/proportional control of prostheses’ individual degrees of freedom.

Author Contributions

Conceptualization, N.M., A.B., G.S.A., C.C. and C.A.; methodology, N.M., A.B., G.S.A., C.C. and C.A.; software, N.M.; formal analysis, N.M. and C.A.; investigation, N.M. and G.S.A.; resources, N.M. and C.A.; data curation, N.M. and G.S.A.; writing—original draft preparation, N.M. and C.A.; writing—review and editing, N.M., A.B. and C.A.; visualization, N.M.; supervision, C.A.; project administration, N.M., C.C. and C.A.; funding acquisition, N.M., C.C. and C.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the EU-Funded DeTOP Project (EIT-ICT-24-2015, GA no. 687905), the Swedish Research Council (DNR 2019-05601), the Promobilia Foundation and Stiftelsen för bistånd åt rörelsehindrade i Skåne.

Institutional Review Board Statement

The study was approved by the Regional Ethical Review Board in Lund, Sweden (Dnr 2017-297).

Informed Consent Statement

All the volunteers signed an informed consent.

Data Availability Statement

The Matlab data container files (*.mat) can be found here: (https://figshare.com/s/06f113bd74ecf6384729 (accessed on 2 June 2022)).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Figure A1. RMSE (left) and cross-correlation (right) of var algorithm for different window sizes.
Figure A1. RMSE (left) and cross-correlation (right) of var algorithm for different window sizes.
Sensors 22 05054 g0a1
Table A1. Statistical significance between window sizes for var algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A1. Statistical significance between window sizes for var algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A2. RMSE (left) and cross-correlation (right) of WL algorithm for different window sizes.
Figure A2. RMSE (left) and cross-correlation (right) of WL algorithm for different window sizes.
Sensors 22 05054 g0a2
Table A2. Statistical significance between window sizes for WL algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A2. Statistical significance between window sizes for WL algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A3. RMSE (left) and cross-correlation (right) of ENV algorithm for different window sizes.
Figure A3. RMSE (left) and cross-correlation (right) of ENV algorithm for different window sizes.
Sensors 22 05054 g0a3
Table A3. Statistical significance between window sizes for ENV algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A3. Statistical significance between window sizes for ENV algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A4. RMSE (left) and cross-correlation (right) of Etot algorithm for different window sizes.
Figure A4. RMSE (left) and cross-correlation (right) of Etot algorithm for different window sizes.
Sensors 22 05054 g0a4
Table A4. Statistical significance between window sizes for Etot algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A4. Statistical significance between window sizes for Etot algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A5. RMSE (left) and cross-correlation (right) of Ttd algorithm for different window sizes.
Figure A5. RMSE (left) and cross-correlation (right) of Ttd algorithm for different window sizes.
Sensors 22 05054 g0a5
Table A5. Statistical significance between window sizes for Ttd algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A5. Statistical significance between window sizes for Ttd algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A6. RMSE (left) and cross-correlation (right) of Tf algorithm for different window sizes.
Figure A6. RMSE (left) and cross-correlation (right) of Tf algorithm for different window sizes.
Sensors 22 05054 g0a6
Table A6. Statistical significance between window sizes for Tf algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A6. Statistical significance between window sizes for Tf algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A7. RMSE (left) and cross-correlation (right) of Tf_mod algorithm for different window sizes.
Figure A7. RMSE (left) and cross-correlation (right) of Tf_mod algorithm for different window sizes.
Sensors 22 05054 g0a7
Table A7. Statistical significance between window sizes for Tf_mod algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A7. Statistical significance between window sizes for Tf_mod algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A8. RMSE (left) and cross-correlation (right) of MNF algorithm for different window sizes.
Figure A8. RMSE (left) and cross-correlation (right) of MNF algorithm for different window sizes.
Sensors 22 05054 g0a8
Table A8. Statistical significance between window sizes for MNF algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A8. Statistical significance between window sizes for MNF algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A9. RMSE (left) and cross-correlation (right) of MDF algorithm for different window sizes.
Figure A9. RMSE (left) and cross-correlation (right) of MDF algorithm for different window sizes.
Sensors 22 05054 g0a9
Table A9. Statistical significance between window sizes for MDF algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
Table A9. Statistical significance between window sizes for MDF algorithm. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric, and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. Grey indicates diagonal fields.
ms501502503504505506507508509501050
50
150
250
350
450
550
650
750
850
950
1050
Figure A10. RMSE (left) and cross-correlation (right) for ZC with different thresholds (Q multipliers of MAV at rest) and window widths (actual value of Q is shown/10).
Figure A10. RMSE (left) and cross-correlation (right) for ZC with different thresholds (Q multipliers of MAV at rest) and window widths (actual value of Q is shown/10).
Sensors 22 05054 g0a10
Figure A11. RMSE (left) and cross-correlation (right) for WA with different thresholds (Q multipliers of MAV at rest) and window widths (actual value of Q is shown/10).
Figure A11. RMSE (left) and cross-correlation (right) for WA with different thresholds (Q multipliers of MAV at rest) and window widths (actual value of Q is shown/10).
Sensors 22 05054 g0a11

References

  1. Pernet, A. Biomechanics of the Hand. Int. Surg. 1975, 60, 9–11. [Google Scholar] [CrossRef] [PubMed]
  2. Belter, J.T.; Dollar, A.M. Performance Characteristics of Anthropomorphic Prosthetic Hands. In Proceedings of the IEEE International Conference on Rehabilitation Robotics, Zurich, Switzerland, 29 June–1 July 2011. [Google Scholar] [CrossRef]
  3. Kulkarni, T.; Uddanwadiker, R. Overview: Mechanism and Control of a Prosthetic Arm. MCB Mol. Cell. Biomech. 2015, 12, 147–195. [Google Scholar] [CrossRef] [PubMed]
  4. Peerdeman, B. Myoelectric Forearm Prostheses: State of the Art from a User-Centered Perspective. J. Rehabil. Res. Dev. 2011, 48, 719–738. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Fougner, A.; Stavdahl, O.; Kyberd, P.J.; Losier, Y.G.; Parker, P.A. Control of Upper Limb Prostheses: Terminology and Proportional Myoelectric Controla Review. IEEE Trans. Neural Syst. Rehabil. Eng. 2012, 20, 663–677. [Google Scholar] [CrossRef] [Green Version]
  6. Celadon, N.; Došen, S.; Binder, I.; Ariano, P.; Farina, D. Proportional Estimation of Finger Movements from High-Density Surface Electromyography. J. Neuroeng. Rehabil. 2016, 13, 73. [Google Scholar] [CrossRef] [Green Version]
  7. Farina, D.; Cescon, C.; Merletti, R. Influence of Anatomical, Physical, and Detection-System Parameters on Surface EMG. Biol. Cybern. 2002, 86, 445–456. [Google Scholar] [CrossRef]
  8. Hahne, J.M.; Bießmann, F.; Jiang, N.; Rehbaum, H.; Farina, D.; Meinecke, F.C.; Muller, K.R.; Parra, L.C. Linear and Nonlinear Regression Techniques for Simultaneous and Proportional Myoelectric Control. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 269–279. [Google Scholar] [CrossRef]
  9. 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]
  10. Olsson, A.E.; Sager, P.; Andersson, E.; Björkman, A.; Malešević, N.; Antfolk, C. Extraction of Multi-Labelled Movement Information from the Raw HD-SEMG Image with Time-Domain Depth. Sci. Rep. 2019, 9, 7244. [Google Scholar] [CrossRef]
  11. Malešević, N.; Marković, D.; Kanitz, G.; Controzzi, M.; Cipriani, C.; Antfolk, C. Vector Autoregressive Hierarchical Hidden Markov Models for Extracting Finger Movements Using Multichannel Surface EMG Signals. Complexity 2018, 2018, 9728264. [Google Scholar] [CrossRef] [Green Version]
  12. Shuman, G.; Durić, Z.; Barbará, D.; Lin, J.; Gerber, L.H. Improving the Recognition of Grips and Movements of the Hand Using Myoelectric Signals. BMC Med. Inform. Decis. Mak. 2016, 16, 65–83. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Geng, W.; Du, Y.; Jin, W.; Wei, W.; Hu, Y.; Li, J. Gesture Recognition by Instantaneous Surface EMG Images. Sci. Rep. 2016, 6, 36571. [Google Scholar] [CrossRef] [PubMed]
  14. Atzori, M.; Cognolato, M.; Müller, H. Deep Learning with Convolutional Neural Networks Applied to Electromyog-raphy Data: A Resource for the Classification of Movements for Prosthetic Hands. Front. Neurorobot. 2016, 10, 9. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Smith, L.H.; Levi, J. Hargrove Comparison of Surface and Intramuscular EMG Pattern Recognition for Simultaneous Wrist/Hand Motion Classification. In Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 3–7 July 2013; pp. 4223–4226. [Google Scholar] [CrossRef] [Green Version]
  16. Cipriani, C.; Segil, J.L.; Birdwell, J.A.; Weir, R.F. Dexterous Control of a Prosthetic Hand Using Fine-Wire Intramuscular Electrodes in Targeted Extrinsic Muscles. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 828–836. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Farina, D.; Yoshida, K.; Stieglitz, T.; Koch, K.P. Multichannel Thin-Film Electrode for Intramuscular Electromyographic Recordings. J. Appl. Physiol. 2008, 104, 821–827. [Google Scholar] [CrossRef] [Green Version]
  18. Ortiz-Catalan, M.; Håkansson, B.; Brånemark, R. An Osseointegrated Human-Machine Gateway for Long-Term Sensory Feedback and Motor Control of Artificial Limbs. Sci. Transl. Med. 2014, 6, 257re6. [Google Scholar] [CrossRef]
  19. Ortiz-Catalan, M.; Brånemark, R.; Håkansson, B.; Delbeke, J. On the Viability of Implantable Electrodes for the Natural Control of Artificial Limbs: Review and Discussion. BioMed. Eng. Online 2012, 11, 33. [Google Scholar] [CrossRef] [Green Version]
  20. Merletti, R.; Farina, A. Analysis of Intramuscular Electromyogram Signals. Philos. Trans. R. Soc. A Math. Phys. Eng. Sci. 2009, 367, 357–368. [Google Scholar] [CrossRef]
  21. Kamavuako, E.N.; Farina, D.; Yoshida, K.; Jensen, W. Relationship between Grasping Force and Features of Single-Channel Intramuscular EMG Signals. J. Neurosci. Methods 2009, 185, 143–150. [Google Scholar] [CrossRef]
  22. Biddiss, E.; Chau, T. Upper-Limb Prosthetics: Critical Factors in Device Abandonment. Am. J. Phys. Med. Rehabil. 2007, 86, 977–987. [Google Scholar] [CrossRef] [Green Version]
  23. Salminger, S.; Stino, H.; Pichler, L.H.; Gstoettner, C.; Sturma, A.; Mayer, J.A.; Szivak, M.; Aszmann, O.C. Current Rates of Prosthetic Usage in Upper-Limb Amputees–Have Innovations Had an Impact on Device Acceptance? Disabil. Rehabil. 2020, in press. [Google Scholar] [CrossRef]
  24. Malesevic, N.; Björkman, A.; Andersson, G.S.; Matran-Fernandez, A.; Citi, L.; Cipriani, C.; Antfolk, C. A Database of Multi-Channel Intramuscular Electromyogram Signals during Isometric Hand Muscles Contractions. Sci. Data 2020, 7, 10. [Google Scholar] [CrossRef]
  25. Rudroff, T. Kinesiological Fine Wire EMG. A Practical Introduction to Fine Wire EMG Applications; Noraxon: Scottsdale, AZ, USA, 2008; ISBN 0977162230. [Google Scholar]
  26. Malešević, N.; Andersson, G.; Björkman, A.; Controzzi, M.; Cipriani, C.; Antfolk, C. Instrumented Platform for As-sessment of Isometric Hand Muscles Contractions. Meas. Sci. Technol. 2019, 30, 065701. [Google Scholar] [CrossRef]
  27. Strzecha, K.; Krakós, M.; Więcek, B.; Chudzik, P.; Tatar, K.; Lisowski, G.; Mosorov, V.; Sankowski, D. Processing of EMG Signals with High Impact of Power Line and Cardiac Interferences. Appl. Sci. 2021, 11, 4625. [Google Scholar] [CrossRef]
  28. Kamavuako, E.N.; Scheme, E.J.; Englehart, K.B. Wrist Torque Estimation during Simultaneous and Continuously Changing Movements: Surface vs. Untargeted Intramuscular EMG. J. Neurophysiol. 2013, 109, 2658–2665. [Google Scholar] [CrossRef]
  29. Kamavuako, E.N.; Farina, D.; Yoshida, K.; Jensen, W. Estimation of Grasping Force from Features of Intramuscular EMG Signals with Mirrored Bilateral Training. Ann. Biomed. Eng. 2011, 40, 648–656. [Google Scholar] [CrossRef]
  30. Micera, S.; Carpaneto, J.; Raspopovic, S. Control of Hand Prostheses Using Peripheral Information Review. IEEE Rev. Biomed. Eng. 2010, 3, 48–68. [Google Scholar] [CrossRef] [Green Version]
  31. Zecca, M.; Micera, S.; Carrozza, M.C.; Dario, P. Control of Multifunctional Prosthetic Hands by Processing the Electromyographic Signal. Crit. Rev. Biomed. Eng. 2017, 45, 383–410. [Google Scholar] [CrossRef] [Green Version]
  32. Oskoei, M.A.; Hu, O.; Gan, J.Q. Feature-Channel Subset Selection for Optimising Myoelectric Human-Machine Interface Design. Int. J. Biomechatron. Biomed. Robot. 2013, 2, 195. [Google Scholar] [CrossRef]
  33. Hudgins, B.; Parker, P.; Scott, R.N. A New Strategy for Multifunction Myoelectric Control. IEEE Trans. Biomed. Eng. 1993, 40, 82–94. [Google Scholar] [CrossRef]
  34. Zardoshti-Kermani, M.; Wheeler, B.C.; Badie, K.; Hashemi, R.M. EMG Feature Evaluation for Movement Control of Upper Extremity Prostheses. IEEE Trans. Rehabil. Eng. 1995, 3, 324–333. [Google Scholar] [CrossRef]
  35. Park, S.H.; Lee, S.P. EMG Pattern Recognition Based on Artificial Intelligence Techniques. IEEE Trans. Rehabil. Eng. 1998, 6, 400–405. [Google Scholar] [CrossRef] [Green Version]
  36. Farry, K.A.; Walker, I.D.; Baraniuk, R.G. Myoelectric Teleoperation of a Complex Robotic Hand. IEEE Trans. Robot. Autom. 1996, 12, 775–788. [Google Scholar] [CrossRef]
  37. Huang, H.P.; Chiang, C.Y. DSP-Based Controller for a Multi-Degree Prosthetic Hand. In Proceedings of the IEEE International Conference on Robotics and Automation, San Francisco, CA, USA, 24–28 April 2000; Volume 2, pp. 1378–1383. [Google Scholar]
  38. Tenore, F.V.G.; Ramos, A.; Fahmy, A.; Acharya, S.; Etienne-Cummings, R.; Thakor, N.V. Decoding of Individuated Finger Movements Using Surface Electromyography. IEEE Trans. Biomed. Eng. 2009, 56, 1427–1434. [Google Scholar] [CrossRef]
  39. Choi, J.H.; Jung, H.K.; Kim, T. A New Action Potential Detector Using the MTEO and Its Effects on Spike Sorting Systems at Low Signal-to-Noise Ratios. IEEE Trans. Biomed. Eng. 2006, 53, 738–746. [Google Scholar] [CrossRef]
  40. Krabben, T.; Prange, G.B.; Kobus, H.J.; Rietman, J.S.; Buurke, J.H. Application of the Teager–Kaiser Energy Operator in an Autonomous Burst Detector to Create Onset and Offset Profiles of Forearm Muscles during Reach-to-Grasp Movements. Acta Bioeng. Biomech. 2016, 18, 135–144. [Google Scholar] [CrossRef]
  41. Solnik, S.; DeVita, P.; Rider, P.; Long, B.; Hortobágyi, T. Teager-Kaiser Operator Improves the Accuracy of EMG Onset Detection Independent of Signal-to-Noise Ratio. Acta Bioeng. Biomech. 2008, 10, 65–68. [Google Scholar]
  42. Kaiser, J.F. On a Simple Algorithm to Calculate the “Energy” of a Signal. In Proceedings of the ICASSP, IEEE International Conference on Acoustics, Speech and Signal Processing, Albuquerque, NM, USA, 3–6 April 1990; Volume 1, pp. 381–384. [Google Scholar]
  43. Phinyomark, A.; Limsakul, C.; Phukpattaranont, P. A Novel Feature Extraction for Robust EMG Pattern Recognition. J. Med. Eng. Technol. 2009, 40, 149–154. [Google Scholar] [CrossRef]
  44. Vujaklija, I.; Shalchyan, V.; Kamavuako, E.N.; Jiang, N.; Marateb, H.R.; Farina, D. Online Mapping of EMG Signals into Kinematics by Autoencoding. J. NeuroEng. Rehabil. 2018, 15, 21. [Google Scholar] [CrossRef]
  45. Jiang, N.; Rehbaum, H.; Vujaklija, I.; Graimann, B.; Farina, D. Intuitive, Online, Simultaneous, and Proportional Myoelectric Control over Two Degrees-of-Freedom in Upper Limb Amputees. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 501–510. [Google Scholar] [CrossRef]
  46. Kuiken, T.A.; Li, G.; Lock, B.A.; Lipschutz, R.D.; Miller, L.A.; Stubblefield, K.A.; Englehart, K.B. Targeted Muscle Reinnervation for Real-Time Myoelectric Control of Multifunction Artificial Arms. JAMA J. Am. Med. Assoc. 2009, 301, 619–628. [Google Scholar] [CrossRef] [Green Version]
  47. 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]
  48. Farfán, F.D.; Politti, J.C.; Felice, C.J. Evaluation of EMG Processing Techniques Using Information Theory. Biomed. Eng. OnLine 2010, 9, 72. [Google Scholar] [CrossRef] [Green Version]
  49. Ortiz-Catalan, M.; Håkansson, B.; Brånemark, R. Real-Time and Simultaneous Control of Artificial Limbs Based on Pattern Recognition Algorithms. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 756–764. [Google Scholar] [CrossRef]
Figure 1. Measurement setup. The participants were following the slowly changing sine wave (repetition frequency was 0.1 Hz) with a finger DoF by producing isometric contractions. The forces were acquired by the force measurement device and displayed in real-time on the screen. Fine-wire electrodes were taped at the skin entry point to prevent accidental pulls. To reduce induced noise, the preamplifiers were placed as close as possible to the entry points of the fine wires. In addition, the wires between the entry point and preamplifiers were taped to the skin. The metal frame of the force measurement device was grounded to reduce powerline noise.
Figure 1. Measurement setup. The participants were following the slowly changing sine wave (repetition frequency was 0.1 Hz) with a finger DoF by producing isometric contractions. The forces were acquired by the force measurement device and displayed in real-time on the screen. Fine-wire electrodes were taped at the skin entry point to prevent accidental pulls. To reduce induced noise, the preamplifiers were placed as close as possible to the entry points of the fine wires. In addition, the wires between the entry point and preamplifiers were taped to the skin. The metal frame of the force measurement device was grounded to reduce powerline noise.
Sensors 22 05054 g001
Figure 2. Schematic representation of the signal pre-processing and testing of algorithms steps. For each iEMG channel (left side, blue signals), the MAV feature was extracted. In the following step, the MAV features were normalized for each movement based on only two first sine tracking periods (out of 10 repetitions). Hand and wrist forces (right side) were divided into positive (teal) and negative phases (red signals), after which individual phases were normalized (0–1) for each movement. To establish a correlation between iEMG channels (differential wires) and the phases of the force channels, a systematic evaluation of RMSE metrics between normalized MAV features and forces was conducted. The result of this process was a lookup table connecting iEMG channel, force channel (gauge), force phase, and movement (see the file “Fine-wire force-emg pairs” provided in the database paper [24]). The example signals are based on subject 4’s FPL muscle and thumb flexion/extension.
Figure 2. Schematic representation of the signal pre-processing and testing of algorithms steps. For each iEMG channel (left side, blue signals), the MAV feature was extracted. In the following step, the MAV features were normalized for each movement based on only two first sine tracking periods (out of 10 repetitions). Hand and wrist forces (right side) were divided into positive (teal) and negative phases (red signals), after which individual phases were normalized (0–1) for each movement. To establish a correlation between iEMG channels (differential wires) and the phases of the force channels, a systematic evaluation of RMSE metrics between normalized MAV features and forces was conducted. The result of this process was a lookup table connecting iEMG channel, force channel (gauge), force phase, and movement (see the file “Fine-wire force-emg pairs” provided in the database paper [24]). The example signals are based on subject 4’s FPL muscle and thumb flexion/extension.
Sensors 22 05054 g002
Figure 3. Measured force (blue—bottom row) and estimated forces using different algorithms. Each algorithm output (and the force signal) was normalized using the maximal amplitude within the first two repetitions as the scaling factor. The example signals are based on subject 15, EDC muscle and ring finger extension.
Figure 3. Measured force (blue—bottom row) and estimated forces using different algorithms. Each algorithm output (and the force signal) was normalized using the maximal amplitude within the first two repetitions as the scaling factor. The example signals are based on subject 15, EDC muscle and ring finger extension.
Sensors 22 05054 g003
Figure 4. RMSE metric for all methods. These data comprise all subjects and all joint force estimates (except for the channels labeled as “poor”, see [24]).
Figure 4. RMSE metric for all methods. These data comprise all subjects and all joint force estimates (except for the channels labeled as “poor”, see [24]).
Sensors 22 05054 g004
Figure 5. Cross-correlation between the algorithms and joint forces (ground truth). These data comprise all subjects and all joint force estimates (except for the channels labeled as “poor”). * p < 0.05, ** p < 0.01.
Figure 5. Cross-correlation between the algorithms and joint forces (ground truth). These data comprise all subjects and all joint force estimates (except for the channels labeled as “poor”). * p < 0.05, ** p < 0.01.
Sensors 22 05054 g005
Figure 6. RMSE (left) and cross-correlation (right) of MAV algorithm for different window sizes. The cases of significant differences (p < 0.05; Bonferroni-corrected) are marked with *.
Figure 6. RMSE (left) and cross-correlation (right) of MAV algorithm for different window sizes. The cases of significant differences (p < 0.05; Bonferroni-corrected) are marked with *.
Sensors 22 05054 g006
Figure 7. RMSE (left) and cross-correlation (right) for firing rate with different thresholds and window widths.
Figure 7. RMSE (left) and cross-correlation (right) for firing rate with different thresholds and window widths.
Sensors 22 05054 g007
Figure 8. RMSE (left) and cross-correlation (right) for SSC with different thresholds (Q multipliers of MAV at rest) and window widths (actual value of Q is shown/10). Finding: with threshold = 2 × MAV (rest) the window can be short (150–250 ms).
Figure 8. RMSE (left) and cross-correlation (right) for SSC with different thresholds (Q multipliers of MAV at rest) and window widths (actual value of Q is shown/10). Finding: with threshold = 2 × MAV (rest) the window can be short (150–250 ms).
Sensors 22 05054 g008
Table 1. Formulas used to compute algorithms that were evaluated. N denotes window length, x n is the n-th iEMG sample within the current window, M is the number of frequency bands, P n is the spectral power of the n-th frequency band, f n is the central frequency of the n-th frequency band, and AP the number of detected action potentials over the threshold within the sliding window function.
Table 1. Formulas used to compute algorithms that were evaluated. N denotes window length, x n is the n-th iEMG sample within the current window, M is the number of frequency bands, P n is the spectral power of the n-th frequency band, f n is the central frequency of the n-th frequency band, and AP the number of detected action potentials over the threshold within the sliding window function.
AlgorithmAcronymFormula
1Mean absolute Value MAV MAV = 1 N   n = 1 N | x n |
2VarianceVar Var = 1 N 1 n = 1 N x n 2
3Slope sign changeSSC SSC = n = 2 N 1 f [ ( x n x n 1 ) × ( x n x n + 1 ) ]
f ( x ) = { 1 ,     i f   x t h r e s h o l d 0 ,     o t h e r w i s e                          
4Zero crossingZC ZC = n = 2 N 1 [ s g n ( x n × x n + 1 ) × f [ x n x n + 1 ] ]
f ( x ) = { 1 ,     i f   x t h r e s h o l d 0 ,     o t h e r w i s e                            
5Willison amplitudeWA WA = n = 1 N 1 f [ | x n x n + 1 | ]
f ( x ) = { 1 ,     i f   x t h r e s h o l d 0 ,     o t h e r w i s e                            
6Waveform lengthWL WL = n = 1 N 1 | x n x n + 1 |
7EnvelopeENV ENV = 1 N n = 1 N x n 2  
8Total signal energyEtot Etot = 1 M 1 n = 1 M 1 P n
9Teager energy in time domainTtd Ttd n = x n 2 ( x n 1 * x n + 1 )
     + window-based moving average
10Teager energy in frequency domainTf Tf = n = 1 M 1 P n * f n 2
11Modified Teager energyTf_mod Tf _ mod = n = 1 M 1 P n * f n
12Mean of signal frequenciesMNF MNF = n = 1 M P n * f n n = 1 M P n
13Median of signal frequenciesMDF n = 1 MDF P n = n = MDF M P n
14Firing rateFR FR = n = 1 M A P
Table 2. Parameters and the ranges in which they were varied for different algorithms.
Table 2. Parameters and the ranges in which they were varied for different algorithms.
AlgorithmComputational Complexity (O)Window Size RangeThreshold Range
1.MAVO(n)(50–1050) msNA
2.VarO(n)(50–1050) msNA
3.SSCO(n)(50–550) ms0–4 × MAV (rest)
4.ZCO(n)(50–550) ms0–4 × MAV (rest)
5.WAO(n)(50–550) ms0–4 × MAV (rest)
6.WLO(n)(50–1050) msNA
7.EnvO(n)(50–1050) msNA
8.EtotO(n × log(n))(50–1050) msNA
9.TtdO(n)(50–1050) msNA
10.TfO(n × log(n))(50–1050) msNA
11.Tf_modO(n × log(n))(50–1050) msNA
12.MNFO(n × log(n))(50–1050) msNA
13.MDFO(n × log(n))(50–1050) msNA
14.FRO(n)(50–1050) ms85th–99th quantile
Table 3. Computational times for different algorithms across different platforms. Each column except for the last is normalized with respect to the quickest algorithm. The values presented in parenthesis are the result of using CMSIS-DSP functions which were possible only for some platforms. In the case of similar or longer processing times of the CMSIS-DSP compared with native functions, the parenthesized values are omitted. The bottom row contains information about the absolute processing time in the case of a 128-sample-wide window. The last column presents the mean of the individually normalized processing times of each algorithm. Values indicated by bold text are the ones with the best performance.
Table 3. Computational times for different algorithms across different platforms. Each column except for the last is normalized with respect to the quickest algorithm. The values presented in parenthesis are the result of using CMSIS-DSP functions which were possible only for some platforms. In the case of similar or longer processing times of the CMSIS-DSP compared with native functions, the parenthesized values are omitted. The bottom row contains information about the absolute processing time in the case of a 128-sample-wide window. The last column presents the mean of the individually normalized processing times of each algorithm. Values indicated by bold text are the ones with the best performance.
AlgorithmPCCortex-M7Cortex-M4Cortex-M0ATmega328Mean
1.MAV1.4117.81.42.5
2.Var1.51.5 (1)1.5 (1)111.2
3.SSC3.311.311.33.24.0
4.ZC2.91.51.77.923.2
5.WA4.74 (1.5)3.3 (1.5)6.41.64.2
6.WL13 (1.5)2.7 (1.5)10.82.74.8
7.Env1.11.5 (0.5)1 (0.8)1.211.1
8.Etot5.320 (7.5)170.5 (15.3)160.53165.6
9.Ttd1.111.523.44.36.3
10.Tf5.420.5 (9.5)170.0 (18.2)16231.566.3
11.Tf_mod5.420 (9.5)170.0 (18)161.231.666.1
12.MNF5.620.5 (9.5)170.0 (17.7)167.132.168.3
13.MDF16.420.5 (9.5)170.2 (17.2)182.735.178.1
14.FR41.23.53.06.21.411.1
1 = 6.9 µs1 = 2 µs1 = 6 µs1 = 0.56 ms1 = 1.52 ms
Table 4. Statistical significance between algorithms for both RMSE and cross-correlation. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. The cases of significant differences for both metrics are marked with * on the cross-correlation part of the table. Grey indicates diagonal fields.
Table 4. Statistical significance between algorithms for both RMSE and cross-correlation. Green indicates statistically significant difference (p < 0.05; Bonferroni-corrected) for the RMSE metric and orange indicates significant difference (p < 0.05; Bonferroni-corrected) for the cross-correlation metric. The cases of significant differences for both metrics are marked with * on the cross-correlation part of the table. Grey indicates diagonal fields.
MAVVarSSCZCWAWLEnvEtotTtdTfTf_
mod
MNFMDFFR
MAV * * **
Var ***
SSC ***
ZC ***
WA ***
WL * * **
Env ***
Etot ***
Ttd ***
Tf ***
Tf_mod ***
MNF *
MDF *
FR
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Malesevic, N.; Björkman, A.; Andersson, G.S.; Cipriani, C.; Antfolk, C. Evaluation of Simple Algorithms for Proportional Control of Prosthetic Hands Using Intramuscular Electromyography. Sensors 2022, 22, 5054. https://doi.org/10.3390/s22135054

AMA Style

Malesevic N, Björkman A, Andersson GS, Cipriani C, Antfolk C. Evaluation of Simple Algorithms for Proportional Control of Prosthetic Hands Using Intramuscular Electromyography. Sensors. 2022; 22(13):5054. https://doi.org/10.3390/s22135054

Chicago/Turabian Style

Malesevic, Nebojsa, Anders Björkman, Gert S. Andersson, Christian Cipriani, and Christian Antfolk. 2022. "Evaluation of Simple Algorithms for Proportional Control of Prosthetic Hands Using Intramuscular Electromyography" Sensors 22, no. 13: 5054. https://doi.org/10.3390/s22135054

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