Flow meter valve fault detection method, device and system

By combining a magnetic resonance flowmeter with a pressure gauge, flowmeter valve failures can be automatically detected, solving the problem of low manual troubleshooting efficiency in the prior art and enabling rapid and accurate valve fault diagnosis and repair.

CN119714480BActive Publication Date: 2025-09-09PETROCHINA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311255293.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-09-09
Estimated Expiration
2043-09-26

AI Technical Summary

Technical Problem

In the existing technology, flow meter valve fault detection relies on manual troubleshooting, which is inefficient, difficult to disassemble on-site equipment, and unable to quickly determine the valve working status.

Method used

A magnetic resonance flowmeter is combined with a pressure gauge and a valve to automatically detect flowmeter valve failures through fluid flow rate and component measurements, and the faulty valve and its status are determined using changes in the pressure gauge and valve status.

Benefits of technology

It achieves rapid detection of flow meter valve failures, reduces manual intervention, improves detection efficiency, and repairs faulty valves in a timely manner, avoiding oil production stagnation and economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119714480B_ABST
    Figure CN119714480B_ABST
Patent Text Reader

Abstract

The present invention discloses a flowmeter valve fault detection method, device and system. The method includes: based on a magnetic resonance flowmeter located on an on-site branch pipeline, measuring the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead; if the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, based on a first pressure gauge located at the wellhead, a second pressure gauge located on the external transmission pipeline, a fourth valve and a fifth valve located on the on-site branch pipeline, a sixth valve located on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, fault detection is performed on the first valve, the second valve and the third valve to determine the target valve with the fault and the fault state corresponding to the target valve. Through the technical solution of the embodiment of the present invention, rapid detection of flowmeter valve faults is achieved, manual participation is reduced, and the efficiency of flowmeter valve fault detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fluid metering technology, and in particular to a flowmeter valve fault detection method, device and system. Background Art

[0002] In the oil production process, pipelines transport multiphase flows from wellheads, requiring the use of multiphase flowmeters to monitor the flow rates of each phase in real time, without separating the oil, gas, and water phases. During the measurement and testing process using multiphase flowmeters, valves within the flowmeters are required to control the flow state of the fluid. However, these valves are consumable and vulnerable parts, prone to damage and failure.

[0003] Currently, flowmeter valve fault detection primarily relies on manual inspection. When a valve failure is suspected, each valve must be manually checked, which is a slow process. Furthermore, on-site manifolds and equipment are connected using metal manifolds, which are heavy and bulky, making disassembly difficult. When a valve failure is suspected, it's impossible to verify its operating status by disassembling the pipeline, making valve fault detection extremely difficult. Summary of the Invention

[0004] The present invention provides a flowmeter valve failure method, device and system to achieve rapid detection of flowmeter valve failure, reduce manual participation and improve the efficiency of flowmeter valve failure detection.

[0005] In a first aspect, an embodiment of the present invention provides a flow meter valve fault detection method, comprising:

[0006] A magnetic resonance flowmeter located on an on-site branch pipeline is used to measure the fluid flow rate and fluid composition of a multiphase fluid generated at a wellhead. The magnetic resonance flowmeter includes: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve arranged in sequence on the main metering pipeline, and a second valve located on the branch metering pipeline. The first and third valves are used to control the flow state of the main metering pipeline, and the second valve is used to control the flow state of the branch metering pipeline.

[0007] If the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine the target valve with the fault and the fault state corresponding to the target valve;

[0008] Among them, the fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline.

[0009] In a second aspect, an embodiment of the present invention further provides a flow meter valve fault detection device, comprising:

[0010] A fluid measurement module, configured to measure the flow rate and composition of multiphase fluid generated at a wellhead using a magnetic resonance flowmeter located on a field branch pipeline. The magnetic resonance flowmeter comprises: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve arranged in sequence on the main metering pipeline, and a second valve located on the branch metering pipeline. The first and third valves are configured to control the flow state of the main metering pipeline, and the second valve is configured to control the flow state of the branch metering pipeline.

[0011] a fault detection module configured to, if the magnetic resonance flowmeter fails to measure a fluid flow rate or a fluid composition, perform fault detection on the first valve, the second valve, and the third valve based on a first pressure gauge at the wellhead, a second pressure gauge on the external transmission pipeline, a fourth valve and a fifth valve on the on-site branch pipeline, a sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve, to determine a target valve with a fault and a fault state corresponding to the target valve;

[0012] Among them, the fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline.

[0013] In a third aspect, an embodiment of the present invention further provides a flow meter valve fault detection system, characterized in that the system comprises: a processor, a magnetic resonance flow meter located on a field branch pipeline, a first pressure gauge located at a wellhead, a second pressure gauge located on an external transmission pipeline, a fourth valve and a fifth valve located on the field branch pipeline, and a sixth valve located on the field main pipeline; wherein,

[0014] The magnetic resonance flowmeter includes: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve arranged in sequence on the main metering pipeline, and a second valve on the branch metering pipeline; the first valve and the third valve are used to control the flow state of the main metering pipeline, and the second valve is used to control the flow state of the branch metering pipeline;

[0015] The fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline;

[0016] The processor is used to implement the flow meter valve fault detection method provided by any embodiment of the present invention.

[0017] The technical solution of the embodiment of the present invention uses a magnetic resonance flowmeter located on an on-site branch pipeline to measure the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead. If the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine the target valve with the fault and the corresponding fault state of the target valve. This allows for rapid detection of flowmeter valve faults, reduces manual intervention, improves the efficiency of flowmeter valve fault detection, and allows for timely repair of the faulty valve, avoiding the problem of prolonged oil production stagnation due to valve failure, thereby greatly reducing the economic losses caused by oil production stagnation.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 This is a flow chart of a flow meter valve fault detection method provided in accordance with the first embodiment of the present invention;

[0021] Figure 2 This is a schematic structural diagram of a magnetic resonance flowmeter according to Embodiment 1 of the present invention;

