基于USB的生物机能分析仪数据采集系统的实现与应用控制理论与控制工程专业论文.docx
文本预览下载声明
ABSTRACT
ABSTRACT
The USB (Universal Serial Bus) is specified to be a standard extension to the PC architecture, which focuses on PC peripherals. It is characterized by ease-of-use for PC peripheral expansion, low-cost solution that supports transfer rates up to 480 Mb/s etc.
In this paper, a data collection system will be introduced based on USB 2.0. According to the synchronous requirement of the system, the functional control chip Cypress CY7C6801 is selected. The paper focuses on the design of universal serial bus driver based on WDM (windows driver model). Besides, the discussion of synchronous problem has also been brought forth.
The data collection system includes the hardware and software design. In this paper how the USB driver is realized will be introduced, which is based on the WDM (Windows Driver Model). Firstly, the standard structure of windows operating system will be illustrated to show what function the USBD plays in a computer system. Secondly, the device object and the structure of the WDM will be introduced. Thirdly, a typical WDM will be shown. Then an example of USBD based on WDM for Cypress 68013, which is composed of 4 subprograms, will be shown. Finally, the driver has to be installed into the operating system with an INF file for it. As for the discussion of synchronous problem, a FIFO has been added to the system.
Key words: USB, WDM , IRP, GPIF Master, Quantum FIFO
目录
目 录
第一章 绪论 1
1.1 选题背景及意义 1
1.2 国内外研究方向 3
1.3 本文所作的工作 3
1.3.1 目的与意义 4
1.3.2 研究的主要内容 4
1.4 开发环境 5
1.4.1 硬件开发环境 5
1.4.2 软件开发环境 5
第二章 数据采集系统的构架及 USB 的通信模式 7
2.1 数据采集系统的构架7
2.1.1 系统软件的构架7
2.1.2 系统硬件的构架 8
HYPERLINK \l _TOC_250014 2.2 USB2.0 事务处理 8
HYPERLINK \l _TOC_250013 2.3 USB 数据传输类型及同步传输的实现 9
HYPERLINK \l _TOC_250012 2.3.1 USB 数据传输类型 9
HYPERLINK \l _TOC_250011 2.3.2 USB 数据同步传输的实现 12
HYPERLINK \l _TOC_250010 2.4 Windows 操作系统的标准结构 13
HYPERLINK \l _TOC_250009 2.5 设备对象和 WDM 的层次结构 13
HYPERLINK \l _TOC_250008 2.6 基于 WDM 的 USB 驱动程序基本功能的实现 14
2.6.1 支持即插即用(PnP)和电源管理(PM) 15
2.6.
显示全部