Creating AUTOSAR Systems Models Using the Combined Power of UML and SysML

Similar documents
What is Requirements Management?

Telelogic White Paper. Strategic QA. Steps to Effective Software Quality Assurance. Dominic Tavassoli, Telelogic 1.0. July 2007

Driving the Evolution to Actionable Architecture

Applying 4+1 View Architecture with UML 2. White Paper

Development of AUTOSAR Software Components within Model-Based Design

Seminar Automotive Open Systems Architecture

AUTOSAR Software Architecture

AutoSAR Overview. FESA Workshop at KTH Prof. Jakob Axelsson Volvo Cars and Mälardalen University

BMW Car IT GmbH. AUTOSAR - First Experiences and the Migration Strategy of the BMW Group

AUTOSAR Runtime Environment and Virtual Function Bus

Automotive System and Software Architecture

Plug and Play Solution for AUTOSAR Software Components

Enabling Enterprise Business Process Management

Embedded OS. Product Information

GETTING STARTED WITH ANDROID DEVELOPMENT FOR EMBEDDED SYSTEMS

From Signal Routing to complete AUTOSAR compliant CAN design with PREEvision (II)

EBERSPÄCHER ELECTRONICS automotive bus systems. solutions for network analysis

Chap 1. Introduction to Software Architecture

SysML Modelling Language explained

Safety and security related features in AUTOSAR

Physical Infrastructure Management Solutions

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

ECU State Manager Module Development and Design for Automotive Platform Software Based on AUTOSAR 4.0

Ford Motor Company. Automotive and transportation. $100+ million in warranty cost savings

Model-driven development solutions To support your business objectives. IBM Rational Rhapsody edition comparison matrix

Systems Engineering: Development of Mechatronics and Software Need to be Integrated Closely

Configuration management in AUTOSAR

Introduction to RACE FUELS Hans-Christian von der Wense Munich, Germany

Do AUTOSAR and functional safety rule each other out?

GENIVI FAQ. What is the GENIVI Alliance?

Safety compliance. Energy management. System architecture advisory services. Diagnostics. Network topologies. Physical and functional partitioning

Herstellerinitiative Software (OEM Initiative Software)

A new approach to automotive electric/electronic engineering life-cycle management

SPPA-T3000 Control System The Benchmark in Controls

Getting Embedded C Applications to Market Faster using the Model-Driven Development Technologies of Modeling, Simulation and Code Generation

Mastering increasing product complexity with Collaborative Systems Engineering and PLM

Hardware-independent Software Development

EB TechPaper. Test drive with the tablet. automotive.elektrobit.com

User-friendly Configuration of AUTOSAR ECUs with Specialized Software Tools

Timing Analysis for Verification of Network Architectures. Timing Analysis

Automotive Software Engineering at Hella KGaA. Software Engineering for Software Intensive Systems,

Integrating an ITILv3 Service Management Architecture into Business Architectures

Model-based Testing of Automotive Systems

Product Information Services for Embedded Software

IBM Rational Rhapsody

White Paper What Solutions Architects Should Know About The TOGAF ADM

WHITE PAPER DATA GOVERNANCE ENTERPRISE MODEL MANAGEMENT

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Developing Business Architecture with TOGAF

System Development and Life-Cycle Management (SDLCM) Methodology. Approval CISSCO Program Director

Regional Developer Conference Shenzhen, December 14, Wind River Systems, Inc.

FlexRay A Communications Network for Automotive Control Systems

EB Automotive Driver Assistance EB Assist Solutions. Damian Barnett Director Automotive Software June 5, 2015

TTCN-3, Qtronic and SIP

Manjrasoft Market Oriented Cloud Computing Platform

Choosing the correct Time Synchronization Protocol and incorporating the 1756-TIME module into your Application

MySQL and Virtualization Guide

How To Write A Train Control System

Vehicle Electronics. Services and Solutions to Manage the Complexity

INTELLIGENT NETWORK SERVICES MIGRATION MORE VALUE FOR THE

Component-Oriented Engineering

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Ericsson Introduces a Hyperscale Cloud Solution

Tech Day IBM 28 août 2009 RAT06P3 Introduction à Rhapsody Architect pour l Ingénierie des Systèmes et des Logiciels Embarqués

