Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/277892652

Kinematic Analysis of a 6DOF Gantry Machine

Conference Paper  in  SAE Technical Papers · April 2015


DOI: 10.4271/2015-01-0497

CITATIONS READS
0 1,937

3 authors:

Monika Filiposka Ana Djuric


University of Windsor Wayne State University
3 PUBLICATIONS   1 CITATION    41 PUBLICATIONS   149 CITATIONS   

SEE PROFILE SEE PROFILE

W. H. Elmaraghy
University of Windsor
300 PUBLICATIONS   2,717 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

periodic complexity View project

Kinematic Modeling Of An Automated Laser Line Scanning System View project

All content following this page was uploaded by Monika Filiposka on 09 June 2015.

The user has requested enhancement of the downloaded file.


Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

Kinematic Analysis of a 6DOF Gantry Machine 2015-01-0497


Published 04/14/2015

Monika Filiposka
University of Windsor

Ana M. Djuric
WSU SSIM

Waguih ElMaraghy
University of Windsor

CITATION: Filiposka, M., Djuric, A., and ElMaraghy, W., "Kinematic Analysis of a 6DOF Gantry Machine," SAE Technical Paper
2015-01-0497, 2015, doi:10.4271/2015-01-0497.
Copyright © 2015 SAE International

Abstract but has low dexterity since at least one joint is translational. Cartesian
manipulators are also called Gantry manipulators. Most CNC
Gantry robots are mainly employed for applications requiring large
machines have this kinematic structure, which allows large effective
workspace, with limited higher manipulability in one direction than the
workspace and enables manipulation of large and heavy objects. They
others. The Gantries offer very good mechanical stiffness and constant
are often used for material handling and assembly. Robots originate
positioning accuracy, but low dexterity. Common gantries are CNC
from the CNC machines. The computer numerical control (CNC) of
machines with three translational joints XYZ (3DOF) and usually with
milling machines was developed to increase the precision in
an attached wrist (+3DOF). The translational joints are used to move
machining. The CNC machines are treated like separate family of
the tool in any position in the 3D workspace. The wrist is used to orient
robots and their kinematic structure corresponds with that of the
the tool by rotation about X, Y and Z axis. This standard kinematic
robot. Because they are capable of performing similar tasks, they
structure (3T3R) produces a rectangular workspace.
usually work together ([1], [2], [3], [4], [5]). The kinematics
describes the analytical relationship between the joint positions and
In this paper a full kinematic model for a 6DOF general CNC
the end-effector position and orientation. Kinematics of a manipulator
(gantry) machine is presented, along with the Jacobian matrix and
represents the basis of a systematic, general derivation of its
singularity analysis. Using Denavit-Hartenberg convention, firstly,
dynamics. To solve the kinematics problem, there are a variety of
the general kinematic structure is presented, in order to assign frames
methods: geometric, trigonometric and algebraic. The formulation of
at each link. The forward kinematic problem is solved using Maple
the kinematics relationship allows the study of three key problems of
17 software. Differential kinematics describes the analytical
robotics, the direct kinematics problem, the inverse kinematics
relationship between the joint motion and the end-effector motion in
problem and the differential (velocity) kinematics ([6], [7]).
terms of velocities, through the manipulator Jacobian matrix. The
configuration at which the manipulator Jacobian matrix drops rank is
Forward (direct) kinematics is a mapping from joint space to
called singular configuration. In this paper the Jacobian matrix is
Cartesian space. This mapping is one to one - there is a unique
derived using the vector cross multiplication method. The singularity
Cartesian robot configuration for a given set of joint variables. It is
conditions are examined and validated. The fully reachable
important to be able to specify the locations of the links with respect
workspace is plotted with Matlab tools using specified joint limits.
to each other and with respect to the base frame.
The presented solutions are expressed in parametric manner and can
Differential or Velocity kinematics describes the analytical relationship
be used for analysis of the existing gantry type machine as well as a
between the joint motion and the end-effector motion in terms of
design tool for new machines.
velocities, through the manipulator Jacobian matrix. Upon solving the
forward kinematics for a system, the Jacobian matrix is the next
Introduction priority, for determining singular configurations. The Jacobian matrix
calculation is substantial because it gives the transformation between
Cartesian manipulators are described by translational movements,
velocities in the workspace and the kinematic structure [8].
whose axes are jointly orthogonal. The Cartesian structure offers very
good mechanical stiffness and constant wrist positioning accuracy,
Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

