A method and device for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation

By combining microwave, temperature and pressure sensors into a downhole intelligent production system, and using thermodynamic state calculations and a three-phase dielectric model, gas interference is eliminated through iterative solutions. This achieves high-precision measurement of downhole water cut under high gas-liquid ratio conditions, solving the problem of large errors in existing technologies and reducing system complexity and cost.

CN123109642APending Publication Date: 2026-11-17XIAN LUOKE ELECTRONICS SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611557938.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-09
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing downhole water cut measurement methods have large measurement errors under high gas-liquid ratio conditions, making accurate calculation difficult. Existing methods also suffer from problems such as radioactivity risks, high hardware complexity, and unstable calculation processes.

Method used

By employing microwave, temperature, and pressure sensors combined with a thermodynamic state calculation model and a three-phase mixed dielectric constant model, and eliminating gas interference through an iterative solution method, water content measurement under high gas-liquid ratio conditions is achieved.

Benefits of technology

High-precision water cut measurement was achieved under high gas-liquid ratio conditions, with the error controlled within ±2%, reducing system complexity and cost, adapting to complex downhole environments, and having strong applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123109642A_ABST
    Figure CN123109642A_ABST
Patent Text Reader

Abstract

This application discloses a method and device for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation. The method involves deploying microwave, temperature, and pressure measurement units downhole to simultaneously acquire various signals of the downhole fluid and obtain the initial equivalent dielectric constant affected by the gas phase. Using measured temperature, pressure, and crude oil composition, the gas phase volume fraction is calculated by correcting the equation of state. Based on pressure fluctuations, the fluid flow pattern is identified, and a three-phase mixture dielectric constant model incorporating the flow pattern influence is constructed. An iterative algorithm with regularization constraints is used to invert and obtain the compensated water cut. After convergence judgment, the results are output, and the calculated data is transmitted back to the surface monitoring system. This application does not use radioactive devices and relies on a physical model to achieve multi-condition adaptation, which can reduce the measurement interference caused by changes in the gas phase and flow pattern. The equipment is easy to modify and upgrade, making it suitable for online monitoring of downhole water cut in intelligent production systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of downhole production parameter monitoring technology for oilfield wells, and in particular to a method and device for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation. Background Technology

[0002] Water cut is a crucial parameter for assessing the production status of oil wells, and its calculation results directly support field operations such as reservoir analysis and production process adjustments. In most domestic oilfields, as production enters the mid-to-late stages, the proportion of gas-liquid components in downhole fluids increases, and fluid flow becomes more complex, posing significant challenges to online downhole water cut calculations. Current methods for downhole water cut calculation include microwave, X-ray, and conductivity methods. Microwave methods offer advantages such as non-invasive acquisition and fast response, and have been widely used in the field. However, free gas downhole alters the fluid's equivalent dielectric properties, causing significant deviations in microwave-based calculation results.

[0003] Existing methods for dealing with gas interference have their limitations. Radiation-based methods face practical obstacles related to radiation protection and approval processes. Density compensation methods are susceptible to gas phase interference, and downhole sensors lack long-term operational stability. Conductivity measurements are easily affected by formation water salinity. Some methods employing multi-sensor combinations with intelligent algorithms suffer from complex hardware configurations, rely heavily on extensive sample training, lack process traceability, and fail to establish a correlation between gas and measurement deviations at the level of fluid physics. There is a lack of field methods for calculating water cut in high gas-liquid ratio downhole environments that rely on conventional sensors and physical models to counteract gas phase interference. Summary of the Invention

[0004] To address the technical problems of existing microwave methods for measuring downhole water cut being significantly affected by gas content and exhibiting large measurement errors under high gas-liquid ratio conditions, this invention aims to provide a method and device for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation. This invention utilizes only three sensors: a microwave measurement unit, a temperature measurement unit, and a pressure measurement unit. By establishing a gas phase volume fraction calculation model based on a thermodynamic state calculation model, a three-phase mixed dielectric constant model based on the modified Bruggeman equation, and a water cut inversion model based on a regularized constraint iterative solution method, the influence of gas content on microwave water cut measurement is eliminated from a physical mechanism, achieving high-precision online measurement of downhole water cut under high gas-liquid ratio conditions.

[0005] To achieve the above objectives, in a first aspect, this application provides a method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation, comprising the following steps: S1. Install microwave measurement units, temperature measurement units and pressure measurement units downhole in the oil well to simultaneously collect microwave signals, temperature signals and pressure signals of the downhole fluid, and obtain the initial equivalent dielectric constant of the fluid affected by gas phase interference based on the microwave signals. S2. Based on the collected temperature and pressure signals, combined with the pre-calibrated crude oil component parameters, a thermodynamic state calculation model adapted to downhole high temperature and high pressure conditions is used to solve for the gas phase volume fraction of the downhole fluid. S3. Based on the gas phase volume fraction obtained in step S2, and combined with the dielectric constant parameters of the oil phase, water phase, and gas phase, a three-phase mixture dielectric constant model of oil-water-gas considering the influence of gas phase distribution morphology is constructed; the gas phase distribution morphology is characterized by pressure fluctuation signal characteristics. S4. Using the initial equivalent dielectric constant obtained in step S1 as input, and the gas phase volume fraction obtained in step S2 and the three-phase mixed dielectric constant model constructed in step S3 as constraints, establish the water content inversion equation, and use the iterative solution method with regularization constraints to obtain the compensated water content; apply physical value range constraints to the water content output by the iterative solution. S5. Perform convergence judgment: If the results of two adjacent iterations meet the preset convergence condition, output the current compensated moisture content as the final moisture content measurement result; if the convergence condition is not met, return to step S4 to continue iterating; if the iteration count reaches the preset maximum iteration count and still does not converge, output the latest iteration result and mark it as low confidence. S6. The final water cut measurement results, along with the corresponding timestamp, temperature data, and pressure data, are stored and uploaded to the ground monitoring system to complete the online monitoring of downhole water cut.

[0006] By relying on multiple types of downhole sensors to acquire multi-source signals, and combining thermodynamic state calculation models and multiphase dielectric models, iterative calculations can offset measurement interference caused by gas phase components. Downhole fluid water content can be calculated without adding special detection devices, and the calculation results can be transmitted back to the surface, adapting to the complex oil and gas coexistence working environment downhole.

[0007] In one embodiment, in step S1, the microwave measurement unit, temperature measurement unit, and pressure measurement unit share the same clock source to complete the synchronous triggering sampling of signals, and the sampling frequency is set to 10-50Hz; the microwave measurement unit is a microwave resonant cavity measurement unit, which obtains the initial equivalent dielectric constant by detecting the resonant cavity resonant frequency offset and the quality factor change. The formula for calculating the initial equivalent dielectric constant is:

[0008] In the formula: The initial equivalent dielectric constant; The reference dielectric constant; This is the cavity resonant frequency; This is the resonant frequency offset; This is the cavity quality factor; This represents the change in the quality factor. , These are the coefficients obtained through fitting the calibration experiment.

[0009] A unified time reference is used for various sensors to ensure time matching between signals from different sources. The equivalent dielectric parameters of the medium are obtained by converting the output signal of the resonant cavity, providing reliable input conditions for subsequent compensation calculations.

[0010] In one embodiment, the thermodynamic state calculation model in step S2 adopts a state equation modified by downhole high temperature and high pressure conditions. The modified state equation is either the modified Peng-Robinson state equation or the modified Soave-Redlich-Kwong state equation. Step S2 specifically includes the following sub-steps: S2.1 The modified Peng-Robinson equation of state is used to calculate the fugacity coefficients of each component of crude oil and to solve for the gas-liquid equilibrium constants of each component; a temperature correction term is introduced into the modified Peng-Robinson equation of state. For state equation parameters Perform high-temperature correction; S2.2 Substitute the total mole fraction of crude oil components and use the Rachford-Rice equation combined with Newton's iteration to solve for the mole fraction of the gas phase; S2.3. Based on the gas phase mole fraction, and combined with the gas phase density and liquid phase density output from the equation of state, calculate the gas phase volume fraction.

[0011] The equation of state was adapted to the high-temperature environment downhole, and iterative calculations were performed according to the phase equilibrium law of oil and gas components to obtain the proportion of gas phase inside the fluid, providing a calculation basis for eliminating the interference of gas on dielectric measurement.

[0012] In one embodiment, in step S3, a three-phase mixture dielectric constant model of oil-water-gas is constructed using the modified Bruggeman mixing equation. The model expression is as follows:

[0013] In the formula: The dielectric constant is a three-phase mixture. It is the gas phase permittivity; This refers to the volume fraction of the gas phase. The dielectric constant of the oil-water two-phase liquid mixture; Moisture content; This is a correction factor for the gas phase distribution morphology. Moisture content-gas phase distribution coupling correction function; The dielectric constant of the oil-water two-phase liquid mixture The dielectric constant of the oil phase and the dielectric constant of the water phase after temperature-salinity correction were solved using the Bruggeman equation. The dielectric constant of the water phase was obtained using the modified Hasted equation, and temperature-salinity compensation was performed using the pre-acquired formation water salinity and the real-time collected temperature. The coupling correction function: ; In the formula and The empirical coefficients obtained from the experimental calibration.

[0014] Establish the calculation relationship of dielectric properties of a medium under the coexistence of oil, water, and gas phases, while taking into account the changes in dielectric parameters caused by formation water mineralization and temperature, and incorporate the influence of gas phase dispersion state into the model calculation, so that the model can fit the actual dielectric performance of downhole multiphase fluids.

[0015] In one embodiment, the gas phase distribution morphology correction factor Calculation formula:

[0016] In the formula: The variance of the pressure signal within the sliding window; The average pressure signal within the sliding window; in accordance with Numerical range identification of downhole flow patterns: bubbly flow <0.005; Slug flow 0.005 ≤ <0.05; Circulating flow 0.05≤ <0.15; stirred flow ≥0.15; Based on the identified downhole flow pattern, a corresponding preset set of empirical coefficients is selected, and the coupling correction function is adjusted accordingly. empirical coefficients in , Make adaptive adjustments.

[0017] The fluid flow pattern is determined by directly utilizing the fluctuation characteristics of the pressure signal collected on-site. The internal calculation coefficients of the model are adjusted synchronously with the changes in the flow pattern to adapt to the differences in the gas phase dispersion state under various flow patterns in the well, thereby reducing the calculation deviation caused by changes in the flow pattern.

[0018] In one embodiment, the iterative solution in step S4 uses the Levenberg-Marquardt algorithm to construct the objective function with a regularization term:

[0019] In the formula: The objective function is... For regularization parameters; The results are from the previous iteration of moisture content; the initial values ​​for the moisture content inversion in the first iteration are set to 0.3-0.7. The Levenberg-Marquardt algorithm introduces a damping factor, and the partial derivatives of the Jacobian matrix are solved using the numerical difference method; when the iterative output moisture content exceeds the 0-1 interval, it is directly truncated to the boundary.

[0020] A target solution function adapted to this measurement scenario is constructed. Regularization is used to constrain the variation range of the iteration process, while limiting the physically feasible output range. This improves the stability of the equation solution process under multiphase conditions and reduces the occurrence of abnormal outputs during the iteration process.

[0021] In one embodiment, the convergence threshold in step S5 ranges from 0.001 to 0.005; the maximum number of iterations ranges from 20 to 50. Convergence is determined using the relative error criterion: ; In the formula: This is the convergence threshold; The moisture content for this iteration, This represents the moisture content from the previous iteration.

[0022] Setting an iteration stop condition can ensure that the calculation results meet the change range requirements, while also limiting the number of calculation loops, thus balancing the reliability of downhole field calculations with processing time.

[0023] In one embodiment, before calculating the gas phase volume fraction in step S2, a preprocessing step for temperature and pressure signals is included: the downhole flow pattern obtained by identifying the variance of the pressure fluctuation signal is dynamically selected to determine the length of the moving average filter window, with 5-10 sampling points for bubbly flow, 20-50 sampling points for slug flow, and 50-100 sampling points for annular flow and stirred flow; then, the 3σ criterion is used to remove signal outliers, and the outlier sampling points are replaced with the middle value of the window.

[0024] Adjusting the signal filtering scale according to the fluid flow state filters out signal disturbances and abnormal sampling points caused by the downhole environment, reduces noise interference transmitted to downstream calculation stages, and improves the stability of subsequent gas phase proportion calculation processes.

