Search

CN-116181320-B - Communication system and method for hooking measurement while drilling instrument with rotary guiding tool

CN116181320BCN 116181320 BCN116181320 BCN 116181320BCN-116181320-B

Abstract

The invention discloses a communication system for hooking a measurement while drilling instrument and a rotary guiding tool, which comprises a single bus, a plurality of hooking devices, a communication circuit and a communication system, wherein each hooking device is hooked on the single bus and is configured with corresponding priority identifiers, the communication circuit is connected with all the hooking devices through the single bus and is used for firstly setting corresponding identification attribute values for different priority identifiers and then communicating with the current hooking device according to a communication protocol matched with the hooking device with the identification attribute value being a first numerical value, and only one identification attribute value in all the priority identifiers is set to be the first numerical value at any moment. The invention solves the problem that the communication protocols of different instruments are not compatible, and reduces the difficulty of mutual hooking of the instruments.

Inventors

  • NI WEINING
  • ZHU ZUYANG
  • MI JINTAI
  • LI XIN
  • LI FENGBO
  • LI JIBO
  • CHEN XIAOHUI
  • WU FEI
  • HU YUEFA

Assignees

  • 中国石油化工股份有限公司
  • 中国石油化工股份有限公司石油工程技术研究院

Dates

Publication Date
20260505
Application Date
20211129

