为优化DSP工程开发方式,将Simulink的可视化模型开发与TMS320C6678相结合,采用可视化的模块设计工具对算法模型和数据流进行建模。模型之间具有标准的数据流传输接口,由代码生成工具根据算法函数模型的描述生成DSP平台上的信号处理程序,完成了MATLAB算法模型到DSP工程的自动代码生成转换。相较于传统的人工翻译成DSP工程的方式,能够在设计阶段就对算法功能进行仿真测试,使得开发者能够更快捷、以更少的成本花费进行开发,也让后期的算法架构修改变得简单。
Abstract
In order to optimize the way of DSP engineering development,this paper combines Simulink's visual model development with TMS320C6678,and uses visual module design tools to model the algorithm model and data flow.There is a standard data stream transmission interface between the models.The code generation tool generates the signal processing program on the DSP platform according to the description of the algorithm function model,and completes the automatic code generation conversion from the MATLAB algorithm model to the DSP project.Compared with the traditional method of manual translation into DSP engineering,the algorithm function is simulated and tested at the design stage,which enables developers to develop more quickly and at less cost,and also simplifies the later modification of the algorithm architecture.
关键词
Simulink /
代码生成 /
DSP /
TMS320C6678 /
可视化模型开发 /
MPC565
Key words
Simulink /
code generation /
DSP /
TMS320C6678 /
visual model development /
MPC565
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 张宪宝.嵌入式信号处理系统及其代码自动生成技术研究[D].广州:华南理工大学,2012.
[2] Dagci O H,Brown A W.Custom RealTime Interface Blockset Development in Matlab/Simulink for OnTarget Rapid Prototyping[C]//Sae World Congress & Exhibition, 2006.
[3] 田伟,熊晋魁.Simulink模型的C/C++代码实现[J].应用科技,2004,31(11):1618.
[4] Liu Y,Li Y Q,Zhuang R K.The Application of Automatic Code Generation Technology in the Development of the Automotive Electronics Software[J].Applied Mechanics & Materials,2013,321324:15741577.
[5] Esposito J F,Keshmiri S.Rapid Hardware Interfacing and Software Development for Embedded Devices Using Simulink[J].AIAA Infotech@ Aerospace,2010(4):113.
[6] Luo F,Huang ZH H.Embedded C Code Generation and Embedded Target Development Based on RTWEC[J].IEEE,2010(5):532536.
[7] Kamiyama T,Tamura M,Soeda T,et al.An Embedded Control Software Development Environment with Simulink Models and UML Models[J].IAENG International Journal of Computer Science,2012,39(3):261268.