Download 3DCrane

Transcript
7. Prototyping your own controller in RTWT environment
In this section the process of building your own control system is described. The Real Time
Windows Target (RTWT) toolbox is used. An example how to use the Crane3D software is
shown later in section 5.3. In this section we give indications how to proceed in the RTWT
environment.
☞
Before start, test your MATLAB configuration and compiler installation
by building and running an example of real-time application. Real-time
Windows Target includes the model rtvdp.mdl. Running this model will test
the installation by running Real-Time Workshop, your third-party
C compiler, Real-Time Windows Target, and the Real-Time Windows Target
kernel. In the MATLAB Command Window, type
rtvdp
Next, build and run the real-time model.
For details refer to the Real-Time Windows Target help, section
Installation and Configuration.
To build the system that operates in the real-time mode the user has to:
• create a Simulink model of the control system which consists of the 3DCrane Device
Driver and other blocks chosen from the Simulink library,
• build the executable file under RTWT (see the pop-up menus in Fig. 5.1)
Fig. 7.1 Creating the executable file under RTWT
3DCrane - User’s Manual
62