Automation framework for converting legacy application to AUTOSAR System using dspace SystemDesk

Similar documents
Agenda. Why AUTOSAR Introduction Technical Overview Backup References. 26 August 2015 Liu Xue

SystemDesk 3.0

SystemDesk

AUTOSAR Automotive Open System Architecture

Development of AUTOSAR Software Components with Model-Based Design

Development of AUTOSAR Software Components with Model-Based Design

AUTOSAR E/E Design Flow Solution. - Optimizing Functional / Logical Architecture Design with EAST-ADL and AUTOSAR

EB Automotive ECU solutions AUTOSAR Basic Software Tooling Functional Safety Customization Services

Embedded Services. Product Information

Model-Driven Development for Safety-Critical Software Components

Application of MBD to Development of ECU Prototype for EPS

DynaFusion Training Catalog

Frontload the design, V&V and certification of software-intensive mechatronic systems by adopting the Digital Twin approach

Experience Report: Developing Off-Highway and Commercial Vehicles ECUs with AUTOSAR

Measurement, simulation, virtualization

Engineering the Future with AUTOSAR

PREEvision 7.0. Roadmap and new Features. 3 th of March 2014

Applying Model-Based Design to Commercial Vehicle Electronics Systems

Title of Slide. Virtual Simulation using QTronic Silver and TestWeaver. Presented by: Robert Ter waarbeek

Introducing Capital HarnessXC The Newest Member of the CHS Family

Working with. Eric Winder, Senior Applications Engineer. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Working with. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Shenoy R K Senior Vice President, Powertrain Electronics Robert Bosch Engineering and Business Solutions ltd.

Global Automotive E/E Standard. Rick Flores, General Motors, AUTOSAR Steering Committee Open Architecture Summit Washington, D.C.

Model-Sharing in the service of Innovation for the Automotive Industry

PC-Based Validation of ECU Software

Ideas for Successful Model Integration with Standardized Software Architectures

Vector is a global company located in Stuttgart, Germany Subsidiaries in USA, Japan, France, Sweden

Model Based Embedded System Development for In-Vehicle Network Systems

Fault Injection for AUTOSAR Systems: Challenges and Solution Antonio Pecchia Critiware s.r.l.

PERSIST An AUTOSAR-based powertrain control SW product line

Smart Strategic Approach for Functional Safety Implementation. Chandrashekara N Santosh Kumar Molleti

Model Based Design in a Seamless Embedded Software Process

Utilization of Simulink Verification and Validation (V&V) and Simulink Design Verifier (SDV) for HVAC Controls Software

Global Activities. Martin Lunt 7 th Open Conference October 23 rd 2014, GM

AUTOSAR and ISO26262 compliant development by use of Libraries

Putting Real Production Software in the Loop, Methodologies Enabling SW Co-Development Between OEMs and Tier 1s

Autosar for Agri cultural Electronics

Advancing Traffic Efficiency and Safety through Software Technology. EAST-ADL2 Overview

The Timing Model TIMMO Methodology Guest Lecture at Chalmers University

SeamleSS Implementation. based on ISO 26262

The Functional. Mockup-Interface: Innovation through. Open Standards. Hubertus Tummescheit, Modelon

Software Tools. Mechatronics, Embedded Control System Design, CAD, Finite Element Analysis, Information Technology and Big Data Areas.

MATLAB & Simulink in validating future technologies with Real time test data in Automotive Engineering. - P. Gandhimathi - S.

Volkswagen goes Adaptive

ETAS Desk LABCAR Agenda

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

A-L-V. Presenters, Ford Chassis Controls: Nate Rolfes John Broderick Jeff Cotter. With Ford MBSE Tools & Methods:

INCA. Integrated tool environment for measurement, ECU calibration and diagnostic. At a glance

EB Automotive Driving the Future of Software

Strategies for MATLAB and Simulink Upgrades

CaliAV - Guided Calibration for INCA Autopilot to efficient best-practice MCD

» Software in Tractors: Aspects of Development, Maintenance and Support «

