Font Size: a A A

Development Of Monitoring Software Of CBM Well Logging Based On Infrared Detection

Posted on:2011-08-06Degree:MasterType:Thesis
Country:ChinaCandidate:K Z ZhangFull Text:PDF
GTID:2178360308990325Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
Coal-bed methane (CBM) drilling with more effect factors and high risks is a systemic engineering which aims at the development of unconventional gas resources in the coal seam. Infrared gas detection logging unit is portable logging equipment which has the feature of monitoring hydrocarbon gas rapidly. It is specifically developed for CBM and plays an important role in monitoring the drilling process and detecting reservoir location in time. The monitoring software is a human-computer interface of the logging unit, and its performance has an important effect on the function of the whole logging unit.According to the need of CBM logging, an overall design of the monitoring software was proposed, the communication module and database module which are composed of multi-function units were implemented, the monitoring software of infrared gas detection logging unit was developed.In Vistual C++ platform, in light of disadvantages of serial communication in real time and using of system resource, the asynchronous event-driven idea based on multi-thread was adopted. Combining with the serial communication mechanism, WinAPI was utilized to achieve the design of the communication module, so that the data real-time transmission between data acquisition devices on site and the PC was implemented, and simultaneously the reliability of application program is improved.In order to satisfy requirements of real-time data access frequently during monitoring, the thesis adopted the linked list as main storage structure to design the real time database, and then real-time data management platform is established. In order to solve the problem of thread synchronization and mutual exclusion in process of thread scheduling, multithread communication modes were adopted,including self-definition message, signal and other modes. Thus, the data acquisition, real-time trend curve displaying, the alarm detection and the historical data storage were processed in parallel. The safety of logging data storage is assured by the establishment of security mechanism in storing historical data. The connection between application programs and the tables of database is completed using ActiveX Data Objects (ADO) technique. Thus, the functions which contain display and print of report forms and curves of history data in a predetermined form are implemented, and it lays foundation for latter analysis of logging data.The results of the laboratory simulation demonstrate that the infrared monitoring software satisfies the requirement of the design. It has a good prospect of application.
Keywords/Search Tags:CBM well logging, Monitoring software, Serial communication, Real-time database, Thread Scheduling
PDF Full Text Request
Related items