The non-linearity of forward kinematics increases the complexity in work envelope. Singularities are successfully reduces into small
the inverse kinematics direct computation [9]. Inverse kinematics areas, and the joint ranges are not much affected. Lin and Koren [1]
represents the mapping from Cartesian space to joint space. The have presented efficient tool path panning algorithm for 3axis CNC
inverse kinematics mapping is typically one to many, but many of machine, but also applicable in 6axis (6DOF) CNC machines. Two
these may not be physically realizable or the target positions may algorithms for singularity avoidance and their successful
only be reachable with full extension of the links. implementation in milling robots control are presented in Vosniakos
and Matsas, 2010 [15]. When a manipulator is performing a milling
The workspace of a manipulator is defined as the set of all end- operation, usually the material is of low-strength, and the accuracy is
effector configurations which can be reached by certain choice of very important. Optimization is needed in order to achieve precise
joint angles. For given values of the joint variables, it is important to results, along the planned path. The initial position of the end-effector
specify the locations of the links relative to each other. This is needs to be located at a spot, which will provide constant acceleration
possible by using the manipulator kinematic equations, and and force. With respect to the base frame and singularities, the
determining the relation between the end-effector and the base joint. algorithms provided effective optimization, with 1% errors in the
direction following the trajectory. Du et al. [3] presented kinematics
A singular configuration of a robot manipulator is a configuration at of a 3 axes CNC machine tool for error modeling. Two key factors
which the manipulator Jacobian matrix drops rank, and which is are important in CNC machining; geometry and force. The geometry
affecting the size of the end-effector forces that the manipulator can can be predefined; also the force can be stable if there are no
apply. Singularities remain to be the main problem in robot control singularities encountered. The initial positioning error is the most
and motion planning. They can cause problems in inverse kinematics common error in CNC machining; therefore optimization must be
and design of the robot. When the structure is at a singular performed before selecting the most appropriate pose of the tool, to
configuration, infinite solutions to the inverse kinematics problem ensure fewer errors in the rotational elements. Kunpeng et al. [5] have
may exist. A robot singularity can occur either on the robot's presented a singularity analysis of micro milling, where high
workspace boundary or within the interior of the robot's workspace. precision is demanded. No evidence of effective workspace or
Boundary singularities occur when the manipulator is stretched to the visualization is found in this paper, only mathematical modeling is
maximum or contracted to the minimum. From a point of view of performed. Pei and Leu [16] have studied the orientational and
dexterity, singularities on the workspace boundaries can be avoided translational robot singularities. They have outlined that kinematics
by simply fetching the desired operation into the interior of the of robot is important in all areas of robotics; dynamics, control and
robot's workspace [10]. However, singularities in the interior of the motion planning. Jacobian-screw theory for calculating singularities
workspace are problematic, as they can be encountered anywhere in has been used for PPP, PPR, PRP, RPP structures (easy to
the reachable workspace. These singularities are caused by the implement), and for RRR, RRP, RPR, PRR structures (difficult to
alignment of two or more axes, or by the realization of particular implement). A novel n-DOF Global Kinematic Model (GKM) for
end-effector configurations. Robot singularities have negative impact reconfigurable manufacturing systems (RMS), was generated in
on dexterity. For the singular configuration mobility of the structure Djuric et al., 2010 [17]. All the possible values and configurations,
is reduced, which mean it is not possible for the manipulator to also the forward kinematic reconfigurable solutions are given.
impose an arbitrary motion to the end-effector. In the neighborhood N-DOF GKM joints modeling is suitablefor any combination of
of a singularity, the Jacobian matrix determinant has relatively small either rotational or translational type of joints. The total number of
value which can cause large joint velocities [11]. It is known that for supported structures is 48(48 - 1)n - 1; for a 6DOF system, equals to
almost all manipulator architectures, the theoretical joint space must 11,008,560,336 possible kinematic structures. The mathematical
contain singularities. model stands for a unified approach for kinematics of reconfigurable
multibody system.

Literature Survey
The study of robot kinematics is the study of the motion of kinematic CNC Machine Kinematic Modelling
structures, using the mathematical tools of linear algebra and screw Cartesian robots are mainly employed where there is a need of large
theory. Kinematics, as the most fundamental aspect of robot design is a workspaces, with prismatic and infinite shape. Common CNCs have
foundational problem in analysis, control, and simulation. The three translational joints XYZ (3DOF), often with an attached wrist
Denavit- Hartenberg (DH) convention represents the de facto standard (+3DOF), to allow rotation moves and an option to reach any position
in robotics for demonstrating the relationship between the joint angles through linear motions, within the rectangular workspace envelope.
and the end-effector [12]. In addition to this relationship, the Jacobian
matrix is the link between joint and end-effector velocities.
Forward Kinematics
The origins of the study of singularities in mechanism and machine Depending on the task, i.e. the functional requirements, in this paper,
research literature goes back to the 1980s and relates particularly to a general CNC machine is selected for analysis (Figure 1) and its
the determination of the degree of mobility via screw theory analysis kinematic structure is represented in Figure 2. The DH parameters
and geometric optimization of workspace for serial manipulators that corresponds with this structure are found in the Workspace
[13]. Vijaykumar et al. [14] presented singular configurations for software (Table 1).
both, rotational and translational joints. The dexterous or functional
workspace is graphically presented, inside the boundary points of the
Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

