Fault Diagnosis of Discrete-Event Systems under
Non-Deterministic Observations with Output Fairness
Abstract
In this paper, we revisit the fault diagnosis problem of discrete-event systems (DES) under non-deterministic observations. Non-deterministic observation is a general observation model that includes the case of intermittent loss of observations. In this setting, upon the occurrence of an event, the sensor reading may be non-deterministic such that a set of output symbols are all possible. Existing works on fault diagnosis under non-deterministic observations require to consider all possible observation realizations. However, this approach includes the case where some possible outputs are permanently disabled. In this work, we introduce the concept of output fairness by requiring that, for any output symbols, if it has infinite chances to be generated, then it will indeed be generated infinite number of times. We use an assume-guarantee type of linear temporal logic formulas to formally describe this assumption. A new notion called output-fair diagnosability (OF-diagnosability) is proposed. An effective approach is provided for the verification of OF-diagnosability. We show that the proposed notion of OF-diagnosability is weaker than the standard definition of diagnosability under non-deterministic observations, and it better captures the physical scenario of observation non-determinism or intermittent loss of observations.
I Introduction
Engineering cyber-physical systems (CPS), such as manufacturing systems, transportation systems and power systems, are generally very complex due to their intricate operation logic and hybrid dynamics. For such large-scale safety-critical systems, failures during their operations are very common as millions of components/modules are working in parallel. Therefore, failure diagnosis and detection is crucial but challenging task in order to monitor the operation conditions and to maintain safety for CPSs.
In this work, we investigate the fault diagnosis problem in the framework of discrete-event systems (DES), which are widely used in modeling the high-level logical behaviors of CPSs [7]. In the context of DES, the problem of fault diagnosis was initiated by [15], where the notion of diagnosability was proposed. Specifically, it is assumed that the system’s events are partitioned as observable events and unobservable events, and a system is said to be diagnosable if the occurrence of fault event can always be detected within a finite delay based on the observed sequence. To the past years, fault diagnosis of DES remains a hot topic due to its importance; see, e.g., some recent works [12, 21, 14, 20, 19, 8]. The reader is referred to the comprehensive survey papers [22, 10] for more details on this topic.
In the modeling of DES, the occurrences of events are essentially observed by the corresponding sensors. In practice, however, due to measurement noises, sensor failures or malicious attacks, the sensor readings can be unreliable or non-deterministic. Such non-deterministic observation issue was initially addressed in the context of intermittent loss of observations [4, 11, 3], where it is assumed that some observable events are unreliable in the sense that their occurrences may be observed or be lost non-deterministically. In [17], Takai and Ushio investigated the issue of non-deterministic observation using Mealy automata. Specifically, the observation of the system is modeled by a state-dependent non-deterministic output function. The model is quite general that captures the issue of intermittent loss of observations. Furthermore, it allows the observation symbols to be different from the original event set.
Our work is motivated by the aforementioned works on fault diagnosis under intermittent loss of observations [4] or, in a broad sense, non-deterministic observations [17]. In particular, we note that the existing models for non-deterministic observations essentially assume that all possible realizations under the non-deterministic output mapping are feasible. In the context of fault diagnosis, therefore, it needs to consider whether or not fault can be detected under all possible observation realizations. We argue in this work that this setting is somehow too strict for the purpose of diagnosis since it may exclude the possibility for the occurrence of some possible sensor reading, which is “unfair”.
To see this “unfairness” more clearly, let us consider the case of intermittent loss of observations. Suppose that after the occurrence of fault events, there will be an observable but unreliable event occurring repeatably. Furthermore, once this indicator event is observed, we know for sure that the fault has occurred. In the existing frameworks [17, 4], this system is not diagnosable because we should consider the case where the observation of this unreliable event is lost each time when it occurs. However, this scenario actually corresponds to the case that the underlying sensor has failed permanently. Of course, such a permanent sensor failure is also possible in practice [9, 16, 6, 5], but it should be categorized differently from the setting of intermittent loss of observations. In other words, for such a sensor that is unreliable but we have prior information that it will not fail permanently, the fault may be diagnosed with unreliability. To this end, Vinicius S. et al in [13] proposed K-diagnosability which excludes permanent sensor failures by bounding the maximum number of consecutive failure for an unreliable sensor under a finite integer . However, in real-word engineering, we usually only can be sure that a sensor will not fail permanently and can repair after finite time delay, but we have no idea about what the upper bound of time needed to repair is. Thus, in this paper, we use the notion of ”fair” to solve this problem.
It is worth noting that, in [2], the authors investigated diagnosability for fair systems. However, the notion of fairness is different from our setting. Specifically, [2] assumes that the dynamic of the system is fair in the sense that each transition can be executed for infinite number of times whenever it is enabled infinitely. However, the observation mapping considered therein is still static modeled as a natural projection. In contrast, we impose fairness constraint on the observation mapping rather than the internal behavior of the system the system’s dynamic. Therefore, the problem setting in our work is quite different from that of [2].
In this paper, we revisit the fault diagnosis problem under non-deterministic observations. Motivated by the above discussion, however, to better capture the physical scenario in which all possible observations are always available, we further require that each possible observation (or output symbol) is fair in the sense that if it has infinite chances to be observed then it will indeed be observed infinite number of times. To formally describe this fairness requirement, we use an assume-guarantee type linear temporal logic (LTL) formulas. Then, we propose a new condition called output-fair diagnosability (OF-diagnosability) that provides the necessary and sufficient condition for the existence of a diagnoser that works correctly under the fair-observation setting. Also, we utilize the structure properties of fairness requirement to provide an more effective procedure for checking this new condition. Our work bridges the gap between the existing mathematical definition of diagnosability under intermittent loss of observations and the physical setting, where those unreliable sensors will not fail permanently.
II Preliminary
II-A System Model
Let be a finite set of events. A finite (infinite) string over is a finite (infinite) sequence of events in of form , where , for . A finite (infinite) language is a set of finite (infinite) strings. We denote by and , respectively, the set of all finite and the set of all infinite strings over . Note that the empty string, denoted by , is included in . Given a finite language , the prefix-closure of is defined by . Similarly, for an infinite language , its prefix-closure is the set of all its finite prefixes, i.e., . For any string , we write as for the sake of simplicity. Given an infinite string , denotes the set of events that appear infinitely number of times in the string.
In this paper, we consider DES modeled by a deterministic finite-state automaton (DFA) , where is the finite set of states; is the finite set of events; is the partial transition function; and is the initial state. The transition function can be extended to recursively in the usual manner; see, e.g., [7]. The finite language generated by is defined by , where “!” means “is defined”, and the infinite language generated by is defined by . We assume that system is live, i.e., .
II-B Non-Deterministic Observations
In the partial observation setting, it is assumed that the occurrence of each event cannot be observed directly or perfectly. A commonly adopted simple approach is to partition the event set into observable events and unobservable events . Then natural projection can be used to capture the issue of partial observability.
In many real-world scenarios, however, the sensor readings may be non-deterministic due to observation noises, sensor failures or malicious attacks. Furthermore, the sensor reading of the event occurrence can be state-dependent. To this end, more complicated observation models have been proposed in the literature. Here, we adopt state-dependent non-deterministic observation model proposed by [17, 18], which captures both state-dependency and non-determinism of observations.
Formally, we assume that is a new set of all possible observations or output symbols. Then a state-dependent non-deterministic output function is
where . Intuitively, this output function means that if event occurs at state , then the system is possible to observe any symbol in non-deterministically.
Remark 1
The above non-deterministic observation model is quite general in the sense it subsumes many observation models in the literature. For example, the standard natural-projection-based observation can be formulated by setting for all and for all . Also, it captures the so-called intermittent loss of observations [4]. In this setting, the event set is usually partitioned as , where is the set of reliable events whose occurrences can always be observed directly, is the set of unreliable events whose occurrences may be observed but can also be lost and is the set of unobservable events whose occurrences can never be observed. This setting can be captured by considering a non-deterministic output function with and for any and , we have
Note that, for the general case we consider here, the output symbols can be different from the original event set .
Based on the output function , we can define a non-deterministic observation mapping , where is the set of finite strings over and we have , recursively as:
-
•
;
-
•
for any and , we have
Intuitively, is the set of all possible observations (or output strings) upon the occurrence of internal string . The observation mapping is also extended to by: for any language , .
Since the observation is non-deterministic, for any specific internal string , it may have different output realizations. To “embed” the actual observation occurred into the internal execution of the system, we define
as the set of extended events. Then an extended string is a finite or infinite sequence of extended events. We say a finite extended string
is generated by if and . We denote by the set of all finite extended strings generated by . The infinite extended strings are defined analogously and the set of all infinite extended strings generated by is denoted by .
For any extended string , we define and as its corresponding state sequence, (internal) event string and output string, respectively. Clearly, for any , we have because is a specific observation realization of internal string .

