How to find out gain K in root locus for stable system through MATLAB program ?
221 次查看(过去 30 天)
显示 更早的评论
MATLAB PROGRAM FOR RLOCUS FOR DETERMINATION OF GAIN K FOR STABLE SYSTEM
2 个评论
Fatima Mohamad Hussein
2020-4-17
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?
采纳的回答
Sebastian Castro
2015-8-17
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 个评论
Ammon Traeden
2023-11-4
I want to know the same thing. When I use the plot I just get the x and y values.
更多回答(1 个)
Sam Chak
2023-11-4
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 个评论
Ammon Traeden
2023-11-7
Thanks, that worked, just not in a live script file for whatever reason. Has to me a script file or in the command window.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!