Automatic control method and system for oil well site

By using automatic control systems and remote terminal units in the oil well site, receiving working conditions data and automatically identifying and handling faults using the fault processing model, the problem of difficulty in detecting faults in the oil well site is solved, and the working efficiency is improved and security.

CN118972427APending Publication Date: 2024-11-15DAQING ANHUASITE PETROLEUM MASCH EQUIP MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411021102.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Due to the dispersed well distribution in the oil well site, manual inspections are difficult to ensure timeliness and accuracy, resulting in oil well failures that cannot be discovered and dealt with in a timely manner, affecting the working efficiency and safety of the oil well.

Method used

The automatic control method and system of the oil well site are adopted to receive working condition data through the remote terminal unit (RTU), and the faulty well ID is determined using a preset fault processing model, and control instructions are generated to realize automatic control and fault notification of the faulty well. Reduce the need for manual inspection.

Benefits of technology

It realizes timely and accurate discovery and handling of oil well failures, saves manual resources, improves work efficiency and management and supervision capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972427A_ABST
    Figure CN118972427A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic control method and system for an oil well site. The problem that faults of an oil well cannot be found in time in the prior art is solved. The method is suitable for a production management system in an oil well site. The oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU (remote terminal unit), the plurality of oil wells comprise a main well and at least one slave well, and each slave well is suitable for communicating with the main well; the method comprises the following steps: receiving working condition data from each oil well RTU; through a preset fault processing model, according to the received working condition data from each oil well RTU, determining an oil well ID with a fault, and generating a corresponding control instruction; and the generated control instruction is sent to the RTU corresponding to the fault oil well ID, and control processing of the corresponding oil well is achieved. The system can execute the method. The technology can be applied to the field of oil well site control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of oil well site control, and in particular to an oil well site automatic control method and system. Background Art

[0002] At present, in oil well sites, the distribution of oil wells is usually scattered over an area of ​​dozens of kilometers, and most of the single wells are repaired by manual regular inspections and spot checks. This makes the labor intensity of front-line workers very high, and it is difficult to ensure the timeliness and accuracy of maintenance. The working conditions of the oil wells cannot be grasped in time, such as leakage, intermittent oil production, disconnection, etc., resulting in reactive operation or inefficient operation of the oil wells, and failures in the oil wells cannot be discovered and handled in time. Therefore, it is urgent to propose an improved technology to detect oil well site failures in a timely manner. Summary of the invention

[0003] To this end, the present invention provides an oil well site automatic control method and system, in an effort to solve or at least alleviate at least one of the above problems.

[0004] According to one aspect of the present invention, there is provided an automatic control method for an oil well site, which is applicable to a production management system within an oil well site; the oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU (remote terminal unit), the plurality of oil wells include a main well and at least one slave well, each of the at least one slave well is suitable for communicating with the main well; the method comprises: receiving operating data from the RTU of each oil well; determining the ID of the oil well having a fault according to the operating data received from the RTU of each oil well through a preset fault processing model, and generating a corresponding control instruction; sending the generated control instruction to the RTU corresponding to the ID of the oil well having a fault, so as to realize control processing of the corresponding oil well.

[0005] Furthermore, after the step of determining the ID of the oil well where the fault occurs, the method further includes: determining the type of the fault that occurs.

[0006] Furthermore, after the step of determining the ID of the oil well where the fault occurs, the step also includes: generating a fault notification message, and publishing the fault notification message to a predetermined communication range; the fault notification message includes: the ID of the oil well where the fault occurs; or the ID of the oil well where the fault occurs and the corresponding fault type.

[0007] Furthermore, the operating data sent by each oil well RTU includes at least one or more of electrical parameters, temperature parameters and pressure parameters of the oil pump.

[0008] Furthermore, the slave well is also suitable for communicating with other slave wells within a predetermined distance.