Aerospace Software Engineering

zen Platform technical white paper

Business Process Modeling with Structured Scenarios

Software Development for Multiple OEMs Using Tool Configured Middleware for CAN Communication

Achieving Mainframe-Class Performance on Intel Servers Using InfiniBand Building Blocks. An Oracle White Paper April 2003

IBM Rational DOORS Next Generation

Moving Service Management to SaaS Key Challenges and How Nimsoft Service Desk Helps Address Them

EBERSPÄCHER ELECTRONICS automotive bus systems

WHITE PAPER: STRATEGIC IMPACT PILLARS FOR EFFICIENT MIGRATION TO CLOUD COMPUTING IN GOVERNMENT

An Overview of Oracle Forms Server Architecture. An Oracle Technical White Paper April 2000

Abaqus Technology Brief. Automobile Roof Crush Analysis with Abaqus

Business-Driven Software Engineering Lecture 3 Foundations of Processes

Validating Diagnostics in Early Development Stages

Optimizing Service Levels in Public Cloud Deployments

Gecontroleerde grip op uw netwerk security en netwerk beheer

CONDIS. IT Service Management and CMDB

Developing SOA solutions using IBM SOA Foundation

Ten Questions to Ask PLM Solution Suppliers What You Need to Know to Make an Informed Decision. August A CIMdata White Paper

Six ways to accelerate Android mobile application development

BPTrends January 2005 etom and ITIL. etom and ITIL: Should you be Bi-lingual as an IT Outsourcing Service Provider? Jenny Huang

Managing Variability in Software Architectures 1 Felix Bachmann*

Embedded/Real-Time Software Development with PathMATE and IBM Rational Systems Developer

What is Enterprise Architect? Enterprise Architect is a visual platform for designing and constructing software systems, for business process

The Key Technology Research of Virtual Laboratory based On Cloud Computing Ling Zhang

How your business can successfully monetize API enablement. An illustrative case study

Development Process Automation Experiences in Japan

The EMSX Platform. A Modular, Scalable, Efficient, Adaptable Platform to Manage Multi-technology Networks. A White Paper.

Generating Aspect Code from UML Models

ITIL, the CMS, and You BEST PRACTICES WHITE PAPER

How To Develop A Telelogic Harmony/Esw Project

see >analyze >control >align < WhitePaper > planningit: alfabet s Logical IT Inventory

Integrated Development of Distributed Real-Time Applications with Asynchronous Communication

Business Process Analysis & Management. Corporate Synergy

Global Architectures & Standardization. Mark Chernoby Scott Garberding

Oracle Data Integrator and Oracle Warehouse Builder Statement of Direction

Principles of a Vehicle Infotainment Platform

Transcription:

White Paper Creating AUTOSAR Systems Models Using the Combined Power of UML and SysML Richard F. Boldt This document contains proprietary information that belongs to Telelogic AB. Using any of the information contained herein or copying or imaging all or part of this document by any means is strictly forbidden without express written consent of Telelogic AB. Telelogic, Telelogic Tau, Telelogic DOORS, Rhapsody, Statemate and System Architect are registered trademarks. Telelogic Change and Telelogic Synergy are trademarks of Telelogic AB www.telelogic.com

Table of Contents Overview... 3 The AUTOSAR Process... 4 Describing an AUTOSAR System using UML/SysML... 7 Capturing the Functional System... 8 Internal Behavior Diagram... 9 Systems Diagram... 11 Extending AUTOSAR with UML and SysML... 12 Conclusion... 13 Bibliography... 13 About Telelogic... 14 2 of 14

