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

Similar documents
Model Based Systems Engineering Engine Control: from concept to validation. Jan Smolders Technical Account Manager

SIMPACK - A Tool for Off-Line and Real- Time Simulation

Introduction to Physical Modelling Rory Adams Senior Application Engineer

Simcenter Motion 3D. Mechatronics - Improve Design Dynamics Performance: Combine 3D Multi-Body Simulation with 1D Actuation & Controls Simulation

Real-Time Simulation of Simscape Models

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

Master Class: Diseño de Sistemas Mecatrónicos

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

Plant modeling: A First Step to Early Verification of Control Systems

Vom Konzept zum Modell physikalischer Systeme Smarter Modellieren mit Simscape

Architecture-driven development of Climate Control Software LMS Imagine.Lab Embedded Software Designer Siemens DF PL

Modelling, Simulation, and Real-Time Testing for Model-Based Design GianCarlo Pacitti Application Engineer MathWorks

Introduction to Control Systems Design

Paul Goossens Product Director

DSH plus a HWPA Program Gateway into Model-Based Design of Mechatronic Systems

Conference Dynamic Simulation in Vehicle Engineering Realtime Simulation of Vehicles Containing Detailed Components

Modern techniques bring system-level modeling to the automation industry

Physical Modeling of Multi-Domain System

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

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

Combined real and virtual domain product validation using top-down strategies

Controller Calibration using a Global Dynamic Engine Model

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

Consistent Simulation Environment with FMI based Tool Chain

Entwicklung mechatronischer Systeme in der Luft- und Raumfahrt

Virtual engineering at work: the challenges for designing mechatronic products

Real-Time Simulation of Modelica-based Models

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

A Study of the Effects of. Fixed-Point Arithmetic. on Hybrid Simulation Accuracy

System modeling using Simulink and Simscape

Automated test of the AMG Speedshift DCT control software

European Conference on Nanoelectronics and Embedded Systems for Electric Mobility. HIL platform for EV charging and microgrid emulation

Design and Verification of Motion Control Algorithms Using Simulation

High-Fidelity Transmission Simulation for Hardware-in-the-Loop Applications

HIL/SIL BY DEVELOPMENT OF SIX-LEGGED ROBOT SLAIR2

Pointing Accuracy Analysis for a Commander s Independent Weapon Station Demonstrator

John Hsu Nate Koenig ROSCon 2012

Automated test of the AMG Speedshift DCT control software

DEMO. The Professional Software Suite for Automatic Control Design and Forecasting. EICASLAB Demo RT-emb

Discontinuous Galerkin Sparse Grid method for Maxwell s equations

Rapid Control Prototyping with MATLAB/Simulink Case Study: Ball-on-Wheel

Volvo Car Group Jonn Lantz Agile by Models

Physical Modelling with Simscape

Real-time Cyber-Physical Co-simulation of Power Grids. Vahid Jalili-Marandi, Ph.D., OPAL-RT Technologies, Montreal, Canada April 2018

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

M-Target for Simulink. For perfect simulation and model based design.

RoboVib Structural Test Station. Automated Experimental Modal Testing Product Brochure

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

Using RecurDyn. Contents

Further Developments and Applications of SIMPACK Code Export

Simulation-based development of automotive control software with Modelica

Introduction to Simulink. Todd Atkins

Modeling Mechanical, Electric, and Hydraulic Systems in Simulink

Importing Models from Physical Modeling. Tools Using the FMI Standard

Matlab Simulink Simscape

Data-Driven Modeling. Scientific Computation J. NATHAN KUTZ OXPORD. Methods for Complex Systems & Big Data

Uncovering the Lagrangian of a system from discrete observations

efpgasim Features & Applications

Advanced machine automation

DRYING CONTROL LOGIC DEVELOPMENT USING MODEL BASED DESIGN

Plant Modeling for Powertrain Control Design

Sensor Accuracy in Vehicle Safety

Developing Algorithms for Robotics and Autonomous Systems

1.7.1 Laplacian Smoothing

Hartley - Zisserman reading club. Part I: Hartley and Zisserman Appendix 6: Part II: Zhengyou Zhang: Presented by Daniel Fontijne

Control Systems Laboratory Manual Hardware and Software Overview. 2 Hardware Equipment. 2.1 Analog Plant Simulator (EE357 Only)

Virtualizing the TCU of BMW's 8 speed transmission

Module Test in System Context

Automated calibration of a tractor transmission control unit

