PC-Based Validation of ECU Software

Similar documents
Press Release. ETAS Rolls Out New Solutions for Simulink Users

Development of AUTOSAR Software Components with Model-Based Design

Measurement, simulation, virtualization

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

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

ETAS Desk LABCAR Agenda

Measure All ECU labels and Big Data Analytics Solutions for Automotive Data Acquisition and Management

Virtual integration of Automotive Hard- and Software with Silver

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

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

V-Cycle for Automotive SW Engineering. André Pelisser

Production Code Generation for Engine Control System

SystemDesk 3.0

EMC 2 Living Lab Automotive

Development of AUTOSAR Software Components with Model-Based Design

Virtual Integration on the Basis of a Structured System Modelling Approach

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

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

The Timing Model TIMMO Methodology Guest Lecture at Chalmers University

ETAS Webinar: LABCAR - Scalable HiL Solution

Applying Model-Based Design to Commercial Vehicle Electronics Systems

AUTOSAR Automotive Open System Architecture

ADL Automotive. Joubin Adl Zarrabi

Model Sharing to leverage customer cooperation in the ECU software development

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

CaliAV. Guided-Calibration for INCA Concept Overview. By Nithin Nath ETAS/STI

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

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

Guided and automated calibration and validation of powertrain systems

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

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

MathWorks Vision for Systematic Verification and Validation

Model-Based Design of a Quadcopter Ryan Gordon

Application of MBD to Development of ECU Prototype for EPS

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

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

Model-Driven Development for Safety-Critical Software Components

020L: Superior SH2A Design Process using Model Based Design (MBD), Virtualization and Hardware-in- Loop (HIL) Systems Lab

Model Based Embedded System Development for In-Vehicle Network Systems

Driving Embedded Excellence ETAS Company Profile

SOLUTIONS Where innovation drives development

Model Based Approach for the Integration of ECUs

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

Test bench management and automation

DynaFusion Training Catalog

A handle on the future

SystemDesk

NI Hardware-in-the-Loop Test

Model Based Design in a Seamless Embedded Software Process

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

Volkswagen goes Adaptive

Applying MathWorks Tools to Automotive Embedded Software Development. Neil Robson Changan UK R&D Centre Ltd

Software Framework for Highly Automated Driving EB robinos. Jared Combs July 27, 2017

ELECTRONIC-SYSTEM DESIGN IN

Introduction to Simulink & Stateflow

Distributed Model Based Development for Car Electronics

Scilab & Scilab Cloud

Service Oriented Architecture for Agricultural Vehicles

Mastering Unexpected Situations Safely. Chassis & Safety Vehicle Dynamics

ControlCIT A Control Design and Implementation Toolbox for Automatic Vehicle Guidance

How to build an autonomous anything

Safety with Embedded Multicores. Glenn Farrall: Microcontrollers Infineon UK

PERSIST An AUTOSAR-based powertrain control SW product line

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

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

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

AVL List GmbH (Headquarters) Autonomous Driving. Validation and Testing - Challenges. Dr. Mihai Nica, Hermann Felbinger. Public

Software Design and Implementation for the Electronic Parking Brake System Based on Operating System

TCS Enables Connected Products Landscapes

La Modélisation et la Simulation au service de l Innovation

EB Automotive Driving the Future of Software

Function and Software Development for ECUs. Autosar

Developing Safe Autonomous Vehicles for Innovative Transportation Experiences

DNA for Automated Driving. Jeremy Dahan May 8 th, 2017

Eclipsecon Jyothi G Shivashankar. 27 Mar :15 16:40 Room : Lake Audubon. - Ryan D Brooks

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

elektrobit.com Driver assistance software EB Assist solutions

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

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

Development of a Cooperative Tractor-Implement Combination

Embedded Services. Product Information

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

Development of a Cooperative Tractor-Implement Combination