[0022] Figure 3 This is a flow chart of a flow meter valve fault detection method provided in accordance with the second embodiment of the present invention;

[0023] Figure 4 This is a flow meter valve detection flow chart when a fluid flow rate measurement fails according to the second embodiment of the present invention;

[0024] Figure 5 This is a flow chart of a flow meter valve fault detection method provided in accordance with a third embodiment of the present invention;

[0025] Figure 6 This is a flow meter valve detection flow chart when a fluid component measurement fails according to the third embodiment of the present invention;

[0026] Figure 7 2 is a schematic structural diagram of a flow meter valve fault detection device provided according to a fourth embodiment of the present invention;

[0027] Figure 8 It is a structural diagram of a flow meter valve fault detection system provided by the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "target", "current", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Example 1

[0031] Figure 1 The present invention provides a flow chart of a flow meter valve fault detection method. This embodiment is applicable to the case of performing fault detection on valves in magnetic resonance flow meters. Figure 1 As shown, the method can be executed by a flow meter valve fault detection device, which can be implemented in the form of hardware and / or software, and can be integrated into a processor. Figure 1 As shown, the method specifically includes the following steps:

[0032] S110. Based on the magnetic resonance flowmeter located on the on-site branch pipeline, the fluid flow rate and fluid component measurement of the multiphase fluid generated at the wellhead are performed, wherein the magnetic resonance flowmeter includes: a metering main pipeline, a metering branch pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve and a third valve arranged in sequence on the metering main pipeline, and a second valve located on the metering branch pipeline; the first valve and the third valve are used to control the flow state of the metering main pipeline, and the second valve is used to control the flow state of the metering branch pipeline.

[0033] Among them, the on-site branch pipeline can refer to a backup pipeline for transporting fluid. The magnetic resonance flowmeter can refer to an instrument that uses the principle of nuclear magnetic resonance to measure the composition and flow rate of a fluid. Multiphase fluid can refer to a fluid in which gaseous, liquid, and solid substances flow in a mixed state. The main metering pipeline can refer to the pipeline where the magnetic resonance probe is located. The metering branch pipeline can refer to a pipeline that ensures that the fluid flows normally through the magnetic resonance flowmeter when the magnetic resonance probe is stationary for measurement. The first valve can refer to a valve that controls the flow of fluid into the main metering pipeline. The magnetic resonance probe can refer to a device used to detect magnetic resonance signals. The thermometer and pressure gauge can refer to an instrument used to measure temperature and pressure data. The pressure relief valve can refer to a valve that controls the opening and closing of the pressure relief valve. The third valve can refer to a valve that controls the flow of fluid out of the main metering pipeline. The second valve can refer to a valve that controls the flow state of the metering branch pipeline. It should be noted that the first valve, the second valve, and the third valve can all be electric valves. The flow state can include a normal flow state or a blocked state of the fluid.

[0034] Specifically, such as Figure 2As shown, the magnetic resonance flowmeter is located on a field branch line. Multiphase fluid flowing into the main metering pipeline flows out through the first valve, magnetic resonance probe, thermometer, pressure relief valve, and third valve located on the main metering pipeline. Multiphase fluid flowing into the metering branch pipeline flows out through the second valve. The metering branch pipeline ensures that the fluid can continue to flow normally when the magnetic resonance probe is performing stationary measurement. In the flowing measurement state, the magnetic resonance flowmeter measures the fluid flow rate of the multiphase fluid generated at the wellhead. In the stationary measurement state, the magnetic resonance flowmeter measures the fluid composition of the multiphase fluid generated at the wellhead.

[0035] S120. If the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine the target valve with the fault and the corresponding fault state of the target valve; wherein the fourth valve and the fifth valve are valves for controlling the flow state of the on-site branch pipeline. The sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline.

[0036] Among them, the first pressure gauge may refer to an instrument for measuring wellhead pressure data. The external transmission pipeline may refer to a pipeline that receives the fluid flowing out of the sixth valve. The second pressure gauge may refer to an instrument for measuring the pressure data of the external transmission pipeline. The target valve may refer to the valve with a fault among the first valve, the second valve, and the third valve. The fault state may refer to a faulty open state and a faulty closed state. The faulty open state means that the valve should normally be in a closed state, but is actually in an open state. The faulty closed state means that the valve should normally be in an open state, but is actually in a closed state. It should be noted that the fourth valve, the fifth valve, and the sixth valve may be manual valves or electric valves.

[0037] Specifically, such as Figure 2As shown, the fluid flowing out of the wellhead flows through the first pressure gauge to the on-site main line and on-site branch line. The fluid in the on-site main line passes through the sixth valve to the external transmission pipeline and flows through the second pressure gauge. The fluid in the on-site branch line passes through the fourth valve, the magnetic resonance flowmeter, and the fifth valve to the external transmission pipeline and flows through the second pressure gauge. If the magnetic resonance flowmeter fails to measure fluid flow rate or fluid composition, the operating status of the fourth and fifth valves on the on-site branch pipeline and the sixth valve on the on-site main line are continuously changed. Based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the temperature and pressure gauge and the pressure relief valve on the metering main line, the first, second, and third valves in the magnetic resonance flowmeter are fault-checked. The faulty first, second, and third valves are identified as target valves, and the corresponding fault status of the target valves is determined. This allows for rapid fault detection of flowmeter valves without disassembling the pipeline, reducing manual intervention.

[0038] The technical solution of the embodiment of the present invention uses a magnetic resonance flowmeter located on an on-site branch pipeline to measure the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead. If the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve. The faulty target valve and the corresponding fault state of the target valve are determined, thereby achieving rapid detection of flowmeter valve faults, reducing manual intervention, and improving the efficiency of flowmeter valve fault detection. Faulty valves can then be repaired in a timely manner, avoiding the problem of prolonged oil production stagnation due to valve failures, and greatly reducing the economic losses caused by oil production stagnation.

