Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

FIGURE 1

num=[1];
den=[1 1 0];

r=rlocus(num,den,K);
plot(r,'x')
v = [-2 2 -2 2];
axis(v); %axis('square');
grid;
title ('Root-Locus Plot of G(s) = K/s(s+1)')

FIGURE 4

num=[1];
den=[1 1 0];

r=rlocus(num,den);

plot(r,'x')

CALCULATIONS

Location of closed loop poles at k= 0.23:

s=-0.6414 at a frequency of 0.6414 rad/s


s=-0.3587 at a frequency of 0.3587

Location of closed loop poles at k= 500:

s=-0.5±22.4 at a frequency of 22.4 rad/s

Values of K at s = -0.5 - j0.58

𝑠2 + 𝑠 + 𝐾 = 0
𝐾 = −𝑠 2 − 𝑠
𝐾 = (−0.5 − j0.58 )2 − (−0.5 − j0.58)

𝐾 = 0.5864
Values of K at s = -0.9

𝐾 = −(−0.9)2 − (−0.9)
𝐾 = 1.7100

Values of s at K = 0.25

𝑠2 + 𝑠 + 𝐾 = 0
𝑠 = −0.5
Values of s at K = 1000

𝑠2 + 𝑠 + 𝐾 = 0
𝑠 = −0.5000 − 𝑗31.6188 and 𝑠 = −0.5000 + 𝑗31.6188
FIGURE 5

% --------- Root-locus plot ---------

num = [1 3];

den = [1 5 20 16 0];

rlocus(num,den)

v = [-6 6 -6 6];

axis(v); axis('square')

grid;

title ('Root-Locus Plot of G(s) = K(s + 3)/[s(s + 1)(s^2 + 4s + 16)]')

You might also like