Professional Documents
Culture Documents
KST-2017_paper_26
KST-2017_paper_26
Abstract—This paper presents the inverse kinematics The geometric method is suitable for a less DOF
solution using the neural network for a robotic arm in robotics arm because when a robotic arm has links
3-dimension. This paper creates neural networks to more than 2 this method will require many complexity
represent x, y and z position of the end-effector in the trigonometry equations in computation [4]. For
forward kinematics equations. The structure of the example, this method can solve inverse kinematics for
network has 4 layers; input layer, 2 hidden layers, and a 2-link robotic arm in 3-dimension with less
output layer. The input and output layers are defined as computations by assuming a 2-link robotic arm as a
robotic arm angle and position of the end-effector, triangle that place on the plane then, use the law of
respectively. Then, the network updates the weights by
cosines to find angles in a robot arm joints[3].
the backpropagation with variable learning rate
algorithm until reaching criteria that the output of the The iterative method or numerical method will
network is equal to the desired positions. Finally, the calculate the model repeatedly until output reached
inverse kinematics solution is defined by the optimal target. This method has a lot of advantage such as
weights of the network. To evaluate the performance converge to a single solution that depends on starting
algorithm, the MATLAB Program is used to point and easy to implement the model for a high
demonstrate the robotic arm movement in 3-dimension. DOF robotic arm. Examples of iterative methods are
As a result, the proposed algorithm can help the robotic
CCD, FABRICK, Nero-fuzzy and Neural Network.
arm move to the desired position quickly and correctly.
The popular neural network approaches are
Keywords-forward kinematics; inverse kinematics; training network with data of end-effector positions
neural network; robotic arm; and angles of joints to create the model [5,6,7,8,9].
This method requires a lot of data, many hidden layers
I. INTRODUCTION and neurons for the accuracy of the solution.
Moreover, this method still has problems to find the
Inverse kinematic solution is one of the most
target that has multiple solutions in training data.
important problems in robotic control because this
Thus, this paper proposes the method to solve the
solution can provide angles of a robotic arm joints
problem without using a lot of data and reduce neural
from desired positions of the end-effector. However,
network structure [1, 2].
inverse kinematics solutions have some disadvantage
such as solutions may not exist or have multiple
solutions and the computation will more complexity
when the number of robotic arm joints increased. For
this reason, many research attempts to find the new
method to solve inverse kinematics problem with less
complexity computation, fast and accurate. The most
popular method that used to solve inverse kinematics
can classify as algebraic, geometric and iterative
method.
The algebraic method is the original kinematics
model that mainly used Cartesian space and represents
the transformation between two coordinate in
Cartesian space by a translation and a rotation. In the
solution the system will define Denavit & Hartenberg
(DH) parameters for all joints of a robotic arm to
describe a robotic arm about types of joint or length in
each link. Then, multiply position of the end-effector
(or desired position) by orthonormal matrices (4x4
matrices) to find all position of joints in Cartesian
Fig. 1. A 3 DOF robot arm
space and use inverse trigonometric functions to solve
angles of robotic arm joints [3].
II. THE PROPOSED NEURAL NETWORK ARCHITECTURE
FOR INVERSE KINEMATICS SOLUTION
The procedure of our proposed solution consists of
3 parts. First, finding forward kinematics equations of
the end-effector. Second, using these equations to
create the neural network models. Finally, updating
the weight by the backpropagation with variable
learning rate algorithm and using final weight as the
solution of angles.
A. Forward Kinematics
(c.)
The position of the end-effector in Cartesian space
can be described by forward kinematics equations Fig. 2. The neural network form forward kinematics of the end-
with trigonometry terms. For example, a 3 DOF robot effector (a.) x position (b.) y position (c.) z position.
arm in 3-dimension as shown in Fig. 1. The positions
of x, y and z are relate to angle variables by equations The initial value of these neural network are setup
as follows as follows
xend cos( q1 ) 2 cos( q2 ) 3 cos( q2 q3 ) (1) Input as angle variable( q2 , q3 ) starting with
random values in range 0<q2<π, -π/2<q3<π/2
yend sin(q1 ) 2 cos( q2 ) 3 cos( q2 q3 ) (2)
Output as x, y and z position of the end-
zend 1 2 sin(q2 ) 3 sin(q2 q3 ) (3) effector
Where q, are angle variables and lengths of a Target is the desired positions of the end-
robot arm link, respectively. These equations show a effector
simple way to find the position of end-effector. Thus, Initial weight W11 = W21 = W31 = 1, W12 and W22
this paper proposes the way to build the neural are robotic arm links 2 and 3 , respectively.
networks to represent x, y and z position of the end- 3 3
W1 =cos(q1) for neural x, W1 =sin(q1) for
effector in forward kinematics equations as shown 3 2
in Fig. 2. neural y and W1 =1, b1 = 1 for neural z
In this model we use q1 as a fixed weight (W13) for
B. The Neural Network Model the network of x and y position. To calculate q1
observe the projection of a robotic arm on xy-plane
and using arctan between the desired position (xd,yd)
and the base of robot arm (xref,yref).
y d y ref
q1 arctan (4)
xd xref
When q1 is known the computation will decrease
complexity the same as solving inverse kinematics
problem in 2 dimensional similarly a robotic arm is
(a.) placing on the planar in 3-dimension. Thus, the angle
solution of network x and y will varies in the same
direction.
The outputs of these networks are as follows
Effect of q1
Fig. 5. Euclidean error plot with 50 iterations for training weight Fig. 8. Circle trajectory tracking on xz-plane
in each neural and repeat the process 5 times.
IV. CONCLUSIONS
This paper can solve inverse kinematics of a
3-DOF robotic arm in 3-dimension spaces using the
neural network creating from the forward kinematics
equations with high accuracy. For this reason, this
neural uses less number of the hidden layers and the
neurons. Furthermore, as we use the small data
training and the method can reduce complexities in
computation that can increase the speed of
convergence.
In the future, we will improve the inverse
kinematics solution algorithm based on the neural
network to apply for the higher DOF of the robotic
arm. We also plan to improve the learning algorithm
of the neural network.