[0025] Secondly, this application also provides a water cut measurement device for a downhole intelligent production system under high gas-liquid ratio conditions based on multi-parameter compensation, used to realize the water cut measurement method of the first aspect, including a microwave measurement unit, a temperature measurement unit, a pressure measurement unit, and a clock synchronization unit integrated in the downhole measurement sub; it also includes a downhole data processing unit, a data storage and communication unit, and a surface monitoring system; The data processing unit includes a gas phase volume fraction calculation unit, a three-phase mixed dielectric constant model construction unit, a water content inversion unit, and a power supply module. The microwave measurement unit outputs the initial equivalent dielectric constant signal and sends it to the moisture content inversion unit; the temperature measurement unit outputs the temperature signal and the pressure measurement unit outputs the pressure signal and sends them to the gas phase volume fraction calculation unit and the three-phase mixed dielectric constant model construction unit, respectively. The gas phase volume fraction calculation unit outputs the gas phase volume fraction and sends it to the three-phase mixed dielectric constant model construction unit. The three-phase mixed dielectric constant model construction unit outputs model parameters, which are then fed into the moisture content inversion unit; the moisture content inversion unit outputs moisture content data, which is then sent to the data storage and communication unit; the data storage and communication unit is connected to the ground monitoring system. The downhole measurement sub casing is made of high-temperature and high-pressure resistant alloy steel, and the casing is equipped with a heat insulation layer and a pressure balancing mechanism. The two ends of the sub are equipped with tubing threads for connecting to the tubing string. The fluid channel runs through the sub. The temperature sensor is located upstream of the microwave resonant cavity, and the pressure sensor is located downstream of the microwave resonant cavity.

[0026] Various sensing components are integrated into a downhole sub that can be connected to the tubing. Each processing unit performs its respective task according to the signal flow sequence. The sensor arrangement reduces the interference of components on the flow field. The entire hardware can adapt to the high temperature and high pressure environment downhole, complete downhole signal acquisition and calculation, and transmit the results to the surface.

[0027] Furthermore, the microwave measurement unit is a cylindrical TM010 mode microwave resonant cavity sensor with gold plating on the inner wall of the resonant cavity; the temperature measurement unit uses a platinum resistance temperature sensor; the pressure measurement unit uses a quartz crystal pressure sensor; the data processing unit uses a downhole high-temperature resistant ARM microprocessor; and the data storage and communication unit includes a high-temperature resistant Flash memory and a downhole cable communication unit.

[0028] The system selects sensing and processing components that can withstand harsh downhole conditions to ensure the accuracy of sensing and data acquisition, enabling on-site downhole computation, local data storage, and wired data transmission, and is suitable for downhole operations where there are no ordinary industrial control equipment.

[0029] This application has the following advantages over the prior art: 1. This application uses only three types of sensors: microwave, temperature, and pressure. It does not require additional equipment such as gamma-ray sources and densitometers, thus avoiding the risk of radioactive contamination, reducing system complexity and cost, and improving the reliability and safety of downhole applications. The temperature and pressure sensors are all mature industrial devices with good long-term stability in the high-temperature and high-pressure environment downhole, ensuring system reliability at the hardware level.

[0030] 2. This application calculates the gas phase volume fraction by modifying the Peng-Robinson equation of state or the Soave-Redlich-Kwong equation of state, and establishes a physical quantitative relationship between temperature, pressure, and gas phase volume fraction based on thermodynamic phase equilibrium theory. Compared with empirical formulas and artificial intelligence black-box models, the gas phase volume fraction calculation of this invention has clear physical meaning and interpretability, good extrapolation performance under different reservoir conditions, and does not require retraining the model for each well.

[0031] 3. A modified Bruggeman three-phase mixed dielectric constant model is constructed, and an innovative gas phase distribution morphology correction factor is introduced. This factor is estimated based on the variance of the pressure fluctuation signal and can adaptively reflect the influence of gas phase distribution morphology on dielectric constant under various flow patterns such as bubbly flow, slug flow, annular flow, and stirred flow, thus broadening the applicable working conditions of the model and improving the calculation accuracy.

[0032] 4. The Levenberg-Marquardt algorithm with regularization terms is used to solve the water cut inversion problem. The regularization term can suppress iterative oscillations and set a physical boundary truncation for water cut. It maintains good convergence under high gas content and ill-conditioned equation conditions. Combined with convergence criteria and maximum number of iterations, it balances measurement accuracy and real-time downhole online calculation.

[0033] 5. This application is suitable for high gas-liquid ratio conditions of 50-500 standard cubic meters per cubic meter, temperature of 20-200℃, pressure of 1-60MPa, and water cut of 0-100% across the entire range. The overall measurement error is controlled within ±2%, which is far superior to the error of more than ±10% under high gas-liquid conditions by conventional microwave methods, thus meeting the accuracy requirements for online monitoring of water cut in intelligent oilfield production wells.

[0034] 6. The entire algorithm can be deployed in software. Existing microwave water content systems only need to be upgraded by adding temperature and pressure sensors and data processing units. The engineering transformation is simple, economical, and easy to promote and use on a large scale in oil fields. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a flowchart illustrating the water cut measurement method for a downhole intelligent production system under high gas-liquid ratio conditions based on multi-parameter compensation, as described in this application. Figure 2 The diagram shows the adaptive adjustment effect of the gas phase distribution morphology correction factor σ under different flow patterns in this application. Figure 3 This is a comparison curve of the measurement error of water content under different gas-liquid ratio conditions between the method of this application and the conventional microwave method. Detailed Implementation

[0037] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0038] In the description of this application, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0039] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation", "connection" and "joining" should be interpreted broadly, for example, they can refer to fixed connection, detachable connection, or integral connection; for those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.

[0040] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0041] In the description of this invention, it should be understood that the term "downhole" refers to the area below the surface within the wellbore of an oil well, and "high gas-liquid ratio condition" refers to a condition in which the gas-liquid ratio of the downhole fluid is greater than 50 standard cubic meters per cubic meter.

[0042] like Figure 1 As shown, this embodiment provides a downhole water cut measurement method based on multi-parameter compensation under high gas-liquid ratio conditions. This method is completed collaboratively by a microwave measurement unit, a temperature measurement unit, a pressure measurement unit, and a data processing unit integrated in the downhole measurement sub. Specifically, it includes the following steps S1 to S6.

[0043] Step S1: Synchronous acquisition of downhole multi-parameter signals A microwave measurement unit, a temperature measurement unit, and a pressure measurement unit are installed at the target depth in the oil well. The microwave water cut measurement unit uses a microwave resonant cavity sensor with a resonant frequency of 2.45 GHz. The resonant cavity adopts a cylindrical TM010 mode, and the cavity body is made of high-temperature resistant alloy steel with gold plating on the inner wall to reduce losses. The temperature measurement unit uses a PT1000 platinum resistance temperature sensor with a measurement accuracy of ±0.1℃ and a response time of less than 1 second. The pressure measurement unit uses a quartz crystal pressure sensor with a measurement accuracy of ±0.05%FS and a response time of less than 10 milliseconds. The sampling frequency of all three sensors is set to 20 Hz, and they are synchronously triggered by the same clock source to ensure signal time alignment.

[0044] The microwave measurement unit obtains the initial equivalent dielectric constant of the downhole fluid by detecting the resonant frequency shift Δf and the quality factor change ΔQ. Specifically, when a fluid flows through the resonant cavity, the fluid's dielectric properties cause a shift in the resonant frequency and a change in the quality factor; the relationship is obtained through pre-calibration experiments. Initial equivalent dielectric constant. The calculation formula is:

[0045] in, The reference dielectric constant is 1.0006 (in this embodiment, it is taken as 1.0006, which is the dielectric constant of air). This is the cavity resonant frequency (2.45 GHz in this embodiment). This is the cavity quality factor (3500 in this embodiment). and The coefficients obtained through calibration experiments (in this embodiment) = 1.85, = 0.42). The calibration experiment was conducted using a standard medium with a known dielectric constant (such as air, pure water, anhydrous ethanol, transformer oil, etc.), and the dielectric constant was obtained through least-squares fitting. and .

[0046] The initial equivalent dielectric constant obtained in this step This is the "apparent" dielectric constant influenced by the gas phase, not the true dielectric constant of the liquid phase. Under high gas-liquid ratio conditions, due to the presence of the gas phase, The dielectric constant will be significantly lower than that of the true liquid phase, which is the root cause of measurement errors in conventional microwave methods. Subsequent steps in this application will compensate for this effect using theoretical algorithms.

[0047] Step S2: Calculation of gas phase volume fraction based on equation of state Based on the temperature signal T and pressure signal P acquired in step S1, and combined with the crude oil composition parameters obtained in advance through laboratory PVT analysis, the modified Peng-Robinson equation of state is used to calculate the gas phase volume fraction of the downhole fluid. Specifically, it includes the following sub-steps S21 to S23.

[0048] Sub-step S21: Calculate the fugacity coefficients and gas-liquid equilibrium constants of each component i using the modified Peng-Robinson equation of state. The modified Peng-Robinson equation of state is in the form of:

[0049] Where P is pressure, T is temperature, R is the universal gas constant, V is molar volume, and a(T) and b are parameters of the equation of state. The expression for a(T) is:

[0050] in, and Let be the critical temperature and critical pressure of component i, respectively, and m be a function of the eccentricity factor ω, where m = 0.37464 + 1.54226ω - 0.26992ω. 2 This application modifies parameter a(T) for downhole high-temperature and high-pressure conditions by introducing a temperature correction term Δa(T):

[0051] in:

[0052] For reference temperature (e.g., 298.15K). and This is a correction factor calibrated through downhole high-temperature and high-pressure PVT experiments. In this embodiment, it is used for a crude oil sample from a certain oilfield. =2.3×10 -4 K -1 , =1.8×10 -7 K -2 This correction term effectively compensates for the impact of changes in intermolecular forces under high-temperature conditions on the accuracy of the equation of state.

[0053] Based on the modified Peng-Robinson equation of state, the fugacity coefficients of each component i are obtained through gas-liquid phase equilibrium calculations. Then, the gas-liquid phase equilibrium constant can be obtained. ,in and These represent the mole fractions of component i in the gas and liquid phases, respectively. In this embodiment, the crude oil component parameters include the mole fractions of components such as C1 (methane), C2 (ethane), C3 (propane), C4 (butane), C5+ (pentane and above heavy components), N2 (nitrogen), and CO2 (carbon dioxide).

[0054] Sub-step S22: Based on the crude oil composition parameters, solve for the gas phase mole fraction using the Rachford-Rice equation and the Newton-Raphson iteration method. The Rachford-Rice equation is:

[0055] in, Let N be the total mole fraction of component i, and N be the number of components. The equation is about... The nonlinear equations in this invention are solved using Newton's iteration method, with the initial value of the iteration taken as... = 0.5, the convergence condition is that the difference between two consecutive iterations is less than 10. -6 The iterative format of Newton's method is:

[0056] in Let Rachford-Rice equation be the left-hand side function. For its The derivative of .

[0057] Sub-step S23: Based on the gas phase mole fraction gas phase density and liquid phase density Calculate the gas phase volume fraction Gas phase density and liquid phase density The values ​​were obtained at the gas and liquid phase roots using the modified Peng-Robinson equation of state, respectively. Gas phase volume fraction. The calculation formula is:

[0058] In this embodiment, at a depth of 2000m in a certain oilfield well, the temperature T = 75℃ and the pressure P = 18MPa, the crude oil composition is mainly C1 (mole fraction 0.35), C2 (0.08), C3 (0.06), C4 (0.05), C5+ (0.42), N2 (0.01), and CO2 (0.03). The mole fraction of the gas phase is calculated. = 0.28, gas phase density = 145 kg / m 3 Liquid phase density =820 kg / m 3 gas phase volume fraction = 0.42. This result indicates that under these conditions, the gas phase volume fraction in the downhole fluid is as high as 42%, and conventional microwave methods will produce significant measurement errors.

[0059] Step S3: Construction of a three-phase mixed dielectric constant model Based on the gas phase volume fraction obtained in step S2 Combined with the oil phase dielectric constant water phase permittivity and gas phase permittivity A dielectric constant model for a three-phase mixture of oil, water, and gas is constructed. This application adopts a modified Bruggeman mixing equation and introduces a gas phase distribution morphology correction factor σ.

[0060] The classic Bruggeman mixing equation is applicable to two-phase homogeneous mixtures, but its accuracy is insufficient for three-phase heterogeneous mixtures where the gas phase exists as dispersed bubbles. This application modifies the classic Bruggeman equation; the modified three-phase mixing dielectric constant model is as follows:

[0061] in, The dielectric constant is a three-phase mixture. The gas phase permittivity is 1.0006 in this embodiment. It is the dielectric constant of the liquid phase mixture (obtained by mixing the oil phase and the water phase according to the water content). This refers to the gas phase volume fraction. Moisture content, This is a correction factor for the gas phase distribution morphology. This is a coupling correction function for water content and gas phase distribution.

[0062] Liquid phase mixing dielectric constant Based on the oil phase dielectric constant and water phase permittivity According to the Bruggeman equation, the following was obtained:

[0063] in, The dielectric constant of the oil phase is 2.3 (in this embodiment, it is taken as 2.3). The dielectric constant of the aqueous phase is 68.5 (in this embodiment, it is corrected for temperature and salinity). It should be noted that the dielectric constant of the aqueous phase... The value decreases with increasing temperature and with increasing mineralization. This application uses a modified Hasted equation to... Temperature and mineralization corrections were applied.

[0064] in, The temperature coefficient (taken as 3.5 × 10⁻⁶) -3 ℃ -1 ), The mineralization coefficient (taken as 1.2 × 10⁻⁶) -3 (g / L) -1 S represents the degree of mineralization (unit: g / L).

[0065] Coupling correction function The expression is:

[0066] in, and The empirical coefficients calibrated through experiments (in this embodiment) = 0.35, = 1.2), This is a correction factor for the gas phase distribution morphology. The physical meaning of this function is: when the water content... When the dielectric constant is close to 0 or 1, the gas phase distribution has a relatively small effect on the dielectric constant. Approaching 1; when moisture content When the value is in the middle range, the gas phase distribution pattern has a more significant impact on the dielectric constant. Deviation 1.

[0067] Gas phase distribution morphology correction factor The variance of the pressure fluctuation signal is estimated based on the downhole flow pattern. Specifically, the variance Var(P) of the pressure signal P(t) acquired in step S1 is calculated within a sliding window W:

[0068] in, This represents the average pressure within the window. Different flow patterns correspond to different values. Value range: bubbly flow <0.005, slug flow 0.005≤ <0.05, annular flow 0.05≤ <0.15, stirred flow ≥0.15. In this embodiment, it is calculated based on the pressure fluctuation signal. =0.018, identified as slug flow.

[0069] Step S4: Iterative solution for moisture content inversion like Figure 3 As shown, the initial equivalent dielectric constant obtained in step S1 is... As input, the gas phase volume fraction obtained in step S2 The three-phase mixed dielectric constant model constructed in step S3 To constrain this process, a moisture content inversion equation is established, and the compensated moisture content is obtained through iterative solution. Specifically, this includes the following sub-steps S41 to S43.

[0070] Sub-step S41: Establish equality constraints. The initial equivalent dielectric constant obtained in step S1 is used... The three-phase mixed dielectric constant model constructed in step S3 Establish equality constraints:

[0071] The physical meaning of this equation is: the initial equivalent dielectric constant obtained by the microwave sensor. It should be equal to the three-phase mixed dielectric constant model. The predicted value. Because Moisture content The nonlinear function (through the liquid phase dielectric constant) (indirect coupling), therefore this equation constitutes about The nonlinear equation.

[0072] Sub-step S42: Construct the objective function. Using water content... As the variable to be determined, the gas phase volume fraction Substituting the known quantities, we construct the objective function with a regularization term:

[0073] Where λ is the regularization parameter (0.01 in this embodiment). The result of the previous iteration (the first iteration took...) The role of regularization is to limit the variation range between adjacent iterations, prevent oscillations in the iteration process, and improve the stability of the algorithm under ill-conditioned problems.

[0074] Sub-step S43: Apply the Levenberg-Marquardt algorithm to the objective function. The Levenberg-Marquardt algorithm, a combination of the Gauss-Newton method and gradient descent, is used to minimize the solution. It offers advantages such as fast convergence and good stability. The iterative format is as follows:

[0075]

[0076] in, For residual vectors right Jacobian matrix, This is the damping factor (initial value is 0.001, adaptively adjusted according to the iteration results). The identity matrix. The Jacobian matrix. partial derivatives in Calculated using the numerical difference method.

[0077] In this embodiment, the initial equivalent dielectric constant = 18.6 (lower due to gas phase influence), gas phase volume fraction =0.42, gas phase distribution morphology correction factor = 0.018, converged after 8 iterations, and the compensated moisture content was obtained. = 0.72. However, if gas phase compensation is not considered, directly from... The water content obtained by the inversion was only 0.58, with an error as high as 0.14 (i.e. 14 percentage points), which fully demonstrates the effectiveness of the gas phase compensation in this application.

[0078] Step S5: Convergence assessment and result output The compensated moisture content obtained in step S4 is then evaluated for convergence. The convergence condition is that the relative value of the difference between two adjacent iterations is less than a preset convergence threshold. :

[0079] in, The value ranges from 0.001 to 0.005 (0.002 in this embodiment). When the convergence condition is met, the current compensated moisture content is output. This serves as the final moisture content measurement result. If the number of iterations exceeds the preset maximum number of iterations... (In this embodiment, we take 30) If the convergence is still not achieved, output the result of the most recent iteration and mark it as low-confidence data, which will be manually verified by the ground monitoring system.

[0080] In addition, this application also sets physical constraints to ensure the reasonableness of the output results: moisture content Must meet If during the iteration process If the value exceeds this range, it is truncated to the boundary value and the iteration continues.

[0081] Step S6: Data Storage and Upload The final water cut measurement result output in step S5 is packaged together with the corresponding timestamp, temperature T, and pressure P data, and uploaded to the surface monitoring system via downhole cable or wireless communication. The surface monitoring system stores, displays, and analyzes the received data to achieve real-time online monitoring of downhole water cut. In this embodiment, the data upload frequency is 1Hz, meaning one set of water cut measurement results and corresponding temperature and pressure data is uploaded every second.

[0082] The surface monitoring system also features historical data query, trend analysis, and anomaly alarm functions. When the water cut measurement results show abnormal fluctuations or exceed the preset range, the system automatically issues an alarm signal, prompting operators to verify the data. Simultaneously, the system supports comprehensive analysis of water cut data along with oil well production data and reservoir pressure data, providing data support for dynamic evaluation of oil well production and optimization of oil production processes.

[0083] The following explains the adaptive adjustment mechanism of the gas phase distribution morphology correction factor σ. For example... Figure 2 The figure shows the adaptive effect of the gas phase distribution morphology correction factor σ. The figure is divided into two parts: the upper part is a pressure waveform over time, with time on the horizontal axis and pressure on the vertical axis, and the time intervals corresponding to bubbly flow, slug flow, and annular flow are marked; the lower part is the adaptive output σ correction factor curve over time, with different values ​​for σ corresponding to different flow pattern intervals. As can be seen from the figure, the flow pattern of the downhole fluid changes with parameters such as the gas-liquid ratio, flow rate, and well inclination angle. The gas phase distribution morphology in the fluid differs significantly under different flow patterns, and the impact on the dielectric constant also varies. This application identifies the flow pattern through the statistical characteristics of the pressure fluctuation signal and adaptively adjusts σ according to different flow patterns.

[0084] Specifically, the variance of the pressure signal P(t) acquired in step S1 is calculated within a sliding window W (the window length is 100 sampling points, corresponding to 5 seconds of data). and mean The normalized pressure fluctuation index was obtained. The flow pattern can be identified based on the magnitude of σ: When σ < 0.005, it is bubbly flow, where the gas phase is uniformly distributed in the liquid phase as dispersed small bubbles. In this case, the gas phase has little influence on the permittivity, and σ takes a small value; when 0.005 ≤ σ < 0.05, it is slug flow, where the gas phase exists in the form of alternating large bubbles and liquid plugs, and the gas phase has a moderate influence on the permittivity; when 0.05 ≤ σ < 0.15, it is annular flow, where the gas phase forms a continuous gas core in the center of the pipe, and the liquid phase flows along the pipe wall in the form of a liquid film, and the gas phase has a significant influence on the permittivity; when σ ≥ 0.15, it is turbulent flow, with a chaotic flow pattern, and the gas phase has the greatest influence on the permittivity.

[0085] For different flow patterns, this application modifies the coupling correction function. The empirical coefficients α and β are adaptively adjusted. Specifically, α = 0.20 and β = 0.8 for bubbly flow; α = 0.35 and β = 1.2 for slug flow; α = 0.50 and β = 1.5 for annular flow; and α = 0.65 and β = 1.8 for stirred flow. This adaptive adjustment mechanism enables the three-phase mixing dielectric constant model of this application to accurately describe the dielectric properties under different flow patterns, further improving the accuracy of water cut measurement.

[0086] This embodiment was tested in a production well in an oilfield. The gas-liquid ratio of the well was 180 standard cubic meters per cubic meter, and the downhole flow pattern alternated between slug flow and annular flow. The test results showed that after adopting the adaptive adjustment mechanism, the water cut measurement error was reduced from ±3.2% under fixed parameter conditions to ±1.5%, and the measurement accuracy was significantly improved.

[0087] The following describes the preprocessing steps for temperature and pressure signals. Due to the complex flow patterns of downhole fluids, temperature and pressure signals often contain noise and outliers, which can affect the accuracy of calculations if used directly for gas volume fraction calculations. This application performs moving average filtering and outlier removal on both temperature and pressure signals.

[0088] The window length of the moving average filter is dynamically adjusted according to the downhole flow pattern. Specifically, the signal is relatively stable under bubbly flow conditions, and the window length is 5 to 10 sampling points; the signal fluctuates greatly under slug flow conditions, and the window length is 20 to 50 sampling points; the signal fluctuates violently under annular flow and turbulent flow conditions, and the window length is 50 to 100 sampling points. Flow pattern identification is based on the above method and determined according to the pressure fluctuation index σ.

[0089] Outlier removal employs a method based on the 3σ criterion. The mean μ and standard deviation s are calculated for the data within the sliding window. If the value of a sampling point deviates from the mean by more than 3s, it is identified as an outlier and replaced with the median within the window. This method effectively removes outliers caused by sporadic sensor noise and downhole transient disturbances, ensuring the stability of subsequent calculations.

[0090] This embodiment conducted a comparative experiment in an oil well in an oilfield, calculating water cut using both unprocessed and preprocessed data. The experimental results show that using preprocessed data reduced the standard deviation of the water cut measurement results from 0.025 to 0.012, significantly improving the stability and repeatability of the measurement results.

[0091] This application also provides a water cut measurement device for a downhole intelligent production system under high gas-liquid ratio conditions based on multi-parameter compensation, used to implement the above-mentioned water cut measurement method for a downhole intelligent production system under high gas-liquid ratio conditions based on multi-parameter compensation. It includes a microwave measurement unit, a temperature measurement unit, a pressure measurement unit, and a clock synchronization unit integrated in the downhole measurement sub; it also includes a downhole data processing unit, a data storage and communication unit, and a surface monitoring system. The data processing unit includes a gas phase volume fraction calculation unit, a three-phase mixed dielectric constant model construction unit, a water content inversion unit, and a power supply module. The microwave measurement unit outputs the initial equivalent dielectric constant signal, which is then sent to the moisture content inversion unit. The temperature measurement unit outputs a temperature signal, and the pressure measurement unit outputs a pressure signal, which are then sent to the gas phase volume fraction calculation unit and the three-phase mixed dielectric constant model construction unit, respectively. The gas phase volume fraction calculation unit outputs the gas phase volume fraction and sends it to the three-phase mixed dielectric constant model construction unit. The three-phase mixed dielectric constant model construction unit outputs model parameters, which are then fed into the moisture content inversion unit; the moisture content inversion unit outputs moisture content data, which is then sent to the data storage and communication unit; the data storage and communication unit is connected to the ground monitoring system. The downhole measurement sub casing is made of high-temperature and high-pressure resistant alloy steel, and the casing is equipped with a heat insulation layer and a pressure balancing mechanism. The two ends of the sub are equipped with tubing threads for connecting to the tubing string. The fluid channel runs through the sub. The temperature sensor is located upstream of the microwave resonant cavity, and the pressure sensor is located downstream of the microwave resonant cavity.

[0092] The microwave measurement unit is a cylindrical TM010 mode microwave resonant cavity sensor with gold plating on the inner wall of the resonant cavity; the temperature measurement unit uses a platinum resistance temperature sensor; the pressure measurement unit uses a quartz crystal pressure sensor; the data processing unit uses a downhole high-temperature resistant ARM microprocessor; and the data storage and communication unit includes a high-temperature resistant Flash memory and a downhole cable communication unit.

[0093] Specifically, the microwave measurement unit employs a microwave resonant cavity sensor with a resonant frequency of 2.45 GHz. The resonant cavity adopts a cylindrical TM010 design, and the cavity body is made of high-temperature resistant alloy steel with gold plating on the inner wall to reduce losses. The microwave measurement unit also includes components such as a microwave signal source, coupler, and detector, used to generate microwave signals, detect resonant signals, and extract the resonant frequency offset Δf and the quality factor change ΔQ.

[0094] The temperature measurement unit uses a PT1000 platinum resistance temperature sensor, with a measurement range of -50℃ to 250℃, a measurement accuracy of ±0.1℃, and a response time of less than 1 second. The temperature sensor is installed 10cm upstream of the microwave resonant cavity to ensure that the measured temperature is consistent with the temperature of the fluid flowing through the resonant cavity.

[0095] The pressure measurement unit uses a quartz crystal pressure sensor with a measurement range of 0 to 100 MPa, a measurement accuracy of ±0.05%FS, and a response time of less than 10 milliseconds. The pressure sensor is installed 10 cm downstream of the microwave resonant cavity to avoid interference from the pressure sensor on the flow field affecting the microwave measurement.

[0096] The data processing unit employs a downhole high-temperature resistant microprocessor (in this embodiment, an ARM Cortex-M7 core high-temperature resistant microprocessor with an operating temperature range of -40℃ to 175℃), which is connected to the microwave measurement unit, temperature measurement unit, and pressure measurement unit, respectively. The data processing unit includes a gas phase volume fraction calculation unit, a three-phase mixed dielectric constant model construction unit, and a water cut inversion unit. Each unit is stored in software form in the memory of the data processing unit.

[0097] The data storage and communication unit includes a downhole data storage unit (using a high-temperature resistant Flash memory with a capacity of 8GB) and a communication unit (using downhole cable communication with a communication rate of 115200bps). The data storage and communication unit stores the final water cut measurement results along with timestamps, temperature, and pressure data, and then uploads them to the surface monitoring system.

