Elsevier

Automatica

Volume 46, Issue 9, September 2010, Pages 1531-1539
Automatica

Brief paper
Fault detection for discrete event systems using Petri nets with unobservable transitions

https://doi.org/10.1016/j.automatica.2010.06.013Get rights and content

Abstract

In this paper we present a fault detection approach for discrete event systems using Petri nets. We assume that some of the transitions of the net are unobservable, including all those transitions that model faulty behaviors. Our diagnosis approach is based on the notions of basis marking and justification, that allow us to characterize the set of markings that are consistent with the actual observation, and the set of unobservable transitions whose firing enable it. This approach applies to all net systems whose unobservable subnet is acyclic. If the net system is also bounded the proposed approach may be significantly simplified by moving the most burdensome part of the procedure off-line, thanks to the construction of a graph, called the basis reachability graph.

Introduction

The diagnosis of discrete event systems is a research area that has received a lot of attention in the last years and has been motivated by the practical need of ensuring the correct and safe functioning of large complex systems. In the context of automata Sampath et al., 1995, Sampath et al., 1996 propose an approach to failure diagnosis where the system is modeled as a nondeterministic automaton in which the failures are treated as unobservable events. In Sampath et al. (1995) they provide a definition of diagnosability in the framework of formal languages and establish necessary and sufficient conditions for diagnosability. Moreover, in Sampath, Lafortune, and Teneketzis (1998) present an integrated approach to control and diagnosis. More specifically, the authors present an approach for the design of diagnosable systems by the appropriate design of the system’s controller and this approach is called active diagnosis. They formulate the active diagnosis problem as a supervisory control problem. In Debouk, Lafortune, and Teneketzis (2000) propose a coordinated decentralized architecture consisting of two local sites communicating with a coordinator that is responsible for diagnosing the failures occurring in the system. In Boel and van Schuppen (2002) address the problem of synthesizing communication protocols and failure diagnosis algorithms for decentralized failure diagnosis of DES with costly communication between diagnosers. In Zad, Kwong, and Wonham (2003) a state-based approach for on-line passive fault diagnosis is presented.

More recently, Petri net models have been used in the context of diagnosis due to their intrinsically distributed nature where the notions of state (i.e., marking) and action (i.e., transition) are local. This has often been an asset to reduce the computational complexity involved in solving a diagnosis problem. Among the first pioneering works dealing with Petri nets (PNs), we recall the approach of Prock that proposes an on-line technique for fault detection that is based on monitoring the number of tokens residing into P-invariants (Prock, 1991). In Genc and Lafortune (2007) propose a diagnoser on the basis of a modular approach that performs the diagnosis of faults in each module. In Benveniste, Fabre, Haar, and Jard (2003) present a net unfolding approach for designing an on-line asynchronous diagnoser. In Basile, Chiacchio, and De Tommasi (2009) present a diagnosis approach where the diagnoser is built on-line by defining and solving integer linear programming problems. In Dotoli, Fanti, and Mangini (2008), in order to avoid the redesign and the redefinition of the diagnoser when the structure of the system changes, Dotoli et al. propose a diagnoser that works on-line.

The main difference between the diagnosis approach presented here and the approaches cited above is the concept of basis marking. This concept allows us to represent the reachability space in a compact manner, i.e., our approach requires to enumerate only a subset of the reachability space. More specifically, in this paper we deal with the failure diagnosis of discrete event systems modeled by place/transition nets. We assume that faults are modeled by unobservable transitions, but there may also exist other transitions that represent legal behaviors and are unobservable as well. Thus we assume that the set of transitions can be partitioned as T=ToTu where To is the set of observable transitions, and Tu is the set of unobservable transitions. The set of fault transitions is denoted Tf and satisfies TfTu.

The set of fault transitions is further partitioned into r subsets, Tfi,i=1,,r, each one corresponding to a fault class. We are not interested in distinguishing among transitions within the same class, but we want to detect the class of faults that has occurred, or that may have occurred, given the observed behavior, i.e., the sequence of transitions that has been observed.

We associate two different sets to any observed word w, i.e., to any sequence of observed transitions:

• L(w) is the set containing all sequences of transitions that are consistent with w, i.e., the set of all possible firing sequences that produce observation w.

• J(w) is the set of justifications, i.e., the set of all minimal sequences of unobservable transitions (namely those sequences of unobservable transitions whose firing vector is minimal) interleaved with w and whose firing enables w.1

Note, in fact, that even if a word wTo is observed, in general the sequence σ=w is not firable on the net, i.e., it cannot occur at the initial marking: it is necessary to interleave it with a sequence σu of unobservable events to obtain a firable sequence σ that produces the observed word w. J(w) is the set of all sequences σu that are minimal, i.e., that have a minimal firing vector.

Now, given a fault class Tfi and an observation w, we distinguish the following four cases, each one corresponding to an increasing level of alarm (the diagnosis state varies from 0 to 3).

