Title: Matrix Based Supervisor Design of Marine Traffic System
1Matrix Based Supervisor Design of Marine Traffic
System
- D. Kezic, A. Gudelj, I. Vujovic
2- Supervisory control, P/T and
- MRF1 Petri net 7
- Matrix approach of Supervisor design 7
- Case study marine canal traffic system 8
3Supervisory control, P/T and MRF1 Petri net
4Supervisory control
5P/T Petri net definition
set of places
set of transitions
set P and T are disjointed
an input incidence matrix
,
an output output incidence matrix
weight function
initial marking
6P/T Petri net fundamental equation
7Structural properties of Petri net
P-invariant
Siphon responsible for deadlock
Trap
8MRF1 class of Petri net
9MRF1 class of Petri net
,
,
,
e)
.
10Matrix description of MRF1 type of Petri net
Input system matrices (rows-transitions
columns-places)
Output system matrices (rows-places
columns-transitions)
11Matrix Approach of Supervisor design
12Deadlock prevention supervisor step 1
Find all resource loops
via computing their covering P-invarijants.
13Deadlock prevention supervisor step 2
Find all circular waits
via computing their wait relation matrix, and
using string algebra.
14Deadlock prevention supervisor step 3
Find critical siphons and critical subsystems
15Deadlock prevention supervisor step 4 (first
level deadlock)
A CW C is in CB at any
if and only if critical siphon becomes empty
The critical siphon is empty if and only if
To avoid deadlock
by applying constraint
16Example
The system has a deadlock state reduce the set
of allowable states!
Apply constraint for deadlock free net
17Deadlock prevention supervisor step 5 (second
level deadlock)
the system is irregular
18Deadlock prevention supervisor step 6 (second
level deadlock)
From RCCW it is possible to identify key resource
Ensure that key resource does not remain last
available resource.
19Case study Marine canal traffic system
20Marine canal traffic system
21Deadlock prevention supervisor step
1 (P-invariants)
22Deadlock prevention supervisor step 2 (2 CW, 1
CCW)
,
.
23Deadlock prevention supervisor step 3 (3
critical siphons)
,
24Deadlock prevention supervisor step 3 (3
critical subsystems)
,
25Deadlock prevention supervisor step 4 (first
level deadlock)
,
.
26Deadlock prevention supervisor step
5,6 (calculating CCW and RCCW)
To ensure the absence of second level deadlock
the supervisor has to take care of the
availability of key resource in the way that
canal K2 does not remain last available resource
in the system.
,
.
27Simulation
K1_A 1 h, B1A_A 0.5 h, K2_A 2 h, B2A_A
0.5 h, K3_A 1 h, K3_B 1 h, B2B_B 0.5 h,
K2_B 2 h, B1B_B 0.5 h K1_B1 h.
28Conclusion
The paper deals with calculating of the maximally
permissible deadlock prevention supervisor
First step is creating a suitable Petri net model
of traffic system using MRF1 type of Petri net
Second step is to find structural properties -
circular waits, critical traps, siphons, critical
subsystems, and key resource
Finally, the set of constraints must be defined
and calculation of control policy must be done
The supervisor calculation and realization are
simple
Analyzing the system of N-canals (more than 1 key
resources)?