Abstract
Collaborative robot has been widespread application prospect, such as homes, manufacturing, and health-care etc. In physical human-robot interaction, the external force appears inevitably in contact with environment or human, especially the interactive tasks such as trajectory tracking requirements and force compliance control. In this article, a method based on interaction intention estimation, which solve the problem of trajectory tracking accuracy and force compliance control in the same direction for the 7-DOF robot, is proposed. The increased virtual force depended on the manipuility performance index and inverse kinematic solution used the kinematic decoupling method based on the redundant angle avoid the singularity of redundant robot. Then, based on interactive intention estimation, a control strategy of variable impedance sliding mode theory in the presence of virtual force and contact force is proposed to achieve the trajectory tracking. We adopted hyperbolic tangent function to alleviate the chattering problem caused by switch function and validated the control system stability by Lyapunov theorem. Finally, Matlab simulations exhibit a 97.8% of high tracking accuracy amid the external force is 43% less than variable impedance parameters. It is therefore proved that the proposed method can achieve asymptotic tracking and the compliant behavior in physical human-robot interaction.
Keywords
Introduction
In recent years, robots safely and reliably coexist, cooperate with humans, share spaces and tasks with humans have captured the attention of researchers and industries. In physical human-robot interaction (pHRI), robot is required for accomplishing a task or a mission, such as trajectory tracking, the external forces and torques appear inevitably in contact with environments or with humans. Dealing with external forces and torques are important to support compliant interactions between robot and humans or environments in achieving a stable and safe cooperating task. In the presence of external forces, human and robot may agree upon the goal they are attempting to reach, nevertheless they might disagree on the trajectory that should be tracked. Especially for redundant robot (Degrees of freedom >6), recent research has focused on the fact that inverse kinematics (IK) solutions and self-motion. Aristidou et al. 1 presented a comprehensive review of the IK problem and the solutions which include analytical and numerical, data-driven and hybrid methods from the computer graphics point of view. Where analytical method consists of a geometric and algebraic method. The analytical solution is suitable for the manipulators with less DOF and when DOF increases the solution gets complex. A Numerical method is an iterative method based on inverse Jacobian, pseudo-inverse Jacobian or Jacobian transform. 2 proposed a numerical method of IK based on inverse Jacobian for 5-DOF manipulator but concluded that when the inverse of Jacobian is zero, the singularity occurs. Reference3–5 focused on how to obtain all feasible inverse kinematic solutions in the global configuration space where joint movable ranges are limited. A method was proposed for determining the continuous joint angle vector by selecting the inverse solution from discrete multiple solutions to the continuous end path of the mechanical arm in. 6 Whereas, the literature of IK problem based on the dynamics constraint which there exist external force is relatively less. Ficuciello et al.7,8 presented compliant behavior at the end effector according to a decoupled impedance dynamics and used DCI (dynamic conditioning index) to optimize IK problem for redundancy. Nevertheless, inverse kinematic under the external force for the redundant manipulator might suffer from singularity problem due to the Jacobian matrix, that was not mentioned.
After generating a joint trajectory using IK, the second challenging task is the manipulator motion control design and implementation. Different control algorithms have been proposed and implemented in the robotics field for the robust performance of manipulator. Nageshrao et al. 9 proposed an optimal passive control for the 2-DOF manipulator by using the energy balance theory. Tang et al. 10 proposed a learning-based adaptive optimal control method, which is used to solve the tracking problem of n-link robots. As a useful tool to deal with disturbances, sliding mode control (SMC) technique, which benefits from its strong robustness to overcome parametric uncertainties and system nonlinearities, has been applied in the field of robot control. As part of that, sliding mode control requires the approaching motion (non-sliding mode) reach the switching surface selected by the switching function in finite time, so that the tracking error converges asymptotically to zero. There are some insightful papers that address the stabilization and tracking control problems by using SMC technique. Zhu et al. 11 used the sliding mode control theory applied to the robot end-effector, and it has the advantages of globally asymptotically stable when there exists a bounded disturbance. Saleh and Fairouz 12 investigated a robust adaptive second-order SMC method for tracking problem of a class of uncertain linear systems with matched and unmatched disturbances. In,13,14 sliding mode control methods were proposed to solve the problem of optimal trajectory tracking control of reconfigurable robots or amphibian robot. However, the slide mode control also has some drawbacks. SMC consist of reaching and sliding phase in which system reach the sliding surface and maintained on it, but because of nonlinearities high switching gains are required which makes the system go back and forth of the desired surface introducing chattering in the system response. 15 To effectively eliminate the chattering, in, 16 the switching term, made up of symbolic function, is approximated by fuzzy system to make adaptive adjustment of the sliding mode control’s switching gains. Nicolis et al. 17 proposed a teleoperation framework that relied on sliding mode control to achieve desired master and slave impedance and discussed the robust absolute stability conditions in presence of variable communication delays. Nevertheless, the main drawbacks lie on the difficulty in tuning a priori the sliding mode gains, the necessity of a force sensor on the master device, and partially, static friction compensation. Jung 18 introduced neural network at the trajectory level by forming the RCT (reference compensation technique) scheme to achieve the effect of selecting the appropriate gain of the sliding mode control indirectly. Yet, a sign function was used as the transformation function easily to cause chattering, also the force control for tracking trajectory was not considered.
Robotic control technology to match the target relations between force and displacement has been proposed in impedance control. Since the early innovative works on impedance and compliance control in,19,20 the impedance control has been studied by many scholars. The constant impedance parameters, as a common method, might bring performance limitations in conducting cooperative works between robot and human or unstructured environment. In light of this, impedance control using the variable parameters, which had the advantage of decreasing the need for precise mathematical modeling of the robot and environment, was proposed. Ficuciello et al. 21 suggested the modulation scheme of the impedance parameters for redundant manipulator in Cartesian space to improve the control performance during the physical interactions between human and robot. In addition, a nonlinear model reference adaptive impedance controller was presented to achieve compliance in human-robot interaction by Sharifi et al. 22 The results were obtained through simulations used 2-DOF robot which end-effector move in the plane of x-z. As is known to all, the dynamic equations are relatively simplified for control methods based on the Lagrangian models. Xiong et al. 23 proposed and verified a adaptive dynamic approach on the basis of the virtual decomposition Cartesian impedance control for the flexible joint manipulator in physical human-robot interaction. Motivated by the human versatility, Li et al. 24 presented a robot controller that had feedforward force and impedance adaptation compensation for the interaction with the environment. In, 25 the authors introduced an IC-PITD (impedance control physically interactive trajectory deformations) control technique for physically interactive trajectory deformation which allowed the human to modulate both the actual and desired trajectories of the robot. The aforementioned methods were intended to solve the problem of how to obtain the appropriate variable impedance parameters to ultimately achieve the desired interaction motion planning task, but they did not deal with the trajectory tracking requirements and force compliance control achieved in the same direction for the redundant robot.
This article aims to solve the problem of trajectory tracking accuracy and force compliance control in the same direction for the 7-DOF robot in physical human-robot interaction. Compared with previous studies, the main contributions of this article are threefold.
A method based on interaction intention estimation is proposed to meet the requirements of trajectory tracking and force compliance in the same direction for the 7-DOF robot in physical human-robot interaction. In this method, the increased virtual force depends on the manipulability performance index, judged by the contact force, velocity, normalized position increment and joint angle increment, and combine with the kinematic decoupling method based on the redundant angle to achieve effective tracking of the trajectory, as well as to avoid the singularity of a numerical method and complexity of an analytical solution for redundant robot.
On the basis of interactive intention estimation, a control method based on variable impedance sliding mode theory in the presence of virtual force and contact force, in which impedance parameters tuning used fuzzy inference rule and approach law adopted the hyperbolic tangent function to alleviated the chattering problem caused by switch function, is presented.
We validate the stability of control system by the theoretical calculation with the Lyapunov function and verify the control effects. For 7-DOF redundant robot, our controller not only can obtain the continuous joint angle that satisfies the trajectory tracking but also render the compliant behavior in the trajectory tracking.
This article is structured as follows: Section 2 introduces the kinematics and dynamics model of redundant robot. Section 3 suggests the controller of variable impedance sliding mode and stability proof in Cartesian coordinates. Section 4 shows the simulation results, carried out in the Matlab environment and Robotics Toolbox while robot is modeled in SolidWorks, to confirm the effectiveness of the proposed controller. Finally, Section 5 draws the conclusions and future works.
Inverse kinematics and dynamics modeling of the physical human-robot interaction
System design and inverse kinematics model
The robotic manipulator is a 7-DOF rotating-joint type robot and the Computer-Aided Design (CAD) model is presented in Figure 1. SolidWorks is used to get the virtual prototype model of the actual system which is kept vertical up in the original state. The axis configuration is shown in Figure 1(a). For kinematics, the joint coordinate frames on the basis of Denevit-Hartenberg (DH) rules are presented in Figure 1(b). From Figure1, it can be seen that rotation axes of the first three joints, named as

