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

MTEM全波形記錄儀上位機軟件的實現(xiàn)

發(fā)布時間:2018-02-26 00:15

  本文關鍵詞: MTEM USB 上位機 實時采集 出處:《中國地質大學(北京)》2017年碩士論文 論文類型:學位論文


【摘要】:在使用多通道瞬變電磁法(MTEM)進行勘探的過程中,必須使用大功率電法發(fā)電機來進行供電,為了更好的對發(fā)射機發(fā)射的大電流和大電壓進行評定,并了解波形的邊沿信息,需要通過研制MTEM全波形記錄儀來對發(fā)射機的情況進行監(jiān)測并記錄。本論文主要介紹波形記錄儀中上位機軟件的設計開發(fā)和實現(xiàn)。整個上位機軟件主要實現(xiàn)數(shù)據的傳輸、波形顯示、數(shù)據存儲和數(shù)據的回看等功能。同時整個系統(tǒng)通過標定系統(tǒng)、日志管理、異常處理和交互的優(yōu)化設計來使得系統(tǒng)功能完備,穩(wěn)定性和交互性良好。本波形記錄儀采用USB (芯片型號CY7C68013)作為通信接口進行數(shù)據傳輸,采用USB傳輸中的BULK模式作為傳輸模式進行傳輸。USB的4個端口中有三個端口向上位機發(fā)送數(shù)據(IN方向),分別為高速電壓數(shù)據,高速電流數(shù)據,低速電壓電流數(shù)據。剩下的端口進行控制命令的發(fā)送(OUT方向),控制命令包括基本數(shù)據信息和繼電器切檔命令。上位機的實時采集,波形顯示和存儲功能采用C#中的多線程來實現(xiàn)。線程間采用信號(ManualRestEvent)來進行相互間的通信,并通過二維數(shù)組來實現(xiàn)數(shù)據的緩存機制。數(shù)據采集使用同步方式進行數(shù)據傳輸,經測試可滿足傳輸速率的要求。數(shù)據回看功能主要是實現(xiàn)波形數(shù)據的打開、波形繪制、相關數(shù)據信息顯示和波形縮放等功能。根據定義的傳輸協(xié)議,回看時可從數(shù)據中解析出GPS信息和頻率信息。數(shù)據的標定系統(tǒng)設計了兩種模式,一種為分段標定系統(tǒng),通過待測電壓和電流的峰峰值來確定區(qū)間從而實現(xiàn)標定;另一種為默認系統(tǒng)線性,通過一次函數(shù)實現(xiàn)采集數(shù)據的修正功能。整個系統(tǒng)通過開源的log4net庫來實現(xiàn)整個系統(tǒng)的日志管理功能,采用DotNetBar2庫來實現(xiàn)頁面的美化及風格統(tǒng)一功能。整個軟件在windows7系統(tǒng)下基于Visual Studio2015開發(fā)的,環(huán)境為.NET Framework4.5框架,通過自頂向下的設計方法論進行整個軟件的設計開發(fā),通過前期的可行性分析,需求分析,功能及界面設計,代碼實現(xiàn),軟件測試,全系統(tǒng)聯(lián)調測試以及野外測試,最終投入使用等階段來完成整個軟件的開發(fā)。軟件經過了多次室內和野外測試,不斷發(fā)現(xiàn)問題并改進之后,滿足了論文提出的要求,并能保證穩(wěn)定的運行,數(shù)據的連續(xù)采集以及良好的交互體驗。
[Abstract]:In order to evaluate the high current and voltage emitted by the transmitter and to understand the edge information of the waveform, the high power generator must be used to supply the power in the process of exploration using MTEMM (Multi-Channel transient electromagnetic method). It is necessary to monitor and record the situation of transmitter by developing MTEM full waveform recorder. This paper mainly introduces the design, development and implementation of upper computer software in waveform recorder. The functions of waveform display, data storage and data looking back, and so on. At the same time, the whole system makes the system function complete through the optimization of calibration system, log management, exception handling and interactive design. The waveform recorder uses USB (chip CY7C68013) as the communication interface for data transmission. The BULK mode of USB transmission is used as the transmission mode. Three of the four ports transmit data to the host computer, which are high speed voltage data, high speed current data, high speed voltage data and high speed current data, respectively. Low speed voltage and current data. The remaining ports are used to send out control commands, which include basic data information and relay cutting commands. Waveform display and storage are realized by multithreading in C #, communication between threads is realized by signal Manual restore event, and data cache mechanism is realized by two-dimensional array. The function of data review is to open waveform data, draw waveform, display relevant data information and scale waveform, etc. According to the defined transmission protocol, the function of data reviewing can meet the requirement of transmission rate, such as opening waveform data, drawing waveform, displaying relevant data information and scaling waveform, etc. When looking back, the GPS information and the frequency information can be analyzed from the data. The calibration system of the data designs two modes: one is the piecewise calibration system, which can be calibrated by determining the peak value of the voltage and current to be measured; The other is the default system linear, through the first function to achieve data collection correction function. The whole system through open source log4net library to achieve the entire system log management function, The DotNetBar2 library is used to realize the function of beautification and style unification of the page. The whole software is developed on the basis of Visual Studio2015 under the windows7 system, and the environment is. Net Framework4.5 framework. Through the top-down design methodology, the whole software is designed and developed. Through the preliminary feasibility analysis, requirements analysis, function and interface design, code implementation, software testing, system testing and field testing, Finally put into use and other stages to complete the development of the whole software. After many indoor and field tests, the software continuously found problems and improved, met the requirements of the paper, and can ensure a stable operation. Continuous data acquisition and good interactive experience.
【學位授予單位】:中國地質大學(北京)
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:P631.325;TP311.52

【參考文獻】

相關期刊論文 前10條

1 底青云;雷達;王中興;張一鳴;王順;張啟卯;張文偉;歐陽濤;;多通道大功率電法勘探儀集成試驗[J];地球物理學報;2016年12期

2 鐘華森;薛國強;李貅;智慶全;底青云;;多道瞬變電磁法(MTEM)虛擬波場提取技術[J];地球物理學報;2016年12期

3 王顯祥;底青云;鄧居智;;多通道瞬變電磁法油氣藏動態(tài)檢測[J];石油地球物理勘探;2016年05期

4 薛國強;武欣;李海;底青云;;多道瞬變電磁法(MTEM)國外研究進展[J];地球物理學進展;2016年05期

5 齊彥福;殷長春;王若;蔡晶;;多通道瞬變電磁m序列全時正演模擬與反演[J];地球物理學報;2015年07期

6 裴易峰;殷長春;劉云鶴;蔡晶;;時間域航空電磁磁場計算與應用[J];地球物理學進展;2014年05期

7 殷長春;黃威;賁放;;時間域航空電磁系統(tǒng)瞬變全時響應正演模擬[J];地球物理學報;2013年09期

8 梁宏煒;;用C#實現(xiàn)多線程Socket的通信[J];數(shù)字技術與應用;2013年06期

9 劉向紅;張平松;劉盛東;桂和榮;馬杰;;國產礦井瞬變電磁儀的性能試驗研究——與進口Terratem儀器對比[J];中國地質;2013年03期

10 薛國強;陳衛(wèi)營;周楠楠;李海;;接地源瞬變電磁短偏移深部探測技術[J];地球物理學報;2013年01期



本文編號:1535739

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

本文鏈接:http://sikaile.net/kejilunwen/kuangye/1535739.html


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

版權申明:資料由用戶38b27***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com