用户名: 密码: 验证码:
基于USB总线的数据采集系统设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本论文以基于USB总线的数据采集系统的研制过程为主要内容,阐述了利用Philips公司的PDIUSBD12与ATMEL的AT89C52等组成的一套数据采集系统的设计方案、开发方法和开发过程,并给出了具体实现方案。
     论文首先简要介绍了USB总线的相关内容,然后介绍了数据采集系统的设计。数据采集系统的设计包括硬件设计、固件程序开发、驱动程序开发和应用程序开发四大部分。在硬件设计部分,首先介绍了设计中所用的PDIUSBD12芯片的性能和特点,然后给出了具体硬件设计方案,并重点介绍了设计中应该注意的问题。固件程序开发部分是设计中的重点,论文先从总体上介绍了程序的设计思想及其层次结构,随后详细介绍了各层次程序的设计过程,并给出了部分源代码和程序流程图。驱动程序开发部分论述了驱动程序开发工具的选择的原则,介绍了我们所用的开发工具WinDriver的工作原理,以及驱动程序的结构和驱动程序的开发过程。主机应用程序设计的较简单,主要提供一个友好的人机界面,对采集系统进行控制并显示采集后数据,因此在文中没有做过多介绍。
     本论文已完成了基于USB总线的数据采集系统的设计,用其实现了基本的数据采集功能。使用USB总线传输数据,为数据采集系统与计算机之间的通讯开辟了新的道路。用WinDriver作为驱动程序开发工具,使开发者摆脱了核心态驱动开发的难点,可以在用户态开发简单的驱动程序,不需对操作系统和低层驱动的原理了解太多,这有利于快速开发外设驱动。
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.
引文
[1] "Universal Serial Bus Specification" 1.1版、2.0版
    [2] JanAxelson(美)著陈逸等译《USB大全》北京:中国电力出版社,2001
    [3] DonAnderson著《USB系统体系》北京:中国电力出版社,2001
    [4] "An Introduction t0 USB Development”www.21ic.com
    [5] "WinDriver V5 User'S Guide" Jungo Ltd, June 2001
    [6] 武安河 周利莉编著《Windows设备驱动程序(VxD与WDM)开发实务》电子工业出版社,2001年9月
    [7] 李勋、刘源、李新民著《单片机实用教程》北京北京航空航天大学出版社,2001年
    [8] "On-The-Go Supplement-Point-to-Poim Connectivity for USB" www.usb.org
    [9] "SL811HS Embedded USB Host/Slave Controller" www.cypress.com
    [10] "OpenHCI Open Host Controller Interface Specification for USB"www.usb.org

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700