Towards a RISC-V Open Platform for Next-generation Automotive ECUs

Luca Cuomo,Claudio Scordino,Alessandro Ottaviano,Nils Wistoff,Robert Balas,Luca Benini,Errico Guidieri,Ida Maria Savino
DOI: https://doi.org/10.1109/MECO58584.2023.10154913
2023-07-09
Abstract:The complexity of automotive systems is increasing quickly due to the integration of novel functionalities such as assisted or autonomous driving. However, increasing complexity poses considerable challenges to the automotive supply chain since the continuous addition of new hardware and network cabling is not considered tenable. The availability of modern heterogeneous multi-processor chips represents a unique opportunity to reduce vehicle costs by integrating multiple functionalities into fewer Electronic Control Units (ECUs). In addition, the recent improvements in open-hardware technology allow to further reduce costs by avoiding lock-in solutions. This paper presents a mixed-criticality multi-OS architecture for automotive ECUs based on open hardware and open-source technologies. Safety-critical functionalities are executed by an AUTOSAR OS running on a RISC-V processor, while the Linux OS executes more advanced functionalities on a multi-core ARM CPU. Besides presenting the implemented stack and the communication infrastructure, this paper provides a quantitative gap analysis between an HW/SW optimized version of the RISC-V processor and a COTS Arm Cortex-R in terms of real-time features, confirming that RISC-V is a valuable candidate for running AUTOSAR Classic stacks of next-generation automotive MCUs.
Hardware Architecture
What problem does this paper attempt to address?
This paper mainly discusses the problem of using open hardware and open source technologies to construct a hybrid critical multi-operating system architecture in Automotive Electronic Control Units (ECUs). With the increasing complexity of automotive systems, especially the integration of advanced driver assistance and autonomous driving functions, traditional ECUs and network wiring methods face challenges. Modern heterogeneous multiprocessor chips provide opportunities to integrate multiple functions into fewer ECUs, while open hardware technologies help reduce costs and avoid vendor lock-in. The paper proposes a hybrid critical multi-operating system architecture based on RISC-V processors and AUTOSAR operating systems for executing safety-critical functions, as well as running Linux on multi-core ARM CPUs for handling higher-level functions. The research implemented this architecture on the Xilinx Zynq Ultrascale+ FPGA and quantitatively analyzed the real-time performance gap between RISC-V processors and commercial ARM Cortex-R, demonstrating that RISC-V is a viable choice for running AUTOSAR Classic stack. Furthermore, the paper enhances the real-time performance of RISC-V by adding the RISC-V Compact Linearized IP Core (CLIC) and paves the way for the application of RISC-V in the transportation field. The related work section includes a review of existing automotive operating systems, the application of RISC-V in the automotive domain, and automotive communication protocols such as SOME/IP and DDS. The main contributions of this paper include the design of an open-source microcontroller based on RISC-V, the use of open hardware and standard automotive middleware, and the demonstration of the potential of RISC-V in the automotive industry, particularly in terms of real-time performance and safety, through hardware and software stack implementation and performance evaluation.