Hostname: page-component-78c5997874-s2hrs Total loading time: 0 Render date: 2024-11-04T21:51:41.963Z Has data issue: false hasContentIssue false

Adaptive estimation of continuous gait phase based on capacitive sensors

Published online by Cambridge University Press:  17 June 2022

Dongfang Xu
Affiliation:
Department of Advanced Manufacturing and Robotics, College of Engineering, Peking University, Beijing 100871, China Beijing Engineering Research Center of Intelligent Rehabilitation Engineering, Beijing, China
Zhitong Zhang
Affiliation:
Department of Advanced Manufacturing and Robotics, College of Engineering, Peking University, Beijing 100871, China National Key Laboratory of Science and Technology on Micro/Nano Fabrication, Institute of Micro/Nano Electronics, Peking University, Beijing, China
Simona Crea
Affiliation:
BioRobotics Institute, Scuola Superiore Sant’Anna, Pisa, Italy Department of Excellence in Robotics & AI, Scuola Superiore Sant’Anna, Pisa, Italy IRCCS Fondazione Don Carlo Gnocchi, Milan, Italy
Nicola Vitiello
Affiliation:
BioRobotics Institute, Scuola Superiore Sant’Anna, Pisa, Italy Department of Excellence in Robotics & AI, Scuola Superiore Sant’Anna, Pisa, Italy IRCCS Fondazione Don Carlo Gnocchi, Milan, Italy
Qining Wang*
Affiliation:
Department of Advanced Manufacturing and Robotics, College of Engineering, Peking University, Beijing 100871, China Beijing Engineering Research Center of Intelligent Rehabilitation Engineering, Beijing, China Institute for Artificial Intelligence, Peking University, Beijing, China University of Health and Rehabilitation Sciences, Qingdao, China
*
* Author for correspondence: Qining Wang, Department of Advanced Manufacturing and Robotics, College of Engineering, Peking University, Beijing 100871, China. Email: [email protected]

Abstract

Continuous gait phase plays an important role in robotic prosthesis control. In this paper, we have conducted the offline adaptive estimation (at different speeds and on different ramps) of continuous gait phase of robotic transtibial prosthesis based on the adaptive oscillators. We have used the capacitive sensing method to record the deformation of the muscles. Two transtibial amputees joined in this study. Based on the strain signals of the prosthetic foot and the capacitive signals of the residual limb, the maximum and minimum of estimation errors are 0.80 rad and 0.054 rad, respectively, and their corresponding ratios in one gait cycle are 1.27% and 0.86%, respectively. This paper proposes an effective method to estimate the continuous gait phase based on the capacitive signals of the residual muscles, which provides a basis for the continuous control of robotic transtibial prosthesis.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press

Introduction

Lower-limb robotic prostheses can assist amputees’ daily activities. The control of robotic prosthesis is one critical issue, and the widely used control approach in lower-limb robotic prostheses is the finite state machine method (Sup et al., Reference Sup, Bohara and Goldfarb2008; Au et al., Reference Au, Weber and Herr2009; Wang et al., Reference Wang, Yuan, Zhu and Wang2015). This method is to build different control strategies corresponding to the several different gait phases within each gait cycle (Sup et al., Reference Sup, Varol, Mitchell, Withrow and Goldfarb2009; Lenzi et al., Reference Lenzi, Hargrove and Sensinger2014; Feng and Wang, Reference Feng and Wang2017). Therefore, it relies on the accurate detection of gait events (heel strike, toe off, and so on) to trigger state transitions between different states, which could limit the smoothness and robustness of control (Villarreal et al., Reference Villarreal, Poonawala and Gregg2017; Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017).

To solve these problems, several alternatives have been proposed in recent years. Eilenberg et al. (Reference Eilenberg, Geyer and Herr2010) have designed the neuromuscular controller. The neuromuscular controller is to use models of muscle dynamics and hypothesized reflexes. However, this method involves many parameters which are difficult to tune. Another alternative is based on the continuous gait phase. Quintero et al. (Reference Quintero, Villarreal, Lambert, Kapp and Gregg2018) have conducted the continuous-phase control of a powered knee-ankle prosthesis and achieved some effects. Seo et al. (Reference Seo, Park, Lee, Hyung, Lee, Kim, Choi and Shim2019) have also conducted continuous gait phase estimation by recurrent neural network (RNN) method to control ankle exoskeletons. These control methods are based on the estimated continuous gait phase.

Continuous gait phase increases monotonically from 0 to 2 $ \pi $ rad (or 0 to 100%) in each gait cycle. For the moment, there are three methods in the continuous gait phase estimation. The first method is to calculate the average duration of several previous gait cycles as the denominator, and then calculating the time percent (i.e., the gait phase, from 0 to 100%) relative to the average duration in each gait cycle. This method is easy and simple, however, the estimation accuracy based on this method may encounter decline for the lower-limb amputees, since there may be stride-to-stride variation for lower-limb amputees, even in the steady walking mode, which can cause the difference between the average duration and the current gait cycle time length. The second method is designing or utilizing a specific algorithm to estimate continuous gait phase, such as the adaptive oscillators (AOs) (Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017; Xu et al., Reference Xu, Crea, Vitiello and Wang2020b) and the extended Kalman filter (Thatte et al., Reference Thatte, Shah and Geyer2019). Xu et al., Reference Xu, Crea, Vitiello and Wang2020b) have used the inertial measurement unit (IMU) signals to estimate the continuous gait phase of robotic transtibial prosthesis, and their study has shown some estimation adaptation to different walking conditions based on the AOs. Thatte et al. (Reference Thatte, Shah and Geyer2019) have used the extended Kalman filter to estimate the continuous gait phase in the stance phase (namely starting at heel strike (0%) and ending at toe off (100%)) based on IMU and angle signals of powered transfemoral prosthesis. The third method is based on the polar angle method (Holgate et al., Reference Holgate, Sugar and Bohler2009). Holgate et al. (Reference Holgate, Sugar and Bohler2009) have found that the polar angle between the tibia angle and its scaled angular velocity has an invertible relationship with the gait phase and is not subject-dependent, and they have built a fitting function between the polar angle and gait phase and realized the continuous gait phase estimation. Quintero et al. (Reference Quintero, Villarreal, Lambert, Kapp and Gregg2018) have computed the continuous phase utilizing the thigh angular position and its corresponding integral to form a well-defined thigh orbit. The third method has good adaptations because of its subject-independent features, whereas its performance is susceptible to signal drift and integral drift and it is also sensitive to stride-to-stride gait variation. It is important to solve the gait variation problem. As known, the stride-to-stride gait variation can cause sensing signal variation. The property of AOs refers to the capacity to synchronize to an input sensing signal while learning its features (frequency, amplitude, etc.; Buchli et al., Reference Buchli, Righetti and Ijspeert2008; Ronsse et al., Reference Ronsse, De Rossi, Vitiello, Lenzi, Carrozza and Ijspeert2013). The error between the estimated signal (output) and the actual sensing signal (input) drives the evolution of the dynamic system to keep its output in phase with respect to the input signal (Ronsse et al., Reference Ronsse, Vitiello, Lenzi, Van Den Kieboom, Carrozza and Ijspeert2010; Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017). Therefore, the AOs can adjust the estimated gait phase when facing the stride-to-stride gait variation and handle this variation better in continuous gait phase estimation.

