Simulink Design Optimization
This example shows how to use Simulink® Design Optimization™ to optimize the current controller parameters of a 3-phase thyristor converter. The model uses blocks from SimPowerSystems™.
The 3-phase thyristor is controlled by a pulse-width modulator with variable phase angle computed by a PI controller. The PI Current Regulator gains are tuned to track the reference DC current and limit oscillations.
power_demo model using the command below and run the simulation. The simulation produces an unoptimized current variation of the DC motor and the initial data for optimization.
Double-click the Scope block to view the unoptimized current response. Note that two phases of the 3-phase source current and the output voltage of the DC motor are also displayed in this block.
Current Regulation Specs block to view constraints on the output current of the DC motor.
You can launch Response Optimization Tool using the Analysis menu in Simulink, or the
sdotool command in MATLAB. You can launch a pre-configured optimization task in Response Optimization Tool by first opening the model and by double-clicking on the orange block at the bottom of the model. From the Response Optimization Tool, press the Plot Model Response button to simulate the model and show how well the initial design satisfies the design requirements.
We start the optimization by pressing the Optimize button from the Response Optimization Tool. The plot is updated to indicate that the design requirements are now satisfied.
The plot now shows the final optimized current response.
% Close the model bdclose('power_demo')