Analysis of Power System Stability by Using Optimally Located SVC and STATCOM

Hardware-In-Loop Test Setup Automation

A robust Trimmed Body modal model identification method enabling body stiffness characterization Bart Peeters, Theo Geluk, Mahmoud El-Kafafy

ChE 400: Applied Chemical Engineering Calculations Tutorial 6: Numerical Solution of ODE Using Excel and Matlab

Numerical Simulation of Dynamic Systems XXIV

The Art of Fabricating a Rotational Accelerometer. by Mike Insalaco

Embedded Real-Time Systems

Finite Element Analysis using ANSYS Mechanical APDL & ANSYS Workbench

Engine Plant Model Development and Controller Calibration using Powertrain Blockset TM

Applications of Program analysis in Model-Based Design

How Simscape Supports Innovation for Cyber-Physical Systems

Modeling and Simulation of Electromechanical Systems

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

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual

Real-Time Hardware-In-Loop simulation for automated validation of diagnostic services

LMS Virtual.Lab Motion Desktop

Real-Time Testing in a Modern, Agile Development Workflow

The Role of Real Time Digital Simulation into the Power Systems Development

ME scope Application Note 42 Multi-Input Multi-Output (MIMO) FRFs

Cecilia Laschi The BioRobotics Institute Scuola Superiore Sant Anna, Pisa

PORTFOLIO APPROACH BENEFITS AT A GLANCE SIMULATION SOLUTIONS TEST SYSTEM SOLUTIONS TESTING EQUIPMENT. TESTING Battery EQUIPMENT SIMULATION TOOLS

Recent developments in Real-Time Hybrid Simulation (RTHS)

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

How to Run an AMESim model with the RT-LAB Platform

Recent developments in simulation, optimization and control of flexible multibody systems

Developing Optimization Algorithms for Real-World Applications

Estimation of Model Parameters Using Limited Data for the Simulation of Electric Power Systems

ESI ITI Academy. Courses and Contents

Using Cost Effective Distributed HIL for Rapid Prototyping

Robotics System Toolbox

New paradigm for MEMS+IC Co-development

Transcription:

Mathieu Dutré - Application Specialist MBSE Analysis and optimization of physical models for HIL simulation Smarter decisions, better products.

Industry drivers for HIL simulation Model Driven Virtual Design Initial Prototypes Available Production Ready Prototype Driven Resolution Cost Generates usecases for HIL Development Time Line Frontload component testing Driving Simulator Controls calibration and validation Page 2

Why this session? Prepare for HIL simulation Virtual Vehicle INTEGRATION?!PLANT MODEL CRASHED?! Provide support in the analysis and optimization of physical models prior to integration on an HIL system Understand reasons behind a plant model crash The different steps and need of model reduction techniques Connection between physical models and computer science Demonstration on the modal projection toolbox in context of HIL optimization Tricks to reduce the integration timestep requirements for your HIL platform Page 3

LMS Imagine.Lab Amesim Selecting the right model using LMS Imagine.Lab Amesim Prepare for HIL simulation low high The proper model is the one having the minimum complexity required to address the modeling objective (frequency range of interest) More details in your *.ame model, mean higher frequencies embedded in your model That could slow down CPU time in case these eigenvalues would be excited Page 4

Engineering questions prior to HIL integration Prepare for HIL simulation Starting point: High fidelity model for MIL/SIL Objective: RT compatible model 7.2> RT Variable step Solver MODEL REDUCTION ACTIVITY <1.0 RT Fixed step Solver HIL INTEGRATION MIL /SIL INTEGRATION What would be an appropriate sample time for my model on the for RT platform? Can I lower requirements of my sample time on the HIL platform by lowering my model fidelity or change parameters? What kind of physical component(s) is critical for the stepsize definition? What is the critical linearization time for the model? How to use my variable step solver model to analyze if my model is ready for a fixed step solver? Page 5

How to connect physics to computer science? Catch up with Systems Theory Physical Models Differential equations Δ x = A. Δx + B. Δu Δy = C. Δx + D. Δu Eigenvalues Re j Im Page 6 Requirements for solver used on the HIL platform?

