Sei sulla pagina 1di 4

Implementation of a Cartesian Robot for Remote

Mission Critical Operator Training


Aidan F. Browne, Wesley B. Williams, Keith Loftus and Cameron Nye
William Lee College of Engineering
University of North Carolina at Charlotte
Charlotte, North Carolina 28223
{aidanbrowne, wbwillia, kloftus2, cnye} @uncc.edu

Abstract— As part of ongoing work to create training for


Mission Critical Operators, a new training system was developed
offering multiple degrees of freedom (DOF), which was a desirable
addition as part of a progression of training systems of increasing
complexity. With the addition of multiple DOF, the user may be
exposed to a more complex control environment presenting
challenging tasks related to full range of motion on multiple axes.
The electromechanical training system was developed following a
previously developed standard allowing control by two separate
controllers; a Micro800 series programmable logic controller
(PLC) or a National Instruments myRIO. This gives the user an
opportunity to learn two programming languages: ladder logic
and LabVIEW. The training system includes 4 DOF and has free
range of motion in the X, Y, and Z axis. This allows for multiple
applications to be simulated. The overall approach is presented;
the final designs are being made available under an open-source
license. Fig. 1. Architecture for PLC and microcontroller control
Keywords—Mission Critical Operations, robot, PLC, myRIO
Here we report on the design of another electromechanical
I. INTRODUCTION training system, a four degree of freedom (4DOF) Cartesian
Work has been ongoing to develop methods of training robot, which is a step up in complexity since it allows the user
Mission Critical Operators to troubleshoot and repair remote to make operational mistakes that are not recoverable (except
equipment and systems [1]. A key element of this training is the that the entire system is automatically resettable to a known
development of remote laboratory experiences, which have been state). In order to teach mechatronic control as a progression, it
researched as an element of distance education since the mid- is desirable to gradually add degrees of freedom to the user’s
1990s [2]. While there are many examples of remote lab control as an individual advances through a Mission Critical
experiences that have been developed for either LabVIEW [3] Operator curriculum. This Cartesian robot gantry allows
or PLC [4] programming, a goal of this project was to have a movement in the X, Y, and Z axis over a flat surface and a trough
single set of hardware that could selectively be controlled by of small balls, as well as control of an end effector to pick up
either LabVIEW or PLC, as indicated in Fig. 1. Previous work and place the balls. The design is similar to what might be found
includes the design and fabrication of a two car, three floor in a small CNC mill or open 3D printer. The architecture of the
elevator with multiple actuators, sensors, inputs, and outputs. new system is based on the control design of the previously
Control of the system uses a supervisory National Instruments reported elevator system. The baseline operational concept of
myRIO microprocessor that remains transparent to the user direct user control by either myRIO or PLC with supervision
operating the system. The user’s interaction with the system is from another myRIO was maintained from the previous design,
through either a second myRIO, or a programmable logic including the virtual machine access and remote web camera
controller (PLC) [5]. The user accesses the elevator system by viewing.
remotely and securely logging onto a virtual machine on a
dedicated server to gain direct control over the myRIO or PLC. II. RESETTABLE EXPERIMENT
In addition, the user is given access to web cameras to view the One requirement and challenge for developing remote
equipment while they are controlling it. electromechanical training systems is that they need to be
The elevator training system proved effective as an resettable to a known state to allow for error recovery, as well as
introductory training system, as it had limited degrees of to present a uniform challenge to different users. This is
freedom, and thus low risk for the trainee. It also established a somewhat trivial in a system like the elevator training system
baseline for remote user control of electromechanical systems. where all moving parts are constrained in two dimensions: the

978-1-5090-2246-5/16/$31.00 ©2016 IEEE


