1. Introduction
Exoskeletons have the ability to aid humans in physically demanding and injury-prone activities, such as lifting loads while squatting. This aid holds the capability to diminish physical requirements, mitigate related injuries, and potentially alleviate fatigue while maintaining proper postures. Furthermore, it has the capacity to diminish human metabolic energy expenditure and aid in the recovery of abilities lost as a result of strokes and spinal cord injuries [Reference Tang, Wang, Ji, Zhou, Yang, Wei and Zhang1, Reference Terrazas-Rodas, Rocca-Huaman, Ramírez-Amaya and Alvarez-Rodriguez2]. Despite their immense potential, the control of powered exoskeletons remains a persistent challenge.
A significant amount of work has been accomplished by developing lower limb powered exoskeletons over the past several years with the goal of aiding human movement [Reference Terrazas-Rodas, Rocca-Huaman, Ramírez-Amaya and Alvarez-Rodriguez2, Reference Young and Ferris3]. Researchers have explored diverse optimization-driven dynamic modeling methods to simulate the interaction among individuals utilizing exoskeletons [Reference Bai and Rasmussen4–Reference Arefeen and Xiang10]. However, there have been limited studies in the literature on the development of exoskeletons for squat and stoop lifting assistance [Reference Arefeen and Xiang10–Reference Sado, Yap, Ghazilla and Ahmad19]. Some researchers have focused solely on developing knee joint exoskeletons to minimize the metabolic cost and reduce muscle fatigue and muscle activity associated with squat lifting [Reference Zhang and Huang18–Reference Yu, Huang, Wang, Lynn, Sayd, Silivanov and Su22]. Additionally, multiple knee exoskeletons were developed to aid in tasks involving movement akin to squat lifting, like getting up and sitting down [Reference Shepherd and Rouse23, Reference Karavas, Ajoudani, Tsagarakis, Saglia, Bicchi and Caldwell24].
In the latest research [Reference de Andrade, Fabriz Ulhoa, Fragoso Dias, Filho and Vimieiro25–Reference Wu, Yang, Xia and Wang27], notable progress has been observed in the advancement of motorized knee and lower limb exoskeletons, specifically regarding their design and actuation. In addition, learning-based control strategies are getting popular among researchers [Reference Luo, Androwis, Adamovich, Su, Nunez and Zhou28–Reference Masengo, Zhang, Dong, Alhassan, Hamza and Mudaheranwa34], all of which contribute to the efficacy of these devices in assisting with squat lifting, walking, and rehabilitation. Luo et al. [Reference Luo, Androwis, Adamovich, Nunez, Su and Zhou29] presented a new approach to controlling a lower limb exoskeleton using deep reinforcement learning. This method yields a universal controller devoid of any control parameter adjustment. Li et al. [Reference Li, Cao and Zhu33] presented an overview of cutting-edge control approaches for exoskeletons in lower limb rehabilitation and addressed the current approach to challenges. On the other hand, Masengo et al. [Reference Masengo, Zhang, Dong, Alhassan, Hamza and Mudaheranwa34] discussed the recent development of lower limb exoskeletons, their control approaches, various applications, and problems associated with control systems. Luo et al. [Reference Luo, Androwis, Adamovich, Nunez, Su and Zhou35] presented a novel, deep neural network, reinforcement learning-based robust controller for a lower limb rehabilitation exoskeleton based on a decoupled offline human–exoskeleton simulation training with three independent networks, which can provide reliable walking assistance against various and uncertain human–exoskeleton interaction forces.
This work is the extension of our previous work [Reference Arefeen and Xiang10]. Arefeen and Xiang [Reference Arefeen and Xiang10] presented an optimal control approach for knee exoskeletons which uses single-case optimization. In this study, we propose a hybrid training model that utilizes a model-based optimization method to generate training data and an artificial neural network (ANN)-based learning method to offer real-time exoskeleton support in lifting activities. For the model-based optimization method, an inverse dynamics optimization formulation is considered to predict the optimal lifting motion and assistive torque. Then, the lifting optimization problem is tackled using a sequential quadratic programming (SQP) algorithm in sparse nonlinear optimizer (SNOPT) [Reference Gill, Murray and Saunders36]. The general regression neural network (GRNN) is used to train the learning-based control model. Once trained, the learning-based control model can provide exoskeleton assistive torque in real time for lifting tasks for any subject in the same age group based on the subject’s anthropometric parameters and lifting boundary postures. Two test subjects’ joint angles and GRFs comparisons are presented between the experimental (learning-based control) and simulation optimization results. The approach presented in this study provides some unique benefits: (1) this learning-based control approach is faster than the model-based optimal control approach [Reference Arefeen and Xiang10] and is computationally efficient. The trained network does not need to compute the optimization problem. (2) The proposed model can be applied to any subject in the same age group with a minimum number of network input parameters.
The structure of the contents is as follows: Section 2 provides a comprehensive explanation of the subject-specific coupled human–exoskeleton model and the equations of motion (EOM). The formulation of the optimization is presented in Section 3. Section 4 thoroughly discusses the experimental procedure and learning-based control approach for the knee exoskeleton. Section 5 provides an analysis of the findings from simulations and experiments. Lastly, Section 6 contains the discussion and concluding remarks.
2. Methods
2.1. Subject specific coupled human–exoskeleton model
This work focuses on the utilization of a 2D human skeletal model [Reference Zaman, Arefeen, Quarnstrom, Barman, Yang and Xiang37], depicted in Figure 1(a). The sagittal plane serves as the axis of symmetry for the model and comprises a total of $n=10$ degrees of freedom (DOFs), with three global DOFs. For the experiment, Figure 1(b) demonstrates the attachment of two 1-DOF exoskeletons to the knee joints [Reference Arefeen and Xiang10]. To simulate the system, the mass and inertia characteristics of the exoskeleton are taken into account through mathematical analysis. The construction of the human model employs the Denavit–Hartenberg (DH) method [Reference Denavit and Hartenberg38]. Every DOF relates to the rotation or translation between two parts of the body connected by either a rotating or sliding connection. The degree of freedom for both rotational and translational joints is measured along the local $z$ -direction. In the global Y-Z plane, all local rotation joints ( $z_{3}\sim z_{10}$ ) rotate in a clockwise direction. The Xsens motion capture system provides the subject’s body measurement data [Reference Arefeen and Xiang10]. The human model’s DH parameters are shown in Table 1, with L1 to L7 representing the lengths of the respective joint links in the human body. These joint link lengths are different and unique for different humans. As a result, our 2D model can be scaled for different individuals.
The human model’s kinematics and dynamics are through recursive kinematics and Lagrangian dynamics [Reference Xiang and Arefeen39, Reference Xiang, Arora, Rahmatalla and Abdel-Malek40]. In addition, this study includes the modeling of the electromechanical dynamics of DC motors used in exoskeletons [Reference Arefeen and Xiang10]. (See Appendix: Kinematics and dynamics)
3. Lifting optimization Formulation
3.1. Design variables
A cubic B-splines interpolation is employed to discretize $I(t)$ and $q(t)$ [Reference Xiang, Arora, Rahmatalla, Marler, Bhatt and Abdel-Malek41]. The design variables ( $\mathbf{x}$ ) consist of the control points $\mathbf{P}_{\textit{human}}$ for human joint angle and the control points $\mathbf{P}_{\textit{current}}$ for exoskeleton current. Therefore, the design variables are $\mathbf{x}=[\begin{array}{cc} \mathbf{P}_{\textit{human}}^{\mathrm{T}} & \mathbf{P}_{\textit{current}}^{\mathrm{T}} \end{array}]^{\mathrm{T}}$ .
3.2. Objective function
In this study, the sum of squared normalized human joint torques is treated as the cost function [Reference Arefeen and Xiang10, Reference Xiang, Arora, Rahmatalla and Abdel-Malek40–Reference Arefeen and Xiang42]:
where $T$ is the designated overall duration for the lifting operation, and $\tau _{i}^{U}$ and $\tau _{i}^{L}$ stand for the upper and lower boundaries of torque pertaining to the human $i^{th}$ joint.
3.3. Constraints
Time-dependent constraints are calculated sequentially at each time point in the optimization process. On the other hand, the optimization process evaluates time-independent constraints at specific times rather than throughout the entire motion. Table 2 presents the time-dependent and time-independent constraints [Reference Arefeen and Xiang10].
4. Control approach and experimental procedure
4.1. Hybrid training model
In this study, we have created a hybrid training model that includes data from experiments and model simulations to generate training data for the learning-based control model. The anthropometric parameters of the human subjects from the experiment are used as input parameters for the model-based method, as discussed in section 2.1. We have collected data from three subjects, as shown in Table 3. The input parameters of the lifting task include the subject’s weight, the subject’s height (head length, neck length, spine length, and hip to football), and initial, middle, and final postures (spine, shoulder, elbow, hip, knee, and ankle joints). For the learning-based model, the input training cases are created as various combinations of values from Table 3 [Reference Bataineh, Marler, Abdel-Malek and Arora44]. For example, first training case, the subject’s weight, subject’s height, and initial, middle, and final posture values are set to subject-1. The next training case is formulated by keeping the subject’s weight, subject’s height, and initial and middle posture values at subject-1 and moving the subject’s final posture values to subject-2. For the third training case, the subject’s final posture values are set to subject-3 by keeping the subject’s weight, subject’s height, and initial and middle posture values at subject-1. Using this process for the three subjects, we have created 243 training cases for input parameters: subject’s weight, subject’s height (group of link lengths), initial postures (group of joint angles), middle postures (group of joint angles), and final postures (group of joint angles). It is possible to create more training cases by increasing the total number of subjects and the number of input parameters for each subject. In the model-based method, we have used inverse dynamics optimization to find the optimal lifting motion and assistive exoskeleton torque. Finally, we have employed the least square optimization to transfer the optimal exoskeleton torque control points from the time domain to the joint angle domain, which are used as output parameters for the training, as presented in Figure 2 [Reference Arefeen and Xiang10]. On a computer with an Intel® CoreTM i7 2.11 GHz CPU and 16 GB RAM, the average simulation time for each training case is 0.54 s CPU time.
For each training case and lifting task, optimization-1 finds $(\tau _{exo}^{*})_{i}(t)$ (optimal exoskeleton torque) and $(\theta _{k}^{*})_{i}(t)$ (optimal knee angle) for the $i^{th}$ optimization, as illustrated in Figure 2 [Reference Arefeen and Xiang10]. In order to express $(\tau _{exo}^{*})_{i}(\theta _{e})$ , B-spline interpolation is utilized, where $\theta _{e}$ is the knee exoskeleton’s encoder angle. Using the least square optimization, optimization-2 finds ${(\mathbf{P}_{{\tau _{exo}}}})_{i}$ (exoskeleton torque control points) for $(\tau _{exo}^{*})_{i}(\theta _{e})$ (exoskeleton torque as a function of encoder angle) [Reference Arefeen and Xiang10].
4.2. Learning-based control method
We use an ANN, specifically a GRNN to train the hybrid model data from section 4.1 [Reference Bataineh, Marler, Abdel-Malek and Arora44], as shown in Figure 3. The GRNN represents a form of a radial basis network (RBN) that offers a global solution while optimizing the network parameter values during training [Reference Bataineh, Marler, Abdel-Malek and Arora44]. The architecture of the GRNN model, implemented using the MATLAB toolbox, consists of two layers: the RBF hidden layer and the linear output layer [Reference Zhao and Guo45]. Once GRNN has been trained, the trained model can provide the exoskeleton torque control points $(\mathbf{P}_{{\tau _{exo}}})$ for any subject’s (same age group) input parameters, as illustrated in Figure 4. These exoskeleton torque control points are considered for the calculations of the exoskeleton torque ( $\tau _{exo}(\theta _{e})$ ) in real time by using the B-spline interpolation during the lifting process (Figure 4). It is important to note that in order to provide support, the encoder angle has to fall within the stated initial and final boundary restrictions. If not, a lower predetermined constant assistance of $\tau _{exo}=2.1$ Nm is offered [Reference Arefeen and Xiang10].
Based on Table 4 input parameters, a comparison between the exoskeleton torque profile obtained from optimization (section 4.1) and learning-based control (section 4.2) is illustrated in Figure 5. Additionally, a statistical analysis of $\mathrm{R}^{2}$ values of the exoskeleton torque are calculated between optimal and GRNN results, as presented in Figure 6.
4.3. Experimental procedure
The learning-based control lifting experiment was performed at Oklahoma State University’s Biodynamics Optimization Lab, following approval from the Institutional Review Board (IRB). For this study, we considered two groups of subjects: (1) training GRNN group and (2) test subjects group for validation. All subjects were free of any prior injuries, and they each signed a written consent form before the experiment. For training the GRNN group, we recruited three healthy subjects with an age range of 22–30 years. The subjects’ anthropometric measurements were taken, as presented in Table 3. For 3D kinematic information, the Xsens motion capture system was employed at a frequency of 60 Hz, while the entire body sensors procedure was taken into account, as shown in Figure 7.
For the test subjects’ group, we selected three healthy subjects within an age range of 21–30 years. The participants visited the lab twice. Anthropometric measurements of the individuals were acquired on the initial visit, and a similar protocol to that of the first group was followed, as presented in Table 4. During the second visit, the experiment was conducted in two stages: (a) without exoskeletons and test subject-1 and test subject (b) with exoskeletons, as illustrated in Figure 8. The subject’s maximum voluntary contractions (MVCs) were initially recorded from the subject’s right leg’s vastus medialis, vastus lateralis, rectus femoris, and biceps femoris muscles at 2000Hz [Reference Arefeen and Xiang10]. Each muscle underwent three trials during the MVC testing [Reference Hamzaid, Smith and Davis46, Reference Wagner, Forister and Huot47], with each trial separated by a 30 s rest period. During the lifting tasks without an exoskeleton, the subject lifted an 11 kg box while standing on two Bertec force plates. The participant utilized the squat lifting strategy for this task. Xsens’s MVN Analyze Pro software recorded the lifting motion, while OptiTrack Motive 3.0 software recorded the ground reaction forces (GRFs) at 1000 Hz. Additionally, the raw EMG data was recorded using EMGworks Acquisition. With a 3-minute pause in between each lifting session, the task was performed three times. All the data were processed in MVN Analyze, Motive 3.0 and MATLAB [Reference Arefeen and Xiang10]. For the two force plates, the mean value was calculated for each trial’s processed GRFs. In the end, the three experimental attempt averages were evaluated to the predicted results.
In this study, the powered wearable knee exoskeletons created by Picasso Intelligence, LLC [Reference Arefeen and Xiang10] were employed for the lifting task with exoskeletons. The suggested learning-based control approach was implemented. Subsequently, the participant was instructed to don the exoskeleton and repeat the lifting task, as shown in Figure 8. The subject’s 3D kinematic data, EMG raw data, and GRFs were recorded, just like during the first visit. In addition, with a 3-minute pause in between each lifting session, the task was performed three times.
5. Results
In SNOPT, a SQP approach is adopted to address the lifting problem [Reference Gill, Murray and Saunders36]. For the optimization, the starting assumption is $\mathbf{x}=[\begin{array}{cc} \mathbf{P}_{\textit{human}}^{\mathrm{T}} & \mathbf{P}_{\textit{current}}^{\mathrm{T}} \end{array}]^{\mathrm{T}}=[\mathbf{0}]$ . For the lifting optimization without exoskeleton, we have considered five control points (nctrl =5) for each human joint angle profile in the cubic B-spline interpolation. The optimal solution for test subject simulation is obtained in 0.24 s CPU time.
For the optimization of lifting with the exoskeleton, there are two processes: (1) inverse dynamics optimization and (2) least square optimization, as illustrated in Figure 2. The DC motor’s electrical and mechanical characteristics are discussed in ref. [Reference Arefeen and Xiang10]. The optimization takes into account the exoskeleton torque boundaries between −16 Nm and 16 Nm. For the least square optimization, we have considered seven control points (nctrl_exo =7) for B-spline interpolation at each exoskeleton joint. Having more control points increases the accuracy of continuous mapping from the time domain to the angle domain. The optimal solution is obtained in 0.39 s CPU time. A computer equipped with an Intel® Core™ i7 2.11 GHz CPU and 16 GB RAM is utilized for the optimization process. The input data for the box-lifting task can be found in ref. [Reference Arefeen and Xiang10].
5.1. Simulation and experimental comparison (without the exoskeleton)
Figures 9 and 10 demonstrate a comparison between the experimental and simulated angles of various joints (spine, shoulder, elbow, hip, knee, and ankle) in the human body for test subjects 1 and 2. Similarly, Figures 11 and 12 present a comparison of the horizontal and vertical GRFs for the same subjects, both in experimental and simulation scenarios.
5.2. Simulation and experimental comparison (with the exoskeleton)
The analysis of various joint angles (spine, shoulder, elbow, hip, knee, and ankle) in the human body, based on experimental and simulation data for test subjects 1 and 2, is displayed in Figures 13 and 14. The comparison of the horizontal and vertical GRFs for participants 1 and 2 between experiments and simulations is shown in Figures 15 and 16.
6. Discussion
The predicted joint angles (spine, shoulder, elbow, hip, knee, and ankle) matched well with the experimental results in Figures 9 and 10 for test subjects 1 and 2. The predicted GRFs trends closely follow the experiment GRFs trends, as shown in Figures 11 and 12. However, the predicted vertical GRF (test subject-1) values are within 0.85% of the experimental GRF, with peak value differences of 2.60%. As for test subject-2, the predicted vertical GRF values are within 0.68% of the experimental GRF, with peak value differences of 1.63%.
For the lifting with exoskeletons, the joint angle comparisons (Figures 13 and 14) show similar trends and magnitudes in the predicted joint angle profiles (optimization) for both subjects, as compared to the experimental data (learning-based control). We also see that upper body joints exhibit greater differences than lower body joints. In Figures 15 and 16, horizontal GRFs exhibit similar trends and magnitude for test subjects 1 and 2. The predicted vertical GRFs also match the experimental GRFs by 2.78% and 4.79%, respectively. The peak value differences are 0.05% and 3.57% for test subject-1 and test subject-2, respectively.
We consider four muscles from the lower extremity for muscle activation comparison: knee extensors (rectus femoris, vastus medialis, and vastus lateralis) and knee flexors (biceps femoris), as shown in Figures 17, 18, and 19. With and without exoskeletons, the patterns of muscle activations show resemblance in both scenarios. Nonetheless, for both test subjects, the exoskeletons considerably lessen these muscle activations. For test subject-1, the peak values are seen to be decreased by 22.46%, 26.46%, 4.74%, and 7.72%, respectively, of the vastus medialis, vastus lateralis, biceps femoris, and rectus femoris muscles. Additionally, the mean values of the same muscle group with exoskeleton support are 0.117, 0.136, 0.038, and 0.146, respectively. The mean values for the same muscle group in the absence of exoskeletons are 0.236, 0.276, 0.068, and 0.112, respectively. Thus, when comparing the mean values of the four muscles activation with and without exoskeleton, there are certain percentage decreases observed for vastus medialis, vastus lateralis, and biceps femoris muscles activation. Specifically, the percentage decreases for these muscles are 50.42%, 50.77%, and 43.62% for the test subject-1. Notably, while the peak value for rectus femoris muscle activation decreases, the mean value percentage increases by 30.25% for test subject-1.
Test subject-2 exhibits reductions of 46.34%, 47.22%, 49.05%, and 7.46% in peak values for the vastus medialis, vastus lateralis, biceps femoris, and rectus femoris, respectively. Additionally, the mean muscle activation values for vastus medialis, vastus lateralis, biceps femoris, and rectus femoris with exoskeleton assistance are 0.094, 0.201, 0.154, and 0.248, respectively. Without the exoskeleton, these values have changed to 0.124, 0.277, 0.219, and 0.328 for the same muscles. Consequently, when comparing the mean values of the four muscles with and without the exoskeleton, there are percentage decreases of 24.60%, 27.66%, 29.89%, and 24.60%, respectively. For test subject-3, the peak values of the vastus medialis, vastus lateralis, biceps femoris, and rectus femoris muscles are decreased by 11.30%, 23.32%, 23.11%, and 28.42%, respectively. Additionally, the mean value percentages are decreased by 22.35%, 11.99%, 35.67%, and 38.16%, respectively.
The effectiveness of single dynamic effort objective function has been proved in the literature for walking [Reference Xiang, Arora, Rahmatalla and Abdel-Malek40], running [Reference Chung, Arora, Abdel-Malek and Xiang48], lifting [Reference Zaman, Xiang, Rakshit and Yang49], and jumping [Reference Hariri, Xiang, Chung, Bhatt, Arora and Abdel-Malek50] simulations. Therefore, in this study, we used the dynamic effort single-objective function. In the literature, many multi-objective (MOO) functions were used for lifting simulation, such as combinations of dynamic effort and stability [Reference Xiang, Arora, Rahmatalla, Marler, Bhatt and Abdel-Malek41], joint effort and box weight [Reference Xiang, Cruz, Zaman and Yang43], joint effort and initial postures [Reference Zheng, Li and Liu51], and joint effort and muscle effort [Reference Sreenivasa, Millard, Kingma, van Dieen and Mombaur52]. For MOO, it is not an easy task to determine the appropriate weighting coefficients for each objective function. Generally, experimental error analysis is required to decide those coefficients [Reference Xiang, Arora, Rahmatalla, Marler, Bhatt and Abdel-Malek41]. In addition, in this study, the dynamic effort single-objective function and appropriate constraints optimization formulation generated acceptable regressions, as shown in Figure 6. Therefore, we can use a single objective in this research. Exploring other MOO will be future research.
Three subjects are a good combinations of learning set for GRNN learning method. This has been proved for human motion prediction in the literature [Reference Bataineh, Marler, Abdel-Malek and Arora44]. In addition, we demonstrated statistically that the regression results are reliable (Figure 6). Furthermore, we tried four training subjects dataset, and there was no obvious improvement in terms of regression accuracy.
In Figure 5, we have compared the optimization method with the GRNN learning approach and the results matched very well. The optimization method was used in the literature for predicting exoskeleton assistive torques [Reference Zhang, Fiers, Witte, Jackson, Poggensee, Atkeson and Collins53–Reference Chen, Tan, Shi and Zi56]. Our learning method has comparable accuracy. Other learning approaches require a different amount of training data, and it is not applicable in this research.
7. Conclusions
In this study, we propose a hybrid model that utilizes a model-based optimization method to generate training data and an ANN-based learning method to offer real-time exoskeleton support in lifting activities. For the model-based optimization method, an inverse dynamics optimization formulation is used to predict the optimal lifting motion and assistive torque. The GRNN is used to train the learning-based control model based on the training input and output data from model-based optimization method. Once trained, the learning-based control model can provide exoskeleton assistive torque in real time for lifting tasks for any subject in the same age group, based on the subject’s anthropometric parameters and lifting boundary postures. We present joint angles and GRFs comparisons between the experimental and simulation results for two random test subjects. The simulation results match well with the experimental data. Furthermore, exoskeletons significantly reduce knee extensor and flexor muscle activations compared to lifting without the exoskeletons for both subjects. Overall, the learning-based control method can generate assistive torque profiles in real time and faster than the model-based optimal control approach. Consequently, the suggested learning-oriented control system of the powered knee exoskeleton can help alleviate dynamic human exertion and reduce the occurrence of injuries while lifting objects. One constraint of this study is that we solely focus on the squat lifting approach. In forthcoming research, we intend to explore the semi-squat and stoop lifting methods as well. Furthermore, we aim to assess our model using various learning-based methodologies to facilitate comparison.
Acknowledgments
The authors would like to thank the participant for the experimental data collection for this work. This work was partially supported by the National Science Foundation (CBET 2014281).
Author contribution
A.A. and Y.X. contributed to the study conception and design. A.A. performed data collection and analysis. A.A. and Y.X. wrote the main manuscript text. Y.X. supervised this work. All authors read and approved the final manuscript.
Financial support
This study is supported by Research Jumpstart/Accelerator Grant from Oklahoma State University.
Competing interests
The authors declare none.
Code or data availability
No.
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 and with the Helsinki Declaration of 1975, as revised in 2008.
Appendix: Kinematics and dynamics
This research investigates the human model’s kinematics and dynamics through recursive kinematics and Lagrangian dynamics [38, 39]. The equation representing the human dynamics is given as [38, 39]:
where the human torque at $i^{th}$ joint is represented by $\tau _{{h_{i}}}$ . Equation (1) consists of four components on the right-hand side: inertia and Coriolis torque, the torque caused by gravity, the torque generated by external forces, and the torque arising from external moments:
where the trace of a matrix is denoted as $tr(\cdot )$ , and ${\mathbf{A}}_{i}$ , $\mathbf{C}_{i}$ represent global position and acceleration transformation matrices, respectively. $\mathbf{I}_{i}$ stands for the inertia matrix of i, $\mathbf{D}_{i}$ is the recursive inertia and Coriolis matrix, $\mathbf{E}_{i}$ is the recursive vector used for gravity torque calculation, $\mathbf{F}_{i}$ is the recursive vector for external force-torque calculation, and $\mathbf{G}_{i}$ is the recursive vector for external moment torque calculation. The gravity vector is represented as $\mathbf{g}$ , $m_{i}$ is the mass of link i, and $\mathbf{r}_{i}$ indicates the center of mass (COM) of link i in its local frame. For link k, the external force applied to it is given by the vector, $\mathbf{f}_{k}=[\begin{array}{cc} \begin{array}{cc} 0 & f_{ky} \end{array} & \begin{array}{cc} f_{kz} & 0 \end{array} \end{array}]^{\mathrm{T}}.$ The position of the external force in the $k^{th}$ local frame is specified by $\mathbf{r}_{k}$ . Similarly, for link k, the external moment applied to it is represented by the vector $\mathbf{h}_{k}=[\begin{array}{cc} \begin{array}{cc} h_{x} & 0 \end{array} & 0\begin{array}{cc} & 0 \end{array} \end{array}]^{\mathrm{T}}.$ The vectors $\mathbf{z}_{0}=[\begin{array}{cc} \begin{array}{cc} 0 & 0 \end{array} & \begin{array}{cc} 1 & 0 \end{array} \end{array}]^{\mathrm{T}}$ and $\mathbf{z}_{0}=[\begin{array}{cc} \begin{array}{cc} 0 & 0 \end{array} & \begin{array}{cc} 0 & 0 \end{array} \end{array}]^{\mathrm{T}}$ are used respectively for revolute and prismatic joints. The Kronecker delta is denoted as ${\unicode[Arial]{x03B4}} _{ik}$ , and the initial conditions are set as $\mathbf{D}_{n+1}=[\mathbf{0}]$ and $\mathbf{E}_{n+1}=\mathbf{F}_{n+1}=\mathbf{G}_{n+1}=[\mathbf{0}]$ . The sensitivities to state variables are thoroughly explained in references [38, 39].
A.1. Knee exoskeleton dynamics
This study involves the modeling of the electromechanical dynamics of DC motors used in exoskeletons. The equations governing these dynamics are represented as follows [10]:
where V, I, L, and R denote the voltage input, current, inductance, and resistance, respectively. The mechanical parameters $J_{m}$ , b, K, and $\theta$ represent the rotor moment of inertia, coefficient of viscous friction of the motor, motor torque constant, and rotor angle. $T_{l}$ represents the exoskeleton’s load torque, and $T_{\textit{motor}}$ stands for the motor’s output torque. In order for the device to provide the required amount of torque, the gearbox ratios ( $GB_{r}$ ) are carefully selected. In this context, the exoskeleton comprises both the motor and the gearbox. Hence, the expression for the exoskeleton’s output torque ( $\tau _{e})$ is as follows:
Moreover, we presume that the exoskeleton’s movement corresponds to the motion of human joints. Consequently, the differentiation of the rotor angle $\dot{\theta }$ and $\ddot{\theta }$ can be represented using the derivative of the human joint angle $\dot{q}$ and $\ddot{q}$ with the corresponding gear ratio:
where $\dot{q}$ and $\ddot{q}$ represent the joint’s respective angular velocity and acceleration.
A.2. The human–exoskeleton coupled EOM
The complete dynamics are depicted in the following way [10]:
where $\tau _{{e_{i}}}$ represents the exoskeleton’s output torque for the $i^{th}$ joint. A two-stage active-and-passive algorithm in references [38, 39] is utilized to compute the GRFs.