[0039] Example 2

[0040] Figure 3 This is a flow chart of a flow meter valve fault detection method provided in Example 2 of the present invention. Building on the previous examples, this example describes in detail the specific process for detecting a flow meter valve fault when a magnetic resonance flow meter fails to measure fluid flow rate. Explanations of terms that are identical or corresponding to those in the previous examples are omitted here.

[0041] See also Figure 3 Another flow meter valve fault detection method provided in this embodiment specifically includes the following steps:

[0042] S210. Using a magnetic resonance flowmeter located on the on-site branch pipeline, measure the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead.

[0043] S220. If the magnetic resonance flowmeter fails to measure the fluid flow rate, the current measurement state is switched to the flow measurement state, and based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, fault detection is performed on the first valve, the second valve and the third valve to determine the target valve with the fault and the fault state corresponding to the target valve.

[0044] The current measurement state may refer to the measurement state of the magnetic resonance flowmeter at the current moment. The flow measurement state may refer to a state in which the first valve and the third valve in the magnetic resonance flowmeter are open and the second valve is closed.

[0045] Specifically, such as Figure 4 As shown, if a magnetic resonance flowmeter fails to measure fluid flow rate, the first and third valves in the magnetic resonance flowmeter are controlled to open and the second valve is closed, switching the current measurement state of the magnetic resonance flowmeter to the flow measurement state. By continuously changing the operating states of the fourth and fifth valves located on the on-site branch pipeline and the sixth valve located on the on-site main pipeline, fault detection is performed on the first, second, and third valves in the magnetic resonance flowmeter based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the temperature and pressure gauge, and the pressure relief valve on the metering main pipeline. The faulty first, second, and third valves are identified as target valves, and the corresponding fault states of the target valves are determined. This allows for rapid fault detection of the flowmeter valves when fluid flow rate measurement fails, without disassembling the pipeline and reducing manual intervention.

[0046] For example, the step of "performing fault detection on the first valve, the second valve, and the third valve based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine the target valve with the fault and the fault state corresponding to the target valve" in S220 may include: obtaining a first pressure value of the first pressure gauge at the wellhead and a second pressure value of the second pressure gauge on the external transmission pipeline; if the difference between the first pressure value and the second pressure value is less than or equal to a preset difference, determining that the target valve with the fault is the second valve, and determining that the fault state corresponding to the target valve is a faulty open state; if the difference between the first pressure value and the second pressure value is greater than the preset difference, determining that the second valve is in a normally closed state, controlling the fourth valve and the fifth valve on the on-site branch pipeline to be both in a closed state, and controlling the sixth valve on the on-site main pipeline to be in an open state; controlling the pressure relief valve, the fourth valve, and the fifth valve, and performing fault detection on the first valve and the third valve based on the pressure value change of the temperature and pressure gauge to determine the target valve with the fault and the fault state corresponding to the target valve.

[0047] The first pressure value may refer to a specific value of the pressure measured by the first pressure gauge. The second pressure value may refer to a specific value of the pressure measured by the second pressure gauge. The preset difference may refer to a preset difference between the first and second pressure values ​​used to determine the state of the target valve.

[0048] Specifically, such as Figure 4 As shown, when the magnetic resonance flowmeter is in the flow measurement state, a first pressure value corresponding to the wellhead location, measured by a first pressure gauge at the wellhead, and a second pressure value, measured by a second pressure gauge on the external transmission pipeline, are obtained, and the difference between the first and second pressure values ​​is calculated. If the difference between the first and second pressure values ​​is less than or equal to a preset difference, indicating that the second valve is open, which contradicts the fact that the second valve should be closed when the magnetic resonance flowmeter is in the flow measurement state, the second valve is determined to be a faulty target valve, and the corresponding fault state of the target valve is determined to be a faulty open state. If the difference between the first and second pressure values ​​is greater than the preset difference, indicating that the second valve is closed, which is consistent with the fact that the second valve should be closed when the magnetic resonance flowmeter is in the flow measurement state, the second valve is determined to be in a normally closed state. The fourth and fifth valves on the field branch pipeline are controlled to be closed, and the sixth valve on the field main pipeline is controlled to be open, thereby ensuring normal production. The pressure relief valve, the fourth valve and the fifth valve are controlled, and based on the pressure value change of the temperature and pressure gauge, the first valve and the third valve are fault detected to determine the faulty target valve and the fault state corresponding to the target valve.

[0049] Exemplarily, the pressure relief valve, the fourth valve and the fifth valve are controlled, and based on the pressure value change of the thermostat, the first valve and the third valve are detected for faults, and the faulty target valve and the fault state corresponding to the target valve are determined, including: controlling the pressure relief valve to open, discharging the remaining fluid and then closing the pressure relief valve; controlling the fourth valve to open, and based on the pressure value change of the thermostat during the opening of the fourth valve, performing fault detection on the first valve; if there is no fault in the first valve, controlling the pressure relief valve to open, discharging the remaining fluid and then closing the pressure relief valve; controlling the fifth valve to open, and based on the pressure value change of the thermostat during the opening of the fifth valve, performing fault detection on the third valve.

[0050] Specifically, such as Figure 4 As shown, the pressure relief valve is controlled to open, the remaining fluid in the metering main circuit is discharged, and then the pressure relief valve is closed. The fourth valve is controlled to open slowly, and the pressure value change of the thermometer and pressure gauge during the opening process of the fourth valve is recorded. The first valve is detected for fault based on the change in the thermometer and pressure gauge pressure value. If the first valve is not faulty, the pressure relief valve is controlled to open, the remaining fluid in the metering main circuit is discharged, and then the pressure relief valve is closed. The fourth valve is controlled to close, and the fifth valve is opened. The pressure value change of the thermometer and pressure gauge during the opening process of the fifth valve is recorded. The third valve is detected for fault based on the change in the thermometer and pressure gauge pressure value.

