Skip to main content
  • Original Article
  • Open access
  • Published:

Model Parameters Identification and Backstepping Control of Lower Limb Exoskeleton Based on Enhanced Whale Algorithm

Abstract

Exoskeletons generally require accurate dynamic models to design the model-based controller conveniently under the human-robot interaction condition. However, due to unknown model parameters such as the mass, moment of inertia and mechanical size, the dynamic model of exoskeletons is difficult to construct. Hence, an enhanced whale optimization algorithm (EWOA) is proposed to identify the exoskeleton model parameters. Meanwhile, the periodic excitation trajectories are designed by finite Fourier series to input the desired position demand of exoskeletons with mechanical physical constraints. Then a backstepping controller based on the identified model is adopted to improve the human-robot wearable comfortable performance under cooperative motion. Finally, the proposed Model parameters identification and control are verified by a two-DOF exoskeletons platform. The knee joint motion achieves a steady-state response after 0.5 s. Meanwhile, the position error of hip joint response is less than 0.03 rad after 0.9 s. In addition, the steady-state human-robot interaction torque of the two joints is constrained within 15 \({\text{N}\cdot\text{m}}\). This research proposes a whale optimization algorithm to optimize the excitation trajectory and identify model parameters. Furthermore, an enhanced mutation strategy is adopted to avoid whale evolution's unsatisfactory local optimal value.

1 Introduction

The key aspects of the current exoskeleton research are focused on quality, security, and stability. Reliable exoskeleton control and cooperative motion realization require an accurate dynamic model [1, 2]. Meanwhile, the advanced controllers such as position, speed and torque loop also depend on model accuracy to improve the cooperative motion performance. The wearable comfortable performance is determined by the time-varying torque of human-robot interaction, which should be real-time constrained in a tiny range by the designed controller [3, 4]. In addition, many robot manufacturers do not provide these model parameters or only obtain partial parametric information [5]. Due to the irregular bionic structure, the exoskeleton's physical parameters such as centroids, moments of inertia and mechanical size are difficult to measure in practice. Hence, parameter identification is an effective approach to obtaining an accurate exoskeleton model before the controller design.

It is well recognized that the model identification method is commonly used in mechanical motion plants. There are several approaches to estimating the dynamic parameters. For instance, the maximum likelihood estimation methods [6, 7] and least squares estimation methods are popular methods to obtain the high-accuracy original model [8, 9]. The statistical parameter is fit by these two methods, but not to be suitable for very complex models, such as exoskeleton dynamic models. Some other methods include the extended Kalman filter [10] and Bayesian neural networks [11, 12] are also used in robot and grey-box thermal models. Furthermore, many other estimation methods are also proposed to address model uncertainty and external load based on least squares, such as the total least squares [13], weighted least squares [10, 14] and the online recursive estimation method [15]. In these methods, joint angle and torque can be directly measured, but joint velocity and acceleration must be pre-estimated. The designed observer and estimators [16], especially the zero-phase bandpass filter [17, 18] are commonly used to improve the output performance.

The design of excitation trajectory is necessary for general robot identification [19] due to plant physical constraints. The excitation trajectory is provided to sufficiently estimate the accurate model parameters under unknown disturbances [20]. Han et al. [21] proposed an iterative approach with the weighted least squares (WLS). This method iteratively used the least squares to address the nonlinear friction model constrained by linear matrix inequality (LMI). Hence, the measurement noise can be properly rejected in controller design. Lee et al. [22] presented a parameter identification method to generate a random excitation trajectory of a robot manipulator joint based on recursive least squares (RLS). Gao [23] used an iterative identification process based on the least square method and obtained more than 80% reduction of motion uncertainty. Most of these methods are designed for industrial robots and acquire appropriate identification parameters. However, the exoskeleton cannot be accurately modeled due to a strong human-robot coupling system with a fast cooperative motion response [24, 25].

In this study, a 2-DOF lower limb exoskeleton was constructed to realize the human-robot cooperative motion. This 2-DOF rehabilitation exoskeleton is primarily geared towards patients with subacute or early-stage problems. Although some problems with muscle contraction and coordination have been observed, this group of patients still has the ability to move. It can be used to complete cooperative human-machine rehabilitation training. Inspired by previous studies about the identification and control method, the exoskeleton's active control mode is studied to improve the wearable comfortable performance between the operator and exoskeleton. The main contributions of this paper are twofold.

  1. (1)

    The periodic excitation trajectories are designed by a finite Fourier series to consider the mechanical physical constraint of human-robot cooperative motion. A whale optimization algorithm is presented to optimize the excitation trajectory and identify model parameters. Furthermore, an enhanced mutation strategy is adopted to avoid whale evolution's unsatisfactory local optimal value. To the authors' best knowledge, the enhanced whale optimization algorithm (EWOA) is a new method to identify the exoskeleton model parameters.

  2. (2)

    The backstepping controller is designed to realize the active control mode of the exoskeleton based on the identified dynamic model to improve the wearable comfortable performance of the operator. The dynamic and steady-state response is guaranteed by the proposed control scheme in a two-DOF exoskeletons platform.

The remainder of this paper is organized as follows. The exoskeleton dynamics and its transformed model are constructed in Section 2. The excitation trajectory design and the EWOA algorithm are described in Section 3. Then the parameter identification, the backstepping controller and experimental verification are introduced in Section 4. Finally, the conclusions are drawn in Section 5.

