Intelligent control method and device for pumping between oil pumping units

By converting the well ground power diagram into the bottom power diagram and judging consistency, the problem of low accuracy of pumping control between oil pumps is solved, and more efficient oil well air pumping detection and control is achieved, reducing the energy of oil field oil production Consumption and equipment loss.

CN114382447BActive Publication Date: 2024-12-10DAQING FUXINGDA PETROLEUM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111665837.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-12-10
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the prior art, the accuracy of determining whether the oil pump control mode is intermittent based on the ground power diagram is low, resulting in inaccurate oil well pumping control, which increases equipment loss and maintenance costs.

Method used

By determining the ground power diagram of the oil well based on the voltage signal and current signal of the driving motor, establishing a kinematic model of the oil pump rod, converting it into a bottom-hole power diagram, and determining the consistency of the bottom-hole power diagram and the preset power diagram. Whether the oil pump is in a vacuum state, if it is in a vacuum state, adjust the driving motor control mode to enter the inter-pump state.

Benefits of technology

It improves the accuracy of the judgment of the oil pump control mode, saves costs, reduces the energy consumption and equipment loss of oil field oil production, and extends the service life of the oil well.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114382447B_ABST
    Figure CN114382447B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of motor control technology, and specifically provides an intelligent control method and device for intermittent pumping of an oil pumping unit, aiming to solve the problem of low accuracy of the prior art method for judging whether the control mode of an oil pumping unit is intermittent pumping based on a ground dynamometer diagram. To this end, the intelligent control method for intermittent pumping of an oil pumping unit of the present invention includes the following steps: determining a ground dynamometer diagram of an oil well based on a voltage signal and a current signal of a driving motor; determining a bottomhole dynamometer diagram of an oil well based on a ground dynamometer diagram of an oil well; judging whether the oil pumping unit is in an empty pumping state based on the bottomhole dynamometer diagram of an oil well; and when the oil pumping unit is in an empty pumping state, controlling the driving motor of the oil pumping unit so that the oil pumping unit operates in an intermittent pumping control mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of motor control, and in particular provides an intelligent control method and device for inter-pumping of oil pumps. Background Art

[0002] For a long time, with the continuous exploitation of crude oil in various oil fields, some oil wells in my country have entered the middle and late stages of exploitation, and the underground oil layers have obvious insufficient fluid supply capacity. The pumping units of these wells are mostly operated at light loads during normal operation, and sometimes there will be varying degrees of "pumping empty" or even empty pumping. When the pumping unit is empty, the motor is running at light load, the pumping unit is not efficient, the equipment loss increases, and electric energy is wasted. In addition, when the pump is empty, the filling degree of the oil pump is very low during the upstroke, and the wellhead oil pipe basically does not produce oil, and the flowing crude oil cannot be used to cool the sucker rod, causing the sucker rod to heat up and be damaged. Long-term empty pumping will also damage the underground structure of the oil well, causing the oil well to be scrapped prematurely before its service life, resulting in huge losses.

[0003] Traditional intermittent pumping control is generally achieved by adjusting the parameters of the oil well, such as manually changing the stroke and stroke frequency of the pumping unit at regular intervals. However, this method is vague in determining the time interval between the start-up and shutdown of the pumping well, and requires a high sense of responsibility from the workers on the job. The manual parameter adjustment control accuracy is low, the workload is large, and it is impossible to avoid empty pumping in time. Another commonly used method is to measure the indicator diagram of the wellhead of the pumping unit, and to judge the change of the oil well state by installing a load sensor and a displacement sensor on the light rod of the pumping unit, and to measure the wellhead indicator diagram according to the change of the oil well state. According to the indicator diagram, the empty pumping state of the oil well is judged, and the appropriate start, stop and interval time are set for the pumping unit, so as to realize the intermittent operation of the oil well and enter the intermittent pumping state, so as to achieve the purpose of controlling "empty pumping". The disadvantage is that the installation of load sensors and displacement sensors increases the workload of installation and maintenance. In particular, the ground wellhead indicator diagram of the oil pump obtained by this method reflects the relationship curve between the load and displacement of the ground suspension point of the oil pump, that is, the situation of the ground wellhead part. Due to the large length of the sucker rod, during the working process of the oil well, due to the fluctuation of the load and the complex environment downhole, the oil rod is constantly stretched and shortened. In this way, after the transmission through the sucker rod, the ground indicator diagram will show a great difference from the indicator diagram of the bottom of the well, resulting in inaccurate or even distorted judgment of empty pumping, which seriously affects the operation of the empty pumping control of the oil well.