(0) No sequence in L(w) contains a transition in Tfi, thus no fault in the ith class has occurred.

(1) Some transitions in Tfi may have fired but none of them was contained in a justification of w.

(2) Some transitions in Tfi may have fired and are contained in some of the justifications of w. However, not all justifications of w contain transitions in Tfi.

(3) All justifications of w contain transitions in Tfi, thus a fault must have occurred.

We provide a fault detection procedure that enables us to evaluate, for any observed word and any fault class, the corresponding diagnosis state. This procedure may be carried out by simply performing matrix multiplications and evaluating the feasibility of certain integer constraint sets. Such a procedure may be applied to all net systems whose unobservable subnet is acyclic. This assumption, that is analogous to the classical hypothesis in the theory of automata where no cycle of unobservable events can appear, allows us to: (a) study the reachability of the unobservable subnet with the state equation; (b) give an easy algorithm for the computation of the firing vectors relative to justifications. In particular, (a) implies that we can distinguish between the diagnosis states 0 and 1 in an efficient way.

The most burdensome part of the proposed procedure consists in evaluating the feasibility of a finite number of integer constraint sets. We show that in the case of bounded net systems this computation may be performed off-line. An oriented graph, that we call a basis reachability graph (BRG) may be constructed, that summarizes all the information required for diagnosis. Therefore, given any observable word w, for any fault class Tfi we may evaluate the corresponding diagnosis state, by simply looking at the BRG.

This paper builds on our previous results in Corona, Giua, and Seatzu (2007) where an observer for nets with silent transitions was designed under two structural assumptions, namely the unobservable subnet is acyclic and backward conflict-free. In such a case the set of markings that are consistent with the actual observation C(w), namely the set of markings that can be reached from the initial marking firing the observed word w interleaved with sequences of unobservable transitions that enable w, may be characterized by a finite set of linear algebraic constraints whose structure is fixed, and does not depend on the length of the observed word w. In this paper we show that a finite linear algebraic characterization of the set C(w) may still be given, but the number of constraints is not fixed and depends in general on the word w. This requires a generalization of the notion of basis marking with respect to Corona et al. (2007). In particular, here we extend this notion to arbitrary nets. This makes a completely different characterization necessary in terms of new original notions such as justifications, minimal explanations. Moreover, no mention of the diagnosis problem was done in Corona et al. (2007).

Section snippets

Petri nets: main definitions

Petri nets are a family of models. In this paper we deal with the basic purely logic model called Place/Transition nets or P/T nets.

A Place/Transition net (P/T net) is a structure N=(P,T,Pre,Post), where P is a set of places; T is a set of transitions; Pre:P×TN and Post:P×TN are the pre- and post- incidence functions that specify the arcs; C=PostPre is the incidence matrix. We denote as m=|P| and n=|T| the cardinality of the set of places and transitions.

A marking is a vector M:PN that

Basis markings and j-vectors

Let us first introduce some basic definitions that will be useful in the following.

Definition 3.1

