Beruflich Dokumente
Kultur Dokumente
Experiment-9
Objective: Use MATLAB to draw the Root Locus for the unity feedback system with
the following open loop transfer function:
K ( s 6)
G( s)
s( s 4)( s 2 4s 8)
Determine K for = 0.5 using root locus. At this value of K, obtain the close loop transfer
function. Obtain the step response of close loop system and verify the value of using
measurement of peak overshoot. Also obtain the impulse and ramp response of the closed
loop system.
Software Used:
MATLAB R2010b Version 7.11.0.584.
Theory:
The root locus technique is used for finding the roots of the characteristic equation[1].
The root locus technique is used for the Relative stability of the system.
The root locus technique provides a graphical method of plotting the locus of roots in
the s-plane as a given system parameter (generally the gain K) is varied over the
complete range of value (may be from zero to infinite).
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.
The root locus technique provides a measure of sensitivity of roots to the variation in
the parameter being considered.
The root locus technique provides a measure of sensitivity of roots to the variation in
the parameter being considered.
General rules for constructing the root locus exist and if the designer follows them,
sketching of the root loci becomes a simple matter.
A normal interpretation of improving stability is when the real part of a pole is in left
half of the imaginary axis.
MATLAB Control System Toolbox contains two Root Locus design GUI, sisotool
and rltool. These are two interactive design tools of SISO.
1
Control Lab
x=
Poles Zeros
PZ
8. Intersection point with imaginary axis. The value of K and the point at which the
root locus branch crosses the imaginary axis is determined by applying Routh criterion
to the characteristic equation. The root at the intersection point is imaginary.
2
Control Lab
9. The angle of departure from complex pole. The angle of departure of the root locus
from a complex pole is given by
d 180o ( Z )
P
where P , Z = Sum of all the angles subtended by remaining poles and sum of all the
where Z , P = Sum of all the angles subtended by remaining zeros and sum of all the
angles subtended by poles respectively.
3
Control Lab
4
Control Lab
MATLAB Program:
clc;
% assume K=1,Transfer Function declaration
num=[1 6];
den=[1 8 24 32];
t=tf(num,den)
% root locus plot
subplot(2,2,1)
rlocus(t)
hold
y=ezplot('-sqrt(3)*x');
[k,poles]=rlocfind(t)
num1=k*num;
T1=tf(num1,den);
sys=feedback(T1,1)
% step response plot
subplot(2,2,2)
step(sys)
s=stepinfo(sys)
y=s.Overshoot
zeta=log(y)/sqrt(pi^2+(log(y))^2)
grid on
%impulse response plot
subplot(2,2,3)
impulse(sys)
grid on
% ramp response plot
subplot(2,2,4)
t = 0:0.01:5;
ramp=t;
[y,t]=lsim(sys,ramp,t);
plot(t,y);
grid on
5
Control Lab
Result:
Transfer function:
s6
s 8s 24s 32
3 2
Plots-
5
Amplitude
0 0.4
-5
0.2
-10
0
-5 0 5 0 1 2 3
x Time (sec)
1.5
0.5
Amplitude
Amplitude
1
0
0.5
-0.5 0
0 1 2 3 4 0 2 4 6
Time (sec) Time
Comment:
The root locus and different responses curve have been plotted for the given system.
References:
[1] I.J. Nagrath, M. Gopal” Control System Engineering”, New Age International, Vth
edition, 2010
[2] MATLAB User’s Guide
[3] “Prof.B.S.Manke ”Linear control systems” ,Khanna Publishers, IXth edition ,2009
6
Control Lab
Tutorial Sheet
Q1. Use MATLAB to draw the Root Locus plot for the open loop transfer function
K
G(s) H(s) =
s(s+1)(s+6)
Determine (i) the value of K at s = - 4.
(ii) the frequency of sustained oscillations.
Q2. Sketch the root locus of the open loop transfer function given below
𝐾(𝑠+0.1)
G(s) H(s) =
𝑠(𝑠−0.3)(𝑠2+𝑠+0.6)
and Determine the Stability. Verify result by use of MATLAB.