Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics...
Transcript of Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics...
![Page 1: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Model-Based Design
using Simulink and Simscape
Paul Lambrechts
MathWorks Benelux
![Page 2: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/2.jpg)
3
The Challenge: Product Innovation
Smart Product
Multi-Domain
Mechatronics
Micro-electronics
Embedded
Physics
Cyber
Software
Hybrid
Smart Design
Process
• Product Innovation drives
your Business: its ‘Do or Die’
• Today, Product Innovation
usually means ‘Going Smart’
Model-Based Design:
a Smart Design Process
for Smart Products
![Page 3: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/3.jpg)
4
Model-Based Design
INTEGRATION
IMPLEMENTATION
DESIGN
TE
ST
AN
D V
ER
IFIC
AT
ION
RESEARCH REQUIREMENTS
MCU DSP FPGA ASIC
VHDL, VerilogC, C++
Environment Models
Physical Components
Algorithms
Structured
Text
PLC
Smart Product
![Page 4: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/4.jpg)
5
INTEGRATION
IMPLEMENTATION
DESIGN
TE
ST
AN
D V
ER
IFIC
AT
ION
RESEARCH REQUIREMENTS
MCU DSP FPGA ASIC
VHDL, VerilogC, C++
Environment Models
Physical Components
Algorithms
Structured
Text
PLC
Smart Product
Model-Based Design
![Page 5: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/5.jpg)
6
INTEGRATION
IMPLEMENTATION
DESIGN
TE
ST
AN
D V
ER
IFIC
AT
ION
RESEARCH REQUIREMENTS
MCU DSP FPGA ASIC
VHDL, VerilogC, C++
Environment Models
Physical Components
Algorithms
Structured
Text
PLC
Smart Product
Model-Based Design
![Page 6: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/6.jpg)
7
CAD Import
Model:
Problem: Perform dynamic simulation
of a robot arm modeled in CAD
Solution: Import CAD model into
SimMechanics™
CAD
![Page 7: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/7.jpg)
8
3D Multi-Body Dynamics
Bodies and Joints
CAD Translation
SimMechanics:
Modeling of 3D Mechanical Systems
![Page 8: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/8.jpg)
9
Tools for Modeling Physical Systems
Simulink
First-Principles
SystemIdentification
Toolbox
Data-Driven
Complete Modeling Environment
SimMechanics
Simscape
![Page 9: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/9.jpg)
10
Electro-Mechanical System in Equations
DC Motor R
L
Kt,Kb
J,D
ω,T
i
v
dt
diLiRKv b
dt
dJDiKT t
![Page 10: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/10.jpg)
11
DC Motor
Electro-Mechanical System in Simscape
DC Motor R
L
Kt,Kb
J,D
ω,T
i
v
dt
diLiRKv b
dt
dJDiKT t
Easier to read than equations
Quicker to create
More intuitive – easier to explain to other engineers
mechanicalelectrical
![Page 11: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/11.jpg)
12
A ‘bit’ more complex?
![Page 12: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/12.jpg)
13
A ‘bit’ more complex?
mechanicalhydraulic
electrical
![Page 13: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/13.jpg)
14
Use Fundamental
Analogy between
Physical Domains
Domain Across Variable Through Variable
Mechanical
(translational/rotational)
Position Angle
Velocity Angular velocity
Acceleration Angular acceleration
Force Torque
Hydraulic
Pneumatic
Pressure Volumetric flow rate
Mass flow rate, Volume
Electrical
Magnetic
Voltage
Flux
Current
MMF
Thermal Temperature Heat flow
Enthalpy, Entropy
Simscape
Mechanical Hydraulic Electrical Ph. Signals
f(x,y)
Thermal Pneumatic Magnetic
N S
Simscape: Modeling in Multiple Domains
![Page 14: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/14.jpg)
15
FR
qB
pB
vR
FC
qA
vC
Double-Acting Hydraulic Cylinder
Apply following rules to assembled diagram
1. Connected ports have same value
for across variables (pressure, velocity)
2. Sum of through variable (flow rate, force)
into a branch point is equal to 0
qA qB
pA pB
FRFC
vR
vC
Simscape: Physical Network Approach
![Page 15: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/15.jpg)
16
Simscape Language
MATLAB-based
Create new domains
Custom components
User defined libraries
Object oriented
IP Protection
d
ccv
R
v
dt
dvvCCi )( 0
iRvv c
![Page 16: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/16.jpg)
17
SimulinkDesign
Optimization
Simulink
First-Principles
SystemIdentification
Toolbox
Data-Driven
Complete Modeling Environment
SimMechanics
SimDriveline
SimHydraulics
SimElectronics
SimPowerSystems
Simscape
SimMechanics
Tools for Modeling Physical Systems
![Page 17: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/17.jpg)
18
INTEGRATION
IMPLEMENTATION
DESIGN
TE
ST
AN
D V
ER
IFIC
AT
ION
RESEARCH REQUIREMENTS
MCU DSP FPGA ASIC
VHDL, VerilogC, C++
Environment Models
Physical Components
Algorithms
Structured
Text
PLC
Smart Product
Model-Based Design
A Smart Design
Process for
Smart Products
![Page 18: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/18.jpg)
19
INTEGRATION
IMPLEMENTATION
DESIGN
TE
ST
AN
D V
ER
IFIC
AT
ION
RESEARCH REQUIREMENTS
MCU DSP FPGA ASIC
VHDL, VerilogC, C++
Environment Models
Physical Components
Algorithms
Structured
Text
PLC
Smart Product
Model-Based Design
A Smart Design
Process for
Smart Products
![Page 19: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/19.jpg)
20
INTEGRATION
IMPLEMENTATION
DESIGN
TE
ST
AN
D V
ER
IFIC
AT
ION
RESEARCH REQUIREMENTS
MCU DSP FPGA ASIC
VHDL, VerilogC, C++
Environment Models
Physical Components
Algorithms
Structured
Text
PLC
Smart Product
Model-Based Design
A Smart Design
Process for
Smart Products
![Page 20: Paul Lambrechts MathWorks Benelux · SimMechanics SimDriveline SimHydraulics SimElectronics SimPowerSystems Simscape Tools for Modeling Physical Systems. 18 INTEGRATION IMPLEMENTATION](https://reader030.fdocuments.us/reader030/viewer/2022040514/5e6d427d45225a374116657e/html5/thumbnails/20.jpg)
21
Model-Based Design drives Product Innovation
Smart Product
Multi-Domain
Mechatronics
Micro-electronics
Embedded
Physics
Cyber
Software
Hybrid
Model Based
Design
• Product Innovation drives
your Business: its ‘Do or Die’
• Today, Product Innovation
usually means ‘Going Smart’
A Smart Design
Process for
Smart Products