Algorithm Search⌘K

Definitionadvanced

Diagnosability of discrete-event systems

Also called failure diagnosability, Sampath diagnosability.

A system is diagnosable if every unobservable fault is detected with certainty, from the observable events alone, within a bounded number of events after it occurs.

A discrete-event system is diagnosable if every fault that cannot be seen directly is still detected with certainty after a bounded number of further events, from the observable events alone. A fault such as "valve stuck closed" is an unobservable event: no sensor reports it. But it changes what the plant does next, and a diagnosable plant always shows the change within a fixed delay. Sampath, Sengupta, Lafortune, Sinnamohideen and Teneketzis defined the notion in 1995 and gave a test with the diagnoser automaton. The twin plant test of Jiang, Huang, Chandra and Kumar (2001) and Yoo and Lafortune (2002) decides it in polynomial time. Diagnosability is a property of the model, checked offline. It is not the same problem as consistency-based diagnosis in AI, which takes one observation and computes the sets of faulty components that explain it.

Definition

Let G=(X,Σ,δ,x0)G = (X, \Sigma, \delta, x_0) be a plant automaton with generated language L=L(G)L = L(G). The events split into observable events Σo\Sigma_o and unobservable events Σuo\Sigma_{uo}, and PP is the natural projection onto Σo∗\Sigma_o^*. The fault events form a set Σf⊆Σuo\Sigma_f \subseteq \Sigma_{uo}, split into fault types Σf1,…,Σfm\Sigma_{f_1}, \dots, \Sigma_{f_m}. For a type F=ΣfiF = \Sigma_{f_i}:

  • Ψ(F)\Psi(F) is the set of strings of LL whose last event is in FF;
  • L/s={t:st∈L}L/s = \{t : st \in L\} is the set of continuations of ss;
  • a string ww contains FF if some event of ww is in FF.

Sampath et al. assume:

  1. LL is live: every reachable state has at least one outgoing transition;
  2. GG has no cycle of unobservable events.

LL is diagnosable with respect to PP and the fault types if for every type FF there is an integer nFn_F such that for all s∈Ψ(F)s \in \Psi(F) and all t∈L/st \in L/s with ∣t∣≥nF|t| \ge n_F: every w∈Lw \in L with P(w)=P(st)P(w) = P(st) contains FF.

In words: nFn_F events after a fault of type FF, every string that the observer cannot tell apart from the true one has a fault of type FF. So the observer knows that FF occurred. The second assumption makes the condition meaningful: without it, the plant could run unobservable events forever after the fault and the observer would see nothing. The first assumption makes every string extendable, so the plant does not stop before the delay has passed.

The delay nFn_F counts all events, observable or not. Because there is no unobservable cycle, a delay in all events and a delay in observable events are equivalent up to a factor that depends only on ∣X∣|X|.

Examples and non-examples

The plant G1G_1 has states 0 to 4, initial state 0, and transitions 0→a10 \xrightarrow{a} 1, 1→u21 \xrightarrow{u} 2, 2→b02 \xrightarrow{b} 0, 1→f31 \xrightarrow{f} 3, 3→b43 \xrightarrow{b} 4 and 4→c44 \xrightarrow{c} 4. The events aa, bb and cc are observable, uu is unobservable, and ff is the only fault. The plant is live and has no unobservable cycle.

  • Diagnosable with delay 2. After the fault in afaf, the only continuations are bckb c^k. With t=bt = b, the observer sees abab, and the fault-free string aubaub also gives abab. So one event is not enough. With t=bct = bc, the observer sees abcabc. No fault-free string gives abcabc, because after aubaub the plant is in state 0, where only aa is possible. So every string with projection abcabc contains ff. The same holds after every later fault, so nf=2n_f = 2 works and is the smallest value. The diagnoser automaton of G1G_1 shows this as a state {4F}\{4F\} that is certain.
  • Not diagnosable. Change the part after the fault to 3→b43 \xrightarrow{b} 4, 4→a54 \xrightarrow{a} 5 and 5→b45 \xrightarrow{b} 4. After afaf, the continuation (ba)k(ba)^k gives the observation a(ba)ka(ba)^k, and so does the fault-free string (aub)ka(aub)^k a. The observer is never sure, however long it waits. The twin plant finds this as a cycle in which one copy is faulty and the other is not.
  • Observable faults. If a fault event were observable, it would be detected at once. The definition requires Σf⊆Σuo\Sigma_f \subseteq \Sigma_{uo} to make the question nontrivial.
  • No fault-free twin. If no fault-free string has the same projection as any string with a fault, then the fault is detected at the first observation after it occurs. This is the case when the fault leads to an observable event that the fault-free plant never produces.
  • Diagnoser. An automaton over Σo\Sigma_o whose states are sets of pairs (plant state, fault label). Sampath et al. show that LL is diagnosable if and only if the diagnoser has no indeterminate cycle. The diagnoser can have exponentially many states. See diagnoser automaton.
  • Twin plant and verifier. A product of the plant with itself, where both copies make the same observable moves. LL is diagnosable if and only if this product has no cycle in which one copy has seen the fault and the other has not. The test is polynomial in ∣X∣|X|. See twin plant diagnosability test.
  • Observability of languages. Observability and normality also compare strings with the same projection. Diagnosability asks that a faulty string and a fault-free string do not keep the same projection for long.
  • State estimation. Online, a diagnoser keeps the set of states that agree with the observation, as in state estimation. With probabilities on the transitions, the plant becomes a hidden Markov model, and diagnosability gets a stochastic form, where the fault must be detected with probability tending to one.
  • Consistency-based diagnosis. Consistency-based diagnosis in AI works on a logical model of components and one set of observations. It returns the minimal sets of faulty components consistent with them. It does not ask whether a fault will always be detected.

References

  1. M. Sampath, R. Sengupta, S. Lafortune, K. Sinnamohideen and D. Teneketzis, Diagnosability of discrete-event systems, IEEE Transactions on Automatic Control 40(9), 1995, pages 1555 to 1575, the definition of diagnosability, the assumptions on the plant and the diagnoser test
  2. M. Sampath, R. Sengupta, S. Lafortune, K. Sinnamohideen and D. C. Teneketzis, Failure diagnosis using discrete-event models, IEEE Transactions on Control Systems Technology 4(2), 1996, pages 105 to 124, the application of the diagnoser to fault detection in physical systems
  3. S. Jiang, Z. Huang, V. Chandra and R. Kumar, A polynomial algorithm for testing diagnosability of discrete-event systems, IEEE Transactions on Automatic Control 46(8), 2001, pages 1318 to 1321, the polynomial test by a product of the plant with itself
  4. T.-S. Yoo and S. Lafortune, Polynomial-time verification of diagnosability of partially observed discrete-event systems, IEEE Transactions on Automatic Control 47(9), 2002, pages 1491 to 1495, the verifier automaton
  5. Christos G. Cassandras and Stéphane Lafortune, Introduction to Discrete Event Systems, third edition, Springer, 2021, Chapter 2, Languages and Automata (observers and diagnosers)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/8YQ5W6/text.yaml