Abstract
Considering safety requirements while developing electrical and electronic (E/E) architectures is a prerequisite for the realization of future technologies such as autonomous driving. Following the ISO 26262 standard, safety analyses have to be conducted in the early phase of the development lifecycle in order to detect design flaws and take actions to improve the design. This paper presents a model-based approach for addressing safety requirements conforming to ISO 26262 during the design phase of automotive E/E architectures. Based on the requirements, a set of safety-related constraints is extracted, which can be used in an integer linear programming (ILP) model to optimize E/E architectures.
The number of functions and complexity in E/E architectures are increasing due to the transition to Advanced Driver Assistance Systems (ADAS) and autonomous vehicles. Future vehicles are expected to have a centralized architecture in which several high-performance general-purpose Electronic Control Units (ECU) control multiple function
ISO 26262 “Road vehicles―Functional safety” is an adaption of the functional safety standard IEC 61508 for the automotive domai
Fig.1 illustrates our approach to integrating ISO 26262 safety requirements into the development process of E/E architectures. The development process follows the well-known V-model. In this paper, we are focusing only on the design process, which means the left branch of the V-model.

Fig. 1 Integrating ISO 26262 safety requirements into the V-model
At the beginning of the development process, functional and non-functional requirements are documented. The next level, i.e., the function design level, deals with the functions of the vehicle and their interactions. As shown in Fig.1, functional safety requirements according to ISO 26262 are identified during these phases. Based on the hazard analysis and risk assessment, required ASIL levels for each function or a set of functions are determined. Another important aspect in the development of current E/E architectures is timing. Many functions have certain timing constraints. Currently, most automotive functions are distributed functions. At the function design level, timing requirements for function chains, which refer to end-to-end timing constraints, are identified. These are safety-related requirements that must be fulfille
At the next levels, software architecture and hardware topology are designed, respectively. The allocation of functions/software components on hardware nodes is one of the factors that influences the quality of the designed system. According to ISO 26262, safety requirements should be assured when mapping software to hardware components. Consequently, the deployment process is getting even harder when considering the conflicting constraints and the growth in the complexity of architecture

