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

當前位置:主頁 > 科技論文 > 計算機論文 >

PC機對嵌入式設(shè)備控制軟件的研究與實現(xiàn)

發(fā)布時間:2018-09-11 14:15
【摘要】:隨著研究領(lǐng)域和工業(yè)領(lǐng)域?qū)η度胧皆O(shè)備的功能要求越來越多,這勢必引起嵌入式設(shè)備的升級工作越來越頻繁。但是這種升級工作要求對需升級的嵌入式設(shè)備本身有全面而深入的了解,否則升級工作就要冒很大的風(fēng)險。但如果嵌入式設(shè)備配有數(shù)據(jù)和操作命令的通信接口,并將系統(tǒng)的功能擴展在上位機上實現(xiàn),不失為一種簡單而有效的途徑;谶@種思路,本人設(shè)計了一種PC機對嵌入式設(shè)備實施控制的軟件系統(tǒng),并成功的對一臺嵌入式設(shè)備實施了功能擴展。 本文闡述了一種基于PC機對嵌入式設(shè)備實施控制的解決方案。該設(shè)計的嵌入式設(shè)備為一臺基于FPGA的三相功率源,它通過USB接口與PC機進行數(shù)據(jù)和操作命令的通信,設(shè)計重點在于PC機上的應(yīng)用程序開發(fā)。該方案以USB2.0傳輸協(xié)議為基礎(chǔ),制定了PC機與嵌入式功率源雙向的通信協(xié)議。然后利用驅(qū)動程序提供的應(yīng)用程序接口函數(shù)在Visual C++6.0中開發(fā)上位機應(yīng)用程序。 文中首先介紹課題研究的背景及意義,然后說明了嵌入式三相功率源的功能用途,還包括其硬件設(shè)計和軟件設(shè)計部分,并詳細敘述了對于USB通信部分嵌入式設(shè)備所要完成的工作。接著設(shè)計了PC機與嵌入式設(shè)備雙方通信協(xié)議,如請求應(yīng)答數(shù)據(jù)格式和其他命令格式等。 其次,文中概述了USB設(shè)備驅(qū)動的安裝過程及驅(qū)動提供的應(yīng)用程序接口函數(shù)的功能及用法。本設(shè)計的重點在于利用Visual C++6.0設(shè)計與USB設(shè)備通信的應(yīng)用程序。該程序是一個基于對話框的MFC AppWizard(exe)的工程,它在打開設(shè)備后會通過USB接口向嵌入式設(shè)備請求數(shù)據(jù)并將參數(shù)顯示在程序主界面上。 在Visual C++6.0中完成的應(yīng)用程序包括接口操作模塊、操作設(shè)置模塊、幅值校準模塊和示波器顯示模塊等幾個部分,每個部分都包含與USB設(shè)備的上傳下傳操作。其中接口操作模塊主要顯示USB的插入狀態(tài);操作設(shè)置模塊可以設(shè)置操作步驟,為設(shè)備制定執(zhí)行任務(wù)書;幅值校準模塊可以補償設(shè)備由于溫漂造成的幅值波動;示波器模塊則是更直觀的反應(yīng)電壓及電流的關(guān)系。 最后,針對設(shè)計中高速數(shù)據(jù)通信所能達到的最大傳輸速度做了計算與分析,并敘述了本設(shè)計存在的不足和原因,并結(jié)合目前的開發(fā)成果對該應(yīng)用程序的改進和USB高速數(shù)據(jù)通信的發(fā)展做出了展望。
[Abstract]:With more and more functional requirements of embedded devices in the field of research and industry, the upgrading of embedded devices is bound to become more and more frequent. However, this kind of upgrade work requires a comprehensive and in-depth understanding of the embedded device to be upgraded, otherwise, the upgrade work will take great risks. However, if the embedded device is equipped with a communication interface of data and operation commands, and the functions of the system are extended to the upper computer, it is a simple and effective way. Based on this idea, I design a kind of software system of PC machine to control embedded device, and successfully extend the function of an embedded device. This paper describes a solution of embedded device control based on PC machine. The embedded device is a three-phase power source based on FPGA. It communicates data and operation commands with PC machine through USB interface. The emphasis of the design is the development of application program on PC computer. Based on USB2.0 transmission protocol, a bi-directional communication protocol between PC and embedded power source is developed. Then the application interface function provided by the driver is used to develop the upper computer application program in Visual C 6.0. This paper first introduces the background and significance of the research, and then explains the function of the embedded three-phase power source, including its hardware design and software design. The work to be accomplished for embedded devices in USB communication part is described in detail. Then the communication protocol between PC and embedded device is designed, such as request response data format and other command format. Secondly, the installation process of USB device driver and the function and usage of the application program interface function provided by the driver are summarized. The emphasis of this design is to use Visual C 6.0 to design the application program of communication with USB equipment. The program is a dialog based MFC AppWizard (exe) project, it will open the device through the USB interface to the embedded device to request data and display the parameters on the main interface of the program. The application program in Visual C 6.0 includes interface operation module, operation setting module, amplitude calibration module and oscilloscope display module. Each part contains the upload and down transmission operation with USB equipment. The interface operation module mainly shows the insert state of the USB, the operation setting module can set up the operation steps, and make the execution task for the equipment, the amplitude calibration module can compensate the amplitude fluctuation caused by the temperature drift of the equipment. Oscilloscope module is more intuitive response voltage and current relationship. Finally, the maximum transmission speed of high-speed data communication in the design is calculated and analyzed, and the shortcomings and reasons of the design are described. The improvement of the application and the development of USB high-speed data communication are prospected.
【學(xué)位授予單位】:武漢理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP368.1