Overview Creating AUTOSAR Systems Models Using the Combined Power of UML and SysML Developing today s automobiles requires a seemingly ever-increasing number of software and electronics applications for each automotive platform. Owing to the increased cost of the electronics and the ability of the electronic features to differentiate one vehicle from another, the automotive industry is scrutinizing how the electronics are developed and deployed within an automobile. In response to this challenge, the AUTOSAR initiative was created. The AUTOSAR initiative has brought together leading automotive manufactures and suppliers in a collaborative effort to define standards that will allow the reuse of hardware, software and architecture from one vehicle to another, while allowing the individual companies to maintain their distinctive intellectual property. The goals of the AUTOSAR initiative are to create standard core solutions that enable the reuse and scalability of functional modules between platform variants. This includes different vehicles, together with whole product lifecycle support, plus software updates and upgrades over the vehicle lifetime while also enabling an increased use of commercial off the shelf hardware (COTS). The AUTOSAR initiative covers all vehicle domains and electronic applications; consequently, the standard must address critical industry demands, such as reducing costs, allowing for the transferability of functions throughout the network, integrations from multiple suppliers and safety considerations. To address these needs, the AUTOSAR initiative has developed a layered software development approach that allows companies to cooperate on standards and compete on implementations. In order to implement an AUTOSAR process, however, it is critical to define the AUTOSAR system. Although this can be done in several ways, a powerful and extensible way is to use a Unified Modeling Language (UML) / Object Management Group (OMG) Systems Modeling Language (SysML) profile tailored to meeting the AUTOSAR standards. This paper provides an overview of the fundamental concepts of AUTOSAR such as the AUTOSAR System, AUTOSAR Software Components, the AUTOSAR Virtual Functional Bus (VFB) and the AUTOSAR Run Time Environments (RTE). An AUTOSAR System consists of a set of interacting AUTOSAR Software Components communicating via the AUTOSAR VFB. This layered approach allows the AUTOSAR SW-Cs to be mapped to a specific Electronic Control Units (ECU) in a way such that these elements can be distributed over an ECU network, while remaining correctly integrated to enable the reuse of software assets from one platform to another. The AUTOSAR VFB defines a conceptual communications framework from one AUTOSAR SW-C to another, while the AUTOSAR RTE is a concrete implementation of the AUTOSAR VFB. In addition to covering the basic concepts of AUTOSAR, this paper reviews the details of a UML/ SysML based AUTOSAR profile for capturing the AUTOSAR System, including the interacting AUTOSAR Software Components and discusses how using UML the AUTOSAR System Model can be extended to include effective model organization, requirements capture and behavioral/algorithm modeling. 3 of 14

The AUTOSAR Process Graphic1: Basic AUTOSAR Approach The AUTOSAR process is mapped out to include the entire software specification procedure, from the highest levels of abstraction to the details of scheduling different code fragments of an individual software component on an ECU. For example, at the top level, there is the functional system that includes all the features that make up the different electrical sub-systems such as a wiper system, transmission control system or the exterior lighting system of the automobile. These systems consist of elements called AUTOSAR Software Components (SW-C); at the lowest level, the AUTOSAR SW-C is an atomic unit that completely encapsulates its data, has well defined interfaces and communicates with the AUTOSAR VFB/RTE and must be implemented in a single ECU. That is at its lowest level, an atomic AUTOSAR SW-C cannot be spread across multiple ECUs. The AUTOSAR Virtual Functional Bus (VFB) abstracts the communication between AUTOSAR SW-Cs away from the hardware in a technology neutral way, so that it does not matter if the communication between two software components will occur within the same ECU or over a bus between multiple ECUs. The VFB allows for two ways of communication between AUTOSAR SW-Cs: sender-receiver mode, where one component broadcasts out information and other components are listening to receive it, 4 of 14

or a client-server mode, where the client asks for something and the server provides the requested service. The next step in the process is to define the electrical architecture (topology) for a specific vehicle. The electrical architecture consists of the ECUs, the busses (CAN, LIN, FlexRay and MOST) and gateways that will connect the ECUs together. Once the functional systems and the electrical architecture are designed, the individual AUTOSAR SW-Cs captured in the functional system can be mapped to the ECUs they reside in within the electrical architecture. With mapping now complete, a communication matrix characterizing the information that is passed over the different busses can be derived. 5 of 14

The AUTOSAR ECU Architecture Graphic 2: ECU Software Architecture The diagram above shows the AUTOSAR layered software system within a single ECU. The software is broken up into three primary layers. The application software that consists of the different AUTOSAR SW-Cs that have been allocated to this specific ECU, the AUTOSAR Basic Software, which provides the interaction with the hardware and the AUTOSAR Runtime Environment (RTE) that sits between the application software and the basic software. The RTE is a realization of the VFB, it is a set of API s and middleware that connect the Basic Software to the SW-Cs. Everything contained below the RTE is called Basic Software, whose purpose is to abstract away the hardware and includes the operating system, (perhaps OSEK) the communication interfaces, (perhaps CAN, LIN, FlexRay or MOST), the device drivers and other services. The net effect is that by standardizing the interface between the software components and the basic software, the software components can easily be retargeted to different ECUs within dissimilar electrical architectures. 6 of 14

