Simulink as a Platform for Full Vehicle Simulation

Similar documents
2015 The MathWorks, Inc. 1

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

Full Vehicle Simulation for Electrification and Automated Driving Applications

Modeling and Simulate Automotive Powertrain Systems

Building Fast and Accurate Powertrain Models for System and Control Development

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

Model Based Design: Balancing Embedded Controls Development and System Simulation

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

Addressing performance balancing in fuel economy driven vehicle programs

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

Virtual Testing of the Full Vehicle System

Novel Chassis Concept for Omnidirectional Driving Maneuvers

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

LMS Imagine.Lab AMESim Ground Loads and Flight Controls

The MathWorks Crossover to Model-Based Design

Downsizing Powertrains NVH Implications and Solutions for Vehicle Integration

Development and Deployment of Virtual Test Systems An enabler to faster and efficient vehicle development

PROJECT WORK. NAME Engine base calibration process. TUTORs Amorese Stefano. JOB POSITION Engine calibration test bench engineer

Vehicle Simulation for Engine Calibration to Enhance RDE Performance

SESSION 2 Powertrain. Why real driving simulation facilitates the development of new propulsion systems

Experience the Hybrid Drive

Model Based Development and Calibration

MoBEO: Model based Engine Development and Calibration

COUPLING HIL-SIMULATION, ENGINE TESTING AND AUTOSAR- COMPLIANT CONTROL UNITS FOR HYBRID TESTING

development of hybrid electric vehicles

THERMAL MANAGEMENT SYNERGY THROUGH INTEGRATION PETE BRAZAS

THE FKFS 0D/1D-SIMULATION. Concepts studies, engineering services and consulting

Development of a Multibody Systems Model for Investigation of the Effects of Hybrid Electric Vehicle Powertrains on Vehicle Dynamics.

Modelling and Simulation Specialists

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

Virtual Testing and Simulation Environment [Micro-HiL] for Engine and Aftertreatment Calibration and Development -Part 2

Comprehensive and Cross-domain Vehicle Simulation for Electrification

Scania complements testing by applying a system simulation approach

Calibration. DOE & Statistical Modeling

State-of-the-Art and Future Trends in Testing of Active Safety Systems

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

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

Model based development of Cruise Control for Mercedes-Benz Trucks

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

DOC design & sizing using GT-SUITE European GT Conference Gauthier QUENEY 09/10/2017

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

Analytical Tool Development for Aftertreatment Sub-Systems Integration

The next revolution in simulation. Dr. Jan Leuridan Executive Vice-President, CTO LMS International

Predictive Control Strategies using Simulink

Proper Modeling of Integrated Vehicle Systems

Automated Testing in Automotive Software Development using Vehicle System Simulation

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

Greenhouse gas Emission Model (GEM) A Compliance Vehicle Model for Certification

Full Vehicle Durability Prediction Using Co-simulation Between Implicit & Explicit Finite Element Solvers

Holistic Range Prediction for Electric Vehicles

SIL, HIL, and Vehicle Fuel Economy Analysis of a Pre- Transmission Parallel PHEV

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

Designing for Reliability and Robustness with MATLAB

Balancing operability and fuel efficiency in the truck and bus industry

VI-CarRealTime. Vehicle Dynamics. Capabilites. Benefits

SIMULATION AND DATA XPERIENCE

Models everywhere: How a fully integrated model-based test environment can enable progress in the future

ENERGY ANALYSIS OF A POWERTRAIN AND CHASSIS INTEGRATED SIMULATION ON A MILITARY DUTY CYCLE

Modelling of Diesel Vehicle Emissions under transient conditions

Chip Simulation for Virtual ECUs

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

Modeling the Electrically Assisted Variable Speed (EAVS) Supercharger

Model-Based Engine Calibration

VIRTUAL VEHICLE Research Center

Real-time simulation of the 2014 Formula 1 car

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

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