The structural scheme of the 7-DOF redundant manipulator. (a) seven rotational joints of the 7-DOF redundant manipulator. (b) each of the joints coordinate frames based on the D-H rules.

Simplified model of the 7-DOF manipulator; The wrist joint and the shoulder joint can be regarded as two Spherical joints, with joint four as rotating joint, the redundant angle β is defined as the angle between arm plane determined by point
If the position and orientation of the end-effector are given, the pose of point
In this article, the kinematic decoupling method based on redundant angle is presented. We firstly define the new coordinate system
Then, redundant angle β is defined as the angle between two planes consist of point
Where
For kinematic decoupling method, which consists inverse position and inverse orientation, the position of the end-effector actually depends on the first four joints as well as the orientation is the last three joints. From Figure2 we can see that θ2 and α have the same numerical value exclude that θ2 has direction and it is the same with θ4 and γ. According to the geometric mapping, we can calculate θ2 and θ4 as follows:
where
where
The last three joint rotations of the manipulator can be defined as follows: rotating around the z-axis of coordinate 4 (
Where
Dynamics of the 7-DOF robot manipulator
In this article, a series 7-DOF flexible joint robotic arm is modeled in the joint space:
Where
Where
Where
The last two equations (8.2) and (8.3) represent the torque model of flexible joint manipulator and the structural scheme is shown as Figure 3. Figure 3(a) presents the block diagram of the flexible joint manipulator and the simplified model representation is shown in Figure 3(b). The motors and the links of the 7-DOF robotic arm are connected by springs.

The schematic diagram of the 7-DOF flexible manipulator. (a) Block diagram of the flexible joint manipulator. (b) Simplified model representation of the flexible joint manipulator.
We adopt the inverse kinematics solution to get the joint position by the commanded trajectory

Block diagram representation of the proposed control scheme.
To track a desired reference trajectory in Cartesian coordinate system, the first dynamics refer to equation (8.1) are transformed and expressed as in Cartesian space 26 :
Where
The relations between the coefficient matrices of equations (8) and (11) for 7-DOF redundant manipulator with known Jacobian matrix
For the convenience, in the subsequent design,
Controller design
The compliance is used in the robot and human/environment safety interactions while the redundant robot is under the external force. Figure 4 shows the control scheme of 7-DOF redundant robot in physical human-robot interaction. The external force is consist of virtual force based on interactive intention and human contact force. The error between the actual trajectory
Virtual force estimation of interactive intention
Considering that human improperly operation or other special responding easily cause singular configuration which is reflected in the Jacobian matrix

Virtual force estimation of interactive intention.
According to the state information of the robot’s velocity and the interaction force in real time, when the force and velocity are in the same direction, the intention is determined as acceleration, otherwise the intention is determined as deceleration. The greater the force is, the stronger the intention is. Let
Considering an interaction at the end-effector, the virtual force model equivalent to the nonlinear spring system can be integrated into the desired dynamic behavior refer to equation (17). The virtual force
Where
Variable impedance parameters tuning
In real robotic system, the object usually suffers from the external force when moving in a task space. Therefore, the compliance control is widely used in the robot and human/environment safety interaction. In this article, the external force is consist of virtual force and human contact force. The impedance dynamics between the external force
Where

The impedance dynamics structure.
As well known, the impedance model depends on the choice of the impedance coefficients. Considering the stability and reliability of the system, the three parameters should be defined by positive diagonal matrices, given that all poles of the second-order differential equation must be on the left half-plane. Moreover, the coefficients of the impedance controller need to be adjusted in real time. To be simplified, we chose a constant for the mass coefficient

Control surface of
In view of the great influence of stiffness parameter
Then the stiffness parameter
Impedance sliding mode controller design for trajectory tracking
In the nonlinear controller type, sliding mode control technique is very useful for the controller designing of the system with matching perturbation uncertainty. In this article, the application of a impedance sliding mode-based approach to motion control of the 7-DOF redundant robot is discussed. As is well known, the control target is to keep the actual trajectory
When the trajectory of the end-effector does not achieve the ideal tracking case, it means that the small position deviation will generate a great force or torque. Consider of the insensitivity of dynamic compensation system to disturbance and uncertainty in case of sliding mode control, the open loop dynamic system refers to equation (11), if there is no controller for implementing trajectory tracking, can be written in Cartesian coordinates as
Where
Where
Property 1. For any real value
Property 2. For any real value
Property 3. For
From equations (22.1) and (22.3), we can get:
Then, by using (21) and (26), we have
Substituting equations (22.2) and (22.4) into (27), we design the control law:
Where
By using (21), (22.3), and (28) the closed-loop dynamic system during sliding mode controller can be calculated as
Equation (29) expresses the regulation of controller parameter
Lyapunov stability proof
To ensure that the system converges to the sliding surface
Taking the time derivative of
The inertia matrix
Using Property 1 and Property 2, according to equation (31) and equation (32), the above equation can be rewritten as:
Where
Using Property 3, equation (33) is derived as:
Thus, equation (33) is replaced in equation (34) to obtain:
By choosing
Numerical simulation and results analysis
To verify the availability of the controller proposed above, the application of the satellite component assembly simulation is mentioned. Figure 8(a) displays the serial robot manipulator in real time, and Figure 8(b) shows simulation structure used Simulink-Matlab and Robot Toolbox. The detailed parameters of the manipulator are presented in Tables 1 and 2.

Simulation scenario. (a) Serial robot manipulator used Robot Toolbox in real time. (b) Simulation structure used Simulink-Matlab.
D-H parameters of the 7-DOF redundant manipulator.
Parameters of the robot.
The simulation procedure is that carried by human and robot, the object moves along an accelerating—uniform—decelerating trajectory
The starting position of the end-effector is

Simulation results of 7-DOF redundant robot. (a) Seven joint angles when the redundant angle is fixed value (β = 45°). (b) Seven joint angles when the redundant angle based on virtual force, (c) joint angle velocities with different damping parameters, the inset one is the case of damping parameter
Figure 9(a) and (b) show seven joint angles of the robot. For redundant robot, there exist infinite inverse kinematics solutions, redundant angle can be computed presented in Section 2. If redundant angle is fixed value (β = 45°) in the continuous trajectory tracking, from the Figure 9(a), joint
As shown in Figure 9(c), there are two graphs. As well known, it is reasonable that joint velocity change slowly in the process of teaching. The inset one is the case of constant damping parameter
The forces by human versus time correspond to three cases are drawn in Figure 9(e). The thin dashed lines represent the case of fixed impedance parameters, which would lead to the instability of the system and inaccurate tracking (see Figure 9(f)). In order to improve the cooperation ability of the robot in the interaction process, the robot must have ability to adjust its own characteristics by variable impedance parameters and virtual force constraint. It is seen that the human force is augmented as the stiffness parameter
It is noted from Figure 9(f) that in three cases, that is constant
By analyzing the above simulation results, it is known that if the desired trajectory is planned in the space, meanwhile the appropriate redundant angle under the virtual force is chosen to avoid the mutation of the joint angle, we can achieve better tracking and the lower contact force. Consequently, the proposed controller combined with performance optimization based on interactive intention can make the system output remain in the corresponding predefined constraint region.
Conclusion
In summary, a control method based on variable impedance sliding mode theory is proposed to solve the problem of trajectory tracking accuracy and force compliance control in the same direction in physical human-robot interaction. The control system was established by the kinematic decoupling method utilized redundant angle for inverse kinematics solution as well as by the impedance sliding mode control law on the basis of the virtual force. It shows that the robot has an improved performance on trajectory tracking and force compliance. Meanwhile, to alleviate the chattering problem caused by the sign function in existing controllers, we replace the sign function with the hyperbolic tangent function to accomplish the soft switch control and the asymptotic tracking is proven using Lyapunov stability theorem.
Simulations with Matlab software exhibit an improved performance, namely, tracking accuracy is achieved by 97.8% and the external force is 43% less than variable impedance parameters. It is proved that the proposed method not only can obtain the continuous joint angle that satisfies the trajectory tracking for redundant robot but also render the compliant behavior in the human-robot interactions. Consequently, the controller is potential widely used for physical human-robot interactions, typically like teaching where the impedance of the robot’s end-effector plays a key role. Since the tracking trajectory is the basic and important study on manipulator control, it reflects the control performance of the manipulator. However, it is noted that the effect from load on the end-effector of manipulator on tracking performance should not be ignored. In the future, based on the tracking trajectory, the force compliance control with load should be considered. Also, practical experimental verification on simulation effect will be necessary for the near future.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was financially supported in part by the National Key Research and Development Program of China under Grant 2018YFB1305300, and in part by the National Natural Science Foundation of China under Grant 61763030.