Describing an AUTOSAR System using UML/SysML A powerful means to capture an AUTOSAR system is to use graphical models. This provides the benefits of abstraction from a design standpoint while also making it easier to communicate the design intent. When selecting a graphical modeling notation then basing it on a widely used standard makes great practical sense. If this standard also contains elements that map well to the elements defined in AUTOSAR, and they allow for a mechanism to be tailored to meet domain specific needs, than the combined benefits of a robust language (specialized to the domain, if necessary), AUTOSAR, understanding and clarity across different domains can be achieved. Within the context of AUTOSAR, the combination of UML and SysML meets all these criteria. A UML / SysML-based AUTOSAR profile using domain specific terminology to express the software components, interfaces, ECUs and electrical architectures for automobiles can be created using five diagrams, each of which is outlined below. Software Component Diagram is used to define the functional software architecture by defining the different AUTOSAR SW-Cs and how they communicate with each other. Internal Behavior Diagram is used to specify the scheduling of various runnable entities within a specific AUTOSAR SW-C and how this will integrate with the AUTOSAR RTE. ECU Diagram is used to define the ECU types and their communication ports. Topology diagram is used to define the physical topology or electrical architecture of the system including all the ECUs in the automobile and how they are connected. Systems Diagram is used to capture the overall AUTOSAR system including how the AUTOSAR SW-Cs map to the individual ECUs that make up the electrical architecture and the communication matrices between the ECUS. 7 of 14

Capturing the Functional System Graphic 3: Software Component Diagram The software component diagram s foundation is based on a combination of the UML/SysML class and object diagrams. This diagram allows engineers to capture individual software architectures of the functional system by defining the individual software components and the communication between the components over the VFB. The functional system consists of the different electrical sub-systems in the car such as security, stability control or exterior lighting that are represented as a software composition and the AUTOSAR SW-Cs that make up each of these sub-systems such as fog lights, high beams, turn signals, hazards, front right light unit control and left rear light unit control. The communication between the different AUTSAR SW-Cs is defined using server ports, client ports, sender ports and receiver ports. These are all specializations of the UML concept of ports. Sender ports produce data that is consumed by receiver ports and client ports request services provided by server ports. 8 of 14

Internal Behavior Diagram Graphic 4: Internal Behavior Diagram The internal behavior diagram specifies the internal scheduling of runnable entities and the interface to the RTE for a specific software component, and is based on a combination of a class and object diagram. A software component is made up of various runnable entities. A runnable entity is a code fragment, algorithm (logical or computational), function or combination of one or more of these or similar items that can be executed and scheduled independently from the other runnable entities. Thus, a runnable needs to be scheduled to execute. A scheduling event is defined as an event that is caused by a trigger, such as a signal occurring, a timer expiring or a data item crossing a threshold. The different runnables that make up an AUTOSAR SW-C and their scheduling is defined in the internal behavior diagram but the actual implementations (code bodies or the algorithms themselves) are not expressed in this diagram. These are either directly captured in code or defined using a behavioral modeling tool (BMT). 9 of 14

Topology and ECU Diagrams Graphic 5: Topology Diagram The ECU diagram captures the ECUs by describing the hardware configuration details for each individual ECU type and its ports. The topology diagram is used to define the physical (electrical) architecture of the system, for example the ECU instances (described in ECU diagrams) and the busses that connect them. The ECU diagram and the topology diagram are based on a combination of the UML/SysML class and object diagrams and allow for the definition of the various ECUs, their ports and the CAN, LIN, FlexRay and/or MOST busses that connect them. 10 of 14

Systems Diagram Graphic 6: Systems Diagram contains the mapping of SW-C to ECUs The system diagram is used to define a complete AUTOSAR system. This is achieved by defining the mapping of the AUTOSAR SW-Cs defined in the software component diagram to the electrical architecture as defined in the topology diagram for a specific vehicle by defining the ECU that each AUTOSAR SW-C will be implemented in. Once this mapping is preformed the bus communication matrix for the vehicle can be derived. 11 of 14