Given a marking M and an observable transition tTo, we define Σ(M,t)={σTuM[σM,MPre(,t)} the set of explanations of t at M, and we define Y(M,t)=π(Σ(M,t)) the e-vectors (or explanation vectors), i.e., firing vectors associated to the explanations. 

Thus Σ(M,t) is the set of unobservable sequences whose firing at M enables t.

Among the above sequences we want to select those whose firing vector is minimal.

Diagnosis states

Let us consider a system modeled as a Petri net whose transitions may either be observable or unobservable (T=ToTu).

Assume that a certain number of anomalous (or fault) behaviors may occur in the system. The occurrence of a fault behavior corresponds to the firing of an unobservable transition, but there may also be other transitions that are unobservable as well, but whose firing corresponds to regular behaviors. Then, assume that fault behaviors may be divided into r main classes (fault

Diagnosis of bounded systems

In this section we focus on bounded PNs and we show how in such a case the most burdensome part of the procedure can be moved off-line. In particular, we present an original technique to design an observer to be used for on-line diagnosis.

Conclusions and future work

In this paper we presented an approach for the on-line diagnosis of discrete event systems using PNs. Faults are modeled as unobservable transitions, and legal behaviors as well may be modeled as unobservable transitions. Different diagnosis states are defined, that correspond to different degrees of alarm. Their computation are based on the notions of basis markings and j-vectors. The advantage of our approach is even more evident in the case of bounded Petri nets. Indeed in such a case, the

Maria Paola Cabasino received the Laurea degree in electronic engineering and the Ph.D. degree in electronic and computer engineering, both from the University of Cagliari, Cagliari, Italy, in 2005 and 2009, respectively. She is a Post doctoral researcher of Automatic Control at the Department of Electrical and Electronic Engineering of the University of Cagliari. She has been a visiting researcher at the University of Illinois (Urbana–Champaign, IL, US), University of Michigan (Ann Arbor, MI,

References (17)

  • J. Prock

    A new technique for fault detection using Petri nets

    Automatica

    (1991)
  • F. Basile et al.

    An efficient approach for online diagnosis of discrete event systems

    IEEE Transactions on Automatic Control

    (2009)
  • A. Benveniste et al.

    Diagnosis of asynchronous discrete event systems: a net unfolding approach

    IEEE Transactions on Automatic Control

    (2003)
  • Boel, R. K., & Jiroveanu, G. (2004). Distributed contextual diagnosis for very large systems. In Proc. IFAC WODES’04:...
  • Boel, R. K., & van Schuppen, J. H. (2002). Decentralized failure diagnosis for discrete-event systems with costly...
  • Cabasino, M. P., Giua, A., & Seatzu, C. (2009). Fault detection for discrete event systems using Petri nets with...
  • D. Corona et al.

    Marking estimation of Petri nets with silent transitions

    IEEE Transactions on Automatic Control

    (2007)
  • R. Debouk et al.

    Coordinated decentralized protocols for failure diagnosis of discrete-event systems

    Discrete Event Dynamical Systems

    (2000)
There are more references available in the full text version of this article.

Cited by (258)

View all citing articles on Scopus

Maria Paola Cabasino received the Laurea degree in electronic engineering and the Ph.D. degree in electronic and computer engineering, both from the University of Cagliari, Cagliari, Italy, in 2005 and 2009, respectively. She is a Post doctoral researcher of Automatic Control at the Department of Electrical and Electronic Engineering of the University of Cagliari. She has been a visiting researcher at the University of Illinois (Urbana–Champaign, IL, US), University of Michigan (Ann Arbor, MI, US), Universidad de Zaragoza (Spain). Her research interests are based on discrete event systems, automata, Petri nets, diagnosis, identification, supervisory control. She is the quality manager of the European project FP7-ICT2-3.7 DISC “Distributed Supervisory Control of Large Plants” (2008–11).

Alessandro Giua is professor of Automatic Control at the Department of Electrical and Electronic Engineering of the University of Cagliari, Italy. He received the Laurea degree in electric engineering from the University of Cagliari, Italy in 1988, and the M.S. and Ph.D. degrees in computer and systems engineering from Rensselaer Polytechnic Institute, Troy, New York, in 1990 and 1992. He has been with the University of Cagliari since 1994. His research interests include discrete event systems, hybrid systems, networked control systems, Petri nets, failure diagnosis, automated manufacturing. He has published over 200 papers and two text books on these topics. He is a member of the editorial board of the journals Discrete Event Dynamic Systems: Theory and Applications; IEEE Trans. on Control Systems Technology; Nonlinear Analysis: Hybrid Systems and Applications. He served as an associate editor for the European Journal of Control and for the IEEE Trans. on Automatic Control. He has been general chair and program chair for several conferences in the area of discrete event and hybrid systems and has often served as a member the program committee for international events. He was a member of the WODES Steering Committee (Workshop series on Discrete Event Systems). He is Chapter Activities chair of the Member Activities Board of the IEEE Control Systems Society. He is chair of the IFAC Technical Committee 1.3 on Discrete Event and Hybrid Systems and member of IFAC Technical Committee 6.4 SAFEPROCESS. He is the coordinator of the European project FP7-ICT2-3.7 DISC “Distributed Supervisory Control of Large Plants” (2008–11). He was the coordinator of the Italian PRIN 2005 project MACSI “Modeling and Control of Hybrid Systems”.

Carla Seatzu is an assistant professor of Automatic Control at the Department of Electrical and Electronic Engineering of the University of Cagliari, Italy. She received the Laurea degree in electric engineering from the University of Cagliari, Italy in 1996, and the Ph.D. degree in electronic engineering and computer science from the same university in 2000. Her research interests include discrete event systems, hybrid systems, Petri nets, networked control systems, control of mechanical systems. She has published around 140 papers and one textbook on these topics. She was Chair of the National Organizing Committee of ADHS’06 (2nd IFAC Conf. on the Analysis and Design of Hybrid Systems) and member of the International Program Committee of around 30 international conferences. She is associate editor of the international journal “Nonlinear Analysis: Hybrid Systems and Applications” (Elsevier) and associate editor of the Conference Editorial Board of the IEEE Control System Society; she is co-chair dell’IEEE IES Technical Committee on Factory Automation—Subcommittee on Industrial Automated Systems and Controls.

This work has been partially supported by the European Community’s Seventh Framework Programme under project DISC (Grant Agreement n. INFSO-ICT-224498). The material in this paper was partially presented at 44th IEEE Conference on Decision and Control, December 12–15 2005, Seville, Spain. This paper was recommended for publication in revised form by Associate Editor Bart De Schutter under the direction of Editor Ian R. Petersen.

View full text