Algorithm Search⌘K

Definitionadvanced

Observable language

Also called observability of languages.

A language is observable if strings that look the same through the observation mask never need different control actions, so a supervisor that sees only the mask can enforce it.

In supervisory control with partial observation, the supervisor does not see every event of the plant. It sees only the projection P(s)P(s) of the string ss, so it must give the same control action to all strings with the same projection. A language KK is observable if this never causes a conflict: when two legal strings look the same and a controllable event must stay enabled after one of them, that event is also legal after the other one whenever the plant can execute it. Together with controllability, observability is the exact condition for a supervisor that sees only the projection to enforce KK. Lin and Wonham, and Cieslak, Desclaux, Fawaz and Varaiya, gave it in 1988. It is not the observability of a linear state-space system, which asks whether the outputs determine the state.

Definition

Let GG be a plant over Σ=Σc∪Σuc\Sigma = \Sigma_c \cup \Sigma_{uc} with generated language L(G)L(G). Split Σ\Sigma also into observable events Σo\Sigma_o and unobservable events Σuo\Sigma_{uo}. The natural projection P:Σ∗→Σo∗P : \Sigma^* \to \Sigma_o^* erases the unobservable events: P(ε)=εP(\varepsilon) = \varepsilon, P(sσ)=P(s)σP(s\sigma) = P(s)\sigma if σ∈Σo\sigma \in \Sigma_o, and P(sσ)=P(s)P(s\sigma) = P(s) otherwise. Let K‾\overline{K} be the prefix closure of KK.

K⊆L(G)K \subseteq L(G) is observable with respect to L(G)L(G), PP and Σc\Sigma_c if for all s,s′∈K‾s, s' \in \overline{K} with P(s)=P(s′)P(s) = P(s') and all σ∈Σc\sigma \in \Sigma_c: sσ∈K‾ and s′σ∈L(G)  ⟹  s′σ∈K‾.\displaystyle s\sigma \in \overline{K} \text{ and } s'\sigma \in L(G) \implies s'\sigma \in \overline{K}.

This is the form in Cassandras and Lafortune. Lin and Wonham ask the same condition for all σ∈Σ\sigma \in \Sigma, and add a condition on marked strings for languages that are not prefix-closed. For a controllable KK the condition with σ∈Σuc\sigma \in \Sigma_{uc} holds already, so the two forms agree on K‾\overline{K}.

A PP-supervisor is a map SP:P(L(G))→2ΣS_P : P(L(G)) \to 2^{\Sigma} with Σuc⊆SP(t)\Sigma_{uc} \subseteq S_P(t). It acts on GG by S(s)=SP(P(s))S(s) = S_P(P(s)).

Theorem (Lin and Wonham 1988; Cieslak et al. 1988). Let K⊆L(G)K \subseteq L(G) be nonempty. There is a PP-supervisor with L(S/G)=K‾L(S/G) = \overline{K} if and only if KK is controllable and observable. Such a supervisor is

