A flange-type oil wellhead multi-parameter measuring instrument and measuring method

By combining the flange-type oil production wellhead multi-parameter measuring instrument with the waveguide resonance method and CNC phase-shifting technology, real-time multi-parameter measurement at the oil wellhead is realized, which solves the problems of low measurement accuracy and high cost in the existing technology and improves the measurement accuracy. and production management efficiency.

CN111075427BActive Publication Date: 2024-09-13SHAANXI YONGKAI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN201911056778.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-31
Publication Date
2024-09-13
Estimated Expiration
2039-10-31

AI Technical Summary

Technical Problem

The existing multi-parameter measurement technology at the oil well head is high in cost and low in accuracy, and cannot achieve real-time, full-scale measurement of water content, temperature and pressure, resulting in low production management efficiency and high costs.

Method used

Using a flange-type oil wellhead multi-parameter measuring instrument, a variety of sensors are installed through the sensor cavity shield composed of stainless steel tubes and flanges, combined with the waveguide resonance method and CNC phase-shifting technology to achieve real-time data on water content, temperature and pressure. collection and precise measurements.

Benefits of technology

It realizes the full range measurement of water content from 0% to 100%, reduces production costs, reduces manual sampling and testing costs, improves measurement accuracy and oil well management efficiency, and avoids safety hazards and errors in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111075427B
    Figure CN111075427B
Patent Text Reader

Abstract

The present invention relates to the technical field of dynamic testing of oil wells in the petroleum industry, and in particular to a flange-type wellhead multi-parameter measuring instrument and measuring method for oil production wells. The mounting structure comprises a stainless steel pipe at the bottom, flanges are included on both sides of the stainless steel pipe, a sensor cavity shield is installed on the stainless steel pipe, the sensor cavity shield and the stainless steel pipe are connected in an integrated manner, more than one sensor is installed in the sensor cavity shield, and the series of sensors are communicatively connected to the instrument header above; this patent can simultaneously realize the accurate measurement of the water content, temperature, and pressure of crude oil in a single well and remote transmission of data. It solves the current problems of poor water content measurement accuracy, temperature sensor not installed, and pressure sensor unable to be remotely transmitted, provides reliable data for crude oil production, reduces production costs and the labor intensity of on-site employees, and improves the digital management level of intelligent oil fields.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil well dynamic testing in the petroleum industry, and in particular to a flange-type oil wellhead multi-parameter measuring instrument and a measuring method. Background Art

[0002] Existing oil wellhead multi-parameter measurement technology (mainly independent sensors):

[0003] At present, there are no measuring instruments in China that can simultaneously test the water content, temperature and pressure at the wellhead of oil production wells. Independent sensors are mainly used for measurement. The existing technology leads to high production costs and complicated on-site process flows, which is not conducive to production management.

[0004] Water content measurement: generally divided into two types, namely manual measurement method and online measurement method. Most of them adopt the manual sampling measurement method, which is divided into distillation method, electro-desorption method, etc. according to different oil-water separation methods; a small part adopts online measurement method, mainly density method, short-wave absorption method, high-energy ray method, capacitance method, etc. The density method is to determine the density value of water-containing crude oil, and then calculate the water content according to the density of pure oil and pure water. The short-wave absorption method is to radiate electrical energy into the oil-water medium in the form of electromagnetic waves, and detect the water content in the oil-water mixture according to the different short-wave absorption capacity of oil and water. The principle of the high-energy ray method is to use a penetrating structure to measure the water content based on the difference in the absorption capacity of oil and water to high-energy ray energy. The principle of the capacitance method is to measure the capacitance value of the cylindrical capacitor placed in the oil-water mixture, and then obtain the dielectric constant of the oil-water mixture, so as to calculate the water content.

[0005] In terms of temperature measurement, due to production cost constraints, major oil fields have not yet installed temperature measurement sensors at the wellhead.

[0006] In terms of pressure measurement, due to production cost constraints, major oil fields have not yet installed pressure transmitters at the wellheads. Instead, they have installed mechanical spring pressure gauges, and the data cannot be transmitted remotely.

[0007] Disadvantages of existing technology:

[0008] In terms of water content measurement, the sampling time of the manual measurement method is long, the labor intensity is high and there are certain safety hazards. It is impossible to measure in real time, the sampling is relatively random, and it cannot meet the production needs of smart oil fields. For online measurement instruments, the density method has a large measurement error, and there are certain safety hazards in the application of the high-energy ray method. The short-wave absorption method and the capacitance method are only suitable for monitoring low-water oil, and they cannot achieve accurate measurement of the entire range and do not have the ability of online compensation and calibration. The mineralization has a great impact on the instrument measurement. At the same time, there is currently no good measurement method for monitoring gas wells.

[0009] In terms of temperature measurement, major oil fields have not yet installed any monitoring equipment, making it difficult to grasp the wax deposition situation at the wellhead, unable to track the wax deposition pattern of the oil wells, and unable to evaluate the effect of hot washing of the oil wells.

[0010] In terms of pressure measurement, a mechanical spring pressure gauge is used, which has a large measurement error. In the low temperature environment of winter, there is frequent freezing and blocking, and the failure rate is high, which seriously affects normal production management and greatly increases operating costs. At the same time, data cannot be transmitted remotely, and the law of pressure changes in a single well cannot be understood.

[0011] It can be seen that there is a lack of a low-cost, high-quality, multi-functional, and high-precision oilfield wellhead multi-parameter measurement instrument.

[0012] Existing crude oil property measurement technology:

[0013] At present, there is no measurement system in China that can simultaneously test the water content, mineralization, temperature and pressure at the wellhead of an oil well. The temperature and pressure are mainly measured by independent sensors, while the water content and mineralization mainly rely on traditional manual sampling and testing.

[0014] Disadvantages of existing technology:

[0015] Water content and mineralization are mainly measured by manpower, which results in low test efficiency and high test cost. Especially for mineralization test, expensive chemical reagents are required. Based on an oil field with 50,000 oil wells, the annual cost of water content and mineralization test (including labor cost of 110 million yuan, transportation cost of 50 million yuan, test cost of 20 million yuan and hazardous waste treatment cost of 2.6 million yuan) is as high as 180 million yuan.

[0016] Temperature transmitters and pressure transmitters are installed independently, which has a high installation cost. The on-site process flow involves multiple hot work operations, which makes the process flow complicated. Based on an oil field with 50,000 oil wells, the cost of installing all pressure transmitters and temperature transmitters would be as high as 200 million yuan.

[0017] If various measurement methods and instruments are not effectively integrated and cannot be calibrated and compensated for each other, certain errors will occur in test measurement. At the same time, the maintenance cost is also relatively high. Based on an oil field with 50,000 oil wells, the annual maintenance cost is as high as 10 million yuan.

[0018] The existing technology leads to low work efficiency, high production costs, complicated on-site process flow, and is not conducive to production management.

[0019] It can be seen that there is a lack of a crude oil property measurement system that is low-cost, good quality, multi-functional, and has high measurement accuracy over the entire range.

[0020] Through the application of novelty search, there is currently no such patent. Summary of the invention

[0021] Purpose of the invention: To provide a flange-type oil wellhead multi-parameter measuring instrument and measuring method with better effect. The specific purpose can be seen in the multiple substantial technical effects of the specific implementation part.

[0022] In order to achieve the above purpose, the present invention adopts the following technical solutions:

[0023] Option 1:

[0024] A flange-type multi-parameter measuring instrument for an oil wellhead, characterized in that the mounting structure comprises a stainless steel tube 2 at the bottom, flanges 1 at both sides of the stainless steel tube 2, a sensor cavity shield 4 is mounted on the stainless steel tube, the sensor cavity shield 4 and the stainless steel tube 2 are integrally connected, more than one sensor is mounted in the sensor cavity shield 4, and the series of sensors are communicatively connected to an instrument head 5 at the top; the output link of the sensor cavity shield 4 is connected to a vertical shaft with an external thread, the instrument head 5 is mounted on the vertical shaft with an external thread, and the circuits of more than one sensor pass through the hollow part of the vertical threaded shaft to connect to a circuit board 6 in the head.

[0025] A further technical solution of the present invention is that the sensor is a sensor module, and the sensor module includes one or more of the following modules: a pressure sensor 9, a temperature sensor 10, and a water monitoring waveguide sensing module; the water monitoring waveguide sensing module includes a water detection module 7 and a waveguide resonant cavity, and the water detection module 7 is connected to the waveguide resonant cavity by a radio frequency line, and together they constitute a water monitoring waveguide sensing module.

[0026] A further technical solution of the present invention is that the flange 1 and the stainless steel pipe 2 together constitute an auxiliary unit; the stainless steel pipe 2 and the transmission line 12 together constitute a waveguide resonant cavity; the sensor cavity shield 4, the water content monitoring waveguide sensor module, the pressure sensor 9, and the temperature sensor 10 together constitute a measuring cavity; the instrument head 5 constitutes a circuit control processing unit; the transmission line bracket 3 and the transmission line bracket 11 are connected to the stainless steel pipe 2 through threads; the transmission line 12 passes through the transmission line bracket 3 and the transmission line bracket 11 from the center, and the transmission line 12 is filled with high-pressure sealant 8 inside the transmission line periphery in the transmission line bracket 3 and the transmission line bracket 11; the pressure sensor 9 and the stainless steel pipe 2 are connected by threads to measure the pressure in the pipeline; the temperature sensor 10 and the stainless steel pipe 2 are surface-mounted and bonded to measure the temperature in the pipeline; the circuit board 6 is installed in the instrument head 5; the water content detection module 7, the pressure sensor 9, and the temperature sensor 10 are connected to the circuit board 6 by wires and signal lines; the transmission line 12 is made of a metal conductor plated with a high-frequency insulating material, and the insulating material can stably transmit electromagnetic waves but is highly insulated.

[0027] A further technical solution of the present invention is that the circuit board is also communicatively connected to the display screen E2, the serial port module MODBUSE3, the peripheral power supply circuit E4, and the key combination E7; the circuit board includes a main control module E8; the peripheral power supply circuit E4 is used to power the entire circuit board; the serial port module MODBUSE3 is connected to the main control module E8 through a UART interface to realize communication with the host computer; the display screen E2 is connected to the main control module E8 through a bus interface to display the actual measured values ​​of water content, temperature, and pressure; the key combination E7 is connected to the main control module E8 through an IO interface to set instrument parameters; the water content detection module E1 is connected to the A / D interface of the main control module E8 through a wire to measure the water content; the pressure sensor module E5 is connected to the A / D interface of the main control module E8 through a wire to measure the wellhead pressure; the temperature sensor module E6 is connected to the A / D interface of the main control module E8 through a wire to measure the oil temperature and compensate for the water content.

[0028] A further technical solution of the present invention is that the flange is installed in the following pipeline, which is a horizontal pipeline. The left side of the horizontal pipeline is connected to the oil well pipeline, and the horizontal pipeline includes an oil pressure gate C1. The right side of the horizontal pipeline is connected to the vertical pipeline. The position where the horizontal pipeline and the vertical pipeline are connected includes a vent gate C2, and the vertical pipeline includes a back pressure gate C3.

[0029] A flange-type oil wellhead multi-parameter measuring instrument measurement method, characterized in that, using any of the above-described measuring instruments, including a water content measurement step, a programmable oscillator D1 emits a constant frequency electromagnetic wave, passes through a coupler D2, wherein the high-power high-frequency signal at the direct output end enters one end of the waveguide resonant cavity D5 where the oil-water mixture 13 flows through the radio frequency transmission line D3, and then enters the phase difference detector D4 from the other end of the waveguide resonant cavity D5 through the radio frequency transmission line; wherein the low-power high-frequency signal at the coupled output end directly enters the digital control phase shifter D6, and then enters the phase difference detector D4. Due to the large difference in dielectric constant of the oil-water mixture, the above two signals present different phase differences as the water content changes. In order to further improve the water content measurement accuracy, the digital control phase shifter D6 can modulate the phase difference of the two signals to the optimal detection state of 0-180 degrees or 180-0 degrees, and then detect it through the phase difference detector D4, and output it to the main control circuit board 6 as a voltage signal, thereby obtaining the water content.

[0030] A further technical solution of the present invention is that, in the power supply mode of the multi-parameter instrument, it is necessary to calibrate the parameters related to the water content measurement, at room temperature, in air (pure oil), record the phase difference P(1) when the water content is 0%, in a mixed liquid containing 10% water, record the phase difference P(2) when the water content is 10%, in a mixed liquid containing 20% ​​water, record the phase difference P(3) when the water content is 20%, and so on, record the phase difference P(11) when the water content is 100%; further, numerical simulation is used to realize the functional relationship between the phase difference and the water content: HS=F{P(i)}, which is used as the initial calibration function of the water content of the parameter instrument;

[0031] At the same time, the same method is used to obtain the functional relationship between the phase difference and water content under different temperature, pressure and gas content conditions:

[0032] HS = F(t, b, a) {P(i)}, which serves as the final calibration function of the moisture content of the parameter instrument.

[0033] A further technical solution of the present invention is that it also includes a pressure measurement step and a temperature measurement step before the water content measurement step. In the pressure measurement step, the oil contacts the sensing diaphragm B3 through the high-pressure connector B2, causing the sensing diaphragm B3 to undergo elastic deformation. The evaluation circuit B4 monitors the voltage change caused by the deformation, and after processing, outputs the pressure signal through the electrical interface B5.

[0034] Temperature measurement steps: After the circuit board supplies power to the positive power supply V+A1 and the negative power supply GNDA3 of the temperature sensor, the power supply voltage is 5V, and the signal output terminal OUTA2 stably outputs a 0-5V signal, corresponding to a temperature measurement range of -50℃-150℃, and no calibration is required.

[0035] The present invention adopting the above technical solution has the following beneficial effects compared with the prior art: Safety and environmental protection: avoiding direct contact between employees and toxic and harmful gases such as crude oil and hydrogen sulfide, and reducing the treatment and discharge of sampled waste oil (taking 50,000 wells as an example, the annual discharge is reduced by about 3,000 cubic meters);

[0036] In terms of production costs: taking a production unit with 50,000 wells as an example, the annual labor cost savings is 110 million yuan, and the cost of laboratory instruments and materials is 55 million yuan; compared with the installation of independent sensors, the cost savings are about 100 million yuan.

[0037] Technological innovation:

[0038] (1) The multi-sensor fusion method can realize the real-time collection of water content, temperature, and pressure data, and can promptly detect abnormal fluctuations in water content, shortening the time for discovering abnormal water content by 10-20 days compared with the traditional operation method. At the same time, it can effectively monitor the wax deposition pattern of oil wells and the effect of thermal washing, greatly improving the efficiency of dynamic reservoir management and control.

[0039] (2) The water content measurement adopts advanced technologies such as waveguide resonance method and CNC phase shifting, which realizes the full range measurement of water content from 0% to 100%, effectively solving the influence of factors such as oil-in-water, water-in-oil, mineralization, and gas content on water content measurement, and the measurement accuracy is improved to ±3%. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to further illustrate the present invention, the following is further described in conjunction with the accompanying drawings:

[0041] Figure 1 It is a schematic diagram of the structure of the present invention;

[0042] Figure 2 Schematic diagram of the internal structure of the pressure sensor;