In addition to the estimation method, it is also very important to choose the proper sensing signals. The mechanical or inertial sensors have been used in gait phase estimation, for example, the IMU (Villarreal et al., Reference Villarreal, Poonawala and Gregg2017). However, these sensors may easily encounter wearing gap or misalignment problems. Surface electromyogram (sEMG) sensors can record muscles’ electrical potential and are widely used in robotic prosthesis. However, sEMG signals are easy to be contaminated by noises and motion artifacts, which will influence the estimation performance of gait phase. In addition to muscles’ electrical potential, there exist muscle deformations during limb motion. The capacitive sensors have been designed and used in prosthesis and exoskeleton (Zheng et al., Reference Zheng, Wang, Wei and Wang2014). In our previous study, we conducted the preliminary study of the continuous gait phase estimation based on capacitive sensing signals with the AOs (Xu et al., Reference Xu, Crea, Vitiello and Wang2020a). The previous study just conducted the continuous gait phase estimation on one amputee at normal walking speed (Xu et al., Reference Xu, Crea, Vitiello and Wang2020a). In this study, we improved the capacitive sensing design and extended the study on two amputees at different walking speeds and on different ramps to realize the offline adaptive estimation of continuous gait phase. This paper is organized as follows. First, we introduce the related studies and research progress in “Introduction”. Then, we introduce the robotic transtibial prosthesis, capacitive sensing design, experimental protocol, signal processing, and evaluation method in section “Materials and Methods”. Then, the result, discussion, and conclusion are presented.

Material and Method

Robotic Transtibial Prosthesis

A robotic transtibial prosthesis (developed by Peking University, Beijing, China) was used in this study, and its details are shown in Figure 1a. The sensing units of prosthesis were comprised of one angle sensor, one strain gauge, and two IMUs. One angle sensor was positioned on the prosthetic ankle to detect ankle’s rotation. The strain gauge was positioned on the prosthetic foot to detect the interaction between the prosthesis and ground during walking, and the gait phase could be detected based on the strain signals. In this study, we adopted the position control (to return to the equilibrium position) in the swing phase and damping control (to provide assistance) in the stance phase, respectively (Wang et al., Reference Wang, Yuan, Zhu and Wang2015; Feng and Wang, Reference Feng and Wang2019). Two IMUs were mounted on the prosthetic shank and foot to measure acceleration, angle, and angular velocity information. More details of this robotic transtibial prosthesis could be seen in some previous studies (Wang et al., Reference Wang, Yuan, Zhu and Wang2015; Feng and Wang, Reference Feng and Wang2019). Capacitive sensing method could measure muscles’ deformations, and its principle has been described in a previous study (Zheng et al., Reference Zheng, Wang, Wei and Wang2014). Four capacitive sensors were placed on the residual lower limb (labeled as 1, 2, 3, and 4 in Figure 1b). There was a liner placed over the residual lower limb and capacitive sensors, after which the socket was fitted. The capacitive sensors could record the deformation which was caused by contraction and relaxation of residual muscle and the interaction of the residual limb, liner, and the socket.

Figure 1. The designed robotic transtibial prosthesis and wearing diagram. (a) The designed robotic transtibial prosthesis includes the mechanical, sensing, and actuation components. (b) The wearing diagram. Four capacitive sensors (labeled by 1, 2, 3, and 4) are placed on the residual limb.

Capacitive Sensor Design

Capacitive signal measurement

In this study, capacitive sensing method is used to measure the lower-limb deformations during human walking. The calculation formula of capacitive signal is as follows:

(1) $$ C\hskip0.35em =\hskip0.35em \frac{\varepsilon s}{d}, $$

where the $ \varepsilon $ is the dielectric constant of the dielectric layer, and the $ s $ and $ d $ are the relative area of the two electrodes and the distance between the two electrodes, respectively. The capacitor is attached to the surface of the limbs. When people walk, the muscles of the limbs will be in contraction and relaxation. For the prothesis wearer, there is the interaction among the residual limb, liner, and the socket. Both of these will lead to the changes in the distance between the two electrodes or/and the relative area of the two electrodes, and finally, cause the changes in the capacitive signal.

Capacitive sensing system is used to record the change of capacitance signal, mainly including the front end (the capacitor) and the back end (the signal processing circuit). In the measurement of capacitance signal, the basic principle is to record the charging and discharging time and then calculate the capacitance value, as shown in Figure 2. In the measurement circuit, the capacitor $ C $ is in series with the resistor $ R $ . When the square wave signal is applied in the circuit, it will charge the capacitor at the rising edge to the highest voltage $ {V}_s $ . At the falling edge, the capacitor starts to discharge, and the voltage of the capacitor can be formulated as follows:

(2) $$ {V}_t\hskip0.35em =\hskip0.35em {V}_s\times {e}^{\frac{-t}{RC}}. $$

When the capacitor voltage $ {V}_t\hskip0.35em =\hskip0.35em 0.37{V}_s $ , the corresponding discharge time $ T\hskip0.35em =\hskip0.35em RC $ . The discharge time is proportional to the capacitance value, so the corresponding capacitance value can be obtained by recording the discharge time. The measurement circuit also contains a reference capacitor (its value is $ Cr $ ). When measuring capacitive signal, the ratio of the capacitance value to be measured to the reference capacitance value can be calculated according to the time, and then the capacitance value to be measured can be calculated. The charge–discharge time ratio is recorded by time-to-digital converter (TDC) module with an accuracy of 21 bit and a range of $ \frac{1}{8} Cr $ –8 $ Cr $ . The capacitance value of the reference capacitor is 100 pF in this study, and the measurement range of this capacitor signal measurement circuit is 12.5 pF–800 pF. The signal sampling frequency is 100 Hz.

