Beruflich Dokumente
Kultur Dokumente
ABSTRACT
This paper presents an approach to a knowledge-based real-time
diagnostic system for PLC controlled manufacturing systems. A
general structure of the diagnostic system is implemented, which
is the extension of an existing diagnostic system we developed in
recent years. Diagnostic knowledge is acquired artificially and
by model-based methods from the pneumatic and hydraulic
circuit diagrams and the PLC program. The knowledge is the
description of the functional and operational logic embedded in
the PLC in a more usable form compared to that held in the mind
of manufacturing system designers themselves. These models
contain the design and engineering knowledge about the
manufacturing system to be diagnosed. During the operation of
the manufacturing system, the diagnostic system can
continuously acquire data from the PLC, identify possible faults,
search for their causes and suggest corrective actions.
1.
INTRODUCTION
Actuator
states
PLC
outputs
Detailed actuator
behaviors
PLC
program
Sensors
PLC
inputs
Physical model
Control model
3.
Manufacturing system
PLC
program
Model-based
knowledge acquisition
PLC
I/O board
Artificial
knowledge acquisition
Knowledge base
Real-time
data acquisition
Database
Diagnostic reasoning
Diagnostic report
1. Possible faults
2. Fault causes
3. Corrective actions
or
LS1
Valve for movement
to the bottom
LS2
Table
(1)
(3)
(2)
(4)
If F(x) equals to the inverse state of S(x), the first step will be to
extract the logical expression of the inverse S(x). Each term of
the expression is a combined pattern of causes of the fault, i.e.
S ( x) = i ({ski }) = f1 ({sk1}) + f 2 ({sk 2 }) + = f i ({ski })
i
(5)
(6)
From (4) and (6) diagnostic knowledge about PLC logic control
can be easily obtained. This kind of knowledge describes the
logic relationship between every fault and its cause(s).
4.2.2 Model based on PLC control sequence. This model
consists of a certain number of system states and state changes in
the PLC control sequence. It describes the sequential changes of
the manufacturing system operating states. The action in a
certain step is not only related to the control commands in this
step, but also related to the step conditions in the previous step.
The current step can only be started under the condition that the
previous step has finished and the current control commands
have been received. Whether a step is finished or not is decided
according to its step conditions. So, this model can be
constructed as follows.
We assume that C(t) is the combined state of all the step
conditions in the t-th step. Since each condition is normally a
PLC signal, marked by c1(t), c2(t), , thus
C (t ) = c1 (t ) c2 (t ) = c j (t )
(7)
(8)
Now we can let I(t) be the combined state of all the control
commands in the t-th step, just like step conditions. Notice that
I (t ) = i1 (t ) i2 (t ) = i j (t )
(9)
I (t ) = i j (t ) = i1 (t ) + i2 (t ) + = i j (t ) = 1
(11)
(12)
(10)
When F(t)=1, C(t-1)=1 and I(t)=0, it means the previous step has
finished and current step has started, but the control commands
have not been received. From
j
(13)
5.
where the predicate table consists of facts that describe the I/O
relation of the components wrt the current mode. To express the
default assumption that the components are working fine we use
negation as default:
mode(Comp, ok)<not mode(Comp, ab)
The above schema captures the behavior of a single component.
Additionally, we have to code the propagation of values through
the system. Given the causal connection of the system as relation
DIAGNOSTIC REASONING
(14)
CONCLUSIONS
REFERENCES