[0043] Figure 3 This is a schematic diagram of the water monitoring waveguide sensor module;

[0044] Figure 4 Schematic diagram of the temperature sensor structure;

[0045] Figure 5 It is the connection diagram of the whole module;

[0046] Figure 6 A schematic diagram of the location for installation of this patent;

[0047] Figure 7 This is the main interface implementation diagram for this patent measurement;

[0048] Figure 8 A schematic diagram of the interface for patented oil well information maintenance;

[0049] Fig. 9 A schematic diagram of an implementation scheme for an independent scheme;

[0050] Fig.10 The effect of wax deposition on moisture content;

[0051] Fig.11 The influence of mineralization;

[0052] Among them: 1, flange, 2, stainless steel pipe, 3, transmission line bracket, 4, sensor cavity cover, 5, instrument head, 6, circuit board, 7, water detection module, 8, high-pressure sealant, 9, pressure sensor, 10, temperature sensor, 11, transmission line bracket, 12, transmission line, 13, oil-water mixture; B1, fixed thread, B2, high-voltage connector, B3, sensor diaphragm, B4, evaluation circuit, B5, electrical interface; D1, programmable oscillator, D2, coupler, D3, RF transmission line, D4, phase difference detector, D5, waveguide resonant cavity, D6, CNC phase shifter; A1, V+, A2, OUT, A3, GND; E1, water detection module, E2, display screen, E3, serial port module MODBUS, E4, peripheral power supply circuit, E5, pressure sensor module, E6, temperature sensor module, E7, key combination, E8, main control module; C1, oil pressure gate, C2, back pressure gate, C3, vent gate; X1-programmable oscillator, X2-multi-channel signal distributor, X3-amplitude difference detector, X4-main control circuit board, X5-coupler, X6-CNC phase shifter, X7-phase difference detector, X8-water-containing waveguide transmission line bracket one, X9-mineralization waveguide transmission line bracket one, X10-mineralization waveguide transmission line bracket two, X11-water-containing waveguide transmission line bracket two, X12-pressure sensor, X13-temperature sensor, X14-metal shell, X15-dual waveguide resonant cavity, X16-oil-water mixture, X17-water-containing waveguide transmission line, X18-mineralization waveguide transmission line. DETAILED DESCRIPTION

[0053] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. In the description of the present invention, it should be noted that the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", "top", "bottom", etc. is based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific circumstances.

[0054] This patent provides a variety of parallel solutions, and the different expressions are improved solutions or parallel solutions based on the basic solution. Each solution has its own unique characteristics.

[0055] Embodiment 1, combined with Figure 1 ;

[0056] The installation structure includes a stainless steel tube 2 at the bottom, flanges 1 on both sides of the stainless steel tube 2, a sensor cavity shield 4 is installed on the stainless steel tube, the sensor cavity shield 4 and the stainless steel tube 2 are connected by integration, one or more sensors are installed in the sensor cavity shield 4, and the series of sensors are communicatively connected to the instrument head 5 above; the output link of the sensor cavity shield 4 is connected to a vertical shaft with external threads, and the instrument head 5 is installed on the vertical shaft with external threads, and the lines of one or more sensors pass through the hollow part of the vertical threaded shaft to connect to the circuit board 6 in the head.

[0057] The substantial technical effects of the technical solution herein and its implementation process are as follows: This patent provides a specific installation structure, provides a basic structural basis for multi-sensor integrated writing, and provides a physical basis for the intelligent integration of various groups of information.

[0058] Embodiment 2, as a further improved solution or parallel solution, the principle of this measuring instrument is to use a multi-sensor fusion method to effectively integrate the moisture content, temperature, and pressure sensing units. It should be noted that the types of indicators measured in this paragraph are relatively independent and can be flexibly combined. The determination of each indicator is independent of each other and does not affect each other. The following is a preferred description of the three groups of important units below.

[0059] The measuring chamber mainly consists of three important units:

[0060] The first is the temperature sensing unit, which adopts non-contact measurement method and is implemented using a high-precision integrated temperature chip. The measurement working voltage is 4 to 30V, the measurement range is -50℃-150℃, the accuracy is ±1%, and no calibration is required.

[0061] The second is the pressure sensing unit, which uses diffused silicon. The pressure of the measured medium directly acts on the diaphragm of the sensor (stainless steel or ceramic), causing the diaphragm to produce a micro-displacement proportional to the medium pressure, causing the resistance value of the sensor to change. The electronic circuit then detects this change and converts it into a standard measurement signal corresponding to this pressure. The power supply voltage is 3.3V, the output is 0.5-2.5V, the corresponding range is 0-6MPa, and the accuracy is ±0.5%.

[0062] The third is the water content sensing unit, which uses the principle of waveguide resonance phase method. Due to the difference in dielectric constants of crude oils with different water contents (at room temperature, oil is 2.3 and water is 81), when the electromagnetic wave signal is emitted to the waveguide resonant cavity with oil-water mixture as the medium, different degrees of phase shift will be produced as the oil-water ratio changes. After being modulated by the CNC phase shifter, the phase change value is finally detected by the phase difference detector, and then a piecewise linear interpolation function is constructed by the normalized measurement value and the oil-water sample value, ultimately achieving the purpose of measuring the water content of crude oil.

[0063] The circuit control processing unit is mainly implemented by an embedded system. It collects and processes the signals of the water monitoring waveguide sensor module, pressure sensor and temperature sensor, and finally obtains the wellhead pressure, temperature and water content of the oil well.

[0064] The auxiliary unit is mainly the instrument body, which is a flange structure.

[0065] Beneficial effects: Safety and environmental protection: avoid direct contact between employees and toxic and harmful gases such as crude oil and hydrogen sulfide, and reduce the treatment and discharge of sampled dirty oil (taking 50,000 wells as an example, the annual discharge is reduced by about 3,000 cubic meters); production cost: taking a 50,000-well production unit as an example, the annual labor cost is saved by 110 million yuan, and the cost of laboratory instruments and materials is 55 million yuan; compared with the installation of independent sensors, the cost is saved by about 100 million yuan. Technological innovation: multi-sensor fusion mode can realize the real-time collection of water content, temperature, and pressure data, and can timely detect abnormal fluctuations in water content, shortening the abnormal water content discovery time by 0-20 days compared with the traditional operation mode. At the same time, it can effectively monitor the wax formation law of oil wells and the effect of thermal washing, greatly improving the dynamic management efficiency of oil reservoirs. Water content measurement adopts advanced technologies such as waveguide resonant phase method and CNC phase shifting to achieve full-scale measurement of water content from 0% to 100%, effectively solving the influence of factors such as oil-in-water, water-in-oil, mineralization, and gas content on water content measurement, and the measurement accuracy is improved to ±3%.

[0066] Embodiment 3, as a further improved solution or parallel solution, this embodiment further preferably provides a specific implementation structure, and similar implementation structures are within the protection scope of this patent; Figure 1 As shown:

[0067] (1) The flange 1 and the stainless steel pipe 2 together constitute an auxiliary unit;

[0068] (2) The stainless steel tube 2 and the transmission line 12 together form a waveguide resonant cavity;

[0069] (3) The transmission line bracket 3 and the transmission line bracket 11 are connected to the water detection module 7 using a radio frequency line to form a water detection waveguide sensor module to detect the water content in the crude oil;

[0070] (6) The sensor cavity shield 4, the water monitoring waveguide sensor module, the pressure sensor 10, and the temperature sensor 11 together constitute a measurement cavity;

[0071] (7) The instrument header 5 constitutes a circuit control processing unit;

[0072] (8) The transmission line bracket 3 and the transmission line bracket 11 are connected to the stainless steel pipe 2 through threads;

[0073] (9) The transmission line 12 passes through the transmission line bracket 3 and the transmission line bracket 11 from the center, and the interior is filled with high-pressure sealant 8;

