Abstract
Compared with the rod-pumping oil production system of the conventional pumping unit, the structure of the down-hole oil-water separation system from the rod pump is more complicated, and the down-hole working conditions are worse. Existing technology no longer meets the needs of its downhole condition diagnosis. It seriously affected the production output and economic benefits of the oil field. Because of this, a fault pre-diagnosis method for the downhole oil-water separation system from the rod pump was proposed. Through the theoretical calculation of oil well production and pump efficiency. After field investigation and collection of many suspension point indicators diagrammed for comparison and analysis, the injection pump’s failure probability was 90% above. At this time, the extraction pumps work normally. Therefore, a reverse calculation method is proposed: establish and solve the static/dynamic load model of the production pump, and obtain the load-displacement function of the production pump. The load-displacement function of the suspension point derived from the suspension point indicator diagram is subtracted from the calculated load-displacement function of the production pump to obtain the load-displacement function of the injection pump so that the working condition diagnosis can be performed according to the injection pump work diagram. In the application of 18 wells within the field, the judgment result of injection pump failure and the result of pump inspection coincided with 91.3%, which verified the correctness of the calculation model. This method provides necessary theoretical guidance for the field application and working condition diagnosis of rod pump downhole oil-water separation system and is of great significance for improving the comprehensive benefit of oilfield production.
Keywords
Introduction
Rod pump downhole oil-water separation technology is a very effective way to stabilize oil and control water for the development of ultra-high water-cut oil wells. It achieves a combination of production and injection in a single wellbore, effectively reducing the water content of the produced fluid, resulting in significant cost savings and environmental benefits. The overall benefit of the oil field has significantly improved. 1 However, the downhole part of this system is composed of an injection pump and a production pump. Compared with the conventional rod pump pumping system, its structure is more complicated and the downhole working conditions are more severe. The existing technology is no longer suitable for the downhole fault diagnosis of the system. If the diagnosis and treatment are not timely, the production and economic benefits of the oil field will be affected to varying degrees. 2 Therefore, timely analysis of the working conditions of the system, accurate and reliable fault diagnosis results, and corresponding measures are of great significance to improve the comprehensive benefits of oilfield production.
In general, the working condition of an oil well can be initially diagnosed by a suspension point indicator diagram, but if the working condition of the well is to be accurately diagnosed, it is better to use a pump power diagram. Numerous scholars have studied conventional down-hole fault diagnosis methods for beam-pumping units. 3 There are roughly five periods in the development of diagnostic techniques: Sun 4 proposed the “five-finger test” analysis method relies on experienced workers to perceive the vibration of the polished rod with their hands, and then judge the working state of the underground according to their own experience. Although easy to implement, its accuracy was low, and it was gradually replaced by other methods. Li 5 proposed the surface indicator diagram method mainly uses a dynamometer to measure the suspension point diagram and matches it with a standard dynamometer diagram to obtain the downhole working status. However, this method suffers from the following problems: there are too many assumed conditions, and some of the actual measured dynamometer diagrams are too singular in shape, and it is difficult to select the closest standard diagram, thus limiting its range of application. Qiu 6 proposed the downhole dynamometer method uses a downhole power instrument directly downhole to measure the dynamometer diagram of the oil pump. The method eliminates many of the uncertain factors and makes the test more accurate. However, all the downhole devices need to be taken out of the ground to install the downhole dynamic instrument, and the installation cost is steep, which is not conducive to practical promotion. Gibbs 7 and Li 8 proposed the computer diagnosis method combines the mathematical model with the damping wave equation and the surface dynamometer diagram to obtain the corresponding downhole pump dynamometer diagram, and uses the dynamometer diagram to implement corresponding comparative analysis. Compared with the downhole dynamometer method, it not only saves the cost, but also improves the accuracy. However, this method still needs to rely on the skills and work experience of the operator, making it difficult to promote its use. Huang 9 proposed the “Artificial Intelligence Diagnosis” proposed by using computer-aided diagnosis and intelligent techniques to analyze faults in the entire pumping unit, because of its advantages of simple operation and high precision, it has gradually become the current research field and has extensive development space. However, it also has certain inherent shortcomings. Since the down-hole pump group of the same well injection and production system works at a depth of approximately 1000 m underground, it is difficult to directly detect its working state parameters, and the method of using a down-hole dynamic instrument is also infeasible due to factors such as inconvenient installation and elevated cost. A reasonable fault diagnosis model and drawing a pump power diagram are the core techniques for fault diagnosis. 10
Therefore, based on the actual working conditions at the site, starting from the Gibbs model, 11 in this paper, we propose a reverse calculation method to establish and solve the dynamic load model and additionally combine the actual measurements of the suspended point indicator diagram to draw the output and injection pump indicator diagrams. The fault map of the oil pumping system is used for fault diagnosis, which better solves the problem. And further drawing the production pump with the help of Visual Basic programming language. And based on the structure of the rod pump downhole oil-water separation system, a calculation model for the static load of the production pump is established. Meanwhile, based on the unconventional structure of the rod pump downhole oil-water separation system, a reverse calculation method is proposed, and the dynamometer diagrams of the production pump and the injection pump are drawn respectively. The dynamometer diagrams of the pump and injection pump create the conditions for the next step in the construction of a fault diagnosis system.
Structure and working principle of downhole oil-water separation system with the rod pump
Structure of downhole oil-water separation system with rod pump
The rod-pump downhole oil-water separation system consists mainly of a conventional beam pumping unit, a production pump, a sealing piston, a bridge packer, an injection pump, and an oil-water separation system, as shown in Figure 1.

