Algorithmadvanced
Supervision based on place invariants
Also called SBPI, Petri net controller by place invariants.
Enforces linear marking constraints L mu <= b on a Petri net by adding one monitor place per constraint, with incidence -L D and initial marking b - L mu0. No reachability graph is built.
- Time
- O(c n q) worst
- Space
- O(n q + c q) extra
- Where
- c = the number of constraints; n = the number of places; q = the number of transitions
- Model
- Word RAM
- Properties
- deterministicexactofflineiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- Katerina Yamalidou, John O. Moody, Michael D. Lemmon, Panos J. Antsaklis, 1996
Supervision based on place invariants (SBPI) builds a supervisor for a Petri net that must keep its marking inside a set of linear constraints . For each constraint it adds one monitor place to the net. The arcs of the monitor places come from the product , where is the incidence matrix of the plant, and their initial tokens are . The construction makes a place invariant of the closed loop, so the constraint holds on every reachable marking. When the supervisor can disable and observe every transition, the closed loop blocks a firing only if that firing would break a constraint, so the supervisor is maximally permissive. The method needs one matrix product and never builds the reachability graph. This is the main difference from the automaton approach of supervisory control theory, where the supremal controllable sublanguage is computed on the full state space.
In plain words
A factory is modeled as a network of places that hold tokens, and of events that move tokens when they occur. Some combinations of tokens are not allowed, for example two robots in the same work cell, or more than three parts in a buffer. Each rule of this kind says that a weighted count of tokens must stay below a limit. The method adds one new place for each rule. This new place holds the "spare capacity" of the rule. An event that uses up capacity must first take tokens from the new place, and an event that frees capacity puts tokens back. When the new place is empty, the events that need it cannot occur. Because the new place always holds the exact spare capacity, it stops exactly the events that would break the rule, and nothing more.
The problem
Input: a Petri net with places and transitions, given by nonnegative integer matrices ( is the weight of the arc from place to transition , and the weight of the arc from to ), an initial marking , an integer matrix and an integer vector .
The incidence matrix is . Transition is enabled at if entrywise, and firing it gives . This is the notation of the petri-net page, with for the marking.
Output: monitor places, given by and an initial marking , such that in the closed loop (the plant with the monitor places added):
- every reachable marking satisfies , and
- a firing sequence can fire in the closed loop if and only if it can fire in the plant and every marking along it satisfies .
If , no supervisor exists, and the output is a report of this fact. Condition 2 assumes that the supervisor can disable and observe every transition; the section on variants treats uncontrollable and unobservable transitions.
The algorithm
SBPI(Pre, Post, mu0, L, b)- 1
D ← Post - Pre ▷ n by q incidence matrix of the plant - 2
D_c ← -L·D ▷ c by q, one row per monitor place - 3
mu_c0 ← b - L·mu0 ▷ the spare capacity of each constraint - 4
if some entry of mu_c0 < 0 then report "mu0 breaks L mu ≤ b" - 5
Pre_c ← max(0, -D_c); Post_c ← max(0, D_c) ▷ entrywise - 6
return (Pre_c, Post_c, mu_c0)
Line L1 forms the incidence matrix. Line L2 gives the change of each monitor place when each transition fires: it is minus the change of the constrained count . Line L3 gives the initial tokens of the monitors: the slack of each constraint at . A negative slack means that the initial marking is already illegal (line L4). Line L5 turns the signed incidence into arcs: a negative entry becomes an arc from the monitor to the transition, and a positive entry becomes an arc from the transition to the monitor. The monitors have no self-loops.
The closed loop is the plant with the rows of and added below and , and with the initial marking .
Example
Mutual exclusion of two processes. Process 1 cycles , and process 2 cycles . Places and are the critical sections. The initial marking is : both processes are idle. The rule is that at most one process is in its critical section: , so and .
| Line | Result |
|---|---|
| L1 | , columns |
| L2 | , so |
| L3 | |
| L4 | , so the initial marking is legal |
| L5 | (arcs to and ), (arcs from and ) |
The monitor place is the classic binary semaphore: entering a critical section takes its token, and leaving gives it back. The reachable markings, written , are:
| Marking | Plant | Closed loop | Enabled in the closed loop |
|---|---|---|---|
| reachable | reachable | , | |
| reachable | reachable | ( is blocked by the empty monitor) | |
| reachable | reachable | ( is blocked) | |
| reachable | not reachable |
The plant reaches 4 markings and the closed loop reaches 3. The only removed marking is the one that breaks the rule, and the only blocked firings are from the second marking and from the third, which lead to it. The invariant holds in every row.
Correctness
The key fact is that is a place invariant of the closed loop: when fires, changes by and changes by , and the sum starts at by line L3. Since a marking is never negative, gives . For maximal permissiveness, look at one monitor and one transition . If , the monitor enables exactly when , and by the invariant this is . If , the monitor never blocks , and the firing cannot raise . So the closed loop allows exactly when the plant allows it and the next marking is legal. An induction on the firing sequence completes the proof. The full proof, with the conditions for uncontrollable and unobservable transitions, is in proofs/correctness.md.
Proof: The monitor places enforce L mu <= b, and they block only the firings that would break itfull
Let the plant be a Petri net with places and transitions, with nonnegative integer matrices and incidence matrix . A marking is . Transition is enabled at if (entrywise), and firing it gives . The specification is with and , and the initial marking satisfies .
The algorithm adds monitor places with incidence , arcs and (entrywise), and initial marking . The closed loop is the net with places and the matrices and stacked on and .
Note that , because for every integer , and that no monitor place has both an input arc and an output arc with the same transition.
Lemma 1: the place invariant
Every marking that is reachable in the closed loop satisfies .
Proof. By induction on the length of the firing sequence. At the start, . If fires at , the new marking is , and
In the terms of the petri-net page, the vector is a place invariant of the closed loop for each row : .
Lemma 2: the constraint holds
Every reachable closed-loop marking satisfies .
Proof. Markings of a Petri net are nonnegative, so , and Lemma 1 gives .
Lemma 3: the enabling rule of the closed loop
Let be reachable in the closed loop. Then is enabled in the closed loop if and only if is enabled at in the plant and .
Proof. In the closed loop, is enabled if and only if and . The first condition is plant enabling. Take one monitor and write .
- If , the monitor condition is , that is . By Lemma 1, , so the condition is , that is .
- If , there is no arc from monitor to , so the monitor condition always holds. The constraint also holds: by Lemma 2.
So in both cases the condition of monitor is equivalent to , and the claim follows by taking all .
Theorem: maximal permissiveness
Let be the set of plant markings that can be reached from by a firing sequence whose markings all satisfy (the legal reachable set). Then the projection of the closed-loop reachable set on the plant places is exactly . More strongly, a firing sequence can fire in the closed loop if and only if it can fire in the plant and every marking along it satisfies .
Proof. By induction on the length of , with the claim that after the closed loop is at , where is the plant marking after . The empty sequence is the base case. For the step, let satisfy the claim and add . By Lemma 3, fires in the closed loop after if and only if it fires in the plant and the new plant marking satisfies the constraint. The new plant part is in both nets, and Lemma 1 fixes the monitor part as .
Any supervisor that observes and can disable all transitions and enforces must disable at every reachable with . By Lemma 3 the monitors disable exactly these firings and no other. So no supervisor of this kind allows a larger set of sequences: the monitor solution is maximally permissive.
Uncontrollable and unobservable transitions
Suppose some transitions are uncontrollable (the supervisor cannot disable them) or unobservable (the supervisor does not see them fire).
- If , then , so . No monitor arc leads into , so the monitors never disable , and they may treat it as uncontrollable.
- If , then , so no monitor arc touches . The monitor marking does not depend on whether fired, and may be unobservable.
These are the sufficient conditions of Moody and Antsaklis (1998). When they fail, the monitor built from is not admissible. A common repair is to replace the constraint by a stricter one that implies on the reachable markings and meets the conditions; the result may then be less permissive than the best admissible supervisor.
Termination and cost
The algorithm has no loop with a data-dependent bound. Line L1 takes subtractions. Line L2 computes the matrix with multiplications and additions. Line L3 takes operations, and lines L4 and L5 take and operations. The total is word operations, with integers that fit in a word when the entries of , , and are bounded by a constant. The output has integers.
Complexity
The model is the word RAM, with places, transitions and constraints, and with integer entries of , , , and that fit in a word.
- Line L1: subtractions.
- Line L2: the product of a matrix by an matrix, multiplications and additions.
- Lines L3 to L5: operations.
The total is time in the worst case. The extra space is for and for the monitor arcs. The bound is in the size of the net, not in the size of its reachability graph. The reachability graph of a bounded net can have a number of markings exponential in (the state explosion problem), and for an unbounded net it is infinite. Methods that work on the reachability graph, such as the supremal controllable sublanguage on an automaton model, pay that size. The tests on this page build the reachability graph only to check the result.
Properties
- Exact. All arithmetic is on integers, and the output is the unique monitor with incidence .
- Maximally permissive when every transition is controllable and observable (proofs/correctness.md).
- Correct for any net, bounded or not, and for any initial marking that satisfies the constraints. The proof uses only the firing rule and the invariant, not the reachability set.
- The supervisor is itself a Petri net, so the closed loop can be analyzed with the same tools as the plant, for example invariant checking.
- The method does not ensure liveness or deadlock freedom. The closed loop can deadlock in a legal marking.
Variants and improvements
- Uncontrollable transitions. If , the monitor has no arc into , so it never needs to disable . When this fails for some uncontrollable , the constraint is not admissible as written. Moody and Antsaklis (1998) transform it into a stricter constraint that implies the original one and is admissible. The result may then be less permissive than the best admissible supervisor.
- Unobservable transitions. If , the monitor has no arc at at all, so it does not need to see fire. The same transformation handles the other cases.
- Generalized mutual exclusion constraints. Giua, DiCesare and Silva (1992) called the constraints generalized mutual exclusion constraints (GMECs) and used monitor places for them. They also studied when a set of such constraints is equivalent to a smaller one.
- Liveness. Deadlock prevention by monitors, for example with siphons, is a separate problem. It adds further constraints and is not part of this method. See deadlock for the general notion.
When to use it
Use it when the specification is a set of linear inequalities on the marking: mutual exclusion, buffer capacities, resource counts. It works without the reachability graph, so it scales to nets whose state space is too large to enumerate. When the specification is a regular language or an arbitrary set of forbidden states, it does not apply directly; use the automaton methods of supervisory control theory instead. When some transitions are uncontrollable, check the condition first.
Pitfalls
- Wrong sign on line L2. Writing gives a monitor that gains tokens when the constrained count grows. The invariant is then $L \mu - \mu_c = $ constant, which bounds nothing. The correct line is .
- Skipping line L4. If fails, line L3 gives a negative initial marking, which is not a marking. No supervisor can make an illegal initial state legal, and the code must report it.
- Uncontrollable transitions with an arc from a monitor. Line L5 creates an arc from monitor into whenever . If is uncontrollable, the supervisor cannot honor this arc. Check the condition from the section on variants before you use the monitor.
- Building arcs from and separately. A transition that both takes and gives tokens in the constrained count then gets a self-loop on the monitor, and the monitor blocks it even when the net change is zero. Line L5 builds the arcs from the net change , which gives the maximally permissive monitor.
- Expecting liveness. The mutual exclusion example stays live, but in general the closed loop can deadlock. Check deadlock freedom separately.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/supervision-based-on-place-invariants/. The authors are listed in prov/131GMK.jsonl.
"""Supervision based on place invariants (Yamalidou, Moody, Lemmon and Antsaklis 1996).
A Petri net has n places and q transitions. Pre[i][t] is the weight of the arc
from place i to transition t, Post[i][t] the weight of the arc from t to i, and
D = Post - Pre is the incidence matrix. A marking mu is a vector of n
nonnegative integers. Transition t is enabled at mu if mu >= Pre[:, t]; firing
it gives mu + D[:, t].
The specification is c linear constraints L mu <= b, with L an integer c by n
matrix and b an integer vector. The supervisor adds one monitor place per
constraint, with incidence D_c = -L D and initial marking mu_c0 = b - L mu0.
Then L mu + mu_c = b is a place invariant of the closed loop, so mu_c >= 0
gives L mu <= b. When every transition is controllable and observable, the
closed loop blocks a firing only if the firing would break a constraint, so it
is maximally permissive.
All arithmetic is on Python integers, so the result is exact.
"""
from collections import deque
__all__ = [
"incidence",
"monitor_places",
"closed_loop",
"is_admissible",
"enabled",
"fire",
"reachable_markings",
]
def _shape(pre, post):
n = len(pre)
if n == 0 or len(post) != n:
raise ValueError("Pre and Post must have the same number of rows (places)")
q = len(pre[0])
for row in list(pre) + list(post):
if len(row) != q:
raise ValueError("Pre and Post must have the same number of columns (transitions)")
for a in row:
if not isinstance(a, int) or a < 0:
raise ValueError("arc weights must be nonnegative integers")
return n, q
def incidence(pre, post):
"""Return D = Post - Pre, an n by q integer matrix."""
n, q = _shape(pre, post)
return [[post[i][t] - pre[i][t] for t in range(q)] for i in range(n)]
def monitor_places(pre, post, mu0, L, b):
"""Return (Pre_c, Post_c, mu_c0) for the constraints L mu <= b.
Pre_c and Post_c are c by q: row j holds the arcs of monitor place j.
Raise ValueError if the initial marking mu0 breaks a constraint, because
then no monitor marking can be nonnegative.
"""
n, q = _shape(pre, post)
if len(mu0) != n or any(m < 0 for m in mu0):
raise ValueError("mu0 must hold n nonnegative integers")
if any(len(row) != n for row in L) or len(b) != len(L):
raise ValueError("L must be c by n and b must hold c integers")
c = len(L)
D = incidence(pre, post) # @line L1
Dc = [[-sum(L[j][i] * D[i][t] for i in range(n)) for t in range(q)] for j in range(c)] # @line L2
muc0 = [b[j] - sum(L[j][i] * mu0[i] for i in range(n)) for j in range(c)] # @line L3
if any(m < 0 for m in muc0): # @line L4
raise ValueError("the initial marking breaks the constraint L mu0 <= b")
pre_c = [[max(0, -Dc[j][t]) for t in range(q)] for j in range(c)] # @line L5
post_c = [[max(0, Dc[j][t]) for t in range(q)] for j in range(c)] # @line L5
return pre_c, post_c, muc0 # @line L6
def closed_loop(pre, post, mu0, L, b):
"""Return (Pre', Post', mu0') of the plant with the monitor places appended."""
pre_c, post_c, muc0 = monitor_places(pre, post, mu0, L, b)
return ([list(r) for r in pre] + pre_c, [list(r) for r in post] + post_c, list(mu0) + muc0)
def is_admissible(pre, post, L, uncontrollable=(), unobservable=()):
"""Check the conditions of Moody and Antsaklis for the monitor of L mu <= b.
The monitor never needs to block an uncontrollable transition t when
(L D)[:, t] <= 0, and it never needs to see an unobservable transition t
when (L D)[:, t] = 0. Return True when both conditions hold.
"""
n, q = _shape(pre, post)
D = incidence(pre, post)
LD = [[sum(row[i] * D[i][t] for i in range(n)) for t in range(q)] for row in L]
for t in uncontrollable:
if any(LD[j][t] > 0 for j in range(len(L))):
return False
for t in unobservable:
if any(LD[j][t] != 0 for j in range(len(L))):
return False
return True
def enabled(pre, mu, t):
"""True if transition t is enabled at marking mu."""
return all(mu[i] >= pre[i][t] for i in range(len(pre)))
def fire(pre, post, mu, t):
"""Return the marking after firing the enabled transition t at mu."""
if not enabled(pre, mu, t):
raise ValueError("transition is not enabled")
return tuple(mu[i] - pre[i][t] + post[i][t] for i in range(len(pre)))
def reachable_markings(pre, post, mu0, allowed=None, limit=100000):
"""Breadth-first search of the reachability graph.
allowed(mu) -> bool restricts the search to markings where it is True (the
initial marking must be allowed). Return the set of reached markings as
tuples. Raise RuntimeError if more than limit markings are found, since an
unbounded net has an infinite reachability set.
"""
q = len(pre[0])
start = tuple(mu0)
if allowed is not None and not allowed(start):
return set()
seen = {start}
todo = deque([start])
while todo:
mu = todo.popleft()
for t in range(q):
if enabled(pre, mu, t):
nxt = fire(pre, post, mu, t)
if nxt not in seen and (allowed is None or allowed(nxt)):
seen.add(nxt)
if len(seen) > limit:
raise RuntimeError("too many markings; the net may be unbounded")
todo.append(nxt)
return seen
test_supervision_based_on_place_invariants.py 211 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/supervision-based-on-place-invariants/. The authors are listed in prov/131GMK.jsonl.
import itertools
import random
import pytest
from supervision_based_on_place_invariants import (
closed_loop,
enabled,
fire,
incidence,
is_admissible,
monitor_places,
reachable_markings,
)
# Two cyclic processes p1 -> t1 -> p2 -> t2 -> p1 and p3 -> t3 -> p4 -> t4 -> p3.
# p2 and p4 are the critical sections. The constraint mu(p2) + mu(p4) <= 1 is
# mutual exclusion.
PRE = [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 0, 1],
]
POST = [
[0, 1, 0, 0],
[1, 0, 0, 0],
[0, 0, 0, 1],
[0, 0, 1, 0],
]
MU0 = [1, 0, 1, 0]
L_MUTEX = [[0, 1, 0, 1]]
B_MUTEX = [1]
def lin(L, mu):
return [sum(a * x for a, x in zip(row, mu)) for row in L]
def legal(L, b):
return lambda mu: all(v <= bj for v, bj in zip(lin(L, mu), b))
def random_conservative_net(rng, n, q):
"""Each transition moves k tokens, so the total number of tokens is constant."""
pre = [[0] * q for _ in range(n)]
post = [[0] * q for _ in range(n)]
for t in range(q):
k = rng.randint(1, 2)
for _ in range(k):
pre[rng.randrange(n)][t] += 1
post[rng.randrange(n)][t] += 1
return pre, post
def random_case(rng):
n = rng.randint(2, 5)
q = rng.randint(2, 5)
pre, post = random_conservative_net(rng, n, q)
mu0 = [0] * n
for _ in range(rng.randint(1, 4)):
mu0[rng.randrange(n)] += 1
c = rng.randint(1, 2)
L = [[rng.randint(-1, 2) for _ in range(n)] for _ in range(c)]
b = [v + rng.randint(0, 2) for v in lin(L, mu0)]
return pre, post, mu0, L, b
def test_incidence_of_the_example():
assert incidence(PRE, POST) == [
[-1, 1, 0, 0],
[1, -1, 0, 0],
[0, 0, -1, 1],
[0, 0, 1, -1],
]
def test_mutual_exclusion_monitor_is_a_semaphore():
pre_c, post_c, muc0 = monitor_places(PRE, POST, MU0, L_MUTEX, B_MUTEX)
# D_c = -L D = [-1, 1, -1, 1]: the monitor feeds t1 and t3, and t2 and t4 give the token back.
assert pre_c == [[1, 0, 1, 0]]
assert post_c == [[0, 1, 0, 1]]
assert muc0 == [1]
def test_example_reachability_counts():
plant = reachable_markings(PRE, POST, MU0)
assert plant == {(1, 0, 1, 0), (0, 1, 1, 0), (1, 0, 0, 1), (0, 1, 0, 1)}
pre2, post2, mu2 = closed_loop(PRE, POST, MU0, L_MUTEX, B_MUTEX)
cl = reachable_markings(pre2, post2, mu2)
assert cl == {(1, 0, 1, 0, 1), (0, 1, 1, 0, 0), (1, 0, 0, 1, 0)}
def test_infeasible_initial_marking_is_rejected():
with pytest.raises(ValueError):
monitor_places(PRE, POST, [0, 1, 0, 1], L_MUTEX, B_MUTEX)
def test_bad_input_is_rejected():
with pytest.raises(ValueError):
incidence([[1, -1]], [[0, 0]])
with pytest.raises(ValueError):
monitor_places(PRE, POST, MU0, [[1, 1]], [1])
def test_random_nets_match_restricted_reachability_graph():
rng = random.Random(20240611)
checked = 0
for _ in range(300):
pre, post, mu0, L, b = random_case(rng)
n = len(pre)
pre2, post2, mu2 = closed_loop(pre, post, mu0, L, b)
cl = reachable_markings(pre2, post2, mu2)
projected = {m[:n] for m in cl}
target = reachable_markings(pre, post, mu0, allowed=legal(L, b))
assert projected == target
for m in cl:
mu, muc = m[:n], m[n:]
# the place invariant L mu + mu_c = b holds on every reachable marking
assert [v + w for v, w in zip(lin(L, mu), muc)] == list(b)
assert all(w >= 0 for w in muc)
checked += len(cl)
assert checked > 500
def test_maximal_permissiveness_on_every_legal_marking():
rng = random.Random(7)
for _ in range(200):
pre, post, mu0, L, b = random_case(rng)
n, q = len(pre), len(pre[0])
pre2, post2, mu2 = closed_loop(pre, post, mu0, L, b)
ok = legal(L, b)
for m in reachable_markings(pre2, post2, mu2):
mu = m[:n]
for t in range(q):
plant_allows = enabled(pre, mu, t) and ok(fire(pre, post, mu, t))
assert enabled(pre2, m, t) == plant_allows
def test_all_firing_sequences_up_to_length_8():
rng = random.Random(99)
for _ in range(25):
pre, post, mu0, L, b = random_case(rng)
n, q = len(pre), len(pre[0])
if q > 3:
pre = [row[:3] for row in pre]
post = [row[:3] for row in post]
q = 3
pre2, post2, mu2 = closed_loop(pre, post, mu0, L, b)
ok = legal(L, b)
for length in range(9):
for seq in itertools.product(range(q), repeat=length):
mu, m = tuple(mu0), tuple(mu2)
plant_ok, cl_ok = True, True
for t in seq:
if plant_ok and enabled(pre, mu, t):
mu = fire(pre, post, mu, t)
plant_ok = ok(mu)
else:
plant_ok = False
if cl_ok and enabled(pre2, m, t):
m = fire(pre2, post2, m, t)
else:
cl_ok = False
assert plant_ok == cl_ok
if cl_ok:
assert m[:n] == mu
def test_admissibility_with_uncontrollable_transitions():
# t2 and t4 leave the critical sections. They only lower L mu, so they may be uncontrollable.
assert is_admissible(PRE, POST, L_MUTEX, uncontrollable=[1, 3])
pre_c, _, _ = monitor_places(PRE, POST, MU0, L_MUTEX, B_MUTEX)
assert pre_c[0][1] == 0 and pre_c[0][3] == 0
# t1 enters a critical section. If it is uncontrollable the monitor cannot block it.
assert not is_admissible(PRE, POST, L_MUTEX, uncontrollable=[0])
# t2 changes L mu, so it must be observed.
assert not is_admissible(PRE, POST, L_MUTEX, unobservable=[1])
def test_admissible_monitor_never_blocks_uncontrollable_transitions():
rng = random.Random(4242)
found = 0
for _ in range(400):
pre, post, mu0, L, b = random_case(rng)
q = len(pre[0])
unc = [t for t in range(q) if rng.random() < 0.5]
if not is_admissible(pre, post, L, uncontrollable=unc):
continue
found += 1
pre_c, _, _ = monitor_places(pre, post, mu0, L, b)
for t in unc:
assert all(row[t] == 0 for row in pre_c)
assert found > 20
def test_bounded_buffer_capacity():
# producer t0 puts an item in the buffer p0, consumer t1 takes it; p1 and p2 are idle places.
pre = [[0, 1], [1, 0], [0, 0]]
post = [[1, 0], [1, 0], [0, 0]]
mu0 = [0, 1, 0]
# the plant buffer is unbounded; the monitor keeps mu(p0) <= 3
pre2, post2, mu2 = closed_loop(pre, post, mu0, [[1, 0, 0]], [3])
cl = reachable_markings(pre2, post2, mu2)
assert {m[0] for m in cl} == {0, 1, 2, 3}
assert all(m[0] + m[3] == 3 for m in cl)
with pytest.raises(RuntimeError):
reachable_markings(pre, post, mu0, limit=50)
History
Petri nets with place invariants were a standard analysis tool by the 1980s (Murata 1989). Giua, DiCesare and Silva (1992) used monitor places to enforce generalized mutual exclusion constraints on nets with uncontrollable transitions. Yamalidou, Moody, Lemmon and Antsaklis presented the construction from place invariants at the 33rd IEEE CDC in 1994 and in Automatica in 1996. They derived the monitor incidence from the invariant equation and showed that the result is maximally permissive. Moody and Antsaklis (1998) collected the method, its extensions to uncontrollable and unobservable transitions, and the constraint transformations in a book.
References
- Katerina Yamalidou, John Moody, Michael Lemmon and Panos Antsaklis, Feedback control of Petri nets based on place invariants, Automatica 32(1), 15-28, 1996, the monitor place construction D_c = -L D and mu_c0 = b - L mu0, and its maximal permissiveness; the conference version is in Proc. 33rd IEEE CDC, 1994, 3104-3109
- Alessandro Giua, Frank DiCesare and Manuel Silva, Generalized mutual exclusion constraints on nets with uncontrollable transitions, Proc. IEEE International Conference on Systems, Man and Cybernetics, Chicago, 974-979, 1992, generalized mutual exclusion constraints and their monitor places
- John O. Moody and Panos J. Antsaklis, Supervisory Control of Discrete Event Systems Using Petri Nets, Kluwer Academic Publishers, 1998, the place invariant method and the admissibility conditions for uncontrollable and unobservable transitions
- Tadao Murata, Petri nets, properties, analysis and applications, Proceedings of the IEEE 77(4), 541-580, 1989, the incidence matrix, the state equation and place invariants (S-invariants)
- Christos G. Cassandras and Stéphane Lafortune, Introduction to Discrete Event Systems, third edition, Springer, 2021, the chapter on Petri nets and the chapter on supervisory control
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 | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 131GMK Edit this page History Report an error Markdown