特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

usb數(shù)據(jù)采集系統(tǒng)論文.doc

約52頁DOC格式手機打開展開

usb數(shù)據(jù)采集系統(tǒng)論文,usb數(shù)據(jù)采集系統(tǒng)論文基于usb總線的高速數(shù)據(jù)采集系統(tǒng)設計摘要通用串行總線usb(universal serial bus)是一種新型的微機總線接口規(guī)范。隨著客戶對系統(tǒng)數(shù)據(jù)采集速度要求的不斷提高,usb以其使用方便、易于擴展、速度快等優(yōu)點而越來越多的應用于數(shù)據(jù)采集系統(tǒng)中。本文介紹了一種基于usb總線的數(shù)據(jù)采集系統(tǒng)的設計...
編號:20-235983大小:390.00K
分類: 論文>計算機論文

內容介紹

此文檔由會員 朗朗 發(fā)布

USB數(shù)據(jù)采集系統(tǒng)論文


基于USB總線的高速數(shù)據(jù)采集系統(tǒng)設計
摘要

通用串行總線USB(Universal Serial Bus)是一種新型的微機總線接口規(guī)范。隨著客戶對系統(tǒng)數(shù)據(jù)采集速度要求的不斷提高,USB以其使用方便、易于擴展、速度快等優(yōu)點而越來越多的應用于數(shù)據(jù)采集系統(tǒng)中。本文介紹了一種基于USB總線的數(shù)據(jù)采集系統(tǒng)的設計方法,采用PHILIPS公司的USB接口芯片PDIUSBD12與單片機AT89C51進行通信,并和PC機通信而編制出友善的設備應用程序。該系統(tǒng)用傳統(tǒng)的USB總線取代了RS232串行總線,通過對USB協(xié)議和設備構架的充分理解,對以單片機89C51和USB接口芯片PDIUSBD12為主的數(shù)據(jù)采集系統(tǒng)進行了硬件設計和軟件編程,并在此設計的基礎上給出相應的原理圖。硬件設計主要解決的是PDIUSBD12和ADC0809與單片機之間的接口電路問題,軟件編程大致分為三部分:一是為滿足D12在USB上的最大傳輸速率而編寫的固件程序;二是在PC機中的Windows 2000工作環(huán)境下編寫USB設備驅動程序;三是充分了解D12的主要功能特點,并編寫出應用程序。通過該數(shù)據(jù)采集系統(tǒng),我們可以對USB協(xié)議有很深刻的理解,對D12接口芯片有很熟練的應用,能更好領悟USB接口的優(yōu)勢。

關鍵詞:USB總線;單片機;數(shù)據(jù)采集;固件;Windows驅動程序模型;設備驅動程序;客戶應用程序

 

 

 

 

 

 

 

 


ABSTRACT

Universal Serial Bus is a new specification for microcomputer bus interface. With the continuing advance of the clients' demand for the speed of a data collection system, USB is more and more widely used in data collection system for its advantages such as convenience, expanding port with ease and high speed etc.
this article presents a particular description of the design and development of a data collection system based on USB.single chip programs the fireware to the USB interface chip—PDIUSBD12; 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.
? The software programme mainly includes: the fireware code in need of D12's maximum transmission rate; USB device driver and client application under the circustance of Win2000 operation system in computer. After this data collection system,we can understand the USB protocol profoundly and apply the interface chip-PDIUSBDI2 proficiently. In all, the advantages of this interface technique may helps to your design arrangement.

KEY WORDS:USB bus;data collection;MCU;fireware;WDM;device drive program;client application

 

 

 

 

 

 


目錄

文摘 1
英文文摘 1
1 緒論 
1.1 課題背景 
1.2 課題的提出 
1.3 USB簡介 
1.4 主要工作 
2 USB1.1協(xié)議 
2.1 USB的互連 
2.2 USB的主機 
2.2.1 USB主機概述 
2.2.2 USB驅動(USBD) 
2.3USB設備 
2.3.1 USB設備狀態(tài) 
2.3.2 通用USB設備操作 
2.3.3 USB設備請求 
2.4 USB的物理層 
2.5 USB數(shù)據(jù)流 
3 數(shù)據(jù)采集系統(tǒng)的固件設計 
3.1 固件的開發(fā)環(huán)境 
3.2 采用PDIUSBD12的固件設計 
3.2.1 固件要完成的主要工作 
3.2.2 PDIUSBD12芯片特點 
3.2.3 PDIUSBD12固件程序的編寫 
3.3 固件的文件結構 
3.4 固件的編程實現(xiàn) 
3.4.1 底層函數(shù) 
3.4.2 命令接口 
3.4.3 中斷服務程序ISR.C 
3.4.4 主循環(huán)MAINLOOP.C 
4 USB設備驅動程序設計 
4.1 Windows2000驅動程序 
4.2 WDM驅動程序結構模型 
4.2.1 USB設備驅動程序層次結構 
4.2.2設備對象 
4.2.3標準總線驅動程序和類驅動程序 
4.2.4 WDM驅動程序的結構 
4.3 USB驅動的開發(fā)環(huán)境 
4.3.1 驅動的開發(fā)工具 
4.3.2 驅動開發(fā)環(huán)境的安裝與設置 
4.4 驅動程序的實現(xiàn) 
4.4.1 驅動入口 
4.4.2數(shù)據(jù)傳輸控制 
5 USB設備應用程序設計 
5.1 Win32 API簡介 
5.2動態(tài)鏈接庫 
5.3 MFC的應用程序開發(fā) 
5.4設備應用程序與WDM的通信 
5.4.1 Win32應用程序對WDM的通信 
5.4.2 WDM對Win32應用程序的通信 
5.5 應用程序的實現(xiàn) 
6 數(shù)據(jù)采集系統(tǒng)的硬件設計 
6.1 硬件系統(tǒng)的結構 
6.2 接口芯片選擇 
6.3 接口硬件設計 
6.3.1 A/D與單片機接口電路 
6.3.2 PDIUSBDI2與單片機接口電路