[0004] Accordingly, the art needs a new intelligent control solution for inter-pumping to solve the above problems. Summary of the invention

[0005] In order to overcome the above defects, the present invention is proposed to solve or at least partially solve the technical problem that the method of judging whether the control mode of the pumping unit is intermittent pumping based on the ground indicator diagram in the prior art has low accuracy. The present invention provides an intelligent control method and device for intermittent pumping of a pumping unit.

[0006] In a first aspect, the present invention provides an intelligent control method for intermittent pumping of an oil pumping unit, comprising the following steps: determining a surface dynamometer diagram of an oil well based on a voltage signal and a current signal of a driving motor; determining a bottomhole dynamometer diagram of an oil well based on the surface dynamometer diagram of the oil well; judging whether the oil pumping unit is in an idle state based on the bottomhole dynamometer diagram of the oil well; and when the oil pumping unit is in an idle state, controlling the driving motor of the oil pumping unit so that the oil pumping unit operates in an intermittent pumping control mode.

[0007] In one embodiment, determining the surface dynamometer diagram of the oil well based on the voltage signal and current signal of the driving motor includes: detecting the voltage signal and current signal of the driving motor; determining the stroke cycle and active power of the pumping unit based on the voltage signal and current signal; and determining the surface dynamometer diagram of the oil well based on the stroke cycle and active power of the pumping unit.

[0008] In one embodiment, determining the bottom hole indicator diagram of the oil well based on the surface indicator diagram of the oil well includes: establishing a kinematic mechanics model of a sucker rod; performing a mechanical analysis on the sucker rod based on the kinematic mechanics model to obtain a dynamic equation of the sucker rod; determining initial conditions and boundary conditions based on the surface indicator diagram of the oil well; and performing a differential solution on the dynamic equation of the sucker rod using the initial conditions and boundary conditions to obtain the bottom hole indicator diagram of the oil well.

[0009] In one embodiment, judging whether the oil pumping unit is in an empty pumping state based on the bottom hole indicator diagram of the oil well includes: judging whether the shape of the bottom hole indicator diagram of the oil well is consistent with a preset indicator diagram shape; if the shape of the bottom hole indicator diagram of the oil well is inconsistent with the preset indicator diagram shape, determining that the oil pumping unit is in an empty pumping state, and the preset indicator diagram shape is the indicator diagram shape determined during standard oil production of the oil well.

[0010] In one embodiment, when the oil pump is in an idle state, controlling the drive motor of the oil pump so that the oil pump operates in an intermittent pumping control mode includes: when the oil pump is in an idle state, sending an intermittent pumping signal to the frequency converter to reduce the speed of the drive motor so that the oil pump operates in the intermittent pumping control mode.

[0011] In a second aspect, the present invention provides an intelligent control device for intermittent pumping of an oil pumping unit, characterized in that it includes: a first determination module, configured to determine a surface dynamometer diagram of the oil well based on a voltage signal and a current signal of a driving motor; a second determination module, configured to determine a bottomhole dynamometer diagram of the oil well based on the surface dynamometer diagram of the oil well; a judgment module, configured to judge whether the oil pumping unit is in an idle state based on the bottomhole dynamometer diagram of the oil well; and a control module, configured to control the driving motor of the oil pumping unit when the oil pumping unit is in an idle state, so that the oil pumping unit operates in an intermittent pumping control mode.