Figure 2. The capacitive signal measurement system. (a) The measurement circuit of capacitive signal and (b) The measurement principle of capacitive signal.

Capacitive sensor fabrication

In this study, we used the copper electrodes to form capacitors with Ecoflex (Aliphatic Aromatic Copolyesters). This capacitor could withstand stretching, bending, and other deformations. This capacitor was composed of two copper electrodes and the dielectric layer (Ecoflex) between the two electrodes. Besides, the entire capacitor was wrapped in Ecoflex. When people wore this capacitive sensor to measure the capacitive signals, the copper electrodes of the capacitor were not in directly contact with the skin. Thus, the noncontact measurement of muscle deformation could be realized.

The fabrication process of capacitor are shown in Figure 3. First, one mold was made by 3D printing, as shown in Figure 3a. Then, the Ecoflex was poured into the mold, as shown in Figure 3b. When the EcoFlex was not cured, one copper electrode (thickness: 50 μm) was put on the Ecoflex, as shown in Figure 3c. Next, the EcoFlex and electrode needed to be cured at 120–140°C for about 5 min, as shown in Figure 3d. Then, we coated the cured EcoFlex and electrode with a new Ecoflex layer (thickness: 50 μm), as shown in Figure 3e. The next step was curing and demolding. After this, half of the capacitor was finished, as shown in Figure 3f,g. We could get the two-halves of the capacitor by repeating the fabrication process (from Figure 3a to e). By bonding the two-halves structures (as shown in Figure 3h and then curing and removing the mold (as shown in Figure 3i), we could get an entire capacitor. The finished capacitor is shown in Figure 3j. The radius and thickness of fabricated capacitor are approximately 1 cm and 2 mm, respectively. Each copper electrode is about 1.2 to 1.5 cm in length, 1.2 to 1.5 cm in width, and about 0.05 mm in thickness.

Figure 3. The fabrication process of capacitor. (a) printing 3D molds, (b) pouring Ecoflex, (c) placing copper electrodes, (d) curing, (e) spin-coating Ecoflex, (f) curing, (g) removing the mold, (h) bonding the two-halves structures, (i) curing and removing the mold, and (j) capacitor picture.

Experimental Protocol

Two transtibial amputees joined in this study as subjects and their detailed information are listed in Table 1. Each subject wore his customized prosthetic socket and liner, and the socket was connected with the robotic transtibial prosthesis by an adapter. Both the two subjects have provided written informed consent, and the experiments have been approved by the Local Ethics Committee of Peking University.

Table 1. The information of two transtibial amputation subjects

The research tasks were comprised of two experiments. The first experiment was to conduct the offline estimation of continuous gait phase at each subject’ different walking speeds (speed experiment). In the speed experiment, subjects walked on the treadmill at their self-selected three speeds (slow, normal, and fast). The second experiment was to conduct the offline estimation of continuous gait phase on different ramps (ramp experiment). In the ramp experiment, subjects walked on the treadmill, and the treadmill inclination varied over five different angles (10°, 5°, 0°, −5° and −10°). Subjects walked on the inclined treadmill at their normal speed. The offline estimation of continuous gait phase was conducted based on the collected capacitive signals and strain signals of prosthetic foot during subjects’ walking at different speeds and on different ramps.

Offline Estimation of Continuous Gait Phase

The framework of offline estimation of continuous gait phase is shown in Figure 4, which consist of (1) the AOs and (2) the gait event detection. The AOs have been widely used in cyclical movements (Ronsse et al., Reference Ronsse, Lenzi, Vitiello, Koopman, Asseldonk, Rossi, Kieboom, Kooij, Carrozza and Ijspeert2011). Some studies have conducted the continuous gait phase estimation based on the AOs (Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017; Zheng et al., Reference Zheng, Manca, Yan, Parri, Vitiello and Wang2017). In this study, the inputs of the AOs were the capacitive sensing signals of residual limb. The collected raw capacitive sensing signals contained drifts and noises: low-frequency drifts (lower than 0.1 Hz), random impulses, and high-frequency noises (Zheng et al., Reference Zheng, Wang, Wei and Wang2014). In this study, we designed three filters in series (a median filter, a first-order DC-notch filter, and a second-order 10-Hz low-pass Butterworth filter) to regulate the raw capacitive sensing signals by removing drifts and noises. The gait event detection was conducted based on the strain signals of prosthetic foot by the threshold rule. In this study, the detected heel strike was the start point of each gait cycle and it was also corresponding to 0 rad gait phase.

Figure 4. The framework of gait phase estimation (adapted from Gams et al., Reference Gams, Ijspeert, Schaal and Lenarcic2009; Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017; Xu et al., Reference Xu, Crea, Vitiello and Wang2020b). The capacitive sensing signals are input to the AOs. The strain signals of prosthetic foot are used to detect gait events.

In Figure 4, the inputs of the AOs are capacitive sensing signals ( $ C(t) $ ), which could be decomposed into different harmonics. The outputs are the estimated signals ( $ \tilde{C}(t) $ ). The error $ F(t) $ ( $ F(t)\hskip0.35em =\hskip0.35em C(t)-\tilde{C}(t) $ ) between the actual signal (input) and the estimated signal (output) drove the evolution of the oscillator (Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017). The $ \tilde{C}(t) $ could be denoted as follow:

(3) $$ \tilde{C}(t)\hskip0.35em =\hskip0.35em {\alpha}_0(t)+\sum \limits_{i\hskip0.10em =\hskip0.10em 1}^N{\alpha}_i(t)\sin \left({\varphi}_i(t)\right), $$

where the $ i $ denoted the $ {i}_{th} $ harmonic ( $ i\hskip0.35em =\hskip0.35em 1,2,\dots, N $ and $ N\hskip0.35em =\hskip0.35em 25 $ in this study). The other variables and their principle formulations were as follows:

(4) $$ {\dot{\varphi}}_i(t)\hskip0.35em =\hskip0.35em \omega (t)\cdot i+\lambda F(t)\cos \left({\varphi}_i(t)\right), $$
(5) $$ \dot{\omega}(t)\hskip0.35em =\hskip0.35em \gamma F(t)\cos \left({\varphi}_1(t)\right), $$
(6) $$ {\dot{\alpha}}_i(t)\hskip0.35em =\hskip0.35em \eta F(t)\sin \left({\varphi}_i(t)\right), $$
(7) $$ {\dot{\alpha}}_0(t)\hskip0.35em =\hskip0.35em \eta F(t), $$

where $ \lambda $ , $ \gamma $ and $ \eta $ were the learning rates corresponding to phase ( $ {\varphi}_i(t) $ ), frequency ( $ \omega (t) $ ), and amplitude ( $ {\alpha}_i(t) $ ), respectively.

The lower-limb locomotion could be viewed as periodic or quasi-periodic. Therefore, we defined the continuous gait phase corresponding to the interval [0, 2 $ \pi $ ) rad. The acquired phase $ {\varphi}_1(t) $ (in Figure 4) based on the AOs was normalized into the interval [0, 2 $ \pi $ ), and the normalized phase was denoted as $ {\varphi}_n(t) $ (in Figure 4):

(8) $$ {\varphi}_n(t)\hskip0.35em =\hskip0.35em \operatorname{mod}\left({\varphi}_1(t),2\pi \right). $$

In this study, we defined the heel strike as the start point (0 rad) of one gait cycle. The 0-rad phase should be matched with each heel strike at timing $ {t}_k $ in gait cycles, so there might exist phase error $ \tilde{e}\left({t}_k\right) $ between the estimated phase $ {\varphi}_n(t) $ at $ {t}_k $ and 0 rad. The final estimated gait phase $ \tilde{\Phi}(t) $ could be denoted as follow:

(9) $$ \tilde{\Phi}(t)\hskip0.35em =\hskip0.35em \operatorname{mod}\left({\varphi}_n(t)-\tilde{e}\left({t}_k\right),2\pi \right). $$

More details about the preprocess of $ \tilde{e}\left({t}_k\right) $ could be seen in the study by Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017). As was known that the gait phase increases forward within each gait cycle, we could revise the current estimated gait phase by comparing it with the last estimated gait phase(s) to make sure the monotonic increasing feature of gait phase forward in each gait cycle.

