Innovation for Cyber-Physical Systems - MathWorks...Airbus: Vahana E-Fan DLR: HY4 Facebook: Aquila...

Post on 18-Jul-2020

3 views 1 download

transcript

1© 2015 The MathWorks, Inc.

How Simscape™ Supports

Innovation for Cyber-Physical

Systems

Kevin Roblet

2

How can we use system-level modelling

to support innovative product design?

3

INNOVATION

4

What about aeronautics?

5

Airbus:

Vahana E-Fan

DLR: HY4

Facebook: Aquila

Lilium:

Lilium Jet

AMP Electric

Vehicles:

Workhorse Surefly

Boeing: Fuel Cell

Siemens: eFusionPipistrel:

Panthera

6

7

8

System-level models

Electric Hybrid

9

What about robotics?

10

Quadruped running robot

Biologically-inspired design (biomimetics)

11

Quadruped running robot

Biologically-inspired design (biomimetics)

12

Quadruped running robot

Biologically-inspired design (biomimetics)

Equivalent inverted pendulum model as basis for gait

x

y

p

u

v

13

Quadruped running robot

Biologically-inspired design (biomimetics)

Equivalent inverted pendulum model as basis for gait

x

y

p

u

v

14

2

3

11

4

5

Gait Selection

System Evaluation

Actuator Requirements

Actuator Selection

Actuator Validation

15

Fixed parameters

– Leg length

– Running speed

– Mass

Design parameters

– Leg (spring) stiffness

– Stance height

1 2 3 4 5 Gait Selection1Design Steps

16

Fixed parameters

– Leg length

– Running speed

– Mass

Design parameters

– Leg (spring) stiffness

– Stance height

Simple point-mass model

– MATLAB script for trade-off

1 2 3 4 5 Gait Selection1

17

1 2 3 4 5 Actuator

Requirements

18

Hydraulic Chemical Electric Pneumatic

Pneumatic cylinder

Air muscle

Limited travelrotary

Pneumatic motor

Hydraulic motor

Hydraulicactuator

Linear RotaryArtificial muscle

IC engine Brushed Brushless

DC motor

Shuntmotor

Series woundmotor

Induction motor

Servo motor

Variable reluctance

1 2 3 4 5 Actuator

Selection

19

1 2 3 4 5 Actuator

Selection

20

1 2 3 4 5 Actuator

Validation

21

1 2 3 4 5 Actuator

Validation

22

1 2 3 4 5 System

Evaluation

23

- facilitates iterations

- permits greater understanding of design trade-offs

Gear ratio 80 100 120

Efficiency 84% 81% 78%

1 2 3 4 5 Automation

Example:

24

Multiple models

25

Multiple models

Each model matched to a design task

26

Multiple models

Each model matched to a design task

Design data passed between models

27

Multiple models

Each model matched to a design task

Design data passed between models

Automation to support analysis & optimisation

28

Multiple models

Each model matched to a design task

Design data passed between models

Automation to support analysis & optimisation

29

Custom Simscape components

30

Example: McKibben air muscle

Write out defining equations

Find starting point in Simscape

foundation library

Incrementally add functionality,

testing as you go

Build library and test model

Increase pressure

1

2

3

1

4

31

Write out equations

𝐿𝑢 = Un-stretched length

𝐿𝑠 = Additional stretch due to force, FAssumptions

- Volume is approximately constant

- Stretch force is proportional to Ls

Equations

- 𝐿 = 𝐿𝑢 𝑝 + 𝐿𝑠- 𝐹 = 𝑘 × 𝐿𝑠- 𝑝𝑉 = 𝑛𝑅𝑇

p2

Lu(p2)

p1

F

Lu(p1) Ls

1

32

But:

- Need mechanical ports

- Need equations

Find starting point from foundation library2

33

Add:

- Two mechanical ports

- Two additional new equations

𝐿 = 𝐿𝑢 𝑝 + 𝐿𝑠𝐹 = 𝑘 × 𝐿𝑠

Incrementally add functionality3

34

Add definitions for:

- Variables

- Parameters

Incrementally add functionality3

35

Building library and test model4

36

Why use Simscape?

37

Building the right model

Image credit: 20th Century Fox Television

38

People can make up statistics to prove

anything ! … 14% of people know that

D A T A

Some people have too much of it

T I M E

The science where you use long

formulas to explain why a ball rolls

P H Y S I C SP E R F E C T I O N

Have no fear of perfection, you will never reach it

39

Fluid

Thermal

MechanicalElectrical

Multidomain

40

Multidomain

41

Modeling detail

Multidomain

42

Useful starting pointsMultidomain

43

Build custom components!

pF

Simscape

Language

44

+ Control

45

Testing without hardware prototypes!

Code

Generation

+

46

CONCLUSIONMultidomain

Simscape

Language

+ Control

Code

Generation