Holistic 1D-Model for Cooling Management and Engine Analysis of a Heavy-Duty Truck

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

Using cloud to develop and deploy advanced fault management strategies

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

Robot Arm with Conveyor Belts

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

Testing Electrified Drivetrains for Vehicles without the Battery or Engine. Application Reprint of Readout No. 38

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

Automated Driving - Object Perception at 120 KPH Chris Mansley

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

Simulated EV Dynamics: Safety & etvc

Embedded Torque Estimator for Diesel Engine Control Application

Integrated Engine and Aftertreatment System Technology for EPA 2010 Heavy-duty Emissions Regulations

VIRTUAL HYBRID ON THE ENGINE TEST BENCH SMART FRONTLOADING

Regenerative Braking System for Series Hybrid Electric City Bus

SIMULATING AUTONOMOUS VEHICLES ON OUR TRANSPORT NETWORKS

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

Identification of tyre lateral force characteristic from handling data and functional suspension model

Use of Simpack at the DaimlerChrysler Commercial Vehicles Division

COMBUSTION CONTROLLER DEVELOPMENT AND APPLICATION USING MODEL-BASED DESIGN

ASI-CG 3 Annual Client Conference

Electrified Vehicles as Platforms for Complex System Control

Transportation. Actuators, Pedals and Sensors

Continental Engineering Services

AVL Virtual Testbed. Calibrate beyond the limits

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

CONVENTIONAL AND ELECTRICALLY HEATED DIESEL OXIDATION CATALYST MODELING IN GT-SUITE

Thermal Management: Key-Off & Soak

A First Principles-based Li-Ion Battery Performance and Life Prediction Model Based on Single Particle Model Equations

Case study on Selective catalytic reduction(scr) performance improvement over legislative engine cycles using 1D simulation

Integrated Modeling Approach for Highly electrified HEV. Virtual Design and Simulation Methodology for Advanced Powertrain Prototyping.

Overview of Current Vehicle Dynamics

Active Systems Design: Hardware-In-the-Loop Simulation

Transcription:

Simulink as a Platform for Full Vehicle Simulation Mike Sasena (Product Manager) Lars Krause (Application Engineer) Ryan Chladny (Development) 2018 The MathWorks, Inc. 1

Fuel Economy Simulation 2

Vehicle Dynamics Simulation Ride & handling Chassis controls ADAS / AD 3

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Why are these cool? Reduce time on HIL, dyno, vehicle testing Account for complex thermal behavior Estimate tailpipe emissions more accurately Assess longitudinal / lateral dynamics Perform closed-loop testing Test in a virtual 3D environment 4

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing 5

Background Context Automotive engineers need to evaluate powertrain systems as early as possible What is the expected fuel economy, performance and emissions of my vehicle? What is the impact of my controller on system efficiency? Which electrification strategy should we develop? Model-Based Design has become an important methodology for answering these questions and accelerating the development process Challenges It s hard to do good Model-Based Design without good models 6

Powertrain Blockset Goals: Provide starting point for engineers to build good plant / controller models Provide open and documented models Provide very fast-running models that work with popular HIL systems Lower the barrier to entry for Model-Based Design 7

Powertrain Blockset Features Library of blocks Pre-built reference applications 8

Drivetrain Energy Storage Propulsion Transmission Vehicle Dynamics and Auxiliary Drive Vehicle Scenario Builder 9

Reference Applications Full vehicle models (conventional, EV, multi-mode HEV, input power-split HEV) Virtual engine dynamometers (compression ignition, spark ignition) 10

Four Use Cases. One Framework. Use Cases: 1. System design and optimization 2. Controller parameter optimization 3. System integration test Requirements Closed-loop Simulation Rapid Prototyping 4. Software-hardware integration test (HIL) UC1 Subsystem Design UC2 Unit Design Adapt and Reuse Production Code Generation UC3 Unit Test UC4 Subsystem Test System Test Vehicle Test System Test (HIL) 11

