Matlab Tutorial : Root Locus. ECE 3510 Heather Malko

Similar documents
MATLAB Control System Toolbox Root Locus Design GUI

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

Understanding Poles and Zeros

Matlab and Simulink. Matlab and Simulink for Control

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

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

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

ECE 3510 Final given: Spring 11

19 LINEAR QUADRATIC REGULATOR

3.2 Sources, Sinks, Saddles, and Spirals

Engineering Sciences 22 Systems Summer 2004

First, we show how to use known design specifications to determine filter order and 3dB cut-off

TEACHING AUTOMATIC CONTROL IN NON-SPECIALIST ENGINEERING SCHOOLS

Chapter Eight Root Locus Control Design. 8.3 Common Dynamic Controllers

ROUTH S STABILITY CRITERION

2.161 Signal Processing: Continuous and Discrete Fall 2008

Positive Feedback and Oscillators

EECE 460 : Control System Design

NETWORK STRUCTURES FOR IIR SYSTEMS. Solution 12.1

Graphs of Polar Equations

Enhancing Classical Controls Education via Interactive GUI Design

Laboratory 4: Feedback and Compensation

MAC Learning Objectives. Module 10. Polar Form of Complex Numbers. There are two major topics in this module:

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

Stability of Linear Control System

Datum > Curve KIM,ME,NIU

Algebra 1 Course Title

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

2 Session Two - Complex Numbers and Vectors

Control System Definition

Lecture 8 : Coordinate Geometry. The coordinate plane The points on a line can be referenced if we choose an origin and a unit of 20

EE 402 RECITATION #13 REPORT

Soil Dynamics Prof. Deepankar Choudhury Department of Civil Engineering Indian Institute of Technology, Bombay

OPERATIONAL AMPLIFIERS. o/p

Graphing Rational Functions

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

Introduction to Control Systems

Question 1a of 14 ( 2 Identifying the roots of a polynomial and their importance )

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

Solving Quadratic & Higher Degree Inequalities

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

Polynomial and Rational Functions

Microcontroller-based experiments for a control systems course in electrical engineering technology

Chapter 9: Controller design

Motor Modeling and Position Control Lab Week 3: Closed Loop Control

Essay 5 Tutorial for a Three-Dimensional Heat Conduction Problem Using ANSYS Workbench

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Week 13 Trigonometric Form of Complex Numbers

Real-Time Systems Versus Cyber-Physical Systems: Where is the Difference?

Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command

x x y y Then, my slope is =. Notice, if we use the slope formula, we ll get the same thing: m =

Introduction to the TI-Nspire CX

Algebra and Geometry Review (61 topics, no due date)

4.4 Transforming Circles

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

What are the place values to the left of the decimal point and their associated powers of ten?

Year 9 set 1 Mathematics notes, to accompany the 9H book.

7.7 Solving Rational Equations

Higher Education Math Placement

VCO K 0 /S K 0 is tho slope of the oscillator frequency to voltage characteristic in rads per sec. per volt.

Solving Quadratic Equations

Lecture 9. Poles, Zeros & Filters (Lathi 4.10) Effects of Poles & Zeros on Frequency Response (1) Effects of Poles & Zeros on Frequency Response (3)

NO LOAD & BLOCK ROTOR TEST ON THREE PHASE INDUCTION MOTOR

Modeling and Simulation of a Three Degree of Freedom Longitudinal Aero plane System. Figure 1: Boeing 777 and example of a two engine business jet

Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )

3.1 State Space Models

Anamorphic imaging with three mirrors: a survey

ax 2 by 2 cxy dx ey f 0 The Distance Formula The distance d between two points (x 1, y 1 ) and (x 2, y 2 ) is given by d (x 2 x 1 )

The basic cascode amplifier consists of an input common-emitter (CE) configuration driving an output common-base (CB), as shown above.

2.5 Zeros of a Polynomial Functions

DRAFT. Further mathematics. GCE AS and A level subject content

3.1. RATIONAL EXPRESSIONS

PHASOR DIAGRAMS HANDS-ON RELAY SCHOOL WSU PULLMAN, WA. RON ALEXANDER - BPA

Controller Design in Frequency Domain

Problem Set #5-Key. Economics 305-Intermediate Microeconomic Theory

Algebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the school year.

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

Pro/ENGINEER Wildfire 4.0 Basic Design

The Distance Formula and the Circle

Modeling, Analysis, and Control of Dynamic Systems

The Graphical Method: An Example

Curve Fitting, Loglog Plots, and Semilog Plots 1

