天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于USB中斷通道的TMC儀器控制協(xié)議研究及其實(shí)現(xiàn)

發(fā)布時(shí)間:2018-04-09 01:09

  本文選題:USBTMC 切入點(diǎn):USB 出處:《電子科技大學(xué)》2017年碩士論文


【摘要】:USB總線擁有支持熱插拔、即插即用和傳輸速度快等優(yōu)勢(shì),現(xiàn)已經(jīng)被越來(lái)越多的廠家應(yīng)用到測(cè)試測(cè)量類(lèi)(Test and Measurement Class,TMC)儀器中。但隨著電子技術(shù)的發(fā)展,計(jì)算機(jī)逐漸成為T(mén)MC儀器的控制核心,由于采用計(jì)算機(jī)為控制核心的控制主機(jī)和儀器主機(jī)都僅提供USB Host接口,在利用USB總線實(shí)現(xiàn)控制主機(jī)與儀器主機(jī)的通信時(shí),兩者是不能直接通過(guò)USB Host接口互連通信。本課題研究USBTMC總線橋,控制主機(jī)與儀器的USB Host接口通過(guò)總線橋互連,實(shí)現(xiàn)控制主機(jī)對(duì)儀器的控制。該總線橋符合USB協(xié)議以及USBTMC協(xié)議的要求,可提高總線橋在使用上的規(guī)范性和兼容性。本文主要內(nèi)容如下:1、完成總線橋總體方案設(shè)計(jì)。根據(jù)通用USB協(xié)議和USBTMC協(xié)議以及針對(duì)測(cè)試測(cè)量?jī)x器的數(shù)據(jù)傳輸需求,完成對(duì)USBTMC總線橋的需求分析,通過(guò)需求分析得到了總線橋的連接方式和傳輸模型,確定了采用兩塊CY7C68013A USB接口芯片“背靠背”的連接方式來(lái)實(shí)現(xiàn)總線橋總體方案的設(shè)計(jì)。2、設(shè)計(jì)總線橋的固件程序。固件程序設(shè)計(jì)主要在于總線橋描述符文件設(shè)計(jì)、USBTMC類(lèi)請(qǐng)求設(shè)計(jì)、總線橋數(shù)據(jù)傳輸設(shè)計(jì)。類(lèi)請(qǐng)求設(shè)計(jì)重點(diǎn)在于兩塊芯片間的握手交互,數(shù)據(jù)傳輸設(shè)計(jì)主要是由中斷傳輸、Bulk傳輸以及USB芯片的GPIF模式和Slave FIFO模式進(jìn)行設(shè)計(jì),其中中斷傳輸用于解決USB通信壁壘、Bulk傳輸遵循USBTMC協(xié)議獨(dú)有的格式規(guī)定。3、設(shè)計(jì)總線橋的設(shè)備驅(qū)動(dòng)程序。分析總線橋主機(jī)端設(shè)備驅(qū)動(dòng)需求,選擇VISA和cyusb.sys作為USB設(shè)備驅(qū)動(dòng),控制主機(jī)應(yīng)用程序直接調(diào)用visa32.lib函數(shù)接口,儀器主機(jī)應(yīng)用程序調(diào)用由CyAPI.lib設(shè)計(jì)并二次封裝的Instr USBInterface.dll函數(shù)接口。4、測(cè)試驗(yàn)證總線橋功能。確定測(cè)試方法和工具,本次測(cè)試?yán)脝螜C(jī)閉環(huán)測(cè)試來(lái)測(cè)試總線橋在主機(jī)的識(shí)別連接、總線橋數(shù)據(jù)傳輸?shù)恼_性、穩(wěn)定性以及速度測(cè)試、類(lèi)請(qǐng)求命令測(cè)試,采用聯(lián)機(jī)測(cè)試來(lái)測(cè)試總線橋在儀器控制上的應(yīng)用。本課題所完成的USBTMC總線橋,經(jīng)過(guò)測(cè)試和驗(yàn)證,總線橋支持USBTMC協(xié)議,能夠正確響應(yīng)處理協(xié)議所規(guī)定的請(qǐng)求命令,在數(shù)據(jù)傳輸方面,傳輸速度可達(dá)12MB/s,且傳輸穩(wěn)定,可滿(mǎn)足應(yīng)用需求。
[Abstract]:USB bus has the advantages of supporting hot plug and play, plug and play and high transmission speed. It has been used by more and more manufacturers to test and Measurement class TMC instruments.However, with the development of electronic technology, computer has become the control core of TMC instrument. Because the control host and instrument host with computer as the control core only provide USB Host interface.When using USB bus to realize the communication between the host computer and the instrument host, they can not communicate directly through the USB Host interface.The USBTMC bus bridge is studied in this paper. The USB Host interface between the control host and the instrument is connected through the bus bridge to realize the control of the host computer to the instrument.The bus bridge meets the requirements of USB protocol and USBTMC protocol, which can improve the specification and compatibility of the bus bridge.The main contents of this paper are as follows: 1: 1, complete the overall design of bus bridge.According to the general USB protocol, USBTMC protocol and the data transmission requirement of the testing and measuring instruments, the requirement analysis of the USBTMC bus bridge is completed, and the connection mode and transmission model of the bus bridge are obtained through the demand analysis.Two CY7C68013A USB interface chips "back to back" are adopted to realize the design of bus bridge. 2. The firmware program of bus bridge is designed.Firmware program design mainly lies in bus bridge descriptor file design, USBTMC class request design, bus bridge data transmission design.Class request design focuses on the handshake interaction between the two chips. The design of data transmission is mainly carried out by interrupt transmission bulk transmission and GPIF mode and Slave FIFO mode of USB chip.Interrupt transmission is used to solve USB communication barrier. Bulk transmission follows the unique format of USBTMC protocol. 3. The device driver of bus bridge is designed.This paper analyzes the requirement of bus bridge host device driver, selects VISA and cyusb.sys as USB device driver, and controls host application program to call visa32.lib function interface directly.The instrument host application program calls the Instr USBInterface.dll function interface. 4, which is designed by CyAPI.lib and encapsulated twice, to test and verify the bus bridge function.Determine test methods and tools, this test uses single-machine closed-loop test to test the bus bridge in the host computer identification connection, bus bridge data transmission correctness, stability and speed testing, class request command test,The application of bus bridge in instrument control is tested by on-line test.The USBTMC bus bridge completed in this paper is tested and verified that the bus bridge supports the USBTMC protocol and can correctly respond to the request commands stipulated by the processing protocol. In the aspect of data transmission, the transmission speed is up to 12m / s, and the transmission is stable, which can meet the requirements of the application.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類(lèi)號(hào)】:TP336