[0051] Exemplarily, based on the pressure value change of the thermostat during the opening process of the fourth valve, fault detection is performed on the first valve, including: if the pressure value change of the thermostat is that the pressure value remains unchanged, determining that the target valve with the fault is the first valve, and determining that the fault state corresponding to the target valve is the faulty closed state; if the pressure value change of the thermostat is that the pressure value continues to increase, determining that the first valve is in a normally open state, and there is no fault in the first valve.

[0052] Specifically, such as Figure 4 As shown in the figure, if the pressure value of the thermometer and pressure gauge changes and remains unchanged, it indicates that no fluid has entered the main metering circuit and the first valve is closed. The target valve with a fault is determined to be the first valve, and the corresponding fault state of the target valve is determined to be the faulty closed state. If the pressure value of the thermometer and pressure gauge changes and increases, it indicates that fluid has entered the main metering circuit and the first valve is open. The first valve is determined to be in a normally open state and there is no fault in the first valve. This allows flowmeter valve fault detection without disassembly, improving detection efficiency.

[0053] Exemplarily, based on the change in the pressure value of the thermostat during the opening process of the fifth valve, fault detection is performed on the third valve, including: if the change in the pressure value of the thermostat is that the pressure value remains unchanged, determining that the target valve with the fault is the third valve, and determining that the fault state corresponding to the target valve is the faulty closed state; if the change in the pressure value of the thermostat is that the pressure value continues to increase, determining that the third valve is in a normally open state, and there is no fault in the third valve.

[0054] Specifically, such as Figure 4 As shown in the figure, if the pressure value of the thermometer and pressure gauge changes and the pressure value remains unchanged, it means that no fluid has entered the main metering circuit and the third valve is closed. The target valve with a fault is determined to be the third valve, and the corresponding fault state of the target valve is determined to be the faulty closed state. If the pressure value of the thermometer and pressure gauge changes and the pressure value continues to increase, it indicates that fluid has entered the main metering circuit and the third valve is open. The third valve is determined to be in a normally open state and there is no fault in the third valve. This allows flowmeter valve fault detection without disassembly, improving detection efficiency.

[0055] According to the technical solution of the embodiment of the present invention, if the magnetic resonance flowmeter fails to measure the fluid flow rate, the current measurement state is switched to the flow measurement state, and based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, fault detection is performed on the first valve, the second valve and the third valve, and the faulty target valve and the fault state corresponding to the target valve are determined, thereby realizing flowmeter valve fault detection when the magnetic resonance flowmeter fails to measure the fluid flow rate, improving the efficiency of flowmeter valve fault detection, and allowing the faulty valve to be repaired in a timely manner.

[0056] Example 3

[0057] Figure 5 This is a flowchart of a flow meter valve fault detection method provided in Example 3 of the present invention. Building on the previous examples, this example describes in detail the specific process for detecting a flow meter valve fault when a magnetic resonance flow meter fails to measure fluid composition. Explanations of terms that are identical or corresponding to those in the previous examples are omitted here.

[0058] See also Figure 5 Another flow meter valve fault detection method provided in this embodiment specifically includes the following steps:

[0059] S310. Using a magnetic resonance flowmeter located on the on-site branch pipeline, measure the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead.

[0060] S320. If the magnetic resonance flowmeter fails to measure the fluid components, the current measurement state is switched to the static measurement state, and based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, fault detection is performed on the first valve, the second valve and the third valve to determine the target valve with the fault and the fault state corresponding to the target valve.

[0061] The static measurement state may refer to a state in which the first valve and the third valve in the magnetic resonance flowmeter are closed and the second valve is open.

[0062] Specifically, such as Figure 6 As shown, if the magnetic resonance flowmeter fails to measure fluid components, the first and third valves in the magnetic resonance flowmeter are controlled to close and the second valve is opened, switching the current measurement state of the magnetic resonance flowmeter to the flow measurement state. By continuously changing the operating states of the fourth and fifth valves located on the on-site branch pipeline and the sixth valve located on the on-site main pipeline, fault detection is performed on the first, second, and third valves in the magnetic resonance flowmeter based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the temperature and pressure gauge, and the pressure relief valve on the main metering line. The faulty first, second, and third valves are identified as target valves, and the corresponding fault states of the target valves are determined. This allows for rapid fault detection of flowmeter valves when fluid flow rate measurement fails, without disassembling the pipeline and reducing manual intervention.

[0063] Exemplarily, in S320, "when there is a fluid component measurement failure, based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, the first valve, the second valve and the third valve are fault detected to determine the target valve with the fault and the fault state corresponding to the target valve" may include: obtaining a first pressure value of the first pressure gauge at the wellhead and a second pressure value of the second pressure gauge on the external transmission pipeline; if the difference between the first pressure value and the second pressure value is greater than or equal to the preset difference, determining that the target valve with the fault is the second valve, and determining that the fault state corresponding to the target valve is the fault closed state; if the difference between the first pressure value and the second pressure value is greater than or equal to the preset difference, determining that the target valve with the fault is the second valve, and determining that the fault state corresponding to the target valve is the fault closed state; if the difference between the first pressure value and the second pressure value is greater than or equal to the preset difference, determining that the target valve with the fault is the second valve, and determining that the fault state corresponding to the target valve is the fault closed state If the difference between the first pressure value and the second pressure value after the second valve is closed is less than the preset difference, the second valve is determined to be in a normally open state, and the second valve is controlled to be closed; if the difference between the first pressure value and the second pressure value after the second valve is closed is less than or equal to the preset difference, the target valves with faults are determined to be the first valve and the third valve, and the fault states corresponding to the target valves are determined to be the faulty open state; if the difference between the first pressure value and the second pressure value after the second valve is closed is greater than the preset difference, the fourth valve and the fifth valve on the on-site branch pipeline are controlled to be in a closed state, and the sixth valve on the on-site main pipeline is controlled to be in an open state; the pressure relief valve, the fourth valve and the fifth valve are controlled, and based on the pressure value change of the thermostat, the first valve and the third valve are detected for faults to determine the target valves with faults and the fault states corresponding to the target valves.

