Control of Walking Assist Exoskeleton with Time-delay Based on the Prediction of Plantar Force
Abstract
Many kinds of lower-limb exoskeletons were developed for walking assistance. However, when controlling these exoskeletons, time-delay due to the computation time and the communication delays is still a general problem. In this research, we propose a novel method to prevent the time-delay when controlling a walking assist exoskeleton by predicting the future plantar force and walking status. By using Long Short-Term Memory and a fully-connected network, the plantar force can be predicted using only data measured by inertial measurement unit sensors, not only during the walking period but also at the start and end of walking. From the predicted plantar force, the walking status and the desired assistance timing can also be determined. By considering the time-delay and sending the control commands beforehand, the exoskeleton can be moved precisely on the desired assistance timing. In experiments, the prediction accuracy of the plantar force and the assistance timing are confirmed. The performance of the proposed method is also evaluated by using the trained model to control the exoskeleton.
Keywords Walking exoskeleton Motion Prediction Machine Learning Plantar Force.
1 Introduction
Walking assist exoskeleton is a device to help the wearer walk with his/her own legs for power amplification or assistance. Such exoskeletons have been widely researched for rehabilitation and power assist [1, 2]. Today, many exoskeletons are controlled based on the measurement of human motion and force [3, 4]. However, there is still a problem of time-delay due to the required communication, computing, and response time that occur between measuring the human motion and producing an appropriate assisting force. The time-delay can be reduced by predicting the future human motion from the measured walking status to realize on-time and high-fidelity control.
Some biosignals such as electromyogram (EMG) and electroencephalogram (EEG) can be measured before the movement of muscles [5]. By predicting the human motion from such biosignals, an exoskeletons can be controlled in accordance with the wearer’s motion intention [6]. However, the electrodes for measuring the biosignals should be attached directly to the skin, and the measured signal may be affected by the deformation of skin, sweat, the location and orientation of electrodes. It is difficult to get such biosignals stably and reproducibly. Some other methods predict the walking status by estimating the walking cycle using the inertial measurement unit (IMU) sensor [7]. During the stable walking (i.e., walking in a regular rhythm), such methods are effective to predict the walking status and assistance timing. However, it is difficult to get the assistance timing at the start and end of a walking.

