system modeling using simulink and simscape - matlab expo
TRANSCRIPT
![Page 1: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
System modeling using Simulink
and Simscape
Abhisek Roy
Sruthi Geetha
Veer Alakshendra
![Page 2: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/2.jpg)
2
Multi-domain
Systems
![Page 3: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/3.jpg)
3
Common challenges
1. Multi-domain simulation
2. Capturing the system dynamics at desired complexity
3. Developing controls algorithm
![Page 4: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/4.jpg)
4
Scissor Lift
![Page 5: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/5.jpg)
5
Scissor Lift
![Page 6: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/6.jpg)
6
Agenda
▪ Understanding and capturing the behavior of a system
– Various approaches of modeling
– Example: DC motor
▪ Model the Scissor Lift
– Hydraulic actuation system
– Mechanical System
▪ Developing control strategy
![Page 7: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/7.jpg)
7
Modeling a DC Motor
Problem: Model a DC motor with
electrical and mechanical effects
Model:
Shaft
V+
V-
Housing
![Page 8: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/8.jpg)
8
Data-Driven ModelingFirst Principles Modeling
Neural Networks
Physical NetworksSystem
Identification
Parameter Tuning
Programming
Block Diagram
Modeling Language
Symbolic Methods
Modeling Approaches
Different Approaches for Modeling Dynamic Systems
Statistical Methods
(MATLAB, C)
(Simulink)
(Simscape language)
(Symbolic MathToolbox)
(Simscape and other
Physical Modeling
products)
(Neural NetworkToolbox)
(Model BasedCalibration Toolbox)
(Simulink Design Optimization)
(System Identification Toolbox)
![Page 9: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/9.jpg)
9
What is Simulink?
The leading environment for modeling,
simulating and implementing dynamic and
embedded systems
▪ Block-diagram environment
▪ Model, simulate, and analyze multi-domain
systems
▪ Accurately design, implement, and test complex
systems for:
– Communications
– Control
– Signal processing
– Video and image processing
▪ Platform for Model-Based Design
![Page 10: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/10.jpg)
10
Modeling a DC Motor in Simulink
Model:
V+
V-
![Page 11: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/11.jpg)
11
How to model a DC Motor in Simulink?
Based on its equation:
![Page 12: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/12.jpg)
12
Data-Driven ModelingFirst Principles Modeling
Neural Networks
Physical NetworksSystem
Identification
Parameter Tuning
Programming
Block Diagram
Modeling Language
Symbolic Methods
Modeling Approaches
Different Approaches for Modeling Dynamic Systems
Statistical Methods
(MATLAB, C)
(Simulink)
(Simscape language)
(Symbolic MathToolbox)
(Simscape and other
Physical Modeling
products)
(Neural NetworkToolbox)
(Model BasedCalibration Toolbox)
(Simulink Design Optimization)
(System Identification Toolbox)
![Page 13: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/13.jpg)
13
Introduction to Simscape
![Page 14: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/14.jpg)
15
Modeling a DC Motor
Problem: Model a DC motor with
electrical and mechanical effects
Solution: Use Simscape to model
the electromechanical system
as a physical network
Model:
Shaft
V+
V-
Housing
![Page 15: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/15.jpg)
16
![Page 16: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/16.jpg)
17
Agenda
▪ Understanding and capturing the behavior of a system
– Various approaches of modeling
– Example: DC motor
▪ Model the Scissor Lift
– Hydraulic actuation system
– Mechanical System
▪ Developing control strategy
![Page 17: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/17.jpg)
18
Agenda
▪ Understanding and capturing the behavior of a system
– Various approaches of modeling
– Example: DC motor
▪ Model the Scissor Lift
– Hydraulic actuation system
– Mechanical System
▪ Developing control strategy
![Page 18: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/18.jpg)
19
Hydraulic actuation
![Page 19: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/19.jpg)
20
Hydraulic actuation circuit
![Page 20: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/20.jpg)
21
Agenda
▪ Understanding and capturing the behavior of a system
– Various approaches of modeling
– Example: DC motor
▪ Model the Scissor Lift
– Hydraulic actuation system
– Mechanical System
▪ Developing control strategy
![Page 21: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/21.jpg)
22
![Page 22: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/22.jpg)
25
Example: Single Pendulum
Simple Pendulum
▪ Simscape Multibody model advantages
– Easier to read than equations
– Quicker to create
– More intuitive – easier to explain to other engineers
θ1
x
y
z
mg
l
![Page 23: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/23.jpg)
26
Exercise: Double Pendulum
θ2
m2g
θ1
x
y
z
m1g
![Page 24: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/24.jpg)
27
Mechanical system
DEMO
![Page 25: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/25.jpg)
28
Import CAD Data Using
Simscape Multibody Link
▪ Automatically create Simscape Multibody
models from a CAD assembly
– Converts mass and inertia to rigid bodies
– Converts mate definitions to joints
– Creates STEP files for use with
Simscape Multibody visualization
▪ Directly connects SOLIDWORKS,
PTC Creo® (Pro/ENGINEER®)
and Inventor
▪ Free download from www.mathworks.com
– Requires MATLAB
Simscape Multibody Link
Export
![Page 26: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/26.jpg)
29
Simscape Multibody Link:
Convert CAD Assembly to Simscape Mutibody
▪ Use Simscape Multibody Link plugin to export from CAD to XML
▪ Import XML file into Simscape Multibody (>> smimport)
![Page 27: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/27.jpg)
30
Agenda
▪ Understanding and capturing the behavior of a system
– Various approaches of modeling
– Example: DC motor
▪ Model the Scissor Lift
– Hydraulic actuation system
– Mechanical System
▪ Developing control strategy
![Page 28: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/28.jpg)
31
Call to action
▪ Aileron Actuator Development with Model-Based Design
▪ Modeling an Engine Cooling System
![Page 29: System modeling using Simulink and Simscape - MATLAB EXPO](https://reader031.vdocuments.site/reader031/viewer/2022021106/620542f08b4c0829217a0bb3/html5/thumbnails/29.jpg)
32
% Thank you