[0064] Specifically, such as Figure 6As shown, when the magnetic resonance flowmeter is in a static measurement state, a first pressure value corresponding to the wellhead position, measured by a first pressure gauge located at the wellhead, and a second pressure value, measured by a second pressure gauge located on the external transmission pipeline, are obtained. If the difference between the first pressure value corresponding to the first pressure gauge and the second pressure value corresponding to the second pressure gauge is greater than or equal to a preset difference, it indicates that the second valve is in a closed state, which contradicts the fact that the second valve should be in an open state when the magnetic resonance flowmeter is in a static measurement state. The faulty target valve is determined to be the second valve, and the fault state corresponding to the target valve is determined to be a faulty closed state. If the difference between the first and second pressure values ​​is less than the preset difference, it indicates that the second valve is in an open state, which is consistent with the fact that the second valve should be in an open state when the magnetic resonance flowmeter is in a static measurement state. The second valve is determined to be in a normally open state, and the second valve is controlled to close. If the difference between the first pressure value and the second pressure value after the second valve is closed is less than or equal to the preset difference, it indicates that the first and third valves are open. This contradicts the fact that the first and third valves should be closed when the magnetic resonance flowmeter is in a static measurement state. In this case, the first and third valves are determined to be faulty target valves, and the fault states corresponding to the target valves are determined to be faulty open states. If the difference between the first pressure value and the second pressure value after the second valve is closed is greater than the preset difference, the fourth and fifth valves on the on-site branch pipeline are controlled to be closed, and the sixth valve on the on-site main pipeline is controlled to be open to ensure normal production. The pressure relief valve, the fourth valve, and the fifth valve are controlled, and the pressure value changes of the temperature and pressure gauge are recorded. Based on the pressure value changes of the temperature and pressure gauge, the first and third valves are fault-detected to determine the faulty target valves and the corresponding fault states of the target valves.

[0065] Exemplarily, the pressure relief valve, the fourth valve and the fifth valve are controlled, and based on the pressure value change of the thermostat, the first valve and the third valve are detected for faults, and the faulty target valve and the fault state corresponding to the target valve are determined, including: controlling the pressure relief valve to open, discharging the remaining fluid and then closing the pressure relief valve; controlling the fourth valve to open, and based on the pressure value change of the thermostat during the opening of the fourth valve, performing fault detection on the first valve; if there is no fault in the first valve, controlling the pressure relief valve to open, discharging the remaining fluid and then closing the pressure relief valve; controlling the fifth valve to open, and based on the pressure value change of the thermostat during the opening of the fifth valve, performing fault detection on the third valve.

[0066] Specifically, such as Figure 6As shown, the pressure relief valve is controlled to open, the remaining fluid in the metering main circuit is discharged, and then the pressure relief valve is closed. The fourth valve is controlled to open slowly, and the pressure value change of the thermometer and pressure gauge during the opening process of the fourth valve is recorded. The first valve is detected for fault based on the pressure value change of the thermometer and pressure gauge. If the first valve is not faulty, the pressure relief valve is controlled to open, the remaining fluid in the metering main circuit is discharged, and then the pressure relief valve is closed. The fourth valve is controlled to close, and the fifth valve is opened. The pressure value change of the thermometer and pressure gauge during the opening process of the fifth valve is recorded. The third valve is detected for fault based on the pressure value change of the thermometer and pressure gauge.

[0067] Exemplarily, the fourth valve is controlled to open, and based on the change in the pressure value of the thermostat during the opening of the fourth valve, fault detection is performed on the first valve, including: if the change in the pressure value of the thermostat is that the pressure value continues to increase, it is determined that the target valve with a fault is the first valve, and the fault state corresponding to the target valve is determined to be a faulty open state; if the change in the pressure value of the thermostat is that the pressure value remains unchanged, it is determined that the first valve is in a normally closed state, and there is no fault in the first valve.

[0068] Specifically, such as Figure 6 As shown, if the pressure value of the thermometer and pressure gauge changes continuously, it means that fluid has entered the main metering circuit and the first valve is in the open state. The target valve with a fault is determined to be the first valve, and the fault state corresponding to the target valve is determined to be the faulty open state. If the pressure value of the thermometer and pressure gauge changes continuously, it means that no fluid has entered the main metering circuit and the first valve is in the closed state. The first valve is determined to be in the normally closed state and there is no fault in the first valve.

[0069] Exemplarily, the fifth valve is controlled to open, and based on the change in the pressure value of the thermostat during the opening of the fifth valve, the third valve is detected for fault, including: if the change in the pressure value of the thermostat is that the pressure value continues to increase, it is determined that the target valve with the fault is the third valve, and the fault state corresponding to the target valve is determined to be a faulty open state; if the change in the pressure value of the thermostat is that the pressure value remains unchanged, it is determined that the third valve is in a normally closed state, and there is no fault in the third valve.

[0070] Specifically, such as Figure 6 As shown, if the pressure value of the thermometer and pressure gauge changes continuously, it means that fluid has entered the main metering circuit and the third valve is in the open state. The target valve with the fault is determined to be the third valve, and the corresponding fault state of the target valve is determined to be the faulty open state. If the pressure value of the thermometer and pressure gauge changes continuously, it means that no fluid has entered the main metering circuit and the third valve is in the closed state. The third valve is determined to be in the normally closed state and there is no fault in the third valve.

[0071] According to the technical solution of the embodiment of the present invention, if the magnetic resonance flowmeter fails to measure the fluid component, the current measurement state is switched to the static measurement state, and based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, fault detection is performed on the first valve, the second valve and the third valve, and the faulty target valve and the fault state corresponding to the target valve are determined, thereby realizing flowmeter valve fault detection when the magnetic resonance flowmeter fails to measure the fluid component, improving the efficiency of flowmeter valve fault detection, and allowing the faulty valve to be repaired in a timely manner.