[0074] (10) The pressure sensor 9 is threadedly connected to the stainless steel pipe 2 to measure the pressure in the pipeline;

[0075] (11) The temperature sensor 10 is surface-mounted to the stainless steel pipe 2 to measure the temperature inside the pipeline;

[0076] (13) The water detection module 7, the pressure sensor 9, and the temperature sensor 10 are connected to the circuit board 6 by wires;

[0077] (14) The transmission line 12 is made of a metal conductor coated with a high-frequency insulating material, which can stably transmit electromagnetic waves but has a high degree of insulation.

[0078] The pressure sensor consists of fixed threads, high-pressure connectors, sensing diaphragms, evaluation circuits, and electrical interfaces;

[0079] The temperature sensor is composed of an integrated chip, the V+ pin is the positive power supply, the OUT pin is the signal output, and the GND pin is the ground;

[0080] like Figure 3 Shown: Water monitoring waveguide sensor module

[0081] (1) The transmission line and the stainless steel tube form a waveguide resonant cavity;

[0082] (2) A programmable oscillator, a coupler, a digitally controlled phase shifter, a phase difference detector, and a waveguide resonant cavity together constitute a water detection waveguide sensing module;

[0083] like Figure 5 As shown: the circuit board consists of a display screen, a serial port module MODBUS, a peripheral power supply circuit, a key combination, and a main control module; the water detection module, the pressure sensor, and the temperature sensor are connected to the circuit board through wires.

[0084] Embodiment 4, as a further improved solution or parallel solution, the following further describes the measurement process from various principles; it is also the preferred implementation method and implementation structure of this patent; measurement process: refer to Figure 1A flange-type oil well wellhead multi-parameter measuring instrument mainly includes a flange 1, a stainless steel pipe 2, a transmission line bracket 3, a sensor cavity shield 4, an instrument head 5, a circuit board 6, a water detection module 7, a high-pressure sealant 8, a pressure sensor 9, a temperature sensor 10, a transmission line bracket 11, a transmission line 12, and an oil-water mixture 13.

[0085] The temperature sensor 10 is implemented using a high-precision integrated temperature chip and adopts a non-contact measurement method.

[0086] The pressure sensor 9 adopts the diffused silicon method. The pressure of the measured medium directly acts on the diaphragm of the sensor (stainless steel or ceramic), causing the diaphragm to produce a micro-displacement proportional to the medium pressure, causing the resistance value of the sensor to change. The electronic circuit then detects this change and converts it into a standard measurement signal corresponding to this pressure.

[0087] The water content monitoring waveguide sensing module is composed of a water content detection module and a waveguide resonant cavity, wherein the transmission line 12 and the stainless steel pipe 2 together constitute the waveguide resonant cavity.

[0088] refer to Figure 2 , pressure measurement steps, the oil contacts the sensing diaphragm B3 through the high-pressure connector B2, causing the sensing diaphragm B3 to undergo elastic deformation. The evaluation circuit B4 monitors the voltage change caused by the deformation, and after processing, outputs the pressure signal through the electrical interface B5.

[0089] refer to Figure 4 , temperature measurement steps, when the circuit board 6 supplies power to the positive power supply V+ and the negative power supply GND of the temperature sensor 10, the power supply voltage is 5V, and the signal output terminal OUT stably outputs a 0-5V signal, corresponding to a temperature measurement range of -50℃-150℃, and no calibration is required.

[0090] refer to Figure 3 , moisture content measurement steps,

[0091] The programmable oscillator D1 emits a constant frequency electromagnetic wave, which passes through the coupler D2. The high-power high-frequency signal at the direct output end enters one end of the waveguide resonant cavity D5 through the RF transmission line D3, and then enters the phase difference detector D4 from the other end of the waveguide resonant cavity D5 through the RF transmission line; the low-power high-frequency signal at the coupled output end directly enters the digital phase shifter D6, and then enters the phase difference detector D4. Due to the large difference in the dielectric constant of the oil-water mixture, the above two signals show different phase differences as the water content changes. In order to further improve the accuracy of water content measurement, the digital phase shifter D6 can modulate the phase difference of the two signals to the optimal detection state of 0-180 degrees or 180-0 degrees, and then detect it through the phase difference detector D4, and output it to the main control circuit board 6 as a voltage signal, so as to obtain the water content.

[0092] Embodiment 5, as a further improved solution or parallel solution, further, the transmission line 12 is made of a metal conductor coated with a high-frequency insulating material, which can stably transmit electromagnetic waves, but is highly insulated, and can avoid the influence of mineralization on water content measurement. The design here can effectively serve the basic determination of this patent.

[0093] Furthermore, the internal structure of the waveguide resonant cavity is simple and transparent, and wax and dirt are not easily accumulated, which effectively improves the accuracy of water content measurement.

[0094] refer to Figure 5 The circuit board of the present invention mainly comprises a display screen E2, a serial port module MODBUSE3, a peripheral power supply circuit E4, and a key combination E7; the circuit board comprises a main control module E8; the peripheral power supply circuit E4 is used to supply power to the entire circuit board; the serial port module MODBUSE3 is connected to the main control module E8 through a UART interface to realize communication with a host computer; the display screen E2 is connected to the main control module E8 through a bus interface to display the measured values ​​of water content, temperature, and pressure; the key combination E7 is connected to the main control module E8 through an IO interface to set instrument parameters; the water content detection module E1 is connected to the A / D interface of the main control module E8 through a wire to measure the water content; the pressure sensing module E5 is connected to the A / D interface of the main control module E8 through a wire to measure the wellhead pressure; the temperature sensing module E6 is connected to the A / D interface of the main control module E8 through a wire to measure the oil temperature and compensate for the water content.

[0095] Example 6, as a further improved solution or parallel solution, in addition to the above basic physical connection, etc., this embodiment provides detailed data processing methods, which can scientifically obtain the final data required by this patent. Data calculation and processing process:

[0096] The present invention also provides a method for measuring temperature, pressure and water content of a multi-parameter measuring instrument at the wellhead of an oil well, comprising the following steps:

[0097] First, in the power supply mode of the multi-parameter instrument, it is necessary to calibrate the parameters related to water content measurement. At room temperature, in air (pure oil), record the phase difference P(1) when the water content is 0%. In a mixed liquid with 10% water, record the phase difference P(2) when the water content is 10%. In a mixed liquid with 20% water, record the phase difference P(3) when the water content is 20%. And so on, record the phase difference P(11) when the water content is 100%.

[0098] Furthermore, numerical simulation is used to realize the functional relationship between phase difference and water content: HS = F{P(i)}, which is used as the initial calibration function of the water content of the parameter instrument;

[0099] At the same time, the same method is used to obtain the functional relationship between the phase difference and water content under different temperature, pressure and gas content conditions:

[0100] HS = F(t, b, a) {P(i)}, which serves as the final calibration function of the moisture content of the parameter instrument.

[0101] Installation and use:

[0102] refer to Figure 6 , the schematic diagram of the field installation of the flange-type wellhead multi-parameter measuring instrument of the present invention. The multi-parameter measuring instrument is installed on the wellhead oil flow line, and the installation can be completed by welding two flanges on the parallel section of the Christmas tree, that is, the horizontal pipeline. When installing, the pumping unit is stopped, the oil pressure gate and the back pressure gate are turned off, and the venting gate is opened. The installation can be carried out after venting.

[0103] Innovatively, each of the above effects exists independently, and a set of structures can be used to combine the above results.

[0104] The technical effect achieved by the above structure is clear. If no additional technical solutions are considered, the patent name can also be a new type of well logging installation structure. Some details are not shown in the figure.

