Judgment method for pump collision working condition of oil well

By establishing a two-dimensional coordinate system and calculating the load value of the intersection point, the performance diagram analysis is simplified, and the problem of large amount of calculation in the judgment of oil well bump pump working conditions is solved, and fast and accurate diagnosis is achieved, which is suitable for cloud-based and resource-limited systems.

CN120273699APending Publication Date: 2025-07-08PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410030295.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-08
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the prior art, it is determined that the calculation amount is large when the oil well hits the pump working condition and is not suitable for real-time batch calculation, resulting in low processing efficiency.

Method used

By extracting the load and displacement in the work diagram data, establishing a two-dimensional coordinate system, separating the upper and lower stroke data, constructing line segments and straight lines, calculating the load value of the intersection point, judging the working condition of the bump pump, simplifying it into geometric feature analysis, and avoiding image processing.

Benefits of technology

It realizes fast and accurate diagnosis of oil well bump pump conditions, suitable for cloud and limited resources systems, small calculation volume and wide application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120273699A_ABST
    Figure CN120273699A_ABST
Patent Text Reader

Abstract

The invention discloses an oil well pump collision working condition judgment method which is specifically implemented according to the following steps: extracting load and displacement in indicator diagram data, and establishing a two-dimensional coordinate system; storing upstroke data of the indicator diagram acquisition data as a first data set, and storing downstroke data of the indicator diagram acquisition data as a second data set in an inverted sequence; based on the two-dimensional coordinate system, sequentially selecting two points from the first data set, determining a displacement interval and constructing a line segment, sequentially selecting one point from the second data set, determining a straight line in the displacement interval, constructing a straight line, and calculating a cross point load of the line segment and the straight line; and judging the load value of the cross point and the load value of the selected point, if the load value is smaller than or equal to the load value, pump collision occurs, and if the load value is larger than the load value, repeating the step 3 until the first data group is completely selected, and determining that the working condition is normal and pump collision does not occur. According to the judgment method, the problem that in the prior art, when the pump collision working condition is judged according to an indicator diagram through pattern recognition, the calculated amount is large is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of oil well working condition diagnosis, and particularly relates to a method for judging the pumping collision working condition of an oil well. Background Art

[0002] Rod pumping of pumping wells is a common method in current oilfield development. The management level of pumping wells is related to the overall economic efficiency of the oilfield. The polished rod dynamometer card of an oil well is the main means to understand the working conditions of the downhole tubing, rod, and pump of a rod pumping unit. The working condition diagnosis method based on the dynamometer card of the oil well is a common method for judging the daily operation status of a pumping well. Timely discovering production wells with abnormal operation plays an extremely important role in maintaining daily production.

[0003] Currently, generally, a dynamometer card data is collected at a fixed time interval according to needs at the well site. Each dynamometer card data contains a set of data points, and one of the points contains load and displacement information. The dynamometer card data of the oil well is an important evaluation basis for the working conditions of the pumping well. According to the shape characteristics of the dynamometer card, the working conditions of the oil well can be quickly identified, especially for working conditions that seriously affect production, which can play a timely warning role.

[0004] Due to reasons such as the installation of a short rod joint, too small a stroke prevention distance, or the card or looseness of the polished rod, pumping collision may occur. If not dealt with in time, it will affect production to a lesser extent and may cause damage to the equipment of the pumping well in severe cases. The pumping collision working condition is graphically manifested as a crossover in the up and down strokes, and the dynamometer card shows torsion. The existing processing method is to use the method of graphic recognition and convolutional neural network processing, but it requires preparing sample training in advance, has a large amount of calculation, takes a long time, and is not suitable for application in real-time batch centralized calculation mode. Summary of the Invention

[0005] The purpose of the present invention is to provide a method for judging the pumping collision working condition of an oil well, which solves the problem of large calculation amount when using graphic recognition to judge the pumping collision working condition according to the dynamometer card in the prior art.

[0006] The technical solution of the present invention is that the method for judging the pumping collision working condition of an oil well is specifically implemented according to the following steps:

[0007] Step 1: Extract the load and displacement in the dynamometer card data and establish a two-dimensional coordinate system;

[0008] Step 2: Store the up-stroke data of the dynamometer card acquisition data as the first data group, and store the down-stroke data in reverse order as the second data group;

