基于USB的數据采集卡设计.docVIP

  • 8
  • 0
  • 约1.7万字
  • 约 34页
  • 2016-11-27 发布于重庆
  • 举报
基于USB的數据采集卡设计

四川师范大学成都学院本科毕业设计 PAGE PAGE 5 四川师范大学成都学院本科毕业设计 基于USB的数据采集卡设计 学生姓名 杜学成 学 号 2009101038 所 在 系 通信工程系 专业名称 通信工程 班 级 2009级1班 指导教师 段纯爽 四川师范大学成都学院 二○一三年三月 基于USB的数据采集卡设计 学生:杜学成 指导教师:段纯爽 内容摘要:本论文所设计的数据采集卡是在单片机AT89C5131控制下进行数据采集,主要核心部分是微控制器和USB控制器,通过两者结合实现上位机和下位机之间的USB通信,使用AT89C5131单片机采集到数据通过USB数据线传输给PC机,在从PC机上的USB数据采集界面,可显示出采集数据的波形图功能,最后实现数据采集功能。 在数据采集系统中,传统外接设备与主机通信口一般采用ISA、PCI、1394等标准,但是基于这些接口的产品,要不安装麻烦,要不就是价格昂贵,还受到计算机插槽数量和地址中断资源的限制,并且可扩展性差,但USB的出现很好地解决了以上所有问题。作为一种新型串口通信标准,它不但具有较高的传输速率,而且可扩展性好、采用总线供电,因此使用起来更加灵活。USB数据采集共有4种传输模式:同步传输、控制传输、批量传输、中断传输,以此用来适应不同设备的需求。同时信息技术与电子技术发展迅猛,也使得计算机和计算机外围设备得到飞速发展和应用。过去人们单纯追求计算机与外设之间的数据传输速度,而现在操作安装的简易性和纠错能力也成为人们关注的问题。USB通讯技术出现后,使高传输速度、强纠错能力、易扩展性、即插即用等优点有机的结合在一起,使得USB数据采集发展前景更为广阔。 关键词:数据采集 USB接口 控制器 Design of data acquisition card based on USB Abstract:The data acquisition system designed is under the control of SCM data acquisition in AT89C5131. The micro controller and the USB controller as the core part, implementation of USB communication between upper machine and lower machine through the combination of the two, there to the data line via the USB data is transmitted to the PC through the AT89C5131 collection. And the development of applications on PC, from the USB data acquisition interface on PC machine, can display the waveform function of data acquisition, data acquisition function. In data acquisition system, communication host and peripherals traditional mouth generally use the ISA, PCI, 1394 standards, these interface products, based on the installation of trouble, the price is expensive, and the slot number, address and interrupt resources constraints, poor scalability, USB, is a good solution to the above problem. USB is a kind of serial communication standard model, the transmission rate is high, good scalability, the bus power supply, the use of flexible. It has a total of 4 transmission modes: control transfer, interrupt transfer, synchronous transmission, mass transfer, in order

文档评论(0)

1亿VIP精品文档

相关文档