Example 1
Let us consider system in Figure 1, where we have and . The output function is specified by the label of each transition, where the LHS of “” denotes the internal event and the RHS of “” denotes the set of all possible output symbols. For example, from state to state means that system moves to state from state by firing event , i.e., , and we can non-deterministically observe any output in set . In this example, we either observe itself or observe nothing, which corresponds to the case of intermittent loss of observations. Then for finite string , the set of all possible output is . These two different outputs lead to the following two extended strings and , respectively.
II-C Fault Diagnosis
In this work, we assume that the system is subject to faults whose occurrences need to be diagnosed within a finite number of steps. Specifically, we assume that is the set of fault events. For the sake of simplicity, we do not distinguish among different fault types. We say a string is faulty if some event in appears in and we write with a slight abuse of notation; otherwise, it is normal. We define and as the sets of all finite and infinite faulty strings generated by , respectively. Similarly, we define as the set of extended fault events and denote by the set of all finite extended faulty strings generated by ; the extended infinite faulty language is also defined analogously. Finally, we define as the set of all finite extended faulty strings in which fault events occur for the first time, i.e.,
To capture whether or not the occurrences of fault events can be detected within a finite number of steps, the notion of diagnosability (under non-deterministic observations) has been proposed in the literature [17].
Definition 1
System is said to be diagnosable w.r.t. output function and fault events if
(1) |
where the diagnostic condition diag is
Intuitively, the above definition says that, for any faulty extended string in which fault events appear for the first time, there exists a finite detection bound such that, for any of its continuation longer than the detection bound, any other extended strings having the same observation must also contain fault events. Note that we consider extended strings rather than the internal strings in order to capture the issue of non-deterministic observations.
Example 2
Again, we consider system depicted in Figure 1 with and . Let us consider faulty extended string , which can be extended arbitrarily long as
However, for any , we can find a normal extended string
such that . Therefore, we know that system is not diagnosable under .
III Diagnosability with Always-Fairness Assumption
III-A Motivating Example
As we discussed in Remark 1, the non-deterministic output function can be used to capture the issue of intermittent loss of observations. Here, however, we argue that the original definition of diagnosability in Definition 1 may be too strong for the case of intermittent loss of observations.
To see this, we still consider system shown in Figure 1, where the reliable event set is , the unreliable events set is and the unobservable event set is . As we have discussed in Example 2, this system is not diagnosable because there are two infinite extended strings:
-
•
one is faulty ;
-
•
the other is non-faulty
and they have the same observation, i.e., . As a result, the occurrence of fault in string can never be detected within a finite number of steps.
Note that, the existence of above extended string is due to the following physical scenario: the infinite internal string is executed, i.e., the system loops forever in the cycle formed by states and , and each time when event is executed at state , the sensor reads due to observation loss. In other words, the sensor corresponds to transition has to fail permanently in order to draw the conclusion that the system is not diagnosable. However, this source of non-diagnosability seems violate the setting of intermittent loss of observations. In the context of intermittent loss of observations or non-deterministic observations, it makes more sense to assume that each possible observation is eventually possible. Therefore, if event at state corresponds to a sensor that may be unreliable but will not fail permanently, then along the infinite loop of , once one has a single chance to observe output for transition , it will conclude immediately that fault events have occurred.
III-B -Fairness Assumption
The above discussion suggests that the exiting definition of diagnosability under non-deterministic observations is a bit strong than its underlying physical setting because it includes the situation where some output symbols are disabled permanently. In order to bridge this discrepancy between the definition of diagnosability and the physical meaning of non-deterministic observations, in this work, we put an additional fairness assumption on those sensors that are subject to intermittent loss of observations, or non-deterministic observations in a broad sense. Specifically, we assume that is a set of “fair” output symbols in the sense that if they have infinite opportunities to occur, then they will indeed occur infinite number of times.
In order to formalize this fairness requirement, we use the linear temporal logic (LTL) formulas. Formally, an LTL formula is constructed based on a set of atomic propositions , Boolean operators and temporal operators as follows:
where is an atomic proposition; and denote “next” and “until”, respectively. Other Boolean connectives can be induced by and , e.g., and . Temporal operators “always” and “eventually” can be induced by until operator, i.e., and . LTL formulas are evaluated over infinite sequences of atomic proposition sets (called words). For any infinite word , we denote by if it satisfies LTL formula . The reader is referred to [1] for more details on the semantics of LTL.
In our context of non-deterministic observations, we choose extended events as atomic propositions, i.e., . For the sake of simplicity, each extended event will also be written as meaning that event occurs at state and generates observation . For simplicity, we define
as the proposition formula meaning that transition occurs no matter what output it generates. Then we introduce the notion of -fairness as follows.
Definition 2
(-Fairness) Let be a set of output symbols. We say an infinite extended string is -fair if
(2) |
The above subset of outputs is referred to as the fair outputs meaning that these outputs will always have the opportunity to be measured. Specifically, this requirement is captured by formula saying that, for any transition , if it is fired infinite number of times, then any of its fair outputs, i.e., , can actually be observed infinite number of times. This excludes the case where some fair outputs are disabled permanently. We define
as the set of infinite extended strings generated by satisfying . We also define as the set of infinite faulty extended strings satisfying .
Remark 2
Throughout the paper, we will only consider LTL formulae in the form of Equation (2) to capture the fairness requirement. Compared with the general form of LTL, Equation (2) is an assume-guarantee type of formula. Later, we will utilize this structural property for the purpose of checking diagnosability.
III-C OF-Diagnosability
Based on the above notion of -fairness on extended strings, now we modify the existing definition of diagnosability as shown in Definition 1 to the output-fair diagnosability (OF-diagnosability) defined as follows.
Definition 3
(OF-diagnosability) System is said to be output-fairly diagnosable (OF-diagnosable) w.r.t. fault events , output function and fair outputs if
(3) |
where the fair-diagnostic condition fair-diag is
Intuitively, OF-diagnosability revises the standard diagnosability by restricting our attention only to those infinite extended strings satisfying the fairness assumption and investigates whether or not faults in those “output-fair” strings can be detected.
Remark 3
In Definition 1, it is known that “” and “” can be swapped, which means that if the system is diagnosable, then there exists a uniform detection bound after the occurrence of any fault events. However, in Definition 3, the length of detection prefix can be arbitrarily long, depending on how the fairness assumption is satisfied in the specific infinite faulty string , since the -fairness assumption only guarantees that all fair outputs eventually occur but the delay can be arbitrarily large.
We show that the proposed notion of a OF-diagnosability provides the necessary and sufficient condition for the existence of diagnoser that works “correctly” under the -fairness assumption. Formally, a diagnoser is a function
that decides whether a fault has happened (by issuing “”) or not (by issuing “”) based on the output string. We say that a diagnoser works correctly under the -fairness assumption if it satisfies the following conditions:
-
C1)
By assuming that each fair-output will actually be observed infinitely if they have infinite chances to be observed, the diagnoser will issue a fault alarm for any occurrence of fault events, i.e.,
-
C2)
The diagnoser will not issue a false alarm if the execution is still normal, i.e.,
The following theorem says that there exists a diagnoser working “correctly” under the -fairness assumption if and only if the system is OF-diagnosable.
Theorem 1
Proof:
() Suppose that there exists a diagnoser satisfying conditions C1 and C2, while, by contradiction, system is not OF-diagnosability. This means that there exist an infinite faulty extended string such that for any prefix , there exists a normal extended string having the same observation with . Since diagnoser satisfies condition C2, for any , we get ; otherwise, if , we get , which violates condition C2. Therefore, for any , we get . As a result, condition C1 does not hold for diagnoser , which contradicts the hypothesis.
() Suppose that the system is OF-diagnosable. We consider a diagnoser defined by: for any
(4) |
We claim that the diagnoser given by equation (4) satisfies condition C1 and C2. We first show that the diagnoser satisfies condition C2. For any normal extended language , by equation (4), we have , that is, C2 holds. To see that C1 holds, we consider any faulty extended string . By OF-diagnosability, there exists a finite prefix such that any finite normal extended language having the same observation with is faulty, i.e., . Then, by equation (4), we have , i.e., condition C1 also holds. ∎
We use the following examples to illustrate the concept of output fairness as well as the notion of OF-diagnosability.
Example 3
Again, let us consider system shown in Figure 1 with and suppose that the fair outputs are . Then by Definition 2, the -fairness assumption is
Note that for infinite faulty extended string
we have because holds but does not hold. Therefore, is not considered in the analysis of OF-diagnosability. Clearly, for any faulty string in , must occur, which means output will be observed and upon the occurrence of which the fault can be detected. Therefore, this system is actually OF-diagnosable.
IV Verification of OF-diagnosability
In this section, we investigate the verification of OF-diagnosability. Specifically, we provide a verifiable necessary and sufficient condition for OF-diagnosability based on the verification structure.
IV-A Augmented System
To verify OF-diagnosability, our first step is to augment both the state-space and the event-space of such that
-
•
the information of whether or not a fault event has occurred is encoded in the augmented state-space; and
-
•
the information of where the event occurs and which specific output is observed are encoded in the augmented event-space.
Formally, given system , fault events and output function , we define the augmented system as a new DFA
(5) |
where
-
•
is the set of augmented states;
-
•
is the initial augmented state;
-
•
is the set of augmented events, which are just extended events;
-
•
is the transition function defined by: for any and , we have if and . Furthermore, when , we have
The above constructed augmented system has the following properties:
-
•
First, the augmented system generates extended strings. Essentially, it still tracks the original dynamic of the system by putting both the output realization and the current state information together with the internal event. Therefore, we have
-
•
Second, each augmented state has two components. The first component is the actual state in the original system and the second component is a label denoting whether fault events have occurred. By the construction, the label will change from to only when an extended fault event occurs and once the label becomes , it will be forever. We denote by the set of normal augmented states and the set of faulty states is defined analogously.