Integration Methods Solver stability criterium Catch up with Systems Theory SOLVE x = f x, u Numerical integration (ODE1) dx dt x n+1 x n h x n+1 = x n + h. f x n, u n x n+1 = x n + h. λ. x n + h. b. u n h EULER x n+1 = 1 + h. λ. x n + h. b. u n [x n+1 is only a function of past values. This is ok for real-time computation ] With h = t n t n 1 (integration stepsize used on the RT platform) Assuming that the system is free (u = 0) Stability criterium for ODE1 solver integration x n+1 = 1 + h. λ. x n x n+1 = a. x n Or x n+1 = a n. x 0 (This equation converges only if a < 1) CRITERIUM for ODE1 INTEGRATION = 1 + hλ 1 Page 7

Connecting physics to computer science Catch up with Systems Theory Fcpu = 1 h CRITERIUM for ODE1 INTEGRATION = 1 + hλ 1 λ = Re ± j. Im Faster system dynamics Higher Eigenvalues Overdamped: λ = R 1 R Fcpu 1 1 1 R Fcpu 1 R 2 0 Fcpu Oscillating : λ = R + j. J 1 R Fcpu + j. J Fcpu 1 1 R Fcpu 1 2 R Fcpu + 2 + R Fcpu J Fcpu 2 + 2 1 J Fcpu 2 1 Thougher Requirements for RT solver Page 8 [The natural pulsation : W = R 2 +J 2 ] W Fcpu 2 2 R Fcpu R 2 Fcpu W 2 2R Fcpu

Tool for analysis & optimization of plant models for RT Catch up with Systems Theory How to do analysis for a complex physical system? Modal projection toolbox Highlight the worst linearization time Highlight the worst frequency Highlight the majors State/variables/ components involved in each frequency Identify the correct maximum time step to use with Euler Solver (fixed step) Find variables by their names BENEFITS: Adapt your level of model easily and fast, tune the value of parameters Check that your simplified model is still providing accurate results Page 9

Model reduction workflow Catch up with Systems Theory Physical Models Differential equations Δ x = A. Δx + B. Δu Δy = C. Δx + D. Δu Eigenvalues Re j Im Model analysis and optimization Page 10 Stability criterium for Numerical integration Requirements for F_cpu 1 + hλ 1 R 2 Fcpu W 2 2R Fcpu

Starting point: a high fidelity model of the vehicle, its detailed transmission and actuators Application example: Optimize a DCT model for HIL Deploy the DCT model with a maximal integration timestep of 1ms DCT vehicle model Page 11 Plant model including Transmission and driveline 6DOF Engine block and mounts 3DOF Carbody model Transmission actuators

Analyze and reduce a detailed model for fixed time step solvers and Real Time simulations Application example: Optimize a DCT model for HIL 1)ANALYZE the integration timestep used by the variable step solver DEMO 2) ADD linearization time for critical computation times 4) EVALUATE impact of fixed solver on model correctness 3) ANALYZE and OPTIMIZE the physical components and parameters for fixed step solver requirements Page 12

Typical changes towards HIL integration Model reduction of a Hybrid Hydraulic vehicle Place inertia sungear after reduction replace clutch by variable reducer Optimize the characteristics of the hydraulic valves sum up inertia HP & sungear final-drive ratio moved backward final-drive ratio adjusted on sensor Before Model reduction Natural Frequency λ 1.7MHz Page 13 Timestep needed On RT platform 0,00019ms move clutch after reduction final-drive ratio moved backward move inertia HM after reduction

HIL compatible model Model reduction of a Hybrid Hydraulic vehicle After Model reduction Natural Frequency λ 1.7MHz Timestep needed On RT platform 0,00019ms 655Hz 0,49ms Page 14

There s much more to say Siemens solutions for Solution setup for XiL Control Block Diagram Model of the control algorithms Close loop system Sensors Actuators MIL Co-simulation Plant model High Fidelity plant model Generated C code: Software Embedded control on Hardware SL2AME SIL Ameset C-code import or co-simulation HIL S-Function export RTW Variable or fixed step solver Simplification process or distributed processing (if speed-up requested) MODAL PROJECTION TOOLBOX Fixed step solver Page 15 Lower Fidelity plant model

Summary LMS Amesim: Platform to support you in physical modeling activities going from detailed component design to controls validation Model reduction capability: Toolbox and process in place to support simplification of models towards HIL integration Platform openness: Amesim allows HIL integration on a variety of HIL platforms Knowledge transfer: Siemens PLM has specialized engineering teams that can support you in your challenges related to xil testing. Page 16

Thank you! Questions? Mathieu DUTRE Application Specialist, MBSE mathieu.dutre@siemens.com +32472409225 Smarter decisions, better products.