On Iterative Liveness-enforcement for a Class of Generalized Petri Nets YiFan Hou, Ding Liu, MengChu Zhou CASE 2012 Aug. 20-24, 2012.

Slides:



Advertisements
Similar presentations
Auto Tuning Neuron to Sliding Mode Control Application of an Auto-Tuning Neuron to Sliding Mode Control Wei-Der Chang, Rey-Chue Hwang, and Jer-Guang Hsieh.
Advertisements

Eager Markov Chains Parosh Aziz Abdulla Noomene Ben Henda Richard Mayr Sven Sandberg TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
On 1-soundness and Soundness of Workflow Nets Lu Ping, Hu Hao and Lü Jian Department of Computer Science Nanjing University
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
Deadlock Prevention, Avoidance, and Detection
Lecture 7: Deadlock     Necessary Conditions for Deadlock     Deadlock Prevention - Havender's Linear Ordering Deadlock Avoidance Deadlock Detection &
26 September 2003U. Buy -- SEES 2003 Sidestepping verification complexity with supervisory control Ugo Buy Department of Computer Science Houshang Darabi.
National Yunlin University of Science & Technology Graduate School of Industrial Engineering & Management A Petri net Approach for Dynamic Control Reconfiguration.
Optimal redundancy allocation for information technology disaster recovery in the network economy Benjamin B.M. Shao IEEE Transaction on Dependable and.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
1 A class of Generalized Stochastic Petri Nets for the performance Evaluation of Mulitprocessor Systems By M. Almone, G. Conte Presented by Yinglei Song.
IE 469 Manufacturing Systems
Starvation and Deadlock
1 Adaptive resource management with dynamic reallocation for layered multimedia on wireless mobile communication net work Date : 2005/06/07 Student : Jia-Hao.
Banker’s Algorithm Implementation in CPN Tools Michal Žarnay Department of Transportation Networks University of Žilina, Slovakia.
Deadlocks. 2 System Model There are non-shared computer resources –Maybe more than one instance –Printers, Semaphores, Tape drives, CPU Processes need.
The Banker’s Algorithm for A Single Resource
CP — Concurrent Programming 12. Petri Nets Prof. O. Nierstrasz Wintersemester 2005 / 2006.
1 Token Bucket Based CAC and Packet Scheduling for IEEE Broadband Wireless Access Networks Chi-Hung Chiang
4/25/08Prof. Hilfinger CS164 Lecture 371 Global Optimization Lecture 37 (From notes by R. Bodik & G. Necula)
1 A Shifting Strategy for Dynamic Channel Assignment under Spatially Varying Demand Harish Rathi Advisors: Prof. Karen Daniels, Prof. Kavitha Chandra Center.
12/07/2007Jiacun Wang1 SE-561 Math Foundations Petri Nets - II Dr. Jiacun Wang Department of Software Engineering Monmouth University.
A Scalable Network Resource Allocation Mechanism With Bounded Efficiency Loss IEEE Journal on Selected Areas in Communications, 2006 Johari, R., Tsitsiklis,
Heterochronous Dataflow in Ptolemy II Brian K. Vogel EE249 Project Presentation, Dec. 4, 1999.
1 Formal Models for Transactions: Zero Safe Nets Roberto Bruni Dipartimento di Informatica Università di Pisa Models and Languages for Coordination and.
Real-Time Synchronised Petri Nets Giovanna Di Marzo Serugendo Dino Mandrioli, Didier Buchs, Nicolas Guelfi University of Geneva, Switzerland PN’02 / 24th.
1 Token-ordered LRU an Effective Policy to Alleviate Thrashing Presented by Xuechen Zhang, Pei Yan ECE7995 Presentation.
Petri Nets An Overview IE 680 Presentation April 30, 2007 Renata Kopach- Konrad.
By: Gang Zhou Computer Science Department University of Virginia 1 A Game-Theoretic Framework for Congestion Control in General Topology Networks SYS793.
1 A Petri Net Siphon Based Solution to Protocol-level Service Composition Mismatches Pengcheng Xiong 1, Mengchu Zhou 2 and Calton Pu 1 1 College of Computing,
Jorge Muñoz-Gama Universitat Politècnica de Catalunya (Barcelona, Spain) Algorithms for Process Conformance and Process Refinement.
Constrained Evolutionary Optimization Yong Wang Associate Professor, PhD School of Information Science and Engineering, Central South University
Soundness problem for Resource-Constrained Workflow nets revisited Natalia Sidorova and Christian Stahl.
1 [3] Jorge Martinez-Bauset, David Garcia-Roger, M a Jose Domenech- Benlloch and Vicent Pla, “ Maximizing the capacity of mobile cellular networks with.
Practical Dynamic Programming in Ljungqvist – Sargent (2004) Presented by Edson Silveira Sobrinho for Dynamic Macro class University of Houston Economics.
Admission Control and Scheduling for QoS Guarantees for Variable-Bit-Rate Applications on Wireless Channels I-Hong Hou P.R. Kumar University of Illinois,
Interaction of Overlay Networks: Properties and Implications Joe W.J. Jiang Dah-Ming Chiu John C.S. Lui The Chinese University of Hong Kong.
Optimal Content Delivery with Network Coding Derek Leong, Tracey Ho California Institute of Technology Rebecca Cathey BAE Systems CISS 2009 March 19, 2009.
Chapter 10 Analysis and Design Discipline. 2 Purpose The purpose is to translate the requirements into a specification that describes how to implement.
Re’Arch 2008 Policing Freedom… to use the Internet Resource Pool Arnaud.Jacquet, Bob.Briscoe, Toby.Moncaster December
TECHNION – Israel Institute of Technology Department of Electrical Engineering The Computer Network Laboratory Crankback Prediction in ATM According to.
Operating Systems (OS)
Control and Deadlock Recovery of Timed Petri Nets Using Observers Alessandro Giua DIEE – Department of Electrical and Electronic Engineering University.
MobiQuitous 2007 Towards Scalable and Robust Service Discovery in Ubiquitous Computing Environments via Multi-hop Clustering Wei Gao.
Modelling by Petri nets
Research Unit in Networking - University of Liège A Distributed Algorithm for Weighted Max-Min Fairness in MPLS Networks Fabian Skivée
1 Deadlock. 2 Concurrency Issues Past lectures:  Problem: Safely coordinate access to shared resource  Solutions:  Use semaphores, monitors, locks,
Stochastic greedy local search Chapter 7 ICS-275 Spring 2009.
CS6502 Operating Systems - Dr. J. Garrido Deadlock – Part 2 (Lecture 7a) CS5002 Operating Systems Dr. Jose M. Garrido.
Xiao Liu 1, Yun Yang 1, Jinjun Chen 1, Qing Wang 2, and Mingshu Li 2 1 Centre for Complex Software Systems and Services Swinburne University of Technology.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
Making (good) Presentations and Writing (good) Technical Papers By Pakpoom Hoyingcharoen (26/1/2009)
Algorithms For Solving History Sensitive Cascade in Diffusion Networks Research Proposal Georgi Smilyanov, Maksim Tsikhanovich Advisor Dr Yu Zhang Trinity.
Doc.: IEEE /2200r2 Submission July 2007 Sandesh Goel, Marvell et alSlide 1 Route Metric Proposal Date: Authors:
Route Metric Proposal Date: Authors: July 2007 Month Year
Near-Optimal Spectrum Allocation for Cognitive Radios: A Frequency-Time Auction Perspective Xinyu Wang Department of Electronic Engineering Shanghai.
UNIT –V SUPPLY CHAIN MANAGEMENT
Presented by: Rohit Rangera
Virtual Memory Networks and Communication Department.
Computation of Minimal Siphons for a Class of Generalized Petri Nets
CAP 4800/CAP 5805: Computer Simulation Concepts
Network Optimization Research Laboratory
AVOIDANCE OF SYSTEM DEADLOCKS IN REAL TIME CONTROL OF FLEXIBLE MANUFACTURING SYSTEMS By Richard A. Wysk.
Nanjing University of Aeronautics and Astronautics
Chapter 7: Deadlocks.
CAP 4800/CAP 5805: Computer Simulation Concepts
Route Metric Proposal Date: Authors: July 2007 Month Year
Survey on Coverage Problems in Wireless Sensor Networks - 2
Towards Predictable Datacenter Networks
Rong Ge, Duke University
Presentation transcript:

