10.01.2013 Views

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

ComputerAided_Design_Engineering_amp_Manufactur.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

indicating the preconditions and postconditions of the event. The holding of the condition or a raw<br />

material in a place is indicated by a token (represented by a dot) in the place. The system status is<br />

represented by the holding of a pattern of tokens in places, which is called a marking.<br />

Definition:<br />

Let<br />

then N � ( P,<br />

T,<br />

I,<br />

O,<br />

M0)<br />

is an ordinary marked Petri Net (OPN).<br />

In this definition, pi ( 1 � i� a)<br />

is called a place, ti ( 1 � i� b)<br />

a transition, I an input function<br />

defining the set of directed arcs from P to T,<br />

O an output function defining the set of directed arcs from<br />

T to P,<br />

and M0<br />

an initial marking whose ith<br />

component represents the number of tokens in place pi.<br />

Note the functional values of both � and O are restricted to 0 and 1. If other positive integer values are<br />

allowed, then the N is a general Petri net (GPN).<br />

Definition:<br />

The firing rules are<br />

• A transition t � T is enabled if and only if the marking at p,<br />

m(<br />

p)<br />

� 0, � p � P such that I ( p,<br />

t)<br />

� 1;<br />

• An enabled transition t fires at marking M (with components m(<br />

p),<br />

yielding the new marking M�<br />

(with components m�(<br />

p),<br />

The Marking M�<br />

is said to be reachable from M.<br />

Given N and its initial marking<br />

R(<br />

N,<br />

) (abbreviated as R)<br />

is the set of all markings reachable from .<br />

M<br />

0<br />

P � { p1,p2,…, pa},T<br />

� { t1, t2,…tb}<br />

, with P � T � � and P � T � �<br />

I: P�T→{ 0, 1}<br />

O: T�P→{ 0, 1}<br />

M0: P → { 0, 1, 2,…}<br />

m�( p)<br />

� m( p)<br />

� O( p, t)<br />

� I( p, t)<br />

, �p�P.<br />

M<br />

0<br />

M0,<br />

the reachability set<br />

Definition:<br />

A marked Petri net N is B-bounded if and only if m(p) � B, � p � P and M � R (N, M0) where B is a positive integer. If B � 1, N is safe. N is live if and only if � t � T, and � M � R (N, M0), � a firing sequence � of transition to lead to a marking that enables t. N is reversible if and only if<br />

M0 � R(N, M), � M � R(N, M0). N is well-behaved if N is live, bounded, and reversible.<br />

Ms � Mc( A)<br />

� Md( B)<br />

is defined as: � p � A, if ¬ (p � B), then ms( p)<br />

� mc( p),<br />

else ms( p)<br />

�<br />

mc( p)<br />

� md( p)<br />

. The operation � is defined similarly. The synchronic distance between t1 and t2 in N<br />

is defined as d12 �Max {�( t1) � �( t2), � � L( N, M)},<br />

where �(t) is the number of times t appears<br />

in � and L (N, M) is the set of all firing sequences from M. d (W, V) is the maximum number of firings<br />

of transitions in set W without any transition firing in set V.<br />

The synchronic distance is a concept closely related to the degree of mutual dependence between two<br />

events in a condition/events system. 49<br />

Definition: A node x in N�(P, T, I, O, M0) is either a p � P or a t � T. The post-set of node x is x • � {y | �<br />

an arc (x, y)} and its pre-set • x � {y | � an arc ( y, x)}<br />

. A directed elementary path (DEP) in N is a sequence<br />

of nodes: [ n1n 2…n k]<br />

, k � 1 , such that ni � • ni�1 1� i � k if k � 1, and ni � nj implies that i � j,<br />

�1 � i, j�k. An elementary cycle in N is [ n1n 2…n k]<br />

, k � 1 such that ni � nj , 1 � i�j�k, implies<br />

that i � 1 and j � k.<br />

Definition: An A-path is a DEP whose places initially have no tokens.<br />

Most new path generations are A-paths. When the new path generation (from a transition to a<br />

transition) forms a new circle, then we need to add tokens to the new A-path.<br />

Definition: A basic process is defined as elementary cycle [ n1n 2…n k]<br />

in a PN where n1 is a place<br />

holding tokens.<br />

The synthesis always starts from a basic process that is well-behaved. We add new paths in such a<br />

fashion that the remains well-behaved.<br />

N 2

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

Saved successfully!

Ooh no, something went wrong!