Root Locus Design Lab Report
Root Locus Design Lab Report
UNIVERSITY
Controller Design
Using Root locus and
Robustness test
NEE3201 Introduction to Control
Systems
Submitted Via: VU
Collaborate
Student ID: 4462542
Submitted to: MS RUI LI
Lab Supervisor: MS RUI
LI
Date Submitted:
20/10/16
Table of Contents
1.0 Objective............................................................................ 3
2.0 Introduction........................................................................ 3
3.0 Design Specifications:........................................................3
4.0 Procedure........................................................................... 4
5.0 Analysis and Verification:.................................................10
5.1 Explanation:................................................................... 10
5.2 Controller and Compensator:.........................................10
5.3 Need for Pole zero Cancellation:....................................10
6.0 Controller design..............................................................11
6.1 Desired point coordinates calculation:...........................11
6.2 Angle of Deficiency:........................................................12
7.0 Lead Lag Compensator:...................................................12
7.1 Lead Compensator:........................................................12
7.2 Magnitude Condition to find the value of K:...................13
7.3 Lag Compensation:........................................................14
8.0 Robustness test:...............................................................15
9.0 Concluding Discussion.....................................................17
10.0 References:......................................................................18
Table of Figures
Figure 1 Block Diagram of the Field Controlled Servo Motor
Using Simulink........................................................................... 4
Figure 2 Root locus plot structure..............................................5
Figure 3 the graphical representation of root-locus design of
closed-loop system....................................................................5
Figure 4 Control & Estimation Tool Manager, Step Response.....6
Figure 5 Showing Change in Root Locus....................................6
Figure 6 Control and Estimation Design, with Integrator
response plot of Root Locus.......................................................7
Figure 7 the change of step response by changing the gain
constant in Gc(s) from 1 to 4......................................................7
Figure 8 Closed loop viewer and SISO design for estimation on
damping factor and closed loop poles.......................................8
Figure 9 Poles and Zeros of Lead Compensator for Angle
contribution............................................................................... 9
Figure 10 Poles and Zeros of Lag Compensator and change in
root locus..................................................................................9
Figure 11 Closed Loop Pole Viewer for Finalized Design...........10
Figure 12 System Output Response with Desired Specifications
................................................................................................ 10
Figure 13 Ideal Poles zeros from given specified Peak Overshoot
& Settling Time........................................................................ 11
Figure 14 Poles and Zeros s-plane angle deficiency calculations
................................................................................................ 12
Figure 15 Angle calculations for lead compensator Pole
placement...............................................................................13
Figure 16 Poles of Lead Compensator......................................13
1.0 Objective
The main purpose of this laboratory experiment is to use root-locus
method and design a unity feedback control system using MatLab. In
order to meet certain closed-loop system, time-domain performance
specifications and to analyse the behaviour of the obtained system in the
presence of uncertainty.
The goals are such that:
2.0 Introduction
Root-Locus method is very important method for designing closed-loop
control systems. Time-domain performance specifications are graphically
mapped in pole location regions in the complex plane, when all analysis
and design considerations are based on the well-accepted dominating
poles concept. Graphically it is related to the positions of closed-loop
poles to the positions of open-loop poles and open-loop zeros when a
tunable parameter varies. By taking advantage of the concept of
dominant closed loop-poles, root locus method allows transient response
of a closed-loop system to be shaped graphically and to design an
appropriate compensator in the s-plane.
Therefore, designing a controller, for meeting certain performance
specifications, by using the tools and the properties of the complex plane,
the construction of the so called gamma-regions widens the set of tools in
the plane, by giving new so called alternatives in studying plant
parametric uncertainties in designing controllers, classified in a category
tagged by the notion of robustness. [1]. In addition MATLAB script file is
used for the robustness analysis. The controller poles and zeros have been
manually calculated and are noted in this report.
GP ( s )=
4500
( s+2 ) ( s +30 )
to be achieved.
G P ( s )=
4500
( s+2 ) ( s +30 )
Kv
40.
4.0 Procedure
In command window of MatLab, the transfer function of the plant can be
defined. MatLab uses sysg=tf(numg,deng) command for the purpose.
numg=4500;
deng=[1 32 60]
sysg=tf(numg,deng)
sysg=
4500
2
s +32 s + 60 s
2
Next step is to open the CAD tool, for such purpose ,the command rltool
at the MatLab prompt is used to invoke the CAD tool for root locus design,
given on Figure 1.
Left click on the Control and Estimation Tools Manager in the task bar, in
the Control and Estimation tools Manager Window that appeared, we
selected Architecture at the top of the window with a left click, the left
click on System Data to replace the value of 1 in G, by sysg follows by
clicking OK. The graphical representation of root-locus is given on Figure
2.
By selecting of Analysis Plots at the top of the Control and Estimation Tool
Manager Window and check the box for Closed Loop r to y then simply
pull down menu to select STEP for PLOT 1. This is the step response of the
closed- loop system defined by the system data in the specified
architecture. The plot is given on Figure 3.
Right click in the plot area of the LTI Viewer window and then we selected
Grid by a left click in the menu that appears to check that the steady state
error is not zero, because of the settling time.
Left click on Graphic Tunning at the top of the Control And Estimation Tools
Manager window, then left click on the Plot 1 and then we used the right
most pull down menu to select root locus to able to see how a root locus
appears in the SISO Design Window. This is the root-locus of a unity
feedback control system, because H(s) =1, with plant transfer function
Gp(s) and a proportional controller Gc(s) in the forward path. There is a
small pink square located on the root locus. That is the position of the
closed loop-pole when K=1. We verify these by selecting Architecture
follows by the System data. With the LTI Viewer and SISO Design, which
are given on Figure 4 below, with left click on the pink area and drag it
with a small hand to a new position along the root-locus we were able to
observe the corresponding change of the closed-loop step response in the
LTI Viewer.
At the top of the Control and Estimation Tools Manager window, then left
click on Compensator Editor, given on Figure 5 below. Then right click on
the Dynamics area to add poles and zeros to the controller. Left click on
the Real pole option to change the position of the pole to be added from
-1 to 0, enter key must be pressed after to effect this change. Then the
controller has to be changed as well, from a proportional to integral
controller. Also the value of the constant term K in G c(s) to 1 has to
change. The desired Percentage Overshoot can be achieved at a value of
k=0.533
When the SISO Design has been opened we noticed that the system is
now a third order system instead of a second order system. Also, when
the LTI Viewer has been opened to observe the closed-loop step response,
it is noted that the required zero steady state error has been achieved.
By changing the value of the gain constant K in G c(s) from 1 to 0.53 we
noticed that the closed-loop step response in the LTI Viewer has been sped
up, given in Figure 6 below.
The peak overshoot in the closed-loop step response has been notes that
is about 40% and the 2 settling time is about 4.62 sec, the damping
factor is 0.28 and the closed loop poles are at s=-0.839
considered idle closed loop poles are no longer
j2.9. the
the system is now 3rd order system. All results are given in Figure 7.
Figure 8 Closed loop viewer and SISO design for estimation on damping
factor and closed loop poles
At the top of the Control and Estimation Tools Manager window left click
on Compensator Editor the record of transfer function and the controller
has been made which is given on Figure 8.
The gain value at this stage:
k v =lim s
s 0
4500 k
4500 k
=
60
s ( s+2 )( s+30 )
k v =40 ;
4500 k 4500 k
2400
=
k=
=0.533
40 60 2400
4500
At the top of the Control and Estimation Tools Manager window left click
on the Compensator Editor. By Right clicking on the Dynamic area to add
poles and zeros to the controller GC(s), the left click on the Real Pole
option to change the position of the compensation pole to be added from
-1 to -29.426.
The previous step has been repeated, but left clicks the real zero option to
change the position of the compensation zero to be added from -1 to -2
shown on Figure 8.
The SISO Window has been open to observe the changes in the root-locus.
Again by adding poles and zeros for the lag compensator can meet the
desired requirements for velocity error constant and settling time, such
that a pole at 0.01 is placed and zero at 0.019 is placed as shown in
figures below, the desired P.O=40 5 and settling time 0.65 is achieved
by moving the pink square in root locus graph, the gain value is 3.6, the
given value for gain in the control and estimation tool manager is in time
constant form, however the calculated idle case value for K is 3.89
Figure 10 Poles and Zeros of Lag Compensator and change in root locus
s=5.01 j19.
because of
adding the compensators, i.e. the root locus has been shifted. The
damping factor also been reduced to 0.255 because for Higher order
system the damping factordoes not follow the criteria for the Peak
overshoot.
K t =1.5
T e=1 /30 ;
T m=1/2;
3
4
2 %,.
n=18.3
n=5.33,
s=5.33 j18.3
Figure 13 Ideal Poles zeros from given specified Peak Overshoot and
Settling Time
1= tan
18.3
=36.6 ,
305.330
1
2=180 tan
3=180 tan
18.3
=100.3
5.332
18.3
=106.3
5.33
Angle of deficiency
s+ z n
s+ p n ;
p=100.3 63.2=37.1
l p1=
18.3
=24.2
tan ( 37.1 )
Therefore the location of real axis from point P, 5.33 = 24.2 + 5.33= 29.5
Therefore
K ( s )=
k ( s+2 )
s ( s+29.5 )
Evaluate
G(s ) K ( s)s=5.33+18.3 =1
4500 k (s +2)
s ( s+2 ) ( s+29.5 ) ( s +30 )
4500 k
=1
s ( s+29.5 ) (s +30) s=5.33 + j 18.3
=1
s=5.33+ j 18.3
||
4500 k
=1
5.33+ j18.3||5.33+ j18.3+29.5||5.33+ j 18.4 +30|
4500 k
=1
19.0630.2131.4
4500 k =16605.72 k =3. 925
Therefore,
k v =lim s
s 0
K ( s )=
17750.7( s+2)
17750.7
=
=20.057
s ( s+2 )( s+29.5 ) (s+30) 29.530
required
velocity
compensation the
error
k v =20.057
constant
is
k v =
40,
with
the
lead
introduced to put the poles in such a way that the required transient
specifications and velocity error constant specification can be achieved.
k required =40 ; k current =20.057
Therefore, the poles for the lag compensator can be placed as the ratio of
kv
kv;
the
required and current
i.e.
z2 k v
=
p2 k v
required
current
40
=1.9943 ;
20.057
z 2=1.9943p2
As Pole near origin is necessary at this stage [3], therefore, Lets choose a
z 2=1.99430.01=0.019943 0.02
pole at 0.01, therefore,
Finalised Controller block diagram with the Plant and step response is
given in figure 17 and figure 18 below.
Figure 17 Block Diagram of the Field Controlled servo motor with the
Controller design
Figure 18 Output Response of the Final controller design with the Plant
1 2
It sets a desired dynamic behaviour of the control system, and guarantees
robustness, in the case when all dominating poles, repositioned in the
plane due to plant parameter uncertainties, lie in it:
Plant parameter uncertainties form an uncertainty region in the complex
plane. The analysis of the relative location and overlapping of those
regions enables the interpretation of the robustness properties of control
systems. In the given sero mechanism motor, the uncertainty in the
control system is due to 5% variations of the system parameters, the
table of these variates values is given below [1].
Parameters
1.00
Ka
kt
te
tm
K
50
1.5
30
3.6
+5%=1.0
5
-5%=0.95
+5%=52.
5
-5%=47.5
+5%=1.5
75
5%=1.425
+5%=0.0
393
5%=0.027
3
+5%=0.5
25
5%=0.475
+5%=3.7
Peak
Overshoot
Settling Time
Rise Time
40
0.775
0.053
42.1
0.765
0.073
37.9
0.78
0.078
42.1
0.766
0.0729
37.9
0.78
0.078
42.1
0.765
0.0729
37.9
0.78
0.078
43.6
0.763
0.0774
35.9
0.701
0.0734
38.6
0.776
0.0775
41.2
0.762
0.0729
42.1
0.765
0.0729
8
-5%=3.42
37.9
0.78
0.078
damping ratio
evaluated to be n
parameter, causing very low loss of stability. For the robustness test
analysis purpose, MatLab script is used for entering different parameters
to get the transient and root locus robustness outcome [1].
Other than that the system will tend to be stable with additional zeros.
However In many design exercises, zeros can be introduced to attract
closed-loop poles and alter the root locus location. It is also very useful to
applied stable pole-zero cancellation for improving system performance.
Therefore in conclusion, root locus method, in comparison with other
design methods, considerably facilitates the design of a controller
guaranteeing desired closed-loop system dynamic behaviour, since it
offers an adequate interpretation of the time-domain performance.
10.0 References:
[1 D. Kostov, V. Karlova and A. Todorov, Robust Root Locus Application In design
] and Analysis, Technical University, Sofia, 2008.
[2 B. Robert H and D. Richard C, Robust Control Systems, in Modern Control
] System, New Jersey, Printice Hall,, 2011, pp. 932-1956.
[3 N. Norman S, Design Via Root Locus, in Control Systems Engineerig,
] Pomona, Seventh Edition, 2015, pp. 449-485.
[4 R. H. B. Richard C. Dorf, Modern Control System, New Jersey: Printice Hall,
] 2011.
[5 N. S. Nise, Control System Engineering, Pamona: John Wiley & Son, 2008.
]
[6 E. Cheever, Linear Physical System Analysis, 2015. [Online]. Available:
] http://lpsa.swarthmore.edu/Root_Locus/RLocusExamples.html. [Accessed 10
10 2016].