Using Model-Based Development For ISO26262 Aligned HSI Definition
Using Model-Based Development For ISO26262 Aligned HSI Definition
Using Model-Based Development For ISO26262 Aligned HSI Definition
HSI Definition
Georg Macher, Harald Sporer, Eric Armengaud, Eugen Brenner, Christian
Kreiner
Abstract—The ISO 26262 safety standard for road vehicles, with the technical safety concept, which includes hardware
among other engineer standards, was established to provide components that are controlled by software and support the
guidance for the development of safety-critical systems. Providing software execution. ISO 26262 states the importance and es-
evidence of consistent, correct, and complete system specification
covering different work-products is crucial in this context. One of sentiality of the HSI specification by highlighting its definition
these required work-products is the hardware-software interface during the system design phase and its further refinement
(HSI) definition. The HSI definition is especially important since during hardware and software development phase [6]. The
it defines the interfaces between different engineering domains HSI document is the last development artifact of the system
(such as system development, HW development, and SW devel- development and the starting point for parallel development
opment). Model-based development (MBD) is the most promising
approach to support consistent description of the system under of hardware and software. The HSI definition thus requires
development in a structured way. This paper thus presents an mutual domain knowledge of hardware and software and
ISO 26262 aligned hardware-software interface definition tool is usually the result of a collective workshop of hardware,
approach which bidirectionally combines the versatility and in- software, and system experts. The HSI is the linkage between
tuitiveness of spreadsheet tools (such as Excel) and the properties different levels of development and is used to align topics rel-
of MDB tools (e.g. different views, levels of abstraction, central
source of information, and information reuse). The approach evant to both hardware and software development. Insufficient
presented is capable of defining an ISO 26262 compliant HSI definition of the HSI can cause several additional iteration
and enables automatic derivation of basic software configurations cycles and communication issues between development teams.
according to these interface definitions. Model-based development (MBD) supports the description of
Index Terms—model-based development, ISO 26262, the system under development in a more structured way, which
hardware-software interface.
enables different perspectives for different stakeholders, differ-
ent levels of abstraction and a central source of information,
I. I NTRODUCTION
moreover it also appears to be the best approach for handling
Electronic control units (ECU) have steadily increased in these HSI definition issues. Nevertheless, seamless model-
value on the vehicle market over the years. The range of based solutions have not been achieved so far, mainly due to
premium cars software implementations were close to 1 gi- inadequate tool-chain support (e.g. redundancy, inconsistency
gabyte code and were spread over more than 90 electronic and lack of automation), which hampers the MBD approach
control units (ECU) in 2009. By 2018 the cost of vehicle in tapping its full potential. This paper thus presents a tool
electronics is forecast to have risen to 30% of the overall approach for ISO 26262 aligned hardware-software interface
vehicle costs [5]. At the same time the higher degree of inte- definition. The approach presented combines the versatility
gration and the safety-criticality of the control application is and intuitiveness of spreadsheet tools (such as Excel) and
raising new challenges. Evidence of correctness of the different the properties of MDB tools (e.g. different views, levels of
applications and safety concepts must be guaranteed and the abstraction, central source of information, and information
increasing demands for safety and security require additional reuse) bidirectionally.
development efforts. Safety standards such as ISO 26262 [6]
for electrical and electronic systems for road vehicles have
been established to provide guidance during the development The document is organized as follows: The next section
of safety-critical systems. The standards provide a well-defined describes related works and the state of the art of hard-
safety lifecycle based on hazard identification and mitigation, ware/software interface definition. The III section provides a
and define a long list of work-products to be generated. One description of the proposed enhancement for HSI definition.
important work-product among the many that are defined here Section IV evaluates the presented approach with an automo-
is the hardware-software interface (HSI) definition. The HSI tive use case. Finally, the last section concludes this work with
specifies the hardware and software interactions in consistency an overview of what has been achieved.
II. S TATE - OF - THE -A RT HSI D EFINITION
Although the topic of defining hardware/software interface
definitions is of great importance for the automotive domain,
only few recent publications exist. King et. al [7] postulate
the problematic of defining HW/SW interfaces in early de-
velopment steps for of System on Chip (SoC)development.
First, a detailed interface is difficult to specify without detailed
knowledge of software and hardware. Second, these detailed
interfaces prevent a later migration of interface functionality
and addition of features.
In the automotive domain hardware and software develop-
ment cycle times differ significantly in length and software
development is typically separated into several abstraction lay-
ers (such as application software, microcontroller abstraction
layers, basic functionality drivers). This approach conceals
hardware specific details and enables the establishment of
focused software development teams (e.g., basic software de-
veloper, application software engineers, software integrators),
but on the other hand it sometimes obfuscates the importance
HSI development.
The AUTOSAR architectural approach [1] explicitly forces
an approach of this kind to support hardware independent
development of application software modules until a very late
Fig. 1. Conceptual Overview of the HSI Definition Approach
development phase. The AUTOSAR specifications intention
is to support exchange and reuse of software, by defining
software architectures, interfaces, and exchange formats and representation in a MDB tool(such as Enterprise Architect).
enable parallel working of application software developers, The spreadsheet tool and the MBD tool can be bidirectionally
basic software developers, and hardware developers. aligned via program-specific APIs, which supports the tool-
A comprehensive overview of hardware/software co-design independence of the approach presented.
methods and tools can be found in [9]. Teich’s work exploits An overview of the main parts of the contribution is shown
the synergies of hardware and software with focus on cost in Figure 1, the following sections describe each part in more
and performance constraints and highlights major research detail.
directions and achievements.
A. Application SW Modeling Framework
Contract-based design paradigms are an emerging domain-
independent paradigm for interface definition. The contracts The first part of the approach is a specific UML modeling
specify the input and output behavior of a component and framework developed to enable an AUTOSAR-like repre-
provide a guaranteed behavior [3]. Such an approach can sentation of software architecture designs within the system
be used for software component safety contracts [8] as well development tool (Enterprise Architect). The UML profile
as contract-based embedded system development [4]. These takes advantage of the AUTOSAR virtual function bus (VFB)
contract-based approaches foster model-based development abstraction layer and enables an explicit definition of AU-
and traceability of development decisions. Nevertheless, this TOSAR components, component interfaces, and connections
approach is not simple and easy enough to be used of HSI between interfaces. The AUTOSAR-aligned representation can
definition workshops. Because of its simplicity and easy to be linked to system development artifacts and requirement
use nature many hardware/software interface definitions are representations, which eases the traceability between these
still done within spreadsheet tools or in textual form within a different types of development artifacts. These explicit links
requirement management tool. Although Chen et. al [2] claim can further be used for automated constraints checking and
that social and text-based communication does not scale for ease the confirmability of development decisions (e.g. for
the handling of future embedded automotive systems and their safety case generation). This provides the possibility to define
advanced interface definition constraints. software architecture and ensures a proper definition of the
communication between the architecture artifacts, including
III. T HE HSI D EFINITION A PPROACH interface specifications (e.g. upper limits, initial values, for-
The HSI definition tool presented in this work allows the mulas).
definition of ISO 26262 aligned hardware-software interfaces Figure 2 shows the EA model profile for the modeling of
in a practicable and intuitive way in a spreadsheet tool (such the software module (AUTOSAR composition) and its signal
as Excel). The tool presented enables the transformation of interface definitions. As can be seen in the figure, software
these HSI definitions in a reusable and version-able model modules contain a declaration of their related ASIL and a
Fig. 2. EA Model for Modeling of Software Architectures