Communication system and method for connecting measurement-while-drilling instrument and rotary steerable tool

By configuring priority identifiers and identification attribute values ​​in a single-bus communication system, the incompatibility problem between the communication protocols of logging-while-drilling instruments and rotary steerable tools was solved, enabling efficient interconnection and interoperability between different types of instruments and improving drilling efficiency and wellbore control accuracy.

CN116181320BActive Publication Date: 2026-05-05CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA PETROLEUM & CHEMICAL CORP
Filing Date
2021-11-29
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Incompatibility in communication protocols between logging-while-drilling instruments and rotary steerable tools makes it difficult to use them together and reduces the efficiency of instrument connection.

Method used

A single-bus communication system is adopted, and priority identifiers and identification attribute values ​​are configured for different connected devices through the communication circuit module to achieve compatibility of multiple communication protocols. The communication circuit module is used as an intermediate medium for information transmission.

Benefits of technology

It solves the problem of incompatibility of communication protocols between different types of instruments, improves the interoperability efficiency of logging-while-drilling instruments and rotary steering tools, reduces the difficulty of connecting instruments to each other, and improves the accuracy of drilling speed and wellbore trajectory control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116181320B_ABST
    Figure CN116181320B_ABST
Patent Text Reader

Abstract

This invention discloses a communication system for connecting a measurement-while-drilling (MWD) instrument to a rotary steerable tool (DSP), comprising: a single bus; multiple connection devices, each connected to the single bus and configured with a corresponding priority identifier; and a communication circuit connected to all connection devices via the single bus. This circuit first sets corresponding identification attribute values ​​for different priority identifiers, and then communicates with the current connection device according to a communication protocol matching the connection device with the first identification attribute value. At any given time, only one identification attribute value among all priority identifiers is set to the first value. This invention solves the problem of incompatibility in communication protocols between different types of instruments and reduces the difficulty of connecting instruments to each other.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of logging while drilling technology, and more specifically, to a communication system and method for connecting a logging while drilling instrument and a rotary steerable tool. Background Technology

[0002] Logging while drilling (LOW) and rotary steerable drilling are key technologies in modern drilling and completion. LOW is used to acquire real-time geophysical properties of downhole rocks and fluids, while rotary steerable drilling is used to precisely control the drill bit to complete complex three-dimensional wellbore trajectories, making it a crucial technology for developing complex underground oil and gas resources. LOW technology mainly includes acoustic, electrical, and nuclear logging, and is conducted immediately after drilling through the formation, when mud invasion begins. The data obtained are true values ​​of formation parameters, providing a more accurate reflection of the original formation information. Rotary steerable drilling technology can replace traditional mud motors and elbows, enabling directional drilling throughout the entire wellbore. It offers excellent adjustment and control of the wellbore trajectory, resulting in high wellbore quality, fast drilling speed, and a cleaner wellbore, thus reducing the engineering risks of directional drilling.

[0003] In practical applications, logging-while-drilling instruments and rotary steerable tools are used together to establish a closed-loop control system during drilling. When the wellbore trajectory deviates from the target formation, the logging-while-drilling instrument will promptly measure the information of the drilled formation, analyze the formation information, and feed the analysis results back to the rotary steerable tool. Then, the rotary steerable tool will promptly control the build-up angle and build-up direction to control the drill bit to re-enter the target formation.

[0004] With the development of rotary steerable tools and logging-while-drilling instruments, a wide variety of instruments and instrument upgrades have emerged. Rotary steerable tools and logging-while-drilling instruments each form their own system, with their own communication protocols and complex ground debugging systems, making it difficult to use them together.

[0005] In summary, the existing technology needs to provide a solution that can improve the connection efficiency between logging-while-drilling instruments and rotary steerable tools in order to solve one or more of the above-mentioned technical problems. Summary of the Invention

[0006] To address the aforementioned technical problems, this invention provides a communication system for connecting a measurement-while-drilling (MWD) instrument to a rotary steerable tool (DSP), comprising: a single bus; multiple connection devices, each connected to the single bus and configured with a corresponding priority identifier, wherein connection devices with different communication protocols are assigned different priority identifiers, and connection devices with the same communication protocol are assigned the same priority identifier; and a communication circuit connected to all connection devices via the single bus, used to first set corresponding identification attribute values ​​for different priority identifiers, and then communicate with the current connection device according to a communication protocol matching the connection device whose identification attribute value is a first value, wherein at any given time, only one of the priority identifiers has an identification attribute value set to the first value.

[0007] Preferably, the mounting equipment includes a measurement-while-drilling (MWD) instrument, a rotary steerable tool, a logging-while-drilling (LWD) resistivity instrument, a logging-while-drilling (LDD) sonic logging instrument, a clock circuit, and a memory circuit. The MWD instrument and the rotary steerable tool have the same highest priority identifier, and the priority identifiers of the LWD resistivity instrument, the LWD sonic logging instrument, the clock circuit, and the memory circuit decrease sequentially based on the highest priority identifier.

[0008] Preferably, the communication circuit is further configured to receive a request instruction from the highest priority identifier of the attachment device, identify the type of the request instruction, and then communicate with each relevant attachment device sequentially according to the execution order of the attachment devices related to the current task as indicated in the task flow corresponding to the current request instruction type, thereby completing the task. The execution order is to arrange the attachment devices related to the current task from high to low according to the set priority identifier, and the request instruction is selected from one of the following: request for measurement while drilling data instruction, request for sonic logging data instruction, request for resistivity data instruction, request for clock instruction, request for data storage instruction, and request for data query instruction.

[0009] Preferably, the communication circuit is further configured to reconfigure the corresponding identification attribute values ​​for each connected device after each sub-step of the task is completed.

[0010] Preferably, the communication circuit is further configured to, after completing each sub-step of the task, set the identification attribute value of the next relevant connected device indicated by the execution sequence to the first value, and set the identification attribute values ​​of the remaining connected devices to zero.

[0011] Preferably, when the request instruction is a request for measurement-while-drilling (MWD) data instruction, the communication circuit performs the MWD data request task according to the following steps: setting the priority identifier attribute value of the rotary steerable tool to the first value, while setting the identifier attribute values ​​of the other connected devices to zero, and receiving the request instruction after communicating with the rotary steerable tool; comparing and screening the format of the current request instruction, and parsing the request instruction using the currently matching format to identify that the current request instruction type is the request for MWD data instruction, thereby determining the sender and receiver of the current instruction; when it is identified that the communication protocols of the sender and receiver of the current request instruction are the same, setting the identifier attribute values ​​of the current sender and receiver to the first value simultaneously, so that the rotary steerable tool and the MWD instrument can communicate, so that the MWD instrument can receive and identify the request instruction from the single bus, and feed back the information packet containing MWD data to the rotary steerable tool through the single bus.

