Point To Point
Point To Point
1435
All Rights Reserved © 2017 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 11, November 2017, ISSN: 2278 -7798
1 0 0 l3
L1 L2 L3
x4
0 1 0 0
x1 x2 x3 3
Ttool= (6)
0 0 1 0
θ1
θ2 θ3 Tool 0 0 0 1
Wrist
Elbow c123 s123 0 l1c1 l2c12
z1 Shoulder
z3 z4 s c123 0 l1s1 l2 s12
T3= 123
z2 0
(7)
Figure 2. Coordinate Frame Assignment of Robot Arm
0 0 1 0
0 0 0 1
Since the robot has three revolute joints, the joint
coordinate is Finally, to obtain 0Ttool, multiply 0T3 and 3Ttool then get,
qi= [θ1 θ2 θ3] c123 s123 0 l1c1 l2c12 l3c123
ii. Direct Geometric Model
s c123 0 l1s1 l2 s12 l3s123
0
Ttool= 123 (8)
The direct geometric model (DGM) represents the 0 0 1 0
relations calculating the operational coordinates, giving the 0 0 0 1
location of the end-effector, in terms of the joint coordinates.
After establishing D-H coordinate system for each link as where, c1 cos(1 )
shown in Table 1, a homogeneous transformation matrix can
easily be developed considering frame {i-1} and frame {i} s1 sin(1 )
transformation. So, the link transformation matrix between c12 cos(1 2 )
coordinate frames {i-1} and {i} has the following form [2];
i-1
Ti = Rot(z,θi).Trans(z,di).Trans(x,ai).Rot(x,αi) (1) s12 sin(1 2 )
cos i cos i sin i sin i sin i ai cos i c123 cos(1 2 3 )
sin cos cos sin cos a sin
i
Ti+1= i i i i i i i (2) s123 sin(1 2 3 )
0 sin i cos i di
Another generalized symbolic transformation matrix,
0 1
0 0
nx ox a x px
Where the four quantities, αi, ai, di, and θi are the n y o y a y py
parameters of link i and joint i. T= (9)
The various parameters in previous equation are given the nz oz a z pz
following names: 0 0 0 1
ai (Length) is the distance from zi to zi+1, measured
along zi; where, nx c123
αi (Twist), is the angle between z i and z i+1 measured n y s123
about xi;
di (Offset), is the distance from xi to xi+1 measured nz 0
along zi; and
θi (Angle), is the angle between xi and xi+1 measured ox s123
about zi. o y c123
oz 0
1436
All Rights Reserved © 2017 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 11, November 2017, ISSN: 2278 -7798
ax 0 s2 1 c2
2
(16)
ay 0
a tan 2( s , c ) (17)
2 2 2
az 1
By expanding cos(1 2 ) and sin(1 2 ) of equation
p x l1c1 l2c12 l3c123
(13) and (14), and rearranging them as:
p y l1s1 l2 s12 l3 s123 wx (a1 a2 c2 ) c1 a2 s1 s 2 (18)
pz 0 w y ( a1 a2 c 2 ) s1 a2 c1 s 2 (19)
θ1
X
1437
All Rights Reserved © 2017 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 11, November 2017, ISSN: 2278 -7798
and a reset button. It contains everything needed to support obtained by specifying the discrete time joint- displacements
the microcontroller; simply connect it to a computer with a at a constant time rate. The velocity and acceleration of the
USB cable or power it with a AC-to-DC adapter or battery to points can be calculated from the numerical approximation of
get started. The Mega is compatible with most shields the time derivatives. Several methods were used to compress
designed for the Arduino Duemilanove or Diecimila. the describing data of the trajectories as cubic, quintic and
LSPB trajectory.
ii. Personal Computer Cubic Trajectory: Cubic polynomial or third order
As previously mentioned, the PC is used to write Basic polynomial approximation describes the path parametrically
programs that the ARDUINO executes and to display sensory as a function of time with the position and velocity
data processed by the ARDUINO and control the robot using constraints at initial time t = zero and final time tf. It gives
MATLAB GUI. Any PC that supports MATLAB can be continuous positions and velocities at the start and finish
used. points times but discontinuities in the acceleration. The
derivative of acceleration is called the jerk. Higher order
iii. Servo Motor polynomials are required to guarantee the smoothness of the
Servo control in general can be broken into two joint accelerations.
fundamental classes of problems. The first class deals with Quintic Trajectory: A discontinuity in acceleration leads to
command tracking. It addresses the question of how well an impulsive jerk, which may excite vibration modes in the
does the actual motion follow what is being commanded. The manipulator and reduce tracking accuracy. For this reason,
typical commands in rotary motion control are position, one may wish to specify constraints on the acceleration as
velocity, acceleration and torque. The second general class of well as on the position and velocity. In this case, we have six
servo control addresses the disturbance rejection constraints (one each for initial and final configurations,
characteristics of the system. Disturbances can be anything initial and final velocities, and initial and final accelerations).
from torque disturbances on the motor shaft to incorrect Therefore, a fifth order polynomial is required.
motor parameter estimations used in the feedforward control. for distance:
2 3 4 5
q (t ) a0 a1t a2t a3t a4t a5t q
for velocity:
.
q (t ) a 2a t 3a t 2 4a t 3 5a t 4 v
1 2 3 4 5
for acceleration:
..
q (t ) 2a 6a t 12a t 2 20a t 3
2 3 4 5
B. Software Environment
Software environment can be divided into two parts: the
ARDUINO program and MATLAB Program. In ARDUINO
program, write a code to make the interfacing between PC
and arm. The MATLAB program consists of the Serial
Communication code and the graphical user interface (GUI).
1438
All Rights Reserved © 2017 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 11, November 2017, ISSN: 2278 -7798
LSPB trajectory: Another way to generate suitable joint At home position all angles are zero, put θ1 = 0, θ2 = 0, θ3
space trajectories is by so-called Linear Segments with = 0.
Parabolic Blends or (LSPB) for short. This type of trajectory So the transformation matrix reduced to:
is appropriate when a constant velocity is desired along a
portion of the path. The LSPB trajectory is such that the
velocity is initially “ramped up” to its desired value and then
“ramped down” when it approaches the goal position. To
achieve this, we specify the desired trajectory in three parts.
The first part from time t0 to time tb is a quadratic polynomial.
This results in a linear “ramp” velocity. At time tb, called the
blend time, the trajectory switches to a linear function. This
corresponds to a constant velocity. Finally, at time tf − t b the
trajectory switches once again, this time to a quadratic
polynomial so that the velocity is linear [4][5].
a 2 0 t tb Figure 10. Visualization of robot in all zero joint angles in 3D and 2D
q0 t
2 At this position all joint angles are 60 ,̊ put θ1=60 ,̊ θ2=60 ̊
and θ3=60 .̊
q f q0 Vt f tb t t f tb
q (t ) Vt
2
2
at f a 2
q f at f t t t f tb t t f
2 2
(a)
(b)
1439
All Rights Reserved © 2017 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 11, November 2017, ISSN: 2278 -7798
Figure.15. Testing Photo of Robot Arm Control System from Home Position
to Goal Positions (x=16 cm, y=10 cm and x =10 cm, y=10 cm with φ=45 )̊
CONCLUSIONS
This journal represents a writing robot using PC based
point to point trajectory control and it is designed for only as
a sample. The Graphical User Interface (GUI) of the software
package was developed for testing motional characteristics of
the robot arm. A physical interface between the robot arm and
the GUI was designed and built. A comparison between
kinematics solutions of the virtual arm and the robot's arm
physical motional behaviours have been accomplished. The
results are displayed in a graphical format and the motion of
all joints and end effector can be observed. Many future
developments can be carried on this robot arm like other
Figure.13. Testing Photo of Robot Arm Control System for Home Position
(x=30.3cm, y=0 cm and ϕ=0) types for robots, these developments include path-planning,
dynamics modelling, force control and computer vision.
ACKNOWLEDGEMENT
The author is deeply gratitude to Dr. Sint Soe, Rector of
Mandalay Technological University (MTU) for his kind
permission to submit this research. The author would like to
thank to her supervisor, Daw Wai Phyo Ei, Lecturer of
Mechatronic Engineering Department, Mandalay
Technological University, for her valuable supervision
guidance and comments for preparation of the research. After
that, the author would like to thank Dr. Sint Soe, Associate
Professor and thanks to all her teachers from Mechatronic
Department, Mandalay Technological University.
REFERENCES
[1] MAHMOUD A. ABUALSEBAH, “Trajectory Tracking Control of
3-Dof Robot Manipulator Using Tsk Fuzzy Controller”, AUGUST
2013.
Figure.14. Testing Photo of Robot Arm Control System from Home Position [2] J J. DENAVIT, R.S. HARTENBERG, “A Kinematics Notion
to Goal Position (x=12 cm, y=10 cm and ϕ=90 )̊ For Lower-Pair Mechanisms Based On Atrices”, ASME JOURNAL
OF APPLIED MECHANICS, VOL. 22, PP. 215–221, 1955.
[3] PAUL R.C.P., “Robot Manipulators: Mathematics, Programming
and Control”, MIT PRESS, CAMBRIDGE, 1981.
1440
All Rights Reserved © 2017 IJSETR
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 6, Issue 11, November 2017, ISSN: 2278 -7798
1441
All Rights Reserved © 2017 IJSETR