You are currently viewing a new version of our website. To view the old version click .
Actuators
  • Article
  • Open Access

9 November 2025

Surface Electromyography-Based Wrist Angle Estimation and Robotic Arm Control with Echo State Networks

and
Department of Information and Communication Engineering, School of Engineering, Tokyo Denki University, Tokyo 120-8551, Japan
*
Author to whom correspondence should be addressed.
Actuators2025, 14(11), 548;https://doi.org/10.3390/act14110548 
(registering DOI)
This article belongs to the Special Issue Intelligent Systems, Robots and Devices for Healthcare and Rehabilitation

Abstract

Continuous estimation of joint angles based on surface electromyography (sEMG) signals is a promising method for naturally controlling prosthetic limbs and assistive devices. However, conventional methods based on neural networks have limitations such as long training times and calibration burdens. This study investigates the use of an echo state network (ESN), which enables fast training, to estimate wrist joint angles from sEMG. Five participants mimicked the motion of a 1-degree-of-freedom robotic arm by flexing and extending their wrist, while sEMG signals from the wrist flexor and extensor muscles and the robotic arm’s angle were recorded. The ESN was trained to take two sEMG channels as input and the robotic joint angle as output. High-accuracy estimation with a median coefficient of determination R2 = 0.835 was achieved for representative ESN parameters. Additionally, the effects of the reservoir size, spectral radius, and time constant on estimation accuracy were evaluated using data from a single participant. Furthermore, online estimation of joint angles based on sEMG signals enabled successful control of the robotic arm. These results suggest that sEMG-based ESN estimation offers fast, accurate joint control and could be useful for prosthetics and fundamental studies on body perception.

1. Introduction

Continuous estimation of joint angles based on surface electromyography (sEMG) signals is a promising technique for enabling natural control of prosthetic hands and assistive suits. Conventional myoelectric prostheses commonly control joint rotation speed in proportion to muscle activation levels []. However, such systems require the user to learn the mapping between muscle activity and movement through training. Although many studies have investigated methods for classifying specific hand postures from muscle activity patterns [,,,,], achieving smooth and goal-directed manipulation of objects using prosthetic or assistive devices requires technology that continuously adjusts joint angles according to the user’s intent. Such estimation techniques are also used in psychological or neuroscientific research on body perception involving artificial limbs; for example, in psychological experiments that evaluate the sense of body ownership and sense of agency during voluntary control of robotic arms [,].
The relationship between sEMG and joint angle is nonlinear and dynamic. Muscle activity, approximated by the envelope of the sEMG signal, scales the viscoelastic properties of muscles []. Joint motion is induced by torque generated from muscle tension, interacting with the dynamics of the limb, such as inertia []. This process involves factors like the nonlinear force–length relationship of muscles and posture-dependent variations in moment arms, requiring complex physical models to estimate movements from sEMG. Furthermore, muscle and limb parameters vary among individuals, necessitating parameter tuning when using physical models for prediction [,,]. These complexities demand significant computational resources, which can be a bottleneck for use in portable systems such as prosthetic limbs.
To model the relationship between muscle activity and joint angles using sEMG, machine learning approaches have been widely adopted. Methods capable of reproducing dynamic responses, such as recurrent neural networks (RNNs), time delay neural networks (TDNNs), and convolutional neural networks (CNNs), have been extensively used [,,,,]. These models are effective in capturing complex nonlinear relationships due to their strong function approximation capabilities. However, they require optimization of nonlinear cost functions using gradient-based methods, which cannot guarantee that a global optimum is reached and often involve long training times. Furthermore, calibration of machine learning models requires not only sEMG signals but also the corresponding joint angle data, which must be collected using posture sensors or motion capture markers attached to the user’s limb. This is not feasible for amputees, and the setup and measurement process are time-consuming, making it burdensome for daily use or for use during psychological experiments.
Recently, echo state networks (ESNs), a type of RNN capable of fast training, have drawn attention [,,]. ESNs are characterized by having a randomly weighted and fixed internal network called a reservoir, with learning applied only to the output layer. This structure allows for much faster training compared to conventional RNNs and is well suited for applications requiring immediate use after training. To the best of the authors’ knowledge, although there have been studies attempting to estimate elbow joint angles from sEMG using ESNs [], the parameter settings used in such models have not been thoroughly explored, and it remains unclear whether accurate estimation is possible without the use of posture sensors.
In this study, we focus on wrist joint motion with the goal of applying the method to sEMG-controlled robotic arms, such as prosthetic hands. We investigate whether joint angle estimation from sEMG using an ESN is feasible in able-bodied participants, with a view toward potential future applications in myoelectric prostheses. During calibration, we test whether it is possible to train the neural network without attaching posture sensors to the user by having the user imitate the movement of a robotic arm and using the arm’s joint angles as training signals. We also examine how key ESN parameters (the number of reservoir neurons, spectral radius, and time constant) affect estimation performance. Furthermore, we evaluate whether a trained ESN can be used for online control of a robotic arm using sEMG signals.

2. Materials and Methods

2.1. Data Acquisition