Powertrain Blockset Value Proposition Open and documented library of component and subsystem models Prebuilt vehicle models that you can parameterize and customize Fast-running models that are ready for HIL deployment 12

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing 13

Background Context Automotive OEM s and Tier 1 suppliers must assess vehicle s dynamic performance Will the vehicle roll over? What s the stopping distance of the vehicle? Do the stability controls perform adequately? Answer questions by building prototypes and / or running simulations Challenges Prototypes are expensive, so must achieve a good design as early as possible Specialized vehicle dynamics simulation software is quite expensive and difficult to use Integrating 3 rd party vehicle dynamics software with Simulink controls is cumbersome 14

Vehicle Dynamics Blockset New product (R2018a) Model and simulate vehicle dynamics in a virtual 3D environment Use Vehicle Dynamics Blockset for: Ride & handling: characterize vehicle performance under standard driving maneuvers Chassis controls: design and test chassis control systems ADAS / AD: create virtual 3D test ground for ADAS and automated driving features Ride & handling Chassis controls ADAS / AD 15

Vehicle Dynamics Blockset Features Pre-built reference applications Library of blocks Game engine 16

Block Library Powertrain Wheels and Tires Steering Suspension Vehicle Body Vehicle Scenarios 17

Game Engine Co-Simulation Simulink Physics of vehicle Initialization of game engine camera vehicle / camera location camera image, ground height, Unreal Engine Rendering / lighting Physics of non-simulink objects Collision detection 18

Reference Applications Vehicle Maneuvers Analyze ride and handling on driving maneuvers such as: Double-lane change Swept sine steering Slowly increasing steering Scene Interrogation Configure the interface to the 3D environment 19

Vehicle Dynamics Blockset Value Proposition Open and documented library of component and subsystem models Prebuilt vehicle models that you can parameterize and customize Fast-running models that are ready for HIL deployment Interface to Unreal Engine 20

Powertrain Blockset and Vehicle Dynamics Blockset: Flexible Modeling Framework 1. Choose a vehicle configuration Select a reference application as a starting point 2. Customize the plant model Parameterize the components Customize existing subsystems Add your own subsystem variants 3. Customize the controllers Parameterize the controllers Customize supervisory control logic Add your own controller variants 4. Perform closed-loop system testing Design optimization Sensitivity analyses MIL / SIL / HIL testing 21

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Reduce time on HIL, dyno, vehicle testing 22

Engine Dynamometer Reference Application Powertrain Blockset includes virtual engine dynamometer reference applications These can be used for a variety of engine controls development and calibration activities Includes several predefined experiments 23

Pre-defined Experiments for Automating Analyses Simulate engine over grid of steady state operating points Import engine dynamometer test data Follow transient torque / speed profile Calibrate controller to match torque command Scale engine and recalibrate controller 24

Automated Calibration Experiment 25

Executable Test Specification Describe the calibration procedure as a Stateflow chart (not a Word doc) Test the procedure virtually Validate / plan calibration procedure with test engineers Start testing on real hardware with refined procedure 26

Flexible Testing Framework Use Powertrain Blockset mapped engine blocks with your own data Create custom engine models using Powertrain Blockset library components Connect in your own engine model (e.g., 3 rd party CAE tool) 27

Controls Validation with Engine Model Co-Simulation 28

Controls-oriented Model Creation Detailed, design-oriented model Fast, but accurate controls-oriented model 29

How Accurate is the Mapped Engine Model? Auto-generated mapped engine model vs. co-simulation with design-oriented CAE model: 0.3% fuel economy difference 50x faster Mapped engine model Design-oriented engine model 30

Engine Test Data Import 31

Engine Modeling and Calibration Calibrate engine control inputs to match torque command Define and simulate custom calibration procedures Generate engine maps from CAE models or engine dyno data 32

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Account for complex thermal behavior 33