elevator cars travel vertically on closed-ended tracks and the
elevator doors travel horizontally in closed-ended tracks.
Resetting them is simply a matter of having the supervisory
control move the motors until the cars return to a desired
position, then set each door piston to the desired state, and
finally set all output indicators to a known state. With the
Cartesian robot, the user has been afforded the ability to move
within a volume to accomplish more complex tasks than the
elevator training system allowed. This creates an environment
where the system can be commanded to move to positions or
along paths that can be destructive to the task that the system is
being used to accomplish. For instance, if the system is being
used to stack objects, then an incorrect move could cause the
entire stack to be knocked over by the end effector.
Consequently, a sub-assembly for the Cartesian robot had to
be designed that allowed utilization of the added degrees of
freedom, but was also able to be reset automatically. After much
brainstorming, many intriguing control setups were conceived,
but most had to be subsequently eliminated due to complexity
of resetting to a known state (an example of one of the desirable
concepts was a chess board system that was able to move the
chess pieces appropriately, but the task of resetting them to a
known state if knocked about was deemed to be too difficult).
The concept that was ultimately pursued was a platform that Fig. 2. Overall system
allowed arrangement of colored golf balls on its surface, as
shown in Fig. 2. The platform has the ability to do an automatic surface, regardless of color, and always guaranteeing the user a
reset by tilting to collect the golf balls at one end (using gravity), ball positioned at a known index. To accomplish this, the
and an auger design to drive all of the golf balls to known supervisory control continually uses the augers to always keep a
locations along the periphery of the table. Once reset, the XYZ ball positioned at the end of the auger as balls are plucked from
gantry, using an appropriately sized and shaped that end position. Mode Two requires the user to keep track of
electromechanical gripper, provides the means to pick up, move balls they have plucked, as the augers stay stationary after initial
and place the golf balls within the volume. When a reset is reset. Mode Three builds on Mode Two by adding the
needed, the table is tilted up or down via an electrical actuator complexity of random positioning by requiring a specific
under command of the supervisory controller; similarly the pattern of balls, inclusive of color. This requires the user to use
augers are turned with dc motors under the same control. an overhead camera and vision processing to determine the
The overall design, which is pictured in Fig. 3, proved to be position in the trough of specifically colored balls.
versatile as it can be used in multiple different modes, adding With the Cartesian robot, the user has the opportunity to
varying levels of complexity within the system. Mode One is make mistakes in programming that disarrange golf balls placed
the simplest, requiring the creation of a pattern of balls on the previously, but the user also has the ability to reset the platform
if such mistakes were made. The system also has the ability to
return itself to a known pre-set state when a user logs out, thus
presenting the next user with a known starting state
In order to ensure safety to the Cartesian robot, limit
switches were implemented to create maximum boundary limits
for each of the three axes. In order to achieve this, there are two
sets of switches: optical photo sensors and mechanical limit
switches. The reason for having two different types is to have
one set that is transparent to the user and one set that can be
controlled directly by the user. The optical limit switches are
positioned approximately an inch from the ends of travel on each
axis so that the user can learn to program them while
experiencing complexity of over-travel. Physical limit switches
are positioned at the true safety stops of each end of each stage
so that the supervisory control can prevent the user from making
mistakes that actually damage the hardware.
Fig. 3. Golf Ball Table
III. SAFETY ENHANCEMENTS power for the PLC is cycled. This is done in order to ensure that
Due to the fact that the user’s remote interaction with the the next user who is using the PLC will not be able to upload a
control hardware allows more freedom of motion, it was decided completed program done by a user with a prior reservation.
that for safety, there exists a need to monitor the status of that In order to monitor the exact position of the extendable arm,
remote connection and disable any effectors if the connection high speed counters were used in combination with encoders.
were to drop. The user connects to the hardware through a VCL- The counters used were plug-in modules that provide both
like server interface where they make a reservation to gain single-ended and differential modes. The isolated high speed
access to the hardware. The server software is aware of the status counter module is compatible with two- and three-signal
of that reservation, as well as the status of the user’s connection quadrature, or incremental encoders [6]. The single-ended
to a dedicated virtual machine. By using Transmission Control incremental option was used to match the encoder configuration.
Protocol (TCP) communication between the server and the
supervisory myRIO, the server is able to make the supervisory In order to control the speed at which each axis moves,
control aware of whatever changes occur to the user’s individual stepper motors are used. To control these stepper
connection. When a reservations begins, the server motors, a pulse train output (PTO) signal with a specific
communicates to the supervisory controller whether the frequency is utilized. The PLC selected offers individual axis
reservation was for the use of the myRIO or PLC. The control by designating 3 PTOs and 3 directional outputs
supervisory control then switches to the correct device. Once included in its embedded I/O. This allows for individual control
established, if the user loses their connection to the virtual of the X, Y, and Z axis of the robot. The axes are configured in
machine, a command is sent to the supervisory control so it can the software in order to control the frequency provided to the
take action to make the Cartesian robot safe by disabling the stepper motors.
motor outputs. If the user reestablishes connection to the virtual Connected Components Workbench (CCW) is a software
machine, the supervisory control is again notified so it can re- that offers multiple programming styles such as: structured text,
enable the motor outputs. Once the user’s reservation ends, the ladder logic, and function block diagrams [7]. For the
server communicates this and the supervisory control resets the application this paper is focused on, ladder logic is used. The
experiment in preparation for the next reservation. PLC and CCW were designed to be used in parallel so CCW’s
interface compliments the PLC and is easy to use. CCW can be
IV. PLC UPGRADE
obtained by downloading it for free online or ordering a free
In this design and the previous, a PLC has been used in order DVD that includes free support and software updates [7].
to control the system. However, for a number of reasons, it was Implementing CCW as the programming software used for this
decided to revise the base configuration (and retrofit the elevator training system decreases the cost for duplicating this training
as well) with a different PLC from Allen Bradley, the Micro850, system because it is offered for free. CCW also has sufficient
which is shown in Fig. 4. The drivers of this decision were the documented support including, but not limited to: example code,
unnecessary complexity of network licensing for RSLogix, and function block descriptions, and PLC module configuration
the lack of native ability to produce pulse train outputs, and the descriptions.
need to have the supervisory control be able to reset and wipe
the unit. In order to control the 3 degrees of freedom and meet V. OPEN SOURCE
system requirements, the PLC must be able to create a control The design and fabrication of the Cartesian robot is intended
signal for each axis and have a program reset capability. to be open source and will be released under a Creative
Another improvement is the software used in order to program Commons license so that others will have the ability to replicate
the PLC. Instead of the recurring cost of licensed software, free the system if they so desired. Nearly all electrical and
versions of commercially available software is used. The unit mechanical components used in the construction of the robot
selected was from the Micro800 series. remain commercially available. Exceptions to this are the design
In order to satisfy PLC program reset functionality, an of the augers and the bracketry required when interfacing
isolated memory module is used in conjunction with the PLC’s components that did not have prefabricated solutions available;
embedded I/O capability. The module is configured to upload a however, 3D models of these items will be made available, as
blank program upon start-up. Once a user has completed their well as STL files for rapid prototyping.
session or connection to the server is lost, the Cartesian robot VI. CONCLUSIONS
transitions into a homing sequence. During this sequence, the
The Cartesian robot design presented provides many use
case scenarios related to remote system control of a multiple
DOF system. The training system incorporates two different
control schemes using common programming languages that
will further advance a user’s understanding of remote control
operation. With the upgraded PLC and myRIO, the user will be
able to control the process with either of the two controllers
smoothly. The implementation of this training system also
provides advantageous learning opportunities by offering
students a deeper understanding of how a system with multiple
Fig. 4. Allen Bradley Micro850 DOF should operate. With the gripper and golf ball table
assembly, the user will be able to visually obtain direct feedback
for their program. This feedback will allow a teacher and REFERENCES
student the opportunity to practice troubleshooting and problem
solving skills. [1] Williams, W. B., Browne, A. F., “Development of a Remote Laboratory
Architecture for Mission Critical Operations Instruction”, IEEE
VII. FUTURE WORK SoutheastCon 2016, Norfolk, VA, 30-Mar-3-Apr-2016
In the Spring of 2016, the Cartesian robot and elevator [5] [2] Aktan, B., C. A. Bohus, et al. (1996). "Distance learning applied to control
training systems will be incorporated into the curriculum in engineering laboratories." IEEE Transactions on Education 39(No.3).
Instrumentation and Practicum classes in the Engineering [3] Stefanovic, M., Cvijetkovic, V., Matijevic, M. and Simic, V. (2011), A
LabVIEW-based remote laboratory experiments for control engineering
Technology program. A variety of projects are planned, starting education. Comput. Appl. Eng. Educ., 19: 538–549.
with simple placement of balls in a pattern on the table, and [4] Bellmunt, O.G.; Miracle, D.M.; Arellano, S.G.; Sumper, A.; Andreu,
increasing in complexity to vision-based selection of the closest A.S., "A distance PLC programming course employing a remote
ball of the desired color; this will allow for the introduction of laboratory based on a flexible manufacturing cell," in Education, IEEE
other technologies, including path planning. Usage data and user Transactions on , vol.49, no.2, pp.278-284, May 2006
feedback will be obtained and used to improve the overall [5] Aidan Browne, Wesley Williams, Keith Loftus, and Chris Benfield,
student experience. This data will also be useful in the decisions “Development of a low-cost electromechanical elevator for
programmable logic and embedded controls training”, 2015 ASEE
about the design of a third generation training system. Annual Conference and Exposition, Seattle, WA., 15-Jun-2015
ACKNOWLEDGMENT [6] http://literature.rockwellautomation.com/idc/groups/literature/document
s/um/2080-um004_-en-e.pdf
This workforce product was funded by a grant awarded by [7] http://www.rockwellautomation.com/global/products-
the U.S. Department of Labor’s Employment and Training technologies/connected-components/tools/workbench.page
Administration. The product was created by the grantee and
does not necessarily reflect the official position of the U.S.
Department of Labor. The U.S. Department of Labor makes no
guarantees, warranties, or assurances of any kind, express or
implied, with respect to such information, including any
information on linked sites and including, but not limited to,
accuracy of the information or its completeness, timeliness,
usefulness, adequacy, continued availability, or owners.

Potrebbero piacerti anche