Definitioncore
Controllable language
Also called controllability of languages.
A specification language is controllable if no uncontrollable event of the plant can lead a legal string out of its prefix closure. It is exactly the language a supervisor can enforce.
A language is controllable with respect to a plant if no uncontrollable event that the plant can execute takes a prefix of outside the prefixes of . This is the condition of supervisory control theory: a supervisor that may only disable controllable events can make the closed-loop behavior equal to the prefixes of if and only if is controllable. The notion is about languages of a discrete-event system. It is not the controllability of a linear state-space system (reaching every state with some input), and it is not the dynamic controllability of temporal networks in AI planning.
Definition
Let be a plant automaton over , with generated language ; is the set of uncontrollable events. For a language , let be its prefix closure, the set of all prefixes of strings of .
is controllable with respect to and if
In words: for every and every , if then . Strings that leave do not count, because the plant cannot run them.
Facts that follow from the definition:
- Controllability depends only on . So is controllable if and only if is.
- is controllable, and so is , and so is every with .
- Closure under union. If each is controllable, so is . Proof: . If is in the left side and with , then for some , so . This gives the supremal controllable sublanguage of every language : the union of all controllable sublanguages of .
- Intersection. The intersection of two prefix-closed controllable languages is controllable. The intersection of two controllable languages that are not prefix-closed need not be, because can be smaller than . An example is below.
The controllability theorem (Ramadge and Wonham 1987). Let be nonempty. There is a supervisor , which enables all uncontrollable events after every string, with if and only if is controllable. Such a supervisor is . For the version with marked strings and no blocking, see nonblocking supervisor.
Proof. If is controllable, show by induction on the length of strings. is in both. Let at length . If , then if and only if and , and . If , then if and only if , and by controllability this is the same as . Conversely, if some gives , take and with . enables after , so .
Examples and non-examples
The plant is a machine with states idle , working and down , and with , , and . The start and the repair are controllable, and the finish and the failure are not.
- Not controllable: "the machine never fails". Let be the set of strings of without . Then , and , but . The largest controllable sublanguage is : a supervisor can avoid failures only by never starting the machine. A brute force check over all strings of length at most 8 gives the same result.
- Controllable: "start at most once". . After , and the machine is idle, and no uncontrollable event is possible. After , both and lead into . After only is possible, and it is controllable. The supervisor disables after the first start.
- Not controllable: a buffer that must not overflow. Machine puts parts into a buffer with one slot by its uncontrollable finish , and it starts by the controllable . The specification forbids when the buffer is full. The string is legal (the buffer is full and works again), but then overflows the buffer. The fix is to disable one step earlier, when the buffer is full. The example on supervisory control theory works this out.
- An intersection that is not controllable. Let with , and let and . Both are controllable, since is in both prefix closures. But has the prefix closure , and leaves it. So is not controllable.
- Uncontrollable events outside do not count. If but the plant never executes after , then puts no condition on .
Related definitions
- Supremal controllable sublanguage. is the largest controllable sublanguage of . For regular it is regular, and the fixed point on the product automaton computes it.
- -closed. is -closed if . Together with controllability it gives a nonblocking supervisor with marked language .
- Observability and normality. When some events are not observed, a supervisor also needs to be observable. Normality is a stronger condition that is closed under union.
- State-based form. For a plant automaton and a set of states , the analog is a set that no uncontrollable transition leaves, and that the supervisor can keep the state in. This is the discrete form of a control invariant set, and it is the safety part of a game in reactive synthesis.
- Controllability of linear systems. The controllability of is a different notion with a similar name: it asks whether every state can be reached, not whether a specification can be enforced.
References
- P. J. Ramadge and W. M. Wonham, Supervisory control of a class of discrete event processes, SIAM Journal on Control and Optimization 25(1), 1987, pages 206 to 230, the definition of controllability and the existence theorem for supervisors
- W. M. Wonham and P. J. Ramadge, On the supremal controllable sublanguage of a given language, SIAM Journal on Control and Optimization 25(3), 1987, pages 637 to 659, closure under union and the supremal controllable sublanguage
- Christos G. Cassandras and Stéphane Lafortune, Introduction to Discrete Event Systems, third edition, Springer, 2021, Chapter 3, Supervisory Control
- W. Murray Wonham and Kai Cai, Supervisory Control of Discrete-Event Systems, Springer, 2019, Chapter 3, Supervision of Discrete-Event Systems, Basics
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag QSGJ5D Edit this page History Report an error Markdown