Safety with Embedded Multicores. Glenn Farrall: Microcontrollers Infineon UK

Usage Model-Based Testing for Hardware In the Loop THE SOLUTION TO BOOST YOUR TEST EFFICIENCY

elektrobit.com Driver assistance software EB Assist solutions

Press Release. ETAS Rolls Out New Solutions for Simulink Users

FACILITATING AGRICULTURE AUTOMATION USING STANDARDS

Model Based Approach for the Integration of ECUs

Simulink as Your Enterprise Simulation Platform

WIND RIVER SIMICS WHEN IT MATTERS, IT RUNS ON WIND RIVER DEVELOP SOFTWARE IN A VIRTUAL ENVIRONMENT

Model-based Management of Software Platforms

Realize Your Product Promise. Simplorer

Agile in Braking Systems

Moving Automotive Software to an Open Source Development Model: Some Unexpected Challenges, Some Interesting Solutions

Virtual Integration on the Basis of a Structured System Modelling Approach

DATA ACQUISITION PROCESSING AND VISUALIZATION ALL-IN-ONE END-TO-END SOLUTION EASY AFFORDABLE OPEN SOURCE

Mango Solution Easy Affordable Open Source. Modern Building Automation Data Acquisition SCADA System IIoT

CRYSTAL. Seamless Life-Cycle Collaboration for Safety-Critical Systems Engineering. Dr. Christian El Salloum AVL List GmbH

Good things come in small packages, We help good become better SEMICONDUCTORS HCL ENGINEERING AND R&D SERVICES

``Overview. ``The Impact of Software. ``What are Virtual Prototypes? ``Competitive Electronic Products Faster

Combining OpenCV and High Level Synthesis to Accelerate your FPGA / SoC EV Application

Calibration Data Management A Puzzle Game no more

Renault Nissan new Software Strategy V07 Olivier Guetta, Emmanuel Coutenceau, Kazuhiro Ishigami

Virtual integration of Automotive Hard- and Software with Silver

Chapter 16 Software Reuse. Chapter 16 Software reuse

Production Code Generation for Engine Control System

Model Sharing to leverage customer cooperation in the ECU software development

New Solution Deployment: Best Practices White Paper

Case Study: A Claims System Modernization

PTC INTEGRITY ASSET LIBRARY INTRODUCTION

Development of a Cooperative Tractor-Implement Combination

Development of a Cooperative Tractor-Implement Combination

An integrated System Development Approach for Mobile Machinery in consistence with Functional Safety Requirements

MODULE COCKPIT SECURITY AND INFOTAINMENT ENGINEER

2010 The MathWorks, Inc. Model-Based Design for High Integrity Software and Hardware

Service Virtualization

ebook FMI The New Standard for Model Sharing and Collaboration 4 Benefits of Incorporating the FMI Standard Into Your Modeling Workflows

A CAN Bus Automatic Test System Wu Jie1,a, Luo Feng2,b

EMC 2 Living Lab Automotive

Torsten Mosis December 3, 2015

The Integrator s Guide to Controller Replacement: Plan Your Strategy

PSS E. High-Performance Transmission Planning Application for the Power Industry. Answers for energy.

Next Generation Vehicle Diagnostics

Trends in Automotive Software Engineering

ENABLING THE SIMULATION OF COMPLEX, HETEROGENEOUS SYSTEMS USING THE FUNCTIONAL MOCKUP INTERFACE (FMI)

WHY ALM AND PLM NEED TO COOPERATE. Jim Brogoitti, PLM Innovation Leader, General Motors

Introducing. Data analysis & Machine learning Machine vision Powerful script language Custom instrument drivers

Simulink as Your Enterprise Simulation Platform

Designing Race Timing Applications Using UHF RFID Technology

Transcription:

Automation framework for converting legacy application to AUTOSAR System using dspace SystemDesk ABSTRACT James Joy, Anush G Nair Tata Elxsi, India AUTOSAR systems are getting very popular in the automotive world. The conversion of legacy application to AUTOSAR system is of great interest to automotive industry across the globe. The Python based automation framework of SystemDesk is very effective in developing time to market solutions. This paper proposes a generic automation framework for the migration of existing application to AUTOSAR architecture using a combination of Matlab scripts and SystemDesk Python APIs. The proposed automation framework uses signal information from the feature models, extracted during the conversion of feature models to SWCs, as inputs for system design. The system architecture model and the RTE are generated using SystemDesk Python interfaces. This is very effective and of having great importance for systems with large number of signals, especially when the implementation is distributed across multiple teams. This automated framework will keep the integrity and consistency of the system architecture. INTRODUCTION Automotive systems are becoming increasingly dependent on embedded computers. In early days, automotive systems were mainly mechanical and include very less electronic controls, but later the importance of electronics and software components started increasing. The use of embedded computers provides better information processing and control capabilities within the vehicle. The modern day cars are having multiplicity of ECUs on board. The introduction of electronic controls in vehicle started with isolated single board solutions. Later the scope changed to vehicle level solutions, using distributed control units in the network. In this distributed architecture, a feature inside the car is distributed across different ECUs connected together by different networking technologies, which makes the modern day automotive systems complex. In order to control the complexity in automotive systems, the AUTOSAR standard [1] is introduced. The AUTOSAR standard defines architecture, application interfaces, interchange formats and an integration methodology for the automotive software. Standard application interfaces in the architecture provides the notion of the applications as a reusable component, interchange formats provides the flexibility of distributed development and the methodology supports all of these activities. The goal of AUTOSAR standard is to create an architecture which will increase the reusability of software components, improve scalability and provide seamless integration of components and services from multiple suppliers. AUTOSAR methodology defines an outline of the system design and configuration steps to develop a system. dspace SystemDesk will cover the system design steps[3]. Figure 1: AUTOSAR Methodology

SystemDesk is an architecture modeling tool for the model-based development process that begins right at the functional system level. Developers working with SystemDesk can easily keep track of the planning, implementation and integration aspects that are relevant to complex system architecture and distributed software systems. SystemDesk also supports teamwork on process-oriented development, and allows OEMs and suppliers to share system models and maintain them jointly. The over view of the migration framework is shown in Figure 2. The first step is automatic conversion of existing Matlab models to AUTOSAR application software components (SWCs). During this conversion the Matlab script will extract the signal information of each SWCs. The second step is the system architecture modeling in SystemDesk. During the system architecture modeling the SWCs are automatically modeled in SystemDesk using the Python APIs. The AUTOSAR system is modeled using the SWCs and the architecture information provided by the user and the network database files. Finally the run time environment (RTE) is generated using SystemDesk RTE generator. Since the conversion starting from the legacy Matlab models to RTE generation is automated with minimal user interaction, this automated framework will keep the integrity of the system development. The user interactions are limited to the areas of specification of the system architecture and software architecture. AUTOSAR SYSTEM DESIGN Figure 2: Eco system The AUTOSAR system design is described by the concept of Virtual Function Bus (VFB) and RTE which really facilitates one of the key features of the AUTOSAR, relocatability of software components. VFB is the central concept of the AUTOSAR standard. The RTE abstracts the software component layer from any implementation details of the basic software and from the hardware. RTE is responsible for communication between application SWCs and service SWCs. RTE [2] also implements the OS tasks, Mode management etc. The main steps involved in the AUTOSAR system design is the architecture definition, design of the software component, this involves the design of structure and interfaces of the functional software of your ECUs and the communication modeling between the different application and service SWCs. The AUTOSAR architecture will ensure the seamless integration of the functional software with the ECU s basic software. The AUTOSAR system design is described in Figure 3. In the overall ECU development, the application and the RTE part is designed and generated using the SystemDesk tool.

