Simulation-based development of automotive control software with Modelica

Similar documents
Simulation-based development of automotive control software with Modelica

Automated test of the AMG Speedshift DCT control software


Virtualizing the TCU of BMW's 8 speed transmission

Automated test of the AMG Speedshift DCT control software

AUTOMATED TEST OF CVT CONTROL SOFTWARE, USING FMI AND MODELICA MODELS

Module Test in System Context

Anticipatory Shifting Optimization of a Transmission Control Unit for an Automatic Transmission through Advanced Driver Assistance Systems

From versatile analysis methods to interactive simulation with a motion platform based on SimulationX and FMI

Extending the IPG CarMaker by FMI Compliant Units

Functional Mockup Interface for Tool and Model Interoperability

Silver + TestWeaver Tools for Simulation-Based Design System Test and Validation

Decoupling Test Cases from Real and Virtual Test Systems with ASAM HIL API

POTENTIAL AND BENEFITS OF FUNCTIONAL MOCK-UP INTERFACE - FMI FOR VIRTUAL VEHICLE INTEGRATION

Real Time Simulation of Complex Automatic Transmission Models. Marius Băţăuş, Andrei Maciac, Mircea Oprean, Nicolae Vasiliu

INTEROPERABILITY WITH FMI TOOLS AND SOFTWARE COMPONENTS. Johan Åkesson

Consistent Simulation Environment with FMI based Tool Chain

Multi-Physics RecurDyn Style Interoperability

Extensive Test of Heavy-Machinery ECU on a NI VeriStand HiL using TestWeaver

Virtual Test Driving in the Development Process New Methods and Tools for Current Challenges

Experiences with the new FMI Standard Selected Applications at Dresden University

ESI ITI Academy. Courses and Contents

INCA-FLOW V4.6 - What s new? Guided Calibration for INCA

FMI WORKSHOP. INCOSE International Workshop, Los Angeles, CA, Contents. Introduction

The Functional Mockup Interface for Tool independent Exchange of Simulation Models

CANape ASAM-MCD3 Interface Version Application Note AN-AMC-1-103

Model Library Mechanics

Rotational3D Efficient modelling of 3D effects in rotational mechanics

Importing Models from Physical Modeling. Tools Using the FMI Standard

Sensor Accuracy in Vehicle Safety

Software-Entwicklungswerkzeuge

Software-Entwicklungswerkzeuge. Modelica Overview. Contents. 1. Modelica Introduction. 2. Modelica Users View. 3. Modelica Libraries

PROPULSION CI. Continuous integration and continuous validation with explorative tests for propulsion controls and calibration

SimulationX The Powerful Simulation Software Package for the Future

MathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape

The Functional Mockup Interface for Tool independent Exchange of Simulation Models

FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT

FMI Kit for Simulink version by Dassault Systèmes

Functional Mockup Interface (FMI) A General Standard for Model Exchange and Simulator Coupling

Design optimisation of industrial robots using the Modelica multi-physics modeling language

Automated calibration of a tractor transmission control unit

From Signal to Service

Cluster Simulation with Integrated Workflow and Test Management. Chandu Puliroju dspace Inc.

vcdmstudio Product Information

Injecting Model-Based Diagnosis Thinking into the Design Process. Johan de Kleer

Yosuke Ogata 1) Bruno Loyer 2) Antoine Viel 3)

Real and Virtual Development with SystemDesk

III-YEAR AUTOMOBILE ENGINEERING AT 2301 AUTOMOTIVE TRANSMISSION UNIT-1 CLUTCH

3.5. virtual ECUs for automotive control development. Silver Installation Guide

Dymola Dynamic Modeling Laboratory

FMI for Industrial Programmable Logic Controllers Rüdiger Kampfmann

How to Improve FMI Compliance

SIMULATOR TO FMU: A PYTHON UTILITY TO SUPPORT BUILDING SIMULATION TOOL INTEROPERABILITY

Thank you for Purchasing a OVTune EcuTek Calibration four your 2016 Mazda MX5 ND

Experience with Industrial In-House Application of FMI

Controlling Hybrid Vehicles with Haskell

A MATLAB Toolbox For ASAM MCD-3MC And ASAM MCD3 Measurement & Calibration Automation

Ensuring quality for ADAS applications with a model-based approach

car=1700 FS gear=13.5 Wind: cw=0.33 AutoGear ThrottlePos JMotorPump=0.28 TS Jturbine=0.034 TS 1 Engine converter ECU ControlBox

Hyper Stimulator Set Up Instructions

This Support Note describes how to configure the trace window to analyse CCP or XCP communication in CANape.

Mathieu Dutré - Application Specialist MBSE. Analysis and optimization of physical models for HIL simulation

Kinematics of Machines. Brown Hills College of Engineering & Technology