On Iterative Liveness-enforcement for a Class of Generalized Petri Nets YiFan Hou, Ding Liu, MengChu Zhou CASE 2012 Aug. 20-24, 2012

Outline Background and Motivation Intrinsically Live Structure (ILS) Liveness and Ratio-enforcing Supervisor (LRS) MIP & LRS Conclusion and Future Work

Outline Background and Motivation Intrinsically Live Structure (ILS) Liveness and Ratio-enforcing Supervisor (LRS) MIP & LRS Conclusion and Future Work

Background and Motivation DEADLOCK Two oxen and a single-log bridge (picture from Internet)

Background and Motivation

Background and Motivation siphons do not carry any weight information; the siphon-based method originally developed for ordinary Petri nets mostly cannot be directly used in generalized ones; the siphon-based method originally developed for ordinary Petri nets yield a controlled system with very limited reachable states; a new kind of structural objects tied with deadlock-freeness and liveness? a new policy for deadlock-control / liveness-enforcement?

Outline Background and Motivation Intrinsically Live Structure (ILS) Liveness and Ratio-enforcing Supervisor (LRS) MIP & LRS Conclusion and Future Work

Intrinsically Live Structure (ILS) (b) a structural object carrying weight information; a structural intuitively reflecting circular waits; a numerical relationship between initial marking and arc weights;