[0012] In one embodiment, the first determination module includes: a detection submodule, configured to detect the voltage signal and current signal of the drive motor; a first determination submodule, configured to determine the stroke cycle and active power of the pumping unit based on the voltage signal and current signal; and a second determination submodule, configured to determine the surface dynamometer diagram of the oil well based on the stroke cycle and active power of the pumping unit.

[0013] In one embodiment, the judgment module is further configured to: judge whether the shape of the bottom hole indicator diagram of the oil well is consistent with a preset indicator diagram shape. When the shape of the bottom hole indicator diagram of the oil well is inconsistent with the preset indicator diagram shape, determine that the pumping unit is in an empty pumping state, and the preset indicator diagram shape is the indicator diagram shape determined during standard oil production of the oil well.

[0014] In a third aspect, an electronic device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, and the program codes are suitable for being loaded and run by the processor to execute any of the aforementioned intelligent control methods for inter-pumping of oil pumps.

[0015] In a fourth aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute any of the aforementioned intelligent control methods for inter-pumping of oil pumps.

[0016] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:

[0017] The present invention provides an intelligent control method and device for intermittent pumping of an oil pumping unit. First, the bottom hole indicator diagram of the oil well is determined by the surface indicator diagram of the well. Then, the bottom hole indicator diagram of the oil well is used to determine whether the control mode of the oil pumping unit is the intermittent pumping control mode. When the control mode of the oil pumping unit is the intermittent pumping control mode, the driving motor of the oil pumping unit is controlled to make the oil pumping unit operate in the intermittent pumping state, thereby improving the accuracy of judging the control mode of the oil pumping unit, saving costs, and playing an important role in energy conservation and consumption reduction in maintaining oil field production.

[0018] Based on the established kinematic mechanics model of the sucker rod, the surface indicator diagram of the oil well is converted into a bottom hole indicator diagram of the oil well, avoiding the current technical problem of low accuracy and difficulty in meeting the actual needs of users due to judging whether the pumping unit control mode is intermittent pumping based on the surface indicator diagram, thereby improving the accuracy of intermittent pumping control and meeting customer needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the drawings represent similar components, wherein:

[0020] Figure 1 It is a schematic flow chart of main steps of an intelligent control method for pumping between oil pumping units according to an embodiment of the present invention;

[0021] Figure 2 is a schematic diagram of a sucker rod kinematics model structure according to an embodiment of the present invention;

[0022] Figure 3 is a flow chart of an intelligent control method for inter-pumping according to an embodiment of the present invention;

[0023] Figure 4 It is a schematic diagram of the main structural block diagram of an intelligent control device for oil pumping units according to an embodiment of the present invention.

[0024] Reference numerals list :

[0025] 11: first determination module; 12: second determination module; 13: judgment module; 14: control module. DETAILED DESCRIPTION

[0026] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0027] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.

[0028] At present, the traditional method is to judge whether the control mode of the oil pumping unit is intermittent pumping based on the ground indicator diagram. This method has low accuracy and is difficult to meet the actual needs of users. To this end, the present application provides an intelligent control method and device for intermittent pumping of an oil pumping unit. First, the oil well bottom indicator diagram is determined by the well ground indicator diagram, and then the oil well bottom indicator diagram is used to judge whether the control mode of the oil pumping unit is the intermittent pumping control mode. When the control mode of the oil pumping unit is the intermittent pumping control mode, the driving motor of the oil pumping unit is controlled to make the oil pumping unit run in the intermittent pumping state, which improves the accuracy of the judgment of the control mode of the oil pumping unit, saves costs, and plays an important role in energy saving and consumption reduction in maintaining oil field production.

[0029] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart of the main steps of the intelligent control method for pumping between oil pumping units according to an embodiment of the present invention. Figure 1 As shown, the intelligent control method for inter-pumping in the embodiment of the present invention mainly includes the following steps S101 to S104.