The experimental setup used in this study is shown in Figure 1. Surface EMG signals were recorded from two muscles involved in wrist flexion and extension: the flexor carpi radialis and the extensor carpi ulnaris. Bipolar dry electrodes (Oisaka Electronic Equipment, Fukuyama, Japan) were used for sEMG recording, amplified using a P-EMG plus amplifier (Oisaka Electronic Equipment) with a total gain of 10,000. The two electrodes were placed on the target muscles and fixed with a belt, along with a dry reference electrode. The experimenter identified the muscle locations based on the positions of the tendons and the ulna, and the electrodes were placed approximately one-third of the distance between the elbow and the wrist at sites where muscle activity during flexion and extension could be confirmed. The analog filters built into the amplifier were not used, and all noise processing was performed digitally on a PC (see Section 2.2). The amplified sEMG signals were sampled at 2000 Hz using a data acquisition (DAQ) device (NI USB-6212, National Instruments, Austin, TX, USA) with an input range of ±10 V and 16-bit quantization, and recorded on a PC.
Figure 1. Experimental setup for sEMG measurement and robotic arm motion.
The robotic arm consisted of a wooden hand model attached to an AC servo motor (FHA-11C, Harmonic Drive LLC, Beverly, MA, USA), which was driven in velocity control mode using a motor controller (HA-680, Harmonic Drive LLC). The control frequency was 100 Hz, and the PC sent velocity commands to the motor controller via the DAQ device. The joint angle of the robotic arm was recorded in synchrony with the sEMG signals by capturing the signal from the rotary encoder embedded in the motor through the digital input of the DAQ device.
In each trial, the robotic arm followed a 35 s trajectory defined by a sinusoidal waveform with a gradually increasing frequency (0.1–0.4 Hz) and an amplitude of 45°. During this motion, the PC simultaneously recorded sEMG signals and joint angles of the robotic arm while sending motor commands. The angle coordinate was defined such that the neutral wrist position was 0°, flexion was positive, and extension was negative. Data acquisition, digital filtering, and motor control were performed using MATLAB (R2024a, MathWorks, Natick, MA, USA).
The participants observed the motion of the robotic arm and imitated its movement with their own wrist while sEMG signals were recorded. They were instructed not to apply force with their fingers and to replicate the posture of the robotic hand as closely as possible. The participants could observe their real-time sEMG waveforms using an oscilloscope during the experiment.

2.2. sEMG Preprocessing

The sEMG preprocessing and angle estimation pipeline used in this study is illustrated in Figure 2. First, motion artifacts were removed from the raw sEMG signals using a second-order Butterworth high-pass filter with a cutoff frequency of 25 Hz, which is close to the frequency reported as optimal in previous research []. No notch filter for power line noise was applied to avoid potential loss of EMG components. The signals were then full-wave-rectified and smoothed using a low-pass filter with the following impulse response to convert them into muscle activation signals:
h t = 6.44 × e 10.80 t e 16.52 t .
Figure 2. Overview of signal processing and ESN-based wrist angle estimation pipeline.
This filter was originally derived in neural network studies for estimating joint torque, and it approximates the delay between EMG and muscle tension []. The resulting muscle activation signals were resampled at 100 Hz, synchronized with the motor angle data, and used as input data for ESN training and performance evaluation.

2.3. Echo State Network

The echo state network (ESN) used in this study consists of a reservoir layer that changes its internal state in response to input signals, and an output layer that computes the estimated output from the reservoir state (Figure 2). We employed a leaky integrator ESN [], implemented in the ESNToolbox provided by H. Jaeger [].
Let time be denoted by t , the input be a K -dimensional vector u ( t ) , the number of reservoir neurons be N , and the reservoir state be an N -dimensional vector x ( t ) . The reservoir dynamics are governed by the following:
x ˙ t = 1 c a x t + f W i n u t + W x t ,
where a is the leaking rate (fixed at 1 in this study), c is the time constant, and f is the activation function, set to tanh in this study. The equation was discretized using Euler’s method as follows:
x n + 1 = 1 a δ c x n + δ c f W i n u n + W x n ,
where n is the discrete time index and δ is the real time per discrete step (set to 0.01 s, matching the sampling interval of the muscle activation data). The input weights W i n were initialized with uniform random values in the range [−1,1]. The reservoir weight matrix W had a sparse connection density of m i n ( 10 / N ,   1 ) , meaning that each neuron was connected to at most about 10 others []. The spectral radius of W was adjusted to a predefined value (≤1).
The output of the ESN was computed as follows:
θ ^ n = w o u t T x n u [ n ] ,
where w o u t is the output weight vector of dimension N + K . The weight w o u t was optimized using ordinary least squares (OLS) to minimize the squared error between the predicted output and the training target values. Let the training input and output data be u 1 ,   ,   u N t r a i n and θ 1 ,   ,   θ N t r a i n , and the corresponding reservoir states be x 1 ,   ,   x N t r a i n .
The squared error to be minimized is as follows:
E = n = 1 N t r a i n θ n w o u t T x n u n 2 .
The optimal weights have the following analytical solution:
w o u t = X T X 1 X T θ
where
X = x 1 x N t r a i n u 1 u N t r a i n T ,
and θ = θ 1 ,   ,   θ N t r a i n T .
In this study, the ESN received two-dimensional muscle activation signals (unit: 10−4 V) as input and produced estimated joint angles (unit: rad) as output. The output weight vector was trained using the joint angles of the robotic arm, which were imitated by the participants.

2.4. ESN Evaluation Experiment

