DSP2812基于MATLAB模块化编程的SPWM调制实现
DSP2812 SPWM Modulation Based on MATLAB Modular Programming
严震宇 1张茂青 1许海丽 1徐丽莉1
作者信息
- 1. 苏州大学机电工程学院,江苏苏州215021
- 折叠
摘要
使用MATLAB(2010b)中Simulink提供的模块,在Simulink平台下搭建了DSP2812 SPWM分段同步调制系统模型,然后利用Real-Time Workshop完成了代码自动生成,实现了DSP在MATLAB环境下的模块化编程。经实验表明,自动生成的程序在TMS320F2812开发板中顺利运行、结果正确,证明此方法可提高DSP开发效率,具有一定的实用价值。
Abstract
In this article,a DSP2812 SPWM piecewise synchronous modulation system model is built in the Simulink platform with the use of Simulink modules in MATLAB(2010b).It completes the auto generation of DSP code with the use of Real-Time Workshop.It realizes the moduler programming in MATLAB environment.The experiment shows that the automatically generated program runs smoothly in TMS320F2812 development board and the result is correct.It proves this method can improve efficiency of DSP development and it has a certain practical value.
关键词
DSP2812/MATLAB/模块化编程/自动生成代码/SPWM调制Key words
DSP2812/MATLAB/modular programming/code auto generation/SPWM modulation引用本文复制引用
出版年
2012