Portable Oil and Gas Well Fluid Level Monitoring System and Method
By utilizing infrasound technology and LABVIEW/MATLAB signal processing, the portable oil and gas well fluid level monitoring system solves the problems of low measurement accuracy and bulky equipment in existing systems, achieving high-precision, real-time, and easy-to-maintain fluid level monitoring, thus adapting to the development of intelligent oilfields.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA NAT PETROLEUM CORP
- Filing Date
- 2024-12-30
- Publication Date
- 2026-06-30
AI Technical Summary
Existing oil and gas well fluid level monitoring systems suffer from low measurement accuracy, complex operation, high cost, and large and cumbersome equipment, failing to meet the needs of intelligent oilfield development.
A portable oil and gas well fluid level monitoring system is adopted, including a virtual instrument platform and a portable data acquisition device. It uses a USB data acquisition card, pressure transmitter, sound module and microphone to monitor the fluid level through infrasound technology. Combined with LabVIEW and MATLAB signal processing programs, it realizes real-time data processing and display.
It improves measurement accuracy, reduces equipment size and weight, enhances real-time performance and reliability, and features easy maintenance, easy expansion, low power consumption and high security, adapting to different oil well production needs.
Smart Images

Figure CN122304712A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of underground well fluid level monitoring technology, specifically to a portable oil and gas well fluid level monitoring system, a portable oil and gas well fluid level monitoring method, an electronic device, and a corresponding storage medium. Background Technology
[0002] As a crucial indicator for optimizing oil and gas well production management and evaluating wellbore integrity, the fluid level in oil and gas wells is increasingly demanding due to the growing number of annular pressure issues in some gas storage wells and natural gas wells. Therefore, researching new fluid level monitoring technologies is essential to improving oil and gas well production levels in my country and meeting the requirements for safe wellbore production. The development of fluid level monitoring technology can be traced back to the 1950s and 60s, when wired methods were primarily used. However, limited by the technology available at the time, the accuracy and real-time performance were poor. With the development of wireless communication technology, dynamic fluid level monitoring gradually shifted to wireless transmission, resulting in more real-time and accurate data. In the 1980s, dynamic fluid level monitoring technology further advanced, with acoustic, radar, and laser monitoring methods gradually being applied to oil well dynamic fluid level monitoring. These methods each have advantages in terms of accuracy, practicality, and cost. For example, acoustic fluid level measurement technology has high accuracy but is limited by environmental factors; radar fluid level measurement technology has a long measurement distance but is more expensive; and laser fluid level measurement technology offers high real-time performance and safety. Currently, dynamic fluid level monitoring mainly employs traditional methods, such as the float method and differential pressure method. However, these methods have certain limitations, such as low measurement accuracy, poor anti-interference ability, and high maintenance costs. In recent years, scholars both domestically and internationally have conducted extensive research on dynamic fluid level monitoring technology. New monitoring methods, such as ultrasonic methods, electromagnetic wave methods, and fiber optic sensing methods, are constantly emerging. However, these methods still have certain problems in practical applications, such as stability, reliability, and cost-effectiveness. With the development of technologies such as the Internet of Things, big data, and artificial intelligence, intelligent oilfields have become the trend of future oilfield development, and existing oil and gas well fluid level monitoring systems can no longer meet these trends. Summary of the Invention
[0003] The purpose of this application is to provide an intelligent portable oil and gas well fluid level monitoring system and method. It makes targeted improvements to address the problems of low measurement accuracy, complex operation, high cost, large size and heavy weight of currently used fluid level monitoring instruments, so as to at least solve some of the problems in the background art.
[0004] To achieve the above objectives, this application provides a portable oil and gas well fluid level monitoring system, characterized in that the system includes: a virtual instrument platform and a portable acquisition device; the virtual instrument platform is configured with a LabVIEW-based casing pressure signal acquisition and control program, a sound-generating device control program, and a sound wave signal acquisition program; the portable acquisition device includes: a USB data acquisition card, a pressure transmitter, a sound-generating module, and a microphone; in response to user operation based on the casing pressure signal acquisition and control program, the USB data acquisition card acquires the pressure information of the normally closed solenoid valve inlet in the sound-generating module through the pressure transmitter, and generates a pressure ready signal when the pressure information reaches a preset pressure; in response to user operation based on the sound-generating device control program, the USB data acquisition card controls the sound-generating module to generate infrasound when the pressure ready signal is valid; and in response to user operation based on the sound wave signal acquisition program, the USB data acquisition card acquires the infrasound reflection signal received by the microphone, processes the infrasound reflection signal through a MATLAB-based signal processing program, and displays it in the user interface of the sound wave signal acquisition program.
[0005] Optionally, the sound-generating module includes: a miniature DC air pump, a normally closed solenoid valve, and a nitrogen tank. The miniature DC air pump is connected to the nitrogen tank via a pipeline, and the normally closed solenoid valve is connected to the nitrogen tank via a pipeline. In response to the user's operation based on the pressure signal acquisition and control program, the USB data acquisition card acquires the pressure information at the inlet of the normally closed solenoid valve in the sound-generating module through the pressure transmitter. This includes: turning on the miniature DC air pump according to the instruction of the USB data acquisition card to pressurize the nitrogen tank, and acquiring the pressure information at the inlet of the normally closed solenoid valve connected to the nitrogen tank through the pressure transmitter.
[0006] Optionally, controlling the sound-generating module to generate infrasound includes: opening the normally closed solenoid valve when the pressure ready signal is valid, and generating infrasound using the nitrogen tank as the infrasound gas source.
[0007] Optionally, the system further includes a signal amplifier module, which is used to amplify the infrasound reflection signal to obtain an amplified signal; the signal amplifier module includes a CLC1200 and the peripheral circuitry of the CLC1200.
[0008] Optionally, the system further includes a low-pass filter module for filtering the amplified signal; the signal amplifier module includes a MAX7400 and its peripheral circuitry.
[0009] Optionally, the infrasound reflection signal is processed by a MATLAB-based signal processing program, including: using MATLAB software to develop programs for the EEMD integrated empirical mode decomposition algorithm, the FFT fast Fourier transform algorithm, and the HHT Hilbert-Huang transform algorithm to process the infrasound reflection signal and obtain the processed infrasound reflection signal; and using Script Nodes in LabVIEW to call the signal processing algorithm, calculating the oil well dynamic fluid level height based on the processed infrasound reflection signal to obtain an oil well dynamic fluid level data curve, which is used to display in the user interface of the acoustic signal acquisition program.
[0010] Optionally, the virtual instrument platform is also configured with a sound-generating module and a data acquisition device control interface, which includes: a data channel setting plugin, a normally closed solenoid valve status plugin, a micro DC air pump status plugin, a measurement button, a reset button, and a pressure acquisition data display plugin.
[0011] Optionally, the virtual instrument platform is also configured with a microphone acoustic signal data acquisition interface, which includes: a channel setting plugin, a timing setting plugin, a recording setting plugin, a trigger setting plugin, and an acoustic signal data acquisition plugin.
[0012] This application also provides a portable oil and gas well fluid level monitoring method, implemented based on the aforementioned portable oil and gas well fluid level monitoring system. The method includes: setting up and activating the portable oil and gas well fluid level monitoring system at the wellhead location of the oil and gas well to be monitored; pressurizing a nitrogen tank to a preset pressure through operations in a LabVIEW-based casing pressure signal acquisition and control program; depressurizing the nitrogen tank through operations in a LabVIEW-based sound device control program, generating infrasound waves using the nitrogen tank as an infrasound gas source; receiving the infrasound reflection signal formed by the reflection of the infrasound waves from the fluid level of the oil and gas well to be monitored through operations in a LabVIEW-based sound wave signal acquisition program; and monitoring the fluid level position of the oil and gas well to be monitored based on the infrasound reflection signal.
[0013] Optionally, after receiving the infrasound reflection signal formed by the reflection of the infrasound from the liquid surface of the oil and gas well under test, the method further includes processing the infrasound reflection signal using a MATLAB-based signal processing program: using MATLAB software to develop programs for the EEMD integrated empirical mode decomposition algorithm, the FFT fast Fourier transform algorithm, and the HHT Hilbert-Huang transform algorithm to complete the processing of the infrasound reflection signal and obtain the processed infrasound reflection signal; and using Script Nodes in LabVIEW to call the signal processing algorithm, calculating the dynamic fluid level height of the oil well based on the processed infrasound reflection signal to obtain the dynamic fluid level data curve of the oil well, which is used to display in the user interface of the acoustic signal acquisition program.
[0014] This application also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the aforementioned portable oil and gas well fluid level monitoring method by executing the instructions stored in the memory.
[0015] This application also provides a machine-readable storage medium storing instructions that, when executed by a processor, configure the processor to perform the aforementioned portable oil and gas well fluid level monitoring method.
[0016] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the aforementioned portable oil and gas well fluid level monitoring method.
[0017] The above technical solution has the following beneficial effects: The portable oil and gas well fluid level monitoring system provided by this application addresses the problems of low measurement accuracy, complex operation, high cost, and large and cumbersome equipment in currently used fluid level monitoring instruments. It boasts advantages such as high integration, strong real-time performance, high reliability, ease of maintenance, intelligence, strong compatibility, high customization, easy expansion, low power consumption, and good safety performance, thereby improving the efficiency and safety of oil well production.
[0018] Other features and advantages of the embodiments of this application will be described in detail in the following detailed description section. Attached Figure Description
[0019] The accompanying drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the following detailed description to explain the embodiments of this application, but do not constitute a limitation on the embodiments of this application. In the drawings: Figure 1This schematic diagram illustrates the overall structural block diagram of a portable oil and gas well fluid level monitoring system according to an embodiment of this application; Figure 2 A schematic diagram of a portable oil and gas well fluid level monitoring system according to an embodiment of this application is shown. Figure 3 The schematic diagram illustrates the overall circuit diagram of a portable oil and gas well fluid level monitoring system according to an embodiment of this application; Figure 4 A schematic diagram of the control circuit of the sound-generating module according to an embodiment of this application is shown. Figure 5 A schematic diagram of a signal amplifier module according to an embodiment of this application is shown. Figure 6 The schematic diagram illustrates a circuit diagram of a low-pass filter module according to an embodiment of this application; Figure 7 A schematic diagram of a voltage inversion module according to an embodiment of this application is shown. Figure 8 A schematic diagram of a DAQ data acquisition card according to an embodiment of this application is shown. Figure 9 A schematic diagram of the control interface of the sound-generating module and the acquisition device according to the embodiments of this application is shown. Figure 10 A schematic diagram of a microphone acoustic signal data acquisition interface according to an embodiment of this application is shown. Figure 11 The diagram schematically illustrates the internal structure of an electronic device according to an embodiment of this application.
[0020] Figure Labels 1-DAQ data acquisition card module, 2-microphone, 3-signal processing amplifier module, 4-low-pass filter module, 5-pressure transmitter, 6-sound generation module, 7-virtual instrument platform host computer, 8-miniature DC air pump module, 9-normally closed solenoid valve module, 10-nitrogen tank. Detailed Implementation
[0021] The specific embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the embodiments of this application.
[0022] In some embodiments of this application, a portable oil and gas well fluid level monitoring system is provided. This system includes: a virtual instrument platform and a portable acquisition device; the virtual instrument platform is configured with a LabVIEW-based casing pressure signal acquisition control program, a sound-generating device control program, and a sound wave signal acquisition program; the portable acquisition device includes: a USB data acquisition card, a pressure transmitter, a sound-generating module, and a microphone; in response to user operation based on the casing pressure signal acquisition control program, the USB data acquisition card acquires pressure information at the inlet of the normally closed solenoid valve in the sound-generating module through the pressure transmitter, and generates a pressure ready signal when the pressure information reaches a preset pressure; in response to user operation based on the sound-generating device control program, the USB data acquisition card controls the sound-generating module to generate infrasound when the pressure ready signal is valid; and in response to user operation based on the sound wave signal acquisition program, the USB data acquisition card acquires the infrasound reflection signal received by the microphone, processes the infrasound reflection signal through a MATLAB-based signal processing program, and displays it in the user interface of the sound wave signal acquisition program.
[0023] Through the above implementation methods, the various functional modules in the host computer designed based on LABVIEW+MATLAB have the following advantages: Strong data processing capabilities and real-time performance: MATLAB has significant advantages in data processing and analysis, enabling efficient processing and analysis of monitored oil well dynamic fluid level data. It also possesses real-time data processing capabilities, allowing for real-time monitoring of oil well dynamic fluid levels and timely feedback on oil well production status, thus improving oil well production efficiency and safety. User-friendly interface: The monitoring instrument developed based on LABVIEW provides an intuitive and user-friendly graphical interface, making operation easier. Monitored data can be displayed in intuitive charts, facilitating analysis and decision-making by engineers and operators. High reliability: LABVIEW and MATLAB have high stability and reliability, capable of operating normally in harsh environments, ensuring the accuracy of oil well dynamic fluid level monitoring data. High flexibility and customization: Due to the good programmability of LABVIEW and MATLAB, the portable monitoring instrument can be customized and expanded as needed to meet the requirements of different application scenarios. An intelligent portable oil and gas well fluid level monitoring system can be customized according to user needs to meet the production monitoring requirements of different oil wells. High Integration: LabVIEW and MATLAB are powerful integrated development environments that enable the integration of multiple tools, facilitating system development and debugging for designers. The portable oil well dynamic fluid level monitor can therefore achieve high integration, reducing equipment size and weight and improving portability. Easy Maintenance: The portable oil well dynamic fluid level monitor adopts a modular design, making it easy to disassemble and maintain. Furthermore, LabVIEW and MATLAB provide abundant online resources, facilitating troubleshooting and upgrades for designers. Strong Compatibility: LabVIEW and MATLAB possess excellent compatibility, allowing seamless integration with other software and hardware devices, facilitating data exchange and sharing between the oil well dynamic fluid level monitor and other systems.
[0024] Meanwhile, the portable oil and gas well fluid level monitoring system in this embodiment also has the following advantages: Easy expansion: The portable oil well dynamic fluid level monitor has good expandability, allowing for easy addition or replacement of monitoring modules to expand functionality according to the needs of oil well production. Low power consumption: The portable oil well dynamic fluid level monitor adopts a low power consumption design, extending battery life and reducing energy consumption. Good safety performance: This intelligent portable oil and gas well fluid level monitoring system has good safety performance, enabling real-time monitoring of the oil well production environment and ensuring personal and equipment safety.
[0025] Figure 1 A schematic diagram illustrating the overall structure of a portable oil and gas well fluid level monitoring system according to an embodiment of this application is shown. Figure 1As shown, the system includes: a USB data acquisition card, preferably a DAQ data acquisition card module 1; a microphone 2; a signal amplifier module 3; a low-pass filter module 4; a pressure transmitter 5; a sound generation module 6; and a virtual instrument platform host computer 7. The sound generation module 6 includes a miniature DC air pump module 8, a normally closed solenoid valve module 9, and a nitrogen tank 10. The miniature DC air pump module 8 is connected to the nitrogen tank 10 via a gas pipeline, and the normally closed solenoid valve module 9 is connected to the nitrogen tank 10 via a gas pipeline. The pressure transmitter 5 converts the inlet pressure of the solenoid valve into a pressure analog voltage, and the microphone 2 converts the infrasound signal into an infrasound analog voltage.
[0026] The DAQ data acquisition card module 1 is the core component of the entire system. It is responsible for controlling the operating status of each device and transmitting the acquired data. The DAQ data acquisition card module 1 acquires the analog pressure at the inlet of the solenoid valve through the pressure transmitter 5. This analog voltage reflects the gas pressure inside the nitrogen tank 10 and is a crucial parameter for controlling the switching of the miniature DC air pump module 8.
[0027] Microphone 2 receives infrasound signals generated by an infrasound air source. These signals may contain various noises and interferences, thus requiring amplification and filtering. Signal amplifier module 3 amplifies the original acoustic signal to improve signal strength and signal-to-noise ratio. Low-pass filter module 4 filters the amplified signal to eliminate high-frequency noise and interference.
[0028] After processing by signal amplifier module 3 and low-pass filter module 4, the original acoustic signal is effectively amplified and filtered. At this point, the amplified and filtered signal needs to be acquired by the ADC (Digital-to-Analog Converter) module of the DAQ data acquisition card module 1. The ADC module converts the analog signal into a digital signal for subsequent data processing and analysis.
[0029] Figure 2 A schematic diagram of a portable oil and gas well fluid level monitoring system according to an embodiment of this application is shown. Figure 2 As shown, the lower-level machine receives the infrasound signal and is connected to the PC via a WIFI wireless communication module. The PC is equipped with a LabVIEW human-computer interaction interface and MATLAB software.
[0030] Figure 3 The schematic diagram illustrates the overall circuit of a portable oil and gas well fluid level monitoring system according to an embodiment of this application. Figure 3 The diagram illustrates the circuit structure of the USB data acquisition card, the sound generation module control module, the signal amplification module, the low-pass filter module, and the 5V voltage inversion module. Based on this circuit structure, the hardware functions of the portable oil and gas well fluid level monitoring system are realized.
[0031] In some embodiments of this application, the sound-generating module includes: a miniature DC air pump, a normally closed solenoid valve, and a nitrogen tank. The miniature DC air pump is connected to the nitrogen tank via a pipeline, and the normally closed solenoid valve is also connected to the nitrogen tank via a pipeline. In response to user operation based on the pressure signal acquisition and control program, the USB data acquisition card acquires the pressure information at the inlet of the normally closed solenoid valve within the sound-generating module via the pressure transmitter. This includes: opening the switch of the miniature DC air pump according to the instruction of the USB data acquisition card to pressurize the nitrogen tank, and acquiring the pressure information at the inlet of the normally closed solenoid valve connected to the nitrogen tank via the pressure transmitter. In some embodiments of this application, controlling the sound-generating module to generate infrasound includes: opening the normally closed solenoid valve when the pressure ready signal is valid, using the nitrogen tank as the infrasound gas source to generate infrasound. For example, based on a voltage signal sent by the virtual instrument platform host computer 7, the DAQ data acquisition card module 1 will open the switch of the miniature DC air pump module 8, pressurizing the nitrogen tank 8 to a certain pressure. When a certain air pressure is reached, the DAQ data acquisition card module 1 will open the normally closed solenoid valve module 9 to generate an infrasound air source. Figure 4 A schematic diagram of the control circuit of the sound-generating module according to an embodiment of this application is shown. Figure 4 As shown, it includes the control function of the sound-generating module 6 implemented by three control pins based on the DAQ data acquisition card module.
[0032] In some embodiments of this application, the system further includes a signal amplifier module for amplifying the infrasound reflection signal to obtain an amplified signal; the signal amplifier module includes a CLC1200 and peripheral circuitry of the CLC1200. Figure 5 A schematic diagram of a signal amplifier module according to an embodiment of this application is shown. Figure 5 As shown, it includes a CLC1200 chip and its peripheral circuitry. J4 is connected to the output of microphone 2, and the amplified signal output is obtained from CLC1200-Vout after processing by the CLC1200 chip.
[0033] In some embodiments of this application, the system further includes a low-pass filter module for filtering the amplified signal; the signal amplifier module includes a MAX7400 and its peripheral circuitry. Figure 6 A schematic diagram of a low-pass filter module according to an embodiment of this application is shown. Figure 6 As shown, the input pin of MAX7400 is connected to the aforementioned CLC1200-Vout, and the signal output pin outputs the filtered signal.
[0034] Figure 7 A schematic diagram of a voltage inversion module according to an embodiment of this application is shown. Figure 7 As shown, this module is mainly implemented based on the ICL7600 chip. The V+ input terminal of the ICL7600 chip receives a +5V signal, and the Vout output pin outputs a -5V signal.
[0035] Figure 8 A schematic diagram of a DAQ data acquisition card according to an embodiment of this application is shown. Figure 8 As shown, the USB data acquisition card preferably uses the DAQ_6001 chip, which is the core component of the entire system. It is responsible for controlling the operating status of each device and transmitting the acquired data.
[0036] In some embodiments of this application, the infrasound reflection signal is processed by a MATLAB-based signal processing program, including: using MATLAB software to develop programs for the EEMD integrated empirical mode decomposition algorithm, the FFT fast Fourier transform algorithm, and the HHT Hilbert-Huang transform algorithm to process the infrasound reflection signal and obtain the processed infrasound reflection signal; and using Script Nodes in LabVIEW to call the signal processing algorithm, calculating the oil well dynamic fluid level height based on the processed infrasound reflection signal to obtain an oil well dynamic fluid level data curve, which is used to display in the user interface of the acoustic signal acquisition program.
[0037] In some embodiments of this application, the virtual instrument platform is further configured with a sound-generating module and a data acquisition device control interface, which includes: a data channel setting plugin, a normally closed solenoid valve status plugin, a micro DC air pump status plugin, a measurement button, a reset button, and a pressure acquisition data display plugin. Figure 9 The diagram illustrates the control interface of the sound-generating module and the acquisition device according to the embodiment of this application. It is designed based on LabVIEW software, wherein the pressure acquisition data display plug-in is used to display the acquired pressure data.
[0038] In some embodiments of this application, the virtual instrument platform is further configured with a microphone acoustic signal data acquisition interface, which includes: a channel setting plugin, a timing setting plugin, a recording setting plugin, a trigger setting plugin, and an acoustic wave acquisition data plugin. Figure 10 A schematic diagram of a microphone acoustic signal data acquisition interface according to an embodiment of this application is shown. It is designed based on LabVIEW software, and the acoustic data acquisition plugin is used to display the acquired acoustic data.
[0039] Based on the same inventive concept, this application also provides a portable oil and gas well fluid level monitoring method, implemented based on the aforementioned portable oil and gas well fluid level monitoring system. The method includes: setting up and activating the portable oil and gas well fluid level monitoring system at the wellhead location of the oil and gas well to be monitored; pressurizing a nitrogen tank to a preset pressure through operations in a LabVIEW-based casing pressure signal acquisition and control program; depressurizing the nitrogen tank through operations in a LabVIEW-based sound device control program, generating infrasound waves using the nitrogen tank as an infrasound gas source; receiving the infrasound wave reflection signal formed by the reflection of the infrasound waves from the fluid level of the oil and gas well to be monitored through operations in a LabVIEW-based sound wave signal acquisition program; and monitoring the fluid level position of the oil and gas well to be monitored based on the infrasound wave reflection signal.
[0040] In some optional embodiments, after receiving the infrasound reflection signal formed by the reflection of the infrasound from the liquid surface of the oil and gas well under test, the method further includes processing the infrasound reflection signal using a MATLAB-based signal processing program: using MATLAB software to develop programs for the EEMD integrated empirical mode decomposition algorithm, the FFT fast Fourier transform algorithm, and the HHT Hilbert-Huang transform algorithm to complete the processing of the infrasound reflection signal and obtain the processed infrasound reflection signal; and using Script Nodes in LabVIEW to call the signal processing algorithm, calculating the dynamic fluid level height of the oil well based on the processed infrasound reflection signal to obtain the dynamic fluid level data curve of the oil well, which is used to display in the user interface of the acoustic signal acquisition program.
[0041] In some embodiments of this application, an electronic device is also provided, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which executes the aforementioned portable oil and gas well fluid level monitoring method. Its internal structure diagram can be shown as follows. Figure 11 As shown. Figure 11The diagram schematically illustrates the internal structure of an electronic device according to an embodiment of this application. The electronic device includes a processor A01, a network interface A02, a memory (not shown), and a database (not shown) connected via a system bus. The processor A01 provides computational and control capabilities. The memory includes internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02, and a database (not shown). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 stored in the non-volatile storage medium A04. The network interface A02 is used for communication with external terminals via a network connection. When the computer program B02 is executed by the processor A01, it implements a portable oil and gas well fluid level monitoring method.
[0042] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0043] In one embodiment provided in this application, a machine-readable storage medium is provided, on which instructions are stored, which, when executed by a processor, cause the processor to be configured to perform the aforementioned portable oil and gas well fluid level monitoring method.
[0044] In one embodiment provided in this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the aforementioned portable oil and gas well fluid level monitoring method.
[0045] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0046] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0047] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0048] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0049] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0050] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0051] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0052] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0053] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A portable oil and gas well fluid level monitoring system, characterized in that, The system includes: a virtual instrument platform and a portable data acquisition device; The virtual instrument platform is equipped with a LabVIEW-based program for acquiring and controlling pressure signals, a program for controlling the sound-generating device, and a program for acquiring sound wave signals. The portable data acquisition device includes: a USB data acquisition card, a pressure transmitter, a sound module, and a microphone; In response to the user's operation based on the pressure signal acquisition and control program, the USB data acquisition card acquires the pressure information of the normally closed solenoid valve inlet in the sound generation module through the pressure transmitter, and generates a pressure ready signal when the pressure information reaches the preset pressure. In response to user operation based on the sound-generating device control program, the USB data acquisition card, upon a valid pressure-ready signal, controls the sound-generating module to generate infrasound; and In response to user operations based on the acoustic signal acquisition program, the USB data acquisition card acquires the infrasound reflection signal received by the microphone, processes the infrasound reflection signal through a MATLAB-based signal processing program, and then displays it in the user interface of the acoustic signal acquisition program.
2. The system according to claim 1, characterized in that, The sound-generating module includes: a miniature DC air pump, a normally closed solenoid valve, and a nitrogen tank. The miniature DC air pump is connected to the nitrogen tank via a pipe, and the normally closed solenoid valve is connected to the nitrogen tank via a pipe. In response to user operations based on the pressure signal acquisition and control program, the USB data acquisition card acquires pressure information at the inlet of the normally closed solenoid valve within the sound-generating module via the pressure transmitter, including: The micro DC air pump is switched on according to the instructions of the USB data acquisition card to pressurize the nitrogen tank, and the pressure information at the inlet of the normally closed solenoid valve connected to the nitrogen tank is collected by the pressure transmitter.
3. The system according to claim 2, characterized in that, Controlling the sound-generating module to generate infrasound includes: When the pressure ready signal is valid, the normally closed solenoid valve is opened, and infrasound is generated using the nitrogen tank as the infrasound gas source.
4. The system according to claim 1, characterized in that, The system also includes a signal amplifier module, which is used to amplify the infrasound reflection signal to obtain an amplified signal; The signal amplifier module includes a CLC1200 and its peripheral circuitry.
5. The system according to claim 4, characterized in that, The system also includes a low-pass filter module, which is used to filter the amplified signal. The signal amplifier module includes a MAX7400 and its peripheral circuitry.
6. The system according to claim 1, characterized in that, The infrasound reflection signal is processed by a MATLAB-based signal processing program, including: Using MATLAB software, programs were developed to integrate the Empirical Mode Decomposition (EEMD) algorithm, the Fast Fourier Transform (FFT) algorithm, and the Hilbert-Huang Transform (HHT) algorithm to process the infrasound reflection signal and obtain the processed infrasound reflection signal; and The signal processing algorithm is invoked using Script Nodes in LabVIEW to calculate the dynamic fluid level height of the oil well based on the processed infrasound reflection signal, resulting in an oil well dynamic fluid level data curve. This oil well dynamic fluid level data curve is then displayed in the user interface of the acoustic signal acquisition program.
7. The system according to claim 1, characterized in that, The virtual instrument platform is also equipped with a sound-generating module and a data acquisition device control interface, which includes: a data channel setting plugin, a normally closed solenoid valve status plugin, a miniature DC air pump status plugin, a measurement button, a reset button, and a pressure acquisition and data display plugin.
8. The system according to claim 1, characterized in that, The virtual instrument platform is also equipped with a microphone acoustic signal data acquisition interface, which includes: channel setting plugin, timing setting plugin, recording setting plugin, trigger setting plugin, and acoustic wave acquisition data plugin.
9. A portable method for monitoring fluid levels in oil and gas wells, characterized in that, The method, implemented based on the portable oil and gas well fluid level monitoring system according to any one of claims 1 to 8, comprises: The portable oil and gas well fluid level monitoring system is set up and activated at the wellhead location of the oil and gas well to be tested; The nitrogen tank is pressurized to the preset pressure through the operation of the pressure signal acquisition and control program based on LabVIEW; The nitrogen tank is depressurized by operating the LABVIEW-based sound-generating device control program, and infrasound is generated using the nitrogen tank as an infrasound gas source. The infrasound reflection signal is received by the operation in the LabVIEW-based acoustic signal acquisition program, which is formed by the reflection of the infrasound by the liquid surface of the oil and gas well under test. The liquid level position of the oil and gas well under test is monitored based on the infrasound reflection signal.
10. The method according to claim 9, characterized in that, After receiving the infrasonic wave reflection signal formed by the reflection of the infrasonic wave from the liquid surface of the oil and gas well under test, the method further includes processing the infrasonic wave reflection signal using a MATLAB-based signal processing program: Using MATLAB software, programs were developed to integrate the Empirical Mode Decomposition (EEMD) algorithm, the Fast Fourier Transform (FFT) algorithm, and the Hilbert-Huang Transform (HHT) algorithm to process the infrasound reflection signal and obtain the processed infrasound reflection signal; and The signal processing algorithm is invoked using Script Nodes in LabVIEW to calculate the dynamic fluid level height of the oil well based on the processed infrasound reflection signal, resulting in an oil well dynamic fluid level data curve. This oil well dynamic fluid level data curve is then displayed in the user interface of the acoustic signal acquisition program.
11. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the portable oil and gas well fluid level monitoring method as described in claim 9 or 10.
12. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the portable oil and gas well fluid level monitoring method of claim 9 or 10.