[0009] Step 3: Based on the two-dimensional coordinate system in Step 1, sequentially select two points from the first data group, determine the displacement interval and construct a line segment, sequentially take one point from the second data group, confirm that it is within the displacement interval, construct a straight line, and calculate the load at the intersection point of the line segment and the straight line;

[0010] Step 4: Compare the intersection point load value in Step 3 with the load value at the selected point. If it is less than or equal, then pump bumping occurs. If it is greater, repeat Step 3 until all the first data set is selected, which is the normal condition and no pump bumping occurs.

[0011] The features of the present invention also lie in that

[0012] In Step 1, the dynamometer card data has 200 data points.

[0013] In Step 1, the x-axis of the two-dimensional coordinate system is displacement and the y-axis is load.

[0014] In Step 2, the first data set is 100 stroke data from the bottom dead center of the pumping unit running upward to the top dead center, and the second data set is 100 stroke data from the top dead center of the pumping unit running downward to the bottom dead center.

[0015] Step 3 is specifically implemented according to the following steps:

[0016] Step 3.1: Based on the two-dimensional coordinate system in Step 1, select two points in sequence starting from the first point in the first data set. Construct a line segment with the displacement and load data of these two points as endpoints, and determine the displacement interval of the two points.

[0017] Step 3.2: Select one point in sequence starting from the first point in the second data set, and query whether the displacement value of this point is within the displacement interval in Step 3.1. If it is, proceed to Step 3.3. If not, continue to select the next point to the right.

[0018] Step 3.3: Construct a straight line with this point, and calculate the intersection point load of the line segment and the straight line. The calculation formula is

[0019]

[0020] where, F A is the intersection point load, F A2 is the load at the end point of the line segment, F A1 is the load at the starting point of the line segment, S A2 is the displacement at the end point of the line segment, S A1 is the displacement at the starting point of the line segment, S Bn is the displacement where the straight line is located.

[0021] In Step 3.1, the starting point of constructing the line segment is the end point of the previous line segment.

[0022] In Step 3.2, if all points in the second data set are not within the displacement interval in Step 3.1, directly return to Step 3.1 to construct the next line segment.

[0023] The beneficial effects of the present invention are:

[0024] 1. The judgment method of the present invention is based on the discrete data collected by the existing dynamometer card, and according to the graphic geometric characteristics of the working conditions, under normal working conditions, at the same position, the load in the upstroke is greater than that in the downstroke; in the case of a pump bumping condition, at the same position, the load in the downstroke is greater than that in the upstroke; dynamically select the indicated work Figure 3 a number of data points, construct 1 line segment and 1 straight line, and make a judgment through the displacement and load of the intersection point of the two, solve the diagnosis of the pump bumping condition in the oil well, and compared with the graphic method, there is no need for image processing and data extraction, and the processing flow is simple;

[0025] 2. The judgment method of the present invention directly uses the collected data for calculation, with extremely small calculation amount, very suitable for real-time calculation, good calculation accuracy and consistency, and good result repeatability;

[0026] 3. The judgment method of the present invention is not only suitable for unified and rapid calculation of the upper computer with sufficient cloud resources, but also more suitable for transplantation to systems with limited resources, such as edge computing RTU processing, etc., and has a wide range of applications. Brief Description of the Drawings

[0027] Figure 1 is the flow chart of the judgment method for the pump bumping condition of the oil well in the present invention;

[0028] Figure 2 is the surface dynamometer card of the top dead center pump bumping condition in step 3 of the judgment method of the present invention;

[0029] Figure 3 is the schematic diagram for judging the load value at the intersection point and the load value at the selected point in step 4 of the judgment method of the present invention;

[0030] Figure 4 is the schematic diagram when there is no pump bumping for the load value at the intersection point and the load value at the selected point in step 4 of the judgment method of the present invention;

[0031] Figure 5 is the schematic diagram of the displacement-load working condition in the two-dimensional coordinate system in Embodiment 1 of the present invention;

[0032] Figure 6 is the schematic diagram of the displacement-load working condition in the two-dimensional coordinate system in Embodiment 2 of the present invention;

[0033] Figure 7 is the schematic diagram of the displacement-load working condition in the two-dimensional coordinate system in Embodiment 3 of the present invention;