Performance Evaluation

The variance ratio ( $ VR $ ) could be used to analyze the repeatability of gait signals waveforms over gait cycles (Erni and Colombo, Reference Erni and Colombo1998; Hwang et al., Reference Hwang, Lee, Cherng and Chen2003; Godiyal et al., Reference Godiyal, Mondal, Joshi and Joshi2018). $ VR $ was formulated as follows (Hershler and Milner, Reference Hershler and Milner1978):

(10) $$ VR\hskip0.35em =\hskip0.35em \frac{\frac{1}{n}{\sum}_{i\hskip0.35em =\hskip0.35em 1}^n\left(\frac{1}{N-1}{\sum}_{j\hskip0.35em =\hskip0.35em 1}^N{\left({X}_{ij}-{\overline{X}}_i\right)}^2\right)}{\frac{1}{nN-1}{\sum}_{i\hskip0.35em =\hskip0.35em 1}^n{\sum}_{j\hskip0.35em =\hskip0.35em 1}^N{\left({X}_{ij}-\overline{X}\right)}^2}, $$

where $ N $ denoted the number of gait cycles in this study. For each gait cycle, signals were normalized by interpolation and had a fixed length ( $ n $ , $ n $ was 1000 in this study). The $ {X}_{ij} $ was the $ {i}_{th} $ capacitive signal value in $ {j}_{th} $ gait cycle. The $ {\overline{X}}_i $ was the mean of signals at $ {i}_{th} $ data point over $ N $ gait cycles, and the $ \overline{X} $ was the mean of $ {\overline{X}}_i $ over the gait cycle. The $ {\overline{X}}_i $ and $ \overline{X} $ were formulated as

(11) $$ {\overline{X}}_i\hskip0.35em =\hskip0.35em \frac{1}{N}\sum \limits_{j\hskip0.35em =\hskip0.35em 1}^N{X}_{ij}, $$
(12) $$ \overline{X}\hskip0.35em =\hskip0.35em \frac{1}{n}\sum \limits_{i\hskip0.35em =\hskip0.35em 1}^n{\overline{X}}_i, $$

The $ VR $ could measure the degree of dispersion of data. The smaller the $ VR $ was, the better the signal repeatability was. If the $ VR $ < 0.3, it represented a good signal repeatability (Nilsson and Thorstensson, Reference Nilsson and Thorstensson1987).

To evaluate the estimation performance, the root-mean-square error $ {\theta}_{rms} $ between the estimated phase and the ground truth was used, which could be formulated as follows:

(13) $$ {\theta}_{rms}\hskip0.35em =\hskip0.35em \sqrt{\sum \limits_{i\hskip0.10em =\hskip0.10em 1}^M\frac{{\left(\tilde{\Phi}(i)-\Phi (i)\right)}^2}{M}}, $$

where $ M $ denoted the sample number in one gait cycle, the $ \tilde{\Phi}(i) $ denoted the estimated $ {i}_{th} $ gait phase and the $ \Phi (i) $ was the actual $ {i}_{th} $ gait phase in one gait cycle. Besides, we also introduced the ratio ( $ R $ ) of the root-mean-square error ( $ {\theta}_{rms} $ ) in one gait cycle. The $ R $ could be calculated as follows:

(14) $$ R\hskip0.35em =\hskip0.35em \frac{\theta_{rms}}{2\pi}\times 100\%, $$

where 2 $ \pi $ was the gait phase length of one gait cycle.

Experimental Results

Capacitive Signal Repeatability

The capacitive sensing system recorded the muscles’ deformation of residual limbs during walking. We conducted capacitive signal normalization process to evaluate signal’s repeatability. Taking the level ground walking at normal speed as an example, the four channels’ filtered capacitive sensing signals were normalized into one gait cycle, as shown in Figure 5(a)–(d). The black solid curves denoted the mean and the two red solid curves denoted mean + standard deviation and mean – standard deviation of capacitive sensing signals. The areas between the two red solid curves reflected the signals’ differences.

