2.2 Acquiring data    

Now you defined your first RaPID project, you acquire open loop data from the process by first defining the signal with which the process input will be excited and secondly conducting the experiment.

To define the excitation signal, select ``Experiment $\rightarrow \;$Define Input'' or hit the input arrow box under the text ``Thrott'' in the configuration window of Figure 2.4. This pops up the ``Input Definition'' window of Figure 2.5.


  
Figure 2.5: In the ``Input Definition'' window you define the excitation that will be applied to the process. For the skilift tutorial example you use a step signal.
\begin{figure}
\centering
\includegraphics [width=10.8cm]{line1.ps}
\end{figure}


In this window, the input signal (the excitation signal applied to the throttle of the diesel) can be easily defined. There is a choice out of twelve different signals (Section 4.2). In the RaPID course notes we explain when to use which excitation signal. In this tutorial example, you will apply a step of 25 % to the throttle to excite the system. Select ``Step'' as ``Signal Type'' and fill out the parameters as in Figure 2.5. All other signals are just as easy to define, as described in Section 4.2. To have a quick look at the frequency contents of the signal, hit the ``FFT'' radio button in the top right corner of the window.

Hit the ``OK'' button in the ``Input Definition'' window. The selected input signal is drawn at the bottom of the ``Open Loop Data Acquisition'' window, and the ``Start'' button appears in the top right corner (Figure 2.6).   

As a second part of the data acquisition stage, you conduct the experiment. Since you started RaPID in Simulink mode, RaPID considers the Simulink file skilift.mdl to be the ``real skilift''. As soon as you hit the ``Start'' button, the step signal will thus be applied to the throttle in the the Simulink file skilift.mdl and the speed will be recorded. Afterwards, the ``Open Loop Data Acquisition'' window looks like Figure 2.6.


  
Figure 2.6: The Data Acquisition window after you defined the input signal and hit the ``Start'' button to conduct the experiment.
\begin{figure}
\centering
\includegraphics [width=13cm]{line1.ps}
\end{figure}


Note that you can zoom in on the measured data by pointing into one of the axis, clicking with the left mouse button, and dragging the pointer. A rectangular zoom-box appears. When you release the mouse button, the data inside the zoom-box is plotted in the zoomed axis. You zoom out again by double clicking with the left mouse button or by single clicking with the right mouse button.   

Data viewing is another powerful RaPID tool to inspect data. When you click on one of the lines in a plot, the time and throttle (or speed) value appear next to the pointer. When you now drag the pointer along the line, the time and throttle (or speed) values are updated on the fly. Note that zooming and data viewing are available for all RaPID plots.

Finally, try the menu entries View $\rightarrow \;$Signal Analysis and View $\rightarrow \;$Signal Properties (Section 4.6). You can also have a look at the Simulink model itself with the menu entry Simulink $\rightarrow \;$Model (Section 3.1.4).



Peter Van Overschee
1/21/1998