Question

Consider a negative feedback system whose open-loop transfer function is: G(s)H(s)=K/(s(s+1)) Write a MATLAB program to...

Consider a negative feedback system whose open-loop transfer function is: G(s)H(s)=K/(s(s+1)) Write a MATLAB program to obtain the root-locus plot of G(s)H(s). [2 marks] What are the locations of poles when K = 0.19. [2 marks] When K = 0.4, what are the locations of poles? [3 marks] Find values of the damping ratio, % overshoot and frequency when K = 0.4. [3 marks] Write a MATLAB program to obtain a bode plot of G(s)H(s) when K = 1. [2 marks] Find the magnitude (dB) and phase angle at a frequency of 10rad/sec.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB Code

%numerator coefficient of open loop TF
num=[1];
%denominator coefficient of open loop TF
den=[1 1 0];
%initializing the vector of k
k=0:0.01:2;
%open loop transfer function
sys=tf(num,den);
%Plotting the root locus plot
figure(1)
rlocus(sys,k);
%finding locaiton of poles for K=0.19
k=0.19;
r=rlocus(sys,k);
fprintf('The location of the poles for k=%1.2f are at\n',k)
fprintf('s=(%1.4f)+i(%1.4f)\n',real(r(1)),imag(r(1)))
fprintf('s=(%1.4f)+i(%1.4f)\n',real(r(2)),imag(r(2)))
%finding locaiton of poles for K=0.4
k=0.4;
r=rlocus(sys,k);
fprintf('The location of the poles for k=%1.2f are at\n',k)
fprintf('s=(%1.4f)+i(%1.4f)\n',real(r(1)),imag(r(1)))
fprintf('s=(%1.4f)+i(%1.4f)\n',real(r(2)),imag(r(2)))
%bode plot of the open loop TF for k=1
k=1;
figure(2)
bode(k*sys)
%finding magnitude and phase for w=10rad/sec
w=10;
[mag,phase]=bode(k*sys,w);
fprintf('The magnitude(dB) at frequency of 10 rad/sec is %1.4fdB\n',20*log10(mag))
fprintf('The phase angle at te frequency of 10 rad/sec is %1.4f degrees\n',phase)

Output on command window

The location of the poles for k=0.19 are at
s=(-0.7449)+i(0.0000)
s=(-0.2551)+i(0.0000)
The location of the poles for k=0.40 are at
s=(-0.5000)+i(0.3873)
s=(-0.5000)+i(-0.3873)
The magnitude(dB) at frequency of 10 rad/sec is -40.0432dB
The phase angle at te frequency of 10 rad/sec is -174.2894 degrees

The root locus plot is

On the same plot by using the data cursor option, we can find the overshoot, damping ratio and frequency.

The bode plot of the open loop transfer function G(s)H(s) for K=1 is