Table 1. CNC machine DH parameters (Workspace5 software)

(1)

(2)

(3)

(4)

(5)

Figure 1. General CNC machine (source: Workspace 5 software, 2013)

(6)

Forward kinematics gives the position and orientation of the


end-effector, relative to the base frame of the manipulator.
Mathematically, these equations define a function between the space
of Cartesian positions and orientations and the space of joint
positions [6]. When all homogeneous transformation matrices are
identified, by multiplying all of them, forward kinematics is
calculated (Eq. 7)

Figure 2. General CNC machine kinematic structure


(7)
Thanks to the DH convention [12], by substituting the given
parameters, all 6 homogeneous transformation matrices can be
computed in Maple software as follow (Eq.1, 2, 3, 4, 5, 6):
Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

Jacobian Matrix Calculation


By rigidly attaching a coordinate frame to each link as needed, and
then multiplying them together as desired, the Jacobian matrix can be
derived for any manipulator. The use of the D-H convention is simple
systematic procedure to do this. The resulting equations are (15)
dependent on the chosen coordinate frames, but the manipulator
configuration itself, is representing geometric quantities, independent
of the frames used to describe them [7].

Because the CNC machine's first three joints are translational, and the
(16)
last three are rotational, the Jacobian will have the following general
form (Eq.8):

(17)
(8)

For the Jacobian matrix derivation it is necessary to compute all


rotation matrices (Eq.9, 10, 11, 12, 13, 14), and all position vectors
(Eq.15, 16, 17, 18, 19, 20), in terms of the base frame, 0 and the
corresponding joint i, which can be found in the iterative (18)
multiplication of the homogeneous transformation matrices:

(19)
(9)

(20)
(10)
The modelling continues with the unit vectors computation (Eq. 21,
22, 23, 24, 25, 26). Each Zi-1 unit vector represents the third column
of the corresponding rotational 0Ri matrix.

(11)

(21)

(12)

(22)

(13)

(23)

(14)

(24)
Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

(31)

As previously mentioned, the selected general CNC machine can be


(25)
viewed as XYZ machine with attached spherical wrist with 3 joints
intersecting in 1 point. This argument allows partitioning of the
Jacobian into four 3 × 3 parts (Eq.32). Since the first three joints are
translational and there is no angular velocity at this point, the value of
J21 will be 0, thus the Jacobian, can be decoupled as follow:
(26)

After cross multiplication of the position vectors relative to the base


coordinate frame, 0Pi with the relevant unit vector, Zi-1 (for the last
(32)
three joints only) (Eq.27, 28, 29), the Jacobian matrix can be
assembled, by importing the joint variables and constant parameters.
In the case of this CNC machine, Eq.33 represents the determinant on
the J11 element:

(27)

(33)

(28) The only condition produced by this equation is θ5 = 0° and θ4 =


90°, because the part in the brackets (cos θ5d6 + d4 + d3), can never
equate to 0.

The only singularity of the spherical wrist happens when the joint
axes z3 and z5 are collinear, which physically means the 4th and the
(29) 6th joint are aligned (Eq.34):

For the current CNC machine, the full Jacobian, 6 × 6, is given in Eq.30:

(34)

This is true only when θ5 = 0, or θ5 = 180°, and because the


maximum limit of the joint is 150°, 180° can never be reached, so
only 0° is taken into consideration.

General CNC Machine Workspace


Matlab software provides precise numerical and visual results for
forward kinematics of manipulators. With the forward kinematics
equations, it is possible to plot any position of the end-effector, within
the workspace. When plotting the home position of the machine, a
(30) dot will appear at the position point of the end-effector. This code
validates the results in forward kinematics, and also allows
continuation of the computation of the workspace. The kinematic
Singularity Conditions structure and the end-effector position of this general Gantry is
In order to find singularity points, the determinant of the 6 × 6 computed as shown in Figure 3.
Jacobian matrix needs to be equal to zero (Eq.31). When the machine
is in singular configuration, the Jacobian matrix loses its full rank
(one row of it has only 0 values)
Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

Conclusions
Using Matlab tools, there is a possibility to visualize the workspace
of different manipulators. With the use of the kinematic equations a
visualisation of the reachable workspace of a general Gantry Machine
is generated. The plot function used here can generate all the points in
the workspace, point-by-point.

This work could be considered as a preliminary design in a complete