Engine Cooling System Take customization one step further Start with Custom Driveline variant Add Engine Cooling subsystem adapted from sscfluids_engine_cooling_system 34

Conventional Vehicle with Simscape Engine Cooling 1. Heat rejection calculation 1 2. Heat distributed between oil and coolant 2 3. Temperature of cylinder used to validate cooling system performance 1 2 3 35

Cooling Circuit Modeling Create detailed, multi-domain subsystem models with Simscape Incorporate them into system level vehicle models from Powertrain Blockset Validate subsystem performance with closed loop simulation 36

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Estimate tailpipe emissions more accurately 37

Exothermia Exothermia is a MathWorks Connections Partner axisuite : modular software for the simulation of exhaust aftertreatment devices and systems axitrap: for wall-flow particulate filters axicat: for flow-through catalytic converters with any kind of catalytic coating axifoam: for foam-based or fiber-based filters and catalysts, with any type of catalytic coating axiheat: for connecting pipes Models can be exported as S-functions for coupling with Simulink-based software, e.g. Powertrain Blockset axisuite is a trademark of Exothermia www.exothermia.com 38

Catalyst simulation in the V-shape development process Catalyst experts Systems integration Controls department Concept analysis Model calibration with axisuite: obtain the reaction rate parameters of each coating technology CFD, FEA experts CFD and control experts use their preferred simulation platforms. No need for recalibration of chemistry. 39

Catalyst Modeling Scales More detail (slower) CFD 3D 3D+1D 2D 2D+1D 1D 1D+1D Reduced models Spreadsheet calculations Less detail (faster) Dedicated simulation software for catalytic exhaust aftertreatment Extensively validated and applied by most automotive OEMs and suppliers 40

Overview of Flow-through Catalyst Model Equations in axisuite Koltsakis et al, Appl. Catal B., 1997. Pontikakis et al., Top. In Catal, 2001 Tsinoglou & Koltsakis, Proc. IMechE, 2007 41

Use Cases: Aftertreatment System Design Use axisuite to design aftertreatment system Determine required flow rates, thermal properties, etc. Estimate conversion efficiency, O2 storage dynamics, etc. Couple with Powertrain Blockset to evaluate at vehicle level Test on different drive cycles, ambient conditions, etc. Perform design studies, sensitivity analysis, etc. Catalyst experts Concept analysis CFD, FEA experts 42

Use Cases: Aftertreatment Controls Development Closed-loop testing of controls features AFR control (rear trim), SCR control, etc. Catalyst light-off calibration, thermal management, etc. Diagnostics and predictive maintenance OBD catalyst monitoring Front / rear O2 sensor feedback DPF regeneration feedback Controls department Systems integration 43

Example: Conventional Vehicle + TWC / GPF Started with ConVeh project Replaced default TWC with axisuite model 44

Results Vehicle speed Catalyst temp Exhaust gas flow rate Tailpipe emissions Lambda (post TWC) Conversion efficiency 45

Aftertreatment Modeling Account for system level interactions (driver, vehicle, engine, aftertreatment, etc.) in a single environment Study impact of design and control changes on overall vehicle performance Couple high-fidelity aftertreatment model with real driving conditions 46

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Assess longitudinal / lateral dynamics 47

Reference Application: Double Lange Change 48

Reference Application: Double Lange Change (Maneuver) Set target velocity and lateral position 49

Reference Application: Double Lange Change (Driver) PI controller sets throttle / brake command Predictive driver model sets steering wheel angle command 50

Reference Application: Double Lange Change (Environment) Simple open-loop commands, by default Customize the subsystem as needed: Maneuver-specific inputs Closed-loop feedback Test data playback 51

Reference Application: Double Lange Change (Controllers) Basic controllers provided for engine, transmission and brakes Incorporate your own variants, as needed 52

