Documente Academic
Documente Profesional
Documente Cultură
shiel2lO@ocit.edu.tw
analyze the control policies generated by applying the two
Abstract
Although there are a few results regarding
sufficient conditions to the same class of assembly processes.
deadlock avoidance problem for non-sequential producrion
Our analysis shows that the synthesis method proposed in [4] is
processer in literature, there is a lack of camparicon for the
less conservative than that proposed in [8]-[9] for assembly
existing results. The goal of this paper is to compare hw
processes.
existing results concerning deadlock awdance in assembly
Organization of the remainder of this paper is as follows.
nianufaccnrring system, This paper considers a subclass of
Section I1 reviews the CAPN model. Section 111 presents
the existing Controlled Assembly Petri Nets (CAPN) with
the liveness condition for CAPN. Section IV compares with
each operation requiring only one unit of arbitrary number of
an existing result. Section V concludes this paper.
Wpes
.. of- resources called WW. Analysis shows that the
svnthesis method .
Drouosed
in our previous work is less
.
conservative than that proposed in an existing result for the
class of CAPNU.
2 CAPNModel
11
Introduction
4,
m20 ), where
we assume that m l o ( p )= mzo( p ) V p E 4 nP 2 .
( P , ,T, ,1 1 , 0 1mlo
, )and Gz = ( P 2 T 2 ,I,,
I
The operationI1
Authorized licensed use limited to: WASEDA UNIVERSITY. Downloaded on May 8, 2009 at 22:24 from IEEE Xplore. Restrictions apply.
;if;+1
where m j o ( p )= 0 Vp E Pj
process under m j o .
1;
P>
1;
T f*
p,
t5
Figure 2
c,k =
P,(O)t;(I)P:(1)t;(2)P:(2)...
p f ( n l -l)t;(n,")p,(O) . To model synchronization of
operations, we assume two distinct resource activity
circuits C> and C? may have multiple common transitions
hut have one and only one common place p r ( 0 ) , the idle
state place. The type- r resource suhnet GR, is GR, =
(e,
J , and a set of
GR,
jeJ
G J j = (P,T,I , 0,mo ) .
Figure 3
Defmition 2 . 4 A CAPN is defined as an eight tuple G,=
(P,Pc,T,,T,,I,O,mo,u)
, abbreviated as Gc(mo,u),
where mo is the initial marking of G , and mo E !Mo(G,),
U,(C,) denotes the set of initial markings of G,, andu is
a control policy defined based on control action ofG, as
follows.
2.5: Mo(G,)
~ { mI m ( p ) = O
Defmition
V p E P-Po and m(p)> 0 V p E P o } , where Po denotes the
set of all idle state places of all types of resources of G, .
We will abhreviateM,(G,) asMOwhenever it is clear from
the context. U,(G,) denotes the set of initial markings
ofGCunderwhich all resources are in idle state.
Delinition 2.6 A conhul action a is a vector in Z'" that
determines how many times each transition in T, may be fired
simdtaneously under a reachable marking m of a CAPN G, .
3459
Authorized licensed use limited to: WASEDA UNIVERSITY. Downloaded on May 8, 2009 at 22:24 from IEEE Xplore. Restrictions apply.
UEU
.
transitions precedent tot is denoted as +t = { t ' / t ' * s ' f }For
the type-1 job subnet shown in Figure I,
f 4 = ( f 3 ) and +tS = { t 2 , f 4 } .
Defmition 3.4: Transitions in the subassembly processes of
a tmnsitiont
The set (t) of all transitions in the subassembly processes
rj
+f2 = ( f l )
--t
1:
For
the
CAF"
in
Example
M i ( G , ) c M o ( G , ) . M,'(G,)is abbreviated as M i w h e n it
is clear from the context. The set of resources in idle state
a n d t = t S . Thens(q(fS))= f ; t ; t l f 2 f j t 4 f s .
. Suppose
3,
TI (ts 1=
TI = {f[,tg ,f1,t2,f3~t4.fs.f(l
{t;,t;,r,,t2,t3,t,,t,f
Fig.
s = t;t;tlt2t3t4tst[
3460
Authorized licensed use limited to: WASEDA UNIVERSITY. Downloaded on May 8, 2009 at 22:24 from IEEE Xplore. Restrictions apply.
End For
End For
s, t S J
set T, (t) of transitions, (2) t is the last transition ins , and (3)
there does not exist any enumeration
S'
A t A U {t)
End For
of the set T, ( t ) of
Some
t'ETj(tk)-{tkl
{tit E Tj \ A and't c A
st2 st,
...St,.)
sr,
st,*,"' SIN
CJ andt'@ sl(- t i )
Let
Si
st
t St
+52
St
we-j Process. An
transition f:Of
for
G,
can
be
N = N , @N, @N ,
calculated
bound Of Mm
as
follows.
e...@ N'IJI .
for
t4
, sq
= t;t3t4
s,, = t;tlt2t;t3t4 .
As R((t2 1) n R(Ti(t4)) t.CJ , the firing sequence found to
initializes s , ~ with s , ~ = sl,
Fori E {l,2,..,,N)
Fork E (i+ l,i+ 2,,.., A'}
For PE T,(tk) \ {fk}
IfR({fi}) nR({t'))
Go to Step 1
Else
Exit
End If
To calculate an upper bound of MRR for G, with a set J of
processes, we define the following operator.
Definition 3.7: Operator@ takes the larger of two vectors
element by element.
Let s j denote the firing sequence constructed by applying
If E # CJ Then
If R((til)nR({r'))fCJ for
EA
,...,n}=T,whereTdenotesthesetoftransitionsin
{fili~l,Z,,3
the assembly process. The authors also deiined a system is
reversible if and only if for eachm E R(mo) , mois reachable
fromm . In 181 and [9], the authors stated that to distinguish the
least restrictive model to which the deadlock avoidance problem
can be addressed and to develop the least restrictive deadlock
avoidance policy, it's necessary to find algorithms to solve the
following two problems:
(1)RedimbiIity of Assembly Rocess (RAP): Given a
system PT ,is it &ble?
End If
End For
3461
Authorized licensed use limited to: WASEDA UNIVERSITY. Downloaded on May 8, 2009 at 22:24 from IEEE Xplore. Restrictions apply.
N,( r )< v ( r )V r E R .
Pro03 We prove by induction on the levell, of an assembly
&ansition t , l't152 , in the directed paths of GJ, ,
where 1, = max len(rr) , Ien(rr) =
(1')
We first prove it holds for the case 1, = I . Lett denote the only
transition
in G J j with l'tIL2
, where
tET,
Let
+r = ( t , , f 2 , t3 ,___,
t N} , where N L 2 . Step 1 of the Pair-wise
Interchange
s,
, ...s,,.
s,, sIit,
Algorithm
sets
s,
=
s,,
&*
... s,*-,sIk s,*+<... s,,, . Lets denote the firing
of
. Let s,-
V(T)
= q, and Theorem 1
type- r resources.
Based on similar reasoning, fning
s , ~s, ... st,-, s , requires
~
no greater than q1units
s,,,
of type-r resources. Firings,- after s, quires at most q1units
of type-r resources as all with the exception of at most one unit
wig held) of type-r resources will be released alter s,t is fied.
Therefore it holds forl =I.
To prove by induction, assume that it holds forl, =k. We have to
prove it holds for I, =k+l. Let t be a transition
3462
Authorized licensed use limited to: WASEDA UNIVERSITY. Downloaded on May 8, 2009 at 22:24 from IEEE Xplore. Restrictions apply.
... s,,-,
with t{
,,+,... s,,.]
s,, s
Let
s=
s,
,,+,... sly
s , ~s
s,.
s,-
. AU
st,
sr,
we need to
s,
requires at
*-
N s r 2 ( r ) + , . . + N s , J r )Cv,(r),itholdsforl,=k+l.
5
4
QE.D.
5. Conclusion
In this paper, we compare two existing liveness
conditions for the subclass of CAPNs with each operation
requiring only one unit of arbitrary numher of types of resources
called CAPNU. Analysis shows that our condition is less
conservative than the existing result for CAFNU.
References
[ 11 J. Ezpeleta and L. Recalde, A deadlock avoidance
approach for non-sequential resource allocation systems,
Proceedings of the IEEE Int. ConJ on Syst., Man, Cybern.,
Tunisia, Oct. 2002.
3463
Authorized licensed use limited to: WASEDA UNIVERSITY. Downloaded on May 8, 2009 at 22:24 from IEEE Xplore. Restrictions apply.