CNC (Gantry) Machine design, where all other characteristics are
considered, like dynamics modelling, actuators, sensors, payload,
repeatability, accuracy, and control. Task planning and path
generation are areas where the real velocities at the end-effector pose
are of primarily importance. At singular configuration the velocity
level of these points approaches infinity, and they need to be avoided.
In the singularity locus infinite solutions for inverse kinematics may
exist. For optimization purposes it is always better to generate the
singularity locus in the early stage of the design, because when
selecting from a set of possible position and orientation points, their
Figure 3. CNC Forward kinematics validation
velocity level plays a crucial role.
The CNC's workspace can be computed with a set of equations (Eq.35)
which are describing every reachable point of the machine's end- References
effector. Here, the mechanical limits, specified by the manufacturer,
should be considered, as they are already given in Table 1. 1. Lin, R.-S. and Koren Y., Efficient Tool-Path Planning for
Machining Free-Form Surfaces. Journal of Engineering for
Industry, 1996. 118: p. 20.
2. Nadal, O.B., Giralt L.R., and Manubens M., A complete method
for workspace boundary determination. Advances in Robot
Kinematics: Motion in Man and Machine, 2010: p. 329-338.
(35)
3. Du, Z., Zhang S., and Hong M., Development of a multi-step
measuring method for motion accuracy of NC machine tools
based on cross grid encoder. International Journal of Machine
Tools and Manufacture, 2010. 50(3): p. 270-280.
4. Djuric, A., et al., Effective Work Region Visualization for Serial
6 DOF Robots. Enabling Manufacturing Competitiveness and
Economic Sustainability, 2014: p. 207-212.
5. Kunpeng, Z., Soon H.G., and San W.Y., Multiscale Singularity
Analysis of Cutting Forces for Micromilling Tool-Wear
Monitoring. IEEE Transactions on Industrial Electronics, 2011.
58: p. 2512-2521.
6. Craig, J.J., Introduction to robotics: mechanics and control,
2005: Pearson/Prentice Hall Upper Saddle River, NJ, USA:.
7. Spong, M.W. and Vidyasagar M., Robot dynamics and control,
2008: John Wiley & Sons.
8. Merzouki, R., et al., Intelligent Mechatronic Systems: Modeling,
Control and Diagnosis, 2012: Springer.
Figure 4. CNC Workspace 9. Siciliano, B., et al., Robotics2009, London: Springer London.
10. Lenarčič, J., Bajd T., and Stanišić M.M., Singular Planes and
These equations are same as in 0P6 position vector in equation 20. By
Dexterous Robot Mechanisms. 2013. 60: p. 185-206.
specifying the limits for the joint variables d1, d2 and d3, from minimum
−1000 to maximum 1000, the fully reachable workspace is generated. 11. Bajd, T., et al., Robotics, 2010, Dordrecht: Springer
Netherlands.
As shown in Figure 4 above, this general CNC machine's workspace 12. Denavit, J. and Hartenberg R.S., A Kinematic Notation for
has a cubic shape, with length 2000mm, and the center of the cube is Lower-Pair Mechanisms Based on Matrices. Transaction ASME
the end-effector home position. J Appl Mech, 1955. 22: p. 215-221.
13. Lipkin, H. and Duffy J., Analysis of industrial robots via theory
In the case of the CNC machine the only singularity produced was at of screws. Proc. 12th Int. Sym. Indus. Robots, 1982: p. 359-370.
joint 5, and this singularity is considered as a common singularity for
all manipulators with spherical joint.
Downloaded from SAE International by Monika Filiposka, Thursday, April 09, 2015

14. Vijaykumar, R., Waldron K.J., and Tsai M.J., Geometric 16. Pai, D.K. and Leu M.C., Genericity and singularities of robot
Optimization of Serial Chain Manipulator Structures for manipulators. IEEE Transactions on Robotics and Automation,
Working Volume and Dexterity. The International Journal of 1992. 8: p. 545-559.
Robotics Research, 1986. 5(2): p. 91-103. 17. Djuric, A.M., Al Saidi R., and ElMaraghy W.H., Global
15. Vosniakos, G.-C. and Matsas E., Improving feasibility of robotic Kinematic Model generation for n-DOF reconfigurable
milling through robot placement optimisation. Robotics and machinery structure, in IEEE Conference on Automation
Computer-Integrated Manufacturing, 2010. 26(5): p. 517-525. Science and Engineering (CASE)2010. p. 804-809.

The Engineering Meetings Board has approved this paper for publication. It has successfully completed SAE’s peer review process under the supervision of the session organizer. The process
requires a minimum of three (3) reviews by industry experts.

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written permission of SAE International.

Positions and opinions advanced in this paper are those of the author(s) and not necessarily those of SAE International. The author is solely responsible for the content of the paper.

ISSN 0148-7191

http://papers.sae.org/2015-01-0497

View publication stats

You might also like