PC機對嵌入式設(shè)備控制軟件的研究與實現(xiàn)
[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
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2236929.html