Modified whipstock design, integrating smart cleanout mechanisms

The continuous monitoring and control automation system addresses inefficiencies in well lubrication by using AI to automate lubrication schedules, improving safety and reliability in well operations.

SA1020241229B1Active Publication Date: 2026-09-27SAUDI ARABIAN OIL CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA1020241229
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-01-25
Publication Date
2026-09-27
Estimated Expiration
2044-01-25

AI Technical Summary

Technical Problem

Current well monitoring and control systems for lubricating wellhead and Christmas tree valves are inefficient, leading to operational challenges, costly shutdowns, and safety risks due to poor maintenance, especially in harsh environments like offshore operations.

Method used

A continuous monitoring and control automation system using artificial intelligence and lubrication control system with a grease tank, sensors, pump, and lubrication control system to automate lubrication schedules, reduce human intervention, and enhance safety and efficiency.

Benefits of technology

The system reduces operational challenges, minimizes human error, enhances safety, and increases reliability by ensuring timely lubrication, reducing logistical delays, and promoting environmental sustainability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 15CA213C-547B-4C47-A865-D32FD674C0C2
    Figure 15CA213C-547B-4C47-A865-D32FD674C0C2
  • Figure 23DC49C0-B6F0-43D9-8C33-2D84443C5173
    Figure 23DC49C0-B6F0-43D9-8C33-2D84443C5173
  • Figure 2851AC1A-431B-477C-95A4-CE775867272C
    Figure 2851AC1A-431B-477C-95A4-CE775867272C
Patent Text Reader

Abstract

The present invention relates to a system comprising a milling assembly equipped with a mill bit and a drill string that crushes a new wellbore section. The system also includes a whipstock assembly formed by a smart reamer that widens the blockage in the wellbore, a whipstock that deflects the drilling assembly away from the wellbore, and a bypass valve mechanism that controls the flow of fluid through the system. In the system, the drilling assembly is connected via fluid to the whipstock assembly. Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