[0012] Preferably, when the request instruction is a request for logging-while-drilling (LWD) acoustic data, the communication circuit executes the LWD acoustic data request task according to the following steps: setting the identification attribute value of the LWD instrument to the first value, while setting the identification attribute values ​​of the other connected devices to zero, and receiving the request instruction after communicating with the LWD instrument; comparing and screening the format of the current request instruction, and parsing the request instruction using the currently matching format to identify that the current request instruction type is the request for logging-while-drilling (LWD) acoustic data instruction, thereby determining the sender and receiver of the current instruction; setting the identification attribute value of the LWD acoustic logging instrument to the first value, while setting the identification attribute values ​​of the other connected devices to zero; and processing the LWD acoustic data according to the communication protocol matching the LWD acoustic logging instrument. The request for sonic logging data while drilling is encoded and communicated with the sonic logging instrument while drilling, thereby sending the encoded request for sonic logging data while drilling to the sonic logging instrument while drilling; receiving an information packet containing sonic logging data while drilling from the sonic logging instrument while drilling; comparing and screening the format of the current information packet, and parsing the information packet using the currently matching format to obtain the sonic logging data while drilling; setting the identification attribute value of the measurement while drilling instrument to the first value, while setting the identification attribute values ​​of the other connected devices to zero, and encoding the sonic logging data while drilling according to the communication protocol matching the measurement while drilling instrument, thereby feeding back the encoded sonic logging data while drilling to the measurement while drilling instrument after communicating with it.

[0013] Preferably, when the request instruction is a clock request instruction, the communication circuit performs the clock request task according to the following steps: setting the identification attribute value of the logging-while-drilling instrument to the first value, while setting the identification attribute values ​​of the other connected devices to zero; communicating with the logging-while-drilling instrument to receive the request instruction; comparing and screening the format of the current request instruction, and parsing the request instruction using the currently matching format to identify that the current request instruction type is the clock request instruction, thereby determining the sender and receiver of the current instruction; setting the identification attribute value of the clock circuit to the first value, while setting the identification attribute values ​​of the other connected devices to zero; encoding the clock request instruction according to a communication protocol matching the clock circuit, thereby communicating with the clock circuit, and sending the encoded clock request instruction to the clock circuit; receiving the incoming... The clock circuit sends a data packet containing clock information; the format of the current data packet is compared and screened, and the data packet is parsed using the currently matching format to obtain the clock information; the identification attribute value of the memory circuit is set to the first value, while the identification attribute values ​​of the other connected devices are set to zero, and the clock information is encoded according to a communication protocol matching the memory circuit, so that after communicating with the memory circuit, the encoded clock information is sent to the memory circuit; the logging-while-drilling instrument's identification attribute value is set to the first value, while the identification attribute values ​​of the other connected devices are set to zero, and the clock information is encoded according to a communication protocol matching the logging-while-drilling instrument, so that after communicating with the logging-while-drilling instrument, the encoded clock information is fed back to the logging-while-drilling instrument.

[0014] Preferably, after obtaining the measurement-while-drilling data or the sonic logging-while-drilling data fed back from the instruction receiver, the communication circuit will also perform the current task according to the following steps to feed back the measurement-while-drilling data or the sonic logging-while-drilling data to the instruction sender: communicate with the clock circuit and obtain an information packet containing clock information sent by the clock circuit, thereby obtaining the clock information after parsing the current information packet; communicate with the memory circuit and send the information to be stored, including the clock information and the measurement-while-drilling data, or the information to be stored, including the clock information and the sonic logging-while-drilling data, to the memory circuit.

[0015] Preferably, the communication system further includes a first power supply, wherein the first power supply supplies power to the single bus through an isolation inductor.

[0016] On the other hand, the present invention also provides a communication method for connecting a measurement-while-drilling instrument (MSD) and a rotary steerable tool (DSP). The communication method is implemented through the communication system described above. The communication method includes: connecting multiple connection devices to a single bus and configuring a corresponding priority identifier for each connection device; setting different priority identifiers for connection devices with different communication protocols and setting the same priority identifier for connection devices with the same communication protocol; setting corresponding identifier attribute values ​​for different priority identifiers by a communication circuit connected to all connection devices via the single bus; and communicating with the current connection device according to a communication protocol matching the connection device with the identifier attribute value of a first value; wherein at any given time, only one identifier attribute value among all priority identifiers is set to the first value.

[0017] Compared with the prior art, one or more embodiments of the above solutions may have the following advantages or beneficial effects:

[0018] This invention discloses a communication system and method for connecting a logging-while-drilling (LWD) instrument to a rotary steerable tool (SWP). The system and method include a single bus and a communication circuit module supporting multiple communication protocols. The single bus connects not only the LWD instrument and the SWP, but also an RTC clock circuit module and a large-capacity data storage circuit module. The LWD instrument and the SWP can request time information, data storage, and data query services from the single bus circuit. These instruments, tools, and circuit modules use different communication protocols and cannot communicate directly. This invention utilizes the multi-protocol support of the communication circuit module to communicate with any instrument, tool, or circuit module on the single bus, thus avoiding conflicts caused by multiple communication protocols on the single bus. In this way, this invention solves the problem of incompatibility between communication protocols of different types of instruments through the communication circuit connected to the single bus, reduces the difficulty of connecting instruments, and improves the efficiency of interconnection between LWD instruments and SWPs. This is of great significance for improving drilling speed, drilling safety, and wellbore trajectory control.

[0019] Other advantages, objectives, and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination, or may be learned from practice of the invention. The objectives and other advantages of the invention can be realized and obtained by means of the structures particularly pointed out in the following description, claims, and drawings. Attached Figure Description

[0020] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with the embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0021] Figure 1 This is a schematic diagram of the overall structure of the communication system for connecting the measurement while drilling instrument and the rotary steerable tool according to an embodiment of this application.

[0022] Figure 2 This is a schematic diagram of the specific structure of the communication system for connecting the measurement while drilling instrument and the rotary steerable tool according to an embodiment of this application.

[0023] Figure 3 This is a schematic diagram illustrating the configuration of priority identifiers in a communication system for connecting a measurement-while-drilling instrument and a rotary steerable tool, as described in an embodiment of this application.

[0024] Figure 4 This is a schematic diagram of the process for reading acoustic logging data while drilling in a communication system for connecting a measurement-while-drilling instrument and a rotary steerable tool, according to an embodiment of this application.

[0025] Figure 5 This is a schematic diagram illustrating the process of reading clock information in a communication system for connecting a measurement-while-drilling instrument and a rotary steerable tool, according to an embodiment of this application.

[0026] Figure 6 This is a step diagram of a communication method for connecting a measurement-while-drilling instrument and a rotary steerable tool according to an embodiment of this application.

[0027] In this application, all drawings are schematic and are used only to illustrate the principles of the invention, and are not drawn to scale.

