毕业论文-基于C8051F340的微机USB接口卡设计.docx

毕业论文-基于C8051F340的微机USB接口卡设计.docx

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
北京林业大学本科毕业论文(设计) PAGE \* MERGEFORMATIV 基于C8051F340的微机USB接口卡设计 摘要 在现代社会中,很多企业的正常生产都维系于电子设备运行的稳定性,如果设备发生故障,其高昂的维修费用和设备停机带来的后果会让企业产生重大的损失。因此,各个企业都纷纷采取措施以降低设备的故障率。通过数据采集卡,企业能够获取设备的运行特征数据,并对数据进行分析以判断设备的运行状态从而可以提早预防故障的发生,减少进行停机检查的次数。同时,在计算机控制系统中,数据采集卡也是重要的组成部分,用于实现许多功能。 在本设计中,主要研究实现的是通过C8051F340单片机为核心搭建一个接口卡,利用端口采集电压信号,对信号进行AD模数转换之后,再通过通用串行总线,传送数据至主机端,并在主机端对数据进行图形化输出,完成一个简易数据采集卡的功能。 在下位机端,用过Keil C51软件进行程序编写,完成单片机的初始化,AD转换和USB通信的功能,并利用USBXpress软件来获取设备驱动和API函数,从而实现上位机和下位机的USB通信。 在上位机端,基于虚拟仪器技术,利用LabVIEW平台对传输进来的数据进行处理还原,在人机交互界面上,对数据进行图形化显示。 关键词:单片机,AD转换,USB通信,LabVIEW MCU USB interface card design based on C8051F340 Electronics and Information Technology Program 11-2 He Sheng-yu Supervisor Zhang Xiang-xue In modern society, many enterprise's normal production all hinge on the stability of electronic equipment operation, if the device fails, the high maintenance cost and equipment downtime can let enterprise to produce the aftermath of the big loss. Therefore, companies have to take measures to reduce the failure rate of the equipment. Through data acquisition card, the enterprise can obtain equipment running characteristics of the data, and analyze the data to determine the running status of equipment which can prevent the happening of the fault early, reduce downtime checks the number of times. At the same time, in the computer control system, data acquisition card is also important constituent, is used to realize many functions. Realized in this design, the main research is to establish an interface card through C8051F340 MCU as the core, using the port voltage signal, the signal to convert the AD module, again through the universal serial bus (usb), transmit data to the host, and the data on the host end graphical output, to complete a simple function of data acquisition card. On the MCU side, I use Keil C51 programming software, the complete MCU initialization, AD conversion and USB communication function, and use the USBXpress software to get device drivers and API f

您可能关注的文档

文档评论(0)

***** + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档