节点文献
基于Simulink的USB数据传输库的实现
Design of USB Communication Model Lib Based on Simulink
【摘要】 Simulink是一个强大的系统建模、仿真和分析的图形化工具包,提供了大量的模块,方便用户快速的建立动态的模型。而且利用MATLAB的RTW能直接将Simulink所建立的模型生成优化的、可移植的代码,并根据目标配置自动生成多种环境下的不同程序。这个功能可以使得设计人员从编写嵌入式软件代码的繁复工作中解脱出来,将主要精力集中在系统设计上。然而Simulink嵌入式目标模块库中的DSP与PC的通讯接口模块过于简单,速率较低,不能满足大数据量的要求。作者在Simulink上开发了USB数据传输库,能通过RTW生成特定硬件平台的执行代码。实例表明,该模块成功有效,可以极其方便的应用在各种需要与目标实时通讯的场合。
【Abstract】 Simulink is a powerful graph tool for system simulation and analysis. It provides abundance of blocks that users can create a dynamic model easily. RTW of MATLAB can generate optimum and transplantable code from Simulink model,and create functions in difference platform base on target configuration. It helps designers release from programming embed software code,makes them focus on designing the whole system. But communication models between DSP and PC in Simulink are too simple and the speed is too slow to fit some complex application. Author developed a USB communication lib on MATLAB. The experiments show that it works well and using it designers can develop those systems which need data exchanged more easily.
【Key words】 RTW USB TLC RCP;
- 【文献出处】 科学技术与工程 ,Science Technology and Engineering , 编辑部邮箱 ,2009年15期
- 【分类号】TP391.9
- 【被引频次】5
- 【下载频次】242