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

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

約52頁DOC格式手機(jī)打開展開

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

內(nèi)容介紹

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

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


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

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

關(guān)鍵詞:USB總線;單片機(jī);數(shù)據(jù)采集;固件;Windows驅(qū)動(dòng)程序模型;設(shè)備驅(qū)動(dòng)程序;客戶應(yīng)用程序

 

 

 

 

 

 

 

 


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簡(jiǎn)介 
1.4 主要工作 
2 USB1.1協(xié)議 
2.1 USB的互連 
2.2 USB的主機(jī) 
2.2.1 USB主機(jī)概述 
2.2.2 USB驅(qū)動(dòng)(USBD) 
2.3USB設(shè)備 
2.3.1 USB設(shè)備狀態(tài) 
2.3.2 通用USB設(shè)備操作 
2.3.3 USB設(shè)備請(qǐng)求 
2.4 USB的物理層 
2.5 USB數(shù)據(jù)流 
3 數(shù)據(jù)采集系統(tǒng)的固件設(shè)計(jì) 
3.1 固件的開發(fā)環(huán)境 
3.2 采用PDIUSBD12的固件設(shè)計(jì) 
3.2.1 固件要完成的主要工作 
3.2.2 PDIUSBD12芯片特點(diǎn) 
3.2.3 PDIUSBD12固件程序的編寫 
3.3 固件的文件結(jié)構(gòu) 
3.4 固件的編程實(shí)現(xiàn) 
3.4.1 底層函數(shù) 
3.4.2 命令接口 
3.4.3 中斷服務(wù)程序ISR.C 
3.4.4 主循環(huán)MAINLOOP.C 
4 USB設(shè)備驅(qū)動(dòng)程序設(shè)計(jì) 
4.1 Windows2000驅(qū)動(dòng)程序 
4.2 WDM驅(qū)動(dòng)程序結(jié)構(gòu)模型 
4.2.1 USB設(shè)備驅(qū)動(dòng)程序?qū)哟谓Y(jié)構(gòu) 
4.2.2設(shè)備對(duì)象 
4.2.3標(biāo)準(zhǔn)總線驅(qū)動(dòng)程序和類驅(qū)動(dòng)程序 
4.2.4 WDM驅(qū)動(dòng)程序的結(jié)構(gòu) 
4.3 USB驅(qū)動(dòng)的開發(fā)環(huán)境 
4.3.1 驅(qū)動(dòng)的開發(fā)工具 
4.3.2 驅(qū)動(dòng)開發(fā)環(huán)境的安裝與設(shè)置 
4.4 驅(qū)動(dòng)程序的實(shí)現(xiàn) 
4.4.1 驅(qū)動(dòng)入口 
4.4.2數(shù)據(jù)傳輸控制 
5 USB設(shè)備應(yīng)用程序設(shè)計(jì) 
5.1 Win32 API簡(jiǎn)介 
5.2動(dòng)態(tài)鏈接庫 
5.3 MFC的應(yīng)用程序開發(fā) 
5.4設(shè)備應(yīng)用程序與WDM的通信 
5.4.1 Win32應(yīng)用程序?qū)DM的通信 
5.4.2 WDM對(duì)Win32應(yīng)用程序的通信 
5.5 應(yīng)用程序的實(shí)現(xiàn) 
6 數(shù)據(jù)采集系統(tǒng)的硬件設(shè)計(jì) 
6.1 硬件系統(tǒng)的結(jié)構(gòu) 
6.2 接口芯片選擇 
6.3 接口硬件設(shè)計(jì) 
6.3.1 A/D與單片機(jī)接口電路 
6.3.2 PDIUSBDI2與單片機(jī)接口電路