MATLAB Control System Toolbox Root Locus Design GUI



Similar documents
Root Locus. E(s) K. R(s) C(s) 1 s(s+a) Consider the closed loop transfer function:

EE 402 RECITATION #13 REPORT

Understanding Poles and Zeros

Σ _. Feedback Amplifiers: One and Two Pole cases. Negative Feedback:

ECE 3510 Final given: Spring 11

Working with SQL Server Integration Services

Introduction to Simulink

UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences. EE105 Lab Experiments

Controller Design in Frequency Domain

Using Microsoft Excel to Plot and Analyze Kinetic Data

Engineering Sciences 22 Systems Summer 2004

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

Workspaces Creating and Opening Pages Creating Ticker Lists Looking up Ticker Symbols Ticker Sync Groups Market Summary Snap Quote Key Statistics

Navios Quick Reference

Summary of important mathematical operations and formulas (from first tutorial):

1.5 MONITOR. Schools Accountancy Team INTRODUCTION

WebSphere Business Monitor V6.2 Business space dashboards

Instructions for Use. CyAn ADP. High-speed Analyzer. Summit G June Beckman Coulter, Inc N. Harbor Blvd. Fullerton, CA 92835

Control System Definition

Creating Database Model Diagrams in Microsoft Visio Jeffery S. Horsburgh

The following is an overview of lessons included in the tutorial.

Tracking Project Progress

Working with Excel in Origin

Laboratory 4: Feedback and Compensation

WEB TRADER USER MANUAL

WHAT S NEW IN OBIEE

X-Trade Brokers Dom Maklerski S.A. XTB Expert Builder. Tutorial. Michał Zabielski

Lab 3: Introduction to Data Acquisition Cards

This activity will show you how to draw graphs of algebraic functions in Excel.

Enhancing Classical Controls Education via Interactive GUI Design

Introduction to the TI-Nspire CX

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

How to create pop-up menus

5. Tutorial. Starting FlashCut CNC

PID Controller Tuning: A Short Tutorial

Excel Tutorial. Bio 150B Excel Tutorial 1

CATIA Basic Concepts TABLE OF CONTENTS

MicroStrategy Tips and Tricks

Years after US Student to Teacher Ratio

1.5 MONITOR FOR FMS 6 USER GUIDE

Plotting: Customizing the Graph

This Skill Builder demonstrates how to define and place sketched symbols in drawings.

6. If you want to enter specific formats, click the Format Tab to auto format the information that is entered into the field.

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

SAS VISUAL ANALYTICS AN OVERVIEW OF POWERFUL DISCOVERY, ANALYSIS AND REPORTING

QNET Experiment #06: HVAC Proportional- Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)

Using Flow Control with the HEAD Recorder

Beginner s Matlab Tutorial

WebSphere Business Monitor V7.0 Business space dashboards

LEGENDplex Data Analysis Software

Project Management with Enterprise Architect

EET 310 Programming Tools

Intro to Excel spreadsheets

Adobe Acrobat: Creating Interactive Forms

Using the Cute Rich-Text Editor

Create a Poster Using Publisher

Build Your First Web-based Report Using the SAS 9.2 Business Intelligence Clients

Task Force on Technology / EXCEL

How to use Wireframe in Visio

Raster to Vector Conversion for Overlay Analysis

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

Menus and Toolbars: Using and customizing those common to all OpenOffice.org components

Gestation Period as a function of Lifespan

Using Spreadsheets, Selection Sets, and COGO Controls

Completing Baseline s Site Survey Request Form

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010

Statgraphics Getting started

Excel 2010: Create your first spreadsheet

Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure

Tutorial: Biped Character in 3D Studio Max 7, Easy Animation

If you know exactly how you want your business forms to look and don t mind

Writer Guide. Chapter 15 Using Forms in Writer

Microsoft Project 2013

0 Introduction to Data Analysis Using an Excel Spreadsheet

One of the following messages will appear in red when DisplayStudio is not properly connected to a media player on the wireless network.

To Begin Customize Office

PTC Integrity Eclipse and IBM Rational Development Platform Guide

Hierarchical Clustering Analysis

Scientific Graphing in Excel 2010

USING WINDOWS MOVIE MAKER TO CREATE THE MOMENT BEHIND THE PHOTO STORY PART 1

Adobe Digital Signatures in Adobe Acrobat X Pro

Pro/ENGINEER Wildfire 4.0 Basic Design

If you know exactly how you want your business forms to look and don t mind detail

Gerrit Stols

Stability of Linear Control System

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Prism 6 Step-by-Step Example Linear Standard Curves Interpolating from a standard curve is a common way of quantifying the concentration of a sample.

Chapter Eight Root Locus Control Design. 8.3 Common Dynamic Controllers

CNCTRAIN OVERVIEW CNC Simulation Systems

GelAnalyzer 2010 User s manual. Contents

RLC Series Resonance

PROCESS CONTROL SYSTEM DESIGN Process Control System Design LECTURE 2: FREQUENCY DOMAIN ANALYSIS

