![Page 1: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/1.jpg)
Using MatlabSISOTOOL 2016 part 1
Anthony Rossiter
1
Slides by Anthony Rossiter
http://controleducation.group.shef.ac.uk/indexwebbook.html
![Page 2: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/2.jpg)
Introduction
• Many earlier videos by this author use the original version of sisotool.
• However, there has been a relatively major change in the presentation and functionality of this tool in MATLAB 2016, so this resource gives a quick overview of the new tool.
• Focus is on students doing a single course in classical control methods such as Bode, Nyquist, gain and phase margins and lead and lag design.
Slides by Anthony Rossiter
2
![Page 3: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/3.jpg)
Core skills
• Changing compensator gain by hand (drag) and explicitly (enter a number).
• Interactive views as all plots update instantly as compensator changes are made.
• Changing compensator poles and zeros by hand (drag) and explicitly (enter a number).
• Overlaying step responses and frequency response graphs from different compensators.
• The first video focuses on views and options; the later ones deal with compensator design.
Slides by Anthony Rossiter
3
![Page 4: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/4.jpg)
Assumptions
This resource assumes a simple feedback structure as follows (although sisotool will deal with more complicated structures).
Slides by Anthony Rossiter
4
System or process to be controlled
Compensator or controller
Target (a unit step)
![Page 5: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/5.jpg)
Overview
First the slides outline the core skills and notation:
• Loop structure and naming assumptions.
• Obtaining core plots.
• Changing the compensator gain.
Secondly a live demonstration will be given on MATLAB.
Slides by Anthony Rossiter
5
![Page 6: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/6.jpg)
Getting started
Define the system transfer function in the command window and then start sisotool as follows.
I tend to use G(s) as this is conventional and matches sisotool notation.
Slides by Anthony Rossiter
6
![Page 7: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/7.jpg)
Slides by Anthony Rossiter
7
Resulting window
Bode
Root-loci
Closed-loop
output
Next we will go through options and functionality
![Page 8: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/8.jpg)
Loop structure assumed in sisotoolOptions are available under the architecture tab.
Slides by Anthony Rossiter
8
System or process to be controlled
Compensator or controller
Negative feedback
We assume F=H=1
Other possibilities Change G or C
from workspace
![Page 9: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/9.jpg)
Viewing closed-loop input responses
These are available under the tab ‘new plot’
Slides by Anthony Rossiter
9
Options are selected here with obvious
notation.
We want:IOTransfer_r2uIOTransfer_r2y
Select New step
![Page 10: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/10.jpg)
Slides by Anthony Rossiter
10
IOTransfer_r2u
IOTransfer_r2y
![Page 11: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/11.jpg)
Viewing Nyquist plotsThese are available under the tab ‘new plot’
Slides by Anthony Rossiter
11
Select New Nyquist
Select LoopTransfer_C
![Page 12: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/12.jpg)
Slides by Anthony Rossiter
12
Nyquist diagram here
Notice tabs with all optional plots
available
![Page 13: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/13.jpg)
Root-loci plot
Slides by Anthony Rossiter
13
The root-loci plot marks the position of the closed-loop poles with the current value of compensation.
Pink blobs for current closed-loop
poles.
How do we change compensator gain?
![Page 14: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/14.jpg)
Compensator gain
Right click on the Bode diagram and select ‘edit compensator’.
The following appears.
Slides by Anthony Rossiter
14
Change gain here.
Poles and zeros in next resource
![Page 15: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/15.jpg)
Live demonstration
• Opening sisotool
• Adding closed-loop inputs
• Adding a Nyquist plot
• Changing the compensator gain.
• Importing a different G(s).
Slides by Anthony Rossiter
15
![Page 16: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/16.jpg)
Conclusion
This short video has demonstrated the basic use of sisotool in MATLAB 2016.
We have not covered every option, but rather focussed on core functionality to support students doing a 1st course in classical control.
The following videos show how to use the tool for comparing compensator designs and then doing design.
Slides by Anthony Rossiter
16
![Page 17: Using Matlab SISOTOOL 2016 part 1 - University of Sheffieldcontroleducation.group.shef.ac.uk/MATLAB/using matlab... · 2016-10-12 · sisotool in MATLAB 2016. We have not covered](https://reader033.vdocuments.net/reader033/viewer/2022041823/5e5fa5f582159e75ef061d2d/html5/thumbnails/17.jpg)
© 2016 University of Sheffield
This work is licensed under the Creative Commons Attribution 2.0 UK: England & Wales Licence. To view a copy of this licence, visit http://creativecommons.org/licenses/by/2.0/uk/ or send a letter to: Creative Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.
It should be noted that some of the materials contained within this resource are subject to third party rights and any copyright notices must remain with these materials in the event of reuse or repurposing.
If there are third party images within the resource please do not remove or alter any of the copyright notices or website details shown below the image.
(Please list details of the third party rights contained within this work.
If you include your institutions logo on the cover please include reference to the fact that it is a trade mark and all copyright in that image is reserved.)
Anthony RossiterDepartment of Automatic Control and
Systems EngineeringUniversity of Sheffieldwww.shef.ac.uk/acse
http://controleducation.group.shef.ac.uk/indexwebbook.html