Method, device and equipment for determining instrument parameters of production logging flowmeter
By performing a Hough transform on the cross-plot of cable speed and turbine speed, the problem of insensitivity of friction coefficient and start-up speed results in the existing technology is solved, and more accurate and comprehensive determination of flow meter instrument parameters is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, the methods for determining the parameters of production well logging flowmeters are insensitive to friction coefficient and start-up speed results, and many possible results are missed during multi-point regression, resulting in incomplete and inaccurate calculations.
The Hough transform technique is used to process the intersection diagram of cable speed and turbine speed. By determining the curves of each point on the xoy plane in the Hough space, the slope and intercept of each straight line are calculated, thereby accurately determining the friction coefficient and starting speed.
It improves the accuracy and comprehensiveness of friction coefficient and start-up speed calculations, reduces omissions, and provides a more comprehensive and accurate method for determining flow meter instrument parameters.
Smart Images

Figure CN121854028A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of petroleum production technology, and more specifically, to a method, apparatus, and equipment for determining the parameters of a well logging flow meter. Background Technology
[0002] In the production process of oil and gas wells at home and abroad, in order to determine the flow velocity of fluid in the well, the production logging is generally used in a 4-up-4-down mode at different cable speeds. Then, the flow velocity of the fluid is calculated based on the cross-plot of the cable speed and the turbine rotation speed. When calculating the flow velocity of fluid in the well, first, a section of stable flow depth is selected and a scale point is chosen. Then, a cross-plot of the logging cable speed and the turbine rotation speed is made for calculation. There are two key parameters in the process of calculating the flow velocity of fluid: (1) the slope of the straight line on the cross-plot and (2) the intercept of the straight line on the cross-plot. The slope of the linear relationship between the cable speed and the turbine is related to the type of fluid, such as whether the fluid in the well is gas, oil, or water. Oil also has different viscosities, and water is divided into salt water and fresh water. In addition, turbine instruments vary in structure, such as full-bore turbines and online flow meters. Different instruments have different rotation speeds relative to different fluids. The slope is called the friction coefficient between the turbine and the fluid, or simply the friction coefficient, denoted as k. The intercept of the linear relationship between cable speed and turbine is also related to the type of fluid in the well and the instrument structure. The hydrostatic column intercept is called the turbine start-up speed, or cross-flow speed, or simply start-up speed, denoted as b. After calculating the friction coefficient and start-up speed of each layer, the fluid mobility velocity can be calculated. Then, based on the well diameter, it is converted into a flow rate curve. Then, based on the fluid PVT parameters, the fluid phase is divided using density, holdup, etc., and finally, a production profile is generated.
[0003] Regarding the calculation of fluid velocity, the commonly used method in the industry is the cross-plot method of cable velocity and turbine speed. In practice, the velocity of the logging cable and the speed of the turbine are read and plotted on a graph with cable velocity on the horizontal axis and turbine speed on the vertical axis. Then, a linear regression is performed based on multiple points to derive an equation, from which the friction coefficient and start-up speed can be calculated. If the velocity value of a particular logging run is abnormal, the regression process can be adjusted to remove that point and use other points for regression.
[0004] The method of plotting cable speed and turbine speed is simple and straightforward, and is widely used in the industry. However, this method has some inherent defects: (1) In the XY coordinate system, every two points can determine a straight line, and N points produce A straight line. Regressing multiple points to a single straight line misses many possible results. (2) This chart is based on the original well logging data. The slope of the straight line in the XY coordinate system changes very little, and the friction coefficient often changes slightly in actual application. Therefore, the two result parameters of friction coefficient and start-up speed used to display this chart are not sensitive. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a method, apparatus and equipment for determining the parameters of a well logging flow meter, in order to solve at least one of the above-mentioned technical problems.
[0006] Firstly, the technical solution of the present invention to solve the above-mentioned technical problems is as follows: a method for determining the parameters of a well logging flowmeter, the method comprising:
[0007] Obtain the cross plot of cable speed and turbine speed corresponding to the production logging, which describes the correlation between different cable speeds and their corresponding turbine speeds;
[0008] Perform a Hough transform on the intersection graph of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection graph in the Hough space. Each point represents a cable speed and the corresponding turbine speed in the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line to the first straight line and the x-axis. The first straight line is a straight line with a negative slope.
[0009] Based on the intersection points between the curves, determine the slope and intercept of each of the first straight lines on the xoy plane.
[0010] For each of the first straight lines, the starting speed and friction coefficient corresponding to the production logging are determined based on the slope and the intercept.
[0011] The beneficial effects of this invention are: by performing a Hough transform on the intersection graph of the cable speed and turbine speed, various curves are obtained. Based on the intersection points between the curves, the slope and intercept with the x-axis of each first straight line on the xoy plane can be determined. Based on the slope and intercept with the x-axis of each first straight line, all possible friction coefficients and starting speeds corresponding to the first straight lines can be included, reducing omissions and making the determined starting speed and friction coefficient more comprehensive and accurate.
[0012] Based on the above technical solution, the present invention can be further improved as follows.
[0013] Furthermore, the method also includes:
[0014] Based on all determined start-up speeds and friction coefficients, determine the instrument parameters of the flow meter for the production logging, the type of downhole fluid, and the fluid velocity for the production logging.
[0015] Furthermore, the step of performing a Hough transform on the intersection diagram of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection diagram in Hough space includes:
[0016] For each point on the xoy plane corresponding to the intersection of the cable speed and turbine speed graph, the curve corresponding to that point in the Hough space is determined by the tangent curve equation in the Hough space, wherein the tangent curve equation is:
[0017] ζ=x i +y i tanθ
[0018] Among them, (x i y i ) represents the coordinates of any point on the xoy plane corresponding to the intersection of cable speed and turbine speed, and θ represents the coordinates of point (x i y i ζ represents the angle between the perpendicular line to the first straight line and the x-axis, and ζ represents the coordinates of the intersection point of the first straight line and the x-axis.
[0019] Furthermore, the method also includes:
[0020] For each point on the xoy plane corresponding to the intersection diagram of the cable speed and turbine speed, obtain the coordinates of the intersection point of the first straight line containing that point and the x-axis of the xoy plane;
[0021] The equation of the tangent curve is determined based on the coordinates of each point on the xoy plane, the coordinates of the intersection points corresponding to each point, the first included angle corresponding to each point, and the first distance corresponding to each point.
[0022] Furthermore, for each of the first straight lines, determining the start-up speed and friction coefficient corresponding to the production logging based on the slope and the intercept includes:
[0023] For each of the first straight lines, the intercept of the first straight line with the x-axis of the xoy plane is determined as the starting speed;
[0024] For each of the first straight lines, the slope of the first straight line on the xoy plane is determined as the coefficient of friction.
[0025] Furthermore, the method also includes:
[0026] The coordinates of the target points corresponding to the target curves within the specified range in each of the curves are magnified and enhanced to obtain the enhanced coordinates of each target point.
[0027] The step of determining the slope and x-intercept of each of the first straight lines on the xoy plane based on the intersection points between the curves includes:
[0028] Based on the intersection points of the curves corresponding to each of the enhanced target points, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane are determined.
[0029] Secondly, in order to solve the above-mentioned technical problems, the present invention also provides a device for determining the parameters of a well logging flowmeter, the device comprising:
[0030] The acquisition module is used to acquire the cross plot of cable speed and turbine speed corresponding to production logging. The cross plot of cable speed and turbine speed describes the correlation between different cable speeds and their corresponding turbine speeds.
[0031] The Hough transform module is used to perform a Hough transform on the intersection graph of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection graph in the Hough space. Each point represents a cable speed and the corresponding turbine speed in the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line to the first straight line and the x-axis. The first straight line is a straight line with a negative slope.
[0032] The first determining module is used to determine the slope and intercept with the x-axis of each of the first straight lines on the xoy plane based on the intersection points between the curves.
[0033] The second determining module is used to determine the starting speed and friction coefficient corresponding to the production logging for each of the first straight lines, based on the slope and the intercept.
[0034] Thirdly, in order to solve the above-mentioned technical problems, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method for determining the parameters of the production logging flow meter instrument of the present application.
[0035] Fourthly, in order to solve the above-mentioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for determining the parameters of the production logging flow meter instrument of the present application.
[0036] Additional aspects and advantages of this application will be set forth in part in the description which follows, and will become apparent from the description or may be learned by practice of this application. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments of the present invention will be briefly introduced below.
[0038] Figure 1 A flowchart illustrating a method for determining the parameters of a well logging flowmeter according to an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of a raw production logging curve provided in one embodiment of the present invention;
[0040] Figure 3 This is a schematic diagram of the intersection of cable speed and turbine speed generated after selecting a scale point according to an embodiment of the present invention.
[0041] Figure 4 A schematic diagram of a Hough transform provided in one embodiment of the present invention;
[0042] Figure 5 A schematic diagram of a straight line l provided in one embodiment of the present invention;
[0043] Figure 6 A Hough transform diagram of a tangent curve where multiple points are not on the same straight line, provided as an embodiment of the present invention;
[0044] Figure 7 A Hough transform diagram of a tangent curve with multiple points on the same straight line is provided as an embodiment of the present invention;
[0045] Figure 8 A schematic diagram of an ideal hydrostatic column cable velocity measurement and turbine speed diagram provided for one embodiment of the present invention;
[0046] Figure 9 An embodiment of the present invention provides a method for... Figure 7 Calculation diagram of unreinforced friction coefficient and starting speed;
[0047] Figure 10 An embodiment of the present invention provides a method for... Figure 7 Calculation diagram of enhanced friction coefficient and starting speed;
[0048] Figure 11 This is a schematic diagram of a cross-section of cable speed measurement and turbine speed provided in one embodiment of the present invention;
[0049] Figure 12This is a schematic diagram of a friction coefficient and starting speed graph provided in one embodiment of the present invention;
[0050] Figure 13 A schematic diagram of a device for determining the parameters of a well logging flowmeter according to an embodiment of the present invention;
[0051] Figure 14 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation
[0052] The principles and features of the present invention are described below. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.
[0053] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will now be described with reference to the accompanying drawings.
[0054] The solution provided by this invention can be applied to any application scenario that requires determining the fluid velocity in production logging. The solution provided by this invention can be executed by any electronic device, such as a user's terminal device, including at least one of the following: smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, smart TV, or smart in-vehicle device.
[0055] This invention provides a possible implementation, such as... Figure 1 The diagram shows a flowchart of a method for determining the parameters of a well logging flowmeter. This method can be executed by any electronic device, such as a terminal device, or by both a terminal device and a server. For ease of description, the method provided in this embodiment will be described below using a terminal device as the execution subject. Figure 1 The flowchart shown indicates that the method may include the following steps:
[0056] S10, Obtain the cross plot of cable speed and turbine speed corresponding to the production logging, wherein the cross plot of cable speed and turbine speed describes the correlation between different cable speeds and the corresponding turbine speeds;
[0057] S20, perform a Hough transform on the intersection diagram of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection diagram in the Hough space. Each point represents a cable speed and the corresponding turbine speed in the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line of the first straight line and the x-axis. The first straight line is a straight line with a negative slope.
[0058] S30, based on the intersection points between the curves, determine the slope and intercept of each of the first straight lines on the xoy plane.
[0059] S40, for each of the first straight lines, determine the starting speed and friction coefficient corresponding to the production logging based on the slope and the intercept.
[0060] By using the method of the present invention, a Hough transform is performed on the intersection graph of the cable speed and turbine speed to obtain various curves. Based on the intersection points between the curves, the slope and intercept with the x-axis of each first straight line on the xoy plane can be determined. Based on the slope and intercept with the x-axis of each first straight line, all possible friction coefficients and starting speeds corresponding to the first straight lines can be included, reducing omissions and making the determined starting speed and friction coefficient more comprehensive and accurate.
[0061] The present invention will be further described below with reference to the following specific embodiments. In this embodiment, in order to deepen the understanding of the present application, the prior art will be further described first:
[0062] In oil and gas well production, to determine the fluid flow velocity within the production logging system, a typical method is to use a 4-up, 4-down logging pattern with different cable speeds. The fluid flow velocity is then calculated based on the cross-sectional diagram of the cable speed and turbine speed.
[0063] The original production logging curve record is as follows: Figure 2 As shown. Figure 2 From left to right, the first track shows the coupling CCL, gamma ray GR, and LPSD (4-up, 4-down cable velocity curves) for different measurement speeds. The second track shows the depth and perforation section. The third track contains auxiliary curves: temperature TEMP, pressure QP, holdup CWH, and density DENR. The fourth track shows the XCAL and YCAL curves for both X and Y wellbore diameters, and the CFS (4-up, 4-down turbine speed curves).
[0064] When calculating the flow velocity of fluid within a production well log, the process typically begins by selecting a depth segment where the flow is stable (when the fluid at the bottom of the well is stationary) and choosing a calibration point. The corresponding wireline velocity and turbine speed at this calibration point are then plotted on a cross-sectional graph of wireline velocity and turbine speed. (See also...) Figure 3 , Figure 3 The horizontal axis represents the cable speed, in meters per minute. The vertical axis represents the turbine speed, in revolutions per second.
[0065] In calculating the flow velocity of a fluid, there are two key parameters: (1) the slope of the straight line on the intersection graph of the cable speed and the turbine speed; and (2) the intercept of the straight line on the intersection graph of the cable speed and the turbine speed (intercept with the x-axis).
[0066] In this application, the slope is related to the type of fluid, such as whether the well contains gas, oil, or water. Oil also varies in viscosity, and water can be saline or fresh. Turbine instruments, depending on their structure, include full-bore turbines, online flow meters, and other instruments. Different instruments have different turbine speeds relative to different fluids. Therefore, the turbine speed and slope affect the fluid flow velocity.
[0067] The slope can also be referred to as the friction coefficient between the turbine and the fluid, or simply the friction coefficient. The intercept corresponding to the cable speed and turbine speed is also related to the type of fluid in the well and the structure of the turbine instrument; therefore, the intercept also affects the fluid flow velocity. In this application, the intercept can also be referred to as the turbine start-up speed or the crossing speed, or simply the start-up speed.
[0068] After calculating the friction coefficient and start-up speed of each layer, the fluid flow rate can be calculated. Then, based on the well diameter, it can be converted into a flow rate curve. Then, based on the fluid PVT parameters, the flow phase is divided using density, holdup, etc., and finally, a production profile is generated. Figure 4 From left to right: depth, gamma, scale layer, cable speed, turbine speed, fluid velocity and matching, density and matching, capacitance and matching, temperature, total output profile and single-layer output profile.
[0069] The process of calculating fluid velocity is currently widely used in the industry. Figure 3 The diagram illustrates the cross-plot method for cable speed and turbine speed. In practice, the cable speed and turbine speed are read from the logging cable and plotted on a graph with cable speed on the horizontal axis and turbine speed on the vertical axis. Then, a linear regression equation is derived from multiple points to calculate the friction coefficient and start-up speed. If a logging speed value is abnormally high, the regression process can be simplified by removing that point and using other points for regression.
[0070] The method of plotting cable speed and turbine speed is simple and straightforward, and is widely used in the industry. However, this method has some inherent defects: (1) In the XY coordinate system, every two points can determine a straight line, and N points produce A straight line. Regressing multiple points to a single straight line misses many possible results. (2) This chart is based on the original well logging data. The slope of the straight line in the XY coordinate system changes very little, and the friction coefficient often changes slightly in actual application. Therefore, this chart is not sensitive to the two result parameters of friction coefficient and start-up speed that are of concern in the processing.
[0071] To address these shortcomings, this application provides a method for determining the parameters of a production well logging flowmeter. The implementation process incorporates the principle of the Hough transform, converting the cross-plot of cable speed and turbine speed into a cross-plot of friction coefficient and start-up speed. For details on the principle of the Hough transform, please refer to the following:
[0072] See Figure 5 For a point (x) in xy space (the space containing the xoy coordinate system (a two-dimensional plane)) i ,y i Let ρ be the distance between the line l (the first line with a negative slope) passing through this point and the origin o, and let θ be the angle between the perpendicular line from line l and the x-axis. The coordinates of the intersection point of line l and the x-axis are (ζ, 0). Then the equation of the tangent curve can be derived:
[0073] ρ=x i cosθ+y i sinθ(1)
[0074] The coordinate system formed by using ρ and θ as variables is called Hough space.
[0075] According to the Hough transform theory, when many points in the xy space lie on a straight line, the equation of the tangent curve in the Hough space intersects at one point between 0 and π; otherwise, it intersects at many points.
[0076] Since the cross plot of cable velocity and turbine speed in production logging has a defined physical meaning related to ζ, the unconventional Hough transform equation can be used in this application scheme, as shown in the following tangent curve equation (2):
[0077] ζ=x i +y i tanθ (2)
[0078] Based on formula (2), the ζ-θ space of the Hough transform is formed.
[0079] As an example, Figure 6 and Figure 7The graphs show the characteristics of many points in the ζ-θ space, both those not on a straight line and those on a straight line. Figure 6 In this context, each point corresponds to a curve. If multiple curves do not intersect at a common point, then the points corresponding to the multiple curves are not on the same straight line. Figure 7 In this context, multiple curves share a common intersection point, and the points corresponding to each curve at that intersection point lie on the same straight line.
[0080] According to the equation of the tangent curve (2), the intersection point between each curve can be determined. Based on this intersection point, the slope and intercept of the corresponding straight line (the same straight line) in the xy space can be identified and calculated.
[0081] In this application, the starting speed b = ζ, and the formula for calculating the friction coefficient K is as follows:
[0082] K = -1 / tanθ (3)
[0083] Based on the above principles, in this embodiment, Figure 1 A method for determining the parameters of a well logging flow meter may include the following steps:
[0084] S10, Obtain the cross plot of cable speed and turbine speed corresponding to the production logging, wherein the cross plot of cable speed and turbine speed describes the correlation between different cable speeds and the corresponding turbine speeds;
[0085] The cross plot of cable velocity and turbine speed corresponding to production logging can be drawn based on existing technology. For example, multiple cable velocities and corresponding turbine speeds over a period of time can be acquired from the production logging data, including the cable velocity and turbine speed when the fluid is stable. Based on the acquired multiple cable velocities and corresponding turbine speeds (which can also be referred to as N raw measurement point data, where each raw measurement point data includes one cable velocity and one corresponding turbine speed), the above-mentioned cross plot of cable velocity and turbine speed can be drawn. The horizontal axis of this cross plot is the cable speed, and the vertical axis is the turbine speed. See details... Figure 3 The intersection diagram shown.
[0086] S20, perform Hough transformation on the intersection diagram of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection diagram in the Hough space. Each point represents a cable speed and the corresponding turbine speed of the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line of the first straight line and the x-axis.
[0087] Specifically, performing a Hough transform on the intersection diagram of cable speed and turbine speed based on the Hough transform principle described above essentially transforms each point on the xoy plane corresponding to the intersection diagram of cable speed and turbine speed from xy space to Hough space. Figure 3 The straight lines in the diagram are the first straight lines.
[0088] The specific conversion process is as follows:
[0089] For each point on the xoy plane corresponding to the intersection of the cable speed and turbine speed graph, the curve corresponding to that point in the Hough space is determined by the tangent curve equation in the Hough space, wherein the tangent curve equation is:
[0090] ζ=x i +y i tanθ
[0091] Among them, (x i y i ) represents the coordinates of any point on the xoy plane corresponding to the intersection of cable speed and turbine speed, and θ represents the coordinates of point (x i y i ζ represents the angle between the perpendicular line to the first straight line and the x-axis, and ζ represents the coordinates of the intersection point of the first straight line and the x-axis.
[0092] Each point in xy space corresponds to a curve in Hough space, which can be a curve passing through the origin.
[0093] Alternatively, the equation of the tangent curve can be determined in advance based on the following method:
[0094] For each point on the xoy plane corresponding to the intersection diagram of the cable speed and turbine speed, obtain the coordinates of the intersection point of the first straight line containing that point and the x-axis of the xoy plane;
[0095] The equation of the tangent curve is determined based on the coordinates of each point on the xoy plane, the coordinates of the intersection points corresponding to each point, the first included angle corresponding to each point, and the first distance corresponding to each point.
[0096] S30, based on the intersection points between the curves, determine the slope and intercept of each of the first straight lines on the xoy plane.
[0097] Based on the principle described above, when many points in the xy space lie on a straight line, the equation of the tangent curve in the Hough space intersects at one point between 0 and π; otherwise, it intersects at many points. Based on the intersection points between the curves, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane can be determined.
[0098] Specifically, one possible implementation of the above S30 is as follows:
[0099] Based on the tangent curve equation described above and the intersection points between each of the curves, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane are determined.
[0100] The intersection points between the various curves can be used as the (x) in the equation of the tangent curve. i ,y i If we know the coordinates of the intersection point of the first line and the x-axis, we can find the angle in the equation of the tangent curve, that is, the first angle between the perpendicular line of the first line and the first line. After obtaining the first angle between the perpendicular line of the first line and the first line, we can determine the slope and intercept of the first line on the xoy plane.
[0101] S40, for each of the first straight lines, determine the start-up speed and friction coefficient corresponding to the production logging based on the slope and the intercept;
[0102] Alternatively, one possible implementation of the above S40 is as follows:
[0103] S401, for each of the first straight lines, the intercept of the first straight line with the x-axis of the xoy plane is determined as the starting speed;
[0104] S402, for each of the first straight lines, the slope of the first straight line on the xoy plane is determined as the friction coefficient.
[0105] Optionally, in S402 above, the friction coefficient K can be determined based on the formula (3) described above, that is, based on the angle between the perpendicular line of the first straight line and the first straight line. In this case, θ in formula (3) is the angle between the perpendicular line of the first straight line and the first straight line.
[0106] In this application, the intersection diagram of cable speed and turbine speed can include original measurement point data of different formations. Each layer of original measurement point data includes multiple cable speeds and corresponding turbine speeds. Using the original measurement point data of each layer as the unit, the slope and intercept of the first straight line corresponding to each layer on the xoy plane can be determined. Thus, based on the slope and intercept of each layer, a start-up speed-friction coefficient chart corresponding to production logging can be drawn. This chart can show the relationship between different start-up speeds and corresponding friction coefficients corresponding to production logging.
[0107] After determining the starting speed and friction coefficient corresponding to each first straight line, the method further includes:
[0108] S50, based on all determined start-up speeds and friction coefficients, determine the instrument parameters of the flow meter for the production logging, the type of downhole fluid, and the fluid velocity for the production logging.
[0109] S50 can be implemented based on existing technologies, which will not be elaborated here.
[0110] Optionally, the method further includes:
[0111] The coordinates of the target points corresponding to the target curves within the specified range in each of the curves are magnified and enhanced to obtain the enhanced coordinates of each target point.
[0112] The specified range can be preset based on actual needs. When the data is within the specified range, the intersection of the corresponding target curves is within the specified range. Then, the data (coordinates of the target points corresponding to the target curves) within a certain effective range is enhanced, making the intersection of the curves clearer. Optionally, the specified range can be 0.18-0.25 on the horizontal axis and -2 to 2 on the vertical axis, with other parts being invalid.
[0113] One possible way to obtain the enhanced coordinates of the target points corresponding to the target curves within the specified range in each of the aforementioned curves is as follows:
[0114] For the coordinates (x, y) of the target point corresponding to any target curve within the specified range in each of the aforementioned curves. i y i Based on the preset enhancement point coordinates (x0, y0), the coordinates of the target point are magnified and enhanced to obtain the enhanced target point coordinates (x0, y0). i -x0)+(y i -y0).
[0115] Based on the enhanced target point coordinates (x) i -x0)+(y i -y0), the above tangent curve equation formula (2) can be expressed as formula (4):
[0116] ζ=(x i -x0)+(y i -y0)tanθ (4)
[0117] In S30, the slope and intercept of the second straight line on the xoy plane can be determined based on the above formula (4).
[0118] That is, in S30 above, based on the intersection points between the curves, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane are determined, including:
[0119] Based on the intersection points of the curves corresponding to each of the enhanced target points, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane are determined.
[0120] To better illustrate and understand the principle of the method provided by this invention, the following description uses an optional specific embodiment to illustrate the solution of this invention. It should be noted that the specific implementation of each step in this specific embodiment should not be construed as a limitation of the solution of this invention. Other implementations that can be conceived by those skilled in the art based on the principle of the solution provided by this invention should also be considered within the scope of protection of this invention.
[0121] As an example, the downfeed cable velocities for a well logging operation are 10, 20, 30, and 40 m / min, corresponding to turbine speeds of 2, 4, 6, and 8 rpm. The upfeed cable velocities are -10, -20, -30, and -40 m / min, corresponding to turbine speeds of -2, -4, -6, and -8 rpm. Conventionally, downfeed cable velocities are positive and upfeed cables are negative, and turbine rotation is positive in forward direction and negative in reverse. Traditional methods for determining flow velocities using upfeed and downfeed methods are as follows: Figure 8 As shown.
[0122] The friction coefficients for the upper and lower sides, determined by the regression calculation method in the existing technology, are 0.2 ((m / min) / (rpm)), and the starting speeds for the upper and lower sides are 0.5 m / min.
[0123] The original drawing produced using Hough is as follows Figure 9 As shown, the corresponding θ transformation range is -90 to 90, and the corresponding intercept b transformation range is -50 to 50.
[0124] Since the changes in starting speed and coefficient of friction generally fall within a certain range, values outside this range have no practical physical meaning. Therefore, the range on the graph needs to be narrowed. In this graph, the specified starting speed is -5 to 5, and the coefficient of friction is 0 to 0.6. Figure 10 As shown.
[0125] The significance of this on the existing cable speed-turbine speed cross-plot is that the slope and intercept of the multi-point regression curve are meaningful within a specified range; otherwise, the values are invalid.
[0126] As another example, the downfeed cable speeds for logging a single well are 10, 20, 30, and 40 m / min, corresponding to turbine speeds of 1.92, 3.87, 5.96, and 8.3 rpm. The upfeed cable speeds are -10, -20, -30, and -40 m / min, corresponding to turbine speeds of -1.88, -3.87, -5.99, and -8.2 rpm. The corresponding conventional display diagram (cross-plot of cable speed and turbine speed) is shown below. Figure 11 As shown, the calculated slopes are 0.2123 and 0.2108, respectively. The intercepts are 1.38 and -1.35, respectively. Traditional cable speed and turbine speed plots can only display one value from the regression.
[0127] The starting speed-friction coefficient graph (i.e., the starting speed-friction coefficient graph determined by the solution in this application) displayed using the proposed method is as follows: Figure 12 As shown in the graph, the horizontal axis represents the friction coefficient k, and the vertical axis represents the starting speed b, directly representing the desired parameter results. Figure 12 The above shows the slope and intercept generated at all two points, i.e., the starting speed and coefficient of friction calculated for each pair of points. Additionally, this... Figure 12 The regression results can be displayed as two solid dots. The specified friction coefficient range is 0-0.6, and a starting speed of -5 to 5 represents the normal friction coefficient range; other calculation results are meaningless. The measured data quality is R0. 2 =0.9995, better than the test data quality R. 2 =0.9983. It is not obvious on traditional graphs (intersection of cable speed and turbine speed), but the intersection points of the curves on the starting speed-friction coefficient graph are more concentrated on the upper side, so the graphical display is clearer.
[0128] Compared with the prior art, the solution of the present invention has the following advantages:
[0129] 1) Currently, most oilfields, both domestically and internationally, have entered the mid-to-late stages of development. Oilfield development, production, and dynamic monitoring all require digital processing and interpretation of production logging data. However, each well is currently being processed using outdated methods. A more advanced chart and efficient tool could be provided based on the start-up speed-friction coefficient chart determination scheme presented in this application. Given that domestic oilfields process at least 1000 wells annually, the demand for this scheme as a tool is substantial.
[0130] 2) After adopting the solution of this application, the parameters of the original data need to be directly displayed, eliminating the intermediate calculation process, so that the slope and intercept of the curve can be directly read.
[0131] 3) Existing methods can only obtain one linear regression result, while the start-up speed-friction coefficient graph displays all possible results. Moreover, the new graph (the start-up speed-friction coefficient graph determined by this application) can display the regression parameters, thus being compatible with the old method.
[0132] 4) You can set a specified slope and intercept range, and zoom in to display the data results within that range.
[0133] 5) The concentration of data points can be used for quality monitoring, so this new chart can be used for graphical analysis and display of quality.
[0134] Based on and Figure 1 Using the same principle as the method shown, this embodiment of the invention also provides a device 20 for determining the parameters of a well logging flowmeter, such as... Figure 13 As shown, the device 20 for determining the parameters of the production well logging flowmeter may include an acquisition module 210, a Hough transformation module 220, a first determination module 230, and a second determination module 240, wherein:
[0135] The acquisition module 210 is used to acquire the cross plot of cable speed and turbine speed corresponding to the production logging, wherein the cross plot of cable speed and turbine speed describes the correlation between different cable speeds and corresponding turbine speeds;
[0136] Hough transformation module 220 is used to perform Hough transformation on the intersection diagram of cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection diagram in Hough space. Each point represents a cable speed and the corresponding turbine speed of the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line of the first straight line and the x-axis. The first straight line is a straight line with a negative slope.
[0137] The first determining module 230 is used to determine the slope and intercept with the x-axis of each of the first straight lines on the xoy plane based on the intersection points between the curves.
[0138] The second determining module 240 is used to determine the starting speed and friction coefficient corresponding to the production logging for each of the first straight lines, based on the slope and the intercept.
[0139] Optionally, the device further includes:
[0140] The post-processing module is used to determine the instrument parameters of the flow meter for the production logging, the type of downhole fluid, and the fluid velocity for the production logging based on all the determined start-up speeds and friction coefficients.
[0141] Optionally, when the Hough transform module 220 performs a Hough transform on the intersection diagram of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection diagram in Hough space, it is specifically used for:
[0142] For each point on the xoy plane corresponding to the intersection of the cable speed and turbine speed graph, the curve corresponding to that point in the Hough space is determined by the tangent curve equation in the Hough space, wherein the tangent curve equation is:
[0143] ζ=x i +y i tanθ
[0144] Among them, (x i y i ) represents the coordinates of any point on the xoy plane corresponding to the intersection of cable speed and turbine speed, and θ represents the coordinates of point (x i y i ζ represents the angle between the perpendicular line to the first straight line and the x-axis, and ζ represents the coordinates of the intersection point of the first straight line and the x-axis.
[0145] Optionally, the device further includes:
[0146] The equation determination module is used to obtain the coordinates of the intersection point of the first straight line containing the point and the x-axis of the xoy plane for each point on the xoy plane corresponding to the intersection diagram of the cable speed and the turbine speed; and to determine the equation of the tangent curve based on the coordinates of each point on the xoy plane, the coordinates of the intersection point corresponding to each point, the first included angle corresponding to each point, and the first distance corresponding to each point.
[0147] Optionally, for each of the first straight lines, when the second determining module 240 determines the start-up speed and friction coefficient corresponding to the production logging based on the slope and the intercept, it is specifically used for:
[0148] For each of the first straight lines, the intercept of the first straight line with the x-axis of the xoy plane is determined as the starting speed;
[0149] For each of the first straight lines, the slope of the first straight line on the xoy plane is determined as the coefficient of friction.
[0150] Optionally, the device further includes:
[0151] The magnification and enhancement processing module is used to magnify and enhance the coordinates of the target points corresponding to the target curves within a specified range in each of the curves, so as to obtain the enhanced coordinates of each target point.
[0152] The first determining module 230 determines the slope and x-intercept of each of the first straight lines on the xoy plane based on the intersection points between the curves, specifically for:
[0153] Based on the intersection points of the curves corresponding to each of the enhanced target points, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane are determined.
[0154] The device for determining the parameters of a production logging flowmeter in this embodiment of the invention can execute the method for determining the parameters of a production logging flowmeter provided in this embodiment of the invention. The implementation principle is similar. The actions performed by each module and unit in the device for determining the parameters of a production logging flowmeter in each embodiment of the invention correspond to the steps in the method for determining the parameters of a production logging flowmeter in each embodiment of the invention. For a detailed functional description of each module of the device for determining the parameters of a production logging flowmeter, please refer to the description in the corresponding method for determining the parameters of a production logging flowmeter shown above, which will not be repeated here.
[0155] The device for determining the parameters of the production well logging flowmeter can be a computer program (including program code) running on a computer device, such as an application software; the device can be used to execute the corresponding steps in the method provided in the embodiments of the present invention.
[0156] In some embodiments, the device for determining the parameters of a production logging flowmeter provided in this invention can be implemented using a combination of hardware and software. As an example, the device for determining the parameters of a production logging flowmeter provided in this invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the method for determining the parameters of a production logging flowmeter provided in this invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0157] In other embodiments, the device for determining the parameters of a production logging flowmeter provided in this invention can be implemented in software. Figure 13 A device for determining the parameters of a production well logging flowmeter stored in a memory is shown. It can be software in the form of programs and plug-ins, and includes a series of modules, including an acquisition module 210, a Hough transformation module 220, a first determination module 230, and a second determination module 240, for implementing the method for determining the parameters of a production well logging flowmeter provided in the embodiments of the present invention.
[0158] The modules described in the embodiments of the present invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.
[0159] Based on the same principles as the methods shown in the embodiments of the present invention, the embodiments of the present invention also provide an electronic device, which may include, but is not limited to: a processor and a memory; the memory for storing computer programs; and the processor for executing the methods shown in any embodiment of the present invention by invoking the computer programs.
[0160] In one alternative embodiment, an electronic device is provided, such as Figure 14 As shown, Figure 14 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.
[0161] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 4001 may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0162] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 14 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0163] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0164] The memory 4003 stores the application code (computer program) for executing the present invention, and its execution is controlled by the processor 4001. The processor 4001 executes the application code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0165] Among these, electronic devices can also be terminal devices. Figure 14 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0166] This invention provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments.
[0167] According to another aspect of the present invention, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various embodiments described above.
[0168] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages—such as Java, Smalltalk, and C++—and 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, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0169] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0170] The computer-readable storage medium provided in this invention can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0171] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0172] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
Claims
1. A method for determining the parameters of a well logging flowmeter, characterized in that, Includes the following steps: Obtain the cross plot of cable speed and turbine speed corresponding to the production logging, which describes the correlation between different cable speeds and their corresponding turbine speeds; Perform a Hough transform on the intersection graph of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection graph in the Hough space. Each point represents a cable speed and the corresponding turbine speed in the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line to the first straight line and the x-axis. The first straight line is a straight line with a negative slope. Based on the intersection points between the curves, determine the slope and intercept of each of the first straight lines on the xoy plane. For each of the first straight lines, the starting speed and friction coefficient corresponding to the production logging are determined based on the slope and the intercept.
2. The method according to claim 1, characterized in that, The method further includes: Based on all determined start-up speeds and friction coefficients, determine the instrument parameters of the flow meter for the production logging, the type of downhole fluid, and the fluid velocity for the production logging.
3. The method according to claim 1, characterized in that, The step of performing a Hough transform on the intersection graph of the cable speed and turbine speed to obtain the curves in Hough space corresponding to each point on the xoy plane of the intersection graph, includes: For each point on the xoy plane corresponding to the intersection of the cable speed and turbine speed graph, the curve corresponding to that point in the Hough space is determined by the tangent curve equation in the Hough space, wherein the tangent curve equation is: ζ=x i +y i tanθ Among them, (x i y i ) represents the coordinates of any point on the xoy plane corresponding to the intersection of cable speed and turbine speed, and θ represents the coordinates of point (x i y i ζ represents the angle between the perpendicular line to the first straight line and the x-axis, and ζ represents the coordinates of the intersection point of the first straight line and the x-axis.
4. The method according to claim 3, characterized in that, The method further includes: For each point on the xoy plane corresponding to the intersection diagram of the cable speed and turbine speed, obtain the coordinates of the intersection point of the first straight line containing that point and the x-axis of the xoy plane; The equation of the tangent curve is determined based on the coordinates of each point on the xoy plane, the coordinates of the intersection points corresponding to each point, the first included angle corresponding to each point, and the first distance corresponding to each point.
5. The method according to any one of claims 1 to 4, characterized in that, For each of the first straight lines, determining the start-up speed and friction coefficient corresponding to the production logging based on the slope and the intercept includes: For each of the first straight lines, the intercept of the first straight line with the x-axis of the xoy plane is determined as the starting speed; For each of the first straight lines, the slope of the first straight line on the xoy plane is determined as the coefficient of friction.
6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The coordinates of the target points corresponding to the target curves within the specified range in each of the curves are magnified and enhanced to obtain the enhanced coordinates of each target point. The step of determining the slope and x-intercept of each of the first straight lines on the xoy plane based on the intersection points between the curves includes: Based on the intersection points of the curves corresponding to each of the enhanced target points, the slope and intercept with the x-axis of each of the first straight lines on the xoy plane are determined.
7. A device for determining the parameters of a well logging flowmeter, characterized in that, include: The acquisition module is used to acquire the cross plot of cable speed and turbine speed corresponding to production logging. The cross plot of cable speed and turbine speed describes the correlation between different cable speeds and their corresponding turbine speeds. The Hough transform module is used to perform a Hough transform on the intersection graph of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane of the intersection graph in the Hough space. Each point represents a cable speed and the corresponding turbine speed in the production logging. The Hough space is a coordinate system corresponding to a first distance and a first angle. The first distance is the distance between the first straight line containing any point on the xoy plane and the origin. The first angle is the angle between the perpendicular line to the first straight line and the x-axis. The first straight line is a straight line with a negative slope. The first determining module is used to determine the slope and intercept with the x-axis of each of the first straight lines on the xoy plane based on the intersection points between the curves. The second determining module is used to determine the starting speed and friction coefficient corresponding to the production logging for each of the first straight lines, based on the slope and the intercept.
8. The apparatus according to claim 7, characterized in that, The Hough transform module, when performing a Hough transform on the intersection graph of the cable speed and turbine speed to obtain the curves corresponding to each point on the xoy plane in the Hough space, is specifically used for: For each point on the xoy plane corresponding to the intersection of the cable speed and turbine speed graph, the curve corresponding to that point in the Hough space is determined by the tangent curve equation in the Hough space, wherein the tangent curve equation is: ζ=x i +y i tanθ Among them, (x i y i ) represents the coordinates of any point on the xoy plane corresponding to the intersection of cable speed and turbine speed, and θ represents the coordinates of point (x i y i ζ represents the angle between the perpendicular line to the first straight line and the x-axis, and ζ represents the coordinates of the intersection point of the first straight line and the x-axis.
9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method of any one of claims 1-6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1-6.