Fault Diagnosis of Discrete Event Systems Using Hybrid Petri Nets
Fault Diagnosis of Discrete Event Systems Using Hybrid Petri Nets
net/publication/271302599
CITATIONS READS
2 50
3 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Mohammad Ali Badamchizadeh on 08 February 2016.
288
International Journal of Computer Theory and Engineering Vol. 4, No. 2, April 2012
II. BACKGROUNDS AND BASIC ASSUMPTIONS the enabled sequence σ may fire at M yielding M’. We also
A. Basic Petri Nets Notation denote (t ) q the firing vector associated with a sequence
Petri nets (PNs) are a graphical and mathematical σ, i.e., (t ) q if transition t is contained q times in σ. A
modeling tool applicable to many systems. They are a marking M is said reachable from PN , M iff there
promising tool for describing and studying information 0
processing systems that are characterized as being concurrent, exists a firing sequence σ such that M [ M . The set of
0
asynchronous, distributed, parallel, nondeterministic, and/or
TABLE I: FORMAL DEFINITION OF A PETRI NET
stochastic. As a graphical tool, PNs can be used as a visual
communication aid similar to flow charts, block diagrams, A Petri net is a 5-tuple, PN = (P, T, F, W, M ) where:
and networks. In addition, tokens are used in these nets to 0
simulate the dynamic and concurrent activities of systems. As P { p , p ,..., p } is a finite set of places,
1 2 m
a mathematical tool, it is possible to set up state equations,
algebraic equations, and other mathematical models T {t , t ,..., t } is a finite set of transitions,
1 2 n
governing the behavior of systems. A Petri net (PN) is a Pre : P × T → N (Post : P × T → N)
particular kind of directed graph, together with an initial state C=Post-Pre
called the initial marking, M 0 . The underlying graph N of a F (P x T) U (T x P) is a set of arcs (flow relation),
W: F {1, 2, 3, ... } is a weight function,
PN is a directed, weighted, bipartite graph consisting of two Mo: p → {0, 1, 2, 3, ... } is the initial marking,
kinds of nodes, called places and transitions, where arcs are P ∩ T = and P U T ≠ .
either from a place to a transition or from a transition to a A Petri net structure N = (P, T, F, W) without any specific initial marking is
denoted by N.
place. In graphical representation, places are drawn as circles,
transitions as bars or boxes. Arcs are labeled with their A Petri net with the given initial marking is denoted by (N, M ).
0
weights (positive integers), where a k-weighted arc can be
interpreted as the set of k parallel arcs. Labels for unity all markings reachable from M defines the reachability set
0
weight are usually omitted. A marking (state) assigns to each
place a non negative integer. If a marking assigns to place p a of PN , M and is denoted by
0
nonnegative integer k, we say that p is marked with k tokens.
R( PN , M ) {M | : M [ M } .
Pictorially, we place k black dots (tokens) in place p. A 0 0
marking is denoted by M, an m-vector, where m is the total
C. Neural Petri Net
number of places. The pth component of M, denoted by M(p),
is the number of tokens in place p [8].For a complete review Artificial neural networks (ANN) are highly parallel and
on PNs refer to [8]. A formal definition of a PN is given in distributed computation structures that can learn from
Table I. experience and perform inferences. PNs, on the other hand,
provide an effective modeling framework of distributed
B. Marking Projections systems. The basic concepts of PNs are utilized to develop
Definition : A PN [8] is a bipartite graph described by ANN-like multilayered PNs architectures of distributed
PN=(P, T, Pre, Post), where P is a set of places with systems [9].
cardinality m, T is a set of transitions with cardinality n, Pre: The NPN is formally defined as a 6 tuple: NPN = (P, T, Z,
P×T→N and Post: P×T→N are the pre- and post-incidence A,C, M 0 ) where:
matrices, respectively, which specify the arcs connecting P: is a set of places;
places and transitions. Matrix C=Post-Pre is the m × n T: is a set of transitions;
incidence matrix of the net PN. Table I shows a formal Z: is set of arcs, Z (P×T) (T×P);
definition of a PN. A: is a pattern of connectivity among places and transitions;
For the pre- and post-sets we use the dot notation, e.g., C: is a set of states of outputs of NNs.
t={p P: Pre(p,t)>0}. The state of a PN is given by its The resulting NPN is a feed forward network with
current marking, which is a mapping M: P→N, assigning to alternating columns of transitions.
each place of the net a nonnegative number of tokens. A PN In [10], they built ANN-like architectures of distributed
intelligence that can learn from experience. The resulting
system 〈 PN , M is a net PN with an initial marking
0 Neural Petri Net (NPN) is feedforward network with
M 0 . A transition t f T is enabled at a marking M if and alternating columns of places ad transition.
The NPN is a pure PN (self –loops are not allowed). This
only if (iff) for each p .t j , it holds M(p)≥Pre(p, t j ) and we leads to a feedforward architecture. The interaction of ANN
with the environment is through the unobservable transitions
write M [t to denote that t j T is enabled at marking and places. Fig.1 shows a simple NPN. t is an unobservable
j 6
M. Let t b t b ...t b be a sequence of transitions and let transition and models a faulty behavior of a system. The
1 2 k
inputs of ANN { X ...X } are connected to places (a, b…e)
k=|σ| be its length, given by the number of transitions that σ 1 5
contains. If a transition t T appears in the sequence σ, we and the output of ANN yields the percentage of fault t that
write t . Moreover, the notation M [ indicates that 6
may happen.
the sequence σ is enabled at M and M [ M indicates that
289
International Journal of Computer Theory and Engineering Vol. 4, No. 2, April 2012
290
International Journal of Computer Theory and Engineering Vol. 4, No. 2, April 2012
Example: A Manufacturing System system normal behaviour. In order to achieve this result,
Let us consider the manufacturing system whose PN model g-markings are introduced in this paper. G-markings are net
is shown in Fig. 3, with T {t , t , t , t , t , t , t , t , t , t } markings that may have negative components and whose
0 1 2 3 4 5 6 7 8 9 10 estimation is always unique. The online computation consists
and T {t , t , t }. of solving programming problems formulated on net
u 11 12 13
0 structure and based on g-markings.
This manufacturing system consists of three machines,
TABLE II: EXECUTION OF THE FAULT DETECTION ALGORITHM ON THE NET
M , M 2 and M , which process parts conveyed on OF FIG. 3.
1 3
equipments. The system has two operators, F1 and F2 . F1 Action μ The The The
percenta percent percent
could manage M and M . F2 could manage M and M . ge of age of age of
1 2 1 3
fault t11 fault fault
In each equipment the operation is performed in two stages.
may t12 t
Stage1: works with M . 13
1 happen may may
happen happen
Stage2: works with M or M
2 3
• t1 fires when a new equipment is received. Initialization [0 0 0 1 1 1 1 1 0 0 0 33% 33% 33%
0]
• t 2 fires when F1 starts working on equipment with M .
1 [1 0 0 1 1 1 1 1 0 0 0 --- --- ---
t1 fires
• t 3 fires when F1 finishes working on equipment with M . 0]
1
• t 4 fires when F2 starts working on equipment with M . t4 fires [0 0 0 0 1 1 1 0 0 1 0 --- --- ---
1 0]
• t 5 fires when F2 finishes working on equipment with M .
1 t8 fires [0 -1 0 0 1 0 1 -1 0 1 10.35% 15.63 80.2%
0 1] %
• t 6 fires when F1 starts working on equipment with M 2 .
• t 7 fires when F1 finishes working on equipment with M 2 . t9 fires [0 -1 1 0 1 1 1 0 0 1 0 12.32% 40.33 39.92
0] % %
• t 8 fires when F2 starts working on equipment with M .
3 [0 0 1 1 1 1 1 1 0 0 0 --- --- ---
t5 fires
• t 9 fires when F2 finishes working on equipment with M . 0]
3
• t10 fires when the operation on equipment is finished. t2 fires [-1 0 1 0 1 1 0 1 1 0 0 75.32% 14.26 10.23
0] % %
• t11 ,t12 and t13 model the faulty behaviors of M1 , M 2 and
M . t6 fires [-1 -1 1 0 0 1 -1 1 1 0 80.64% 65.45 12.78
3 1 0] % %
• The initial number of tokens in p4 , p5 , p6 , p7 and P8
model the fact that the machines and operators are waiting. With respect to the approaches proposed in the related
Some execution steps of the proposed method are reported in literatures, the proposed method specify the percentage of
Tab. II. In this case, if the estimated g-marking has negative faults in order to provide a reasonably efficient method
components, then the firing of transition that are modeled as suitable use with large systems. However, the algorithm use
faults would test and NNs that are connected to these some off-line calculations based on the structure of the
transitions would work and compute the percentage of faults
considered Petri net (PN) system in order to decrease the
may happen to perform fault detection and identification.
memory capacity. In this way, the proposed fault detection
technique can be more easily applicable.
V. CONCLUSION Further improvements in the efficiency of the proposed
method could be obtained if we assume that after an event
The paper addresses the fault detection problem of
sequence occurrence the reached marking is known or
Discrete Event Systems (DES) and proposes an on-line
univocally determined. In this situation, an incremental
diagnoser in a Neural Petri Net (NPN) framework. A solution approach could be devised. However, identifying the
procedure observes and stores the sequence of system events conditions necessary to univocally determine the reached
and decides on-line whether the system behavior is normal or marking is expected to require a significant amount of effort
some faults may have occurred. To this aim, at each observed to be specified and developed. Hence, this issue will be
event it is provide the possible occurred faults or certifies the tackled in a successive work.
291
International Journal of Computer Theory and Engineering Vol. 4, No. 2, April 2012
292