Claims (8)

  1. 1. A communication system for hooking a measurement while drilling instrument to a rotary steerable tool, comprising: A single bus; A plurality of hitching apparatuses, wherein each hitching apparatus is hitched on the single bus and is configured with a corresponding priority identifier, wherein hitching apparatuses having different communication protocols are set with different priority identifiers, and hitching apparatuses having the same communication protocol are set with the same priority identifiers, the hitching apparatus comprising a measurement while drilling instrument, a rotary steerable tool, a resistivity logging while drilling instrument, an acoustic logging while drilling instrument, a clock circuit, and a memory circuit, wherein the measurement while drilling instrument and the rotary steerable tool have the same highest priority identifier, and the priority identifiers of the resistivity logging while drilling instrument, the acoustic logging while drilling instrument, the clock circuit, and the memory circuit are sequentially stepped down based on priority levels of the highest priority identifiers; A communication circuit connected with all the hanging devices through the single bus, and used for setting corresponding identification attribute values for different priority identifiers, and then communicating with the current hanging device according to a communication protocol matched with the hanging device with the identification attribute value being a first numerical value, wherein only one identification attribute value in all the priority identifiers is set to the first numerical value at any moment, The communication circuit is further used for receiving the request instruction of the hitching device from the highest priority identifier, identifying the type of the request instruction, then sequentially communicating with each related hitching device according to the execution sequence of the hitching device related to the current task indicated in the task flow corresponding to the type of the current request instruction, thereby completing the task, wherein each request instruction corresponds to a request service, the execution sequence is that the hitching device related to the current task is arranged from high level to low level according to the set priority identifier, each request service corresponds to a corresponding service task flow, each service task flow is formed by a plurality of sub-steps arranged according to a certain execution sequence, The communication circuit is further configured to reconfigure a corresponding identifier attribute value for each hooking device after completing each sub-step in the task, and when reconfiguring the identifier attribute value, set the identifier attribute value of the next relevant hooking device indicated by the execution sequence to the first value, and set the identifier attribute values of the rest hooking devices to zero.
  2. 2. The communication system of claim 1, wherein, The request instruction is selected from one of a request while drilling measurement data instruction, a request while drilling sonic logging data instruction, a request resistivity data instruction, a request clock instruction, a request data storage instruction, and a request data query instruction.
  3. 3. The communication system of claim 2, wherein when the request instruction is a request for measurement while drilling data instruction, the communication circuit performs the measurement while drilling data request task as follows: setting a priority identifier attribute value of the rotary guiding tool to be the first numerical value, setting the identification attribute values of other hanging devices to be zero at the same time, and receiving the request instruction after communicating with the rotary guiding tool; Comparing and screening formats of current request instructions, and analyzing the request instructions by using the formats which are matched currently to identify that the types of the current request instructions are the request measurement while drilling data instructions, so that a sender and a receiver of the current instructions are determined; When the communication protocols of the sender and the receiver of the current request instruction are identified to be the same, the identification attribute values of the sender and the receiver are set to be the first numerical value at the same time, so that the rotary guiding tool and the measurement while drilling instrument communicate, the request instruction is received and identified from a single bus by the measurement while drilling instrument, and an information packet containing the measurement while drilling data is fed back to the rotary guiding tool through the single bus.
  4. 4. The communication system of claim 2, wherein when the request instruction is a request for sonic logging while drilling data instruction, the communication circuit performs the sonic logging while drilling data request task as follows: setting the identification attribute value of the measurement while drilling instrument to be the first numerical value, setting the identification attribute values of other hanging devices to be zero, and receiving the request instruction after communicating with the measurement while drilling instrument; Comparing and screening formats of current request instructions, and analyzing the request instructions by using the formats which are matched currently to identify that the types of the current request instructions are the request while drilling acoustic logging data instructions, so that a sender and a receiver of the current instructions are determined; Setting the identification attribute value of the acoustic logging while drilling instrument to the first numerical value, and setting the identification attribute values of the rest of the hitching equipment to zero; encoding the request while drilling acoustic logging data instruction according to a communication protocol matched with the while drilling acoustic logging instrument, and communicating with the while drilling acoustic logging instrument, so that the encoded request while drilling acoustic logging data instruction is sent to the while drilling acoustic logging instrument; Receiving an information packet which is sent by the acoustic logging while drilling instrument and contains acoustic logging while drilling data; Comparing and screening the formats of the current information packets, and analyzing the information packets by using the formats matched with the current information packets so as to obtain the acoustic logging while drilling data; setting the identification attribute value of the measurement while drilling instrument to be the first numerical value, setting the identification attribute values of the other hanging devices to be zero at the same time, and encoding the acoustic logging while drilling data according to a communication protocol matched with the measurement while drilling instrument, so that after communication with the measurement while drilling instrument, the encoded acoustic logging while drilling data are fed back to the measurement while drilling instrument.
  5. 5. The communication system according to claim 2, wherein when the request instruction is a request clock instruction, the communication circuit performs a clock request task as follows: Setting the identification attribute value of the measurement while drilling instrument to be the first numerical value, and setting the identification attribute values of the rest hanging devices to be zero at the same time; communicating with the measurement while drilling instrument and receiving the request instruction; comparing and screening formats of current request instructions, and analyzing the request instructions by using the formats which are matched currently to identify the types of the current request instructions as the request clock instructions, so as to determine a sender and a receiver of the current instructions; Setting the identification attribute value of the clock circuit to the first value, and setting the identification attribute values of the rest hanging devices to zero at the same time; Encoding the request clock instruction according to a communication protocol matched with the clock circuit so as to communicate with the clock circuit, and transmitting the encoded request clock instruction to the clock circuit; receiving an information packet which is sent by the clock circuit and contains clock information; Comparing and screening the formats of the current information packets, and analyzing the information packets by using the formats matched with the current information packets so as to obtain the clock information; Setting the identification attribute value of the memory circuit to be the first numerical value, setting the identification attribute values of the rest of the hanging devices to be zero at the same time, and encoding the clock information according to a communication protocol matched with the memory circuit, so that the encoded clock information is sent to the memory circuit after communication with the memory circuit; setting the identification attribute value of the measurement while drilling instrument to be the first numerical value, setting the identification attribute values of the other hanging devices to be zero, and encoding the clock information according to a communication protocol matched with the measurement while drilling instrument, so that the encoded clock information is fed back to the measurement while drilling instrument after communication with the measurement while drilling instrument.
  6. 6. The communication system of claim 3 or 4, wherein after obtaining the measurement while drilling data or the sonic logging while drilling data from the feedback from the instruction receiver, the communication circuit further performs the current task of feeding back the measurement while drilling data or the sonic logging while drilling data to the instruction sender as follows: The method comprises the steps of communicating with the clock circuit, and obtaining an information packet which is sent by the clock circuit and contains clock information, so that the clock information is obtained after the current information packet is analyzed; And the memory circuit is communicated with, and information to be stored including the clock information and the measurement while drilling data or information to be stored including the clock information and the acoustic logging while drilling data is sent to the memory circuit.
  7. 7. The communication system of any of claims 1-5, further comprising a first power source, wherein the first power source powers the single bus through an isolated inductor.
  8. 8. A communication method for hooking a measurement while drilling instrument to a rotary steerable tool, characterized in that it is implemented by a communication system according to any of claims 1-7, comprising: all the plurality of kinds of hanging devices are hung on a single bus, and corresponding priority identifiers are configured for each hanging device, wherein different priority identifiers are set for the hanging devices with different communication protocols, and the same priority identifier is set for the hanging devices with the same communication protocol; Setting corresponding identification attribute values for different priority identifiers by a communication circuit connected with all hanging devices through the single bus, and then communicating with the current hanging device according to a communication protocol matched with the hanging device with the identification attribute value being a first numerical value, wherein only one identification attribute value in all the priority identifiers is set to the first numerical value at any moment.

