Intelligent intermittent pumping control method and system for oil and gas field based on full localization of swan Mongolia system
Through the intelligent interpulse control method built on the Hongmeng system in the oil and gas field, the interpulse working cycle of the oil pump is optimized, and the efficiency reduction caused by failure to fully consider the operation of the oil pump in the existing technology is solved, and more efficient is achieved intermission work.
Patent Information
- Application Number
- CN202510072220.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-02-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art fails to fully consider the operation of the oil pumping machine when setting up the inter-well pumping cycle, resulting in a decrease in the inter-pumping working efficiency.
The intelligent inter-pumping control method of oil and gas fields constructed based on the Hongmeng system. By controlling the oil pump to operate at different preset times, the oil pumping load parameters, liquid production volume and oil production moisture content are obtained, the load difference value is calculated and the operating conditions are judged, and the target start-up is determined. and downtime, optimize the inter-shot working cycle.
The inter-pumping efficiency of the oil pump is improved, ensuring that the oil pump maintains a good working state during the inter-pumping working cycle, and reducing unnecessary energy losses.
Smart Images

Figure CN119466687A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of oil well production technology, and in particular to a method and system for intelligent inter-pumping control of oil and gas fields based on the Hongmeng system and a computer-readable storage medium. Background Art
[0002] In order to improve the oil production efficiency and economic benefits of oil wells and reduce the use burden of pumping units, pumping control came into being and gradually gained overall favor in the oil well production industry. At present, although most oil production workers can consider the real-time production situation of oil wells and set the corresponding interval period, the consideration is not comprehensive enough, especially the actual impact of the operation of the pumping unit itself on the interval period, which leads to the set interval period not necessarily matching the operation of the pumping unit well, which easily leads to the reduction of the efficiency of the pumping work. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the present invention proposes a nationally produced intelligent intermittent pumping control method and system for oil and gas fields based on the Hongmeng system, which can improve the intermittent pumping efficiency of the pumping unit.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling intelligent intermittent pumping in oil and gas fields based on the Hongmeng system, which is applied to an intermittent pumping intelligent control platform built based on the Hongmeng system. The oil and gas fields are equipped with corresponding pumping units, and the intermittent pumping intelligent control platform is connected to the pumping units. The method comprises the following steps: Step S1, controlling the oil pump to maintain operation for a first preset time, stopping the oil pump for a second preset time after the operation is completed, and controlling the oil pump to maintain operation for a third preset time; Step S2, respectively obtaining the corresponding pumping load parameters, liquid production and oil water content of the pumping unit in the first preset time and the third preset time, calculating the load difference between the pumping load parameter corresponding to the first preset time and the pumping load parameter corresponding to the third preset time, judging whether the first operating condition and the second operating condition are met at the same time, if so, determining the target startup time according to the first preset time and the third preset time, taking the second preset time as the target shutdown time, and executing step S4, otherwise executing step S3; The first operating condition is that the load difference is within a preset difference threshold range, and the second operating condition is that the oil water content corresponding to the first preset time and the oil water content corresponding to the third preset time are both less than or equal to a preset oil water content threshold, or at least one of the liquid production corresponding to the first preset time and the liquid production corresponding to the third preset time is greater than or equal to a preset liquid production threshold; Step S3, taking the pumping load parameters, the liquid production and the oil water content corresponding to the first preset duration and the third preset duration respectively as input data, and inputting them into the duration estimation model based on the Hongmeng system for training, so as to obtain the pre-trained duration estimation model; when determining the current pumping load parameters, the current liquid production and the current oil water content of the oil pumping unit, inputting the current pumping load parameters, the current liquid production and the current oil water content into the pre-trained duration estimation model, so as to obtain the target startup duration, and determining the target shutdown duration according to the first preset duration, the second preset duration and the third preset duration; Step S4, determining the intermittent pumping working cycle of the oil pumping unit according to the target startup time and the target shutdown time, controlling the oil pumping unit to work according to the intermittent pumping working cycle, and obtaining the fullness of the oil pumping unit at a preset sampling time within the intermittent pumping working cycle, and judging whether the fullness is lower than a minimum fullness threshold, if so, controlling the oil pumping unit to stop working, otherwise executing step S5; Step S5, continuously acquiring the pumping operation parameters of the oil pumping unit in the intermittent pumping working cycle, and determining the corresponding relationship between the power parameter and the fullness in the intermittent pumping working cycle according to the pumping operation parameters in the intermittent pumping working cycle; Step S6: Determine the target power parameter of the oil pumping unit according to the preset power operating conditions and the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle.
[0005] Optionally, in an embodiment of the present invention, the step in step S2, determining the target power-on duration according to the first preset duration and the third preset duration, comprises the following steps: Step S21: Substitute the first preset duration and the third preset duration into a duration estimation calculation formula to obtain a target power-on duration, wherein the duration estimation calculation formula is as follows: ; is the target power-on time, is the first preset duration, is the third preset duration, is the preset duration compensation coefficient, .
[0006] Optionally, in one embodiment of the present invention, the step in step S3, determining the target downtime duration according to the first preset duration, the second preset duration and the third preset duration, comprises the following steps: Step S31, obtaining a duration difference between the first preset duration and the third preset duration; Step S32: when the second preset time meets the time determination condition, the second preset time is used as the target downtime time; or, when the second preset time does not meet the time determination condition, the time difference is used as the target downtime time, wherein the time determination condition is that the second preset time is less than or equal to the time difference, and less than the first preset time or the third preset time.
[0007] Optionally, in one embodiment of the present invention, when the pumping operation parameters include pumping speed parameters, operating temperature parameters and oil well pressure parameters, the steps in step S5, determining the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle according to the pumping operation parameters within the intermittent pumping working cycle, include the following steps: Step S51, for the obtained pumping operation parameters at any time in the intermittent pumping working cycle, determine whether the pumping operation parameters meet the ideal pumping operation conditions, if so, retain the pumping operation parameters at this moment, otherwise filter out the pumping operation parameters at this moment, wherein the ideal pumping operation conditions are that the pumping speed parameter is not lower than the minimum preset speed threshold, the operating temperature parameter does not exceed the maximum preset temperature threshold, and the oil well pressure parameter is within the preset flow pressure threshold range; Step S52, respectively calculating the mean of all the retained pumping speed parameters, the operating temperature parameters and the oil well pressure parameters, so as to obtain a comprehensive pumping speed parameter, a comprehensive operating temperature parameter and a comprehensive oil well pressure parameter; Step S53, determining the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle according to the comprehensive pumping speed parameter, the comprehensive operating temperature parameter and the comprehensive oil well pressure parameter.
[0008] Optionally, in one embodiment of the present invention, step S53 includes the following steps: Step S531: Substitute the comprehensive pumping speed parameter, the comprehensive operating temperature parameter and the comprehensive oil well pressure parameter into the power simulation calculation formula to obtain the corresponding function relationship between the power parameter and the fullness within the intermittent pumping working cycle, wherein the corresponding function relationship is as follows: ; is the power parameter, is the starting time of the intermittent working cycle, is the end time of the intermittent working cycle, is any moment in the intermittent working cycle, is the comprehensive pumping speed parameter, is the comprehensive operating temperature parameter, is the comprehensive oil well pressure parameter, is the preset temperature influence factor, is the preset power compensation factor, is the degree of fullness.
[0009] Optionally, in one embodiment of the present invention, step S6 includes the following steps: Step S61, substituting the fullness into the corresponding functional relationship to perform calculation, thereby obtaining a corresponding simulated power parameter; Step S62: adjusting the simulated power parameter according to the preset power operating condition, and taking the adjusted simulated power parameter as the target power parameter of the oil pump.
[0010] Optionally, in one embodiment of the present invention, when the preset power operating condition includes an ideal power threshold and a maximum power threshold, and the ideal power threshold is less than the maximum power threshold, the step in step S62, adjusting the simulated power parameter according to the preset power operating condition, includes the following steps: Step S621: When the simulated power parameter is less than the ideal power threshold or greater than the maximum power threshold, adjust the simulated power parameter to the ideal power threshold; or, When the simulated power parameter is greater than or equal to the ideal power threshold and less than or equal to the maximum power threshold, the simulated power parameter is maintained unchanged.
[0011] In a second aspect, an embodiment of the present invention provides a nationally produced intelligent inter-pumping control system for oil and gas fields based on the Hongmeng system, including: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the nationally produced intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system as described in the first aspect is implemented.
[0012] In the third aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a program executable by a processor. When the program executable by the processor is executed by the processor, it is used to implement the nationally produced intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system as described in the first aspect.
[0013] The present invention proposes a method and system for intelligent inter-pumping control of oil and gas fields based on the national production of Hongmeng system, and constructs an inter-pumping intelligent control platform based on the Hongmeng system, which provides a flexible and scalable system architecture, and then realizes intelligent inter-pumping control of the oil pumping unit as a whole through the inter-pumping intelligent control platform. Specifically, the oil pumping unit is controlled to enter the trial operation state with a first preset time, a second preset time and a third preset time, and then the effectiveness of the pumping load parameters, liquid production and oil water content in the trial operation state is judged, so as to determine the target startup time and target shutdown time according to the judgment result, and the target startup time and target shutdown time constitute the oil pumping unit. Intermittent pumping working cycle, so as to control the operation of the oil pumping unit according to the intermittent pumping working cycle. It can be seen that, on the basis of monitoring the production conditions of the oil wells, the influence of the actual operation conditions of the oil pumping unit is further considered, and debugging calculations are performed based on the obtained trial operation parameters of the oil pumping unit. Therefore, a reasonable and reliable intermittent pumping working cycle can be determined to improve the intermittent pumping working efficiency of the oil pumping unit; and, in the process of the oil pumping unit operating with the intermittent pumping working cycle, the fullness and pumping operating parameters of the oil pumping unit are monitored in real time to adjust the real-time power state of the oil pumping unit to ensure that the oil pumping unit maintains a good working state during the intermittent pumping working cycle, thereby further improving the intermittent pumping working efficiency of the oil pumping unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a flow chart of a method for intelligent inter-pumping control of oil and gas fields based on the Hongmeng system for national production, provided by one embodiment of the present invention; Figure 2 yes Figure 1 A partial flow chart of the step "determining the target downtime duration according to the first preset duration, the second preset duration and the third preset duration" in step S3 of FIG. Figure 3 yes Figure 1 A partial flow chart of the step S5 of "determining the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle according to the pumping operation parameters within the intermittent pumping working cycle"; Figure 4 yes Figure 1 Flow chart of step S6 in FIG. Figure 5 yes Figure 4 Flow chart of step S62 in FIG. Figure 6 It is a structural schematic diagram of a domestically produced intelligent inter-pumping control system for oil and gas fields based on the Hongmeng system provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0015] like Figure 1As shown, an embodiment of the present invention provides a method for intelligent inter-pumping control of oil and gas fields based on the Hongmeng system. The method can be but is not limited to being applied to an inter-pumping intelligent control platform built on the Hongmeng system. The oil and gas fields are equipped with corresponding oil pumps, and the inter-pumping intelligent control platform is connected to the oil pumps. Specifically, it can include but is not limited to steps S1 to S5; wherein, the inter-pumping intelligent control platform can be but is not limited to being built based on the nationally produced open source Hongmeng system. For example, the hardware architecture and software architecture associated with the inter-pumping intelligent control platform can be built based on the microkernel of the open source Hongmeng system. The real-time operation data of the oil pumps can be analyzed, calculated and converted through the efficient computing environment and stable data logic framework provided by the open source Hongmeng system, thereby achieving the technical purpose of improving the inter-pumping efficiency of the oil pumps.
[0016] Step S1, controlling the oil pump to maintain operation for a first preset time, and after the operation is completed, stopping the oil pump for a second preset time, and controlling the oil pump to maintain operation for a third preset time; It can be understood that the specific values of the first preset time, the second preset time and the third preset time can be set by technicians in this field according to experience, production requirements and other factors. However, no matter how they are set, the intelligent intermittent extraction control method in this embodiment can be applied. In other words, the settings of the first preset time, the second preset time and the third preset time in step S1 are not uniquely limited. For example, in some application scenarios, step S1 can be executed multiple times, but is not limited to, and the first preset time, the second preset time and the third preset time used in each execution of step S1 may not be completely the same. Such trial operation data will be richer, which is beneficial to the calculation in subsequent steps. However, this is not a limitation, and technicians in this field can choose to execute according to the actual scenario. Step S2, respectively obtaining the corresponding pumping load parameters, liquid production and oil water content of the pumping unit in the first preset time and the third preset time, calculating the load difference between the pumping load parameter corresponding to the first preset time and the pumping load parameter corresponding to the third preset time, judging whether the first operating condition and the second operating condition are met at the same time, if so, determining the target startup time according to the first preset time and the third preset time, taking the second preset time as the target shutdown time, and executing step S4, otherwise executing step S3; The first operating condition is that the load difference is within a preset difference threshold range, and the second operating condition is that the oil water content corresponding to the first preset time and the oil water content corresponding to the third preset time are both less than or equal to the preset oil water content threshold, or at least one of the liquid production corresponding to the first preset time and the liquid production corresponding to the third preset time is greater than or equal to the preset liquid production threshold; The pumping load parameter reflects the maximum force or torque that the pumping unit needs to bear during operation, and can be used as a relevant operating parameter to measure the real-time working efficiency of the pumping unit; the liquid production volume represents the real-time liquid production of the oil well, and the water content of the oil production represents the purity of the oil products collected in real time from the oil well; Step S3, taking the pumping load parameters, liquid production and oil water content corresponding to the first preset duration and the third preset duration respectively as input data, and inputting them into the duration estimation model based on the Hongmeng system for training, so as to obtain a pre-trained duration estimation model; when the current pumping load parameters, current liquid production and current oil water content of the oil pumping unit are determined, the current pumping load parameters, current liquid production and current oil water content are input into the pre-trained duration estimation model, so as to obtain the target startup duration, and determine the target shutdown duration according to the first preset duration, the second preset duration and the third preset duration; It should be noted that there can be multiple specific types of duration estimation models based on the Hongmeng system. Technical personnel in this field can select the corresponding duration estimation model according to the actual application scenario, such as selecting the convolutional neural network, residual neural network, etc. configured accordingly under the Hongmeng system architecture, which is not limited here; there is no specific restriction on the method of training the duration estimation model, for example, it can be but not limited to: first, the oil pumping load parameters, liquid production and oil water content corresponding to the first preset time length and the third preset time length are normalized, and then all the normalized data are used as input data, and the input data is trained. Input to the input layer of the duration estimation model, and finally output the trained startup duration, etc. through the output layer of the duration estimation model; wherein, the input data can also be but not limited to more types, for example, as mentioned in the aforementioned embodiment, step S1 can be performed multiple times, then correspondingly, through step S2, multiple groups of preset durations and their corresponding pumping load parameters, liquid production and oil water content can be obtained, that is, in this case, more input data are obtained, but this is not the only limitation, and those skilled in the art can select relevant data for training the duration estimation model according to actual scenarios, application requirements, etc., which is not limited here; Step S4, determining the intermittent pumping working cycle of the oil pumping unit according to the target startup time and the target shutdown time, controlling the oil pumping unit to work according to the intermittent pumping working cycle, and obtaining the fullness of the oil pumping unit at a preset sampling time within the intermittent pumping working cycle, and judging whether the fullness is lower than the minimum fullness threshold, if so, controlling the oil pumping unit to stop working, otherwise executing step S5, that is, if the fullness is lower than the minimum fullness threshold, it means that the fullness does not meet the minimum requirement, and accordingly, the pumping efficiency cannot reach the expected level, so the oil pumping unit is controlled to stop working to reduce unnecessary energy loss; It should be noted that the preset sampling moment can be selected and set according to the actual situation, and can be set to multiple. When it is set to multiple, the fullness obtained at each preset sampling moment can be judged one by one, and the judgment condition can be set accordingly. For example, in one case, strict judgment is performed, and all fullnesses are required to be lower than the minimum fullness threshold before the oil pump is controlled to stop working. Or, in another case, non-strict judgment is performed, and the oil pump is controlled to stop working only if the number of fullnesses of all fullnesses lower than the minimum fullness threshold is less than the preset proportion, etc. There is no limitation here; There may be more types of fullness that are selected, which are not limited here. For example, considering the energy consumption balance of the oil pump, the fullness corresponding to the energy consumption balance condition may be selected.
[0017] Step S5, continuously obtaining the pumping operation parameters of the oil pumping unit in the intermittent pumping working cycle, and determining the corresponding relationship between the power parameter and the fullness in the intermittent pumping working cycle according to the pumping operation parameters in the intermittent pumping working cycle; Among them, the method of determining the intermittent pumping working cycle of the oil pumping unit can be, but is not limited to, set accordingly according to the actual application scenario. Generally speaking, the intermittent pumping working cycle should at least include a target startup time and a target shutdown time. The target startup time and the target shutdown time can be continuous or non-continuous. For example, other required times such as oil pumping unit equipment maintenance time and running standby time are inserted into the intermittent pumping working cycle. Obviously, after these other required times are added, the intermittent pumping working cycle will not only include the target startup time and the target shutdown time. Of course, under ideal circumstances, the intermittent pumping working cycle only includes the target startup time and the target shutdown time. Continuously obtain the pumping The specific method of obtaining the oil pumping operation parameters can be set accordingly according to actual needs. For example, the oil pumping operation parameters can be obtained according to a preset time interval. Different time intervals form different sampling moments in the intermittent pumping work cycle. The oil pumping operation parameters are obtained at each sampling moment. Specifically, if it is assumed that the intermittent pumping work cycle is from 14:00 to 22:00, and every 2 hours is taken as an equal time interval, then 4 corresponding sampling moments can be obtained between 14:00 and 22:00, and the oil pumping operation parameters are obtained and recorded at these 4 sampling moments respectively, or the oil pumping operation parameters can be obtained by random sampling, etc., which is not limited here; Step S6: Determine the target power parameter of the oil pumping unit according to the preset power operating conditions and the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle.
[0018] In this step, an inter-pumping intelligent control platform is constructed based on the Hongmeng system, which provides a flexible and scalable system architecture, and then the intelligent inter-pumping control of the oil pumping unit is realized through the inter-pumping intelligent control platform as a whole. Specifically, the oil pumping unit is controlled to enter the trial operation state with the first preset time, the second preset time and the third preset time, and then the effectiveness of the pumping load parameters, liquid production and oil water content in the trial operation state is judged, so as to determine the target startup time and target shutdown time according to the judgment result, and the target startup time and target shutdown time constitute the inter-pumping working cycle of the oil pump, so as to The pumping duty cycle controls the operation of the oil pumping unit. It can be seen that, based on the monitoring of the oil well production conditions, the influence of the actual operation conditions of the oil pumping unit is further considered, and debugging calculations are performed based on the obtained trial operation parameters of the oil pumping unit. Therefore, a reasonable and reliable intermittent pumping duty cycle can be determined to improve the intermittent pumping efficiency of the oil pumping unit. Moreover, in the process of the oil pumping unit operating with the intermittent pumping duty cycle, the fullness and pumping operation parameters of the oil pumping unit are monitored in real time to adjust the real-time power state of the oil pumping unit, to ensure that the oil pumping unit maintains a good working state during the intermittent pumping duty cycle, to further improve the intermittent pumping efficiency of the oil pumping unit.
[0019] It should be noted that the specific composition architecture, parameters, etc. of the intelligent control platform are not restricted, and can be but not limited to being set up by technical personnel in this field according to actual application scenarios. Since the domestically produced Hongmeng system belongs to the relevant existing technology in this field, it will not be elaborated here to avoid redundancy.
[0020] In one embodiment of the present invention, the steps in step S2, determining the target power-on duration according to the first preset duration and the third preset duration, may include but are not limited to the following steps: Step S21: Substitute the first preset duration and the third preset duration into the duration estimation calculation formula to calculate and obtain the target power-on duration, wherein the duration estimation calculation formula is as follows: ; The target boot time is is the first preset duration, For the third preset duration, is the preset duration compensation coefficient, .
[0021] In this step, by judging whether the first operating condition and the second operating condition are met at the same time, it means that the first preset duration and the third preset duration are valid data under the intermittent operation condition. Therefore, the required power-on duration can be further determined based on the first preset duration and the third preset duration, and the first preset duration and the third preset duration are substituted into the duration estimation calculation formula for calculation to obtain the target power-on duration, wherein the preset duration compensation coefficient represents the error influence of the first preset duration and the third preset duration when performing duration estimation.
[0022] It should be noted that , The specific size relationship of can be configured according to the specific situation of different scenarios, depending on the emphasis of the spacing method. There is no restriction here. For example, to analyze the possible level of impact of the initial operation of the pumping unit, then Set larger, accordingly, On the contrary, if the goal is to analyze the possible level of impact on the subsequent operation of the pumping unit, then Set smaller, accordingly, Set it bigger.
[0023] like Figure 2 As shown, in one embodiment of the present invention, the steps in step S3, determining the target downtime duration according to the first preset duration, the second preset duration and the third preset duration, may include but are not limited to the following steps: Step S31, obtaining a duration difference between the first preset duration and the third preset duration; Step S32: when the second preset duration meets the duration determination condition, the second preset duration is used as the target downtime duration; or, when the second preset duration does not meet the duration determination condition, the duration difference is used as the target downtime duration, wherein the duration determination condition is that the second preset duration is less than or equal to the duration difference, and is less than the first preset duration or the third preset duration.
[0024] In this step, the duration difference between the first preset duration and the third preset duration is calculated to further determine whether the second preset duration meets the duration determination condition. Since the duration determination condition is that the second preset duration is less than or equal to the duration difference and less than the first preset duration or the third preset duration, that is to say, the second preset duration needs to simultaneously meet the condition of being less than or equal to the duration difference and less than any one of the preset durations before the second preset duration can be considered to meet the current duration requirement, thereby taking the second preset duration as the target downtime duration, otherwise taking the duration difference as the target downtime duration, and the duration difference meets the current duration requirement. It can be seen that by determining whether the second preset duration meets the duration determination condition, an accurate and reliable target downtime duration can be determined accordingly.
[0025] like Figure 3 As shown, in one embodiment of the present invention, when the pumping operation parameters include pumping speed parameters, operating temperature parameters and oil well pressure parameters, the steps in step S5, determining the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle according to the pumping operation parameters within the intermittent pumping working cycle, may include but are not limited to the following steps: Step S51, for the obtained pumping operation parameters at any time during the intermittent pumping working cycle, determine whether the pumping operation parameters meet the ideal pumping operation conditions, if so, retain the pumping operation parameters at this time, otherwise filter out the pumping operation parameters at this time, wherein the ideal pumping operation conditions are that the pumping speed parameter is not lower than the minimum preset speed threshold, the operating temperature parameter does not exceed the maximum preset temperature threshold, and the oil well pressure parameter is within the preset flow pressure threshold range; Step S52, respectively calculating the mean of all the retained pumping speed parameters, operating temperature parameters and oil well pressure parameters, so as to obtain a comprehensive pumping speed parameter, a comprehensive operating temperature parameter and a comprehensive oil well pressure parameter; Step S53, determining the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle according to the comprehensive pumping speed parameter, the comprehensive operating temperature parameter and the comprehensive oil well pressure parameter.
[0026] In this step, by judging whether the pumping operation parameters at any moment meet the ideal pumping operation conditions, all the pumping operation parameters that meet the ideal pumping operation conditions are found. This part of the pumping operation parameters corresponds to the ideal working state of the pumping unit. Then, all the retained pumping speed parameters, operating temperature parameters and oil well pressure parameters are averaged to obtain comprehensive pumping speed parameters, comprehensive operating temperature parameters and comprehensive oil well pressure parameters. The corresponding relationship between the power parameters and the fullness of the pumping unit during the intermittent pumping working cycle can be effectively and reliably determined based on the comprehensive pumping speed parameters, comprehensive operating temperature parameters and comprehensive oil well pressure parameters.
[0027] It should be noted that the pumping operation parameters may also include but are not limited to more types of operation parameters, which are selected by technical personnel in this field according to different scenarios and are not limited here. For example, they may be well depth temperature parameters, oil well permeability parameters, etc.
[0028] In one embodiment of the present invention, step S53 may include but is not limited to the following steps: Step S531: Substitute the comprehensive pumping speed parameter, the comprehensive operating temperature parameter and the comprehensive oil well pressure parameter into the power simulation calculation formula to calculate and obtain the corresponding functional relationship between the power parameter and the fullness within the intermittent pumping working cycle, wherein the corresponding functional relationship is as follows: ; is the power parameter, is the starting time of the intermittent working cycle, is the end time of the intermittent working cycle, is any moment in the intermittent working cycle, is the comprehensive pumping speed parameter, is the comprehensive operating temperature parameter, is the comprehensive oil well pressure parameter, is the preset temperature influence factor, is the preset power compensation factor, For fullness.
[0029] In this step, the corresponding function relationship reflects the corresponding function relationship between the power parameter and the fullness, where: This integral term represents the influence of the pumping speed parameter in the entire intermittent pumping cycle. Characterize the influence of operating temperature parameters on the real-time operating status of the pumping unit, Preferably 0.5 to 0.8, Characterize the influence of oil well pressure parameters and fullness during the entire intermittent pumping cycle. Preferably it is 1.5~2.5.
[0030] like Figure 4 As shown, in one embodiment of the present invention, step S6 may include but is not limited to the following steps: Step S61, substituting the fullness into the corresponding function relationship to calculate and obtain the corresponding simulation power parameter; Step S62: adjusting the simulated power parameters according to the preset power operating conditions, and using the adjusted simulated power parameters as the target power parameters of the oil pump.
[0031] In this step, since the corresponding functional relationship between the power parameter and the fullness has been determined in the above-mentioned embodiment, when the specific value of the fullness is determined, the corresponding simulated power parameter can be calculated by substituting the formula, and then the simulated power parameter is adjusted according to the preset power operating conditions to adjust the simulated power parameter to be more in line with the ideal operating condition of the oil pump. Finally, the adjusted simulated power parameter is used as the target power parameter of the oil pump, so that the oil pump is in a good power operating state.
[0032] It should be noted that, as described in the previous embodiment, if there are multiple fullnesses at preset sampling moments that meet the threshold condition, the largest fullness may be selected as the final fullness and substituted into the corresponding function relationship for calculation, but is not limited to.
[0033] like Figure 5As shown, in one embodiment of the present invention, when the preset power operating condition includes an ideal power threshold and a maximum power threshold, and the ideal power threshold is less than the maximum power threshold, the steps in step S62, adjusting the simulated power parameters according to the preset power operating condition, may include but are not limited to the following steps: Step S621: When the analog power parameter is less than the ideal power threshold or greater than the maximum power threshold, the analog power parameter is adjusted to the ideal power threshold; or, when the analog power parameter is greater than or equal to the ideal power threshold and less than or equal to the maximum power threshold, the analog power parameter is maintained unchanged.
[0034] In this step, when the simulated power parameter is greater than or equal to the ideal power threshold and less than or equal to the maximum power threshold, it means that the simulated power parameter is within a suitable threshold range, so the current simulated power parameter can be maintained unchanged; when the simulated power parameter is less than the ideal power threshold or greater than the maximum power threshold, it means that the simulated power parameter at this time is either too small or too large and is not within a reasonable threshold range, which may affect the overall operating efficiency of the oil pump. Therefore, in this case, the simulated power parameter is adjusted to the ideal power threshold to improve the operating efficiency of the oil pump and reduce safety hazards. Among them, the specific value of the ideal power threshold is not restricted, and can be selected and set accordingly according to the actual scenario.
[0035] Figure 6 1 is a schematic diagram of a structure of an intelligent inter-pumping control system 1000 for oil and gas fields based on the Hongmeng system, which is domestically produced, provided by an embodiment of the present invention. Figure 6 As shown, the oil and gas field intelligent inter-extraction control system 1000 based on the Hongmeng system includes a memory 1100 and a processor 1200. The number of the memory 1100 and the processor 1200 can be one or more. Figure 6 In the embodiment, a memory 1100 and a processor 1200 are taken as an example; the memory 1100 and the processor 1200 in the device may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0036] The memory 1100, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system for nationalization provided in any embodiment of the present invention. The processor 1200 implements the above-mentioned intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system for nationalization by running the software programs, instructions and modules stored in the memory 1100.
[0037] The memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. In addition, the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1100 may further include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0038] An embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions, which are used to execute the domestically produced intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system as provided in any embodiment of the present invention.
[0039] An embodiment of the present invention also provides a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. The processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the domestically produced intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system as provided in any embodiment of the present invention.
[0040] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0041] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0042] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
Claims
1. A method for intelligent intermittent pumping control of oil and gas fields based on the national production of Hongmeng system, characterized in that: Applied to an intermittent pumping intelligent control platform built based on the Hongmeng system, the oil and gas field is equipped with a corresponding pumping unit, the intermittent pumping intelligent control platform is connected to the pumping unit, and the method comprises the following steps: Step S1, controlling the oil pump to maintain operation for a first preset time, stopping the oil pump for a second preset time after the operation is completed, and controlling the oil pump to maintain operation for a third preset time; Step S2, respectively obtaining the corresponding pumping load parameters, liquid production and oil water content of the pumping unit in the first preset time and the third preset time, calculating the load difference between the pumping load parameter corresponding to the first preset time and the pumping load parameter corresponding to the third preset time, judging whether the first operating condition and the second operating condition are met at the same time, if so, determining the target startup time according to the first preset time and the third preset time, taking the second preset time as the target shutdown time, and executing step S4, otherwise executing step S3; The first operating condition is that the load difference is within a preset difference threshold range, and the second operating condition is that the oil water content corresponding to the first preset time and the oil water content corresponding to the third preset time are both less than or equal to a preset oil water content threshold, or at least one of the liquid production corresponding to the first preset time and the liquid production corresponding to the third preset time is greater than or equal to a preset liquid production threshold; Step S3, taking the pumping load parameters, the liquid production and the oil water content corresponding to the first preset duration and the third preset duration respectively as input data, and inputting them into the duration estimation model based on the Hongmeng system for training, so as to obtain the pre-trained duration estimation model; when determining the current pumping load parameters, the current liquid production and the current oil water content of the oil pumping unit, inputting the current pumping load parameters, the current liquid production and the current oil water content into the pre-trained duration estimation model, so as to obtain the target startup duration, and determining the target shutdown duration according to the first preset duration, the second preset duration and the third preset duration; Step S4, determining the intermittent pumping working cycle of the oil pumping unit according to the target startup time and the target shutdown time, controlling the oil pumping unit to work according to the intermittent pumping working cycle, and obtaining the fullness of the oil pumping unit at a preset sampling time within the intermittent pumping working cycle, and judging whether the fullness is lower than a minimum fullness threshold, if so, controlling the oil pumping unit to stop working, otherwise executing step S5; Step S5, continuously acquiring the pumping operation parameters of the oil pumping unit in the intermittent pumping working cycle, and determining the corresponding relationship between the power parameter and the fullness in the intermittent pumping working cycle according to the pumping operation parameters in the intermittent pumping working cycle; Step S6: Determine the target power parameter of the oil pumping unit according to the preset power operating conditions and the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle.
2. According to the method for intelligent intermittent pumping control of oil and gas fields based on the Hongmeng system for national production according to claim 1, it is characterized in that: The step in step S2, determining the target power-on duration according to the first preset duration and the third preset duration, comprises the following steps: Step S21: Substitute the first preset duration and the third preset duration into a duration estimation calculation formula to obtain a target power-on duration, wherein the duration estimation calculation formula is as follows: ; is the target startup time, is the first preset duration, is the third preset duration, is the preset duration compensation coefficient, .
3. According to the method of intelligent intermittent pumping control of oil and gas fields based on the Hongmeng system for national production according to claim 1, it is characterized in that: The step in step S3, determining the target downtime duration according to the first preset duration, the second preset duration and the third preset duration, comprises the following steps: Step S31, obtaining a duration difference between the first preset duration and the third preset duration; Step S32: when the second preset time meets the time determination condition, the second preset time is used as the target downtime time; or, when the second preset time does not meet the time determination condition, the time difference is used as the target downtime time, wherein the time determination condition is that the second preset time is less than or equal to the time difference, and less than the first preset time or the third preset time.
4. According to the method of intelligent intermittent pumping control of oil and gas fields based on the Hongmeng system according to claim 1, it is characterized in that: When the pumping operation parameters include pumping speed parameters, operating temperature parameters and oil well pressure parameters, the steps in step S5, determining the corresponding relationship between the power parameters and the fullness within the intermittent pumping working cycle according to the pumping operation parameters within the intermittent pumping working cycle, include the following steps: Step S51, for the obtained pumping operation parameters at any time in the intermittent pumping working cycle, determine whether the pumping operation parameters meet the ideal pumping operation conditions, if so, retain the pumping operation parameters at this moment, otherwise filter out the pumping operation parameters at this moment, wherein the ideal pumping operation conditions are that the pumping speed parameter is not lower than the minimum preset speed threshold, the operating temperature parameter does not exceed the maximum preset temperature threshold, and the oil well pressure parameter is within the preset flow pressure threshold range; Step S52, respectively calculating the mean of all the retained pumping speed parameters, the operating temperature parameters and the oil well pressure parameters, so as to obtain a comprehensive pumping speed parameter, a comprehensive operating temperature parameter and a comprehensive oil well pressure parameter; Step S53, determining the corresponding relationship between the power parameter and the fullness within the intermittent pumping working cycle according to the comprehensive pumping speed parameter, the comprehensive operating temperature parameter and the comprehensive oil well pressure parameter.
5. According to claim 4, the intelligent intermittent pumping control method for oil and gas fields based on the Hongmeng system is characterized in that: The step S53 comprises the following steps: Step S531: Substitute the comprehensive pumping speed parameter, the comprehensive operating temperature parameter and the comprehensive oil well pressure parameter into the power simulation calculation formula to obtain the corresponding function relationship between the power parameter and the fullness within the intermittent pumping working cycle, wherein the corresponding function relationship is as follows: ; is the power parameter, is the starting time of the intermittent working cycle, is the end time of the intermittent working cycle, is any moment in the intermittent working cycle, is the comprehensive pumping speed parameter, is the comprehensive operating temperature parameter, is the comprehensive oil well pressure parameter, is the preset temperature influence factor, is the preset power compensation factor, is the degree of fullness.
6. The method for intelligent intermittent pumping control of oil and gas fields based on the Hongmeng system according to claim 5 is characterized in that: The step S6 comprises the following steps: Step S61, substituting the fullness into the corresponding functional relationship to perform calculation, thereby obtaining a corresponding simulated power parameter; Step S62: adjusting the simulated power parameter according to the preset power operating condition, and taking the adjusted simulated power parameter as the target power parameter of the oil pump.
7. The method for intelligent intermittent pumping control of oil and gas fields based on the Hongmeng system according to claim 6 is characterized in that: When the preset power operating condition includes an ideal power threshold and a maximum power threshold, and the ideal power threshold is less than the maximum power threshold, the step in step S62, adjusting the simulated power parameter according to the preset power operating condition, includes the following steps: Step S621: When the simulated power parameter is less than the ideal power threshold or greater than the maximum power threshold, adjust the simulated power parameter to the ideal power threshold; or, When the simulated power parameter is greater than or equal to the ideal power threshold and less than or equal to the maximum power threshold, the simulated power parameter is maintained unchanged.
8. An intelligent inter-pumping control system for oil and gas fields based on the Hongmeng system, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the nationally produced intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system as described in any one of claims 1 to 7 is implemented.
9. A computer-readable storage medium, characterized in that: A processor-executable program is stored therein, and when the processor-executable program is executed by the processor, it is used to implement the nationally produced intelligent inter-pumping control method for oil and gas fields based on the Hongmeng system as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Oil well intermittent pumping control system and method
CN106762584A
Control device and method for intermittent pumping of oil pumping unit without shutting down
CN106948796A
Oil well intermittent pumping period determination method
CN107608940A
Oil well intermittent pumping control system and method
CN113027387A
Intelligent intermittent pumping control system of beam-pumping unit and control method of intelligent intermittent pumping control system
CN114688009A
Cited By
Intermittent operation switching method and system for oil and gas fields based on localization of swan Mongolia system
CN119933609A