Extending AUTOSAR with UML and SysML An additional benefit of using UML and SysML as the underlining mechanism to define the AUTOSAR modeling environment is that UML and SysML can be used to go beyond what is covered in AUTOSAR especially in the areas of requirements capture and elaboration, behavioral modeling and design organization. The UML/SysML concept of packages can be used to group model elements together in different ways, while components can be used to define various deployable configurations, providing model flexibility and organization. One area that AUTOSAR does not cover in detail is the process of capturing and elaborating on the system requirements. Here, UML and SysML can play an especially important role. The SysML requirements diagrams can be used to capture the textural requirements, and then leveraged to trace those requirements to the AUTOSAR SW-Cs, runnable entities and the ECUs that will implement these requirements. Additionally, the requirement can be linked to the test scenarios that are used to validate the system. Using UML / SysML Use Case diagrams enables the requirements organization to describe the different system uses and define them even further, based on the typical use cases for the system, while sequence diagrams can be used to describe the different scenarios that the system is required to perform. Finally, UML/ SysML Statecharts and Activity diagrams provide powerful means to express the behavior of the different runnable entities that make an AUTOSAR SW-C. 12 of 14

Conclusion Today s automobiles are dependent on software and electronics applications for their reliability, functionality, and even marketability on the showroom floor. Due to cost pressures and the ability of the electronic features to differentiate one vehicle from another, it makes sense that the industry is scrutinizing how the electronics are developed and deployed within an automobile ultimately resulting in the AUTOSAR initiative. The AUTOSAR initiative covers all vehicle domains and electronic applications, which places tremendous business and engineering pressures on the standard to provide solutions to the industry s challenges of cost, standardization and reuse. To address these needs, the AUTOSAR initiative has developed a layered software development approach that allows companies to cooperate on standards and compete on implementations. As described in this paper, the powerful AUTOSAR standard has the promise to solve many of the engineering challenges facing electronics and software development, when implemented using a profile based on UML / and SysML engineers in the Automotive market are armed with a powerful tool for developing the next generation automotive systems and software. Bibliography OMG SysML Specification, Object Management Group, 140 Kendrick Street, Building A Suite 300 Needham, MA 02494, USA, August 1, 2006 Technical Overview V2.0.1, AUTOSAR GbR, AUTOSAR GbR Frankfurter Ring 127 D-80807 Munich, Germany, June 27, 2006. Unified Modeling Language: Infrastructure, Object Management Group, 140 Kendrick Street, Building A Suite 300 Needham, MA 02494, USA, May 7, 2005 Unified Modeling Language: Superstructure, Object Management Group, 140 Kendrick Street, Building A Suite 300 Needham, MA 02494, USA, August 2005 Web Sites: www.autosar.org www.omg.org www.telelogic.com 13 of 14

About Telelogic Telelogic is a leading global provider of solutions for automating and supporting best practices across the enterprise from powerful modeling of business processes and enterprise architectures to requirements-driven development of advanced systems and software. Telelogic s solutions enable organizations to align product, systems, and software development lifecycles with business objectives and customer needs to dramatically improve quality and predictability, while significantly reducing time-to-market and overall costs. To better enable our customers drive towards an automated lifecycle process, Telelogic supports an open architecture and the use of standardized languages. As an industry leader and technology visionary, Telelogic is actively involved in shaping the future of enterprise architecture, application lifecycle management and customer needs management by participating in industry organizations such as INCOSE, OMG, The Open Group, Eclipse, ETSI, ITU-T, the TeleManagement Forum, and AUTOSAR. Headquartered in Malmö, Sweden, with U.S. headquarters in Irvine, California, Telelogic has operations in 20 countries worldwide. Customers include Airbus, Alcatel, BAE SYSTEMS, BMW, Boeing, DaimlerChrysler, Deutsche Bank, Ericsson, General Electric, General Motors, Lockheed Martin, Motorola, NEC, Philips, Samsung, Siemens, Sprint, Thales and Vodafone. For more information, please visit www.telelogic.com Version 1: 21 May 2007 14 of 14