M ATLAB T UTORIAL Simulink & Control System Design ToolBox and GUIs 1.

Slides:



Advertisements
Similar presentations
Stability Margins Professor Walter W. Olson
Advertisements

1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Root Locus Diagrams Professor Walter W. Olson
ECEN/MAE 3723 – Systems I MATLAB Lecture 3.
Simulink Overview: open simulink to open simulink Library Browser.
Getting started with Simulink An introductory tutorial ES205 Analysis and Design of Engineering Systems Rose-Hulman Institute of Technology © R. Layton.
1 Feedback: 8.8 The Stability Problem. Microelectronic Circuits - Fifth Edition Sedra/Smith2 Copyright  2004 by Oxford University Press, Inc. Figure.
Control Systems Engineering, Fourth Edition by Norman S. Nise Copyright © 2004 by John Wiley & Sons. All rights reserved. Figure C-1 (p. 907) MATLAB window.
The four basic feedback topologies: (a) voltage-sampling series-mixing (series-shunt) topology; (b) current-sampling shunt-mixing (shunt-series) topology;
Review. Please Return Loan Clickers to the MEG office after Class! Today! FINAL EXAM: Wednesday December 8 8:00 AM to 10:00 a.m.
Frequency Response Methods and Stability
Chapter 8 - Feedback 1 - Desensitize The Gain 2 - Reduce Nonlinear Distortions 3 - Reduce The Effect of Noise 4 – Control The Input And Output Impedances.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
Chapter 7: The Root Locus Method In the preceding chapters we discussed how the performance of a feedback system can be described in terms of the location.
USING LINEAR ANALYSIS IN MATLAB FOR MEP 1422/1522 (MATLAB V7, R14) Dr. Nik Rumzi Nik Idris Dept. of Energy Conversion Fakulti Kejuruteraan Elektrik Universiti.
1 Frequency Response Methods The system is described in terms of its response to one form of basic signals – sinusoid. The reasons of using frequency domain.
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
7/2/2015MATLAB1.  MATLAB  MATLAB and Toolboxes  MATLAB and Control  Control System Toolbox  Simulink 7/2/2015MATLAB Control Toolbox2.
Lecture 9: Compensator Design in Frequency Domain.
Simulink ® From Simulink® 7 Getting Started Guide.
PID Control and Root Locus Method
ME 270 Final Project Presentation Operational Amplifiers.
Final Presentation Final Presentation Fourth Order Very Fast Voltage Regulator for RF PA Performed by: Tomer Ben Oz Yuval Bar-Even Guided by: Shahar Porat.
Combined State Feedback Controller and Observer
Dynamic analysis of switching converters
DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design Group Members: John Kua Trinell Ball Linda Rivera.
ECE 4115 Control Systems Lab 1 Spring 2005
Automatic Control System
ECEN/MAE 3723 – Systems I MATLAB Lecture 2. Lecture Overview What is Simulink? How to use Simulink  Getting Start with Simulink  Building a model Example.
Modified by Albert W.J. Hsue,
Regensburg, 24. – Introduction to Simulink Pavel Karban University of West Bohemia, Faculty of Electrical Engineering, Department of Theory.
Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments Practice Problems.
Digital Control Systems Digital Control Design via Continuous Design Emulación F,P&W Chapters 6 & 7.2.
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
1 MATLAB AND CONTROLS PRESENTED BY:- AGILESWARI K. RAMASAMY DR. FARRUKH HAFIZ NAGI.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VII Introduction to SIMULINK Rajeev Madazhy
DC Motor Speed Modeling in Simulink
Modeling of Power Converters using Matlab and Simulink
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
Lecture 22: Frequency Response Analysis (Pt II) 1.Conclusion of Bode plot construction 2.Relative stability 3.System identification example ME 431, Lecture.
Frequency Response Analysis and Stability
Frequency Response Analysis
Getting started with MATLAB/Simulink
Root Locus Method. Root Locus Method Root Locus Method.
Signals and Systems, 2/E by Simon Haykin and Barry Van Veen Copyright © 2003 John Wiley & Sons. Inc. All rights reserved. Figure 9.1 (p. 664) Two different.
HossamTalaat - MATLAB Course - KSU - 17/08/14231 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink (part 2) By Prof. Hossam.
Getting started with Simulink
EE , 수요일 23, 24 (북)-이공대학 강의실3 정 우 용 자동제어공학 1주차 EE , 수요일 23, 24 (북)-이공대학 강의실3 정 우 용.
Simulink Modelling Tutorial In Simulink, it is very straightforward to represent a physical system or a model. In general, a dynamic system can be constructed.
Automated Control Systems, 8/E by Benjamin C. Kuo and Farid Golnaraghi Copyright © 2003 John Wiley & Sons. Inc. All rights reserved. Figure 9-1 (p. 354)
IGEM 2009 Tutorial Modelling. What? Model A model in science is a symplified physical, mathematical, or logical representation of a system of entities,
Page : PID Controller Chapter 3 Design of Discrete- Time control systems PID C ontroller.
Getting started with Simulink An introductory tutorial.
Feedback Amplifiers. Outline Introduction The general feedback structure Some properties of negative feedback The four basic feedback topologies The series-shunt.
 Types of communication systems ◦ Coaxial (Wired) ◦ Microwave (Wireless) ◦ Satellite (Wireless) ◦ Cable (Wired) ◦ Cellular (Wireless)