[0072] Example 4

[0073] Figure 7 This is a schematic diagram of the structure of a pipeline ice blockage detection device provided in the third embodiment of the present invention. Figure 7 As shown, the device includes: a fluid measurement module 410 and a fault detection module 420 .

[0074] The fluid measurement module 410 is configured to measure the flow rate and composition of the multiphase fluid generated at the wellhead using a magnetic resonance flowmeter located on a field branch pipeline. The magnetic resonance flowmeter comprises: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve sequentially arranged on the main metering pipeline, and a second valve located on the branch metering pipeline. The first and third valves are configured to control the flow state of the main metering pipeline, and the second valve is configured to control the flow state of the branch metering pipeline.

[0075] a fault detection module 420 configured to, if the magnetic resonance flowmeter fails to measure a fluid flow rate or a fluid composition, perform fault detection on the first valve, the second valve, and the third valve based on a first pressure gauge at the wellhead, a second pressure gauge on the external transmission pipeline, a fourth valve and a fifth valve on the on-site branch pipeline, a sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve, to determine a target valve with a fault and a corresponding fault state of the target valve;

[0076] Among them, the fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline.

[0077] The technical solution of this embodiment uses a magnetic resonance flowmeter located on an on-site branch pipeline to measure the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead. If the magnetic resonance flowmeter fails to measure the fluid flow rate or fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve. The faulty target valve and the corresponding fault state of the target valve are determined, thereby achieving rapid detection of flowmeter valve faults, reducing manual intervention, and improving the efficiency of flowmeter valve fault detection. Faulty valves can then be repaired in a timely manner, avoiding the problem of prolonged oil production stagnation caused by valve failures, and greatly reducing the economic losses caused by oil production stagnation.

[0078] Optionally, the fault detection module 420 includes:

[0079] a first fault state determining unit, configured to, if the magnetic resonance flowmeter fails to measure the fluid flow rate, switch the current measurement state to a flow measurement state, and perform fault detection on the first valve, the second valve, and the third valve based on a first pressure gauge at a wellhead, a second pressure gauge on an external transmission pipeline, a fourth valve and a fifth valve on the on-site branch pipeline, a sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve, to determine a target valve with a fault and a fault state corresponding to the target valve;

[0080] The second fault state determination unit is used to switch the current measurement state to a static measurement state if the magnetic resonance flowmeter fails to measure the fluid component, and perform fault detection on the first valve, the second valve and the third valve based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve to determine the target valve with the fault and the fault state corresponding to the target valve.

[0081] Optionally, the first fault state determination unit is specifically used to: obtain a first pressure value of a first pressure gauge located at the wellhead and a second pressure value of a second pressure gauge located on the external transmission pipeline; if the difference between the first pressure value and the second pressure value is less than or equal to a preset difference, determine that the target valve with the fault is the second valve, and determine that the fault state corresponding to the target valve is a faulty open state; if the difference between the first pressure value and the second pressure value is greater than the preset difference, determine that the second valve is in a normally closed state, and control the fourth valve and the fifth valve located on the on-site branch pipeline to be in a closed state, and the sixth valve located on the on-site main pipeline to be in an open state; control the pressure relief valve, the fourth valve and the fifth valve, and perform fault detection on the first valve and the third valve based on the pressure value change of the temperature and pressure gauge to determine the target valve with the fault and the fault state corresponding to the target valve.

[0082] Optionally, the first fault state determination unit is further specifically used to: control the pressure relief valve to open, discharge the remaining fluid and then close the pressure relief valve; control the fourth valve to open, and perform fault detection on the first valve based on the change in the pressure value of the thermostat during the opening of the fourth valve; if there is no fault in the first valve, control the pressure relief valve to open, discharge the remaining fluid and then close the pressure relief valve; control the fifth valve to open, and perform fault detection on the third valve based on the change in the pressure value of the thermostat during the opening of the fifth valve.

[0083] Optionally, the first fault state determination unit is further specifically used to: if the pressure value change of the temperature and pressure gauge is that the pressure value remains unchanged, determine that the target valve with the fault is the first valve, and determine that the fault state corresponding to the target valve is a faulty closed state; if the pressure value change of the temperature and pressure gauge is that the pressure value continues to increase, determine that the first valve is in a normally open state and there is no fault in the first valve.

[0084] Optionally, the second fault state determination unit is specifically used to: obtain a first pressure value of a first pressure gauge located at the wellhead and a second pressure value of a second pressure gauge located on the external transmission pipeline; if the difference between the first pressure value and the second pressure value is greater than or equal to a preset difference, determine that the target valve with a fault is the second valve, and determine that the fault state corresponding to the target valve is a faulty closed state; if the difference between the first pressure value and the second pressure value is less than the preset difference, determine that the second valve is in a normally open state, and control the second valve to close; if the difference between the first pressure value and the second pressure value after the second valve is closed is less than or equal to the preset difference value, it is determined that the target valves with faults are the first valve and the third valve, and it is determined that the fault states corresponding to the target valves are all fault-open states; if the difference between the first pressure value and the second pressure value after the second valve is closed is greater than the preset difference, the fourth valve and the fifth valve on the on-site branch pipeline are controlled to be in the closed state, and the sixth valve on the on-site main pipeline is controlled to be in the open state; the pressure relief valve, the fourth valve and the fifth valve are controlled, and based on the pressure value change of the thermostat, the first valve and the third valve are fault detected to determine the target valve with faults and the fault states corresponding to the target valves.

[0085] Optionally, the second fault state determination unit is further specifically used to: control the pressure relief valve to open, discharge the remaining fluid and then close the pressure relief valve; control the fourth valve to open, and perform fault detection on the first valve based on the change in the pressure value of the thermostat during the opening of the fourth valve; if there is no fault in the first valve, control the pressure relief valve to open, discharge the remaining fluid and then close the pressure relief valve; control the fifth valve to open, and perform fault detection on the third valve based on the change in the pressure value of the thermostat during the opening of the fifth valve.

