Abstract
This paper addresses the problem of fault detection and isolation for a particular class of discrete event dynamical systems called hierarchical finite state machines (HFSMs). A new version of the property of diagnosability for discrete event systems tailored to HFSMs is introduced. This notion, called L1-diagnosability, captures the possibility of detecting an unobservable fault event using only high level observations of the behavior of an HFSM. Algorithms for testing L1-diagnosability are presented. In addition, new methodologies are presented for studying the diagnosability properties of HFSMs that are not L1-diagnosable. These methodologies avoid the complete expansion of an HFSM into its corresponding flat automaton by focusing the expansion on problematic indeterminate cycles only in the associated extended diagnoser.
Similar content being viewed by others
Notes
See Appendix for a formal definition of indeterminate cycle.
References
Benveniste A, Haar S, Fabre E, Jard C (2003) Diagnosis of asynchronous discrete event systems, a net unfolding approach. IEEE Trans Automat Contr 48(5):714–727
Boel R, Schuppen JV (2002) Decentralized failure diagnosis for discrete-event systems with constrained communication between diagnosers. In: Proceedings of the workshop on discrete event systems
Brave Y, Heymann M (1993) Control of discrete event sysytems modeled as hierarchical state machines. IEEE Trans Automatic Contr 38(12):1803–1819
Cassandras C, Lafortune S (2007) Introduction to discrete event systems, 2nd edn. Springer
Cordier M, Rozé L (2002) Diagnosing discrete-event systems: extending the “diagnoser approach” to deal with telecommunication networks. Discret Event Dyn Syst 12(2):43–81
Debouk R, Lafortune S, Teneketzis D (2000) Coordinated decentralized protocols for failure diagnosis of discrete event systems. Discret Event Dyn Syst: Theory Applications 10(1):33–79
Debouk R, Malik R, Brandin B (2002) A modular architecture for diagnosis of discrete event systems. In: Proceedings of the 41st IEEE conference on decision and control
Garcia H, Yoo TS (2004) Model-based detection of routing events in discrete flow networks. Automatica 41(4):583–594
Garcia H, Morant F, Blasco-Giménez R (2002) Centralized modular diagnosis and the phenomenon of coupling. In: Proceedings of the workshop on discrete event systems
Genc S, Lafortune S (2005) A distributed algorithm for on-line diagnosis of place-bordered petri nets. In: Proceedings of the 16th IFAC world congress
Hadjicostis C (2005) Probabilistic fault detection in finite-state machines based on state occupancy measurements. IEEE Trans Automat Contr 50(12):2078–2083
Harel D (1987) Statecharts: a visual formalism for complex systems. Sci Comput Program 8(3):231–274
Harel D, Politi M (1988) Modeling reactive systems with statecharts. McGraw-Hill
Idghamishi AM, Zad SH (2004) Fault diagnosis in hierarchical discrete-event systems. In: Proceedings of the 43rd conference on decision and control, pp 63–68
Jiang S, Kumar R (2006) Diagnosis of repeated failures for discrete event systems with linear-time temporal logic specifications. IEEE Trans Autom Sci Eng 3(1):47–59
Lafortune S, Teneketzis D, Sampath M, Sengupta R, Sinnamohiden K (2001) Failure diagnosis of dynamic systems: an approach based on discrete event systems. In: Proceedings of the American control conference
Lin F (1994) Diagnosability of discrete-event systems and its application. Discret Event Dyn Syst: Theory Applications 4(2):197–212
Lunze J (2001) State observation and diagnosis of discrete-event systems described by stochastic automata. Discret Event Dyn Syst 11(4):319–369
Pandalai D, Holloway L (2000) Template languages for fault monitoring of timed discrete event processes. IEEE Trans Automat Contr 45(5):868–882
Patton R, Frank P, Clark R (2000) Issues of fault diagnosis for dynamical systems. Springer
Pencole Y, Cordier M (2002) A decentralized model-based diagnostic tool for complex systems. Int J Artif Intell Tools 11(3):327–346
Provan G (2002) Distributed diagnosability properties of discrete event systems. In: Proceedings of the American control conference
Sampath M (1993) The extended diagnoser, unpublished memorandum
Sampath M, Sangupta R, Lafortune S (1995) Diagnosability of discrete event systems. IEEE Trans Automat Contr 40(9):1555–1575
Sampath M, Sengupta R, Lafortune S, Sinnamohideen K, Teneketzis D (1996) Failure diagnosis using discrete-event models. IEEE Trans Control Syst Technol 4(2):105–124
Sampath M, Lafortune S, Teneketzis D (1998) Active diagnosis of discrete event systems. IEEE Trans Automat Contr 43(7):908–929
Su R, Wonham W (2002) Probabilistic reasoning in distributed diagnosis for qualitative systems. In: Proceedings of the 41st IEEE conference on decision and control
Wonham WM (2005) Notes on control of discrete event systems. ECE 1636F/1637S 2005-2006. Systems Control Group, Dept. of ECE, University of Toronto. www.control.utoronto.ca/people/profs/wonham/wonham.html
Author information
Authors and Affiliations
Corresponding author
Additional information
The research of the first author is supported by MIUR. The research of the second author is supported in part by NSF grant CCR-0325571 and by ONR grant N00014-03-1-0232.
Appendix: The extended diagnoser
Appendix: The extended diagnoser
The extended diagnoser for a finite state automaton G = (X,E,δ,x 0) with observable event set \(E_o \subseteq E\) and fault event f ∉ E o was first introduced in Sampath (1993) and reviewed in Debouk et al. (2000).
The extended diagnoser is the Finite State Automaton
where \(Q_{d}^e\), E o , \(\delta_{d}^e\) and \(q_{0}^e\) have the usual interpretation. The initial state of the extended diagnoser is defined to be \(\big[(x_0,N);(x_0,N)\big]\). A state \(q \in Q_{d}^e\) is of the form
where each (x , l) pair is in \(Q_o=2^{X_o \times \Delta}\), where
is the set of normal and fault labels.
A tuple of (x, l) pairs, for example \([(x_1, l_1); (x_1^\prime , l_1^\prime)]\), has the following meaning: \(x_1^\prime\) is a component of a system state estimate after the occurrence of an observable event and \(l_1^\prime\) is its failure label, while x 1 is the predecessor state of \(x_1^\prime\) through one observable event in G and l 1 is its corresponding failure label.
The transition function \(\delta_d^e\) of the extended diagnoser is constructed in a manner similar to the transition function of the diagnoser (see Sampath et al. 1995), with the additional aspect that every state of G that appears in a state component of G d is associated with its predecessor state through one observable event in G (along the sub-trace of events under consideration) and both states carry their labels; these labels are obtained following the same label propagation rules as in Sampath et al. (1995). The state space \(Q_d^e\) is the resulting subset of Q o ×Q o composed of the states of the extended diagnoser that are reachable from \(q_0^e\) under \(\delta_d^e\). Note that by construction
We define the state projection SP:Q o ×Q o →Q o as follows:
Definition 5
A state \(q \in Q_d^e\) is said to be f i -certain if ∀ (x,ℓ) ∈ SP(q) , f i ∈ ℓ.
Definition 6
A state \(q \in Q_d^e\) is said to be f i -uncertain if \(\;\exists (x,\ell),\big(y,\ell^\prime\big) \in SP(q)\) such that \( f_i \in \ell \mbox{ and } f_i \notin \ell^\prime\)
Definition 7
A set of states \(q_1, q_2,\ldots , q_n \in Q_d^e\) is said to form a cycle in \(G^e_d\) if the following is true:
for some observable events σ i , i = 1,..., n.
Definition 8
A set of (x i ,l i ) pairs, where (x i ,l i ) ∈ Q o , i = 1, ..., n is said to form a matched cycle in \(G_d^e\) if \(\exists q_i \in G_d^e\), i = 1, ..., n such that:
Definition 9
A set of states \(q_1, q_2 \ldots q_n \in Q_d^e\) forming a cycle of f i -uncertain states in \(G_d^e\) is said to form an f i -indeterminate cycle if
-
1.
There exists a set of (x j ,l j ) ∈ SP(q j ), j = 1, ...n forming a matched cycle in \(G_d^e\), with F j ∈ l j , j = 1, ...n;
-
2.
There exists a set of \((y{\!_{j}},l^\prime{\!_{j}}) \in SP(q{\!_{j}})\), j = 1, ...n forming a matched cycle in \(G_d^e\), with \(F{\!_{j}} \notin l^\prime_j\), j = 1, ...n.
An F i -indeterminate cycle in \(G_d^e\) indicates the presence in \(\mathcal{L}(G)\) of two traces s 1 and s 2 of arbitrarily long length, such that they both have the same observable projection and s 1 contains a failure event from the set Σ fi , while s 2 does not. Therefore, according to the diagnosability definition given in Sampath et al. (1995), a language L is diagnosable with respect to the projection P and the failure partition Π f on Σ f if and only if its extended diagnoser \(G_d^e\) has no f i -indeterminate cycle for each failure type F i .
Rights and permissions
About this article
Cite this article
Paoli, A., Lafortune, S. Diagnosability Analysis of a Class of Hierarchical State Machines. Discrete Event Dyn Syst 18, 385–413 (2008). https://doi.org/10.1007/s10626-008-0044-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10626-008-0044-5