节点文献

基于USB总线的数据采集系统设计

A Dissertation Submitted to the Academy of Sciences, for the Degree of Master of Circuit and System

【作者】 郭继燕

【导师】 王瑞光;

【作者基本信息】 中国科学院研究生院(长春光学精密机械与物理研究所) , 电路与系统, 2003, 硕士

【摘要】 本论文以基于USB总线的数据采集系统的研制过程为主要内容,阐述了利用Philips公司的PDIUSBD12与ATMEL的AT89C52等组成的一套数据采集系统的设计方案、开发方法和开发过程,并给出了具体实现方案。 论文首先简要介绍了USB总线的相关内容,然后介绍了数据采集系统的设计。数据采集系统的设计包括硬件设计、固件程序开发、驱动程序开发和应用程序开发四大部分。在硬件设计部分,首先介绍了设计中所用的PDIUSBD12芯片的性能和特点,然后给出了具体硬件设计方案,并重点介绍了设计中应该注意的问题。固件程序开发部分是设计中的重点,论文先从总体上介绍了程序的设计思想及其层次结构,随后详细介绍了各层次程序的设计过程,并给出了部分源代码和程序流程图。驱动程序开发部分论述了驱动程序开发工具的选择的原则,介绍了我们所用的开发工具WinDriver的工作原理,以及驱动程序的结构和驱动程序的开发过程。主机应用程序设计的较简单,主要提供一个友好的人机界面,对采集系统进行控制并显示采集后数据,因此在文中没有做过多介绍。 本论文已完成了基于USB总线的数据采集系统的设计,用其实现了基本的数据采集功能。使用USB总线传输数据,为数据采集系统与计算机之间的通讯开辟了新的道路。用WinDriver作为驱动程序开发工具,使开发者摆脱了核心态驱动开发的难点,可以在用户态开发简单的驱动程序,不需对操作系统和低层驱动的原理了解太多,这有利于快速开发外设驱动。

【Abstract】 The paper is mainly concerned with the design process of data acquisition system that is based on USB bus. The design scheme, developing method and developing process of a suit of data acquisition system used with Philips’ PDIUSBD12 and ATMEL’s AT89C51 are expatiated. In addition, the paper also gives the material realization scheme.At first, the paper introduces the protocol of USB bus in brief, and then discusses the design of data acquisition system, which includes four segment, hardware design, firmware design, device driver and application program. In hardware segment, the performance of PDIUSBD12 firstly is described; then the hardware scheme are given in detail; the questions in design is explained, which should be paid attention to .The most important project is the firmware writing. The paper first shows the idea of program design and the hierarchy and then introduces the program design in detail and gives some code. In driver program segment the principle of choosing driver develop tools and the foundation of WinDriver are explained, at last the structure and writing steps of device driver are discussed. The design of host application program is relatively simple. It mainly provides a friendly user interface to control the acquisition system and display the data. So there is not much content in paper.The paper has finished the design of data acquisition system based on USB bus and realized the basal data acquisition foundation. Using USB bus to transfer data blazed a way in communication between data acquisition system and computer. With WinDriver, the developer gets rid of the difficulty of writing core driver. The developer need not know many theories of operation system and core driver, which is propitious to design device drive quickly.

【关键词】 USB总线固件驱动程序PDIUSBD12
【Key words】 USB busfirmwaredevice driverPDIUSBD12
  • 【分类号】TP274.2
  • 【被引频次】11
  • 【下载频次】881
节点文献中: 

本文链接的文献网络图示:

本文的引文网络