[0086] Optionally, the first fault state determination unit is further specifically used to: if the pressure value change of the temperature and pressure gauge is that the pressure value continues to increase, determine that the target valve with the fault is the first valve, and determine that the fault state corresponding to the target valve is a faulty open state; if the pressure value change of the temperature and pressure gauge is that the pressure value remains unchanged, determine that the first valve is in a normally closed state, and there is no fault in the first valve.

[0087] The flow meter valve fault detection device provided in the embodiment of the present invention can execute the flow meter valve fault detection synchronization method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0088] Figure 8This is a structural diagram of a flow meter valve fault detection system provided by the fourth embodiment of the present invention. Figure 8 As shown, the system specifically includes: a processor 510, a magnetic resonance flowmeter 520 located on the on-site branch pipeline, a first pressure gauge 530 located at the wellhead, a second pressure gauge 540 located on the external transmission pipeline, a fourth valve 550 and a fifth valve 560 located on the on-site branch pipeline, and a sixth valve 570 located on the on-site main pipeline; wherein,

[0089] The magnetic resonance flowmeter 520 includes: a metering main pipeline, a metering branch pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve and a third valve arranged in sequence on the metering main pipeline, and a second valve located on the metering branch pipeline; the first valve and the third valve are used to control the flow state of the metering main pipeline, and the second valve is used to control the flow state of the metering branch pipeline; the fourth valve 550 and the fifth valve 560 are used to control the flow state of the field branch pipeline; the sixth valve 570 is used to control the flow state of the field main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the field branch pipeline or the field main pipeline; the processor 510 is used to implement the flowmeter valve fault detection method provided in any embodiment of the present invention.

[0090] The pipeline ice blockage detection system of this embodiment uses a magnetic resonance flowmeter located on an on-site branch pipeline to measure the fluid flow rate and fluid composition of the multiphase fluid generated at the wellhead. If the magnetic resonance flowmeter fails to measure the fluid flow rate or fluid composition, fault detection is performed on the first, second, and third valves based on a first pressure gauge located at the wellhead, a second pressure gauge located on the external transmission pipeline, a fourth valve and a fifth valve located on the on-site branch pipeline, a sixth valve located on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve. The faulty target valve and the corresponding fault state of the target valve are determined, thereby enabling rapid detection of flowmeter valve faults, reducing manual intervention, and improving the efficiency of flowmeter valve fault detection. This allows for timely repair of the faulty valve, avoiding the problem of prolonged oil production stagnation caused by valve failures, and significantly reducing the economic losses caused by oil production stagnation.

[0091] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.

[0092] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.

Claims

1. A flow meter valve fault detection method, characterized in that: include: A magnetic resonance flowmeter located on an on-site branch pipeline is used to measure the fluid flow rate and fluid composition of a multiphase fluid generated at a wellhead. The magnetic resonance flowmeter includes: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve arranged in sequence on the main metering pipeline, and a second valve located on the branch metering pipeline. The first and third valves are used to control the flow state of the main metering pipeline, and the second valve is used to control the flow state of the branch metering pipeline. If the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine the target valve with the fault and the fault state corresponding to the target valve; Among them, the fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline.

2. The method according to claim 1, characterized in that If the magnetic resonance flowmeter fails to measure the fluid flow rate or the fluid composition, fault detection is performed on the first valve, the second valve, and the third valve based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine the target valve with the fault and the fault state corresponding to the target valve, including: If the magnetic resonance flowmeter fails to measure the fluid flow rate, the current measurement state is switched to the flow measurement state, and based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve, the first valve, the second valve, and the third valve are fault-detected to determine the target valve with the fault and the fault state corresponding to the target valve; If the magnetic resonance flowmeter fails to measure the fluid component, the current measurement state is switched to the static measurement state, and based on the first pressure gauge located at the wellhead, the second pressure gauge located on the external transmission pipeline, the fourth valve and the fifth valve located on the on-site branch pipeline, the sixth valve located on the on-site main pipeline, the temperature and pressure gauge and the pressure relief valve, fault detection is performed on the first valve, the second valve and the third valve to determine the target valve with the fault and the fault state corresponding to the target valve.

3. The method according to claim 2, characterized in that When a fluid flow rate measurement fails, fault detection is performed on the first valve, the second valve, and the third valve based on a first pressure gauge at the wellhead, a second pressure gauge on the external transmission pipeline, a fourth valve and a fifth valve on the on-site branch pipeline, a sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve to determine a target valve with a fault and a fault state corresponding to the target valve, including: Obtain a first pressure value of a first pressure gauge located at a wellhead and a second pressure value of a second pressure gauge located on an external transmission pipeline; If the difference between the first pressure value and the second pressure value is less than or equal to a preset difference, determining that the target valve with the fault is the second valve, and determining that the fault state corresponding to the target valve is a fault-open state; If the difference between the first pressure value and the second pressure value is greater than a preset difference, the second valve is determined to be in a normally closed state, and the fourth valve and the fifth valve on the on-site branch pipeline are controlled to be in a closed state, and the sixth valve on the on-site main pipeline is controlled to be in an open state; The pressure relief valve, the fourth valve, and the fifth valve are controlled, and based on the pressure value change of the thermostat, fault detection is performed on the first valve and the third valve to determine the target valve with a fault and the fault state corresponding to the target valve.

4. The method according to claim 3, characterized in that The controlling of the pressure relief valve, the fourth valve, and the fifth valve, and performing fault detection on the first valve and the third valve based on the pressure value change of the temperature and pressure gauge, and determining a target valve with a fault and a fault state corresponding to the target valve, includes: Controlling the pressure relief valve to open, discharging the remaining fluid and then closing the pressure relief valve; controlling the fourth valve to open, and performing fault detection on the first valve based on a pressure value change of the temperature and pressure gauge during the opening of the fourth valve; If the first valve does not fail, controlling the pressure relief valve to open, discharging the remaining fluid, and then closing the pressure relief valve; The fifth valve is controlled to open, and fault detection is performed on the third valve based on a pressure value change of the temperature and pressure gauge during the opening process of the fifth valve.

