Using ModelSim and Matlab/Simulink for System Simulation in Automotive Engineering

Similar documents
Field Programmable Gate Arrays a Case Study

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

ABB June 19, Slide 1

Calibration. DOE & Statistical Modeling

Dr. Daho Taghezout applied magnetics (CH 1110 Morges)

Proper Modeling of Integrated Vehicle Systems

COMBUSTION CONTROLLER DEVELOPMENT AND APPLICATION USING MODEL-BASED DESIGN

Using SystemVerilog Assertions in Gate-Level Verification Environments

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

Model-Based Engine Calibration

Universal Fluid Power Trainer (UFPT)

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. Functional Validation of Battery Management Systems

Full Vehicle Simulation for Electrification and Automated Driving Applications

Universal Fluid Power Trainer (UFPT)

Software Failure Analysis of Brake-By-Wire Automotive Safety Critical System using FMEA, FTA and MATLAB Techniques

Programmable Comparator Options for the isppac-powr1220at8

EECS 461 Final Project: Adaptive Cruise Control

ELECTRICAL MACHINES LAB.

University Of California, Berkeley Department of Mechanical Engineering. ME 131 Vehicle Dynamics & Control (4 units)

Modelling of a Double Clutch Transmission with an Appropriate Controller for the Simulation of Shifting Processes

The ABB Medium Scale Power Transmission Test Case

The MathWorks Crossover to Model-Based Design

Experience the Hybrid Drive

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

Technologies for ToT & Power Electronics Test Facility. under NaMPET-II CDAC, Thiruvananthapuram

Synchronising a Modelica R. Real-Time Simulation Model with a Highly Dynamic Engine Test-Bench System. Abstract. 2 Hardware-in-the-Loop system

Experimental Investigations of Transient Emissions Behaviour Using Engine-in-the-Loop

System Adaptation as Key Technology towards Automated Driving

MXSTEERINGDESIGNER MDYNAMIX AFFILIATED INSTITUTE OF MUNICH UNIVERSITY OF APPLIED SCIENCES

R&D Vehicle Systems Ltd

Design and Simulation of a Sun Tracking Solar Power System

Learn to Design with Stratix III FPGAs Programmable Power Technology and Selectable Core Voltage

VHDL (and verilog) allow complex hardware to be described in either single-segment style to two-segment style

Highly dynamic control of a test bench for highspeed train pantographs

SIMPACK User Meeting May 2011 in Salzburg

Greenhouse Gas Emissions Model (GEM) User Guide

Support of automobile transmission development with co-simulation of vehicle and driver behaviour at virtual driving tests

Model based development of Cruise Control for Mercedes-Benz Trucks

Modeling and Simulate Automotive Powertrain Systems

AMT Fault Diagnosis Technology Based on Simulink and LabVIEW

Testing with Virtual Prototype Vehicles on the Test Bench

RIDE AND HANDLING OPTIMIZATION

Multi-disciplinary Design of Alternative Drivetrains an Integrated Approach for Simulation and Validation

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

Innovative Testing Equipment. Torque sensors Vehicle Applications Actuators

Test Plans & Test Results

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

IMPLEMENTATION OF A VEHICLE-IN-THE-LOOP DEVELOPMENT AND VALIDATION PLATFORM

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

Integration of EtherCAT in Advanced Test Systems Solutions and Challenges. Dr. Frank Schütte, Andreas Tenge, Dr. László Juhász dspace GmbH, Paderborn

2015 The MathWorks, Inc. 1

Vitesse. Simulation of Active Vehicle Systems using SIMPACK Code Export

Modelling of propulsion system for complete vehicle verification through simulation

Simulated EV Dynamics: Safety & etvc

Implementation of FPGA for Automatic Reverse Braking System

Automatized System of Electrical Diagnosis Validation

CRUSADER. A full vehicle integration facility. Crossfunctional unique systemtest approach driven by entire relationships

Flexible Waveform Generation Accomplishes Safe Braking

Grid Impact of Electric Vehicles with Secondary Control Reserve Capability

ecall for Powered Two Wheeler

International Journal of Advance Research in Engineering, Science & Technology

ELECTRICAL 48 V MAIN COOLANT PUMP TO REDUCE CO 2 EMISSIONS

development of hybrid electric vehicles

Design & Development of Regenerative Braking System at Rear Axle

DEV498: Pattern Implementation Workshop with IBM Rational Software Architect

Building Fast and Accurate Powertrain Models for System and Control Development

Motor Modeling And Position Control Lab Week 3 Closed

Integrated System Models Graph Trace Analysis Distributed Engineering Workstation

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

ABB uses an OPAL-RT real time simulator to validate controls of medium voltage power converters

TUTORIAL Motor Control Design Suite

STPA in Automotive Domain Advanced Tutorial

Application of proportional seat valves to a Self-energising Electro-Hydraulic Brake

Hardware-in-the-loop test-bed of an Unmanned Aerial Vehicle using Orccad

An High Voltage CMOS Voltage Regulator for automotive alternators with programmable functionalities and full reverse polarity capability

Components and tooling to reduce complexity and cost in E/E powertrain system design for Hybrid electric Vehicles

Modeling a Phlegmatized Diesel-Engine in a Hybrid Electric Vehicle Using a Transient Predictive Model Michael Auerbach, October 25th, 2010, Frankfurt

Steady-State Engine Modeling for Calibration: A Productivity and Quality Study

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

University Program Software Selection

REAL AND VIRTUAL PROVING OF AUTOMATED DRIVING IN BERLIN'S MIXED TRAFFIC. Dr. Ilja Radusch,

Optimizing Performance and Fuel Economy of a Dual-Clutch Transmission Powertrain with Model-Based Design

Tyre. Monitoring. System. & Wear. Presentation. Unique Know How - Physical Approach - Tyre Vision

I. CONNECTING TO THE GCU

Electrical 48-V Main Coolant Pump to Reduce CO 2 Emissions

Real-time simulation of the 2014 Formula 1 car

JMAAB: supporting MBD deployment and standardization in Japan

Test Plans & Test Results

Power Management Chip. Anthony Kanago Valerie Barry Benjamin Sprague John Sandmeyer

Circular BIST - Organization

Automated Testing in Automotive Software Development using Vehicle System Simulation

Bicycle Hardware in the Loop Simulator for Braking Dynamics Assistance System

Local Memory Bus (LMB) V10 (v1.00a)

VEHICLE DYNAMICS BASED ABS ECU TESTING ON A REAL-TIME HIL SIMULATOR

ASIC Design (7v81) Spring 2000

Research of the vehicle with AFS control strategy based on fuzzy logic

Intelligent Demand Response Scheme for Customer Side Load Management

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

NASA Glenn Research Center Intelligent Power System Control Development for Deep Space Exploration

E-MOBILITY TESTING ALONG THE V-CYCLE EMPHASIS ON THE INTEGRATION TESTBENCH. Markus Maier, RBM Germany

Transcription:

Using ModelSim and Matlab/Simulink for System Simulation in Automotive Engineering Dipl.-Ing. Sven Altmann Dr.-Ing. Ulrich Donath Fraunhofer-Institut Integrierte Schaltungen Branch Lab Design Automation Dresden Mentor Graphics Users Group 2003 9. / 10. Oktober 2003, Sonthofen

Automotive Engineering System Specification - X-by-Wire, ABS, ESP - Automatic climate control - Automatic transmission System Simulation - Functional test - Parametrisation - Configuration Controller Design -ECU -FPGA - ASIC

Outline Objective Matlab/Simulink Vehicle Model VHDL-Design Controller Simulator Coupling System Simulation Summary

Objective Simulation Support in Automotive System Design Requirements for Simulation Reduction in developing effort Increasing design guaranty and reliability Reducing costs Check of the system functionality, performance and security Behaviour of subsystems in interaction with the environment System dynamics in time critical load cases and error situations Optimisation of selected operating parameters

Objective Vehicle modelling Model VEHICLE Model CONTROL Controller design Simulation VEHICLE Simulation CONTROL Simulator coupling Model VEHICLE FhG IIS Library Coupling blocks Model CONTROL System simulation Test environment Exact environment modelling for controller design VHDL

Outline Objective Matlab/Simulink Vehicle Model VHDL-Design Controller Simulator Coupling System Simulation Summary

Matlab/Simulink Vehicle Model Example from MATLAB Demos : - Automatic transmission control Vehicle model contains models of : - Engine, transmission -Controller - Driver activity

Matlab/Simulink Vehicle Model Module : Shift logic Shift logic

Matlab/Simulink Vehicle Model Stateflow model : Shift logic FSM 1 Gear Switching FSM 2 Shift Selection

Matlab/Simulink Vehicle Model Shift Schedule (MATLAB Demo) Threshold Up_Shift Threshold Down_Shift

Matlab/Simulink Vehicle Model Simulation Input Driver activity Simulation Output Vehicle behaviour Throttle Speed Gear

Outline Objective Matlab/Simulink Vehicle Model VHDL-Design Controller Simulator Coupling System Simulation Summary

VHDL-Design Controller System model in Matlab/Simulink Transformation of the Stateflow model Shift logic into VHDL

VHDL-Design Controller Block diagram Shift logic in HDL-Designer FSM 1 Gear Switching FSM 2 Shift Selection

VHDL-Design Controller Transformation of the FSM Gear Switching

VHDL-Design Controller Transformation of the FSM Shift Selection

VHDL-Design Controller Transformation of Shift Schedule Gear Throttle [%] 1 2 3 4 0 10.0 30.0 50.0 10 20 30 10.0 10.0 13.0 30.0 30.0 30.0 50.0 50.0 50.0 40 18.0 34.0 54.0 50 23.0 42.0 60.0 60 27.0 48.0 70.0 70 32.0 56.0 80.0 80 36.0 63.0 90.0 90 40.0 80.0 100.0 100 40.0 80.0 100.0 Shift Schedule (MATLAB Demo) LookUp-Table Up_Shift

VHDL-Design Controller VHDL-Testbench in HDL-Designer Stimuli Throttle Speed MUT Response Gear Reset Clock Test pattern Comparing responses with Shift Schedule

VHDL-Design Controller Simulation results in ModelSim Gear Speed Throttle ModelSim Wavetool

Outline Objective Matlab/Simulink Vehicle Model VHDL-Design Controller Simulator Coupling System Simulation Summary

Simulator Coupling Restrictions of the VHDL-testbench - vehicle dynamics are modelled roughly - no feedback to vehicle behaviour Solution Combining VHDL controller model and Matlab/Simulink vehicle model

Simulator Coupling System model in Matlab/Simulink VHDL model Shift logic

Simulator Coupling Data transfer Throttle Matlab/Simulink ModelSim-Coupler S-Function (DLL) TCP/IP Socket-Channel Matlab-Coupler C-Architecture (DLL) ModelSim Throttle Speed Gear Speed Gear

Simulator Coupling Synchronisation Sample period Sample period Matlab/ Simulink t_simulink simulate to t1 simulate to t2 ModelSim t0 t1 t2 t_modelsim

Simulator Coupling Vehicle model includes ModelSim-Coupler Coupling block to ModelSim

Simulator Coupling Controller model includes Matlab-Coupler Matlab_Coupler Coupling block to Matlab

Outline Objective Matlab/Simulink Vehicle Model VHDL-Design Controller Simulator Coupling System Simulation Summary

System Simulation System testbench Matlab/Simulink Vehicle model ModelSim Throttle Speed Gear Reset Clock Shift logic

System Simulation Matlab/Simulink ModelSim-Coupler Data to ModelSim Data from ModelSim ModelSim Matlab-Coupler Data to Matlab TCP/IP Data from Matlab

System Simulation Diagrams Driver activity Vehicle behaviour Control signals Lists, Statistics...

Outline Objective Matlab/Simulink Vehicle Model VHDL-Design Controller Simulator Coupling System Simulation Summary

Summary Vehicle modelling Model VEHICLE Model CONTROL Controller design Simulation VEHICLE Simulation CONTROL Simulator coupling Model VEHICLE FhG IIS Library Coupling blocks Model CONTROL System simulation Test environment Exact environment modelling for controller design VHDL

Using Simulation Results Check of the system functionality, performance and security Does the transmission switch and are parameters kept (overspeed limitation)? Behaviour of subsystems in interaction with the environment Effect of the current transmission gear for rotation speed and vehicle speed System dynamics in time critical load cases and error situations How does the vehicle react if brake and throttle are simultaneously activated or if signal transfer failed? Optimisation of selected operating parameters Customisation of the shift schedule

Summary Forecast : Synthesis of the FPGA Prototype RTL Schematic of automaton Shift Selection

Thanks for your attention!