[0028] The list of reference numerals in the attached figures is as follows:

[0029] 101: Measurement While Drilling Instrument

[0030] 102: Rotary Guide Tool

[0031] 103A: Main control circuit for resistivity instrument

[0032] 103B: Resistivity Instrument Transmitting Circuit

[0033] 104A: Main control circuit for acoustic instruments

[0034] 104B: Acoustic Instrument Transmitting Circuit

[0035] 105: Clock Circuit

[0036] 106: Memory Circuit

[0037] 107: Communication Circuits

[0038] 108: Single bus

[0039] 109: First Power Supply

[0040] 110: Second power supply Detailed Implementation

[0041] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples, so that the process of how the present invention uses technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly. It should be noted that, as long as there is no conflict, the various embodiments and features in the various embodiments of the present invention can be combined with each other, and the resulting technical solutions are all within the protection scope of the present invention.

[0042] Furthermore, the steps illustrated in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than that shown here.

[0043] Logging while drilling (LOW) and rotary steerable drilling are key technologies in modern drilling and completion. LOW is used to acquire real-time geophysical properties of downhole rocks and fluids, while rotary steerable drilling is used to precisely control the drill bit to complete complex three-dimensional wellbore trajectories, making it a crucial technology for developing complex underground oil and gas resources. LOW technology mainly includes acoustic, electrical, and nuclear logging, and is conducted immediately after drilling through the formation, when mud invasion begins. The data obtained are true values ​​of formation parameters, providing a more accurate reflection of the original formation information. Rotary steerable drilling technology can replace traditional mud motors and elbows, enabling directional drilling throughout the entire wellbore. It offers excellent adjustment and control of the wellbore trajectory, resulting in high wellbore quality, fast drilling speed, and a cleaner wellbore, thus reducing the engineering risks of directional drilling.

[0044] In practical applications, logging-while-drilling instruments and rotary steerable tools are used together to establish a closed-loop control system during drilling. When the wellbore trajectory deviates from the target formation, the logging-while-drilling instrument will promptly measure the information of the drilled formation, analyze the formation information, and feed the analysis results back to the rotary steerable tool. Then, the rotary steerable tool will promptly control the build-up angle and build-up direction to control the drill bit to re-enter the target formation.

[0045] With the development of rotary steerable tools and logging-while-drilling instruments, a wide variety of instruments and instrument upgrades have emerged. Rotary steerable tools and logging-while-drilling instruments each form their own system, with their own communication protocols and complex ground debugging systems, making it difficult to use them together.

[0046] Therefore, to solve one or more of the above-mentioned technical problems, this invention discloses a communication system and its implementation method for connecting logging instruments and rotary steerable tools. This system and method connects logging-while-drilling instruments, rotary steerable tools, RTC clock circuits, large-capacity data storage circuit modules, and communication circuit modules on a single bus, improving the efficiency of interconnection between logging-while-drilling instruments and rotary steerable tools. The logging-while-drilling instruments and rotary steerable tools can request time information, data storage, and data query services from the single bus circuit. These instruments, tools, and circuit modules have different communication protocols and cannot communicate directly. The communication circuit module has multiple communication protocols and can communicate with any instrument, tool, or circuit module on the single bus. Specifically, the communication circuit module assigns a single-bus priority identifier to all instruments, tools, and circuit modules on the single bus. Only instruments, tools, or circuit modules with a priority identifier of 1 have the right to use the single bus for communication; instruments, tools, or circuit modules with a priority identifier of 0 must wait until their priority identifier is set to 1 by the communication circuit module, avoiding conflicts between multiple communication protocols on the single bus.

[0047] In this way, the present invention solves the problem of incompatibility of communication protocols between different types of instruments by using a single bus circuit, reduces the difficulty of connecting instruments to each other, and improves the efficiency of interconnection between logging-while-drilling instruments and rotary steering tools.

[0048] Figure 1 This is a schematic diagram of the overall structure of a communication system for connecting a measurement-while-drilling instrument and a rotary steerable tool, according to an embodiment of this application. Figure 1 As shown in the embodiment of the present invention, the communication system is used to realize communication between logging-while-drilling instruments and rotary steerable tools in a docking scenario. The communication system includes: a single bus 108, various docking devices (unnumbered), and a communication circuit 107.

[0049] Each connected device is connected to a single bus 101. A communication circuit 105 is connected to the single bus 101 and supports multiple communication protocols. Furthermore, the communication circuit 105 communicates with each connected device via a single bus 107.

[0050] In this embodiment of the invention, each connected device is configured with a corresponding priority identifier. When configuring the priority identifier, according to the communication protocol supported by each connected device, different priority identifiers are set for each connected device with different communication protocols, and the same priority identifier is set for each connected device with the same communication protocol.

[0051] When each connected device communicates with the communication circuit 107, the communication circuit 107 first sets a corresponding identification attribute value for the priority identifier of each connected device, and then communicates with the current connected device according to the communication protocol that matches the connected device whose identification attribute value is the first value. At any given time, only one of the priority identifiers has its identification attribute value set to the first value.

[0052] Therefore, in this embodiment of the invention, to achieve communication between different connected devices, a communication circuit 107 is needed as an intermediate medium. The information to be transmitted is first sent from the connected device (which acts as the sender) to the communication circuit 107, and then the communication circuit, after format conversion processing, transmits the information to the connected device (which acts as the receiver). Furthermore, bidirectional communication between connected devices with different communication protocols is achieved.

[0053] Figure 2 This is a schematic diagram illustrating the specific structure of a communication system for connecting a measurement-while-drilling instrument and a rotary steerable tool, according to an embodiment of this application. Figure 2 As shown, the connected equipment includes a measurement-while-drilling (MWD) instrument 101, a rotary steerable tool 102, a logging-while-drilling resistivity instrument 103, a logging-while-drilling acoustic instrument 104, a clock circuit 105, and a memory circuit 106. These devices have different communication protocols and cannot communicate directly. However, the MWD instrument 101 and the rotary steerable tool 102 share the same communication protocol and can communicate directly. Furthermore, the MWD instrument 101 and the rotary steerable tool 102 can also request resistivity data, time information, data storage, and data query services from the communication circuit 107 on the single bus.

[0054] like Figure 2 As shown, the single bus 108 connects to MWD 101, rotary steerable tool 102, logging-while-drilling resistivity instrument (including main control circuit 103A and transmitting circuit 103B) 103, logging-while-drilling acoustic instrument (including main control circuit 104A and transmitting circuit 104B) 104, clock circuit 105, memory circuit 106, and communication circuit 107. The communication system described in this embodiment further includes a first power supply 109. The first power supply 109 supplies power to the single bus 108 via an isolation inductor. Further, the first power supply 109 is converted into a second power supply 110 via a DC-DC converter module. The first power supply 109 supplies power to MWD 101, resistivity instrument main control circuit 103A, acoustic instrument main control circuit 104A, clock circuit 105, memory circuit 106, and communication circuit 107; the second power supply 110 supplies power to the rotary steerable tool 102, resistivity instrument transmitting circuit 103B, and acoustic instrument transmitting circuit 104B. In this embodiment of the invention, the clock circuit 105 is implemented using an RTC clock circuit.

