基于Matlab/Simulink平台,研究了直流变压电源、交流变压电源和交流变压变频电源仿真模块的设计方法。该方法使用受控电压源与自定义非线性的变压及变压变频信号源相结合实现。对直流变压电源信号和交流变压电源信号使用Simulink中已有模块搭建,对交流变压变频电源信号提出了一种将参数存储于矩阵中的S-函数描述方法,并将变压及变压变频信号模型封装为仿真模块,嵌入到Matlab/Simlink平台中,对Simulink的仿真模块库进行了拓展,并通过仿真验证了设计方法的可行性。设计的变压及变压变频电源仿真模块库可为分析电力电子系统的动态行为和性能提供很大的便利,设计思想同样适用于Pspice和Saber等其他电路仿真软件的拓展。
Based on Matlab/Simulink platform,a method of designing the variable DC voltage power source,variable AC voltage power source and variable AC voltage and variable frequency power source block is proposed.The functions of variable voltage or variable frequency power sources are realized by combining controlled voltage source with self-defined piecewise linear function.Variable DC voltage power source and AC voltage power source are built by using the existing models in Simulink.The S-Function description,which signal parameters are arranged in the matrix,was presented in variable AC voltage and variable frequency power source block.These blocks are first encapsulated as Simulink blocks,then embedded into Matlab/Simulink platform to extend the Simulink warehouse.The simulation has demonstrated the feasibility of our method.The novel designed variable voltage or variable frequency power source block can introduce great convenience for analyzing dynamic behavior and performance of power electronic system.The designing idea has universal use to extend the warehouse of the other simulation software of circuits.