[0009] According to another aspect of the present invention, there is also provided an oil well site automatic control system, wherein the oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU, the plurality of oil wells include a main well and at least one slave well, each of the at least one slave well is suitable for communicating with the main well; the oil well site automatic control system comprises a communication control unit and a fault determination unit; the communication control unit is suitable for receiving operating data from each oil well RTU; the fault determination unit is suitable for determining the ID of the oil well where the fault occurs and generating corresponding control instructions according to the operating data received from each oil well RTU through a preset fault processing model; the communication control unit is also suitable for sending the generated control instructions to the RTU corresponding to the ID of the oil well where the fault occurs, so as to realize control processing of the corresponding oil well.

[0010] Furthermore, the fault determination unit is further adapted to: determine the type of the fault that has occurred.

[0011] Furthermore, the communication control unit is also adapted to: generate a fault notification message, and publish the fault notification message to a predetermined communication range; the fault notification message includes: the ID of the oil well where the fault occurs; or the ID of the oil well where the fault occurs and the type of the corresponding fault.

[0012] Furthermore, the operating data sent by each oil well RTU includes at least one or more of electrical parameters, temperature parameters and pressure parameters of the oil pump.

[0013] Furthermore, the slave well is also suitable for communicating with other slave wells within a predetermined distance.

[0014] According to the above-mentioned oil well site automatic control method and system of the present invention, oil well failures can be discovered promptly and accurately and handled in a timely manner without manual inspection, thus saving a lot of manpower, improving work efficiency, and facilitating management and supervision. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.

[0016] Figure 1 is a flow chart showing an exemplary process of an oil well site automatic control method according to an embodiment of the present invention;

[0017] Figure 2Detailed description of the invention is given in detail below. DETAILED DESCRIPTION

[0018] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0019] According to an embodiment of the present invention, there is provided an automatic control method for an oil well site, which is applicable to a production management system within an oil well site; the oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU, the plurality of oil wells include a main well and at least one slave well, each of the at least one slave well is suitable for communicating with the main well; the method comprises: receiving operating data from the RTU of each oil well; determining the ID of the oil well where a fault occurs and generating a corresponding control instruction based on the operating data received from the RTU of each oil well through a preset fault processing model; and sending the generated control instruction to the RTU corresponding to the ID of the oil well where a fault occurs, so as to realize control processing of the corresponding oil well.

[0020] like Figure 1 As shown, an automatic control method of an oil well site of the present invention may include: Figure 1 The processing flow shown.

[0021] According to an embodiment of the present invention, the oil well site automatic control method is applicable to a production management system in an oil well site. The production management system is provided with a control center module, for example, for executing the above method.

[0022] In addition, an oil well site is equipped with multiple oil wells, which are usually dispersed over an area of ​​several tens of kilometers, and each oil well is equipped with a corresponding RTU.

[0023] The multiple oil wells include a main well and at least one slave well. The oil wells are far apart, and each slave well can communicate with the main well, for example, by wireless communication. The production management system can be set up at the main well or in the vicinity of the main well.

[0024] According to the embodiment of the present invention, according to the requirements of oilfield production management, an RTU that meets the corresponding requirements can be configured for the needs of oil well field data collection and remote monitoring as a data collection, data transmission and control unit. For example, RTU has two different configurations and can be used in three different occasions, namely: one is an RTU for a single oil well or water well site - wellhead RTU; the second is an RTU for a multi-well site - well site RTU; the third is an RTU for a metering room - metering room RTU.

[0025] RTU adopts modern embedded computer technology, Internet technology, and wireless communication technology to realize the working condition monitoring and control of field equipment. It has the characteristics of high system integration, strong processing capability, large data storage capacity, strong anti-interference ability, stable and reliable operation, and flexible system configuration mode.

[0026] As a data collection and control unit, RTU can connect different field instruments according to the requirements of the field environment to form a wired or wireless data collection network; it can use different uplink channels such as GPRS and wireless networks to communicate with the management computer.

[0027] In step S110, the operating data from each oil well RTU is received. Then, step S120 is executed.

[0028] For example, the operating data sent by each oil well RTU includes at least one or more of the electrical parameters, temperature parameters and pressure parameters of the pumping unit. For example, it may include one or more of the following data: load, stroke, stroke frequency, oil temperature, oil pressure, casing pressure, back pressure, speed, and power.

[0029] According to an embodiment of the present invention, at each oil well, various types of working condition data measured or collected by high-precision micro-power wireless sensors are sent to the RTU corresponding to the oil well, for example, through wireless transmission within the well site. The RTU uses wireless network transmission methods such as McWiLL, 4G public network, low-power wide area network (LPWAN) or wireless data transmission to send the above working condition data to the production management system, and the production management system performs real-time calculation, real-time diagnosis, real-time optimization, real-time release, real-time control and other control and processing on the oil well. Similarly, the relevant instructions issued by the production management system are transmitted to the RTU at the corresponding oil well through the wireless network to realize remote control and various functions of the oil well.

[0030] According to an embodiment of the present invention, the communication mode is controlled, for example, by a well site intelligent communication gateway, and for example, a master well mode or a slave well mode may be adopted.

[0031] For example, the main well mode can be realized by adding an intelligent communication gateway on the main well side. In the main well mode, the intelligent communication gateway uses self-organizing network, one master and multiple slaves star network, and low-power wireless data transmission technology for internal communication in the well site. The entire data interaction process does not require user software intervention; the host communication mode supports the slaves in the coverage area to actively upload data to the host at any time, and supports up to 64 (the number of slaves can be customized) slaves to upload data to the host at the same time, and the host can receive the data uploaded by each slave separately. In remote transmission communication, wireless networks such as McWiLL, 4G public network, low-power wide area network (LPWAN), wireless data transmission, etc. can be used to transmit data to the production management system.

[0032] For another example, the slave mode can be realized by adding an intelligent communication gateway on the slave side. In the slave mode, each slave actively uploads data to the host at any time within the coverage of the host. Since the host has a 12-level FIFO, the received data will be automatically switched in the 12-level FIFO according to the actual situation. It not only enhances the processing capability of large data packets (512-byte large packets), but also can cache user data that may not be sent successfully in time in the user's 12 packets (these data can be sent through the retransmission mechanism), which protects the user data from being lost to the greatest extent.

[0033] Based on WDLMP (Wireless Data Link Management Protocol), the intelligent communication gateway can provide power on / off status information, online, offline, link status information, and working mode information at any time in master-slave mode; it can provide management functions such as remote control of the intelligent communication gateway, fault reporting, restart and reset, etc.

[0034] According to an embodiment of the present invention, the main well equipment, for example, collects and transmits all data of the slave well RTU equipment. The main well equipment has an operating parameter of 433MHz and 1W. It has a high-stability, industrial-grade module, and cooperates with the intelligent analysis system of the oil pumping unit working condition and the data acquisition and transmission RTU to realize the master-slave well installation mode.

[0035] According to an embodiment of the present invention, for example, three-phase electrical parameters may be collected by an integrated electrical quantity transmitter (three-phase electrical parameter collection controller).

[0036] The above-mentioned three-phase electrical parameter acquisition controller is a well site front-end product developed and produced for digital management of oil fields. It cooperates with the wellhead RTU to synchronously and real-time collect the three-phase electrical parameters of the pumping unit during the power diagram acquisition process, and can be used as a remote start and stop control actuator for the pumping unit. It also has functions such as automatic identification of working status and debugging-free.

[0037] The above three-phase electric parameter acquisition controller adopts wide temperature industrial-grade design, with the characteristics of long life, high reliability, strong anti-interference ability, easy installation and operation, etc. It has the following characteristics: real-time synchronous acquisition of three-phase voltage, current, active power, apparent power and power factor of the oil generator with the power diagram; adopts plug-in installation method; adopts convenient design, no debugging is required on site; compatible with three-phase three-wire system and three-phase four-wire system; automatic phase detection.

[0038] For example, the above-mentioned three-phase electric parameter acquisition controller has an ultra-wide working environment temperature of -40 to +60°C. Its protection level is IP66, and its explosion-proof level is ExiaIICT6 (intrinsically safe explosion-proof). The power supply adopts a built-in low-temperature resistant lithium battery, which does not require wiring. The transmission network adopts wireless remote transmission and supports star-shaped, tree-shaped and other network structures. In addition, the above-mentioned three-phase electric parameter acquisition controller adopts the working mode of on-site acquisition and wireless data transmission. The communication protocol adopts 2.4G wireless communication technology based on international standards, and applies wireless digital communication, force sensitivity, low-power single-chip microcomputer and other technologies to measure the light pole load online. The signal is transmitted wirelessly, completely abandoning the traditional mode of wired analog signal transmission. High reliability and strong anti-interference ability. The above-mentioned three-phase electric parameter acquisition controller is powered by a built-in high-energy battery, the battery voltage is remotely monitored, and a low-power design is adopted. Sleep and event trigger wake-up are automatically switched. While collecting the power diagram according to the set parameters, the real-time alarm function of the upper and lower limits of the load is taken into account. The upper and lower alarm thresholds of the load can be set. The power diagram test fully realizes the automatic timing test without stopping. Each sensor is configured with a unique ID when it leaves the factory. No need to dismantle the suspension rope for installation, which reduces the overall cost, makes the test safe and efficient. It is designed to be used outdoors in industrial environments.

[0039] In addition, according to the embodiment of the present invention, load measurement can be performed by a load displacement sensor (such as a digital wireless load sensor).

[0040] The digital wireless load sensor is a new type of digital sensor product designed for the application of oil beam pumping unit power diagram test. It has high precision, simple installation, convenient maintenance and high reliability. The above load displacement sensor has an ultra-wide working environment temperature of -40 to +60 ° C, a protection level of IP66, an explosion-proof level of ExiaIICT6 (intrinsically safe explosion-proof), a built-in low-temperature resistant lithium battery for power supply, no wiring required, wireless transmission networking, supporting star and tree network structures, working methods such as on-site collection and wireless data transmission, and communication protocols such as 2.4G wireless communication technology based on international standards. The above load displacement sensor uses wireless digital communication, force sensitivity, low-power single-chip microcomputer and other technologies to measure the load of the light rod online. The signal is transmitted wirelessly, completely abandoning the traditional mode of wired analog signal transmission. It has high reliability and strong anti-interference ability. It is powered by a built-in high-energy battery, and the battery voltage is remotely monitored. The above load displacement sensor adopts a low-power design, and automatically switches between sleep and event-triggered wake-up. While collecting the power diagram regularly according to the set parameters, the real-time alarm function of the upper and lower load limits is also taken into account. The upper and lower load alarm thresholds can be set. The power diagram test fully realizes the automatic timing test without stopping. Each sensor is configured with a unique identifier ID when it leaves the factory. There is no need to disassemble the suspension rope for installation, which reduces the overall cost, makes the test safe and efficient. It is designed for outdoor use in industrial environments.

[0041] The load displacement sensor has the following indicators: range: 0-150kN; accuracy: 0.5% FS; industrial environment design: protection level IP66; working environment temperature: -40-+60℃; wireless digital sensor network communication, effective communication distance ≥100m; digital sensor ID, 8 bytes in length, to ensure permanent uniqueness; power supply: built-in 3.6V / 19,000mAh high-energy battery; power consumption: sleep current <15uA, average working current after wake-up <30mA; remote wireless maintenance; suitable for dynamic load measurement of pumping wells with a diameter of less than 40mm. Open design. Anti-drop bolt safety design; weight: 4.6kg.

[0042] According to an embodiment of the present invention, pressure detection can be performed by a wireless pressure transmitter. The above-mentioned wireless pressure transmitter is battery-powered and is a high-precision diffused silicon pressure transmitter with wireless communication function. It uses a high-precision, high-stability diffused silicon sensor component, and converts the pressure of the measured medium into an electrical signal through a high-reliability amplifier circuit and precision temperature compensation, and transmits it to the RTU through a wireless communication module. Exquisite packaging technology and perfect assembly process ensure the excellent quality and optimal performance of the product. The product has stable performance, a variety of specifications are optional, and the interface form is standardized, which can meet customer needs to the greatest extent.

[0043] The above wireless pressure transmitter is battery-powered, does not require on-site wiring, and is easy to use; the ultra-low power consumption design prolongs the battery life; the ZigBee wireless communication protocol is adopted, and the anti-interference and networking capabilities are strong; the metal shell plus the flame-retardant ABS-PC cover ensures both a fully sealed design and smooth wireless communication.

[0044] The above-mentioned wireless pressure transmitter can be used for pressure detection in the field or in places where the supporting power supply environment is inconvenient, such as oil, gas, heating and other energy pipelines. For example, it has the following technical indicators: output form: wireless communication; power supply battery: energy type ER26500 / 3.6V / 9000mAh lithium battery; range: 0-5kPa to 0~32MPa (see selection table); accuracy: ±0.5%F·S; ambient temperature: -40℃~70℃; ambient humidity: 5%~95%; power consumption: sampling instantaneous peak current ≤1mA, sleep current ≤10uA; wireless data transmission and reception peak current ≤30mA; communication frequency band: 2.4GHz; process connection: P1: M20*1.5 external thread, P2: NPT1 / 2 thread PX: user-defined; overload pressure: 2 times full scale; measuring medium: oil, water, gas and other media compatible with 316 stainless steel. In addition, the above-mentioned wireless pressure transmitter has the following performance indicators: accuracy ±0.5% (comprehensive error including nonlinearity, repeatability and hysteresis); range adjustment can be adjusted arbitrarily between the minimum range and the maximum range (see selection table); overpressure effect is less than 0.25% of the output range; temperature affects the maximum range of ±1.5%; stability, ±0.25% of the maximum range / year.

[0045] According to an embodiment of the present invention, temperature measurement can be performed by a wireless temperature transmitter. The wireless temperature transmitter can be used together with a temperature sensor, a weighing sensor and a potentiometer, for example, and is suitable for sensors of different measurement ranges and types, such as various thermal resistors and thermocouples, millivolt or ohm signals.

[0046] In step S120, the ID of the oil well where the fault occurs is determined through a preset fault processing model according to the operating data received from each oil well RTU, and a corresponding control instruction is generated.

[0047] As an example, in step S120, after executing the step of determining the ID of the oil well where the fault occurs, the type of the fault may be determined, and then control instructions corresponding to the "ID of the oil well where the fault occurs" and the "type of the fault" may be generated.

[0048] For example, the collected oil well parameters can be automatically compared with the preset reference parameters. When the difference exceeds the preset threshold, it is determined that a fault or abnormality occurs. At this time, the corresponding oil well can be determined to have a fault, and the type of fault can be determined according to the fault type corresponding to the preset threshold as the result of the rough determination of the fault type. Correspondingly, the ID of the oil well with the fault can be determined, and a control instruction can be generated, for example, shutting down the oil well pumping unit, sending staff to manually intervene, and so on.

[0049] As an example, in step S120, after the step of determining the ID of the oil well where the fault occurs, for example, the method may further include: generating a fault notification message, and publishing the fault notification message to a predetermined communication range.

[0050] In one example, the fault notification message may include the "well ID where the fault occurred".

[0051] In another example, the fault notification message may include "ID of the oil well where the fault occurred" and "type of the corresponding fault".

[0052] Next, in step S130, the generated control instruction is sent to the RTU corresponding to the ID of the oil well where the fault occurs, so as to implement control processing on the corresponding oil well.

[0053] As an example, each slave well may also communicate with other slave wells within a predetermined distance.

[0054] As an example, the fault determination unit is further adapted to determine the type of the fault that occurred.

[0055] According to the embodiment of the present invention, RTU can, for example, synchronously collect and report the three-phase voltage, current, active power, apparent power and power factor of the corresponding oil well pump in real time, and has the function of electric energy statistics and analysis. In cooperation with oil pressure, casing pressure and load displacement sensors, it can realize the synchronous real-time collection of electric parameters, oil pressure, casing pressure and load displacement, and realize data storage and reporting. It can dynamically calculate the upper current, lower current, balance rate, number of strokes and the time to complete an operation cycle through the collection of electric energy parameters; it can be compatible with three-phase three-wire system and three-phase four-wire system, automatic phase detection and various power supply status analysis (overvoltage, undervoltage, overcurrent, phase loss, etc.). In addition, it can be built-in with artificial intelligence analysis technology, and realize real-time fault diagnosis through modeling, such as broken rod, unbalanced balance block, broken belt and other faults; it has the latest Internet of Things communication technology built-in, adopts unauthorized frequency resources (170M, 433M), and can be networked flexibly and autonomously without spending communication fees. For example, it has three working modes (full well mode, single well mode, round inspection mode) that can be switched freely to meet various management functions of users. It has an intelligent well inspection function, which can be realized by using the well inspection button. In addition, it is equipped with an intelligent operating status indicator light, which is divided into three light indications according to the operating status: normal operation, green light; fault, yellow light; well stop, red light; it is especially suitable for quickly locating the well position during nighttime well inspection.

[0056] According to an embodiment of the present invention, for example, a hybrid neural network model may be used for fault identification. The hybrid neural network model includes a two-level model, wherein the first-level model is, for example, a BP neural network model, and the second-level model is, for example, a convolutional neural network model.

[0057] For the first-level model, for example, the electrical parameters of the dynamometer diagram can be used as input parameters for training, and the labels of the training data include four types of faults, such as fixed valve leakage fault, insufficient fluid supply, ball valve fault, and air pipe damage.

[0058] As an example, the dynamometer diagram electrical parameter may be, for example, an area-to-perimeter ratio, a standard deviation of partial upstroke data, and / or a ratio of data before and after the upstroke line.

[0059] It is worth noting that in an embodiment of the present invention, in the training stage of the first-level model, in addition to the above-mentioned four fault types, training data of normal working conditions can also be included, that is, in the training stage, there are five recognition results, including five types of training data.

[0060] For the first-level model, the activation function is expressed as follows:

[0061]

[0062] Where x is the input value.

[0063] In this way, after obtaining the trained first-level model, in practical applications, the actually obtained dynamometer diagram electrical parameters (parameters corresponding to the training stage) are input into the trained first-level model to determine whether the above-mentioned fault type occurs.

[0064] For the second-level model, for example, the waveform features of the dynamic liquid level waveform diagram can be used as input parameters for training. The dynamic liquid level waveform diagram can be obtained through the static load indicator diagram. For the second-level model, the labels of the training data include four types of faults, such as fixed valve leakage failure, insufficient liquid supply, ball valve failure, and air pipe damage. It is worth noting that in an embodiment of the present invention, in addition to the above four types of faults, in the training stage of the second-level model, training data of normal working conditions can also be included, that is, in the training stage, there are 5 recognition results, including 5 types of training data.

[0065] For the second-level model, the activation function uses the ReLU function, which has a good effect on the gradient disappearance and overfitting problems.

[0066] In this way, after obtaining the trained second-level model, in practical applications, the waveform characteristics of the dynamic liquid level waveform diagram actually obtained (parameters corresponding to the training stage) are input into the trained second-level model to determine whether the above-mentioned fault type occurs.

[0067] According to other embodiments of the present invention, for the second-level model, for example, the electrical parameters of the dynamometer diagram and the waveform characteristics of the dynamic liquid level waveform diagram can be used as input parameters of the second-level model for training to identify the above-mentioned four second fault types and normal working conditions.

[0068] In an embodiment of the present invention, during the training phase, if the fault identification result output by the second-level model is more consistent with the fault identification result output by the first-level model, the smaller the loss function is, the better the robustness of the model is; conversely, if the fault identification result output by the second-level model is less consistent with the fault identification result output by the first-level model, the larger the loss function is, the worse the robustness of the model is. The model is trained by minimizing the loss function, and the loss function can use a polynomial kernel loss function.

[0069] In addition, an embodiment of the present invention further provides an oil well site automatic control system, wherein the oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU, the plurality of oil wells include a main well and at least one slave well, each of the at least one slave well is suitable for communicating with the main well; Figure 2As shown, the oil well site automatic control system includes a communication control unit 210 and a fault determination unit 220; the communication control unit 210 is suitable for receiving operating data from each oil well RTU; the fault determination unit 220 is suitable for determining the ID of the oil well where the fault occurs and generating corresponding control instructions based on the operating data received from each oil well RTU through a preset fault processing model; the communication control unit 210 is also suitable for sending the generated control instructions to the RTU corresponding to the ID of the oil well where the fault occurs, so as to realize control processing of the corresponding oil well.

[0070] As an example, the communication control unit is further adapted to: generate a fault notification message, and publish the fault notification message to a predetermined communication range; the fault notification message includes: the ID of the oil well where the fault occurs; or the ID of the oil well where the fault occurs and the type of the corresponding fault.

[0071] As an example, the operating data sent by each oil well RTU includes at least one or more of the electrical parameters, temperature parameters and pressure parameters of the pumping unit. For example, it includes one or more of the following data: load, stroke, stroke frequency, oil temperature, oil pressure, casing pressure, back pressure, speed, and power.

[0072] As an example, the slave well is also adapted to communicate with other slave wells within a predetermined distance.

[0073] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0074] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.

[0075] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.

[0076] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0077] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0078] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.

[0079] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is primarily selected for readability and instructional purposes, rather than for explaining or limiting the subject matter of the present invention.

Claims

1. An automatic control method for an oil well site, applicable to a production management system within an oil well site; The oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU, the plurality of oil wells include a main well and at least one slave well, each of the at least one slave well is suitable for communicating with the main well; It is characterized in that The method comprises: Receive operating data from each oil well RTU; Through the preset fault processing model, according to the working condition data received from each oil well RTU, the ID of the oil well where the fault occurs is determined, and the corresponding control instructions are generated; The generated control instruction is sent to the RTU corresponding to the ID of the oil well where the fault occurs, so as to realize the control processing of the corresponding oil well.

2. The oil well site automatic control method according to claim 1, characterized in that: After the step of determining the ID of the oil well where the failure occurs, the method further includes: Determine the type of failure that occurred.

3. The oil well site automatic control method according to claim 1 or 2, characterized in that: After the step of determining the ID of the oil well where the failure occurs, the method further includes: Generate a fault notification message, and publish the fault notification message to a predetermined communication range; The fault notification message includes: The ID of the well where the failure occurred; or The ID of the well where the fault occurred and the corresponding fault type.

4. The oil well site automatic control method according to claim 1 or 2, characterized in that: The operating data sent by each oil well RTU includes at least one or more of the electrical parameters, temperature parameters and pressure parameters of the pumping unit.

5. The oil well site automatic control method according to claim 1 or 2, characterized in that: The slave well is also suitable for communicating with other slave wells within a predetermined distance.

6. An automatic control system for an oil well site, wherein: The oil well site is provided with a plurality of oil wells, each oil well is provided with a corresponding RTU, the plurality of oil wells include a main well and at least one slave well, each of the at least one slave well is suitable for communicating with the main well; Characterized in that the oil well site automatic control system includes a communication control unit and a fault determination unit; The communication control unit is adapted to receive operating data from each oil well RTU; The fault determination unit is adapted to determine the ID of the oil well where the fault occurs and generate corresponding control instructions according to the working condition data received from each oil well RTU through a preset fault processing model; The communication control unit is also adapted to send the generated control instruction to the RTU corresponding to the ID of the oil well where the fault occurs, so as to realize control processing of the corresponding oil well.

7. The oil well site automatic control system according to claim 6, characterized in that: The fault determination unit is further adapted to: Determine the type of failure that occurred.

8. The oil well site automatic control system according to claim 6 or 7, characterized in that: The communication control unit is further adapted to: Generate a fault notification message, and publish the fault notification message to a predetermined communication range; The fault notification message includes: The ID of the well where the failure occurred; or The ID of the well where the fault occurred and the corresponding fault type.

9. The oil well site automatic control system according to claim 6 or 7, characterized in that: The operating data sent by each oil well RTU includes at least one or more of the electrical parameters, temperature parameters and pressure parameters of the pumping unit.

10. The oil well site automatic control system according to claim 6 or 7, characterized in that: The slave well is also suitable for communicating with other slave wells within a predetermined distance.