[0055] Specifically, MWD101 and rotary guide tool 102 have the same communication protocol and can use the first communication protocol (the communication protocol that MWD101 and rotary guide tool 102 have) to generate P1 code for communication. The main control circuit 103A and transmitting circuit 103B of the resistivity instrument can generate P2 code for communication using the second communication protocol (the communication protocol possessed by the main control circuit 103A and transmitting circuit 103B of the resistivity instrument); the main control circuit 104A and transmitting circuit 104B of the acoustic instrument can generate P3 code for communication using the third communication protocol (the main control circuit 104A and transmitting circuit 104B of the acoustic instrument); the RTC clock 105 can generate P4 code for communication using the fourth communication protocol (the communication protocol possessed by the RTC clock 105); the memory circuit 106 can generate P5 code for communication using the fifth communication protocol (the communication protocol possessed by the memory circuit 106); the communication circuit 107 supports all communication protocols possessed by each connected device and uses multiple codes such as P1, P2, P3, P4, and P5 to communicate with different connected devices, that is, it can communicate with all connected devices on the single bus 108.

[0056] Furthermore, the measurement-while-drilling (MWD) instrument 101 and the rotary steerable tool 102 have the same highest priority identifier. The priority identifiers of the logging-while-drilling resistivity instrument 130, the logging-while-drilling sonic instrument 104, the clock circuit 105, and the memory circuit 106 decrease in priority level sequentially based on the highest priority identifier.

[0057] Figure 3 This is a schematic diagram illustrating the configuration of priority identifiers in a communication system for connecting a measurement-while-drilling instrument and a directional tool, according to an embodiment of this application. Figure 3 As shown, the priority level corresponding to the priority identifier IP of the single bus 108 for MWD101 and rotary steerable tool 102 is 1; the priority level corresponding to the priority identifier IP of the single bus 108 for the logging-while-drilling resistivity instrument 103 (resistivity instrument main control circuit 103A and transmitting circuit 103B) is 2; the priority level corresponding to the priority identifier IP of the single bus 108 for the logging-while-drilling acoustic instrument 104 (acoustic instrument main control circuit 104A and transmitting circuit 104B) is 3; the priority level corresponding to the priority identifier IP of the single bus 108 for the RTC clock 105 is 4; and the priority level corresponding to the priority identifier IP of the single bus 108 for the memory circuit 106 is 5. Among them, priority level 1 is the highest level, priority levels 2 to 5 decrease in priority relative to the previous level, and priority level 5 is the lowest level.

[0058] Normally, the identification attribute values ​​of priority identifiers IP1, IP2, IP3, IP4, and IP5 are 0 by default, indicating that the single bus 108 is not occupied by any connected device. At any given time, among all the identification attribute values ​​corresponding to priority identifiers IP1, IP2, IP3, IP4, and IP5, only one identification attribute value is 1, indicating that at any given time, the single bus 108 is used by only one type of connected device.

[0059] Furthermore, the communication circuit 107 is also used to receive request instructions from the highest priority docking device, identify the type of request instruction, and then communicate with each relevant docking device sequentially according to the execution order of the docking devices related to the current task as indicated in the task flow corresponding to the current request instruction type, thereby completing the current request task. In this embodiment of the invention, the highest priority measurement-while-drilling (MWD) instrument 101 and rotary steerable tool 102 can send different types of request instructions to the communication circuit 107, each request instruction corresponding to a request service. The request instruction (request service) is selected from one of the following: request for measurement-while-drilling data, request for sonic logging data, request for resistivity data, request for clock, request for data storage, and request for data query. Each request service corresponds to a corresponding service task flow, and each service task flow is formed by several sub-steps arranged in a certain execution order. The execution order is the order in which the docking devices related to the current service task are arranged from high to low priority according to the set priority identifiers.

[0060] For the same service task flow in this embodiment of the invention, each sub-step is implemented by communication between the communication circuit 107 and different connected devices. In adjacent sub-steps, the connected devices communicating with the communication circuit 107 are different. Furthermore, after completing each sub-step in the current service task, the communication circuit 107 is also used to reconfigure and assign values ​​to the identification attribute values ​​of the priority identifiers corresponding to all connected devices. Specifically, after completing each sub-step in the current service task, the communication circuit 107 sets the identification attribute value of the priority identifier of the next relevant connected device indicated by the current execution order to a first value (i.e., set it to 1), and sets the identification attribute values ​​of the remaining connected devices to zero.

[0061] The following uses several typical request service tasks as examples to illustrate the service process execution process described in the embodiments of the present invention.

[0062] In actual logging-while-drilling operations, the rotary steerable tool 102 needs to obtain the logging-while-drilling data obtained by the measurement-while-drilling instrument (MWD) 101 during the measurement process to complete more accurate drill bit guidance. Therefore, when the current service request task is for the rotary steerable tool 102 to request the measurement-while-drilling data from the measurement-while-drilling instrument 101 (i.e., when the current request instruction is a request for measurement-while-drilling data instruction), the communication circuit 107 will execute the measurement-while-drilling data request task according to the following steps.

[0063] In step Q1, the communication circuit 107 on the single-bus circuit first sets the priority identifier of the rotary guide tool 102 to the first value, while setting the identifier values ​​of the other connected devices to zero. At this time, the rotary guide tool gains access to the single-bus 108 and can communicate with the communication circuit 107 using the single-bus 108.

[0064] Step Q2: After communicating with the communication circuit 107, the rotary steerable tool 102 sends a request command containing a request for measurement-while-drilling data to the single bus 108 to request the measurement-while-drilling instrument 101 to provide feedback on logging data (measurement-while-drilling data).

[0065] Step Q3: After receiving the current request instruction (containing the request for measurement while drilling data instruction information), the communication circuit 107 connected to the single bus 108 compares and screens the format of the current request instruction, and parses the current request instruction using a format that matches the communication protocol of the rotary steerable tool 102, thereby identifying the current request instruction type as a request for measurement while drilling data instruction, and then determining that the sender of the current request instruction is the rotary steerable tool 102 and the receiver is the measurement while drilling instrument 101.

[0066] In step Q4, since the communication circuit 107 identifies that the sender of the current request command is the rotary steerable tool 102 and the receiver is the measurement while drilling instrument 101, which are connected devices with the same communication protocol, when it is identified that the communication protocols of the sender and receiver of the current request command are the same, the identification attribute values ​​of the current sender and receiver are simultaneously set to the first value, while the identification attribute values ​​of the other connected devices are set to zero, so that the current sender (rotary steerable tool 102) and receiver (measurement while drilling instrument 101) can communicate, and the communication circuit 107 does not participate in the communication operation.

