文档详情

基于USB接口的高密度数据采集系统-计算机技术专业论文.docx

发布:2018-12-19约5.95万字共128页下载文档
文本预览下载声明
基于USB接口的高密度数据采集系统学科:控制理论与控制工程 基于USB接口的高密度数据采集系统 学科:控制理论与控制工程 研究生签字: r1证 指导教师签字 叶通辑 G用串行总线u。B∞m。。,啪。三三,是一种新型的总线传输方式。随着 。 2 与单片机进行通信,并和PC机通信而编制出友善的设备应用程序。该系统用 传统的USB总线取代了RS232串行总线,通过对USB协议和设备构架的充分 理解,对以单片机89C52和USB接口芯片D12为主的数据采集系统进行了硬 件设计和软件编程,并在此设计的基础上给出相应的原理图和硬件开发板。硬 件设计主要解决的是D12与单片机之间的接口电路问题,软件编程大致分为三 部分:一是为满足D12在USB上的最大传输速率而编写的固件程序;二是在 PC机中的Windows 2000工作环境下编写USB设备驱动程序;三是充分了解 D12的主要功能特点,并编写出供设备测试的应用程序。通过该数据采集系统, 我们可以对USB协议有很深刻的理解,对D12接口芯片有很熟练的应用,能 更好领悟USB接口的优势。 、.,7 o 、.一’、-,、-—,+ 关键词:通用串行总线;数据采集; 接口芯片;协议;固件编程;设备驱动程 ■ 序;客户应用程序 、/7 竺!!坠墼 竺!!坠墼 一—— A撕曲.density data collection system based on the interface of USB Discipline:Control Theory and Control Engineer Student。ignamre: 江C二幻 Supervisor Signature: y卫[)酗^“q , ABSTRACT Universal Serial Bus is a new—style bus transmission model.With the advance of the client’S requirement on data collection of a system,as a late—model interface technology,USB is well accepted by vast clients because of its simplicity and high speed.In the fields of science research and laboratory,data collection of a controlled system has usually been accomplished by microprocessor and USB interface chip. So this article sets forth these tasks as follows:singlechip programs the fireware to the USB interface chip_—呷DIUSBDl2;communication appears between D12 and up—location computer and man—machine mutual interface comes into being;lots of data from the industry spot are printed,analyzed and disposed on time.On the base of wonderful understanding to USB protocol and device truss。I finish the hardware design and software programme of the data collection system.And draw the principle chart and make the hardware exploitation board.The software programme main/y includes:the fireware code in need of D12’S maximum transmission rate; USB device driver and client application under the ckcustance of Win2000 operation system in computer.After this data collection system,we can understand the USB protocol profoundly and apply the interface chip__PDIUSBDl2 pro
显示全部
相似文档