Five adult participants (S1–5, all male, 21–40 years old) took part in the experiment. The study was approved by the Institutional Review Board of Tokyo Denki University.
The participants wore a belt on their forearm, to which the sEMG electrodes and reference electrode were attached. The participants stood in a position where they could visually compare the angle of the robotic arm with their own wrist angle from above. Then, while observing the movement of the robotic arm (as described in Section 2.1), the participants performed wrist flexion and extension movements to imitate the arm’s motion. During this task, the participants were instructed to avoid applying force with their fingers and to match the hand posture to that of the robotic hand model as closely as possible. The experimenter visually monitored the participants throughout the trials to ensure that the imitation was performed with sufficient quality.
After several practice trials, each participant performed five repetitions of wrist motion. During these sessions, sEMG signals and the posture of the robotic arm were recorded and later used for evaluating the performance of the ESN.

2.5. Online Robotic Arm Control Experiment

We assessed online control of a robotic arm using sEMG-based wrist angle estimation via an ESN. The same robotic arm as that used in the ESN evaluation experiment was used in this experiment. A block diagram of the control system is shown in Figure 3a. The estimation and control cycle was set to 0.01 s, identical to that in the ESN evaluation experiment. From the deviation between the estimated angle and the robotic arm angle, ω P [ n ] was computed according to Equation (8), and then the smoothed angular velocity ω r e f [ n ] was obtained using Equation (9). This value was used as the target joint angular velocity of the robotic arm, and the motor was driven under velocity control.
ω P n = K P θ ^ n θ r o b o t n ,
ω r e f n = r ω r e f n 1 + 1 r ω P n .
Here, r is a constant that determines the smoothness of the filter output, for which a value of 0.3 was used in this experiment. K P = 3.14 s–1 was used as the proportional gain for angular velocity control. Assuming that the motor perfectly follows the velocity command, the Bode plot of the control system is illustrated in Figure 3b. The system behaves like a low-pass filter with a cutoff frequency of approximately 0.5 Hz.
Figure 3. The robotic arm control system based on joint angles estimated from sEMG signals. (a) Block diagram. In the second block, z denotes the variable in the z-transform. (b) A Bode plot (theoretical; discrete-time transfer function from θ ^ [ n ] to θ r o b o t [ n ] ).
All participants (S1–5) completed the experiment. The ESN, trained under the representative parameter settings described in Section 2.6.2 (10 reservoir neurons, spectral radius of 0.25, and time constant of 0.5 s), estimated joint angles from sEMG signals online, and these estimates were used as target angles for the robotic arm. For 36 s, each participant freely moved their wrist within the range of movement speeds used in the ESN evaluation experiment. Afterward, participants were asked whether they felt that the robotic arm moved as intended.

2.6. Evaluation

2.6.1. Evaluation of Estimation Accuracy

The coefficient of determination R2 was used as the evaluation metric for estimation accuracy. It was calculated based on the joint angles of the robotic arm θ r o b o t n and the estimated angles θ ^ [ n ] obtained from sEMG signals during one movement trial (lasting 35 s and consisting of N t e s t = 3500 samples), using the following formula:
R 2 = 1 n = 1 N t e s t θ ^ n θ r o b o t n 2 n = 1 N t e s t θ r o b o t n θ ¯ r o b o t 2
where θ ¯ r o b o t is the mean of the joint angles of the robotic arm. Note that R2 can take negative values when the sum of squared prediction errors exceeds the variance of the reference data.
Initially, estimation accuracy was evaluated for all participants under the representative parameter settings (10 reservoir neurons, spectral radius of 0.25, and time constant of 0.5 s). The parameter was determined in a trial-and-error manner by identifying the minimum of the estimation error for participant S1 before the experiment. To compute this, one of the five recorded trials was used as training data and another as test data. All 20 combinations of training and test trials were evaluated. Since the reservoir weights in the ESN are randomly initialized, each combination was evaluated five times with different reservoir weight initializations, training, and error calculations. Thus, the evaluation was based on 100 total trials.
To examine the quality of the EMG signals underlying the estimation, we calculated the signal-to-noise ratio (SNR) for each participant. All five sessions of EMG recordings used for ESN evaluation were included, and the SNR was computed for each channel using the following formula:
S N R   = A s i g n a l + b a s e l i n e A b a s e l i n e 2 ,
where A s i g n a l + b a s e l i n e denotes the root-mean-square (RMS) amplitude of the EMG signal and A b a s e l i n e corresponds to the RMS amplitude during periods without muscle activity []. In this study, these values were approximated using the rectified and low-pass-filtered EMG signals: the overall RMS amplitude was used as A s i g n a l + b a s e l i n e and the 5th percentile amplitude was used as A b a s e l i n e .
Furthermore, to evaluate the independence and redundancy of the multi-channel input signals, we calculated the correlation coefficients between the activation of the muscles of the two channels across the five sessions.

2.6.2. Evaluation of Parameter Effects

To investigate the effect of ESN parameters on wrist angle estimation, we evaluated estimation accuracy only for participant S1 while varying the number of reservoir neurons, the spectral radius, and the time constant. The baseline parameter setting was 10 reservoir neurons, a spectral radius of 0.25, and a time constant of 0.5 s, which we used for the robotic arm control experiment and the evaluation of estimation accuracy.
We varied each parameter independently as follows:
  • Number of reservoir neurons: 2, 4, 6, ..., 30;
  • Spectral radius: 0.001, 0.0025, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, and 1;
  • Time constant: 0.01 s, 0.025 s, 0.05 s, 0.1 s, 0.25 s, 0.5 s, 1 s, and 2.5 s.