Description

Communication system and method for hooking measurement while drilling instrument with rotary guiding tool Technical Field The invention relates to the technical field of logging while drilling, in particular to a communication system and a method for hooking a measurement while drilling instrument and a rotary guiding tool. Background Logging while drilling technology and rotary steering are key cores of modern well drilling and completion technology, the former is used for acquiring geophysical properties of underground rock and fluid in real time, and the latter is used for accurately controlling a drill bit to complete a complex three-dimensional borehole trajectory, and is a key technology for developing underground complex oil and gas resources. The logging while drilling technology mainly comprises the types of logging while drilling, electricity, nuclear logging and the like, and is carried out under the condition that the stratum is just drilled and mud invasion begins to occur, and the obtained data is a stratum parameter true value, so that the undisturbed stratum information can be reflected more truly. The rotary steering technology can replace the traditional mud motor and elbow joint, can rotate the directional well in the whole well section, has good effect of adjusting and controlling the track of the well bore, has high well bore quality and high drilling speed, has good well bore cleaning, and reduces the engineering risk of directional drilling. In the practical application process, the logging while drilling instrument and the rotary guiding tool are matched for use, a closed loop control system can be established in the drilling process, when the well track deviates from a target stratum, the logging while drilling instrument can timely measure information of the stratum to be drilled, analysis is carried out on the stratum information, analysis results are fed back to the rotary guiding tool, and then the rotary guiding tool timely controls the deflecting angle and deflecting direction to control the drill bit to reenter the target stratum. With the development of the rotary guiding tool and the logging while drilling instrument, the phenomena of various instrument types and instrument upgrading appear, the rotary guiding tool and the logging while drilling instrument are respectively self-organized, and both parties have own communication protocols and a set of complex ground debugging systems, so that the matched use is difficult. In view of the foregoing, there is a need in the art to provide a solution that can improve the efficiency of the hitching of a logging while drilling tool and a rotary steerable tool, so as to solve one or more of the above-mentioned problems. Disclosure of Invention In order to solve the technical problems, the invention provides a communication system for hooking a measurement while drilling instrument and a rotary guiding tool, which comprises a single bus, a plurality of hooking devices, a communication circuit and a communication circuit, wherein each hooking device is hooked on the single bus and is provided with corresponding priority identifiers, the hooking devices with different communication protocols are provided with different priority identifiers, the hooking devices with the same communication protocol are provided with the same priority identifiers, the communication circuit is connected with all the hooking devices through the single bus and is used for firstly setting corresponding identification attribute values for the different priority identifiers, and then communicating with the current hooking device according to a communication protocol matched with the hooking device with the identification attribute value being a first numerical value, and only one identification attribute value in all the priority identifiers is set to the first numerical value at any moment. Preferably, the hitching apparatus comprises a measurement while drilling instrument, a rotary steerable tool, a resistivity logging while drilling instrument, an acoustic logging while drilling instrument, a clock circuit and a memory circuit, wherein the measurement while drilling instrument and the rotary steerable tool have the same highest priority identifier, and the priority identifiers of the resistivity logging while drilling instrument, the acoustic logging while drilling instrument, the clock circuit and the memory circuit are sequentially stepped down based on priority levels of the highest priority identifiers. Preferably, the communication circuit is further configured to receive a request instruction from a hitching device with a highest priority identifier, identify a type of the request instruction, and sequentially communicate with each related hitching device according to an execution sequence of the hitching device related to a current task indicated in a task flow corresponding to the type of the current request instruction, thereby completing the task