[0030] Step S101: determining the surface dynamometer diagram of the oil well based on the voltage signal and the current signal of the driving motor, which can be specifically achieved through the following steps S1011 to S1013.

[0031] Step S1011: Detect the voltage signal and current signal of the drive motor. Specifically, use a voltage sensor to detect the voltage signal of the drive motor, and use a current sensor to detect the current signal of the drive motor.

[0032] Step S1012: Determine the stroke cycle and active power of the pumping unit based on the voltage signal and the current signal. Specifically, based on the periodicity of the current change of the current signal detected above, it is possible to determine the time it takes for the oil well to complete an up and down stroke, which is the cycle of each stroke. In addition, based on the voltage signal and current signal detected above, the values ​​of the voltage signal u and the current signal i as well as the voltage phase signal can be obtained. and current phase signal For voltage phase signal and current phase signal The phase difference between voltage and current can be obtained by subtracting the power factor angle. Secondly, the real-time power of the oil well is calculated based on the voltage, current and power factor angle:

[0033] Step S1013: Determine the surface dynamometer diagram of the oil well based on the stroke cycle and active power of the oil pumping unit. Specifically, after obtaining the stroke cycle and active power of the oil pumping unit, the active power can be converted into the suspension point load of the oil pumping unit using the conversion formula of active power to suspension point load, and then the surface dynamometer diagram of the oil well is drawn according to the stroke cycle, with the displacement of the rod of the oil pumping unit as the horizontal and vertical coordinates and the suspension point load of the oil pumping unit as the vertical coordinate.

[0034] Step S102: Determine the bottom hole indicator diagram of the oil well based on the surface indicator diagram of the oil well. The surface indicator diagram of the oil well reflects the relationship curve between the suspension load and displacement of the pumping unit, that is, the situation of the above-ground part. The actual working condition of the downhole components of the pumping unit truly reflects the gathering of underground crude oil and can best realize the control of the oil well, so it is necessary to obtain the indicator diagram at any section downhole. This application mainly realizes the conversion from the surface indicator diagram of the oil well to the bottom hole indicator diagram of the oil well by establishing a kinematic mechanics model of the sucker rod. First, a kinematic mechanics model of the sucker rod is established; then, a mechanical analysis of the sucker rod is performed based on the kinematic mechanics model to obtain the dynamic equation of the sucker rod; secondly, the initial conditions and boundary conditions are determined based on the surface indicator diagram of the oil well; the dynamic equation of the sucker rod is differentially solved using the initial conditions and boundary conditions to obtain the bottom hole indicator diagram of the oil well.

[0035] Generally speaking, the kinematic mechanics model of the sucker rod is established as follows: Figure 2 As shown in the figure, a sucker rod with a length of Δx is analyzed, where x is the position of the sucker rod suspension point before it moves, u(x,t) is the displacement parameter, and f x 、f x+Δx is the force parameter of the analyzed section of the sucker rod, f a is the inertia force of the sucker rod section under analysis, f d is the viscous damping force of the sucker rod section under analysis, f w is the weight of the sucker rod section under analysis, E ris the elastic modulus of the sucker rod section under analysis, A r is the cross-sectional area of ​​the sucker rod section under analysis, ρ r is the density of the sucker rod section being analyzed, V e is the viscous resistance parameter of the sucker rod section under analysis. The mechanical analysis of the sucker rod section under analysis yields the following mechanical equation:

[0036]

[0037]

[0038]

[0039]

[0040] f w =ρ r A r Δxg

[0041] According to the analysis of the axial force ∑F of the sucker rod section x = 0, the dynamic equation of the sucker rod under analysis can be obtained:

[0042]

[0043] ρ r A r g is a known constant and can be obtained from the above parameters, so the kinetic equation is simplified to:

[0044]

[0045] c is the speed of sound, c = (E r / ρ r ) 1 / 2 ,v is the damping coefficient, v=V e / (ρ r A r ).