5. The method according to claim 4, characterized in that The performing fault detection on the first valve based on the pressure value change of the temperature and pressure gauge during the opening process of the fourth valve includes: If the pressure value change of the temperature-pressure gauge is that the pressure value remains unchanged, it is determined that the target valve with a fault is the first valve, and the fault state corresponding to the target valve is determined to be a fault-closed state; If the pressure value of the temperature and pressure gauge changes in a condition of continuously increasing, it is determined that the first valve is in a normally open state and there is no fault in the first valve.

6. The method according to claim 2, characterized in that When there is a fluid component measurement failure, based on the first pressure gauge at the wellhead, the second pressure gauge on the external transmission pipeline, the fourth valve and the fifth valve on the on-site branch pipeline, the sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve, fault detection is performed on the first valve, the second valve, and the third valve to determine the target valve with the fault and the fault state corresponding to the target valve, including: Obtain a first pressure value of a first pressure gauge located at a wellhead and a second pressure value of a second pressure gauge located on an external transmission pipeline; If the difference between the first pressure value and the second pressure value is greater than or equal to a preset difference, determining that the target valve with the fault is the second valve, and determining that the fault state corresponding to the target valve is a fault-closed state; If the difference between the first pressure value and the second pressure value is less than a preset difference, determining that the second valve is in a normally open state, and controlling the second valve to close; If the difference between the first pressure value and the second pressure value after the second valve is closed is less than or equal to a preset difference, it is determined that the target valves with faults are the first valve and the third valve, and the fault states corresponding to the target valves are both the fault-open state; If the difference between the first pressure value and the second pressure value after the second valve is closed is greater than a preset difference, the fourth valve and the fifth valve on the on-site branch pipeline are controlled to be closed, and the sixth valve on the on-site main pipeline is controlled to be open; The pressure relief valve, the fourth valve, and the fifth valve are controlled, and based on the pressure value change of the thermostat, fault detection is performed on the first valve and the third valve to determine the target valve with a fault and the fault state corresponding to the target valve.

7. The method according to claim 6, characterized in that Controlling the pressure relief valve, the fourth valve, and the fifth valve, and performing fault detection on the first valve and the third valve based on the pressure value change of the temperature and pressure gauge, and determining a target valve with a fault and a fault state corresponding to the target valve, including: Controlling the pressure relief valve to open, discharging the remaining fluid and then closing the pressure relief valve; controlling the fourth valve to open, and performing fault detection on the first valve based on a pressure value change of the temperature and pressure gauge during the opening of the fourth valve; If the first valve does not fail, controlling the pressure relief valve to open, discharging the remaining fluid, and then closing the pressure relief valve; The fifth valve is controlled to open, and fault detection is performed on the third valve based on a pressure value change of the temperature and pressure gauge during the opening process of the fifth valve.

8. The method according to claim 7, characterized in that Controlling the fourth valve to open, and performing fault detection on the first valve based on a pressure value change of the temperature and pressure gauge during the opening of the fourth valve, comprising: If the pressure value of the temperature-pressure gauge changes in a condition that the pressure value continuously increases, it is determined that the target valve with a fault is the first valve, and the fault state corresponding to the target valve is determined to be a fault-open state; If the pressure value of the temperature and pressure gauge changes in a condition that the pressure value remains unchanged, it is determined that the first valve is in a normally closed state and there is no fault in the first valve.

9. A flow meter valve fault detection device, characterized in that: include: A fluid measurement module, configured to measure the flow rate and composition of multiphase fluid generated at a wellhead using a magnetic resonance flowmeter located on a field branch pipeline. The magnetic resonance flowmeter comprises: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve arranged in sequence on the main metering pipeline, and a second valve located on the branch metering pipeline. The first and third valves are configured to control the flow state of the main metering pipeline, and the second valve is configured to control the flow state of the branch metering pipeline. a fault detection module configured to, if the magnetic resonance flowmeter fails to measure a fluid flow rate or a fluid composition, perform fault detection on the first valve, the second valve, and the third valve based on a first pressure gauge at the wellhead, a second pressure gauge on the external transmission pipeline, a fourth valve and a fifth valve on the on-site branch pipeline, a sixth valve on the on-site main pipeline, the temperature and pressure gauge, and the pressure relief valve, to determine a target valve with a fault and a fault state corresponding to the target valve; Among them, the fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline.

10. A flow meter valve fault detection system, characterized in that: The system includes: a processor, a magnetic resonance flowmeter located on the on-site branch pipeline, a first pressure gauge located at the wellhead, a second pressure gauge located on the external transmission pipeline, a fourth valve and a fifth valve located on the on-site branch pipeline, and a sixth valve located on the on-site main pipeline; wherein, The magnetic resonance flowmeter includes: a main metering pipeline, a branch metering pipeline, a first valve, a magnetic resonance probe, a temperature and pressure gauge, a pressure relief valve, and a third valve arranged in sequence on the main metering pipeline, and a second valve on the branch metering pipeline; the first valve and the third valve are used to control the flow state of the main metering pipeline, and the second valve is used to control the flow state of the branch metering pipeline; The fourth valve and the fifth valve are used to control the flow state of the on-site branch pipeline; the sixth valve is used to control the flow state of the on-site main pipeline; the multiphase fluid generated from the wellhead flows into the external transmission pipeline through the on-site branch pipeline or the on-site main pipeline; The processor is used to implement the flow meter valve fault detection method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Imaging device and method for researching different section sequences of rock core based on nuclear magnetic resonance

    CN113884531A

  • Multiphase flow metering system and method

    CN116412863A