[0067] Step Q5: The measurement while drilling instrument 101 receives the current request instruction from the single bus 108 using its own matched first communication protocol, parses it, and identifies the current request instruction type as a request for measurement while drilling data instruction. It also identifies the meaning of the instruction and immediately returns an information packet containing the measurement while drilling data to the single bus 108.

[0068] Step Q6: The rotary steerable tool 102 receives a packet containing measurement-while-drilling (MWD) data from the single bus 108 using its own matching first communication protocol, and extracts the requested MWD data from the packet. Simultaneously, the communication circuit 107 also receives a packet containing MWD data from the single bus 108, compares and screens the format of the current packet, and parses the packet using a format matching the communication protocol of the rotary steerable tool 102, thereby obtaining the MWD data fed back from the MWD instrument 101 to the rotary steerable tool 102.

[0069] In addition, after the communication circuit 107 receives the measurement-while-drilling data fed back from the instruction receiver (completing step Q6), the communication circuit 107 will continue to execute the current measurement-while-drilling data request task according to the following steps to complete the storage of the measurement-while-drilling data:

[0070] In the first step, the communication circuit 107 communicates with the clock circuit 105 and obtains the information packet containing clock information sent by the clock circuit 105, thereby obtaining the clock information after parsing the current information packet. In the first step, the communication circuit 107 first sets the identification attribute value of the clock circuit 105 to a first value, and at the same time sets the identification attribute values ​​of the other connected devices to zero. Then, the communication circuit 107 generates a clock request command corresponding to the current drilling measurement data request task, and encodes the current clock request command according to the communication protocol that matches the clock circuit 105. Then, when the communication circuit 107 communicates with the clock circuit 105, it sends the encoded clock request command to the clock circuit 105 through the single bus 108. At this time, the clock circuit 105 receives the clock request command from the single bus 108 and immediately returns an information packet containing clock information to the single bus 108. Finally, the communication circuit 107 receives the information packet containing clock information sent by the clock circuit 105 from the single bus 108, compares and screens the format of the current information packet, and parses the current information packet using the matching format to obtain the clock information sent by the clock circuit 105.

[0071] In the second step, the communication circuit 107 communicates with the memory circuit 106 and sends the information to be stored, including the current clock information and drilling measurement data, to the memory circuit 106 via the single bus 108, so that the memory circuit 106 can store the currently received information. In this second step, the communication circuit 107 first sets the identification attribute value of the memory circuit 106 to a first value, and at the same time, sets the identification attribute values ​​of the other connected devices to zero; then, the communication circuit 107 generates the information to be stored, including the current clock information and drilling measurement data, and encodes the information to be stored according to the communication protocol matching the memory circuit 106; then, when the communication circuit 107 communicates with the memory circuit 106, it sends the encoded information to be stored to the memory circuit 106 via the single bus 108. At this time, the memory circuit 106 receives the information to be stored from the single bus 108 and immediately stores the current information.

[0072] Thus, when executing a measurement-while-drilling (MWD) data request task, this embodiment of the invention sequentially uses the rotary directional tool 102, the MWD instrument 101, the clock circuit 105, and the memory circuit 106 as connected devices related to the task flow, according to the task flow matching the current task. The sub-steps of sending the request command from the rotary directional tool 102 to the MWD instrument 101, feeding back the MWD data from the MWD instrument 101 to the rotary directional tool 102 and the communication circuit 107, sending the request clock command from the communication circuit 107 to the clock circuit 105, feeding back the clock information from the clock circuit 105 to the communication circuit 107, and sending the clock information and the MWD data from the communication circuit 107 to the memory circuit 106 are executed sequentially to complete the complete MWD data request task.

[0073] Figure 4 This is a schematic diagram of the process for reading acoustic logging data while drilling in a communication system for connecting a measurement-while-drilling instrument and a rotary steerable tool, according to an embodiment of this application.

[0074] In actual logging-while-drilling (MWD) operations, the MWD instrument 101 needs to obtain the MWD data acquired during the measurement process from the MWD sonic logging instrument 104 to perform more accurate rotary steerable operations. Therefore, when the current service request is for the MWD instrument 101 to request MWD data from the MWD sonic logging instrument 104 (i.e., when the current request command is a request for MWD data), refer to... Figure 4 The communication circuit 107 will execute the logging-while-drilling data request task according to the following steps.

[0075] In step N1 (not shown), the communication circuit 107 on the single-bus circuit first sets the priority identifier of the measurement-while-drilling (MWD) instrument 101 to the first value, while setting the identifier values ​​of the other connected devices to zero. At this time, the MWD instrument 101 gains access to the single-bus 108 and can communicate with the communication circuit 107 using the single-bus 108.

[0076] In step N2 (not shown), the Measurement While Drilling (MWD) instrument 101, using its own matched first communication protocol, after communicating with the communication circuit 107, sends a request command containing a request for sonic logging data to the single bus 108, requesting the sonic logging instrument 104 to provide feedback on the sonic logging data. Although the rotary steerable tool 102 can receive the command from the MWD instrument 101 on the single bus 108, it does not respond to the current request command because it is not the recipient of the command.

[0077] In step N3 (not shown), after receiving the current request instruction (containing the instruction information for receiving the request for logging-while-drilling data), the communication circuit 107 connected to the single bus 108 compares and screens the format of the current request instruction, and parses the current request instruction using a format that matches the communication protocol of the logging-while-drilling instrument 104, thereby identifying the current request instruction type as a request for logging-while-drilling data instruction, and then determining that the sender of the current request instruction is the logging-while-drilling instrument (MWD) 101 and the receiver is the logging-while-drilling instrument 104.

[0078] In step N4 (not shown), the communication circuit 107 connected to the single bus 108 sets the identification attribute value of the logging-while-drilling (LWD) sonic logging instrument 104 to the first value, while setting the identification attribute values ​​of the other connected devices to zero. At this time, the sonic instrument main control circuit 104A and the transmitting circuit 104B within the LWD sonic logging instrument 104 gain access to the single bus 108 and can communicate with the communication circuit 107 using the single bus 108.

[0079] In step N5 (not shown), the communication circuit 107 encodes the request for logging-while-drilling (LWD) data command according to a communication protocol compatible with the LWD sonic logging instrument 104. When the communication circuit 107 communicates with the LWD sonic logging instrument 104, it sends the encoded request for LWD data command to the LWD sonic logging instrument 104 via the single bus 108. At this time, the LWD sonic logging instrument 104 receives the request for LWD data command that it can recognize from the single bus 108, identifies the meaning of the command, and immediately returns an information packet containing LWD sonic logging data to the single bus 108.

