Beruflich Dokumente
Kultur Dokumente
ABSTRACT: A rewarding but not trivial goal and a highly interactive and realistic virtual environment
are central to a successful and addictive computer game. These can also be the key ingredients for
modern hands-on and risk free lectures in industrial control, making easier to teach, assess and enforce
good thinking and improved practices. The paper describes the development of an educational virtual
training system simulating five industrial plants that features cutting-edge 3D real-time graphics, physics
and sound. The goal is to make plants work by developing the proper controlling software. The bonus is a
funny but very realistic and interactive virtual environment from where trainees get a real and serious
sense of how their programming actually works or not.
Keywords: Virtual environments, computer games technologies, interactive training systems, control
education and training.
INTRODUCTION
The simulation of real world phenomena is a wide
and very interesting application area of computer
sciences and technologies. Traditionally, it is used
in forecasting; more recently, in training.
A flight simulator is a classical example of a
computer based training system. Here, a trainee
pilot using a real cockpit interface interacts with a
computer based system representing a real world
scenario [1]. Until recently, man in the loop
simulation systems [2], as flight simulators, were
only common in training scenarios where risk and
cost are major concerns, such as nuclear plants,
aerospace and military [3-4]. Yet, low cost and
great advances in computing technologies are
making computer simulation a common training
tool [5-8]. For instance, light cars, trucks and bus
simulators are being increasingly used for training
in driving schools all over the world.
The ever increasing demand for more realistic
video games is being for decades the main
research motivation in computer simulation and
related technologies [9]. As a result, modern
computer games allow for high-performance
visualization of complex systems reacting in realtime to external or internal events according to
physics laws or man-made rules. Play stations are
becoming amusing training stations, where
common people can feel the power of driving an
F1 or a world championship rally car or,
alternatively, can try air or rail traffic control
While addictive video games are a major concern
for parents and educators, they can play a major
Fig. 1.
A 2D virtual system.
Fig. 2.
A 3D virtual system.
SYSTEM DEVELOPMENT
The technology underneath this software solution
can be divided in three major groups: a graphics
engine, a physics engine and an original, specially
designed, instrumentation engine [17]. The
graphics engine is responsible for all the visual
and sound presentation; the physics engine
computes the motions of the objects and their
interactions; the instrumentation engine emulates
sensors and actuators and manages the
communication between the software and an I/O
DAQ board on which is based all the data
exchange with the controlling PLC.
The 3D graphics engine used by this software is
proprietary. It was developed on top of the XNA
Framework v1.0 Refresh and .NET Framework 2.0
targeting the vertex/pixel shader 1.1 compatible
boards, making it thus available to a wide group of
users. The main features of this technology are
batched rendering, material system, scene graph
optimization, post-process bloom effect, efficient
translucent materials, GUI system and custom
content pipeline processors for models, GUI and
collision shapes.
Fig. 3.
Fig. 4.
Available Systems
The developed training package offers five target
systems based on common real world industrial
plants. Each system addresses standard problems
requiring PLC control and proper programming.
Fig. 8.
Fig. 9.
Fig. 5.
User Interaction
All the systems can be manually controlled by the
user or in automatic mode by the PLC. In manual
mode the user acts as the system controller, so
that he can get familiar with the working process.
When in automatic mode the PLC is the only
system controller. Fig 10 shows the systems user
interface. Here, the user can observe the state of
virtual sensors and actuators, chose manual or
automatic mode and press virtual switches and
watch virtual lamps similar to those found in
industrial machines panels, including an
emergency switch!
Fig. 6.
Fig. 7.
Hardware/Configuration
The information exchange between the PLC and
the software is supported by an USB DAQ board
with 32 isolated I/O channels. The USB interface
makes possible to host the simulation software in
any kind of PC (workstations, laptops and even
netbooks) and to wire the system to any type of
PLC of any brand having at least 16 input and 10
output points for a complete data interchange with
the virtual sensors and actuators.
The minimum computer requirements for running
the developed software are a Pentium IV or AMD
K8 at 1GHz, 256MB of RAM memory, 200MB of
available disk space, a graphics card compatible
with DirectX 9.0, two USB ports and Windows XP
with Service Pack 2 or Windows Vista.
The installation process and configuration is
straightforward and a standard computer can run
the application using less than 20% of system
resources.
CONCLUSIONS
The paper presented a software package
emulating five real-world-based industrial plants.
Its purpose is to have a synthetic environment
similar to those found in modern computers
games, from where trainees can validate their
PLCs control programs. This is a real-time, low
cost and interactive solution without any risk of
injury to staff or damage to machinery.
Each plant includes proper virtual sensors and
actuators exchanging information with the PLC
through an USB interface data acquisition board.
This makes possible to control the virtual plants
with any PLC from any manufacturer.
Preliminary feedback from trainers and trainees
sustain that the concept is interesting and
valuable, predicting an increasing number of users
in the near future. Moreover, its original purpose of
serving just basic logic control education is being
surpassed, as the synthetic plants are being used
for testing and training supervisory and
dependable control strategies in advanced
educational and research activities. The ongoing
integration of an OPC client allowing different and
distributed control equipment will certainly broad
the spectrum of the application in future releases.
References
[1] Menendez, R and Bernard J. (2001) Flight
Simulation in Synthetic Environments. IEEE AESS
Magazine, p. 19-23, September 2001.
[2] Innocenti, M. Pollini, L (1999). A Synthetic
Environment for Simulation and Visualization of
Dynamic Systems. Proc American Control Conf.
1999 p. 1769-1774.
[3] Paquette, D.L.; Gouveia, L.M. (2000) Virtual training
for live fire naval gunfire support OCEANS 2000
MTS/IEEE Conf. and Exhib. Vol 2, p. 733 737.