[0105] It should be noted that the multiple solutions provided by this patent include the basic solution itself, which are independent of each other and do not restrict each other, but they can also be combined with each other without conflict to achieve multiple effects together.

[0106] Embodiment 7, as a further improved scheme or parallel scheme, as a non-essential expansion: This part mainly refers to the last three figures; the other figures are omitted. This patent also has an accompanying terminal operation method. This method is preferred: It should be noted that in this embodiment, the determination of mineralization and water content can enable two independent systems, which can be implemented separately.

[0107] Complete the continuous online measurement of the water content, temperature, and pressure of the wellhead crude oil. The wellhead multi-parameter measurement mainly uses the electromagnetic wave method. A handshake mechanism is established between the crude oil wellhead multi-parameter measuring instrument and the crude oil wellhead multi-parameter measuring instrument system. The water content curve data, pressure data, temperature data, and measurement time are encapsulated and sent out using the MODBUS protocol, and the data is transmitted back to the crude oil wellhead multi-parameter measuring instrument system in real time. The software can also complete the storage, analysis, processing, and playback of measurement data.

[0108] An independent preferred embodiment is provided below, which can be combined with all the above solutions.

[0109] 1. A multi-sensor fusion measurement system for measuring water content and / or mineralization, characterized in that the output of a programmable oscillator X1 is connected to a multi-channel signal distributor X2, the multi-channel signal distributor X2 is communicatively connected to a coupler X5, the coupler X5 is communicatively connected to a numerically controlled phase shifter X6, and the numerically controlled phase shifter X6 is communicatively connected to a phase difference detector X7;

[0110] The output of the programmable oscillator X1 is connected to the multi-channel signal distributor X2 to generate multiple high-frequency signals with the same frequency, amplitude and phase;

[0111] First, one of the high-frequency signals is taken to enter the coupler X5, and two signals are output. The signal with larger power directly enters one end of the water-containing waveguide transmission line X17 of the dual-waveguide resonant cavity X15, and the other end is output to the phase difference detector X7. The signal with smaller power directly passes through the digitally controlled phase shifter X6 and then enters the phase difference detector X7. The moisture content is obtained by measuring the phase difference of the two signals, which is the moisture content determination part; the moisture content determination part can be realized separately.

[0112] Secondly, two high-frequency signals are taken, one of which directly enters from one end of the mineralization waveguide transmission line X18 of the dual waveguide resonant cavity X15, and the other end is output to the amplitude difference detector X3, and the other high-frequency signal of the two high-frequency signals directly enters the amplitude difference detector X3, and the mineralization is obtained by measuring the amplitude difference of the two signals, which is the mineralization determination part. The mineralization determination part can also be realized separately.

[0113] Embodiment 8, as a further improved scheme or parallel scheme, the water content determination part and the mineralization determination part constitute a double waveguide resonant cavity X15, the double waveguide resonant cavity X15 comprises a metal shell X14, the metal shell X14 comprises a water-containing waveguide transmission line bracket X8, a mineralization waveguide transmission line bracket X9, a mineralization waveguide transmission line bracket X10, and a water-containing waveguide transmission line bracket X11; the water-containing waveguide transmission line bracket X8 and the water-containing waveguide transmission line bracket X11 constitute a water-containing waveguide transmission line bracket; the mineralization waveguide transmission line bracket X9 and the mineralization waveguide transmission line bracket X10 constitute a mineralization waveguide transmission line bracket; the water-containing waveguide transmission line bracket passes through a water-containing waveguide transmission line X17, and the mineralization waveguide transmission line bracket passes through a mineralization waveguide transmission line X18; the metal shell contains an oil-water mixture X16. The embodiments here give a specific physical implementation structure, and similar implementation structures are all within the protection scope of this patent.

[0114] 3. The metal shell X14 also includes a pressure sensor X12 and / or a temperature sensor X13.

[0115] 4. The water-containing waveguide transmission line X17 is composed of a metal conductor wrapped with an insulating material. The insulating material is highly insulating but does not affect the transmission of electromagnetic waves, and can avoid the influence of mineralization on water content measurement.

[0116] 5. Mineralization The waveguide transmission line X18 is composed of a metal conductor.

[0117] 6. The water-containing waveguide transmission line X17 passes through the water-containing waveguide transmission line bracket X8 and the water-containing waveguide transmission line bracket X11, and the internal gap is filled with high-pressure sealant or sealed with a sealing ring; the mineralization waveguide transmission line X18 passes through the mineralization waveguide transmission line bracket X9 and the mineralization waveguide transmission line bracket X10, and the internal gap is filled with high-pressure sealant or sealed with a sealing ring.

[0118] 7. The pressure sensor X12 and / or the temperature sensor X13 are connected to the metal housing X14 via screws.

[0119] 8. A multi-sensor fusion measurement system for measuring water content and / or mineralization, characterized in that the output of the programmable oscillator X1 is connected to the multi-way signal distributor X2, the multi-way signal distributor X2 is communicatively connected to the coupler X5, the coupler X5 is communicatively connected to the digital controlled phase shifter X6, and the digital controlled phase shifter X6 is communicatively connected to the phase difference detector X7;

[0120] The output of the programmable oscillator X1 is connected to the multi-channel signal distributor X2 to generate multiple high-frequency signals with the same frequency, amplitude and phase;

[0121] First, one of the high-frequency signals is taken to enter the coupler X5, and two signals are output. The signal with larger power directly enters from one end of the water-containing waveguide transmission line X17 of the dual-waveguide resonant cavity X15, and the other end is output to the phase difference detector X7. The signal with smaller power directly passes through the digital phase shifter X6, and then enters the phase difference detector X7. The water content is obtained by measuring the phase difference of the two signals, which is the water content determination part.

[0122] Secondly, two other high-frequency signals are taken. One of the two high-frequency signals directly enters one end of the mineralization waveguide transmission line X18 of the dual-waveguide resonant cavity X15, and the other end is output to the amplitude difference detector X3. The other high-frequency signal of the two high-frequency signals directly enters the amplitude difference detector X3, and the mineralization is obtained by measuring the amplitude difference of the two signals, which is the mineralization determination part.

[0123] 9. The water content determination part and the mineralization determination part together constitute a dual waveguide resonant cavity X15, and the dual waveguide resonant cavity X15 comprises a metal shell X14, and the metal shell X14 comprises a water-containing waveguide transmission line bracket X8, a mineralization waveguide transmission line bracket X9, a mineralization waveguide transmission line bracket X10, and a water-containing waveguide transmission line bracket X11; the water-containing waveguide transmission line bracket X8 and the water-containing waveguide transmission line bracket X11 together constitute a water-containing waveguide transmission line bracket; the mineralization waveguide transmission line bracket X9 and the mineralization waveguide transmission line bracket X10 together constitute a mineralization waveguide transmission line bracket; a water-containing waveguide transmission line X17 passes through the water waveguide transmission line bracket, and a mineralization waveguide transmission line X18 passes through the mineralization waveguide transmission line bracket; the metal shell contains an oil-water mixture X16.

[0124] 10. The metal shell X14 also includes a pressure sensor X12 and / or a temperature sensor X13.

[0125] 11. The water-containing waveguide transmission line X17 is composed of a metal conductor wrapped with an insulating material. The insulating material is highly insulating but does not affect the transmission of electromagnetic waves, and can avoid the influence of mineralization on water content measurement.

[0126] 12. Mineralization The waveguide transmission line X18 is composed of a metal conductor.

[0127] 13. The water-containing waveguide transmission line X17 passes through the water-containing waveguide transmission line bracket X8 and the water-containing waveguide transmission line bracket X11, and the internal gap is filled with high-pressure sealant or sealed with a sealing ring; the mineralization waveguide transmission line X18 passes through the mineralization waveguide transmission line bracket X9 and the mineralization waveguide transmission line bracket X10, and the internal gap is filled with high-pressure sealant or sealed with a sealing ring.