The basic software stack (BSW) configuration is another part of the ECU development process handled by tools provided by the BSW stack vendors. The BSW stack contains all the standard automotive modules in a layered architecture. The BSW architecture contains a layer of Microcontroller Abstraction drivers, a layer of ECU Abstraction modules and a layer of Service components. AUTOSAR OS and application specific Complex drivers are additional modules provided as part of BSW stack for flexible development of automotive ECUs based on AUTOSAR architecture. MATLAB MODELS Figure 3: System Design A normal legacy body control application is distributed over a number of Matlab/Simulink models that communicates among themselves as well as the lower layer software. A major part of the AUTOSAR conversion lies in converting these Simulink models to AUTOSAR compliant SWCs [1] [4] [5]. Since the number of Simulink models as well as the interfaces can be considerably large in number, an automated approach towards SWC creation is necessary from the point of view of development effort as well as human error reduction. Matlab scripting (m-scripting) is a simple and effective way to quickly achieve automation in the various stages of AUTOSAR conversion. The different stages in the AUTOSAR conversion are legacy model analysis and generation of I/O signal list, creating AUTOSAR interface, port and data elements corresponding to the I/O signal list of the legacy model, creating wrapper model, runnable and SWC and finally auto code generation. The different stages of AUTOSAR conversion through m-script based automation is represented in Figure 4. The inputs to this process are the legacy Simulink model(s) and the list of AUTOSAR standard key words used to form signal names. The outputs of this process are the SWC and generated code for the SWC corresponding to the legacy model.

An SWC consists of one or more runnables, which can be triggered independently. The individual runnables contains the functionality which exists in the form of legacy Simulink models. Since the legacy models have non AUTOSAR I/Os, conversion of these signals to AUTOSAR standard signals are mandatory. Input and output wrapper Simulink models do the conversion of signals. This conversion can be a simple name change to AUTOSAR standard name, signal multiplexing, de-multiplexing or logical conversions. Figure 4: Modeling Approach SYSTEM MODEL AND AUTOMATION FRAMEWORK System architecture modeling is done using the SystemDesk. SystemDesk is having Python APIs which will enable automation of the architecture modeling and RTE generation process. The software component details for the architecture modeling is directly extracted from the Matlab models and the user will add system architecture details and the ECU details in the same excel sheet. The ExcelDataProcessing class in the python script will read all the necessary information and convert it into a defined standard format that information will be used by other classes to model the architecture and configure the ECU details for the RTE generation. The class diagram for the Python script is given in figure 5. SwComponentModeling class convert the information read from excel sheet to a software component in the system desk library of software components. The rest of the python classes uses this software components for the system architecture modeling. SystemArchitecture class reads the information from the excel sheet and the placements of software components to ECU is handled here. Once the software components are mapped to an ECU then the SwArchitecture class configures the operating system tasks based on the architecture details. The Networking class reads the CAN Database (DBC) files and LIN Description Files (LDF) files to configure the network and map the network signals to the software component signals. The Services class read the information from the excel sheet and create the service components in the system desk library and configure the service component interactions. All these processes will be

monitored by the ExceptionReports class and check the integrity of all the data and the exceptions are reported. This class will provide a statistical report at the end of successful completion of RTE generation. CONCLUSION Figure 5: Python Script Architecture This paper presents an automation framework for the conversion of existing applications to AUTOSAR architecture. The automation framework consists of automation in Matlab for the conversion of application models to SWCs and the automation in SystemDesk for the system modeling and RTE generation. The same framework can be used for the AUTOSAR system modeling and RTE generation for new applications as well. In a system having large number of signals and lot of interactions, it is really difficult to model manually without human errors; the automation can handle large number of signals without any errors. The automation includes the data consistency checks and will ensure the integrity of the system. This automation framework was successfully used in one of our body system ECU migration project having large number of applications features implemented as Matlab models. REFERENCES [1] AUTOSAR (AUTomotive Open System Architecture) development partnership, http://www.autosar.org [2] Specification of RTE, AUTOSAR_SWS_RTE.pdf [3] http://www.dspace.com [4] AUTOSAR_SimulinkStyleguide.pdf Ver 1.0.5 [5] AUTOSAR Seminar WS2008/2009 -Assignment: Simulation of Automotive Systems in the Context of AUTOSAR -Krasnogolowy, Alexander March 31, 2009