In many studies on rehabilitation and sports, the plantar force has been widely used for gait analysis [8]. The change in the plantar force always happens when moving the human body through movement of the center of gravity (COG) and the grounding status of the feet. By analyzing the change of plantar force, the walking phases can be detected. However, for measuring the plantar force in long-term walking, a pressure sensor with high accuracy and high duration is necessary. The cost and size of such pressure sensor is still a bottleneck when using an exoskeleton with different shoes.
Today, with the development of deep learning technology, human motion prediction has been studied based on the deep recurrent neural networks [9, 10]. These works showed good performance when predicting the future motion signals (i.e., joint positions and angles) from the measured signals using motion capture systems or outside cameras. However, for using an exoskeleton in a wide space, it is still necessary to measure and predict the motion from the wearable sensors.
In this research, as shown in Fig. 1, we propose a novel method to prevent the time-delay when controlling a walking assist exoskeleton by predicting the future plantar force from wearable IMU sensors. From the predicted plantar force, the walking status is estimated to detect the timing of walking assistant. Based on the Long Short-term Memory (LSTM), a network is constructed to learn the relationship between the measured motion data from IMU sensors and the future plantar force data from pressure sensors. By considering the time-delay and sending the control command beforehand, on-time walking assistance is achieved. In experiments, we evaluate the performance both quantitatively and qualitatively by analyzing the prediction accuracy and controlling an exoskeleton in real-time.
2 Proposed method
As shown in Fig. 1, our method consists of three stages, discussed in this section. First, we measure the walking motion data from the worn IMU sensors (i.e., the acceleration and the angular velocity ). For training the prediction model, the plantar force is also measured by putting a pair of insole-type pressure sensors in the wearer’s shoes. Then, a model is created and trained based on Long short-term memory (LSTM) method [11]. Using the trained model, the plantar force can be predicted from the measured past motion data. Based on the predicted plantar force, the walking phase is estimated. Finally, based on the estimated future walking phase, we control an exoskeleton considering the time delay of the device. Note that the measurement of plantar force is only needed for training the model. When controlling the exoskeleton in real-time, only the motion data (i.e., the signals from the IMU sensors) needs to be measured.
2.1 Measurement of motion data
In this research, due to wearability and usability, wireless IMU sensors are used to measure the walking motion. An IMU sensor is generally composed of accelerometer, gyroscope, and sometimes magnetometer, which can measure the acceleration, the angular velocity, and sometimes the direction of the magnetic field. It has been widely used for the measurement of human motion (e.g., Xsens, Perception Neuron). To get the motion from the IMU sensors, many calculation methods have been proposed such as using Kalman or Complementary filter [12]. However, because of the integral calculation and noise when calculating the motion, estimation errors and a time-delay always exist. In this research, we directly use the measured signals (acceleration and angular velocity) as the motion signals without any processing (e.g., to calculate the position and rotation angle), which can save the processing time and reduce the error from the pipe-line calculation. The measurement noise also need not to be filtered.
However, when wearing an exoskeleton, the movement of the limbs that fixed to the device are controlled by the device. The motion of these fixed and directly-supported limbs depends on the device and does not react to the intention of the wearer. Therefore, to predict the future walking status, we should measure the motion of the limbs not controlled by the exoskeleton. For example, if the exoskeleton has motors to only assist the movement of the thighs, the IMU sensors should be set up on lower legs or upper body.
On the other hand, we predict the plantar force from the measured motion signals (i.e., the signals from IMU sensor). The plantar is required to estimate the walking status and detect the assistance timing. In this research, we put two insole-type pressure sensors in the shoes, which can measure the force between human feet and the ground. In each pressure sensor, multiple sensor cells are embedded for detect the change in pressure and determine the movement of the human body, such as the Center of Pressure (COP) or the Center of Gravity (COG). Note that other types of pressure sensors, such as using 3-axis or 6-axis force sensors, could be used if the sensors can measure the data related to the movement of the human body.
2.2 Prediction of plantar force and walking phase
From the measured motion data, we created a deep-learning-based model to predict the future plantar force. The predicted force is then used to estimate the future walking phase.
Plantar force:
If the current time is , the plantar force at the future time is predicted from the past signals measured by the IMU sensors as follows:
(1) |
where is the prediction time. are the measured data from time to time . If we wear IMU sensors on the human body, is a vector with elements (acceleration and angular velocity ), . If there were cells in each plantar sensor, the predicted plantar force is a vector with elements, .

As shown in Fig. 2, a deep learning model using LSTM and fully-connected layers is designed to define the prediction function (1). The input of the LSTM cell in every time is the motion data (i.e., the signal measured from the IMU sensors). We set the number of hidden states of each LSTM cell to 32. When inputting flames of past measured signals, the last output of the hidden state is input to a 3-layer fully-connected network with ReLU activation. The size of the input layer of this network is the same as the number of the hidden states (i.e., 32 neurons). The size of the output layer is the same as the number of the cells in two plantar sensors (i.e., neurons). One hidden layer with 16 neurons is used to obtain the non-linear relationship between the phase and the predicted values.
For training the network, we take frames of the measured past signals of the IMU sensors as input. The measured plantar force after frames is used as the target output. To use the trained network, we input the measured past -frame signals from the IMU sensors, and the network will output the predicted plantar force of the future frame. When using this method, only the measured past signals should be used. Therefore, the prediction can also be used to control the exoskeleton in real-time.
Walking phase:

The walking phase is estimated based on the predicted plantar force. Result from many other studies shows that the plantar force is related to the walking phases (i.e., swing phase and stance phase). The detailed walking stage (i.e., heel-strike, support, toe-off, swing) can also be estimated.
Fig. 3 shows the change in the plantar force of the left foot during one walking cycle from a heel-strike to the next heel-strike. The plantar force starts on the heel and increases to the first peak during the heel-strike stage. Then, during the support stage, the plantar force wqualizes across all pressure cells on the foot. Before the foot swing, the plantar force on the tip increases to the second peak for kicking the ground. When foot start the swing, the plantar force is zero, . By detecting the changing points for each plantar force (, , and ), the walking phases can also be estimated.
2.3 Control of exoskeleton
Finally, based on the predicted walking phase, we detect the assistance timing needed. When controlling the actuators to assist the human motion, most exoskeletons have a time-delay (), mainly including the measurement time of the signal (), the computation time (), and the response time of the actuators (),
(2) |
To prevent such time-delay, the walking phase in future should be estimated.
In this research, the assistance timing is detected by estimating the change in the plantar force. Therefore, the prediction time should be a little larger than the time-delay (). For example, to increase the kicking force applied to move the body forward, an assistance force should be applied when starting to toe-off phase marked by the change of . To reduce the strike on the knee and heel, the assistance force should be applied during the heel-strike phase marked by the change in . Note that other methods, such as using matching and learning methods, could be used to detect the walking stages. After detecting the assistance timing, a control command is sent before the motors exactly on the necessary timing.
3 Experiments
To confirm the proposed method, two types of experiments were performed. In the first experiment, we quantitatively verified the prediction accuracy of the plantar force and the assistance timing. In the second experiment, we evaluated the effectiveness when controlling the exoskeleton by measuring the motion and predicting the walking phase in real-time. The experimental protocol of this study was approved by the research ethics board of the Nara Institute of Science and Technology.
3.1 Experimental system
3.1.1 Sensors


In the experiments, wearable plantar sensor and IMU sensor were used since they can applied easily even while wearing a lower-limb exoskeleton. Fig. 4(a) shows the wireless IMU sensor (TSND151, ATR-Promotions) used in this research. This sensor can measure acceleration and angular velocity simultaneously and transmit the data at up to 1000Hz via Bluetooth. Fig. 4(b) shows the wireless plantar sensor (Loadsol, Novel) we used. It is a soft insole-type sensor and can monitor the normal force between the plantar side of the foot and the shoe. There are three subareas (i.e., three cells) in the sensor to measure the change of the pressure on each foot. The normal contact forces from forefoot (toes), midfoot (middle), and hindfoot (heel) can be measured with an accuracy of 10N and a data transmission speed of up to 200Hz via Bluetooth.

As shown in Fig. 5, we placed the IMU sensors on the lower legs near the ankles and put the plantar sensors in the two shoes. The data measured from the four sensors was resampled to 100Hz.
3.1.2 Walking assist exoskeleton


We tested the proposed method by implementing it with a lower-limb exoskeleton device (AWN-02, Atoun inc.). As shown in Fig. 6, with this device, there are two motors on each side of the hips. The motors are connected to the thighs near the knees using the rigid links and velcro-tape attachments. By rotating the motors, a force can be applied to rotate the thigh forward. The exoskeleton can move the leg and foot up and reduce the force needed to lift and swing the legs. This exoskeleton only controls the movement of the thighs. The lower legs where we placed the IMU sensors are free from the exoskeleton, which is suitable for using our method to determine the wearer’s intention for motion.
We assembled a small single board computer (Raspberry Pi 3B) in the exoskeleton. This computer can measure the signals from the IMU sensors through the Bluetooth communications. The trained network can be copied to this computer to predict the walking phases in real-time from the measured IMU signals. This computer is also used to control the exoskeleton by sending control signals to the control board through serial communication.
Used time [s] | Used frames () | Computation time [s] |
0.01 | 1 | 0.010 |
0.1 | 10 | 0.018 |
0.2 | 20 | 0.024 |
0.3 | 30 | 0.035 |
0.4 | 40 | 0.042 |
By measuring the time difference between motion signal and motor power, we calculated the time-delay between signal measurement and motor response is about 0.1s (i.e., ). The time-delay of computation (i.e., the time for the prediction using the trained network) depends on the number of the used frames of measured past signals . Table 1 shows the computation time for different . For example, if we use 0.2s past signals, the prediction time would be about 0.024s, so the total time-delay would be about 0.124s, . The prediction time should be larger than it (i.e., ).
3.2 Experiment 1: Prediction of Plantar force
In this experiment, we measured the walking data from nine healthy subjects (Males, y/o, kg, cm) when not wearing the exoskeleton. This was to verify whether the proposed method accurately predicted the plantar force and the assisting timing.