dspace Release New Features and Migration

Multi-core Simulation of Internal Combustion Engines using Modelica, FMI and xmod

1 Although other ways of exporting like using the 2 s 1

Electrical solutions for mining. Experience robust performance above and below ground.

Parametrization of Modelica Models on PC and Real time platforms

Automotive System and Software Engineering with Model Based Design

Functional Mockup Interface for Model Exchange and Co-Simulation

Modeling Technical Systems [ ] Mag MA MA Schweiger Gerald TU Graz Spring 2017

Using Vector CANape with Raptor New Eagle Products, Inc.

10 th AUTOSAR Open Conference

Research Article. ISSN (Print) *Corresponding author Chen Hao

Anti-Lock Braking Systems

Development of Custom Workflows for Simulation and Analysis of Functional Mock-up Units

EFFICIENT DEVELOPMENT OF COMPLEX SYSTEMS USING A UNIFIED MODULAR APPROACH

Hardware-In-Loop Test Setup Automation

ADAS Virtual Prototyping using Modelica and Unity Co-simulation via OpenMETA

SERVUS Node Ingest and Playout Server Installation and User Manual. Where to deploy

FMI to NI VeriStand & LabVIEW Add-on. User Guide

Full Virtualization of Renault's Engine Management Software and Application to System Development

Andreas Heinzelmann. Introduction. Structure of the Function and Component Hierarchy

Design and Analysis of a Controller from System Design Idea to AUTOSAR Architecture with Basic Software Modules

Physical Modelling with Simscape

A Seamless Tool Access Architecture from ESL to End Product

Quick Start Training Guide

ASAM XIL. Datasheet. Generic Simulator Interface AE. Title Category Current Version Release Date Download Application Areas

Measuring Everything. White Paper

A Seamless Tool Access Architecture from ESL to End Product. Albrecht Mayer (Infineon Microcontrollers) S4D Conference Sophia Antipolis, Sept.

MASTER THESIS. Modelling and Simulation of Vehicle Kinematics and Dynamics. Balaji Kamalakkannan. Final Report. Master Degree

CHAPTER 3B: ELECTRONIC POWER STEERING

Open, Scalable Real-Time Solutions

Volvo Car Group Jonn Lantz Agile by Models

Introduction to Physical Modelling Rory Adams Senior Application Engineer

Efficient Topology, Topometry and Sizing Optimisation for LS-DYNA Analysis Problems. Coupling LS-DYNA to VR&D GENESIS

the bridge between Vehicle Component and ECU Development

Tooling Overview ADAS - Status & Ongoing Developments

Measurement Solution for new Radar Microcontroller V

EVOLVE-R INSTALLATION MANUAL BMW X5/6M

Transcription:

Simulation-based development of automotive control software with Modelica Emmanuel Chrisofakis, Dr. Anton Rink, Daimler AG Dr. Andreas Junghanns, QTronic GmbH Christian Kehrer, ITI GmbH 8th International Modelica Conference, March 2011, Dresden

Contents Software in the loop simulation at Daimler SIL-environment / functionality Plant model Model compatibility Integration of a SIL-Project Summary slide 2

Software in the loop simulation at Daimler Application area Testing and deployment of functional code Version update safequarding of functional code Desktop -application / -calibration Fault simulation Virtual endurance testing safequarding of drivetrain components calculation of load collectives for gearbox and drivetrain Tool chain SIL-tool Backbone (in house development) Silver (QTronic GmbH) Plant model MSL 2.2 in Dymola 6.2 (Dassault Systèmes) In the future MSL > 3.1 with Dymola from v. 7.4 or SimulationX from v. 3.4 (ITI GmbH) Requirements Powerful, stable and fast simulation environment Easy to use by any engineer Test generator TestWeaver (QTronic GmbH) Software integration platform Microsoft Visual Studio 2005 or 2008 slide 3

SIL-environment / functionality Plant model (Modelica) Functional code (C-Code) The simulation is controlled by a special program (e.g. Silver) which guards the single modules Every module (called Client ) sends its Outputs to Backbone und reads its Inputs from him, i.e. no direct communication between the modules occurs (except for the CANape-coupling with the control software ) The communication step time is fixed and represents the lowest task time step of the functional code (5, 10 or 20 ms) The plant model is wrapped with a nummerical solver which calculates with smaller time steps Backbone waits after each communication step until all clients are finished so that the next step will be initiated (slow model slows down the simulation) Driver (Cocpit) Backbone Silver TCP/IP Calibrate/ measure (CANape) Every Client must be available in C-Code or be precompiled (obj-file) The integration in the SIL environment takes place by wrapping the C-code with the desired API (backbone or Silver) slide 4

