Definitioncore
Nonblocking supervisor
Also called nonblocking supervisory control.
A supervisor under which every string the closed loop can produce can be extended to a marked string, so the controlled plant has no deadlock and no livelock.
A supervisor of a discrete-event system is nonblocking if, under its control, the plant can always still complete a task: every string of events that the closed loop can produce extends to a marked string. A blocking closed loop can reach a deadlock, where no event is possible, or a livelock, where events go on forever but no task ever completes. Nonblocking is the liveness half of supervisory control; the controllability of the specification is the safety half. The supremal controllable sublanguage gives the least restrictive supervisor that has both.
Definition
Let be a plant with generated language , marked language and uncontrollable events . A supervisor maps each string to a set of enabled events with . The closed-loop language is the smallest set with and whenever , and . The marked closed-loop language is
is nonblocking for if ,
where the bar is the prefix closure. The inclusion always holds, so the condition says: every has an extension with .
A marking supervisor also decides which strings count as complete: it is a pair with for a language . Nonblocking is defined in the same way.
The nonblocking controllability theorem. Let be nonempty.
- There is a nonblocking supervisor with and if and only if is controllable and -closed, that is, .
- There is a nonblocking marking supervisor with if and only if is controllable.
Proof of 1. If is controllable, the supervisor gives (this is the controllability theorem on controllable language). Then by closedness, and , so is nonblocking. Conversely, if is nonblocking and , then , so is controllable by the same theorem, and . Proof of 2. Use the same with the marking : then . The converse is as in part 1.
If is not controllable, replace it by . If is -closed, so is : the language lies in , has the same prefix closure as , so it is controllable, and therefore .
In automaton terms, a supervisor realized by an automaton that runs in parallel with is nonblocking if and only if the reachable part of the product is coaccessible: from every reachable product state some marked product state can be reached. This is a backward graph search in time linear in the size of the product.
Examples and non-examples
- Nonblocking: the least restrictive supervisor. In the buffer example of supervisory control theory, the supervisor from the fixed point has 6 states, and each of them can reach the state where both machines are idle and the buffer is empty. So it is nonblocking.
- Blocking: a supervisor that only enforces safety. Take the plant with , and , the marked state 0, uncontrollable and , and the rule " never occurs". A supervisor that disables in state 2 keeps from occurring. But after the plant sits in state 2, where every possible event is disabled: a deadlock, and state 2 is not marked. The nonblocking supervisor for this rule disables in state 0 instead, and the closed loop is . The page supremal controllable sublanguage computes this.
- Blocking by livelock. Let , and with state 0 marked. A supervisor that disables in state 1 lets the plant run forever, and it never returns to a marked state. The closed loop has events, so it is not a deadlock, but it is blocking.
- Nonblocking, but with the wrong marked language. Let with , and . is controllable, but , so it is not -closed. A supervisor that enables both events gives . Only a marking supervisor gives exactly .
- Two nonblocking supervisors that block together. Two supervisors can each be nonblocking for and still block when they run at the same time. Their marked languages and are then conflicting: . Modular control must check this.
Related definitions
- Nonblocking automaton. An automaton is nonblocking if , that is, its reachable part is coaccessible. A trim automaton is nonblocking. See discrete-event system.
- Deadlock and livelock. A deadlock state has no possible event and is not marked. A livelock is a set of states closed under the possible events, with no marked state. A livelock is a terminal strongly connected component without a marked state, or a set of such components.
- Controllable language. The safety condition; see controllable language.
- -closed. : every marked plant string inside the legal prefixes is itself legal.
- Nonconflicting languages. and are nonconflicting if . This is the condition for modular supervisors to be nonblocking together.
- Liveness in games. In reactive synthesis, the analog is a reachability or Büchi objective. Nonblocking is weaker than "a marked state is reached": it asks only that one stays reachable.
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, nonblocking supervisors and the conditions for their existence
- P. J. G. Ramadge and W. M. Wonham, The control of discrete event systems, Proceedings of the IEEE 77(1), 1989, pages 81 to 98, the survey of the framework (marked languages and blocking)
- Christos G. Cassandras and Stéphane Lafortune, Introduction to Discrete Event Systems, third edition, Springer, 2021, Chapter 3, Supervisory Control (the nonblocking controllability theorem and marking supervisors)
- 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 CG0Q66 Edit this page History Report an error Markdown