A japanese textbook about body dynamics described that human’s walking motion would become stable after about four steps. To test both stable and unstable walking, as shown in Fig. 7, we asked the subjects to walk from two steps to eight steps in every trail. Between two sets of walking, the subjects should pause and stand a moment before starting the next walking. Every subject performed such walking 8 trails and also performed 2 trails walking with random steps and pauses as desired. Totally, from every subject, we measured the walking data of 10 trails. In five of the trials, as shown in Fig. 7, they started walking with the right leg. In the other five trails, they started walking with the left leg.
The time of one walking trail was about 30 seconds (30,000 frames). For every subject, we collected about five minutes of walking data using the IMU sensors and the plantar force sensors. The paired input data (motion data from IMU sensors) and the desired output data (plantar force from Pressure sensors) was created for every 5 frames (0.05s). We trained and tested the model for each subject individually. The data of eight trails were used to train the proposed prediction model (Fig. 2). The remaining 2 trials (including one patterned walking and one random walking) were used for the test.
To confirm the performance of the proposed method, we tested the prediction accuracy with different lengths of the measured past IMU signals: 0.01s (), 0.05s (), 0.1s (), 0.2s (), 0.5s (), and 1s (). We also tested the accuracy at predicting the plantar force with different future time: 0.01s (), 0.1s (), 0.2s (), 0.5s (), 1s (), 1.5s (), 2s (), and 5s (). The prediction error is defined as the difference between the predicted and measured plantar force.
Results


Fig. 8 shows the average prediction error for all the testing data from all the subjects using different length of input IMU signals and predicting different future plantar forces. As shown in Fig. 8(a), using more past IMU signals reduced the prediction error from about 6.7% to 4.2%. However, even using more signals, the change was small. Considering the computing performance of the small computer (Raspberry PI 3B) used in this research, 0.2s IMU signals () were used for the prediction. Fig. 8(b) shows the average prediction error for different futures when inputting the same measured IMU signals (0.2s, ). With an increase in the prediction time , the prediction errors also become larger (from about 4.6% to 12.6%). To achieve high-accuracy predictions, the prediction time should be as shorter as possible. As described above, using these sensors and exoskeleton, the prediction time should be larger than 0.124s. Therefore, was used in the following experiments.

Fig. 9 shows the prediction result for a six-step walking by a subject in a trail. After 0.2s (), the plantar force was predicted using the measured IMU signals for the past 0.2s (). The graphs show the plantar force of each cell in order: left heel , left middle , left toe , right heel , right middle , and right toe . The red solid lines show the predicted force and the blue dashed lines show the measured values using the pressure sensors. In this six-step walking, the subject started walking with the left leg and stopped with the right leg. The predicted values do not deviate largely from the actual measured values. Even for the start and end of walking, the predicted plantar force shows the same change as the measured value.

Fig. 10 shows the average prediction errors of each subject for all frames and all ten trails. All prediction errors are less then 50N (23.5~48.8N), which is about 7.5% of the average body weight of subjects. The average prediction error for all trails and all subjects is 33.9N.