[0080] In step N6 (not shown), the communication circuit 107 receives an information packet containing logging-while-drilling (WWLD) data from the sonic logging-while-drilling instrument 104. Then, the format of the current information packet is compared and screened, and the packet is parsed using a format matching the communication protocol of the sonic logging-while-drilling instrument 104 to obtain the WWLD data.

[0081] In step N7 (not shown), the communication circuit 107 sets the identification attribute value of the measurement-while-drilling instrument 101 to the first value, and at the same time sets the identification attribute values ​​of the other connected devices to zero. At this time, the measurement-while-drilling instrument 101 obtains the right to use the single bus 108 and can use the single bus 108 to communicate with the communication circuit 107.

[0082] In step N8 (not shown), the communication circuit 107 encodes the currently acquired sonic logging data according to a communication protocol compatible with the measurement-while-drilling (MWD) instrument 101. After communicating with the MWD instrument 101, the encoded sonic logging data is fed back to the MWD instrument 101 via the single bus 108. At this time, the MWD instrument 101 receives and identifies the meaning of the new information packet from the single bus 108 and extracts the requested sonic logging data from the new information packet.

[0083] In addition, after the communication circuit 107 obtains the logging-while-drilling data fed back from the command receiver (completing step N6), the communication circuit 107 will continue to execute the current logging-while-drilling data request task according to the following steps, so that after the logging-while-drilling data is stored, the currently obtained logging-while-drilling data will be fed back to the command sender (by executing steps N7 to N8):

[0084] Step 1: The communication circuit 107 communicates with the clock circuit 105 and obtains the information packet containing clock information sent by the clock circuit 105, thereby obtaining the clock information after parsing the current information packet. In step one, the communication circuit 107 first sets the identification attribute value of the clock circuit 105 to a first value, while setting the identification attribute values ​​of the other connected devices to zero. Then, the communication circuit 107 generates a clock request command corresponding to the current drilling measurement data request task, and encodes the current clock request command according to a communication protocol that matches the clock circuit 105. Then, when the communication circuit 107 communicates with the clock circuit 105, it sends the encoded clock request command to the clock circuit 105 through the single bus 108. At this time, the clock circuit 105 receives the clock request command from the single bus 108 and immediately returns an information packet containing clock information to the single bus 108. Finally, the communication circuit 107 receives the information packet containing clock information sent by the clock circuit 105 from the single bus 108, compares and screens the format of the current information packet, and parses the current information packet using a format that matches the communication protocol of the clock circuit 105, thereby obtaining the clock information sent by the clock circuit 105.

[0085] Step Two: Communication circuit 107 communicates with memory circuit 106 and sends the information to be stored, including the current clock information and sonic logging data while drilling, to memory circuit 106 via single bus 108, so that memory circuit 106 can store the currently received information. In step two, communication circuit 107 first sets the identification attribute value of memory circuit 106 to a first value, and at the same time, sets the identification attribute values ​​of other connected devices to zero; then, communication circuit 107 generates the information to be stored, including the current clock information and sonic logging data while drilling, and encodes the information to be stored according to the communication protocol matching memory circuit 106; then, while communication circuit 107 communicates with memory circuit 106, it sends the encoded information to be stored to memory circuit 106 via single bus 108. At this time, memory circuit 106 receives the information to be stored from single bus 108 and immediately stores the current information to be stored.

[0086] Thus, when executing a logging-while-drilling (LMD) data request task, this embodiment of the invention, according to the task flow matching the current task, sequentially uses the MLD 101, the MLD instrument 104, the clock circuit 105, the memory circuit 106, and the MLD 101 as connected devices related to the task flow, and sequentially executes the sub-step of sending the request command from the MLD 101 to the communication circuit 107 (see...). Figure 4 Step S1) is the sub-step of sending the request command from the communication circuit 107 to the logging-while-drilling instrument 104 (see [link]). Figure 4 Step S2) is the sub-step of feeding back the sonic logging data from the measurement-while-drilling instrument 101 to the communication circuit 107 (see step S2). Figure 4 Step S2), the sub-step of sending the request clock command from communication circuit 107 to clock circuit 105 (see...) Figure 4 Step S3), the sub-step of feeding back clock information from clock circuit 105 to communication circuit 107 (see...) Figure 4 Step S3) is the sub-step of sending clock information and logging-while-drilling data from communication circuit 107 to memory circuit 106 (see [link to relevant documentation]). Figure 4 Step S4), and the sub-step of feeding back the sonic logging data from the communication circuit 107 to the measurement-while-drilling instrument 101 (see step S4). Figure 4 Step S5) completes the entire logging-while-drilling data request task.

[0087] Figure 5 This is a schematic flowchart illustrating the process of reading clock information in a communication system for connecting a measurement-while-drilling (MWD) instrument and a rotary steerable tool, according to an embodiment of this application. During actual logging-while-drilling operations, the MWD instrument 101 (or rotary steerable tool 102) needs to obtain clock information acquired during the measurement process from the clock circuit 105 to mark the current MWD measurement work. Therefore, when the current requested service task is for the clock circuit 105 to request clock information from the MWD instrument 101 (or rotary steerable tool 102) (i.e., when the current request command is a clock request command), refer to... Figure 5 The communication circuit 107 executes the clock request task according to the following steps. In practical applications, since the execution flow of the clock request task of the measurement while drilling (MWD) 101 or the rotary directional tool 102 is similar, this embodiment of the invention only uses the measurement while drilling (MWD) 101 as an example to describe the flow of the clock request task.

[0088] In step K1 (not shown), the communication circuit 107 on the single-bus circuit first sets the priority identifier of the measurement-while-drilling (MWD) instrument 101 to the first value, while setting the identifier values ​​of the other connected devices to zero. At this time, the MWD instrument 101 obtains the right to use the single-bus 108 and can use the single-bus 108 to communicate with the communication circuit 107.

[0089] In step K2 (not shown), the Measurement While Drilling (MWD) 101, using its own matched first communication protocol, after communicating with the communication circuit 107, sends a request command containing a clock request instruction to the single bus 108 to request the clock circuit 105 to provide clock information. Although the rotary directional tool 102 can receive the instructions from the MWD 101 on the single bus 108, it does not respond to the current request instruction because it is not the recipient of the instruction.

[0090] In step K3 (not shown), after receiving the current request command (containing request clock command information), the communication circuit 107 connected to the single bus 108 compares and screens the format of the current request command, and parses the current request command using a format that matches the communication protocol of the measurement while drilling (MWD) 101, thereby identifying the current request command type as a request clock command, and then determining that the sender of the current request command is the measurement while drilling (MWD) 101 and the receiver is the clock circuit 105.