2 Identification Model Framework

2.1 Model Identification and Control Scheme

This study presents an identification method using an enhanced whale algorithm to identify the model parameters of the exoskeleton. Then a backstepping controller is designed based on the identification model as shown in Figure 1.

Figure 1
figure 1

Model identification and backstepping control scheme

Firstly, the Lagrange model of exoskeleton is constructed to separate unknown parameters and the measured information, such as joint torque and angle obtained by some sensors. Subsequently, a finite Fourier series is used to design the periodic excitation trajectory based on the physical constraints of the exoskeleton. Then the EWOA is applied to optimize the parameters of the excitation trajectory. In the presence of unknown model parameters, PID control is initially employed in excitation experiments to acquire Input/Output (I/O) datasets. Using these datasets, the EWOA is employed to identify the model parameters. Finally, based on the identified dynamic model, a backstepping controller is designed to manipulate the exoskeleton to follow a random demand trajectory with satisfactory wearable comfortable performance.

2.2 Lagrange Modeling

This theoretical and physical model of the lower limb exoskeleton is shown in Figure 2. The exoskeleton is a typical second-order state feedback system, which is mainly composed of controllers, sensors, actuators, and various auxiliary devices. The centroid positions of thigh and calf in Cartesian coordinate system are expressed by \(({X}_{1},{Y}_{1})\), \(({X}_{2},{Y}_{2})\), and the related variables are shown in Table 1.

Figure 2
figure 2

The theoretical and physical model of the lower limb exoskeleton system

Table 1 Parameters and definitions in exoskeleton

According to the geometric relationship, the relationship between joint coordinates and its centroid is given by

