摘要
使用MATLAB(2010b)中Simulink提供的模块,在Simulink平台下搭建了DSP2812 SPWM分段同步调制系统模型,然后利用Real-Time Workshop完成了代码自动生成,实现了DSP在MATLAB环境下的模块化编程。经实验表明,自动生成的程序在TMS320F2812开发板中顺利运行、结果正确,证明此方法可提高DSP开发效率,具有一定的实用价值。
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.
出处
《苏州大学学报(工科版)》
CAS
2012年第5期56-60,共5页
Journal of Soochow University Engineering Science Edition (Bimonthly)