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.

Although the ex<strong>amp</strong>le in Figure 8.13 synchronizes only two mutually exclusive transitions, the same<br />

idea can apply to a set of more than two mutually exclusive transitions. As a result of synchronization,<br />

they are sequentialized; i.e., their mutual synchronic distance changes from � to one. For the net shown<br />

in Figure 8.14, this set contains three mutually exclusive transitions.<br />

Summarizing the above discussion, we have the following synchronization rule: If a TT-path ( �1) is<br />

generated from tg to tj , tg tj and tj is a control transition, then generate a series of TT-paths ( �2, �3,…) from t�g to t�j such that all above �s are in a cycle and each t�j is also a control transition with<br />

the same decision place for tg and tj .<br />

Note that tg to t�g need not be a control transition. On the other hand, if t�j is not a control transition,<br />

the token in the decision place may flow to the input place of this control transition, not matching to the<br />

token in the cycle and hence resulting in a deadlock.<br />

This rule must be checked concurrently along with other TT rules. For instance, after the above cycle<br />

(with a token) generation, the following TT-path generation may become a backward generation; then<br />

Rule TT.2 must be applied to insert a token in this TT-path.<br />

The correctness of this rule can be proved by showing that it satisfies the two guidelines. We omit the<br />

proof here because it is not the main purpose of this chapter. Similar comments apply to the rule described<br />

in the next subsection.<br />

Arc-Ratio Rules for General Petri Nets<br />

The synthesis rules of the knitting technique for ordinary PN should be modified for GPN in order to<br />

meet the guidelines. This set of rules is referred to as connection rules since the absence of any may<br />

cause some guidelines to be violated. The weight of arcs in the PN must satisfy some constraints. Consider<br />

the guideline of no-disturbance, i.e., if the NP is a TT-path from to , then the firing ratio between<br />

to of NP must equal that in N 1 . Otherwise, the firing behavior of in N1 �<br />

is disturbed. Similarly,<br />

if the NP is a PP-path from to , then the marking ratio between and of the NP must equal<br />

that in . Otherwise, the marking behavior of in is disturbed. Similar but slightly different<br />

conditions apply if the NP is a TP-path or a PT-path.<br />

Now consider the second guideline of well-behaved NP. Ex<strong>amp</strong>les are shown in Figure 8.16(a) and 8.16(b)<br />

where the second guideline is violated; both NPs are not well-behaved. These additional rules are called the<br />

arc-ratio Rules.<br />

w<br />

tg tj tg tj tj pg pj pg pj N 1<br />

tj N 1<br />

Arc-Ratio Rules<br />

Again, one can develop the arc-ratio rules based on the two guidelines.<br />

The following definitions of least ratios consider a pair of nodes, transitions, or places, and all the<br />

paths between them in isolation (i.e., all nodes and arcs not in these paths are deleted).<br />

f a<br />

Definition: The least firing ratio between ti and tk , Rik � -- , where a is the least firing number of t<br />

b<br />

i<br />

for tk to fire b times with no tokens left in paths between ti and tk .<br />

m a<br />

Definition: The least marking ratio between pi and pk, Rik � -- , where a is a least number of tokens in<br />

b<br />

pi for pk to get b tokens by firing all transitions between pi and pk with no tokens left in paths between<br />

pi and pk .<br />

mf a<br />

Definition: The least marking-firing ratio between pi and tk, Rik � -- , where a is the least number of<br />

b<br />

tokens in pi such that tk fires b times with no tokens left in paths between pi and tk .<br />

fm a<br />

Definition: The least firing-marking ratio between ti and pk Rik � -- , where a is the least firing number<br />

b<br />

of ti such that pk can get b tokens by firing transitions between ti and pk, with no tokens left in paths<br />

between and .<br />

t i<br />

p k

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

Saved successfully!

Ooh no, something went wrong!