Published in: Proceedings of the 7th INternational Symposium on Advanced Vehicle Control (AVEC '04)

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

Owen J. Search. Project Engineer Bloomy. ni.com. Expo Booth #305

Model Based Controls Moving Beyond Software Domain MAC 2015

Safe and Secure by Design: Systems Engineering Best Practices for Connected Vehicles

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

Ideas for Successful Model Integration with Standardized Software Architectures

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

Abstract. Introduction

Multiparadigm modeling A Mechatronics and Embedded Control Systems perspective

2018 Spring Meeting, PLM Center of Excellence, Purdue University Exploring Application Lifecycle Management and Its Role in PLM

Realizing Smart Manufacturing in Semiconductor Industry with SEMI Standards Alan Weber

Test and Simulation. The nerve center in your MOST development process

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

Scania. Software development and testing

Engineering the Future with AUTOSAR

The Role of Real-Time Workshop Embedded Coder in Supporting Cummins Inc. Vision for Model Based Development

Transcription:

PC-Based Validation of ECU Software Sean Wyatt - ETAS, Inc. Embedded System Workshop Venue: Oakland University School of Engineering and Computer Science, Rochester, MI Date: October 13, 2012

What you will learn Motivation for PC-Based Development How to create MiL and SiL platforms using ETAS INTECRIO software; How to calibrate C-code using production tools like ETAS INCA; How to improve productivity, reduce cost by leveraging the PC platform; 2

Agenda Why PC-based Development Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 3

Agenda Why PC-based Development Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 4

4000 9000 12000 16000 25000 Why PC-Based Development? Engine Management Transmission Management Effort Number of calibrations Vehicle Motion Management Battery Management Consumption and emission requirements Brake Management Increased inter domain connectivity SW- Component 1 AUTOSAR Interface SW- Component 2 AUTOSAR Interface SW- Component 3 AUTOSAR Interface AUTOSAR-RTE Basic Software Module (BSM) Microcontroller Abstraction 100% ECU Hardware New layered standard architecture 0% 1997 2002 2004 2007 Engine control complexity 2010 New functions and variants 5

Effort Why PC-Based Development? Simulation Benches Today 70% Vehicles 2015 40% 2015 40% 2015 20% Today 25% Today 5% 6

Why PC-Based Development? Road to lab to math is basically the idea that you want to be as advanced on the evolutionary scale of engineering as possible. Math is the next logical step in the process over testing on the road and in the lab. Math is much more cost effective because you don t have to build preproduction vehicles and then waste them. We ve got to get out in front of the technology so it doesn t leave us behind. We have to live and breathe math. When we do that, we can pass the savings on to the consumer. - A senior auto executive Summary: Development hardware (ECUs, vehicles etc.) is expensive and PCs are more powerful and inexpensive than ever.

Why PC-Based Development? Automotive industry is already leveraging PCbased development for a range of activities, e.g.: software functional testing and V&V legacy c-code simulation on the PC target-like timing analysis (RTOS) calibration development system development using plant models complete ECU hardware emulation But more can be done.

9 Several studies..

Agenda Why PC-based Validation Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 10

Definitions Our Definition: A virtual ECU development environment is characterized by the absence of physical hardware, i.e. PC-based representation of all components, with or without real-time execution 11

Evolution of Virtualization ECU Application Models, Software Driver, Vehicle and Environment Models 4 Virtual Environment 3 Real ECU 2 Real Vehicle 1 Real Environment 12

What s included for today? Included: ECU algorithm models or embedded code ECU real-time operating system (RTOS) and other basic software components Physical systems (e.g. engine, transmission, body, chassis, driver, environment models) Not included: Virtualization of the ECU hardware (e.g. microcontroller, peripherals) Virtualization of the physical buses (e.g. CAN, FlexRay) 13

Steps to Create a Virtual Environment The main ingredients Physical Models or stimuli ECU Algorithm Models ECU Embedded Code Integration and Build Environment The glue and tools necessary Execution Platform Instrumentation Verification and Validation The development tasks you are interested in 14 Calibration and Measurement Automatic Testing

Model-in-the-Loop (MiL) Simulation Defined as the ECU algorithm model in-the-loop with the plant models May be run within the modeling environment, or Physical Models or stimuli ECU Algorithm Models Integration Connect models and Build in Simulink Environment Run Execution in Simulink Platform under Windows 15

Model-in-the-Loop (MiL) Simulation Defined as the ECU algorithm model in-the-loop with the plant models May be run within the modeling environment, or Run as an executable under Windows - from model-generated code Physical Models or stimuli code gen ECU Algorithm Models code gen Integrate model-code and compile Execution Platform Run executable under Windows 16

Software-in-the-Loop (SiL) Simulation Defined as the ECU embedded software in-the-loop with the plant models May be run within the modeling environment, or Physical Models or stimuli ECU Embedded C-Code S-functions Connect models and S-functions (containing code DLLs) in Simulink Integration and Build Environment Run Execution in Simulink Platform under Windows 17

Software-in-the-Loop (SiL) Simulation Defined as the ECU embedded software in-the-loop with the plant models May be run within the modeling environment, or Run as an executable under Windows Physical Models or stimuli code gen ECU Algorithm Models code gen ECU Embedded C-Code Integrate model-code with ECU code Integration and Build Environment and compile Run Execution in executable Simulink Platform under Windows 18

Agenda Why PC-based Validation Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 19

Virtual Setup for ECU Development Environment (Road, Wind, etc.) Vehicle Driver Subsystem (e.g. Engine) Subsystem (e.g. Transmission) Subsystem (e.g. Chassis) Set-Point (Sensor) Sensor Actuator Sensor Actuator Sensor Actuator Vehicle Network (e.g. CAN) 20

Virtual Setup for ECU Development Environment (Road, Wind, etc.) Vehicle Driver Subsystem (e.g. Engine) Subsystem (e.g. Transmission) Subsystem (e.g. Chassis) Set-Point (Sensor) Virtual Sensor/Actuator Signal Bus Vehicle Network (e.g. CAN) 21

Virtual Setup for ECU Development Environment (Road, Wind, etc.) Driver Set-Point (Sensor) Vehicle Subsystem Models (e.g. Engine, Transmission, Chassis) Virtual Sensor/Actuator Signal Bus Vehicle Network (e.g. CAN) 22

Virtual Setup for ECU Development Environment (Road, Wind, etc.) Driver Set-Point (Sensor) Vehicle Subsystem Models (e.g. Engine, Transmission, Chassis) Virtual Sensor/Actuator and Network Signal Bus m2 m4 m6 m1 m3 m5 m7 function1 function 2 function 3 23

What is INTECRIO? Virtual Sensor/Actuator and Network Signal Bus 26

What is INTECRIO? Plant Models Driver,Vehicle,Environment Application Software Design and Specification Simulink Simulink ASCET C-code obj, lib, dll code gen code gen INTECRIO RTA-OSEK for PC Target HEX and A2L files 27

Key Takeaways PC-based development of ECU software is becoming more widespread due to cost and performance advantages INTECRIO is a versatile platform for PCbased verification and validation (e.g. in MiL and SiL phases) 28

Agenda Why PC-based Validation Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 29

INTECRIO for MiL Simulink Simulink R2007a Embedded Coder R2011a Simulink Coder Hex and A2L Virtual Prototyping 30

31 INTECRIO for MiL

INTECRIO for MiL: Demo Setup Goal: Simulate a Simulink-based plant (throttle) + Simulink throttle controller specification. THR_Cor Actual Position Desired Position Simulink Algorithm Throttle Plant Model 32

Agenda Why PC-based Validation Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 33

INTECRIO for SiL 2 steps Simulink Models Software Component INTECRIO HEX and A2L files 34

INTECRIO for SiL Step 1 with INCODIO Measure C-code Create Interface Calibrate Schedule 35

36 INTECRIO for SiL

INTECRIO for MiL + SiL: Demo Setup Goal: Verify that the C-code implementation of the Throttle Controller matches specification, reusing the stimulus and plant Simulink models. THR_Cor Actual Position Desired Position C-Code Algorithm Throttle Plant Model 37

38 Calibration of C-code with INCA

Key Takeaways MiL: INTECRIO integrates one or more Simulink models at the code level, adds scheduling information and compiles for PC target. SiL: INCODIO parses C-code and makes it visible to INTECRIO for integration with models or other C-code. INTECRIO adds scheduling information and compiles for PC target. 39 Calibration: An industry standard tool like INCA can be used to pre-calibrate ECU software in the SiL environment

Agenda Why PC-based Validation Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 40

INCA with INCA-SIP Algorithm Engineer Simulink INCA Control & Plant Models Legacy C-code.dll INCA-SIP API XCP on Ethernet Windows 41

INCA with INCA-VLINK Calibration Engineer Simulink INCA Control & Plant Models Legacy C-code.dll INCA-EIP INCA-VLINK compile TCP/IP on Ethernet Windows 42

ISLOAR-EVE* (ETAS Virtual ECU) INCA Authoring Virtual Instruments Windows Ethernet *Product not yet released 43

Agenda Why PC-based Validation Definitions What is INTECRIO? Model-in-the-loop with INTECRIO Software-in-the-loop with INTECRIO Other ETAS Solutions Summary 44

Summary Virtual techniques can substantially lower the cost of verification and validation of ECU control models and software. Calibrators can use the same tools in the virtual environment as in the vehicle. Re-use of test cases, models and calibration data across the development cycle further optimizes cost and effort. AUTOSAR architecture further enables validation of ECU software on the PC platform 45

Where to find more information? 1. Virtualization in Automotive Embedded Systems http://www.slideshare.net/realtimeatwork/rts10-virtualization 2. Automotive: The Next Frontier for Virtualization http://www.ok-labs.com/blog/entry/automotive-the-next-frontier-for-virtualization/ 3. Virtualization Technologies for Cars http://marko-wolf.de/files/pewowo08_ecu_virtualization_en.pdf 4. Road-to-lab-to-math: a new path to improved product www.sae.org/automag/features/futurelook/05-2005/1-113-5-78.pdf 5. SAE papers: - 2010-01-0660: Maximizing Test Asset Re-use across MiL, SiL and HiL Development Platforms - 2010-01-0431: Advanced Techniques for Simulating ECU C-code on the PC - 2012-01-0961: Model-Based Verification and Validation of Electronic Engine Control 46

Skills and Networking Opportunities 1. Skills required to leverage PC-based development: - Controls development (e.g. MATLAB/Simulink ) - Software development (e.g. ASCET, C-code) - Plant modeling (i.e. physical systems) - Verification and validation (i.e. testing of embedded software) - Understanding of AUTOSAR architecture 2. Networking opportunities: - Testing Expo (Novi): Oct 23-25, 2012 - SAE World Congress (Detroit): April 16-18, 2013 47

Thank you! 감사합니다. 谢谢 有難うございました Vielen Dank Merci 48