[0091] In step K4 (not shown), the communication circuit 107 connected to the single bus 108 sets the identification attribute value of the clock circuit 105 to the first value, while setting the identification attribute values ​​of the other connected devices to zero. At this time, the clock circuit 105 gains access to the single bus 108 and can communicate with the communication circuit 107.

[0092] In step K5 (not shown), the communication circuit 107 encodes the clock request command according to a communication protocol matching the clock circuit 105. While communicating with the clock circuit 105, the communication circuit 107 sends the encoded clock request command to the clock circuit 105 via the single bus 108. At this time, the clock circuit 105 receives the clock request command that the instrument 105 can recognize from the single bus 108, identifies the meaning of the command, and immediately returns an information packet containing clock information to the single bus 108.

[0093] In step K6 (not shown), the communication circuit 107 receives a data packet containing clock information from the clock circuit 105 via a single bus 108. Then, it compares and screens the format of the current data packet and parses it using a format that matches the communication protocol of the clock circuit 105 to obtain the clock information.

[0094] In step K7 (not shown), the communication circuit 107 first sets the identification attribute value of the memory circuit 106 to the first value, and at the same time, sets the identification attribute values ​​of the other connected devices to zero. At this time, the memory circuit 106 obtains the right to use the single bus 108 and can communicate with the communication circuit 107 using the clock circuit 105.

[0095] In step K8 (not shown), the communication circuit 107 communicates with the memory circuit 106 and encodes the current clock information according to the communication protocol that matches the memory circuit 106. After communicating with the memory circuit 106, the encoded clock information is sent to the memory circuit 106 via the single bus 108 so that the memory circuit 106 can store the currently received information to be stored (clock information).

[0096] In step K9 (not shown), the communication circuit 107 sets the identification attribute value of the measurement-while-drilling instrument 101 to the first value, and at the same time sets the identification attribute values ​​of the other connected devices to zero. At this time, the measurement-while-drilling instrument 101 obtains the right to use the single bus 108 and can use the single bus 108 to communicate with the communication circuit 107.

[0097] In step K10 (not shown), the communication circuit 107 encodes the currently acquired clock information according to a communication protocol compatible with the measurement-while-drilling (MWD) instrument 101. After communicating with the MWD instrument 101, the encoded clock information is fed back to the MWD instrument 101 via the single bus 108. At this time, the MWD instrument 101 receives and identifies the meaning of the new information packet from the single bus 108 and extracts the requested clock information from the new information packet.

[0098] Thus, when executing a logging-while-drilling (LMD) data request task, this embodiment of the invention, according to the task flow matching the current task, sequentially uses the MLD 101, clock circuit 105, memory circuit 106, and MLD 101 as connected devices related to the task flow, and sequentially executes the sub-step of sending the request command from the MLD 101 to the communication circuit 107 (see...). Figure 5 Step M1), the sub-step of sending the request command from the communication circuit 107 to the clock circuit 105 (see...). Figure 5 Step M2), the sub-step of feeding back clock information from clock circuit 105 to communication circuit 107 (see step M2). Figure 5 Step M2), the sub-step of sending clock information from communication circuit 107 to memory circuit 106 (see step M2). Figure 5 Step M3), and the sub-step of feeding back clock information from communication circuit 107 to measurement-while-drilling instrument 101 (see step M3). Figure 5 Step M3) completes the full clock request task.

[0099] On the other hand, based on the above-described communication system, this embodiment of the invention also provides a communication method (hereinafter referred to as the "communication method") for connecting a measurement-while-drilling instrument and a directional tool. This communication method is implemented using the communication system described above.

[0100] Figure 6 This diagram illustrates the steps of a communication method for connecting a measurement-while-drilling instrument and a directional tool, according to an embodiment of this application. Figure 6 As shown, the communication method described in this embodiment of the invention includes the following steps:

[0101] Step S601: Connect multiple devices to a single bus and configure a corresponding priority identifier for each device. Specifically, devices with different communication protocols will be assigned different priority identifiers, while devices with the same communication protocol will be assigned the same priority identifier.

[0102] Step S602: The communication circuit, connected to all connected devices via a single bus, sets corresponding identification attribute values ​​for different priority identifiers, and then communicates with the currently connected device according to the communication protocol matching the connected device whose identification attribute value is the first value. At any given time, only one of the priority identifiers has its identification attribute value set to the first value.

[0103] This invention proposes a communication system and method for connecting a logging-while-drilling (LWD) instrument to a rotary steerable tool (SWP). The system and method include a single bus and a communication circuit module supporting multiple communication protocols. The single bus connects not only the LWD instrument and the SWP, but also an RTC clock circuit module and a large-capacity data storage circuit module. The LWD instrument and the SWP can request time information, data storage, and data query services from the single bus circuit. These instruments, tools, and circuit modules use different communication protocols and cannot communicate directly. This invention utilizes the multi-protocol support of the communication circuit module to communicate with any instrument, tool, or circuit module on the single bus, thus avoiding conflicts caused by multiple communication protocols on the single bus. In this way, this invention solves the problem of incompatibility between communication protocols of different types of instruments through the communication circuit connected to the single bus, reduces the difficulty of connecting instruments, and improves the efficiency of interconnection between LWD instruments and SWPs. This has significant implications for improving drilling speed, drilling safety, and wellbore trajectory control.

[0104] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

[0105] It should be understood that the embodiments disclosed herein are not limited to the specific structures, processing steps, or materials disclosed herein, but should be extended to equivalent substitutions of these features as understood by those skilled in the art. It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting.

[0106] The phrase "an embodiment" or "an embodiment" used in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Therefore, the phrase "an embodiment" or "an embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment.

[0107] While the embodiments disclosed in this invention are as described above, the content is merely for the purpose of facilitating understanding of the invention and is not intended to limit the invention. Any person skilled in the art to which this invention pertains may make any modifications and changes in form and detail of the implementation without departing from the spirit and scope disclosed herein; however, the scope of patent protection of this invention shall still be determined by the scope defined in the appended claims.

Claims

