Docsity

Root Locus Design: A Graphical Technique for Analyzing Closed-Loop Systems using Matlab, Lecture notes of Information Systems

Partial preview of the text

Download Root Locus Design: A Graphical Technique for Analyzing Closed-Loop Systems using Matlab and more Lecture notes Information Systems in PDF only on Docsity!

Matlab Tutorial : Root Locus ECE 3510Heather Malko

Table of Context

^ 1.

Introduction

^ 2.

Root Locus Design

^ 3.

SISO Root Locus

^ 4.

GUI for Controls

1.0 Introduction

^ General rules for constructing the root locus exist and ifthe designer follows them, sketching of the root locibecomes a simple matter. ^ Root loci are completed to select the best parametervalue for stability. ^ A normal interpretation of improving stability is when thereal part of a pole is further left of the imaginary axis.

1.0 Introduction ^ Matlab and Root Locus: ^ MATLAB Control System Toolbox containstwo Root Locus design GUI, sisotool andrltool. These are two interactive design toolsof SISO.

2.0 Root Locus Tutorial # 1

^ Key Matlab commands used in this tutorial:^ cloop, rlocfind, rlocus, sgrid, step ^ Matlab commands from the control systemtoolbox are

highlighted in red

2.0 Root Locus Design

^ The root locus of an (open-loop) transfer function H(s) isa plot of the locations (locus) of all possible closed looppoles with proportional gain k and unity feedback:

2.0 Root Locus Design

^ Consider all positive values of k. ^ In the limit as k -> 0, the poles of the closed-loop systemare a(s) = 0 or the poles of H(s). ^ In the limit as k -> infinity, the poles of the closed-loopsystem 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 transferfunction 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 K from the root locus

^ The plot above shows all possible closed-loop polelocations for a pure proportional controller. ^ So use the command sgrid(Zeta,Wn) to plot lines ofconstant damping ratio and natural frequency. ^ Its two arguments are the damping ratio (Zeta) andnatural frequency (Wn) [these may be vectors if youwant to look at a range of acceptable values]. In theproblem, an overshoot less than 5% (which means adamping ratio Zeta of greater than 0.7) and a rise timeof 1 second (which means a natural frequency Wngreater than 1.8).

2.0 K from the root locus

^ zeta=0.7; Wn=1.8; sgrid(zeta, Wn)

-^ -^ -^ -^

0

15 10 5 0 -5 -10 -

0.71.8 0. Root Locus Real Axis

Imaginary Axis

2.0 K from the root locus

^ [kd,poles] = rlocfind(num,den)

-^ -^ -^ -^

0

15 10 5 0 -5 -10 -

0.71.8 0. Root Locus Real Axis

Imaginary 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.81802) -12.57943) -2.93734) -2.

2.0 Closed-loop response

L

^ [numCL, denCL] = cloop((kd)*num, den) ^ numCL = 1.0e+003 * 0

^ denCL =

1.0e+003 *

^ >> step(numCL,denCL)

2.0 Closed-loop response

L^0

0.^

1

1.^

2

(^1) 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

Step Response Time (sec)

Amplitude