Question: Write a MATLAB program that will design a lag-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 lag-lead compensator assuming second-order approximations as follows:

a. Allow the user to input from the keyboard the desired percent overshoot, settling 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 poles, zeros, and the gain of the lag-lead compensator

e. Display the lag-lead-compensated Bode plot

f. Display the step response of the lag lead compensated system to test your second-order approximation Use your program to do Problem 19.

Step by Step Solution

3.41 Rating (176 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

I am posting complete matlab code here CAUTION Please ensure that you have the Control System Toolbo... 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!