[0128] 14. The pressure sensor X12 and / or the temperature sensor X13 are connected to the metal housing X14 via screws.

[0129] Embodiment 9, as a further improved solution or parallel solution, a method for determining whether a pipeline is leaking, characterized in that the pipeline operation enters a steady state, the sampling frequency is 1HZ, at this time, a pressure sequence P(n) with n data within a period of time is selected, and its mean μ and variance σ are calculated 2 ; At this time, assuming an acceptable false alarm rate α and false negative rate β, the sequential probability ratio test limits A = ln(β / (1-α)) and B = ln((1-β) / α) can be obtained; then assume the mean under-shift Δμ after leakage; the sequential probability ratio algorithm is executed once each time a new value is collected;

[0130] Then the probability ratio is:

[0131]

[0132] like:

[0133] λ(n)≥B, then the pipeline leaks;

[0134] like:

[0135] λ(n)≤A, then the pipeline operates normally;

[0136] like:

[0137] If A<λ(n)<B, further testing is needed.

[0138] The technical solution adopted by the patent of this invention is: the principle of this measurement system is to adopt a multi-sensor fusion method to effectively integrate the moisture content, mineralization, temperature, and pressure sensing units. The system mainly includes a moisture content sensor, a mineralization sensor, a pressure sensor, a temperature sensor, and a main control circuit.

[0139] First, in terms of temperature measurement, non-contact or contact measurement methods are adopted, and thermal resistors, integrated temperature chips or thermocouples are used to directly convert temperature signals into electrical signals and output them to the AD acquisition circuit.

[0140] Second, in terms of pressure measurement, piezoelectric, piezoresistive, capacitive, electromagnetic and other technologies are used to convert pressure changes into electrical signal changes and output them to the AD acquisition circuit.

[0141] Third, in terms of water content measurement, the waveguide resonance phase measurement technology is used. Due to the difference in dielectric constants of crude oils with different water contents (at room temperature, the dielectric constant of oil is 2.3 and that of water is 81), when the electromagnetic wave signal is emitted to the waveguide resonance cavity with oil-water mixture as the medium, the phase of the signal changes greatly with the different oil and water components. Therefore, the water content parameters of the crude oil can be obtained by measuring the signal phase change.

[0142] Fourth, in terms of mineralization measurement, using waveguide resonance amplitude measurement technology, crude oils with different water contents present different characteristic impedances due to differences in mineralization. When the electromagnetic wave signal is emitted to the waveguide resonant cavity with oil-water mixture as the medium, the signal amplitude changes greatly with the different oil and water components. Therefore, the crude oil mineralization parameters can be obtained by measuring the signal amplitude change.

[0143] The main control circuit unit is mainly implemented by an embedded system. It collects and processes the signals of the water content sensor, mineralization sensor, pressure sensor and temperature sensor in real time, and performs relevant algorithm processing to finally obtain the physical properties of crude oil such as water content, mineralization, pressure and temperature.

[0144] First of all, the multi-sensor fusion method not only fills the gap in online testing and data transmission of crude oil water content and mineralization, but also realizes comprehensive and accurate measurement of crude oil temperature, pressure, water content and mineralization. In the actual measurement process, the various parameters affect each other, and the measurement method of independent sensors cannot achieve accurate measurement. Therefore, multi-sensor fusion can improve the measurement accuracy of the instrument by exploring the relationship between the various physical properties of crude oil.

[0145] Secondly, it has completely gotten rid of the manual measurement mode. In the past, only the water content, pressure, and temperature were measured, and manual sampling and testing of mineralization were still required. A complete measurement system has been formed. In terms of water content measurement, the full range of water content 0%-100% has been achieved, effectively solving the influence of factors such as oil-in-water, water-in-oil, mineralization, and gas content on water content measurement, with a measurement accuracy of ±3%; in terms of mineralization measurement, the range is 0-200000mg / L, and the measurement accuracy is ±100mg / L; in terms of temperature measurement, the range is -50-150℃, and the measurement accuracy is ±0.25℃; in terms of pressure measurement, the range is 0-6MPa, and the measurement accuracy is ±0.5%.

[0146] Thirdly, it fills the gap in the industry, significantly reduces the production and operation costs of oil fields, effectively improves the daily production management level of oil fields, and promotes the digitalization and intelligence level of oil fields. At the same time, it solves the safety and environmental protection problems such as waste oil discharge and hazardous chemical management caused by traditional manual testing.

[0147] Finally, online measurement of water content can timely detect changes in oil well production, provide guiding mining plans in a timely manner, and ensure stable production and increase production; online measurement of mineralization can timely detect whether the formation has catastrophic formation damage such as water flooding and layer cross-linking; online measurement of temperature can timely detect waxing conditions in oil wells and monitor the effectiveness of hot washing operations in oil wells; online measurement of pressure can timely reflect the status of pipeline oil transportation, detect leaks, and monitor the effectiveness of hot washing and dosing.

[0148] like Fig. 9 As shown:

[0149] (1) The metal shell X14, the water-containing waveguide transmission line X17, the water-containing waveguide transmission line bracket X8, the water-containing waveguide transmission line bracket X11, the mineralization waveguide transmission line X18, the mineralization waveguide transmission line bracket X9, and the mineralization waveguide transmission line bracket X10 together constitute a dual waveguide resonant cavity X15;

[0150] (2) The water-containing waveguide transmission line X17 is composed of a metal conductor wrapped with an insulating material. The insulating material is highly insulating but does not affect the transmission of electromagnetic waves, thus avoiding the influence of mineralization on water content measurement.

[0151] (3) Mineralization waveguide transmission line X18 is composed of metal conductor;

[0152] (4) The water-containing waveguide transmission line bracket X8, the water-containing waveguide transmission line bracket X11, the mineralization waveguide transmission line bracket X9, and the mineralization waveguide transmission line bracket X10 are integrated with the metal shell X14;

[0153] (5) The water-containing waveguide transmission line X17 passes through the water-containing waveguide transmission line bracket X8 and the water-containing waveguide transmission line bracket X11, and the internal gap is filled with high-pressure sealant or sealed with a sealing ring;

[0154] (6) The mineralization waveguide transmission line X18 passes through the mineralization waveguide transmission line bracket X9 and the mineralization waveguide transmission line bracket X10, and the internal gap is filled with high-pressure sealant or sealed with a sealing ring;

[0155] (7) The pressure sensor X12 is connected to the metal housing X14 through threads;

[0156] (8) The temperature sensor X13 is connected to the metal housing X14 by means of threads or labels;

[0157] Note: The attached figure of the scheme of the present invention is a schematic diagram of the measurement system, which does not limit its structure. The water-containing waveguide transmission line X17 and the mineralization waveguide transmission line X18 do not limit their shapes and installation positions. Any technical scheme adopted shall be regarded as identical replacement.

[0158] Measurement method:

[0159] refer to Figure 1 A crude oil physical property measurement system mainly includes a programmable oscillator X1, a multi-channel signal distributor X2, an amplitude difference detector X3, a main control circuit board X4, a coupler X5, a numerically controlled phase shifter X6, a phase difference detector X7, a water-containing waveguide transmission line bracket X8, a mineralization waveguide transmission line bracket X9, a mineralization waveguide transmission line bracket X10, a water-containing waveguide transmission line bracket X11, a pressure sensor X12, a temperature sensor X13, a metal shell X14, a dual waveguide resonant cavity X15, an oil-water mixture X16, a water-containing waveguide transmission line X17, and a mineralization waveguide transmission line X18.

[0160] First, in terms of temperature measurement, the temperature sensor X13 adopts non-contact or contact measurement methods, using thermal resistors or thermocouples to directly convert temperature signals into electrical signals and output them to the AD acquisition circuit.