Based on the predicted plantar force, we detected the assistance timing needed to support walking during the swing stage. The assistance timing is planned for when the plantar force on toe is smaller than 50N (). This level was set by trial and error, considering the measurement resolution of the pressure sensor and the prediction error. Note that when using other exoskeleton to support walking in other stages, the assistance timing could also be detected in other thresolds or methods. The vertical lines in Fig. 9 show the detected assistance timings based on the measured and predicted plantar force. The red vertical lines show the predicted assistance timing while the black dash lines show the assistance timing calculated from measured data. The assistance timings calculated from the predicted and measured data are very close to each other. Fig. 11 shows the differences in the assistance timings of all subjects. During the walks, the differences in the assistance timings of all subjects are less than 0.079s, and the average difference is 0.055s. When starting the walks, the assisting timing can also be detected. The difference of all subjects are smaller than 0.175s, and the average difference for all subjects is 0.093s. It is larger than the difference during the walking, but still small enough for detecting the walking stages.
3.3 Control of exoskeleton
In this experiment, the subjects wore the lower-limb exoskeleton and the signals of IMU sensors and the plantar force sensors were measured simultaneously with the walking assistance.
To compare the control timing that calculated from the proposed method and the desired timing of wearers, we also used two switches. During the experiment, subjects held the switches and pushed them when they would like to be assisted. When the switches were pushed, the thighs of wear will be rotated by the motors. The timing was also simultaneously recorded with other signals.
We asked every subject to walk 10 trails. The walking pattern were the same as the previous experiment. So, in eight trials, subjects walked from 2 to 8 steps by starting with the left or right leg. In the other two trails, the subjects walked and paused with random numbers of steps as they desired. Based on the measured data, the model was also trained using the data from eight trails and tested with the data from two trails. The prediction error of the plantar force and the assistance timing was evaluated. The assistance timing was also compared with the switch timing.
Then the models of some subjects was copied to the small computer in the exoskeleton, the Raspberry PI 3B. The exoskeleton was controlled by predicting the plantar force from IMU signals in real-time, and the effectiveness of the assistance was evaluated with a questionnaire. Considering the computing performance of a small computer in the exoskeleton, we reduced the prediction frequency to 20Hz. When the predicted walking phase changes to swing (i.e., when the plantar force on toe becomes lower than 50N), a command is sent to rotate the motor 0.1s at the assisting timing.
Result

In this experiment, we measured the walking data from the same nine subjects as in the previous experiment. Fig. 12 shows the predicted result of a six-step walking in a trail by a subject wearing the exoskeleton and using the switches for control. The red solid lines and the black dash lines show the predicted and measured plantar forces applied on each cell during the walking. The same change tendency can also be predicted for both the start of walking and during the walking even with the assistance.

Fig. 13 shows the average prediction errors of all subjects. As in the previous experiment, even when wearing the exoskeleton, the plantar force can still be predicted with relatively small prediction errors (27.3~62.0N). The average prediction error of all subjects is 40.3N. Even with the assist of the exoskeleton, almost the same prediction accuracy was obtained.
The vertical lines in Fig. 12 show the predicted and desired control timings. The red solid lines and the black dush lines are the timing determined from the predicted and measured plantar force. The blue solid lines are the switched timings measured by the subjects pushing the switches in their hands. Most of these timings are close to each other.


Fig. 14 shows the time differences of the support timing between predicted timing, measured timing, and the switch timing. The dark gray boxes show the difference between the timings calculated from the predicted and measured plantar forces. As in previous experiment, even assisted by the exoskeleton, the proposed method can still determine the assistance timing almost as accurately as using the measured values. As a comparison, the light gray boxes show the differences between predicted timing and the switch timing. To assist the walking just in time, subjects should push the switches before moving their thigh due to the time-delay of the exoskeleton. Therefore, the differences between predicted timing and switch timing are larger than compared to detecting the timing from the plantar force. The average difference between measured and predicted timing is about 0.05s during walking and about 0.08s when starting after having paused.

