Control method, device and equipment of oil pumping unit and storage medium

By calculating the fluid production and pumping efficiency of the oil pump, the operation and flushing of the oil pump is directly optimized, and the problems of complex and large error in the calculation of electrical parameter data in the existing technology are solved, and the efficiency and reliability of oil pump control are improved. .

CN119308633APending Publication Date: 2025-01-14PETROCHINA CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310871226.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the existing oil pump well lift control methods, the algorithm for calculating the power diagram of the electrical parameter data is complex and the computing efficiency is low. The increased power diagram process increases errors and reduces the reliability of the oil pump optimization control.

Method used

By obtaining the electrical parameter data of the oil pump, calculating the liquid production volume and determining the pump efficiency, controlling the operation and flushing of the oil pump based on the pump efficiency and the preset range relationship, the algorithm is simplified and the intermediate process of the electrical parameter data transfer work diagram is omitted. , directly optimize control.

Benefits of technology

It improves the computing efficiency and reliability of the optimization control of the oil pump, reduces calculation errors, and achieves more efficient oil pump operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119308633A_ABST
    Figure CN119308633A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a control method, device and equipment of an oil pumping unit and a storage medium, and belongs to the field of oil extraction of oil pumping units. The method comprises the following steps: acquiring an electrical parameter data set of the oil pumping unit; based on the electrical parameter data set, the liquid production capacity of the pumping well where the pumping unit is located is calculated; according to the liquid production capacity, the pump efficiency in the production process of the pumping well is determined; and based on the relation between the pump efficiency and a preset pump efficiency range, the operation stroke frequency of the oil pumping unit is controlled. According to the embodiment of the invention, the algorithm is simpler and more direct, the operation efficiency is improved, the intermediate process of converting the electrical parameter data into the indicator diagram is omitted, the calculation error is reduced, and the reliability of the optimal control of the pumping unit is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of oil production with oil pumping units, and in particular to a control method, device, equipment and storage medium for an oil pumping unit. Background Art

[0002] At present, oil well production at home and abroad mainly relies on artificial lifting. Among them, pumping lifting technology has always been dominant. The number of strokes in the lifting of pumping wells is an important production parameter. The optimization and control of production parameters directly affects the coordination of oil well supply and drainage, the efficiency of oil production, and the energy consumption during the oil production process. Electrical parameter analysis technology has been widely used in the optimization and control of production parameters of pumping wells.

[0003] In the related technology, the power diagram is first calculated through the monitored electrical parameter data, and then the fullness of the power diagram is calculated through the wave equation. Then, it is determined whether the fullness is the same as the set value to change the operating strokes of the pumping unit, thereby achieving optimal control of the pumping unit.

[0004] However, the algorithm for calculating the dynamometer diagram through electrical parameter data is complex and has low computational efficiency. At the same time, the added process of transferring the dynamometer diagram also increases the error and reduces the reliability of the optimized control of the pumping unit. Summary of the invention

[0005] The disclosed embodiment provides a control method, device, equipment and storage medium for an oil pump, which can efficiently and accurately control the operation stroke of the oil pump. The technical solution is as follows:

[0006] On the one hand, a control method for an oil pump is provided, comprising: acquiring an electrical parameter data set of the oil pump; calculating the liquid production of the oil well where the oil pump is located based on the electrical parameter data set; determining the pump efficiency during the production process of the oil well according to the liquid production; and controlling the operating strokes of the oil pump based on the relationship between the pump efficiency and a preset pump efficiency range.

[0007] Optionally, determining the pump efficiency during the production process of the oil well according to the liquid production volume includes: calculating the operating strokes of the oil pumping unit based on the input frequency of the motor; determining the pump efficiency during the production process of the oil well according to the liquid production volume, the cross-sectional area of ​​the oil pump plunger of the oil pumping unit, the stroke during the production process of the oil well and the operating strokes of the oil pumping unit.

[0008] Optionally, the controlling of the operating strokes of the oil pumping unit based on the relationship between the pump efficiency and a preset pump efficiency range includes: when the pump efficiency is within the preset pump efficiency range, controlling the operating strokes of the oil pumping unit according to the liquid production state of the oil pumping unit; when the pump efficiency is greater than the upper limit of the preset pump efficiency range or less than the lower limit of the pump efficiency range, controlling the operating strokes of the oil pumping unit according to the relationship between the input frequency of the motor and the preset frequency range.

[0009] Optionally, controlling the operating strokes of the oil pump according to the liquid production state of the oil pump includes: calculating the product of the operating strokes of the oil pump and the pump efficiency, the product being related to the liquid production state; determining whether the product is a maximum product value in a historical state record, the historical state record including at least one liquid production state data group, each of the liquid production state data group including the operating strokes of the oil pump, the pump efficiency and the product of the operating strokes and the pump efficiency, the pump efficiency in each of the liquid production state data group being within the preset pump efficiency range; if the product is the maximum product value in the historical state record, keeping the operating strokes of the oil pump unchanged; if the product is not the maximum product value in the historical state record, operating the oil pump according to the operating strokes in the liquid production state data group to which the maximum product value belongs.

[0010] Optionally, when the pump efficiency is greater than the upper limit of the preset pump efficiency range or less than the lower limit of the preset pump efficiency range, the operating strokes of the oil pumping unit are controlled according to the relationship between the input frequency of the motor and the preset frequency range, including:

[0011] When the pump efficiency is greater than the upper limit of the preset pump efficiency range and the sum of the input frequency of the motor and the step frequency value does not exceed the frequency range, the motor is operated according to the sum of the input frequency of the motor and the step frequency value, so that the running stroke of the oil pumping unit is improved; or, when the pump efficiency is greater than the upper limit of the preset pump efficiency range and the sum of the input frequency of the motor and the step frequency value exceeds the frequency range, the motor is operated according to the input frequency of the motor, so that the running stroke of the oil pumping unit remains unchanged; or, when the pump efficiency is less than the lower limit of the preset pump efficiency range and the difference between the input frequency of the motor and the step frequency value does not exceed the frequency range, the motor is operated according to the difference between the input frequency of the motor and the step frequency value, so that the running stroke of the oil pumping unit is reduced; or, when the pump efficiency is less than the lower limit of the preset pump efficiency range and the difference between the input frequency of the motor and the step frequency value exceeds the frequency range, the motor is operated according to the input frequency of the motor, so that the running stroke of the oil pumping unit remains unchanged.

[0012] Optionally, if the number of operating strokes of the oil pump is controlled to reach a preset number threshold, the pump efficiency cannot be within the preset pump efficiency range, or the duration for which the pump efficiency cannot be within the preset pump efficiency range reaches a preset duration threshold, then the preset pump efficiency range is adjusted.

[0013] On the other hand, a control device for an oil pump is provided, comprising: an acquisition module for acquiring an electrical parameter data set of the oil pump; a first determination module for calculating the liquid production of the oil well where the oil pump is located based on the electrical parameter data set; a second determination module for determining the pump efficiency during the production process of the oil well according to the liquid production; and a control module for controlling the operating strokes of the oil pump based on the relationship between the pump efficiency and a preset pump efficiency range.

[0014] On the other hand, a control device for an oil pump is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the aforementioned control method for the oil pump.

[0015] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is executed by a processor to implement the aforementioned control method of the oil pump.

[0016] On the other hand, a computer program product is provided, comprising a computer program / instruction, wherein the computer program / instruction implements the aforementioned control method of the oil pump when executed by a processor.

[0017] The technical solution provided by the embodiments of the present disclosure has the following beneficial effects:

[0018] In the disclosed embodiment, the liquid production of the pumping well is calculated based on the electrical parameter data set of the pumping unit, and then the pump efficiency of the pumping unit is calculated according to the liquid production, and then the operation stroke of the pumping unit is controlled by optimizing the pump efficiency. The algorithm is simpler and more direct, and the calculation efficiency is improved. In addition, the intermediate process of converting the electrical parameter data to the power diagram is omitted, the calculation error is reduced, and the reliability of the optimization control of the pumping unit is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a structural schematic diagram of an oil pumping unit provided by an embodiment of the present disclosure;

[0021] Figure 2 is a flow chart of a control method of an oil pumping unit provided by an embodiment of the present disclosure;

[0022] Figure 3 is a flow chart of another method for controlling an oil pump provided by an embodiment of the present disclosure;

[0023] Figure 4 is a schematic diagram of the relationship between submergence and pump efficiency provided by an embodiment of the present disclosure;

[0024] Figure 5 It is a schematic diagram of the relationship between the number of strokes and the pump efficiency provided by an embodiment of the present disclosure;

[0025] Figure 6 is a schematic diagram of the relationship between frequency and liquid production provided by an embodiment of the present disclosure;

[0026] Figure 7 It is a schematic diagram of changes in a pumping well dynamometer diagram provided by an embodiment of the present disclosure;

[0027] Figure 8 is a schematic diagram of the relationship between frequency and energy consumption provided by an embodiment of the present disclosure;

[0028] Fig. 9 is a block diagram of a control device for an oil pumping unit provided by an embodiment of the present disclosure;

[0029] Fig.10 It is a block diagram of a control device of an oil pump provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

[0031] Unless otherwise defined, the technical terms or scientific terms used herein shall have the usual meanings understood by persons with ordinary skills in the field to which the present disclosure belongs. The words "one" or "one" and the like used in the patent application specification and claims of the present disclosure do not indicate a quantitative limitation, but indicate the existence of at least one. The words "include" or "comprise" and the like mean that the elements or objects appearing before "include" or "comprise" cover the elements or objects listed after "include" or "comprise" and their equivalents, and do not exclude other elements or objects. The words "connect" or "connected" and the like are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right", "top", "bottom", etc. are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0032] In order to facilitate understanding of the embodiments of the present disclosure, Figure 1 A brief introduction to the structure and working principle of the oil pump is given.

[0033] Figure 1 Schematic diagram of the structure of an oil pump provided by an embodiment of the present disclosure. Figure 1 As shown, the oil pump includes a motor 1, a reducer 2, a crank 3, a connecting rod 4, a walking beam 5, a bracket 6, a cross beam 7, a base 8, a donkey head 9, a rope hanger 10, a bare rod 11 and a control cabinet 12.

[0034] The base 8 is generally fixed on the cement foundation beside the wellhead of the pumping well, and the motor 1, the reducer 2, and the bracket 6 are all fixed on the base 8. The input end of the reducer 2 is connected to the motor 1, and the output end of the reducer 2 is connected to the crank 3, and the crank 3 is connected to the crossbeam 7 through the connecting rod 4. The walking beam 5 is installed on the bracket 6, and one end of the walking beam 5 is connected to the donkey head 9, and the other end is connected to the crossbeam 7. The donkey head 9 is connected to the light rod 11 through the rope hanger 10, and the donkey head 9 and the rope hanger 10 are facing the wellhead, and the light rod 11 is located in the pumping well.

[0035] The motor 1 is used to provide power, which is transmitted and reduced in speed through the reducer 2 and the pulley of the reducer 2, and then transmitted through the interconnected crank 3, connecting rod 4, crossbeam 7 and walking beam 5, so as to convert the high-speed rotation of the motor 1 into the up and down reciprocating motion of the donkey head 9, and drive the light rod 11 to do up and down reciprocating motion through the suspension rope 10.

[0036] The position switch 13 is installed on the crank 3 and can detect the position of the rotational movement of the crank 3. The rotational movement of the crank 3 transmits power through the connecting rod 4, the cross beam 7 and the walking beam 5, so that the donkey head and the bare rod reciprocate up and down. The position of the rotational movement of the crank 3 is detected to distinguish the upper and lower dead point positions during the operation of the oil pump.

[0037] The control cabinet 12 is connected to the motor 1 and is used to control the operation of the motor 1 .

[0038] In the embodiment of the present disclosure, an electrical parameter sensor is provided in the motor 1 for collecting the electrical parameter data of the motor. The control cabinet 12 can control the operation of the motor 1 according to the electrical parameter data collected by the electrical parameter sensor. The control cabinet 12 is also used to receive the indication signal output by the position switch 13, and process the electrical parameter data collected by the electrical parameter sensor according to the received indication information, and control the operation of the motor 1 according to the processed electrical parameter data.

[0039] Exemplarily, the control cabinet 12 may include a remote terminal unit (RTU) and a controller. The RTU may receive the electrical parameter data collected by the electrical parameter sensor and the indication signal output by the position switch 13 to obtain an electrical parameter data set. The controller is connected to the RTU and the frequency converter of the motor 1 respectively. The controller may obtain the electrical parameter data set in the RTU. The controller may send a control signal to the frequency converter, and control the operating state of the pumping unit by changing the frequency of the frequency converter input to the motor 1.

[0040] Some terms involved in the embodiments of the present disclosure are explained below.

[0041] Top dead center: the position when the suspension rope device 10 is closest to the sky.

[0042] Bottom dead center: the position when the rope hanger 10 is closest to the wellhead.

[0043] Stroke: The distance between the top dead center and the bottom dead center of the bare rod during the operation of the oil pump.

[0044] Strokes: The number of times the sucker rod reciprocates up and down per minute. If the sucker rod only moves from the bottom dead center to the top dead center and then from the top dead center to the bottom dead center once a minute, then the strokes are equal to 1.

[0045] Pump efficiency: The ratio of actual output to theoretical output during the production process of an oil well. The pump efficiency reflects the performance of the pump and whether the selection of pumping parameters is appropriate.

[0046] Figure 2 FIG. 1 is a flow chart of a control method for an oil pump provided by an embodiment of the present disclosure. Figure 2 As shown, the method includes:

[0047] Step S101: Acquire the electrical parameter data set of the oil pump.

[0048] The electrical parameter data set includes electrical parameter data within at least one stroke, and the electrical parameter data is used to reflect the real-time operating status of the oil pump. Optionally, the electrical parameter data includes at least one electrical parameter of the electrical equipment. The types of electrical parameters include but are not limited to voltage, current, active power and input frequency. The electrical parameter data is obtained by an electrical parameter sensor, which can be set in the motor. The electrical parameter sensor includes a voltage sensor, a current sensor, a power sensor and a frequency sensor.

[0049] Step S102: Based on the electrical parameter data set, the liquid production of the pumping well where the pumping unit is located is calculated.

[0050] Step S103: Determine the pump efficiency during the production process of the pumping well according to the liquid production.

[0051] Step S104: Based on the relationship between the pump efficiency and a preset pump efficiency range, the operating stroke frequency of the oil pumping unit is controlled.

[0052] In the disclosed embodiment, the liquid production of the pumping well is calculated based on the electrical parameter data set of the pumping unit, and then the pump efficiency of the pumping unit is calculated according to the liquid production, and then the operation stroke of the pumping unit is controlled by optimizing the pump efficiency. The algorithm is simpler and more direct, and the calculation efficiency is improved. In addition, the intermediate process of converting the electrical parameter data to the power diagram is omitted, the calculation error is reduced, and the reliability of the optimization control of the pumping unit is improved.

[0053] Figure 3 FIG. 1 is a flow chart of another method for controlling an oil pump provided by an embodiment of the present disclosure. Figure 3 As shown, the method includes:

[0054] Step S201: Acquire the electrical parameter data set of the oil pump.

[0055] The electrical parameter data set includes electrical parameter data within at least one pulse.

[0056] The step S201 may include the following two steps.

[0057] The first step is to obtain the electrical parameter data collected by the electrical parameter sensor.

[0058] For related content, please refer to step S101, and detailed description is omitted here.

[0059] In the second step, the electrical parameter data is distinguished between the upper and lower dead point positions according to the indication signal of the position switch to obtain the electrical parameter data within at least one stroke.

[0060] Optionally, the electrical signal collected by the electrical parameter sensor cannot distinguish the position of the upper and lower dead points. For example, the collected electrical parameter data is active power. When only the electrical parameter sensor is used, the collected data is the data of the change of active power over time. It is impossible to identify the corresponding position of the oil pump when the active power data is collected, that is, it is impossible to distinguish whether the oil pump is running from the upper dead point to the lower dead point, or from the lower dead point to the upper dead point when the electrical parameter data is collected. In the subsequent steps of the embodiment of the present disclosure, it is necessary to calculate the liquid production based on the electrical parameter data within at least one stroke. Therefore, it is necessary to first use a position switch to distinguish the upper and lower dead point positions of the electrical parameter data.

[0061] Optionally, the position switch can be installed on the crank, and the indication signal output by the position switch can indicate the movement of the crank. The position switch can include a first position switch and a second position switch, the first position switch can correspond to the position when the oil pump runs to the bottom dead center, and the second position switch can correspond to the position when the oil pump runs to the top dead center. Since the movement of the crank transmits power through the connecting rod, the rocker beam, and the cross beam, driving the donkey head and the light rod to reciprocate up and down, when the oil pump runs to the bottom dead center position, the first position switch can output a first indication signal, that is, the first indication signal is used to indicate the top dead center position; when the oil pump runs to the top dead center position, the second position switch can output a second indication signal, that is, the second indication signal is used to indicate the bottom dead center position. When the first position switch outputs a first indication signal, the second position switch outputs a second indication signal, and then the first position switch outputs a first indication signal again, it means that the oil pump has run one stroke.

[0062] Here, the first indication signal and the second indication signal may be high level signals.

[0063] The position switch can transmit the indication signal to the RTU via wired or wireless transmission, and the RTU can distinguish the upper and lower dead point positions of the electrical parameter data.

[0064] For example, the RTU can filter out the electrical parameter data in each pulse in the following manner:

[0065] The electrical parameter data between the electrical parameter data obtained when the first indication signal is received and the electrical parameter data obtained when the second indication signal is received is regarded as an upstroke data set;

[0066] The electrical parameter data between the electrical parameter data obtained when the second indication signal is received and the electrical parameter data obtained when the next first indication signal is received is regarded as a downstroke data set;

[0067] The union of the upstroke data set and the downstroke data set is taken as the electrical parameter data within one stroke.

[0068] By distinguishing the upper and lower dead point positions of the electrical parameter data as described above, an electrical parameter data set can be obtained, and the electrical parameter data set includes electrical parameter data within at least one stroke, that is, it can be electrical parameter data within one stroke, or it can be electrical parameter data within two or three strokes, or it can be electrical parameter data within more strokes.

[0069] like Figure 3As shown, the controller regularly monitors and obtains the electrical parameter data set. Optionally, the controller can obtain the electrical parameter data set from the RTU every 30 minutes. Of course, the controller can also obtain the electrical parameter data set from the RTU every 60 minutes, or every 90 minutes, and the present disclosure does not limit this.

[0070] Step S202: Based on the electrical parameter data set, the liquid production of the pumping well where the pumping unit is located is calculated.

[0071] Optionally, in step S202, an electric parameter production model may be used to calculate the liquid production based on the electric parameter data in at least one stroke, and the electric parameter production model may be embedded in the controller. The disclosed embodiment does not limit the electric parameter production model, and any model in the relevant technology may be used, such as the electric parameter automatic production model in Liang Jianwei's "Study on Automatic Production Calculation of Electric Parameters in Pumping Wells".

[0072] Step S203: Determine the pump efficiency during the production process of the pumping well according to the liquid production.

[0073] The step S203 may include the following two steps.

[0074] The first step is to calculate the operating strokes of the pump based on the input frequency of the motor.

[0075] The relationship between the motor speed and input frequency of the pumping unit can be expressed by the following formula (1):

[0076] n0=60*f(1-S)* / p (1);

[0077] In formula (1), n0 represents the motor speed, unit: r / min; S represents the motor slip rate; f represents the motor input frequency, unit: Hz; p represents the number of motor pole pairs.

[0078] The motor slip rate and the number of motor pole pairs are determined according to the motor model.

[0079] The relationship between the pumping unit's operating strokes and motor speed can be expressed by the following formula (2):

[0080]

[0081] In formula (2), i m It indicates the reduction ratio of the reduction box; d indicates the diameter of the motor output shaft, unit: m; D indicates the diameter of the reducer pulley, unit: m.

[0082] Among them, the reduction ratio of the reducer is determined according to the model of the reducer, and the motor output shaft diameter and the reducer pulley diameter can be directly measured.

[0083] From formula (1) and formula (2), it can be concluded that the relationship between the pumping unit's operating strokes and the motor input frequency satisfies the following formula (3):

[0084] n=60*f*(1-S)*d / (i m *D*p) (3);

[0085] From formula (3), we can know that when the motor slip rate S, the motor output shaft diameter d, and the reduction ratio i of the reduction gearbox m When the reducer pulley diameter D and the number of motor poles p are all fixed and remain unchanged, the operating strokes n of the oil pump can be calculated based on the input frequency f of the motor.

[0086] The second step is to determine the pump efficiency during the production process of the oil well based on the liquid production, the cross-sectional area of ​​the oil pump plunger of the oil pumping unit, the stroke during the production process of the oil well and the number of strokes of the oil pumping unit.

[0087] Alternatively, the pump efficiency may be determined according to the following formula (4).

[0088] η=Q / (1440*f p *s*n) (4);

[0089] in,

[0090] Formula (4) is derived from the following formula (5):

[0091] Q=1440*f p *s*n*η (5);

[0092] In formulas (4) and (5), Q represents the liquid production calculated by the electrical parameter model, unit: m 3 / d;f p Indicates the cross-sectional area of ​​the oil well pump plunger, unit: m 2 ; s represents the stroke of the pumping well, unit: m; n represents the number of strokes of the pumping unit, unit: min -1 , η represents the pump efficiency.

[0093] In the same pumping well, the cross-sectional area of ​​the pump plunger is f p The stroke s of the well pumping unit is a fixed value. The stroke s of the well pumping unit can be directly measured. The cross-sectional area of ​​the well pump plunger f p It can be calculated based on the diameter of the oil well pump plunger, which is determined by the model of the oil well pump. Therefore, the pump efficiency during the production of the oil well can be determined based on the liquid production, the cross-sectional area of ​​the oil well pump plunger, the stroke during the production of the oil well, and the number of strokes of the oil well pump.

[0094] In step S203, the algorithm for calculating the pump efficiency is simpler and more direct, which improves the calculation efficiency, omits the intermediate process of converting the electrical parameter data into a power diagram, and reduces the calculation error.

[0095] Step S204: Determine whether the pump efficiency is within a preset pump efficiency range.

[0096] When the pump efficiency is not within the preset pump efficiency range, that is, when the pump efficiency is greater than the upper limit of the preset pump efficiency range or the pump efficiency is less than the lower limit of the preset pump efficiency range, execute step S205; when the pump efficiency is within the preset pump efficiency range, that is, when the pump efficiency is less than or equal to the upper limit of the preset pump efficiency range and greater than or equal to the lower limit of the pump efficiency range, execute step S209.

[0097] Optionally, a pump efficiency range is preset based on production experience and production data of a large number of oil wells, that is, an upper limit and a lower limit of the pump efficiency are preset. The preset pump efficiency range can be preset before executing the method of the embodiment of the present disclosure and can be stored in the controller. For example, the preset pump efficiency range can be 30% to 60%, or 20% to 60%. The preset pump efficiency range can also be set to other intervals according to the actual oil well conditions, and the present disclosure does not limit this.

[0098] In the process of oil well exploitation, the ultimate goal is to maximize the liquid production and comprehensive efficiency, and the liquid supply capacity of the formation is the fundamental factor that restricts the realization of this goal. The dynamic liquid level of the oil well is an important indicator reflecting the liquid supply capacity of the formation and an important basis for the formulation of a reasonable working system for the oil well. The depth of the dynamic liquid level is the distance from the wellhead of the pumping well to the surface of the oil layer downhole. The depth of the dynamic liquid level can be detected by using sound wave and echo technology. Figure 4 The following is a schematic diagram of the relationship between the submergence and pump efficiency provided by the embodiment of the present disclosure. The submergence is the height of the dynamic liquid level in the oil well. Figure 4 It can be seen that the dynamic liquid level (submergence) affects the pump efficiency, especially when the submergence is less than 400m, the relationship between pump efficiency and submergence is more sensitive, so the pump efficiency can reflect the change of the dynamic liquid level of the oil well. The higher the dynamic liquid level (the greater the submergence), the higher the pump efficiency. Conversely, the lower the dynamic liquid level (the smaller the submergence), the lower the pump efficiency. Therefore, for oil wells with different dynamic liquid levels, the corresponding pump efficiency range may also be different.

[0099] In step S204, the pump efficiency is judged based on whether the pump efficiency is within a preset pump efficiency range, rather than whether the pump efficiency is equal to a set value. This avoids the problem of the program entering an infinite loop due to the actual calculated pump efficiency not being equal to the set value, thereby improving the reliability of the control method.

[0100] Step S205: Determine whether the pump efficiency is greater than the upper limit of the preset pump efficiency range. When the pump efficiency is greater than the upper limit of the preset pump efficiency range, execute step S206a; when the pump efficiency is less than the lower limit of the preset pump efficiency range, execute step S206b.

[0101] Step S206a: Determine whether the sum of the motor input frequency and the step frequency value exceeds the preset frequency range. If the sum of the motor input frequency and the step frequency value does not exceed the frequency range, execute step S207a; if the sum of the motor input frequency and the step frequency value exceeds the frequency range, execute step S208a.

[0102] Step S207a: operate the motor according to the sum of the input frequency of the motor and the step frequency value, so that the operating stroke frequency of the oil pump is increased accordingly.

[0103] Step S208a: operate the motor according to the current input frequency of the motor so that the operating stroke frequency of the oil pump remains unchanged.

[0104] In some examples, the step frequency value is 1 Hz. When the pump efficiency is greater than the upper limit of the preset pump efficiency range, the input frequency of the motor can be increased by 1 Hz and compared with the frequency range to determine whether the input frequency is greater than the upper limit of the frequency range after increasing by 1 Hz. If the input frequency is less than or equal to the upper limit of the frequency range after increasing by 1 Hz, the motor is operated at the frequency after the input frequency is increased by 1 Hz. If the input frequency is greater than the upper limit of the frequency range after increasing by 1 Hz, the input frequency is maintained unchanged and the motor continues to operate at the input frequency. Of course, the step frequency value can also be 2 Hz, 3 Hz or other values, and the present disclosure does not limit this.

[0105] Step S206b: Determine whether the difference between the motor input frequency and the step frequency value exceeds the preset frequency range. If the difference between the motor input frequency and the step frequency value does not exceed the frequency range, execute step S207b; if the difference between the motor input frequency and the step frequency value exceeds the frequency range, execute step S208b.

[0106] Step S207b: operating the motor according to the difference between the input frequency of the motor and the step frequency value, so that the operating strokes of the oil pumping unit are reduced accordingly.

[0107] Step S208b: operate the motor according to the current input frequency of the motor so that the operating stroke frequency of the oil pump remains unchanged.

[0108] In some examples, the step frequency value is 1 Hz. When the pump efficiency is less than the lower limit of the preset pump efficiency range, the input frequency of the motor can be reduced by 1 Hz and compared with the frequency range to determine whether the input frequency is less than the lower limit of the frequency range after it is reduced by 1 Hz. If the input frequency is greater than or equal to the lower limit of the frequency range after it is reduced by 1 Hz, the motor is operated at the frequency after the input frequency is reduced by 1 Hz. If the input frequency is less than the lower limit of the frequency range after it is reduced by 1 Hz, the input frequency is maintained unchanged and the motor continues to operate at the input frequency. Of course, the step frequency value can also be 2 Hz, 3 Hz or other values, and the present disclosure does not limit this.

[0109] In steps S206a to S206b, the frequency range is set according to the frequency converter and the motor model, that is, the preset frequency range can neither exceed the frequency conversion range of the frequency converter nor the frequency range of the normal operation of the motor. The preset frequency range can be pre-set before executing the method of the embodiment of the present disclosure, and can be stored in the controller. For example, the preset frequency range can be 30 Hz to 50 Hz, or 20 Hz to 50 Hz. The preset frequency range can also be set to other intervals according to the frequency converter and the motor model, and the present disclosure does not limit this.

[0110] In the embodiment of the present disclosure, since the running stroke of the oil pump is related to the input frequency of the motor, the running stroke of the oil pump can be controlled by controlling the input frequency of the motor. For related contents, see step S203, and detailed description is omitted here.

[0111] Through steps S204, S205, S206a-S208a and S206b-S208b, the input frequency of the motor can be changed, and the running strokes of the pumping unit can be changed accordingly, so that the pumping efficiency of the pumping unit gradually approaches the preset pumping efficiency range, and the pumping unit is optimized and controlled. In the above process, the frequency conversion range of the inverter and the normal operating frequency range of the motor will not be exceeded, thereby ensuring the stable operation of the equipment.

[0112] In the actual production process, in most cases, the pump efficiency is low. After adopting the method of the embodiment of the present disclosure, the pump efficiency can be improved, the input frequency of the motor can be reduced, and the speed of the motor can be reduced accordingly, and the energy consumption can also be reduced, so as to achieve the purpose of more energy saving. In a small number of cases, the pump efficiency is too high, which suppresses the potential of the oil well. After adopting the method of the embodiment of the present disclosure, the pump efficiency can be returned to a reasonable range, the input frequency of the motor can be increased, and the speed of the motor can be increased accordingly, and the pumping speed of the pumping unit can be increased, so that the actual pumping is more matched with the production of the oil well, so as to achieve the purpose of supply and drainage coordination.

[0113] The stroke frequency of the pumping unit is related to the pumping efficiency of the pumping unit. The higher the stroke frequency, the lower the pumping efficiency. Conversely, the lower the stroke frequency, the higher the pumping efficiency. The relationship between the stroke frequency and the pumping efficiency is explained below.

[0114] Figure 5 : is a schematic diagram of the relationship between stroke frequency and pump efficiency provided by the embodiment of the present disclosure. After using the above steps of the embodiment of the present disclosure to control the operating stroke frequency of the oil pump, some operating stroke frequency data and pump efficiency data of the oil pump under different operating conditions are recorded. Figure 5 It can be seen that the higher the stroke frequency, the lower the pump efficiency.

[0115] Step S209: Determine whether the oil well is in the target liquid production state. Compare the product of the operating strokes and pump efficiency of at least two groups of pumping units whose pump efficiency is within the preset pump efficiency range. The operating state of the pumping unit corresponding to the group with the larger product is the target liquid production state. When the oil well is in the target liquid production state, execute step S210; when the oil well is not in the target liquid production state, execute step S211.

[0116] Optionally, in step S209, a liquid production model may be used to determine the target liquid production state based on the product of the operating strokes and pump efficiency of at least two groups of pumping units whose pump efficiencies are within a preset pump efficiency range. The liquid production model may be embedded in the controller.

[0117] The embodiments of the present disclosure do not limit the liquid production model, and any model in the relevant technology can be used.

[0118] Optionally, step S209 may include the following steps:

[0119] In the first step, when the pump efficiency is within a preset pump efficiency range, the product of the operating strokes and the pump efficiency is calculated, and the product is related to the liquid production state of the pumping well.

[0120] The calculation of the pump efficiency and the number of operation strokes is referred to step S203, which will not be described in detail here. The larger the product, the greater the liquid production, that is, the better the liquid production state.

[0121] The second step is to determine whether the product is the maximum product value in the historical state record.

[0122] The historical status record includes at least one liquid production status data group, each of which includes operation strokes, pump efficiency and corresponding products, and the pump efficiency in each liquid production status data group is within a preset pump efficiency range.

[0123] If the first product is the maximum product value in the historical state record, it is determined that the oil well is in the target liquid production state; if the first product is not the maximum product value in the historical state record, it is determined that the oil well is not in the target liquid production state.

[0124] The step S209 may also include: a third step of recording the current running strokes, the current pump efficiency and the first product as a liquid production state data group in the historical state record. The third step may be performed before or after the second step.

[0125] According to the liquid production formula (5), the cross-sectional area of ​​the oil well pump plunger f p When the stroke s of the pumping well remains unchanged, the product of the pumping stroke n and the pumping efficiency η directly affects the size of the liquid production Q. Therefore, in the process of optimizing the pumping stroke, the product of the pumping stroke and the pumping efficiency is continuously calculated to find the set of operating states with the largest product of the two, which is the target liquid production state with the largest liquid production.

[0126] Step S210: Keep the current pumping unit's operating stroke frequency unchanged.

[0127] Step S211: operating the pumping unit according to the stroke frequency corresponding to the target liquid production state.

[0128] After multiple rounds of parameter optimization, the production model can obtain the operating status of the target liquid production, and the pump efficiency is maintained within the preset pump efficiency range, thus achieving coordinated supply and drainage of oil wells and energy-saving and efficient operation.

[0129] Exemplarily, when the current pump efficiency is within the preset pump efficiency range and together with the corresponding operating strokes and product constitute the first group of liquid production status data group, assuming that in the first group of liquid production status data group, the operating strokes of the oil pump are n1, the pump efficiency is η1, the product of the operating strokes and the pump efficiency is n1*η1, and the historical status record is empty, then the liquid production state corresponding to n1 and η1 is determined as the target liquid production state, and the frequency value corresponding to n1 and η1 is used as the target frequency value, and the motor operation is controlled according to the target frequency value, that is, the oil pump is controlled to operate according to the operating strokes of n1.

[0130] Assume that in the second group of liquid production status data, the operating strokes are n2, the pump efficiency of the oil pump is η2, the product of the operating strokes and the pump efficiency is n2*η2, and there is the first group of liquid production status data in the historical status record, then compare the sizes of n1*η1 and n2*η2, for example, n2*η2 is greater than or equal to n1*η1, then the liquid production state corresponding to n2 and η2 is determined as the target liquid production state, and the frequency value corresponding to n2 and η2 is used as the target frequency value. The motor is controlled to operate according to the target frequency value, that is, the oil pump is controlled to operate according to the operating strokes of n2.

[0131] Assume that in the third group of liquid production state data, the operating stroke is n3, the pump efficiency of the pumping unit is η3, the product of the operating stroke and the pump efficiency is n3*η3, and there are the first group of liquid production state data and the second group of liquid production state data in the historical state record, then compare n3*η3 and n2*η2 when the product is the largest in the last comparison. If n3*η3 is greater than or equal to n2*η2, the liquid production state corresponding to n3 and η3 is determined as the target liquid production state, and the frequency value corresponding to n3 and η3 is used as the target frequency value, and the motor is controlled to operate according to the target frequency value, that is, the pumping unit is controlled to operate according to the operating stroke of n3. If n3*η3 is less than n2*η2, the liquid production state corresponding to n2 and η2 is determined as the target liquid production state, and the frequency value corresponding to n2 and η2 is used as the target frequency value, and the motor is controlled to operate according to the target frequency value, that is, the pumping unit is controlled to operate according to the operating stroke of n2.

[0132] It should be noted that in the actual oil production process, the liquid production may be affected by factors such as sand production in the oil well, wax deposition in the oil well, gas in the oil well, and the oil well liquid supply capacity, thereby affecting the pump efficiency. Therefore, even if the input frequency of the motor remains unchanged and the operating strokes of the pump remain unchanged, the pump efficiency obtained after a period of pumping may be different.

[0133] Through steps S204, S205, S206a-S208a and S206b-S208b, the operating strokes of the oil pump can be controlled according to the relationship between the input frequency of the motor and the preset frequency range. Through steps S209 to S211, the operating strokes of the oil pump can be controlled according to the liquid production state of the oil pump. Through the above steps S204 to S211, the operating strokes of the oil pump can be controlled based on the relationship between the pump efficiency and the preset pump efficiency range.

[0134] It should be noted that in Figure 3In the illustrated embodiment, it is first determined whether the pump efficiency is within the preset pump efficiency range, and then it is determined whether the pump efficiency is greater than the upper limit of the preset pump efficiency range. In other embodiments, the pump efficiency can be compared with the preset upper limit threshold of the pump efficiency. When the pump efficiency is greater than the preset upper limit threshold of the pump efficiency, step S206a is executed. When the pump efficiency is less than or equal to the preset upper limit threshold of the pump efficiency, the pump efficiency is compared with the preset lower limit threshold of the pump efficiency. When the pump efficiency is greater than or equal to the preset lower limit threshold of the pump efficiency, step S209 is executed; when the pump efficiency is less than the preset lower limit threshold of the pump efficiency, step S206b is executed. The preset upper and lower limit thresholds of the pump efficiency can also be determined based on production experience and production data of a large number of oil wells. The upper and lower limit thresholds can be pre-set before executing the method of the embodiment of the present disclosure and can be stored in the controller. For example, the preset upper limit threshold of the pump efficiency can be 20%, 25%, 30% or other values, and the preset lower limit threshold of the pump efficiency can be 55%, 60%, 65% or other values.

[0135] Figure 6 This is a schematic diagram of the relationship between the input frequency and liquid production of a motor provided by an embodiment of the present disclosure. After using the above steps of the embodiment of the present disclosure to control the running strokes of the oil pump, the input frequency data and liquid production data of the motor under different operating conditions of the oil pump are recorded. Figure 6 It can be seen that when the motor input frequency changes, the liquid production of the oil well will also change accordingly.

[0136] Optionally, the method also includes: if the number of operating strokes of the oil pump is controlled to reach a preset number threshold, the pump efficiency cannot be within the preset pump efficiency range, or the duration for which the pump efficiency cannot be within the preset pump efficiency range reaches a preset duration threshold, then the preset pump efficiency range is adjusted.

[0137] Through the above method, the preset pump efficiency range can be adjusted accordingly according to the actual conditions of different pumping wells, and the purpose of optimizing the control of the pumping unit can also be achieved.

[0138] For example, according to Figure 3 When steps S201 to S211 are executed once, it is considered that the number of strokes of controlling the pumping unit is 1. The preset number threshold may be 168 times, 336 times, 672 times or other values, and the preset duration threshold may be 7 days, 10 days, 14 days or other values. The preset number threshold and the preset duration threshold may be pre-set before executing the method of the embodiment of the present disclosure, and may be stored in the controller.

[0139] In the embodiment of the present disclosure, the preset pump efficiency range may be adjusted in at least one of the following ways:

[0140] When the upper limit of the actual pump efficiency range is less than the lower limit of the preset pump efficiency range, reducing the lower limit of the preset pump efficiency range so that the lower limit of the preset pump efficiency range is less than or equal to the lower limit of the actual pump efficiency range;

[0141] When the lower limit of the actual pump efficiency range is greater than the upper limit of the preset pump efficiency range, the upper limit of the preset pump efficiency range is increased so that the upper limit of the preset pump efficiency range is greater than the upper limit of the actual pump efficiency range.

[0142] The actual pump efficiency range refers to the range of all pump efficiencies obtained in the actual control process after controlling the operation strokes of the pumping unit for multiple times.

[0143] For example, in an oil well, the operating strokes of the pumping unit are adjusted and controlled according to the above control method. Before application, the pump efficiency of the oil well is 19%, the preset pump efficiency range is 30% to 60%, the preset number threshold is 336 times, and the preset duration threshold is 7 days. The controller is set to collect an electrical parameter data set every 30 minutes. After 7 days of optimization control of the operating strokes, that is, the number of operating strokes of the pumping unit is controlled to reach 336 times. The actual pump efficiency range of the oil well is always only between 22% and 26%, and cannot be within the preset range of 30% to 60%. At this time, the preset pump efficiency range can be adjusted to 20% to 60% according to the actual situation. Generally, only a very small number of oil wells will have this problem. Of course, the preset number threshold can also be 168 times, 672 times or other values, and the present disclosure does not limit this.

[0144] In the disclosed embodiment, the pumping efficiency of the oil pumping unit is calculated directly based on the electrical parameter data set of the oil pumping unit, and then the operation stroke of the oil pumping unit is controlled by optimizing the pumping efficiency. The algorithm is simpler and more direct, and the calculation efficiency is improved. In addition, the intermediate process of converting the electrical parameter data to the power diagram is omitted, the calculation error is reduced, and the reliability of the optimization control of the oil pumping unit is improved.

[0145] An example application scenario of the control method for the oil pump provided by this embodiment is introduced below.

[0146] For a well in the Hejian area of ​​the third oil production plant, the pump diameter is 38mm and the pump depth is 2300m. Before applying the control method of the pumping unit provided by the present disclosure, the operating frequency of the pumping unit is 48Hz and the stroke frequency is 3.9min. -1 The oil well pump efficiency is 25%, the daily power consumption is about 188kW·h, and the daily liquid production is 2.79t.

[0147] The control method of the oil pump provided by the present invention is used to adjust the parameters, and the preset pump efficiency range is 30% to 60%, and the preset frequency range is 20Hz to 50Hz. The controller reads the electrical parameter data set collected by the RTU according to the position switch and the electrical parameter sensor every 30 minutes. The built-in electrical parameter calculation model of the controller directly calculates the liquid production volume, and obtains the pump efficiency according to formula (4). According to the preset pump efficiency range, it is judged that the current pump efficiency is lower than the lower limit of the preset pump efficiency range, and it is judged that the difference between the input frequency of the motor and the step frequency does not exceed the preset frequency range. The motor is operated according to the difference between the input frequency of the motor and the step frequency. After adjusting the input frequency, the running strokes of the oil pump are also adjusted accordingly. After multiple rounds of parameter adjustment process, according to the target liquid production model, the operating state corresponding to the maximum value of the product of pump efficiency and strokes is selected, and the running strokes of the oil pump are adjusted. Finally, the frequency of 41.8Hz and the strokes of 3.4min are selected. -1 The running status of

[0148] After changing to this operating state, the pump efficiency of the oil well increased to 38% within the preset range, an increase of 13 percentage points, and the daily liquid production reached 3.1t. Compared with before implementation, the daily liquid production of the oil well remained basically stable after the number of flushing was reduced. Table 1 records the power consumption data of the implemented well.

[0149] Table 1 Power consumption measurement of implementation wells

[0150]

[0151]

[0152] As can be seen from Table 1, the average daily power consumption of the well was reduced from 188kW·h to 162kW·h, and the comprehensive power saving rate was 13.8%. Therefore, not only the liquid production was increased, but also the power consumption was reduced, and the pumping well achieved efficient and energy-saving operation.

[0153] Figure 7 It is a schematic diagram of changes in a pumping well dynamometer diagram provided by an embodiment of the present disclosure. Figure 7 Part (a) is a diagram of the pumping well before the pumping unit control method provided by the present disclosure is adopted. Figure 7 Part (b) is the pumping well indicator diagram after the pumping unit control method provided by the present disclosure is adopted. The indicator diagram refers to a diagram that reflects the working condition of the deep well pump. It is measured by a special instrument and drawn on a coordinate graph. The area enclosed by the closed line segments represents the work done by the pumping unit in one reciprocating motion. The fullness of the diagram is the ratio of the effective stroke of the pumping unit to the total stroke. The fullness of the diagram reflects the performance of the pump and whether the selection of the pumping parameters is appropriate.

[0154] like Figure 7As shown in part (a), relative to the parallelogram of the theoretical dynamometer diagram, the unloading line of the dynamometer diagram moves parallel to the left during the process of the pumping unit running from the top dead center to the bottom dead center, indicating that the hanging point load cannot be reduced immediately because the pump barrel of the pumping unit is not fully filled with liquid. The more serious the degree of dissatisfaction, the further the unloading line moves to the left. Figure 7 As shown in part (b), after the pumping unit control method provided by the present disclosure changes the operating strokes, the unloading line of the dynamometer diagram moves parallel to the right, and the problem of insufficient filling is improved; the ratio of the effective stroke of the pumping unit to the total stroke is also significantly increased, and the fullness of the dynamometer diagram is improved. This shows that the discharge capacity of the pump is closer to the liquid supply capacity of the oil well, and it also shows that the working system of the pumping unit is more reasonable. The operating state of the pumping well has been accurately and effectively optimized.

[0155] Figure 8 Schematic diagram of the relationship between frequency and energy consumption provided by the embodiment of the present disclosure. Figure 8 As shown, the higher the input frequency of the motor, the higher the daily power consumption. The above embodiment finally selects the operating state of the frequency of 41.8Hz. It can be seen from Table 1 that the average daily power consumption has decreased. Therefore, according to the control method of the oil pump provided by the present disclosure, the operating state of the target liquid production is obtained, and the pump efficiency is maintained within the preset pump efficiency range, which can simultaneously meet the coordination of oil well supply and drainage and energy-saving and efficient operation.

[0156] Fig. 9 is a block diagram of a control device for an oil pump provided by an embodiment of the present disclosure. Fig. 9 The control device of the oil pump includes: an acquisition module 1001, a first determination module 1002, a second determination module 1003 and a control module 1004.

[0157] Among them, the acquisition module 1001 is used to obtain the electrical parameter data set of the oil pump. The first determination module 1002 is used to calculate the liquid production of the oil well where the oil pump is located based on the electrical parameter data set. The second determination module 1003 is used to determine the pump efficiency during the production process of the oil well according to the liquid production. The control module 1004 is used to adjust and control the operation stroke of the oil pump based on the relationship between the pump efficiency and the preset pump efficiency range.

[0158] Optionally, the acquisition module 1001 is used to calculate the operating strokes of the oil pump based on the input frequency of the motor; and determine the pump efficiency during the production process of the oil well according to the liquid production, the cross-sectional area of ​​the oil pump plunger of the oil pump, the stroke during the production process of the oil well, and the operating strokes of the oil pump.

[0159] Optionally, the control module 1004 is used to control the operating strokes of the oil pump according to the liquid production status of the oil pump when the pump efficiency is within a preset pump efficiency range; when the pump efficiency is greater than the upper limit of the preset pump efficiency range or less than the lower limit of the pump efficiency range, control the operating strokes of the oil pump according to the relationship between the input frequency of the motor and the preset frequency range.

[0160] Optionally, the control module 1004 is used to calculate the product of the operating strokes of the oil pump and the pump efficiency, where the product is related to the liquid production status; determine whether the product is the maximum product value in the historical status record, the historical status record includes at least one liquid production status data group, each liquid production status data group includes the operating strokes of the oil pump, the pump efficiency and the product of the operating strokes and the pump efficiency, and the pump efficiency in each liquid production status data group is within a preset pump efficiency range; if the product is the maximum product value in the historical status record, keep the operating strokes of the oil pump unchanged; if the product is not the maximum product value in the historical status record, operate the oil pump according to the operating strokes in the liquid production status data group to which the maximum product value belongs.

[0161] Optionally, the control module 1004 is used to, when the pump efficiency is greater than the upper limit of a preset pump efficiency range and the sum of the motor input frequency and the step frequency value does not exceed the frequency range, operate the motor according to the sum of the motor input frequency and the step frequency value, so that the operating strokes of the oil pumping unit are increased; or, when the pump efficiency is greater than the upper limit of the preset pump efficiency range and the sum of the motor input frequency and the step frequency value exceeds the frequency range, operate the motor according to the motor input frequency, so that the operating strokes of the oil pumping unit remain unchanged; or, when the pump efficiency is less than the lower limit of the preset pump efficiency range and the difference between the motor input frequency and the step frequency value does not exceed the frequency range, operate the motor according to the difference between the motor input frequency and the step frequency value, so that the operating strokes of the oil pumping unit are reduced; or, when the pump efficiency is less than the lower limit of the preset pump efficiency range and the difference between the motor input frequency and the step frequency value exceeds the frequency range, operate the motor according to the motor input frequency, so that the operating strokes of the oil pumping unit remain unchanged.

[0162] Optionally, the control module 1004 is used to adjust the preset pump efficiency range if the number of operating strokes of the oil pump reaches a preset number threshold and the pump efficiency cannot be within the preset pump efficiency range, or the duration for which the pump efficiency cannot be within the preset pump efficiency range reaches a preset duration threshold.

[0163] It should be noted that: the control device for the oil pump provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when controlling the running strokes of the oil pump. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the control device for the oil pump provided in the above embodiment and the control method embodiment of the oil pump belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0164] Fig.10 is a block diagram of a control device for an oil pump provided by an embodiment of the present disclosure. Fig.10 As shown, the control device 2000 includes: a processor 2001 and a memory 2002. The control device 2000 may be a computer device or other types of devices.

[0165] The processor 2001 may include one or more processing cores, such as a 5-core processor, an 8-core processor, etc. The processor 2001 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 2001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2001 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0166] The memory 2002 may include one or more computer-readable storage media, which may be non-transitory. The memory 2002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one instruction, which is used to be executed by the processor 2001 to implement the electric vehicle range test method provided in the embodiment of the present disclosure.

[0167] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the control device 2000, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0168] Exemplarily, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 2002 including instructions, and the instructions can be executed by the processor 2001 of the control device 2000 to control the above-mentioned method for controlling the oil pump. For example, the non-transitory computer-readable storage medium can be a read-only memory, a random access memory, an optical disk, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0169] Exemplarily, a computer program product is also provided, including a computer program / instruction, which, when executed by a processor, implements the control method of the oil pump provided in the embodiment of the present disclosure.

[0170] The above description does not limit the present disclosure in any form. Although the present disclosure has been disclosed as above through the embodiments, it is not used to limit the present disclosure. Any technician familiar with the profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present disclosure. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present disclosure without departing from the content of the technical solution of the present disclosure still falls within the scope of the technical solution of the present disclosure.

Claims

1. A method for controlling an oil pump, characterized in that: include: Obtain the electrical parameter data set of the oil pump; Based on the electrical parameter data set, calculating the liquid production of the oil well where the oil pumping unit is located; Determining the pump efficiency during the production process of the pumping well according to the liquid production; Based on the relationship between the pump efficiency and a preset pump efficiency range, the operating stroke frequency of the oil pumping unit is controlled.

2. The control method according to claim 1, characterized in that: Determining the pump efficiency during the production process of the pumping well according to the liquid production volume includes: Calculating the operating strokes of the pumping unit based on the input frequency of the motor; The pump efficiency during the production process of the oil pumping well is determined according to the liquid production, the cross-sectional area of ​​the oil pump plunger of the oil pumping unit, the stroke during the production process of the oil pumping well and the number of operating strokes of the oil pumping unit.

3. The control method according to claim 1, characterized in that: The controlling the operating strokes of the oil pumping unit based on the relationship between the pump efficiency and a preset pump efficiency range includes: When the pump efficiency is within the preset pump efficiency range, the operating strokes of the pumping unit are controlled according to the liquid production state of the pumping unit; When the pump efficiency is greater than the upper limit of the preset pump efficiency range or less than the lower limit of the preset pump efficiency range, the operating strokes of the oil pump are controlled according to the relationship between the input frequency of the motor and the preset frequency range.

4. The control method according to claim 3, characterized in that: The step of controlling the operating strokes of the oil pumping unit according to the liquid production state of the oil pumping unit comprises: Calculating the product of the operating strokes of the pumping unit and the pump efficiency, wherein the product is related to the liquid production state; Determine whether the product is the maximum product value in the historical status record, the historical status record includes at least one liquid production status data group, each of the liquid production status data groups includes the operating strokes, pump efficiency and the product of the operating strokes and pump efficiency of the pumping unit, and the pump efficiency in each of the liquid production status data groups is within the preset pump efficiency range; If the product is the maximum product value in the historical state record, the operation stroke frequency of the pumping unit is kept unchanged; If the product is not the maximum product value in the historical status record, the oil pump is operated according to the operation strokes in the liquid production status data group to which the maximum product value belongs.

5. The control method according to claim 3, characterized in that: When the pump efficiency is greater than the upper limit of the preset pump efficiency range or less than the lower limit of the preset pump efficiency range, the operating strokes of the pumping unit are controlled according to the relationship between the input frequency of the motor and the preset frequency range, including: When the pump efficiency is greater than the upper limit of the preset pump efficiency range, and the sum of the input frequency of the motor and the step frequency value does not exceed the frequency range, the motor is operated according to the sum of the input frequency of the motor and the step frequency value, so that the operating stroke of the oil pump is improved; or, When the pump efficiency is greater than the upper limit of the preset pump efficiency range, and the sum of the input frequency of the motor and the step frequency value exceeds the frequency range, the motor is operated according to the input frequency of the motor so that the operating strokes of the pumping unit remain unchanged; or When the pump efficiency is less than the lower limit of the preset pump efficiency range and the difference between the input frequency of the motor and the step frequency value does not exceed the frequency range, the motor is operated according to the difference between the input frequency of the motor and the step frequency value, so that the operating stroke of the pumping unit is reduced; or, When the pump efficiency is less than the lower limit of the preset pump efficiency range and the difference between the input frequency of the motor and the step frequency value exceeds the frequency range, the motor is operated according to the input frequency of the motor so that the operating strokes of the oil pump remain unchanged.

6. The method according to any one of claims 1 to 5, characterized in that: If the number of operating strokes of the oil pumping unit reaches a preset number threshold, the pump efficiency cannot be within the preset pump efficiency range, or the duration for which the pump efficiency cannot be within the preset pump efficiency range reaches a preset duration threshold, then the preset pump efficiency range is adjusted.

7. A control device for an oil pump, characterized in that: include: An acquisition module, used to acquire a set of electrical parameter data of the oil pump; A first determination module is used to calculate the liquid production of the oil well where the oil pumping unit is located based on the electrical parameter data set; A second determination module is used to determine the pump efficiency during the production process of the pumping well according to the liquid production; The control module is used to control the operating strokes of the oil pump based on the relationship between the pump efficiency and a preset pump efficiency range.

8. A control device for an oil pump, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the control method of the oil pumping unit according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the control method of the oil pump according to any one of claims 1 to 6.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Equipment control method, device and equipment of beam-pumping unit and medium

    CN120990541A