Skip to main content
Log in

Diagnosability Analysis of a Class of Hierarchical State Machines

  • Published:
Discrete Event Dynamic Systems Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22

Similar content being viewed by others

Notes

  1. For the purpose of Sections 4 and 5, the standard diagnoser introduced in Sampath et al. (1995) can be used. However, since we will need to introduce the extended diagnoser for the methodology in Section 6, extended diagnosers are used throughout the paper for the sake of continuity.

  2. 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

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MATH  MathSciNet  Google Scholar 

  • 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

    MATH  Google Scholar 

  • 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

    Article  MATH  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • Harel D (1987) Statecharts: a visual formalism for complex systems. Sci Comput Program 8(3):231–274

    Article  MATH  MathSciNet  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  MATH  Google Scholar 

  • Lunze J (2001) State observation and diagnosis of discrete-event systems described by stochastic automata. Discret Event Dyn Syst 11(4):319–369

    Article  MATH  MathSciNet  Google Scholar 

  • Pandalai D, Holloway L (2000) Template languages for fault monitoring of timed discrete event processes. IEEE Trans Automat Contr 45(5):868–882

    Article  MATH  MathSciNet  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  MATH  Google Scholar 

  • 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

    Article  Google Scholar 

  • Sampath M, Lafortune S, Teneketzis D (1998) Active diagnosis of discrete event systems. IEEE Trans Automat Contr 43(7):908–929

    Article  MATH  MathSciNet  Google Scholar 

  • 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrea Paoli.

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

$$ \label{gd} G_{d}^e=\left\{Q_{d}^e,E_o,\delta_{d}^e,q_{0}^e\right\} $$
(16)

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

$$ \left\{\big[\big(x_1,l_1\big);\big(x_1^\prime,l_1^\prime\big)\big],\big[\big(x_2,l_2\big);\big(x_2^\prime,l_2^\prime\big)\big], \big[\big(x_1,l_1\big);\big(x_2^{\prime\prime},l_2^{\prime\prime}\big)\big],\ldots, \big[\big(x_n,l_n\big);\big(x_n^\prime,l_n^\prime\big)\big]\right\}\;, $$

where each (x , l) pair is in \(Q_o=2^{X_o \times \Delta}\), where

$$ \Delta=\left\{N, F \right\} $$

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

$$ \mathcal{L}\left(G_d^e\right)= \mathcal{L}(G_d) = P(\mathcal{L}(G))\;. $$

We define the state projection SP:Q o ×Q o Q o as follows:

$$ q=\left\{\big[\big(x_1,l_1\big);\big(x_1^\prime,l_1^\prime\big)\big],\ldots, \big[\big(x_n,l_n\big);\big(x_n^\prime,l_n^\prime\big)\big]\right\} \rightarrow SP(q) = \left\{\big(x_1^\prime,l_1^\prime\big),\ldots, \big(x_n^\prime,l_n^\prime\big)\right\}\;. $$

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:

$$ \delta_d^e(q_l,\sigma_l)=q_{l+1}\,\,\; l=1, \ldots , n+1\,, \mbox{ and } \delta_d^e(q_n,\sigma_n)=q_1 $$

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:

$$ \big(\big(x_i,l_i\big),\big(x_{i+1},l_{i+1}\big)\big) \in q_{i+1}\;, \; i=1, \ldots , n-1\;, \mbox{ and } \big((x_n,l_n\big),\big(x_1,l_1)\big) \in q_1\;. $$

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. 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. 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

Reprints 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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10626-008-0044-5

Keywords

Navigation