Add a comment
Know the answer?
Add Answer to:
Consider a negative feedback system whose open-loop transfer function is: G(s)H(s)=K/(s(s+1)) Write a MATLAB program to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • only b and c please 1 Consider the system whose transfer function is given by: G(S)...

    only b and c please 1 Consider the system whose transfer function is given by: G(S) == (2s +1)(s+3) unction is given by: G(s) - (a) Use the root-locus design methodology to design a lead compensator that will provide a closed-loop damping 5 =0.4 and a natural frequency on =9 rad/sec. The general transfer function for lead compensation is given by D(5)=K (977), p>z, 2=2 (b) Use MATLAB to plot the root locus of the feed-forward transfer function, D(s)*G(s), and...

  • 2. Consider the unity feedback negative system with an open-loop function G(S)-KS. a. Plot the locations...

    2. Consider the unity feedback negative system with an open-loop function G(S)-KS. a. Plot the locations of open-loop poles with X and zeros with O on an s-plane. b. Find the number of segments in the root locus diagram based on the number of poles and zeros. c. The breakaway point (the point at which the two real poles meet and diverge to become complex conjugates) occurs when K = 0.02276. Show that the closed-loop system has repeated poles for...

  • A system having an open loop transfer function of G(S) = K10/(S+2)(3+1) has a root locus...

    A system having an open loop transfer function of G(S) = K10/(S+2)(3+1) has a root locus plot as shown below. The location of the roots for a system gain of K= 0.248 is show on the plot. At this location the system has a damping factor of 0.708 and a settling time of 4/1.5 = 2.67 seconds. A lead compensator is to be used to improve the transient response. (Note that nothing is plotted on the graph except for that...

  • Question# 1 (25 points) For a unity feedback system with open loop transfer function K(s+10)(s+20) (s+30)(s2-20s+2...

    Question# 1 (25 points) For a unity feedback system with open loop transfer function K(s+10)(s+20) (s+30)(s2-20s+200) G(s) = Do the following using Matlab: a) Sketch the root locus. b) Find the range of gain, K that makes the system stable c) Find the value of K that yields a damping ratio of 0.707 for the system's closed-loop dominant poles. d) Obtain Ts, Tp, %OS for the closed loop system in part c). e) Find the value of K that yields...

  • Exercise 10 (8 Marks) Given the open loop transfer function of a system: KH(S) = K...

    Exercise 10 (8 Marks) Given the open loop transfer function of a system: KH(S) = K s(s +3Xs? +2s +2) Draw manually the root locus plot for the system and determine: a) The number of branches. b) The starting and ending points of all the branches. c) The location of the centroid d) The range of K to keep this and angles of asymplotes. e) The intersections of the root loci with the imaginary axis and the corresponding value of...

  • 1. Write the MATLAB commands (tf.) and zpk (...)) that yield the following trans fer functions:...

    1. Write the MATLAB commands (tf.) and zpk (...)) that yield the following trans fer functions: ii) Hy=1+1+ ii) H3-3-*+-1 (s + 1)( -2) iv) H. - 3)(8 + 4) 2. Consider the feedback system: C(0) = K * G(s) Determine the values of K, a, and b of C(s) such that the dominant-closed loop poles are located at $12 = -1 j. Use the root locus method. Provide the locations of the dominant poles. You should include the root...

  • 3. (28 pts.) The unity feedback system with K(5+3) G(s) = (s + 1)(s + 4)(s...

    3. (28 pts.) The unity feedback system with K(5+3) G(s) = (s + 1)(s + 4)(s + 10) is operating with 12% overshoot ({=0.56). (a) the root locus plot is below, find the settling time (b) find ko (c) using frequency response techniques, design a lead compensator that will yield a twofold improvement in K, and a twofold reduction in settling time while keeping the overshoot at 12%; the Bode plot is below using the margin command and using the...

  • G(s) Question 4 a) A simplified form of the open loop transfer function of a chemical...

    G(s) Question 4 a) A simplified form of the open loop transfer function of a chemical process as shown in Figure 4 is 1 s(s+3)(s2 + 2s + 2) where H(s) = 1. i. Construct the root locus. (5 marks) ii. From the root locus in (a), show the range of gain K at the root loci so that the system will stable. Discuss your answer. (2 marks) b) State two important parameters that you got from Bode plot method...

  • Consider the system shown as below. Draw a Bode diagram of the open-loop transfer function G(s).

    1 Consider the system shown as below. Draw a Bode diagram of the open-loop transfer function G(s). Determine the phase margin, gain-crossover frequency, gain margin and phase-crossover frequency, (Sketch the bode diagram by hand) 2 Consider the system shown as below. Use MATLAB to draw a bode diagram of the open-loop transfer function G(s). Show the gain-crossover frequency and phase-crossover frequency in the Bode diagram and determine the phase margin and gain margin. 3. Consider the system shown as below. Design a...

  • Sketch the root locus plot of a unity feedback system with an open loop transfer function...

    Sketch the root locus plot of a unity feedback system with an open loop transfer function G(s) = K / s (s+2) (s+4) Determine the value of K so that the dominant pair of complex poles of the system has a damping ratio of 0.5.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT