Automated oil production optimization system and method using artificial intelligence

The SIP addresses pressure control issues in oil wells by using AI to automate and optimize well operations, improving pump efficiency and reducing wear, thereby enhancing production and extending equipment life.

WO2026241741A1PCT designated stage Publication Date: 2026-11-19OLEUM TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2026/028588
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2026-05-15
Filing Date
2026-05-18
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Inadequate pressure control in oil wells leads to well instability, accelerated equipment wear, and reduced efficiency of Electric Submersible Pumps (ESPs, particularly in complex and unconventional reservoirs like fractured formations.

Method used

The System of Integrated Production (SIP) uses AI to automate pressure and flow management, combining specialized hardware and software with actuators and sensors to dynamically adjust well conditions, optimizing pump efficiency and minimizing operational risks through real-time data analysis and adaptive control.

Benefits of technology

The SIP enhances pump performance, reduces wear, and increases oil production by stabilizing gas behavior, extending pump life and reducing operational hours, while maintaining well integrity and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2026028588_19112026_PF_FP_ABST
    Figure US2026028588_19112026_PF_FP_ABST
Patent Text Reader

Abstract

A system for controlling oil production at a well having production tubing, an annulus defined between the production tubing and a casing includes an annular valve for controlling backpressure in the annulus, a first valve actuator for throttling the annular valve, a first pressure sensor for measuring pressure in the annulus, a production tubing valve for controlling production flow, a second valve actuator for throttling the production tubing valve, a second pressure sensor for measuring pressure in the production tubing, and a processor receiving a first pressure signal from the first pressure sensor and a second pressure signal from the second pressure sensor, and concurrently controlling the first actuator and the second actuator based on the first pressure signal and the second pressure signal.
Need to check novelty before this filing date? Find Prior Art

Description

Attorney Docket No.: 151290-0008PCAUTOMATED OIL PRODUCTION OPTIMIZATION SYSTEM AND METHOD USING ARTIFICIAL INTELLIGENCECROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to Provisional Application No. 63 / 807,089 filed May 16, 2025, and which is incorporated herein by reference in its entirety.FIELD OF THE DISCLOSURE

[0002] This disclosure concerns methods and production optimization systems for achieving a desired balance between oil production rate and pump efficiency to maximize profitability.BACKGROUND OF DISCLOSURE

[0003] Pressure management in oil wells is one of the most critical factors influencing both production and operational integrity. Inadequate pressure control can lead to well instability, accelerated equipment wear, and significant reductions in the efficiency of Electric Submersible Pumps (ESPs).

[0004] Modern oil wells are increasingly complex, especially in unconventional reservoirs such as fractured formations, where the challenge of managing gasification in the annular space becomes even more pronounced.

[0005] An advanced and intelligent approach is required to effectively address these challenges.Attorney Docket No.: 151290-0008PCSUMMARY OF THE DISCLOSURE

[0006] The System of Integrated Production (SIP) with Artificial Intelligence (Al) is a solution that combines specialized hardware, advanced software, and Al algorithms to enhance the operation of oil wells.

[0007] This approach not only automates pressure and flow management but also dynamically adapts to changing well conditions to maximize efficiency and minimize operational risks.

[0008] The system includes at least a first throttle valve (production tubing valve) for controlling back pressure and flow of oil through production tubing at a wellhead, a second throttle valve (annular valve) for controlling back pressure and flow of gas at the wellhead from an annulus defined between a well casing and the production tubing; a first actuator for adjusting the throttle position of the production tubing valve, a second actuator for adjusting the throttle position of the annular valve; a first pressure sensor for measuring pressure in the production tubing at the wellhead and generating a first pressure signal; a second pressure sensor for measuring pressure in the annulus at the wellhead and generating a second pressure signal; and a processor receiving and processing the first and second pressure signals to generate control signals to operate the actuators based on the first pressure signal and the second pressure signal.

[0009] In certain aspects of the disclosure, the entire system, including valves, regulators, sensors, and processor, are all located above ground at the wellhead.

[0010] In certain aspects of the disclosure, the well is provided with a submersible pump.

[0011] In certain aspects of the disclosure, the system can further comprise sensors for evaluating pump parameters. Such parameters may include one or more of the following: pump intake pressure (PIP), pump motor temperature, pump speed (e.g., motor rotor revolutions per second, Hz), pump outlet pressure or pump differential pressure (the difference between PIP and pump outlet pressure (PD)), and motor amperage. The processor can be further configured to process pump parameters, in addition to the first and second pressure signals, to generate controlAttorney Docket No.: 151290-0008PC signals for automatically controlling operation of the submersible pump (e.g., regulating the speed of the pump motor), in conjunction with annular valve and production tubing valve regulation.BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a schematic illustration of an oil well employing a production optimization system in accordance with this disclosure.

[0013] Figure 2 shows production tubing at a wellhead employing the disclosed production optimization system.

[0014] Figure 3 is a flow diagram illustrating process control of the system.DETAILED DESCRIPTION

[0015] The application of the System of Integrated Production (SIP) encompasses all wells that operate with artificial lift systems, such as mechanical pumping, progressive cavity pumps, or electric submersed pumps (ESPs), where the production tubing and casing have good physical integrity. Wells should either lack a packer or have an open sleeve. It is worth noting that the system can be installed in vertical, inclined, or horizontal wells, whether conventional or unconventional.

[0016] The disclosed oil production optimization systems can be most advantageously employed on wells exhibiting Free Gas in the Annular Space > 10,000 ft³ / day, Pump Submersion Depth > 300 ft, and API Gravity of Extracted Oil > 10 °API.

[0017] The presence of less gas often only means that more time is needed to calibrate the SIP annular backpressure valve. The SIP can still be installed. It is possible to have a lower level in mechanical pumps if the level is very stable or monitored with sensors. Additionally, it is possible to have an API gravity of less than 10 if the well has sufficient gas.Attorney Docket No.: 151290-0008PC

[0018] The mechanical completion of wells is a critical phase in oil production, encompassing the installation and configuration of equipment that facilitates the controlled flow of hydrocarbons from the reservoir to the surface.

[0019] This process aims to ensure an optimal design that maximizes extraction, minimizes operational risks and extends the lifespan of the systems. Downhole sensors can collect data such as pressure and temperature, parameters that, when analyzed, allow precise adjustments to improve equipment efficiency, particularly in pumping systems like Electric Submersible Pumps (ESP). These data are useful for preventing unexpected interruptions and ensuring continuous and stable system operation.

[0020] Additionally, historical production records (e.g., for a preceding period of about six months) can provide broad perspective on well behavior, offering trends that help identify opportunities for improvement and optimization in production rates. This analysis, complemented by acoustic logs obtained with echo meters (e.g., over a period of about 90 days) is useful for effective well management.

[0021] Echo meters, through acoustic measurements, precisely determine the depth of fluid levels, key information for adjusting pump operations and preventing issues such as free gas formation in the system, which can impact overall performance. Moreover, several operational parameters are continuously monitored to ensure operational stability and safety. Among them, the pump differential pressure (PD), which measures the difference between inlet and outlet pressure, is useful for assessing the hydraulic performance of the equipment and detecting potential blockages or wear.

[0022] Additionally, the pump intake pressure (PIP) indicates the conditions of fluid entry into the system, and the motor temperature can be monitored to prevent overheating that could compromise equipment integrity.

[0023] Motor amperage can be monitored as a direct indication of the electrical load applied to the system. Unexpected changes in this value can indicate equipment issues, such as insulationAttorney Docket No.: 151290-0008PC failures or mechanical wear, highlighting the importance of continuous monitoring. Together, these parameters enable optimized operations and proactive production management. The integration of these measurements with real-time analysis helps anticipate potential problems, reduce operational costs, and maximize efficiency, thereby ensuring the success of oil well operations.OPERATION AND MODELING OF THE SIP

[0024] The oil and gas industry has consistently employed increasingly advanced technologies to enhance production. Generally, efforts have been divided between the use of sophisticated geosciences (geophysics, petrophysics, geomechanics, etc.) and pragmatic engineering improvements based on data and analysis.

[0025] Our approach originates from the pragmatic engineering side but is deeply rooted in reservoir and fluid sciences, while also incorporating a digital dimension. We leverage real-time Al technology within a closed-loop feedback system to monitor gas behavior resulting from pressure changes.

[0026] The Al system learns the unique characteristics of each well and manages both gas pressure and the balance among data points to maximize production. This Al capability makes the annular backpressure system of the SIP very effective and widely applicable.

[0027] Behind this balance lies a series of physical principles, the impact of which on productivity varies depending on reservoir characteristics, oil API, pump type, and the presence or absence of gasification issues, among other factors.

[0028] The system operates under diverse well conditions and scientific principles underlying it. Specifically, it may seem counterintuitive to increase production by raising bottomhole pressure. Yet, both science and proven results support our unique approach, unmatched elsewhere in the industry. A maj or contributor to our technology is the pressure increase caused by the valve located in the SIP unit, which controls gas pressure in the annular space.Attorney Docket No.: 151290-0008PC

[0029] The controlled modification of annular and production tubing pressure conditions establishes a new operating regime for the well, allowing the system to evaluate and recommend optimized pump speed and valve settings based on modified flow and pressure dynamics.

[0030] For oil wells equipped with a backpressure valve on the production line, which is common among medium and high API oil wells, the SIP also recommends the optimal new setting for that valve.

[0031] At the system’s most fundamental level, controlled adjustment of annular pressure modifies the pressure distribution within the wellbore and influences gas behavior, multiphase flow dynamics, and pump intake conditions. The system is configured to apply annular backpressure within operational limits so as to reduce unstable free-gas behavior, force relatively more gas to stay in solution with the moving oil and water, improve pump fill efficiency, and support more stable production without obstructing reservoir inflow.

[0032] The free gas is compressed into the solution up to the pump. This reduces gas bubbles in the pump, significantly improving pump fill efficiency - particularly in cases where gasification is a problem. In pumps that shut down due to gas locking, the reduction of free gas releases the pump and dramatically improves run time.

[0033] Consequently, pump efficiency improves through either of these effects, leading to even greater oil production.

[0034] In wells with a backpressure valve on the production line, the additional pressure above the pump requested by the SIP, combined with the increased intake pressure below the pump caused by the SIP’s annular valve, creates a "sandwich" effect. This compresses and breaks down any remaining gas in the pump. This compression is especially useful in light oils, often accompanied by higher free gas content, and in unconventional wells. These wells frequently experience harmful gas surges that lock pumps multiple times a day.Attorney Docket No.: 151290-0008PC

[0035] In all these scenarios, the stabilization of the pump achieved by the SIP not only enhances pump performance and oil production but also reduces harmful wear on the pump. This latter effect extends the pump's service life and decreases the working hours required from field personnel, delivering additional economic benefits.

[0036] The coordination between the annular backpressure valve, pump speed, and the backpressure valve on the production line is what defines the SIP as an "integrated” production system. However, it is the automated annular valve that overwhelmingly drives production increases in most wells.

[0037] The SIP operates seamlessly even in wells without a backpressure valve on the production line. The added flexibility to adjust bottomhole pressure relative to the many other data points and pressure flows within the well enables the SIP to optimize production solely by manipulating bottomhole pressure settings. The entire operation is conducted from the surface, with no need to install equipment downhole.

[0038] The disclosed oil production optimization systems are modeled using neural networks, which are capable of identifying and modeling cause-effect relationships among variables based on historical data. Essentially, they transform a series of input data into corresponding outputs, forming a mathematical model.

[0039] At any one time, the disclosed system may employ one or more artificial intelligence, machine learning, predictive, statistical, or adaptive-control models configured to analyze well operating conditions and dynamically optimize annular pressure, production tubing pressure, pump operating parameters, and flow behavior based on historical and real-time operational data.

[0040] Input Layer (Ni): Sensor data is introduced into the network at this stage. Inputs are scaled to ensure all variables contribute equally, standardizing the range of data.Attorney Docket No.: 151290-0008PC

[0041] Hidden Layer (Nh): Scaled input data is processed through the hidden layer via a series of mathematical connections. The hidden layer contains Nh nodes, where nonlinear transformations are applied to identify complex patterns.

[0042] Output Layer: The network's output layer translates the processed data into actionable results, such as real-time adjustments for pressure, valve control, or other system optimizations.

[0043] This neural network-based model, combined with our unique dataset and scaling techniques, enables the SIP system to dynamically adjust and optimize well operations, improving production efficiency and adaptability to changing conditions.

[0044] In each hidden neuron, the input data received from external sources are summed and processed through a weighting function. The outputs of the hidden neurons are subsequently weighted and summed in the output neurons (No).

[0045] Uncertainty is managed by calculating the sum of squared errors (SSE) for each data point. For each vector corresponding to a specific moment in the process, the network response is evaluated against the actual output, and the squared error is computed:SSE = SUM ( y_actual - y_predicted )²

[0047] This ensures the network adjusts its weights to minimize errors during training, improving accuracy and robustness.DATA NORMALIZATION

[0048] The input data are normalized to values within the range [0.1, 0.9] to prevent the saturation of nonlinear activation functions. This ensures that neuron activations remain within their optimal dynamic range, avoiding gradient vanishing issues and improving network stability. Normalized inputs accelerate convergence during training by promoting balanced weight updates, which reduces training time and improves efficiency.Attorney Docket No.: 151290-0008PC

[0049] Normalization minimizes anomalies caused by outliers or extreme values, ensuring that the model remains robust even when handling diverse datasets. The process facilitates crossdataset operations, ensuring consistent performance regardless of input data variations.

[0050] By maintaining consistency in the data range, normalization supports accurate learning and better generalization. It ensures that all input variables contribute equally to the training process, avoiding dominance by any single feature due to scale differences. Ultimately, normalization guarantees a reliable, efficient, and highly adaptable model.ADDITIONAL FACTORS TO HIGHLIGHT IN SIP TECHNOLOGY

[0051] Resilience to Asphaltenes and Paraffins: The application of SIP technology is not affected by the presence of asphaltenes or paraffins in the well. This is because SIP operates directly on gas control within the annular space, not on fluids. If fluids other than gas enter the annular space, SIP is unaffected, as its design includes a check valve that prevents fluid backflow into the well, directing them instead to the production line.

[0052] Compatibility with Fractured Wells: SIP poses no issues for fractured wells containing proppants or fracture sand. The controlled opening and closing of the valve prevent excessive sand influx into the well, ensuring smooth operation and protecting the production infrastructure.

[0053] Handling Solids in the Well: Solids such as sand, paraffins, asphaltenes, or chemicals entering the well do not disrupt SIP operations. These materials either settle at the bottom of the well due to gravity or are absorbed by the pump, leaving SIP unaffected and maintaining its operational reliability.

[0054] The system is a combination of physical devices designed to collect data and take actions on the system:

[0055] Pressure and Flow Sensors: Strategically located in the well to capture real-time data on its operational status.Attorney Docket No.: 151290-0008PC

[0056] Programmable Logic Controllers (PLC): Devices that execute local control commands based on decisions generated by Al.

[0057] Actuators and Valves: Control the flow of fluids and manage free gas in the annular space, dynamically adjusting based on sensor-provided data.

[0058] Gas Meters: Detect and quantify the presence of free gas, preventing issues such as gas slugs that could damage equipment or affect stability of the well.

[0059] Cloud Platform: Field data is transmitted to the cloud, where it is processed using Al algorithms for analysis and decision-making.

[0060] Human-Machine Interface (HMI): Enables operators to remotely monitor and configure system parameters.

[0061] Real-Time Data Management: Historical and real-time data are stored and analyzed to identify patterns, trends, and critical events.

[0062] This integrated hardware and software configuration ensures optimized well operation, efficient data processing, and proactive management of potential risks.

[0063] Artificial Intelligence (Al) transforms the Sistema Integral de Production (SIP) into a truly intelligent and autonomous system. By leveraging Al, the SIP optimizes operations, predicts potential issues, and dynamically adapts to varying conditions. Al functions include:PREDICTIVE ANALYSIS

[0064] Identifies unusual pressure fluctuations or operational risks in advance, preventing failures by generating alerts and suggesting corrective actions.Attorney Docket No.: 151290-0008PCPHYSICAL MODELS

[0065] Multiphase flow equations to predict the behavior of gas, liquid, and solids.

[0066] Cavitation and gasification models in Electric Submersible Pumps (ESPs).MACHINE LEARNING (ML)

[0067] Supervised Training: Uses historical production data to train algorithms that predict annular pressure and optimal pump speed.

[0068] Dynamic Simulators: Simulates various combinations of pressure and speed under controlled conditions before applying them in real wells.MATHEMATICAL OPTIMIZATION

[0069] Employs Linear or Nonlinear Programming algorithms to calculate the optimal combination of annular pressure and ESP speed.AUTONOMOUS CONTROL

[0070] Artificial neural networks, trained with historical data, adjust pressure and flow in real time. They also make dynamic decisions to handle free gas and stabilize production flow, achieved through:

[0071] Automatic Feedback Cycle:

[0072] Measures critical variables (pressure, flow, torque).

[0073] Compares with calculated optimal values.

[0074] Generates recommendations or applies automatic adjustments.

[0075] Operator DashboardAttorney Docket No.: 151290-0008PC

[0076] A visual interface where operators can view:

[0077] Suggested annular pressure.

[0078] Optimal ESP speed.

[0079] Justification based on current well conditions.

[0080] Production Optimization: Maximizes efficiency by reducing unnecessary pumping cycles and dynamically adjusting operational parameters to minimize equipment wear.

[0081] Adaptive Learning: The system continuously learns from changing well conditions, enhancing its ability to address new challenges.

[0082] Free Gas Management: Detects increases in free gas concentration in the annular space and automatically adjusts valves to prevent gas slugs, stabilizing production.

[0083] Pressure Fluctuations: Al calculates the optimal adjustments in valves and pump operations to rebalance the system in case of sudden pressure changes.

[0084] Extreme Conditions: In risk scenarios, such as flow loss or structural instability, the system activates emergency modes to protect equipment and minimize production impact.DEEP REINFORCEMENT LEARNING (DRL)

[0085] Deep Reinforcement Learning (DRL) combines machine learning techniques with control strategies to autonomously manage complex well operations. By training models with real and simulated data, DRL optimizes decision-making processes in dynamic and uncertain environments.

[0086] Steps in DRL ImplementationAttorney Docket No.: 151290-0008PCDATA CAPTURE

[0087] Historical Data: Sourced from SCADA systems, production databases, and operational reports.

[0088] Real-Time Data: Collected via IoT sensors installed in critical components of the well:

[0089] Tubing: Pressure, flow.

[0090] Annular: Vibrations, temperature.

[0091] Motor: Current, voltage.

[0092] Variable Description Frequency

[0093] X₁ (Pressure Tubing) Pressure in the tubing 1 minute

[0094] X2 (Annular Pressure) Pressure in the annular space 1 minute

[0095] X3 (Gas Flow Rate) Gas flow rate 1 minute

[0096] X4 (Actuator Position) Actuator position 1 minute

[0097] X₅-X₁₀ Current, voltage, vibrations 5 minutes

[0098] Data Pipeline: The system may use a real-time or near-real-time data transmission and processing framework configured to receive, validate, store, and process well data for immediate analysis, control, and decision support.

[0099] Preprocessing: Cleanses, transforms, and validates incoming data.Al MODELS

[0100] Recurrent Neural Networks (RNNs): Models sequential data to predict pressure and flow behavior.Attorney Docket No.: 151290-0008PC

[0101] Long Short-Term Memory (LSTM): Handles long-term dependencies in time-series data.

[0102] Reinforcement Learning Algorithms: Trained with TensorFlow and PyTorch, RL agents simulate scenarios to optimize well operations.

[0103] Dynamic Simulation: Simulates well operations under different conditions, testing DRL-driven strategies before deployment.

[0104] Adaptive Control Loop: The DRL agent generates actions based on current data:

[0105] Adjusts valve positions.

[0106] Modifies annular pressure.

[0107] Optimizes ESP speed.

[0108] Continuously evaluates outcomes to improve future decisions.

[0109] Alert Generation and Recommendations: The system detects anomalies and suggests corrective actions in real time.LEARNING ARCHITECTURE

[0110] The SIP learning architecture can integrate Al components to continuously optimize operations and adapt to dynamic conditions in the well. Key features include:DATA PROCESSING FRAMEWORK

[0111] Historical Data Analysis: Extracts patterns from prior operations to inform predictive models.

[0112] Real-Time Data Integration: Combines sensor data with predictive insights for immediate adjustments.Attorney Docket No.: 151290-0008PC

[0113] Predictive Modeling: Uses ARIMA and Prophet models for time-series analysis.

[0114] Predicts critical behaviors such as sudden pressure surges or equipment stress.

[0115] Continuous Learning System: Reinforcement learning agents adapt to:

[0116] Free gas fluctuations.

[0117] Equipment wear and tear.

[0118] Environmental changes.

[0119] This approach enables the SIP to operate as a fully autonomous, intelligent system, capable of addressing complex challenges in oil well management while maximizing efficiency and minimizing risks.TUBING VALVE

[0120] It is innovative technology designed to manage and optimize multiphase flow (water, oil, and gas) within the production tubing, mitigating gasification in the tubing line through advanced algorithms and sensors. This system addresses common issues in Electric Submersible Pumps (ESPs) and rod pumps, such as gas lock and flow fluctuations.

[0121] Combining precision sensors, dynamic actuators, and robust mathematical models, it delivers an efficient, safe, and autonomous approach to managing multiphase flows within the tubing. Its ability to adapt in real-time and dynamically respond to changing well conditions makes it highly advantageous for modern oil and gas production.EXEMPLARY SYSTEM COMPONENTS

[0122] Pressure Sensor: Continuously measures the pressure within the tubing to dynamically adjust flow conditions.Attorney Docket No.: 151290-0008PC

[0123] Temperature Sensor: Monitors thermal changes that affect fluid properties and flow dynamics.

[0124] Ultrasonic Flow Meter: Accurately measures multiphase flow rates without physical intrusion.

[0125] Actuator: Mechanically adjusts back-pressure and reducing valves to automatically regulate flow.

[0126] Back-Pressure Valve: Applies resistance to the flow to control production and prevent water or sand intrusion.

[0127] Reducing Valve: Manages localized pressure drops to stabilize the system.

[0128] Pi= 2.t(SMYS)fcp / D

[0129] Fcp= Fdis Ftemp FjlOPERATION MAXIMUM PRESSURE

[0130] PMO = 2. Fc. Fs. Ft. omc. t / DFLUID MANAGEMENT IN TUBING

[0131] Fluid ManagementAttorney Docket No.: 151290-0008PCGas Volume CalculationQ.. AF. ZF^as 60, -•■;■“ - ■-■■^tpros.diTubing Diameter CalculationHU ER1CAL C0R TI01Standing

[0132] Attorney Docket No.: 151290-0008PCBeggs s RobinsonVolumetric Flowrates CalculationsAttorney Docket No.: 151290-0008PC

[0133] Attorney Docket No.: 151290-0008PC

[0134] Attorney Docket No.: 151290-0008PCACTUATOR.TUBING.IA (Version 2.0)

[0135] The tubing control module is configured to monitor production tubing pressure behavior over time and identify pressure instability, abnormal oscillations, or operating conditions that may negatively affect pump performance or production stability. Based on such monitored conditions, the system may generate control signals to adjust the production tubing valve, annular valve, or pump operating parameters to maintain the well within a desired operating envelope.

[0136] This process is dynamic and designed to adapt in real-time, using artificial intelligence to learn system patterns and optimize their behavior in the long term. In this way, the program not only stabilizes pressures, but also prevents conditions that could compromise the efficiency of the system, contributing to a safer and more efficient operation.

[0137] Erratic behavior in tubing pressure negatively affects the performance of ESP pumps, which can lead to significant losses in production. To address this problem, the program focuses on analyzing the peaks and valleys present in the pressure signal with the goal of stabilizing the system and reaching optimal balance.

[0138] These peaks and valleys represent key points that allow characterizing the dynamic behavior of the system, identifying anomalies or recurring patterns that could indicate potential problems. With this information, the program makes automated decisions that optimize actuator control, ensuring more efficient, safe, and reliable operation of the system.SYSTEM MANAGEMENT

[0139] System Activation / Deactivation: The system will be reading and comparing the tubing pressures every X time (configurable) and will activate automatically if the minimum height exceeds 20%. It is automatically deactivated if the minimum height falls below 10%. Minimum Height: This refers to a dynamic threshold calculated based on the range of values recorded by the sensor. It is an important metric used to detect significant peaks and valleys: A value is considered a peak only if its magnitude is greater than the minimum height and similarly, a valley must beAttorney Docket No.: 151290-0008PC less than the negative value of the minimum height.) The calculation of the minimum height is performed as: Where

[0140] Maximum: The highest value recorded in the sensor data.

[0141] Minimum: The lowest value recorded in the sensor data.PEAKS (LOCAL HIGHS)

[0142] A peak represents a point at which the magnitude of the signal reaches a maximum with respect to its immediate values. From an engineering standpoint, a spike indicates a significant event such as:

[0143] Overpressure in a hydraulic system.

[0144] A sudden increase in an electric charge.

[0145] Maximum swing height in a mechanical vibration.MATHEMATICAL DEFINITION

[0146] A value, / Crz) in a time series is a peak if:

[0147]

[0148] Spikes can reflect hazardous operating conditions that require intervention for Safety Monitoring and detecting repetitive patterns in spikes can indicate progressive wear on equipment or components for Safety Monitoring.VALLEYS (LOCAL MINIMUMS)

[0149] A valley represents a point where the signal reaches a local minimum with respect to its immediate values. In engineering terms, a valley could represent:Attorney Docket No.: 151290-0008PC

[0150] Loss of pressure in a hydraulic system.

[0151] Voltage drop in an electrical network.

[0152] The lowest point in the oscillation of a mechanical structure.MATHEMATICAL DEFINITION

[0153] A value *T) is a valley if:

[0155] Operational Optimization helps identify valleys to help assess inefficiencies or energy losses in the system due to steep drop (a deep valley) can prevent failures to indicate problems such as pipe leaks, loss of flow, or power failures. In oscillatory systems, valleys help determine the total range of motion and evaluate structural stability.MAIN COMPONENTS

[0156] Sensor: Abstract base class for sensors. It provides a pure read() virtual method, which is implemented in the SimulatedSensor class.

[0157] Actuator: Represents an actuator with a controlled position between 0 and 100.

[0158] Adjusts its position automatically depending on sensor readings. If the minimum height exceeds 10%. The actuator operates in automatic mode, but this can be manually activated or deactivated by the user.

[0159] Position: Current status of the actuator.

[0160] Automatic: If enabled, adjusts its position automatically.

[0161] Data Analysis: The minimum height must be calculated as 10% of the range of the data (difference between maximum and minimum) and the minimum distance between oscillations isAttorney Docket No.: 151290-0008PC determined as 5% of the total data. Human Alert If the system fails to reduce the minimum height below 10% in 1.5 hours (SO minutes), it sends a message indicating that human assistance is needed.

[0162] Oscillations: Detects peaks and valleys in the signal based on:

[0163] - Comparison with neighboring values.

[0164] - Minimum height to be considered significant.

[0165] - Minimum distance to avoid redundant detection.

[0166] Al for Training (SVM Model): Use detected oscillations (peaks and valleys) to train an SVM model using the C# Dlib library.

[0167] The model classifies the data into:

[0168] ■ 1: Pico.

[0169] ■ -1: Valle.

[0170] ■ 0: Normal value.

[0171] In this program, artificial intelligence (Al) is used to analyze and classify patterns in sensor data using a vector support machine (SVM) model. The Al takes the sensor readings as input and uses the detected oscillations (peaks and valleys) to train the model, classifying each data as a peak, a valley or a normal value.AUTOMATION OF THE SAFETY VALVE IN THE MANIFOLD

[0172] The management of gas in the annular space is a desirable in oil well operations.

[0173] This process aims to regulate and control the pressure of gas accumulated in the annular space to ensure well stability, prevent unwanted events such as blowouts, and optimize production.Attorney Docket No.: 151290-0008PC

[0174] The use of two actuators in a manifold represents a strategy of redundancy and safety in pressure control systems.

[0175] This approach includes a primary actuator installed in the annular line and a secondary actuator in the Back Pressure Regulator (BPR) valve. The secondary actuator is configured as an emergency system to ensure operational continuity in the event of a failure of the primary actuator.

[0176] The incorporation of an actuator in the BPR valve transforms this component into a key mechanism for the control and safety of flow and pressure management.

[0177] The automation of this valve in a manifold represents an advancement in oilfield systems, as it converts a mechanical BPR into an intelligent and autonomous device capable of responding in real-time to the system's demands.INTEGRATION OF ACTUATORS: VALVE, BPR (HANBAY)

[0178] The integration of actuators into the manifold system is useful to ensure functionality and operability under normal and emergency conditions. This process includes the following:

[0179] Actuator in the Primary Control Valve (Valve): The primary actuator, installed in the control valve along the annular line, dynamically and continuously regulates gas flow and pressure.

[0180] Actuator in the BPR Valve (Hanbay): The secondary actuator, installed in the Back Pressure Regulator (BPR) valve, serves as a system backup. Under normal conditions, it remains in passive mode, but if the primary actuator fails, it takes control of pressure regulation.FUNCTION OF BPR AUTOMATION

[0181] Redundancy and Safety: The integration of two actuators (Valve and BPR) ensures pressure control even in the event of critical failures.

[0182] Precision and Speed: Actuators respond rapidly to system conditions, dynamically adjusting to stabilize pressure.Attorney Docket No.: 151290-0008PC

[0183] Total Automation: The PLC M251 coordinates operations, eliminating the need for manual intervention and reducing risks associated with human error.

[0184] Advanced Monitoring: Real-time data collected by the PLC enables system optimization and predictive analysis for future improvements.

[0185] The program is designed to detect failures in the annular space actuator and automatically adjust the BPR valve when annular pressure exceeds 20% of the maximum allowable limit.

[0186] You can simulate different pressure conditions by inputting values and verifying how the system automatically responds to failures and critical pressure levels.ACTUATOR ESTADIST

[0187] To optimize performance, the frequency of movements, duration at each position, and associated external conditions are analyzed, automatically adjusting the actuator's operation to reduce wear and improve energy efficiency. This includes strategies such as minimizing unnecessary movements during low-demand hours and dynamically adjusting opening levels according to operational needs.

[0188] Additionally, the system integrates external variables such as pressure, temperature, and flow, correlating them with actuator behavior to proactively respond to critical conditions, ensuring robust and adaptable control in changing environments. This comprehensive approach guarantees precise monitoring, reliable operation, and more efficient system management overall.GASLOCKED PUMP ROD

[0189] Manage annular pressure behavior to activate a degassing process, adjust well pressure levels, and ensure optimal performance. This program operates only in C V Automatic Mode.Attorney Docket No.: 151290-0008PC

[0190] The program monitors the behavior of the Annular Pressure variable, with two possible scenarios for activation:CASE 1

[0191] Conditions: The annular pressure remains nearly constant (straight line). Pressure variation: DifferentialPressureAnnular >= 0 or <= 5 psi.

[0192] Actuator Position: Actuator Position = 0 or < 5.

[0193] Activation Time: Starts with an initial value of 5 minutes (adjustable).

[0194] Action: The program activates and executes the degassing process.CASE 2

[0195] Conditions Annular pressure loss is detected with the actuator closed.

[0196] Actuator Position: Actuator Position = 0 or < 5.

[0197] If the actuator's position is > 10, it is considered a valve issue.

[0198] DeltaPressAnular: Must be greater than 5 psi. This value is adjustable based on system conditions.

[0199] Delta. DegassinG. Default value is 50 psi (modifiable)

[0200] Action

[0201] The program activates and executes the degassing process.

[0202] Activation

[0203] If any of the conditions described are met, the program activates.Attorney Docket No.: 151290-0008PC

[0204] It runs for a duration of TimeGasOut = 20 minutes (modifiable).PRESSURE ADJUSTMENT DURING EXECUTION

[0205] Maximum and minimum pressures are adjusted:

[0206] Pressure Max = Pressure Max - Delta. Degassing.

[0207] Pressure Min = Pressure Min - Delta. Degassing.PRESSURE RESTORATION AFTER COMPLETION

[0208] Once the degassing time (TimeGasOut) is completed, the pressure values return to their original levels:

[0209] Pressure Max = Pressure Max + Delta. Degassing.

[0210] Pressure Min = Pressure Min + Delta. Degassing.

[0211] The program continues monitoring annular pressure behavior to determine if another cycle is required.

[0212] OLEUMSIP

[0213] The Autopoint program is designed to activate through the boolean variable SIP ACTIVE. Its primary purpose is to read and process critical variables in an Integrated Pressure System (SIP) to enhance precision and automation.

[0214] Ver table 1 y 2PROGRAM FEATURESFUNCTION VARIABLE READINGAttorney Docket No.: 151290-0008PC

[0215] This function reads the values of Annular Pressure, Well Temperature, and TIME, storing them as double type variables.

[0216] The values are recorded in a matrix called Matriz_General, which serves as a repository' for data processing.

[0217] Each reading is time-stamped with TIME Ciclo, a temporal marker stored alongside the variables.

[0218] A counter, counter_n, increments with each reading to track the total number of data entries.ACTIVATION OF NUMERICAL CALCULATION

[0219] The NUMERICAL CALCULATION function automatically activates when counter n reaches 2, signaling that sufficient data is available in Matriz General for processing.

[0220] It uses the last two entries in the matrix to perform precise calculations, such as differences in pressure, temperature, and time between readings.

[0221] These calculations provide insights into dynamic changes in system variables and generate key results for automatic adjustments.AUTOMATION AND FLEXIBILITY:

[0222] When SIP ACTIVE is enabled, the functions work together to continuously monitor system variables and calculate real-time results.

[0223] The calculated data can be used to automatically adjust system components like valves and sensors.Attorney Docket No.: 151290-0008PCRESET AND SCALABILITY:

[0224] After calculations are completed, the counter n counter can be reset to allow new data entries.

[0225] The program’s modular design facilitates integration with other monitoring or control systems.FORMULA

[0226] The program performs the following actions based on defined conditionsINITIAL CONDITIONS

[0227] Execution begins if m > 0.10 or (m <= 1 and n < 0.20).ACTIONS BASED ON MXY VALUEAttorney Docket No.: 151290-0008PC

[0228] If Mxy < -1, the values of Annular Pressure, Well Temperature, and TIME are stored in the MatX_Calc matrix. Additionally, the Counter_MatX counter is incremented by 1.

[0229] If Mxy <= 0.090, the data in Matriz General is cleared, the counter n is reset to 0, and the lectura Variable function is called again.

[0230] Condition for m: If m < 0.10, the Matriz General matrix is also cleared, the counter n is reset to 0, and the lectura Variable function is called again.CALCULATION AND FINALIZATION

[0231] When Counter_MatX = 5, the data in the MatX_Calc matrix is processed to:

[0232] Calculate the minimum (Min Pressure - Program) and the maximum (Max Pressure-Program) of the Annular Pressure variable.

[0233] Determine the pressure difference DeltaPressure as Max Pressure - Program - Min Pressure - Program.

[0234] Additionally, the average of Well Temperature in MatX_Calc is calculated and compared with the current Well Temperature to check for any temperature increase.

[0235] Finally, the boolean variable SIP ACTIVE is deactivated.

[0236] This logic ensures efficient and controlled system operation, with automatic resets when values do not meet expected criteria and safe deactivation after completing the required analysis.CODE IMPLEMENTED ON CLOUD SERVERS (BLUETICK SERVICE)

[0237] The following code has been developed and implemented on Bluetick Cloud Servers to automate the monitoring and control of the Integrated Pressure System (SIP). The logic ensures real-time data processing, decision-making, and system optimization.Attorney Docket No.: 151290-0008PC

[0238] Below is the functionality breakdown:

[0239] System is implemented in a cloud-based architecture using the Bluetick system and its dedicated servers. This ensures a reliable, scalable, and optimized infrastructure for handling large volumes of real-time data.PREDICTOR PROGRAM

[0240] It is a fundamental tool for maximizing production efficiency in oil wells. This system integrates operational data, advanced mathematical models, and dynamic simulations to optimize flow, anticipate issues, and ensure operational safety.

[0241] Productivity models, such as IPR curves generated using Vogel and Weeb approaches, along with the Darcy Equation, enable precise characterization of well and reservoir conditions. Additionally, it includes a prediction system based on mathematical models, such as Linear Regression, to forecast future production rates. The relationship between Q and Pwf can be expressed as: Where:

[0242] • m: Slope, indicating how production changes with pressure.

[0243] • b: Intercept, representing the production when Pwf=0.

[0244] This predictive tool allows operational conditions to be adjusted before severe issues occur, thereby maximizing efficiency.VOGEL MODEL

[0245] The Vogel equation is ideal for naturally flowing wells and is calculated as:Attorney Docket No.: 151290-0008PCWhere:

[0246] Q: Production Rate (BPD).

[0247] Qmax: Maximum production under ideal conditions.

[0248] Pwf: Downhole pressure (psi).

[0249] Pr: Reservoir pressure (psi).

[0250] The curve generated with this model shows how production decreases as Pwf increases. This is useful for identifying optimal operating pressures and assessing when artificial support is needed to maintain flow.WEEB MODEL

[0251] The Weeb method extends the analysis by incorporating nonlinear effects in the relationship between pressure and flow. The equation used is:

[0252]

[0253] Where:

[0254] Q: Production rate (BPD).

[0255] J: Productivity index (STB / day / psi2), which depends on reservoir properties.

[0256] Pr, Pwf: Reservoir pressure and bottom-hole pressure (psi).

[0257] The Weeb model is particularly useful in scenarios where the linearity assumed byVogel does not apply, such as in reservoirs with high variability in saturation and relativeAttorney Docket No.: 151290-0008PC permeability. This approach is more accurate for complex systems, providing a robust analysis of production rates.DARCY'S EQUATION

[0258] Darcy's Equation is incorporated to model flow in the reservoir and evaluate how factors such as permeability (k viscosity («), and pressure affect the production rate. The formula is:

[0259] Where:

[0260] q: Production flow rate (BPD).

[0261] k: Reservoir permeability (mD).

[0262] A: Drainage area (ft2).

[0263] Pr, Pwf: Reservoir and downhole pressure.

[0264] / i Fluid viscosity (cP).

[0265] L: Flow length (ft).

[0266] This model enables the simulation of dynamic scenarios and allows the prediction of reservoir responses to changes in operating conditions, such as a decrease in Pr, Pwf or an increase in q. The results can be used to adjust well conditions and prevent issues such as reservoir collapse or excessive pressure loss.Attorney Docket No.: 151290-0008PCAPPLICATION OF THE FORMULA

[0267] The implementation of Oleum SIP makes it possible to mitigate this decline in ql.

[0268] Efficient pressure management, particularly annular pressure, can optimize bottomhole flow conditions Pwjx and maximize the use of reservoir energy. This enables the generation of a new, optimized well inflow performance relationship IPR curve, reflecting a sustained increase in production q2 and a more gradual decline curve.

[0269] This strategy not only flattens the well's decline curve but also increases production q2 over time, extending the well's economic life and enhancing hydrocarbon recovery.

[0270] Furthermore, Oleum SIP prevents formation damage and minimizes the entry of unwanted water or gas into the well. This is achieved through precise adjustments of annular and bottom-hole pressures (PwfxP_{wf_x}Pwfx), avoiding operational conditions that could compromise reservoir integrity or hydrocarbon flow quality.

[0271] This level of control ensures more stable and efficient production while mitigating risks associated with issues like water or gas coning, which often negatively impact production. Additionally, it enhances system reliability, reduces operational downtime, and supports long-term reservoir sustainability. The system also facilitates proactive decision-making by providing realtime data on pressure dynamics, enabling operators to anticipate and address potential issues before they escalate.CLOUD SYSTEM STRUCTURE: IPRCURVECALCULATOR

[0272] System is implemented in a cloud based architecture using the Bluetick system and its dedicated servers. This ensures a reliable, scalable, and optimized infrastructure for handling large volumes of real-time data.PROCESS AUTOMATIONAttorney Docket No.: 151290-0008PC

[0273] The use of technology to perform repetitive tasks, streamline operations, and enhance system efficiency with minimal human intervention. In the context of industrial systems like SIP, process automation involves:

[0274] Operational Efficiency: Automating routine tasks such as pressure monitoring, valve adjustments, and data collection reduces human error and ensures consistent performance.

[0275] Fault Management: Automated systems can detect, diagnose, and respond to equipment failures (e.g., actuator faults) promptly, maintaining system safety and operational continuity.

[0276] Dynamic Adjustments: Algorithms can manage variables like pressure levels in real time, ensuring gradual and controlled changes to protect system integrity.

[0277] Intelligent Alerts: Smart alarms prioritize issues based on predefined parameters, adapting to different scenarios such as daytime versus nighttime operations, for faster response.

[0278] Self-Calibration: Automatic recalibration ensures that sensors and devices maintain their accuracy and reliability without manual intervention.

[0279] By integrating these capabilities, process automation improves overall system reliability, scalability, and readiness for complex operational challenges.LOW VOLTAGE ALARM

[0280] It is necessary to analyze the voltage loss in the Battery Voltage measurement, using the initial value of that measurement. A voltage delta will be calculated based on the Battery Voltage readings, considering that the minimum value for the equipment to shut down is 21 volts.

[0281] The routine should include a calculation that estimates the remaining time before signal loss, generating a visual alarm based on that estimation. Additionally, it should differentiate between day and night:Attorney Docket No.: 151290-0008PC

[0282] During the day, if Solar Panel Voltage < 12 Volts, a visual message will display " Check the Urgent Battery" when the voltage is rapidly decreasing.

[0283] During the night, if Solar Panel Voltage < 12 Volts, a visual message will indicate " Voltage Loss," along with an indicator of the estimated remaining time until the Battery Voltage falls below 21 volts and the equipment shuts down.

[0284] The routine will perform these calculations and review the " Battery Voltage" measurement every 5 minutes.WORKING MODE (VALVE CONTROL AND OPERATION SYSTEM)

[0306] The control system with a rotary valve, pressure sensors, and a PLC M251 uses a HART interface and satellite communications for remote monitoring and adjustment. This document describes the operating modes configured in the system, each designed to optimize performance under various operating conditions.STANDARD MODE

[0307] This mode uses basic control based on predefined ranges calculated by the Integrated Production System (SIP). It keeps operating parameters within safe limits and automatically adjusts the valve to stabilize pressure. This mode is ideal for normal operating conditions where significant fluctuations in pressure or flow are not expected.FORMULAPoutput: Adjusted pressure.Psetpoint: Desired value.Pactual: Real-time measured pressure.Attorney Docket No.: 151290-0008PCKp: Proportional gain defining correction intensity.ADVANTAGES- Simple to implement and maintain.- Requires fewer computational resources.- Ideal for stable situations with well-defined conditions.DYNAMIC ADJUSTMENT MODE

[0308] In this mode, the system simultaneously adjusts the valve opening and annular pressure in 20-minute cycles. This method is suitable for conditions where dynamic fluctuations in operational variables, such as pressure spikes or gas flow changes, are expected. If stabilization is not achieved, a fallback method is activated.Formulap: Fluid density.g: Gravity acceleration.h: Height of the fluid column.Psurface: Pressure applied from the surface.Pdynamic: Fluctuations caused by fluid flow.ADVANTAGES- Adaptive to changing conditions.- Increases efficiency in complex scenarios.- Minimizes the risk of system destabilization.FIXED VALVE OPENING MODE

[0309] Maintains a fixed valve opening while adjusting annular pressure. Designed forAttorney Docket No.: 151290-0008PC conditions requiring stability in the main flow without frequent adjustments to the valve opening.GAS RELEASE

[0310] Temporarily increases valve opening to release accumulated gas in the annular space or tubing. This submode is automatically activated or manually commanded when sensors detect dangerous gas build-ups.FORMULAQ: Volumetric flow.A: Valve opening area.Cd: Discharge coefficient.h: Height of the fluid column generating pressure.ADVANTAGES- Simplified control under stable conditions.- Enhances safety by releasing dangerous gas accumulations.DYNAMIC ACTUATOR MODE

[0311] This mode dynamically adjusts the valve based on rapid pressure changes. It has two submodes:ASCENDING

[0312] Handles abrupt pressure increases by quickly expanding the valve opening.DESCENDING