Detailed description: In the following detailed descriptions of the manifestations of revelation, several specific details are presented to provide a more comprehensive understanding of revelation. However, it will be clear to someone with even a basic understanding of the field that revelation can be practiced without these specific details. In other cases, the known attributes have not been described in detail to avoid unnecessarily complicating the description. Throughout an order, ordinal numbers (e.g., first, second, third, etc.) can be used as an attribute of an item (i.e., any name in the order). The use of ordinal numbers is not intended to indicate or establish any particular order of items, nor to restrict any item to being only one item unless explicitly stated, such as by using terms like "before," "after," "one," and other similar terms. Rather, the use of ordinal numbers is intended to distinguish between items. For example, the first item is distinct from the second item, and the first item may contain more than one item and succeed (or precede) the second item in the order of items. In the following descriptions of Figures 1-5, any component described in relation to a figure, in the various incarnations revealed here, may be equivalent to one or more components of the same name described in relation to any other figure. For the sake of brevity, descriptions of these components will not be repeated for each figure. Thus, each incarnation of the components of each figure is incorporated by reference and is assumed to exist optionally within each other figure containing one or more components of the same name. Furthermore, according to the various incarnations shown here, any description of the components of a figure should be interpreted as an optional incarnation that can be implemented in addition to, in conjunction with, or instead of the incarnations described in relation to a component of a similar name in any other figure. It should be understood that the singular forms "a," "an," and "the" include plural references unless the context clearly states otherwise. Thus, for example, referring to a "force-gathering device" implies referring to one or more such applications of force. On one hand, the demonstrations here relate to a permanent well monitoring and control automation system. This system provides automated lubrication for wellhead and Christmas tree valves using grease and artificial intelligence. Throughout this demonstration, wellhead and Christmas tree valves can be referred to collectively as "valves." Valves are essential for the smooth operation of wells. Poorly maintained valves are difficult to operate, especially when the valve stems become detached from the wheels. Valves are typically lubricated on schedule and according to the manufacturer's schedule. Current detection technologies may offer at least one of the following advantages. A continuous monitoring and control automation system significantly reduces operational challenges and costly shutdowns caused by poor valve maintenance. This system ensures the safety of the Christmas tree and wellhead and minimizes human intervention. Field personnel only need to intervene for tasks such as grease tank refilling, pump maintenance, or ensuring the smooth operation of the integrated system. Reducing human intervention minimizes human error, workplace accidents, and environmental incidents, thus promoting a safer working environment. Particularly beneficial for offshore operations, the system increases reliability by reducing logistical delays caused by external factors such as weather or logistical constraints. The system is compact and can be customized to occupy a small footprint on offshore platforms. It can meet the needs of various well types, including oil, water, and gas wells, whether active, suspended, or exploration. A continuous monitoring and control automation system can demonstrate high energy efficiency, reduce the overall operational carbon footprint, and contribute to environmental sustainability. The system can be integrated into existing infrastructure to minimize implementation time and costs. Continuous monitoring and control automation systems can be integrated into numerous industries, including construction, mining, agriculture, manufacturing, oil and gas, wind turbines, offshore platforms, railways, automotive, food processing, pulp and paper, steel, metals, water and wastewater treatment, and power plants. Figure 1 illustrates a well system (100) according to one or more embodiments. Fluids produced from a hydrocarbon reservoir may include natural gas, oil, and water. In the oil and gas industry, as shown in Figure 1, fluids are produced from reservoir (101) in formation (102) by drilling well (103) (also referred to as "the well") in formation (102), creating a flow path between reservoir (101) and well (103), and transporting fluids from reservoir (101) to the surface (104) via well (103). Casing (105) may be installed in well (103). In some embodiments, casing (105) may be perforated so that it has perforations (106) in reservoir (101) to allow fluid flow into well (103). Typically, production tubing (107) is placed in the well (103) to carry fluids to the surface (104). Production tubing (107) is suspended from the wellhead (108) to the surface (104). Production tubing (107) extends beyond the reservoir (101), thus forming a flow channel from the reservoir (101) to the surface (104). A tree structure, also known as a "Christmas tree" (109), is placed on top of the wellhead (108) to control the flow of fluids into or out of the well (103), depending on whether it is an injection well or a production well. The Christmas tree (109) includes a set of valves to control the fluids being injected or pumped out of the well (103). For example, the Christmas tree (109) might contain an injection wing valve (110), a swab valve (111), a production wing valve (112), an upper master valve (113), and a lower master valve (114). When the operator is ready to perform well operations, valves (110, 111, 112, 113, and 114) are opened or closed to control the fluids injected or pumped from the well (103). During injection, the production wing valve (112) and the swab valve (111) are closed, while the injection wing valve (110), the upper main valve (113), and the lower main valve (114) are open to allow fluids to be injected through the Christmas tree (109) and into the well (103). The well (103) may include any well completion design, such as vertical, slanted, or varied orientation. During production, the injection wing valve (110) and the swab valve (111) are closed, while the production wing valve (112), the upper main valve (113), and the lower main valve (114) are open to control or isolate the fluid flow via the choke valve (115). From the choke valve (115), the fluids are transferred, via the production flow line (116), to the production storage, transport, or facility. The choke valve (115) is a mechanical device for controlling the flow rates and pressure drop of the produced fluids. For example, one of the operational functions of the choke valve (115) is to produce fluids from well (103) at the desired rates by manually controlling the suction pressure. The choke valve's choke size (115) can be changed to allow the operator to adjust the amount of pressure drop across the choke valve (115) in order to maintain the dimensional pressure in the production flow line (116) at the desired value that will achieve the desired rate. Figure 2 illustrates a permanent monitoring and control (200) automation system according to one or more embodiments. The permanent monitoring and control (200) automation system can be implemented in a well system (100) that may include a wellhead (108) and / or a Christmas tree (109), as shown in Figure 1. One or more valves (110, 111, 112, 113, 114, 115) may be placed on the wellhead (108) and / or the Christmas tree (109). A layperson skilled in this field would estimate that a valve could be any valve located on a wellhead (108) or Christmas tree (109), such as a swab valve (111), a production wing valve (112), an injection wing valve (110), an upper main valve (113), a lower main valve (114), and / or a choke valve (115). Additional valves not shown in Figure 2 may include a crown valve and a surface safety valve. The permanent monitoring and control automation system (200) includes a grease tank (202), sensors (204), a pump (206), and a lubrication control system (208) permanently installed at the well system site (100). The grease tank (202), sensors (204), pump (206), and lubrication control system (208) are designed to be robust and resistant to the harsh environments encountered in oil and gas sites, and for ease of installation, maintenance, and expansion. The grease tank (202) includes a storage container for holding grease (210). The grease tank (202) can be made of a corrosion-resistant material. A person with average skill in this field may understand that grease (210) can be any type of industrial lubricant used to lubricate valves. The sensors (204) can be mounted on the grease tank (202). Sensors (204) measure the grease volume in the grease reservoir (202) and the pressure level. Sensors (204) may also include an environmental monitoring sensor to detect leaks in the valve.The environmental monitoring sensor may be used as a gas detector, pH sensor, turbidity sensor, thermal camera, sound level meter, particulate matter sensor, energy meter, and / or waste level sensor. In some configurations, the sensors (204) detect the volume of grease being pumped during lubrication cycles. In one or more configurations, a level sensor may be used to monitor optimal grease levels on the grease reservoir (202) and to verify whether the grease reservoir (202) is full. In one or more configurations, the valves are equipped with a smart tagging device, such as a radio-frequency identification tag or a near-field communication tag. The smart tagging device may store detailed information about the valve, including its history, maintenance records, and specifications. The pump (206) can be any mechanical device designed to pump grease (210) from the grease tank (202) to the valves under high pressure. The pump (206) can be a high-pressure pump. The pump (206) can be connected to the grease tank (202) and the valves via pipelines (212) or control lines for direct grease delivery (210). The pump (206) lubricates the valves using grease (210) from the grease tank (202). The pump (206) delivers grease (210) to the valves under varying pressure conditions. A person familiar with the field will know that the pump (206) is designed to be compatible with different types of grease (210) and lubricants suitable for different valve materials. The lubrication control system (208) is connected to the grease tank (202), sensors (204), pump (206), and control of each component. The Lubrication Control System (208) incorporates a computer processor (e.g., a computer system (502)), as illustrated in more detail in Figure 5. The Lubrication Control System (208) can be considered the "brain" of the Automation System for Continuous Monitoring and Control (200) and functions as the central logic system. The Lubrication Control System (208) is connected to a remote terminal and a data acquisition and control unit (214) for remote monitoring and data collection. The remote terminal and the data acquisition and control unit (214) can be used for centralized control and monitoring. Monitoring may include online monitoring of lubricant storage. The logic and programming of the Lubrication Control System (208) can be used to determine when and how lubrication should occur. For example, the Lubrication Control System (208) automatically activates the pump (206) to deliver grease (210) using a preset lubrication schedule. The lubrication control system (208) may monitor the lubrication frequency for each valve. Lubrication scheduling and frequency monitoring allow for on-site and off-site lubrication without interrupting well production. The integration of the remote controller and the data acquisition and control system (214) enhances efficiency and supervision of lubrication schedules. The remote controller integration can be deployed at various points, particularly at valve locations, to collect data from sensors (204), execute control commands, and communicate with the supervisory control and data acquisition system. The supervisory control and data acquisition system may receive collected data from any remote controller, process the data, and provide a comprehensive data overview. Based on the processed data, the supervisory control and data acquisition system may send control commands to the remote controllers. For example, the Lubrication Control System (208) monitors parameter data such as grease volume, valve lubrication status, and valve operating efficiency. In one or more embodiments, the Lubrication Control System (208) determines the pumping rate, volume, and timing based on preset requirements and parameters. The Lubrication Control System (208) predicts the lubrication and maintenance schedule and lubricates the valves via the pump (206) using artificial intelligence. The lubrication and maintenance schedule may include optimized lubrication schedules based on historical data and predictive maintenance needs. In some embodiments, the lubrication and maintenance schedule ensures that the valves are lubricated at intervals specified by the manufacturer, such as every three or six months. The lubrication and maintenance schedule may include lubrication times and / or lubrication volumes. The lubrication control system (208) includes an alarm system (216) to send alerts notifying the user of the system status. System status includes low grease level, operating status, types of alerts, system faults, and low grease tank level. System status may also include any leaks, pressure drops, faults, or cycle count variations. Cycle count variations may include any deviation in the actual number of lubrication cycles, strokes, or cycles from the expected number of lubrication cycles. The alarm system (216) may alert personnel when the grease tank level is low by displaying a low grease tank alarm to refill the grease tank (202). The alarm system (216) may be equipped with visual indicators, such as light-emitting diode (LED) lamps or on-screen indicators, to send alerts. The alarm system (216) may also be equipped with audible alarms, such as sounds or beeps, which are activated when an alarm is sent. The alert system (216) may be equipped with email notifications, short message service (SMS) alerts, or digital application notifications for notification purposes.The user can customize the threshold values ​​or preset parameters of the Alert System (216) based on specific operational needs. The user can choose the types of alerts that Alert System (216) receives and how they are received. In some configurations, Alert System (216) generates alerts for deviations in lubrication times or volumes. The Lubrication Control System (208) may then process the alert or alarm within a specified response time, such as by changing the lubrication and maintenance schedule, initiating a lubrication cycle, or automatically shutting off a valve. In some implementations, sensors (204) detect the volume of grease being pumped during each lubrication cycle. The lubrication control system (208) may then compare the detected volume of grease to a preset volume. This comparison can be used to predict the lubrication and maintenance schedule and / or to obtain system status. The lubrication control system (208) may schedule lubrication times, pump a preset volume of grease (210), and monitor actual lubrication times and quantities, both online and offline. In such cases, when the lubrication control system (208) is offline, various strategies can be employed to mitigate the interruption in monitoring. For example, local data storage continues to collect and store data locally for uploading for analysis when the lubrication control system (208) reconnects to the internet. A backup power supply can be implemented to keep the system operational during a power outage using batteries or generators.Multiple communication channels, such as cellular, satellite, or radio, can be used to maintain a data transmission connection in case the primary communication method fails. In situations where the Lubrication Control System (208) is offline for an extended period, the operator may periodically check the system's status and manually collect data. The Lubrication Control System (208) can be programmed to predict potential malfunctions or problems that could cause the system to go offline. The software may then alert operators in advance to take preventative measures. A skilled user in this field will appreciate that edge computing, full security modes, and regular system checks and maintenance may also be implemented. Edge computing involves processing data on-premises, rather than relying on a central server, allowing data processing to continue even if the connection to the central server is lost. In the event of a system going offline, failed security modes automatically switch to a safe operating state, such as shutdown or low-power mode. In one or more of its implementations, the Lubrication Control System (208) may be equipped with a feedback mechanism to collect and analyze feedback from field operators or maintenance teams for continuous improvement. The Lubrication Control System (208) may also include a cost-benefit analysis program to compare operating costs before and after the implementation of the Continuous Monitoring and Control Automation System (200). The Continuous Monitoring and Control Automation System (200) may extend the lifespan of well equipment and deliver significant long-term cost savings. In some configurations, the Lubrication Control System (208) can create a digital twin of one or more physical valves. This virtual representation may be continuously updated with real-time data to provide a comprehensive understanding of the status and performance of each valve. The Lubrication Control System (208) may also include a location-based service using a global positioning system (GPS) or indoor positioning systems. This location-based service can pinpoint the exact location of each valve. In complex industrial settings, locating a specific valve can be challenging without such a service. In some implementations, the lubrication control system (208) incorporates blockchain integration to securely record and track data. The blockchain network may be private, public, or federal. Blockchain integration records all alerts and responses from the alert system (216) for auditing and improvement purposes. Recorded data may be encrypted. Documentation can help identify recurring issues and improve the automation system for continuous monitoring and control (200). Recorded data is immutable and tamper-proof, enhancing data security and resistance to unauthorized changes. Blockchain integration may include decentralized data management. The decentralized nature eliminates individual points of failure, meaning that if one node in the network fails or is attacked, the data remains unaffected. In one or more of its incarnations, the Automation System for Continuous Monitoring and Control (200) incorporates a community engagement platform integrated with the Lubrication Control System (208) to emphasize user participation. The Lubrication Control System (208) and the Alarm System (216) are designed with a user-centric approach to provide an intuitive interface that empowers users to make informed decisions, as discussed above. The community engagement platform includes training modules and interactive guides to foster a deeper understanding of the operation and maintenance of the Automation System for Continuous Monitoring and Control (200). The platform encompasses community engagement and transparency, environmental management and awareness, collaborative problem-solving and innovation, and health and safety advocacy. Operational data can be shared with local communities for communication purposes. Environmental management and awareness include environmental impact reports and assessments, and engaging users and communities in discussions about sustainable practices. In one or more of the implementations, the lubrication control system (208) is integrated with augmented reality (AR) support to provide maintenance and troubleshooting tools. AR technology overlays digital data onto the physical environment, thereby enriching the user's view of the real-world environment. Key benefits of using AR support include interactive troubleshooting, real-time data visualization, remote assistance, training and education, safety enhancements, and improved efficiency. AR support can provide interactive guides and overlay step-by-step instructions onto the physical equipment to simplify complex maintenance tasks. By providing visual guidance, AR support reduces the time required to diagnose and fix problems, thereby improving overall operational efficiency. Figure 3 shows a schematic diagram according to one or more embodiments. In general, detection embodiments include a method for a permanent monitoring and control automation system (200) (e.g., permanent monitoring and control automation system X (300)). As shown in Figure 2, the well system (e.g., well system (100)) may include various valves (e.g., valve system N(n) (304)), a grease tank (e.g., grease tank A(a) (306)), a pump (e.g., pump Y (308)), various network elements (not shown), a lubrication control system (e.g., lubrication control system X (302)), and / or an alarm system (alarm system F(f) (310)). In some embodiments, different types of parameter data (e.g., parameters A(a)(312)) are collected through the connection segment (e.g., connection segment Z(314) and connection segment ZZ(316)) via the valve, pump and grease reservoir system.Similarly, a lubrication control system may also predict a lubrication and maintenance schedule (e.g., Lubrication and Maintenance Schedule D(d)(318)) for one or more valves in a valve system and one or more grease reservoirs and one or more pumps in a well system. The lubrication and maintenance schedule can be predicted by inputting parameter data such as grease volume, valve lubrication status, and valve operating efficiency status into an AI model (e.g., AI Model C(c)(322)) using a machine-learning model (e.g., Machine Learning Models B(b)(320)) and determining the pumping rate, pumping volume, and pumping time schedule. Similarly, the lubrication control system may also determine the valve identification capability (e.g., valve identification capability E(e)(324)) with respect to one or more valves throughout the valve system. Valve identification capability can be determined by identifying the valve location, the type of incident, and the operational efficiency status. In some embodiments, the lubrication control system includes a computer system similar to or analogous to the computer system (502) described below in Figure 5 and the accompanying description. Regarding distributed control systems, a distributed control system may be a computer system for managing various processes within a facility using multiple control loops. As such, a distributed control system may include different autonomous controllers (such as remote terminals) located at various points throughout the facility to manage and monitor processes. Similarly, a distributed control system may not include a single centralized computer to manage the control loops and other processes. On the other hand, a data acquisition and control system may include a control system with functionality to enable monitoring and issuing process commands through local control within the facility as well as remote control outside the facility. Regarding the remote control unit, it may include hardware and / or software, such as a microprocessor, that connects sensors and / or actuators using network connections to perform various operations within the automation system. In accordance with control systems, a control system may be paired with facility equipment. Facility equipment may include various machines, such as one or more hardware components, which may be monitored using one or more sensors. Examples of hardware components paired with a control system may include valves, grease tanks, and pumps, among other types of hardware components. Hardware components may also include various network elements or control elements for implementing control systems, such as switches, routers, hubs, programmable logic controllers (PLCs), remote terminal units, user equipment, or other technical components for performing specialized operations.Examples of sensors may include pressure sensors, flow rate sensors, temperature sensors, torque sensors, rotary switches, weight sensors, position sensors, microswitches, hydrophones, accelerometers, and so on. The lubrication control system and network components may be computer systems similar to the 502 computer system shown in Figure 5 and its accompanying description. In some implementations, the lubrication control system includes a function to transmit an alarm (e.g., Alarm G(g) (326)) along with the system status (e.g., System Status H(h) (328)) using an alert system (e.g., Alert System F(f) (310)) via a command (e.g., Command X(330)). The alarm notifies the user of the system status to perform a maintenance operation. The maintenance operation may involve replacing a valve, grease tank, or pump and / or refilling the grease tank. The maintenance operation may also involve adjusting the continuous monitoring and automatic control system and any of its components. In some embodiments, the lubrication control system includes a function to transmit commands (e.g., command Y (332)) to one or more grease tanks and pumps to execute the lubrication and maintenance schedule. For example, the lubrication control system X (302) might send a network message via machine-to-machine protocol to grease tank A (306) and pump Y (308) to deliver grease to valve system N (304). A command might be sent periodically, based on user input, or automatically based on changes in the lubrication and maintenance schedule, valve identification capability, pressure level, and system status. Similarly, the lubrication control system includes a function to transmit commands (e.g., command YZ (334)) to the valve system to control any valve in the valve system based on valve identification capability and / or the lubrication and maintenance schedule. For example, if a leak or pressure deviation is detected, the lubrication control system will close a valve in the valve system. Continuing with Figure 3, a lubrication control system (e.g., Lubrication Control System X (302)) may include hardware and / or software with functions to store and / or use one or more machine learning models (e.g., Machine Learning Models B(b) (320)) to generate a lubrication and maintenance schedule (e.g., by inputting parameter data to provide the pumping rate, volume, and schedule for the grease tank, pump, and valve system). The lubrication control system, via a pump (e.g., Pump Y (308)), pumps grease from the grease tank (e.g., Grease Tank A(a) (306)) to the valve system (e.g., Valve System N(n) (304)). Machine learning (ML) is broadly defined as the extraction of patterns and insights from data. The terms "artificial intelligence," "machine learning," "deep learning," and "pattern recognition" are often convoluted, interchangeable, and used synonymously throughout the literature. This ambiguity arises because the field of "extracting patterns and insights from data" developed simultaneously and somewhat loosely across several classical disciplines, such as mathematics, statistics, and computer science. For the sake of consistency, the term "machine learning," or "machine learning," will be adopted here. However, those familiar with the field will recognize that the concepts and methods detailed below are not limited to this choice of terminology. Types of machine-learned models may include, but are not limited to, generalized linear models, Bayesian regression, support vector machines, decision trees, random forests, and deep models such as neural networks, convolutional neural networks, and recurrent neural networks. Machine-learned models, whether considered deep or not, are typically associated with additional "hyperparameters" that further describe the model. For example, hyperparameters that provide more detail about the neural network may include, but are not limited to, the number of layers in the neural network, the choice of activation functions, the inclusion of batch normalization layers, and the regularization strength.In general, in the literature, the selection of hyperparameters surrounding a machine-learned model is referred to as model "geometry" selection. Once the type of machine-learned model and its hyperparameters are determined, the machine-learned model is trained to perform a task. In some cases, the hyperparameters of the model may be learned during the machine-learned model's training process. In one or more incarnations, the type of machine-learned model and the training procedure may be classified as a supervised learning process, where instances of annotated inputs and labeled (or tailed) outputs are provided to the model during training. In other incarnations, the type of machine-learned model and the training procedure may be classified as a semi-supervised learning process, where only a portion of the annotated inputs used in training have associated labeled (or tailed) outputs. In these cases, unlabeled annotated inputs may be used during the training procedure.In one or more incarnations, multiple training "rounds" may occur to determine an optimal set of hyperparameters and / or to leverage newly named training data (for example, in the case of semi-supervised learning). Once a machine-learning model is trained, it can be used in a production environment (also known as machine-learning model deployment). A brief description of the different machine-learning models is provided below. In a deep neural network, a layer of neurons may be trained on a predefined list of features based on the output of the previous network layer. Thus, as data progresses through the deep neural network, more complex features within the data may be identified by neurons in subsequent layers. Similarly, a UU-net model or another type of convolutional neural network model may include different convolutional layers, pooling layers, fully connected layers, and / or normalization layers to produce a specific type of output. Therefore, convolution and pooling functions may be activation functions within the convolutional neural network. In some incarnations, two or more different types of machine-learning models are combined into a single machine-learning architecture; for example, a machine-learning model may include K-nearest Garant (k-NN) models and neural networks.In some incarnations, the tank simulator may generate augmented or synthetic data to produce a large amount of interpreted data for training a particular model. In some implementations, various machine-learning algorithms (not shown) may be used to train the model, such as the backpropagation algorithm. In the backpropagation algorithm, the gradients for each hidden layer of the neural network are calculated in the opposite direction, from the layer closest to the output layer to the layer closest to the input layer. As such, the gradient may be calculated by shifting the weights of a particular hidden layer based on an error function (also called a loss function). The error function may be based on different criteria, such as the mean squared error function, the similarity function, etc., and may be used as a feedback mechanism to adjust the weights in the machine-learning model. In some implementations, a machine-learning model is trained using multiple epochs. For example, an epoch might be an iteration of a model through a portion or all of a training dataset. As such, a single machine-learning epoch might correspond to a specific batch of training data, with the training data being divided into multiple batches of multiple epochs. Thus, a machine-learning model might be iteratively trained using epochs until the model achieves a predefined criterion, such as a preset level of prediction accuracy or training over a specific number of epochs or iterations. Consequently, better model training might result in better predictions by the trained model. Regarding support vector machines (SLMs), a support vector machine might be a machine learning model trained using a supervised machine-learning algorithm. For example, a SLM might provide data analysis on different input attributes, performing classification and regression analysis. More specifically, a SLM might define a sublevel that separates a dataset into different classes and also identify different points (i.e., support vectors) that are closest to different classes. Additionally, a SLM might use one or more kernel functions to transform the data into a desired format for further processing. The term "kernel" can refer to a set of mathematical functions that provide the window for manipulating the input data. In other words, a kernel function might transform a training set of data so that its non-linear decision surface can be transformed into a linear equation across a larger number of dimension spaces.Examples of basic functions may include Gaussian kernel functions, radial basis functions (RBFs) of the Gaussian kernel, sigmoid kernel functions, polynomial kernel functions, and linear kernel functions. Regarding artificial neural networks, for example, an artificial neural network may include one or more hidden layers, where each hidden layer comprises one or more neurons. A neuron may be a node or a modeling node / object loosely designed on a neuron in the human brain. Specifically, a neuron may combine data inputs with a set of parameters, i.e., a set of network weights to adjust the data inputs. These network weights may amplify or deprecate the value of a particular data input, thus assigning a degree of importance to different data inputs for a task being modeled. Through machine learning, the neural network may determine which data inputs should receive higher priority in determining one or more specific outputs of the artificial neural network. Similarly, these weighted data inputs may be aggregated so that this aggregate is connected, via a neuron activation function, to other hidden layers within the artificial neural network.As such, the activation function may determine whether the neuron's output advances to other neurons, and to what extent that output may advance, since the output may be re-weighted for use as an input to the next hidden layer. Moving on to recurrent neural networks (RNNs), a recurrent neural network may repeatedly perform a specific task on multiple data elements in an input sequence (for example, a sequence of temperature or flow rate values), with the RNN's output dependent on previous calculations. As such, a RNN may operate with a memory state or a hidden cell, which provides information for the current cell's computation regarding the current data input. For example, a RNN may resemble a chain-like structure of RNN cells, with different types of RNNs containing different types of RNN cells. Similarly, the input sequence may be a time sequence, where the hidden cell states may contain different values ​​at different time points during the prediction or training process.For example, while a deep neural network might use different parameters in each hidden layer, a recurrent neural network might have common parameters in the recurrent neural network cell, which could be implemented over multiple time steps. To train a recurrent neural network, a supervised learning algorithm, such as backpropagation, can also be used. In some incarnations, backpropagation is a backpropagation through time (BPTT) algorithm. Similarly, a backpropagation through time algorithm might define gradients for updating different layers and hidden neurons within a recurrent neural network in the same way it is used to train different deep neural networks. The embodiments are considered using different types of recurrent neural networks. For example, classic recurrent neural networks, long short-term memory (LSTM) networks, gated recurrent unit (GRU), stacked long short-term memory (LSM) with multiple hidden LSM layers (i.e., each LSM layer contains multiple GRU cells), attentional recurrent neural networks (i.e., a machine learning model that focuses attention on specific elements in an input sequence), bidirectional recurrent neural networks (e.g., a machine learning model that can be trained in both directions of time simultaneously, with separate hidden layers, such as forward and backward layers), as well as multidimensional LSM networks and graph recurrent neural networks.Graph recurrent neural networks, grid recurrent neural networks, etc. Regarding long-short-term memory networks, a long-short-term memory cell may include different output lines carrying information vectors, for example, from the output of one long-short-term memory cell to the input of another. Thus, a long-short-term memory cell may include multiple hidden layers as well as different point operators performing calculations such as vector addition. In some incarnations, swarm learning methods are used to produce a hybrid-model architecture. For example, a swarm learning approach might use multiple types of machine learning models to achieve better predictive performance than is possible with a single machine learning model. In some incarnations, for example, a swarm architecture might combine multiple underlying models to produce a single machine learning model. One example of a swarm learning approach is BAGGing (i.e., a model that performs bootstrapping / agregation operations), which combines predictions from multiple neural networks to reduce the variance of a single trained neural network model. Another swarm learning approach involves stacking, which might involve fitting several different types of models to the same data and using another machine learning model to combine different predictions. Moving to random forests, a random forest model might combine the outputs of multiple decision trees to arrive at a single predicted outcome. For example, a random forest algorithm consists of a set of decision trees, where the training of the random forest model specifies three main hyperparameters: node size, the number of decision trees, and the number of input attributes sampled. During training, the random forest model might allow different decision trees to randomly sample a dataset with substitution (e.g., from a bootstrap sample) to produce multiple final decision trees in the trained model. For example, when multiple decision trees form a cluster in the random forest model, this cluster might determine more accurate predicted data, especially when the individual trees are uncorrelated. In some implementations, the random forest model implements a software algorithm that is an extension of the clustering method.For example, a random forest model might use both feature bagging and feature randomness to create an uncorrelated forest of decision trees. Feature bagging (also referred to as feature randomness) might generate a random subset of input features. This randomness could, therefore, lead to low correlation between decision trees in the random forest model. In training a random forest model, the training process might look for decision trees that provide the best partitioning of a given subset of data, such as through a Classification and Regression Tree (CART) algorithm. Various metrics, such as information gain or mean squared error (MSE), can be used to determine the quality of data partitioning. In line with random forests, a random forest model may be a classifier, using data with distinct labels or classes. Similarly, a random forest model can also be used as a random forest regressor to solve regression problems. Depending on the type of problem the random forest model addresses, the method of determining the expected data may vary. For a regression task, the average of individual decision trees may be calculated in the expected outcome. For a classification task, the majority vote (e.g., the most frequently occurring categorical variable) may determine the expected class. In a random forest regressor, the model may work with data that has numerical or continuous outputs, which cannot be defined by distinct classes. Figure 4 illustrates a flowchart according to one or more embodiments. Specifically, Figure 4 describes a general approach for a continuous monitoring and control automation system (e.g., the Continuous Monitoring and Control Automation System (200)). A continuous monitoring and control automation system can be versatile enough to suit a range of industries. One or more blocks in Figure 4 can be implemented by one or more components (e.g., the X Lubrication Control System (502)), as illustrated in Figures 2 and 3. While the various blocks in Figure 4 are presented and described sequentially, a layperson familiar with the field will recognize that some or all of the blocks may be implemented in a different order, may be combined or omitted, and some or all of the blocks may be implemented in parallel. Furthermore, the blocks may be implemented actively or passively. In Block 400, grease is stored in a grease tank. The grease tank includes a storage container for the grease. In Block 402, the grease volume in the grease tank and the pressure level are measured by a set of sensors. An environmental sensor can be used to detect leaks in a valve on the well. In Block 404, the lubrication control system is connected to the grease tank, sensors, and pump. The lubrication control system may include a computer processor connected to a remote terminal unit and a data acquisition and control unit. In Block 406, parameters including grease volume, valve lubrication status on the well, and valve operational efficiency are monitored. These parameters are monitored by the computer processor in the lubrication control system. The valve's valve-specific identification capability can be determined using the computer processor. Valve-specific identification capability includes valve location, type of incident, and operational efficiency status. In Block 408, parameters are entered into the AI ​​model via the computer processor. In Block 410, the pumping rate, pumping volume, and pumping schedule are determined. The pumping rate, volume, and schedule are determined based, at least in part, on the parameters. In Block 412, the lubrication and maintenance schedule is predicted. The lubrication and maintenance schedule is predicted using the computer processor and the AI ​​model. The AI ​​model may include a machine learning model. In Block 414, grease is pumped from the grease tank via the pump. The grease is pumped based, at least in part, on the lubrication and maintenance schedule. The lubrication and maintenance schedule includes a preset pressure level. In Block 416, the valve is lubricated at a preset pressure level via a pump. One or more Christmas tree valves and / or wellhead valves can be lubricated. In Block 418, an alert is sent to notify the user of the system status via an alarm system. System statuses include low grease level on the valve, operating status, alarm type, system malfunction, and low grease tank level. Maintenance can be performed on the automation system for continuous monitoring and control, and on any of its components, based on the system status. Maintenance may involve replacing or repairing a valve, pump, grease tank, and / or other components. Maintenance may also involve refilling the grease tank with grease. An alert may be sent, via the alarm system, to the lubrication control system regarding lubrication time or volume deviations. User participation can be facilitated through a community engagement platform integrated with the lubrication control system. Data logging and traceability can be secured through blockchain integration with the lubrication control system. The lubrication control system can be maintained and troubleshooted using augmented reality (ARS) support integrated into the system. The embodiments can be implemented on a computer system. Figure 5 is a block diagram of a (502) computer system used to provide computational functions associated with the algorithms, methods, functions, operations, flows, and procedures described in the present disclosure, according to the implementation. The computer described (502) is intended to contain any computing device, such as a high-performance computing (HPC) device, server, desktop computer, laptop / notebook computer, wireless data port, smartphone, personal data assistant (PDA), tablet computing device, one or more processors within these devices, or any other suitable processing device, including both physical and virtual (or both) states of the computing device.In addition, a (502) computer may include a computer that includes an input device, such as a keypad, keyboard, touch screen, or other device that can accept user information, and an output device that transmits information related to the operation of the (502) computer, including digital data, visual or audio information (or a combination of information), or a graphical user interface (GUI). The computer (502) can act as a client, network component, server, database, or any other component (or combination of roles) of the computer system to perform the task described in this disclosure. The computer described (502) is connected to a network (530). In some applications, one or more components of the computer (502) can be configured to operate within environments, including cloud-based, local, global, or other environments (or combinations of environments). At a high level, a 502 computer is an electronic computing device capable of receiving, transmitting, processing, storing, or managing data and information related to the described subject. Depending on the application, a 502 computer may also include, or be connected to, an application server, email server, web server, caching server, streaming data server, business intelligence (BI) server, or another server (or group of servers). A computer (502) can receive network (530) requests from a client application (for example, executing on another computer (502)) and respond to the received requests by processing them in an appropriate software application. Additionally, requests can also be sent to the computer (502) from internal users (for example, from a command console or through another suitable access method), external or third parties, other automated applications, and any other appropriate entities, individuals, systems, or computers. Each component of the computer (502) can communicate using the system bus (503). In some applications, any or all components of the computer (502), whether hardware or software (or a combination of hardware and software), may interact with each other or with the interface (504) (or a combination of both) over the system bus (503) using an application programming interface (API) (512) or a service layer (513) (or a combination of an API and a service layer). An API (512) may include specifications for routines, data structures, and target classes. An API (512) may be language-independent or dependent on the computer and may refer to a complete interface, a single function, or even a collection of APIs. The service layer (513) provides software services to the computer (502) or other components (whether described or not) that are connected to the computer (502). The computer's (502) functions may be available to all service consumers. They use this service layer.Software services, such as those provided by the Service Layer (513), offer specific, reusable business functionality through a defined interface. For example, the interface might be software written in Java, C++, or another suitable language that provides data in Extensible Markup Language (XML) or another suitable format. While described as an integrated component of the computer (502), alternative implementations might describe the API (512) or Service Layer (513) as components independent of other components of the computer (502) or other components (whether described or not) that are connected to the computer (502). Furthermore, any or all parts of the API (512) or Service Layer (513) may be implemented as modular submodules or submodules of another software module, enterprise application, or hardware module without falling outside the scope of this disclosure. Computer (502) includes an Interface (504). Although it is shown as a single Interface (504) in Figure 5, two or more Interfaces (504) may be used depending on the specific needs, preferences, or implementations of Computer (502). Computer (502) uses the Interface (504) to communicate with other systems in a distributed, networked environment (530). Generally, an Interface (I) consists of coded logic in software or hardware (or a combination of software and hardware) that is operational for communicating with the network (530). More specifically, an I / O may include software that supports one or more communication protocols associated with the network (530) or the hardware components of the Interface that are operational for communicating with physical signals inside and outside the computer shown (502). Computer (502) includes at least one computer processor (505). Although it is shown as a single computer processor (505) in Figure 5, two or more processors may be used depending on the specific needs, preferences, or implementation configurations of Computer (502). Generally, the computer processor (505) executes instructions and manipulates data to perform Computer (502) operations and any algorithms, methods, functions, processes, flows, or procedures as described in this disclosure. Computer (502) also includes memory (506) that holds data for Computer (502) or other components (or a combination of both) that can be connected to the network (530). For example, memory (506) could be a database that stores data compatible with this disclosure. Although illustrated as a single memory (506) in Figure 5, two or more memories can be used depending on specific needs, preferences, or implementations of Computer (502) and the described function. While memory (506) is shown as an integral component of Computer (502), in alternative implementations, memory (506) can be external to Computer (502). A 507 application is an algorithmic software engine that provides functionality according to specific needs, desires, or applications of a 502 computer, particularly with regard to the functions described in this disclosure. For example, a 507 application can operate as one or more components, modules, applications, etc. Furthermore, although described as a single 507 application, a 507 application may be implemented as multiple 507 applications on a 502 computer. Additionally, although described as an integral part of the 502 computer, in alternative implementations, a 507 application can be external to the 502 computer. There may be any number of 502 computers connected to or from a computer containing a 502 computer system, with each 502 computer communicating over the 530 network. Furthermore, the terms "client," "user," and other appropriate terms may be used interchangeably as appropriate without exceeding the scope of this disclosure. Moreover, this disclosure assumes that multiple users may use a single 502 computer, or that a single user may use multiple 502 computers. In some implementations, the 502 computer is implemented as part of a cloud computing system. For example, a cloud computing system might include one or more remote servers along with various other cloud components, such as cloud storage units and edge servers. Specifically, a cloud computing system might perform one or more computing operations without direct active management by a user device or local computer system. As such, a cloud computing system might have different functions distributed across multiple locations from a central server, which may be performed using one or more internet connections.Specifically, a cloud computing system may operate according to one or more service models, such as infrastructure as a service (IaaS), platform as a service (PaaS), software as a service (SaaS), mobile backend as a service (MBaaS), serverless computing, artificial intelligence (AI) as a service (AIaaS), and / or function as a service (FaaS). Although only a few of the illustrative representations are described in detail above, specialists in the field will readily recognize that many modifications are possible in illustrative representations without materially departing from this invention. Accordingly, all such modifications are assumed to be included within the scope of this disclosure as defined in the following elements of protection.

