Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
James Ang
Application Engineer
TechSource Systems Malaysia
ang.cs@techsource.com.my
© 2010 TechSource Systems
Agenda
• Brief Introduction to Simulink
• Introduction to Controls System Design
• Various approaches in Plant Modeling
– First Principles Method + demo
– Data Driven Modeling (Blackbox method) + demo
– Parameter Estimation (Graybox Method) + demo
• Compensator Design
– Design Challenges
– Controls Design, Tuning and Optimization demo
• Summary
• Question and Answers
© 2010 TechSource Systems
Simulink
Simulink®
Block-diagram environment
Model, simulate, and analyze time-
varying systems
– Control systems
– Signal processing systems
– Communications systems
– Other dynamic systems
Accurately design, implement, and test
Platform for Model-Based Design
© 2010 TechSource Systems
Simulink® Blocksets
Simulink blocksets offers a customized set of block libraries that
let you design, implement, verify and validate various time-
varying systems.
Simulink
Signal Video & Image Control
Processing Processing Design And many
more …
Communications SimMechanics RF
Quick
Demo
© 2010 TechSource Systems
Controller/
+
Feedback
Controller/ Plant
Input Compensator
Feedback Plant Output
-
Compensator
Feedback loop
Controller Plant
+
- Model Model
Input Output
How to start?
1. (a) Getting the plant model
© 2010 TechSource Systems
First-Principles Modeling
s1
s3 3s2 2
H(s)
s 3
2
2
s s1
© 2010 TechSource Systems
Advantages: Advantages:
Model provides insight into the Fast to develop a model
system’s underlying behavior Usually highly accurate
Disadvantages: Disadvantages:
Model does not accurately match Requires a physical system to
model output acquire test data
System contains unknown, Model lacks description of
nonlinear parameters like friction physics of the system
Time consuming to develop Need many data sets to cover
Highly nonlinear systems difficult range of system operation
to express in first principles
© 2010 TechSource Systems
Complete
First-Principles Modeling Environment
Modeling Data-Driven Modeling
First-Principles Data-Driven
Controller Plant
+
- Model Model
Input
Output
How to start?
1. (a) Getting the plant model
2. (b) Design the Controller model Controller Design and
Simulation
© 2010 TechSource Systems
Control Challenges
• Common Method : Trial and
Error tuning of feedback controllers
• Tuning challenges
– Tuning is not systematic and is
time consuming
– Tuning on a real system can be
costly
– Impossible to tell if you’re at
optimal solution
© 2010 TechSource Systems
… to become
like this
Demo
© 2010 TechSource Systems
Key Takeaways
Control Systems toolbox
Design
Analysis
Modeling
© 2010 TechSource Systems
Key Takeaways
System Identification
Toolbox
Key Takeaways
Simulink Design Optimization • Tuned Parameters
• Desired Response
Estimate and Optimize model
parameters
Interactive data preprocessing
Model validation using residual
plots