Distributed Agent Software for Automation 28.3 Building Agents for the Curing System 475
quickly detected and assessed by the individual agents
that are affected by such variations. Inconsistency be-
tween observed temperatures provides the basis to
suspect, detect, and further isolate the faulty element.
Fault detection and diagnosis are key enabling fea-
tures of the agent infrastructure that drive the processes
of configuration and planning. Dynamic reconfigu-
ration may include changing the operating state of
a group of system devices in a coordinated manner as
well as dynamically changing the control for system
elements.
28.2.2 Agent Tool
The technological advantage provided by the agents
is the ability to create agent components in industrial
commercial off-the-shelf PLCs without having to cre-
ate specialized hardware and programming tools. The
advantage of using PLC devices as the primary control
and agent-hosting platform is the reliability of its op-
erating system, hardware components, and packaging,
which are readily available for industrial use.
By embedding theagents directly intothe controller,
it is possible for the agent to interoperate with the con-
trol programs faster. This embodiment eliminates the
potential loss of controllability due to a lost connec-
tion between a controlling device and the supervising
computer. Control programs ensure the hard, real-time
response required by many control applications and an
agent part ensures high-level coordination and flexibil-
ity. This synergy of agent and control inside the PLC
and in combination with smaller PLCs has made it pos-
sible to transform a physical machine into an intelligent
machine by localizing the intelligence.
The changes made to the PLC firmware include
software extensions to the tasking model of the con-
troller, object instantiation and retention during power
cycles, and a more general communication layer. Great
effort took place initially to make the PLC an agent-
hosting device with the capability to absorb executable
agent code via object downloading. The extensions to
the communication layer covered the generation and
parsing of FIPA-based messages. With this feature, the
control-based agents talk to other agents that comply
with the FIPA specifications, even those that may have
been implemented using a different infrastructure.
To make the agent system scalable and manage-
able in terms of software for agent development, it was
necessary to create a development environment for the
programming of agent libraries [28.35]. There are five
main phases of agent development:
1. Template library design
2. Facility editor
3. Control system editor
4. Assignment wizard
5. Control code generator.
In the template library editor, a collectionof compo-
nents to represent the physical system is identified and
built with control and reasoning parts. These compo-
nents are generic, without referring to specific instances
or devices. The library of components is then instan-
tiated and arranged in a specific tree to represent the
hierarchical order and attributes of the components that
will be part of a specific system. This is where pa-
rameters of controlled devices and locations are added.
The control system editor helps in the selection of the
control and communication network equipment. In ad-
dition, it helps in the assignment of the input and output
(I/O) points.
Once the pieces above are defined, the control and
reasoning components defined within theapplication (in
the facility editor) are assigned to specific controllers
(PLCs). After the assignment, the executable code is
generated and downloaded to the controllers.
28.3 Building Agents for the Curing System
The purpose of modeling the composite process us-
ing industrial agents is to increase the degree of
survivability, diagnostics, and reconfigurability of the
system [28.36]. Survivability of the control system is
very important since it is directly related to safety and
the creation of scrap material.
Curing is a long process and therefore there is
a greater time span during which disruption may oc-
cur. Situations such as power shutdowns and network
discontinuity are of critical importance and these must
be handled in a timely way to sustain high process in-
tegrity. Since the curing process consists of applying
heat and cooling to composite material inside a sealed
autoclave, a reliable system to operate on top of the
temperature sensors is fundamental. The thermocouples
read the temperature of the composite material at differ-
Part C 28.3