simscape model and simulate multidomain physical systems

29
1 © 2015 The MathWorks, Inc. April 21 st 2016 Waterfront Congress Center (Stockholm) Physical Modeling as Enabler for Simulation-Based Design

Upload: lyhanh

Post on 31-Dec-2016

264 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Simscape Model and simulate multidomain physical systems

1© 2015 The MathWorks, Inc.

April 21st 2016 – Waterfront Congress Center (Stockholm)

Physical Modeling as

Enabler for Simulation-Based Design

Page 2: Simscape Model and simulate multidomain physical systems

2

Agenda 1. Physical modeling (simulation-based design)

2. Mechatronic design workflow

3. Design optimization

4. Conclusions

Page 3: Simscape Model and simulate multidomain physical systems

3

First Principles Modeling

First principles (Simulink) suitable for simple systems

common during 90s

Differential algebraic equations

created manually (blocks)

Page 4: Simscape Model and simulate multidomain physical systems

4

Physical Modeling

Physical Networks (Simscape) complexity & multi-domain

solver flexibility (testing)

proven (automotive, aerospace)

high priority development

Differential algebraic equations

automatically created (topology)

Page 5: Simscape Model and simulate multidomain physical systems

5

scalability

re-usability

Physical Networks (Simscape)

Page 6: Simscape Model and simulate multidomain physical systems

6

Physical Modeling (requirements)

system design

(integration, optimization)

Page 7: Simscape Model and simulate multidomain physical systems

7

Physical Modeling (requirements)

system design

(integration, optimization)

development of

control algorithms

Page 8: Simscape Model and simulate multidomain physical systems

8

Physical Modeling (requirements)

system design

(integration, optimization)

development of

control algorithms

hardware-based

physical emulation

(real-time testing)

Page 9: Simscape Model and simulate multidomain physical systems

9

Mechatronic Design

(recommended workflow)

Page 10: Simscape Model and simulate multidomain physical systems

10

1. CAD import => 3D mechanical systems in Simulink

Mechatronic design – step 1

Page 11: Simscape Model and simulate multidomain physical systems

11

2. Kinematic Analysis imposition of a given kinematic movement (duty cycle)

evaluation of required torque/forces

Mechatronic design – step 2

Page 12: Simscape Model and simulate multidomain physical systems

12

3. Dynamic Analysis closed-loop motion control

application of torque and/or force

control design (tuning, stability ….)

Mechatronic design – step 3

demo

Page 13: Simscape Model and simulate multidomain physical systems

13

Page 14: Simscape Model and simulate multidomain physical systems

14

4. Actuator Design selection of actuator (PMSM, brushless…)

optimal sizing (avoid overdimensioning)

electric effects (network, battery, energy consumption…)

Mechatronic design – step 4

Page 15: Simscape Model and simulate multidomain physical systems

15

5. Model re-use for real-time testing discretization [ solver, sample time ]

benchmark [ fidelity vs. speed ]

code generation

Mechatronic design – step 5

demo

Page 16: Simscape Model and simulate multidomain physical systems

16

Page 17: Simscape Model and simulate multidomain physical systems

17

Design Optimization

(based on physical model)

Page 18: Simscape Model and simulate multidomain physical systems

18

Hydro-mechanic drill mechanism (unlock)

Page 19: Simscape Model and simulate multidomain physical systems

19

Hydro-mechanic drill mechanism (lock)

Page 20: Simscape Model and simulate multidomain physical systems

20

1. Parameter Estimation (calibration) measurement signals to MATLAB workspace

optimization-based method (iterative execution)

Design Optimization – task 1

Page 21: Simscape Model and simulate multidomain physical systems

21

2. Sensitivity Analysis (system insight) parameter sweep [MATLAB scripting]

statistic methods [formal & systematic]

Design Optimization – task 2

demo

Page 22: Simscape Model and simulate multidomain physical systems

22

Page 23: Simscape Model and simulate multidomain physical systems

23

Conclusions

Page 24: Simscape Model and simulate multidomain physical systems

24

Simulation-based Design = System

Page 25: Simscape Model and simulate multidomain physical systems

25

Simulation-based Design = Controls

Page 26: Simscape Model and simulate multidomain physical systems

26

Simulation-based Design = Testing

demo

statin

Page 27: Simscape Model and simulate multidomain physical systems

27

MATLAB/Simulink offers a unique environment

for data analytics & embedded development

Partnership with MathWorks

reduces risk and accelerates the adoption process

Page 28: Simscape Model and simulate multidomain physical systems

28

Author contact information:

Juan Sagarduy

Application Engineer PhD

MathWorks AB (Kista – Stockholm)

E-mail: [email protected]

Tel: +46 85051 6955