Question

Please show all steps.

1. Begin with zero gains and then increase Kp until you observe sustained oscillations, mark this value Km. 2. Mark the approximate frequency of oscillation wm 3. Then set the gains as follows: KP 0.6Km Note that if you are able to use Root Locus methods, you can formulate these values exactly 1. Use the Ziegler-Nichols method to get an initial tuning of a PID controller that improves the response of a system represented by the following openloop dynamics 0.75 s 2. What is the cross over frequency, gain margin, and phase mar- gin of the uncompensated system? 3. Compare the cross over frequency, gain margin, and phase margin with the PID compensated system. 4. Compare the step responses of both. Indicate how you gener- ated these responses

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

PID controller design:

increase the gain for the step response of the system such that the system oscillates . that gain is Km and the frequency of oscillations is Wm. this can be obtained from the MATLAB sisotool:

s=tf('s');
g=0.75*s/(s^2*(s+1)*(s+10));
sisotool(g)

in control and estimation tool box manager go to automated tuning and fill the block paramaters as below and click update compensator.

next go to analysis plot and fill the parameters as below and click show analysis plot

now increase the gain of the compensator in the compensator editor window till oscillations are observed in the response. that gain was found to be 60 and period is 0.3278


The PID controller is

Kp= 0.6* 60 = 36

Kd= 86.25

Ki=3.75

the controller is Gc = Kp + Ki / s + Kd s

2 . margins and cross over frequencies of uncompensated system

s=tf('s');
g=0.75*s/(s^2*(s+1)*(s+10));
margin(g)

3 . margins and cross over frequencies of compensated system

s=tf('s');
g=0.75*s/(s^2*(s+1)*(s+10));
gc=36+86.25*s+(3.75/s);

margin(g)

figure
margin(g*gc)

Figure 2 File Edit View Insert Tools Desktop Window Help Bode Diagram Gm--Inf dB (at 0 rad/s), Pm 66.8 deg (at 5.57 rad/s) 15

step response of the sysetms:

s=tf('s');
g=0.75*s/(s^2*(s+1)*(s+10));
gc=36+86.25*s+(3.75/s);
step(feedback(g,1),feedback(g*gc,1))
legend('uncompensated system ' , 'compensated system')


Add a comment
Know the answer?
Add Answer to:
Please show all steps. 1. Begin with zero gains and then increase Kp until you observe...
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
  • Assignment 1: PID tuning 1. Use the Ziegler-Nichols method to get an initial tuning of a...

    Assignment 1: PID tuning 1. Use the Ziegler-Nichols method to get an initial tuning of a PID controller that improves the response of a svstem represented by the following openloop dynamics 0.75 s G(s) (s + 10)(s +1)s2 2. What is the cross over frequency, gain margin, and phase mar- gin of the uncompensated system? 3. Compare the cross over frequency, gain margin, and phase 4. Compare the step responses of both. Indicate how you gener- 5. How would you...

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