[0046] Then the initial conditions and boundary conditions can be obtained from the oil well surface dynamometer diagram, where the boundary conditions are:

[0047] U(x,t)| x=0 =U(t)

[0048] The initial conditions are:

[0049] U(x,t)| t=0 =U(x)

[0050] F(x,t)| t=0 =L(x)-W r

[0051] U(x) represents the measured displacement of the dynamometer diagram, L(x) represents the measured load of the dynamometer diagram, and W r Represents the weight of the sucker rod string in the well fluid, W r is a constant. Among them, U(x), L(x) and U(t) can all be obtained from the oil well surface indicator diagram. According to the initial conditions and boundary conditions of the above dynamic equation, the dynamic equation is differentially solved, that is, the initial conditions and boundary conditions are substituted into the dynamic equation to solve it, and the solution of the bottom hole indicator diagram is obtained as:

[0052]

[0053]

[0054] Among them, u i+1,j represents the displacement of the pumping rod at each level of the rod column section, Δx represents the step length along the pumping rod direction, i represents the subscript of the pumping rod step length, j represents the subscript of the time step length, Δt represents the time step length, v represents the damping coefficient, and c represents the speed of sound. i,j represents the dynamic load of any section i of the sucker rod at time j. According to the displacement u of the sucker rod at each level of the rod column obtained above i+1,j The bottom hole indicator diagram of the oil well can be drawn based on the dynamic load of any section i of the sucker rod at time j.

[0055] Based on the established kinematic mechanics model of the sucker rod, the surface indicator diagram of the oil well is converted into a bottom hole indicator diagram of the oil well, avoiding the current technical problem of low accuracy and difficulty in meeting the actual needs of users due to judging whether the pumping unit control mode is intermittent pumping based on the surface indicator diagram, thereby improving the accuracy of intermittent pumping control and meeting customer needs.

[0056] Step S103: judging whether the pumping unit is in an empty pumping state based on the bottom hole indicator diagram of the oil well, specifically judging whether the shape of the bottom hole indicator diagram of the oil well is consistent with the preset indicator diagram shape, and determining that the pumping unit is in an empty pumping state when the shape of the bottom hole indicator diagram of the oil well is inconsistent with the preset indicator diagram shape, wherein the preset indicator diagram shape is the indicator diagram shape determined during standard oil production of the oil well. Specifically, judging the actual situation of the bottom hole oil and liquid according to the shape of the bottom hole indicator diagram of the oil well, under normal conditions, that is, when the oil well has sufficient oil and liquid, the indicator diagram is approximately a parallelogram, which is the preset indicator diagram shape. If there is insufficient oil at the bottom of the well, it will affect the shape of the indicator diagram. At this time, a part of the indicator diagram will be missing, indicating that the oil well has entered an empty pumping state. The more the indicator diagram is missing, the more serious the empty pumping phenomenon of the oil well is. Therefore, by comparing the shape of the indicator diagram at the bottom of the well with the shape of the preset indicator diagram, it can be determined whether the pumping unit is in an empty pumping state. When the shape of the indicator diagram at the bottom of the well is inconsistent with the preset indicator diagram, it is determined that the pumping unit is in an empty pumping state.

