74 CHAPTER 2. MATHEMATICAL MODELS IN CONTROL
Figure 2.40. Open-loop response
The step response in Figure 2.41 is then obtained by inserting the following
Matlabstatement and running them-file.
step(sys,0:0.001:0.2); %Step response of closed-loop system with plot;
Figure 2.41. Closed-loop response
From the closed-loop response, we observe that the settling time criteria is
not satisfied, although the overshoot is within the tolerable limit of less than
5%.
To improve this, we choose the control structure illustrated in Figure 2.42
and we choose the standard PID transfer function for the controller, namely,
Figure 2.42. Control structure