Claims

1- A system that includes: a milling assembly (41) comprising a mill bit (11) and a drill string (7) configured to drill a new wellbore section; and a whipstock assembly (57) comprising: a reamer (61) configured to widen the blockage in a wellbore (3), where the reamer (61) includes a mandrel (69) connected to a reamer shoe (73), the mandrel (69) being configured to rotate the reamer shoe (73); a whipstock (37) configured to deflect the drilling assembly (41) away from the wellbore (3); and a bypass valve mechanism (59) configured to control the flow of fluid through the system; The drilling assembly (41) is connected via fluid to the tilting wedge assembly (57).

2. The system, according to protection element 1, includes a bypass valve mechanism (59) consisting of: a gate (65); an inner spring (95); and a set of valve openings (63). The gate (65) is configured to close a set of valve openings (63) when a force is applied to the inner spring (95).

3. The system, according to protection element 1, also includes a whipstock assembly (57) consisting of a whipstock anchor (75); a whipstock packer (77); and an anchor connection (49) configured to connect the whipstock anchor (37) and the whipstock anchor (75).

4. The system, according to protection element 1, includes a bypass valve mechanism (59) and a reamer (61) aligned respectively on the same vertical axis (67). 5- The system according to protection element 1, where the milling assembly (41) is fixed with the tilting wedge assembly (57) by means of a shear connection (51).

6. The system, according to protection element 3, consists of a whipstock anchor (75) connected via fluid to a bypass valve mechanism (59).

7. The system, according to protection element 1, consists of a reamer shoe (73) rotated by a mandrel (69) in one direction.

8. The system, according to protection element 1, consists of a convex shape of the reamer shoe (73) designed to aid ledge-riding.

9. The system, according to protection element 7, consists of a mandrel (69) in the form of a double helical gear or a double herringbone gear.10- The system according to protection element 7, where the reamer (61) also includes: a spring (71); a set of screws (89) placed inside an inner casing (81) of the reamer (61), a set of screws (89) configured to rotate the mandrel (69) in response to the spring (71) moving the mandrel (69) axially inside the inner casing (81) of the reamer (61); and an outer casing (83) fixed to the end of the mandrel (69), the outer casing (83) configured to slide on the inner casing (81) in response to the mandrel (69) moving axially inside the inner casing (81).11- A method that includes: extending a whipstock assembly (57) fluidly connected to a milling assembly (41) inside a wellbore (3) to a required depth; widening, by means of a reamer (61) drill bit of the whipstock assembly (57), the obstruction in the wellbore (3); spring pressure (71) of the reamer drill bit (61) by means of a mandrel (69) drill bit (61) when a reamer shoe (73) of the reamer drill bit (61) comes into contact with the obstruction in the wellbore (3), which causes the mandrel (69) and the reamer shoe (73) to rotate to redimagine through the obstruction inside the wellbore (3); Control, by means of a bypass valve mechanism (59) of the tilt wedge assembly (57), of the fluid traveling through the tilt wedge assembly (57); deflection, by means of a tilt wedge (37) of the tilt wedge assembly (57), of the drilling assembly (41) away from the wellbore (3); and drilling, by means of a mill bit (11) of the drilling assembly (41), of a new wellbore section away from the wellbore (3).

12. The method, according to safeguard element 11, also includes the expansion of the reamer spring (71) of the reamer bit (61), resulting in the tilting wedge assembly (57) and the milling assembly (41) being raised in the wellbore (3), thereby moving the mandrel (69) of the wellbore in the reamer bit (61) and rotating the mandrel (69) and the reamer shoe (73).

13. The method, according to safeguard element 11, also includes the transfer of fluid from the surface of the wellbore (3) to the bypass valve mechanism (59) via the drill string (7) of the milling assembly (41).

14. The method, according to safeguard element 13, also includes pressure control in the bypass valve mechanism (59) via the control nozzle at variable pressure. 15- The method, according to protection element 14, also includes lowering the gate (65) to close a set of valve openings (63) for the bypass valve mechanism (59) when the fluid pressure reading is less than the specified requirements.16- The method, according to safeguard element 15, also involves creating a pressure reaction on the piston of the whipstock anchor (75) and the whipstock packer of the whipstock assembly (57) by closing the gate (65) of the bypass valve mechanism (59), thereby adjusting the whipstock assembly (57) in the wellbore (3). 17- The method, according to safeguard element 16, involves adjusting the whipstock assembly (57) by also securing the whipstock assembly (57) in the wellbore (3) using the whipstock anchor (75) and expanding the whipstock packer to prevent leakage in the wellbore (3). 18- The method, according to protection element 17, also includes drilling a new wellbore section after placing the whipstock assembly (57), separating the milling assembly (41) from the whipstock assembly (57), and deviating the milling assembly (41) from the deflection surface (39) of the whipstock (37).