Each condition was evaluated individually while keeping the other parameters fixed at their baseline values.

3. Results

3.1. Representative Results of Angle Estimation

Figure 4 shows the estimation results for participant S1 using test data under the condition where the number of reservoir neurons was 10, the spectral radius was 0.25, and the time constant was 0.5 s. In the upper graph, the blue line represents the measured joint angle of the robotic arm following the trajectory described in Section 2.1, while the red line indicates the joint angle estimated from sEMG during the mimicking task. In the latter part of the sequence, the estimated values are biased by approximately 15° towards the positive direction, but the overall movement pattern is well reproduced.
Figure 4. Examples of the estimated joint angles from sEMG compared to the measured robotic arm trajectory (participant S1). The lower two panels show the muscle activation derived from sEMG signals of the two muscles, which served as input to the ESN.
Figure 5a shows the estimation accuracy in terms of R2 for the five participants (S1–S5). For each participant, 100 data points were used for the plot, corresponding to all 20 combinations of five training trials and four test trials, with five different sets of reservoir weights randomly initialized. Although the ESN occasionally yielded very low estimation accuracy, the median values indicate that in more than half of the cases, the coefficient of determination exceeded 0.7. Figure 5b presents examples of the estimation results for participants S2–S5. As illustrated in the case of S3, the estimated trajectory sometimes deviated substantially; however, for multiple participants, the estimation results closely followed the movements of the presented robotic arm.
Figure 5. Estimation accuracy of the ESN under the representative parameter settings (10 reservoir neurons, spectral radius of 0.25, and time constant of 0.5 s). (a) R2 values for participants S1–S5. (b) Examples of estimation results for participants S2–S5.
The estimation accuracy for all participants is summarized in Table 1. Although some participants exhibited mean coefficients of determination below 0.5, the median values exceeded 0.7 for all participants. Across all participants and trials, the mean coefficient of determination was 0.714 ± 0.34 (mean ± standard deviation), while the median value (interquartile range) was 0.835 (0.676–0.892).
Table 1. Estimation accuracy (R2) and sEMG signal quality for all participants (Q1: the 25th percentile; Q3: the 75th percentile).
Table 1 also includes information on the quality of the sEMG signals used. For every participant, at least one of the two channels showed an SNR comparable to or higher than the range reported in a previous study on sEMG (4.3–96.9 []). The correlation between the measured activation of the two muscles tended to be moderately negative, reflecting the fact that the two muscles are a flexor and an extensor. This also indicates that, as expected, their activities were not completely redundant, since there were instances where only one of the muscles was activated. This interpretation is consistent with the results of the ablation study (see Section 3.2). Taken together, these results suggest that the sEMG recordings in this study are of adequate quality to validate the joint angle estimation.
The time required to train a single ESN, including the computation of reservoir states based on the training data, was 0.044 ± 0.00 s on the laptop used in this study (CPU: Intel Core i7-1355U).

3.2. Effect of Number of Reservoir Neurons

Figure 6a shows the R2 values for participant S1 when the number of reservoir neurons varied. As the number increased from 2 to around 10, R2 improved. Beyond that, the median of R2 remained largely unchanged, but cases of extremely low R2 values became more frequent.
Figure 6. The effect of the number of reservoir neurons on estimation accuracy (participant S1). (a) R2 values as the number of reservoir neurons varied from 2 to 30; (b) example estimation results with 2 and 30 reservoir neurons.
Figure 6b presents example estimation results when the number of reservoir neurons was 2 and 30. With a small number of neurons, although the estimated movements were attenuated during the fastest motion, the estimation accuracy remained reasonably acceptable. However, when the number of neurons was excessively large, the estimated angle occasionally deviated entirely from the actual measured joint angle, showing unstable behavior.
To examine whether the EMG signals used in this study were redundant, we conducted an ablation study in which the same analysis described in this section was performed using only the flexor or only the extensor EMG as input. The ESN settings were identical to those of the two-channel condition except for the number of input channels. In both the flexor-only and extensor-only case, the coefficient of determination did not reach the best median value obtained when both muscles were used (10 reservoir neurons, R2 = 0.876) for any number of reservoir neurons or in any of the repeated trials. These results suggest that the flexor and extensor EMG signals provide non-redundant information for joint angle estimation.

3.3. Effect of Spectral Radius of Reservoir Weights

Figure 7a shows the R2 values for participant S1 when the spectral radius of the reservoir weights varied. Overall, there were few differences across conditions, but when the spectral radius was below 0.01, extremely low R2 values occasionally occurred. When the spectral radius was set to 1, relatively low R2 values were slightly more frequent.
Figure 7. Effect of spectral radius on estimation performance (participant S1). (a) R2 values across spectral radius ranging from 0.001 to 1; (b) example estimation results with spectral radius = 0.001 and 1.
Figure 7b shows example estimation results for spectral radii of 0.001 and 1. With a small spectral radius, the estimated trajectory exhibited small oscillations while, with a spectral radius of 1, the estimation error tended to be slightly larger.

3.4. Effect of Reservoir Time Constant

