Optimal Priority-Free Conditionally-Preemptive Real-Time Scheduling of Periodic Tasks Based on DES Supervisory Control

This paper presents a general discrete-event system (DES)-based hard periodic real-time task model. Based on supervisory control theory (SCT), an optimal priority-free real-time scheduling technique is proposed to process all the tasks running in uniprocessor or multiprocessor real-time systems (RTS). The preemption relation in this paper generalizes priority-based preemption. First, regular languages are utilized to describe the processor behavior related to each task’s execution. Thereafter, the languages are represented by DES generators. Finally, the global processor behavior is generated as the synchronous product of these DES generators. By discarding the priorities, a novel preemption policy, namely conditional-preemption, is developed. Two sets of conditional-preemption specifications are developed, on the processor level and task level, respectively. Moreover, in order to control the system to be nonblocking and also limit the worst-case response time of the tasks, two corresponding sets of specifications are presented. After generating the global specification as the synchronous product, by implementing SCT the calculated supervisor can provide all the safe real-time execution sequences. The supervisor calculation can be sped up by a three-step algorithm. Finally, the real-time scheduling is implemented for real-world examples.

[1]  Miao Li,et al.  A Hyperheuristic Approach for Intercell Scheduling With Single Processing Machines and Batch Processing Machines , 2015, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[2]  Zhiwu Li,et al.  Decentralized Supervision of Petri Nets With a Coordinator , 2015, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[3]  Alessandro Giua,et al.  Design of Optimal Petri Net Controllers for Disjunctive Generalized Mutual Exclusion Constraints , 2015, IEEE Trans. Autom. Control..

[4]  MengChu Zhou,et al.  Modeling, Analysis and Control of Dual-Arm Cluster Tools With Residency Time Constraint and Activity Time Variation Based on Petri Nets , 2012, IEEE Transactions on Automation Science and Engineering.

[5]  Michael L. Dertouzos,et al.  Control Robotics: The Procedural Control of Physical Processes , 1974, IFIP Congress.

[6]  MengChu Zhou,et al.  Real-Time Scheduling of Single-Arm Cluster Tools Subject to Residency Time Constraints and Bounded Activity Time Variation , 2012, IEEE Transactions on Automation Science and Engineering.

[7]  周孟初 Synthesis of Monitor-based Liveness-Enforcing Supervisors for S3PR With ξ-Resources , 2015 .

[8]  P. Ramadge,et al.  Supervisory control of a class of discrete event processes , 1987 .

[9]  Robert I. Davis A review of fixed priority and EDF scheduling for hard real-time uniprocessor systems , 2014, SIGBED.

[10]  MengChu Zhou,et al.  A Stochastic Approach to Analysis of Energy-Aware DVS-Enabled Cloud Datacenters , 2015, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[11]  Sanjoy K. Baruah,et al.  The limited-preemption uniprocessor scheduling of sporadic task systems , 2005, 17th Euromicro Conference on Real-Time Systems (ECRTS'05).

[12]  Sanjoy K. Baruah,et al.  Algorithms and complexity concerning the preemptive scheduling of periodic, real-time tasks on one processor , 1990, Real-Time Systems.

[13]  Xi Wang,et al.  Dynamic Multiple-Period Reconfiguration of Real-Time Scheduling Based on Timed DES Supervisory Control , 2016, IEEE Transactions on Industrial Informatics.

[14]  Olfa Mosbahi,et al.  Reconfigurable Coordination of Distributed Discrete Event Control Systems , 2015, IEEE Transactions on Control Systems Technology.

[15]  Joseph Y.-T. Leung,et al.  On the complexity of fixed-priority scheduling of periodic, real-time tasks , 1982, Perform. Evaluation.

[16]  MengChu Zhou,et al.  Synthesis of Monitor-Based Liveness-Enforcing Supervisors for $\rm{S}^{3}$ PR With ${\boldsymbol{\xi }}$ -Resources , 2015, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[17]  MengChu Zhou,et al.  Dynamic Low-Power Reconfiguration of Real-Time Systems With Periodic and Probabilistic Tasks , 2015, IEEE Transactions on Automation Science and Engineering.

[18]  Laura Carnevali,et al.  Putting Preemptive Time Petri Nets to Work in a V-Model SW Life Cycle , 2011, IEEE Transactions on Software Engineering.

[19]  Rodney R. Howell,et al.  On Non-Preemptive Scheduling of Recurring Tasks Using Inserted Idle Times , 1995, Inf. Comput..

[20]  W. M. Wonham,et al.  The control of discrete event systems , 1989 .

[21]  Manas Saksena,et al.  Scheduling fixed-priority tasks with preemption threshold , 1999, Proceedings Sixth International Conference on Real-Time Computing Systems and Applications. RTCSA'99 (Cat. No.PR00306).

[22]  Giorgio C. Buttazzo,et al.  Limited Preemptive Scheduling for Real-Time Systems. A Survey , 2013, IEEE Transactions on Industrial Informatics.

[23]  Chung Laung Liu,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[24]  Peter C. Y. Chen,et al.  Real-time supervisory control of a processor for non-preemptive execution of periodic tasks , 1999 .

[25]  Shigemasa Takai Supervisory Control of Discrete Event Systems , 2014 .

[26]  Laura Carnevali,et al.  Compositional Verification for Hierarchical Scheduling of Real-Time Systems , 2013, IEEE Transactions on Software Engineering.

[27]  Omri Serlin,et al.  Multiprogramming for Hybrid Computation , 1899 .

[28]  Aloysius Ka-Lau Mok,et al.  Fundamental design problems of distributed systems for the hard-real-time environment , 1983 .

[29]  Laurent Nana,et al.  Cheddar: a flexible real time scheduling framework , 2004, SIGAda.

[30]  Kamel Barkaoui,et al.  New Petri Net Structure and Its Application to Optimal Supervisory Control: Interval Inhibitor Arcs , 2014, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[31]  J. Leung,et al.  A Note on Preemptive Scheduling of Periodic, Real-Time Tasks , 1980, Inf. Process. Lett..

[32]  Jian-Jia Chen,et al.  Energy-Efficient Scheduling in Nonpreemptive Systems With Real-Time Constraints , 2013, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[33]  Laura Carnevali,et al.  Combining UML-MARTE and Preemptive Time Petri Nets: An Industrial Case Study , 2013, IEEE Transactions on Industrial Informatics.

[34]  Alan Burns,et al.  Real Time Scheduling Theory: A Historical Perspective , 2004, Real-Time Systems.

[35]  Kiam Tian Seow,et al.  A Metric Temporal Logic Specification Interface for Real-Time Discrete-Event Control , 2014, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[36]  MengChu Zhou,et al.  Short-Term Scheduling of Crude-Oil Operations: Enhancement of Crude-Oil Operations Scheduling Using a Petri Net-Based Control-Theoretic Approach , 2015, IEEE Robotics & Automation Magazine.

[37]  MengChu Zhou,et al.  Resource-Oriented Petri Net for Deadlock Avoidance in Flexible Assembly Systems , 2008, IEEE Transactions on Systems, Man, and Cybernetics - Part A: Systems and Humans.