Figure 5. The normalized capacitive sensing signals. (a)–(d) represent 4 channels’ capacitive sensing signals. The black solid curves denote the mean of capacitive sensing signals of 50 gait cycles. The red solid lines denote the mean ± standard deviation. The gait cycle starts at the heel strike and ends at the next heel strike, corresponding to the gait percent from 0 to $ 100\% $ (shown in the horizontal axis). Data come from subject 1 walking at normal speed.

We used $ VR $ to further evaluate the repeatability, and the results are shown in Tables 2 and 3. For subject 1, the maximum and minimum of $ VR $ were 0.003 and 0.151 (in Table 2), respectively. For subject 2, the maximum and minimum of $ VR $ were 0.005 and 0.090 (in Table 3), respectively.

Table 2. The $ VR $ of four channels’ capacitive signals (subject 1)

Note. C1, C2, C3, and C4 denote the 4 channels’ capacitive sensing signals.

Table 3. The $ VR $ of four channels’ capacitive signals (subject 2)

Note. C1, C2, C3, and C4 denote the 4 channels’ capacitive sensing signals.

Gait Event Detection

The strain signals of prosthetic foot during level-ground walking at normal speed is shown in Figure 6. The strain signals had different characteristics in different gait phases. In the stance phase, there were interactions between prosthetic foot and the ground. Therefore, the strain signals showed obvious changes. In the swing phase, there were no interactions between prosthetic foot and the ground. Therefore, the strain signals showed few changes. By analyzing the characteristics of strain signals, we could realize the gait events (heel strike and toe off) detection.

Figure 6. The strain signals of prosthetic foot at normal walking speed (subject 1). The red solid curve denotes the strain signal. The black dashed and solid lines denote the gait events: heel strike and toe off, respectively.

Offline Estimation of Continuous Gait Phase

The AOs have three learning rate parameters $ \lambda $ , $ \gamma $ , and $ \eta $ (as shown in equations (4), (5), and (6)), corresponding to the phase ( $ {\varphi}_i(t) $ ), frequency ( $ \omega (t) $ ), and amplitude ( $ {\alpha}_i(t) $ ), respectively. In this study, they were set as 0.15, 0.50, and 0.60, respectively. The values of the three parameters were kept constant for different subjects waking at different walking speeds and on different ramps. Based on the capacitive sensing signals and the strain signals, the continuous gait phase estimation result is shown in Figure 7.

Figure 7. The estimated continuous gait phase and the ground truth. The black solid denotes the estimated gait phase, and the red dashed denotes the ground truth.

The root-mean-square error ( $ {\theta}_{rms} $ ) between the estimation result and the ground truth is shown in Figures 8 and 9. For subject 1, the root-mean-square errors corresponding to different speeds and ramps were 0.054 rad, 0.048 rad, 0.037 rad, 0.062 rad, 0.046 rad, 0.048 rad, 0.044 rad and 0.053 rad, respectively. The maximum was 0.062 rad (corresponding to 10° ramp), and the minimum was 0.037 rad (corresponding to fast speed). For subject 2, the root-mean-square errors were 0.084 rad, 0.060 rad, 0.073 rad, 0.098 rad, 0.102 rad, 0.060 rad, 0.092 rad and 0.081 rad. The maximum was 0.102 rad (corresponding to 5° ramp), and the minimum was 0.060 rad (corresponding to normal speed and 0° ramp).

Figure 8. The root-mean-square error between the estimation result and the ground truth (subject 1). The numbers on the top of bars represent the error values.

Figure 9. The root-mean-square error between the estimation result and the ground truth (subject 2). The numbers on the top of bars represent the error values.

The average and standard deviation of root-mean-square errors and ratios are listed in Table 4. The errors were 0.069 ± 0.021 rad, 0.054 ± 0.008 rad, 0.055 ± 0.025 rad, 0.080 ± 0.025 rad, 0.074 ± 0.039 rad, 0.054 ± 0.008 rad, 0.068 ± 0.034 rad and 0.067 ± 0.019 rad, corresponding to walking at different speeds and on different ramps, as shown in Table 4. The maximum error and its corresponding ratio were 0.080 rad and 1.27% (10° ramp). The minimum error and its corresponding ratio were 0.054 rad and 0.86% (normal speed and 0° ramp).

Table 4. The root-mean-square error ( $ {\theta}_{rms} $ ) and ratio ( $ R $ ) (mean ± Std) of continuous gait phase estimation

Discussion

The finite state machine control method is to set different control strategies and parameters in different gait states. This relies on the accurate detection of several discrete gait events (heel strike, toe off, and so on) to trigger the transition of control strategy from one gait state to another gait state, which can decrease the smoothness and robustness of robot’s locomotion (Villarreal et al., Reference Villarreal, Poonawala and Gregg2017; Yan et al., Reference Yan, Parri, Garate, Cempini, Ronsse and Vitiello2017). One alternative is control based on the estimation of continuous gait phase. This control method is not limited to the states’ transitions to change control strategy in each gait cycle, which is helpful to improve the smoothness and robustness of robot’s motion and then enhance the assist functions in people’s activities. Therefore, it is important to realize an accurate estimation of continuous gait phase to control lower-limb wearable robot. Hereby, this study has focused on the offline adaptive estimation of continuous gait phase of robotic transtibial prosthesis.

The main contribution of this study is that we propose a capacitive sensing method to record the muscle’s deformation to realize the adaptive estimation of continuous gait phase during different steady-state motions. To achieve this goal, we have designed the capacitive sensors and the framework of continuous gait phase estimation based on gait event detection and AOs.

Capacitive Sensing Signals

There may exist stride-to-stride variation for lower-limb amputees, even in the steady walking mode, which can cause sensing signal variation. To estimate the gait phase, the input sensing signal is required to be quasi-periodic with the gait cycles. Noncontact capacitive sensing method has quite small signal variation, good signal repeatability, and periodicity in lower-limb locomotion, which has been validated in a previous study (Zheng et al., Reference Zheng, Wang, Wei and Wang2014). The capacitive sensors are attached to the residual limb, and there is a liner placed over them, after which the socket is fitted. The capacitive sensors can record the deformation which is caused by the contraction and relaxation of residual muscle and the interaction of the residual limb, liner, and the socket. For the two subjects, the maximum of $ VR $ is smaller than 0.3, which means the capacitive sensing signals have good repeatability and periodicity. This provides benefits for the estimation of continuous gait phase. The strain signals of prosthetic have different characteristics in different gait phases. By analyzing the characteristics of strain signal, we could realize the accurate gait events (heel strike and toe off) detection. The detected heel strike is the start of one gait cycle and corresponds to the reset 0 rad.