Intrinsically Live Structure (ILS) A WSDC is a subnet consisting of places, transitions, and their arcs that form a simple circuit of the digraph; The competition path t2r2t3; The upstream activity place pr2up and downstream one pr2down compete against each other; The numerical relationship between the arc weights of and the initial number of tokens in the resource place;

Intrinsically Live Structure (ILS) A revised dining philosopher problem modeled by WS3PR; A WSDC t2r1t14t5t11r4t8r3t5r2t2 expresses the circular wait relation among all resource places;

Intrinsically Live Structure (ILS) A competition path is a link of the whole chain of resource places; Break the chain of circular wait by breaking a link of it; The basic idea is to ensure that after a prioritized and maximal acquirement of tokens in the resource place by the upstream activity place, the remaining ones are still adequate for the downstream one to complete one operation; Implemented by the numerical relationship between arc weights and initial markings;

Intrinsically Live Structure (ILS) A weight matrix is used to deal with the situation that multiple competition path with the same resource places;

Intrinsically Live Structure (ILS) Main results - Restriction 1;

Intrinsically Live Structure (ILS) Main results - Theorems;

Intrinsically Live Structure (ILS) A Live WS3PR with all WSDC satisfying Restriction 1;

Outline Background and Motivation Intrinsically Live Structure (ILS) Liveness and Ratio-enforcing Supervisor (LRS) MIP & LRS Conclusion and Future Work

Liveness and Ratio-enforcing Supervisor (LRS) Basic idea: Impose a well-designed supervisor with intrinsically live structures to break the chain of circular waits; Consider the resource usage ratios of upstream and downstream activity places and the relation between them;

Liveness and Ratio-enforcing Supervisor (LRS) Resource usage ratio (RU-ratio): an admissible range of RU-ratios

Liveness and Ratio-enforcing Supervisor (LRS) All RU-ratios

Liveness and Ratio-enforcing Supervisor (LRS) Rephrase Restriction 1 from the pespective of RU-ratio; Make sure the structures of LRS monitors satisfy Restriction 2;

Liveness and Ratio-enforcing Supervisor (LRS) Design a control path satisfying Restriction 2; Impose the control path to a competition one; Make a competition path to be a puppet;

Liveness and Ratio-enforcing Supervisor (LRS) Designed a control path according to the control specification; Impose the control path to the competition one virtually replacing its role in the chain; Take over the token allocation of the resource place by the numerical relationship between arc weights and initial markings; Design the control parameters of the competition path by setting a minimal RU-ratio of downstream activity place and solving the following mathematical programming problem;

Liveness and Ratio-enforcing Supervisor (LRS)

