Storage medium, oil well operation remote control method, device and equipment

By generating an operation plan model with minimized electricity bills and a start-stop instruction, the problem of insufficient recovery speed of low-yield and low-efficiency wells is solved, and the oil production efficiency of oil-wells with minimized electricity costs is achieved, and the oil well status is monitored through image recognition.

CN119904280APending Publication Date: 2025-04-29CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311402490.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

The liquid level recovery speed of low-yield and low-efficiency wells is smaller than the oil production speed, resulting in long-term continuous production and reduced oil production efficiency.

Method used

By generating an operation plan model with the goal of minimizing electricity bills, setting the total operation time and liquid production constraints, calculating the operation time of each electricity price period, generating the start-stop instructions for the oil well, and executing the control instructions through the near-field PLC.

Benefits of technology

On the premise of minimizing electricity consumption costs, improve the overall oil production efficiency of the oil well, optimize the flushing parameters to improve the oil production efficiency, and monitor the start and stop status of the oil well through image recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119904280A_ABST
    Figure CN119904280A_ABST
Patent Text Reader

Abstract

The invention discloses a memory, and an oil well operation remote control method, device and equipment. The method comprises the steps of generating an array used for representing a corresponding relation between electricity prices and electricity price time periods according to a valley-peak electricity price system; generating an operation plan model taking electricity charge minimization as a target; the constraint conditions of the operation plan model comprise the total operation duration constraint and the liquid production capacity constraint; solving according to the operation plan model to obtain the operation duration of each electricity price time period, and generating an operation time period plan of the target oil well in the next 24 hours; generating a start-stop instruction of the target oil well according to the operation period plan; and the near-field PLC of the target oil well executes the control instruction including the start-stop instruction. According to the invention, on the premise of ensuring a relatively high all-day liquid production capacity, a combination strategy of the operation duration in each electricity price period when the all-day electric charge is minimized can be obtained; therefore, the overall oil extraction efficiency of the oil well is improved on the premise that the power consumption cost is minimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of oil well exploitation, and in particular to a storage medium, an oil well operation remote control method, device and equipment. Background Art

[0002] Peak-valley electricity price is also called "time-of-use electricity price". The peak-valley electricity price system is an electricity price system that calculates electricity charges according to peak electricity consumption and valley electricity consumption. During peak electricity consumption, that is, the period of tight power supply, the unit electricity price is higher; during valley electricity consumption, that is, the period of sufficient power supply, the unit electricity price is lower. Therefore, the electricity cost of oil wells will also be lower during valley electricity consumption.

[0003] With the continuous development of oil fields, the liquid production of oil wells will show a downward trend due to many factors such as formation blockage, near-well pollution, insufficient formation fluid supply capacity, and high water-cut production. Oil wells whose liquid production capacity drops to a set threshold are called low-yield and low-efficiency wells.

[0004] In the prior art, the oil wells are generally put into production by maximizing the use of off-peak electricity consumption periods to reduce the unit electricity cost of the oil wells.

[0005] The inventors have found through research that the production planning method for low-yield and low-energy wells in the prior art has at least the following defects:

[0006] The liquid level recovery rate of low-yield and low-efficiency wells is lower than the oil production rate. Long-term continuous production of oil wells will instead cause a decrease in the overall oil production efficiency.

[0007] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0008] The purpose of the present invention is to improve the overall oil production efficiency of the oil well while minimizing the electricity cost.

[0009] The present invention provides a method for remotely controlling oil well operation, comprising the steps of:

[0010] S11. Generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the off-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods;

[0011] S12. Generate an operation plan model with the goal of minimizing electricity costs:

[0012]

[0013] The constraints of the operation planning model include:

[0014] Total running time constraints: And, liquid production constraint:

[0015] Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2;

[0016] S13, solving the operation plan model to obtain x for each electricity price period i Generate an operation time schedule for the target oil well in the next 24 hours;

[0017] S14, generating a start / stop instruction for the target oil well according to the operation period plan; sending the start / stop instruction to a near-field PLC of the target oil well; and the near-field PLC is used to execute control instructions including the start / stop instruction.

[0018] Preferably, the present invention further comprises:

[0019] S15, acquiring a monitoring image of the target oil well in real time;

[0020] S16. Determine the current operating condition of the target oil well through image recognition according to the monitoring image, wherein the current operating condition includes the start / stop state of the target oil well.

[0021] In another aspect of the present invention, there is also provided an oil well operation remote control device, comprising:

[0022] The valley-peak electricity price array unit is used to generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the valley-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods;

[0023] The planning model generation unit is used to generate an operation planning model with the goal of minimizing electricity costs:

[0024]

[0025] The constraints of the operation planning model include:

[0026] Total running time constraints: And, liquid production constraint:

[0027] Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2;

[0028] The operation plan generating unit can solve the x of each electricity price period according to the operation plan model. i Generate an operation time schedule for the target oil well in the next 24 hours;

[0029] A start-stop instruction generating unit is used to generate a start-stop instruction for the target oil well according to the operation period plan; the start-stop instruction is sent to a near-field PLC of the target oil well; the near-field PLC is used to execute a control instruction including the start-stop instruction.

[0030] Preferably, the present invention further comprises:

[0031] A monitoring image acquisition unit, used for acquiring a monitoring image of the target oil well in real time;

[0032] The current operating condition recognition unit is used to determine the current operating condition of the target oil well through image recognition according to the monitoring image, and the current operating condition includes the start and stop state of the target oil well.

[0033] On the other hand, an oil well operation remote control device is provided, which includes a computer program stored on a medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the methods described in the above aspects and achieves the same technical effects.

[0034] On the other hand, a storage medium is provided on which a computer program is stored. When the computer program is executed by a processor, each step of the remote control method for oil well operation as described in any one of the above items is implemented.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] In the present invention, on the one hand, the average value of the all-day production in the past few days is used as a reference for the all-day liquid production of planned production (i.e., the target daily liquid production); on the other hand, the liquid production per unit hour is calculated according to the target daily liquid production through a preset algorithm as the target hourly liquid production; in this way, after establishing an operation plan model with the minimization of electricity costs as the goal, constraints based on the target hourly liquid production and the target daily liquid production can be set to obtain a combination strategy for the operating time in each electricity price period that can minimize the all-day electricity cost while ensuring a higher all-day liquid production; thereby, the overall oil production efficiency of the oil well is improved under the premise of minimizing the electricity cost.

[0037] Furthermore, in the present invention, the reference dynamometer diagram can be made closer to a parallelogram by adjusting the stroke parameters used to generate the dynamometer diagram, thereby obtaining an optimized number of strokes; in this way, the strokes of the target oil well can be adjusted through the optimization results to further improve the oil production efficiency of the target oil well.

[0038] Furthermore, in the present invention, in order to monitor whether the pumping unit of the target oil well correctly executes the remote control instruction, the present invention can also monitor the working status of the pumping unit by performing image recognition on the monitoring image.

[0039] Preferably, in the present invention, infrared light can be emitted to the image acquisition device by setting an infrared emitting device in the near field of the oil pump. Since the infrared light path is set at the position when the donkey head of the oil pump reaches the highest position, when the donkey head moves down, it no longer blocks the infrared light path, and the infrared light will generate an infrared signal in the image data. After a sprint cycle is completed, the donkey head will block the infrared light path again, so that a periodic infrared signal will be generated in the image data, and the current sprint data of the oil pump can be obtained. Since infrared rays can maintain good penetration even in bad weather such as weak light or haze weather, the weather applicable range for effective monitoring of target oil wells is improved.

[0040] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, and to make the above and other purposes, technical features and advantages of the present invention easier to understand, one or more preferred embodiments are listed below and described in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a step diagram of the oil well operation remote control method of the present invention;

[0042] Figure 2 It is a structural schematic diagram of the oil well operation remote control device of the present invention;

[0043] Figure 3 It is a structural schematic diagram of the oil well operation remote control device described in the present invention. DETAILED DESCRIPTION

[0044] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.

[0045] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.

[0046] In this document, for the convenience of description, spatial relative terms such as "below", "below", "down", "above", "above", "upper", etc. may be used to describe the relationship between one element or feature and another element or feature in the accompanying drawings. It should be understood that the spatial relative terms are intended to include different orientations of the object in use or operation in addition to the orientation depicted in the figure. For example, if the object in the figure is turned over, the element described as being "below" or "below" other elements or features will be oriented "above" the element or feature. Therefore, the exemplary term "below" can include both below and above. Objects may also have other orientations (rotated 90 degrees or other orientations) and the spatial relative terms used in this document should be interpreted accordingly.

[0047] In this document, the terms "first", "second", etc. are used to distinguish two different elements or parts, and are not used to limit a specific position or relative relationship. In other words, in some embodiments, the terms "first", "second", etc. can also be interchangeable.

[0048] Embodiment 1

[0049] In order to improve the overall oil production efficiency of oil wells while minimizing electricity costs, Figure 1 As shown, in an embodiment of the present invention, a method for remotely controlling oil well operation is provided, comprising the steps of:

[0050] S11. Generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the off-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods;

[0051] In the embodiment of the present invention, it is assumed that the off-peak electricity price system stipulates n electricity price periods, which correspond to the corresponding electricity prices c1, c2, ..., c n .

[0052] S12. Generate an operation plan model with the goal of minimizing electricity costs:

[0053]

[0054] The constraints of the operation planning model include:

[0055] Total running time constraints: And, liquid production constraint:

[0056] Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2;

[0057] The operation planning model in the embodiment of the present invention is used to determine the operating time of the oil well in each electricity price period; by setting the total operating time constraint, it can be ensured that the full-day operating time of the target oil well will not exceed 24 hours. At the same time, the minimum liquid production constraint is also used to keep the oil production efficiency of the oil well at a high level.

[0058] In the embodiment of the present invention, the historical data of the actual liquid production of the target oil well in the previous few days is used to calculate an average value as the target production of the target oil well in the next planning period (i.e., the target daily liquid production). ); In practical applications, the setting of the preset number of days K in the embodiment of the present invention can be set by those skilled in the art based on experience or actual working conditions (such as a downward trend in oil production), and is not specifically limited here.

[0059] Calculate the average daily liquid production as the target daily liquid production The required formulas include:

[0060]

[0061] Where K represents the number of preset days. i Represents the actual liquid production on the i-th day among K days.

[0062] S13, solving the operation plan model to obtain x for each electricity price period i Generate an operation time schedule for the target oil well in the next 24 hours;

[0063] After determining the operating time of the oil well in each electricity price period, a production plan for controlling the start and stop time of the target oil well can be obtained, that is, the operating period strategy.

[0064] In actual applications, the specific content of the runtime strategy can be shown in the following table:

[0065]

[0066] S14, generating a start / stop instruction for the target oil well according to the operation period plan; sending the start / stop instruction to a near-field PLC of the target oil well; and the near-field PLC is used to execute control instructions including the start / stop instruction.

[0067] The application scenario of the embodiment of the present invention is that the remote control center generates a control instruction, sends the control instruction to the near-field PLC of the target oil well through the communication line, and performs operation control such as starting and stopping the oil pump through the near-field PLC.

[0068] From the above, it can be seen that, on the one hand, the embodiment of the present invention uses the average value of the all-day production in the past few days as a reference for the all-day liquid production of planned production (i.e., the target daily liquid production); on the other hand, a preset algorithm is used to calculate the liquid production per unit hour based on the target daily liquid production as the target hourly liquid production; in this way, after establishing an operation plan model with the goal of minimizing electricity costs, constraints based on the target hourly liquid production and the target daily liquid production can be set to obtain a combination strategy for the operating time in each electricity price period while minimizing the electricity cost for the whole day while ensuring a higher all-day liquid production; thereby, the overall oil production efficiency of the oil well is improved under the premise of minimizing electricity costs.

[0069] Furthermore, in the embodiment of the present invention, the following steps may also be included:

[0070] S15, acquiring a monitoring image of the target oil well in real time;

[0071] In practical applications, in order to ensure the effectiveness of remote control, the operating status of the pumping unit can also be monitored by remote monitoring. At this time, an image acquisition device is installed in the near field of the pumping unit to obtain real-time monitoring images of the target oil well and transmit the monitoring images to the remote control center.

[0072] S16. Determine the current operating condition of the target oil well through image recognition according to the monitoring image, wherein the current operating condition includes the start / stop state of the target oil well.

[0073] In order to avoid manual misjudgment and omission, in the embodiment of the present invention, image recognition technology is also used to identify the working status of the oil pump so as to determine whether the oil pump has executed the corresponding start and stop actions according to the control instructions.

[0074] In most cases, oil wells are set up in outdoor environments and often need to work at night or in bad weather such as fog. At this time, the monitoring image generated by the image acquisition device will be difficult to recognize. For this reason, an infrared emitting device can also be provided in the embodiment of the present invention, and then the infrared signal collected by the image acquisition device is used to identify the current working condition of the target oil well. Specifically:

[0075] The data of the monitoring image also includes an infrared signal; the infrared signal is generated by an infrared emitting device located in the near field of the target oil well; the infrared light path generated by the infrared emitting device passes through the position when the pumping unit head reaches the highest position and is emitted to the image acquisition device of the monitoring image; the infrared light generated by the infrared emitting device after the pumping unit head descends generates an infrared signal in the monitoring image;

[0076] The infrared emitting device in the embodiment of the present invention is arranged in the near field of the target oil well. On the one hand, the infrared light path generated by the infrared emitting device is emitted to the image acquisition device. At the same time, the infrared light path also passes through the position when the pumping unit head is at the highest position. That is to say, when the pumping unit head is at the highest position, the infrared light path will be blocked, and the image acquisition device will not collect infrared signals at this time; after the pumping unit head is moved downward, the infrared light path is emitted to the image acquisition device, and the image acquisition device will collect infrared signals at this time.

[0077] At this time, the specific method of determining the current working condition of the target oil well through image recognition based on the monitoring image can be: identifying the infrared signal and determining the current stroke of the pump according to the generation frequency of the infrared signal in the monitoring image, and determining the start and stop status of the target oil well according to the current stroke.

[0078] It should be noted that the image acquisition device in the embodiment of the present invention should have an infrared light acquisition function.

[0079] Furthermore, in order to improve the recognition efficiency of infrared signals and reduce the amount of computational complexity of image recognition, in an embodiment of the present invention, the infrared light path generated by the external emitting device can be set to point to a preset area of ​​the surveillance image. This can reduce the range of image recognition and it is sufficient to perform infrared signal recognition on the preset area.

[0080] It can be concluded from the above that in the embodiment of the present invention, infrared light can also be emitted to the image acquisition device by setting an infrared emitting device in the near field of the oil pump. Since the infrared light path is set at the position when the donkey head of the oil pump reaches the highest position, when the donkey head moves down, it no longer blocks the infrared light path, and the infrared light will generate an infrared signal in the image data. After a sprint cycle is completed, the donkey head will block the infrared light path again, so that a periodic infrared signal will be generated in the image data, and then the current sprint data of the oil pump can be obtained. Since infrared rays can maintain good penetration in bad weather such as weak light or foggy weather, the weather applicable range for effective monitoring of the target oil well is improved.

[0081] In practical applications, the current indicator diagram can characterize the current working efficiency of the oil pumping unit. The closer the indicator diagram is to a parallelogram, the better the working efficiency of the oil pumping unit. The algorithm for generating the indicator diagram includes the parameter of strokes. The shape of the indicator diagram can be changed by adjusting the parameter value of the strokes. For this reason, preferably, in an embodiment of the present invention, the parameter value of the stroke parameter can be modified to make the final current indicator diagram closer to a parallelogram, thereby obtaining the optimized parameter value of the strokes. Then, a corresponding stroke adjustment instruction can be generated to optimize the strokes of the oil pumping unit through the near-field PLC.

[0082] Furthermore, in order to monitor whether the stroke frequency adjustment instruction is effectively executed, in an embodiment of the present invention, the current stroke frequency of the oil pump can be obtained by identifying an infrared signal to determine whether the stroke frequency adjustment instruction is executed.

[0083] From the above, it can be concluded that in an embodiment of the present invention, it is also possible to make the reference dynamometer diagram closer to a parallelogram by adjusting the stroke parameters used to generate the dynamometer diagram, thereby obtaining an optimized number of strokes; in this way, the strokes of the target oil well can be adjusted through the optimization results to further improve the oil production efficiency of the target oil well.

[0084] Embodiment 2

[0085] In another aspect of the embodiment of the present invention, a remote control device for oil well operation is also provided. Figure 2 The schematic diagram of the structure of the oil well operation remote control device provided by the embodiment of the present invention is shown. Figure 1 The device corresponding to the oil well operation remote control method described in the corresponding embodiment, that is, the device is implemented by means of a virtual device. Figure 1 In the oil well operation remote control method in the corresponding embodiment, each virtual module constituting the oil well operation remote control device can be executed by an electronic device, such as a network device, a terminal device, or a server. Specifically, the oil well operation remote control device in the embodiment of the present invention includes:

[0086] The valley peak electricity price array unit 01 is used to generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the valley peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods;

[0087] The planning model generating unit 02 is used to generate an operation planning model with the goal of minimizing electricity costs:

[0088]

[0089] The constraints of the operation planning model include:

[0090] Total running time constraints: And, liquid production constraint:

[0091] Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2;

[0092] The operation plan generating unit 03 can solve the x of each electricity price period according to the operation plan model. i Generate an operation time schedule for the target oil well in the next 24 hours;

[0093] The start-stop instruction generating unit 04 is used to generate the start-stop instruction of the target oil well according to the operation period plan; the start-stop instruction is sent to the near-field PLC of the target oil well; the near-field PLC is used to execute the control instruction including the start-stop instruction.

[0094] Preferably, in the embodiment of the present invention, it also includes:

[0095] A monitoring image acquisition unit, used for acquiring a monitoring image of the target oil well in real time;

[0096] The current operating condition recognition unit is used to determine the current operating condition of the target oil well through image recognition according to the monitoring image, and the current operating condition includes the start and stop state of the target oil well.

[0097] Preferably, in the embodiment of the present invention, it also includes:

[0098] The stroke optimization unit is used to obtain the current dynamometer diagram of the target oil well, and obtain the optimized stroke by adjusting the parameter value of the stroke parameter in the dynamometer diagram generation algorithm so that the current dynamometer diagram approaches a parallelogram;

[0099] A stroke frequency adjustment unit is used to generate a stroke frequency adjustment instruction of the oil pump according to the optimized stroke frequency, and send the stroke frequency adjustment instruction as a control instruction to the near-field PLC.

[0100] Since the working principle and beneficial effects of the oil well operation remote control device in the embodiment of the present invention have been Figure 1 The corresponding oil well operation remote control method is also recorded and explained, so they can be cross-referenced and will not be repeated here.

[0101] Embodiment 3

[0102] Corresponding to the method embodiment, in the embodiment of the present invention, a remote control device for oil well operation is also provided, such as a terminal, a server, etc. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto.

[0103] An example diagram of a hardware structure block diagram of an oil well operation remote control device provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, it may include:

[0104] Processor 1, communication interface 2, memory 3 and communication bus 4;

[0105] The processor 1, the communication interface 2, and the memory 3 communicate with each other via the communication bus 4;

[0106] Optionally, the communication interface 2 may be an interface of a communication module, such as an interface of a GSM module;

[0107] The processor 1 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0108] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0109] The processor 1 is specifically used to execute the computer program stored in the memory 3 to perform the following steps:

[0110] S11. Generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the off-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods;

[0111] S12. Generate an operation plan model with the goal of minimizing electricity costs:

[0112]

[0113] The constraints of the operation planning model include:

[0114] Total running time constraints: And, liquid production constraint:

[0115] Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2;

[0116] S13, solving the operation plan model to obtain x for each electricity price period i Generate an operation time schedule for the target oil well in the next 24 hours;

[0117] S14, generating a start / stop instruction for the target oil well according to the operation period plan; sending the start / stop instruction to a near-field PLC of the target oil well; and the near-field PLC is used to execute control instructions including the start / stop instruction.

[0118] Preferably, the present invention further comprises:

[0119] S15, acquiring a monitoring image of the target oil well in real time;

[0120] S16. Determine the current operating condition of the target oil well through image recognition according to the monitoring image, wherein the current operating condition includes the start / stop state of the target oil well.

[0121] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the oil well operation remote control method provided by the embodiment of the present invention.

[0122] Embodiment 4

[0123] In an embodiment of the present invention, a storage medium is further provided, which may store a program suitable for execution by a processor, wherein the program is used to:

[0124] S11. Generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the off-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods;

[0125] S12. Generate an operation plan model with the goal of minimizing electricity costs:

[0126]

[0127] The constraints of the operation planning model include:

[0128] Total running time constraints: And, liquid production constraint:

[0129] Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, which is the average daily production of the past preset days; v is the target hourly liquid production A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2;

[0130] S13, solving the operation plan model to obtain x for each electricity price period i Generate an operation time schedule for the target oil well in the next 24 hours;

[0131] S14, generating a start / stop instruction for the target oil well according to the operation period plan; sending the start / stop instruction to a near-field PLC of the target oil well; and the near-field PLC is used to execute control instructions including the start / stop instruction.

[0132] Preferably, the present invention further comprises:

[0133] S15, acquiring a monitoring image of the target oil well in real time;

[0134] S16. Determine the current operating condition of the target oil well through image recognition according to the monitoring image, wherein the current operating condition includes the start / stop state of the target oil well.

[0135] Optionally, the detailed functions and extended functions of the program may refer to the above description.

[0136] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the methods provided by other embodiments of the present invention.

[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0138] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0139] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0140] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0141] It should be understood that in the embodiments of the present application, the various embodiments and features can be combined with each other to solve the aforementioned technical problems.

[0142] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0143] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A remote control method for oil well operation, characterized in that: Includes steps: S11. Generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the off-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods; S12. Generate an operation plan model with the goal of minimizing electricity costs: The constraints of the operation planning model include: Total running time constraints: And, liquid production constraint: Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2; S13, solving the operation plan model to obtain the operation time x of each electricity price period i Generate an operation time schedule for the target oil well in the next 24 hours; S14, generating a start / stop instruction for the target oil well according to the operation period plan; and sending the start / stop instruction to a near-field PLC of the target oil well; the near-field PLC is used to execute control instructions including the start / stop instruction.

2. The oil well operation remote control method according to claim 1, characterized in that: Also includes: S15, acquiring a monitoring image of the target oil well in real time; S16. Determine the current operating condition of the target oil well through image recognition according to the monitoring image, wherein the current operating condition includes the start / stop state of the target oil well.

3. The oil well operation remote control method according to claim 2, characterized in that: The data of the monitoring image also includes an infrared signal; the infrared signal is generated by an infrared emitting device located in the near field of the target oil well; the infrared light path generated by the infrared emitting device passes through the position when the pumping unit head reaches the highest position and is emitted to the image acquisition device of the monitoring image; After the oil pumping unit moves downward, the infrared light generated by the infrared emitting device generates an infrared signal in the monitoring image; Determining the current working condition of the target oil well by image recognition according to the monitoring image includes: The infrared signal is identified and the current stroke frequency of the pumping unit is determined according to the generation frequency of the infrared signal in the monitoring image, and the start / stop state of the target oil well is determined according to the current stroke frequency.

4. The oil well operation remote control method according to claim 3, characterized in that: The infrared light generated by the infrared emitting device generates an infrared signal in a preset area of ​​the monitoring image; The identifying the infrared signal includes: identifying the infrared signal in the preset area.

5. The oil well operation remote control method according to claim 4, characterized in that: Also includes: Obtaining the current dynamometer diagram of the target oil well, and adjusting the parameter value of the stroke frequency parameter in the dynamometer diagram generation algorithm so that the current dynamometer diagram approaches a parallelogram, thereby obtaining an optimized stroke frequency; A stroke frequency adjustment instruction of the oil pump is generated according to the optimized stroke frequency, and the stroke frequency adjustment instruction is sent to the near-field PLC as a control instruction.

6. The oil well operation remote control method according to claim 5, characterized in that: Also includes: Determine whether the stroke frequency adjustment instruction is executed according to the current stroke frequency of the oil pump.

7. The oil well operation remote control method according to claim 1, characterized in that: The preset days include: 5 to 7 days.

8. A remote control device for oil well operation, characterized in that: include: The valley-peak electricity price array unit is used to generate an array C for representing the corresponding relationship between electricity price and electricity price period according to the valley-peak electricity price system: C = [c1, c2, ..., c n ], where c1, c2…, c n is the electricity price in each electricity price period, and n is the number of electricity price periods; The planning model generation unit is used to generate an operation planning model with the goal of minimizing electricity costs: The constraints of the operation planning model include: Total running time constraints: And, liquid production constraint: Among them, x i is the target oil well in the i-th electricity price period c i The running time under is the target daily liquid production of the target oil well, is the average daily production of the past preset days; v is the target hourly liquid production, A is the unit liquid production enhancement coefficient, ranging from 1 to 1.2; The operation plan generating unit can solve the x of each electricity price period according to the operation plan model. i Generate an operation time schedule for the target oil well in the next 24 hours; A start-stop instruction generating unit is used to generate a start-stop instruction for the target oil well according to the operation period plan; the start-stop instruction is sent to a near-field PLC of the target oil well; the near-field PLC is used to execute a control instruction including the start-stop instruction.

9. The oil well operation remote control device according to claim 8, characterized in that: Also includes: A monitoring image acquisition unit, used for acquiring a monitoring image of the target oil well in real time; The current operating condition recognition unit is used to determine the current operating condition of the target oil well through image recognition according to the monitoring image, and the current operating condition includes the start and stop state of the target oil well.

10. The oil well operation remote control device according to claim 9, characterized in that: Also includes: The stroke optimization unit is used to obtain the current dynamometer diagram of the target oil well, and obtain the optimized stroke by adjusting the parameter value of the stroke parameter in the dynamometer diagram generation algorithm so that the current dynamometer diagram approaches a parallelogram; A stroke frequency adjustment unit is used to generate a stroke frequency adjustment instruction of the oil pump according to the optimized stroke frequency, and send the stroke frequency adjustment instruction as a control instruction to the near-field PLC.

11. A remote control device for oil well operation, characterized in that: include: Memory for storing computer programs; A processor is used to call and execute the computer program to implement the steps of the oil well operation remote control method as described in any one of claims 1-7.

12. A storage medium, characterized in that: The method comprises a software program, wherein the software program is suitable for executing the steps of the oil well operation remote control method according to any one of claims 1 to 7 by a processor.