Question: Write a MATLAB program that will design a lead compensator assuming second-order approximations as follows: a. Allow the user to input from the keyboard the

Write a MATLAB program that will design a lead compensator assuming second-order approximations as follows:

a. Allow the user to input from the keyboard the desired percent overshoot, peak time, and gain required to meet a steady-state error specification

b. Display the gain-compensated Bode plot

c. Calculate the required phase margin and bandwidth

d. Display the pole, zero, and gain of the lead compensator

e. Display the compensated Bode plot

f. Output the step response of the lead compensated system to test your second order approximation

Test your program on a unity feedback system where

K(s+ 1) S(s+ 2)(s+ 6) G(s) =

and the following specifications are to be met: percent overshoot = 10%, peak time = 0.1 second, and Kv = 30.

K(s+ 1) S(s+ 2)(s+ 6) G(s) =

Step by Step Solution

3.51 Rating (171 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

I am posting here is the whole matlab program for above question Caution to run this code please mak... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Control Systems Engineering Questions!