[0057] Step S104: When the oil pump is in the empty pumping state, the drive motor of the oil pump is controlled so that the oil pump operates in the intermittent pumping control mode. Specifically, when the oil pump is in the empty pumping state, it can be controlled to enter the economic operation state or the intermittent pumping control mode. On the one hand, when the oil pump is in the empty pumping state, the system outputs an intermittent pumping signal to the frequency converter to control the stroke and number of strokes of the oil pump converter and adjust the different speeds and times of the upper and lower strokes. This process is an intelligent self-learning process. The system, the frequency converter, and the drive motor constitute an automatic closed-loop control system. According to the empty pumping state of the system, the output signal of the system is continuously and automatically adjusted to control the frequency conversion of the frequency converter to adjust the speed of the drive motor, thereby adjusting the number of strokes and strokes of the oil pump, so that the oil well can operate in the optimal economic state. On the other hand, if the speed of the drive motor is adjusted by controlling the frequency conversion of the pumping unit inverter, the pumping unit still cannot be controlled to reach a non-empty pumping state, that is, the underground indicator diagram obtained according to the dynamic equation is still missing, which means that the amount of oil well fluid is very small, and the oil well needs to enter the intermittent pumping state, that is, control the pumping unit to enter the intermittent pumping control mode. When the pumping unit is in the intermittent pumping control mode, an intermittent pumping signal is sent to the inverter to reduce the speed of the drive motor or shut down the pumping unit for a period of time, waiting for the bottom well oil to gather, and then the oil well is restarted for pumping. This is also an intelligent self-learning process. The system continuously calculates the bottom well indicator diagram after each oil well is restarted, and determines whether it is necessary to enter the intermittent pumping mode based on the bottom well indicator diagram, thereby controlling the inverter frequency conversion to automatically adjust the intermittent pumping time (that is, the oil well downtime) so that the pumping unit operates in the intermittent pumping control mode.

[0058] Based on the above steps S101 to S104, the bottom hole indicator diagram of the oil well is determined by the surface indicator diagram, and then the bottom hole indicator diagram of the oil well is used to determine whether the control mode of the oil pumping unit is the intermittent pumping control mode. When the control mode of the oil pumping unit is the intermittent pumping control mode, the driving motor of the oil pumping unit is controlled to make the oil pumping unit operate in the intermittent pumping state, which improves the accuracy of the judgment of the oil pumping unit control mode, saves costs, and plays an important role in energy saving and consumption reduction in maintaining oil field production.

[0059] like Figure 3 As shown, based on the bottom hole indicator diagram, it can be determined whether the pumping unit is in an empty pumping state. When the pumping unit is in an empty pumping state, the pumping unit can be further put into an intermittent pumping state or an economic operation state. When the oil well is not in an empty pumping state, the voltage signal and current signal of the drive motor are continuously monitored.

[0060] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.

[0061] Furthermore, the present invention also provides an intelligent control device for inter-pumping of oil pumps.

[0062] See attached Figure 4 , Figure 4 FIG. 1 is a main structural block diagram of an intelligent control device for pumping between oil pumping units according to an embodiment of the present invention. Figure 4 As shown, the pumping unit intermittent pumping intelligent control device in the embodiment of the present invention mainly includes a first determination module 11, a second determination module 12, a judgment module 13 and a control module 14. In some embodiments, one or more of the first determination module 11, the second determination module 12, the judgment module 13 and the control module 14 can be combined into one module. In some embodiments, the first determination module 11 can be configured to determine the surface dynamometer diagram of the oil well based on the voltage signal and current signal of the drive motor. The second determination module 12 can be configured to determine the bottom hole dynamometer diagram of the oil well based on the surface dynamometer diagram of the oil well. The judgment module 13 can be configured to determine whether the pumping unit is in an empty pumping state based on the bottom hole dynamometer diagram of the oil well. The control module 14 can be configured to control the drive motor of the pumping unit when the pumping unit is in an empty pumping state so that the pumping unit operates in an intermittent pumping control mode. In one embodiment, the description of the specific implementation function can be referred to the description of steps S101-step S104.

[0063] In one embodiment, the first determination module includes a detection submodule, a first determination submodule, and a second determination submodule. The detection submodule can be configured to detect a voltage signal and a current signal of the drive motor. The first determination submodule can be configured to determine a stroke cycle and an active power of the pumping unit based on the voltage signal and the current signal. The second determination submodule can be configured to determine a surface dynamometer diagram of the oil well based on the stroke cycle and the active power of the pumping unit.