Fig. 1 Exemplary function architecture model; hardware architecture model and a deployment candidate
This section introduces the parameters of our function and hardware model. These parameters are the input of the optimization algorithm and are summarized in Tab.1. Our model is inspired by the approach in Ref.[
The hardware model consists of a few general-purpose ECUs and communication buses. Although the real architectures contain sensors and actuators, we are not defining them in our model. This is because the mapping of functions to sensors and actuators is not meaningful. However, their effect on the deployment process is considered as localization constraint, which is explained in the next section. As can be seen in
Hardware components | |
---|---|
E={E1,…,En} | Set of all ECUs |
CEk | Number of CPU cores of Ek |
MEk | Memory of Ek |
λk | Failure rate of Ek |
Ak | ASIL level of Ek |
drCAN , drETH | Data transmission rate of CAN and Ethernet |
Software components | |
S={S1,…,Sm} | Set of all Software components |
CSi | Required CPU cores of Si |
MSi | Required memory of Si |
Li | ASIL level of Si |
WCET(i,k,h) | WCET of Si on Ek and ASIL Lh |
Fij | Frequency of Si |
The function model consists of some unmodifiable software components with defined specifications and the connections between them. As shown in Tab.1, we denote a set of software components as S={S1,…,Sm}. The amount of data being transferred from function Si to Sj is considered as ds(Si,Sj). As already mentioned, for each software component Si an ASIL level Li is assigned during software design phase. We defined the Worst-Case Execution Time (WCET) of Si running on Ek and ASIL Lh as WCET(i,k,h). Some software components may be executed periodically. Hence, we considered the variable Fij to express the frequency of Si with regard to Sj.
This section explains the formulated requirements, which can be used as constraints for an ILP optimization problem. According to ISO 26262, four ASIL levels, from ASIL A to D, are defined to represent the stringency of safety requirements. ASIL A represents the least and ASIL D dictates the most stringent requirement. In the future, most of the software components are expected to be safety-critical, which means ASIL C or D. However, there are a few available ECUs that can support high ASIL levels. Therefore, action must be taken to enable the mapping of such software functions to these ECUs, while verifying ASIL compatibility. ISO 26262 introduces ASIL decomposition technique to reduce the required ASIL level of a software component by dividing it into multiple redundant components, each with a lower ASIL valu
:
(1) |
In the above constraint, Li is an integer value between 1 and 4, which Li=1 represents ASIL A and Li=4 represents ASIL D. We assume Yik=1, if Si is mapped to Ek. If the above constraint is not satisfied, an ASIL decomposition, similar to the approach in Ref.[
:
(2) |
Due to the redundancy caused by ASIL decomposition, there might be different paths for the defined functional chain. Therefore, we consider the maximum reaction time for a functional chain to guarantee the fulfillment of the timing requirement. In the above constraint, tcom refers to the data transfer time between corresponding ECUs and can be estimated using equations (
:
(3) |
:
(4) |
The reliability of Si running on Ek with Lh is [9]:
(5) |
(6) |
In order to verify that ECUs provide sufficient CPU cores and memory for software components which run on them, constraints (7) and (8) can be use
:
(7) |
(8) |
A localization constraint,
:
(9) |
Constraint (10) ensures that an ECU has sufficient CPU capacity to execute its tasks. In order to satisfy CPU utilization constraint, it must be ensured that the CPU utilization doesn't exceed its threshold value (Ut).
:
(10) |
In addition to the above constraints, an objective goal such as minimizing cost can be added to an optimization problem. Minimizing cost can be formulated as follows:
Our proposed workflow is depicted in Fig.3. The output of the optimization algorithm is a cost-effective safe candidate for the deployment problem.

Fig.3 Workflow of the proposed approach
In this paper, a model-based approach for function mapping and E/E architecture optimization based on safety constraints for future centralized architectures is presented. We derived safety requirements that are not application-specific from ISO 26262 and formulated them as ILP-based constraints. By adding these constraints and an optimization objective such as cost to an optimization algorithm, achieving a cost-effective safe architecture is possible. We consider the presented work as a first step and we are aware that our approach is far from complete. In future, we will apply this model to AMPL tool and a solver (CPLEX or Gurobi), to find the best solution for our ILP optimization problem.
References
ASKARIPOOR H, FARZANEH M, KNOLL A. E/E architecture synthesis: Challenges and technologies[J].Electronics Journal, 2022. [Baidu Scholar]
STARON M. Automotive Software Architecture Views and Why we need a new one―Safety view[C]//Workshop CARS- critical automotive applications.[S.l.]: [s.n.], 2016. [Baidu Scholar]
HAMMER M, MASCHOTTA R, ZIMMERMANN A. Model-driven application development for evaluation and optimization of automotive E/E-architectures[C]//IEEE International Conference on Recent Advances in Systems Science and Engineering (RASSE). [S.l.]: IEEE, 2021. [Baidu Scholar]
International Organization for Standardization. Road Vehicles―Functional safety:ISO 26262[S].2011. [Baidu Scholar]
KAMPMANN A, LUEER M, KOWALEWSKI S, et al. Optimization-based resource allocation for an automotive service-oriented software architecture[C]//IEEE Intelligent Vehicles Symposium (IV22), 2022. [Baidu Scholar]
KUGELE S, PUCEA G. Model-based optimization of automotive E/E-architectures[C]//Proceedings of the 6th International Workshop on Constraints in Software Testing, Verification, and Analysis. [S.l.]: [s.n.], 2014. [Baidu Scholar]
A. Aleti A, L. Grunske L, I. Meedeniya I, et al. Let the ants deploy your software―An ACO based deployment optimisation strategy[C]//IEEE/ACM International Conference on Automated Software Engineering, 2009. [Baidu Scholar]
MEEDENIYA I, BUHNOVA B, ALETI A. Reliability driven deployment optimization for embedded systems[J]. Journal of Systems and Software, 2011, 84(5): 835. [Baidu Scholar]
XIE G, CHEN Y, LIU Y, ET AL. Minimizing development cost with reliability goal for automotive functional safety during design phase[J]. IEEE Transactions on reliability, 2018, 67(1):196. [Baidu Scholar]
XIE G, WU W, ZENG G, et al. Risk assessment and development cost optimization in software defined vehicles[J]. IEEE Transactions on Intelligent Transportation Systems, 2021. [Baidu Scholar]
ASKARIPOOR H, FARZANEH M, KNOLL A. A model-based approach to facilitate design of homogeneous redundant E/E architectures[C]//IEEE Intelligent Transportation Systems Conference (ITSC). [S.l.]: IEEE, 2021. [Baidu Scholar]
PAN F, LIN J, RICKERT M, et al. Resource allocation in software-defined vehicles: ILP model formulation and solver evaluation[C]//IEEE Conference on Intelligent Transportation Systems (ITSC), [S.l.]: IEEE, 2022. [Baidu Scholar]
AUTOSAR. Recommended methods and practices for timing analysis and design within the AUTOSAR development process[M]. 2018. http://www.autosar.org. [Baidu Scholar]