[0034] Figure 8 is the schematic diagram of the displacement-load working condition in the two-dimensional coordinate system in Embodiment 4 of the present invention. Detailed Embodiments

[0035] The present invention will be described in detail below in conjunction with the drawings and specific embodiments.

[0036] AsFigure 1 As shown in the figure, the present invention discloses a method for judging the pump bumping condition of an oil well, which is specifically implemented according to the following steps:

[0037] Step 1: Extract the load and displacement in the dynamometer card data and establish a two-dimensional coordinate system; the dynamometer card data in Step 1 is 200 data points; the x-axis of the two-dimensional coordinate system is displacement and the y-axis is load. As Figure 2 shown, a typical feature of a pump bumping condition is that the shape of the dynamometer card presents an intersection point, and the graph forms a twisted shape, that is, part of the upper load curve is below the lower stroke load curve.

[0038] Step 2: Divide the collected dynamometer card data into upper and lower parts. Among them, the data collected from the lower dead point of the pumping unit running upward to the upper dead point is one part, and the data collected from the upper dead point of the pumping unit running downward to the lower dead point is the other part. The data for judging pump bumping starts from the lower dead point of the stroke, and the calculated end point data is the lower dead point, and the iteration is carried out sequentially in order.

[0039] Take the upper stroke and lower stroke data with the lower dead point as the starting point and the upper dead point as the end point, and divide the data of the two strokes into two groups, with 100 data in each group.

[0040] The upper stroke data of the collected dynamometer card data is stored as the first data group, and the lower stroke data is stored in reverse order as the second data group; the first data group is 100 stroke data from the lower dead point of the pumping unit running upward to the upper dead point, and the second data group is 100 stroke data from the upper dead point of the pumping unit running downward to the lower dead point.

[0041] Step 3: Based on the two-dimensional coordinate system in Step 1, sequentially select two points from the first data group, determine the displacement interval and construct a line segment, sequentially select one point from the second data group, confirm that it is within the displacement interval, construct a straight line, and calculate the intersection load of the line segment and the straight line;

[0042] Step 3.1: Based on the two-dimensional coordinate system in Step 1, sequentially select two points starting from the first point in the first data group, construct a line segment with the displacement and load data of these two points as endpoints, and determine the displacement interval between the two points; the starting point of the constructed line segment is the end point of the previous line segment.

[0043] Step 3.2: Sequentially select one point starting from the first point in the second data group, query whether the displacement value of this point is within the displacement interval in Step 3.1. If it is, proceed to Step 3.3. If not, continue to select the next point to the right; if all points in the second data group are not within the displacement interval in Step 3.1, directly return to Step 3.1 to construct the next line segment.

[0044] Step 3.3: Construct a straight line with this point, and calculate the intersection load of the line segment and the straight line. The calculation formula is:

[0045]

[0046] Among them, F A is the intersection point load, F A2 is the end point load of the line segment, F A1 is the starting point load of the line segment, S A2 is the end point displacement of the line segment, S A1 is the starting point displacement of the line segment, S Bn is the displacement at the location of the straight line.

[0047] Step 4: Compare the intersection point load value in Step 3 with the load value at the selected point. If it is less than or equal to, then pump hitting occurs. If it is greater than, repeat Step 3 until all the first data group is selected, which is the normal condition and no pump hitting occurs.

[0048] As Figure 3 shown, in the first data group, for the line segment selected at the 12th and 13th points, the obtained displacement interval. For the 12th, 13th, 14th, and 15th points of the second group of data, they are all within the displacement interval. Among them, the load value at the intersection point is greater than the load values at the 12th and 13th points, and no pump hitting condition occurs. The load value at the intersection point is less than the load values at the 14th and 15th points, and pump hitting occurs, and the diagnosis ends.

[0049] As Figure 4 shown, for the line segment selected at the 12th and 13th points, the obtained displacement interval. For the 11th and 12th points of the second group of data, they are within the displacement interval. The load value at the intersection point is greater than the load values at the 14th and 15th points, and no condition occurs. Record the index value in the second data group as 12.

[0050] Embodiment 1

[0051] This embodiment provides a method for judging the pump hitting condition of an oil well, which is specifically implemented according to the following steps:

[0052] As Figure 5 shown, Step 1: Extract the load and displacement in the dynamometer card data and establish a two-dimensional coordinate system;