Offline Estimation of Continuous Gait Phase

We have conducted the offline estimation of continuous gait phase based on the AOs. The initial values of parameters in AOs are as follows. The initial values of $ {\phi}_1 $ and $ {\phi}_i $ ( $ i\hskip0.35em =\hskip0.35em 2,3,\dots, 25 $ ) are 0.5 $ \pi $ and 1, respectively. The initial value of $ \omega $ is 0.8*2 $ \pi $ (i.e., 1.6 $ \pi $ ). The initial values of $ {\alpha}_0 $ and $ {\alpha}_i $ ( $ i\hskip0.35em =\hskip0.35em 1,2,\dots, 25 $ ) are 0 and 1, respectively. The AOs adapt over time based on these parameters. The AOs have three learning rate parameters $ \lambda $ , $ \gamma $ , and $ \eta $ (as shown in equations (4), (5), and (6)) that are kept constant for different subjects waking at different walking speeds and on different ramps. This eases parameter tuning difficulty and reduces the dependence on the experimenters. In this study, our analysis is limited to once the AOs have converged. Actually, the AOs do not perform good linear characteristics and the estimation errors are big prior to convergence and become small over time. The convergence of AOs takes about three to five gait cycles with these learning parameters. In this study, each trial takes about 3 min (walking lasts about 3 min), and the amount of each trial is about 100 gait cycles used in the analysis. The maximum and minimum errors (and ratios) of offline estimation of continuous gait phase are 0.080 rad (1.27%) and 0.054 rad (0.86%) corresponding to slow and fast speeds, respectively. The results of this study are comparable with the study by Zheng et al. (Reference Zheng, Manca, Yan, Parri, Vitiello and Wang2017), which has conducted the estimation of continuous gait phase based on the AOs on healthy people. Our previous study has conducted the estimation based on the AOs using inertial sensing signals (Xu et al., Reference Xu, Crea, Vitiello and Wang2020b). Compared with this study, there is no significant difference ( $ P>0.05 $ ) in estimation performance based on the capacitive sensing signals and inertial sensing signals.

Thatte et al. (Reference Thatte, Shah and Geyer2019) have conducted the continuous gait phase estimation based on the extended Kalman filter method, and the root-mean-square phase error (ratio) is more than 2.0%. Our study based on AOs can achieve less error, and the biggest error ratio is 1.27% ± 0.40%. Seo et al. (Reference Seo, Park, Lee, Hyung, Lee, Kim, Choi and Shim2019) have also conducted a similar study. Though their study has not given specific numerical results, their continuous gait phase estimation curve shows not good linear characteristics (Seo et al., Reference Seo, Park, Lee, Hyung, Lee, Kim, Choi and Shim2019). Our study has illustrated good linear characteristics of the estimated continuous gait phase, as shown in Figure 7. Compared with the extended Kalman filter-based and RNN-based methods (Thatte et al., Reference Thatte, Shah and Geyer2019; Seo et al., Reference Seo, Park, Lee, Hyung, Lee, Kim, Choi and Shim2019), this study has achieved better estimation performances.

Impacts of Estimation Errors

The lower-limb locomotion can be viewed as periodic or quasi-periodic, but it is not absolutely periodic. Though the capacitive sensing signals have good repeatability and periodicity ( $ VR $ < 0.3), there still exist signals’ differences among different gait cycles. The signals’ differences will cause errors between the estimated gait phase and the ground truth, and these errors will cause some different impacts on prosthesis control (Villarreal et al., Reference Villarreal, Poonawala and Gregg2017; Rezazadeh et al., Reference Rezazadeh, Quintero, Divekar, Reznick, Gray and Gregg2019; Embry and Gregg, Reference Embry and Gregg2021). If some errors are very small, we can think they may cause small impacts on prosthesis wearers’ walking. Sometimes, some errors may cause few impacts. For example, some errors occurring at the prosthetic swing stage may not decline the prosthetic assist functions, since the goal of prosthesis control during the swing stage is to reset prosthesis for the next heel strike and the prosthesis has no interaction with the ground in the swing stage. On the other hand, some errors may cause big impacts on prosthesis wearers’ walking, for example, these errors that are big or occur at some gait stage (e.g., the whole stance stage). We need to pay more attention to these errors. In short, the impacts caused by errors vary. Therefore, errors need to be carefully dealt with by taking multifactors (such as the error value (big or small), the stage that error occurs at, the designed control strategies, and so on) into consideration when continuous gait phase estimation is used in prosthesis control.

Limitations and Future work

The continuous gait phase estimation still needs to be further developed. More amputees need to be recruited to analyze the effectiveness and adaptability of the continuous gait phase estimation. Besides, it is practical to conduct the study on the nonsteady-state motion in future work. There are few studies on nonsteady-state motion up to now. The inherent synchronization properties of the AOs have provided advantages in continuous gait phase estimation of steady-state motion, and it has shown some adaptations to different steady-state motions. Whether the AOs work and how it performs on nonsteady-state motion still need to be further studied. In addition, it is also a way to adopt another method or design a new algorithm to realize the estimation of nonsteady-state motion.

The current continuous gait phase estimation is offline in this study. We need to embed the continuous gait phase estimation algorithm into the prosthetic control circuit to realize the online estimation, and then combine the online estimation with prosthesis control to improve the assist performance. The computation cost needs to be considered to meet the online requirement in the next work. We should choose a strong computing hardware to embed the online algorithm to execute online computation, and the computation must be fast and the computing time should less than the sample interval, that is, the computation must be finished before the arrival of a new sample. In our study, the sample frequency is 100 Hz and the sampling interval are 10 ms. This means the online computation must be finished within 10 ms. If so, the delay time caused by computing will cause little influence since it accounts for less than 1.0% of one stride time (the average stride time is about 1.2 to 1.3 s in this study). Besides, the mapping relationships between the joint torque (joint angle, angular velocity, etc.) and the continuous gait phase need to be well-built. According to the online estimation result, a future control algorithm will instruct the robotic prosthesis to make a response (for example, driving the motor to output specific joint torque continuously). In addition, errors need to be carefully dealt with in future work, and the impacts caused by errors vary and need to be further studied when continuous gait phase estimation is used in prosthesis control.

