How to find out gain K in root locus for stable system through MATLAB program ?

222 views (last 30 days)
MATLAB PROGRAM FOR RLOCUS FOR DETERMINATION OF GAIN K FOR STABLE SYSTEM
  2 Comments
Fatima Mohamad Hussein
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?

Sign in to comment.

Accepted Answer

Sebastian Castro
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

Sign in to comment.

More Answers (1)

Sam Chak
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)
G = s^2 + 10 s + 10 ------------------------ 3 s^3 + 10 s^2 - 4 s + 2 Continuous-time transfer function.
rlocus(G)
  1 Comment
Ammon Traeden
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.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!