At this point, start RaPID by typing
>> rapidat the Matlab command prompt. Figure 2.1 pops up. Select ``Simulink'', since this tutorial example is in Simulink mode (see Sections 8.7 through 8.8 for some examples in File mode).
Independent of the mode you start RaPID in, the first step to take is to define a RaPID project. This project bundles all necessary information related to the control problem at hand. Defining a project can be done by either starting a new project (see below and Section 3.1), by loading a previously saved project (Section 3.2.2) or by using one of the pre-defined demo projects (Chapter 8).
In this tutorial problem, you will control the speed of a ski lift. It has to be accelerated from 0 to 10 km/hour. Afterwards, the speed should stay as constant as possible. The ski lift is powered by a diesel motor. With the throttle of this motor you determine the force applied to the lift. The whole is modeled (simplified) as a first order system with delay. Note that this model could just as well describe a simplified model for a chemical reaction, an electrical motor, a heating process etc....
Use File
New Project to pop up the ``New Simulink Project''
window of Figure 2.2 and fill out all necessary
information (Figure 2.3):
My first RaPID project.Section 3.1.1 contains more details about taking notes in RaPID.
$RaPID\simulink\skilift.mdlThis model contains the simple first order process with dead time describing the skilift.
Have a look at the possible controller templates by hitting the ``Template...'' button in the lower left corner, but for now leave the settings as they are (Section 3.1.2 contains more information on controller templates).
Hit the ``OK'' button in the ``New Simulink Project'' window of Figure 2.3. The ``Open Loop Data Acquisition'' window now looks like Figure 2.4. Note how the process names and units show up in the configuration plot on top and in the plots at the bottom.