VOLTAGE ORIENTED CONTROL – IMPLEMENTATION
Figure 4.6 : How to force IGBTs OFF (complete diagram : APPENDIX G. Figure 0.43) The switches are activated by the “GO” signal in our model.
If GO = 0
If GO = 1
Output = 0
Output = Ubac range [0;1]
IGBT = OFF
IGBT = ON
4.4 Running an experiment
To run an experiment we need to introduce some important points that are : STOP/PAUSE/RUN mechanism, simState variable, Initialization and Termination value, how to build a model and which parameters should we used, and how to use Control Desk software. A tutorial is also available in  , and we also advice to use the dSpace Help in Simulink (more useful than the dSpace books).
The simState variable is an internal variable that allows to read or set the simulation state of the application  . This variable is created when the system is built (see how to build a model in the following).
It can take the following value (Table XXX).
Table 4.3 : simState values
The STOP/PAUSE/RUN mechanism depends on the simState variable. By controlling it, you can stop, pause or run your experiment. In our case, we chose to control it via Control Desk. When your system is built and your variable description file (“.sdf”) is opened in Control Desk (see next paragraph), you can find this variable in the main group of variable.
The following figure shows a part of control panel in Control Desk, the simState is linked to “Push Buttons”.