$$\left\{ \begin{gathered} X_{1} = l_{th} \cos (\theta_{1} ), \hfill \\ Y_{1} = l_{th} \sin (\theta_{1} ), \hfill \\ X_{2} = a_{th} \cos (\theta_{1} ) + l_{sh} \cos (\theta_{1} + \theta_{2} ), \hfill \\ Y_{2} = a_{th} \sin (\theta_{1} ) + l_{sh} \sin (\theta_{1} + \theta_{2} ). \hfill \\ \end{gathered} \right.$$
(1)

The Lagrange equation of exoskeleton yields that

$$\left\{ \begin{gathered} L = K - P, \hfill \\ \tau = \frac{\partial }{\partial t}\frac{\partial L}{{\partial \dot{\theta }}} - \frac{\partial L}{{\partial \theta }}, \hfill \\ \end{gathered} \right.$$
(2)

where L represents the total energy of Lagrangian system, K represents the system's kinetic energy, P represents the potential energy, and \(\tau\) represents the external torque of the joint.

The driven torque of exoskeleton is described as

$${\varvec{\tau}} = [\tau_{hip} ,\tau_{knee} ]^{{\text{T}}} ,$$
(3)

where \({\tau }_{hip},{\tau }_{knee}\) represent the toque of hip and knee, respectively.

The dynamic equation of the two-DOF lower limb exoskeleton is constructed as

$${\varvec{H}}(\theta )\ddot{\theta } + {\varvec{C}}(\theta ,\dot{\theta })\dot{\theta } + {\varvec{G}}(\theta ) = {\varvec{\tau}},$$
(4)

where \({\varvec{H}}(\theta )\ddot{\theta },{\varvec{C}}(\theta ,\dot{\theta }),{\varvec{G}}(\theta )\) are inertial matrix, Coriolis matrix, gravity matrix, respectively. They can be expressed as

$$\left\{ \begin{gathered} {\varvec{H}} = \left[ \begin{gathered} H_{11} \hfill \\ H_{21} \hfill \\ \end{gathered} \right.\left. \begin{gathered} H_{12} \hfill \\ H_{21} \hfill \\ \end{gathered} \right], \hfill \\ {\varvec{C}} = \left[ \begin{gathered} C_{11} \hfill \\ C_{21} \hfill \\ \end{gathered} \right.\left. \begin{gathered} C_{12} \hfill \\ C_{22} \hfill \\ \end{gathered} \right], \hfill \\ {\varvec{G}} = \left[ \begin{gathered} G_{1} \hfill \\ G_{2} \hfill \\ \end{gathered} \right]. \hfill \\ \end{gathered} \right.$$
(5)

In addition, the friction force exists in the exoskeleton dynamic model, which mainly considers the Coulomb friction and viscous friction items as

$${\varvec{f}}(\dot{\theta }) = \left[ \begin{gathered} k_{11} {\text{sgn}} (\dot{\theta }_{1} ) + k_{12} \dot{\theta }_{1} \hfill \\ k_{21} {\text{sgn}} (\dot{\theta }_{2} ) + k_{22} \dot{\theta }_{2} \hfill \\ \end{gathered} \right],$$
(6)

where \({k}_{11},{k}_{21}\) represent the coulomb friction coefficients of the exoskeleton thigh and calf, respectively; \({k}_{12},{k}_{22}\) represent the viscous friction coefficient; sgn is the symbolic function.

Therefore, the whole exoskeleton model can be expressed as

$${\varvec{H}}(\theta )\ddot{\theta } + {\varvec{C}}(\theta ,\dot{\theta })\dot{\theta } + {\varvec{G}}(\theta ) + {\varvec{f}}(\dot{\theta }) = {\varvec{\tau}}.$$
(7)

2.3 Transformed Lagrangian Model

There exists an unknown parameter matrix \(\boldsymbol{\Phi }\in {\mathbb{R}}^{m}\) involving mass, inertia, and mechanical size of exoskeleton. Here a linear relationship is firstly constructed between unknown parameters and the measured information, such as joint torque and angle obtained by some sensors, which is described as

$${\varvec{H}}(\theta )\dot{\xi } + {\varvec{C}}(\theta ,\dot{\theta }){\varvec{\xi}} + {\varvec{G}}(\theta ) + {\varvec{f}}(\dot{\theta }) = {\varvec{Y}}(\theta ,\dot{\theta },{\varvec{\xi}},\dot{\xi }){\varvec{\varPhi}},$$
(8)

where \({\varvec{Y}}(\theta ,\dot{\theta },\varvec{\xi} ,\dot{\xi })\) is a regression matrix, and \({\varvec{\xi}}\in {\mathbb{R}}^{n}\) is a differentiable vector.

For the exoskeleton robot, the state matrix Y and the parametric vector \(\boldsymbol{\Phi }\) are expressed as

$${\varvec{\varPhi}}= \left[ {\Phi^{1} ,\Phi^{2} ,\Phi^{3} ,\Phi^{4} ,\Phi^{5} ,\Phi^{6} ,\Phi^{7} ,\Phi^{8} } \right],$$
(9)
$${\varvec{Y}} = \left[ \begin{gathered} Y^{11} ,Y^{12} ,Y^{13} ,Y^{14} ,Y^{15} ,Y^{16} ,Y^{17} ,Y^{18} \hfill \\ Y^{21} ,Y^{22} ,Y^{23} ,Y^{24} ,Y^{25} ,Y^{26} ,Y^{27} ,Y^{28} \hfill \\ \end{gathered} \right],$$
(10)

where

$$\left\{ \begin{gathered} \Phi^{1} = I_{th} + I_{sh} + m_{th} l_{th}^{2} + m_{sh} a_{th}^{2} + m_{sh} l_{sh}^{2} , \hfill \\ \Phi^{2} = I_{sh} + m_{sh} l_{sh}^{2} , \hfill \\ \Phi^{3} = m_{sh} a_{th} l_{sh} , \hfill \\ \Phi^{4} = m_{th} a_{th} l_{th} - I_{th} - m_{th} l_{th}^{2} , \hfill \\ \end{gathered} \right.$$
(11)

and \({\Phi }^{5}={k}_{11},{\Phi }^{6}={k}_{12},{\Phi }^{7}={k}_{21},{\Phi }^{8}={k}_{22}\), the state matrix Y is expressed as \({Y}^{11}={\ddot{\theta }}_{1}+e{\text{sin}}{\theta }_{1}\), \({Y}^{12}={\ddot{\theta }}_{2}+e{\text{sin}}{\theta }_{1}\), \({Y}^{13}=2{\text{cos}}{\theta }_{2}{\ddot{\theta }}_{1}+{\text{cos}}{\theta }_{2}{\ddot{\theta }}_{2}-2{\text{sin}}{\theta }_{2}{\dot{\theta }}_{1}{\dot{\theta }}_{2}-{\text{sin}}{\theta }_{2}{\dot{\theta }}_{2}^{2}+e{\text{sin}}({\theta }_{1}+{\theta }_{2}),\)  \({Y}^{14}=e{\text{sin}}{\theta }_{1},\) \({Y}^{15}={\text{sgn}}({\dot{\theta }}_{1}),\) \({Y}^{16}={\dot{\theta }}_{1},\) \({Y}^{22}={\ddot{\theta }}_{1}+{\ddot{\theta }}_{2},\) \({Y}^{23}={\text{cos}}{\theta }_{2}{\ddot{\theta }}_{1}+{\text{sin}}{\theta }_{2}{\dot{\theta }}_{1}^{2}+e{\text{sin}}({\theta }_{1}+{\theta }_{2}),\)  \({Y}^{27}={\text{sgn}}({\dot{\theta }}_{2}),\)  \({Y}^{28}={\dot{\theta }}_{2}\), and \({Y}^{17},{Y}^{18},{Y}^{21},{Y}^{24},{Y}^{25},{Y}^{26}\) is 0 in Y, \(e=g/{a}_{th}\) is the intermediate variable.

Hence, the model functions H, C, G are expressed as

$$\left\{ \begin{gathered} {\varvec{H}}{ = }\left[ {\begin{array}{*{20}c} {\Phi^{1} + 2\Phi^{3} \cos \theta_{2} } & {\Phi^{2} + \Phi^{3} \cos \theta_{2} } \\ {\Phi^{2} + \Phi^{3} \cos \theta_{2} } & {\Phi^{(2)} } \\ \end{array} } \right], \hfill \\ {\varvec{C}} = \left[ {\begin{array}{*{20}c} { - 2\Phi^{3} \dot{\theta }_{2} \sin \theta_{2} } & { - \Phi^{3} \dot{\theta }_{2} \sin \theta_{2} } \\ {\Phi^{3} \dot{\theta }_{1} \sin \theta_{2} } & 0 \\ \end{array} } \right], \hfill \\ {\varvec{G}} = \left[ \begin{gathered} \Phi^{3} e\sin (\theta_{1} + \theta_{2} ) + (\Phi^{1} - \Phi^{2} + \Phi^{4} )e\sin \theta_{1} \\ \Phi^{3} e\sin (\theta_{1} + \theta_{2} ) \\ \end{gathered} \right]. \hfill \\ \end{gathered} \right.$$
(12)

According to Eqs. (7) and (8), the transformed Lagrangian model of exoskeleton is given by

$${\varvec{\tau}} = {\varvec{Y}}(\theta ,\dot{\theta },{\varvec{\xi}},\dot{\xi }){\varvec{\varPhi}},$$
(13)

where \(\boldsymbol{\Phi }\) is the unknown parameters to be identified based on the regressive vector \({\varvec{\tau}}\) and the state matrix Y, which are obtained by sampling datasets.

3 EWOA Optimization and Excitation Trajectories Design

3.1 EWOA Optimization

The unknown parameters of the exoskeleton are separated from the measured state in Section 2. In the literature, there are several optimistic algorithms to identify system parameters, such as Particle Swarm Optimization (PSO) [26] and Whale Optimization Algorithm (WOA) [27]. This study proposes the Enhanced Whale Optimization Algorithm (EWOA) to identify model parameters. The algorithm feature simulates the optimization processing of the mathematical modeling related to humpback whale hunting [28].

In the whale algorithm, the position of each whale represents a feasible solution. Each whale has two behaviors during the hunting process: One is to surround the prey, which means all the whales move toward the prey. The other behavior is to create a bubble net, where the whales swim in a circle and eject bubbles to drive the prey away. Whales will randomly choose these two behaviors to hunt in each generation of swimming.

The position of each whale in the M-dimensional solution space is given by

$$X = (x_{1} ,x_{2} ,x_{3} , \cdots ,x_{M} ).$$
(14)

As the whale swims towards the optimal position in the process of surrounding prey, the position can be calculated as

$$X_{i}^{t + 1} = X_{best}^{t} - {\varvec{A}}\left| {C * X_{best} - X_{i}^{t} } \right|,$$
(15)

where \({X}_{best}\) is the current optimal whale position; the dimension of A is a random number uniformly, which is distributed in (−a, a). The initial value of a is 2, and it linearly decreases into 0 in the finite iterations number, C is a random number uniformly distributed in (0, 2).

After a group of whales swim towards the position of a random whale, the next iterative position is obtained as

$$X_{i}^{t + 1} = X_{rand}^{t} - {\varvec{A}}\left| {C * X_{rand} - X_{i}^{t} } \right|.$$
(16)

The swimming mode depends on the value of A. In the other word, the whale chooses to swim toward the optimal individual as |A<1|. Otherwise, it swims towards a random individual. During the hunting process, the bubble net is used to update the whale's position as

$$X_{i}^{t + 1} = \left| {X_{best}^{t} - X_{i}^{t} } \right| * e^{l} * \cos (2\uppi l) + X_{best}^{t} ,$$
(17)

where l is a random number uniformly distributed in [− 1,1].

The local optimization problem quickly appears in the whale algorithm compared with the PSO algorithm, as shown in Figure 3(a). To avoid the local optimal solution, differential mutation was used to improve the total optimization performance. It is to be noted that the better individual whales are selected in the current population for mutation. This mutation way is described as Eq. (18), which can effectively expand the algorithm search domain and prevent the local optimal solution.

$$V_{i} (t + 1) = X_{i} (t) + \phi ({\varvec{X}}_{r1} (t) - {\varvec{X}}_{r2} (t)),$$
(18)

where V represents the position of the ith whale; \(\phi\) is a scaling factor; \({{\varvec{X}}}_{r1}(t)-{{\varvec{X}}}_{r2}(t)\) represents the difference vector of the whale position under the current iterations. The new mutated individual will be replaced the original individual as the better one.

Figure 3
figure 3

The comparison results of different optimization algorithms

In this study, WOA, PSO, and EWOA are all used to optimize the parameters, respectively. The population size of the algorithm is set to 100, and the maximum number of iterations is 200 as shown in Figure 3(a). The horizontal coordinate is the iteration number. The vertical coordinate represents the fitness value, i.e. the condition number of the state matrix Y. The vertical coordinate is a small value means the better results of the excitation trajectory. Meanwhile, the three algorithms are used to optimize the unknown parameters \(\phi\) of the exoskeleton dynamics model as shown in Figure 3(b).

The WOA converges fastest but easily falls into local optimal solution among three algorithms. Meanwhile, the convergence speed of the PSO algorithm in the initial stage is faster than that of EWOA. However, the optimization solution of PSO is convergence with the increasing iterations. The convergence rate of the EWOA is slightly slower than the WOA, but the local optimal solution is obviously improved after 50 iterations.

3.2 Generation of Excitation Trajectories

The off-line identification has certain requirements for the experimental signal, which should fully excite all motion modes of the identified plant [20]. A reasonable excitation trajectory should consider the mechanical physical constraint. In the regression matrix \({\varvec{Y}}(\theta ,\dot{\theta },\xi ,\dot{\xi })\), external disturbance will emerge as a great influence on the identification results. Based on the Fourier series, the excitation trajectory is composed of finite sums of N harmonic sine and cosine functions, which is expressed as

$$\left\{ \begin{gathered} \theta_{d} = \theta_{d} + \sum\limits_{\kappa = 1}^{N} {(a_{\kappa } \sin (\kappa \omega_{f} t) + b_{\kappa } \cos (\kappa \omega_{f} t)),} \hfill \\ \dot{\theta }_{d} = \sum\limits_{\kappa = 1}^{N} {\kappa \omega_{f} (a_{\kappa } \cos (\kappa \omega_{f} t) - b_{\kappa } \sin (\kappa \omega_{f} t)),} \hfill \\ \ddot{\theta }_{d} = \sum\limits_{\kappa = 1}^{N} {(\kappa \omega_{f} )^{2} ( - a_{\kappa } \sin (\kappa \omega_{f} t) - b_{\kappa } \cos (\kappa \omega_{f} t)),} \hfill \\ \end{gathered} \right.$$
(19)

where \({\theta }_{d}\) is the initial value of the joint, the initial value in the thigh \({\theta }_{1}\) is 0.6107 rad, and the initial value in the calf \({\theta }_{2}\) is −0.8727 rad ; \({\theta }_{d}\), \({\dot{\theta }}_{d}\), \({\ddot{\theta }}_{d}\) represent the desired joint angle, angular velocity, angular acceleration, respectively; \(a_{\kappa }\), \(b_{\kappa }\) are the coefficient of the Fourier series to be optimized, \({\omega }_{f}\) is the fundamental frequency, N = 4 is the Fourier series period.

In addition, the exoskeleton needs to ensure the wearer's safety during the human-robot cooperative motion. The motion range must be limited during the exoskeleton's movement. Hence, the boundary conditions of the exoskeleton are shown in Table 2.

Table 2 The boundary conditions of exoskeleton

The objective of parametric identification is to obtain an optimization solution for the EWOA. An optimal criterion is used to find the periodic excitation trajectories based on the minimum condition number of the regression matrix [19, 29, 30]. Therefore, the condition number of the regression matrix is adopted as a fitness function in the algorithm optimization.

It can be expressed as

$$Fitness = K(Y) = \left\| Y \right\| \cdot \left\| {Y^{ - 1} } \right\|.$$
(20)

Based on a typical human gait, \({\omega }_{f}=0.2\uppi\) is substituted into the designed excitation trajectory Eq. (19). There are 16 parameters to be optimized. The minimum condition number of the regression matrix is selected as the final result of the EWOA. The final optimization solution of \({a}_{k},{b}_{k}\) (hip joint) and \({A}_{k},{B}_{k}\) (knee joint) are shown in Table 3.

Table 3 The parameters of excitation trajectory

The excitation trajectories of the exoskeleton two joints are obtained based on the optimized parameters shown in Figure 4. The angle position, velocity, and acceleration of the identified excitation trajectory are constrained in Table 2.

Figure 4
figure 4

Excitation trajectory optimized by EWOA

3.3 Model Parameter Identification

The excitation trajectory is selected as the desired trajectory demand of the exoskeleton. Furthermore, the PID controller drives the two-DOF lower limb exoskeleton experimental platform, as shown in Figure 2. The exoskeleton's joint position and real-time torque are obtained by the absolute encoders and torque sensors (integrating into the motor). Moreover, the obtained information is constructed as the dataset to identify the model parameters based on EWOA.

According to Eq. (13), and the current estimated parameter \(\widehat{\boldsymbol{\Phi }}\) by EWOA, the estimated torque \(\widehat{{\varvec{\tau}}}\) is expressed as

$$\hat{\user2{\tau }} = \user2{\overline{Y}\hat{\Phi }},$$
(21)

where \(\overline{\user2{Y}}\) is the element in the dataset. The error \(\tilde{\tau } = \overline{\tau } - \hat{\tau }\) is the important basis for evaluating \(\widehat{\boldsymbol{\Phi }}\). Therefore, the mean square deviations of calculated torque \(\hat{\user2{\tau }}\) and measured torque \(\overline{\user2{\tau }}\) are designed as a fitness function and \(\widehat{\boldsymbol{\Phi }}\) is optimized by EWOA. The fitness function can be expressed as

$$Fitness = \sum\limits_{i}^{N} \frac{1}{2} (\overline{\tau }_{i} - \hat{\user2{\tau }}_{i} )^{{\text{T}}} (\overline{\tau }_{i} - \hat{\user2{\tau }}_{i} ),$$
(22)

where N is the samples number, \(\overline{\tau }_{i}\) represents the measured torque of the i test data, and \({\widehat{{\varvec{\tau}}}}_{i}\) represents the calculation torque from Eq. (21).

The identification parameters \(\widehat{\boldsymbol{\Phi }}\) of exoskeleton is obtained based on the EWOA as the fitness function is the smallest value, as shown in Table 4.

Table 4 Parameters of exoskeleton dynamic model

4 Experiments and Results

In this section, the excitation trajectory in Section 3.2 is used to drive the exoskeleton experimental data. Based on the EWOA, the model parameters are identified by using the collected dataset. Then the backstepping controller was designed based on the exoskeleton model after parameter identification. The model accuracy is verified through human-robot cooperative motion experiments.

4.1 Experimental Description and Data Processing

The excitation trajectory is regarded as the desired demand trajectory. A PID controller is used to drive a two-DOF lower limb exoskeleton experimental platform. According to the data collected by the encoder and torque sensor, the regression matrix Y and \(\boldsymbol{\Phi }\) are obtained after filtering. The model parameters are calculated from the regression matrix and the torques. The accuracy of the model parameters can be verified by comparing the calculated with actual torques. In addition, some other test trajectories different from the excitation trajectory are used to verify the identification accuracy. Finally, the control experiment of the lower limb exoskeleton is realized by the backstepping controller.

The Butterworth low-pass filter is used to address the driving torque noise. In order to prevent the phase change of the filtered torque, both forward and reverse filtering are adopted to filter the torque signal as shown in Figure 5. In Figure 6, the blue curve represents the measured joint torque, and the red curve represents the calculated torque by the identification model. The experimental results show that the actual driving torque has a high fitness to the calculated torque. However, some discrete point errors are large due to unknown friction near the joint.

Figure 5
figure 5

The measured joint torque based on Butterworth low-pass filter

Figure 6
figure 6

The estimated joint torque and the corresponding filtered signal

The measured and estimated torques for the steady state are compared in Figures 7 and 8. The results show that the estimated torque is consistent with the measured torque.

Figure 7
figure 7

The measured joint torque and the corresponding filtered signal

Figure 8
figure 8

The comparison of measured and estimated joint torque

4.2 Model-Based Control

The model-based control is designed based on the exoskeleton parameters identification. In this study, a backstepping controller (7) [31] is used to improve both the wearable comfortable performance of operator and the real-time following error is constrained in a satisfactory boundary.

If the exoskeleton state variables are defined as \({{\varvec{x}}}_{1}=[{\theta }_{1},{\theta }_{2}{]}^{{\text{T}}}\), \({\dot{{\varvec{x}}}}_{1}=[{\dot{\theta }}_{1},{\dot{\theta }}_{2}{]}^{{\text{T}}}\), then the state space model of the exoskeleton dynamics yields that

$$\left\{ \begin{gathered} \dot{\user2{x}}_{1} = {\varvec{x}}_{2} , \hfill \\ \dot{\user2{x}}_{2} = {\varvec{H}}^{ - 1} (\tau - {\varvec{Cx}}_{2} - {\varvec{G}} - {\varvec{f}}). \hfill \\ \end{gathered} \right.$$
(23)

The desired trajectory \({{\varvec{x}}}_{d}=[{\theta }_{1d},{\theta }_{2d}{]}^{{\text{T}}}\), and the desired joint velocities \({\dot{{\varvec{x}}}}_{d}=[{\dot{\theta }}_{1d},{\dot{\theta }}_{2d}{]}^{{\text{T}}}\) of the exoskeleton joint are selected as arbitrary trajectoris constrained in Table 2. The values of H, C, G are determined by the identified parameters \(\widehat{\boldsymbol{\Phi }}\) in Eq. (12).

The state errors of exoskeleton \({\delta }_{1}\in {\mathbb{R}}^{2}\), \({\delta }_{2}\in {\mathbb{R}}^{2}\) are defined as

$$\left\{ \begin{gathered} \delta_{1} = x_{1} - x_{d} , \hfill \\ \delta_{2} = x_{2} - \alpha , \hfill \\ \end{gathered} \right.$$
(24)

where \(\alpha =-{K}_{1}{\delta }_{1}+{\dot{x}}_{d}\) is the virtual control quantity, and \({{\varvec{K}}}_{1}={\mathbb{R}}^{2\times 2}\) is a positive definite matrix.

Hence, the controller is designed as

$${\varvec{\tau}} = - {\varvec{\delta}}_{1} - {\varvec{K}}_{2} {\varvec{\delta}}_{2} + {\varvec{G}} + {\varvec{C}}\alpha + {\varvec{f}} + {\varvec{H}}\dot{\alpha },$$
(25)

where \({{\varvec{K}}}_{2}={\mathbb{R}}^{2\times 2}\) is a positive definite matrix.

Then the controller stability is analyzed by Lyapunov technique. Firstly, the Lyapunov function \({V}_{1}\) is designed as

$$V_{1} = \frac{1}{2}\delta_{1}^{{\text{T}}} \delta_{2} .$$
(26)

The derivative of \({V}_{1}\) yields that

$$\dot{V}_{1} = \delta_{1}^{{\text{T}}} (\delta_{2} + \alpha - \dot{x}_{d} ).$$
(27)

Meanwhile, the Lyapunov function \({V}_{2}\) is designed as

$$V_{2} = V_{1} + \frac{1}{2}\delta_{2}^{2} H\delta_{2} .$$
(28)

Similarly, the derivative of \({V}_{2}\) is given by

$$\dot{V}_{2} = \dot{V}_{1} + \delta_{2}^{{\text{T}}} H\dot{\delta }_{2} + \frac{1}{2}\delta_{2}^{{\text{T}}} \dot{H}\delta_{2} .$$
(29)

Since \(\dot{{\varvec{H}}}-2{\varvec{C}}\) is an anti-symmetric matrix, then \(1/2{\delta }_{2}^{{\text{T}}}(\dot{{\varvec{H}}}-2{\varvec{C}})=0\). Substituting the backstepping controller Eq. (25) into Eq. (29), we have

$$\dot{V}_{2} = - \delta_{1}^{{\text{T}}} K_{1} \delta_{1} - \delta_{2}^{{\text{T}}} K_{2} \delta_{2} ,$$
(30)

which indicate the exoskeleton system is asymptotically convergence to 0, as \(t\to 0\).

Finally, a demand trajectory of exoskeleton is selected as \({x}_{d}={\text{sin}}(0.5\uppi t)\). The related experimental results are shown in Figures 9 and 10.

Figure 9
figure 9

The joint position, and the corresponding position error, together with the measured torque of hip joint by using backstepping controller

Figure 10
figure 10

The joint position, and the corresponding position error, together with the measured torque of knee joint by using backstepping controller

The controller starts at 3 s, and the position response is shown in Figures 9 and 10. The knee joint motion achieves a steady-state response after 0.5 s. Meanwhile, the position error of hip joint response is less than 0.03 rad after 0.9 s. Since the exoskeleton system changes from static to dynamic, the joint torque is enlarged in the transient response range but has a safe range value. As the system approaches a steady-state response, the joint torque is in the normal range and periodically changes along with the demand trajectory. The experimental results show that the exoskeleton control based on the mathematical model after parameter identification can achieve high precision. In addition, the steady state human-robot interaction torque of the two joints is constrained within 15 \({\text{N}\cdot\text{m}}\) as shown in Figure 11. This torque is within a reasonable range, which improves the human-robot wearable comfortable performance under cooperative motion.

Figure 11
figure 11

The steady state human-robot interaction torque by using backstepping controller

5 Conclusions

In this study, the 2-DOF lower limb exoskeleton platform is constructed by the Lagrange model to verify the model parameters identification and backstepping control experiment. The enhanced whale optimization algorithm (EWOA) is presented to design the excitation trajectories and identify the unknown model parameters such as the mass, moment of inertia and mechanical size. The periodic excitation trajectories should consider the mechanical physical constraint in order to input the desired position demand of exoskeletons. Then a backstepping controller based on the identified model is designed to improve the human-robot wearable comfortable performance under cooperative motion. The dynamic and steady state response of the exoskeleton is guaranteed to synchronize the operator's gait trajectories with satisfactory performance.

Data availability

The data that support the findings of this study are available on request from the corresponding author, [Jiange Kou], upon reasonable request.

References

  1. K Anam, A Al-Jumaily. Active exoskeleton control systems: State of the art. Procedia Engineering, 2012, 41: 988-994.

    Article  Google Scholar 

  2. S Rupal, S Rafique, A Singla, et al. Lower-limb exoskeletons: Research trends and regulatory guidelines in medical and non-medical applications. International Journal of Advanced Robotic Systems, 2017, 14(6): 1729881417743554.

    Article  Google Scholar 

  3. Q Guo, Q Wang, X Li. Finite-time convergent control of electrohydraulic velocity servo system under uncertain parameter and external load. IEEE Transactions on Industrial Electronics, 2018, 66(6): 4513-4523.

    Article  Google Scholar 

  4. Z Chen, Q Guo, H Xiong, et al. Control and implementation of 2-DOF lower limb exoskeleton experiment platform. Chinese Journal of Mechanical Engineering, 2021, 34(1): 1-17.

    Article  Google Scholar 

  5. K Ayusawa, E Yoshida. Motion retargeting for humanoid robots based on simultaneous morphing parameter identification and motion optimization. IEEE Transactions on Robotics, 2017, 33(6): 1343-1357.

    Article  Google Scholar 

  6. M Li, X Liu. Maximum likelihood least squares based iterative estimation for a class of bilinear systems using the data filtering technique. International Journal of Control, Automation and Systems, 2020, 18(6): 1581-1592.

    Article  Google Scholar 

  7. E Wu, M Zhou, D Hu, et al. Self-paced dynamic infinite mixture model for fatigue evaluation of pilots’ brains. IEEE Transactions on Cybernetics, 2020, 52(7): 5623-5638.

    Article  Google Scholar 

  8. S Zhang, S Wang, F Jing, et al. A sensorless hand guiding scheme based on model identification and control for industrial robot. IEEE Transactions on Industrial Informatics, 2019, 15(9): 5204-5213.

    Article  CAS  Google Scholar 

  9. X Yang, Y Ni. Least-squares estimation for uncertain moving average model. Communications in Statistics-Theory and Methods, 2021, 50(17): 4134-4143.

    Article  MathSciNet  Google Scholar 

  10. M Gautier, P Poignet. Extended Kalman filtering and weighted least squares dynamic identification of robot. Control Engineering Practice, 2001, 9(12): 1361-1372.

    Article  Google Scholar 

  11. M Hossain, T Zhang, O Ardakanian. Identifying grey-box thermal models with Bayesian neural networks. Energy and Buildings, 2021, 238: 110836.

    Article  Google Scholar 

  12. W Kim, M Park, L Park. Probabilistic modeling and Bayesian filtering for improved state estimation for soft robots. IEEE Transactions on Robotics, 2021, 37(5): 1728-1741.

    Article  Google Scholar 

  13. Z Wei, C Zou, F Leng, et al. Online model identification and state-of-charge estimate for lithium-ion battery with a recursive total least squares-based observer. IEEE Transactions on Industrial Electronics, 2017, 65(2): 1336-1346.

    Article  Google Scholar 

  14. K Shah, M Adhyaru. Parameter identification of PWARX models using fuzzy distance weighted least squares method. Applied Soft Computing, 2014, 25: 174-183.

    Article  Google Scholar 

  15. E Madsen, O S Rosenlund, D Brandt, et al. Model-based on-line estimation of time-varying nonlinear joint stiffness on an e-series universal robots manipulator. 2019 International Conference on Robotics and Automation (ICRA), IEEE, 2019: 8408–8414.

  16. M Gautier, A Janot, P O Vandanjon. A new closed-loop output error method for parameter identification of robot dynamics. IEEE Transactions on Control Systems Technology, 2012, 21(2): 428-444.

    Article  Google Scholar 

  17. J Kim. Collision detection and reaction for a collaborative robot with sensorless admittance control. Mechatronics, 2022, 84: 102811.

    Article  Google Scholar 

  18. S Lu, X Wang. A new methodology to estimate the rotating phase of a BLDC motor with its application in variable-speed bearing fault diagnosis. IEEE Transactions on Power Electronics, 2017, 33(4): 3399-3410.

    Article  ADS  Google Scholar 

  19. J Swevers, C Ganseman, B Tukel, et al. Optimal robot excitation and identification. IEEE Transactions on Robotics and Automation, 1997, 13(5): 730-740.

    Article  Google Scholar 

  20. T Katsumata, B Navarro, V Bonnet, et al. Optimal exciting motion for fast robot identification. Application to contact painting tasks with estimated external forces. Robotics and Autonomous Systems, 2019, 113: 149-159.

    Article  Google Scholar 

  21. Y Han, J Wu, C Liu, et al. An iterative approach for accurate dynamic model identification of industrial robots. IEEE Transactions on Robotics, 2020, 36(5): 1577-1594.

    Article  Google Scholar 

  22. D Lee, G Bae, S Jung. A decentralized model identification scheme by random-walk RLS process for robot manipulators: Experimental studies. International Journal of Control, Automation and Systems, 2019, 17: 1856-1865.

    Article  Google Scholar 

  23. G Gao, G Sun, J Na, et al. Structural parameter identification for 6 DOF industrial robots. Mechanical Systems and Signal Processing, 2018, 113: 145-155.

    Article  ADS  Google Scholar 

  24. J Ghan, R Steger, H Kazerooni. Control and system identification for the Berkeley lower extremity exoskeleton (BLEEX). Advanced Robotics, 2006, 20(9): 989-1014.

    Article  Google Scholar 

  25. B Brahmi, M Driscoll, K Bojairami, et al. Novel adaptive impedance control for exoskeleton robot for rehabilitation using a nonlinear time-delay disturbance observer. ISA transactions, 2021, 108: 381-392.

    Article  PubMed  Google Scholar 

  26. D Yousri, B Thanikanti, D Allam, et al. Fractional chaotic ensemble particle swarm optimizer for identifying the single, double, and three diode photovoltaic models’ parameters. Energy, 2020, 195: 116979.

    Article  Google Scholar 

  27. N Pourmousa, M Ebrahimi, M Malekzadeh, et al. Parameter estimation of photovoltaic cells using improved Lozi map based chaotic optimization Algorithm. Solar Energy, 2019, 180: 180-191.

    Article  ADS  Google Scholar 

  28. S Chakraborty, K Saha, R Chakraborty, et al. An enhanced whale optimization algorithm for large scale optimization problems. Knowledge-Based Systems, 2021, 233: 107543.

    Article  Google Scholar 

  29. S Zhang, S Wang, F Jing, et al. Parameter estimation survey for multi-joint robot dynamic calibration case study. Science China Information Sciences, 2019, 62: 1-15.

    Article  ADS  MathSciNet  Google Scholar 

  30. A Tika, J Ulmen, N Bajcinca. Dynamic parameter estimation utilizing optimized trajectories. 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), IEEE, 2020: 7300–7307.

  31. K Khalil. Adaptive output feedback control of nonlinear systems represented by input-output models. IEEE Transactions on Automatic Control, 1996, 41(2): 177-188.

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

Not applicable.

Funding

Supported by National Key Research and Development Program of China (Grant No. 2022YFF0708903), Ningbo Municipal Key Technology Research and Development Program of China (Grant No. 2022Z006), and Youth Fund of National Natural Science Foundation of China (Grant No. 52205043)

Author information

Authors and Affiliations

Authors

Contributions

YS was in charge of the whole trial; JK proposed the method and wrote the manuscript; ZC and YW assisted with sampling and laboratory analyses; QG provided the laboratory resources and contributed to manuscript revisions. All authors read and approved the final manuscript.

Corresponding authors

Correspondence to Jiange Kou or Qing Guo.

Ethics declarations

Competing Interests

The authors declare no competing financial interests.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Shi, Y., Kou, J., Chen, Z. et al. Model Parameters Identification and Backstepping Control of Lower Limb Exoskeleton Based on Enhanced Whale Algorithm. Chin. J. Mech. Eng. 37, 26 (2024). https://doi.org/10.1186/s10033-024-01008-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s10033-024-01008-6

Keywords