From the state equation (refer (1), (2), (3)) previously, we can construct the model with the environment MATLAB
(R2010a) Simulink. The model of the DC motor in Simulink is shown in Fig. 10. The various parameters of the DC motor are shown in Table 3.
A. Empirical method
Flow Chart as shown in Fig. 9 is used for MATLAB coding to find the PID controller parameters and to get DC motor Close loop unit step response of the overall transfer function.