Formal Verification of Adaptive Real-Time Systems by Extending Task Automata

Adjusting to resource changes, dynamic environmental conditions, or new usage modes are some of the reasons why real-time embedded systems need to be adaptive. This requires a rigorous framework for designing such systems, to ensure that the adaptivity does not result in invalidating the system's real-time constraints.To address this need, we have recently introduced adaptive task automata, a framework for modeling, verification, and schedulability analysis in adaptive, hard real-time embedded systems, assuming a fixed-priority scheduler.In this work, we extend the adaptive task automata framework to incorporate the earliest-deadline-first scheduling policy, as well as enable implementation of any other dynamic scheduling policy. To prove the decidability of our model, and at the same time maintain a manageable degree of conciseness, we show an encoding of our model as a network of timed automata with clock updates. To support this, we also show that reachability in our class of timed automata with updates is decidable. Our contribution helps to streamline the process of designing safety critical adaptive embedded systems.

[1]  Wang Yi,et al.  Timed Automata: Semantics, Algorithms and Tools , 2003, Lectures on Concurrency and Petri Nets.

[2]  Zhigang Deng,et al.  Reachability Analysis of Cost-Reward Timed Automata for Energy Efficiency Scheduling , 2014, Programming Models and Applications for Multicores and Manycores.

[3]  Mary Shaw,et al.  Software Engineering for Self-Adaptive Systems: A Research Roadmap , 2009, Software Engineering for Self-Adaptive Systems.

[4]  Paul Pettersson,et al.  Modeling and analysis of adaptive embedded systems using adaptive task automata , 2013, SIGBED.

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

[6]  Kim Guldstrand Larsen,et al.  Model-Based Framework for Schedulability Analysis Using Uppaal 4.1 , 2018, Model-Based Design for Embedded Systems.

[7]  Lonnie R. Welch,et al.  Adaptive scheduling via feedback control for dynamic real-time systems , 2001, Conference Proceedings of the 2001 IEEE International Performance, Computing, and Communications Conference (Cat. No.01CH37210).

[8]  Steve Heath,et al.  Embedded Systems Design , 1997 .

[9]  Krithi Ramamritham,et al.  Adaptive fault tolerance and graceful degradation under dynamic hard real-time scheduling , 1997, Proceedings Real-Time Systems Symposium.

[10]  Daniel Mossé,et al.  Adaptive scheduling server for power-aware real-time tasks , 2004, TECS.

[11]  Giorgio Buttazzo,et al.  Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications , 1997 .

[12]  Heather Goldsby,et al.  AMOEBA-RT: Run-Time Verification of Adaptive Software , 2008, MoDELS.

[13]  N. V. Shakhlevich,et al.  Adaptive scheduling algorithm based on mixed graph model , 1996 .

[14]  Christel Baier,et al.  Principles of model checking , 2008 .

[15]  S. Caselli,et al.  A Technique for Adaptive Scheduling of Soft Real-Time Tasks , 2005, Real-Time Systems.

[16]  Naixue Xiong,et al.  Schedulability analysis of multi-processor real-time systems using Uppaal , 2010, The 2nd International Conference on Information Science and Engineering.

[17]  Kim G. Larsen,et al.  UPPAAL-SMC: Statistical Model Checking for Priced Timed Automata , 2012, QAPL.

[18]  Yann-Hang Lee,et al.  Scheduling techniques for reducing leakage power in hard real-time systems , 2003, 15th Euromicro Conference on Real-Time Systems, 2003. Proceedings..

[19]  Mary Shaw,et al.  The coming-of-age of software architecture research , 2001, Proceedings of the 23rd International Conference on Software Engineering. ICSE 2001.

[20]  Tobias Schüle,et al.  From Model-Based Design to Formal Verification of Adaptive Embedded Systems , 2007, ICFEM.

[21]  Aneta Vulgarakis,et al.  A Resource-Aware Framework for Designing Predictable Component-Based Embedded Systems , 2012 .

[22]  Ina Schaefer Integrating formal verification into the model-based development of adaptive embedded systems , 2008 .

[23]  G. Dodig-Crnkovic Scientific Methods in Computer Science , 2002 .

[24]  Paul Pettersson,et al.  Adaptive Task Automata with Earliest-Deadline-First Scheduling , 2014, Electron. Commun. Eur. Assoc. Softw. Sci. Technol..

[25]  Mario Trapp,et al.  Runtime adaptation in safety-critical automotive systems , 2007 .

[26]  Patricia Bouyer,et al.  Updatable timed automata , 2004, Theor. Comput. Sci..

[27]  Tobias Schüle,et al.  Verifying the adaptation behavior of embedded systems , 2006, SEAMS '06.

[28]  Li Tan,et al.  Model-Based Self-Adaptive Embedded Programs with Temporal Logic Specifications , 2006, 2006 Sixth International Conference on Quality Software (QSIC'06).

[29]  Wang Yi,et al.  Schedulability Analysis Using Two Clocks , 2003, TACAS.

[30]  Rajesh K. Gupta,et al.  Leakage aware dynamic voltage scaling for real-time embedded systems , 2004, Proceedings. 41st Design Automation Conference, 2004..

[31]  Wang Yi,et al.  Task automata: Schedulability, decidability and undecidability , 2007, Inf. Comput..

[32]  Rajeev Alur,et al.  Timed Automata , 1999, CAV.

[33]  Kim G. Larsen,et al.  Time for Statistical Model Checking of Real-Time Systems , 2011, CAV.

[34]  Paul Pettersson,et al.  Adaptive Task Automata: A Framework for Verifying Adaptive Embedded Systems , 2012, FASE.

[35]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[36]  Melhem Mejia-Alvarez,et al.  FAULT-TOLERANT ADAPTIVE SCHEDULING FOR EMBEDDED REAL-TIME SYSTEMS , 2001 .

[37]  Kim G. Larsen,et al.  Schedulability Analysis Using Uppaal: Herschel-Planck Case Study , 2010, ISoLA.