2.5 Validating the controller  

Hit the ``Closed Loop'' task bar button in Figure 2.13 or select the menu Rapid $\rightarrow \;$Experiment $\rightarrow \;$Closed Loop. The ``Data Acquisition'' window pops up again. After you answer ``No Save'', the window switches to the closed loop configuration as in Figure 2.15. The window shows at this point the reference signal (blue line) and the simulated speed (process input) and throttle (process output) as a yellow dotted line.

To start the closed loop validation, hit the ``Start'' button. This will again load the Simulink model skilift.mdl and close the loop with the designed PID controller. The reference step is applied and the speed and throttle are measured. Afterwards, the ``Closed Loop Data Acquisition'' window looks like Figure 2.15. Comparing the ``measured'' data with the predicted performance allows you to validate the linear design. For this simple tutorial example, the Simulink model is linear, so the only deviations between simulation and measurement are due to noise.


  
Figure 2.15: The ``Closed Loop Data Acquisition'' window. The PID controller is implemented around the Simulink model and simulated. The resulting speed and throttle are plotted, and compared to the linear prediction to validate the controller design.
\begin{figure}
\centering
\includegraphics [width=13cm]{line1.ps}
\end{figure}


This concludes the four RaPID cycles from open loop data acquisition, over model identification and controller design, to closed loop controller validation. If required, you can now refine the control design. This is illustrated in the next section.



Copyright ISMC nv
1/21/1998