SP(t)=Σuc∪{σ∈Σc:s′σ∈K‾ for some s′∈K‾ with P(s′)=t}.S_P(t) = \Sigma_{uc} \cup \{\sigma \in \Sigma_c : s'\sigma \in \overline{K} \text{ for some } s' \in \overline{K} \text{ with } P(s') = t\}.

Proof. Let KK be controllable and observable. Show by induction on length that s∈L(S/G)s \in L(S/G) if and only if s∈K‾s \in \overline{K}. Both contain ε\varepsilon. Let s∈L(S/G)=K‾s \in L(S/G) = \overline{K} and sσ∈L(G)s\sigma \in L(G). If σ∈Σuc\sigma \in \Sigma_{uc}, then sσ∈L(S/G)s\sigma \in L(S/G), and sσ∈K‾s\sigma \in \overline{K} by controllability. If σ∈Σc\sigma \in \Sigma_c and sσ∈K‾s\sigma \in \overline{K}, take s′=ss' = s to see that σ∈SP(P(s))\sigma \in S_P(P(s)). If σ∈Σc\sigma \in \Sigma_c and σ∈SP(P(s))\sigma \in S_P(P(s)), there is s′∈K‾s' \in \overline{K} with P(s′)=P(s)P(s') = P(s) and s′σ∈K‾s'\sigma \in \overline{K}. Observability with the roles of ss and s′s' exchanged gives sσ∈K‾s\sigma \in \overline{K}. Conversely, let a PP-supervisor give L(S/G)=K‾L(S/G) = \overline{K}. Controllability follows as in the full observation case. For observability, let s,s′∈K‾s, s' \in \overline{K} with P(s)=P(s′)P(s) = P(s'), σ∈Σc\sigma \in \Sigma_c, sσ∈K‾s\sigma \in \overline{K} and s′σ∈L(G)s'\sigma \in L(G). Then σ∈SP(P(s))=SP(P(s′))\sigma \in S_P(P(s)) = S_P(P(s')), so s′σ∈L(S/G)=K‾s'\sigma \in L(S/G) = \overline{K}. ■\blacksquare

For marked languages, a nonblocking PP-supervisor with Lm(S/G)=KL_m(S/G) = K exists if and only if KK is controllable, observable and Lm(G)L_m(G)-closed, with the marking form of observability. See nonblocking supervisor for the full observation case.

Examples and non-examples

Let Σ={a,u}\Sigma = \{a, u\} with aa observable and uu unobservable, and let both events be controllable. The plant generates L(G)={ε,a,u,ua}L(G) = \{\varepsilon, a, u, ua\}. So P(u)=εP(u) = \varepsilon and P(ua)=aP(ua) = a. All languages below are prefix-closed and controllable, because Σuc\Sigma_{uc} is empty.

KK observable reason
{ε,a,u}\{\varepsilon, a, u\} no s=εs = \varepsilon and s′=us' = u look the same; a∈Ka \in K and ua∈L(G)ua \in L(G), but ua∉Kua \notin K
{ε,a}\{\varepsilon, a\} yes no two strings of KK have the same projection
{ε,u}\{\varepsilon, u\} yes ε\varepsilon and uu look the same, but a∉Ka \notin K, and uu∉L(G)uu \notin L(G)
{ε}\{\varepsilon\} yes only one string
  • Not observable. For K={ε,a,u}K = \{\varepsilon, a, u\}, the supervisor must enable aa at the start and disable it after uu. But it does not see uu, so both strings give it the observation ε\varepsilon. No PP-supervisor gives exactly KK.
  • No largest observable sublanguage. {ε,a}\{\varepsilon, a\} and {ε,u}\{\varepsilon, u\} are both observable, and each is maximal among the observable sublanguages of KK. Their union is KK, which is not observable. So observability is not closed under union, and KK has no supremal observable sublanguage. A designer must pick one of the maximal ones. This is the reason to use the stronger normal language, which is closed under union: here the largest normal sublanguage is {ε,u}\{\varepsilon, u\}.
  • Full observation. If Σo=Σ\Sigma_o = \Sigma, then PP is the identity, P(s)=P(s′)P(s) = P(s') means s=s′s = s', and every language is observable.
  • All events controllable but unobservable. If Σo=∅\Sigma_o = \emptyset, every two strings look the same. Then KK is observable if and only if every controllable event that is legal after some string of K‾\overline{K} is legal after every string of K‾\overline{K} where the plant can execute it.
  • Closure properties. The intersection of two prefix-closed observable languages is observable: the condition for each language implies it for the intersection. So a smallest prefix-closed observable superlanguage of a given language exists. The union is not closed, as the example shows.
  • Normal language. KK is normal if K‾=P−1(P(K‾))∩L(G)\overline{K} = P^{-1}(P(\overline{K})) \cap L(G). Normality implies observability. If Σc⊆Σo\Sigma_c \subseteq \Sigma_o, a prefix-closed language that is controllable and observable is also normal.
  • Checking observability. For regular KK and GG, the condition is about pairs of strings with the same projection. A product of the automaton of KK with a copy of itself, which moves together on observable events and alone on unobservable ones, finds a violating pair in polynomial time. This is the same idea as the twin plant for diagnosability.
  • Diagnosability. Diagnosability is the analogous question for fault detection: do two strings with the same projection, one with a fault and one without, stay apart for long.
  • State estimation. A PP-supervisor in practice keeps the set of plant states that agree with the observation so far, as in the subset construction. This is the discrete form of state estimation.
  • Coobservability. With several local supervisors, each with its own projection, the analogous condition is called coobservability.
  • Observability of linear systems. The observability of x′=Axx' = Ax, y=Cxy = Cx asks whether the output determines the state. It is a different notion with a similar name.

References

  1. F. Lin and W. M. Wonham, On observability of discrete-event systems, Information Sciences 44(3), 1988, pages 173 to 198, the definition of observability and the existence theorem for supervisors under partial observation
  2. R. Cieslak, C. Desclaux, A. S. Fawaz and P. Varaiya, Supervisory control of discrete-event processes with partial observations, IEEE Transactions on Automatic Control 33(3), 1988, pages 249 to 260, the existence condition for supervisors that see only observable events
  3. Christos G. Cassandras and Stéphane Lafortune, Introduction to Discrete Event Systems, third edition, Springer, 2021, Chapter 3, Supervisory Control (control under partial observation)

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/8J25QZ/text.yaml