Intelligent parameter adjustment control method based on oil well supply and discharge coordination and control terminal thereof
By adopting intelligent parameter adjustment control method and high-performance control terminals in oil well supply, drainage and parameter adjustment control, the problems of low manual debugging efficiency and poor reliability of control terminals in the existing technology are solved, and intelligent parameter adjustment of oil well supply and discharge are realized, and production efficiency and system efficiency are improved.
Patent Information
- Application Number
- CN202311596504.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-05-30
AI Technical Summary
The existing oil well supply, drainage and parameter adjustment control technology relies on manual debugging, has low efficiency and poor timeliness, and has poor electrical reliability at the control terminal, which cannot meet the requirements of dynamic adjustment of oil well production.
The intelligent parameter adjustment control method based on oil well supply and discharge coordination is adopted. By quantitatively analyzing the ground power diagram, diagnosing working conditions, analyzing the production status and performing intelligent parameter adjustment, combined with high-performance intelligent parameter adjustment control terminals, an automated and intelligent parameter adjustment process is realized.
It improves the normal production efficiency of oil wells, realizes intelligent parameter adjustment of the oil well supply and discharge process, reduces energy waste, improves the efficiency of the pump well system, and meets the dynamic adjustment needs of oil well production.
Smart Images

Figure CN120061791A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent parameter adjustment control for oil wells, and particularly relates to an intelligent parameter adjustment control method based on the coordination of oil well supply and drainage and its control terminal. Background Art
[0002] In order to give full play to the production capacity of pumping wells and ensure that the dynamic liquid level and flowing pressure of oil wells are maintained within a reasonable range, so as to achieve the purpose of reducing energy waste and high production with low consumption, technicians need to adaptively adjust the working parameters of pumping wells. Among them, the parameter adjustment process of oil well supply and drainage involves many tasks. For example, affected by many factors such as stimulation effect, fluid properties, and reservoir pollution, different sucker rods have different adaptabilities to production pressure differences. At this time, technicians need to set a reasonable production pressure difference according to the oil well conditions. In addition, relevant research shows that there is a strong correlation between pump efficiency and flowing pressure; therefore, for a normally operating pumping well, in order to keep the pumping unit running efficiently, it is also necessary to maintain an appropriate flowing pressure value. Moreover, technicians also need to predict the parameter adjustment (direction) so as to facilitate technicians to select appropriate working parameters according to the prediction (production) to improve the accuracy of parameter adjustment for pumping wells.
[0003] To overcome the above technical problems, technicians have made many attempts. For example: in the patent document with the patent title: A Variable Frequency Control Method for Pumping Wells Based on Dynamic Control Chart and Dynamometer Card, and application number: CN201611197291.3, the following technical solution is recorded: The present invention relates to a variable frequency control method for pumping wells based on dynamic control chart and dynamometer card. By analyzing the surface dynamometer card of the oil well, combining the actual production data and static parameters of the oil field, calculating the stroke ratio of the up and down strokes of the oil well, and comparing with the previous data, analyzing the change trend of the effective stroke of the oil well, performing intelligent frequency conversion on the oil well, and at the same time, combining the results of the oil well dynamic control chart to correct the frequency conversion effect of the oil well. The present invention changes the limitations that in the traditional mode, the improvement of oil well pump efficiency depends on means such as maintenance operations, stimulation measures, and parameter adjustment optimization and cannot achieve continuous optimization, and the frequency conversion control is too dependent on manual participation and cannot achieve real-time adjustment of the stroke number. On the basis of maximizing the potential of the oil reservoir, frequency conversion optimization is realized, the energy consumption of oil well exploitation is reduced, the system efficiency of pumping wells is improved, and the continuous optimization of oil well production and system efficiency is realized.
[0004] However, the inventor further found that most of the existing oil well supply and drainage parameter adjustment control technologies rely on manual debugging. The specific debugging process requires the work experience of technicians, which is time-consuming, laborious and has poor timeliness. In addition, the control terminals used in the existing oil well supply and drainage parameter adjustment control process are also relatively backward, with poor electrical reliability and limited electrical integration, and can no longer meet the requirements of dynamic adjustment of oil well production. Summary of the Invention
[0005] The present invention provides an intelligent parameter adjustment control method based on the coordination of oil well supply and drainage and its control terminal. Among them, the intelligent parameter adjustment control method designs an intelligent parameter adjustment model, calculates and optimizes the parameters of various production technical indicators of the oil well under different combinations of opening time + shutting time, provides assistance for the intelligent parameter adjustment work of the oil well, and effectively improves the normal production efficiency of the oil well. The overall design of the intelligent parameter adjustment control terminal is stable, the electrical part has good performance, and it has a variety of expandable modes, which can quickly respond to the fluctuations in oil well production, and provides assistance for improving the digital management level of oil wells and comprehensively saving energy and reducing consumption.
[0006] To solve the above technical problems, the present invention adopts the following technical solutions: An intelligent parameter adjustment control method based on the coordination of oil well supply and drainage includes the following steps: Quantitatively analyze the surface dynamometer card; Diagnose the working condition of the surface dynamometer card; Analyze the production status of the oil well; Intelligently adjust the parameters of the oil well supply and drainage process.
[0007] Preferably, the process of analyzing the production status of the oil well can be specifically described as: Conduct a quality inspection on the production data of the oil well and judge the zero values and null values therein; After the quality inspection of the oil well production data is qualified, considering the influence of leakage, stroke loss, liquid shrinkage, and filling degree on the pump efficiency, calculate the pump efficiency of the beam pumping well and analyze the energy consumption index.
[0008] Preferably, the process of intelligently adjusting the parameters of the oil well supply and drainage process can be specifically described as: According to the single-well surface liquid production and flowing fluid level values calculated in the process of quantitatively analyzing the surface dynamometer card, and the various technical indicators obtained in the process of analyzing the production status of the oil well, judge the current production working condition of the oil well; If the current production working condition of the oil well is "insufficient liquid supply", then perform the intermittent production optimization operation, otherwise perform the dynamic parameter adjustment optimization analysis operation.
[0009] Preferably, the process of the intermittent production optimization operation can be specifically described as: Analyze the formation liquid supply capacity curve; Set a series of opening / shutting time combinations; calculate the flowing fluid level change range, liquid production, and energy consumption index of the oil well under each opening / shutting time combination; Based on the above calculation results, compare with the current production situation and select the opening / shutting time combination that meets the requirements; According to the principle of off-peak power consumption, select the low electricity price period to open the well for production, and push and output the corresponding production instructions.
[0010] More preferably, the process of the dynamic parameter adjustment and optimization analysis operation can be specifically described as follows: Set a series of adjustable stroke frequencies list, calculate the corresponding surface liquid production volume at each stroke frequency value, and predict the flowing fluid level value at this surface liquid production volume; According to the above stroke frequency, surface liquid production volume, and flowing fluid level value, calculate the various technical indicators at this stroke frequency, and compare them with the various technical indicators corresponding to the current production condition; select and output the various technical indicators corresponding to the stroke frequency that meets the requirements.
[0011] On the other hand, an intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage, in which a main control circuit and a peripheral auxiliary circuit are installed in the oil well intelligent parameter adjustment control terminal; Among them, the main control circuit includes an MCU module, and a DI module, a DO module, an analog output module, and an analog input module respectively connected to the MCU module; The peripheral auxiliary circuit includes a peripheral auxiliary circuit control main board; an asynchronous transceiver module is arranged on the peripheral auxiliary circuit control main board.
[0012] More preferably, the DI module selects the Siemens CP5613 digital input unit equipped with a reverse Schmitt trigger; the DO module selects the shift register three-state output unit 74HC595 equipped with a reverse Schmitt trigger.
[0013] More preferably, the analog output module selects the STM32G030F6P6 processing unit equipped with an analog signal isolation module; the analog input module selects the STM32G030F6P6 processing unit equipped with an analog-to-digital conversion module.
[0014] More preferably, the main control circuit further includes an RTC module, a temperature sensor module, a power supply module, and a WiFi module.
[0015] More preferably, the peripheral auxiliary circuit further includes a 232 module, a 485 module, a zigbee module, a sound module, a USB module, a buzzer, and an HDMI module.
[0016] The present invention provides an intelligent parameter adjustment control method and its control terminal based on the coordination of oil well supply and drainage. Among them, the intelligent parameter adjustment control method includes the following steps: quantitatively analyzing the surface dynamometer card; diagnosing the working conditions of the surface dynamometer card; analyzing the production status of the oil well; and intelligently adjusting the parameters of the oil well supply and drainage process. The intelligent parameter adjustment control terminal includes a main control circuit and a peripheral auxiliary circuit. The main control circuit further includes an MCU module, as well as a DI module, a DO module, an analog output module, an analog input module, etc. that are respectively connected to the MCU module; the peripheral auxiliary circuit further includes a main board for controlling the peripheral auxiliary circuit, and an asynchronous transceiver module is provided on the main board for controlling the peripheral auxiliary circuit. The intelligent parameter adjustment control method with the above step characteristics provides a feasible basis for the technical management of the pumping unit well by optimizing the selection of various technical indicators during the working process of the pumping unit well and comparing and calculating the change rules of production data such as the oil well output before and after parameter adjustment, and further helps to improve the exploitation efficiency of the pumping unit well. The intelligent parameter adjustment control terminal with the above structure has a stable overall design and good electrical performance, giving full play to the advantages of edge computing such as low latency, low cost, high speed, and high availability, and can solidify the intelligent parameter adjustment control experience of the oil well into the terminal equipment, so as to realize the flexible control of oil production parameters, single-well single strategy, and unified management. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] This drawing is used to provide a further understanding of the present invention, and constitutes a part of the specification. It is used to explain the present invention together with the embodiments of the present invention, and does not constitute a limitation to the present invention.
[0018] Figure 1 It is a schematic flow chart of the intelligent parameter adjustment control method based on the coordination of oil well supply and drainage provided by the present invention; Figure 2 It is a schematic flow chart of the process of quantitatively analyzing the surface dynamometer card; Figure 3 It is a schematic diagram of the surface dynamometer card including the theoretical pump opening and closing points and the corrected pump opening and closing points; Figure 4 It is a schematic flow chart of the process of analyzing the production status of the oil well; Figure 5 It is a schematic flow chart of intelligently adjusting the parameters of the oil well supply and drainage process; Figure 6 It is a structural block diagram of the main control circuit in the intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage provided by the present invention; Figure 7 It is a structural block diagram of the peripheral auxiliary circuit in the intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage provided by the present invention; Figure 8 It is a schematic electrical structure diagram of the MCU module selected as RP2040; Figure 9 Schematic diagram of the electrical structure of the main board of Raspberry Pi CM4; Figure 10 Schematic diagram of the electrical structure of the asynchronous transceiver module of model XR21V1414; Figure 11 Schematic diagram of the electrical structure of the digital input unit of model Siemens CP5613; Figure 12 Schematic diagram of the electrical structure of the inverting Schmitt trigger chip of model 74HC14; Figure 13 Schematic diagram of the electrical structure of the shift register tri-state output unit of model 74HC595; Figure 14 Processing unit of model STM32G030F6P6; Figure 15 Schematic diagram of the electrical structure of the analog-to-digital conversion module of model ADS1256IDBR. Specific implementation mode
[0019] The present invention provides an intelligent parameter adjustment control method and its control terminal based on the coordination of oil well supply and drainage. Among them, the intelligent parameter adjustment control method designs an intelligent parameter adjustment model, calculates and optimizes the parameters of various production technical indicators of the oil well under different combinations of well opening time + well shutting time, provides help for the intelligent parameter adjustment work of the oil well, and effectively improves the normal production efficiency of the oil well. The overall design of the intelligent parameter adjustment control terminal is stable, the electrical part has good performance, and it has a variety of expandable modes, which can quickly respond to the fluctuations of oil well production, and provides help for improving the digital management level of oil wells and comprehensively saving energy and reducing consumption.
[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the following further details the present invention in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Embodiment 1
[0021] The present invention provides an intelligent parameter adjustment control method based on the coordination of oil well supply and drainage, as Figure 1 shown, specifically including the following steps: quantitatively analyzing the surface dynamometer card; diagnosing the working condition of the surface dynamometer card; analyzing the production status of the oil well; and intelligently adjusting the parameters of the oil well supply and drainage process.
[0022] Specifically, the following further details each step in the intelligent parameter adjustment control method based on the coordination of oil well supply and drainage provided by the present invention in conjunction with each example and the drawings.
[0023] As a relatively preferred implementation mode of the present invention, first, as Figure 2 shown,Figure 2 A flow schematic diagram of the process for quantitatively analyzing the surface dynamometer card is provided. The process of quantitatively analyzing the surface dynamometer card can be specifically described as follows: Based on the geometric analysis of the surface dynamometer card graph, 4 pump opening and closing points are identified; the numerical value of the effective stroke and the difference in polished rod load of the current surface dynamometer card is calculated; combined with the theoretical displacement of the pump and the formula for analyzing the force on the polished rod of the pumping unit, the surface liquid production volume and the dynamic liquid level value of a single well are calculated.
[0024] Among them, the step of identifying 4 pump opening and closing points based on the geometric analysis of the surface dynamometer card graph can be further specifically described as follows: Collect the real-time data of the oil well from the control terminal; the real-time data of the oil well from the control terminal includes the displacement points and load points corresponding to a stroke cycle one by one. The real-time data of the oil well is converted to form a two-dimensional array of a series of (x, y) scatter points. The 3-point curvature method formula is used to calculate the curvature of each point by looping through the two-dimensional array point by point to form a one-dimensional array.
[0025] For example, the following means can be specifically adopted: First, calculate the lengths of the three sides of the triangle determined by 3 points, and then use the cosine theorem to find an angle; assume this angle is ∠A, and the length of its opposite side is a, then the radius of curvature of this arc is 0.5a / cosA; that is to say, the curvature of this arc is the reciprocal of the radius of curvature.
[0026] Then, calculate the absolute value of each point in the above one-dimensional array, and obtain the maximum value of the point set near each preset point according to the preset points. The maximum value of the one-dimensional array within the range of this point set is obtained from the above point set, which is the theoretical pump opening and closing point.
[0027] Suppose there are a total of 200 points, then the indexes of the preset points can be 15, 100, 185, 199; the range of the preset point set can be 10 points before and after, then the preset point set is 5 - 25, 90 - 110, 175 - 185, 189 - 9; the maximum value of the one-dimensional (curvature) array within the range of this point set is obtained from the above point set, which is the theoretical pump opening and closing point. It should be added that after obtaining the above 4 theoretical pump opening and closing points, the theoretical pump opening and closing points can be further corrected according to manual experience.
[0028] The result of the specific correction can be referred to as: the theoretical pump opening and closing points refer to Figure 3 the four points A, B, C, and D marked in Figure 3 while the pump opening and closing points after manual correction can be referred to as
[0029] On this basis, the effective stroke of the current surface dynamometer card and the numerical value of the difference in polished rod load are further calculated. Specifically, combining the theoretical displacement of the pump and the formula for analyzing the force on the polished rod of the pumping unit, the surface liquid production volume and the dynamic liquid level value of a single well can be calculated.
[0030] Among them, the calculation process can be described as follows: After obtaining the pump opening and closing points according to the above process, the top two effective strokes BC and the bottom effective stroke AD are calculated respectively, and the shorter effective stroke is selected. Combining with the theoretical displacement formula of the pump, the surface liquid production volume is calculated. The theoretical displacement formula of the pump is: 0.25 * 1440 * 3.14 * pump diameter * pump diameter * stroke * stroke frequency.
[0031] Then, after the pump opening and closing points, the load difference between point A in the lower left corner and point C in the upper right corner is calculated and denoted as F. Combining with the formula for the static load of the polished rod, the dynamic liquid level is calculated. The formula for the dynamic liquid level is: load difference / density of the mixture / cross-sectional area of the pump diameter + casing pressure / density of the mixture / cross-sectional area of the pump diameter.
[0032] It should be noted that the above process of quantitatively analyzing the surface dynamometer card is specifically used to calculate the effective stroke of the current surface dynamometer card and the numerical value of the difference in polished rod load, as well as to calculate the surface liquid production volume and the dynamic liquid level value of a single well, so as to provide a data basis for the subsequent surface dynamometer card working condition diagnosis process and oil well production status analysis process.
[0033] Furthermore, as a more preferred embodiment of the present invention, the process of diagnosing the working condition of the surface dynamometer card can be specifically described as follows: Using a pre-trained working condition graphic recognition model, adopting the Tensorflow machine learning algorithm package, and combining the real-time data of the oil well collected by the control terminal, the current production working condition of the oil well is recognized.
[0034] For the convenience of technicians' understanding, an example of the surface dynamometer card working condition diagnosis process is provided below. First, collect the real-time data of the oil well collected by the control terminal, and the real-time data of the oil well includes the displacement point and load point data corresponding to a stroke cycle. After the data is collected, the corresponding data is converted into a two-dimensional array of a series of (x, y) scatter points.
[0035] Then, a matrix with m rows and n columns is defined, and the (x, y) scatter points of the above two-dimensional array are normalized and drawn in this m * n matrix, that is, each scatter point is corresponding to a certain point in the matrix; and the above matrix is converted into a picture, and the places with data points on this picture are filled with black, and the places without data points are filled with white, so as to form a grayscale matrix.
[0036] Then, the TensorFlow machine learning algorithm package (assembling this algorithm package into a CNN convolutional neural network) is adopted, and a pre-trained working condition graph recognition model is imported; the obtained grayscale matrix (graph) is sent into the CNN convolutional neural network formed by the TensorFlow machine learning algorithm package for graph recognition and classification to obtain the recognition and classification serial number; among them, the purpose of this graph recognition and classification is to recognize the current production working condition of the oil well.
[0037] Finally, the classification serial number is corresponded to the working condition type name in the pre-trained working condition graph recognition model to obtain the working condition type name corresponding to the current graph of the current production working condition of the oil well. At this time, after rechecking the working condition type in combination with artificial experience, the final type name result can be output.
[0038] Through the above steps of diagnosing the working condition of the surface dynamometer card, the recognition of the current production working condition of the oil well is realized. Specifically, multiple working condition types such as insufficient liquid supply, gas influence, pump leakage, pump sticking, breakage and disconnection, pumping spray, and normal can be recognized, thereby providing a data basis for the next step of analyzing the production state of the oil well and optimizing intelligent parameter adjustment.
[0039] Furthermore, as Figure 4 shown, the process of analyzing the production state of the oil well can be specifically described as: conducting a quality inspection on the production data of the oil well and judging the zero values and null values among them. Among them, the production data of the oil well specifically includes parameter items such as pump diameter, pump depth, rod string combination, wellbore trajectory, stroke, pumping frequency, oil pressure, and casing pressure, as well as the single-well surface liquid production and flowing fluid level values obtained from the process of quantitatively analyzing the surface dynamometer card.
[0040] After the quality inspection of the production data of the oil well is qualified, the temperature values at each point in the wellbore, the pressure values at each point in the wellbore, and the inflow and outflow dynamic curves of the oil well are calculated respectively, and technical indicators including temperature field, pressure field, liquid production index, and maximum production are output.
[0041] Here, it should be supplemented that the commonly used geothermal gradient calculation formula in the oilfield can be used to calculate the temperature values at each point in the wellbore, the commonly used BeggsBrill multiphase pipe flow formula in the oilfield can be used to calculate the pressure values at each point in the wellbore, and the commonly used Petrobras productivity prediction formula in the oilfield can be used to calculate the inflow and outflow dynamic curves of the oil well.
[0042] According to the relevant formula for calculating the polished rod load of the pumping unit well, combined with the dynamic and static data and pressure results in the production data of the oil well, parameters including the dead weight of the rod string, the buoyant weight of the rod string, frictional load, and inertial load are calculated; and combined with the rod string diameter and allowable stress parameters, technical indicators including rod string stress, and the load, stress, and stress range ratio of each stage of the rod string are calculated.
[0043] According to the above calculation results, considering the impacts of leakage, stroke loss, liquid shrinkage, and filling degree on the pump efficiency, analyze and obtain the composition of the pump efficiency of the pumping well, and output technical indicators including pump efficiency, pump inlet and outlet pressures; and analyze and obtain the energy consumption indicators, and output technical indicators including system efficiency, downhole efficiency, surface efficiency, input power, effective power, and polished rod power.
[0044] It should be noted that through the process of analyzing the production status of the oil well, the production status of the oil well (especially the liquid supply capacity of the oil well and the current working status of the sucker rod pump) is mainly described, and the oil well productivity prediction curve (inflow-outflow dynamic curve) and the working condition check results (composition of pump efficiency, stress state of the rod string, energy consumption indicators, etc.) are output, providing a data basis for the next intelligent parameter adjustment and optimization process.
[0045] Moreover, as a relatively preferred embodiment of the present invention, as Figure 5 shown, the process of intelligent parameter adjustment for the oil well supply and drainage process can be specifically described as: Based on the single-well surface liquid production and dynamic liquid level values calculated during the process of quantitatively analyzing the surface dynamometer card, and the various technical indicators obtained during the process of analyzing the production status of the oil well, judge the current production working condition of the oil well obtained during the process of diagnosing the surface dynamometer card working condition. The specific judgment conclusions can be divided into the following two types: that is, when the current production working condition of the oil well is "insufficient liquid supply", then perform the intermittent production optimization operation, otherwise perform the dynamic parameter adjustment optimization analysis operation. Embodiment Two
[0046] Embodiment Two includes all the technical features of Embodiment One. In addition, Embodiment Two further explains the intermittent production optimization operation and the dynamic parameter adjustment optimization analysis operation proposed during the process of intelligent parameter adjustment for the oil well supply and drainage process as follows.
[0047] It should be emphasized that when the current production working condition of the oil well is identified as "insufficient liquid supply", it is necessary to first perform the intermittent production optimization to make the current production working condition of the oil well return to normal; and then consider performing the dynamic parameter adjustment optimization process. Among them, the results of the dynamic parameter adjustment optimization calculation can be pushed to the front-end technical personnel for them to optimize the best oil well production parameters and other items.
[0048] Specifically, the process of the intermittent production optimization operation can be specifically described as: based on the various technical indicators obtained during the process of analyzing the production status of the oil well, analyze the formation liquid supply capacity curve, and this formation liquid supply capacity curve is also called the liquid level recovery capacity curve.
[0049] Set a series of combinations of well opening / well shutting durations; combine the process of analyzing the production status of the oil well with the above-mentioned formation liquid supply capacity curve, calculate the change range of the dynamic liquid level, the liquid production volume, and the energy consumption index of the oil well under this combination of well opening / well shutting durations, and output the analysis results.
[0050] Based on the output analysis results, compare with the current production situation, select the combination of well opening / well shutting durations that meets the requirements, and according to the principle of peak-shaving power consumption, select the low electricity price period for well opening production, and push and output the corresponding production instructions.
[0051] The process of the dynamic parameter adjustment and optimization analysis operation can be specifically described as follows: set a series of adjustable stroke frequencies list, calculate the corresponding surface liquid production volume under a given stroke frequency value; combine the various technical indicators obtained from the process of analyzing the production status of the oil well to predict the dynamic liquid level value under this surface liquid production volume.
[0052] According to the above-mentioned stroke frequency, surface liquid production volume, and dynamic liquid level value, calculate the various technical indicators under this stroke frequency, and compare with the various technical indicators corresponding to the current production condition, select the various technical indicators corresponding to the stroke frequency that meets the requirements and output them. Embodiment 3
[0053] On the other hand, the present invention also provides an intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage, as Figure 6 or Figure 7 shown. The intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage mainly includes two structural units: a main control circuit and a peripheral auxiliary circuit.
[0054] Among them, the main control circuit further includes an MCU module, and a DI module, a DO module, an analog output module, and an analog input module respectively connected to the MCU module.
[0055] In this example, as Figure 8 shown, a preferred configuration of the MCU module is provided for reference. Specifically, a chip with the model RP2040 is selected. Among them, this RP2040 model MCU module chip has the following many characteristics: this MCU module chip has a dual-core Arm Cortex-M0+@133MHz processing unit, is internally configured with 6 independent RAM blocks, can support up to 16MB of external Flash memory through a dedicated QSPI bus, and 30 GPIO pins, 2×UARTs, 2×SPI controllers, and 2×I2C controllers.
[0056] The peripheral auxiliary circuit further includes a main board for controlling the peripheral auxiliary circuit, on which an asynchronous transceiver module is provided. Similarly, in this embodiment, a preferred configuration of the main board for controlling the peripheral auxiliary circuit and the asynchronous transceiver module is provided for reference. As Figure 9 shown, the main board for controlling the peripheral auxiliary circuit selects the main board with the model of Raspberry Pi CM4. As Figure 10 shown, the asynchronous transceiver module selects the chip with the model of XR21V1414. The USBD+ pin of the XR21V1414 chip of the asynchronous transceiver module is connected to the GPIO2 pin of the Raspberry Pi CM4 main board; the USBD- pin of the XR21V1414 chip of the asynchronous transceiver module is connected to the GPIO3 pin of the Raspberry Pi CM4 main board.
[0057] It should be noted that the main board of Raspberry Pi CM4 is an embedded computing module suitable for the industrial field. It can support multiple storage methods such as eMMC and microSD cards at the same time, and has a wider operating temperature and better wireless performance. The XR21V1414 chip of the asynchronous transceiver module is an enhanced universal asynchronous transceiver, which converts the USB interface into a 4-channel UART interface and supports a 12Mbps USB data transfer rate.
[0058] In addition, as a more preferred implementation manner of the present invention, as Figure 11 shown, the DI module selects the Siemens CP5613 digital input unit with a reverse Schmitt trigger. Among them, the DI module is used to input various switch control signals (after optoelectronic coupling isolation and signal denoising processing). And the reverse Schmitt trigger, as Figure 12 shown, the reverse Schmitt trigger selects the chip with the model of 74HC14.
[0059] And, as a more preferred implementation manner of the present invention, as Figure 13 shown, the DO module selects the shift register three-state output unit 74HC595 with a reverse Schmitt trigger; among them, the DO module outputs the switch control signal (after being calculated and processed by the MCU module). And the reverse Schmitt trigger selects the chip with the model of 74HC14 (the reverse Schmitt trigger is the same as the Figure 11 reverse Schmitt trigger shown, and no redundant description is made here).
[0060] In addition, as a more preferred implementation manner of the present invention, as Figure 14As shown, the preferred configurations of the analog output module and the analog input module are provided for reference. Among them, for the analog output module, the STM32G030F6P6 processing unit with an analog signal isolation module is selected. For the analog signal isolation module, the chip with the model GP8102S is selected. And for the analog input module, the STM32G030F6P6 processing unit with an analog-to-digital conversion module is selected; among them, as Figure 15 shown, for the analog-to-digital conversion module, the chip with the model ADS1256IDBR is selected.
[0061] Finally, as a more preferred embodiment of the present invention, the main control circuit further includes an RTC module, a temperature sensor module, a power supply module, and a WiFi module; the peripheral auxiliary circuit further includes a 232 module, a 485 module, a zigbee module, a sound module, a USB module, a buzzer, and an HDMI module.
[0062] Among them, as a preferred example, the RTC module preferably selects the chip with the model PCF8563. The SDA pin of the RTC module's PCF8563 chip is connected to the GPI24 pin of the RP2040 chip; the SCL pin of the RTC module's PCF8563 chip is connected to the GPI25 pin of the RP2040 chip. And the chip selections of the 232 module, the 485 module, and the zigbee module can be respectively referred to as follows: that is, the 232 module selects the chip with the model RS2253XTSS16; the 485 module selects the chip with the model SP485; the zigbee module selects the chip with the model F8913B.
[0063] The present invention provides an intelligent parameter adjustment control method and its control terminal based on the coordination of oil well supply and drainage. Among them, the intelligent parameter adjustment control method includes the following steps: quantitatively analyzing the surface dynamometer card; diagnosing the working conditions of the surface dynamometer card; analyzing the production status of the oil well; and intelligently adjusting the parameters of the oil well supply and drainage process. The intelligent parameter adjustment control terminal includes a main control circuit and a peripheral auxiliary circuit. The main control circuit further includes an MCU module, as well as a DI module, a DO module, an analog output module, an analog input module, etc. that are respectively connected to the MCU module; the peripheral auxiliary circuit further includes a main board for controlling the peripheral auxiliary circuit, and an asynchronous transceiver module is provided on the main board for controlling the peripheral auxiliary circuit. The intelligent parameter adjustment control method with the above step characteristics provides a feasible basis for the technical management of the pumping well by optimizing the selection of various technical indicators during the working process of the pumping well and comparing and calculating the change rules of production data such as the oil well output before and after parameter adjustment, and further helps to improve the exploitation efficiency of the pumping well. The intelligent parameter adjustment control terminal with the above structure has a stable overall design and good electrical performance, and fully utilizes the advantages of edge computing such as low latency, low cost, high speed, and high availability. It can solidify the intelligent parameter adjustment control experience of the oil well into the terminal equipment, thereby realizing the flexible control of oil production parameters, single-well single strategy, and unified management.
[0064] As described above, the above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. An intelligent parameter adjustment control method based on the coordination of oil well supply and drainage, characterized in that, it includes the following steps: Quantitatively analyze the surface dynamometer card; Diagnose the working conditions of the surface dynamometer card; Analyze the production status of the oil well; Intelligently adjust the parameters of the oil well supply and drainage process.
2. The intelligent parameter adjustment control method based on the coordination of oil well supply and drainage according to claim 1, characterized in that, the process of analyzing the production status of the oil well can be specifically described as: Conduct quality inspection on the production data of the oil well, and judge the zero values and null values therein; After the quality inspection of the oil well production data is qualified, considering the influence of leakage, stroke loss, liquid shrinkage, and filling degree on the pump efficiency, calculate the pump efficiency of the pumping unit well and analyze the energy consumption index.
3. The intelligent parameter adjustment control method based on the coordination of oil well supply and drainage according to claim 1, characterized in that, the process of intelligently adjusting the parameters of the oil well supply and drainage process can be specifically described as: Based on the single-well surface liquid production and the dynamic liquid level values calculated in the process of quantitatively analyzing the surface dynamometer card, and the various technical indicators obtained in the process of analyzing the production status of the oil well, judge the current production conditions of the oil well; If the current production condition of the oil well is "insufficient liquid supply", then perform the optimization operation of intermittent production, otherwise perform the optimization analysis operation of dynamic parameter adjustment.
4. The intelligent parameter adjustment control method based on the coordination of oil well supply and drainage according to claim 3, characterized in that, the process of the optimization operation of intermittent production can be specifically described as: Analyze the formation liquid supply capacity curve; Set a series of combinations of opening / closing well durations; calculate the change range of the dynamic liquid level, liquid production, and energy consumption index of the oil well under each combination of opening / closing well durations; Based on the above calculation results, compare with the current production situation and select the combination of opening / closing well durations that meets the requirements; According to the principle of peak-shaving power consumption, select the low electricity price period to open the well for production, and push and output the corresponding production instructions.
5. The intelligent parameter adjustment control method based on the coordination of oil well supply and drainage according to claim 3, characterized in that, the process of the optimization analysis operation of dynamic parameter adjustment can be specifically described as: Set a series of adjustable stroke frequency lists, calculate the corresponding surface liquid production under each stroke frequency value, and predict the dynamic liquid level value under this surface liquid production; According to the above stroke frequency, surface liquid production, and dynamic liquid level values, calculate the various technical indicators under this stroke frequency, and compare with the various technical indicators corresponding to the current production conditions; select the various technical indicators corresponding to the stroke frequency that meets the requirements and output them.
6. An intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage, characterized in that, a main control circuit and a peripheral auxiliary circuit are installed in the oil well intelligent parameter adjustment control terminal; Among them, the main control circuit includes an MCU module, and a DI module, a DO module, an analog output module, and an analog input module respectively connected to the MCU module; The peripheral auxiliary circuit includes a peripheral auxiliary circuit control main board; an asynchronous transceiver module is arranged on the peripheral auxiliary circuit control main board.
7. The intelligent parameter adjustment control terminal based on the coordination of oil well supply and drainage according to claim 6, characterized in that, The DI module selects a Siemens CP5613 digital input unit equipped with a reverse Schmitt trigger; the DO module selects a displacement buffer tri-state output unit 74HC595 equipped with a reverse Schmitt trigger.
8. An intelligent parameter adjustment control terminal based on oil well supply and drainage coordination according to claim 6, characterized in that the analog output module selects an STM32G030F6P6 processing unit equipped with an analog signal isolation module; the analog input module selects an STM32G030F6P6 processing unit equipped with an analog-to-digital conversion module.
9. An intelligent parameter adjustment control terminal based on oil well supply and drainage coordination according to claim 6, characterized in that the main control circuit further includes an RTC module, a temperature sensor module, a power supply module, and a WiFi module.
10. An intelligent parameter adjustment control terminal based on oil well supply and drainage coordination according to claim 6, characterized in that the peripheral auxiliary circuit further includes a 232 module, a 485 module, a zigbee module, a sound module, a USB module, a buzzer, and an HDMI module.
Citation Information
Patent Citations
Pumping well frequency converting control method based on dynamic control chart and indicator diagram
CN108223343A