【參考文獻(xiàn)】

相關(guān)期刊論文 前5條

1 周學(xué)智;;基于WDM模型的USB驅(qū)動(dòng)設(shè)計(jì)[J];工業(yè)控制計(jì)算機(jī);2013年06期

2 余志榮;楊莉;;基于NI-VISA與LabVIEW的USB接口應(yīng)用設(shè)計(jì)[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2007年01期

3 劉宏偉,鄭立云;USB2.0傳輸類(lèi)型分析[J];計(jì)算機(jī)工程與設(shè)計(jì);2005年07期

4 劉延波,鄭世強(qiáng),王斌,吳瑛;USB設(shè)備固件程序設(shè)計(jì)[J];信息工程大學(xué)學(xué)報(bào);2004年02期

5 陳健 ,陳曉曙;多功能USB設(shè)備的結(jié)構(gòu)設(shè)計(jì)研究[J];電子工程師;2003年03期

相關(guān)碩士學(xué)位論文 前5條

1 周子超;SCPI在示波器中的實(shí)現(xiàn)及其在上位機(jī)上的應(yīng)用[D];電子科技大學(xué);2016年

2 易曼萍;基于MVP架構(gòu)的任意波形發(fā)生器人機(jī)接口設(shè)計(jì)[D];電子科技大學(xué);2016年

3 申陽(yáng)德;測(cè)試測(cè)量?jī)x器USB橋驅(qū)動(dòng)及固件設(shè)計(jì)[D];電子科技大學(xué);2015年

4 吳圓霞;任意波形發(fā)生器SCPI服務(wù)程序及參數(shù)自動(dòng)校正系統(tǒng)設(shè)計(jì)[D];電子科技大學(xué);2014年

5 翟果;通用測(cè)試儀器USBTMC協(xié)議的研究與實(shí)現(xiàn)[D];電子科技大學(xué);2013年

,

本文編號(hào):1724162

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1724162.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶(hù)f4cf3***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com
日本91在线观看视频| 欧美午夜不卡在线观看| 欧美有码黄片免费在线视频| 欧美国产日产综合精品| 午夜国产精品福利在线观看| 少妇被粗大进猛进出处故事| 人妻内射在线二区一区| 亚洲国产成人精品一区刚刚| 狠狠干狠狠操亚洲综合| 日韩在线欧美一区二区| 91天堂素人精品系列全集| 国产午夜精品久久福利| 98精品永久免费视频| 国产熟女一区二区不卡| 中文字幕亚洲精品在线播放| 中字幕一区二区三区久久蜜桃| 夫妻性生活黄色录像视频| 日韩黄色一级片免费收看| 黄色日韩欧美在线观看| 久久99精品国产麻豆婷婷洗澡| 欧美国产日韩在线综合| 亚洲第一区欧美日韩在线| 精品亚洲香蕉久久综合网| 91久久精品国产成人| 成年午夜在线免费视频| 欧美一区二区三区视频区| 色哟哟哟在线观看视频| 欧美成人免费夜夜黄啪啪| 午夜精品麻豆视频91| 经典欧美熟女激情综合网| 亚洲欧美日本国产不卡| 日韩精品视频一二三区| 日本免费一级黄色录像| 国产又粗又长又大高潮视频| 亚洲av又爽又色又色| 亚洲熟女熟妇乱色一区| 日韩午夜老司机免费视频| 一级片黄色一区二区三区| 精品国产日韩一区三区| 中国日韩一级黄色大片| 日韩一级免费中文字幕视频|