SAW: A Tool for Safety Analysis of Weakly-Hard Systems

We introduce SAW, a tool for safety analysis of weakly-hard systems, in which traditional hard timing constraints are relaxed to allow bounded deadline misses for improving design flexibility and runtime resiliency. Safety verification is a key issue for weakly-hard systems, as it ensures system safety under allowed deadline misses. Previous works are either for linear systems only, or limited to a certain type of nonlinear systems (e.g., systems that satisfy exponential stability and Lipschitz continuity of the system dynamics). In this work, we propose a new technique for infinite-time safety verification of general nonlinear weakly-hard systems. Our approach first discretizes the safe state set into grids and constructs a directed graph, where nodes represent the grids and edges represent the reachability relation. Based on graph theory and dynamic programming, our approach can effectively find the safe initial set (consisting of a set of grids), from which the system can be proven safe under given weakly-hard constraints. Experimental results demonstrate the effectiveness of our approach, when compared with the state-of-the-art. An open source implementation of our tool is available at https://github.com/551100kk/SAW. The virtual machine where the tool is ready to run can be found at https://www.csie.ntu.edu.tw/~r08922054/SAW.ova.

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

[2]  Rolf Ernst,et al.  Budgeting Under-Specified Tasks for Weakly-Hard Real-Time Systems , 2017, ECRTS.

[3]  Xin Chen,et al.  A Linear Programming Relaxation Based Approach for Generating Barrier Certificates of Hybrid Systems , 2016, FM.

[4]  Wenchao Li,et al.  Formal verification of weakly-hard systems , 2019, HSCC.

[5]  Yeqiong Song,et al.  Providing Real-Time Applications With Graceful Degradation of QoS and Fault Tolerance According to$(m, k)$-Firm Model , 2006, IEEE Transactions on Industrial Informatics.

[6]  Olivier Sename,et al.  A Design Methodology for Weakly-Hard Real-Time Control , 2008 .

[7]  Antoine Girard,et al.  SpaceEx: Scalable Verification of Hybrid Systems , 2011, CAV.

[8]  Xin Chen,et al.  Flow*: An Analyzer for Non-linear Hybrid Systems , 2013, CAV.

[9]  Manel Velasco,et al.  Runtime Allocation of Optional Control Jobs to a Set of CAN-Based Networked Control Systems , 2010, IEEE Transactions on Industrial Informatics.

[10]  Anuradha M. Annaswamy,et al.  Co-Design of Arbitrated Network Control Systems With Overrun Strategies , 2018, IEEE Transactions on Control of Network Systems.

[11]  Marco Di Natale,et al.  Weakly Hard Schedulability Analysis for Fixed Priority Scheduling of Periodic Real-Time Tasks , 2017, ACM Trans. Embed. Comput. Syst..

[12]  Rolf Ernst,et al.  Verifying Weakly-Hard Real-Time Properties of Traffic Streams in Switched Networks , 2018, ECRTS.

[13]  Xin Chen,et al.  Probabilistic Safety Verification of Stochastic Hybrid Systems Using Barrier Certificates , 2017, ACM Trans. Embed. Comput. Syst..

[14]  Mahesh Viswanathan,et al.  Analyzing Real Time Linear Control Systems Using Software Verification , 2015, 2015 IEEE Real-Time Systems Symposium.

[15]  Qi Zhu,et al.  Job-Class-Level Fixed Priority Scheduling of Weakly-Hard Real-Time Systems , 2019, 2019 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[16]  Frank Slomka,et al.  Controller/platform co-design of networked control systems based on density functions , 2014, CyPhy '14.

[17]  Rolf Ernst,et al.  Formal analysis of sporadic overload in real-time systems , 2012, 2012 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[18]  Alberto Sangiovanni-Vincentelli,et al.  Codesign Methodologies and Tools for Cyber–Physical Systems , 2018, Proceedings of the IEEE.

[19]  Marco Di Natale,et al.  Beyond the Weakly Hard Model: Measuring the Performance Cost of Deadline Misses , 2018, ECRTS.

[20]  Pablo A. Parrilo,et al.  Nonlinear control synthesis by convex optimization , 2004, IEEE Transactions on Automatic Control.

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

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

[23]  Wenchao Li,et al.  Exploring weakly-hard paradigm for networked systems , 2019, DESTION@CPSIoTWeek.

[24]  Goran Frehse,et al.  Formal Analysis of Timing Effects on Closed-Loop Properties of Control Software , 2014, 2014 IEEE Real-Time Systems Symposium.

[25]  Rolf Ernst,et al.  Extending typical worst-case analysis using response-time dependencies to bound deadline misses , 2014, 2014 International Conference on Embedded Software (EMSOFT).

[26]  Alberto L. Sangiovanni-Vincentelli,et al.  Security-Aware Design Methodology and Optimization for Automotive Systems , 2015, ACM Trans. Design Autom. Electr. Syst..

[27]  Jinkyu Lee,et al.  Closing the Gap Between Stability and Schedulability: A New Task Model for Cyber-Physical Systems , 2018, 2018 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[28]  Rolf Ernst,et al.  Improved Deadline Miss Models for Real-Time Systems Using Typical Worst-Case Analysis , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

[29]  Rolf Ernst,et al.  Bounding deadline misses in weakly-hard real-time systems with task dependencies , 2017, Design, Automation & Test in Europe Conference & Exhibition (DATE), 2017.

[30]  Qi Zhu,et al.  Security-Driven Codesign with Weakly-Hard Constraints for Real-Time Embedded Systems , 2019, 2019 IEEE 37th International Conference on Computer Design (ICCD).

[31]  Qi Zhu,et al.  Opportunistic Intermittent Control with Safety Guarantees for Autonomous Systems , 2020, 2020 57th ACM/IEEE Design Automation Conference (DAC).

[32]  Kacper Wardega,et al.  Application-Aware Scheduling of Networked Applications over the Low-Power Wireless Bus , 2020, 2020 Design, Automation & Test in Europe Conference & Exhibition (DATE).