Closing the Gap Between Stability and Schedulability: A New Task Model for Cyber-Physical Systems

A cyber-physical system (CPS) usually contains multiple control loops, each responsible for controlling different physical subprocesses, that run simultaneously upon a shared platform. The foremost design goal for CPSes is to guarantee system stability and control quality with limited cyber resources. We show, via an in-depth case study, that two inter-related design parameters — sampling period and consecutive control update misses — play a key role in determining stability and control performance. However, most CPS designs, such as control–schedule co-design and fault-tolerant scheduling, focus on either sampling period or control update misses alone, but not both. To remedy this problem, we propose a new CPS task model that captures both system stability and control performance in terms of sampling period and maximum allowable number of consecutive control update misses. To demonstrate the utility and power of this model, we develop two new scheduling mechanisms, offline parameter assignment and online state-aware scheduling. The former determines the sampling period and the maximum allowable number of consecutive job deadline misses for each task while preserving system stability. The latter then generates a schedule by exploiting the state of each physical subprocess to manage job deadline misses so as to improve the overall system performance without compromising system stability. Our in-depth evaluation results demonstrate that the proposed task model and the corresponding scheduling algorithm not only enable the efficient use of computing resource, but also significantly improve control performance without compromising system stability.

[1]  Anton Cervin,et al.  Optimal on-line scheduling of multiple control tasks: a case study , 2006, 18th Euromicro Conference on Real-Time Systems (ECRTS'06).

[2]  Karl-Erik Årzén,et al.  The Jitter Margin and Its Application in the Design of Real-Time Control Systems , 2004 .

[3]  Rupak Majumdar,et al.  Performance-aware scheduler synthesis for control systems , 2011, 2011 Proceedings of the Ninth ACM International Conference on Embedded Software (EMSOFT).

[4]  Samarjit Chakraborty,et al.  Relaxing Signal Delay Constraints in Distributed Embedded Controllers , 2014, IEEE Transactions on Control Systems Technology.

[5]  Dennis Shasha,et al.  Skip-Over: algorithms and complexity for overloaded systems that allow skips , 1995, Proceedings 16th IEEE Real-Time Systems Symposium.

[6]  Giorgio C. Buttazzo,et al.  Measuring the Performance of Schedulability Tests , 2005, Real-Time Systems.

[7]  Anton Cervin,et al.  Resource management for control tasks based on the transient dynamics of closed-loop systems , 2006, 18th Euromicro Conference on Real-Time Systems (ECRTS'06).

[8]  Anton Cervin,et al.  Delay-Aware Period Assignment in Control Systems , 2008, 2008 Real-Time Systems Symposium.

[9]  Alberto L. Sangiovanni-Vincentelli,et al.  Synthesis of Robust Control Systems under Resource Constraints , 2002, HSCC.

[10]  Parameswaran Ramanathan,et al.  A Dynamic Priority Assignement Technique for Streams with (m, k)-Firm Deadlines , 1995, IEEE Trans. Computers.

[11]  Karl-Erik Årzén,et al.  Feedback–Feedforward Scheduling of Control Tasks , 2002, Real-Time Systems.

[12]  Xiaofeng Wang,et al.  Period and Deadline Selection for Schedulability in Real-Time Systems , 2008, 2008 Euromicro Conference on Real-Time Systems.

[13]  Antoine Girard,et al.  Scheduling of Embedded Controllers Under Timing Contracts , 2017, HSCC.

[14]  Ge Guo,et al.  Sampled-Data Cooperative Adaptive Cruise Control of Vehicles With Sensor Failures , 2014, IEEE Transactions on Intelligent Transportation Systems.

[15]  Enrico Bini,et al.  Control-Driven Tasks: Modeling and Analysis , 2008, 2008 Real-Time Systems Symposium.

[16]  Luigi Palopoli,et al.  Real-time control system analysis: an integrated approach , 2000, Proceedings 21st IEEE Real-Time Systems Symposium.

[17]  Yifan Wu,et al.  Parameter Selection for Real-Time Controllers in Resource-Constrained Systems , 2010, IEEE Transactions on Industrial Informatics.

[18]  Scott A. Brandt,et al.  Optimal state feedback based resource allocation for resource-constrained control tasks , 2004, 25th IEEE International Real-Time Systems Symposium.

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

[20]  Anton Cervin,et al.  Control-scheduling codesign of real-time systems: The control server approach , 2005, J. Embed. Comput..

[21]  Giuseppe Lipari,et al.  Elastic task model for adaptive rate control , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[22]  Toshimitsu Ushio,et al.  Optimal Arbitration of Control Tasks by Job Skipping in Cyber-Physical Systems , 2011, 2011 IEEE/ACM Second International Conference on Cyber-Physical Systems.

[23]  Parameswaran Ramanathan,et al.  Overload Management in Real-Time Control Applications Using (m, k)-Firm Guarantee , 1999, IEEE Trans. Parallel Distributed Syst..

[24]  Alan Burns,et al.  Weakly Hard Real-Time Systems , 2001, IEEE Trans. Computers.

[25]  Petru Eles,et al.  Designing High-Quality Embedded Control Systems with Guaranteed Stability , 2012, 2012 IEEE 33rd Real-Time Systems Symposium.

[26]  Karl-Erik Årzén,et al.  Exploiting Job Response-Time Information in the Co-Design of Real-Time Control Systems , 2015, 2015 IEEE 21st International Conference on Embedded and Real-Time Computing Systems and Applications.

[27]  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..

[28]  Sanjoy K. Baruah,et al.  Dynamic scheduling for networked control systems , 2015, HSCC.

[29]  Alan Burns,et al.  Applying new scheduling theory to static priority pre-emptive scheduling , 1993, Softw. Eng. J..

[30]  Rami G. Melhem,et al.  Optimal reward-based scheduling of periodic real-time tasks , 1999, Proceedings 20th IEEE Real-Time Systems Symposium (Cat. No.99CB37054).

[31]  Anuradha M. Annaswamy,et al.  Fault-tolerant control synthesis and verification of distributed embedded systems , 2014, 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[32]  David E. Goldberg,et al.  Genetic Algorithms in Search Optimization and Machine Learning , 1988 .

[33]  Sanjoy K. Baruah,et al.  A scheduling model inspired by control theory , 2017, RTNS.

[34]  Lui Sha,et al.  On task schedulability in real-time control systems , 1996, 17th IEEE Real-Time Systems Symposium.

[35]  Emile H. L. Aarts,et al.  Simulated Annealing: Theory and Applications , 1987, Mathematics and Its Applications.

[36]  Kang G. Shin,et al.  The Journal of Systems and Software , 2022 .

[37]  Insup Lee,et al.  Co-design of control and platform with dropped signals , 2013, 2013 ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS).