Download DSP Based Electric Drives Laboratory - HCMUT

Transcript
Experiment 6 – Frequency Control of AC Motor Drives
DSP-based Electric Drives Laboratory
 Make sure you define at Matlab prompt all the necessary parameters: Vd, Ts, K.
 Set the simulation parameters as in previous experiments.
 Set the switching frequency in the DS1104SL_DSP_PWM3 block to 20000Hz.
 Build (CTRL+B) the model and obtain an *.obj file.
3
dSPACE Implementation
 Start the ControlDesk and a new experiment in the same working root as where your model was
saved.
 Create a new Layout and drag some controls and plotters:
•
One slider gain for the frequency command
•
Two Numeric Inputs for your acceleration and deceleration times
•
One Numeric Input for the boost voltage.
•
Three plotters: one for phase currents, one for speed and one for the duty-cycles.
 Your layout should look like in Fig.5.
Fig.5. Layout of the Experiment 6
79