Model based development of Cruise Control for Mercedes-Benz Trucks

Similar documents
Five Cool Things You Can Do With Powertrain Blockset The MathWorks, Inc. 1

Modeling and Simulate Automotive Powertrain Systems

Combining Optimisation with Dymola to Calibrate a 2-zone Predictive Combustion Model.

Simulink as a Platform for Full Vehicle Simulation

GENERIC EPS MODEL Generic Modeling and Control of an Electromechanical Power Steering System for Virtual Prototypes

Real-time simulation of the 2014 Formula 1 car

Implementation and application of Simpackmulti-attribute vehicle models at Toyota Motor Europe

MBD solution covering from system design to verification by real-time simulation for automotive systems. Kosuke KONISHI, IDAJ Co., LTD.

development of hybrid electric vehicles

EECS 461 Final Project: Adaptive Cruise Control

MORSE: MOdel-based Real-time Systems Engineering. Reducing physical testing in the calibration of diagnostic and driveabilty features

Building Fast and Accurate Powertrain Models for System and Control Development

Experience the Hybrid Drive

DYNA4 Open Simulation Framework with Flexible Support for Your Work Processes and Modular Simulation Model Library

Embedded Torque Estimator for Diesel Engine Control Application

KISSsys application:

2015 The MathWorks, Inc. 1

Finite Element Based, FPGA-Implemented Electric Machine Model for Hardware-in-the-Loop (HIL) Simulation

Real-time Simulation of Electric Motors

