2004-21-0042 AUTomotive Open System ARchitecture - An Industry-Wide Initiative to Manage the Complexity of Emerging Automotive E/E-Architectures

Harald Heinecke, BMW Group Klaus-Peter Schnelle, Bosch Helmut Fennel, Continental Jürgen Bortolazzi, DaimlerChrysler Lennart Lundh, Jean Leflour, PSA Peugeot Citroën Jean-Luc Maté, VDO Kenji Nishikawa, Motor Company Thomas Scharnhorst,

AUTOSAR Partnership

Copyright © 2004 Convergence Transportation Electronics Association

ABSTRACT trend is likely to continue on an even reinforced level, pushed by increasingly demanding legal and customer The current automotive electric/ electronic (E/E) archi- requirements, which are often conflicting: tecture landscape is characterized by proprietary solu- tions, which seldom allow the exchange of applications • Legal enforcement – key items include environ- between both automotive OEMs and their suppliers. It is mental aspects and safety requirements apparent that on the basis of a continued exponential • Passenger convenience and service requirements growth in functional scope, further proliferation of pro- from the comfort and entertainment functional do- prietary solutions will consume more and more resources mains and may become difficult to control. • Driver assistance and dynamic drive aspects – key items include detection and suppression of critical AUTOSAR is a joint initiative of several major industry dynamic vehicle states and navigation in high-density players and aims to prepare for the increase in functional traffic surroundings scope. Unlike past attempts where the re- This paper presents an overview over the development acted in response to major technological advances10, partnership as well as the technical concept and meth- now a technological breakthrough is required in order to odology. It concludes that introduction of an industry- keep pace with these requirements. wide standard of automotive E/E architecture is indeed vitally important and it is that, which will allow the industry Also, it has been recognized that this can hardly be han- players to concentrate on innovation rather than wasting dled by individual companies in isolation and rather con- effort when adapting existing components to different stitutes an industry-wide challenge. Conclusively, leading environments. OEMs and Tier 1 suppliers have jointly decided to estab- lish an open standard for automotive E/E architecture, The AUTOSAR standard will thus help to secure market leading to the AUTOSAR partnership, which was formally attractiveness and open new and different business op- launched in July 2003. portunities for OEMs and their suppliers alike. AUTOSAR serves as a basic infrastructure for the man- 1. INTRODUCTION agement of functions within both future applications and • Driven by the development of innovative vehicle applica- 10 Recent examples include the transition from point-to- tions, contemporary automotive E/E architecture has point serial communication to networked systems and already reached a high level of networking to date. This the introduction of deterministic technologies. standard software modules. The goals include the stan- Applied to these functional domains, primary objectives dardization of basic system functions and functional in- are: terfaces, the ability to integrate and transfer functions and to substantially improve software updates and up- • Consideration of availability and safety requirements grades over the vehicle lifetime. • Redundancy activation • Scalability to different vehicle and platform variants 2. MOTIVATION AND OBJECTIVES • Implementation and standardization of basic system functions as an OEM and supplier wide “Standard Motivations for standardization are: Core” solution (including e.g. bus technologies, op- erating systems, communication layer, HW abstrac- • Management of E/E complexity associated with tion layer, memory services, mode management, growth in functional scope middleware/interfaces, standard library functions) • Flexibility for product modification, upgrade and up- • Transferability of functions throughout network date • Integration of functional modules from multiple • Scalability of solutions within and across product suppliers lines • Maintainability throughout the whole “Product Life • Improved quality and reliability of E/E systems Cycle“ • Increased use of “Commercial off the shelf hard- Leading OEMs and Tier 1 suppliers, recognizing this to ware“ be an industry-wide challenge, decided to work together • Software updates and upgrades over vehicle lifetime to create a basis for industry collaboration on basic functions and interfaces while enabling a standardized Some principal classical challenges and the solutions platform on which an efficient competition on innovative suggested by AUTOSAR together with their implied functions is enabled (see Figure 1). benefits are listed in the table below.

