How to find out gain K in root locus for stable system through MATLAB program ?
221 views (last 30 days)
Show older comments
SUBHRAJEET DAS
on 17 Aug 2015
Commented: Ammon Traeden
on 7 Nov 2023
MATLAB PROGRAM FOR RLOCUS FOR DETERMINATION OF GAIN K FOR STABLE SYSTEM
2 Comments
Fatima Mohamad Hussein
on 17 Apr 2020
s^2 + 10 s + 10
------------------------
3 s^3 + 10 s^2 - 4 s + 2
Fatima Mohamad Hussein
on 17 Apr 2020
Find minimum K that makes the system stable.
Find K at the break in point.
Find the break in point.
Find K that makes -3 one pf the system poles.
If K=5, find the overshoot percentage.
If K=5, find the peak output.
If K=5, find the peak time.
Find the maximum value of K that makes the overshoot percentage 20%
Find K that makes the settling time 1.5 sec.
Is the system stable for all values of K?
Accepted Answer
Sebastian Castro
on 17 Aug 2015
It's easier to get the Gain Margin of the system, which is the first output of the margin function:
>> Gm = margin(sys)
That will tell you the maximum gain you can use before your system goes unstable. For proof, see below (note that the tooltip I selected doesn't give me the exact location, but it's close enough):

- Sebastian
5 Comments
Ammon Traeden
on 4 Nov 2023
I want to know the same thing. When I use the plot I just get the x and y values.
More Answers (1)
Sam Chak
on 4 Nov 2023
Click anywhere on the locus and the characteristic properties will appear.
s = tf('s');
G = (s^2 + 10*s + 10)/(3*s^3 + 10*s^2 - 4*s + 2)
rlocus(G)

1 Comment
Ammon Traeden
on 7 Nov 2023
Thanks, that worked, just not in a live script file for whatever reason. Has to me a script file or in the command window.
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!