Reference Application: Double Lange Change (Plant) Use default plant model provided Select variants of interest Customize subsystems Engine Vehicle body Steering Suspension Transmission Tire Driveline 53

Reference Application: Double Lange Change (Visualization) Scopes, gauges, plotters, logs 3D engine interface 54

Ride and Handling Study: Double Lane Change at 30 mph 55

Ride and Handling Study: Double Lane Change at 50 mph 56

Ride and Handling Analyze ride and handling metric of interest Lateral acceleration Roll-over propensity Understeer / oversteer Simulate the vehicle over various driving maneuvers Double lane change Slowly increasing steering Swept sine steering Customer maneuver 57

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Perform closed-loop testing 58

Chassis Controls Study: Braking Test Open loop brake controller simply passes through brake pressure command Disc brakes 59

Chassis Controls Study: Braking Test 60

Chassis Controls Study: ABS Controller Added custom MPC variant to brake controller subsystem At each time step, finds optimal brake pressure for target slip ratio MPC Controller 61

Slip Ratio Vehicle Speed Chassis Controls Study: ABS Controller Open-loop brakes MPC-based ABS Tire lock-up Ideal slip ratio 62

Chassis Controls Study: Braking Test with ABS 63

Split Mu Test 64

Chassis Controls Study: Split Mu Test 65

Chassis Controls Development Study the impact of controller on vehicle behavior Incorporate custom control features Test the closed-loop system over a wide range of scenarios 66

Agenda Product overview Powertrain Blockset Vehicle Dynamics Blockset Six Cool Things You Can Do Engine modeling and calibration Cooling circuit modeling Aftertreatment modeling Ride and handling analysis Chassis controls development ADAS / AD testing Test in a virtual 3D environment 67

ADAS / AD Testing: Virtual 3D Scene Camera sensor sends video to Simulink Synthetic video used for testing visionbased algorithms (e.g., lane detection) 68

Stop Sign Detection and Braking 69

Customizing Scene with Support Package Create your own scenes with Unreal Editor and our Simulink plug-in Unreal Editor project files available in our Support Package: Vehicle Dynamics Blockset interface for Unreal Engine 4 70

Editing Support Package Scene to Add Stop Sign 71

Training Stop Sign Detector Train a stop sign detector as an ACF object detector The detector is trained based on the CVST example and saved as a MAT-file 72

Implementing Detector as System Object Implement the stop sign detector as a system object in Simulink Simulate using Interpreted execution mode classdef StopSignDetector < matlab.system &... matlab.system.mixin.propagates % Stop Sign Detector % Pre-computed constants properties(access = private) end detector methods(access = protected) function setupimpl(obj) d = load('acfdetector'); obj.detector = d.acfdetector; end function [bbox,score] = stepimpl(obj,img) [bboxes,scores] = detect(obj.detector,img); if ~isempty(bboxes) [score,idx] = max(scores); bbox = bboxes(idx,:); end : : else bbox = nan(1,4); score = nan(1,1); end 73

Implementing Braking Logic Start with Scene Interrogation reference application Add braking logic to stop when the stop sign appears Add switching logic Add stop sign detector as MATLAB System Object 74

Changing the Lighting to Night Conditions 75

ADAS / AD Testing Use Unreal Engine as a virtual test environment for ADAS / AD control features Incorporate and test custom sensor models Create custom scenes for exercising the system 76

Value Proposition MathWorks provides vertical products to serve automotive industry, including Powertrain Blockset: powertrain controls, fuel economy and performance simulation Vehicle Dynamics Blockset: ride and handling, chassis controls, AD / ADAS testing These products offer Open and documented library of component and subsystem models Prebuilt vehicle models that you can parameterize and customize Fast-running models that are ready for HIL deployment Framework that supports integration with 3 rd party software 77

Thank You Mike Sasena, PhD Product Manager mike.sasena@mathworks.com 2018 The MathWorks, Inc. 78