Method and system for transmitting back real-time data of power tong torque monitor
Through the federated learning architecture in the oilfield drilling platform, the real-time data return method and system of the power clamp torque monitor solves the problems of data privacy protection and transmission efficiency, achieves efficient data integration and model training, and improves model performance and Effect.
Patent Information
- Application Number
- CN202410828692.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-01
AI Technical Summary
The existing real-time data return method and system of power tong torque monitors in oilfield drilling platforms cannot effectively protect data privacy, and the data transmission efficiency and utilization rate are insufficient, staying at the level of abnormal torque alarm and recording, and cannot meet the requirements of efficient transmission and Requirements for multi-party data federation.
Using the client/server architecture of the federated learning architecture, data is transmitted through the ModBusTCP protocol between the driller pilot and the torque monitor to capture knowledge modalities and early warnings. The federated learning scenario is used to optimize the data structure and transmission frequency to achieve data Integration and model training to build a more accurate global model.
Through the federated learning architecture, data privacy protection and efficient data transmission are achieved, model performance and effects are improved, data transmission volume is saved, and real-time data sampling and model updates are supported, making it suitable for power tong torque monitoring on oilfield drilling platforms.
Smart Images

Figure CN118740903A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oilfield drilling platform information data security, and in particular to a real-time data feedback method and system for a power clamp torque monitor. Background Art
[0002] The three types of power tongs commonly used in oilfield wells today (drill pipe power tongs, casing power tongs, and tubing power tongs) are used for drill pipes, casings, and tubings respectively. Real-time data from torque monitors is usually an important source of information for oilfield information data. Currently, communication technologies for efficient transmission, encryption technologies for privacy protection, and data knowledge modal mining have not been effectively adopted.
[0003] At present, it is still at the level of abnormal torque alarm, make-up torque record, make-up lap record, other data monitoring and real-time alarm; through Ethernet and adding wifi module, using aviation-level plug-in connection, 20 to 60 seconds to transmit 15 parameters to meet the calculation and warning requirements, the data transmission volume is large.
[0004] How to optimize the real-time data feedback method and system of the power clamp torque monitor? The privacy of each party cannot be well protected when the data is combined between various institutions. How to effectively transmit and utilize large amounts of data are issues that need to be addressed.
[0005] Based on this, the present invention designs a real-time data feedback method and system for a power clamp torque monitor to solve the above problems. Summary of the invention
[0006] The object of the present invention is to provide a real-time data feedback method and system for a power tongs torque monitor to solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solution: a real-time data feedback method for a power clamp torque monitor, comprising:
[0008] Server and feature module, the server sends features and weights through the feature module in each action cycle according to the system agreement;
[0009] Aggregation module, through which real-time features and weight decomposition are performed and sent to the client, wherein the client includes a torque monitor module and a reference knowledge subset module for a client subset;
[0010] Among them, by adopting the client / server architecture for the federated learning scenario of joint multi-users, the torque monitor module and the reference knowledge subset module perform analysis and calculation through local information p, weight w and feature fea;
[0011] Each gives an updated weight w and feature fea and uploads them to the feature module to form new knowledge, which is fed back to the server and the global feature feedback module is updated at the same time.
[0012] According to another preferred embodiment of the present invention, the server is a driller pilot, and the torque monitor is equipped with an Ethernet communication module and / or a 5.8GWIFI communication module. The torque monitor can be connected to the driller pilot via an Ethernet port; or a fixed IP address and port can be used to automatically connect to the well site 5.8GWIFI and then connect to the driller pilot.
[0013] According to another preferred embodiment of the present invention, the data transmission and command issuance between the driller pilot and the torque monitor use the ModBusTCP protocol.
[0014] According to another preferred embodiment of the present invention, in a federated learning scenario, knowledge modality capture and early warning are performed on alarm thresholds, drill tool specifications, optimal torque and joint number parameters to save data transmission volume and optimize the transmission data structure.
[0015] According to another preferred embodiment of the present invention, the torque monitor data sampling frequency is not less than 20 times per second, and the federated learning process is started when there are no less than two participants' data.
[0016] According to another preferred embodiment of the present invention, before officially starting the training, the driller-navigator first distributes the initial model to each participant, and then each participant trains the obtained model according to the local data set; then, each participant encrypts the model parameters obtained from the local training and uploads them to the driller-navigator, the driller-navigator aggregates all the model data, and then encrypts the aggregated global model parameters and transmits them back to each participant.
[0017] According to another preferred embodiment of the present invention, the torque monitor is mainly used for abnormal torque alarm, covering the make-up torque record and the make-up circle number record; the collected data includes but is not limited to the joint number, real-time torque, minimum torque, optimal torque, maximum torque, make-up time, low-speed gear, and high-speed gear data as the data source, and the data is integrated through the federated learning architecture, starting from the effective knowledge mode, the elements are selected, and the local data is reused between the driller pilot and the torque monitor for model training, and the results are returned to the coordinator; the coordinator summarizes the models of each participant to build a more accurate global model.
[0018] In order to achieve at least one of the above-mentioned invention purposes, the present invention further provides a real-time data feedback system for a power clamp torque monitor, wherein the system executes the above-mentioned real-time data feedback method for a power clamp torque monitor.
[0019] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned method for real-time data feedback of a power clamp torque monitor.
[0020] Compared with the prior art, the beneficial effects of the present invention are as follows: the power clamp torque monitor based on the federated learning architecture of the present invention adopts the hardware architecture and software system of the real-time data feedback method and system, and adopts a client / server architecture for the federated learning scenario of multiple users. The driller's pilot instrument serves as the server and plays the role of coordinating the global model; the torque monitor serves as the client and performs knowledge modal capture and early warning for parameters such as alarm thresholds, drill tool specifications, optimal torque and joint numbers, etc., thereby saving data transmission volume; the transmission data structure is optimized, and the data sampling frequency of the torque monitor is not less than 20 times / second.
[0021] Data is integrated through a federated learning architecture, starting from effective knowledge modalities, factors are selected, and local data is reused between the navigator and the torque monitor for model training, and the results are returned to the coordinator; the coordinator aggregates the models of each participant to build a more accurate global model to improve the overall model performance and effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0023] Figure 1 The present invention is a schematic flow chart of a method for real-time data feedback of a power clamp torque monitor.
[0024] In the accompanying drawings, the components represented by the reference numerals are listed as follows:
[0025] 1: Server; 2: Feature module; 3: Global feature feedback module; 4: Client subset module; 5: Reference knowledge subset module; 6: Reference feature module; 7: Action module; 8: Feature data module; 9: Torque monitor monitoring system module; 10: Torque monitor feature data module. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] See also Figure 1 , the present invention provides a technical solution:
[0028] The server 1 (driller pilot or other host computer) sends features and weights through the feature module 2 in each action cycle according to the system agreement; the real-time features and weights are decomposed through the aggregation module 7 and sent to the client (torque monitor module 9 and reference knowledge subset module 5 of the client subset 4); the torque monitor module 9 and the reference knowledge subset module 5 perform analysis and calculation through the local information p, the weight w and the feature fea; each gives an updated weight w and feature fea and uploads it to the feature module 2 to form new knowledge, which is fed back to the server 1 (driller pilot or other host computer), and the global feature feedback module 3 is updated at the same time.
[0029] In terms of hardware system, the torque monitor is equipped with Ethernet communication module and 5.8GWIFI communication module. The torque monitor can connect to the driller pilot through the Ethernet port, or automatically connect to the well site 5.8GWIFI and then connect to the driller pilot, using a fixed IP address and port. The ModBusTCP protocol is used for data transmission and command issuance between the driller pilot and the torque monitor. At the software level, through the federated learning scenario for joint multiple users, the client / server architecture is adopted. The driller pilot acts as a server and plays the role of coordinating the global model. As a client, the torque monitor performs knowledge mode capture and early warning for parameters such as alarm thresholds, drilling tool specifications, optimal torque and joint numbers, saving data transmission volume; optimizing the transmission data structure, the torque monitor data sampling frequency is not less than 20 times / second.
[0030] As a distributed machine learning framework, the federated learning architecture aims to solve the problems of data privacy and security protection in traditional machine learning. The following is a clear point-by-point representation and summary of the federated learning architecture:
[0031] The federated learning architecture allows different data owners to build a virtual shared model without exchanging data with each other. The effect of this model is equivalent to the optimal model established by all parties aggregating data together, but the data itself does not move, and it does not leak user privacy or affect data specifications.
[0032] The core components are 1) Participants: Each data owner is a participant who owns a local dataset and trains the model locally, and 2) Central Server: Responsible for collecting model update parameters from all participants, performing aggregation processing, and sending the global model back to each participant.
[0033] Main steps
[0034] 1. Initialization: Participants initialize the local model, which can be a brand new model or a pre-trained model obtained from elsewhere.
[0035] 2. Local training: Each participant uses a local dataset to train a local model. This process can use traditional machine learning algorithms or deep learning algorithms.
[0036] 3. Local update: After training is completed, participants send the updated model parameters (such as gradients, weights, etc.) to the central server.
[0037] 4. Aggregation: The central server collects the model parameters of all participants and performs aggregation processing to obtain a global model.
[0038] 5. Model update: The central server sends the aggregated global model back to each participant as the initial model for the next round of local training.
[0039] 6. Repeat: The above steps are repeated until the global model converges or the predetermined number of iterations is reached.
[0040] The federated learning architecture is suitable for scenarios where data privacy and security need to be protected, such as finance, healthcare, the Internet of Things, etc. Through federated learning, different organizations can collaborate on model training without sharing original data, achieving a win-win situation of data sharing and privacy protection.
[0041] Federated learning, as a new way of artificial intelligence, can resolve the difficulties faced by the development of big data. The real-time data feedback method and system of the power clamp torque monitor are designed through the federated learning architecture. This not only promotes the development of torque monitor related technologies and equipment upgrades, but also drives the development of new technologies and theories in the field of oilfield drilling platform informatization.
[0042] In the present invention, when there are no less than two data of the participants, the federated learning process is started. Before the formal training begins, the driller pilot (central server) first distributes the initial model to each participant, and then each participant trains the obtained model according to the local data set. Then, each participant encrypts the model parameters obtained by local training and uploads them to the central server. The central server aggregates all model data, and then encrypts the aggregated global model parameters and transmits them back to each participant. The power clamp torque monitor is mainly used for abnormal torque alarms, covering the make-up torque record and the make-up circle record. The equipment collects 15 data such as joint number, real-time torque, minimum torque, optimal torque, maximum torque, make-up time, low-speed gear, and high-speed gear as data sources, integrates data through the federated learning architecture, selects elements based on effective knowledge modes, and performs secondary use of local data between the pilot and the torque monitor for model training, and returns the results to the coordinator; the coordinator summarizes the models of each participant and builds a more accurate global model to improve the overall model performance and effect.
[0043] In specific applications, the optimal torque and auxiliary boost linkage mechanism of toothless power tongs and the replacement of toothless clamping contact surface materials of power tong jaws are taken as examples; the conventional optimal torque friction state is set as 1; the critical optimal torque friction state is 2; the slip torque friction state is 3 characteristic values; the weight is based on the number of adjacent slip detection operation objects as data, within the number of adjacent roots within 10, the weight is 1, and within 10 roots from the slip boundary, the weight is 1*(10-number of roots) / 10*100%; the torque monitor is characterized by (real-time torque-optimal torque); the conventional torque difference feature is set as 1; the critical allowable torque difference feature is 2; the slip torque difference feature is 3; each feature weight is calculated by real-time error / maximum theoretical deviation*100%. The two are fed back through real-time data calculation and fusion to determine the execution of the auxiliary boost auxiliary action of the power tongs in drilling operations and the replacement of the toothless clamping friction contact surface materials of the power tong jaws.
[0044] This is usually the case:
[0045] 1. The server sends feature and weight information to the lower computer during the operation cycle. After confirmation by the torque monitor and the casing friction knowledge subset, the current state is the conventional optimal torque friction state and the conventional torque difference feature;
[0046] 2. When the torque monitor feedback data reaches the critical allowable torque difference characteristic data, the data of the reference survey geological structure subset is monitored. If it is the slipping optimal torque friction state, the torque monitor operation data knowledge and weight can be continuously determined to update the global quantity to decide whether to start auxiliary boost; when it is the normal optimal torque friction state, when the torque monitor feedback again feeds back the normal torque difference characteristic weight, the boost device is canceled.
[0047] 3. When monitoring the slip torque difference feature, the torque monitor torque friction state knowledge and weight can be continuously determined to update the global quantity to decide whether to replace the power clamp contact surface material; when the torque monitor feedback is at the critical allowable torque difference feature weight in the boundary geological domain, the boost assist can be used continuously. Until the torque monitor feedback is at the slip torque difference feature and slip torque friction state, the power clamp jaws clamp contact surface material without tooth marks is replaced.
[0048] The embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. The embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, electrical wire, optical cable, RF, etc., or any suitable combination of the foregoing.
[0049] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0050] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments. Without departing from the principles, the implementation methods of the present invention may be deformed or modified in any way.
Claims
1. A real-time data transmission method for a power clamp torque monitor, characterized in that: include: The server (1) and the feature module (2), the server (1) sends the features and weights through the feature module (2) in each action cycle according to the system agreement; An aggregation module (7) performs real-time feature and weight decomposition and transmits it to a client through the aggregation module (7), wherein the client includes a torque monitoring module (9) and a reference knowledge subset module (5) for the client subset (4); Among them, by adopting a client / server architecture for a federated learning scenario of multiple users, the torque monitor module (9) and the reference knowledge subset module (5) perform analysis and calculation through local information p, weight w and feature fea; The updated weight w and feature fea are uploaded to the feature module (2) to form new knowledge, which is fed back to the server (1) and the global feature feedback module (3) is updated at the same time.
2. A method for real-time data transmission of a power clamp torque monitor according to claim 1, characterized in that: The server (1) is a driller pilot instrument, and the torque monitor is provided with an Ethernet communication module and / or a 5.8G WIFI communication module. The torque monitor can be connected to the driller pilot instrument via an Ethernet port; or it can use a fixed IP address and port to automatically connect to the well site 5.8G WIFI and then connect to the driller pilot instrument.
3. A method for real-time data transmission of a power clamp torque monitor according to claim 2, characterized in that: The data transmission and command sending between the driller pilot and the torque monitor use the ModBusTCP protocol.
4. A real-time data transmission method for a power clamp torque monitor according to claim 2, characterized in that: In the federated learning scenario, knowledge modality capture and early warning are performed for alarm thresholds, drill tool specifications, optimal torque, and joint number parameters to save data transmission and optimize the transmission data structure.
5. A method for real-time data transmission of a power tongs torque monitor according to claim 4, characterized in that: The torque monitor data sampling frequency is not less than 20 times / second. When there are no less than two participants’ data, the federated learning process is started.
6. A method for real-time data transmission of a power tongs torque monitor according to claim 5, characterized in that: Before officially starting the training, the driller pilot will first distribute the initial model to each participant, and then each participant will train the obtained model according to the local data set; then, each participant will encrypt the model parameters obtained from the local training and upload them to the driller pilot. The driller pilot will aggregate all the model data and then encrypt the aggregated global model parameters and return them to each participant.
7. A method for real-time data transmission of a power clamp torque monitor according to claim 6, characterized in that: The torque monitor is mainly used for abnormal torque alarm, covering the make-up torque record and make-up circle record; the collected data includes but is not limited to the joint number, real-time torque, minimum torque, optimal torque, maximum torque, make-up time, low-speed gear, and high-speed gear data as the data source, and integrates the data through the federated learning architecture. Starting from the effective knowledge mode, elements are selected, and local data is used for model training between the driller pilot and the torque monitor for secondary use, and the results are returned to the coordinator; the coordinator summarizes the models of each participant to build a more accurate global model.
8. A real-time data feedback system for a power clamp torque monitor, characterized in that: The system executes a real-time data feedback method for a power clamp torque monitor as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement a real-time data feedback method for a power clamp torque monitor as described in any one of claims 1 to 7.