Loop Analysis. Chapter Introduction

PID Controller Tuning: A Short Tutorial

University of Rochester Department of Electrical and Computer Engineering ECE113 Lab. #7 Higher-order filter & amplifier designs March, 2012

Transmission Lines. Smith Chart

Determine If An Equation Represents a Function

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

SENSITIVITY ANALYSIS AND INFERENCE. Lecture 12

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

Circle Name: Radius: Diameter: Chord: Secant:

Current and Temperature Ratings

Optimal Design of α-β-(γ) Filters

System Modeling and Control for Mechanical Engineers

THE EDUCATIONAL IMPACT OF A GANTRY CRANE PROJECT IN AN UNDERGRADUATE CONTROLS CLASS

Transcription:

Matlab Tutorial : Root Locus ECE 3510 Heather Malko

Table of Context 1.0 Introduction 2.0 Root Locus Design 3.0 SISO Root Locus 4.0 GUI for Controls

1.0 Introduction A root loci plot is simply a plot of the s zero values and the s poles on a graph with real and imaginary ordinates. The root locus is a curve of the location of the poles of a transfer function as some parameter (generally the gain K) is varied. The locus of the roots of the characteristic equation of the closed loop system as the gain varies from zero to infinity gives the name of the method. This method is very powerful graphical technique for investigating the effects of the variation of a system parameter on the locations of the closed loop poles.

1.0 Introduction General rules for constructing the root locus exist and if the designer follows them, sketching of the root loci becomes a simple matter. Root loci are completed to select the best parameter value for stability. A normal interpretation of improving stability is when the real part of a pole is further left of the imaginary axis.

1.0 Introduction Matlab and Root Locus: MATLAB Control System Toolbox contains two Root Locus design GUI, sisotool and rltool. These are two interactive design tools of SISO.

1.0 Introduction Matlab s Useful Commands : http://courses.ece.uiuc.edu/ece486/docum ents/matlab_cmds.html http://wwwccs.ucsd.edu/matlab/toolbox/control/refintr o.html http://users.ece.gatech.edu/~bonnie/book/ TUTORIAL/tut_3.html

2.0 Root Locus Tutorial # 1 Key Matlab commands used in this tutorial: cloop, rlocfind, rlocus, sgrid, step Matlab commands from the control system toolbox are highlighted in red.

2.0 Root Locus Design The root locus of an (open-loop) transfer function H(s) is a plot of the locations (locus) of all possible closed loop poles with proportional gain k and unity feedback:

2.0 Root Locus Design The closed-loop transfer function is: and thus the poles of the closed loop system are values of s such that 1 + K H(s) = 0. If H(s) = b(s)/a(s), then this equation has the form: Let n = order of a(s) and m = order of b(s) [the order of a polynomial is the highest power of s that appears in it].

2.0 Root Locus Design Consider all positive values of k. In the limit as k -> 0, the poles of the closed-loop system are a(s) = 0 or the poles of H(s). In the limit as k -> infinity, the poles of the closed-loop system are b(s) = 0 or the zeros of H(s). No matter what we pick k to be, the closed-loop system must always have n poles, where n is the number of poles of H(s). The root locus must have n branches, each branch starts at a pole of H(s) and goes to a zero of H(s).

2.0 Root Locus Design Consider an open loop system which has a transfer function of num=[1 7]; den=conv(conv([1 0],[1 5]),conv([1 15],[1 20])); rlocus(num,den) axis([-22 3-15 15])

2.0 Root Locus Design 15 Root Locus 10 5 Imaginary Axis 0-5 -10-15 -20-15 -10-5 0 Real Axis

2.0 K from the root locus The plot above shows all possible closed-loop pole locations for a pure proportional controller. So use the command sgrid(zeta,wn) to plot lines of constant damping ratio and natural frequency. Its two arguments are the damping ratio (Zeta) and natural frequency (Wn) [these may be vectors if you want to look at a range of acceptable values]. In the problem, an overshoot less than 5% (which means a damping ratio Zeta of greater than 0.7) and a rise time of 1 second (which means a natural frequency Wn greater than 1.8).

2.0 K from the root locus zeta=0.7; Wn=1.8; sgrid(zeta, Wn) 15 Root Locus 10 5 Imaginary Axis 0-5 0.7 1.8 0.7-10 -15-20 -15-10 -5 0 Real Axis