Figure 8a shows the R2 values for participant S1 when the time constant of the reservoir varied. As the time constant increased from 0.01 s, R2 improved; however, beyond 0.5 s, the frequency of extremely low R2 values increased.
Figure 8. Effect of reservoir time constant on estimation accuracy (participant S1). (a) R2 values across time constants ranging from 0.01 to 2.5 s; (b) example estimation results with time constants of 0.01 s and 2.5 s.
Figure 8b shows estimation examples for time constants of 0.01 s and 2.5 s. With a short time constant, the estimated values included many fluctuations. With a long time constant, the estimated values changed smoothly but the predictions frequently diverged from the true values, leading to a reduction in accuracy.

3.5. Online Robotic Arm Control with sEMG

Figure 9a and Video S1 in the Supplementary Materials show participant S1 controlling the robotic arm online. The robotic arm successfully followed the participant’s wrist motion. Due to the nature of the control strategy, the robot’s response was delayed by approximately 0.3 s relative to the estimated angle. This delay was consistent with the theoretical characteristics of the control system (Figure 3b), which predict a lag of 0.26–0.30 s for the frequency range of the target motions (0.1–0.4 Hz). Figure 9b presents the estimated joint angles and the robotic arm joint angles during online control for the other participants (S2–S5). For S1–S4, the robotic arm closely followed the estimated values, while for S5, who moved their wrist at a slightly faster pace (approximately 0.6 Hz), the movements were attenuated as predicted by the amplitude characteristics of the control system shown in Figure 3b. When asked whether they felt the robot move as intended, participants S1–S4 answered “Yes”, while participant S5 reported that the arm followed well during extension but did not fully bend during flexion.
Figure 9. Online control of the robotic arm by participants. (a) An example of participant S1 controlling the robotic arm (see Video S1 in the Supplementary Materials). (b) The estimated joint angles and robotic arm joint angles during online control for participants S2–S5.

4. Discussion

4.1. Estimating Joint Angles from sEMG with ESN

In this study, we demonstrated that it is possible to estimate wrist joint angles using an echo state network (ESN), a type of neural network, based on sEMG signals from the wrist flexor and extensor muscles. Since the internal connections of the ESN are randomly fixed and only the output layer is trained, the weights of the output layer can be computed analytically using OLS. This allows for faster computation compared to other RNNs, TDNNs or CNNs. Although most studies on neural networks for motion estimation from sEMG do not report training times, one study using a CNN–LSTM to classify knee movements from four sEMG channels reported a training time of 34.48 s []. In contrast, in the MATLAB implementation in this study, the training process—including reservoir state computation—was completed in 0.044 ± 0.00 s, suggesting that training time would not be a bottleneck for practical applications such as prosthetics, assistive suits, or psychological experiments.
Under the representative parameter settings, the R2 from only two muscle channels achieved 0.714 ± 0.34 (mean ± standard deviation) and a median of 0.835. As shown in Figure 5a, because the ESN employs randomly initialized reservoir weights, extremely low accuracy occasionally occurs, resulting in a lower mean compared to the median. However, since training is sufficiently fast, reinitializing the reservoir weights can readily yield results close to the median. We compared our results with those of Bao et al. [], who used six sEMG channels and approximately three minutes of 0.1 Hz movements for training. For flexion–extension movements of six participants, the mean R2 values were 0.57, 0.63, 0.61, 0.78, and 0.86 for support vector regression (SVR), random forests (RFs), CNN, LSTM, and CNN–LSTM, respectively. Despite its high-speed training, the results of the present study are comparable to these methods.
An ESN is a machine learning approach based on complex dynamics, known as reservoir computing []. Because only neuron state updates and ordinary least squares are required, specialized computing hardware such as GPUs is not necessary. For example, an ESN with more neurons than in the present study has been implemented on a microcontroller (Arduino Mega) []. Furthermore, physical reservoir computing could potentially reduce the computational burden even further. Recently, physical reservoir computing has attracted attention, in which the reservoir is implemented using hardware such as electronic circuits or soft materials []. The results of this study regarding the dynamics of the reservoir could be useful for designing physical reservoirs, enabling the development of low-power sEMG interfaces that minimize reliance on digital computation.

4.2. Effects of ESN Parameters

We examined the behavior of the ESN when varying the number of reservoir neurons, spectral radius, and time constant, starting from a set of parameters that yielded good accuracy in participant S1. When the number of neurons was too large, the estimated outputs occasionally exhibited high-frequency fluctuations that were entirely different from the target output (a phenomenon also reported by Day et al. []). This is likely to reflect overfitting of the output layer to the training data. To avoid this, it may be necessary to reduce the number of neurons or to regularize the output weights using ridge regression, a common practice in reservoir computing []. Although reducing the number of neurons decreases accuracy, extremely low estimation performance was rare (see Figure 6a). Therefore, when prioritizing stability over maximum accuracy, a smaller reservoir may be preferable.
The spectral radius is defined as the largest absolute eigenvalue of the weight matrix and reflects how much influence the reservoir state has on future states. When the spectral radius was very small, the smoothness of the estimated output decreased, likely because the influence of past states diminished. On the other hand, a larger spectral radius may lead to instability. In reservoir computing, it is often said that maximal computational power is achieved near the “edge of chaos” []. For leaky integrator ESNs, stability is guaranteed when the spectral radius does not exceed the leaking rate a [], which was 1 in this study. Therefore, setting the spectral radius as high as possible while staying below a may enhance performance. However, Figure 7a suggests that the effect of spectral radius was limited in our conditions, possibly because the large leaking rate retained influence from past states even when the spectral radius was small.
The time constant determines the rate of change of the reservoir states and had a significant effect on the smoothness of the estimated output. As shown in Figure 8b, even when the output was not smooth with a short time constant, the estimation generally followed the target trajectory. When the time constant was large, the influence of erroneous reservoir activity persisted over time, resulting in large estimation errors. To achieve optimal performance, it may be necessary to balance the smoothness of wrist motion and the suppression of error persistence when selecting the time constant.

