Professional Documents
Culture Documents
Where: a = 2; b = 10
Write a MATLAB program for following requirements
a/ Compute the closed loop transfer function of the system (1 point)
b/ Determine the state space representation of the system (1 point)
c/ Plot the unit step response, write a MATLAB program yields the rise time, peak time,
maximum overshoot and settling time (1 point)
d/ Draw the unit ramp response, unit impulse response of control system and the response of
this system when the input is given by r e0.5t (Note: draw the response and the input in the
same figure) (1 point)
e/ Draw the root locus of the system when b from 0 to infinity; with the constant 0.5 and
0.707 lines and constant circles n 1 circle, n 2 circle and n 3 circle. Determine
the gain value b and the closed loop poles corresponding to this gain value at the crossing point
between the root locus and the constant 0.5 line. With this gain value, draw unit step
response and determine the overshoot, compare this value on the plot and the value from the
formula POT exp (1 point)
1 2
f/ Draw the bode diagram of the system with b = 10. Determine the gain margin and phase
margin of the system and the stability of the system, compare with the result from root locus
diagram (1 point)
g/ Determine the controller such that the POT is 10%, the settling time is 2 s. Compare the
step response of the compensated and uncompensated systems (Note: draw the compensated
and uncompensated systems on the same figure, indicate the transient characteristics of these
systems) (1 point)