[0313] Gradually reduces the valve opening to prevent sharp pressure drops.FORMULAAttorney Docket No.: 151290-0008PCAn+l: New calculated opening.Kd: Derivative gain.dP / dt: Rate of pressure change.ADVANTAGES• Rapid response to critical changes.• Reduces risks of failures due to extreme pressures.CHOKE MODE

[0314] Configures the valve for a reduced opening, ideal for precise gas flow control. This mode is useful in situations where flow fluctuations can impact system stability.FORMULAF = k • A2F: Gas flow.k: Coefficient related to density and medium.A: Effective valve opening.ADVANTAGES- Enables precise control in sensitive conditions.- Minimizes risks associated with flow fluctuations.Attorney Docket No.: 151290-0008PCARTIFICIAL INTELLIGENCE AND DEEP REINFORCEMENT LEARNING (DRL) MODE

[0315] This mode leverages artificial intelligence and deep reinforcement learning (DRL) algorithms to optimize system control in real time. The system learns behavioral patterns from historical and real-time data, adjusting the valve and annular pressure to maximize efficiency.FUNCTIONALITY- Uses a neural network model to predict future pressure and system responses.- Implements adaptive strategies based on the success of previous decisions,minimizing fluctuations and failures.ADVANTAGES- Continuous improvement of system performance.- Reduction in human intervention.- Capability to operate under highly variable conditions.WORKING MODE (VALVE CONTROL AND OPERATION SYSTEM)

[0316] The control system with a rotary valve, pressure sensors, and a PLC M251 uses a HART interface and satellite communications for remote monitoring and adjustment. This document describes the operating modes configured in the system, each designed to optimize performance under various operating conditions.STANDARD MODE

[0317] This mode uses basic control based on predefined ranges calculated by the Integrated Production System (SIP). It keeps operating parameters within safe limits and automatically adjusts the valve to stabilize pressure. This mode is ideal for normal operating conditions where significant fluctuations in pressure or flow are not expected.Attorney Docket No.: 151290-0008PCFORMULAPoutput: Adjusted pressure.Psetpoint: Desired value.Pactual: Real-time measured pressure.Kp: Proportional gain defining correction intensity.ADVANTAGES- Simple to implement and maintain.- Requires fewer computational resources.- Ideal for stable situations with well-defined conditions.DYNAMIC ADJUSTMENT MODE

[0318] In this mode, the system simultaneously adjusts the valve opening and annular pressure in 20-minute cycles. This method is suitable for conditions where dynamic fluctuations in operational variables, such as pressure spikes or gas flow changes, are expected. If stabilization is not achieved, a fallback method is activated.Formulap: Fluid density.g: Gravity acceleration.h: Height of the fluid column.Psurface: Pressure applied from the surface.Pdynamic: Fluctuations caused by fluid flow.Attorney Docket No.: 151290-0008PCADVANTAGES- Adaptive to changing conditions.- Increases efficiency in complex scenarios.- Minimizes the risk of system destabilization.FIXED VALVE OPENING MODE

[0319] Maintains a fixed valve opening while adjusting annular pressure. Designed for conditions requiring stability in the main flow without frequent adjustments to the valve opening.GAS RELEASE

[0320] Temporarily increases valve opening to release accumulated gas in the annular space or tubing. This submode is automatically activated or manually commanded when sensors detect dangerous gas build-ups.FORMULAQ: Volumetric flow.A: Valve opening area.Cd: Discharge coefficient.h: Height of the fluid column generating pressure.ADVANTAGES- Simplified control under stable conditions.- Enhances safety by releasing dangerous gas accumulations.DYNAMIC ACTUATOR MODE

[0321] This mode dynamically adjusts the valve based on rapid pressure changes. It has two submodes:Attorney Docket No.: 151290-0008PCASCENDING

[0322] Handles abrupt pressure increases by quickly expanding the valve opening.DESCENDING

[0323] Gradually reduces the valve opening to prevent sharp pressure drops.FORMULAAn+1: New calculated opening.Kd: Derivative gain.dP / dt: Rate of pressure change.ADVANTAGES• Rapid response to critical changes.• Reduces risks of failures due to extreme pressures.CHOKE MODE

[0324] Configures the valve for a reduced opening, ideal for precise gas flow control. This mode is useful in situations where flow fluctuations can impact system stability.FORMULAF: Gas flow.k: Coefficient related to density and medium.A: Effective valve opening.Attorney Docket No.: 151290-0008PCADVANTAGES- Enables precise control in sensitive conditions.- Minimizes risks associated with flow fluctuations.ARTIFICIAL INTELLIGENCE AND DEEP REINFORCEMENT LEARNING (DRL) MODE

[0325] This mode leverages artificial intelligence and deep reinforcement learning (DRL) algorithms to optimize system control in real time. The system learns behavioral patterns from historical and real-time data, adjusting the valve and annular pressure to maximize efficiency.FUNCTIONALITY- Uses a neural network model to predict future pressure and system responses.- Implements adaptive strategies based on the success of previous decisions,minimizing fluctuations and failures.ADVANTAGES- Continuous improvement of system performance.- Reduction in human intervention.- Capability to operate under highly variable conditions.WELL PRODUCTION CONTROL SYSTEM AND METHOD

[0326] Shown in figure 1 is a well 30 having a casing 32, production tubing 10, and an annulus34 defined between casing 32 and tubing 10. An annular valve 36 controls backpressure in annulus 34. A submersed pump 38 having a motor 39 is provided to pump oil from well 30. An actuator 42 controls valve 36. A valve 12 regulates pressure in, and oil flow from, tubing 10. An actuator 44 controls valve 12. A processor 46 receives a first pressure signal indicative of pressure in annulus 34 from a pressure sensor 50 and a second pressure signal indicative of pressure in tubing 10 from a pressure sensor 48. Processor 46 regulates valves 12 and 36 to control production tubingAttorney Docket No.: 151290-0008PC pressure and annulus pressure, and optionally pump motor speed, in a manner that achieves a desired or optimal balance between oil production and pump efficiency based on algorithms and historical data.

[0327] Shown in figure 2 is production tubing 10 at a wellhead employing the disclosed oil production optimization system. Tubing valve 12 controls oil flow from and pressure in tubing 10. Actuator 14 controls valve 12, and pressure sensor 48 measures pressure in tubing 10 and transmitting a pressure signal to processor 46, which can be positioned in the housing of actuator 14. A temperature sensor 18 can collect temperature data for analysis and / or to shut down well production to prevent overheating of pump 38. Security valve 20 can relieve pressure from volatile components in the oil. Flow meter 22 can measure the oil flow through tubing 10 for analysis and / or for enhanced control of actuators 14 and 42 and optionally control of the speed of pump motor 39.

[0328] Figure 3 presents a flowchart that describes the operation of an automatic control system for a production well. This system autonomously regulates valves 12 and 36 based on pressure data provided by sensors 46 and 48. Optionally, it also allows for the control of the submersible pump motor (component 39) speed, using one or more selectable reference parameters. These parameters may include pump intake pressure, discharge pressure, differential pressure, motor temperature, pump speed, and motor amperage. The allowable operating ranges for the sensor data are defined in box 10, where the system verifies that the readings remain within safe limits. Based on this validation, the system consults box 11, which contains the well’s Data Sheet. This document stores structural information, historical production data, and the inventory of installed mechanical components. In box 12, the system executes the module known as Mode Working, which performs useful functions, including verifying the availability of power to energize system components, automatically assuming operational control, and continuously adjusting parameters to maintain the system within predefined limits. This mode also governs the specific behavior of the annular valve and acts as the first level of decision-making based on threshold logic. Once the system has validated that all parameters are within the defined margins, box 13 is activated, corresponding to the Learning Architecture. This architecture integratesAttorney Docket No.: 151290-0008PC artificial intelligence components and has the ability to continuously optimize system operation through adaptive learning. It evaluates whether all monitored parameters remain within their operational ranges and adjusts system behavior based on historical trends and real-time conditions. If the system determines that conditions are stable and within expected behavior, it proceeds to box 14, which corresponds to the Predictive Model. This model uses algorithms along with specific mathematical formulas, to calculate the optimal setpoints for the actuators. Its purpose is to anticipate the need for operational adjustments, such as the throttling of valves 12 and 36, and, if necessary, modifying the speed of the submersible pump motor (component 39). Finally, the instructions generated by the predictive model are executed in the operational stages represented by boxes 15 and 16. These actions are supervised by the Process Automation module, located in box 17. This module is responsible for coordinating and validating the execution of all processes, including alarm management, hardware supervision, and enforcement of the operational safety protocols defined in the system. Furthermore, it ensures that any abnormal condition can be detected, recorded, and managed in real time, enabling safe, efficient, and autonomous operation that adapts to the well’s dynamic conditions.

[0329] Figure 4 is a schematic illustration of the functional architecture of the oil well production optimization or control system showing potential interactions among various system components. Actuators 15 and 16 adjust throttle positions on valves 36 and 12, respectively, based on signals from a programmable logic controller (PLC) 50 that executes an algorithm to achieve an optimal balance between oil production and pump efficiency while minimizing equipment wear. Programmable logic controller 50 can receive sensor readings (e.g., pressure measurements) from sensors 56 and 58 located in the production tubing flow path and annular space, respectively. In certain embodiments, the system can include means 62 for monitoring various pump parameters such as temprature, pump inlet pressure, pump outlet pressure (or pump differential pressure). Measured parameters from means 62 can be provided to a variable speed drive 60 that controls motor 39 for pump 38. Artificial intelligence algorithms maintained on offsite servers (cloud Al) receive and analyze data from PLC 50 to refine and update the algorithms running on PLC 50. A computer or other suitable human-machine interface 54 can be connected with PLC 50 to allow an operator to monitor and / or intervene if desired.Attorney Docket No.: 151290-0008PC

[0330] The above description is intended to be illustrative, not restrictive. The scope of the invention should be determined with reference to the appended claims along with the full scope of equivalents. It is anticipated and intended that future developments will occur in the art, and that the disclosed devices, kits and methods will be incorporated into such future embodiments. Thus, the invention is capable of modification and variation and is limited only by the following claims.

Claims

Attorney Docket No.: 151290-0008PCWE CLAIM:

1. A production control system for an oil well having production tubing, a casing circumscribing the production tubing, and an annulus defined between the production tubing and the casing, comprising:an annular valve for controlling backpressure in the annulus;a first valve actuator for controlling the annular valve;a first pressure sensor for measuring pressure in the annulus and transmitting a first pressure signal indicative of the pressure in the annulus;a production tubing valve for controlling production flow from, and pressure in, the production tubing;a second valve actuator for controlling the production tubing valve;a second pressure sensor for measuring pressure in the production tubing and transmitting a second signal indicative of the pressure in the production tubing;a processor receiving the first pressure signal and the second pressure signal, and concurrently controlling the first and second actuators based on the first pressure signal and the second pressure signal.

2. A production control system in accordance with claim 1, further comprising a submersible pump having a variable speed motor for pumping oil from the well through the production tubing.

3. A production control system in accordance with claim 2, wherein the processor concurrently controls the first and second actuators and the speed of the pump motor based on theAttorney Docket No.: 151290-0008PC first pressure signal, the second pressure signal, and at one or more pump parameter signals generated by a corresponding pump parameter sensor.

4. A production control system in accordance with claim 3, wherein the one or more pump parameter signals are selected from pump intake pressure, pump motor temperature, pump speed, pump outlet pressure or pump differential pressure, and motor amperage.

5. A production control system in accordance with claim 1, further comprising a flow meter for measuring flow of oil through the production tubing, and wherein the processor concurrently controls the first actuator, and the second actuator based on the measured flow of oil through the production tubing, the first pressure signal, and the second pressure signal.

6. A production control system in accordance with claim 3, further comprising a flow meter for measuring flow of oil through the production tubing, and wherein the processor concurrently controls the first actuator, the second actuator, and speed of the motor of the submersed pump based on the measured flow of oil through the production tubing, the one or more pump parameter signals, the first pressure signal, and the second pressure signal.

7. A production control system in accordance with claim 1, wherein the processor communicates with cloud artificial intelligence algorithms to collect and analyze well data, and to update algorithms running on the controller based on the analysis of the collected data.

8. A production control system in accordance with claim 1, wherein a human-machine interface is connected with the controller to allow an operator to monitor and / or intervene with control of the system if desired.

9. A process for balancing maximum oil production and minimum equipment wear at an oil well, comprising:generating a first pressure signal indicative of pressure in a production tubing at a wellhead;Attorney Docket No.: 151290-0008PC generating a second pressure signal indicative of pressure at the wellhead of a gas in fluid communication with an annulus defined between a well casing and the production tubing; and automatically controlling a first regulated throttle valve in the production tubing and a second regulated throttle valve in an outlet tubing from the annulus based on the first pressure signal and the second pressure signal.

10. A process in accordance with claim 9, wherein the well includes a submersible pump having a variable speed motor for pumping oil from the well through the production tubing.

11. A process in accordance with claim 10, further comprising automatically controlling the speed of the pump motor based on the first pressure signal, the second pressure signal, and at one or more pump parameter signals generated by a corresponding pump parameter sensor.

12. A process in accordance with claim 11, wherein the one or more pump parameter signals are selected from pump intake pressure, pump motor temperature, pump speed, pump outlet pressure or pump differential pressure, and motor amperage.

13. A process in accordance with claim 9, wherein the well includes a flow meter for measuring flow of oil through the production tubing, and wherein the processor concurrently controls the first actuator, and the second actuator based on the measured flow of oil through the production tubing, the first pressure signal, and the second pressure signal.

14. A process in accordance with claim 11, wherein the well includes a flow meter for measuring flow of oil through the production tubing, and wherein the processor concurrently controls the first actuator, the second actuator, and speed of the motor of the submersed pump based on the measured flow of oil through the production tubing, the one or more pump parameter signals, the first pressure signal, and the second pressure signal.Attorney Docket No.: 151290-0008PC15. A process for adjusting an annular valve setting and a production valve setting in an oil well to achieve an optimal balance between oil production and mitigation of pump wear, comprising:acquiring pressure data from a pressure sensor in production tubing and in an annulus defined between a well casing and the production tubing;acquiring historical data for the oil well, including at least one of structural information, production data, and information on installed mechanical components;determining whether power is available to energize system components, including actuators for the annular valve and the production valve;implementing a machine learning algorithm to refine a predictive model that calculates the optimal combination of annular valve setting and production valve setting;determining the optimal combination of annular valve setting and production valve setting from the refined predictive model; andadjusting the valve settings for the annular valve and the production valve to the determined optimal values.

16. The process of claim 15, further comprising acquiring operating parameters for a submersible pump in the oil well;including the operating parameters for the submersible pump in the predictive model and the machine learning algorithm;determining an optimal combination of motor speed for the submersible pump, annular valve setting, and production valve setting; andadjusting submersible pump motor speed, annular valve setting, and production valve setting to the determined optimal values.