1. Introduction
Conventional treatments in rehabilitation depend on the existence of the number of therapists to help the patients, which consume time and energy and do not sound economical [Reference Niu, Yang, Wang and Song1]. Robotic rehabilitation systems bring a wide range of merits and can improve accuracy and efficiency, as well as make the system controllable and reduce the necessity of the assistance of physiotherapists [Reference Niu, Yang, Wang and Song1]. In the last decades, the majority of rehabilitation exoskeletons were made of rigid links, which have a high weight and inflexibility [Reference Wang, Li, Chen and Zhang2]. MIT-MANUS is one of the first rehabilitation robots, which was first time launched by MIT University, and consists of a five-link robot with two degrees of freedom (DOFs) in the plane [Reference Wang, Li, Chen and Zhang2]. MIME at Stanford University has six DOFs and is able to lead the injured arm to pursue the predefined trajectory [Reference Wang, Li, Chen and Zhang2]. The CADEN-7, an upper limb rehabilitation system, can produce motion with seven DOFs in the shoulder, elbow, and wrist [Reference Wang, Li, Chen and Zhang2]. The REPERT, an arm motion-aided training system by Arizona State University, consumes pneumatic artificial muscles to guide a five-DOF motion of the arm [Reference Wang, Li, Chen and Zhang2]. Since rehabilitation systems have some demerits, such as smaller workspace, inflexibility, higher expenses of construction, and higher inertia [Reference Niu, Yang, Wang and Song1], many essays in cable-driven upper limb robots have been undertaken [Reference Mustafa and Agrawal3–Reference Chen, Cui, Yang, Chen and Jin5]. A three-DOF exoskeleton cable-driven rehabilitation robot (CDRR) has been made to boost the arm movement of the patients [Reference Jones, Wang, Morrison, Sarkar and Kamper6]. Zanotto et al. [Reference Zanotto, Rosati, Minto and Rossi7] studied Sophia-3, an end-effector-based cable-actuated rehabilitation system to help motions in the plane. Besides, a lightweight wire-driven rehabilitation system has been studied to help the movements of shoulder and elbow joints [Reference Gaponov, Popov, Lee and Ryu8]. A CDRR was made of a frame, cables, and an end-effector in which cables were driven through motors [Reference Niu, Yang, Chen and Song9]. A planar 4-CDRR was also made in 2014 [Reference Niu, Yang, Chen and Song9].
The control method is one of the most vital subjects that impact the function of the robots and the accuracy of the trajectory tracking with the least error. Some of them with various controllers are presented below.
An adaptive admittance control was studied on a manipulator with task space constraints to prepare compliance with external forces [Reference Tee, Yan and Li10]. Mao and Agrawal [Reference Mao and Agrawal11] designed a force control of a cable-driven upper limb rehabilitating system. Similarly, in 2011, impedance control was applied to a rehabilitation system through a Lyapunov approach [Reference Mehdi and Boubaker12]. In a different work, taking advantage of an admittance control for a guide control was confirmed to be capable to move the human upper limb through virtual guidelines in a rehabilitation system [Reference Yamashita13]. Furthermore, a novel method was designed for upper limb exoskeleton robot through Muscle Circumference Sensor with the force sensors to estimate the human interactive force through an adaptive impedance controller [Reference Khan, Yun, Ali, Han, Shin and Han14]. A new torque-field controller was applied to a cable-driven wrist rehabilitation system to provide motion training [Reference Chen, Cui, Zhang and Wang15]. In another research, an admittance control was used for an upper limb cable-driven rehabilitating system with three DOFs in three-dimensional (3D) motion to track the desirable trajectory without any reference trajectory [Reference Yang, Niu and Song16]. A neurological rehabilitation device was presented to provide patients to perform different motions using an impedance-based control [Reference Oyman and Arslan17]. As can be seen, force, impedance, and admittance controllers are widely consumed in different CDRRs, and a minority of researchers have worked on robust motion controls with considering uncertainty and disturbance. Some of the papers have studied motion controls in cable rehabilitation systems but have not worked on the robustness of the system with considering uncertainty and disturbance, which are mentioned below.
In ref. [Reference Ni, Li, Jiang, Zhang and Huang18], motion and force controls are studied in a seven-DOF cable-driven rehabilitation training robot, and both active and passive rehabilitation training modes are suggested for enhancement of the movements of the patients. Xiong and Diao [Reference Xiong and Diao19] worked on motion control for the safety of a cable-driven parallel manipulator in rehabilitation devices with large deformation cables and position-controlling actuators. Consequently, ref. [Reference Wang, Li, Chen and Zhang2] proposed the tracking control of a four-DOF cable-driven upper limb robot to move the whole upper limb along desired trajectories. Moreover, inverse dynamics modeling was designed for a new rehabilitating system with a parallel joint for tracking the reference trajectory [Reference Fang, Li, Xu, Zhao, Cai and Zhu20]. In 2020, a new four-DOF robotic cable-driven upper limb robot with pneumatic artificial muscle actuators was studied and motion control was applied for the trajectory control [Reference Chen, Lien, Chen, Twu and Wu21]. Also, ref. [Reference Yang, Xie, Tang, Liu and Song22] suggested a hybrid active force and position controller of an upper limb cable-driven rehabilitating system with human movement intention detection, which has been considered as the desired position and velocity.
To prove the effectiveness of applying a robust controller in a similar system, a polynomial-based robust adaptive impedance control method for electrically driven robots is introduced in ref. [Reference Izadbakhsh and Khorashadizadeh23]. Polynomials of degree N as an approximator for uncertainties, unmodeled dynamics, and external disturbances indicated superior performance in position control due to the robustness of the given control algorithm. Since a robust controller such as an optimal robust voltage control presented in ref. [Reference Fateh and Khorashadizadeh24] showed its efficiency in tracking errors for electrically driven robot manipulators in the presence of uncertainty, this paper introduces a novel robust motion control, namely computed-torque-like control with independent-joint compensation while taking uncertainty and disturbance into consideration, which is the novelty of this paper to reveal the robustness of the given approach.
One of the concerns of this paper is to improve the lower limb movements by a rehabilitation system on spatial trajectories, in which the path is planned through a new method, called joint limit avoidance (JLA). Furthermore, since few numbers of papers have worked on robust motion control of cable rehabilitation systems in a 3D path planning in front of uncertainties and disturbances, the main goal of this research is the presentation of this new robust controller.
The kinematic formulation of cables has been exploited in Section 2. The dynamic formulation has been derived through the Lagrangian method in Section 3. The unilateral cable force, which is one of the challenging parts of cable robots, is obtained in Section 4. Section 5 is allocated to a new path planning approach to keep the joints in their allowed interval. In Section 6, a Lyapunov-based control and a computed-torque-like control with an independent-joint compensator are designed and compared with considering uncertainties and disturbances. At last, the conclusion has been written in Section 9.
2. Kinematic formulation of the upper limb CDRR
In this upper limb cable-driven rehabilitation system, {0} and {1} are local coordinate systems on the shoulder joint and {2} on the elbow, and {3} is located on the mass center of the palm, as can be seen in Fig. 1. These formulations, $\mathrm{L}_{\mathrm{i}}$ are indicators of cable lengths and $\mathrm{t}_{\mathrm{i}}$ are related to unit vectors. Besides, $\mathrm{E}_{\mathrm{i}}$ show motors’ positions connected to the reference frame {C} and $R_{i}$ is the vector that indicates the distance from the points of cable connection to the joints. Jacobian matrix $\mathrm{J}_{\mathrm{c}}$ connects joint velocity to the $\dot{\mathrm{L}}$ cable velocity. $\mathrm{m}_{\mathrm{a}}$ introduces arm mass; $\mathrm{m}_{\mathrm{f}}$ and $\mathrm{m}_{\mathrm{h}}$ are also forearm and hand masses, respectively. Robot parameters are written in Table I.
Cable length, $L_{i}$ , can be calculated geometrically as
where $\mathrm{t}_{\mathrm{i}}$ represents unit vectors of the cables. Derivation of Eq. (1) to time results in
where $\mathrm{E}_{\mathrm{i}}$ is the constant and thus $\frac{\partial \mathrm{E}_{\mathrm{i}}}{\partial \phi }=0$ . Multiplying Eq. (2) in ${\mathrm{t}}_{\mathrm{i}}^{\mathrm{T}}$ yields
where $\frac{\partial \mathrm{R}_{\mathrm{i}}}{\partial \phi }$ defines a Jacobian matrix of the cables $\mathrm{J}_{\mathrm{c}}$ , therefore
where $\dot{\phi}=\left[\begin{array}{c@{\quad}c@{\quad}c} \dot{\phi}_{1} & {}\dot{\phi}_{2} & {}\dot{\phi}_{3} \end{array}\right]^{\mathrm{T}}$ shows joint velocities, $\phi =\left[\begin{array}{c@{\quad}c@{\quad}c} \phi_{1} & {}\phi_{2} & {}\phi_{3} \end{array}\right]^{\mathrm{T}}$ introduces generalized coordinates, and $\mathrm{F}_{\mathrm{i}}$ are cable forces. $\phi_{1}$ represents abduction/adduction of the shoulder joint in the frontal plane, while $\phi _{2}$ and $\phi _{3}$ are flexion/extension of the shoulder and elbow joints, respectively, in the sagittal plane. The proposed upper limb rehabilitation system is depicted in Fig. 1.
The mentioned CDRR has three DOFs. It works through five cables run by five motors attached to the system frame, and cables have been connected to the orthosis with cuffs.
3. Dynamic equations
The system has three DOFs with flexion/extension of shoulder and elbow joints in the sagittal plane and abduction/adduction of the shoulder joint in the frontal plane, while the wrist is considered to be constant. The dynamic formulation of the system is obtained through the Lagrange formulation. The general dynamic formulation is written as
where $\mathrm{M}(\phi)$ represents the positive-definite mass matrix, and $\mathrm{B}(\phi,\dot{\phi })$ illustrates centrifugal and Coriolis forces vector. $\mathrm{G}(\phi)$ entails gravitational forces, while T in Eq. (6) is an indicator of the system joint torques.
where $\Omega$ indicates system external disturbances and cable forces are considered as $\mathrm{F}=\left[\!\begin{array}{c@{\quad}c@{\quad}c@{\quad}c@{\quad}c} \mathrm{F}_{1} & {} \mathrm{F}_{2} & {}\mathrm{F}_{3} & {}\mathrm{F}_{4} & {}\mathrm{F}_{5} \end{array}\!\right]^{\mathrm{T}}$ . $\mathrm{J}_{\mathrm{c}}$ shows the Jacobian matrix, which maps cable tensions to the joint torques. Thus,
where
And the vector ${\mathrm{J}}_{\mathrm{c}}^{\mathrm{T}}$ is defined as
4. Unilateral cable tension
Since only positive forces are feasible for controlling the cable systems, one of the tough issues in cable systems is applying unilateral cable tension. This challenge can be resolved through the null space of a Jacobian matrix in a redundant cable robot. A redundant cable robot is a system in which at least one cable is more than the DOF. Control input vector can be defined as ref. [Reference Seyfi and Khalaji25]
where $\mathrm{F}_{\mathrm{p}}$ is the particular solution and can be derived from the dynamic Eq. (7) as
${\mathrm{J}}_{\mathrm{c}}^{\mathrm{T}}$ is a nonquadratic matrix; as a result, the pseudo-inverse of ${\mathrm{J}}_{\mathrm{c}}^{\mathrm{T}}$ is chosen as
If ${\mathrm{J}}_{\mathrm{c}}^{\mathrm{T}}$ is a full-rank matrix, Eq. (7) would have a large number of solutions. $\mathrm{F}_{\mathrm{h}}$ in Eq. (10) is an indicator of the homogenous solution which is calculated as
where $\xi _{{\mathrm{J}^{\mathrm{T}}}}$ introduces the null space of ${\mathrm{J}}_{\mathrm{c}}^{\mathrm{T}}$ , which is an ( $\mathrm{v}\times \mathrm{q}$ ) matrix. Also, v is the number of inputs. $\mathrm{q}=\mathrm{v}-\mathrm{p}$ defines the degree of redundancy, p indicates the DOF, and $\lambda$ shows a random (q $\times$ 1) vector. The positive condition of control inputs is ensured when $\lambda$ is placed in a possible region ( $\mathrm{P}_{\mathrm{r}}$ ). Wherever the whole null-space arrays get a similar sign, $\lambda$ arrays would be placed in the mentioned possible region. Eventually, $\mathrm{F}\geq 0$ is obtained:
In this upper limb cable-driven rehabilitating system, one redundant cable yields a $\lambda$ and four linear inequalities in Eq. (15).
By transformation of inequalities to equalities in six pairs of linear equations and finding intersections in every pair of equations, possible region ( $\mathrm{P}_{\mathrm{r}}$ ) and a suitable $\lambda$ for a positive cable force can be found. The resulted area, between solution points, is the possible area where if the resulting points satisfy all the remained equations, the appropriate $\lambda$ is calculated, which can result in positive cable tensions in Eq. (14).
5. Joint limit avoidance
To control the systems which have a definite interval for the joints to move, the desired trajectories are planned through a new approach, the JLA. The upper and lower bounds of the human upper limb are written in Table II.
Generally, robots require higher joint velocities nearby a singular area, and providing these high joint rates is not possible for the motors.
Redundant manipulators can take advantage of the extra DOFs to keep their joints in the allowed intervals and away from singular areas of the end-effector, namely the main task. For redundancy resolution, a cost function is considered, which is based on minimization [Reference Seyfi and Khalaji25].
The mentioned cost function, X, represents the end-effector position vector and $\dot{\mathrm{X}}$ illustrates its velocity. $\dot{\nu }$ is an indicator of the additional tasks. Mainly, the reference path of the end-effector ( $\mathrm{X}_{\mathrm{d}}$ ) is representative of the main task, and desirable velocities of main and additional tasks are $\dot{\mathrm{X}}_{\mathrm{d}}$ and $\dot{\nu }_{\mathrm{d}}$ , respectively. Moreover, $\dot{\mathrm{X}}$ is derived using the forward kinematic equations as
$\mathrm{J}_{\mathrm{E}}$ represents the end-effector Jacobian; besides
Due to the existence of limits on hand joints, the additional task has been defined as the joint position vector.
The Jacobian matrix $\mathrm{J}_{\mathrm{A}}$ for the additional task is shown as:
Near the joint intervals the JLA becomes active, and joint rates get zero. Afterward, joints’ velocities move to the center of their allowed interval. Thus, the desired joints’ rates $\dot{\nu }_{d}$ vanish, as soon as the JLA works.
Then, $\dot{\phi }$ is defined to decline the errors and the additional task rates. In the cost function in Eq. (16), the first term decreases the velocity errors of the main task, while the second term declines the additional task respectively. The third term decreases high joint rates and results in singularity avoidance. Besides, $\mathrm{L}_{\mathrm{E}}$ , $\mathrm{L}_{\mathrm{A}}$ , and $\mathrm{L}_{\mathrm{S}}$ in Eq. (16) introduce diagonal positive-definite weight matrices, which represent the velocity of the end-effector, the velocity of the additional task, and singularity avoidance, respectively.
The JLA approach is activated and inactivated using the weight matrix, $\mathrm{L}_{\mathrm{A}}$ . A desirable joint path is derived by the definition of the weight matrix $\mathrm{L}_{\mathrm{A}}$ as a continuous function presented below
where $\mathrm{b}_{0}$ shows a constant coefficient. Clearly, $L_{A}$ vanishes in the center of the bounds. At the moment the joint angle is placed in $\rho _{i}$ , the weight matrix $L_{A}$ rises from the center of the interval to the maximum value at the bounds. Joint rates would be derived through minimization of the cost function as
Thus,
Equation (24) is exploited in the recursive form as
$X$ illustrates the end-effector’s position in a previous moment.
Path planning of a Lyapunov-based control is revealed in Fig. 2 to highlight the differences of joint angles in the presence and absence of the JLA approach.
Gain differential and proportional matrices are $\mathrm{K}_{\mathrm{D}}=\text{diag}\{90,90,90\}$ and $\mathrm{K}_{\mathrm{P}}=\text{diag}\{90,90,90\}$ , and initial condition is defined as $\phi _{0}=\left[\begin{array}{c@{\quad}c@{\quad}c} -10 & {}150 & {}280 \end{array}\right]^{\mathrm{T}}$ , which are all the same in both conditions.
Taking advantage of the JLA method leads to the movements of the joints in their allowed upper and lower bounds and prevents their deviation.
6. Motion control schemes
In this upper limb cable-driven rehabilitating system, a Lyapunov-based controller and a novel robust motion controller, called computed-torque-like control with independent-joint compensation, are presented. A motion control utilizes actuator torques to follow the desired trajectory and minimization of the end-effector errors.
6.1. Lyapunov-based control
This Lyapunov-based control is a tracking control, which is predicted to have superior and robust performance concerning the other tracking controllers. The dynamic equation is written in Eq. (26) ref. [Reference Siciliano and Khatib26].
The control input is defined as ref. [Reference Siciliano and Khatib26]
where e is
Where $\dot{\phi }_{s}$ in Eq. (27) is presented as
where $\varepsilon$ is a positive constant. By taking the time derivative of Eq. (29) and replacing $\dot{\phi }_{\mathrm{s}}$ and $\ddot{\phi }_{\mathrm{s}}$ in Eq. (27), $\mathrm{T}$ is calculated
By replacing the control input Eq. (27) in the dynamic equation Eq. (26), the plant or system dynamic model is
Also, after replacing the control input in Eq. (26) the given equation is exploited
Now $\ddot{\mathrm{e}}$ can be derived as
The Lyapunov function is considered as
which $\mathrm{D}=\left[\begin{array}{c@{\quad}c} \mathrm{e}^{\mathrm{T}} & {}\dot{\mathrm{e}}^{\mathrm{T}} \end{array}\right]^{\mathrm{T}}$ , and W is a positive-definite matrix. Using some properties such as $\left[\begin{array}{c@{\quad}c} \mathrm{e} & {}\dot{\mathrm{e}}^{\mathrm{T}} \end{array}\right]^{\mathrm{T}}=\left[\begin{array}{c@{\quad}c} \dot{\mathrm{e}}^{\mathrm{T}} & {}\mathrm{e} \end{array}\right]^{\mathrm{T}}$ , $\mathrm{M}\mathrm{M}^{-1}=\mathrm{I}$ and $\mathrm{O}^{\mathrm{T}}\left(\dot{\mathrm{M}}-2\mathrm{B}\right)\mathrm{O}=0$ , where O is an arbitarary vector, $\dot{\mathrm{H}}$ can be obtained as
By replacement of Eq. (33) in Eq. (35) and some simplifications, the resulting $\dot{\mathrm{H}}$ would be
As can be seen, a positive-definite Lyapunov function leads to a negative $\dot{\mathrm{H}}$ and guarantees the stability of the given approach. The diagram of the mentioned control algorithm has been illustrated in Fig. 3.
In the next section, the outputs of the Lyapunov-based control have been derived and compared in the lack of uncertainty and disturbance and with considering them.
6.1.1 Lyapunov-based control results in the lack of the disturbances and uncertainties
Firstly, the desired trajectory is designed for the end-effector, which is written in Eq. (36).
As mentioned above, desirable joint angles have been obtained using the JLA path planning method as
$\mathrm{K}_{\mathrm{D}}=\text{diag}\{90,90,90\}$ and $\mathrm{K}_{\mathrm{P}}=\text{diag}\{90,90,90\}$ represent proportional and derivative gain matrices, respectively; besides, they are diagonal positive-definite matrices. Joint angles’ initial positions are considered as $\phi _{0}=\left[\!\begin{array}{c@{\quad}c@{\quad}c} -10 {}& 150 & {}280 \end{array}\right]^{\mathrm{T}}$ .
In Fig. 4, joint angles’ convergence to the desired angles and path planning of the end-effector in the lack of uncertainties and disturbances are shown.
As can be seen, the whole actual joint angles shift toward the desired joint angles smoothly and in a short time. Similarly, the end-effector tracks the desired 3D path without any deviations. Cable forces as control inputs, which only accept the positive forces for this cable-driven robot, are depicted in Fig. 5.
Obviously, due to the low mass of the links, cables take lower positive values. In Section 6.1.2, the effects of the uncertainties and disturbances are presented on the joints’ angles, tracking, and control inputs.
6.1.2. Lyapunov-based control results with considering uncertainty and disturbance
For analysis of the robustness and efficiency of the Lyapunov-based control on this upper limb cable-driven rehabilitating system, the previous plots are derived while taking uncertainty and disturbance into consideration. Uncertainties have been exerted in the mass of the links with 1.1 times more in the interval $\left[23\right]\,\sec$ , and disturbances have been used in control inputs with $\Omega =6\left[\begin{array}{c@{\quad}c@{\quad}c@{\quad}c} 1 & {}1 & {}1 & {}1\end{array}\right]^{\mathrm{T}}\cos \frac{\mathrm{t}}{2}$ in $\left[89\right]\,\sec$ . $\mathrm{K}_{\mathrm{D}}$ and $\mathrm{K}_{\mathrm{P}}$ exist as proportional and derivative gain matrices. Also, the initial conditions have been considered as the same in both conditions, with and without uncertainties and disturbances.
Clearly, the Lyapunov-based control does not show robustness with considering uncertainty and disturbance. Besides, considerable tracking errors are occurred and illustrated in Fig. 6. Since uncertainties and disturbances have arrived in the robot, the end-effector goes out of the way, and the position errors increase.
In Fig. 7, cable forces are presented, while it is clear that in the arrival of the uncertainties and disturbances the values have a jump, and more control inputs are needed to control this cable-driven rehabilitating robot.
The results of the Lyapunov-based control with considering uncertainties and disturbances confirm the requirement for a more robust and effective controller due to the tracking errors and higher control efforts; as a result, a new robust controller is introduced in Section 6.2 in comparison with mentioned Lyapunov-based controller.
6.2. Computed-torque-like control with independent-joint compensation
Since a computed-torque control depends on exact dynamic parameters being predefined and cable forces being estimated in real-time to tackle this issue, computed-torque-like control has been introduced. In the presence of uncertainties, a compensator should be considered to minimize their effects and track errors through its compensation part and robustness to make the end-effector track the reference trajectory precisely. Thus, a computed-torque-like control with independent-joint compensation has been applied to the system, which this new robust controller does not need expensive hardware to take the experimental results in comparison with other robust controllers, and it has indicated its superiorities in tracking in the presence of uncertainties and disturbances.
The general form of the dynamic equation is ref. [Reference Siciliano and Khatib26]
And a computed-torque-like control input is
^indicates nominal parameters. After replacement of Eq. (40) in Eq. (39), and applying some assumptions such as $\hat{\mathrm{M}}=\mathrm{I}$ , $\hat{\mathrm{B}}=0$ and $\hat{\mathrm{G}}=0$ , the resulting formulation would be
To compensate for the consequences of the uncertainties, $\mathrm{u}$ is designed as an unknown model uncertainty in the controller.
$\mathrm{k}_{\mathrm{P}}$ and $\mathrm{k}_{\mathrm{D}}$ present large positive constants. By replacing Eq. (42) in Eq. (41), $\ddot{\phi }$ is derived as
The error dynamics can be calculated by adding $-\ddot{\phi }_{\mathrm{d}}$ to both sides of Eq. (43).
According to some characteristics of robot manipulators and dynamical systems such as
∥M ( $\phi$ )∥≤ $\sigma _{1}$ ,∥G( $\phi$ )∥≤ $\sigma _{2}$ , $\parallel\!\mathrm{B}(\phi,\dot{\phi })\parallel \leq \sigma _{3}\parallel \dot{\phi }\parallel$ , $\phi _{\mathrm{d}}\lt \alpha _{1}$ , $\dot{\phi }_{\mathrm{d}}\lt \alpha _{2}$ , and $\ddot{\phi }_{\mathrm{d}}\lt \alpha _{3}$ , $\parallel u\parallel$ yields as
where $\delta _{1}$ , $\delta _{2}$ , and $\delta _{3}$ are positive constants, $\delta =\left[\begin{array}{c@{\quad}c@{\quad}c} \delta _{1} & {}\delta _{2} & {}\delta _{3} \end{array}\right]^{T}$ and $\theta (\phi,\dot{\phi })=\left[\begin{array}{c@{\quad}c@{\quad}c} 1 & {}\phi & {}\dot{\phi } \end{array}\right]^{\mathrm{T}}$ . It is noticeable that $\theta (\phi,\dot{\phi })$ is considered as the desired compensation. Then, $\ddot{\phi }_{\mathrm{d}}$ yields from Eq. (45) as
Therefore, the final form of the error dynamics after replacing Eq. (46) would be
Or
The general form of the error dynamics in state space is shown as
where $\mathrm{A}=\small\left[\begin{array}{c@{\quad}c} 0 & {}\mathrm{I}\\[5pt] -\mathrm{M}^{-1}\mathrm{k}_{\mathrm{P}} & {}-{\mathrm{M}^{-1}}(\mathrm{k}_{\mathrm{D}}+\mathrm{B}) \end{array}\small\right]$ and $\mathrm{C}=\small\left[\begin{array}{c} 0\\[5pt] \mathrm{M}^{-1} \end{array}\small\right]$ , and also $\mathrm{e}=\left[\begin{array}{c@{\quad}c} {\mathrm{e}}_{\phi }^{\mathrm{T}} {}& {\dot{\mathrm{e}}}_{\phi }^{\mathrm{T}} \end{array}\right]^{\mathrm{T}}$ is the vector of errors and their velocities. To demonstrate the stability of error dynamics, matrix P can be derived through Eq. (50).
where $\mathrm{A}=\small\left[\begin{array}{c@{\quad}c} 0 & {}\mathrm{I}\\[5pt] -\mathrm{M}^{-1}\mathrm{k}_{\mathrm{P}} & {}-{\mathrm{M}^{-1}}(\mathrm{k}_{\mathrm{D}}+\mathrm{B}) \end{array}\small\right]$ and Q represents a positive-definite symmetric matrix. By choice of a P as a positive-definite matrix in Eq. (50), Q can be calculated. A positive-definite Lyapunov function is considered as ref. [Reference Siciliano and Khatib26]
And the $\beta _{\mathrm{i}}$ , $\mathrm{i}\in \{1,\ldots,\mathrm{n}\}$ indicates the variable length of the boundary layer
Making use of Eq. (52) and lower figures of $\beta _{\mathrm{i}}$ , the tracking error would enter in a smaller residual set. Also, matrix P is defined as
Taking the derivative of $\mathrm{V}$ yields [Reference Siciliano and Khatib26]
By replacement of Eq. (49) in $\dot{\mathrm{V}}$ it can be concluded that
A compensator with independent joint defines the following equation:
where
$\varphi _{\mathrm{i}}$ are positive constant coefficients. Making use of Eq. (50) and some properties such as $\left[\begin{array}{c@{\quad}c} \mathrm{e} & {}\dot{\mathrm{e}}^{\mathrm{T}} \end{array}\right]^{\mathrm{T}}=\left[\begin{array}{c@{\quad}c} \dot{\mathrm{e}}^{\mathrm{T}} & {}\mathrm{e} \end{array}\right]^{\mathrm{T}}$ and $\mathrm{M}\mathrm{M}^{-1}=\mathrm{I}$ , $\dot{\mathrm{V}}$ turns into
By taking advantage of Eq. (57), the second term of Eq. (58) would be
Then, $\dot{\mathrm{V}}$ yields the following equation:
Making use of Cauchy–Schwartz inequalities, $\dot{\mathrm{V}}$ is obtained as
$\mu$ and $\Delta \mu$ are derived from Eq. (45) and Eq. (56), respectively, and are put into $\dot{\mathrm{V}}$ .
According to the definition of the compensator function in Eq. (56), $\parallel \tau _{\mathrm{i}}\parallel =\parallel {\tau }_{\mathrm{i}}^{\mathrm{T}}\parallel \leq \frac{\beta _{\mathrm{i}}}{\delta ^{\mathrm{T}}\theta }$ is considered and placed in $\dot{\mathrm{V}}$ .
Since $\beta _{\mathrm{i}}$ is an indicator of the variable length of the boundary layer, it is a positive constant. Also, ${\sum }_{\mathrm{i}=1}^{\mathrm{n}}\beta _{\mathrm{i}}$ results in a positive constant; as a result, if $-2\parallel \beta _{\mathrm{i}}\parallel =-2\alpha _{1}$ and $-{\sum }_{\mathrm{i}=1}^{\mathrm{n}}\beta _{\mathrm{i}}=-\alpha _{2}$ , the final $\left| \dot{\mathrm{V}}\right|$ would be
where $\alpha _{1}$ and $\alpha _{2}$ show positive constants.
As can be seen, a positive-definite Lyapunov function $\mathrm{V}$ leads to a negative definite $\dot{\mathrm{V}}$ and ensures the stability of the system. The diagram of the given controller is shown in Fig. 8.
6.2.1 The computed-torque-like control in the presence and absence of the independent-joint compensation
Comparisons between the results of the computed-torque-like control in the presence and absence of the independent-joint compensation are presented, and the efficiency of the proposed compensation is illustrated to guarantee the robustness of this novel method. Similarly, uncertainties are considered in the mass of the links with 1.1 times more in the interval [23] sec, and also, disturbances are exerted to control inputs with $\Omega =6\left[\begin{array}{c} 1 \;\;\; {}1 \;\;\; {}1 \;\;\; {}1 \end{array}\right]^{\mathrm{T}}\cos \frac{\mathrm{t}}{2}$ in $\left[89\right]\,\sec$ . $\mathrm{K}_{\mathrm{D}}$ and $\mathrm{K}_{\mathrm{P}}$ define proportional and derivative gain matrices, respectively, as $\text{diag}\left\{90,90,90\right\}$ , and the initial conditions are the same in both conditions, with and without compensator as $\phi _{0}=\left[\!\begin{array}{c} -10\;\;\; {}150 \;\;\; {}280 \end{array}\right]^{\mathrm{T}}$ .
The joint angles in the computed-torque-like control in the presence and absence of the independent-joint compensation are shown in Fig. 9, and the positive results of applying independent-joint compensation are sensible. The performance of joints’ tracking depicts the importance of the compensation existence.
Large values of tracking errors in the absence of the independent-joint compensation show the lack of robustness of the system while taking uncertainties and disturbances into consideration.
Furthermore, in Fig. 11, cable forces witnessed larger control efforts in the absence of independent-joint compensation.
Table III represents the tracking errors and control inputs in both conditions.
According to the numerical figures, consideration of the independent-joint compensation improves the tracking error and the total control inputs with about 36.94% and 4.18%, respectively, and this novel controller properly acts as a robust controller. We keep this robust control in the next section to compare it with the Lyapunov-based control.
6.3. A comparison of the computed-torque-like control with independent-joint compensation and the lyapunov-based control with considering the uncertainty and disturbance
For demonstrating the robustness of the proposed control method with considering the uncertainties and disturbances, uncertainties have arrived in the mass of the links with 1.1 times more in the interval $\left[23\right]\,\sec$ , and disturbances are considered in control inputs with $\Omega =6\left[\begin{array}{c} 1 \;\;\; {}1 \;\;\; {}1 \;\;\; {}1 \end{array}\right]^{\mathrm{T}}\cos \frac{\mathrm{t}}{2}$ in $\left[89\right]\,\sec$ . Besides, $\mathrm{K}_{\mathrm{D}}$ and $\mathrm{K}_{\mathrm{P}}$ are indicators of proportional and derivative gain matrices as $\text{diag}\left\{90,90,90\right\}$ and $\text{diag}\left\{90,90,90\right\}$ , respectively, and the same initial conditions in both controllers are as $\phi _{0}=\left[\!\begin{array}{c} -10 \;\;\; {}150 {}\;\;\; 280 \end{array}\right]^{\mathrm{T}}.$ The results are all derived and compared thoroughly in the same conditions.
Initially, as can be seen in Fig. 12, actual joint angles in computed-torque-like control with independent-joint compensation converged to the desired ones in a short time and a smooth way. Besides, none of the actual generalized coordinates have deviated from the desired signals, while in the Lyapunov-based control all of the actual joint angles do not show a proper function and move away at the moments of uncertainties and disturbances existence.
A desirable trajectory tracking of the computed-torque-like control with independent-joint compensation is representative of the robustness of this control algorithm with considering uncertainties and disturbances and depicts a better performance, which is shown in Fig. 13.
According to Fig. 14, in the proposed controller the tracking errors converge to zero in a short time and guarantee the stability of the robot, while in the Lyapunov-based control, errors in x coordinate illustrate the deviation in the moments of uncertainties and disturbances.
In Fig. 15, cables experience higher forces in the Lyapunov-based control against uncertainties and disturbances, especially in cable 2; furthermore, motors need larger energy used to maintain the tracking, and also, higher cable tensions are needed.
Numerical figures regarding the overall tracking errors and the control inputs for both control algorithms are calculated in Table IV.
The numerical figures in Table IV demonstrate a 28.21% and 69.22% improvement in overall tracking errors and the control inputs in the computed-torque-like control with independent-joint compensation. As a result, the proposed robust control algorithm has an acceptable performance in tracking and needs less control input against uncertainties and disturbances.
7. Conclusion
This research represented a three-DOF upper limb cable-driven rehabilitating robot containing four motors in spatial path planning. Dynamic equations were exploited through the Lagrangian method. Afterward, positive cable tensions were obtained through null space. Since one of the vital constraints in this CDRR was holding joint angles in a definite lower and upper limit, the path planning was derived through the new joint limit-avoidance approach, and the results’ improvements were revealed.
A novel robust control scheme of the proposed upper limb CDRR in a 3D path and its functionality with considering uncertainties and disturbances were the chief goals of this research. Consequently, the comparative outputs between the Lyapunov-based control and the computed-torque-like control with independent-joint compensation in the presence of uncertainties and disturbances were compared. The efficiency of the proposed robust control method was demonstrated by a 28.21% improvement in tracking. Furthermore, cable tensions as control inputs experienced an improvement with about 69.22%, and motors required less power to move and control the robot.
Finally, one of the potential research plans about this cable-driven rehabilitation system can be the consideration of the elasticity of the cables in dynamic modeling. Different optimization algorithms can be also applied to the robot to extract the least and more efficient positive control inputs. Moreover, to validate the theoretical results, the system can be tested in real time and a comparison can be drawn between the results.
Appendix
Mass matrix $\mathrm{M}(\phi)$ , centrifugal and Coriolis forces vector $\mathrm{B}(\phi,\dot{\phi })$ , and gravitational forces $\mathrm{G}(\phi)$ in the dynamic formulation in Eq. (A5) are defined below. Mass matrix is presented as
The arrays of the mass matrix are defined below.
Here centrifugal and Coriolis forces vector is shown in Eq. (A11).
Each array of matrix $\mathrm{B}(\phi,\dot{\phi })$ is explained as
The gravitational forces vector $\mathrm{G}(\phi)$ and its arrays are shown as