[0098] The microwave measurement unit, temperature measurement unit, and pressure measurement unit are integrated into the same downhole measurement sub. The measurement sub uses a high-temperature, high-pressure resistant alloy steel shell (in this embodiment, 17-4PH precipitation-hardening stainless steel) with an outer diameter of 36 mm, an inner diameter of 28 mm, a length of 1.2 m, and a pressure-bearing capacity of 70 MPa. A heat insulation layer (using aerogel insulation material with a thermal conductivity of less than 0.02 W / (m•K)) and a pressure balancing mechanism (using a piston-type pressure balancing mechanism) are installed between the shell and the sensor to ensure the normal operation of the sensor under the high-temperature and high-pressure environment downhole.

[0099] The measuring sub has standard tubing threads (2-7 / 8 inch EU threads in this embodiment) at both ends for easy connection to the production well tubing string. The measuring sub also has internal fluid channels with a diameter of 20 mm to ensure smooth fluid flow while preventing excessive pressure loss.

[0100] Working principle: This method relies on three types of acquisition components deployed downhole—microwave, temperature, and pressure—to simultaneously acquire field signals of multiphase fluids. Microwave resonance detection is used to obtain the equivalent dielectric parameters of the fluid affected by gas phase interference. Combining the measured temperature and pressure from the field with the pre-obtained crude oil composition, phase equilibrium calculations are performed using a modified thermodynamic equation of state to determine the gas phase ratio within the downhole fluid. The actual flow pattern of the downhole fluid is identified based on pressure signal fluctuation characteristics, and the influence of the flow pattern on medium distribution is introduced into the three-phase dielectric calculation model. Using the measured equivalent dielectric parameters as input, a solution equation is constructed by combining the gas phase ratio and the three-phase dielectric model. An iterative algorithm with regular constraints is used to back-calculate the water cut after removing gas phase interference. Iterative convergence criteria are set; once the criteria are met, the calculation results are output and uploaded to the surface monitoring terminal along with the field-acquired parameters. The entire process starts from the dielectric properties of the medium and the physical laws of oil-gas phase equilibrium, handles the calculation interference caused by the coexistence of oil, water, and vapor phases in the downhole, and completes online water cut calculation under downhole operating conditions.

[0101] To verify the technical effectiveness of this application, a field test was conducted in an oil well in an oilfield. The basic parameters of the test well were: well depth 2350m, downhole temperature 82℃, downhole pressure 21MPa, gas-liquid ratio 220 standard cubic meters / cubic meter, and crude oil density 856kg / m³. 3 The formation water salinity was 35 g / L. The water cut was measured simultaneously using the method described in this application and the conventional microwave method, with wellhead sampling and analysis results used as a benchmark for comparison.

[0102] like Figure 3The figure shows an error comparison curve, where the horizontal axis represents the gas-liquid ratio (in standard cubic meters per cubic meter), and the vertical axis represents the moisture content measurement error (in %). The two curves represent the conventional microwave method and the method of this application, respectively. The dashed line in the figure marks the ±2% error limit. The experimental results show that under the condition of a gas-liquid ratio of 50 standard cubic meters per cubic meter, the moisture content measurement error of the conventional microwave method is ±2.8%, while the measurement error of the method of this application is ±0.9%. At a gas-liquid ratio of 150 standard cubic meters per cubic meter... Under the condition of a gas-liquid ratio of 300 standard cubic meters per cubic meter, the measurement error of the conventional microwave method is ±6.5%, while the measurement error of the method in this application is ±1.4%. Under the condition of a gas-liquid ratio of 300 standard cubic meters per cubic meter, the measurement error of the conventional microwave method is ±12.3%, while the measurement error of the method in this application is ±1.8%. Under the condition of a gas-liquid ratio of 500 standard cubic meters per cubic meter, the measurement error of the conventional microwave method is ±18.6%, while the measurement error of the method in this application is ±2.0%. That is, the error of the conventional microwave method increases sharply with the increase of the gas-liquid ratio, while the error of the method in this application is stably controlled within ±2%.

[0103] The above experimental results fully demonstrate that the water cut measurement error of the method described in this application remains within ±2% under high gas-liquid ratio conditions, while the measurement error of the conventional microwave method increases sharply with the increase of the gas-liquid ratio. The method described in this application effectively eliminates the influence of gas content on microwave water cut measurement and significantly improves the measurement accuracy of downhole water cut under high gas-liquid ratio conditions.

[0104] Furthermore, the method described in this application exhibits good measurement accuracy across the entire water cut range (0% to 100%). In a full-range test conducted on an oil well in an oilfield, with water cuts of 10%, 30%, 50%, 70%, and 90%, the measurement errors of the method described in this application were ±1.2%, ±1.5%, ±1.6%, ±1.4%, and ±1.1%, respectively, all meeting the accuracy requirement of ±2%.

[0105] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation, characterized in that, Includes the following steps: S1. Install microwave measurement units, temperature measurement units and pressure measurement units downhole in the oil well to simultaneously collect microwave signals, temperature signals and pressure signals of the downhole fluid, and obtain the initial equivalent dielectric constant of the fluid affected by gas phase interference based on the microwave signals. S2. Based on the collected temperature and pressure signals, combined with the pre-calibrated crude oil component parameters, a thermodynamic state calculation model adapted to downhole high temperature and high pressure conditions is used to solve for the gas phase volume fraction of the downhole fluid. S3. Based on the gas phase volume fraction obtained in step S2, and combined with the dielectric constant parameters of the oil phase, water phase, and gas phase, a three-phase mixture dielectric constant model of oil-water-gas considering the influence of gas phase distribution morphology is constructed; the gas phase distribution morphology is characterized by pressure fluctuation signal characteristics. S4. Using the initial equivalent dielectric constant obtained in step S1 as input, and the gas phase volume fraction obtained in step S2 and the three-phase mixed dielectric constant model constructed in step S3 as constraints, establish the water content inversion equation, and use the iterative solution method with regularization constraints to obtain the compensated water content; apply physical value range constraints to the water content output by the iterative solution. S5. Perform convergence judgment: When the results of two adjacent iterations meet the preset convergence conditions, output the current compensated moisture content as the final moisture content measurement result. If the convergence condition is not met, return to step S4 to continue the iteration; If the iteration count reaches the preset maximum number of iterations and the convergence is still not achieved, output the result of the most recent iteration and mark it as low confidence. S6. The final water cut measurement results, along with the corresponding timestamp, temperature data, and pressure data, are stored and uploaded to the ground monitoring system to complete the online monitoring of downhole water cut.

2. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 1, characterized in that, In step S1, the microwave measurement unit, temperature measurement unit, and pressure measurement unit share the same clock source to complete signal synchronous triggering sampling, with the sampling frequency set to 10-50Hz. The microwave measurement unit is a microwave resonant cavity measurement unit, which obtains the initial equivalent dielectric constant by detecting the resonant cavity resonant frequency offset and quality factor change. The initial equivalent dielectric constant is calculated using the following formula: In the formula: The initial equivalent dielectric constant; The reference dielectric constant; This is the cavity resonant frequency; This is the resonant frequency offset; This is the cavity quality factor; This represents the change in the quality factor. , These are the coefficients obtained through fitting the calibration experiment.

3. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 1, characterized in that, The thermodynamic state calculation model described in step S2 adopts a state equation modified by downhole high temperature and high pressure conditions. The modified state equation is either the modified Peng-Robinson state equation or the modified Soave-Redlich-Kwong state equation. Step S2 specifically includes the following sub-steps: S2.1 The modified Peng-Robinson equation of state is used to calculate the fugacity coefficients of each component of crude oil and to solve for the gas-liquid equilibrium constants of each component; a temperature correction term is introduced into the modified Peng-Robinson equation of state. For state equation parameters Perform high-temperature correction; S2.2 Substitute the total mole fraction of crude oil components and use the Rachford-Rice equation combined with Newton's iteration to solve for the mole fraction of the gas phase; S2.

3. Based on the gas phase mole fraction, and combined with the gas phase density and liquid phase density output from the equation of state, calculate the gas phase volume fraction.

4. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 1, characterized in that, In step S3, a three-phase mixture dielectric constant model of oil-water-gas is constructed using the modified Bruggeman mixing equation. The model expression is as follows: In the formula: The dielectric constant is a three-phase mixture. It is the gas phase permittivity; This refers to the volume fraction of the gas phase. The dielectric constant of the oil-water two-phase liquid mixture; Moisture content; This is a correction factor for the gas phase distribution morphology. This is a moisture content-gas phase distribution coupling correction function; The dielectric constant of the oil-water two-phase liquid mixture The dielectric constant of the oil phase and the dielectric constant of the water phase after temperature-salinity correction were solved using the Bruggeman equation. The dielectric constant of the water phase was obtained using the modified Hasted equation, and temperature-salinity compensation was performed using the pre-acquired formation water salinity and the real-time collected temperature. The coupling correction function: ; In the formula and The empirical coefficients obtained from the experimental calibration.

5. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 4, characterized in that, The gas phase distribution morphology correction factor Calculation formula: In the formula: The variance of the pressure signal within the sliding window; The average pressure signal within the sliding window; in accordance with Numerical range identification of downhole flow patterns: bubbly flow <0.005; Slug flow 0.005 ≤ <0.05; Circulating flow 0.05≤ <0.15; stirred flow ≥0.15; Based on the identified downhole flow pattern, a corresponding preset set of empirical coefficients is selected, and the coupling correction function is adjusted accordingly. empirical coefficients in , Make adaptive adjustments.

6. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 1, characterized in that, In step S4, the Levenberg-Marquardt algorithm is used for iterative solution to construct the objective function with a regularization term: In the formula: The objective function is... For regularization parameters; The results are from the previous iteration of moisture content; the initial values ​​for the moisture content inversion in the first iteration are set to 0.3-0.

7. The Levenberg-Marquardt algorithm introduces a damping factor, and the partial derivatives of the Jacobian matrix are solved using the numerical difference method; when the iterative output moisture content exceeds the 0-1 interval, it is directly truncated to the boundary.

7. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 1, characterized in that, In step S5, the convergence threshold ranges from 0.001 to 0.005; the maximum number of iterations ranges from 20 to 50. Convergence is determined using the relative error criterion: ; In the formula: This is the convergence threshold; The moisture content for this iteration, This represents the moisture content from the previous iteration.

8. The method for measuring water cut under high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 1, characterized in that, Before calculating the gas phase volume fraction in step S2, there are also preprocessing steps for temperature and pressure signals: the downhole flow pattern obtained by identifying the variance of the pressure fluctuation signal is dynamically selected to determine the length of the moving average filter window. For bubbly flow, 5-10 sampling points are taken for the window; for slug flow, 20-50 sampling points are taken for the window; and for annular flow and stirred flow, 50-100 sampling points are taken for the window. Then, the 3σ criterion is used to remove signal outliers, and the outlier sampling points are replaced by the middle value of the window.

9. A water cut measurement device for a downhole intelligent production system under high gas-liquid ratio conditions based on multi-parameter compensation, used to implement the water cut measurement method for a downhole intelligent production system under high gas-liquid ratio conditions based on multi-parameter compensation as described in any one of claims 1-8, characterized in that, It includes a microwave measurement unit, a temperature measurement unit, a pressure measurement unit, and a clock synchronization unit integrated into the downhole measurement sub; it also includes a downhole data processing unit, a data storage and communication unit, and a surface monitoring system; The data processing unit includes a gas phase volume fraction calculation unit, a three-phase mixed dielectric constant model construction unit, a water content inversion unit, and a power supply module. The microwave measurement unit outputs the initial equivalent dielectric constant signal, which is then sent to the moisture content inversion unit. The temperature measurement unit outputs a temperature signal, and the pressure measurement unit outputs a pressure signal, which are then sent to the gas phase volume fraction calculation unit and the three-phase mixed dielectric constant model construction unit, respectively. The gas phase volume fraction calculation unit outputs the gas phase volume fraction and sends it to the three-phase mixed dielectric constant model construction unit. The three-phase mixed dielectric constant model construction unit outputs model parameters, which are then fed into the moisture content inversion unit; the moisture content inversion unit outputs moisture content data, which is then sent to the data storage and communication unit; the data storage and communication unit is connected to the ground monitoring system. The downhole measurement sub casing is made of high-temperature and high-pressure resistant alloy steel, and the casing is equipped with a heat insulation layer and a pressure balancing mechanism. The two ends of the sub are equipped with tubing threads for connecting to the tubing string. The fluid channel runs through the sub. The temperature sensor is located upstream of the microwave resonant cavity, and the pressure sensor is located downstream of the microwave resonant cavity.

10. The water cut measurement device for high gas-liquid ratio conditions in a downhole intelligent production system based on multi-parameter compensation according to claim 9, characterized in that, The microwave measurement unit is a cylindrical TM010 mode microwave resonant cavity sensor with gold-plated inner wall; the temperature measurement unit uses a platinum resistance temperature sensor; the pressure measurement unit uses a quartz crystal pressure sensor; the data processing unit uses a downhole high-temperature resistant ARM microprocessor; the data storage and communication unit includes a high-temperature resistant Flash memory and a downhole cable communication unit.