毕业设计(论文)-基于USB数据采集系统设计_精品.doc
文本预览下载声明
摘 要
信息技术与电子技术的迅猛发展,使得计算机和外围设备也得到飞速发展和应用,在科学研究领域和许多生产场合中常用到数据采集技术,并且对数据采集的各种要求也越来越高。传统的通信方式由于传输速度慢、抗干扰能力弱、安装麻烦等原因严重阻碍了数据采集设备的发展,新一代通用串行总线(Uniersal Serial Bus,简称USB)具有传输线少、速度快、支持热插拔以及易于扩展等优点,很好的解决了以上问题因此串行总线技术在计算机系统及通信设备中迅速得到了广泛的应用。
文中分析了USB总线的体系结构和特点,针对传统总线不足之处,在此基础上研究了基于USB的数据采集系统,根据系统应该达到的技术指标,从而确定系统的整体框架和各个分芯片的选择。整个系统包括硬件设计和软件设计两部分,实现数据高速转换和采集、数据显示、数据保存以及数据打印等功能。
系统硬件部分实现数据采集功能,并将采集的数据送至USB控制器,再通过USB接口将数据传送给PC机。硬件设计部分主要包括USB2.0主控制器()外围电路设计与模数转换器的连接、电源设计部分等。硬件设计中的各个芯片的选择都以技术指标为依据,每个部分之间的连接以芯片的工作模式和系统要实现的功能来决定。文章每个部分都给出了芯片选择的理由和硬件连接的原理图。
系统软件部分包括USB固件程序、设备的驱动程序和用户界面程序。USB固件程序在keil C中完成,实现的初始化;设备驱动程序为用户界面程序提供了软件和硬件平台连接的通道,它由WindowsXP DDK和Drivertudio来开发;用户界面程序采用VB语言完成,在VB中调用驱动函数中的句柄来对硬件设备进行操作,实现数据的接收、保存、显示功能。
最后以函数发生器为对象对系统进行测试,从测试的结果中可得出此系统性能良好,能达到设计的预期效果。ABSTRACT
With the development of information technology and electronic technology,computers and other electronic devices also develop fast and be applied widely. Data acquisition technology is used in the science research field and lots of manufacture occasion which require every parameter of data acquisition higher and higher. Traditional communications style is strongly restricted the development of data acquisition devices because of slow transmitting rate、weak anti-jamming ability、inconvenient installation and so on. New generation Universal Serial Bus has the advantages of small transmission line、quick transmitting rate、sustaining hot-plug and pull、easy extensibility and so on which solved the problems of traditional communications style well. So Universal Serial Bus technology gains wide application in the computer system and communications devices.
This thesis analyses system configuration and characteristics of Universal Serial Bus. Aiming at the shortages of traditional bus,it puts forward the system of Data acquisition based on USB . This system has the advantages of quick transmitting rate、Plug and Play、convenient taking and so on. The Whole system contains two Parts that are hardware design a
显示全部