Example 4
Still, we consider system shown in Figure 1 with the same setting in Example 3. Its augmented system is depicted in Figure 2, where is the extended fault event and after occurrence of which all states is augmented with label , e.g., states and . Furthermore, the transitions of the augmented system are defined according to the actual transitions and the underlying observations of original system . For example, because and , we have two new transitions in : and .
IV-B Verification Structure
Let be a set of states representing the current state estimation of the augmented system. By observing a new output symbol , the estimate is updated by the following observable reach
Also, the system can execute silently without generating an output symbol. This is captured by the unobservable reach defined by:
Now, based on the augmented system , we construct the verification structure as follows:
(6) |
where
-
•
is the set of states;
-
•
is the initial state;
-
•
is the event set, which is just the set of extended events;
-
•
is the transition function defined by: for any and , we have
where and .
Intuitively, each state in the verification structure has two components. The first component tracks the current (augmented) state in . Therefore, the transition of the first part is consistent with . As a result, we also have
and the same for the generated infinite language. On the other hand, the second component captures the current state estimation of system . Therefore, this component is updated only when a new output symbol is generated, i.e., . Furthermore, if it is updated, then it first updates the estimate by the observable reach to compute the set of state that can be reached immediately following the output. Also, we need to include all states that can be reached silently by using the unobservable reach. Essentially, we can image as the synchronization of the augmented system and its current-state estimate under the non-deterministic observation setting.
For any state in , we say the state is
-
•
certain if and ;
-
•
uncertain if and .
We denote by and the set of certain states and uncertain states in , respectively. Then for any string , based on the definition of uncertain and certain states, we have following properties:
-
•
For any faulty extended string , there exists a normal extended string such that if and only if .
-
•
For any faulty extended string , if , then for any of its continuation , we have .
IV-C Checking OF-Diagnosability
Now we investigate the verification of OF-diagnosability. According to Definition 2, a system is not OF-diagnosable if and only if there exists an infinite extended faulty string satisfying the -fairness assumption but all states in reached along the string are uncertain. Then, since the systems is finite, only loops can generate infinite strings. This leads to the definition of fairly uncertain loop (FU-loop).
Formally, given the verification structure , we define a run in as a finite sequence
where and . A run of the above form is called a loop if .
Then given a loop in the verification structure, where , we say is
-
•
fair if for each transition that occurs in the loop, any of its fair output symbols must occur in the loop associating with the same transition, i.e.,
-
•
uncertainty if all states in the loop are uncertain, i.e.,
-
•
reachable if there exists a finite string such that .
Clearly, by properties of the verification structure, we know that an uncertain loop will only be reached by faulty strings. Furthermore, if some state in a loop is uncertain, then all states in it are uncertain.
In the following two lemmas, we formally establish the relationship between strings satisfying the -fairness assumption and fair loops, according to the structure characteristics of -fairness assumption. Due to space constraint, their proofs are omitted here and are available in [sup-material].
First, we show that, for any reachable fair loop, it can generate an infinite extended string string satisfying the -fairness assumption.
Lemma 1
Given a reachable fair loop in verification system , there exists an infinite extended string in in the form of
such that .
Proof:
By contradiction, we assume does not satisfy , that is, there exists such that satisfies LTL formula , while there exists and does not satisfy formula . By the first formula , we have there is such that appears in for infinite times, that is, is concluded in , and since the formula is false, cannot occur for infinite times, that is, is not contained by . Thus, the loop is not fair and the hypothesis is contradicted. ∎
On the other hand, given an infinite extended string satisfying , it will also induce a fair loop.
Lemma 2
For any infinite extended string satisfying , we can find a reachable fair loop in which events in the loop are the same as those event appearing infinite number of times in , i.e., .
Proof:
Suppose there is an infinite string and satisfies . Because system is finite, we can obtain a reachable loop with the structure such that the set of events in loop is equal to , i.e., . We assume the loop is not fair, by contradiction. That is, there exists and a fair output in the set such that for all , we have either or . Let and . As a result, we know that is included by but is not. The formula is true, while the formula is false. Then, the hypothesis is contradicted. ∎
Based on Lemmas 1 and 2, we obtain the following main result, which shows that, to check OF-diagnosability, it suffices to check the existence of a reachable fair and uncertain loop (FU-loop) in the verification structure .
Theorem 2
A system is not OF-diagnosable w.r.t. fault events , output function and fair outputs , if and only if, there exists a reachable FU-loop in the verification structure .
Proof:
() Assume system is OF-diagnosable. That is, for any infinite faulty extended string , it has a finite prefix such that each extended string , which has the same output with , is faulty, i.e., .
By contradiction, we claim there exists a reachable FU-loop in . Suppose . By Lemma 1, there is an infinite string in satisfying , where and . By properties of verification structure, we know that for any prefix , . And since all states in loop are uncertain, for any prefix , there exists a normal extended string having the same output with . The system is not OF-diagnosable, which contradicts the hypothesis.
() Suppose system is not OF-diagnosable. By Definition 3, there is an infinite faulty extended string such that for any prefix , a normal extended string has the same output with . Because of this normal extended string , by properties of verification structure, any prefix of the infinite faulty extended string cannot reach certain states, i.e., . Because extended string is fair, i.e., , by Lemma 2, there exists a fair loop , where . For any faulty prefix , there is a string such that is a prefix of and reaches the state , i.e., . By properties of verification structure, all states in loop are uncertain, that is, is a reachable FU-loop. The proof is complete. ∎
The condition in Theorem 2 can be checked as follows. First, in verification structure, we find all strongly connected components (SCCs) that are reachable by fault events. Clearly, each of above SCCs only consists of either certain states or uncertain states and we only need to consider those uncertain SCCs. Then we need to check if any of the uncertain SCCs contains a fair loop. To this end, for each extended event , we check if it is fair in the sense that any also appears in the same SCC. If not, we need to remove such an extended event, and then recompute the SCCs and repeat the above removal procedure. When no such “unfair” extended event can be removed, the SCC remained (if exists) will contain a fair-loop; otherwise, no fair-lopp can be found. The above procedure is in polynomial-time in the size of the verification structure since computing all SCCs can be done in linear time and the above procedure repeats at most times. However, the size of the verification structure is exponential in the size of the original system. Therefore, the overall complexity for checking OF-diagnosability is exponential.
Example 5
Still, let us consider system shown Figure 1 with and suppose that the fair outputs are . As we have discussed in Example 3, this system is OF-diagnosability. Here, we analyze this more formally using Theorem 2. Based on the augmented system , we construct the verification structure ; part of it is shown in Figure 3, where we focus on the only reachable uncertain loop, as highlighted with red lines in the Figure 3, and omit other parts without loss of generality for the purpose of verification. To form a loop, we have to fire extended event infinite number of times at state . However, the fair output of transition is , i.e., and extended is not included. Therefore, we conclude the cannot form a FU-loop, which means that system is OF-diagnosable according to Theorem 2.

