深海探测装备的监控界面开发
发布时间:2018-12-11 20:26
【摘要】:人类社会的高速发展依赖于能源的推动,社会发展程度越高对矿产资源的需求量越大。人类一百多年的工业发展,伴随着陆地上矿产资源的急剧消耗,陆地资源即将无法满足人类发展的需要。全球各国已经将目光转向占据地球表面积7成以上的海洋。海洋巨大的水层覆盖着丰富的矿产资源,因而探索海洋、开发海洋资源对人类社会发展具有重要意义。地球上97%的海洋达到了6000m深海,所以突破水层隔离带来的阻碍,进行深海探测具有重要意义。深海探测设备多为甲板远程监控作业,操作复杂、检测数据多,对可靠性要求很高,计算机上的控制系统发生故障或死机将导致深海作业失败,甚至对昂贵的水下探测设备造成无法预料的损失。本文研究的目的便是以深海中深孔钻机监控系统为例设计一套可靠性、实时性较高的深海探测装备的监控软件系统。本文对深海中深孔钻机的工作原理和系统架构进行介绍,分析了深海中深孔钻机监控界面功能需求,根据功能侧重不同提出将整个软件功能分割成操作监控部分和视频监控部分。操作监控功能对实时性、可靠性要求较高,实现于系统架构稳定的硬实时操作系统QNX系统;视频监控功能对视频开发资源、通用性要求较高,实现于Windows平台下。操作监控部分实现串口通信、用户指令发送、水下设备状态动画实时显示,视频监控要求用户能方便地使用视频监控界面观看视频、浏览数据、导出数据。在操作监控部分,本文利用多线程并发机制,提高软件多项任务处理能力,并且对操作指令进行优先级管理,保证指令的顺序下发。本文对操作监控界面进行自动检错框架设计以提高稳定性,采用状态机机制提高串口通信的可靠性。在操作监控部分对界面和控件部分遵循最简设计原则,在保证功能的情况下尽量减小系统界面维护开销。视频监控部分软件设计采用三层架构,保证了层与层的独立性,任何一层的改变只需改变相应层,既提高了开发效率,又方便后续维护。同时对表现层的视频控件进行独立封装,方便重复使用、节省代码空间和简化调试。操作监控部分和视频监控部分采用C/S模式,为保证数据传输速率和稳定性,采用基于TCP/IP协议的网络通信实现数据传输。网络通信部分实现了掉线重连机制,保证视频监控部分服务器掉线重启后客户端能够自动连接服务器。此系统在调试过程中,运行稳定,界面运行流畅、对用户指令响应及时,紧急命令可获得最高优先级进行下发。即使视频监控部分无法重启的情况下,操作监控平台依旧可以独立运作。
[Abstract]:The rapid development of human society depends on the promotion of energy, and the higher the level of social development, the greater the demand for mineral resources. With the rapid consumption of mineral resources on the land, the land resources will not be able to meet the needs of human development after more than one hundred years of industrial development. The world has turned its attention to the oceans that occupy more than 70% of the earth's surface area. The huge water layer of the ocean is covered with abundant mineral resources, so it is of great significance to explore the ocean and exploit the marine resources for the development of human society. 97% of the earth's oceans reach 6000m deep sea, so it is of great significance to break through the barrier caused by water layer isolation and carry out deep-sea exploration. Deep-sea exploration equipment is mostly a deck remote monitoring operation, the operation is complex, the detection data is many, and the reliability requirement is very high. The failure of the control system on the computer or the failure of the computer will lead to the failure of the deep-sea operation. It even caused unexpected damage to expensive underwater detection equipment. The purpose of this paper is to design a reliable and real-time monitoring software system for deep-sea drilling rig monitoring system. This paper introduces the working principle and system architecture of deep-sea deep drilling rig, and analyses the function requirement of monitoring interface of deep-sea medium-deep hole drilling rig. According to the different functions, the whole software function is divided into the operation monitoring part and the video monitoring part. The operation monitoring function requires high real-time and reliability, which is realized in the hardware real-time operating system (QNX) system with stable system architecture, and the video monitoring function requires high generality to the video development resources and is realized under the Windows platform. The operation monitoring part realizes the serial port communication, the user instruction sends, the underwater equipment status animation real-time display, the video surveillance request the user can use the video monitor interface conveniently to watch the video, browse the data, exports the data. In the part of operation monitoring, the multi-thread concurrent mechanism is used in this paper to improve the ability of multi-task processing of software, and to manage the priority of operation instruction to ensure the order of instruction is sent down. In this paper, the automatic error detection framework is designed to improve the stability of the operation monitoring interface, and the reliability of serial communication is improved by using the state machine mechanism. In the operation monitoring part, the interface and the control part are designed according to the simplest design principle, and the maintenance cost of the system interface is minimized under the condition of ensuring the function. The software design of video surveillance adopts three-layer architecture, which ensures the independence of layer and layer. The change of any layer only needs to change the corresponding layer, which not only improves the development efficiency, but also facilitates the follow-up maintenance. At the same time, the video control in the presentation layer is encapsulated independently, which is easy to reuse, saves code space and simplifies debugging. In order to ensure the data transmission rate and stability, the network communication based on TCP/IP protocol is used to realize the data transmission. In the part of network communication, the mechanism of reconnection is realized, which ensures that the client can connect to the server automatically after the video monitor part of the server is restarted. In the process of debugging, the system runs stably, the interface runs smoothly, the response to the user's instructions is timely, and the emergency command can be sent out with the highest priority. Even if the video monitoring part can not restart, the operating monitoring platform can still operate independently.
【学位授予单位】:杭州电子科技大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:P715.5
本文编号:2373171
[Abstract]:The rapid development of human society depends on the promotion of energy, and the higher the level of social development, the greater the demand for mineral resources. With the rapid consumption of mineral resources on the land, the land resources will not be able to meet the needs of human development after more than one hundred years of industrial development. The world has turned its attention to the oceans that occupy more than 70% of the earth's surface area. The huge water layer of the ocean is covered with abundant mineral resources, so it is of great significance to explore the ocean and exploit the marine resources for the development of human society. 97% of the earth's oceans reach 6000m deep sea, so it is of great significance to break through the barrier caused by water layer isolation and carry out deep-sea exploration. Deep-sea exploration equipment is mostly a deck remote monitoring operation, the operation is complex, the detection data is many, and the reliability requirement is very high. The failure of the control system on the computer or the failure of the computer will lead to the failure of the deep-sea operation. It even caused unexpected damage to expensive underwater detection equipment. The purpose of this paper is to design a reliable and real-time monitoring software system for deep-sea drilling rig monitoring system. This paper introduces the working principle and system architecture of deep-sea deep drilling rig, and analyses the function requirement of monitoring interface of deep-sea medium-deep hole drilling rig. According to the different functions, the whole software function is divided into the operation monitoring part and the video monitoring part. The operation monitoring function requires high real-time and reliability, which is realized in the hardware real-time operating system (QNX) system with stable system architecture, and the video monitoring function requires high generality to the video development resources and is realized under the Windows platform. The operation monitoring part realizes the serial port communication, the user instruction sends, the underwater equipment status animation real-time display, the video surveillance request the user can use the video monitor interface conveniently to watch the video, browse the data, exports the data. In the part of operation monitoring, the multi-thread concurrent mechanism is used in this paper to improve the ability of multi-task processing of software, and to manage the priority of operation instruction to ensure the order of instruction is sent down. In this paper, the automatic error detection framework is designed to improve the stability of the operation monitoring interface, and the reliability of serial communication is improved by using the state machine mechanism. In the operation monitoring part, the interface and the control part are designed according to the simplest design principle, and the maintenance cost of the system interface is minimized under the condition of ensuring the function. The software design of video surveillance adopts three-layer architecture, which ensures the independence of layer and layer. The change of any layer only needs to change the corresponding layer, which not only improves the development efficiency, but also facilitates the follow-up maintenance. At the same time, the video control in the presentation layer is encapsulated independently, which is easy to reuse, saves code space and simplifies debugging. In order to ensure the data transmission rate and stability, the network communication based on TCP/IP protocol is used to realize the data transmission. In the part of network communication, the mechanism of reconnection is realized, which ensures that the client can connect to the server automatically after the video monitor part of the server is restarted. In the process of debugging, the system runs stably, the interface runs smoothly, the response to the user's instructions is timely, and the emergency command can be sent out with the highest priority. Even if the video monitoring part can not restart, the operating monitoring platform can still operate independently.
【学位授予单位】:杭州电子科技大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:P715.5
【参考文献】
相关期刊论文 前1条
1 郭瑞杰;王斌;丁捷;;基于表格驱动的XML配置文件解析与生成技术[J];计算机工程与应用;2006年09期
,本文编号:2373171
本文链接:https://www.wllwen.com/kejilunwen/haiyang/2373171.html