Non-uniform gas-liquid two-phase metering method, system and equipment
Through the heterogeneous gas-liquid two-phase metering method based on the fusion algorithm, combined with multi-sensor data and high-precision matrix data iterative transmission algorithm, the problem of inefficient gas-liquid two-phase metering in the existing technology is solved, and accurate gas-liquid two-phase flow metering is achieved.
Patent Information
- Application Number
- CN202311829106.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, the non-homogeneous gas-liquid phases are difficult to measure, and there is measurement error due to the operating conditions.
The non-homogeneous gas-liquid two-phase metering method based on the fusion algorithm is adopted, and the original data is collected through the multi-sensor module, A/D conversion, filtering and denoising, feature extraction and multi-source data fusion calculation are carried out. Combined with the high-precision matrix data iterative transmission algorithm of microwave sensors and differential pressure flowmeters, the gas-liquid two-phase flow value is corrected.
The accurate measurement of the two-phase gas-liquid phases is realized, which reduces measurement errors and obtains more accurate and rich gas-liquid phase flow data.
Smart Images

Figure CN120213149A_ABST
Abstract
Description
Background Art
[0002] Gas liquid two phase flow in pipes refers to the situation where free gas and liquid flow simultaneously in a pipeline. During this process, the free gas and liquid coexist in a gas-liquid state and transform into each other.
[0003] Among the four types of two-phase flows in pipes (gas-liquid, gas-solid, liquid-liquid, and liquid-solid), the gas-liquid two-phase flow is the most complex. This is because there is a deformable two-phase interface in the gas-liquid two-phase flow, the gas phase in it has high compressibility, and there is a dynamic process of mutual conversion between gas and liquid. The phenomenon that the two-phase interface is distributed in different geometric forms or different flow structure forms is called the flow pattern of two-phase flow, simply referred to as the flow state or flow pattern. Gas-liquid mixtures with different flow patterns follow their own different flow laws.
[0004] In the prior art, the electrical signals output from temperature transmitters, pressure transmitters, differential pressure flowmeters, and swirl meters / microwave sensors need to be sent to a color screen recorder for processing and display. These electrical signals represent raw data such as temperature, pressure, local working condition flow rate, and working condition volume ratio, which cannot be directly used and have certain measurement errors affected by the working conditions, and the required flow rate data output needs to be obtained through data processing. Summary of the Invention
[0005] To solve the above problems in the prior art, that is, the problem that it is difficult to measure non-uniformly mixed gas-liquid two phases, the present invention provides a method for measuring non-uniformly mixed gas-liquid two phases based on a fusion algorithm, including:
[0006] Step S10, collecting raw data in the target pipeline through a multi-sensor module as input data;
[0007] The input data includes the gas single-phase flow rate collected by a microwave sensor, the total gas-liquid flow rate collected by a differential pressure flowmeter, the temperature collected by a temperature sensor, and the pressure collected by a pressure sensor;
[0008] Step S20, converting the input data through an A / D converter to obtain digital input data;
[0009] Step S30, filtering and denoising the digital input data to obtain preprocessed input data;
[0010] Step S40, extracting features from the preprocessed input data to obtain sensor measurement values;
[0011] Step S50, performing fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain the standard state flow rate value;
[0012] Step S60: Based on the sensor measurement values, the standard state flow value is corrected through a high-precision matrix data iterative transmission algorithm between the gas-liquid two-phase ratio measured by the microwave sensor and the differential pressure flowmeter to obtain the corrected gas-liquid two-phase flow value.
[0013] Further, the multi-module sensor specifically includes:
[0014] A microwave sensor, a differential pressure flowmeter, a temperature sensor, and a pressure sensor.
[0015] Further, the filtering and noise reduction specifically includes:
[0016] The noise in the digital input data is reduced by filtering and time-domain smoothing of the digital input data to obtain preprocessed input data.
[0017] Further, the feature extraction specifically includes:
[0018] The sensor measurement values are extracted by the low-frequency component extraction method and the moving average method respectively.
[0019] Further, the multi-source data fusion algorithm specifically includes:
[0020] The sensor measurement values are combined with the fluid physical property parameters and substituted into the single-phase working condition flow calculation formula. The volume flow rate under the working condition is obtained through fusion calculation, and the obtained volume flow rate under the working condition is calculated through compensation. The compensation is to convert it into standard condition output according to the temperature collected by the temperature sensor and the pressure collected by the pressure sensor;
[0021] The single-phase working condition flow calculation formula is:
[0022]
[0023] Among them, Q V represents the volume flow rate under the working condition; C represents the discharge coefficient; ε represents the flow expansion coefficient; d represents the inner diameter of the throttling element; ΔP represents the pressure difference before and after the throttling element; ρ zs is the average density of the gas-liquid mixed flowing object; D represents the inner diameter of the measuring tube; β represents the ratio of the inner diameter of the throttling element to the inner diameter of the measuring tube
[0024] Further, the conversion into standard condition output according to the temperature collected by the temperature sensor and the pressure collected by the pressure sensor specifically includes:
[0025] The volume flow rate calculation formula under standard conditions is:
[0026] Among them, Q V represents the volume flow rate under the working condition; Pa represents the local atmospheric pressure; P represents the gauge pressure measured at the pressure tapping of the flowmeter; P N represents the atmospheric pressure under standard conditions; T N represents the absolute temperature under standard conditions; T represents the absolute temperature of the fluid to be measured; Z N represents the compressibility factor of the gas under standard conditions; Z represents the compressibility factor of the gas under operating conditions.
[0027] Furthermore, the high-precision matrix data iterative transmission algorithm between the microwave sensor and the differential pressure flowmeter specifically includes:
[0028] By fitting the relationship between the dielectric constant and temperature, the dielectric constant of the mixed medium is obtained;
[0029] Since the dielectric constants of gas and liquid are sensitive to temperature, and the temperature fluctuations of the medium will be caused by the diurnal temperature difference and seasonal temperature changes, in order to ensure the accuracy of the calculation, the influence of temperature on the dielectric constants of gas and liquid should be considered.
[0030] Calculate the gas-liquid two-phase ratio based on the dielectric constant of the mixed medium;
[0031] where ε zs is the dielectric constant of the mixture, ε g is the dielectric constant of the gas phase, and ε1 is the dielectric constant of the liquid phase;
[0032] The gas-liquid flow calculation formula is: Q1 = Q N ×(1 - φ) Q g = Q N ×φ
[0033] where Q N represents the volume flow rate under standard conditions, Q1 represents the gas phase flow rate, and Q g represents the liquid phase flow rate;
[0034] The average density ρ of the gas-liquid mixed flowing object zs The formula is: ρ zs = φρ g +(1 - φ)ρ1
[0035] where ρ zs is the average density of the gas-liquid mixed flowing object, ρ g is the gas phase density, and ρ1 is the liquid phase density.
[0036] On the other hand, the present invention proposes a gas-liquid two-phase metering system based on a fusion algorithm, including a multi-sensor module, an A / D conversion module, a preprocessing module, a feature extraction module, a fusion calculation module, a data iteration module, and a result output module;
[0037] The multi-sensor module is used to collect the original data in the target pipeline as input data;
[0038] The A / D conversion module is used to convert the input data through an A / D converter to obtain digital input data;
[0039] The preprocessing module is used to preprocess the digital input data to obtain preprocessed input data;
[0040] The feature extraction module extracts features from the preprocessed input data to obtain sensor measurement values;
[0041] The fusion calculation module is used to perform fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain a standard state flow value;
[0042] The high-precision matrix data iteration module between the microwave sensor and the differential pressure flowmeter is used to correct the standard state flow value based on the sensor measurement values through the high-precision matrix data iteration transmission algorithm between the microwave sensor and the differential pressure flowmeter to obtain a corrected gas-liquid two-phase flow value;
[0043] The result output module is used to output the corrected gas-liquid two-phase flow value.
[0044] On the third aspect of the present invention, an electronic device is proposed, including:
[0045] At least one processor; and
[0046] A memory communicatively connected to at least one of the processors; wherein,
[0047] The memory stores instructions executable by the processor, and the instructions are used to be executed by the processor to implement the above-mentioned non-uniformly mixed gas-liquid two-phase metering method based on a fusion algorithm.
[0048] On the fourth aspect of the present invention, a computer-readable storage medium is proposed, and the computer-readable storage medium stores computer instructions, and the computer instructions are used to be executed by the computer to implement the above-mentioned non-uniformly mixed gas-liquid two-phase metering method based on a fusion algorithm.
[0049] Advantages of the present invention:
[0050] (1) The present invention combines feature extraction and a fusion algorithm with the instrument reading to realize the metering of on-site gas-liquid two-phase;
[0051] (2) The present invention synthesizes different data information to extract more accurate and richer gas-liquid two-phase flow rates. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Other features, objectives, and advantages of this application will become more apparent by reading the detailed description of the non-restrictive embodiments with reference to the following drawings:
[0053] Figure 1 is a flowchart of a non-uniformly mixed gas-liquid two-phase metering method based on a fusion algorithm of the present invention;
[0054] Figure 2 is a schematic diagram of a non-uniformly mixed gas-liquid two-phase metering system based on a fusion algorithm of the present invention;
[0055] Figure 3 is a schematic diagram of the structure of a computer system of a server for implementing the method, system, and device embodiments of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0056] The following further elaborates on this application in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the relevant invention and are not intended to limit the invention. Additionally, it should be noted that for ease of description, only parts related to the relevant invention are shown in the drawings.
[0057] It should be noted that, without conflict, the embodiments in this application and the features in the embodiments can be combined with each other. The following will elaborate on this application in detail with reference to the drawings and embodiments.
[0058] The present invention provides a non-uniformly mixed gas-liquid two-phase metering method based on a fusion algorithm, including:
[0059] Step S10, collecting raw data in the target pipeline through a multi-sensor module as input data;
[0060] The input data includes the gas single-phase flow rate collected by a microwave sensor, the total gas-liquid flow rate collected by a differential pressure flowmeter, the temperature collected by a temperature sensor, and the pressure collected by a pressure sensor;
[0061] Step S20, converting the input data through an A / D converter to obtain digital input data;
[0062] Step S30, filtering and denoising the digital input data to obtain preprocessed input data;
[0063] Step S40, extracting features from the preprocessed input data to obtain sensor measurement values;
[0064] Step S50, perform fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain the standard state flow value;
[0065] Step S60, based on the sensor measurement values, correct the standard state flow value through a high-precision matrix data iterative transmission algorithm between the gas-liquid two-phase ratio measured by the microwave sensor and the differential pressure flowmeter to obtain the corrected gas-liquid two-phase flow value.
[0066] To more clearly illustrate a non-uniformly mixed gas-liquid two-phase metering method based on a fusion algorithm of the present invention, the following will be combined with Figure 1 Expand and detail each step in the embodiments of the present invention.
[0067] A non-uniformly mixed gas-liquid two-phase metering method based on a fusion algorithm in the first embodiment of the present invention is described in detail as follows:
[0068] Step S10, collect the original data in the target pipeline through a multi-sensor module as input data;
[0069] The input data includes the gas single-phase flow collected by the microwave sensor, the gas-liquid total flow collected by the differential pressure flowmeter, the temperature collected by the temperature sensor, and the pressure collected by the pressure sensor;
[0070] In this embodiment, the multi-module sensor specifically includes:
[0071] Microwave sensor, differential pressure flowmeter, temperature sensor, and pressure sensor.
[0072] Step S20, convert the input data through an A / D converter to obtain digital input data;
[0073] Step S30, filter and denoise the digital input data to obtain preprocessed input data;
[0074] In this embodiment, the filtering and denoising specifically includes:
[0075] Reduce the noise in the digital input data through filtering and time-domain smoothing of the digital input data to obtain preprocessed input data.
[0076] Step S40, extract features from the preprocessed input data to obtain sensor measurement values;
[0077] In this embodiment, the feature extraction specifically includes:
[0078] Extract the sensor measurement values through the low-frequency component extraction method and the moving average method respectively.
[0079] Step S50, perform fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain the standard state flow value;
[0080] In this embodiment, the multi-source data fusion algorithm specifically includes:
[0081] Combine the sensor measurement values with the fluid physical property parameters, substitute them into the single-phase working condition flow calculation formula, perform fusion calculation to obtain the volume flow under the working condition, and calculate the obtained volume flow under the working condition through compensation. The compensation is to convert it into standard conditions for output according to the temperature collected by the temperature sensor and the pressure collected by the pressure sensor;
[0082] The single-phase working condition flow calculation formula is:
[0083] Among them, Q V represents the volume flow under the working condition; C represents the discharge coefficient; ε represents the flow expansion coefficient; d represents the inner diameter of the throttling element; ΔP represents the pressure difference before and after the throttling element; ρ zs is the average density of the gas-liquid mixed flowing object; D represents the inner diameter of the measuring tube; β represents the ratio of the inner diameter of the throttling element to the inner diameter of the measuring tube
[0084] In this embodiment, the conversion into standard conditions for output according to the temperature collected by the temperature sensor and the pressure collected by the pressure sensor specifically includes:
[0085] The volume flow calculation formula under standard conditions is:
[0086] Among them, Q V represents the volume flow under the working condition; P a represents the local atmospheric pressure; P represents the gauge pressure measured by the pressure tapping hole of the flowmeter; P N represents the atmospheric pressure under standard conditions; T N represents the absolute temperature under standard conditions; T represents the absolute temperature of the fluid to be measured; ZN represents the compression coefficient of the gas under standard conditions; Z represents the compression coefficient of the gas under the working condition;
[0087] The standard state is specifically: temperature 0°C, pressure 1 atm (1 atmospheric pressure).
[0088] When calibrating with a bell jar or negative pressure, take as the super-compression factor and calculate according to the formula in the standard SY / T6143-1996 of China National Petroleum Corporation.
[0089] In this embodiment, the high-precision matrix data iterative transmission algorithm between the microwave sensor and the differential pressure flowmeter specifically includes:
[0090] By fitting the relationship between the dielectric constant and temperature, the dielectric constant of the mixed medium is obtained;
[0091] This program reads the files "permittivity_natruegas.csv" and "permittivity_water.csv" in the current folder, that is, the dielectric constant data of natural gas and water at different temperatures, through pd.read_csv(r'filename', sep = ',', header = 'infer'), and fits the temperature and dielectric constant values through the function "Dielectricconstant_fitting", and returns the function information pi and the temperature dielectric constant values xy;
[0092] Based on the dielectric constant of the mixed medium, the gas-liquid two-phase ratio is calculated;
[0093] Among them, ε zs is the dielectric constant of the mixture, ε g is the dielectric constant of the gas phase, and ε1 is the dielectric constant of the liquid phase;
[0094] The gas-liquid flow calculation formula is: Q1 = Q N ×(1 - φ) Q g = Q N ×φ
[0095] Among them, Q N represents the volume flow rate under standard conditions, Q1 represents the gas-phase flow rate, and Q g represents the liquid-phase flow rate;
[0096] The average density ρ of the gas-liquid mixed flowing object zs The formula is: ρ zs = φρ g + (1 - φ)ρ1
[0097] Among them, ρ g is the gas-phase density, and ρ1 is the liquid-phase density.
[0098] Step S60, based on the sensor measurement value, the high-precision matrix data iterative transmission algorithm between the gas-liquid two-phase ratio measured by the microwave sensor and the differential pressure flowmeter is used to correct the standard state flow value to obtain the corrected gas-liquid two-phase flow value.
[0099] Although the steps in the above embodiments are described in the above order, those skilled in the art can understand that in order to achieve the effects of this embodiment, different steps do not have to be executed in such an order, and they can be executed simultaneously (in parallel) or in a reversed order, and these simple changes are all within the protection scope of the present invention.
[0100] A gas-liquid two-phase metering system based on a fusion algorithm according to the second embodiment of the present invention, as Figure 2 shown, includes a multi-sensor module, an A / D conversion module, a preprocessing module, a feature extraction module, a fusion calculation module, a data iteration module, and a result output module;
[0101] The multi-sensor module is used to collect the original data in the target pipeline as input data;
[0102] The A / D conversion module is used to convert the input data through an A / D converter to obtain digital input data;
[0103] The preprocessing module is used to preprocess the digital input data to obtain preprocessed input data;
[0104] The feature extraction module extracts features from the preprocessed input data to obtain sensor measurement values;
[0105] The fusion calculation module is used to perform fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain a standard state flow value;
[0106] A high-precision matrix data iteration module between a microwave sensor and a differential pressure flowmeter is used to correct the standard state flow value based on the sensor measurement values through a high-precision matrix data iteration transmission algorithm between the microwave sensor and the differential pressure flowmeter to obtain a corrected gas-liquid two-phase flow value;
[0107] The result output module is used to output the corrected gas-liquid two-phase flow value.
[0108] Those skilled in the art in the technical field to which it belongs can clearly understand that for the convenience and conciseness of description, the specific working process and related descriptions of the system described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
[0109] It should be noted that the gas-liquid two-phase metering system based on the fusion algorithm provided in the above embodiments is only illustrated by dividing the above functional modules. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the modules or steps in the embodiments of the present invention can be further decomposed or combined. For example, the modules in the above embodiments can be combined into one module, or further split into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only used to distinguish each module or step, and are not regarded as an improper limitation of the present invention.
[0110] An electronic device according to a third embodiment of the present invention includes:
[0111] At least one processor; and
[0112] A memory communicatively connected to at least one of the processors; wherein,
[0113] The memory stores instructions executable by the processor, and the instructions are used to be executed by the processor to implement the above-mentioned non-uniformly mixed gas-liquid two-phase metering method based on the fusion algorithm.
[0114] A computer-readable storage medium according to a fourth embodiment of the present invention stores computer instructions, and the computer instructions are used to be executed by the computer to implement the above-mentioned non-uniformly mixed gas-liquid two-phase metering method based on the fusion algorithm.
[0115] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes and related descriptions of the above-mentioned storage devices and processing devices can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0116] Those skilled in the art should be able to realize that the modules and method steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. The programs corresponding to the software modules and method steps can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the art. To clearly illustrate the interchangeability of electronic hardware and software, the components and steps of each example have been generally described according to their functions in the above description. Whether these functions are executed in the form of electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0117] Refer to the following Figure 3 , which shows a schematic structural diagram of a computer system of a server for implementing the method, system, and device embodiments of the present application. Figure 3 The server shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.
[0118] As Figure 3 shown, the computer system includes a central processing unit (CPU, Central Processing Unit) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM, Read Only Memory) 602 or the program loaded from the storage section 608 into the random access memory (RAM, Random Access Memory) 603. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. The input / output (I / O, Input / Output) interface 605 is also connected to the bus 604.
[0119] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including, for example, a cathode ray tube (CRT, Cathode Ray Tube), a liquid crystal display (LCD, Liquid Crystal Display), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read from it can be installed into the storage section 608 as needed.
[0120] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-described functions defined in the methods of the present application are performed. It should be noted that the computer-readable medium described above in the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0121] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, by connecting through the Internet service provider via the Internet).
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0123] The terms "first", "second", etc. are used to distinguish similar objects and not to describe or represent a specific order or sequence.
[0124] The term "comprising" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or device / equipment that comprises a series of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent in these processes, methods, articles, or devices / equipment.
[0125] So far, the technical solution of the present invention has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easily understood by those skilled in the art that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present invention.
Claims
1. A non-uniform gas-liquid two-phase metering method based on a fusion algorithm, characterized in that The method includes: Step S10, collecting raw data in the target pipeline through a multi-sensor module as input data; The input data includes the gas single-phase flow rate collected by a microwave sensor, the total gas-liquid flow rate collected by a differential pressure flowmeter, the temperature collected by a temperature sensor, and the pressure collected by a pressure sensor; Step S20, converting the input data through an A / D converter to obtain digital input data; Step S30, filtering and denoising the digital input data to obtain preprocessed input data; Step S40, extracting signal features from the preprocessed input data, and obtaining the low-frequency component of the preprocessed input data as the sensor measurement value; Step S50, performing fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain the standard state flow rate value; Step S60, based on the sensor measurement values, correcting the standard state flow rate value through a high-precision matrix data iterative transmission algorithm between the gas-liquid two-phase ratio measured by the microwave sensor and the differential pressure flowmeter to obtain the corrected gas-liquid two-phase flow rate value.
2. The non-uniform gas-liquid two-phase metering method based on a fusion algorithm according to claim 1, characterized in that The multi-module sensor specifically includes: A microwave sensor, a differential pressure flowmeter, a temperature sensor, and a pressure sensor.
3. A method for metering non-uniform gas-liquid two-phase based on a fusion algorithm according to claim 1, characterized in that The filtering and denoising specifically includes: Reducing the noise in the digital input data by filtering and time-domain smoothing the digital input data to obtain preprocessed input data.
4. A method for metering non-uniform gas-liquid two-phase based on a fusion algorithm according to claim 1, characterized in that The feature extraction specifically includes: Extracting the sensor measurement values, including the temperature value of the temperature sensor, the pressure value of the pressure sensor, the differential pressure value of the differential pressure flowmeter, and the dielectric constant value of the microwave sensor, respectively, through a low-frequency component extraction method and a moving average method.
5. A method for metering non-uniform gas-liquid two-phase based on a fusion algorithm according to claim 1, characterized in that The multi-source data fusion algorithm specifically includes: Combining the sensor measurement values with fluid physical property parameters and differential pressure flowmeter parameters, including gas-phase density, liquid-phase density, differential pressure flowmeter throttle geometry parameters, and differential pressure flowmeter outflow and flow expansion coefficients, substituting them into the single-phase working condition flow rate calculation formula, and performing fusion calculation to obtain the volume flow rate under the working condition, and calculating the volume flow rate under the obtained working condition through compensation, where the compensation is to convert it into standard conditions output according to the temperature collected by the temperature sensor and the pressure collected by the pressure sensor; The single-phase working condition flow rate calculation formula is: Among them, Q V represents the volumetric flow rate under operating conditions; C represents the discharge coefficient; ε represents the expansion coefficient of the flow stream; d represents the inner diameter of the throttling element; ΔP represents the pressure difference across the throttling element; ρ zs is the average density of the gas-liquid mixture; D represents the inner diameter of the measuring tube; β represents the ratio of the inner diameter of the throttling element to the inner diameter of the measuring tube 6. The non-uniform gas-liquid two-phase metering method based on a fusion algorithm according to claim 5, characterized in that The conversion into standard conditions output according to the temperature collected by the temperature sensor and the pressure collected by the pressure sensor specifically includes: The volume flow rate calculation formula under standard conditions is: Among them, Q V represents the volumetric flow rate under operating conditions; P a represents the local atmospheric pressure; P represents the gauge pressure measured by the pressure tapping holes of the flowmeter; P N represents the atmospheric pressure under standard conditions; T N represents the absolute temperature under standard conditions; T represents the absolute temperature of the fluid to be measured; Z N represents the compressibility factor of the gas under standard conditions; Z represents the compressibility factor of the gas under operating conditions.
7. A method for metering non-uniformly mixed gas-liquid two-phase based on a fusion algorithm according to claim 6, characterized in that The high-precision matrix data iterative transmission algorithm between the microwave sensor and the differential pressure flowmeter specifically includes: Calculating the gas-liquid two-phase ratio based on the dielectric constant of the mixed medium; where ε zs is the dielectric constant of the mixture, ε g is the dielectric constant of the gas phase, and ε1 is the dielectric constant of the liquid phase; The gas-liquid flow rate calculation formula is: Q1 = Q N × (1 - φ) Q g = Q N × φ Among them, Q N represents the total volume flow rate, Q1 represents the gas-phase flow rate, and Q g represents the liquid-phase flow rate; The average density ρ of the gas-liquid mixed flowing object zs , the formula is as follows: ρ zs = φρ g + (1 - φ)ρ1 Among them, ρ zs is the average density of the gas-liquid mixed flowing object, ρ g is the gas phase density, and ρ1 is the liquid phase density.
8. A gas-liquid two-phase metering system based on a fusion algorithm, characterized in that, The system includes a multi-sensor module, an A / D conversion module, a preprocessing module, a feature extraction module, a fusion calculation module, a data iteration module, and a result output module; The multi-sensor module is used to collect raw data in the target pipeline as input data; The A / D conversion module is used to convert the input data through an A / D converter to obtain digital input data; The preprocessing module is used to preprocess the digital input data to obtain preprocessed input data; A feature extraction module that extracts features from the preprocessed input data to obtain sensor measurement values; A fusion calculation module for performing fusion calculation on the sensor measurement values through a multi-source data fusion algorithm to obtain a standard state flow value; A high-precision matrix data iteration module between a microwave sensor and a differential pressure flowmeter, which is used to correct the standard state flow value based on the sensor measurement values through a high-precision matrix data iteration transmission algorithm between the microwave sensor and the differential pressure flowmeter to obtain a corrected gas-liquid two-phase flow value; A result output module for outputting the corrected gas-liquid two-phase flow value.
9. An electronic device, characterized in that, It includes: At least one processor; And A memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable by the processor, and the instructions are used to be executed by the processor to implement a non-uniformly mixed gas-liquid two-phase metering method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to be executed by the computer to implement a non-uniformly mixed gas-liquid two-phase metering method according to any one of claims 1-7.