[0161] Second, in terms of pressure measurement, the pressure sensor X12 uses piezoelectric, piezoresistive, capacitive, electromagnetic and other technologies to convert pressure changes into electrical signal changes and output them to the AD acquisition circuit.

[0162] Third, in terms of water content and mineralization measurement, the output of the programmable oscillator X1 is connected to the multi-channel signal distributor X2 to generate multiple high-frequency signals of the same frequency, amplitude and phase. First, one of the high-frequency signals is taken to enter the coupler X5, and two signals are output. The signal with higher power directly enters from one end of the water-containing waveguide transmission line X17 of the dual waveguide resonant cavity X15, and the other end is output to the phase difference detector X7. The signal with lower power directly passes through the CNC phase shifter X6 and then enters the phase difference detector X7. The water content is obtained by measuring the phase difference between the two signals. Secondly, two other high-frequency signals are taken, one of which directly enters from one end of the mineralization waveguide transmission line X18 of the dual waveguide resonant cavity X15, and the other end is output to the amplitude difference detector X3. The other high-frequency signal directly enters the amplitude difference detector X3, and the mineralization is obtained by measuring the amplitude difference between the two signals.

[0163] Measurement algorithm: (combined with Fig.10 and Fig.11 )

[0164] 1. Moisture content measurement:

[0165] Considering the seasonal changes, generally speaking, crude oil is not easy to be waxed in summer, and crude oil is easy to be waxed in winter. Through a large number of experiments, the wax formation law of crude oil in four seasons is found. According to the change of time, the water content measurement value is further compensated. The specific implementation method is as follows:

[0166] The control system first obtains the current time, then finds which decade of the year it is in, and then queries the table of the influence of wax deposition on water content in the memory chip of the control system. The actual water content plus the corresponding impact compensation value is the real water content. For example: in early October, the influence of wax deposition on water content is 6%, and the actual water content in early October is 65%, so the real water content is 71%.

[0167] 2. Mineralization measurement:

[0168] According to electromagnetic theory, the water content and salt ion concentration (real mineralization) in crude oil will cause the amplitude attenuation of electromagnetic wave transmission. Therefore, when measuring mineralization by amplitude attenuation, the influence of water content must be considered. In the actual measurement process, we generally obtain experimental data on the influence of water content on mineralization measurement through experiments, and then eliminate the influence on mineralization measurement based on the measured water content. The specific implementation method is as follows:

[0169] The control system first obtains the real water content, and then obtains the table of the influence of water content on the mineralization measurement in the memory chip of the control system. The actual mineralization value minus the corresponding impact compensation value is the real mineralization. For example: the water content is 10%, the influence on the mineralization is 500mg / L, the actual mineralization is 10500mg / L, then the real mineralization is 10000mg / L.

[0170] 3. In terms of pressure measurement, we use the sequential probability ratio algorithm to detect pipeline leaks in a timely manner. The specific algorithm is as follows:

[0171] The pipeline operation enters a steady state, with a sampling frequency of 1HZ. At this time, a pressure sequence P(n) with n data within a period of time is selected, and its mean μ and variance σ are calculated. 2 . At this time, assuming an acceptable false alarm rate α and an underreporting rate β, the sequential probability ratio test limits A = ln(β / (1-α)) and B = ln((1-β) / α) can be obtained. Then, assuming the mean under-shift Δμ after leakage. The sequential probability ratio algorithm is executed once each time a new value is collected.

[0172] Then the probability ratio is:

[0173]

[0174] like:

[0175] λ(n)≥B, then the pipeline leaks;

[0176] like:

[0177] λ(n)≤A, then the pipeline operates normally;

[0178] like:

[0179] If A<λ(n)<B, further testing is needed.

[0180] 4. In terms of temperature measurement, a weighted average method is used to measure a more accurate temperature. The specific implementation method is as follows:

[0181] T=(T1+T2+…+Tn) / n

[0182] The N temperature data are cyclically moved, the newly collected temperature data are added, and the first temperature data of the data sequence is removed, so as to realize the cyclic shift weighted averaging function.

[0183] The following method is implemented as a function:

[0184] Software startup: Double-click the desktop shortcut connection icon of the crude oil wellhead multi-parameter measuring instrument software system on the desktop to start and run the measuring system software. After the startup interface, the system pops up the user login dialog box. After the user enters the user name and password in the dialog box, click the OK button to complete the login. If the login information is correct, you will enter the main interface of this measuring system; if the login information is incorrect, you will exit this software.

[0185] Measuring instrument system main interface:

[0186] After the system is started and the user logs in, you can access the main functions of this measurement system by clicking the command buttons on the left side of the system main interface. The command buttons from top to bottom are start monitoring, stop monitoring, exit system, system parameters, user management, password change, oil well information, event viewing, data cleaning, and system information. The user clicks the exit system button to exit the system software; clicking other buttons will switch to the corresponding function operation interface.

[0187] Start monitoring and stop monitoring: Users can control the start and stop of the measurement operation by clicking the "Start Monitoring" and "Stop Monitoring" buttons. After clicking "Start Monitoring", the system will check the status of the software installed on the machine, including whether the database is installed and whether the database connection is normal. At the same time, it will check all serial port information of the machine and start to use the serial port thread to read back the lower computer data. After clicking "Stop Monitoring", the system will close all serial port threads and stop the measurement work.

[0188] Click the "System Parameters" button on the main interface to open the system configuration dialog box. In this dialog box, you can configure the system database connection information. At the same time, you can configure the number of polling tasks. After the user clicks the "OK" button, the system will run according to the configuration parameters modified by the user; if the user clicks the "Cancel" button, the system will ignore the configuration modification.

[0189] User management and password change

[0190] After the user clicks the "User Management" button, the User Management dialog box will be displayed. In this interface, you can add users, delete users, modify users, etc. Click the "Exit" button to exit the User Management interface.

[0191] After the user clicks the "Add User" button, the Add User dialog box will be displayed. User permissions are divided into two categories: operator and administrator.

[0192] After the user clicks the "Delete User" button, the Delete User dialog box will be displayed.

[0193] After the user clicks the "Modify User" button, the Modify User dialog box will be displayed.

[0194] After the user clicks the "Change Password" button, the password change dialog box will be displayed. In this interface, the password change function of the added user can be realized. Click the "Modify" button to log in with the new password. Click the "Cancel" button to exit the password change interface.

[0195] Oil well information

[0196] After the user clicks the "Oil Well Information" button in the main interface, the oil well information maintenance interface pops up, such as Figure 8 As shown. By clicking the oil well information configuration button on the right, the user can maintain the oil well information. The maintenance content includes the ownership of the oil well, the COM port of the oil well, the baud rate, the calibration method and other information to ensure the smooth data link and timely and accurate data transmission. This configuration interface has "import" and "export" functions, which can realize the rapid management of oil well information. Click "return to the main interface" to return to the measurement interface.

[0197] The optional operations are as follows: user adds an oil production plant, user modifies an oil production plant, user deletes an oil production plant, user adds an operating area, user modifies an operating area, user deletes an operating area, user adds a site, user modifies a site, user deletes a site, user adds a well site, which requires input of the well site name, communication port number, baud rate, check bit, and flow control, user modifies a well site, user deletes a well site, user adds an oil well, user modifies an oil well, user deletes an oil well, user exports oil well information, exports to an .xml file, and user imports oil well information, imports to an .xml file.

[0198] Event View:

[0199] After the user clicks the "Event View" button, the event view interface will be displayed. This interface mainly allows viewing recent events and past events, which can be switched through tabs. Recent events refer to the 50 most recent events, and past events can be viewed by setting query events to view events within a period of time. Events mainly include two categories, one is successful data reading, and the other is data reading failure. It can better manage the multi-parameter measuring instruments installed on site.

