The real⁃time simulation technology is one of the important issues of power electronic technology research. Based on this background,the DSP is taken as the controller,and FPGA as the emulator to achieve the real⁃time simulation platform for the target. Aiming at the traditional and model⁃based DSP development methods,a development method of controller algorithm based on Matlab/Simulink and Embedded Coder is proposed. The real⁃time simulations of two⁃level three⁃phase inverter circuit, three⁃level three⁃phase inverter circuit,and single⁃phase inverter voltage instantaneous value feedback circuit were designed and implemented on the real⁃time simulation platform. The simulation results show that the model⁃based development method can shorten the development cycle of the controller algorithm,improve the development efficiency,and reduce the deve⁃lopment risk.%在实时仿真技术为电力电子技术研究的重要课题之一的背景下,以DSP 作为控制器,FPGA 为仿真器实现目标实时仿真平台。针对DSP传统和模型化两种开发方式,提出基于Matlab/Simulink 和Embedded Coder 的控制器算法开发方法。在实时仿真平台上,设计并实现两电平三相逆变电路、三电平三相逆变电路、单相逆变电压瞬时值反馈电路的实时仿真。根据平台仿真结果可知,模型化开发方式可以缩短控制器算法开发周期、提高开发效率、降低开发风险。
展开▼