Schematic of injection/production string system in the same well.
The working principle of the injection production pump system
As shown in Figure 2, during the downstroke, the plunger of the injection pump goes down with the sucker rod, the volume of Pump Inner Ring Cavity 2 increases, Lower Valve 2 opens, Upper Valve 2 closes, and the water separated by the separator enters the inner ring cavity of the pump. At the same time, the production pump plunger is pulled down and the separated oil enters Pump Inner Ring Cavity 1 of the production pump through the bridge-packer channel. Therefore, the injection pump and the production pump simultaneously complete the process of water injection and oil pumping.

Working principle of the downstroke.
As shown in Figure 3, during the upstroke, when the pump plunger is driven by the rod, the volume of the Pump Inner Ring Cavity 2 is reduced, Lower Valve 2 is closed, and Upper Valve 2 is opened. Liquid from Pump Inner Ring Cavity 2 is reinjected into the injection layer. At the same time, the production pump plunger goes up synchronously and the liquid in Pump Inner Ring Cavity 1 is lifted to the surface, so the process of oil recovery and injection into the formation is simultaneously completed.

Working principle of upstroke.
Fault prediction method
The rod pump downhole oil-water separation system is different from the conventional rod pump system in composition and structure. There are two pumps for injection and production in the downhole working at the same time. Conditions, another known indicator diagram of the production pump or injection pump is required as a supplementary boundary condition. However, it is difficult to directly and accurately test the pump diagram at a distance of several thousand meters downhole in the existing technology. Therefore, this paper is the first to perform a preliminary pre-diagnosis of the rod-pump downhole oil-water separation system: we calculate the well fluid production and pump efficiency using the corresponding data from the dynamometer maps measured in the field, and propose a fault pre-diagnosis method.
Theoretical calculation of production pump fluid production
The liquid production rate of the oil well in the rod pump downhole oil-water separation system is the liquid production rate of the production pump. The loss of liquid production of the production pump mainly includes three parts: ① The loss caused by the gas compression in the annulus of the large and minor plungers; ② The stroke loss caused by the elastic elongation of the sucker rod; ③ The loss caused by the leakage of the production pump.
Compression loss of gas in the ring air of large and little plungers
Calculation of the gas-liquid ratio at the bottom of the well
The gas-liquid satisfies the law of mass conservation during the entire transportation process. At different pressures, liquids are incompressible while gases are compressible. Set the oil-gas ratio at the wellhead at the atmospheric pressure (0.1 MPa) as
Combining the above formulas, we get:
Then, within a unit volume, the percentage of gas, oil, and water in the total volume at the wellhead is:
Where
According to the previous assumption, oil and water are incompressible; that is, the volume of oil and water at the wellhead and bottom of the well remains the same, and only the volume of gas changes, so the percentage of the three phases of oil, gas, and water at the bottom of the well changes.
Set the surface temperature as
where
When the pumping unit is in the bottom dead center position, the total pressure on the valve of the little plunger pump is:
where
According to the gas equation of state, there are:
where:
Then the volume of the bottom hole gas is:
The volume percentage of the bottom-hole gas is:
where
Gas compression moment in the annular space of large and little plunger in the upstroke
When the plunger of the production pump is at the bottom dead center, the pressure in the annular space is the submerged pressure (defined as P2). During the up-stroke, the volume of the annular space between the large and small plungers decreases, and the pressure increases, when the pressure in the annular space of the large and small plunger is brought to the upper-pressure P1 of the pump valve of the small plunger, which can then be pushed open to discharge the liquid into the oil pipe.
According to the PV equation:
(a) At the bottom dead center position, when the plunger is about to move upward:
(b) The plunger runs upwards and when the upper valve is pushed open:
where
Simultaneous equations (14) and (15), we can get:
During this period, the volume of the annulus of the large and small plungers decreases (
where
Stroke loss of sucker rod elastic deformation
The loss of stroke caused by the difference in load between the upper and lower stroke is:
Where
In a rod pump downhole oil-water separation system, the large plunger of the production pump is stretched under force during the upstroke, which reduces the amount of discharged liquid, but the small plunger remains under force during the downstroke. That is, the sucker rod is still stretched, but the elongation is small. Thus, the stroke loss is the difference between the elongation due to the force on the large plunger and the elongation due to the force on the small plunger.
Calculation of pump leakage
Different from ordinary oil well pumps, the production pump in a downhole oil-water separation system consists of two plungers, an upper and a lower. If the pressure in the annular space is the same as the discharge pressure during the upstroke, the small plunger will not leak. If the pressure in the annular space is greater than that of the oil. Without pressure in the ring cavity, the large plunger leaks. During the downstroke, the pressure in the annular space is equal to the discharge pressure; the small plunger leaks; the pressure in the annular space is equal to the pressure in the annular space of the oil sleeve, and the large plunger does not leak.
The leakage caused by the pressure difference is:
where
Calculation of wellhead fluid production and pump efficiency
Based on the above derivation, the calculated value of the actual fluid production at the wellhead can be obtained as follows:
The theoretical liquid production rate at the wellhead is:
The theoretical pump efficiency is:
According to the dynamometer diagram collected on-site, the actual pump efficiency can be calculated as:
where
Statistical analysis of fluid production
The dynamometer test reports collected from the site are classified into two categories: normal and faulty. Using Visual Basic software, the above formulas were compiled into a fluid production calculation program, into which the parameters in the dynamometer plots were further fed to obtain the corresponding wellhead fluid production and pump efficiencies. Some of the data records are shown in Tables 1 and 2.
Analysis data of wellhead fluid production under normal working conditions.
Analysis data of wellhead fluid production under failure conditions.
It can be seen from Table 1 that under normal working conditions, the calculated wellhead liquid production rate is not much different from the measured wellhead liquid production rate, that is, the theoretical pump efficiency is close to the actual pump efficiency value, and the difference between the two is less than 20 percentage points; It can be seen from Table 2 that under fault conditions, there is a large difference between the calculated wellhead liquid production rate and the measured wellhead liquid production rate, and the percentage point difference between the theoretical pump efficiency and the actual pump efficiency reaches more than 90, and some data even exceed 300, which shows that the well has failed. At the same time, there is still a phenomenon where the actual pump efficiency is greater than 1, whereas in a normal working environment the actual pump efficiency of a production pump should be less than 1 regardless of whether it is faulty or not. Therefore, this phenomenon indicates that the fault occurred at the injection pump. After on-site investigation, a large number of suspension point indicator diagrams, and calculation and analysis, it was found that the failure of the injection pump accounted for more than 90% of the total failures, while the production pump was working normally.
After on-site investigations, extensive suspension point indicator diagrams, and computational analysis, it was found that the injection pump failures accounted for more than 90% of the total failures, while the production pump was working normally.
Backward calculation method
Based on the actual situation on site, and assuming that only the production pump is considered and that the production pump is considered to be working normally, a reverse calculation is proposed: ① Establish and solve the static load model of the production pump; ② Calculate the dynamic load of the production pump, including inertial load, vibration load, and friction load, in which the Gibbs model is used for the vibration load; ③ The load-displacement function at the suspension point is derived from the dynamometer diagram of the suspension point, and the calculated load-displacement function of the extraction pump is subtracted to obtain the load-displacement function of the injection pump. Therefore, fault diagnosis can be carried out according to the power diagram of the injection pump.
Static load model of the production pump
Assuming that only the production pump is considered, and the sucker rod and the production pump are taken as the research objects, as shown in Figure 4, the static load of the production pump on the up and down strokes obtained from the force balance equation as follows:
Where

Mechanics model of production pump.
Production pump dynamic load model
In addition to static loads, production pumps are also affected by dynamic loads such as inertia, vibration, and friction. The running speed of the plunger is related to the stroke and the number of strokes, and the dynamic loads will also change accordingly. 12
Inertia load
The inertial load is caused by the variable velocity motion, which is the joint action of the rod and the fluid mass in the upstroke, and the rod’s weight in the downstroke. If the influence of the pole column and lifting oil elasticity is ignored, the law of motion of the liquid column and each point of the rod can be considered to be consistent with the suspension point.
On the upstroke:
On the downstroke:
where
Vibration load
There are three main reasons for the vibration: ① The sucker rod on the upper part of the production pump is an elastic body; ② The reciprocating motion of the sucker rod; ③ The loading and unloading of the liquid load. In this paper, the Gibbs model is used to analyze the vibration load 13 :
where
After numerical calculation, the vibration load
where
Friction load
Frictional loads are mainly: ① Frictional force between pump barrel and plunger; ② Frictional load between wellhead polished rod and packing; ③ Frictional force between the tubing and liquid column; ④ Frictional force between liquid column and sucker rod string. See the application literature 14 for the calculation method.
Simulation analysis process
Figure 5 is the calculation flow chart of the simulation analysis. First, a MATLAB program is written to extract the data of the actual suspension point indicator diagram, and the load-displacement function is obtained after interpolation and fitting processing, which is used as the input of the next step program. The coefficients of the vibration model are obtained through numerical iterative calculation, and the load-displacement function of the production pump is calculated in combination with the method described above, and the load-displacement function of the injection pump is further calculated. Based on the movement law of the ground pumping unit and the above calculation results, the dynamometer diagrams of the two pumps were drawn by using Visual Basic programming. Besides referring to the fault maps of the conventional oil pumping systems, pattern recognition technology is applied to identify the dynamometer diagram of the injection pumps to determine whether a certain type of fault has occurred in the injection pump.

Calculation flow chart.
Application cases
The production data information of 18 oil wells using the rod pump downhole oil-water separation system was collected, and the above method was used to draw the indicator diagrams of the injection and production pumps, and the fault of the injection pump was judged and compared with the actual pump inspection results. 15 The statistical data results are shown in Table 3:
Diagnostic system test results.
Statistics show that, among the 770 dynamometer diagrams, a total of 703 were correctly diagnosed, with an agreement rate of 91.3%.
Application case 1
A 1# well adopts a φ83/φ44 injection pump, a φ70/φ57 production pump, and a φ38 sealed piston rod pump downhole oil-water separation system for production. The model of the pumping unit is CYJ14-5.5-89, and the stroke is 4.4 m. Stroke times 2.4min−1, pump depth 744. 7 m, water content 0.964, oil, and casing pressure 0.21, 0.25 MPa. The dynamometer diagram of the measured suspension point is shown in Figure 6, and the dynamometer diagram of the production pump and injection pump obtained through calculation is shown in Figure 7. The dynamometer diagram of the injection pump shown in Figure 7(b) is consistent with the typical dynamometer diagram of the pump working normally, 16 indicating that the downhole oil-water separation system of the rod pump is working normally. This result is consistent with the actual production situation.

Dynamometer diagram of 1# measured suspension point.

Simulation dynamometer diagram of 1# downhole pump: (a) dynamometer diagram of production pump and (b) dynamometer diagram of injection pump.
Application case 2
The pump specifications used in a 2# well are the same as those of the 1# well. The pumping unit model is CYJ14-6-89, the stroke is 4.93 m, the stroke frequency is 2.8/min−1, the pump depth is 785.59 m, the water content is 0.86, and the oil and casing the pressure is 0.49, 0.36 MPa. The measured dynamometer diagram of the suspended point is shown in Figure 8, and the calculated dynamometer diagram of the production pump and injection pump is shown in Figure 8. Figure 9(b) is compared with the pump dynamometer map of typical faults 16 ; it can be judged that the injection pump at this time has a down-touch pump fault. This result is consistent with the pump inspection result.

Dynamometer diagram of 2# measured suspended point.

Simulation dynamometer diagram of 2# downhole pump: (a) dynamometer diagram of production pump and (b) dynamometer diagram of indicator pump.
Conclusions
Based on the structure of the downhole an oil-water separation system with a rod pump, the static load calculation model of a production pump is established. Based on the unconventional structure of the rod pump downhole oil-water separation system, this paper proposes a reverse calculation method. The mechanical model is solved according to the Gibbs model assuming that the production pump is normal. Collect the suspended point dynamometer diagrams of 18 wells where the rod pump downhole oil-water separation system is applied in the field, use the method described in this paper to draw the downhole pump dynamism diagram, and judge the fault of the injection pump. The judgment result is 91.3% consistent with the pump inspection result, verifying the correctness of the calculated model.
Footnotes
Handling Editor: Chenhui Liang
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work is supported by the National Key Research and Development Program of China under Grant 2022YFE0206700.