[0053] Step 2: Save the upstroke data of the dynamometer card acquisition data as the first data group, and save the downstroke data in reverse order as the second data group;

[0054] Step 3: Based on the two-dimensional coordinate system in Step 1, sequentially select two points from the first data group, determine the displacement interval and construct a line segment. Sequentially select one point from the second data group, confirm that it is within the displacement interval, construct a straight line, and calculate the intersection point load of the line segment and the straight line;

[0055] As shown in Table 1, the data of the first data group and the second data group. The line segment is selected with two points where the displacement is 0.2 - 0.23 and the load is 49.14 - 49.76 in the upstroke data as the two ends.

[0056] Table 1

[0057]

[0058]

[0059] As shown in Table 2, the determined intersection data is calculated through formula (1).

[0060] Table 2

[0061] <![CDATA[F A > <![CDATA[F A2 > <![CDATA[F A1 > <![CDATA[S A2 > <![CDATA[S A1 > <![CDATA[S Bn > <![CDATA[F Bn > 49.14 49.76 49.14 0.23 0.2 0.2 49.66

[0062] Step 4: Compare the intersection load value in Step 3 with the load value at the selected point. Since 49.14 < 49.66, the judgment result is that pump bumping occurs.

[0063] Embodiment 2

[0064] This embodiment provides a method for judging the pump bumping condition of an oil well, which is specifically implemented according to the following steps:

[0065] As Figure 6 shown, in Step 1, the load and displacement in the dynamometer card data are extracted to establish a two-dimensional coordinate system;

[0066] In Step 2, the upstroke data of the dynamometer card acquisition data is stored as the first data group, and the downstroke data is stored in reverse order as the second data group;

[0067] In Step 3, based on the two-dimensional coordinate system in Step 1, two points are sequentially selected from the first data group to determine the displacement interval and construct a line segment. One point is sequentially taken from the second data group to confirm that it is within the displacement interval, and a straight line is constructed to calculate the intersection load of the line segment and the straight line;

[0068] As shown in Table 3, the data of the first data group and the second data group. The line segment is selected with two points of displacement 0.22 - 0.24 and load 43.11 - 43.9 in the upstroke data as the two ends.

[0069] Table 3

[0070]

[0071] As shown in Table 4, the determined intersection data is calculated through formula (1).

[0072] Table 4

[0073] <![CDATA[F A > <![CDATA[F A2 > <![CDATA[F A1 > <![CDATA[S A2 > <![CDATA[S A1 > <![CDATA[S Bn > <![CDATA[F Bn > 43.11 43.9 43.11 0.24 0.22 0.22 44.01

[0074] Step 4: Compare the intersection load value in Step 3 with the load value at the selected point. Since 43.11 < 44.01, the judgment result is that pump bumping occurs.

[0075] Example 3

[0076] This embodiment provides a method for judging the condition of oil well pump bumping, which is specifically implemented according to the following steps:

[0077] As Figure 7 shown, Step 1: Extract the load and displacement in the dynamometer card data and establish a two-dimensional coordinate system;

[0078] Step 2: Store the upstroke data of the dynamometer card acquisition data as the first data group, and store the downstroke data in reverse order as the second data group;

[0079] Step 3: Based on the two-dimensional coordinate system in Step 1, sequentially select two points from the first data group, determine the displacement interval and construct a line segment, sequentially take one point from the second data group, confirm that it is within the displacement interval, construct a straight line, and calculate the intersection point load of the line segment and the straight line;

[0080] As shown in Table 5, the data of the first data group and the second data group. The line segment is selected with two points of displacement 0.19 - 0.22 and load 46.29 - 46.66 in the upstroke data as the two ends.

[0081] Table 5

[0082]

[0083] As shown in Table 6, the determined intersection point data is calculated through formula (1).

[0084] Table 6

[0085] <![CDATA[F A > <![CDATA[F A2 > <![CDATA[F A1 > <![CDATA[S A2 > <![CDATA[S A1 > <![CDATA[S Bn > <![CDATA[F Bn > 46.54 46.66 46.29 0.22 0.19 0.21 46.75

[0086] Step 4: Judge the intersection point load value in Step 3 and the load value at the selected point. Since 46.54 < 46.75, the judgment result is that pump bumping has occurred.

[0087] Example 4

[0088] This embodiment provides a method for judging the condition of oil well pump bumping, which is specifically implemented according to the following steps:

[0089] As Figure 8 shown, Step 1: Extract the load and displacement in the dynamometer card data and establish a two-dimensional coordinate system;

[0090] Step 2: Store the upstroke data of the dynamometer card acquisition data as the first data group, and store the downstroke data in reverse order as the second data group;

[0091] Step 3: Based on the two-dimensional coordinate system in Step 1, sequentially select two points from the first data set, determine the displacement interval and construct a line segment. Sequentially select one point from the second data set, confirm that it is within the displacement interval, construct a straight line, and calculate the intersection point load between the line segment and the straight line;

[0092] As shown in Table 7, the data of the first data set and the second data set. The two points with displacements from 0.95 to 0.98 and loads from 23.77 to 23.81 in the upward stroke data are selected as the two ends of the line segment.

[0093] Table 7

[0094]

[0095]

[0096] As shown in Table 8, the determined intersection point data is calculated through formula (1).

[0097] Table 8

[0098] <![CDATA[F A > <![CDATA[F A2 > <![CDATA[F A1 > <![CDATA[S A2 > <![CDATA[S A1 > <![CDATA[S Bn > <![CDATA[F Bn > 23.78 23.81 23.77 0.98 0.95 0.96 23.93

[0099] Step 4: Compare the intersection point load value in Step 3 with the load value at the selected point. Since 23.78 < 23.93, the judgment result is that a pump bump occurs.

Claims

1. A method for judging the working condition of oil well bumping pump, characterized in that, The implementation is carried out according to the following steps: Step 1: Extract the load and displacement in the indicator diagram data and establish a two-dimensional coordinate system; Step 2: Save the upstroke data of the indicator diagram acquisition data as the first data group, and save the downstroke data in reverse order as the second data group; Step 3: Based on the two-dimensional coordinate system in Step 1, sequentially select two points from the first data group, determine the displacement interval and construct a line segment, sequentially select one point from the second data group, confirm that it is within the displacement interval, construct a straight line, and calculate the load at the intersection point of the line segment and the straight line; Step 4: Judge the load value at the intersection point in Step 3 and the load value at the selected point. If it is less than or equal, then a pump bump occurs. If it is greater, then repeat Step 3 until all selections in the first data group are completed, which is the normal condition and no pump bump occurs.

2. The method for judging the working condition of oil well bumping according to claim 1, characterized in that, The indicator diagram data described in Step 1 is 200 data points.

3. The method for judging the working condition of oil well pump bumping according to claim 1, characterized in that In the two-dimensional coordinate system in Step 1, the x-axis is the displacement and the y-axis is the load.

4. The method for judging the oil well bumping pump condition according to claim 1, wherein The first data group described in Step 2 is 100 stroke data from the bottom dead center of the pumping unit running upward to the top dead center, and the second data group is 100 stroke data from the top dead center of the pumping unit running downward to the bottom dead center.

5. The method for judging the working condition of oil well pump bumping according to claim 1, characterized in that, Step 3 is specifically carried out according to the following steps: Step 3.1: Based on the two-dimensional coordinate system in Step 1, sequentially select two points starting from the first point in the first data group, construct a line segment with the displacement and load data of these two points as endpoints, and determine the displacement interval between the two points; Step 3.2: Sequentially select one point starting from the first point in the second data group, query whether the displacement value of this point is within the displacement interval in Step 3.

1. If it is, then proceed to Step 3.

3. If not, then continue to select the next point to the right; Step 3.3: Construct a straight line with this point, and calculate the load at the intersection point of the line segment and the straight line. The calculation formula is Among them, F A is the intersection point load, F A2 is the end point load of the line segment, F A1 is the starting point load of the line segment, S A2 is the end point displacement of the line segment, S A1 is the starting point displacement of the line segment, S Bn is the displacement at the location of the straight line.

6. The method for judging the pump bumping condition of an oil well according to claim 5, wherein The starting point of the line segment constructed in Step 3.1 is the end point of the previous line segment.

7. The method for judging the working condition of a well pumping collision according to claim 5, characterized in that In Step 3.2, if none of the second data group is within the displacement interval in Step 3.1, then directly return to Step 3.1 to construct the next line segment.