matlab code
controller=tf([1 1.5 0.5],[1 0])
plant=zpk([],[-0.05 -0.1 -2],0.01)
open_loop=series(controller,plant)
figure
rlocus(open_loop)
grid on
closed_loop=feedback(300*open_loop,1)
figure
step(closed_loop)
grid on
stepinfo(closed_loop)
output:
controller =
s^2 + 1.5 s + 0.5
-----------------
s
Continuous-time transfer function.
plant =
0.01
----------------------
(s+0.05) (s+0.1) (s+2)
Continuous-time zero/pole/gain model.
open_loop =
0.01 (s+1) (s+0.5)
------------------------
s (s+0.05) (s+0.1) (s+2)
Continuous-time zero/pole/gain model.
closed_loop =
3 (s+0.5) (s+1)
-------------------------------------------
(s+1.505) (s+0.4439) (s^2 + 0.201s + 2.245)
Continuous-time zero/pole/gain model.
ans =
struct with fields:
RiseTime: 0.6466
SettlingTime: 40.0134
SettlingMin: 0.2265
SettlingMax: 1.9152
Overshoot: 91.5246
Undershoot: 0
Peak: 1.9152
PeakTime: 1.9582



PID controller: KG (5) - K(s’+1.55 +0.5) Plant: G (s)=- 1 (20s +1)(10s +1)(0.5s +1) For...
Use rlocus in MATLAB to plot the root locus for a closed loop control system with the plant transfer function 8. z 2 2)2-0.1z +0.06 For what value of k is the closed loop system stable? 9. The characteristic equation for a control system is given as z2(0.2 +k)z 6k +2-0 Use Routh-Hurwitz criterion to find when the system is stable. 10. Use MATLAB to plot the root locus for the system given in Problem 9. Compare your conclusion in...
[7] Sketch the root locus for the unity feedback system whose open loop transfer function is K G(s) Draw the root locus of the system with the gain K as a variable s(s+4) (s2+4s+20)' Determine asymptotes, centroid,, breakaway point, angle of departure, and the gain at which root locus crosses jw -axis.
[7] Sketch the root locus for the unity feedback system whose open loop transfer function is K G(s) Draw the root locus of the system with the gain...
K(s+2) 2) Sketch the tot locus of closed loop system with openloop D (s)G(s) = s +2s+3. a. sketch real root locus b. find the asymptotes c. find the departure angles of complex poles d. sketch the root locus to the best of your ability e. Use matlab rlocus () to confirm your sketch (include a print out of your plot)
Problem 2 (25 Pts,) Root locus: A proportional only action is controlling a plant with unity feedback. The plant transfer function is: 6 G)+ G+2)(6 +3) a. Draw the poles of G (s) in below figure b. How many asymptotes does the root locus plot of the above transfer function has? c. What angles do the asymptotes make with the positive real axis in the s plane? d. At what point do the asymptotes intersect on the real axis? e....
oble2 (25 Pts.) Root Locus: A proportional only action is controlling a plant with unity feedback. The plant ansfer function is: 6 GG)s+ 1)s + 2)s +3) a. Draw the poles of G(s) in below figure b. How many asymptotes does the root locus plot of the above transfer function has? c. What angles do the asymptotes make with the positive real axis in the s plane? d. At what point do the asymptotes intersect on the real axis? e....
% MATLAB allows root loci to be plotted with the
% rlocus(GH) command, where G(s)H(s) = numgh/dengh and GH is an
LTI transfer-
% function object. Points on the root locus can be selected
interactively
% using [K,p] = rlocfind(GH) command. MATLAB yields gain(K)
at
% that point as well as all other poles(p) that have that gain.
We can zoom
% in and out of root locus by changing range of axis values
using
% command axis([xmin,xmax,ymin,ymax]). root locus...
Let G,()+3s+5) , K-1 and Ge 1 I Determine the loop transfer function L(s)-KG.G. Use 'margin' command in matlab to generate the Bode Plot for L(s). (a) What are its gain and phase margins (these should be available in the plots). (b) Convert the gain margin in dB to absolute value. (c) For what value of the gain K would the closed loop system become marginally stable? (d) Show that, for this value of K, the closed loop system does...
Problem 4. For the following system determine the following: Refer to Lecture 7/16/19 | Geel K (s) - (5-6)(8 +2) H(s) 1 a) How many poles does G(S) = G(S)Gp(s)H(s) have? b) If K = 1 will the closed loop system be stable? Hint: Can do this with matlab with sys = tf([1],conv([1-6], [1 2])); closed_loop_sys = sys/(1+ sys); then use the function roots([1 ... ) on the coefficients of the denominator of closed_loop_sys c) Repeat part (b) for K=...
Nise Ch. 10, Problem 10.(**Ignore book question**) Here is is the questions for each system, (a) Use MATLAB to draw/plot the root locus (b) Obtain the limits for stable gain. (c) Get bode plot (d) Get gain margin and limits for stable K/gain. (It should be the same as the values obtained from the locus) -Suggestion ) Use the commands like 'rlocus, riocfind' and 'bode, in Matlab. C(s) R(s)+ | (s + 2) -ㄒㄧ System I R(s) + C(s) (s...
R(S) + G(s) 2. For the system of Fig.2., assume: K s(s + 5)(s + 8) (a) Calculate the following points by hand: - jw axis crossings and the corresponding gain. - Real axis breakaway point. Real axis intercept for the asymptotes. - The angle of the asymptotes. (b) Draw a rough sketch of the root locus using the above points by hand.