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

## 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 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

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

## This problem has been solved!

Do you need an answer to a question different from the above? Ask your question!

## Step by Step Answer:

**Related Book For**

**Question Details**

Chapter #

**11**Section: Problems

Problem: 17

**View Solution**

Create a free account to access the answer

**Cannot find your solution?**

Post a FREE question now and get an answer within minutes.
* Average response time.