摘要
以DSP为核心的电力电子与电力传动控制系统软件编写复杂,不便于实验,为此提出了一种基于Matlab/Simulink及实时代码生成工具RTW(Real-Time Workshop)的电力电子与电力传动控制系统软件的设计方法。首先在Simulink下搭建控制系统模型,进行相应仿真完善,验证控制算法,根据目标DSP型号添加相应DSP内核、外设并设置控制参数,然后直接将模型转化为相应DSP的C源代码,在相应的硬件平台支持下即可完成相关实验。介绍了仿真及生成代码模型在构建时的流程和关键问题,并按照该方法对一种以TMS320F2812为控制系统核心的新型中点箝位三电平双PWM变换器控制策略进行了仿真和实验。结果证明在该方法下完成的仿真和实验结果基本一致。
As the software programming of the DSP-based PEEDS(Power Electronics and Electric Drives System) is too complex to test,a software design method based on Matlab/Simulink and RTW(Real-Time Workshop) is proposed. The control system model is established and improved under Simulink,and the control algorithm is validated. According to its type,the DSP kernel and peripheral are added and the control parameters are set to directly generate C code from the model and carry out tests on the corresponding hardware platform. The flowchart and key points of model establishment are introduced. With the proposed method,the control strategy of a three-level dual-PWM converter based on TMS320F2812 is designed,simulated and tested. The simulative results are coincided with the test results.
出处
《电力自动化设备》
EI
CSCD
北大核心
2009年第10期128-131,共4页
Electric Power Automation Equipment
基金
国家自然科学基金重点项目(50737002)~~