SimCoupler Module
FOR CO-SIMULATION WITH MATLAB/SIMULINK*
The SimCoupler Module is an add-on module to the PSIM software. It provides interface between PSIM and Matlab/Simulink for co-simulation, so that part of a system can be implemented and simulated in PSIM, and the rest in Matlab/Simulink. MATLAB/Simulink is widely used in control system simulation. However, it is cumbersome to simulate electric circuits, especially power electronic circuits, in Matlab/Simulink. The SimCoupler Module enables Matlab/Simulink users to implement and simulate power circuits in the original circuit form, thus greatly shortening the time to set up and simulate a system which includes electric circuits and motor drives. Also, Matlab/Simulink users can make full use of the electric machine models in the Motor Drive Module in PSIM. At the same time, the SimCoupler Module allows power electronics researchers and engineers to simulate control in the Matlab/Simulink environment, and the SimCoupler Module further enhances PSIMs control simulation capability by providing access to numerous Simulink toolboxes for various applications. For example, one can achieve automatic code generation with the PSIMMatlab/Simulink co-simulation. First, the power circuit is simulated in PSIM, and the control in Matlab/Simulink. Then Simulink toolboxes and supporting resources can be used to generate production quality code automatically for a target platform. The SimCoupler Module is straightforward and easy to use with minimum user input. As an example, the figure on the right shows a permanent-magnet synchronous motor (PMSM) drive system with the power converter and the motor implemented in PSIM, and control implemented in Simulink. In PSIM, three stator currents and motor mechanical speed are connected to output link nodes,
* Matlab and Simulink are registered trademarks of the MathWorks, Inc.
Power Circuit in PSIM
PMSM drive system with the power circuit implemented in PSIM.
Control in Simulink
PMSM drive system with control implemented in Simulink.
Easy to use; minimum user input Fast simulation Waveform display in both PSIM and Simulink
and these values are passed to Simulink. In return, three modulation signals are connected to input link nodes to receive values back from Simulink. In Simulink, the SimCoupler model block (highlighted) represents the PSIM calculation. With the SimCoupler Module, one can take full advantage of PSIMs capability in power simulation and Matlab/Simulinks capability in control simulation in a complementary way.
Powersim Inc.
email: [email protected]
KEY FEATURES:
http://www.powersimtech.com