One-Way ANOVA using SPSS SPSS ANOVA procedures found in the Compare Means analyses. Specifically, we demonstrate

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Applying a circular load. Immediate and consolidation settlement. Deformed contours. Query points and query lines. Graph query.

Creating Hyperlinks & Buttons InDesign CS6

Model Run Analysis. Technical Documentation Version 6.7. Center for Advanced Decision Support for Water and Environmental Systems

MARS STUDENT IMAGING PROJECT

BD CellQuest Pro Software Analysis Tutorial

How to connect to VUWiFi

Transcription:

MATLAB Control System Toolbox Root Locus Design GUI MATLAB Control System Toolbox contains two Root Locus design GUI, sisotool and rltool. These are two interactive design tools for the analysis and design of the singleinput single-output (SISO) linear time-invariant (LTI) control systems. sisotool opens the SISO Design Tool with Root Locus View and Bode diagram. rltool opens the SISO Design Tool with only Root Locus view on. These GUI allows you to design compensators by interacting with the root locus, Bode, and Nichols plots of the open-loop system. To load an empty SISO Design Tool at MATLAB prompt type >> sisotool sisotool can also be called with additional arguments. For example, sisotool(gp), or sisotool(gp, Gc). Where Gp is the plant object model and Gc is the compensator object model. You can import SISO LTI model into the Root Locus Design as follows: Load a model from the MATLAB workspace Load a model from a MAT-file Load the model from the SIMULINK diagram Similarly, rltool opens SISO Design Tool with only the Root Locus View. Following examples are used to demonstrate some of the features of the Root Locus Design. Example 1 In the control system showng ( s c ) is a proportional controller, K. R() s G () c s Gp () s = 1 ss ( + 2)( s+ 5) Cs () Using sisotool determine the following: (a) Range of K for system stability. (b) Value of K for the complex dominant-poles damping ration of 0.6. For this value of K obtain the frequency response GM and PM. Also obtain the step response and the time-domain specifications. To make the plant model and start the SISO Design Tool, at the MATLAB prompt type >> Gp = tf(1, [1 7 10 0]) >> sisotool An empty SISO Design Tool opens as shown. 7B.1

The SISO Design Tool by default assumes that the compensator is in the forward path. The FS button toggles between two configurations, placing the compensator in the feedback or forward path as shown above. Select Import Model under the File menu. This opens the Import System Data dialog box, which is shown below. All the available models will appear in the Model Listbox: The Blocks are coded as F (A preamplifier), G (Plant model) H (Sensor), K (Compensator) with default values of 1. Select Gp and click on the arrow button to place it in the G field. 7B.2

The Other button toggles between the two configurations. Click OK. The root locus and open-loop Bode diagrams are displayed in the plot regions. The red squares on the loci represents the closed-loop poles corresponding to gain set point (default value C(s) = 1). Also the gain margin and the phase margin for the default gain of C(s) = 1 are listed on the Bode plot. The SISO Design Tool has right-click menus available in the plot regions with many features. Right-Click Menu on the Root Locus plot Right-click Menu on the Bode plot 7B.3

You can change the compensator gain by typing a value in the C(s) field. Also, you can change the gain by grabbing the red squares (closed-loop poles) on the root locus plot and moving them along the curve to the desired location. To place the roots accurately in a desired location first, select Zoom XY from the right-click menu; then select a region of the root locus, hold and place a small square in the desired region. This will zoom in the desired region. Alternatively you can use the Mouse Zoom from the Zoom icons on the toolbar. Click on the Mouse Zoom icon (Zoom in XY), and then repeatedly click on the desired location on the root locus for the necessary zoom. Turn off the Mouse Zoom. Drag the closed loop pole to the desired location. (a) To find the value of K for marginal stability drag the closed-loop pole along the locus to the jω -axis intersect. Turn on the Mouse Zoom and drag the mouse to draw a box around the pole. When the mouse is released, root locus will zoom in on the selected region. Drag the pole to this accurate position. The gain for marginal stability is found to be K = 70. A zoom out result is as shown. c 7B.4

(b) To find the gain for damping ratio of 0.6, drag the complex pole until the damping ratio displayed in the bottom panel is in the neighborhood of 0.6. Then zoom in and drag the pole until damping ratio is 0.6. The result is as shown. The gain is found to be K 0 = 8.89. Also one of the complex pole and the natural frequency are displayed in the bottom panel, i.e., s1 = 0.766 + j1.02 and ω n = 1.28 rad/s. In addition the Gain Margin and Phase Margin are displayed in the Bode plot area, i.e., GM = 17.9 db, and PM = 58.6. From Tools Menu select Loop responses/close-loop Step to obtain the step response. Right-click on the plot, and select Characteristics and then Rise Time and Peak Overshoot. Left click on the blue dots, this will display the time-domain specifications shown in the Figure below. 7B.5

