设计了一个基于MATLAB(2010b)的DSP2812电机转速曲线实时绘制方案。该设计使用MATLAB Embedded IDE Link中提供的函数与DSP开发板实现实时数据交换,并用MATLAB GUI设计了一个软件实现连接开发板、工程文件编译下载和转速波形绘制等功能。本设计方案在合众达SEED-DEC2812实验板上已经顺利运行,并实时在MATLAB(2010b)中显示电机转速曲线。
A Real-Time Rendering of Motor Speed Curve by DSP2812 RTDX Based on MATLAB
A DSP2812 real-time rendering of motor speed curve program based on MATLAB(2010b) is introduced in this paper.This design exchanges real-time data between a host computer and a DSP target device by calling the functions that MATLAB Embedded IDE Link provide,and it uses MATLAB GUI to develop a software to perform some functions including connecting with the DSP target device,building the project file,loading the program file,drawing the speed waveform and so on.The design has worked well on the SEED-DEC2812,as the same time,the curve of motor speed has been shown in MATLAB(2010b).