Cross-Layer Design of Automotive Systems

Zhilu Wang, Hengyi Liang, Chao Huang, Qi Zhu

Abstract

Modern automotive systems are complex Cyber-Physical Systems (CPS) where functional logic and architectural execution are traditionally designed in isolation. This paper advocates for a cross-layer design approach that leverages the "weakly-hard" paradigm—allowing for bounded, occasional deadline misses. This methodology expands the design space, enabling better control performance and the integration of security features that were previously deemed infeasible under strict "hard" deadline constraints.

Introduction

Modern vehicles have evolved into sophisticated Cyber-Physical Systems (CPS), integrating complex control algorithms with distributed hardware and software architectures. Traditionally, the "Function Layer" (control logic) and the "Architecture Layer" (ECUs, networks, and tasks) are designed in silos. This separation often leads to over-engineered systems or performance bottlenecks, especially as autonomous driving and V2X connectivity increase computational demands. Researchers from Northwestern University propose a holistic cross-layer design to address these inefficiencies.

The multi-layer architecture of modern automotive systems, spanning vehicular networks to hardware components.

Methodology

The proposed cross-layer approach integrates several key methodologies:

  1. Holistic Software Synthesis: Utilizing Mixed Integer Linear Programming (MILP) to map functional blocks to software "runnables" and hardware ECUs while accounting for timing from the outset.
  2. Security-Aware Mapping: Integrating security mechanisms like Message Authentication Codes (MACs) into the synthesis flow to balance security-induced delays against control performance.
  3. The Weakly-Hard Paradigm: Moving away from rigid "hard" deadlines to $(m, K)$ constraints, where a task can miss at most $m$ deadlines out of $K$ consecutive instances.
  4. Formal Stability Analysis: Proving system stability under these constraints using mathematical theorems to ensure safety despite occasional misses.

Results and Discussion

The most significant finding is the expansion of the feasible design space. In a case study involving a Furuta Inverted Pendulum, traditional hard-deadline requirements restricted the sampling period to a narrow window between 210ms and 225ms. By applying weakly-hard constraints, this range expanded significantly to [90ms, 225ms].

Analysis of sampling period versus deadline misses (m), showing how weakly-hard constraints expand the stable design space compared to traditional hard deadlines.

Furthermore, the research demonstrates that running control loops at higher frequencies with occasional misses often yields superior performance compared to lower-frequency loops with zero misses. For instance, optimal performance was found at a 132ms sampling period with a $(5, 20)$ constraint—a configuration that traditional real-time systems would reject as unschedulable.

Conclusion

By treating timing and security as flexible design variables rather than rigid constraints, cross-layer design unlocks new levels of efficiency and performance in automotive CPS. Future work aims to integrate mechanical wear-and-tear considerations and automate the translation of high-level requirements into weakly-hard specifications. This paradigm shift is essential for the next generation of secure, autonomous vehicles.

Summary updated

BibTeX
@article{wang2021cross,
  author = {Zhilu Wang and Hengyi Liang and Chao Huang and Qi Zhu},
  title = {{Cross-Layer Design of Automotive Systems}},
  journal = {IEEE Des. Test},
  year = {2021},
  doi = {10.1109/mdat.2020.3037561},
}
Figure