Scheduling of Overload-Tolerant Computation and Multi-Mode Communication in Real-Time Systems

Real-time tasks require sufficient resources to meet deadline constraints. A component should provision sufficient resources for its workloads consisting of tasks to meet their deadlines. Supply and demand bound functions can be used to analyze the schedulability of workloads. The demand-bound function determines the maximum required computational units for a given workload and the supply-bound function determines the minimum possible resources supplied to the workload. A component will experience an overload if it receives fewer resources than required. An overload will be transient if it occurs for a bounded amount of time. Most work concentrates on designing components that avoid overloads by over-provisioning resources even though some computational units such as control system components can tolerate transient overloads. Overload-tolerant components can utilize resources more efficiently if over-provisioning of resources can be avoided. First, this dissertation presents the design of an efficient periodic resource model for scheduling computation of components that can tolerate transient overloads under the Earliest Deadline First (EDF) scheduling policy. We propose a periodic resource model for overload-tolerant components to address three problems: (1) characterize overloads and determine metrics of interest (i.e., delay), (2) derive a model to compute a periodic resource supply for a given workload and a worst-case tolerable delay, and (3) find a periodic resource supply for given control system specifications with a worst-case delay. The derived periodic resource supply can be used to derive an overload-tolerant component interface. Overload-tolerant real-time components can connect with each other in a distributed manner and thus require communication scheduling for reliable and guaranteed transmissions. Moreover, applications may require multi-mode communication for efficient data transmission. Second, this dissertation discusses communication schedules for multi-mode distributed components. Since distributed multi-mode applications are prone to suffer from delays incurred during mode changes, good communication schedules have low average mode-change delays. A key problem in designing multi-mode communication in real-time systems is the generation of schedules to move away the complexity of schedule design from the developer. We propose a mechanism to generate multi-mode communication schedules using optimization constraints associated with timing requirements. We illustrate a workflow from specifications to the generation of communication schedules through a real-time video monitoring case-study. Experimental analysis for the case-study demonstrates that schedules generated using the proposed method reduce the average mode-change delay compared to a randomized algorithm and the well-known EDF scheduling policy.

[1]  Xi Chen,et al.  DTS: Dynamic TDMA scheduling for Networked Control Systems , 2014, J. Syst. Archit..

[2]  Jane W.-S. Liu Real-Time Systems , 2000, Encyclopedia of Algorithms.

[3]  Hong Ye,et al.  Scheduling of networked control systems , 2001 .

[4]  James H. Anderson,et al.  An Empirical Comparison of Global, Partitioned, and Clustered Multiprocessor EDF Schedulers , 2010, 2010 31st IEEE Real-Time Systems Symposium.

[5]  Yan Chen,et al.  QoS Requirements of Network Applications on the Internet , 2004, Inf. Knowl. Syst. Manag..

[6]  Stephen P. Boyd,et al.  Convex Optimization , 2004, Algorithms and Theory of Computation Handbook.

[7]  Sanjoy K. Baruah,et al.  The partitioned multiprocessor scheduling of deadline-constrained sporadic task systems , 2006, IEEE Transactions on Computers.

[8]  Insup Lee,et al.  Compositional real-time scheduling framework , 2004, 25th IEEE International Real-Time Systems Symposium.

[9]  Guy Gogniat,et al.  A co-design approach for embedded system modeling and code generation with UML and MARTE , 2009, 2009 Design, Automation & Test in Europe Conference & Exhibition.

[10]  Sebastian Fischmeister,et al.  Semantics-preserving implementation of synchronous specifications over dynamic TDMA distributed architectures , 2010, EMSOFT '10.

[11]  Samarjit Chakraborty,et al.  Cache-aware timing analysis of streaming applications , 2007, 19th Euromicro Conference on Real-Time Systems (ECRTS'07).

[12]  Robert de Simone,et al.  Clock-driven distributed real-time implementation of endochronous synchronous programs , 2009, EMSOFT '09.

[13]  Lothar Thiele,et al.  Real-time interfaces for interface-based design of real-time systems with fixed priority scheduling , 2005, EMSOFT.

[14]  Daniel Jackson,et al.  Separation of concerns for dependable software design , 2010, FoSER '10.

[15]  Richard M. Murray,et al.  Data Transmission Over Networks for Estimation and Control , 2009, IEEE Transactions on Automatic Control.

[16]  Giorgio C. Buttazzo,et al.  Rate Monotonic vs. EDF: Judgment Day , 2003, Real-Time Systems.

[17]  Seung Ho Hong,et al.  Bandwidth allocation scheme in CAN protocol , 2000 .

[18]  Dawn Tilbury,et al.  Control tutorials for MATLAB and Simulink : user's guide , 1999 .

[19]  Wei Zhang,et al.  Scheduling and feedback co-design for networked control systems , 2002, Proceedings of the 41st IEEE Conference on Decision and Control, 2002..

[20]  Wei Zhang,et al.  Stability of networked control systems , 2001 .

[21]  Hermann Kopetz The Rationale for Time-Triggered Ethernet , 2008, 2008 Real-Time Systems Symposium.

[22]  Lothar Thiele,et al.  Real-Time Analysis of Servers for General Job Arrivals , 2011, 2011 IEEE 17th International Conference on Embedded and Real-Time Computing Systems and Applications.

[23]  Alan Burns,et al.  A survey of hard real-time scheduling for multiprocessor systems , 2011, CSUR.

[24]  Carlo Rossi,et al.  Giotto a time-triggered language for embedded programming , 2011 .

[25]  Hermann Kopetz,et al.  Real-time systems , 2018, CSC '73.

[26]  Anton Cervin,et al.  Jitter Evaluation of Real-Time Control Systems , 2006, 12th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA'06).

[27]  Rajeev Alur,et al.  Specification and Analysis of Network Resource Requirements of Control Systems , 2009, HSCC.

[28]  Petru Eles,et al.  Timing Analysis of the FlexRay Communication Protocol , 2006, ECRTS.

[29]  Martin Sanfridson,et al.  Integration of off-line scheduling and optimal control , 2000, Proceedings 12th Euromicro Conference on Real-Time Systems. Euromicro RTS 2000.

[30]  Jay K. Strosnider,et al.  ENHANCED APERIODIC RESPONSIVENESS IN HARD REAL-TIME ENVIRONMENTS. , 1987, RTSS 1987.

[31]  Insik Shin,et al.  Synthesis of Optimal Interfaces for Hierarchical Scheduling with Resources , 2008, 2008 Real-Time Systems Symposium.

[32]  Sanjoy K. Baruah,et al.  Generalized Multiframe Tasks , 1999, Real-Time Systems.

[33]  Gonzalo Carvajal,et al.  Atacama: An Open FPGA-Based Platform for Mixed-Criticality Communication in Multi-segmented Ethernet Networks , 2013, 2013 IEEE 21st Annual International Symposium on Field-Programmable Custom Computing Machines.

[34]  Insup Lee,et al.  Resource Scopes: Toward Language Support for Compositional Determinism , 2009, 2009 IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing.

[35]  Giuseppe Lipari,et al.  Resource partitioning among real-time applications , 2003, 15th Euromicro Conference on Real-Time Systems, 2003. Proceedings..

[36]  Shreyas Sundaram,et al.  The Wireless Control Network: A New Approach for Control Over Networks , 2011, IEEE Transactions on Automatic Control.

[37]  Tamer Basar,et al.  Optimal control of LTI systems over unreliable communication links , 2006, Autom..

[38]  Ian Postlethwaite,et al.  Multivariable Feedback Control: Analysis and Design , 1996 .

[39]  Insup Lee,et al.  A Verifiable Language for Programming Real-Time Communication Schedules , 2007, IEEE Transactions on Computers.

[40]  Won-jong Kim,et al.  Stochastic Optimal Control and Network Co-Design for Networked Control Systems , 2007 .

[41]  Aloysius K. Mok,et al.  Towards compositionality in real-time resource partitioning based on regularity bounds , 2001, Proceedings 22nd IEEE Real-Time Systems Symposium (RTSS 2001) (Cat. No.01PR1420).

[42]  Xue Liu,et al.  CSS: Conditional State-Based Scheduling for Networked Control Systems , 2012, 2012 IEEE International Conference on Embedded and Real-Time Computing Systems and Applications.

[43]  Giorgio C. Buttazzo,et al.  Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications (Real-Time Systems Series) , 2010 .

[44]  Bruno Sinopoli,et al.  Foundations of Control and Estimation Over Lossy Networks , 2007, Proceedings of the IEEE.

[45]  Insup Lee,et al.  Periodic resource model for compositional real-time guarantees , 2003, RTSS 2003. 24th IEEE Real-Time Systems Symposium, 2003.

[46]  Hennadiy Leontyev,et al.  Real-Time Synchronization on Multiprocessors: To Block or Not to Block, to Suspend or Spin? , 2008, 2008 IEEE Real-Time and Embedded Technology and Applications Symposium.

[47]  Insup Lee,et al.  Generating Reliable Code from Hybrid-Systems Models , 2010, IEEE Transactions on Computers.

[48]  James H. Anderson,et al.  Tardiness Bounds under Global EDF Scheduling on a Multiprocessor , 2005, RTSS.

[49]  Sebastian Fischmeister,et al.  Design Choices for High-Confidence Distributed Real-Time Software , 2010, ISoLA.

[50]  Bandu N. Pamadi,et al.  Linear Systems, Theory, and Design: A Brief Review , 2004 .

[51]  Bini Enrico,et al.  Selecting the Minimum Consumed Bandwidth of an EDF Task Set , 2009 .

[52]  Samarjit Chakraborty,et al.  A Multi-mode Real-Time Calculus , 2008, 2008 Real-Time Systems Symposium.

[53]  Insup Lee,et al.  Hardware Acceleration for Conditional State-Based Communication Scheduling on Real-Time Ethernet , 2009, IEEE Transactions on Industrial Informatics.

[54]  F. L. Auspitz Systems theory and design , 1988 .

[55]  Laurent Pautet,et al.  Behavioral modular description of fault tolerant distributed systems with AADL Behavioral Annex , 2010, 2010 10th Annual International Conference on New Technologies of Distributed Systems (NOTERE).

[56]  Gonzalo Carvajal,et al.  A TDMA Ethernet Switch for Dynamic Real-Time Communication , 2010, 2010 18th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines.

[57]  Youxian Sun,et al.  A QoS management scheme for paralleled networked control systems with CAN bus , 2003, IECON'03. 29th Annual Conference of the IEEE Industrial Electronics Society (IEEE Cat. No.03CH37468).

[58]  Patricia Balbastre Betoret,et al.  Task period selection to minimize hyperperiod , 2011, ETFA2011.

[59]  Bin Tang,et al.  State Feedback Controller Design for Networked Control System with Random Network-Induced Delay and Packet Loss , 2007, 2007 IEEE International Conference on Networking, Sensing and Control.

[60]  João Pedro Hespanha,et al.  A Survey of Recent Results in Networked Control Systems , 2007, Proceedings of the IEEE.

[61]  Youxian Sun,et al.  Feedback based network scheduling of networked control systems , 2005, 2005 International Conference on Control and Automation.

[62]  Aloysius K. Mok,et al.  Firm real-time systems , 1996, CSUR.

[63]  Giuseppe Lipari,et al.  Elastic Scheduling for Flexible Workload Management , 2002, IEEE Trans. Computers.

[64]  Jinkyu Lee,et al.  Online robust optimization framework for QoS guarantees in distributed soft real-time systems , 2010, EMSOFT '10.

[65]  T. S. E. Maibaum,et al.  Separating Safety and Control Systems to Reduce Complexity , 2012, Conquering Complexity.

[66]  P. Marti,et al.  A control approach to bandwidth management in networked control systems , 2004, 30th Annual Conference of IEEE Industrial Electronics Society, 2004. IECON 2004.

[67]  Gonzalo Carvajal,et al.  Generation of communication schedules for multi-mode distributed real-time applications , 2014, 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[68]  Insup Lee,et al.  Compositional Analysis Framework Using EDP Resource Models , 2007, 28th IEEE International Real-Time Systems Symposium (RTSS 2007).

[69]  Rajeev Alur,et al.  Regular Specifications of Resource Requirements for Embedded Control Software , 2008, 2008 IEEE Real-Time and Embedded Technology and Applications Symposium.

[70]  Sebastian Fischmeister,et al.  D-RES: Correct transitive distributed service sharing , 2014, Proceedings of the 2014 IEEE Emerging Technology and Factory Automation (ETFA).

[71]  Sebastian Fischmeister,et al.  Resolving state inconsistency in distributed fault-tolerant real-time dynamic TDMA architectures , 2011, ETFA2011.

[72]  Insup Lee,et al.  Compositional real-time scheduling framework with periodic model , 2008, TECS.

[73]  Bjarne Stroustrup,et al.  C++ Programming Language , 1986, IEEE Softw..

[74]  Shreyas Sundaram,et al.  An Efficient Periodic Resource Supply Model for Workloads with Transient Overloads , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[75]  Lothar Thiele,et al.  Interface-Based Design of Real-Time Systems with Hierarchical Scheduling , 2006, 12th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS'06).

[76]  P. Marti,et al.  Control loop scheduling paradigm in distributed control systems , 2003, IECON'03. 29th Annual Conference of the IEEE Industrial Electronics Society (IEEE Cat. No.03CH37468).

[77]  Jean-Dominique Decotignie The Many Faces of Industrial Ethernet , 2009 .

[78]  Hermann Kopetz,et al.  Tolerating Arbitrary Node Failures in the Time-Triggered Architecture , 2001 .

[79]  Seung Ho Hong,et al.  Scheduling algorithm of data sampling times in the integrated communication and control systems , 1995, IEEE Trans. Control. Syst. Technol..

[80]  Insup Lee,et al.  Incremental schedulability analysis of hierarchical real-time components , 2006, EMSOFT '06.