2.0 K from the root locus The plot above shows all possible closed-loop pole locations for a pure proportional controller. So use the command sgrid(zeta,wn) to plot lines of constant damping ratio and natural frequency. Its two arguments are the damping ratio (Zeta) and natural frequency (Wn) [these may be vectors if you want to look at a range of acceptable values]. In the problem, an overshoot less than 5% (which means a damping ratio Zeta of greater than 0.7) and a rise time of 1 second (which means a natural frequency Wn greater than 1.8).

2.0 K from the root locus [kd,poles] = rlocfind(num,den) 15 Root Locus 10 5 Imaginary Axis 0-5 0.7 1.8 0.7-10 -15-20 -15-10 -5 0 Real Axis

2.0 K from the root locus [kd,poles] = rlocfind(num,den) Select a point in the graphics window selected_point = -2.6576 + 0.0466i kd = 306.9457 poles = 1) -21.8180 2) -12.5794 3) -2.9373 4) -2.6652

2.0 Closed-loop response In order to find the step response, one needs to know the closed-loop transfer function. [numcl, dencl] = cloop((kd)*num, den) The two arguments to the function cloop are the numerator and denominator of the open-loop system. You need to include the proportional gain that you have chosen. Unity feedback is assumed. If you have a non-unity feedback situation, look at the help file for the Matlab function feedback, which can find the closed-loop transfer function with a gain in the feedback loop.

2.0 Closed-loop response [numcl, dencl] = cloop((kd)*num, den) numcl = 1.0e+003 * 0 0 0 0.3069 2.1486 dencl = 1.0e+003 * 0.0010 0.0400 0.4750 1.8069 2.1486 >> step(numcl,dencl)

2.0 Closed-loop response Step Response 1 0.9 0.8 0.7 0.6 Amplitude 0.5 0.4 0.3 0.2 0.1 0 0 0.5 1 1.5 2 2.5 Time (sec)

2.0 Root Locus Design

2.0 Root Locus Design Reference: http://www.engin.umich.edu/group/ctm/rlocus /rlocus.html http://www.cs.wright.edu/people/faculty/kratt an/courses/414/lab1/matlabcommands.pdf

Design Constraints When designing compensators, it is common to have design specifications that call for specific settling times, damping ratios, and other characteristics. The SISO Design Tool provides design constraints that can help make the task of meeting design specifications easier. The New Constraint window, which allows you to create design constraints, automatically changes to reflect which constraints are available for the view in which you are working.

Design Constraints Select Design Constraints and then New to open the New Constraint window, which is shown below.

Design Constraints for the Root Locus For the root locus, you have the following constraint types: Settling Time Percent Overshoot Damping Ratio Natural Frequency

Settling Time. If you specify a settling time in the continuous-time root locus, a vertical line appears on the root locus plot at the pole locations associated with the value provided (using a first-order approximation). In the discrete-time case, the constraint is a curved line. Percent Overshoot. Specifying percent overshoot in the continuous-time root locus causes two rays, starting at the root locus origin, to appear. These rays are the locus of poles associated with the percent value (using a second-order approximation). In the discrete-time case, In the discrete-time case, the constraint appears as two curves originating at (1,0) and meeting on the real axis in the left-hand plane.

Damping Ratio. Specifying a damping ratio in the continuous-time root locus causes two rays, starting at the root locus origin, to appear. These rays are the locus of poles associated with the damping ratio. In the discrete-time case, the constraint appears as curved lines originating at (1,0) and meeting on the real axis in the left-hand plane. Natural Frequency. If you specify a natural frequency, a semicircle centered around the root locus origin appears. The radius equals the natural frequency.

load ltiexamples sisotool(sys_dc)

The two rays centered at (0,0) represent the damping ratio constraint. The dark edge is the region boundary, and the shaded area outlines the exclusion region. This figure explains what this means for this constraint. use this design constraint to ensure that the closed-loop poles, represented by the red squares, have some minimum damping. Try adjusting the gain until the damping ratio of the closed-loop poles is 0.7.

The two rays centered at (0,0) represent the damping ratio constraint. The dark edge is the region boundary, and the shaded area outlines the exclusion region. This figure explains what this means for this constraint. use this design constraint to ensure that the closed-loop poles, represented by the red squares, have some minimum damping. Try adjusting the gain until the damping ratio of the closed-loop poles is 0.7.

3.0 Root Locus Design Reference: http://www.mathworks.com Matlab Help

4.0 GUI for Controls

4.0 GUI for Controls

Concluding Remarks This tutorial and the GUI for Controls can be downloaded from http://www.cs.utah.edu/~malko/controls/