1. A communication system for connecting a measurement-while-drilling instrument to a rotary steerable tool, comprising: Single bus; Multiple docking devices are provided, each docked to the single bus and configured with a corresponding priority identifier. Docking devices with different communication protocols are assigned different priority identifiers, while docking devices with the same communication protocol are assigned the same priority identifier. The docking devices include a measurement-while-drilling (MWD) instrument, a rotary steerable tool, a logging-while-drilling (LWD) resistivity instrument, a logging-while-drilling (LWD) sonic logging instrument, a clock circuit, and a memory circuit. The MWD instrument and the rotary steerable tool have the same highest priority identifier. The priority identifiers of the logging-while-drilling (LWD) resistivity instrument, the logging-while-drilling (LWD) sonic logging instrument, the clock circuit, and the memory circuit decrease sequentially based on the priority level of the highest priority identifier. The communication circuit, connected to all connected devices via the single bus, is used to first set corresponding identification attribute values ​​for different priority identifiers, and then communicate with the currently connected device according to a communication protocol matching the identification attribute value of the connected device with the first value. At any given time, only one of the priority identifiers has its identification attribute value set to the first value. The communication circuit is also used to receive request instructions from the connected device with the highest priority identifier, identify the type of the request instruction, and then communicate with each relevant connected device sequentially according to the execution order of the connected devices related to the current task as indicated in the task flow corresponding to the current request instruction type, thereby completing the task. Each request instruction corresponds to a request service, and the execution order is to arrange the connected devices related to the current task from high to low priority identifiers. Each request service corresponds to a corresponding service task flow, and each service task flow consists of several sub-steps arranged in a certain execution order. The communication circuit is also used to reconfigure the corresponding identification attribute value for each connected device after completing each sub-step of the task. When reconfiguring the identification attribute value, the identification attribute value of the next related connected device indicated by the execution order is set to the first value, and the identification attribute value of the remaining connected devices is set to zero.

2. The communication system according to claim 1, characterized in that, The request instruction is selected from one of the following: requesting measurement-while-drilling data instruction, requesting sonic logging-while-drilling data instruction, requesting resistivity data instruction, requesting clock instruction, requesting data storage instruction, and requesting data query instruction.

3. The communication system according to claim 2, characterized in that, When the request instruction is a request for measurement-while-drilling data, the communication circuit executes the measurement-while-drilling data request task according to the following steps: Set the priority identifier attribute value of the rotary guide tool to the first value, set the identifier attribute value of the other attached devices to zero, and receive the request instruction after communicating with the rotary guide tool. The format of the current request instruction is compared and screened, and the request instruction is parsed using the currently matching format to identify the current request instruction type as the request for drilling measurement data instruction, thereby determining the sender and receiver of the current instruction; When it is identified that the communication protocols of the sender and receiver of the current request instruction are the same, the identification attribute values ​​of the current sender and receiver are simultaneously set to the first value, so that the rotary steering tool and the measurement while drilling instrument can communicate, so that the measurement while drilling instrument can receive and identify the request instruction from the single bus, and feed back the information packet containing the measurement while drilling data to the rotary steering tool through the single bus.

4. The communication system according to claim 2, characterized in that, When the request instruction is a request for logging-while-drilling (LWD) acoustic data, the communication circuit executes the LWD acoustic data request task according to the following steps: Set the identification attribute value of the measurement while drilling instrument to the first value, and set the identification attribute values ​​of the other connected devices to zero, and receive the request instruction after communicating with the measurement while drilling instrument; The format of the current request instruction is compared and screened, and the request instruction is parsed using the current matching format to identify the current request instruction type as the request for logging-while-drilling data instruction, thereby determining the sender and receiver of the current instruction; Set the identification attribute value of the logging-while-drilling sonic logging instrument to the first value, and set the identification attribute value of the other connected devices to zero. The request for logging-while-drilling data is encoded according to a communication protocol that matches the logging-while-drilling instrument, and then communicated with the logging-while-drilling instrument to send the encoded request for logging-while-drilling data to the logging-while-drilling instrument. Receive information packets containing logging-while-drilling data sent from the logging-while-drilling sonic logging instrument; The format of the current information packet is compared and screened, and the information packet is parsed using the current matching format to obtain the logging-while-drilling data; The identification attribute value of the measurement-while-drilling instrument is set to the first value, while the identification attribute values ​​of the other connected devices are set to zero. The sonic logging data is encoded according to the communication protocol that matches the measurement-while-drilling instrument, so that after communicating with the measurement-while-drilling instrument, the encoded sonic logging data is fed back to the measurement-while-drilling instrument.

5. The communication system according to claim 2, characterized in that, When the request instruction is a clock request instruction, the communication circuit performs the clock request task according to the following steps: Set the identification attribute value of the measurement while drilling instrument to the first value, and set the identification attribute value of the other connected devices to zero. Communicate with the measurement-while-drilling instrument and receive the request command; The format of the current request instruction is compared and screened, and the request instruction is parsed using the currently matching format to identify the current request instruction type as the request clock instruction, thereby determining the sender and receiver of the current instruction; Set the identification attribute value of the clock circuit to the first value, and set the identification attribute value of the other connected devices to zero. The request clock command is encoded according to a communication protocol that matches the clock circuit, thereby communicating with the clock circuit and sending the encoded request clock command to the clock circuit. Receive a data packet containing clock information sent from the clock circuit; The format of the current information packet is compared and screened, and the information packet is parsed using the currently matching format to obtain the clock information; The identification attribute value of the memory circuit is set to the first value, while the identification attribute values ​​of the other connected devices are set to zero. The clock information is encoded according to the communication protocol that matches the memory circuit, so that after communicating with the memory circuit, the encoded clock information is sent to the memory circuit. The identification attribute value of the measurement while drilling instrument is set to the first value, while the identification attribute values ​​of the other connected devices are set to zero. The clock information is encoded according to the communication protocol that matches the measurement while drilling instrument, so that after communicating with the measurement while drilling instrument, the encoded clock information is fed back to the measurement while drilling instrument.

6. The communication system according to claim 3 or 4, characterized in that, After receiving the measurement-while-drilling data or the sonic logging-while-drilling data from the instruction recipient, the communication circuit will also perform the current task according to the following steps to feed back the measurement-while-drilling data or the sonic logging-while-drilling data to the instruction sender: The system communicates with the clock circuit and receives a data packet containing clock information sent by the clock circuit, thereby obtaining the clock information after parsing the current data packet. It communicates with the memory circuit and sends the information to be stored, including the clock information and the measurement while drilling data, or the information to be stored, including the clock information and the acoustic logging data while drilling, to the memory circuit.

7. The communication system according to any one of claims 1 to 5, characterized in that, The communication system further includes a first power supply, wherein the first power supply supplies power to the single bus through an isolation inductor.

8. A communication method for connecting a measurement-while-drilling instrument and a rotary steerable tool, characterized in that, The communication method is implemented using the communication system as described in any one of claims 1 to 7, and the communication method includes: Multiple devices are connected to a single bus, and each device is configured with a corresponding priority identifier. Devices with different communication protocols are assigned different priority identifiers, while devices with the same communication protocol are assigned the same priority identifier. The communication circuit, which is connected to all the connected devices via the single bus, sets corresponding identification attribute values ​​for different priority identifiers, and then communicates with the current connected device according to the communication protocol that matches the connected device with the identification attribute value of the first value. At any given time, only one of the priority identifiers has the identification attribute value set to the first value.

Citation Information

Patent Citations

  • Underground and ground information transmission data switching system and method

    CN103362499A

  • Realization method of full car communication system based on formula student race car

    CN105681435A