AMMS - Inverse Kinematics Analysis 7 DOF Cobot
AMMS - Inverse Kinematics Analysis 7 DOF Cobot
AMMS - Inverse Kinematics Analysis 7 DOF Cobot
1 Introduction
In the past twenty years, collaborative robots, commonly known as cobots, are
experiencing rapid market growth in this sector of the robotics industry. This type of
robot is able to physically interact with humans in a shared workspace thanks to
sensors, intelligent controls, and other design features such as lightweight materials,
rounded edges.
To operate dexterously like a human arm, the cobot is designed with 7 degrees of
freedom (DOF) with a structure of anthropomorphic arm. As a redundant
manipulator, inverse kinematics of a 7-DOF arm has attracted many researchers.
Solution of this arm can be found in closed form or numerical one. An analytical
solution can be found in case of non-offset arm [1,2]. In this case, the shoulder and
wrist are considered as spherical joints. Hence, the elbow joint can freely rotate
around axis passing through two spherical joints. Based on this feature, the analytical
solution can be found, depending on a freely chosen parameter – free internal motion
of elbow joint around axis through shoulder and wrist that is called swivel angle. In
[2], authors chose the swivel angle of the robot arm so that robot configuration is as
same as human arm as possible. One drawback of this approach is the way to deal
with singularity and joint limit avoidance.
Another approach for inverse kinematics of redundant robot is based on Jacobian
matrix, in which the inverse problem is solved at velocity, acceleration, or jerk level.
A set of linear equations is dealed by pseudo-inverse of Jacobian matrix. The joint
variables are then obtained by integrating joint velocities, acceleration, or jerks. In
this approach, the advantages of redundancy such as trajectory optimization, obstacle,
joint mechanical limits, and singularity avoidance are easily exploited by using null
space of Jacobian matrix [3,5]. This method is simple, however, for 7-DOF
anthropomorphic arm the Jacobian matrix is quite bulky one.
In this paper, the method based on Jacobian matrix and analytical method are
combined for finding solution of inverse kinematics of a 7-DOF anthropomorphic
manipulator without offsets. In this way, the first four joint variables are determined
with Jacobian-based method, and the last three ones based on analytical method.
Some numerical simulations are carried out to verify the effectiveness of the proposed
approach.
2 Kinematic analysis
Let’s consider a 7-DOF manipulator as shown in Fig. 1. The direct kinematics can
be solved systematicly by using Denavit-Hartenberg (DH) method. The link
coordinate systems established with the DH convention and the corresponding DH
parameters table are shown in Fig. 1. and Table 1, respectively. In which
qi , i 1, 2,..., 7 represents the joint variables.
z5 O5,6
q6
z4 z6 d7
x3
x4 q5 q7
z0 d5 x5
x2 q3 O7
q2
q4 z2
O3,4 O5,6
O1,2 q4
d3 z3
n3
n2
d1 x1 C
z1 y0
h d5
O0 q4
//x1 n1
O3,4
q1 O1,2 d3
x0
link i i di ai i
1 q1 d1=0.28 0 /2
2 q2 d2=0 0 /2
3 q3 d3=0.33 0 -/2
4 q4 d4=0 0 /2
5 q5 d5=0.32 0 -/2
6 q6 d6=0 0 /2
7 q7 d7=0.10 0 0
d cq sq d [(cq cq cq sq sq )sq cq sq cq ]
3 1 2 5 1 2 3 1 3 4 1 2 4
rO 5 (q) rO 6 (q) d 3sq1sq 2 d5 [(sq1cq 2cq 3 cq1sq 3 )sq 4 sq1sq 2cq 4 ]
(0) (0)
(4)
d1 d 3cq 2 d5 (sq 2cq 3sq 4 cq2cq 4 )
Remarks: We can see that the position of O3 depends only on q1 and q 2 ; the
position of O5 depends only on q1...q 4 and not on q 5 .
For any robotic arm using rotational joints, there are always singular configurations in
workspace. The kinematic singularities is independent of coordinate frame. The
singularity can be found based on calculating determinant of Jacobian matrix
det(J(q)) = 0 or det(J(q)JT (q)) = 0 [5,8]. However, with the structure of the
manipulator as shown in Fig. 1, geometrically, we can see the singularities in some
cases as shown in Fig. 2:
When the origin O5,6 is on the z0 axis, the joint variable q1 can have any value.
This is called a shoulder singularity.
When link 3 and 4 are stretched ( q 4 0 ) out or folded ( q 4 ), axes z2 and z4
are collinear. Rotation of link 3 has no effect on the motion of the end-effector.
This is called an elbow singularity.
Similarly, when links 5 and 6 are stretched ( q 6 0 ) out or folded ( q 6 ),
axes z4 and z6 are collinear. Rotation of link 6 has no effect on the motion of the
end-effector. This is called a wrist singularity.
The other cases of singularities are the combination of the mentioned
singularities.
z4
O5 q5
O7
d5
z0 q7
q5
q1
O1,2 q6
q4
q3 d3 z3 z3 z5
z1
q2 q5
q3
Given is a position and orientation of the end-effector r7(0) & R 70 , we need to find
the joint variables qk , k 1,..., 7 .
Because three axes z 4 , z 5 , z 6 are concurrent at one point (O5 = O6), the Pieper’s
method (position and orientation decoupling) can be applied here for inverse
kinematics [4]. The position of the wrist is determined from given position and
orientation of the end-effector as:
r5(0) r6(0) r7(0) d7 R 70 k(7)
7
[x 5 y5 z 5 ]T , k(7)
7
[0 0 1]T (5)
Analytical solutions
Consider the triangle O2O3O5, we can find joint angle q 4 :
d32 2d3d5 cos d52 l22 5
Cal. q 5 7
q57
r7 (t ),
r5 (t )
R 70 (t ) Cal. q p 1
r5 (t )
s q p q1 4
In order to confirm the validity of the algorithms proposed in this paper, some
numerical simulations are carried. Two trajectories including rectilinear and
curvilinear one from A to B are implemented by MATLAB:
rA [0.5(d 3 d5 d7 ), 0.4(d3 d5 ), d1 0.0d3 ]T
rB [0.5(d3 d5 d7 ), 0.4(d3 d5 ), d1 0.6d 3 ]T
-2
e e e
x y z
-4
0 0.5 1 1.5 2 2.5 3 3.5
t [s]
e) Position error of end-effector vs time
Fig. 5. Tracking of end-effector along curvilinear trajectory
The simulation results of two cases are shown in Fig. 4 and Fig. 5, respectively. It
can be seen from the simulation results that the pose of the manipulator changes
uniformly, and the actual trajectory is consistent with the given trajectory, and the
position errors of x, y and z are all within 2.510–6 m. All the joint variables change
smoothly, and no sudden change appears. These results prove that the proposed
inverse kinematics method can be applied to the control of continuous trajectory of
the 7-DOF manipulator.
To verify the ability to avoid singularities, a trajectory is chosen such that the
origin O5 pass through the axis z0. The simulation results in this case is shown in Fig.
6. It can be seen that x 5 y 5 0 at time t = 1.5 s, but time histories of all joint
variables are smooth, no sudden change of 1 occurs at this singularity.
4 Conclusion
Acknowledgment
This work was supported in part by the National Program: Support for research,
development, and technology application of industry 4.0 (KC-4.0/19-25), under the grant for
the project: Research, design and manufacture of Cobot applied in industry and some other
fields with human-robot interaction (code: KC-4.0-35/19-35).
References
1. X. Tian, Q. Xu and Q. Zhan (2020), An analytical inverse kinematics solution with joint
limits avoidance of 7-DOF anthropomorphic manipulators without offset, Journal of the
Franklin Institute, https://doi.org/ 10.1016/ j.jfranklin.2020.11.020
2. Wang Y, Artemiadis P (2013) Closed-Form Inverse Kinematic Solution for
Anthropomorphic Motion in Redundant Robot Arms. Adv Robot Autom 2: 110. doi:
10.4172/2168-9695.1000110.
3. Jingguo Wang, Yangmin Li and Xinhua Zhao (2010): Inverse Kinematics and Control of
a 7-DOF Redundant Manipulator Based on the Closed-Loop Algorithm. International
Journal of Advanced Robotic Systems, Vol. 7, No. 4 (2010)
4. John J Craig: Introduction to Robotics: Mechanics and Control. Pearson/Prentice Hall,
2005.
5. Bruno Siciliano, Lorenzo Sciavicco, Luigi Villani, Giuseppe Oriolo: Robotics:
Modelling, Planning and Control. Springer Science & Business Media, 2010.
6. Nakamura Y.: Advanced Robotics/Redundancy and Optimization. Addison-Wesley
Publishing Company, Reading 1991.
7. Rao, C.R.: Generalized Inverse of Matrices and its Applications. New York, Wiley, 1971.
8. Spong M. W.; Hutchinson S. and Vidyasagar M.: Robot Modeling and Control. John
Wiley & Sons, New York, 2006.