Method and device for converting electrical parameter data of pumping well into dynamometer diagram
By calculating the electrical parameter difference data of the pump well and converting it into the power diagram difference data, the problems of inefficient and large errors in converting the power parameter data into the power diagram in the prior art are solved, and more efficient and accurate power diagram generation is achieved.
Patent Information
- Application Number
- CN202011387520.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-02
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2040-12-02
AI Technical Summary
The prior art is difficult to effectively convert the electrical parameter data of the pump well into a power diagram, resulting in low conversion efficiency and large errors.
By calibrating the initial electrical parameter data and initial power diagram data of the pump well, the electrical parameter difference data are calculated, and the power diagram difference data is obtained, and superimposed on the initial power diagram data to generate the target power diagram.
The efficiency of converting electrical parameters into power diagrams is improved, conversion errors are reduced, and dependence on balance block weight and position is reduced, simplifying the data processing process.
Smart Images

Figure CN114575826B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of mechanical oil production in oil fields, and in particular to a method and a device for converting electrical parameter data of a pumping well into a dynamometer diagram. Background Art
[0002] For the IoT of oil wells, conventional configurations mainly include electrical parameter testers and dynamometers. The electrical parameter data collected by the electrical parameter tester are the three-phase current, three-phase voltage, three-phase active power and three-phase reactive power at the motor input end. These electrical parameters are generally used to reflect the working conditions of ground equipment, and the dynamometer is used to reflect the working conditions of underground equipment. However, there are some disadvantages of the dynamometer, such as high investment cost, long-term exposure to alternating loads, easy drift and distortion, and high calibration and maintenance costs. Electrical parameter data is the most basic operating parameter of oil wells, with the advantages of high popularity, low acquisition cost, and stable data. The use of electrical parameter data for working condition diagnosis and digital oil measurement can eliminate the use of load sensors and realize low-cost IoT applications and intelligent management of oil wells. For example, a company has an average daily oil production of about 1.5 tons per well, and has a strong demand for reducing costs and increasing efficiency in oil well production. If only electrical parameter data can be collected in the oil wells without collecting dynamometer data and angular displacement, the cost of the IoT of oil wells can be reduced, which is of great significance for construction and application.
[0003] Electrical parameter data is generally only used to diagnose ground conditions, such as balancing, power outages, and phase loss. At present, when using electrical parameter data to replace the dynamometer diagram for diagnosis, there are generally the following problems: there are many energy transmission links from the ground to the underground, and there are many factors affecting electrical parameters; compared with the dynamometer diagram, the characteristics of electrical parameter data are more complex, and the conventional method of directly using electrical parameter data for working condition diagnosis lacks a theoretical basis. Therefore, converting electrical parameter data into dynamometer diagrams and then performing diagnostic analysis has become a common idea to solve the above problems.
[0004] However, the current conventional mathematical and physical methods require the net torque to be subtracted from the balancing torque to obtain the load torque during the solution process. The balancing torque requires precise balancing block weight and balancing block position, and these two values are generally difficult to obtain. This makes it difficult to convert the electrical parameter data of the pumping well into the dynamometer diagram. It is difficult to effectively convert the electrical parameters into the dynamometer diagram, the conversion efficiency is low, and it is easy to cause large conversion errors. Summary of the invention
[0005] The embodiment of the present invention provides a method for converting electrical parameter data of a pumping well into a dynamometer diagram, so as to improve the efficiency of converting electrical parameters into dynamometer diagrams and reduce conversion errors. The method comprises:
[0006] Calibrate the initial electrical parameter data and initial dynamometer diagram data of the pumping well; the initial electrical parameter data is used to characterize the electrical parameter data synchronously measured after the pumping well is in stable production; the initial dynamometer diagram data is used to characterize the dynamometer diagram data synchronously measured after the pumping well is in stable production; the electrical parameter data includes the active power input of the pumping unit; the dynamometer diagram data includes the wellhead load data of the pumping well;
[0007] Perform difference calculation on the measured electrical parameter data and the initial electrical parameter data of the pumping well to obtain electrical parameter difference data;
[0008] According to the electrical parameter difference data of the pumping well, the dynamometer diagram difference data of the pumping well is calculated;
[0009] The difference data of the dynamometer diagram of the pumping well is superimposed on the initial dynamometer diagram data to generate the target dynamometer diagram of the pumping well.
[0010] The embodiment of the present invention also provides a device for converting electrical parameter data of a pumping well into a dynamometer diagram, so as to improve the efficiency of converting electrical parameters into dynamometer diagrams and reduce conversion errors. The device comprises:
[0011] A data calibration module is used to calibrate the initial electrical parameter data and initial dynamometer diagram data of the pumping well; the initial electrical parameter data is used to characterize the electrical parameter data synchronously measured after the pumping well is in stable production; the initial dynamometer diagram data is used to characterize the dynamometer diagram data synchronously measured after the pumping well is in stable production; the electrical parameter data includes the active power input of the pumping unit; the dynamometer diagram data includes the wellhead load data of the pumping well;
[0012] The electrical parameter difference calculation module is used to perform difference calculation on the measured electrical parameter data of the pumping well and the initial electrical parameter data to obtain electrical parameter difference data;
[0013] The dynamometer diagram difference calculation module is used to calculate the dynamometer diagram difference data of the pumping well according to the electrical parameter difference data of the pumping well;
[0014] The dynamometer diagram generating module is used to superimpose the dynamometer diagram difference data of the pumping well onto the initial dynamometer diagram data to generate the target dynamometer diagram of the pumping well.
[0015] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of converting the electrical parameter data of the pumping well into a dynamometer diagram when executing the computer program.
[0016] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the method for converting the electrical parameter data of a pumping well into a dynamometer diagram.
[0017] In an embodiment of the present invention, initial electrical parameter data and initial dynamometer diagram data of a pumping well are calibrated; the initial electrical parameter data and initial dynamometer diagram data are used to characterize the electrical parameter data and dynamometer diagram data synchronously measured after the pumping well is stably produced; the electrical parameter data include the active power input of the pumping unit; the dynamometer diagram data include the wellhead load data of the pumping well; the measured electrical parameter data and the initial electrical parameter data of the pumping well are subjected to difference calculation to obtain electrical parameter difference data; the dynamometer diagram difference data of the pumping well is calculated based on the electrical parameter difference data of the pumping well; the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to generate a target dynamometer diagram of the pumping well, so that accurate dynamometer diagram difference data can be calculated through the electrical parameter difference data of the pumping well, thereby improving the accuracy of generating the target dynamometer diagram of the pumping well. Compared with the prior art, it is not necessary to obtain information on the weight and position of the balance block, thereby reducing the difficulty of converting the electrical parameter data into the dynamometer diagram, while improving the conversion efficiency and reducing the conversion error. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 It is a flow chart of a method for converting electrical parameter data of a pumping well into a dynamometer diagram in an embodiment of the present invention;
[0020] Figure 2 is a schematic diagram of a dynamometer diagram template representing initial dynamometer diagram data in an embodiment of the present invention;
[0021] Figure 3 is a schematic diagram of a dynamometer diagram template representing initial electrical parameter data in an embodiment of the present invention;
[0022] Figure 4 It is a specific example diagram of a method for converting electrical parameter data of a pumping well into a dynamometer diagram in an embodiment of the present invention;
[0023] Figure 5 The present invention is a schematic diagram of the structure of a device for converting electrical parameter data of a pumping well into a dynamometer diagram in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] The inventors found that: since there are motors, belts, reduction gears, four-links and other links from the input end of the pumping unit motor to the middle of the bare rod, it is difficult to achieve accurate solution of the indicator diagram with electrical parameters using traditional methods. There are mainly the following difficulties: 1) In the intermediate process of solution, the net torque needs to be subtracted from the balancing torque to obtain the load torque, where the balancing torque requires accurate balancing block weight and balancing block position, and these two values are generally difficult to obtain; 2) In the formula for calculating the bare rod load from the load torque, since the torque factor is in the denominator and the torque factor is 0 at the upper and lower dead points, there will be a problem of division by zero. Therefore, it is difficult to accurately achieve the indicator diagram with electrical parameters using traditional mathematical and physical methods, and even if it is calculated, the error is very large.
[0026] With the popularization and application of the Internet of Things in the field of oil and gas well production, a large amount of electrical parameter data and dynamometer diagram data have been collected on site. The embodiment of the present invention calculates the electrical parameter difference data to obtain the dynamometer diagram difference data, and then superimposes the dynamometer diagram difference data on the initial dynamometer diagram data, thereby establishing a target dynamometer diagram of the electrical parameter data, and providing dynamometer diagram data for further working condition diagnosis, metering calculation, etc. of the oil well. A method for converting electrical parameter data of a pumping well into a dynamometer diagram provided by an embodiment of the present invention can be used to improve the efficiency of converting electrical parameters into dynamometer diagrams, while reducing conversion errors, thereby solving the above-mentioned problems. Figure 1 FIG. 1 is a flow chart of a method for converting electrical parameter data of a pumping well into a power diagram according to an embodiment of the present invention. Figure 1 As shown, a method for converting electrical parameter data of a pumping well into a dynamometer diagram provided by an embodiment of the present invention may include:
[0027] Step 101: calibrate initial electrical parameter data and initial dynamometer diagram data of a pumping well; the initial electrical parameter data is used to characterize electrical parameter data synchronously measured after the pumping well is in stable production; the initial dynamometer diagram data is used to characterize dynamometer diagram data synchronously measured after the pumping well is in stable production; the electrical parameter data includes the active power input of the pumping unit; the dynamometer diagram data includes wellhead load data of the pumping well;
[0028] Step 102: performing difference calculation on the measured electrical parameter data of the pumping well and the initial electrical parameter data to obtain electrical parameter difference data;
[0029] Step 103: Calculate the difference data of the indicator diagram of the pumping well according to the difference data of the electrical parameters of the pumping well;
[0030] Step 104: superimpose the difference data of the dynamometer diagram of the pumping well onto the initial dynamometer diagram data to generate a target dynamometer diagram of the pumping well.
[0031] In an embodiment of the present invention, initial electrical parameter data and initial dynamometer diagram data of a pumping well are calibrated; the initial electrical parameter data and initial dynamometer diagram data are used to characterize the electrical parameter data and dynamometer diagram data synchronously measured after the pumping well is stably produced; the electrical parameter data include the active power input of the pumping unit; the dynamometer diagram data include the wellhead load data of the pumping well; the measured electrical parameter data and the initial electrical parameter data of the pumping well are subjected to difference calculation to obtain electrical parameter difference data; the dynamometer diagram difference data of the pumping well is calculated based on the electrical parameter difference data of the pumping well; the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to generate a target dynamometer diagram of the pumping well, so that accurate dynamometer diagram difference data can be calculated through the electrical parameter difference data of the pumping well, thereby improving the accuracy of generating the target dynamometer diagram of the pumping well. Compared with the prior art, it is not necessary to obtain information on the weight and position of the balance block, thereby reducing the difficulty of converting the electrical parameter data into the dynamometer diagram, while improving the conversion efficiency and reducing the conversion error.
[0032] During specific implementation, the initial electrical parameter data and initial dynamometer diagram data of the pumping well are first calibrated; the initial electrical parameter data are used to characterize the electrical parameter data synchronously measured after the pumping well has stabilized production; the initial dynamometer diagram data are used to characterize the dynamometer diagram data synchronously measured after the pumping well has stabilized production; the electrical parameter data include the active power input of the pumping unit; the dynamometer diagram data include the wellhead load data of the pumping well.
[0033] In the embodiment, calibrating the initial electrical parameter data and initial dynamometer diagram data of the pumping well may include: calibrating the electrical parameter data and dynamometer diagram template of each oil well according to the actual situation of the oil well on site; the calibration method is relatively simple, generally after the well is opened, the oil well is stably produced for a period of time, and the electrical parameter data and dynamometer diagram data of the oil well are synchronously tested, and this pair of electrical parameter data and dynamometer diagram data is used as the standard dynamometer diagram template of the well (i.e., initial electrical parameter data and initial dynamometer diagram data). Among them, the electrical parameter data may include a curve of electrical parameters, such as a curve of motor input active power; the dynamometer diagram data may include a curve of the dynamometer diagram, which is used to describe the correlation between the wellhead load and displacement in the dynamometer diagram.
[0034] For example, Figure 2 is a schematic diagram of a dynamometer diagram template representing initial dynamometer diagram data in an embodiment of the present invention, such as Figure 2 As shown, Figure 2 The correlation between the wellhead load (i.e. the load in the diagram) and the displacement in the dynamometer diagram is shown. Figure 3is a schematic diagram of a dynamometer template for characterizing initial electrical parameter data in an embodiment of the present invention, such as Figure 3 As shown, Figure 3 The correlation between the motor input active power (i.e. the power in the figure) and the crank angle in the electrical parameter data is shown.
[0035] In the above embodiment, by calibrating the initial electrical parameter data and initial dynamometer diagram data of the pumping well, it is helpful to calculate the dynamometer diagram difference data of the pumping well in the subsequent steps.
[0036] In specific implementation, after calibrating the initial electrical parameter data and initial dynamometer diagram data of the pumping well, the measured electrical parameter data of the pumping well and the initial electrical parameter data are subjected to difference calculation to obtain electrical parameter difference data. After the measured electrical parameter data of the pumping well and the initial electrical parameter data are subjected to difference calculation to obtain electrical parameter difference data, the dynamometer diagram difference data of the pumping well is calculated based on the electrical parameter difference data of the pumping well.
[0037] In an embodiment, performing a difference calculation between the measured electrical parameter data and the initial electrical parameter data of the pumping well to obtain the electrical parameter difference data may include: performing a difference calculation between the pumping unit input active power in the measured electrical parameter data of the pumping well and the pumping unit input active power in the initial electrical parameter data to obtain the pumping unit input active power difference data; calculating the dynamometer diagram difference data of the pumping well based on the electrical parameter difference data of the pumping well, may include: calculating the dynamometer diagram difference data of the pumping well based on the pumping unit input active power difference data of the pumping well.
[0038] In the above embodiment, the difference between the active power input of the pumping unit in the measured electrical parameter data of the pumping well and the active power input of the pumping unit in the initial electrical parameter data can be calculated according to the following formula to obtain the difference data of the active power input of the pumping unit:
[0039] ΔP(i)=P1(i)-P0(i)
[0040] Among them, ΔP(i) is the difference in active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P1(i) is the measured active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P0(i) is the initial active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW.
[0041] In the above embodiment, by calculating the difference data of the active power input to the oil pump, it is helpful to calculate the difference data of the indicator diagram of the oil pump well in the subsequent steps.
[0042] The difference data of the active power input of the oil pump may include a difference curve of the active power input of the oil pump. The difference data of the dynamometer diagram may include a difference curve of the dynamometer diagram. The measured electrical parameter data may include a measured electrical parameter curve. As shown above, in the embodiment of the present invention, the above-mentioned various data may be represented in the form of a curve.
[0043] In a specific implementation, the dynamometer diagram difference data of the pumping well includes the wellhead load difference data of the pumping well; the dynamometer diagram difference data of the pumping well is calculated based on the active power input difference data of the pumping units of the pumping well, which may include: calculating the active power output difference data of the pumping units of the pumping well based on the active power input difference data of the pumping units of the pumping well; calculating the crank net torque difference data of the pumping well based on the active power output difference data of the pumping units of the pumping well; and calculating the wellhead load difference data of the pumping well based on the crank net torque difference data of the pumping well.
[0044] In the embodiment, the output active power difference data of the pumping units of the pumping well can be calculated according to the input active power difference data of the pumping units of the pumping well according to the following formula:
[0045] ΔP out (i) = KΔP(i)
[0046] Where ΔP out (i) is the difference in the output power of the pump at the i-th moment in a single pumping stroke, in kW; ΔP(i) is the difference in the input active power of the pump at the i-th moment in a single pumping stroke, in kW; K is the motor efficiency.
[0047] In the embodiment, the crank net torque difference data of the pumping well can be calculated according to the active power difference data of the pumping unit output of the pumping well according to the following formula:
[0048]
[0049] Among them, ΔM n (i) is the net crank torque difference of the pumping well at the i-th moment in a single pumping stroke, in kN·m; η1 is the belt transmission efficiency; η2 is the reduction box transmission efficiency; i MB n is the transmission ratio from the output shaft of the pumping unit to the output shaft of the reduction gearbox; m is the number of motor revolutions, in rpm; ΔP out (i) is the difference in pumping unit output power at the i-th moment in a single pumping unit stroke, in kW.
[0050] In the embodiment, the wellhead load difference data of the pumping well can be calculated according to the crank net torque difference data of the pumping well according to the following formula:
[0051]
[0052] Where ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔM n (i) is the net crank torque difference of the pumping unit at the i-th moment in a single pumping unit stroke, in kN·m; TF is the torque factor, dimensionless.
[0053] In the above embodiment, the electrical parameter difference curve can be obtained according to the electrical parameter difference data of the pumping well, and then the dynamometer diagram difference curve is calculated, and finally the dynamometer diagram difference curve is superimposed on the template dynamometer diagram to obtain the converted dynamometer diagram curve. Compared with the prior art, the display of electrical parameters can be realized without the need for a load tester.
[0054] In specific implementation, after calculating the dynamometer diagram difference data of the pumping well according to the electrical parameter difference data of the pumping well, the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to generate the target dynamometer diagram of the pumping well.
[0055] In an embodiment, superimposing the difference data of the dynamometer diagram of the pumping well onto the initial dynamometer diagram data to generate a target dynamometer diagram of the pumping well may include: superimposing the wellhead load difference data of the pumping well in the difference data of the dynamometer diagram of the pumping well onto the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well; and generating the target dynamometer diagram of the pumping well based on the target dynamometer diagram data of the pumping well.
[0056] In the embodiment, the load difference data in the indicator diagram difference data of the pumping well can be superimposed on the initial indicator diagram data according to the following formula to obtain the target indicator diagram data of the pumping well:
[0057] F1(i)=F0(i)+ΔF(i)
[0058] Among them, F1(i) is the wellhead load in the target dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; F0(i) is the wellhead load in the initial dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN.
[0059] In an embodiment, generating a target dynamometer diagram of a pumping well according to the target dynamometer diagram data of the pumping well may include: generating a target dynamometer diagram of the pumping well according to the target dynamometer diagram data of the pumping well based on the correlation between the wellhead load and displacement of the pumping well. Wherein, generating a target dynamometer diagram of the pumping well according to the target dynamometer diagram data of the pumping well may include: superimposing a load difference curve (i.e., load difference data) on a template load (i.e., the wellhead load data of the pumping well in the initial dynamometer diagram data) to obtain a converted light rod load value (i.e., the wellhead load data in the target dynamometer diagram), and drawing a curve of the target dynamometer diagram from the light rod displacement value and the light rod load value, wherein, since the operation law of the pumping unit is very stable, the light rod displacement value of the target dynamometer diagram may directly use the displacement value of the dynamometer diagram in the standard template.
[0060] The dynamometer diagram is a closed curve diagram consisting of the curve of the relationship between the wellhead load and the displacement. A person skilled in the art can obtain the correlation between the wellhead load and the displacement based on the pumping well according to the explanation of the above dynamometer diagram. The dynamometer diagram of the relationship between the wellhead load and the displacement of the hanging point can also be called a ground dynamometer diagram or a bare rod dynamometer diagram.
[0061] In the above embodiment, compared with the following problems existing in the prior art: in the formula for calculating the bare rod load from the load torque, since the torque factor is in the denominator and the torque factor is 0 at the upper and lower dead points, there will be a problem of zero division, so it is difficult to accurately realize the electric parameter indicating power diagram using traditional mathematical and physical methods, and even if it is calculated, the error is very large. The embodiment of the present invention does not need to consider the above-mentioned zero division problem, so it also avoids the problem of difficulty in accurately realizing the electric parameter indicating power diagram, thereby reducing the conversion error.
[0062] Figure 4 FIG. 1 is a specific example diagram of a method for converting electrical parameter data of a pumping well into a power diagram in an embodiment of the present invention. Figure 4 As shown, the specific process of this example may include:
[0063] 1. Obtain template electrical parameter curve and template indicator diagram through oil well template calibration: According to the actual situation of the oil wells on site, calibrate the template of electrical parameter data and indicator diagram of each oil well; this calibration method is relatively simple. Generally, after the well is opened and the oil well is stably produced for a period of time, the electrical parameter data and indicator diagram data of the oil well are synchronously tested, and this pair of electrical parameter data and indicator diagram data is used as the standard template of the indicator diagram of the well (i.e., initial electrical parameter data and initial indicator diagram data);
[0064] 2. Measured electrical parameter curve: obtain the curve of measured active power input data of the pumping unit;
[0065] 3. Calculate the difference of the electrical parameter curve based on the measured electrical parameter curve and the template electrical parameter curve: perform difference calculation on the measured electrical parameter curve of the pumping well and the initial electrical parameter curve to obtain the difference of the electrical parameter curve;
[0066] 4. Calculate the load difference according to the difference of the electric parameter curve: Calculate the difference of the output active power curve of the pumping unit of the pumping well according to the difference of the active power curve of the pumping unit of the pumping well; Calculate the difference of the net crank torque curve of the pumping well according to the difference of the output active power curve of the pumping unit of the pumping well; Calculate the wellhead load difference of the pumping well according to the difference of the net crank torque curve of the pumping well;
[0067] 5. Superimpose the load difference curve on the template load to obtain the converted bare rod load value. The power diagram curve can be drawn from the bare rod displacement value and the bare rod load.
[0068] In an embodiment of the present invention, initial electrical parameter data and initial dynamometer diagram data of a pumping well are calibrated; the initial electrical parameter data and initial dynamometer diagram data are used to characterize the electrical parameter data and dynamometer diagram data synchronously measured after the pumping well is stably produced; the electrical parameter data include the active power input of the pumping unit; the dynamometer diagram data include the wellhead load data of the pumping well; the measured electrical parameter data and the initial electrical parameter data of the pumping well are subjected to difference calculation to obtain electrical parameter difference data; the dynamometer diagram difference data of the pumping well is calculated based on the electrical parameter difference data of the pumping well; the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to generate a target dynamometer diagram of the pumping well, so that accurate dynamometer diagram difference data can be calculated through the electrical parameter difference data of the pumping well, thereby improving the accuracy of generating the target dynamometer diagram of the pumping well. Compared with the prior art, it is not necessary to obtain information on the weight and position of the balance block, thereby reducing the difficulty of converting the electrical parameter data into the dynamometer diagram, while improving the conversion efficiency and reducing the conversion error.
[0069] As described above, the embodiment of the present invention can obtain the electrical parameter difference curve based on the electrical parameter difference data of the pumping well, and then calculate the dynamometer diagram difference curve, and finally superimpose the dynamometer diagram difference curve on the template dynamometer diagram (i.e., the initial dynamometer diagram data) to obtain the converted target dynamometer diagram curve; compared with the prior art, it is not necessary to equip a load tester to realize the display of electrical parameters, and according to the dynamometer diagram obtained by conversion, it is possible to further realize the working condition diagnosis, dynamometer oil measurement, dynamic liquid level calculation, etc. The embodiment of the present invention can obtain the dynamometer diagram required for working condition diagnosis and metering calculation, replace the traditional load sensor, solve the current problems of high cost, low penetration rate, easy drift and distortion of data, etc. of load sensors, reduce costs, improve accuracy, provide support for the construction of low-cost Internet of Things, and promote the popularization of low-cost Internet of Things construction. The embodiment of the present invention can convert electrical parameter data into dynamometer diagrams by using the difference method. The method is simple, can eliminate the influence of the balance condition of the pumping unit, and the result is highly accurate.
[0070] The embodiment of the present invention is applicable to mechanical oil production wells that need to test the dynamometer diagram, and can further realize dynamometer diagram diagnosis, dynamometer diagram production measurement and dynamic liquid level calculation of the oil well, etc. It solves the shortcomings of short life, high cost and low accuracy of electric parameter conversion dynamometer diagram of load sensors under traditional methods, and has broad application prospects.
[0071] Figure 5 1 is a schematic diagram of the structure of a device for converting electrical parameter data of a pumping well into an indicator diagram according to an embodiment of the present invention. The device for converting electrical parameter data of a pumping well into an indicator diagram according to an embodiment of the present invention may include:
[0072] The data calibration module 01 is used to calibrate the initial electrical parameter data and initial dynamometer diagram data of the pumping well; the initial electrical parameter data is used to characterize the electrical parameter data synchronously measured after the pumping well is in stable production; the initial dynamometer diagram data is used to characterize the dynamometer diagram data synchronously measured after the pumping well is in stable production; the electrical parameter data includes the active power input of the pumping unit; the dynamometer diagram data includes the wellhead load data of the pumping well;
[0073] The electrical parameter difference calculation module 02 is used to perform difference calculation on the measured electrical parameter data of the pumping well and the initial electrical parameter data to obtain electrical parameter difference data;
[0074] The dynamometer diagram difference calculation module 03 is used to calculate the dynamometer diagram difference data of the pumping well according to the electrical parameter difference data of the pumping well;
[0075] The dynamometer diagram generating module 04 is used to superimpose the dynamometer diagram difference data of the pumping well onto the initial dynamometer diagram data to generate the target dynamometer diagram of the pumping well.
[0076] In one embodiment, the electrical parameter difference calculation module is specifically used to: perform difference calculation on the active power input to the oil pump in the measured electrical parameter data of the oil pump well and the active power input to the oil pump in the initial electrical parameter data to obtain the difference data of the active power input to the oil pump;
[0077] The dynamometer diagram difference calculation module is specifically used for:
[0078] According to the difference data of active power input of the pumping units in the pumping well, the difference data of the indicator diagram of the pumping well is calculated.
[0079] In one embodiment, the electrical parameter difference calculation module is specifically used to: perform difference calculation on the active power input of the oil pumping unit in the measured electrical parameter data of the oil pumping unit well and the active power input of the oil pumping unit in the initial electrical parameter data according to the following formula to obtain the difference data of the active power input of the oil pumping unit:
[0080] ΔP(i)=P1(i)-P0(i)
[0081] Among them, ΔP(i) is the difference in active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P1(i) is the measured active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P0(i) is the initial active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW.
[0082] In one embodiment, the dynamometer diagram difference data of the pumping well includes wellhead load difference data of the pumping well;
[0083] The dynamometer diagram difference calculation module is specifically used for:
[0084] Calculating the output active power difference data of the pumping units of the pumping well according to the input active power difference data of the pumping units of the pumping well;
[0085] Calculate the crank net torque difference data of the pumping well according to the active power difference data of the pumping unit output of the pumping well;
[0086] According to the crank net torque difference data of the pumping well, the wellhead load difference data of the pumping well is calculated.
[0087] In one embodiment, the dynamometer diagram difference calculation module is specifically used for:
[0088] The output active power difference data of the pumping units of the pumping well is calculated according to the input active power difference data of the pumping units of the pumping well according to the following formula:
[0089] ΔP out (i) = KΔP(i)
[0090] Where ΔPout (i) is the difference in the output power of the pump at the i-th moment in a single pumping stroke, in kW; ΔP(i) is the difference in the input active power of the pump at the i-th moment in a single pumping stroke, in kW; K is the motor efficiency.
[0091] In one embodiment, the dynamometer diagram difference calculation module is specifically used for:
[0092] The net crank torque difference data of the pumping well is calculated according to the active power difference data of the pumping unit output of the pumping well according to the following formula:
[0093]
[0094] Among them, ΔM n (i) is the net crank torque difference of the pumping well at the i-th moment in a single pumping stroke, in kN·m; η1 is the belt transmission efficiency; η2 is the reduction box transmission efficiency; i MB n is the transmission ratio from the output shaft of the pumping unit to the output shaft of the reduction gearbox; m is the number of motor revolutions, in rpm; ΔP out (i) is the difference in pumping unit output power at the i-th moment in a single pumping unit stroke, in kW.
[0095] In one embodiment, the dynamometer diagram difference calculation module is specifically used for:
[0096] The wellhead load difference data of the pumping well can be calculated based on the crank net torque difference data of the pumping well according to the following formula:
[0097]
[0098] Where ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔM n (i) is the net crank torque difference of the pumping unit at the i-th moment in a single pumping unit stroke, in kN·m; TF is the torque factor, dimensionless.
[0099] In one embodiment, the dynamometer diagram generating module is specifically used for:
[0100] The wellhead load difference data of the pumping well in the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well;
[0101] A target indicator diagram of the pumping well is generated according to the target indicator diagram data of the pumping well.
[0102] In one embodiment, the dynamometer diagram generating module is specifically used for:
[0103] According to the following formula, the load difference data in the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well:
[0104] F1(i)=F0(i)+ΔF(i)
[0105] Among them, F1(i) is the wellhead load in the target dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; F0(i) is the wellhead load in the initial dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN.
[0106] In one embodiment, the dynamometer diagram generating module is specifically used for:
[0107] Based on the correlation between the wellhead load and the displacement of the pumping well, and according to the target indicator diagram data of the pumping well, a target indicator diagram of the pumping well is generated.
[0108] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of converting the electrical parameter data of the pumping well into a dynamometer diagram when executing the computer program.
[0109] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the method for converting the electrical parameter data of a pumping well into a dynamometer diagram.
[0110] In an embodiment of the present invention, initial electrical parameter data and initial dynamometer diagram data of a pumping well are calibrated; the initial electrical parameter data and initial dynamometer diagram data are used to characterize the electrical parameter data and dynamometer diagram data synchronously measured after the pumping well is stably produced; the electrical parameter data include the active power input of the pumping unit; the dynamometer diagram data include the wellhead load data of the pumping well; the measured electrical parameter data and the initial electrical parameter data of the pumping well are subjected to difference calculation to obtain electrical parameter difference data; the dynamometer diagram difference data of the pumping well is calculated based on the electrical parameter difference data of the pumping well; the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to generate a target dynamometer diagram of the pumping well, so that accurate dynamometer diagram difference data can be calculated through the electrical parameter difference data of the pumping well, thereby improving the accuracy of generating the target dynamometer diagram of the pumping well. Compared with the prior art, it is not necessary to obtain information on the weight and position of the balance block, thereby reducing the difficulty of converting the electrical parameter data into the dynamometer diagram, while improving the conversion efficiency and reducing the conversion error.
[0111] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0112] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for converting electrical parameter data of a pumping well into a dynamometer diagram, characterized in that: include: Calibrate the initial electrical parameter data and initial dynamometer diagram data of the pumping well; The initial electrical parameter data is used to characterize the electrical parameter data synchronously measured after the pumping well has stabilized production; The initial dynamometer data is used to characterize the dynamometer data synchronously measured after the stable production of the pumping well; the electrical parameter data includes the active power input of the pumping unit; the dynamometer data includes the wellhead load data of the pumping well; Perform difference calculation on the measured electrical parameter data and the initial electrical parameter data of the pumping well to obtain electrical parameter difference data; According to the electrical parameter difference data of the pumping well, the dynamometer diagram difference data of the pumping well is calculated; The difference data of the indicator diagram of the pumping well is superimposed on the initial indicator diagram data to generate the target indicator diagram of the pumping well; The measured electrical parameter data of the pumping well and the initial electrical parameter data are calculated by difference to obtain electrical parameter difference data, including: The difference between the active power input of the oil pumping unit in the measured electrical parameter data of the oil pumping unit well and the active power input of the oil pumping unit in the initial electrical parameter data is calculated to obtain the difference data of the active power input of the oil pumping unit; According to the electrical parameter difference data of the pumping well, the dynamometer diagram difference data of the pumping well is calculated, including: According to the difference data of active power input of the pumping unit of the pumping well, the difference data of the indicator diagram of the pumping well is calculated; The dynamometer diagram difference data of the pumping well includes wellhead load difference data of the pumping well; According to the difference data of the active power input of the pumping unit of the pumping well, the difference data of the indicator diagram of the pumping well is calculated, including: Calculating the output active power difference data of the pumping units of the pumping well according to the input active power difference data of the pumping units of the pumping well; Calculate the crank net torque difference data of the pumping well according to the active power difference data of the pumping unit output of the pumping well; According to the crank net torque difference data of the pumping well, the wellhead load difference data of the pumping well is calculated; The net crank torque difference data of the pumping well is calculated according to the active power difference data of the pumping unit output of the pumping well according to the following formula: Among them, ΔM n (i) is the net crank torque difference of the pumping well at the i-th moment in a single pumping stroke, in kN·m; η1 is the belt transmission efficiency; η2 is the reduction box transmission efficiency; i MB n is the transmission ratio from the output shaft of the pumping unit to the output shaft of the reduction gearbox; m is the number of motor revolutions, in rpm; ΔP out (i) is the difference in pumping unit output power at the i-th moment in a single pumping unit stroke, in kW; The wellhead load difference data of the pumping well can be calculated based on the crank net torque difference data of the pumping well according to the following formula: Where ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔM n (i) is the net crank torque difference of the pumping unit at the i-th moment in a single pumping unit stroke, in kN·m; TF is the torque factor, dimensionless.
2. The method according to claim 1, characterized in that The difference between the measured electrical parameter data of the pumping unit input active power and the initial electrical parameter data of the pumping unit input active power is calculated according to the following formula to obtain the difference data of the pumping unit input active power: ΔP(i)=P1(i)-P0(i) Among them, ΔP(i) is the difference in active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P1(i) is the measured active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P0(i) is the initial active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW.
3. The method according to claim 1, characterized in that The output active power difference data of the pumping units of the pumping well is calculated according to the input active power difference data of the pumping units of the pumping well according to the following formula: ΔP out (i)=KΔP(i) Among them, ΔP out (i) is the difference in the output power of the pump at the i-th moment in a single pumping stroke, in kW; ΔP(i) is the difference in the input active power of the pump at the i-th moment in a single pumping stroke, in kW; K is the motor efficiency.
4. The method according to claim 1, characterized in that The difference data of the dynamometer diagram of the pumping well is superimposed on the initial dynamometer diagram data to generate the target dynamometer diagram of the pumping well, including: The wellhead load difference data of the pumping well in the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well; A target indicator diagram of the pumping well is generated according to the target indicator diagram data of the pumping well.
5. The method according to claim 4, characterized in that According to the following formula, the load difference data in the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well: F1(i)=F0(i)+ΔF(i) Among them, F1(i) is the wellhead load in the target dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; F0(i) is the wellhead load in the initial dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN.
6. The method according to claim 4, characterized in that According to the target indicator diagram data of the pumping well, the target indicator diagram of the pumping well is generated, including: Based on the correlation between the wellhead load and the displacement of the pumping well, and according to the target indicator diagram data of the pumping well, a target indicator diagram of the pumping well is generated.
7. A device for converting electrical parameter data of a pumping well into a power diagram, characterized in that: include: A data calibration module is used to calibrate the initial electrical parameter data and initial dynamometer diagram data of the pumping well; The initial electrical parameter data is used to characterize the electrical parameter data synchronously measured after the stable production of the pumping well; the initial dynamometer data is used to characterize the dynamometer data synchronously measured after the stable production of the pumping well; the electrical parameter data includes the active power input of the pumping unit; the dynamometer data includes the wellhead load data of the pumping well; The electrical parameter difference calculation module is used to perform difference calculation on the measured electrical parameter data of the pumping well and the initial electrical parameter data to obtain electrical parameter difference data; The dynamometer diagram difference calculation module is used to calculate the dynamometer diagram difference data of the pumping well according to the electrical parameter difference data of the pumping well; The indicator diagram generation module is used to superimpose the difference data of the indicator diagram of the pumping well onto the initial indicator diagram data to generate the target indicator diagram of the pumping well; The electrical parameter difference calculation module is specifically used to: perform difference calculation on the active power input to the oil pump in the measured electrical parameter data of the oil pump well and the active power input to the oil pump in the initial electrical parameter data to obtain the difference data of the active power input to the oil pump; The dynamometer diagram difference calculation module is specifically used for: According to the difference data of active power input of the pumping unit of the pumping well, the difference data of the indicator diagram of the pumping well is calculated; The dynamometer diagram difference data of the pumping well includes wellhead load difference data of the pumping well; Calculating the output active power difference data of the pumping units of the pumping well according to the input active power difference data of the pumping units of the pumping well; Calculate the crank net torque difference data of the pumping well according to the active power difference data of the pumping unit output of the pumping well; According to the crank net torque difference data of the pumping well, the wellhead load difference data of the pumping well is calculated; The net crank torque difference data of the pumping well is calculated according to the active power difference data of the pumping unit output of the pumping well according to the following formula: Among them, ΔM n (i) is the net crank torque difference of the pumping well at the i-th moment in a single pumping stroke, in kN·m; η1 is the belt transmission efficiency; η2 is the reduction box transmission efficiency; i MB n is the transmission ratio from the output shaft of the pumping unit to the output shaft of the reduction gearbox; m is the number of motor revolutions, in rpm; ΔP out (i) is the difference in pumping unit output power at the i-th moment in a single pumping unit stroke, in kW; The wellhead load difference data of the pumping well can be calculated based on the crank net torque difference data of the pumping well according to the following formula: Where ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔM n (i) is the net crank torque difference of the pumping unit at the i-th moment in a single pumping unit stroke, in kN·m; TF is the torque factor, dimensionless.
8. The device according to claim 7, characterized in that The electrical parameter difference calculation module is specifically used to calculate the difference between the pumping unit input active power in the measured electrical parameter data of the pumping well and the pumping unit input active power in the initial electrical parameter data according to the following formula to obtain the pumping unit input active power difference data: ΔP(i)=P1(i)-P0(i) Among them, ΔP(i) is the difference in active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P1(i) is the measured active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW; P0(i) is the initial active power input of the pumping unit at the i-th moment in a single pumping unit stroke, in kW.
9. The device according to claim 7, characterized in that The dynamometer diagram difference calculation module is specifically used for: The output active power difference data of the pumping units of the pumping well is calculated according to the input active power difference data of the pumping units of the pumping well according to the following formula: ΔP out (i)=KΔP(i) Among them, ΔP out (i) is the difference in the output power of the pump at the i-th moment in a single pumping stroke, in kW; ΔP(i) is the difference in the input active power of the pump at the i-th moment in a single pumping stroke, in kW; K is the motor efficiency.
10. The device according to claim 7, characterized in that The dynamometer diagram generation module is specifically used for: The wellhead load difference data of the pumping well in the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well; A target indicator diagram of the pumping well is generated according to the target indicator diagram data of the pumping well.
11. The device according to claim 10, characterized in that The dynamometer diagram generation module is specifically used for: According to the following formula, the load difference data in the dynamometer diagram difference data of the pumping well is superimposed on the initial dynamometer diagram data to obtain the target dynamometer diagram data of the pumping well: F1(i)=F0(i)+ΔF(i) Among them, F1(i) is the wellhead load in the target dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; F0(i) is the wellhead load in the initial dynamometer data of the pumping well at the i-th moment in a single pumping stroke, in kN; ΔF(i) is the wellhead load difference of the pumping well at the i-th moment in a single pumping stroke, in kN.
12. The device according to claim 10, characterized in that The dynamometer diagram generation module is specifically used for: Based on the correlation between the wellhead load and the displacement of the pumping well, and according to the target indicator diagram data of the pumping well, a target indicator diagram of the pumping well is generated.
13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for determining indicator diagram of electrical parameters of rod-pumped well
CN104533382A