Automatic control systems V. Discrete control
An Introduction to Simulink
Automatic Control Theory
Signals in Matlab Matlab as a name stands for Matrix Laboratory.
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Simulink Basics Reijo Vuohelainen
DNT Control Principle Frequency Response Techniques DNT Control Principle.
LAG LEAD COMPENSATOR.
Getting Started With Simulink
Hanani binti Abdul Wahab 24 September 2008
Chapter 8. Frequency-Domain Analysis
Example Combination of Systems Transfer Function:
Simulink Examples Ex1: Simulate the following equation Blocks needed:
Presentation transcript:

M ATLAB T UTORIAL Simulink & Control System Design ToolBox and GUIs 1

C ONTENTS Simulink What’s Simulink? Constructing and running a simple model Working with MATLAB Creating subsystems Block help Control System ToolBox CST Basic Commands CST design GUIs 2

3

C ONSTRUCTING AND R UNNING A SIMPLE M ODEL Starting Simulink Creating a new model Constructing a simple system Running a simulation Step-size of simulation Saving / opening a model 4

5

C REATING A NEW MODEL 6

C ONSTRUCTING A SIMPLE SYSTEM Adding blocks to your model Connecting blocks Defining block parameters Changing Simulink parameters and Defining in Matlab Labeling blocks and signals 7

R UNNING A SIMULATION Time is built-in during Simulink simulation. 8

C HANGING THE STEP SIZE 9

S AVING A MODEL 10

W ORKING WITH M ATLAB Importing from and exporting to MATLAB 11

C REATING A SUBSYSTEMS 12

B LOCK HELP 13

M ODELING 14

M ODELING A SYSTEM OF TRANSFER FUNCTIONS 15

M ODELING A SYSTEM OF DIFFERENTIAL EQUATIONS This representation is more general and can be used for nonlinear systems as well 16

F EEDBACK CONTROL 17

EXAMPLE Train System [1] 18 - Free Body Diagram and Newton’s Law

EXAMPLE 19 State variable and output equation Transfer Function

EXAMPLE State-Space 20

EXAMPLE Simulink Model 21

Running the model: 22 - Defining the input: EXAMPLE

23 - Simulating the model for 1000 seconds EXAMPLE

Obtaining the MATLAB Model 24

M ATLAB CONTROL SYSTEM TOOLBOX AND DESIGN GUI S - Control System ToolBox Basic commands - Sisotool GUI - Rltool GUI 25

C ONTROL S YSTEM T OOL B OX B ASIC COMMANDS Implementation of a Control Strategy using MATLAB Control System ToolBox Modeling 2- PID Control 3- Root Locus 4- Frequency 5- State-Space

C ONTROL S YSTEM T OOL B OX B ASIC COMMANDS Modeling: a Pitch Controller [1] 27 -The state equations and transfer function of the system: Angle of attack Pitch rate Pitch angle

M ODELING : A P ITCH C ONTROLLER 28 - State-Space Representation - MATLAB representation and open-loop response or

PID D ESIGN METHOD FOR THE P ITCH C ONTROLLER The design requirements : 29

PID D ESIGN METHOD FOR THE P ITCH C ONTROLLER 30

R OOT -L OCUS D ESIGN METHOD FOR THE P ITCH C ONTROLLER The acceptable region of the locus 31 - Original root-locus plot

R OOT -L OCUS D ESIGN METHOD FOR THE P ITCH C ONTROLLER Adding Lead compensator 32

F REQUENCY R ESPONSE D ESIGN METHOD FOR THE P ITCH C ONTROLLER Closed Loop System Bode plot 33 bandwidth frequency and the phase margin must be greater than 0.9 and 52 degrees we have a bandwidth frequency of 1 rad/sec and a phase margin of 80 degrees!

F REQUENCY R ESPONSE D ESIGN METHOD FOR THE P ITCH C ONTROLLER 34 Adding Lead-Lag compensator

D ESIGNING P ITCH C ONTROLLER USING S TATE -S PACE METHOD Discrete state-space 35

D ESIGNING P ITCH C ONTROLLER USING S TATE -S PACE METHOD Controllability and observability 36

D ESIGNING P ITCH C ONTROLLER USING S TATE -S PACE METHOD Control design via pole placement 37

DESIGN GUI S sisotool opens the SISO design toll with Root Locus view and Bode diagram. rltool opens the SISO design tool with only Root Locus view on. 38

S ISO TOOL DESIGN MATLAB GUI Example: 39

L OAD A M ODEL FROM M ATLAB W ORK S PACE >>sisotool 40

I MPORT SYSTEM DATA 41

H OW TO DESIGN A CONTROLLER 42

H OW TO DESIGN A CONTROLLER Auto tuning 43

R OOT L OCUS AND B ODE DIAGRAMS 44

S TEP RESPONSE AND OTHER TIME SPECIFICATIONS 45

R OOT L OCUS DESIGN MATLAB GUI >>rltool 46 A Single Input Single Output (SISO) Design window will appear This GUI is exactly like “sisotool” but without frequency response design facilities!

R OOT L OCUS DESIGN MATLAB GUI import a pre-defined open-loop transfer function 47

R OOT L OCUS DESIGN MATLAB GUI Enter design parameters 48

R EFERENCE 49 [1] es

T HANK Y OU 50