Liveness and Ratio-enforcing Supervisor (LRS) The differences between LRS and siphon-monitor-based methods: Basic idea; Structural object; Supervisor’s size; RU-ratios and parameters;

Liveness and Ratio-enforcing Supervisor (LRS) The advantages of LRS: (1) The size of an LRS; (2) No new problematic structures; (3) Adjusting control parameters; (4) Intuitive and easy to understand; (5) A precise usage and robustness of resources; The limitation of LRS: The existence is decided by the initial marking of a plant model;

Outline Background and Motivation Intrinsically Live Structure (ILS) Liveness and Ratio-enforcing Supervisor (LRS) MIP & LRS Conclusion and Future Work

MIP & LRS Avoid enumerate all WSDCs in a plant net modeled with WS3PR; Only find the problematic structure;

MIP & LRS Find a maximal insufficiently marked siphon by solving MIP problem 2; Select a resource place from the maximal insufficiently marked siphon; Design an LRS monitor for the resource place;

MIP & LRS Process idle places: 2 Activity places: 11 Resource places: 6 Transitions: 14 3,334,653 states Including 30 dead ones

MIP & LRS Iteration 1: Find the maximal insufficiently marked siphon by MIP; Control resource place p19 by v1; 2,663,888 states Including 6 dead ones

MIP & LRS Iteration 2: Find the maximal insufficiently marked siphon by MIP; Control resource place p15 by v2; 2,613,824 states Including 1 dead ones

MIP & LRS Iteration 3: Find the maximal insufficiently marked siphon by MIP; Control resource place p17 by v3; 2,500,037 states No dead ones LIVE

MIP & LRS

Outline Background and Motivation Intrinsically Live Structure (ILS) Liveness and Ratio-enforcing Supervisor (LRS) MIP & LRS Conclusion and Future Work

Conclusion and Future Work (1) Avoid the enumeration of all WSDC; (2) All strict minimal siphons are minimally controlled; (3) The number of iterations is bounded by that of resource places; Future work: How to optimally select a shared resource place given a maximal insufficiently marked siphon; How to extend this method to more general nets than WS3PR;

Thanks for your attention!

Related Publications [1] D. Liu, Z. W. Li, and M. C. Zhou, “Liveness of an Extended S3PR,” Automatica, vol. 46, no. 6, pp. 1008 –1018, 2010. [2] D. Liu, Z.W. Li, andM. C. Zhou, “Erratum to “Liveness of an Extended S3PR [Automatica 46 (2010) 1008-1018]”,” Automatica, vol. 48, no. 5, pp. 1003 – 1004, 2011. [3] D. Liu, Z. W. Li, and M. C. Zhou, “Hybrid Liveness-enforcing Policy for Generalized Petri Net Models of Flexible Manufacturing Systems,” accepted by IEEE Transactions on Systems, Man, and Cybernetics, Part A, 2012. [4] D. Liu, Z. W. Li, and M. C. Zhou, “A Parameterized Liveness and Ratio-Enforcing Supervisor for a Class of Generalized Petri Nets,” submitted to Automatica, 2012. [5] D. Liu, Z. W. Li, Y. F. Hou, and M. C. Zhou, “On Divide-and-Conquer Liveness enforcing strategy for Flexible Manufacturing Systems Modeled by a Class of Generalized Petri Nets,” Technical report, Xidian University, 2012. [6] Y. F. Hou, D. Liu, Z. W. Li, and M. Zhao, “Deadlock Prevention Using Divide-and-Conquer Strategy for WS3PR,“in Proceedings of IEEE ICMA 2010, pp. 1635 – 1640, 2010. [7] D. Liu, M. Zhao, H. S. Hu, and A. R. Wang, “Hybrid Liveness-enforcing Method for Petri Net Models of Flexible Manufacturing Systems,“ in Proceedings of IEEE ICMA 2010, pp. 1813 – 1818, 2010. [8] M. Zhao, Yifan Hou, and Ding Liu, “Liveness-enforcing Supervisors Synthesis for a class of Generalized Petri Nets based on Two-stage Deadlock Control and Mathematical Programming,“ International Journal of Control, vol. 83, no. 10, pp. 2053 – 2066, 2010.