当前位置:主页 > 科技论文 > 矿业工程论文 >

MTEM全波形记录仪上位机软件的实现

发布时间:2018-02-26 00:15

  本文关键词: MTEM USB 上位机 实时采集 出处:《中国地质大学(北京)》2017年硕士论文 论文类型:学位论文


【摘要】:在使用多通道瞬变电磁法(MTEM)进行勘探的过程中,必须使用大功率电法发电机来进行供电,为了更好的对发射机发射的大电流和大电压进行评定,并了解波形的边沿信息,需要通过研制MTEM全波形记录仪来对发射机的情况进行监测并记录。本论文主要介绍波形记录仪中上位机软件的设计开发和实现。整个上位机软件主要实现数据的传输、波形显示、数据存储和数据的回看等功能。同时整个系统通过标定系统、日志管理、异常处理和交互的优化设计来使得系统功能完备,稳定性和交互性良好。本波形记录仪采用USB (芯片型号CY7C68013)作为通信接口进行数据传输,采用USB传输中的BULK模式作为传输模式进行传输。USB的4个端口中有三个端口向上位机发送数据(IN方向),分别为高速电压数据,高速电流数据,低速电压电流数据。剩下的端口进行控制命令的发送(OUT方向),控制命令包括基本数据信息和继电器切档命令。上位机的实时采集,波形显示和存储功能采用C#中的多线程来实现。线程间采用信号(ManualRestEvent)来进行相互间的通信,并通过二维数组来实现数据的缓存机制。数据采集使用同步方式进行数据传输,经测试可满足传输速率的要求。数据回看功能主要是实现波形数据的打开、波形绘制、相关数据信息显示和波形缩放等功能。根据定义的传输协议,回看时可从数据中解析出GPS信息和频率信息。数据的标定系统设计了两种模式,一种为分段标定系统,通过待测电压和电流的峰峰值来确定区间从而实现标定;另一种为默认系统线性,通过一次函数实现采集数据的修正功能。整个系统通过开源的log4net库来实现整个系统的日志管理功能,采用DotNetBar2库来实现页面的美化及风格统一功能。整个软件在windows7系统下基于Visual Studio2015开发的,环境为.NET Framework4.5框架,通过自顶向下的设计方法论进行整个软件的设计开发,通过前期的可行性分析,需求分析,功能及界面设计,代码实现,软件测试,全系统联调测试以及野外测试,最终投入使用等阶段来完成整个软件的开发。软件经过了多次室内和野外测试,不断发现问题并改进之后,满足了论文提出的要求,并能保证稳定的运行,数据的连续采集以及良好的交互体验。
[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 王显祥;底青云;邓居智;;多通道瞬变电磁法油气藏动态检测[J];石油地球物理勘探;2016年05期

4 薛国强;武欣;李海;底青云;;多道瞬变电磁法(MTEM)国外研究进展[J];地球物理学进展;2016年05期

5 齐彦福;殷长春;王若;蔡晶;;多通道瞬变电磁m序列全时正演模拟与反演[J];地球物理学报;2015年07期

6 裴易峰;殷长春;刘云鹤;蔡晶;;时间域航空电磁磁场计算与应用[J];地球物理学进展;2014年05期

7 殷长春;黄威;贲放;;时间域航空电磁系统瞬变全时响应正演模拟[J];地球物理学报;2013年09期

8 梁宏炜;;用C#实现多线程Socket的通信[J];数字技术与应用;2013年06期

9 刘向红;张平松;刘盛东;桂和荣;马杰;;国产矿井瞬变电磁仪的性能试验研究——与进口Terratem仪器对比[J];中国地质;2013年03期

10 薛国强;陈卫营;周楠楠;李海;;接地源瞬变电磁短偏移深部探测技术[J];地球物理学报;2013年01期



本文编号:1535739

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/kuangye/1535739.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户38b27***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com