Figure 1: Exchangeability of functions between OEM and suppliers Challenges Solutions Benefits

Non-competitive func- Standard- Reduction/avoidance of tions have to be ized interface proliferation within adapted to OEM spe- Interfaces and across OEMs and cific environments suppliers.

Tiny little innovations Eased implementation of cannot be implemented HW-independent software at reasonable effort as functionality by using ge- provision of interfaces neric interface catalogues from other components requires a lot of effort Simplifies the model based development and makes it Missing clear interfaces possible of the use of stan- between basic software dardized AUTOSAR code and code generated generation tools from models Reusability of modules cross-OEM

Exchangeability of compo- 2.1 AUTOSAR PARTNERSHIP AND STANDARD nents from different suppli- ers The development partnership AUTomotive Open System ARchitecture (AUTOSAR) has been formed in mid of Effort wasted on layout Basic Soft- Enhancement of software and optimization of ware Core quality 2003. This partnership aims to establish a standard that components which add will serve as a platform upon which future vehicle appli- no value recognized by Concentration on functions cations will be implemented and will also serve to mini- the customer with competitive value mize the current barriers between functional domains Obsolescence of hard- Microcon- Part of the hardware can be (vehicle centric versus passenger centric). Its scope ware (µC, circuits, ...) troller exchanged without need for encompasses: causes huge efforts in Abstraction adaptation of higher soft- adapting existing soft- ware/ functions/ applica- ware tions • Powertrain • Chassis Extended needs for • microcontroller per- Safety (active and passive) formance (caused by • Multimedia/Telematics new functions) cause • Body/Comfort need for upgrade, i.e. • Man Machine Interface re-design effort Large effort when relo- Runtime Encapsulation of functions • Common interfaces with development processes cating functions be- Environment creates independence of • tween ECUs communication technology Seamless, manageable, task optimized (time dependent) tool landscape Large effort when re- Communication easier using functions through standardized Specific benefits for new market entrant: mechanisms Partitioning and relocatabil- • Transparent and defined interfaces enable new busi- ity of functions possible ness models Immature processes Software Improvement in specifica- • Clear contractual task allocation and outsourcing of because of acting in Component tion (format and content) Software-Implementation accessible ad-hoc mode/ missing Template Opportunity for a seamless traceabilty of functional Main strategic targets to accomplish the project objec- requirements tool chain Exchange tives are modularity, configurability and transferability of Lack of compatible Formats software modules and the standardization of their inter- tooling (supplier, OEM) faces. OEM buys black-box Technical Eased process of integra- and is not able to ex- Integration tion of different software 3. TECHNICAL CONCEPT tend/integrate new of Software components allows optimi- functionality in an ECU zation of hardware costs of Multiple 3.0 OVERVIEW (e.g. integration of tire Suppliers guard functionality) To achieve the technical goals modularity, scalability, Lack of guidelines for Confor- Integration of 3rd party transferability and re-usability of functions AUTOSAR will use/ buy of software mance Test software components provide a common software infrastructure for automotive components Process Common understanding systems of all vehicle domains based on standardized between suppliers and interfaces. The AUTOSAR standard encompasses: Unclear legal situation License OEMs Agreement • Standardization of different APIs to separate the AUTOSAR software layers • More generally, the change from proprietary solutions to Encapsulation of functional software-components • a general standard will enable the following benefits: Definition of the data types of the software-compo- nents • • Increased reuse of software Identification of basic software modules of the soft- • Increased design flexibility ware infrastructure and standardize their interfaces • Clear design rules for integration AUTOSAR will enable optimization of the entire vehicle • Reduction of costs for software development and network as well as the configuration process (e.g. parti- service in the long term tioning and resource usage) and if required, allow for • OEM overlapping reuse of non-competitive software local optimization to meet the runtime requirements of modules specific devices and hardware constraints. • Focus on protected, innovative and competitive func- tions Figure 2: Schematic view of AUTOSAR software architecture

Specific benefits for OEM:

• Functions of competitive nature can be developed separately • Later sharing of innovations is accessible (additional ROI) • Standardized certification

Specific benefits for supplier:

• Reduction of version proliferation • Development sharing among suppliers • Increase of efficiency in functional development • New business models • Preparation for upcoming increase in software vol- ume

Specific benefits for tool provider: 3.1 AUTOSAR SOFTWARE ARCHITECTURE • Complex Drivers These implement complex sensor evaluation and Figure 2 shows a schematic view of AUTOSAR software actuator control with direct access to the µC using layers; its main elements are described below. specific interrupts and/or complex µC peripherals (like PCP, TPU), e.g. for injection control, electric 3.1.1 BASIC SOFTWARE valve control or incremental position detection. A Complex Driver fulfills the special functional and Basic Software is the standardized software layer, which timing requirements for handling complex sensors provides services (for access to input/output, memory, and actuators. communication, system) to the AUTOSAR Software components and is necessary to run the functional part 3.1.2 AUTOSAR RUNTIME ENVIRONMENT of the software. It does not fulfill any functional job itself. The Basic Software contains standardized and ECU At system design level (i.e., when drafting a logical view specific components. The standardized Basic Software of the entire system irrespective of hardware) the includes: AUTOSAR runtime environment (RTE) is abstracted to a Virtual Function Bus (VFB) that acts as a communication • Basic Services,suchas center for inter- and intra-ECU information exchange. All communications run through the AUTOSAR VFB. • Operating system services. The standardiza- AUTOSAR VFB provides a communication abstraction to tion of automotive operating systems is not Software-components attached to it by providing the regarded as an AUTOSAR goal but existing same interface and services whether inter-ECU commu- standards and products such as OSEK, nication channels are used (such as CAN, LIN, FlexRay, VxWorks, Windows CE and other RTOS for MOST, ...) or communication is intra-ECU. As the com- automotive and their derivatives will be taken munication requirements of the software components into consideration and used in AUTOSAR. running on top of the RTE are application dependent, the RTE needs to be tailored to these communication re- • Vehicle network communication and quirements. It is therefore very likely, that the RTE will be management services (e.g. CAN/LIN, fully generated to provide required communication ser- FlexRay, MOST) vices while still being resource-efficient. Thus, the re- • Memory services (NVRAM management) • sulting RTE will likely differ between one ECU and an- Diagnosis Services (including KWP2000 other. interface and error memory) • ECU state management 3.1.3 AUTOSAR SOFTWARE (APPLICATION LAYER)

• Microcontroller Abstraction The AUTOSAR Software consists of Software-Compo- This is also referred to as Standard Peripheral Con- nents that encapsulate automotive functionality or pieces troller Abstraction (SPAL) and directly accesses the of it (i.e. interfaces, resource requirements, timing, etc). µC internal peripherals and memory mapped µC Its specification covers requirements and attributes that external devices whilst decoupling higher software are prerequisites to run the Software-Component in an layers from the hardware. It comprises: AUTOSAR compliant environment. At the architectural level any communication between Software-Components • Microcontroller Drivers and elements of any other layer is routed through the • Memory Drivers AUTOSAR runtime environment. The AUTOSAR inter- • Communication and I/O Drivers faces assure the connectivity of software elements sur- • I/O Drivers rounding the AUTOSAR runtime environment. Stan- dardization of the interfaces for AUTOSAR Software- ECU specific components are: Components, operating systems and basic software is a central element to support scalability and transferability • ECU Abstraction of functions across electronic control units of different It interfaces to the Microcontroller Abstraction. It also vehicle platforms. contains drivers for external devices and offers an • API for access to peripherals and devices regardless Scalability of functions will ensure the adaptability of of their location (µC internal/external) and their con- common software modules to different vehicle plat- nection to the µC (port pins, type of interface). Its forms to limit proliferation of software with similar primary purpose is to make higher software layers functionality. independent of the ECU hardware layout through: • Transferability of functions will optimize the use of resources available throughout a vehicle’s electronic architecture. • Onboard Device Abstraction • Memory Hardware Abstraction • The AUTOSAR interface is not a piece of software sepa- Communication Hardware Abstraction rated from any particular software component but rather • I/O Hardware Abstraction an integral part of the latter. 3.2 SYSTEM DESIGN – SUPPORT BY AUTOSAR The Software Component Description includes:

The AUTOSAR methodology describes the process • Interfaces, behavior (repetition rate) leading from system design to implementation, which is • Direct hardware interfaces (I/O) illustrated in Figure 3. The presented separation does • Requirements on run-time performance also correspond to typical responsibility boundaries of (memory, computing power, throughput, the stakeholders and experts collaborating to design and timing/latency) deploy such systems. • …

Figure 3: AUTOSAR Methodology • System Constraints This comprises system wide information, such as the network infrastructure, as well as distribution of the Software components to the available ECU. The System Constraints Description includes:

• Bussystems,protocols,communicationma- trix and attributes (e.g. data rates, timing/ latency, …) • Function clustering • Function deployment (distribution to ECU) • …

• ECU Resources For each ECU in the system a description has to be provided that represents the physical and electronic attributes of that ECU. The ECU Resources Description includes: The basis of this process is a set of three main descrip- tions that are deducted from existing vehicle information • Sensors and actuators and the set of requirements to satisfy customer needs: • Hardware interfaces • HW attributes (memory, processor, comput- • Software Components ing power, …) The logical functions that are visible to the customer • Connections and bandwidth, etc. are described irrespective of the actual, physical • … hardware, i.e. available ECU and network topology. Also, the software component descriptions logically Obviously, the concluding step of this process is the represent the software components irrespective of download of the software on the actual hardware. To il- their implementation details, e.g. the function bodies lustrate the transferability of functions (as a central adhering to the code syntax of a chosen program- AUTOSAR objective) two scenarios based around a ming language. speed warning function (as an example) are shown Each software component requires an own, individ- below: ual and unambiguous description. To support this logical view and in order to accom- Figure 5: Implementation on one ECU plish the objective of transferable functions the con- cept of the Virtual Functional Bus (VFB) is introduced (see Figure 4).

Figure 4: VFB View of the System (speed warning example)11

• 11 The work symbol ( ) denotes a supporting tool, which in this case can also be utilized to check In the above example both dependent functions are im- completeness, integrity and correctness of the software plemented on the same ECU. This reduces the overhead component descriptions including interfaces (‘Virtual of the AUTOSAR-RTE to a minimum. Integration’). The alternative configuration can be on integrating the Premium members participate in and can lead working dependent functions across two, separated ECU. Appar- groups, make technical contributions and have access to ently, information flow requires routing through an appro- current information. priate bus system. This is illustrated in Figure 6. Associate members may use the standards and have Figure 6: Implementation on two ECU access to finalized documents before release to public. The partnership will also welcome third parties to join as Development members or Attendees, both of whose participation is free of charge.

Development Member participates in and co-operates with the Partnership in one or more Working Groups in accordance with further instructions and guidelines from the Partnership.

Attendee contributes to the establishment of close con- nections between corporate research and development work undertaken by the Partnership and commercially Note, that in both cases the application layer code is independent, non-corporate research and development identical (simple function call, presented in C syntax as work represented by the Attendee and the institution an example). The functions on the application layer which he represents. themselves have no knowledge about the physical loca- tion of their counterparts and interface to the RTE exclu- 5. PROJECT STRUCTURE sively. The latter takes care of appropriate routing of all information flow. The AUTOSAR development partnership is organized in the following bodies, which are formed by the core part- 4. AUTOSAR INITIATIVE ners:

The AUTOSAR partners have been in the process of 5.1 EXECUTIVE BOARD (EB) partnership preparations since October 2002 and the partnership agreement was signed in July 2003. The The Executive Board (EB) is established to focus on the partnership has adopted a three-tier membership struc- following areas: ture that has been proven in similar initiatives. Each tier of the partnership has specific rights and duties that are • Defines the overall strategy and roadmap of the Part- regulated in appropriate agreements (see Figure 7). nership • The EB meets on a regular basis either in person or Figure 7: 3-tier Membership Structure of AUTOSAR via telephone conference

