Developing Vehicle Models With Math Works and d Space Pres

download Developing Vehicle Models With Math Works and d Space Pres

of 22

Transcript of Developing Vehicle Models With Math Works and d Space Pres

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    1/22

    1

    MathWorks

    Steve Miller MathWorks

    Adalperostrasse 45

    85737 Mnchen

    Hagen Haupt dSPACE

    dSPACE GmbH Rathenaustr. 26

    33102 Paderborn

    Developing Vehicle Models with MathWorks

    Physical Modeling Solutions & dSPACE

    Automotive Simulation Models

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    2/22

    2

    MathWorks

    Motivation

    Engineers developingtransmissions need

    environment models

    Engineers testing completevehicles need detailed

    transmission models

    Ideally all in a single environment

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    3/22

    3

    MathWorks

    Agenda

    Engineers Needs

    Physical modeling

    Ready to use plant models

    Real-time and HIL

    Solutions

    SimDriveline

    Automotive Simulation Models

    LIVE Demo

    Summary

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    4/22

    4

    MathWorks

    Why do we need physical modeling tools?

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    5/22

    5

    MathWorks

    Signal-Based Modeling Methods

    Pose Challenges Very flexible, but difficult

    to use efficiently

    Requires expertise in

    several areas

    Physics, math, programming

    Deriving system level equationsis difficult and error prone

    Resulting model can be

    difficult to read and maintain

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    6/22

    6

    MathWorks

    Physical Modeling Methods

    Ideal For Plant Models Build accurate models quickly

    System-level equations

    derived automatically

    Model is easier to read

    Reflects structure of system

    Easier to update model New technologies or designs

    can be easily incorporated

    into the model

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    7/227

    MathWorks

    Why do we need ready to use

    simulation models?

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    8/228

    MathWorks

    Offline controller

    development

    HIL testing

    Ready to Use Simulation Models

    Controller development needs

    Ready to use plant models

    for model based design

    Simulation of environmentalconditions (driver, road, traffic)

    Easy handling of parameters and

    simulation results

    Easy integration of extended models

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    9/229

    MathWorks

    Hardware-in-the-Loop AspectsVariable Valve

    Train

    BUS BUS

    Sensors Actuators

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    10/2210

    MathWorks

    Environm ent_Signals

    n_Engine[rpm]

    Trq_MeanEff _Engine_Mod[Nm]

    Engine

    Trq_MeanEff _Engine_Mod[Nm]

    Environm ent_Signals

    Trq_Tire[Nm]

    n_Engine[rpm]

    omega_Out_Diff [rad|s]

    Drivetrain

    BUS BUS

    omega_Out_Diff [rad|s]

    Environm ent_Signals

    Trq_Tire[Nm]

    VehicleDynamics

    Hardware-in-the-Loop Aspects

    Sensor models Actuator models

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    11/2211

    MathWorks

    Hardware-in-the-Loop Aspects

    Complex interaction of models from different domains

    Models need to be real-time capable

    Timely IO connection

    Special measurement and signal generation devices

    Different solver techniques for different domains

    Multi processor / multicore architecture x(t)

    1 ms t

    )(

    1

    1 n

    n

    Tnnxf

    xxfhIhxx

    + +=

    DS1006 MC DS2211-HIL

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    12/2212

    MathWorks

    A combination of the advantages of a ready-to-usesimulation environment (ASM) and SimDriveline

    for the Model-Based Design of a transmission controller

    Vehicle Dynamics

    Environment

    Engine

    Soft ECU

    ActuatorsignalsfromE

    CU

    SensorsignalstoECU

    Soft ECUSignals

    SensorSignals

    TorqueEngineEngineSpeed

    TorqueDiffer entialTireSpeed

    SensorSignalsEnvironment

    Signals

    Drivetrain

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    13/2213

    MathWorks

    SimDriveline

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    14/2214

    MathWorks

    SimDriveline

    Extension of Simscape for

    acausal modeling of rotational

    driveline systems

    Tight integration with Simulink

    Optimized for efficient

    calculations and simulation

    Key features:

    Controllable clutch with kineticand static friction

    Gear and transmission library

    HIL capable

    Combine with Simscape to

    model multidomain physical system

    MATLAB, Simulink

    SimPowerSystems

    Simscape

    SimMechanics

    SimD

    riveline

    SimHydraulics

    SimElectronics

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    15/2215

    MathWorks

    Automotive Simulation Models

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    16/22

    16

    MathWorks

    ASM Tool Suite

    EngineGasoline

    Basic

    Engine

    Diesel

    In-Cylinder

    Engine

    Diesel

    Vehicle

    Dynamics

    Engine

    Gasoline

    Engine

    Gasoline

    In-Cylinder

    BrakeHydraulics

    DieselExhaust

    DrivetrainBasic

    TurboCharger

    Traffic

    Trailer

    Truck

    Electric

    Components

    ModelDesk

    MotionDesk

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    17/22

    17

    MathWorks

    Vehicle Dynamics

    Environment

    Engine

    Soft ECU

    ActuatorsignalsfromE

    C

    U

    SensorsignalstoECU

    Soft ECU

    Signals

    Sensor

    Signals

    Torque Engine

    Engine Speed

    Torque DifferentialTire Speed

    Sensor

    SignalsEnvironment

    Signals

    Drivetrain

    ASM Model Structure

    Simulink models

    Main components

    Soft ECU

    Engine

    Drivetrain

    Vehicle Dynamics

    Environment

    Optimized usability

    Open, documented

    Structured signal access

    Parameterization concept

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    18/22

    18

    MathWorks

    ModelDesk Overview

    GUI for parameterization

    Road generation

    Maneuver definition

    Definition of vehicle model

    variants

    Project management to create

    and handle complete vehicle

    parameter sets Handling of real-time and offline

    models

    Custom component

    parameterization

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    19/22

    19

    MathWorks

    ASM and SimDriveline Demo

    ASM Engine Gasoline as the base model

    SimDriveline 7 Speed transmission model

    Common parameterization in ModelDesk

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    20/22

    20

    MathWorks

    Demo

    h k

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    21/22

    21

    MathWorks

    Summary

    Combining custom-off-the-shelf and physical modeling solutions

    enables engineers analyze the entire system

    Easily set up new drivetrain variants

    Efficiently configure parameters and experiments

    Test controller using hardware-in-the-loop

    SimDriveline with dSPACE ASM & Model Desk

    provides these capabilities

    This combination enables efficient design and testingusing Model-Based Design

    from offline system investigation through controller design

    using hardware-in-the-loop testing

    M hW k

  • 7/29/2019 Developing Vehicle Models With Math Works and d Space Pres

    22/22

    22

    MathWorks

    Questions