Schedule construction under precedence constraints in flexray in-vehicle networks

As embedded time-triggered applications have widely replaced mechanical systems in modern automobiles, holistic scheduling of tasks and messages of such applications on in-vehicle networks has become a critical issue. For offering QoS (Quality of Service) guarantees, the holistic schedule must satisfy numerous constraints such as protocol specifications, delay constraints and precedence constraints between tasks schedules and messages transmissions. Existing approaches to this problem search through a vast design space of all possible joint task and message schedules. This leads to a high complexity and limits the scalability of such approaches for scheduling the large scale systems. To cope with this problem, we propose an approach that divides the holistic scheduling problem to two sub-problems: the sub-problem of message scheduling and the sub-problem of task scheduling, while precedence relations and end-to-end information passing between task instances and messages are preserved and the end-to-end deadlines are guaranteed. This helps to reduce the workload on the problem solvers and improves efficiency and scalability. In the first sub-problem, our approach optimizes scheduling the set of messages and allocates time windows for scheduling each task with respect to precedence constraints, end-to-end deadlines and FlexRay protocol specifications. The length of each time window helps to preserve the respective tasks schedulability and to provide flexibility for both task and message scheduling. The objective is defined with respect to extensibility issues. In the second sub-problem, our approach optimizes schedule of the set of tasks with respect to their allocated time windows and timing constraints. The objective is defined with respect to latency issues. We optimize the solution to each sub-problem using Mixed Integer Linear Programming optimization framework. Performance evaluations show that, compared with existing holistic scheduling approaches, our approach is more scalable and obtains better solutions in a reasonable amount of time.

[1]  Michael González Harbour,et al.  Exploiting precedence relations in the schedulability analysis of distributed real-time systems , 1999, Proceedings 20th IEEE Real-Time Systems Symposium (Cat. No.99CB37054).

[2]  Kang G. Shin,et al.  Assignment and Scheduling Communicating Periodic Tasks in Distributed Real-Time Systems , 1997, IEEE Trans. Software Eng..

[3]  Petru Eles,et al.  Scheduling and voltage scaling for energy/reliability trade-offs in fault-tolerant time-triggered embedded systems , 2007, 2007 5th IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[4]  Yeqiong Song,et al.  Trends in Automotive Communication Systems , 2005, Proc. IEEE.

[5]  Hiroaki Takada,et al.  A GA-based scheduling method for FlexRay systems , 2005, EMSOFT.

[6]  Zonghua Gu,et al.  A Hierarchical Framework for Design Space Exploration and Optimization of TTP-Based Distributed Embedded Systems , 2008, IEEE Transactions on Industrial Informatics.

[7]  Mathieu Grenier,et al.  Configuring the communication on FlexRay - the case of the static segment ⁄ , 2008 .

[8]  Kiejin Park,et al.  Frame Packing for Minimizing the Bandwidth Consumption of the FlexRay Static Segment , 2013, IEEE Transactions on Industrial Electronics.

[9]  Ece Guran Schmidt,et al.  Message Scheduling for the FlexRay Protocol: The Dynamic Segment , 2009, IEEE Transactions on Vehicular Technology.

[10]  Yang Wang,et al.  Holistic Scheduling of Real-Time Applications in Time-Triggered In-Vehicle Networks , 2014, IEEE Transactions on Industrial Informatics.

[11]  Alberto L. Sangiovanni-Vincentelli,et al.  Schedule Optimization of Time-Triggered Systems Communicating Over the FlexRay Static Segment , 2011, IEEE Transactions on Industrial Informatics.

[12]  Kees G. W. Goossens,et al.  Optimal scheduling of switched FlexRay networks , 2011, 2011 Design, Automation & Test in Europe.

[13]  Haibo Zeng,et al.  Time Determinism and Semantics Preservation in the Implementation of Distributed Functions over FlexRay , 2010 .

[14]  Yang Wang,et al.  Scheduling periodic task graphs for safety-critical time-triggered avionic systems , 2015, IEEE Transactions on Aerospace and Electronic Systems.

[15]  M. Sunwoo,et al.  Heuristic resource allocation and scheduling method for distributed automotive control systems , 2013 .

[16]  Martin Lukasiewycz,et al.  Modular scheduling of distributed heterogeneous time-triggered automotive systems , 2012, 17th Asia and South Pacific Design Automation Conference.

[17]  Zoubir Mammeri,et al.  Scheduling in Real-Time Systems , 2002 .

[18]  Hermann Kopetz,et al.  The time-triggered architecture , 2003 .

[19]  Martin Lukasiewycz,et al.  FlexRay schedule optimization of the static segment , 2009, CODES+ISSS '09.

[20]  Petru Eles,et al.  Scheduling for Fault-Tolerant Communication on the Static Segment of FlexRay , 2010, 2010 31st IEEE Real-Time Systems Symposium.

[21]  Karl Johan Åström,et al.  Computer-Controlled Systems: Theory and Design , 1984 .

[22]  Kang G. Shin,et al.  Combined Task and Message Scheduling in Distributed Real-Time Systems , 1999, IEEE Trans. Parallel Distributed Syst..