06.11.2014 Views

GRAFCET and Petri Nets Outline Introduction GRAFCET - EPFL

GRAFCET and Petri Nets Outline Introduction GRAFCET - EPFL

GRAFCET and Petri Nets Outline Introduction GRAFCET - EPFL

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Reachability graph<br />

Reachability tree<br />

We create a graph of<br />

reachable markings<br />

Exhaustive search<br />

Risk of combinatorial<br />

explosion<br />

t 1<br />

p 1<br />

t 2 t 3<br />

t 1<br />

p 2 p 3<br />

t 3 t 2 t 1<br />

[2,0,0] [1,0,1] [0,1,1] [1,0,0]<br />

<br />

If we want to show that<br />

the PN is not bounded,<br />

it might be useless to continue<br />

p 1<br />

This is the case if M 1<br />

that has been reached from M,<br />

M 1 ≥M (∀i: m 1 (p i ) ≥m(p i ))<br />

if M 1 =M, we are back to the<br />

same marking<br />

t 2<br />

if M 1 >M, it is possible to repeat<br />

[1,0,1]<br />

the same firing sequence <strong>and</strong><br />

increment again the number of tokens<br />

t 2 t 3<br />

t 1<br />

p 2 p 3<br />

[1,0,0]<br />

t 1<br />

[0,1,1]<br />

t 3<br />

[1,1,0]<br />

Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 137<br />

© J.-D. Decotignie, 2007<br />

Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 138<br />

© J.-D. Decotignie, 2007<br />

Analyis by reachability tree<br />

Matrix analysis<br />

The tree is always finite<br />

The tree permits to check the following properties<br />

Not bounded if there exsists M1>M<br />

Conservative if the number of tokens is constant<br />

L1-Live is each transitions appears at least once in the tree<br />

Reversibility <strong>and</strong> home state<br />

Complex to use<br />

Uses I <strong>and</strong> O matrices<br />

Look for a non trivial solution to<br />

| O-I |.x T =0 avec x= | x 1 , ...., x i , ...., x N | (1)<br />

Let M et M 1 be two successive markings<br />

M 1 = M + O[t j ] – I[t j ] after firing t j (2)<br />

Let ρ = | ρ 1 , ...., ρ i , ...., ρ N | be a solution of (1)<br />

Let multiply each term of (2) by ρ i <strong>and</strong> sum up on i<br />

N<br />

N<br />

N<br />

∑m<br />

pi<br />

i = ∑ im<br />

pi<br />

+ ∑ i O t j pi<br />

− I t j pi<br />

i=<br />

1 1 ρ ρ ρ , ,<br />

i=<br />

1 i=<br />

1<br />

( ) ( ) [ ( ) ( )]<br />

Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 139<br />

© J.-D. Decotignie, 2007<br />

Real-Time Programming <strong>GRAFCET</strong> <strong>and</strong> <strong>Petri</strong> nets 140<br />

© J.-D. Decotignie, 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!