文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > An extension of the liveness theory for concurrent sequential processes competing for share
侵权投诉

An extension of the liveness theory for concurrent sequential processes competing for share

The design of concurrent systems has to deal with the satisfaction of conditions of good behavior. In this work the way to model and analyze concurrent systems is using a subclass of Petri nets that is an extension of a previous class studied for the same

policy can be obtained restricting the access to undesired states. This constraints could be obtained by analyzing every deadlock separately, via the adition of control places. This method has got a trouble: the addition of places modi es the net structure, and the new model obtained can have new problems (that is, the new places can add new undesired states). It is not necessary to control every siphon in the net. If a minimal siphon is the support of a pinvariant, it can not became insu ciently marked because we have choosen a good initial marking. As a consequence of this we can state that the only problematic siphons are the minimal siphons that are not the support of any p-semi ow.

End

of minimal siphons of the net Naux g P= fSet of minimal p-semi ows of the net Naux g SD= S n (P SC ) End Do

S= fSet

Let S be a siphon. The control place can be computed as follows: for every circuit in the net that uses resources that belong to the siphon, there is an arc from the control place to the rst transition in the circuit that takes tokens from the places representing resources of the siphon. For every circuit in the net that has places that use resources belonging to the siphon, there is an arc that begins in the last transition of the circuit that takes tokens from a place representing resources of the siphon.

How to Compute the Control Places? De nition 3.1 Let hN; M0i be a marked W S 3P SR.

Now it must be shown whether this algorithm nishes or not. We can state that this algorithm nishes because the marking imposed to the control places limits the number of processes that can ow in the problematic areas to the minimun, and so it cuts some reachable markings in every step. As the initial reachabi

lity graph is nite and the adition of places cut this graph, the algorithm nishes.

4 CONCLUSIONS AND FUTURE WORK Main contributions in this paper are: the notion of insu ciently marked siphon for generalized Petri nets; a characterization of liveness problem for the W S 3 P SR subclass of Petri net models; and an iterative algorithm for eliminating both partial and global deadlock problems in the design phase. Further work in this point must be done, trying to nd better control places and better markings. We are also interested in improve the class relaxing restrictions to deal with more problems. The advantage of our approach is that the control of the model is made by the adition of places and arcs, and moreover, that the obtained controlled model belongs to the same class that the original model.

Now it is necessary to provide an initial marking for these new places. In this work we are going to propose one that is very restrictive (in fact this marking sequentializes the ow in the siphon), and the work to be done is to improve this initial marking. That proposed initial marking is one token in each one of the control places. The way to implement this policy is the following algorithm. Initialize S=; (Minimal siphons of the net) SD=; (Problematic siphons) SC=; (Controlled siphons) P=; (p-invariants) Naux= N; Caux the incidence matrix Begin S= fSet of minimal siphons of the net Nauxg P= fSet of minimal p-semi ows of the net Nauxg SD= S n (P SC ) While SD 6=; Do For Every s 2 S Do Compute the control place The initial marking for this place is one, as stated above Naux= Naux p SC= SC s End For

5 REFERENCES 1] F. Commoner. Deadlocks in Petri nets. Applied Data Research, 1972. 2] J. Ezpeleta. Analisis y S ntesis de Modelos Libres de Bloqueos para Sistemas Concurrentes. PhD thesis, Escuela Superior de Ingenieros Industriales. Universidad de Zaragoza, Zaragoza (Spain), June 1993. In Spanish. 3] J. Ezpeleta, J.M. Colom, and J. Mart nez. A Petri net based deadlock prevention policy for exible manufacturing systems. IEEE Transactions on Robotics and Automation, 11(2), April 1995. 4] J. Ezpeleta and J. Mart nez. Synthesis of live models for a class of FMS. In Proc. of the 1993 IEEE Int. Conf. on Robotics and Automation, Atlanta, USA, May 1993. 5] T. Murata. Petri nets: Properties, analysis and applications. Proceedings of the IEEE, 77(4):541{ 580, April 1989. 6] C.A. Petri. Kommunikation mit Automaten. PhD dissertation, Inst. f. Instr. Math., RheinischWestf, Bonn, 1962.

Algorithm

上一页第6页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email