摘要
提出一种基于实时代码生成工具(RTW)的TMS320F2812型定点DSP控制系统,给出了基于Matlab/RTW的系统设计方法和开发流程。结合该集成一体化控制平台,提出了一种基于嵌入式目标代码自动生成的2H桥级联逆变器SPWM产生方法,利用Matlab/Simulink工具建立了算法模型。仿真验证算法后,给出了以TMS320F2812型定点DSP为目标的SPWM控制模型,并自动生成代码,编译、下载到目标DSP中运行,产生的波形与理论吻合。这种基于模型的设计流程,实现了工程开发过程中从算法设计到最终实现的所有阶段,提高了产品开发效率,降低了成本。
A system design method and development flow chart based on Matlab/RTW is introduced.An embedded code-generation method is proposed in a cascaded two H-bridge inverter system.After building and validating the algorithm models in Matlab/Simulink,a SPWM control system model whose target board is TMS320F2812 DSP is presented.Automatic code-generation is accomplished from this model,and is compiled and downloaded into the TMS320F2812 DSP board.The experimental results proved theory analysis,meanwhile show the benefit of system design and code generate using Matlab/RTW.
出处
《电力电子技术》
CSCD
北大核心
2009年第11期73-75,共3页
Power Electronics
基金
国家自然科学基金(50607020)
(50737004ZD)
国家自然科学基金委员会创新研究群体科学基金(50721063)~~