Research Article: A New Artificial Neural Network Approach in Solving Inverse Kinematics of Robotic Arm (Denso VP6242)
Research Article: A New Artificial Neural Network Approach in Solving Inverse Kinematics of Robotic Arm (Denso VP6242)
Research Article: A New Artificial Neural Network Approach in Solving Inverse Kinematics of Robotic Arm (Denso VP6242)
Research Article
A New Artificial Neural Network Approach in Solving Inverse
Kinematics of Robotic Arm (Denso VP6242)
Copyright © 2016 Ahmed R. J. Almusawi et al. This is an open access article distributed under the Creative Commons Attribution
License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly
cited.
This paper presents a novel inverse kinematics solution for robotic arm based on artificial neural network (ANN) architecture. The
motion of robotic arm is controlled by the kinematics of ANN. A new artificial neural network approach for inverse kinematics is
proposed. The novelty of the proposed ANN is the inclusion of the feedback of current joint angles configuration of robotic arm as
well as the desired position and orientation in the input pattern of neural network, while the traditional ANN has only the desired
position and orientation of the end effector in the input pattern of neural network. In this paper, a six DOF Denso robotic arm
with a gripper is controlled by ANN. The comprehensive experimental results proved the applicability and the efficiency of the
proposed approach in robotic motion control. The inclusion of current configuration of joint angles in ANN significantly increased
the accuracy of ANN estimation of the joint angles output. The new controller design has advantages over the existing techniques
for minimizing the position error in unconventional tasks and increasing the accuracy of ANN in estimation of robot’s joint angles.
Position errors of end effector and feasibility of the joint used to solve the kinematics of the autonomous positioning
angles were obtained [4]. An artificial neural network was of a robotic arm. This modeling and analysis approach was
used for controlling 3 DOF robotic manipulator. The methods tested by using a five DOF arm with a gripper mounted to
introduced a nonlinear relation between Cartesian and joint the iRobot mobile platform [15]. Online robot kinematics
coordinates using multilayer perceptron in artificial neural parameter errors estimation based on inertial measurement
network. A simulation test was implemented [5]. A neural unit (IMU) was presented. It obtained the orientation of the
network architecture was introduced to solve the inverse manipulator with the orientation of the IMU in real time.
kinematics problem for robotics manipulators with two This approach incorporated Factored Quaternion Algorithm
degrees of freedom. The neural networks were multilayered (FQA) and Kalman Filter (KF) to the orientation of the
perceptron (MLP) with a backpropagation training algorithm IMU [16]. An analytical solution of inverse kinematics for a
for reducing the complexity of the algorithm and calculation five DOF spatial parallel micromanipulator was presented. A
(matrix inversion) of inverse geometric of robotic arm. The geometrical mode and structural of system were introduced
result showed a mean squared error (MSE) in performance for the microrobot’s task [17]. Forward kinematics and inverse
near to 10−5 [6]. A high-order-logic theorem was used for kinematics were calculated and simulation was done for
solving the kinematics analysis of six-axis revolute joint joints and link parameters of six-axis robotic arm. Trajectory
robot. The approach required an enormous amount of user planning was described for the requisite motion of the
intervention to overcome the limitation of kinematic analysis manipulator as a time sequence task [18]. Forward and inverse
[7]. The inverse kinematics problem of the 6 DOF robot kinematics of a KUKA robotic arm in the application of
is solved by using curved-surface scanning to carry the a simple welding process were introduced. A general DH
ultrasonic testing task. Many results for the joint angles were representation of forward and inverse matrix was obtained.
acquired; the method of the shortest distance was assumed A movement flow planning was designed and developed for
to solve the inverse problem of the robot system. A 3D the programming of the robot [19]. The mobile robot with
application software was introduced to simulate the motion arm (KUKA youBot) and the solving of inverse kinematics
of ultrasonic trajectory and path planning [8]. The kine- problem were introduced. The robot was presented as 8
matics and singularities of an asymmetrical parallel robotic DOF. The kinematics redundancy of the holonomic platform
wrist were investigated by using the method of Lagrange was presented. Including redundancy parameters, the inverse
multipliers and considering all the mobile components. kinematics solution was suggested [20]. The end effector
The designed model was numerically illustrated to show position and orientation error of a space robot were studied.
its computation accuracy [9]. A technique for solving the A geometric parameter identification method was presented
inverse kinematics problem using artificial neural networks based on a laser ranger attached to the end effector. The
was introduced for a PUMA 560 robot. An inverse kine- independence of the geometric parameters was analyzed.
matic solution was studied by training the neural network Identification equations were derived by simulation which
with the robot’s end effector Cartesian coordinates and its was implemented for different types of robot configuration
corresponding joint configurations. Results showed mean [21].
square error (MSE) of 1.2178, the regression value obtained This paper introduces a novel solving method for six-
was 0.87527, and the position errors in 𝑥-, 𝑦-, and 𝑧-axis axis manipulator robot based on ANN to be used in motion
were 4.93%, 7.29%, and 3.73%, respectively [10]. A solution control. It is clear from previous survey that no study has
to the inverse kinematics was required for generating desired included current joint angles of robot in their ANN. In this
trajectories in the Cartesian space (2D). A feedforward neural study, the ANN architecture has included current joint angles
network was used for planar of three-link manipulators. of robot in the input pattern and it improves the performance
The result showed the best performance at epoch 9 with of proposed ANN in solving inverse kinematics. It is the first
mean squared error (MSE) of 0.0054387 [11]. The kinematics ANN that fulfils the requirement of robot precise motion and
of three DOF was introduced for the lower limb of the reduces joint angles error and outcomes in some aspects of
humanoid robot. Decoupled closed-form solution for the the robot tasks.
position and orientation was the solution of kinematics; This paper is organized as follows. Section 2 presents the
the joint sequences were presented by Denavit-Hartenberg kinematics analysis and the required parameters for motion
(DH) transformation matrices. Swing phase equations were control followed by an explanation of problem formula-
developed to avoid matrix inversion problems [12]. The tion. The proposed artificial neural network is described in
kinematic parameters on industrial robot were affected by Section 3. Section 4 illustrates the system setup. Section 5
vibrations disturbance. The error in motion was improved presents the experimental work and discussion of results.
by sensors of accelerometer and gyroscope. The motion Finally, Section 6 concludes this paper.
profile was analyzed for joint; then, the path tracking of
welding task was estimated [13]. Human robot kinematics was
identified by geometry kinematics approach to map human 2. Kinematics Analysis
arm configuration and stiffness controlled index by hand
gesture. The human arm stiffness was estimated within robot The kinematics of serial manipulator describe the relation-
experiential stability region. A moving task was implemented ship between the joint angles and the position and orientation
to test the performance of geometry kinematics approach of its end effector. The kinematics of robot is required in tra-
on Baxter robot simulator [14]. The geometric approach was jectory generation and motion control. The transformation
Computational Intelligence and Neuroscience 3
Y3 Link 𝑖 𝜃𝑖 𝑑𝑖 𝑎𝑖 𝛼𝑖
Y2 1 𝑞1 0.125 0 pi/2
Z3 2 𝑞2 0 0.21 0
Y4
X2 X3 Z4 3 𝑞3 0 −0.075 −pi/2
Z2
X4 4 𝑞4 0.21 0 pi/2
Z5 5 𝑞5 0 0 −pi/2
Y1
X5 6 𝑞6 0.07 0 0
Y5
Z1 X1
Z0 Y0 Y6 X6
0
𝑇gripper = 𝐴 1 𝐴 2 𝐴 3 𝐴 4 𝐴 5 𝐴6 𝐴 gripper , (3)
Figure 1: Reference coordinates for the system.
where
matrices have been used for control. The robotic system is the
Denso robot with 6 revolute joints. The kinematics analysis 1 0 0 0
is done after system coordinate frame has been performed, [ ]
the coordinates 𝑂0 , 𝑥0 , 𝑦0 , 𝑧0 are fixed to the base which is the [0 0 −1 0 ]
𝐴1 = [ ]
[0 1 0 .125] ,
base frame. The other coordinate frames are attached to the [ ]
corresponding links. The reference coordinates of the system
are shown in Figure 1. [0 0 0 1 ]
The homogeneous transformation matrix is stated to 1 0 0 .21
represent the position and orientation of end effector with [ ]
respect to base coordinate; a homogeneous transformation [0 1 0 0 ]
𝐴2 = [
[0 0 1 0 ] ,
]
matrix 𝑇60 for overall system is as follows: [ ]
[0 0 0 1 ]
𝑅60 𝑃60
𝑇60 = [ ], (1) 1 0 0 −.075
0 1 [ ]
[0 0 1 0 ]
[
𝐴3 = [ ],
]
where 𝑅60 is a rotation matrix 3 × 3 and 𝑃60 is a position vector [0 −1 0 0 ]
of the end effector in the base frame coordinate. The Denavit- [0 0 0 1 ]
Hartenberg DH method is used to analyze the kinematics (4)
of Denso robot. The robot transformation matrix has been 1 0 0 0
denoted. The single link homogenous transformation matrix [ ]
[0 0 −1 0 ]
𝐴 𝑖 is 𝐴4 = [ ]
[0 1 0 .21] ,
[ ]
𝐴 𝑖 = Rot𝑧,𝜃𝑖 Trans𝑥,𝑑𝑖 Trans𝑥,𝛼𝑖 Rot𝑥,𝛼𝑖 , [0 0 0 1]
y 2 Denso robot
0 z
Therefore, various other ways to determine the solution for
−0.2 1
−0.4 inverse kinematics problem were studied such as geometrical
−0.6 solutions and numerical algorithms. This task depends on the
−0.6−0.4 −0.4 designed structure of the robot while many robots such as
−0.2 0 0 −0.2 redundant manipulators do not have an analytical solution
0.2 0.2
Y (m 0.4 0.6 0.6 0.4 )
) X (m for the inverse kinematics.
In this study, two ANNs are designed for inverse kinemat-
Figure 2: The graphical representation for the robotic system.
ics of robotic arm. The first one is the traditional ANN as used
in serial robotics inverse kinematics analysis, and the second
is the proposed ANN by considering the feedback of current
The transformation matrix of the gripper is 𝐴 gripper ; the joint robot configuration (current joint angles) in the design of
angles and gripper transformation matrix are given; then, the ANN.
transformation matrix 𝑇Home of home position is calculated:
100
Mean squared error (MSE)
10−1
Best validation performance is
10−2
−3
3.3029e − 08 at epoch 68
10
10−4
10−5
10−6
10−7
10−8
0 10 20 30 40 50 60 70
Epochs
Figure 10: Experiment on the robotic motion demonstration by ANN (movement of end effector through helical path).
0.145
−0.06
0.14 −0.065
Motion in X direction (m)
0.125 −0.08
−0.085
0.12
−0.09
0.115
−0.095
0.11 −0.1
0.105 −0.105
21 22 23 24 25 26 27 28 29 30
Time (s) Time (s)
0.214
0.212
0.21
0.208
0.206
15 16 17 18
Time (s)
Desired path
Proposed ANN
Traditional ANN
(c)
Figure 12: Robot motion by two ANNs: (a) the motion in 𝑥 direction, (b) the motion in 𝑦 direction, and (c) the motion in 𝑧 direction.
Table 3: System performance comparison between this study and other studies mentioned in the literature.
×10−4 Acknowledgments
6
This study is supported by Scientific Research Projects Gov-
4 erning Unit (BAPYB) and Mechatronics Research Lab in
Error in position (m)
0 References
[1] T. Ogawa and H. Kanada, “Solution for Ill-posed inverse
−2 kinematics of robot arm by network inversion,” Journal of
Robotics, vol. 2010, Article ID 870923, 9 pages, 2010.
−4 [2] A. T. Hasan, N. Ismail, A. M. S. Hamouda, I. Aris, M. H. Marha-
0 10 20 30 40 50
ban, and H. M. A. A. Al-Assadi, “Artificial neural network-
Time (s) based kinematics Jacobian solution for serial manipulator pass-
X error ing through singular configurations,” Advances in Engineering
Y error Software, vol. 41, no. 2, pp. 359–367, 2010.
Z error [3] R. Köker, “A genetic algorithm approach to a neural-network-
based inverse kinematics solution of robotic manipulators
Figure 13: Proposed ANN motion error in 𝑥, 𝑦, and 𝑧 direction.
based on error minimization,” Information Sciences, vol. 222, pp.
528–543, 2013.
×10−3
[4] H. Toshani and M. Farrokhi, “Real-time inverse kinemat-
ics of redundant manipulators using neural networks and
10
quadratic programming: a Lyapunov-based approach,” Robotics
8 and Autonomous Systems, vol. 62, no. 6, pp. 766–781, 2014.
6 [5] S. K. Nanda, S. Panda, P. R. Subudhi, and R. K. Das, “A
Error in position (m)