[0064] In one embodiment, the judgment module is further configured to judge whether the shape of the bottom hole indicator diagram of the oil well is consistent with the preset indicator diagram shape. When the shape of the bottom hole indicator diagram of the oil well is inconsistent with the preset indicator diagram shape, it is determined that the pumping unit is in an empty pumping state. The preset indicator diagram shape is the indicator diagram shape determined during standard oil production of the oil well.

[0065] The above-mentioned intelligent control device for pumping between oil pumping units is used to execute Figure 1The embodiment of the intelligent control method for inter-pumping shown in the figure has similar technical principles, technical problems solved and technical effects produced. Technicians in this technical field can clearly understand that for the convenience and conciseness of description, the specific working process and related instructions of the intelligent control device for inter-pumping can refer to the contents described in the embodiment of the intelligent control method for inter-pumping, and will not be repeated here.

[0066] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0067] Furthermore, the present invention also provides an electronic device. In an electronic device embodiment according to the present invention, the electronic device includes a processor and a storage device, the storage device can be configured to store a program for executing the intelligent control method for pumping between pumping units in the above method embodiment, and the processor can be configured to execute the program in the storage device, the program including but not limited to the program for executing the intelligent control method for pumping between pumping units in the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention.

[0068] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the intelligent control method for pumping between pumping units in the above-mentioned method embodiment, and the program can be loaded and run by a processor to implement the above-mentioned intelligent control method for pumping between pumping units. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.

[0069] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.

[0070] Those skilled in the art will appreciate that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.

[0071] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. An intelligent control method for pumping between oil pumping units, It is characterized in that The steps include: Determine the surface dynamometer diagram of the oil well based on the voltage signal and current signal of the driving motor; include: Detecting the voltage signal and current signal of the driving motor; The stroke cycle and active power of the pumping unit are determined based on the voltage signal and the current signal; specifically, the time for the oil well to complete each up and down stroke is determined according to the periodic characteristics of the current change of the detected current signal; in addition, the values ​​of the voltage signal u and the current signal i and the voltage phase signal are obtained according to the detected voltage signal and the current signal. and current phase signal For voltage phase signal and current phase signal The phase difference between voltage and current is obtained by subtracting, that is, the power factor angle Secondly, the real-time power of the oil well is calculated based on the voltage, current and power factor angle: Determine the surface indicator diagram of the oil well based on the stroke cycle and active power of the oil pumping unit; specifically: after obtaining the stroke cycle and active power of the oil pumping unit, convert the active power into the suspension point load of the oil pumping unit using the conversion formula of active power to suspension point load, and then draw the surface indicator diagram of the oil well based on the stroke cycle, with the bare rod displacement of the oil pumping unit as the horizontal and vertical coordinates and the suspension point load of the oil pumping unit as the vertical coordinate; Determining the bottom hole indicator diagram of the oil well based on the surface indicator diagram of the oil well; comprising: Establish the kinematic mechanics model of the sucker rod; Performing mechanical analysis on the sucker rod based on the kinematic mechanics model to obtain a dynamic equation of the sucker rod; Where u(x, t) is the displacement parameter, c is the speed of sound, c = (E r / ρ r ) 1 / 2 , v is the damping coefficient, E r is the elastic modulus of the sucker rod section under analysis, ρ r is the density of the sucker rod section under analysis; Determining initial conditions and boundary conditions based on the oil well surface dynamometer diagram; Using the initial conditions and boundary conditions to perform differential solutions to the dynamic equations of the pumping rod, and obtain the bottom hole indicator diagram of the oil well; judging whether the pumping unit is in an empty pumping state based on the bottom hole indicator diagram of the oil well; When the oil pump is in an empty pumping state, the driving motor of the oil pump is controlled so that the oil pump operates in an intermittent pumping control mode.

2. The intelligent control method for pumping between pumping units according to claim 1, It is characterized in that Judging whether the oil pumping unit is in an empty pumping state based on the oil well bottom hole indicator diagram includes: judging whether the shape of the oil well bottom hole indicator diagram is consistent with a preset indicator diagram shape; if the shape of the oil well bottom hole indicator diagram is inconsistent with the preset indicator diagram shape, determining that the oil pumping unit is in an empty pumping state, and the preset indicator diagram shape is the indicator diagram shape determined during standard oil production of the oil well.