【參考文獻】

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

1 郭俊杰;;基于USB接口的多通道數(shù)據(jù)采集儀設(shè)計[J];兵工自動化;2007年06期

2 錢豪;;USB設(shè)備枚舉過程及代碼設(shè)計[J];電腦知識與技術(shù);2010年19期

3 倪明輝;周軍;楊庚;;USB在FPGA控制的高速數(shù)據(jù)采集系統(tǒng)中的應(yīng)用[J];計算機測量與控制;2006年02期

4 胡偉;張新家;李美峰;張德剛;劉航;;基于FPGA的USB2.0協(xié)議分析儀設(shè)計[J];計算機測量與控制;2008年09期

5 時向衛(wèi);李崢;張少武;;Win2000/XP下USB設(shè)備驅(qū)動程序研究與設(shè)計[J];計算機工程與設(shè)計;2008年21期

6 李蘭;寧永海;;基于CH372的USB數(shù)據(jù)采集系統(tǒng)的設(shè)計與實現(xiàn)[J];微計算機信息;2007年34期

7 王平;蘇濤;方浩俊;;基于USB2.0的高速實時數(shù)據(jù)采集系統(tǒng)設(shè)計[J];現(xiàn)代電子技術(shù);2007年01期

8 劉吉;楊德偉;文懷濤;劉超;;基于USB通信的FPGA高速數(shù)據(jù)采集系統(tǒng)[J];現(xiàn)代電子技術(shù);2011年10期

9 葉秀羲;朱長青;;基于USB總線的虛擬數(shù)字存儲示波器的設(shè)計與實現(xiàn)[J];移動電源與車輛;2009年03期

10 孟文;馬躍;王志成;;伺服系統(tǒng)中USB人機接口的設(shè)計與實現(xiàn)[J];組合機床與自動化加工技術(shù);2012年01期

,

本文編號:2236929

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

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


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

版權(quán)申明:資料由用戶11f2a***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com
免费午夜福利不卡片在线 视频| 国产成人精品午夜福利av免费| 国产又色又粗又黄又爽| 99日韩在线视频精品免费| 久久人人爽人人爽大片av| 在线日本不卡一区二区| 日本91在线观看视频| 日本午夜福利视频免费观看| 国产亚洲视频香蕉一区| 蜜桃臀欧美日韩国产精品| 偷拍洗澡一区二区三区| 国产成人亚洲综合色就色| 国产精品午夜一区二区三区 | 国产伦精品一一区二区三区高清版 | 久久精品伊人一区二区| 五月激情综合在线视频| 欧美一区二区三区99| 日本午夜福利视频免费观看| 日本成人三级在线播放 | 成年人黄片大全在线观看| 在线中文字幕亚洲欧美一区 | 中文字幕禁断介一区二区 | 亚洲妇女作爱一区二区三区| 亚洲一区二区福利在线| 国产自拍欧美日韩在线观看| 午夜福利大片亚洲一区| 日本加勒比在线播放一区| 国产成人精品视频一二区| 欧美黑人精品一区二区在线| 日韩国产亚洲欧美另类| 在线观看国产午夜福利| 日韩人妻欧美一区二区久久| 国产人妻精品区一区二区三区| 国产精欧美一区二区三区久久| 日韩精品一区二区三区含羞含羞草 | 国产午夜精品福利免费不| 国产传媒欧美日韩成人精品| 国产老熟女超碰一区二区三区| 国产又大又黄又粗又免费| 视频一区二区 国产精品| 最新69国产精品视频|