66RHMLPD ([DPSOHVRIXVDJHDQGVSUHDGRI'\PROD ZLWKLQ7R\RWD 0RGHOLFD:RUNVKRS3URFHHGLQJVSS

JMAAB: supporting MBD deployment and standardization in Japan

Multi-ECU HiL-Systems for Virtual Characteristic Rating of Vehicle Dynamics Control Systems

The MathWorks Crossover to Model-Based Design

Model Based Design: Balancing Embedded Controls Development and System Simulation

Real-Time Modelica Simulation on a Suse Linux Enterprise Real Time PC

ASM Brake Hydraulics Model. dspace Automotive Simulation Models ASM Brake Hydraulics Model

STPA in Automotive Domain Advanced Tutorial

Full Vehicle Simulation for Electrification and Automated Driving Applications

TRANSMISSION COMPUTATIONAL MODEL IN SIMULINK

elektronik Designing vehicle power nets A single simulation tool from initial requirements to series production

Low Carbon Technology Project Workstream 8 Vehicle Dynamics and Traction control for Maximum Energy Recovery

VI-CarRealTime. Vehicle Dynamics. Capabilites. Benefits

ONE-PEDAL DRIVING RAPID FEATURE DEVELOPMENT WITH SIMULINK MATHWORKS AUTOMOTIVE CONFERENCE MAY

Ampl2m. Kamil Herman Author of Ampl2m conversion tool. Who are you looking at

Using Virtualization to Accelerate the Development of ADAS & Automated Driving Functions

Dipl.-Ing. Thorsten Pendzialek Dipl.-Ing. Matthias Mrosek. Model-Based Testing of Driver Assistance Systems for Counterbalance Forklift Trucks

LMS Imagine.Lab AMESim Ground Loads and Flight Controls

COMPUTATIONAL MODEL OF THE AVIATION DIESEL ENGINE FOR HIL TESTING

ASM Gasoline Engine Simulation Package. dspace Automotive Simulation Models ASM NEW: Gasoline Engine Model and ASMParameterization

KISSsys Application 008: Gearbox Concept Analysis

USING OF dspace DS1103 FOR ELECTRIC VEHICLE POWER CONSUMPTION MODELING

Implementation of a Control Concept for the Car-in-the-Loop Test Rig on the IPG Xpack4 Real-Time Target

Use of Simpack at the DaimlerChrysler Commercial Vehicles Division

From simulation to real time control of an all electric bus : the ElLiSup project

Overview Python Scripting in Abaqus Specialized Postprocessing Advanced Topics Introduction to Python and Scripting in Abaqus

Automated Testing in Automotive Software Development using Vehicle System Simulation

ASTM B117 Testing Quality Control

MSC/Flight Loads and Dynamics Version 1. Greg Sikes Manager, Aerospace Products The MacNeal-Schwendler Corporation

Chapter 1: Battery management: State of charge

Collaborative vehicle steering and braking control system research Jiuchao Li, Yu Cui, Guohua Zang

Machine Learning & Active Safety Using Autonomous Driving and NVIDIA DRIVE PX. Dr. Jost Bernasch Virtual Vehicle Research Center Graz, Austria

VOLUME 9, FIRST ISSUE

Y. Lemmens, T. Benoit, J. de Boer, T. Olbrechts LMS, A Siemens Business. Real-time Mechanism and System Simulation To Support Flight Simulators

Dr. Daho Taghezout applied magnetics (CH 1110 Morges)

Automated Driving is the declared goal of the automotive industry. Systems evolve from complicated to complex

Beyond Standard. Dynamic Wheel Endurance Tester. Caster Concepts, Inc. Introduction: General Capabilities: Written By: Dr.

Simulated EV Dynamics: Safety & etvc

Design and evaluate vehicle architectures to reach the best trade-off between performance, range and comfort. Unrestricted.

Keysight Technologies Scienlab Charging Discovery System

Smart Meter Impact: Enabling Smart Metering System for Consumption Optimisation and Demand Management. By Gregers Reimann

SPMM OUTLINE SPECIFICATION - SP20016 issue 2 WHAT IS THE SPMM 5000?

Regenerative Braking System for Series Hybrid Electric City Bus

Novel Chassis Concept for Omnidirectional Driving Maneuvers

Power Systems for GRID Simulation. Mahesh Thaker, Director of Engineering AMETEK Programmable Power / VTI Instruments

Momentu. Brake-by-Wire Gathers. HIL Test System for Developing a 12-V Brake-by-Wire System BRAKE-BY-WIRE SYSTEMS

VIRTUAL HYBRID ON THE ENGINE TEST BENCH SMART FRONTLOADING

SIMULATION AND EVALUATION OF ENGINE FRICTION EUROPEAN GT CONFERENCE, FRANKFURT/MAIN, OCTOBER 9TH, 2017

Simulation of Collective Load Data for Integrated Design and Testing of Vehicle Transmissions. Andreas Schmidt, Audi AG, May 22, 2014

IDENTIFICATION OF FUEL INJECTION CONTROL SYSTEM IN A GDI ENGINE

Modelling and Simulation Specialists

GPK for Design and Rating of Industrial Gearboxes

Model-Based Design and Hardware-in-the-Loop Simulation for Clean Vehicles Bo Chen, Ph.D.

Lap Time Simulation Crucial for Racecar Concept Evaluation Fabrice Oehler AMZ Racing, Christoph Hahn MathWorks

Comprehensive and Cross-domain Vehicle Simulation for Electrification

INCREASING ENERGY EFFICIENCY BY MODEL BASED DESIGN

Measurement made easy. Predictive Emission Monitoring Systems The new approach for monitoring emissions from industry

OPTIMORE - Optimised Modular Range Extender for every day customer usage AVL SCHRICK project summary

Podium Engineering complete race cars, vehicle prototypes high performance hybrid/electric powertrain

SIMULATION AND DATA XPERIENCE

Model-Based Engine Calibration

Vehicle Dynamics Models for Driving Simulators

AXINET BATTERY MANAGEMENT SYSTEM. system for monitoring and controlling the performance of charger stations

UK Product Brochure 2010v3:Layout 1 25/02/ :43 Page 1 PRODUCTS 2010

Vitesse. Simulation of Active Vehicle Systems using SIMPACK Code Export

Development of Energy Balance Simulation Method for Vehicles

Integrated Architectures Management, Behavior models, Controls and Software

Electromagnetic Fully Flexible Valve Actuator

Additive Manufacturing at voestalpine

Newton s First Law. Evaluation copy. Vernier data-collection interface

GT-POWER Real-Time Diesel enginemodelfor Hardware in the Loop testing

Field Programmable Gate Arrays a Case Study

U.S. Department of Energy s Vehicle Technologies Program -

ABB MEASUREMENT & ANALYTICS. Predictive Emission Monitoring Systems The new approach for monitoring emissions from industry

SPMM OUTLINE SPECIFICATION - SP20016 issue 2 WHAT IS THE SPMM 5000?

ESC-HIL TEST SYSTEM SOLUTIONS FOR VIRTUAL TEST DRIVING

HDH Validation Program 2 (HILS)

List of notes Powertrain

CHECK AND CALIBRATION PROCEDURES FOR FATIGUE TEST BENCHES OF WHEEL

Steering Module Test Simulator SMTS

Vehicle functional design from PSA in-house software to AMESim standard library with increased modularity

Transcription:

Model based development of Cruise Control for Mercedes-Benz Trucks M. Wünsche, J. Elser 15.06.2004 Truck Product Creation (4P) TPC / MMP Agenda Introduction functional and technical overview Project description motivation and development process C-Code analysis analysing and documentation methods Control-module Structure, metrics and co-operation methods Auto-Code generation experiences and results Testing SIL, PIL and HIL test methods 2

World wide application Cruise Control is used in several commercial vehicles e.g. Heavy duty trucks Delivery Trucks Coaches working machines Cruise Control is used in several market specific vehicles in Europe Turkey Brazil future: NAFTA 3 Functional Overview v T 0 zero injection engine lighted friction torque endurance brakes Desired speed Hysteresis Hysteresis between Drive and Brake Mode in case of increasing slope t t Combined Cruise Control Drive Mode only drive torque allowed Brake Mode only brake torque allowed permanent open outlet valve butterfly valve drive line retarder, e.g. eddy current retarder Adaptive Mode separate controller constant distance regulation Road Speed Limiter limits drive torque activates Brake Cruise Control 4

Controller Overview CC-Lever Acceleration Pedal CAN - Signals Governor Limiter driver set value governor desired value Display desired speed Hysteresis Brake mode act. vehicle speed Speed Governor a a Acceleration T Drive - Brake T min Governor Switch Engine Distance Governor a act. vehicle acceleration 5 Project description World wide application needs functional extension reengineering of Cruise Control was necessary Project of model based software development Auto code generation (Real-Time Workshop Embedded Coder) -Chand written frame code m-script based build process Advantages reuse of reliable functionality reuse of known scaling model based restructuring simulation based function verification one step fixed point code generation 6

C - Code analysis Analysis steps Study of documentation consulting the developers automatically C-code analysis modelling of complicated code parts Analysis results Structure charts Requirements use cases function and variable database simulation models Database 7 Reengineering Tool Analyzer Automatic C-Code analysis tool Developed in R/T Department of DaimlerChrysler in an European research project Outputs structure charts function trees variable lists relation charts SQL like access functions list list of related variables 8

Cruise Control Model Model consists of 16 libraries 4MB mdl-files 2 MB Simulink 2 MB Stateflow 3.900 blocks 140 inputs 40 outputs 340 parameters Co operation model structure is build up in CVS several programmers simultaneously 9 Co-operation methods Interface blocks encapsulate modules data type and scaling of each signal will be checked 10

Tool chain for auto-code generation One supplier tool chain Simulink / Stateflow Fixed-Point blockset Stateflow Coder Real-Time Workshop Embedded Coder no auto scaling used in the project Fixed point blockset most of the Simulink blocks can be used for float and fixed point simulation Embedded Coder adjustment of settings was sufficient to receive desired code appearance user defined storage classes improve code efficiency 11 Main steps for code optimisation RAM: 410 210 Byte RAM / Byte Top level function-call scheduler (1) Using bit-fields in exported internal signals (2) Using bit-fields in generated data structures (3) Elimination of intermediate interface variables (4) 410 (1) 390 380 (2) (3) 300 (4) 210 STACK: 220 80 Byte Some subsystems realised as atomic functions (1) Elimination of the most 32bit operations (2) Redesign of some atomic subsystems (3) 220 (1) STACK / Byte 110 95 80 (2) (3) 12

Hand written vs. Auto code 300 byte 200 249 210 hand written code 27 Kb auto code 19 Kb RAM effort of Auto-Code is 16% less than optimised hand written code! 150 100 50 64 80 0 RAM STACK ROM 13 Test step overview Test completion Vehicle Test HIL HIL Test Test Auto-Code Evaluation SIL Simulation Module Test Module Test Module Test... 0 100% Software Development 14

SIL - Simulation System Driver Controller model Vehicle model Interactive tests, test-database with predefined tests and free combination of both 15 Auto-Code Evaluation Controller Model Input one time step Comparison 0,0, Deviation has to be zero! EVA-Board with Auto-Code based binary 16

HIL Tests Software-module Modul x x real controller hardware and software Measuring by CAN-ID s real Vehicle-CAN Stimulation by drive cycles Real-Time vehicle simulation Real-Time sensor simulation 17 Project schedule Design phase C-Code analysis Requirements documentation Structure development Structure verification Modelling of basic functions Winter test drive basic functionality ABS / ASR functionality Extending phase Modelling of additional functions HIL - testing Auto-Code evaluation Summer test drive Final inspection of the whole functionality 18

Conclusions Results Project needs only 18 month until release including analysis, restructuring, modelling and testing SIL based function development high state of maturity before vehicle tests start higher test efficiency desktop debugging instead of debugging in vehicle Code generation Embedded Coder meets our demands code efficiency and readability like hand written code Project aims could be reached in time! Experiences Well defined model structure is essential base for all work, especially in stateflow parts allows multiple use of the feature is a stable base of further enhancements gives easy overlook of complex functions Model reviews efficient method of model optimising shows possible incorrect parts Code evaluation manual code reviews not possible because the whole code will be renewed each time automatic code evaluation is necessary 19