Robot Simulation and Off-Line Programming: S. F. Chan, Prof. Weston and Case
Robot Simulation and Off-Line Programming: S. F. Chan, Prof. Weston and Case
programming
by S. F. Chan, Prof. R. H. Weston and K. Case
Loughborough University of Technology
Robot simulation and off-line programming seem likely to have an 0 It may be possible to create better
increasingly important role in the evolution of C I M facilities. This quality programs using more intelligent
article considers the capabilities and shortcomings of the current languages than those identified above.
0 The use of a teach pendant may
generation of off-line programming and graphical simulation systems. raise operator safety issues.
Methods of overcoming problems associated with calibration, lack of
‘user friendliness’ and integration within manufacturing systems Commercially available robot
are discussed through reference to research studies at simulators
Loughborough University.
A number of robot simulators have
become available in the world market-
place (Refs. 3-6), including GRASP,
Introduction relating the process and product infor- McDonnell Douglas Robotics Software,
mation to investment and resource plan- AutoSi mulations, RoboTeach, AUTO PASS
Industrial robot systems have conven- ning criteria. Without computer assis- and ROBCAD. These CADCAM packages
tionally been designed and programmed tance in this procedure it i s highly likely provide a set of modelling and simu-
as stand-alone flexible manufacturing that it will only be possible to find opti- lation tools which can be used to
mac h i nes. However, severe Ii m itat ions mal solutions for the simplest of manu- represent graphically a robot manipu-
in this approach are now being encoun- facturing tasks lator and its attendant equipment, and
tered as manufacturing companies seek Having designed and assembled a hence simulate a manufacturing task.
to become more competitive through robot system, it is necessary to create The use of such packages can allow the
evolving computer integrated manufac- robot task programs which determine manufacturing engineer to try several
turing (CIM) facilities. the axial movements that the robot solutions for robotic cells before
There are some parallels here with the manipulators will perform in relation to purchasingany equipment or to investi-
development of part programming for mechanisms in the workplace and in gate alternative uses of existing cells.
numerically controlled (NC) machines, response to sensory feedback. The use Hence these workplace design tools can
where initial requirements were for of a centralised CADCAM package to be used to improve the choice and lay-
methods of programming single, rela- create robot task programs (commonly out of robot systems, reduce set-up
tively simple machines through the referred to as a method of off-line pro- costs, reduce installation times and
facilities of their own controllers (on- gramming) is not a simple exercise. The improve system performance: certain
line programming). Advances in com- variability and complexity of the kine- manufacturers claim that ‘engineers can
puter-aided design and manufacturing matics of different robot manipulators design and lay out robot cells up to 70%
(CADCAM) and the advent of computer and workplaces raises new issues when faster through the use of a robot
and direct numerical control (CNC/DNC) compared with the off-line programming simulator’ (Ref. 4).
made off-line programming a realistic of NC machines. Thus robot tasks are An additional feature of many robot
proposition for groups of more complex conventionally programmed at the simulators is the availability of postpro-
machines indirectly communicatingwith machine controller. A range of pro- cessing software for off-line program-
each other through shopfloor computer prietary programming languages have ming of robots. Such a postprocessor
systems. Unfortunately, the design and become available for this task - for reformats the geometric and sequential
programmingof a manufacturingsystem example VAL I I , AML, KARREL and HELP information generated by the modeller
which includes industrial robots can (Refs. 1 and 2) - and are used in con- and simulator to produce a robot task
involve far greater complexity than that junction with a teach pendant. While program in the native language of the
for a system composed solely of NC robot languages of this type simplify robot. Obviously this postprocessing
machines. This i s a direct consequence task programming, they have attendant function is robot dependent (currently
of the wider variety of possible applica- major disadvantages, as follows: there is no internationally accepted
tion areas and potential solutions given neutral language for robots), and hence
the enhanced flexibility offered by 0 For small-batch production, loss of this facility will only be readily available
robotics. production time in the teach mode (while for commonly used industrial robots.
The designer of a robot system must defining the workplace geometry) can Let us consider some of the necessary
determine an appropriate choice of be significant. features of the modeller. Commonly
robot and its workplace elements, inclu- 0 It i s necessary to recreate infor- either ’set-theoretic’ (Ref. 7 ) or ‘bound-
ding feeders, tools, grippers, fixtures and mation (concerning processes and pro- ary representation’ (Ref. 8 ) solid model-
sensors. The selection of a particular ducts) which may already be available in ling techniques are used to allow a
solution from the very many valid a machine-readable form elsewhere in three-dimensional.model of the robot
alternatives must be determined by the manufacturing system. and workplace to be constructed from
Computer-Aided Engineering Journal August 1988 157
simple primitive shapes such as cuboids, represent the movement of the robot volved in attempting a full dynamic
regular prisms and cylinders, or gener- (relative to its peripheral equipment, simulation would be justified except in
ally by closed polyhedra. Typical robot namely machines, feeders, conveyors rare circumstances. However, facilities
simulators will facilitate model creation and components etc.) between these for obtaining cycle time estimations can
by ’easy-to-use’ data input methods, and various workplace co-ordinate positions. be particularly useful as this information
by allowing the created models to be Path control can be imposed on the can be used in investment appraisal and
stored in and recalled from a library. motion between positions so that resource planning exercises.
When created, the robot and workplace straight-line or circular trajectories can
model may be viewed and manipulated be represented. During this simulation Limitationsof the present generation
in standard ways, for example displayed process, interference detection software of robot simulators
graphically in plan, front and side ele- can be executed so that collisions in the
vations, and in perspective and plane workplace can be flagged. This is in- Here we consider three key functional
parallel projections from any viewpoint. herently possible through the use of set- areas in which the present generation
The spatial relationship between entities theoretic or boundary representation of robot simulators demonstrate limi-
in the model (the robot and its equip- modelling techniques, although it can tations, these limitations reducing their
ment, for example) can be controlled be extremely time consuming. effectiveness and widespread usage.
using the normal CAD input and display The present generation of robot simu- These functional areas are ’calibration’,
practices. lators can be considered essentially to ‘integration’ and ’ease of use’.
Typically methods are also provided to be kinematic in nature, although com-
allow robot model movements to be monly an estimate of the cycle times Calibration
controlled in conventional ways, such as related to various workplace movements In common with any simulation pro-
in ’world’, ’tool’ and ‘joint‘ co-ordinate can be obtained: velocity information cess, the usefulness of a robot simulator
systems. For example, the user may being assigned to the manipulator is governed by the‘accuracy’with which
specify the desired position of the tool model at model creation. Thus the the robot and its workplace can be
centre point, with the robot simulator dynamic characteristics of the robot and model led.
performing the inverse transformations its workplace elements are not usually Using the present generation of
necessary in order to determine and accurately modelled. For example, in a computer systems, sufficient processing
display the robot posture. A number of high-speed contouring application the power can be made available to achieve
such positions can be stored as a series real manipulator will be subject to very high precision modelling of any
of sequential events in a manner anal- backlash , deflect ion of manipulator manipulator system. However, in cre-
ogous to the teach method of robot links, following error etc. We shall ating such a model, specific input data
programming. Subsequently, a time- return to this point later, but it is concerning the manipulator’s kinematic
based simulation can be executed to debatable whether the complexity in- and dynamic behaviour must be available
RedBoard PCB
SFC update
modules
SFC C A D
pre-processor updated
locations
download
v i a RS 232
serial link
1 , seriol link
I
workplace
equipment
robot
sequence board robot
model
1- controller
h-’
1 --l
model model
robot
L robot
i
before? instruction /
engineering design. Simulators that are
an extension of such systems are there-
fore likely to be able to call upon highly
developed MMls for the specification L
I
display
yes
I
I
of geometry. A typical approach would options
be a parametric design programming
language often used to ease the gen-
eration of models of families of parts.
GRASP, a stand-alone simulator with its
own modelling system, does not have
such facilities, and thus provides both
the need and the opportunity to study
parametric design from the particular
viewpoint of robotic equipment.
I 1
The distinguishing feature here is the
need to define easily the functional re-
lationships between the components of
the equipment. An example would be in i f options with
specifying geometry of a gripper such pattern defined by
that it will have the correct relationship reference points
to the robot on which it is to be
mounted. (In the case of GRASP, this
involves careful modelling about a set of
axes which will be made coincident with
those of the tool attachment point.)
Careful modelling is again required
when the object being modelled is a
mechanism which will be required to I U
assume different configurations under
various kinematic conditions. Modelling
the kinematic structure of the robots
themselves is of course a central aspect
of the simulator and hence is well
catered for. However, the kinematic Fig. 5 Module structure used to define palletising operations