Conclusion

In this study, we have conducted the offline adaptive estimation of continuous gait phase in robotic transtibial prosthesis based on the residual muscles’ capacitive signals. The offline estimation experiments of continuous gait phase are performed at different speeds (slow, normal, and fast) and on different ramps (10°, 5°, 0°, −5°, and −10°). Based on the strain signals of the prosthetic foot and the capacitive signals of the residual limb, the maximum and minimum estimation errors are 0.80 rad and 0.054 rad (the corresponding ratios in 1 gait cycle are 1.27 and 0.86%), respectively. The results indicate that our proposed method is an effective method to estimate the continuous gait phase and it has adapted to different walking speeds, ramps, and subjects. The estimation of continuous gait phase provides a basis for the continuous control of robotic transtibial prosthesis.

Acknowledgments

This paper was presented in part at the IEEE RAS/EMBS International Conference on Biomedical Robotics and Biomechatronics, New York, USA, 2020. The authors would like to thank E. Zheng, S. Zhang, and J. Mai for their contributions to this work.

Funding Statement

This work was supported by the National Key R&D Program of China (No. 2020YFC2008803, No. 2018YFB1307305), the National Natural Science Foundation of China (No. 51922015, No. 91948302), and the PKU-Baidu Fund (No. 2020BD008).

Competing Interests

The authors declare no competing interests exist.

Author Contributions

D. Xu, Z. Zhang, and Q. Wang designed the study, abstracted the data, wrote the first draft, and approved the final version of the manuscript. S. Crea, N. Vitiello, and Q. Wang revised the manuscript and approved the final version.

Data Availability Statement

All data and media materials that are available are mentioned within the article’s main text with links to their online repositories in footnotes.

Ethical Standards

The authors assert that all procedures contributing to this work comply with the ethical standards of the relevant national and institutional committees on human experimentation. The research proposal was approved by the Local Ethics Committee of Peking University.

References

Au, SK, Weber, J and Herr, H (2009) Powered ankle-foot prosthesis improves walking metabolic economy. IEEE Transactions on Robotics 25(1), 5166.CrossRefGoogle Scholar
Buchli, J, Righetti, L and Ijspeert, AJ (2008) Frequency analysis with coupled nonlinear oscillators. Physica D: Nonlinear Phenomena 237(13), 17051718.CrossRefGoogle Scholar
Eilenberg, MF, Geyer, H and Herr, H (2010) Control of a powered ankle-foot prosthesis based on a neuromuscular model. IEEE Transactions on Neural Systems and Rehabilitation Engineering 18(2), 164173.CrossRefGoogle ScholarPubMed
Embry, KR and Gregg, RD (2021) Analysis of continuously varying kinematics for prosthetic leg control applications. IEEE Transactions on Neural Systems and Rehabilitation Engineering 29, 262272CrossRefGoogle ScholarPubMed
Erni, T and Colombo, G (1998) Locomotor training in paraplegic patients: A new approach to assess changes in leg muscle emg patterns. Electroencephalography and Clinical Neurophysiology 109, 135139.CrossRefGoogle ScholarPubMed
Feng, Y and Wang, Q (2017) Combining push-off power and nonlinear damping behaviors for a lightweight motor-driven transtibial prosthesis. IEEE/ASME Transactions on Mechatronics 22(6), 25122523.CrossRefGoogle Scholar
Feng, Y and Wang, Q (2019) Using one strain gauge bridge to detect gait events for a robotic prosthesis. Robotica 37(11), 19871997.CrossRefGoogle Scholar
Gams, A, Ijspeert, AJ, Schaal, S and Lenarcic, J (2009) On-line learning and modulation of periodic movements with nonlinear dynamical systems. Autonomous Robots 27(1), 323.CrossRefGoogle Scholar
Godiyal, AK, Mondal, M, Joshi, SD and Joshi, D (2018) Force myography based novel strategy for locomotion classification. IEEE Transactions on Human-Machine Systems 48(6), 648657.CrossRefGoogle Scholar
Hershler, C and Milner, M (1978) An optimality criterion for processing electromyographic (EMG) signals relating to human locomotion. IEEE Transactions on Biomedical Engineering 25(5), 413420.CrossRefGoogle ScholarPubMed
Holgate, MA, Sugar, TG, and Bohler, AW (2009). A novel control algorithm for wearable robotics using phase plane invariants. Proceedings of the IEEE International Conference on Robotics and Automation, pp. 3845–3850.CrossRefGoogle Scholar
Hwang, IS, Lee, HM, Cherng, RJ and Chen, JJ (2003) Electromyographic analysis of locomotion for healthy and hemiparetic subjects-study of performance variability and rail effect on treadmill. Gait and Posture 18(1), 112.CrossRefGoogle ScholarPubMed
Lenzi, T, Hargrove, L and Sensinger, J (2014) Speed-adaptation mechanism: Robotic prostheses can actively regulate joint torque. IEEE Robotics and Automation Magazine 21(4), 94107.CrossRefGoogle Scholar
Nilsson, J and Thorstensson, A (1987) Adaptability in frequency and amplitude of leg movements during human locomotion at different speeds. Acta Physiologica Scandinavic 129(1), 107114.CrossRefGoogle ScholarPubMed
Quintero, D, Villarreal, DJ, Lambert, DJ, Kapp, S and Gregg, RD (2018) Continuous-phase control of a powered knee-ankle prosthesis: Amputee experiments across speeds and inclines. IEEE Transactions on Robotics 34(3), 686701.CrossRefGoogle ScholarPubMed
Rezazadeh, S, Quintero, D, Divekar, N, Reznick, E, Gray, L and Gregg, RD (2019) A phase variable approach for improved rhythmic and non-rhythmic control of a powered knee-ankle prosthesis. IEEE Access 7, 109840109855.CrossRefGoogle ScholarPubMed
Ronsse, R, De Rossi, SMM, Vitiello, N, Lenzi, T, Carrozza, MC and Ijspeert, AJ (2013) Real-time estimate of velocity and acceleration of quasi-periodic signals using adaptive oscillators. IEEE Transactions on Robotics 29(3), 783791.CrossRefGoogle Scholar
Ronsse, R, Lenzi, T, Vitiello, N, Koopman, B, Asseldonk, EV, Rossi, SMMD, Kieboom, JVD, Kooij, HVD, Carrozza, MC and Ijspeert, AJ (2011) Oscillator-based assistance of cyclical movements: Model-based and model-free approaches. Medical & Biological Engineering & Computing 49(10), 11731185.CrossRefGoogle ScholarPubMed
Ronsse, R, Vitiello, N, Lenzi, T, Van Den Kieboom, J, Carrozza, MC and Ijspeert, AJ (2010). Human-robot synchrony: Flexible assistance using adaptive oscillators. IEEE Transactions on Biomedical Engineering, 58(4):10011012.CrossRefGoogle ScholarPubMed
Seo, K, Park, YJ, Lee, J, Hyung, S, Lee, M, Kim, J, Choi, H and Shim, Y (2019). RNN-based on-line continuous gait phase estimation from shank-mounted IMUs to control ankle exoskeletons. In Proceedings of the IEEE 16th International Conference on Rehabilitation Robotics, pp. 809–815.CrossRefGoogle Scholar
Sup, F, Bohara, A and Goldfarb, M (2008) Design and control of a powered transfemoral prosthesis. The International Journal of Robotics Research 27(2), 263273.CrossRefGoogle ScholarPubMed
Sup, F, Varol, HA, Mitchell, J, Withrow, TJ and Goldfarb, M (2009) Preliminary evaluations of a self-contained anthropomorphic transfemoral prosthesis. IEEE/ASME Transactions on Mechatronics 14(6), 667676.CrossRefGoogle ScholarPubMed
Thatte, N, Shah, T and Geyer, H (2019) Robust and adaptive lower limb prosthesis stance control via extended Kalman filter-based gait phase estimation. IEEE Robotics and Automation Letters 4(4), 31293136.CrossRefGoogle Scholar
Villarreal, DJ, Poonawala, HA and Gregg, RD (2017) A robust parameterization of human gait patterns across phase-shifting perturbations. IEEE Transactions on Neural Systems and Rehabilitation Engineering 25(3), 265278.CrossRefGoogle ScholarPubMed
Wang, Q, Yuan, K, Zhu, J and Wang, L (2015) Walk the walk: A lightweight active transtibial prosthesis. IEEE Robotics and Automation Magazine 22(4), 8089.CrossRefGoogle Scholar
Xu, D, Crea, S, Vitiello, N and Wang, Q (2020a). Capacitive sensing-based continuous gait phase estimation in robotic transtibial prostheses. In Proceedings of the IEEE RAS/EMBS International Conference on Biomedical Robotics and Biomechatronics, pp. 298–303.CrossRefGoogle Scholar
Xu, D, Crea, S, Vitiello, N and Wang, Q (2020b). Online estimation of continuous gait phase for robotic transtibial prostheses based on adaptive oscillators. In Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics, pp. 1890–1895.CrossRefGoogle Scholar
Yan, T, Parri, A, Garate, VR, Cempini, M, Ronsse, R and Vitiello, N (2017) An oscillator-based smooth real-time estimate of gait phase for wearable robotics. Autonomous Robots 41(3), 759774.CrossRefGoogle Scholar
Zheng, E, Manca, S, Yan, T, Parri, A, Vitiello, N and Wang, Q (2017) Gait phase estimation based on noncontact capacitive sensing and adaptive oscillators. IEEE Transactions on Biomedical Engineering 64(10), 24192430.CrossRefGoogle ScholarPubMed
Zheng, E, Wang, L, Wei, K and Wang, Q (2014) A noncontact capacitive sensing system for recognizing motion modes of transtibial amputees. IEEE Transactions on Biomedical Engineering 61(12), 29112920.CrossRefGoogle ScholarPubMed
Figure 0