Plant model Requirement: accurate calculation of gear shifting Filling and draininig of clutch pistons detailed representation of piston mechanics calculation of the gearbox kinematics including the impact of it to the internal inertia Description The plant model describes the torsional (1-D) and translational (1-D) dynamics of an entire vehicle The modeling focus lies on the detailled description of the gearbox (piston mechanism, coefficient of friction, filling and draining of pistons, etc.). It is about the 7-gear planetary automatic transmission of Mercedes-Benz (7G- Tronic) The engine model is descriptive (look-up table characteristics) and includes an idle speed controller as well as the functionality to manipulate the engine torque during the gear shifting The drag forces are calculated in the vehicle model The model is cut out for the SIL environment and in this form, it is designated for the SIL-export slide 5

Plant model: Modelica Libraries For the creation of the plant model, own devised libraries and standard Modelica components have been used Car-Library includes basic models for building hydraulic and mechanical structures (e.g. orifice, valve edge, planetary gear, parking lock, etc.) AtNag2-Library includes and describes transmission specific models such as hydraulic control unit, mechanical model, clutches and brakes, etc. The libraries Car and AtNag2 were originally created in Dymola 6 with Modelica 2.2 slide 6

Plant model: mechanics Hydraulic interface (from the hydraulic control unit) Sensor interface (rot. speeds) parameter masks of a clutch model All independent inertias of the gearbox are explicitly modeled slide 7

Plant model: hydraulics (control unit) to torque converter and lock-up clutch Hydraulic interface (to the gearbox) The electro-hydraulic control model has been modeled phenomenologically (control logic, no dynamics) for the sake of simulation performance. However, many components such as orifices, shifting valves, fluid volumes etc. have a physical model description in order to accurately describe important effects in the simulation (filling, draining, pressure switch, stucking valves etc.) Parameter mask of a control valve slide 8

Model compatibility The model is compatible to both Dymola 7.4 as well as SimulationX 3.4 as long as MSL 3.1 is used Existing models based on older MSL versions have to be upgraded Once this job is done, no further adjustment is necessery and the models can be easily loaded in both software tools (Dymola and SimulationX) Import in Dymola Import in SimX Directrory structure on the hard disk slide 9

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) Silver slide 10

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) graphical user-interface: interaction of driver/user with simulated car accel pedal, steering, etc. can be controlled plotter, breakpoints, scripting, file in/out,... Configurable GUI Silver slide 11

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) hardware DLL: simulated vehicle, engine and transmisssion Dymola/SimulationX Plant model Configurable GUI FMU Silver slide 12

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) XCP with Canape/INCA: XCP measurements via TCP/IP no limitation of bandwith as with CAN online calibration of parameters Plant model CANape Configurable GUI FMU Silver XCP via TCP/IP slide 13

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) ECU control software as DLL: entire ECU control software frame software emulated by wrapper Plant model CANape Configurable GUI FMU Silver XCP control software wrapper DLL via TCP/IP slide 14

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) A2L and parameter: A2L with address infromation adapted to the DLL parameter values loaded at simulation start Plant model CANape Configurable GUI PDB FMU Silver reader PAR DCM HEX writer A2L XCP control software wrapper DLL via TCP/IP slide 15

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) Scripting with Python: automate frequently used procedures (e. g. engine start, adaptation procedure etc.) implement control tasks (e.g. driver behaviour) Plant model CANape Configurable GUI Python Tests & Adaptation PDB FMU Silver reader PAR DCM HEX writer A2L XCP control software wrapper DLL via TCP/IP slide 16

Integration of a SIL-Project SiL environment Simulation: Silver (QTronic) Measurement: CANape (Vector) Debugging: Visual Studio (Microsoft) Automated Test: TestWeaver (QTronic) Code Coverage: CTC++ (Verifysoft) Debugging with Visual Studio: suspend simulation at any time attach Visual Studio Debugger to Silver Plant model CANape Debugging Visual Studio attach Configurable GUI Python Tests & Adaptation PDB FMU Silver reader PAR DCM HEX writer A2L XCP control software wrapper DLL via TCP/IP slide 17

Summary SIL is an essential tool in the gearbox development at Daimler For the creation of the SIL plant model, Dymola (MSL 2.x) has been used Upgrade of the model to MSL 3.1 enables full compatibility to SimulationX v. 3.4 For the plant model export to SIL the new Modelisar-FMI can be applied SIL integration of the functional code (TCU) is done by wrapping the original code with the Silver-API and emulating the frame software Silver offers the possibility to measure and calibrate TCU-internal signals either directly in the Silver GUI or by coupling to commercial calibration tools such as CANape or INCA The functional code can be easily debugged by using the features of MS-Visual-Studio The utilisation of SIL during the development process leads to accurate code coming along with essential development cost reduction slide 18