Implementation of robot offline programming.
Bozek, Pavol ; Chmelikova, Gabriela
Abstract: The paper deals with the practical offline programming of
a virtual robot. Offline programming is the best way how to maximalize
the return of investments of robotic workplaces. Programming of a robot
on PC (Nascak & Suriansky, 2000) without the need of production stop
is enabled by software for simulation and offline. It also enables to
prepare robot programmes in advance, what increases overall
productivity.
Keywords: virtual environment, robot, simulation, learning
1. INTRODUCTION
The aforementioned system provides tools leading to a profitability
increase of a robotic system in the way that tasks such as training,
programming and optimalization without the intervention necessity of a
production process are allowed to carry out. It brings a lot of
advantages, for example hazard decreasing, faster launching of
operation, faster changes of settings and production increasing.
2. PRACTICAL IMPLEMENTATION OF PROGRAMMING OFFLINE
The aim of object management in a virtual scene is a fully
operational virtual industrial robot managed in the same way as in
practice. For the simplicity of an operator service as well as
simplicity of an access to single functions in a user regime it is
suitable for the purposes of teaching a management and programming NC
devices system in various levels of service personnel educating (Cupec
et al, 2003).
2.1 Mathematical description of a robot
For successful solving the project, as a start, it is necessary to
sort out a mathematical description of a robot by which we determine
relations among the number of performed which we determine relations
among the number of performed
[FIGURE 1 OMITTED]
2.2 Mathematical application of the law of cosines
Motor steps of and angles of arm slewing or coordinates of the
effector as it is in figure 1.
It is possible to use the following mathematical reflections for
determining the number of single motor steps to be carried out for
shifting the magnetic gripper from point [X0,Y0,Z0] to point [X1,Y1,Z1]
or vice-versa. For describing a general triangle from mathematics it is
known the law of cosines Refer to "(1),", where "a",
"b", "c" are the sides of a triangle and the angle
alpha is the angle that "b" a "c" sides contain.
[a.sup.2] = [b.sup.2] + [c.sup.2] - 2.b.c.cos(alpha) (1)
The aforementioned known formulation serves for the calculation of
slewing of three driving units for a change of the magnetic gripper
position in space and vice-versa.
2.3 The determining of electromagnetic effector coordinates
The general triangle constructed from a main arm, auxiliary arm
(including gripper) and imaginary line from anchoring of the main arm to
the gripper forms the basis for the calculation of the gripper position
in space.
[FIGURE 2 OMITTED]
[FIGURE 3 OMITTED]
The angle beta (angle between main and auxiliary arm) and angle
alpha R (angle between main arm and imaginary line) are important angles
in this triangle. The triangle is shown in figure 2,3. On the basis of
these reflections we might determine the angles of single robot arms
from the magnetic gripper coordinates is space and vice-versa (Karavaev
et al, 2008).
2.4 Determining coordinates of the magnetic gripper from the
assigned angles
r() = [square root of [rameno2.sup.2] + [ramenol.sup.2] -
2.rameno2.ramenol.cos(betaZadane) alfaR() = alfaXZadane - (2)
ArcCos(([rameno2.sup.2] - r[().sup.2] -
[ramenol.sup.2])/2.ramenol.r() (3)
_z() = r().sin(alfaR()) (4)
_XxCiarov() = r()cos(alfaR()) (5)
_y() = XsCiarov1().cos(gamaZadane) (6)
_x() = XsCiarov1().sin(gamaZadane) (7)
3. APPLICATION OFFLINE PROGRAMMING OF A ROBOT IN VIRTUAL
ENVIRONMENT
A solutionist has to suggest and optimalize a robotic workplace
before he starts to form the robot programme. This can be done in real
environment and consequently he can form a copy of suggested workplace
in virtual environment or he can use virtual reality environment of
VIRTUAL ROBOT application to propose a robotic cell. For the proposal
needs some models of objects e.g. various palettes, conveyors, stands
and of course DP01 robot itself has already been prepared.
3.1 Application possibilities in a virtual scene
The aim of object management in a virtual scene is a fully
operational virtual production system with an industrial robot managed
in the same way as in practice. For the simplicity of an operator
service as well as the simplicity of an approach to single functions in
a user regime, the virtual industrial robot is exceptionally suitable
for the purposes of teaching a management and programming NC devices
system in different levels of educating the service personnel
(Stollmann, 2006). Next, it is possible to use a virtual automatic
system of a technological workplace in laboratory conditions to train
operators and programmers of uninterrupted operations. Apart from this,
automatic production systems known as the periphery of the industrial
robot will be possibly and simply incorporated into simulation of a
virtual robotic complex. All the arms of the angulatory robot carry out
rotational movement with six degrees of freeedom. Kinematics of such a
robot has open kinematic chain. There are basic components of the
angulatory robot:
Base--is a robot part that is connected firmly with the ground
* Arms--are fixed robot parts
* Joints--are robot parts that allow free or managed movement of
two arms that are connected by a joint
* Gripper--robot end effector that serves for holding, object
manipuation or the assembling of next devices, e.g. spray or welding
heads.
* Kinematic pair--is a pair of arms connected with a joint
* Kinematic chain--is a set of arms connected with joints
The kinematic chain can be represented by a graph where joints form
hitches and arms form edges of the graph. The axes of rotation pass
through points which are considered to be typical points in kinematics
of the angulatory robot. Tough the axis of rotation is not unambiguously
determined around a point, it is necessary to determine the axis of a
coordinate system that is parallel with this axis of rotation. By the
perception of coordinate systems via the optics of view Open GL it is
shifting the coordinate system towards an identified point as the
characteristic one.
4. ELECTRONICS OF DP01 ROBOT
The electronics managing DP01 robot consists of these
constructional parts:
1. Atmel AT 89S2051 Microcontroller.
2. Expanding of 8-bit signal from the microcontroller to 16-bit
necessary to manage DP01 laboratory robot by means of two
SN74LS373integrated circuits.
3. The stepper motor driver (amplifier) transforming low memory
signals from a control circuit to current signals, necessary to drive
single rolling of the stepper motor is formed mainly by ULN2803
integrated circuits, from which a current signal is amplified by BD 140
transistors.
The export from virtual environment into the real one is carried
out by means of the computer serial port of through which the robot
programme formed offline by means of virtual robot application we
transfer into the memory of ATMEL microcontroller (Suriansky &
Frank, 2006). Then, it is carried out by means of its programme. It
means that the microcontroller sends signals into stepper motor drivers
that activate single motors as it is mentioned in the carried out
programme, eventually it turns on or turns off the electromagnetic
gripper.
5. CONCLUSION
A described laboratory is set on a virtual control system of an
exact copy of real software that manages a robot model. Therefore it
permits very realistic simulations with the use of real robotic
programmes and configuration files identical with those that are used in
production. The described results are suitable not only for simulation
but also for student training.
6. ACKNOWLEDGEMENTS
The contribution was elaborated within the research project KEGA
project No. 3-7285-09 Contents Integration and Design of University
Textbook "Specialised Robotic Systems" in Print and
Interactive Modules for University of Technology in Zvolen, Trencin
University and Slovak University of Technology in Bratislava.
7. REFERENCES
Cupec, R. ; Lorch, O. & Schmidt, G. (2003) Vision-Guided
Humanoid Walking. Concepts and Experiments, Proceedings of the 12th
International Workshop on RAAD, Cassino, Italija, Svibanj
Karavaev, J.L. ; Lekomtsev, P. & Abramov, A.I. (2008)
Comparative analysis of the force parameters for drilling plastic and
brittle materials.--Bulletin IzhSTU No 1, Izhevsk, pp. 10-15, ISSN 1813-7903
Nascak, L, & Suriansky, J. (2000) Measuring systems with
computers. Scientific studies 7/2000A. Technical University in Zvolen,
pp. 79, ISBN 80228-1017-7
Stollmann, V. (2006) Derivation of relation for the calculation of
stepping barriers depending on the radius of the wheel. In: AFF, Zvolen,
Slovakia, ISSN 0231-5785, pp. 377-382.
Suriansky, J. & Frank, T. (2006) Visualisation of magnetic
fields generated by Helmholtz coils. In Elektro. International
konfernce, 2006, Technical university Zilina, pp. 326, ISSN 1336-1376