Figure 1. The designed robotic transtibial prosthesis and wearing diagram. (a) The designed robotic transtibial prosthesis includes the mechanical, sensing, and actuation components. (b) The wearing diagram. Four capacitive sensors (labeled by 1, 2, 3, and 4) are placed on the residual limb.

Figure 1

Figure 2. The capacitive signal measurement system. (a) The measurement circuit of capacitive signal and (b) The measurement principle of capacitive signal.

Figure 2

Figure 3. The fabrication process of capacitor. (a) printing 3D molds, (b) pouring Ecoflex, (c) placing copper electrodes, (d) curing, (e) spin-coating Ecoflex, (f) curing, (g) removing the mold, (h) bonding the two-halves structures, (i) curing and removing the mold, and (j) capacitor picture.

Figure 3

Table 1. The information of two transtibial amputation subjects

Figure 4

Figure 4. The framework of gait phase estimation (adapted from Gams et al., 2009; Yan et al., 2017; Xu et al., 2020b). The capacitive sensing signals are input to the AOs. The strain signals of prosthetic foot are used to detect gait events.

Figure 5

Figure 5. The normalized capacitive sensing signals. (a)–(d) represent 4 channels’ capacitive sensing signals. The black solid curves denote the mean of capacitive sensing signals of 50 gait cycles. The red solid lines denote the mean ± standard deviation. The gait cycle starts at the heel strike and ends at the next heel strike, corresponding to the gait percent from 0 to $ 100\% $ (shown in the horizontal axis). Data come from subject 1 walking at normal speed.

Figure 6

Table 2. The $ VR $ of four channels’ capacitive signals (subject 1)

Figure 7

Table 3. The $ VR $ of four channels’ capacitive signals (subject 2)

Figure 8

Figure 6. The strain signals of prosthetic foot at normal walking speed (subject 1). The red solid curve denotes the strain signal. The black dashed and solid lines denote the gait events: heel strike and toe off, respectively.

Figure 9

Figure 7. The estimated continuous gait phase and the ground truth. The black solid denotes the estimated gait phase, and the red dashed denotes the ground truth.

Figure 10

Figure 8. The root-mean-square error between the estimation result and the ground truth (subject 1). The numbers on the top of bars represent the error values.

Figure 11

Figure 9. The root-mean-square error between the estimation result and the ground truth (subject 2). The numbers on the top of bars represent the error values.

Figure 12

Table 4. The root-mean-square error ($ {\theta}_{rms} $) and ratio ($ R $) (mean ± Std) of continuous gait phase estimation