In the previous running example, the non-deterministic observation is either to see the occurrence of the internal event or to lose the observation. This actually corresponds to the special case of intermittent loss of observations. As we mentioned, our framework captures the general case of state-dependency and allows the output symbols to be different from the event set. In the following example, we consider such a general scenario.
Example 6
Let us consider system shown in Figure 4(a) with , and . We assume that the fair outputs are . For example, for transition , we may observe any output non-deterministically. The augmented system is depicted in Figure 4(b). For this system, the -fairness assumption is given by
Now, let us verify OF-diagnosability using Theorem 2. To this end, we construct the corresponding verification system , part of which is shown in Figure 5. However, there is fair but uncertainty loop reachable, which is highlighted in red color. Specifically, we consider the following loop
This loop is fair because for transition all fair outputs in occur in the loop, and for transition all fair outputs in occur in the loop. Furthermore, all states in the loop are uncertain. Thus, system is not OF-diagnosable.



V Conclusion
In this work, we revisited the problem of fault diagnosis of DES under non-deterministic observations. Compared with existing works, we introduced the notion of output fairness that excludes the case where some possible outputs are disabled permanently, which is formalized as -fairness assumption by LTL. We proposed a new notion called OF-diagnosability to capture the diagnostic requirement under -fairness assumption. Necessary and sufficient condition for testing OF-diagnosability was also provided based. Our work bridged the discrepancy between the existing definition of diagnosability under non-deterministic observations and the physical setting of non-deterministic observations.
References
- [1] C. Baier and J. Katoen. Principles of Model Checking. MIT press, 2008.
- [2] P. Biswal and S. Biswas. A polynomial algorithm for diagnosability of fair discrete event systems. Systems Science & Control Engineering, 3(1):307–319, 2015.
- [3] A. Boussif, M. Ghazel, and J. Basilio. Intermittent fault diagnosability of discrete event systems: an overview of automaton-based approaches. Discrete Event Dynamic Systems, 31(1):59–102, 2021.
- [4] L. Carvalho, J. Basilio, and M. Moreira. Robust diagnosis of discrete event systems against intermittent loss of observations. Automatica, 48(9):2068–2078, 2012.
- [5] L. Carvalho, M. Moreira, and J. Basilio. Comparative analysis of related notions of robust diagnosability of discrete-event systems. Annual Reviews in Control, 2021.
- [6] L. Carvalho, M. Moreira, J. Basilio, and S. Lafortune. Robust diagnosis of discrete-event systems against permanent loss of observations. Automatica, 49(1):223–231, 2013.
- [7] C. Cassandras and S. Lafortune. Introduction to Discrete Event Systems, volume 2. Springer, 2008.
- [8] Y. Hu, Z. Ma, Z. Li, and A. Giua. Diagnosability enforcement in labeled petri nets using supervisory control. Automatica, 131:109776, 2021.
- [9] N. Kanagawa and S. Takai. Diagnosability of discrete event systems subject to permanent sensor failures. International Journal of Control, 88(12):2598–2610, 2015.
- [10] S. Lafortune, F. Lin, and C. Hadjicostis. On the history of diagnosability and opacity in discrete event systems. Annual Reviews in Control, 45:257–266, 2018.
- [11] F. Lin. Control of networked discrete event systems: dealing with communication delays and losses. SIAM Journal on Control and Optimization, 52(2):1276–1298, 2014.
- [12] F. Lin, W. Chen, L. Han, B. Shen, et al. N-diagnosability for active on-line diagnosis in discrete event systems. Automatica, 83:220–225, 2017.
- [13] V. Oliveira, F. Cabral, and M. Moreira. K-loss robust diagnosability of discrete-event systems. IFAC-PapersOnLine, 53(4):250–255, 2020.
- [14] N. Ran, H. Su, A. Giua, and C. Seatzu. Codiagnosability analysis of bounded petri nets. IEEE Trans. Automatic Control, 63(4):1192–1199, 2018.
- [15] M. Sampath, R. Sengupta, S. Lafortune, K. Sinnamohideen, and D. Teneketzis. Diagnosability of discrete-event systems. IEEE Trans. Automatic Control, 40(9):1555–1575, 1995.
- [16] S. Takai. A general framework for diagnosis of discrete event systems subject to sensor failures. Automatica, 129:109669, 2021.
- [17] S. Takai and T. Ushio. Verification of codiagnosability for discrete event systems modeled by Mealy automata with nondeterministic output functions. IEEE Trans. Aut. Control, 57(3):798–804, 2012.
- [18] T. Ushio and S. Takai. Nonblocking supervisory control of discrete event systems modeled by Mealy automata with nondeterministic output functions. IEEE Trans. Aut. Control, 61(3):799–804, 2015.
- [19] G. Viana, M. Moreira, and J. Basilio. Codiagnosability analysis of discrete-event systems modeled by weighted automata. IEEE Trans. Automatic Control, 64(10):4361–4368, 2019.
- [20] X. Yin, J. Chen, Z. Li, and S. Li. Robust fault diagnosis of stochastic discrete event systems. IEEE Trans. Automatic Control, 64(10):4237–4244, 2019.
- [21] X. Yin and S. Lafortune. On the decidability and complexity of diagnosability for labeled Petri nets. IEEE Trans. Automatic Control, 62(11):5931–5938, 2017.
- [22] J. Zaytoon and S. Lafortune. Overview of fault diagnosis methods for discrete event systems. Annual Rev. Control, 37(2):308–320, 2013.