5.2 STEERING COMMITTEE (SC) Rights and Duties Contract Sections

Core Partner Development (9 OEM & Tier 1 Supplier) Agreement The Steering Committee (SC) is established to focus on n Organizational control n Technical contributions the following areas: n Administrative control n Definition of external Information (web-release, clearance, etc.) Premium Member Agreement n Leadership of Working groups • Manages the admission of members, public relations n Involvement in Working groups and contractual issues Premium Members • (incl. Tool Manufacturers) Associate Member Coordinates the day-to-day non-technical operation Agreement n Leadership of Working groups of the AUTOSAR partnership n Involvement in Working groups n Technical contributions Support Roles • The SC meets on a regular basis either in person or n Access to current information n Development Associate Members Member Agreement via telephone conference. n Attendee n Access to finalized documents Agreement n Utilization of Standards 5.3 PROJECT LEADER TEAM (PL-TEAM)

The Project Leader Team (PL Team) is established to focus on the following areas: Core partners have organizational and administrative control, make technical contributions and determine the • Coordinates the day-to-day technical operation of the information to be distributed externally. The core part- AUTOSAR partnership ners are BMW Group, Bosch, Continental, Daimler- • The PL Team coordinates the technical WGs (work- Chrysler, Ford Motor Company, PSA Peugeot Citroën, ing groups) that shall report to it Siemens VDO, Toyota Motor Corporation, and Volks- • The PL Team meets on a regular basis either in per- wagen. son or via telephone conference 5.4 WORKING GROUPS (WG) Figure 8: Scope of work packages

Working Groups (WG) are established to focus on the following areas:

• Responsible for the technical development work • Several work groups exist for the various technical areas • Specification of an AUTOSAR Runtime Environment to provide inter- and intra-ECU communication across all nodes of a vehicle network • Definition of standardized interfaces across the different vehicle domains • Definition of requirements and analysis of existing solutions in the area of basic software modules and automotive operating systems • Definition of data exchange formats for describing necessary elements of a vehicle’s E/E system ar- 6.1WP1THEAUTOSARCONCEPT chitecture WP 1 is concentrating on principal and conceptual is- 5.5 ADMINISTRATOR sues, such as:

The Administrator is established to focus on the following • Specification of the mechanisms and interfaces of areas: the virtual functional bus • Specification of AUTOSAR requirements on the ba- • Supports the AUTOSAR partnership in various sic software modules organizational and administrative issues • Review of effects caused by dependable systems • Serves as the primary contact for membership appli- (high availability, safety-relevant) on the AUTOSAR cations concept • Maintains the partnership server and homepage • Collects membership fees, handles purchases of the 6.2 WP 2 AUTOSAR-INPUTFORMATS FOR SYSTEM partnership GENERATION