4.3. Effect of Using Robotic Arm Angles as Training Data

In this study, calibration was performed by having the participant mimic the movement of the robotic arm, allowing the robot’s joint angles to be used as training data without attaching any angle sensors to the participant. This means that ESN calibration could be performed with only the sEMG sensors necessary for control, without any additional sensors for joint angle measurement.
However, because the consistency between the robotic arm’s motion and wrist joint angles depends entirely on how the participant moves their hand, errors can be introduced into the training data, potentially reducing the accuracy of angle estimation. The estimation errors reported in this study may include such effects (e.g., the latter part of the sequence in Figure 4). Nonetheless, the estimated trajectories successfully reproduced the key characteristics of the original motion, and the robotic arm in the online control experiments followed the participants’ movements. These results suggest that a sufficient sense of agency—i.e., the feeling that the device is moving in accordance with the user’s intention—can be achieved without direct joint angle measurement.
It should also be noted that, in the present experiment, the accuracy of the imitation was verified only through visual inspection by the experimenter. The degree to which the imitation was performed accurately was not quantitatively measured, nor was the difference examined between using such imitation and using precise joint angle measurements for ESN training. Therefore, further studies with more precise measurements are needed to validate these aspects.
Furthermore, since this training method does not rely on direct measurement of human joint angles, it may be applicable to prosthesis users, including those without intact limbs. When applying machine learning-based myoelectric prostheses to amputees, training data are often obtained using a mirrored training paradigm, in which bilateral movements are performed and the motions of the intact contralateral hand are recorded [,]. This approach allows for the flexion–extension movements of the wrist to be reproduced even in amputees []. Although the present study did not employ mirrored movements directly, it shares the same principle of replacing direct measurement of target wrist motion with a similar motion measured elsewhere. Therefore, it is expected that the proposed method could also be trained by using mirrored movements in prosthesis users. However, this study only involved able-bodied participants, and it is still unclear whether similar results can be achieved with amputees. Future studies are needed to validate the method with actual amputee participants, particularly using a mirrored training paradigm.

4.4. Online Control of the Robotic Arm

As shown in Figure 9a and Supplementary Video S1, the robotic arm controlled by sEMG signals through the ESN was able to follow not only the periodic motions used for ESN evaluation but also free, non-periodic movements, although with a delay of approximately 0.3 s due to the characteristics of the control system. The additional degree of freedom provided by the wrist joint of a prosthetic arm is expected to improve dexterity during object manipulation and reduce compensatory movements involving the trunk or shoulder []. While further studies are required before application to amputees, robotic arm control using an ESN could contribute to enhancing the dexterity of myoelectric prostheses through short training sessions. Under the current settings, the tracking became insufficient as the motion speed increased, indicating that a practical system will require careful selection of the maximum speed of target movements and the corresponding design of the control system.
In this experiment, participants reported that they felt the robotic arm move as they intended when it successfully followed the estimated angles. This suggests that the estimation accuracy was sufficient to induce a sense of agency. Previous studies using virtual hands aligned with participants’ own hand movements have shown that a delay of around 0.3 s reduces this sense of agency, with an even stronger effect on the sense of ownership []. Since the delay observed in this study is consistent with the theoretical delay predicted from the control system, reducing this delay is important in enabling the robotic hand to be incorporated into the user’s body representation in a manner equivalent to their own hand.

5. Conclusions

In this study, we investigated whether it is possible to estimate wrist joint angles from surface electromyography (sEMG) signals using an echo state network (ESN), with the aim of enabling voluntary control of a robotic arm. The ESN architecture allows for rapid training by randomly fixing the reservoir weights and training only the output layer using ordinary least squares. Moreover, by having the user imitate the motion of a robotic arm during calibration, it becomes possible to use the robot’s joint angles as training data, thereby eliminating the need to attach joint angle sensors to the user.
In our experiments, we achieved a high estimation accuracy with a median coefficient of determination R2 = 0.835 using sEMG signals from just two muscles. We also systematically investigated the effects of key ESN parameters, including the number of reservoir neurons, spectral radius, and time constant, on estimation accuracy and stability. Furthermore, we confirmed that a trained ESN could be used to control a robotic arm in real-time, with the robot successfully tracking the user’s wrist movement based on sEMG input with a delay of approximately 0.3 s.
This approach enables training without direct measurement of human joint angles, suggesting the potential for application in prosthetic control for individuals without physical joints. Future work will focus on extending this method to actual prosthesis users and exploring its use in fundamental studies on body perception.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/act14110548/s1: Video S1: Online control of a robotic arm using sEMG-based joint angle estimation with an ESN.

Author Contributions

Conceptualization, T.K.; methodology, T.K.; software, T.K. and H.I.; validation, T.K.; formal analysis, T.K. and H.I.; investigation, T.K. and H.I.; resources, T.K. and H.I.; data curation, T.K. and H.I.; writing—original draft preparation, T.K. and H.I.; writing—review and editing, T.K.; visualization, T.K. and H.I.; supervision, T.K.; project administration, T.K.; funding acquisition, T.K. All authors have read and agreed to the published version of the manuscript.

