Matlab Stateflow Intro
Matlab Stateflow Intro
Coorous Mohtadi
Key Message
Agenda
What is Simulink?
What is Stateflow?
Verify Designs
Validate Requirements
Process Analysis
Speed up Design
Performance Optimization
Speed up Testing
Training
Past
to
Present
5
Overview of MATLAB
Introduction to Simulink
Block-diagram environment
Model, simulate, and analyze
multidomain systems
Accurately design, implement,
and test:
Control systems
Signal processing systems
Communications systems
Other dynamic systems
Types of Models
Continuous-Time
Discrete-Time / Multi-Rate
Sampled-Data
Finite State Machines / Mode
Logic
Discrete Event Systems
Physical Domains
MATLAB
Simulink
Simulink Control Design (only for PID Tuning)
Simulink Design Optimization (only for PID Tuning)
10
1
(V K
i R)dt
L
1
(T K i b )dt
J
V
K
J,b
i
11
12
Agenda
What is Simulink?
What is Stateflow?
13
Robot arm
14
Stateflow Overview
15
suspension dynamics
gear changes
propulsion system
liftoff stages
robot kinematics
operation modes
16
MATLAB
Simulink
Stateflow
17
Key Features
Defines functions
Procedurally, using Embedded
MATLABTM
Graphically, using flow diagrams
In tabular form, with truth tables
18
Agenda
What is Simulink?
What is Stateflow?
21
22
Agilent
Anritsu
LeCroy
Rohde & Schwarz
Tektronix
Others
Standards such as IVI, VXIplug&play, LXI
Protocols such as GPIB, VISA, TCP/IP, UDP
Serial devices Any device with a RS-232, RS-422, or
RS-485 interface (EEGs, mass spectrometers, etc.)
24
25
MATLAB Instrument
Driver
Vendor Instrument
Driver
(IVI or VXIplug&play)
2.
3.
28
29
Agilent (Acqiris)
ADLINK
Advantech
CONTEC
Data Translation
g.tec
IOTech
Keithley
Measurement Computing (MCC)
National Instruments
Ono Sokki
United Electronic Industries
VXI Technology
2.
3.
31
32
Conclusion
33
Bernard McKeown
[email protected]