Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3566097.3567848acmconferencesArticle/Chapter ViewAbstractPublication PagesaspdacConference Proceedingsconference-collections
research-article
Public Access

Safety-Aware Flexible Schedule Synthesis for Cyber-Physical Systems Using Weakly-Hard Constraints

Published: 31 January 2023 Publication History
  • Get Citation Alerts
  • Abstract

    With the emergence of complex autonomous systems, multiple control tasks are increasingly being implemented on shared computational platforms. Due to the resource-constrained nature of such platforms in domains such as automotive, scheduling all the control tasks in a timely manner is often difficult. The usual requirement---that all task invocations must meet their deadlines---stems from the isolated design of a control strategy and its implementation (including scheduling) in software. This separation of concerns, where the control designer sets the deadlines, and the embedded software engineer aims to meet them, eases the design and verification process. However, it is not flexible and is overly conservative. In this paper, we show how to capture the deadline miss patterns under which the safety properties of the controllers will still be satisfied. The allowed patterns of such deadline misses may be captured using what are referred to as "weakly-hard constraints." But scheduling tasks under these weakly-hard constraints is non-trivial since common scheduling policies like fixed-priority or earliest deadline first do not satisfy them in general. The main contribution of this paper is to automatically synthesize schedules from the safety properties of controllers. Using real examples, we demonstrate the effectiveness of this strategy and illustrate that traditional notions of schedulability, e.g., utility ratios, are not applicable when scheduling controllers to satisfy safety properties.

    References

    [1]
    P. Axer, et al. 2014. Building Timing Predictable Embedded Systems. ACM Trans. Embed. Comput. Syst. (2014).
    [2]
    G. Bernat, et al. 2001. Weakly hard real-time systems. IEEE Trans. Comput. 50, 4 (2001).
    [3]
    W. Chang and S. Chakraborty. 2016. Resource-aware Automotive Control Systems Design: A Cyber-Physical Systems Approach. Found. Trends Electron. Des. Autom. 10, 4 (2016).
    [4]
    R. A. Gabel and R. A. Roberts. 1980. Signals and Linear Systems (second ed.). John Wiley & Sons.
    [5]
    B. Ghosh, et al. 2022. Statistical Hypothesis Testing of Controller Implementations Under Timing Uncertainties. In RTCSA.
    [6]
    D. Goswami, et al. 2011. Re-engineering cyber-physical control applications for hybrid communication protocols. In DATE.
    [7]
    D. Goswami, et al. 2014. Relaxing Signal Delay Constraints in Distributed Embedded Controllers. IEEE Trans. Control. Syst. Technol. 22, 6 (2014).
    [8]
    M. Hamdaoui and P. Ramanathan. 1995. A dynamic priority assignment technique for streams with (m, k)-firm deadlines. IEEE Trans. Comput. 44, 12 (1995).
    [9]
    Z. Hammadeh, et al. 2017. Bounding Deadline Misses in Weakly-Hard Real-Time Systems with Task Dependencies. In DATE.
    [10]
    C. Hobbs, et al. 2022. Safety Analysis of Embedded Controllers under Implementation Platform Timing Uncertainties. In EMSOFT.
    [11]
    C. Huang, et al. 2019. Formal Verification of Weakly-Hard Systems. In HSCC.
    [12]
    L. Ju, et al. 2008. Performance debugging of Esterel specifications. In CODES+ISSS.
    [13]
    S. Linsenmayer and F. Allgöwer. 2017. Stabilization of networked control systems with weakly hard real-time dropout description. In CDC.
    [14]
    M. Lukasiewycz, et al. 2013. System architecture and software design for electric vehicles. In DAC.
    [15]
    M. Maggio, et al. 2020. Control-System Stability Under Consecutive Deadline Misses Constraints. In ECRTS.
    [16]
    A. Masrur, et al. 2010. VM-Based Real-Time Services for Automotive Control Applications. In RTCSA.
    [17]
    W. C. Messner and D. M. Tilbury. 1998. Control tutorials for MATLAB and Simulink: a web-based approach. http://ctms.engin.umich.edu/CTMS
    [18]
    M. O'Kelly, et al. 2020. F1tenth: An open-source evaluation environment for continuous control and reinforcement learning. Proceedings of Machine Learning Research 123 (2020).
    [19]
    K. Osman, et al. 2009. Modelling and controller design for a cruise control system. CSPA (2009).
    [20]
    P. Pazzaglia, et al. 2021. Adaptive Design of Real-Time Control Systems subject to Sporadic Overruns. In DATE.
    [21]
    P. Pazzaglia, et al. 2019. DMAC: Deadline-Miss-Aware Control. In ECRTS.
    [22]
    P. Pazzaglia, et al. 2018. Beyond the Weakly Hard Model: Measuring the Performance Cost of Deadline Misses. In ECRTS.
    [23]
    D. Roy, et al. 2016. Multi-Objective Co-Optimization of FlexRay-Based Distributed Control Systems. In RTAS.
    [24]
    R. Schneider, et al. 2011. Constraint-Driven Synthesis and Tool-Support for FlexRay-Based Automotive Control Systems. In CODES+ISSS.
    [25]
    T. Sehnke, et al. 2017. Temporal properties in automotive control software. In RTNS.
    [26]
    D. Soudbakhsh, et al. 2018. Co-Design of Arbitrated Network Control Systems With Overrun Strategies. IEEE Trans. Control. Netw. Syst. 5, 1 (2018).
    [27]
    Y. Sun and M. D. Natale. 2017. Weakly Hard Schedulability Analysis for Fixed Priority Scheduling of Periodic Real-Time Tasks. ACM Trans. Embed. Comput. Syst. 16, 5s, Article 171 (2017).
    [28]
    E. P. van Horssen, et al. 2016. Performance analysis and controller improvement for linear systems with (m, k)-firm data losses. In ECC.
    [29]
    G. von der Brüggen, et al. 2018. Efficiently approximating the probability of deadline misses in real-time systems. In ECRTS.
    [30]
    N. Vreman, et al. 2022. WeaklyHard.jl: Scalable Analysis of Weakly-Hard Constraints. In RTAS.

    Cited By

    View all
    • (2024)Introduction to the Special Issue on Automotive CPS Safety & Security: Part 2ACM Transactions on Cyber-Physical Systems10.1145/36502108:2(1-17)Online publication date: 15-May-2024
    • (2024)SMT-based Control Safety Property Checking in Cyber-Physical Systems under Timing Uncertainties2024 37th International Conference on VLSI Design and 2024 23rd International Conference on Embedded Systems (VLSID)10.1109/VLSID60093.2024.00052(276-280)Online publication date: 6-Jan-2024
    • (2024)Certifiable and Efficient Autonomous Cyber-Physical Systems Design2024 37th International Conference on VLSI Design and 2024 23rd International Conference on Embedded Systems (VLSID)10.1109/VLSID60093.2024.00049(259-263)Online publication date: 6-Jan-2024
    • Show More Cited By

    Index Terms

    1. Safety-Aware Flexible Schedule Synthesis for Cyber-Physical Systems Using Weakly-Hard Constraints
              Index terms have been assigned to the content through auto-classification.

              Recommendations

              Comments

              Information & Contributors

              Information

              Published In

              cover image ACM Conferences
              ASPDAC '23: Proceedings of the 28th Asia and South Pacific Design Automation Conference
              January 2023
              807 pages
              ISBN:9781450397834
              DOI:10.1145/3566097
              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Sponsors

              In-Cooperation

              • IPSJ
              • IEEE CAS
              • IEEE CEDA
              • IEICE

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              Published: 31 January 2023

              Permissions

              Request permissions for this article.

              Check for updates

              Qualifiers

              • Research-article

              Funding Sources

              Conference

              ASPDAC '23
              Sponsor:

              Acceptance Rates

              ASPDAC '23 Paper Acceptance Rate 102 of 328 submissions, 31%;
              Overall Acceptance Rate 466 of 1,454 submissions, 32%

              Upcoming Conference

              ASPDAC '25

              Contributors

              Other Metrics

              Bibliometrics & Citations

              Bibliometrics

              Article Metrics

              • Downloads (Last 12 months)74
              • Downloads (Last 6 weeks)16
              Reflects downloads up to 10 Aug 2024

              Other Metrics

              Citations

              Cited By

              View all
              • (2024)Introduction to the Special Issue on Automotive CPS Safety & Security: Part 2ACM Transactions on Cyber-Physical Systems10.1145/36502108:2(1-17)Online publication date: 15-May-2024
              • (2024)SMT-based Control Safety Property Checking in Cyber-Physical Systems under Timing Uncertainties2024 37th International Conference on VLSI Design and 2024 23rd International Conference on Embedded Systems (VLSID)10.1109/VLSID60093.2024.00052(276-280)Online publication date: 6-Jan-2024
              • (2024)Certifiable and Efficient Autonomous Cyber-Physical Systems Design2024 37th International Conference on VLSI Design and 2024 23rd International Conference on Embedded Systems (VLSID)10.1109/VLSID60093.2024.00049(259-263)Online publication date: 6-Jan-2024
              • (2024)Quantitative Safety-Driven Co-Synthesis of Cyber-Physical System Implementations2024 ACM/IEEE 15th International Conference on Cyber-Physical Systems (ICCPS)10.1109/ICCPS61052.2024.00016(99-110)Online publication date: 13-May-2024
              • (2024)Statistical verification of autonomous system controllers under timing uncertaintiesReal-Time Systems10.1007/s11241-023-09417-x60:1(108-149)Online publication date: 29-Jan-2024
              • (2023)Safety-Aware Implementation of Control Tasks via Scheduling with Period Boosting and Compressing2023 IEEE 29th International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA)10.1109/RTCSA58653.2023.00031(196-205)Online publication date: 30-Aug-2023
              • (2023)Statistical Approach to Efficient and Deterministic Schedule Synthesis for Cyber-Physical SystemsAutomated Technology for Verification and Analysis10.1007/978-3-031-45329-8_15(312-333)Online publication date: 24-Oct-2023

              View Options

              View options

              PDF

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader

              Get Access

              Login options

              Media

              Figures

              Other

              Tables

              Share

              Share

              Share this Publication link

              Share on social media