3. The intelligent control method for pumping between pumping units according to claim 1, It is characterized in that When the oil pump is in an idle state, the driving motor of the oil pump is controlled so that the oil pump operates in an intermittent pumping control mode, including: when the oil pump is in an idle state, an intermittent pumping signal is sent to the frequency converter to reduce the speed of the driving motor, so that the oil pump operates in the intermittent pumping control mode.

4. An intelligent control device for pumping between oil pumping units, It is characterized in that include: A first determination module is configured to determine a surface dynamometer diagram of the oil well based on a voltage signal and a current signal of the drive motor; The first determining module comprises: A detection submodule, configured to detect a voltage signal and a current signal of the drive motor; The first determination submodule is configured to determine the stroke cycle and active power of the pumping unit based on the voltage signal and the current signal; specifically, according to the periodic characteristics of the current change of the detected current signal, determine the time for the oil well to complete each up and down stroke of oil production; in addition, according to the detected voltage signal and current signal, obtain the values ​​of the voltage signal u and the current signal i and the voltage phase signal and current phase signal For voltage phase signal and current phase signal The phase difference between voltage and current is obtained by subtracting, that is, the power factor angle Secondly, the real-time power of the oil well is calculated based on the voltage, current and power factor angle: The second determination submodule is configured to determine the surface indicator diagram of the oil well based on the stroke cycle and active power of the oil pumping unit; specifically, after obtaining the stroke cycle and active power of the oil pumping unit, the active power is converted into the suspension point load of the oil pumping unit by using the conversion formula of active power to suspension point load, and then according to the stroke cycle, the surface indicator diagram of the oil well is drawn with the bare rod displacement of the oil pumping unit as the horizontal and vertical coordinates and the suspension point load of the oil pumping unit as the vertical coordinate; The second determination module is configured to determine the bottom hole indicator diagram of the oil well based on the surface indicator diagram of the oil well; comprising: Establish the kinematic mechanics model of the sucker rod; Performing mechanical analysis on the sucker rod based on the kinematic mechanics model to obtain a dynamic equation of the sucker rod; Where u(x, t) is the displacement parameter, c is the speed of sound, c = (E r / ρ r ) 1 / 2 , v is the damping coefficient, E r is the elastic modulus of the sucker rod section under analysis, ρ r is the density of the sucker rod section under analysis; Determining initial conditions and boundary conditions based on the oil well surface dynamometer diagram; Using the initial conditions and boundary conditions to perform differential solutions to the dynamic equations of the pumping rod, and obtain the bottom hole indicator diagram of the oil well; A judgment module is configured to judge whether the oil pumping unit is in an empty pumping state based on the bottom hole indicator diagram of the oil well; The control module is configured to control the driving motor of the oil pumping unit when the oil pumping unit is in an empty pumping state, so that the oil pumping unit operates in an intermittent pumping control mode.

5. The intelligent control device for pumping between pumping units according to claim 4, It is characterized in that The judgment module is further configured to: judge whether the shape of the bottom hole indicator diagram of the oil well is consistent with the preset indicator diagram shape. When the shape of the bottom hole indicator diagram of the oil well is inconsistent with the preset indicator diagram shape, determine that the pumping unit is in an empty pumping state, and the preset indicator diagram shape is the indicator diagram shape determined during standard oil production of the oil well.

6. An electronic device comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, It is characterized in that The program code is suitable for being loaded and run by the processor to execute the intelligent control method for inter-pumping of oil pumping units according to any one of claims 1 to 3.

7. A computer-readable storage medium having a plurality of program codes stored therein, It is characterized in that The program code is suitable for being loaded and run by a processor to execute the intelligent control method for inter-pumping of oil pumping units according to any one of claims 1 to 3.