Finally, as show in Fig. 15, we copied the trained models of three subjects to the small computer in the exoskeleton to measure the IMU signals and control the exoskeleton in real-time. In this case the exoskeleton was controlled by the movement of subject’s leg only the measured signals of IMU sensors. After using this exoskeleton, in questionnaires the subjects all felt that the walking motion was supported with good timing by the proposed prediction method. This was also better than switched control. Finally, even the start of walking was supported with good timing.
4 Conclusion
In this research, we proposed a method to remove the time-delay when controlling a walking assist exoskeleton by predicting the future plantar force and the walking status. Using LSTM and fully-connected networks, the future plantar force could be predicted using only the signals measured by IMU sensors. The predicted plantar force could be used to estimate the walking status. Based on the estimated walking status, control commands could be sent beforehand to move the exoskeleton with the desired timing. The experimental results showed that the predicted plantar force matches the measured value with a very small prediction error (33.9N and 40.3N when using and not using the exoskeleton). The assistance timing can also be predicted not only during the walking but also at the start and end of walking. The experiments also showed good performance when controlling the exoskeleton to assist the subjects in real-time.
In the future, we will gather more data from more subjects to determine whether it is possible to increase the performance of the proposed method. We will also test the prediction accuracy when walking on different grounds, such as slopes or stairs.
References
- [1] A. M. Dollar and H. Herr. Lower extremity exoskeletons and active orthoses: Challenges and state-of-the-art. IEEE Transactions on Robotics, 24(1):144–158, 2008.
- [2] T. Hayashi, H. Kawamoto, and Y. Sankai. Control method of robot suit hal working as operator’s muscle using biological and dynamical information. In 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 3063–3068, 2005.
- [3] Homayoon Kazerooni, Ryan Steger, and Lihua Huang. Hybrid control of the berkeley lower extremity exoskeleton (bleex). the International Journal of Robotics Research, 25(5):561–573, 2006.
- [4] Erico Guizzo and Harry Goldstein. The rise of the body bots. IEEE Spectrum, 42(10):50–66, 2005.
- [5] Suwoong Lee and Yoshikuyi Sankai. Power assist control for walking aid with hal-3 based on emg and impedance adjustment around knee joint. IEEE/RSJ International Conference Intelligent Robots and Systems, pages 1499–1504, 2002.
- [6] Kazuo Kiguchi. A study on emg-based human motion prediction for power assist exoskeletons. In 2007 International Symposium on Computational Intelligence in Robotics and Automation (CIRA), pages 190–195, June 2007.
- [7] R. Stolyarov, G. Burnett, and H. Herr. Transnational motion tracking of leg joints for enhanced prediction of walking tasks. IEEE Transactions on Biomedical Engineering, 65(4):763–769, 2018.
- [8] Abdul Hadi Abdul Razak, Aladin Zayegh, Rezaul K. Begg, and Yufridin Wahab. Foot plantar pressure measurement system: A review. Sensors (Basel, Switzerland), 12:9884 – 9912, 2012.
- [9] Katerina Fragkiadaki, Sergey Levine, Panna Felsen, , and Jitendra Malik. Recurrent network models for human dynamics. In the IEEE International Conference on Computer Vision, pages 4346–4354, 2015.
- [10] Ashesh Jain, Amir R. Zamir, and Silvio Savarese adn Ashutosh Saxena. Structural-rnn: Deep learning on spatio-temporal graphs. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 5308–5317, 2016.
- [11] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural Computation, 9(8):1735–1780, 1997.
- [12] Alessandro Filippeschi, Norbert Schmitz, Markus Miezal, Gabriele Bleser, Emanuele Ruffaldi, and Didier Stricker. Survey of motion tracking methods based on inertial sensors: A focus on upper limb human motion. Sensors, 17(6):1–40, 2017.