Funding

A part of this research was supported by JSPS KAKENHI under Grant Numbers 23K03780, 20K04375, and 19H01126.

Data Availability Statement

The data and analysis code supporting the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Fougner, A.O.; Stavdahl, P.J.; Kyberd, Y.; Losier, G.; Parker, P.A. Control of Upper Limb Prostheses: Terminology and Proportional Myoelectric Control—A Review. IEEE Trans. Neural Syst. Rehabil. Eng. 2012, 20, 663–677. [Google Scholar] [CrossRef]
  2. Fajardo, M.J.; Gomez, O.; Prieto, F. EMG Hand Gesture Classification Using Handcrafted and Deep Features. Biomed. Signal Process. Control 2021, 63. [Google Scholar] [CrossRef]
  3. Karnam, N.K.; Dubey, S.R.; Turlapaty, A.C.; Gokaraju, B. EMGHandNet: A Hybrid CNN and Bi-LSTM Architecture for Hand Activity Classification Using Surface EMG Signals. Biocybern. Biomed. Eng. 2022, 42, 325–340. [Google Scholar] [CrossRef]
  4. Miften, F.S.; Diykh, S.M.; Abdulla, S.; Siuly, J.; Green, H.; Deo, R.C. A New Framework for Classification of Multi-Category Hand Grasps Using EMG Signals. Artif. Intell. Med. 2021, 112, 102005. [Google Scholar] [CrossRef]
  5. Nishikawa, D.; Yu, W.; Yokoi, H.; Kakazu, Y. On-Line Learning Method for EMG Prosthetic Hand Control. Electron. Commun. Jpn. Part III Fundam. Electron.Sci. 2001, 84, 35–46. [Google Scholar] [CrossRef]
  6. Rabin, N.; Kahlon, M.; Malayev, S.; Ratnovsky, A. Classification of Human Hand Movements Based on EMG Signals Using Nonlinear Dimensionality Reduction and Data Fusion Techniques. Expert Syst. Appl. 2020, 149. [Google Scholar] [CrossRef]
  7. Sato, Y.; Kawase, T.; Takano, K.; Spence, C.; Kansaku, C. Body Ownership and Agency Altered by an Electromyographically Controlled Robotic Arm. R. Soc. Open Sci. 2018, 5, 172170. [Google Scholar] [CrossRef]
  8. Romano, D.; Caffa, E.; Hernandez-Arieta, A.; Brugger, P.; Maravita, A. The Robot Hand Illusion: Inducing Proprioceptive Drift through Visuo-Motor Congruency. Neuropsychologia 2015, 70, 414–420. [Google Scholar] [CrossRef] [PubMed]
  9. Zajac, F.E. Muscle and Tendon: Properties, Models, Scaling, and Application to Biomechanics and Motor Control. Crit. Rev. Biomed. Eng. 1989, 17, 359–411. [Google Scholar]
  10. Winter, D.A. Biomechanics and Motor Control of Human Movement; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2009. [Google Scholar]
  11. Lloyd, D.G.; Besier, T.F. An EMG-Driven Musculoskeletal Model to Estimate Muscle Forces and Knee Joint Moments in Vivo. J. Biomech. 2003, 36, 765–776. [Google Scholar] [CrossRef]
  12. Koo, T.K.; Mak, A.F. Feasibility of Using EMG Driven Neuromusculoskeletal Model for Prediction of Dynamic Movement of the Elbow. J. Electromyogr. Kinesiol. 2005, 15, 12–26. [Google Scholar] [CrossRef]
  13. Gagnon, D.; Arjmand, N.; Plamondon, N.; Shirazi-Adl, A.; Lariviere, C. An Improved Multi-Joint EMG-Assisted Optimization Approach to Estimate Joint and Muscle Forces in a Musculoskeletal Model of the Lumbar Spine. J. Biomech. 2011, 44, 1521–1529. [Google Scholar] [CrossRef]
  14. Davarinia, F.; Maleki, A. Comparing the Efficiency of Recurrent Neural Networks to EMG-Based Continuous Estimation of the Elbow Angle. Neural Comput. Appl. 2024, 36, 18515–18530. [Google Scholar] [CrossRef]
  15. Truong, M.T.N.; Ali, A.E.A.; Owaki, D.; Hayashibe, M. EMG-Based Estimation of Lower Limb Joint Angles and Moments Using Long Short-Term Memory Network. Sensors 2023, 23, 3331. [Google Scholar] [CrossRef] [PubMed]
  16. Bao, T.; Zaidi, S.A.R.; Xie, S.; Yang, P.; Zhang, Z.-Q. A CNN-LSTM Hybrid Model for Wrist Kinematics Estimation Using Surface Electromyography. IEEE Trans. Instrum. Meas. 2021, 70, 1–9. [Google Scholar] [CrossRef]
  17. Yang, W.; Yang, D.; Liu, Y.; Liu, H. Decoding Simultaneous Multi-Dof Wrist Movements from Raw EMG Signals Using a Convolutional Neural Network. IEEE Trans. Hum. Mach. Syst. 2019, 49, 411–420. [Google Scholar] [CrossRef]
  18. Ma, X.; Liu, Y.; Song, Q.; Wang, C. Continuous Estimation of Knee Joint Angle Based on Surface Electromyography Using a Long Short-Term Memory Neural Network and Time-Advanced Feature. Sensors 2020, 20, 4966. [Google Scholar] [CrossRef]
  19. Jaeger, H. The “Echo State” Approach to Analysing and Training Recurrent Neural Networks-with an Erratum Note. In Bonn, Germany: German National Research Center for Information Technology Gmd Technical Report; German National Research Center for Information Technology: Bonn, Germany, 2001. [Google Scholar]
  20. Lukoševičius, M.; Jaeger, H. Harnessing Nonlinearity: Predicting Chaotic Systems and Saving Energy in Wireless Communication. Science 2004, 304, 78–80. [Google Scholar] [CrossRef]
  21. Lukoševičius, M.; Jaeger, H. Reservoir Computing Approaches to Recurrent Neural Network Training. Comput. Sci. Rev. 2009, 3, 127–149. [Google Scholar] [CrossRef]
  22. Day, C.R.; Chadwick, E.K.; Blana, D. A Comparative Evaluation of Time-Delay, Deep Learning and Echo State Neural Networks When Used as Simulated Transhumeral Prosthesis Controllers. In Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), Glasgow, UK, 19–24 July 2020. [Google Scholar]
  23. De Luca, C.J.; Gilmore, L.D.; Kuznetsov, M.; Roy, S.H. Filtering the Surface EMG Signal: Movement Artifact and Baseline Noise Contamination. J. Biomech. 2010, 43, 1573–1579. [Google Scholar] [CrossRef]
  24. Koike, Y.; Kawato, M. Estimation of Dynamic Joint Torques and Trajectory Formation from Surface Electromyography Signals Using a Neural Network Model. Biol. Cybern. 1995, 73, 291–300. [Google Scholar] [CrossRef]
  25. Jaeger, H.; Lukosevicius, M.; Popovici, D.; Siewert, U. Optimization and Applications of Echo State Networks with Leaky-Integrator Neurons. Neural Netw. 2007, 20, 335–352. [Google Scholar] [CrossRef]
  26. ESNToolbox. Available online: https://www.ai.rug.nl/minds/uploads/ESNToolbox.zip (accessed on 8 July 2025).
  27. Lukoševičius, M. A Practical Guide to Applying Echo State Networks. In Neural Networks: Tricks of the Trade, 2nd ed.; Montavon, G., Geneviève, B.O., Müller, K.-B., Eds.; Springer: Berlin/Heidelberg, Germany, 2012; pp. 659–686. [Google Scholar]
  28. Solnik, S.; Rider, P.; Steinweg, K.; DeVita, P.; Hortobagyi, T. Teager-Kaiser Energy Operator Signal Conditioning Improves EMG Onset Detection. Eur. J. Appl. Physiol. 2010, 110, 489–498. [Google Scholar] [CrossRef]
  29. Li, M.; Wang, J.; Yang, S.; Xie, J.; Xu, G.; Luo, S. A CNN-LSTM Model for Six Human Ankle Movements Classification on Different Loads. Front. Hum. Neurosci. 2023, 17, 1101938. [Google Scholar] [CrossRef]
  30. Yan, M.; Huang, C.; Bienstman, P.; Tino, P.; Lin, W.; Sun, J. Emerging Opportunities and Challenges for the Future of Reservoir Computing. Nat. Commun. 2024, 15, 2056. [Google Scholar] [CrossRef]
  31. Caremel, C.; Ishige, M.; Ta, T.D.; Kawahara, Y. Echo State Network for Soft Actuator Control. J. Robot. Mechatron. 2022, 34, 413–421. [Google Scholar] [CrossRef]
  32. Tanaka, G.; Yamane, T.; Heroux, J.B.; Nakane, R.; Kanazawa, N.; Takeda, S.; Numata, H.; Nakano, D.; Hirose, A. Recent Advances in Physical Reservoir Computing: A Review. Neural Netw. 2019, 115, 100–123. [Google Scholar] [CrossRef]
  33. Bertschinger, N.; Natschläger, T. Real-Time Computation at the Edge of Chaos in Recurrent Neural Networks. Neural Comput. 2004, 16, 1413–1436. [Google Scholar] [CrossRef]
  34. Sebelius, F.C.P.; Rosen, B.N.; Lundborg, G.N. Refined Myoelectric Control in Below-Elbow Amputees Using Artificial Neural Networks and a Data Glove. J. Hand Surg. Am. 2005, 30, 780–789. [Google Scholar] [CrossRef] [PubMed]
  35. Jiang, N.; Vest-Nielsen, J.L.; Muceli, S.; Farina, D. EMG-Based Simultaneous and Proportional Estimation of Wrist/Hand Kinematics in Uni-Lateral Trans-Radial Amputees. J. Neuroeng. Rehabil. 2012, 9, 42. [Google Scholar] [CrossRef]
  36. Olsen, C.D.; Olsen, N.R.; Stone, E.S.; Tully, T.N.; Paskett, M.D.; Teramoto, M.; Clark, G.A.; George, J.A. Electromyographically Controlled Prosthetic Wrist Improves Dexterity and Reduces Compensatory Movements without Added Cognitive Load. Sci. Rep. 2024, 14, 23248. [Google Scholar] [CrossRef] [PubMed]
  37. Ismail, M.A.S.; Shimada , S. ‘Robot’ Hand Illusion under Delayed Visual Feedback: Relationship between the Senses of Ownership and Agency. PLoS ONE 2016, 11, e0159619. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.