5.6 SPOKESPERSON Subject of WP 2 is the system generation (i.e. the first step in the AUTOSAR methodology). This includes The Spokesperson is established to focus on the follow- specification of the descriptions format and contents (i.e. ing areas: templates for software components, system constraints and ECU descriptions) and the associated set of tools. • Is authorized to communicate with journalists, ana- lysts and media on behalf of the partnership 6.3 WP 3 AUTOSAR ECU CONFIGURATION • Is the authorized representative of the partnership • Is a member of the Steering Committee, serves for The AUTOSAR ECU-configuration is the process deliv- one year and is supported by a Deputy Spokesper- ering configuration files of the particular run time envi- son ronment modules (AUTOSAR run time Environment & Basic-Software) for each specific ECU from the informa- 6. WORK PACKAGES tion (used resources, implemented software components and communication relations) that are generated by the AUTOSAR system generator. The development of the AUTOSAR standard is organ- ized into a number of technical work packages, each of 6.4 WP 4 ECU SOFTWAREGENERATION which is further subdivided (e.g. WP 1.1.1, 4.2.2.1, etc.). Any individual work package is the responsibility of the WP 4 is defining the process of generating software ex- associated working group. ecutables out of the ECU configuration files. This in- cludes specification/standardization of the input formats, tools to create and visualize the input formats, algorithms Figure 8 illustrates the scope of the individual work pack- for and generation of the AUTOSAR RTE as well as ages with respect to the overall context. It can be seen qualification and implementation of “existing” Basic-Soft- that work packages 2, 3 and 4 follow the presented ware. methodology approach, concentrating on the individual steps with clearly identified interconnections. Each work package is further specified below. 6.5 WP 5 TEST- AND INTEGRATION PROCESS a detailed work plan and project management. Phase 2 is determined by the definition of interface specification Subjects of WP 5 are system integration and test, con- and AUTOSAR concept harmonization. In Phase 3 focus sidering both product and process oriented approaches. is set on the standardization of the software components. This will make usage of a prototype implementation sup- The phase of testing and integration will finalize the de- porting representative applications, which will be devel- velopment phase of the AUTOSAR standard. oped alongside definition of the standard. 8. CONCLUSION 6.6 WP 10 DATA DESCRIPTION The introduction of the AUTOSAR standard will place the The content of WP 10 is the formulation of unified func- future of E/E-development in automotive industry on a tional interfaces of all vehicle domains: commonly accepted and stable basis. This will be the key element in order to cope with the functional and legal • Body/comfort requirements in next generation vehicle architectures. In • Power train addition the increasing uptake of software solutions is • Chassis/driver dynamics placed on a reliable design basis allowing for functional • Safety (re-) integration and concentration on the development of • Telematics/multimedia real new and novel functionalities. • Man-machine interface The standardization in AUTOSAR is mandatory in the With respect to this, unified functions with clear seman- automotive industry in order to secure market tics of the interfaces are published in function catalogues attractiveness. of the AUTOSAR-partnership (like the MOST function catalogues). All specified functions have to satisfy the REFERENCES AUTOSAR- Software-Component-Template. 1. http://www.autosar.org 6.7 WP 20 ENABLING OF AUTOSAR EXPLOITATION

Subject to WP 20 is the definition of the conformance CONTACT test and licensing procedures, version control manage- ment and continuous maintenance of the AUTOSAR [email protected] standard including the timeframe beyond the current de- velopment project. DEFINITIONS, ACRONYMS, ABBREVIATIONS 7. PROJECT SCHEDULE API: Application Programming Interface The admission process has been formally initiated on th 25 September 2003. AUTOSAR: Automotive Open Systems Architecture

Figure 9: Project Schedule CDD: Complex Device Driver

RTE: Runtime Environment 05/03 09/04 11/05 08/06 12/03 06/05 02/06 SPAL: Standard Peripheral Controller Abstraction Milestones

Initiation of Structure & Basis Standardization of the Test- & Integration- Phases Partnership Specification AUTOSAR architecture process VFB: Virtual Functional Bus

WP3.1 WP4.1.1.2 Work- WP1 WP4.2.1.1 WP4.1.1.3 WP5.1.2 WP0 packages WP2 (2.1.1) WP4.2.1.2* WP3.2** WP5.1.3 WP4.2.2.1 WP4.2.2 WP4.3 WP5.2.2 WP4.2.3.1 WP4.2.3 WP5.1.1 WP5.2.1

AUTOSAR Concept and AUTOSAR compatibility of AUTOSAR Project plan first specification are selected SW modules is specifications are created and created and executability approved. First tools and tested and verified on agreed is approved generators are available an application

AUTOSAR concept (specification Realization of Run Time Evaluated test and integration and preparation of a de-facto Environment feasible and process standard) is feasible and in plan on track (product oriented)

WP 10 / WP 20

The project structure is divided into four sections. In the startup phase the partnership was initiated by setting up