Example 2 For the system in Example1 Design a PD compensator Cs ( ) = KP + Ks D for the following time-domain specifications. Dominant poles damping ratio ζ = 0.707 Dominant poles settling time of t s = 2 seconds t 4τ = 2 τ = 0.5 second s 1 1 ζω = n 2 τ = 0.5 =, and 1 θ = coc (0.707) = 45 Therefore s1 = 2+ j2 To make the plant model and start the SISO Design Tool, at the MATLAB prompt type >> Gp = tf(1, [1 7 10 0]) >> sisotool An empty SISO Design Tool opens as shown 7B.6

Select Import Model under the File menu. This opens the Import System Data dialog box. Select Gp and click on the arrow button to place it in the G field. Click OK. The root locus and open-loop Bode diagrams are displayed in the plot regions. 7B.7

The SISO Design Tool provides design constraints that can make it easier to meet design specifications. If you want To place a pair of complex poles on your diagram at a damping ratio of 0.707, select Design Constraints and then New from the right-click menu in the root locus. This opens the Design Constraints editor. In the damping ratio field enter 0.707. This results in a pair of shaded rays at the desired slope. To add a settling time constraint, reopen the New Constraint window and choose settling time from the pull-down menu, set it s filed to 2. In order to have a closed-loop pole at s 1 = 2+ j2, a zero must be added to shift the loci towards the left-half s-plane. To add a zero, turn on the zero Ο on the toolbar and place the zero ο on the real axis just to the left of the pole with the smallest magnitude. Move the closed-loop pole up the loci towards the intersection of ζ and τ constraints. You can turn on the Mouse zoom and place a square in the area containing the controller zero and the closed loop pole s 1. Adjust the zero position on the real axis and at the same time hold the left mouse and drag the closed-loop pole until the pole is placed at the desired location as appears on the bottom panel. 7B.8

To save the compensator design, select Export from the File menu. This opens the SISO Tool Export. Select Compensator C in the Component column. To change the export name, double-click in the cell for Compensator C and change the name to say PD. Click on the Export to Workspace button. Typing PD at MATLAB prompt the PD controller is printed. Zero/pole/gain: 10.0157 (s+2.397) Thus the PD controller is approximately 24 + 10s. From Tools Menu select Loop responses/close-loop Step to obtain the step response. Right-click on the plot, and select Characteristics and then Rise Time and Peak Overshoot. Left click on the blue dots, this will display the time-domain specifications shown in the Figure below. Also note that the open-loop Bode plot displays the compensated system gain margin and phase margin. 7B.9

Example 3 Kc( s+ z0) For the system in Example 1 Design a phase-lead compensator Cs () = for the ( s+ p0) following time-domain specifications. Dominant poles damping ratio ζ = 0.707 Dominant poles settling time of t s = 2 seconds t 4τ = 2 τ = 0.5 second s 1 1 ζω n = = = 2, and 1 θ = coc (0.707) = 45 τ 0.5 Therefore s1 = 2+ j2 The graphical root locus is a trail and error procedure. In this procedure we select the controller zero and we use the given constraints too find the location of controller poles and its dc gain. For this example select the zero at 1.75. To make the plant model and start the SISO Design Tool, at the MATLAB prompt type >> Gp = tf(1, [1 7 10 0]) 7B.10

>> sisotool An empty SISO Design Tool opens. Select Import Model under the File menu. This opens the Import System Data dialog box. Select Gp and click on the arrow button to place it in the G field. Click OK. The root locus and open-loop Bode diagrams are displayed in the plot regions. To place a pair of complex poles on your diagram at a damping ratio of 0.707, select Design Constraints and then New from the right-click menu in the root locus. This opens the Design Constraints editor. In the damping ratio field enter 0.707. This results in a pair of shaded rays at the desired slope. To add a settling time constraint, reopen the New Constraint window and choose settling time from the pull-down menu set it s filed to 2. Place the curser next to the controller C(s) and click to open its dialog box. In the Edit Compensator C type 1.75 for a Real Zero. Also, add a real pole, turn on the pole on the toolbar and place the pole on the real axis to the right of the pole with the largest magnitude. Move the closed-loop pole up the loci towards the intersection of ζ and τ constraints. You can turn on the Mouse zoom and place a square in the area containing the controller zero, pole and the closed loop pole s 1. Adjust the pole position on the real axis and at the same time hold the left mouse and drag the closed-loop pole until the pole is placed at the desired location as appears on the bottom panel. 7B.11

To save the compensator design, select Export from the File menu. This opens the SISO Tool Export. Select Compensator C in the Component column. To change the export name, double-click in the cell for Compensator C and change the name to say PhLead. Click on the Export to Workspace button. Typing PhLead at MATLAB prompt the phase lead controller is printed. Zero/pole/gain: 64.2588 (s+1.75) ---------------- (s+8.023) Thus the phase-lead controller is approximately 64( s + 1.75) ( s + 8) From Tools Menu select Loop responses/close-loop Step to obtain the step response. Right-click on the plot, and select Characteristics and then Rise Time and Peak Overshoot. Left click on the blue dots, this will display the time-domain specifications shown in the Figure below. 7B.12

7B.13