[0200] Data cleaning: When the user clicks "Data cleaning", the data cleaning interface will be displayed. In this interface, historical data and historical events can be cleaned up. There are two main cleaning methods: one is cleaning by time period and the other is cleaning by deadline.

[0201] In general, this patent can simultaneously achieve accurate measurement of the water content, temperature, and pressure of crude oil in a single well and remote transmission of data. It can solve the current problems of poor water content measurement accuracy, temperature sensors not being installed, and pressure sensors being unable to be remotely transmitted, provide reliable data for crude oil production, reduce production costs and the labor intensity of on-site employees, and improve the digital management level of smart oil fields.

[0202] The following provides a specific comparison between this patent and the prior art:

[0203]

[0204]

[0205] The basic principle, main features and advantages of the present invention are shown and described above. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the protection required.

Claims

1. A flange-type oil wellhead multi-parameter measuring instrument, characterized in that: The installation structure of the measuring instrument comprises a stainless steel tube (2) at the bottom, flanges (1) are included on both sides of the stainless steel tube (2), a sensor cavity shield (4) is installed on the stainless steel tube, the sensor cavity shield (4) and the stainless steel tube (2) are connected in an integrated manner, a sensor module is installed in the sensor cavity shield (4), and the sensor module is communicatively connected to an instrument head (5) at the top; the sensor cavity shield (4) is connected to a vertical shaft with external threads, the instrument head (5) is installed on the vertical shaft with external threads, and the circuit of the sensor module passes through the hollow part of the vertical shaft with threads to connect to a circuit board (6) in the head; The sensor module comprises: a pressure sensor (9), a temperature sensor (10) and a water content monitoring waveguide sensor module; the water content monitoring waveguide sensor module comprises a water content detection module (7) and a waveguide resonant cavity; the water content detection module (7) is connected to the waveguide resonant cavity by a radio frequency line, and together they constitute the water content monitoring waveguide sensor module; The pressure sensor consists of fixed threads, high-pressure connectors, sensing diaphragms, evaluation circuits, and electrical interfaces; The temperature sensor (10) is implemented using a high-precision integrated temperature chip and adopts a non-contact measurement method; The flange (1) and the stainless steel pipe (2) together constitute an auxiliary unit; the stainless steel pipe (2) and the transmission line (12) together constitute a waveguide resonant cavity; the sensor cavity shield (4), the water content monitoring waveguide sensor module, the pressure sensor (9), and the temperature sensor (10) together constitute a measuring cavity; the instrument head (5) constitutes a circuit control processing unit; the transmission line bracket one (3) and the transmission line bracket two (11) are connected to the stainless steel pipe (2) through threads; the transmission line (12) passes through the transmission line bracket one (3) and the transmission line bracket two (11) from the center, and the transmission line in the transmission line bracket one (3) and the transmission line bracket two (11) is filled with high-pressure sealant (8) inside; the pressure sensor (9) and the stainless steel pipe (2) are connected by threads to measure the pressure in the pipeline; the temperature sensor (10) and the stainless steel pipe (2) are bonded by surface mounting to measure the temperature in the pipeline; The circuit board (6) is installed in the meter head (5); the water detection module (7), the pressure sensor (9), and the temperature sensor (10) are connected to the circuit board (6) by means of wires and signal lines; the transmission line (12) is made of a metal conductor coated with a high-frequency insulating material, and the insulating material can stably transmit electromagnetic waves but is highly insulating; The circuit board is also communicatively connected with a display screen (E2), a serial port module MODBUS (E3), a peripheral power supply circuit (E4), and a key combination (E7); the circuit board includes a main control module (E8); the peripheral power supply circuit (E4) is used to supply power to the entire circuit board; the serial port module MODBUS (E3) is connected to the main control module (E8) via a UART interface to realize communication with a host computer; the display screen (E2) is connected to the main control module (E8) via a bus interface to display the measured values ​​of water content, temperature, and pressure; the key combination (E7) is connected to the main control module (E8) via an IO interface to set instrument parameters; the water content detection module (7) is connected to the A / D interface of the main control module (E8) via a wire to measure the water content; the pressure sensing module (E5) is connected to the A / D interface of the main control module (E8) via a wire to measure the wellhead pressure; and the temperature sensing module (E6) is connected to the A / D interface of the main control module (E8) via a wire to measure the oil temperature and compensate for the water content.

2. A flange-type oil wellhead multi-parameter measuring instrument as claimed in claim 1, characterized in that: The flange is installed in the following pipeline, which is a horizontal pipeline. The left side of the horizontal pipeline is connected to the oil well pipeline, and the horizontal pipeline includes an oil pressure gate (C1). The right side of the horizontal pipeline is connected to the vertical pipeline. The position where the horizontal pipeline and the vertical pipeline are connected includes a venting gate (C2), and the vertical pipeline includes a back pressure gate (C3).

3. A flange-type oil wellhead multi-parameter measuring instrument measurement method, characterized in that: The measuring instrument according to any one of claims 1 to 2 comprises a water content measurement step, wherein a programmable oscillator (D1) emits a constant frequency electromagnetic wave, which passes through a coupler (D2), wherein a high-power high-frequency signal at a direct output end enters one end of a waveguide resonant cavity (D5) where an oil-water mixture (13) flows through a radio frequency transmission line (D3), and then enters a phase difference detector (D4) from the other end of the waveguide resonant cavity (D5) through a radio frequency transmission line (D3); wherein a low-power high-frequency signal at a coupled output end directly enters a digitally controlled phase shifter (D6), and then enters a phase difference detector (D4); due to the large difference in dielectric constant of the oil-water mixture, the above two signals present different phase differences as the water content changes; the digitally controlled phase shifter (D6) modulates the phase difference of the two signals to an optimal detection state of 0-180 degrees or 180-0 degrees, and then detects the two signals through the phase difference detector (D4), and outputs the signals to a main control circuit board (6) as a voltage signal, thereby obtaining the water content.

4. A flange-type oil wellhead multi-parameter measuring instrument measuring method as claimed in claim 3, characterized in that: In the multi-parameter instrument power supply mode, it is necessary to calibrate the parameters related to water content measurement. At room temperature, in pure oil, record the phase difference P (1) when the water content is 0%. In a mixed liquid with 10% water, record the phase difference P (2) when the water content is 10%. In a mixed liquid with 20% water, record the phase difference P (3) when the water content is 20%. And so on, record the phase difference P (11) when the water content is 100%. By numerical simulation, the functional relationship between phase difference and water content is obtained: HS = F{ P (i)}, as the initial calibration function of the water content of the parameter instrument; At the same time, the same method is used to obtain the functional relationship between the phase difference and water content under different temperature, pressure and gas content conditions: HS = F (t, b, a) {P (i)}, as the final calibration function of the moisture content of the multi-parameter measuring instrument.

5. The flange-type oil wellhead multi-parameter measuring instrument measuring method as claimed in claim 4, characterized in that: Before the water content measurement step, a pressure measurement step and a temperature measurement step are also included. In the pressure measurement step, the oil contacts the sensing diaphragm (B3) through the high-pressure connector (B2), causing the sensing diaphragm (B3) to undergo elastic deformation. The evaluation circuit (B4) detects the voltage change caused by the deformation and outputs the pressure signal through the electrical interface (B5) after processing. Temperature measurement steps: After the circuit board supplies power to the positive power pole V+ (A1) and the negative power pole GND (A3) of the temperature sensor, the power supply voltage is 5V, and the signal output terminal OUT (A2) stably outputs a 0-5V signal, corresponding to a temperature measurement range of -50℃-150℃, without calibration.

Citation Information

Cited By

  • Eccentric embedded anti-freezing gate device

    CN223344986U