Apart from the reference signal, you also need to define the real
time controller. This is the controller that will run in real time on
the process or simulator. Typically, it is set to the designed
controller when you switch from the ``Control Design'' window to the
``Closed Loop Data Acquisition'' window.
Once you defined the real-time controller and the reference signal,
you can start the experiment. Depending on the mode RaPID was started
in, the experiment is conducted as follows:
- From File:
- When you started RaPID
in File mode, there is no direct communication between RaPID and a
process or simulator. You should thus conduct the experiment
completely off-line:
- Save the designed reference signal to a Matlab or ASCII file
as described in Section 4.4.1.
- Implement the real-time controller on the off-line industrial
device. You can view the controller parameters in the ``Edit Real Time
Controller'' window, as described in Section 7.4.4.
- Apply the reference signal to the process and log the input and
output.
- Load the process input and output back into RaPID as described
in Section 4.4.2.
- Simulink:
- When you started
RaPID in Simulink mode, you start the experiment from the menu
Experiment
Start or by hitting the ``Start'' button in the
configuration window (Figure 7.1). The designed
reference signal is then applied to the augmented Simulink model
(the Real Time controller is automatically added to the model) and
the resulting process input and output signals are
recorded (Note that the ``Start'' button only becomes visible
after a valid project, reference signal and real time controller
have been defined.).
You can stop the experiment at any point from the menu
Experiment
Stop or by hitting the ``Stop'' button (which
appeared in place of the ``Start'' button). The part of the data
that was measured until you stopped the experiment can still be used
for further processing.
- Real Time:
- When you started
RaPID in Real Time mode, you start the experiment from the menu
Experiment
Start or by hitting the ``Start'' button in the
configuration window (Figure 7.1). The real-time
controller is automatically down-loaded to the hardware real-time
device, the reference is applied to the resulting closed loop system
and the process input and output data is automatically recorded by
RaPID.
Just as for the Simulink mode, you can stop the experiment at
any point from the Experiment
Stop menu or by hitting the
``Stop'' button. The experiment is stopped immediately through the
generation of an extra Non Maskable Interrupt (see the RaPID real
time manual).
Peter Van Overschee
1/21/1998