Downhole measurement-while-drilling control system

By designing a downhole measurement and control system, and utilizing multiple data buses and system interrupts to achieve parameter measurement and storage, the problems of universality and applicability of existing systems were solved, and real-time data transmission and control of wells with complex structures were realized.

CN121363412APending Publication Date: 2026-01-20CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410960256.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

Existing downhole measurement and control systems lack broad versatility and applicability, making it difficult to effectively connect various types of directional, engineering, and geological parameter subsections, and they cannot acquire and control the status of flow switches and pulser actions in real time.

Method used

A downhole measurement and control system was designed, including a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and a working status measurement module. Parameter measurement and storage are achieved through multiple data buses and system interrupts. Combined with GPIO status control of flow switches and pulser actions, it can connect various types of parameter sections.

Benefits of technology

It enables extensive measurement and storage of downhole working status, directional parameters, engineering parameters, and geological parameters, possesses broad versatility and applicability, can acquire flow switch status in real time and control pulser action, and is suitable for real-time data transmission in wells with complex structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121363412A_ABST
    Figure CN121363412A_ABST
Patent Text Reader

Abstract

The invention provides an underground measurement-while-drilling control system. The underground measurement-while-drilling control system comprises a microprocessor module, an external ADC (Analog to Digital Converter) module, a directional parameter measurement module, an engineering and geological parameter measurement module and a working state measurement module, wherein the orientation parameter measurement module is used for acquiring underground orientation parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used for acquiring underground engineering parameter measurement data and geological parameter measurement data through the while-drilling gamma pup joint, the while-drilling resistivity pup joint, the while-drilling sound wave pup joint and the engineering parameter pup joint; the working state measurement module is used for obtaining underground working state parameter measurement data through a temperature sensor and a vibration sensor. According to the invention, the measurement and storage of working state parameters, orientation parameters, engineering parameters and geological parameters are realized, the acquisition of the state of the flow switch and the control of the action of the pulser are realized, and wide universality and applicability are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of oil and gas development technology, specifically relating to a downhole measurement and control system while drilling. Background Technology

[0002] During oil drilling, especially in complex well structures such as horizontal wells, extended reach wells, and branch wells, well site personnel need to monitor various downhole parameters in real time, such as well inclination, azimuth, and tool face. Measurement While Drilling (MWD) systems are essential for this process, as they can measure downhole information near the drill bit and transmit it to the surface in real time without interrupting normal drilling operations.

[0003] Mud pulse transmission is a widely used method for transmitting data while drilling. Its principle is that the downhole instrument changes the mud pressure in the drill string through a pulse generator, forming a pressure wave and transmitting the measurement data to the surface in the form of pulses.

[0004] To achieve the goal of transmitting downhole information using mud pulses, various measurement subs are typically used during drilling to acquire multiple parameter data in real time (e.g., directional parameter measurement subs for directional parameters, engineering parameter measurement subs for engineering parameters, and geological parameter measurement subs for geological parameters). The central control platform then obtains the measurement data from each measurement sub and encodes it. Finally, the central control platform controls a pulse generator to generate pressure wave signals, which are then uploaded to the surface system. Due to the diverse types of downhole information, the central control platform needs to be able to connect to any type of measurement instrument, which places high demands on its versatility and applicability.

[0005] There is an urgent need for a new downhole measurement-while-drilling control system (downhole measurement-while-drilling central control platform) with broad versatility and applicability to solve the above-mentioned technical problems. Summary of the Invention

[0006] One objective of this invention is to provide a downhole measurement-while-drilling (MWD) control system. This system measures and stores operating parameters, directional parameters, engineering parameters, and geological parameters, and acquires the flow switch status and controls the pulser operation. It can connect to various types of directional parameter subs, engineering parameter subs, and geological parameter subs, exhibiting broad versatility and applicability.

[0007] Another object of the present invention is to provide a downhole measurement-while-drilling (MWD) control device. A further object of the present invention is to provide an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the aforementioned MWD control method. A further object of the present invention is to provide a readable medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of the aforementioned MWD control method.

[0008] To address the technical problems in the background section of this application, the present invention provides the following technical solutions:

[0009] In a first aspect, the present invention provides a downhole measurement-while-drilling control system, comprising:

[0010] The system comprises a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and a working status measurement module; among which:

[0011] The orientation parameter measurement module is used to acquire downhole orientation parameter measurement data through an accelerometer sensor and a fluxgate sensor;

[0012] The engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through drilling gamma sub, drilling resistivity sub, drilling sonic sub and engineering parameter sub;

[0013] The working status measurement module is used to acquire downhole working status parameter measurement data through temperature sensors and vibration sensors;

[0014] The external ADC module is used to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0015] The microprocessor module communicates with the external ADC module via the GIOA interrupt and the second SPI bus.

[0016] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0017] An external Flash module is used to store at least one type of data acquired by the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0018] The microprocessor communicates with the external Flash module via a first SPI bus.

[0019] In some embodiments of the present invention, the microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a first SCI interrupt.

[0020] In some embodiments of the present invention, the microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a MibADC interrupt.

[0021] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0022] The flow switch module is used to determine the operating status of the mud pump in order to control the first GIOA state of the microprocessor module.

[0023] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0024] The pulse generator module is used to drive the rotary valve to generate a corresponding action based on the second GIOA state of the microprocessor module, so as to generate a pressure pulse signal.

[0025] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0026] The host computer module is used to configure and monitor the operating parameters and operating status of the microprocessor module;

[0027] The microprocessor module communicates with the host computer via a second SCI interrupt.

[0028] In some embodiments of the present invention, the communication mode of the first SCI interruption includes:

[0029] The microprocessor module is configured as a master node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node; and / or

[0030] The microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node.

[0031] In some embodiments of the present invention, the communication mode of the second SCI interrupt is as follows:

[0032] The host computer module is configured as the master node, and the microprocessor module is configured as the slave node.

[0033] In some embodiments of the present invention, when the microprocessor module is configured as a master node and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node, the microprocessor module sends an interrupt task through the first SCI interrupt.

[0034] When the microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node, the microprocessor module receives an interrupt task through the first SCI interrupt.

[0035] In some embodiments of the present invention, the microprocessor module receives interrupt tasks via a second SCI interrupt.

[0036] As described above, embodiments of the present invention provide a downhole measurement-while-drilling (MWD) control system, comprising: a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and an operational status measurement module; wherein: the directional parameter measurement module is used to acquire downhole directional parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through a gamma-ray sub, a resistivity sub, an acoustic sub, and an engineering parameter sub; the operational status measurement module is used to acquire downhole operational status parameter measurement data through a temperature sensor and a vibration sensor; the external ADC module is used to acquire at least one type of data acquired by the directional parameter measurement module, the engineering and geological parameter measurement module, and the operational status measurement module; the microprocessor module communicates with the external ADC module through a GIOA interrupt and a second SPI bus.

[0037] The downhole measurement and control system provided in this embodiment of the invention realizes the measurement and storage of working status parameters, orientation parameters, engineering parameters and geological parameters through multiple data buses and system interrupts. It realizes the acquisition of flow switch status and control of pulser action through GPIO status. It can connect to various types of orientation parameter sub, engineering parameter sub and geological parameter sub, and has wide versatility and applicability. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a schematic diagram of a downhole measurement and control system according to an embodiment of the present invention;

[0040] Figure 2 This is a schematic diagram of another structure of a downhole measurement and control system according to an embodiment of the present invention;

[0041] Figure 3 This is a schematic diagram of a downhole measurement and control system according to an embodiment of the present invention;

[0042] Figure 4 This is a schematic diagram of the timer interrupt task flow in an embodiment of the present invention;

[0043] Figure 5 This is a schematic diagram of the MibADC interrupt task executed in the timer interrupt task in an embodiment of the present invention.

[0044] Figure 6 This is a schematic diagram of the GIOA interrupt task executed in the timer interrupt task in an embodiment of the present invention;

[0045] Figure 7 This is a schematic diagram of the SCI transmission interrupt task executed in the timer interrupt task in an embodiment of the present invention;

[0046] Figure 8 This is a schematic diagram of a task flow for SCI receive interruption in an embodiment of the present invention;

[0047] Figure 9 This is a schematic diagram of the second task flow for SCI receive interruption in an embodiment of the present invention;

[0048] Figure 10 This is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0050] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0051] It should be noted that the terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or apparatuses. Without conflict, the embodiments and features in the embodiments of this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0052] The acquisition, storage, use, and processing of data in this application comply with relevant laws and regulations.

[0053] Example 1:

[0054] For the reasons mentioned above, embodiments of the present invention provide a specific implementation of a downhole measurement-while-drilling control system, which specifically includes the following:

[0055] The system comprises a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and a working status measurement module; among which:

[0056] The orientation parameter measurement module is used to acquire downhole orientation parameter measurement data through an accelerometer sensor and a fluxgate sensor;

[0057] The engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through drilling gamma sub, drilling resistivity sub, drilling sonic sub and engineering parameter sub;

[0058] The working status measurement module is used to acquire downhole working status parameter measurement data through temperature sensors and vibration sensors;

[0059] The external ADC module is used to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0060] The microprocessor module communicates with the external ADC module via the GIOA interrupt and the second SPI bus.

[0061] The microprocessor module, external ADC module, orientation parameter measurement module, engineering and geological parameter measurement module, and working status measurement module communicate with each other through various bus protocols and register states.

[0062] It is understandable that the role of accelerometer sensors in downhole directional measurements includes:

[0063] Gravity direction measurement: By measuring the components of gravitational acceleration, the well's tilt angle can be determined. Earth's gravity is a stable downward vector downhole and can be used as a reference direction.

[0064] Inclination angle: Accelerometers can measure the acceleration under the influence of gravity in different axes, thereby calculating the inclination angle of the wellbore relative to the vertical direction.

[0065] The role of fluxgate sensors in downhole directional measurements is:

[0066] Geomagnetic field measurement: Fluxgate sensors can measure the intensity and direction of the geomagnetic field, which is crucial for determining the orientation of the wellbore.

[0067] Azimuth: Readings from fluxgate sensors can be used to determine the wellbore's azimuth, i.e., its orientation relative to the Earth's magnetic north pole. This is particularly important for guiding the drill bit to drill along a predetermined path.

[0068] By combining the data collected by this accelerometer sensor and the fluxgate sensor, the following orientation parameters can be obtained:

[0069] Inclination - The angle between the wellbore and the vertical line (the Earth's gravity line).

[0070] Azimuth - The horizontal angle between the wellbore and the geographic North Pole (or magnetic North Pole).

[0071] Tool Face - The direction of the drill bit relative to the wellbore, which can be used to adjust the direction of the drill bit.

[0072] Gamma-ray subs are used to measure the natural radioactivity levels of rocks, particularly the content of potassium, uranium, and thorium. Gamma-ray measurements can help identify rock formations, especially distinguishing shale from non-shale formations. This data is crucial for formation correlation (comparing formations at different well locations) and wellbore location (ensuring the wellbore is located at the optimal production level).

[0073] Drilling Resistivity Subsection: Resistivity tools work by emitting electromagnetic waves and measuring the resistivity response of the formation. Resistivity data helps identify oil-bearing, gas-bearing, and water-bearing sedimentary layers.

[0074] Sonic sub during drilling: Used to measure the velocity of sound waves in rock. It can provide information about the rock's mechanical properties, such as hardness and density. This data helps assess formation fluid types and pore structure, as well as monitor wellbore stability.

[0075] Engineering parameter section: Used to measure various physical quantities during the drilling process, such as drill bit position, drilling pressure, drilling rate, axial vibration, lateral vibration, and drill pipe rotation speed. This data is crucial for monitoring drilling operation performance, optimizing drilling parameters, and preventing drilling accidents.

[0076] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0077] An external Flash module is used to store at least one type of data acquired by the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0078] The microprocessor communicates with the external Flash module via a first SPI bus.

[0079] Specifically, the external Flash module is responsible for storing various measurement data in real time; the microprocessor module communicates with the external Flash module through the first SPI bus.

[0080] The SPI bus is a communication protocol used between microcontrollers and their peripheral devices. It is a high-speed, full-duplex, synchronous communication bus typically used for short-distance data transmission. Key features of the SPI bus include:

[0081] Master-Slave Architecture: SPI communication involves one master device and one or more slave devices. The master device controls the communication process, including the generation of clock signals.

[0082] Bus signals: SPI typically has four main signal lines:

[0083] SCLK (Serial Clock): The clock signal provided by the master device.

[0084] MOSI (Master Out Slave In) or SDO (Serial Data Out): Data line used to transfer data from the master device to the slave device.

[0085] MISO (Master In Slave Out) or SDI (Serial Data In): Data line used to transfer data from the slave device to the master device.

[0086] SS (Slave Select) or CS (Chip Select): Chip select signal line, controlled by the master device, used to activate a specific slave device.

[0087] Full-duplex communication: SPI allows data to be transmitted bidirectionally at the same time, meaning the master device can receive data while sending data.

[0088] Speed: SPI is faster than many other types of serial data buses, but its speed is limited by the master clock speed and the maximum clock reception speed of the slave device.

[0089] Flexibility: SPI does not have a fixed protocol standard, so users can customize the data frame size and format.

[0090] Because the SPI bus does not provide hardware address identification between slave devices, each slave device requires a separate chip select (SS) signal. This means that as the number of slave devices increases, the master device needs more GPIO pins to control these SS lines. This can be a limiting factor in systems with a limited number of pins.

[0091] The advantages of SPI lie in its simplicity, as well as its high speed and efficiency when connecting a small number of slave devices. However, when multiple slave devices need to be connected, other communication buses, such as I2C or CAN, may be preferred, as these buses may be more efficient when connecting multiple devices.

[0092] In some embodiments of the present invention, the microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a first SCI interrupt.

[0093] SCI interrupts are interrupt service routines triggered when data is received via the microprocessor module's Serial Peripheral Interface (SPI). Such interrupts allow the processor to process the received data promptly, ensuring its correctness and integrity. SCI interrupt handling includes, but is not limited to, data verification and parsing. To ensure timely interrupt service, appropriate interrupt priorities must be set, and necessary cleanup operations must be performed during interrupt handling to avoid affecting subsequent interrupt responses.

[0094] In some embodiments of the present invention, the microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a MibADC interrupt.

[0095] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0096] The flow switch module is used to determine the operating status of the mud pump in order to control the first GIOA state of the microprocessor module.

[0097] Specifically, the flow switch module is responsible for determining the operating status of the mud pump, and then controlling the first GIOA state of the microprocessor module. The microprocessor module reads the first GIOA state to obtain pump status information.

[0098] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0099] The pulse generator module is used to drive the rotary valve to generate a corresponding action based on the second GIOA state of the microprocessor module, so as to generate a pressure pulse signal.

[0100] Specifically, the pulse generator module is responsible for driving the rotary valve to perform corresponding actions according to the second GIOA state of the microprocessor module, thereby generating a pressure pulse signal.

[0101] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0102] The host computer module is used to configure and monitor the operating parameters and operating status of the microprocessor module;

[0103] The microprocessor module communicates with the host computer via a second SCI interrupt.

[0104] In some embodiments of the present invention, the communication mode of the first SCI interruption includes:

[0105] The microprocessor module is configured as a master node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node; and / or

[0106] The microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node.

[0107] In some embodiments of the present invention, the communication mode of the second SCI interrupt is as follows:

[0108] The host computer module is configured as the master node, and the microprocessor module is configured as the slave node.

[0109] In some embodiments of the present invention, when the microprocessor module is configured as a master node and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node, the microprocessor module sends an interrupt task through the first SCI interrupt.

[0110] When the microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node, the microprocessor module receives an interrupt task through the first SCI interrupt.

[0111] Specifically, depending on the type of engineering and geological parameter measurement module, there are two communication modes between the microprocessor module and the engineering and geological parameter measurement module: one is to configure the microprocessor module as the master node and the engineering and geological parameter measurement module as the slave node; the other is to configure the microprocessor module as the slave node and the engineering and geological parameter measurement module as the master node.

[0112] When the microprocessor module is configured as the master node and the engineering and geological parameter measurement modules are configured as slave nodes, the SCI send interrupt task is enabled. When the microprocessor module is configured as a slave node and the engineering and geological parameter measurement modules are configured as the master node, the SCI receive interrupt task is enabled.

[0113] In some embodiments of the present invention, the microprocessor module receives interrupt tasks via a second SCI interrupt.

[0114] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0115] The power module is used to supply power to the entire system.

[0116] In some embodiments of the present invention, the specific process of the control flow of a downhole measurement-while-drilling control system includes:

[0117] (1) Initialize the system and variables;

[0118] (2) Enter the while(1) loop;

[0119] (3) In the while(1) loop, tasks are processed through various system interrupts.

[0120] As described above, embodiments of the present invention provide a downhole measurement-while-drilling (MWD) control system, comprising: a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and an operational status measurement module; wherein: the directional parameter measurement module is used to acquire downhole directional parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through a gamma-ray sub, a resistivity sub, an acoustic sub, and an engineering parameter sub; the operational status measurement module is used to acquire downhole operational status parameter measurement data through a temperature sensor and a vibration sensor; the external ADC module is used to acquire at least one type of data acquired by the directional parameter measurement module, the engineering and geological parameter measurement module, and the operational status measurement module; the microprocessor module communicates with the external ADC module through a GIOA interrupt and a second SPI bus.

[0121] The downhole measurement and control system provided in this embodiment of the invention realizes the measurement and storage of working status parameters, orientation parameters, engineering parameters and geological parameters through multiple data buses and system interrupts. It realizes the acquisition of flow switch status and control of pulser action through GPIO status. It can connect to various types of orientation parameter sub, engineering parameter sub and geological parameter sub, and has wide versatility and applicability.

[0122] Example 2:

[0123] The downhole measurement-while-drilling (MWD) control system includes a microprocessor module, an external Flash module, and an external ADC module. The MWD control system can communicate with the directional parameter measurement module, engineering and geological parameter measurement module, operational status measurement module, flow switch module, and pulse generator module via various bus protocols and register states.

[0124] The microprocessor module serves as the "brain" of the entire downhole measurement and control system, responsible for the functionality of each module.

[0125] The external Flash module is responsible for storing the measurement data in real time; the microprocessor module communicates with this module through the first SPI bus.

[0126] See Figure 1 The external ADC module is responsible for collecting measurement data from one or more of the following modules: the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module. The microprocessor module communicates with this module via the GIOA interrupt and the second SPI bus.

[0127] The microprocessor module can also acquire measurement data from one or more of the following modules through the first SCI interrupt: the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0128] The microprocessor module can also acquire measurement data from one or more of the following modules via MibADC interrupt: orientation parameter measurement module, engineering and geological parameter measurement module, and operational status measurement module.

[0129] The specific implementation of the above operations can be configured according to the resources and characteristics of the microprocessor module, the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0130] Example 3:

[0131] See Figure 2 The external ADC module is responsible for acquiring measurement data from the orientation parameter measurement module. The microprocessor module communicates with this module via the GIOA interrupt and the second SPI bus. The orientation parameter measurement module acquires downhole orientation parameter measurement data based on accelerometer sensors and fluxgate sensors.

[0132] Understandable Figure 2 The illustrated embodiment is Figure 1 One specific embodiment, in Figure 2 In this system, the microprocessor module acquires operating status parameters via MibADC. The microprocessor module communicates with the engineering and geological parameter measurement modules via the first SCI interrupt to acquire engineering and geological parameters. The microprocessor module also acquires orientation parameters via an external ADC module.

[0133] The engineering and geological parameter measurement module acquires downhole engineering and geological parameter measurement data through drilling gamma-ray subs, drilling resistivity subs, drilling sonic subs, and engineering parameter subs. The microprocessor module communicates with this module via the first SCI interrupt. The working status measurement module acquires downhole working status parameter measurement data based on temperature sensors, vibration sensors, etc. The microprocessor module communicates with this module via the MibADC interrupt.

[0134] The flow switch module is responsible for determining the operating status of the mud pump, and thus controlling the first GIOA state of the microprocessor module. The microprocessor module reads the first GIOA state to obtain pump status information.

[0135] The pulse generator module is responsible for driving the rotary valve to produce corresponding actions according to the second GIOA state of the microprocessor module, thereby generating pressure pulse signals.

[0136] The power module supplies power to the entire system.

[0137] As described above, embodiments of the present invention provide a downhole measurement-while-drilling (MWD) control system, comprising: a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and an operational status measurement module; wherein: the directional parameter measurement module is used to acquire downhole directional parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through a gamma-ray sub, a resistivity sub, an acoustic sub, and an engineering parameter sub; the operational status measurement module is used to acquire downhole operational status parameter measurement data through a temperature sensor and a vibration sensor; the external ADC module is used to acquire at least one type of data acquired by the directional parameter measurement module, the engineering and geological parameter measurement module, and the operational status measurement module; the microprocessor module communicates with the external ADC module through a GIOA interrupt and a second SPI bus.

[0138] The downhole measurement and control system provided in this embodiment of the invention has the following beneficial effects: it realizes the measurement and storage of working status parameters, orientation parameters, engineering parameters and geological parameters through multiple data buses and system interrupts; it realizes the acquisition of flow switch status and control of pulser action through GPIO status; it can connect to various types of orientation parameter sub, engineering parameter sub and geological parameter sub, and has wide versatility and applicability.

[0139] Example 4:

[0140] To further illustrate the solution, in one specific embodiment, the present invention also provides a specific implementation of the working principle of the downhole drilling measurement and control system, which specifically includes the following contents.

[0141] like Figure 3 As shown. The working principle of a downhole measurement-while-drilling control system mainly includes the following three steps:

[0142] (1) Initialize the system and variables;

[0143] (2) Enter the while(1) loop;

[0144] (3) In the while(1) loop, tasks are processed through various interrupts.

[0145] The initialization of the system and variables includes: timer initialization, bus interface initialization, status flag initialization, measurement data initialization, intermediate variable initialization, etc.

[0146] See Figure 1 The host computer communicates with the microprocessor module through the second SCI interrupt (that is, the above-mentioned SCI interrupt can also be called the first SCI interrupt).

[0147] Next, see Figure 4 In the second SCI receive interrupt task, the microprocessor module analyzes and judges the received string information. If the string information meets the instruction conditions, the microprocessor module updates the corresponding status flags. These mainly include reading pump status, reading operating mode, entering downhole mode, entering test mode, entering setting state, entering calibration transmission state, exiting calibration transmission state, erasing external Flash, and reading external Flash.

[0148] Depending on the type of engineering and geological parameter measurement module, the microprocessor module and the engineering and geological parameter measurement module have two communication modes: one is to configure the microprocessor module as the master node and the engineering and geological parameter measurement module as the slave node; the other is to configure the microprocessor module as the slave node and the engineering and geological parameter measurement module as the master node.

[0149] When the microprocessor module is configured as the master node and the engineering and geological parameter measurement modules are configured as slave nodes, enable the SCI send interrupt task. This configuration can be based on specific communication protocols such as CAN (Controller Area Network), MODBUS, RS-485, I2C, SPI, etc. The following are the steps to configure the microprocessor as the master node and the other modules as slave nodes:

[0150] First, select an appropriate communication protocol based on the system requirements. Configure the communication interface on the microprocessor (master node). For example, set the clock rate, specific parameters of the communication protocol (such as frame structure, parity, stop bits, etc.), and initialize the relevant hardware or software libraries.

[0151] Configure slave nodes: For each slave node (measurement module), set the necessary hardware address (for protocols such as I2C and MODBUS) and configure communication parameters so that it can respond to the master node's requests.

[0152] During the SCI interrupt task, the microprocessor module sends instructions to the engineering and geological parameter measurement modules, primarily including acquiring data from drilling gamma-ray sub-sections, drilling resistivity sub-sections, drilling acoustic sub-sections, and engineering parameter sub-sections. The engineering and geological parameter measurement modules determine the data frame type in the received instructions. If the data frame type information meets the instruction conditions, the engineering and geological parameter measurement modules send the measurement data to the microprocessor module.

[0153] When the microprocessor module is configured as a slave node and the engineering and geological parameter measurement modules are configured as master nodes, the SCI receive interrupt task is enabled.

[0154] During the SCI receive interrupt task, the engineering and geological parameter measurement modules periodically send data to the microprocessor module. The microprocessor module parses the received data frames to obtain the corresponding measurement data. This mainly includes acquiring data from drilling gamma-ray sub-sections, drilling resistivity sub-sections, drilling sonic sub-sections, and engineering parameter sub-sections.

[0155] See Figure 5 In the timer interrupt task, the microprocessor module judges the flag information. If the flag information meets the conditions for storing measurement data, the microprocessor module saves the measurement data to the external Flash chip via the first SPI bus. If the flag information meets the conditions for generating pulse signals, the microprocessor module generates corresponding pulse signals, mainly including acquiring pump stop measurement data, generating pump stop measurement pulse signals, acquiring sliding measurement data, generating sliding measurement pulse signals, acquiring rotation measurement data, and generating rotation measurement pulse signals. If the flag information meets the conditions for executing communication instructions, the microprocessor module updates the corresponding system and variable data, mainly including executing start calibration instructions, execute exit calibration instructions, execute send pump status instructions, execute send working mode instructions, execute erase external Flash instructions, and execute read external Flash instructions.

[0156] The timer interrupt task can also execute SCI transmit interrupt, GIOA interrupt, and MibADC interrupt tasks.

[0157] See Figures 6 to 9 In the GIOA interrupt task, the microprocessor module enables and disables the external ADC chip via the second SPI bus, mainly including acquiring accelerometer measurement data and acquiring fluxgate measurement data.

[0158] In the MibADC interrupt task, the microprocessor module enables and disables MibADC, mainly including acquiring temperature measurement data, acquiring voltage measurement data, acquiring vibration measurement data, etc.

[0159] It should be noted that the microprocessor module has the following characteristics:

[0160] Integration: Microprocessors integrate millions of transistors onto a small silicon chip, forming a powerful computing core.

[0161] Instruction set: Each microprocessor has its own specific instruction set, which is the set of basic operations it can perform, such as data movement, arithmetic operations, and logical operations.

[0162] Clock frequency: The operating speed of a microprocessor is measured by its clock frequency, which is the number of cycles it can execute per second. Higher frequencies generally mean higher processing speeds.

[0163] Number of cores: A microprocessor may have multiple processing cores, each of which can execute instructions independently, thereby improving the overall performance of the processor, especially in multitasking and parallel computing applications.

[0164] Architecture: Microprocessors can adopt different architectural designs, such as Complex Instruction Set Computer (CISC) or Reduced Instruction Set Computer (RISC), each with its own advantages and uses.

[0165] Power consumption: Power consumption is a critical parameter in microprocessor design, especially in portable and battery-powered devices. Low-power design helps extend the lifespan of devices.

[0166] Cache memory: To improve processing speed, microprocessors typically include several levels of cache memory (L1, L2, or even L3) to store temporary data and reduce the number of accesses to slower main memory.

[0167] Input / output ($I / O$ capabilities): Microprocessors typically integrate various $I / O$ functions to communicate with external hardware such as storage devices, network interfaces, peripheral devices, etc.

[0168] Manufacturing process technology: The performance and power consumption of microprocessors are also affected by the semiconductor manufacturing process technology used to manufacture them. The more advanced the process, the smaller the transistor size, the higher the efficiency, and the lower the heat generation.

[0169] As described above, embodiments of the present invention provide a downhole measurement-while-drilling (MWD) control system, comprising: a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and an operational status measurement module; wherein: the directional parameter measurement module is used to acquire downhole directional parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through a gamma-ray sub, a resistivity sub, an acoustic sub, and an engineering parameter sub; the operational status measurement module is used to acquire downhole operational status parameter measurement data through a temperature sensor and a vibration sensor; the external ADC module is used to acquire at least one type of data acquired by the directional parameter measurement module, the engineering and geological parameter measurement module, and the operational status measurement module; the microprocessor module communicates with the external ADC module through a GIOA interrupt and a second SPI bus.

[0170] The downhole measurement and control system provided in this embodiment of the invention realizes the measurement and storage of working status parameters, orientation parameters, engineering parameters and geological parameters through multiple data buses and system interrupts. It realizes the acquisition of flow switch status and control of pulser action through GPIO status. It can connect to various types of orientation parameter sub, engineering parameter sub and geological parameter sub, and has wide versatility and applicability.

[0171] Example 5:

[0172] This application also provides specific embodiments of an electronic device capable of implementing all the steps involved in a downhole measurement-while-drilling control system as described in the above embodiments. See [link to specific embodiments]. Figure 10 The electronic devices specifically include the following:

[0173] Processor 1201, memory 1202, communications interface 1203, and bus 1204;

[0174] The processor 1201, memory 1202, and communication interface 1203 communicate with each other via bus 1204; the communication interface 1203 is used to realize information transmission between related devices such as the microprocessor module, external ADC module, orientation parameter measurement module, engineering and geological parameter measurement module, and working status measurement module.

[0175] The processor 1201 is used to call the computer program in the memory 1202. When the processor executes the computer program, it implements all the steps involved in the downhole measurement-while-drilling control system in the above embodiments. For example, the processor 1201 is used to control:

[0176] Accelerometer sensors and fluxgate sensors acquire downhole orientation parameter measurement data; and

[0177] Drilling gamma sub, drilling resistivity sub, drilling sonic sub, and engineering parameter sub are used to acquire downhole engineering parameter measurement data and geological parameter measurement data.

[0178] Temperature and vibration sensors acquire measurement data of downhole working status parameters;

[0179] The external ADC module is configured to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0180] The microprocessor module is configured to communicate with the external ADC module via a GIOA interrupt and a second SPI bus.

[0181] Processor 1201 is also used for control:

[0182] An external Flash module is provided to store at least one type of data acquired by the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0183] The microprocessor enables the module to communicate with the external Flash module via a first SPI bus.

[0184] Processor 1201 is also used for control:

[0185] The microprocessor module is configured to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a first SCI interrupt.

[0186] Processor 1201 is also used for control:

[0187] The microprocessor module is configured to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a MibADC interrupt.

[0188] Processor 1201 is also used for control:

[0189] A flow switch module is used to determine the operating status of the mud pump in order to control the first GIOA state of the microprocessor module.

[0190] Processor 1201 is also used for control:

[0191] A pulse generator module is provided to drive the rotary valve to perform a corresponding action based on the second GIOA state of the microprocessor module, thereby generating a pressure pulse signal.

[0192] Processor 1201 is also used for control:

[0193] The microprocessor module is configured to communicate with the orientation parameter measurement module via a MibADC interrupt.

[0194] Processor 1201 is also used for control:

[0195] The microprocessor module is configured to communicate with the engineering and geological parameter measurements via a first SCI interrupt.

[0196] Communication interface 1203 and bus 1204 implement the following communication modes:

[0197] The microprocessor module is configured as a master node, and the engineering and geological parameter measurement module is configured as a slave node; and / or

[0198] The microprocessor module is configured as a slave node, and the engineering and geological parameter measurement module is configured as a master node.

[0199] When the microprocessor module is configured as the master node and the engineering and geological parameter measurement module is configured as the slave node, the processor 1201 sends an interrupt task through the first SCI interrupt.

[0200] When the microprocessor module is configured as a slave node and the engineering and geological parameter measurement module is configured as a master node, the processor 1201 receives the interrupt task through the second SCI interrupt.

[0201] As described above, embodiments of the present invention provide a downhole measurement-while-drilling (MWD) control system, comprising: a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and an operational status measurement module; wherein: the directional parameter measurement module is used to acquire downhole directional parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through a gamma-ray sub, a resistivity sub, an acoustic sub, and an engineering parameter sub; the operational status measurement module is used to acquire downhole operational status parameter measurement data through a temperature sensor and a vibration sensor; the external ADC module is used to acquire at least one type of data acquired by the directional parameter measurement module, the engineering and geological parameter measurement module, and the operational status measurement module; the microprocessor module communicates with the external ADC module through a GIOA interrupt and a second SPI bus.

[0202] The downhole measurement and control system provided in this embodiment of the invention realizes the measurement and storage of working status parameters, orientation parameters, engineering parameters and geological parameters through multiple data buses and system interrupts. It realizes the acquisition of flow switch status and control of pulser action through GPIO status. It can connect to various types of orientation parameter sub, engineering parameter sub and geological parameter sub, and has wide versatility and applicability.

[0203] Example 6:

[0204] Embodiments of this application also provide a computer-readable storage medium capable of implementing all the steps involved in a downhole measurement-while-drilling control system as described in the above embodiments. The computer-readable storage medium stores a computer program that, when executed by a processor, implements all the steps of the downhole measurement-while-drilling control method as described in the above embodiments. For example, the downhole measurement-while-drilling control system includes:

[0205] The system comprises a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and a working status measurement module; among which:

[0206] The orientation parameter measurement module is used to acquire downhole orientation parameter measurement data through an accelerometer sensor and a fluxgate sensor;

[0207] The engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through drilling gamma sub, drilling resistivity sub, drilling sonic sub and engineering parameter sub;

[0208] The working status measurement module is used to acquire downhole working status parameter measurement data through temperature sensors and vibration sensors;

[0209] The external ADC module is used to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0210] The microprocessor module communicates with the external ADC module via the GIOA interrupt and the second SPI bus.

[0211] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0212] An external Flash module is used to store at least one type of data acquired by the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module.

[0213] The microprocessor communicates with the external Flash module via a first SPI bus.

[0214] In some embodiments of the present invention, the microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a first SCI interrupt.

[0215] In some embodiments of the present invention, the microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a MibADC interrupt.

[0216] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0217] The flow switch module is used to determine the operating status of the mud pump in order to control the first GIOA state of the microprocessor module.

[0218] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0219] The pulse generator module is used to drive the rotary valve to generate a corresponding action based on the second GIOA state of the microprocessor module, so as to generate a pressure pulse signal.

[0220] In some embodiments of the present invention, a downhole measurement-while-drilling control system further includes:

[0221] The host computer module is used to configure and monitor the operating parameters and operating status of the microprocessor module;

[0222] The microprocessor module communicates with the host computer via a second SCI interrupt.

[0223] In some embodiments of the present invention, the communication mode of the first SCI interruption includes:

[0224] The microprocessor module is configured as a master node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node; and / or

[0225] The microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node.

[0226] In some embodiments of the present invention, the communication mode of the second SCI interrupt is as follows:

[0227] The host computer module is configured as the master node, and the microprocessor module is configured as the slave node.

[0228] In some embodiments of the present invention, when the microprocessor module is configured as a master node and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node, the microprocessor module sends an interrupt task through the first SCI interrupt.

[0229] When the microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node, the microprocessor module receives an interrupt task through the first SCI interrupt.

[0230] In some embodiments of the present invention, the microprocessor module receives interrupt tasks via a second SCI interrupt.

[0231] As described above, embodiments of the present invention provide a downhole measurement-while-drilling (MWD) control system, comprising: a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and an operational status measurement module; wherein: the directional parameter measurement module is used to acquire downhole directional parameter measurement data through an accelerometer sensor and a fluxgate sensor; the engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through a gamma-ray sub, a resistivity sub, an acoustic sub, and an engineering parameter sub; the operational status measurement module is used to acquire downhole operational status parameter measurement data through a temperature sensor and a vibration sensor; the external ADC module is used to acquire at least one type of data acquired by the directional parameter measurement module, the engineering and geological parameter measurement module, and the operational status measurement module; the microprocessor module communicates with the external ADC module through a GIOA interrupt and a second SPI bus.

[0232] The downhole measurement and control system provided in this embodiment of the invention realizes the measurement and storage of working status parameters, orientation parameters, engineering parameters and geological parameters through multiple data buses and system interrupts. It realizes the acquisition of flow switch status and control of pulser action through GPIO status. It can connect to various types of orientation parameter sub, engineering parameter sub and geological parameter sub, and has wide versatility and applicability.

[0233] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. In particular, hardware + program embodiments are relatively simple in description because they are fundamentally similar to method embodiments; relevant parts can be referred to the descriptions in the method embodiments.

[0234] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0235] While this application provides method operation steps as shown in the embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-inventive labor. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only execution order. In actual device or client product execution, the method can be executed sequentially as shown in the embodiments or drawings, or in parallel (e.g., in a parallel processor or multi-threaded processing environment).

[0236] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing the embodiments of this specification, the functions of each module can be implemented in one or more software and / or hardware components, or a module that performs the same function can be implemented by a combination of multiple sub-modules or sub-units. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between devices or units, and may be electrical, mechanical, or other forms.

[0237] Those skilled in the art will also know that, besides implementing the controller using purely computer-readable program code, the same functions can be achieved by logically programming the method steps, making the controller function as logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers (PLCs), and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the devices within it used to implement various functions can also be considered structures within that hardware component. Alternatively, the devices used to implement various functions can be considered as both software modules implementing the method and structures within a hardware component.

[0238] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0239] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0240] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, system embodiments are basically similar to method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. In the description of this specification, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the embodiments in this specification. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described can be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0241] The above description is merely an embodiment of the present specification and is not intended to limit the embodiments of the present specification. For those skilled in the art, various modifications and variations can be made to the embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the embodiments of the present specification should be included within the scope of the claims of the embodiments of the present specification.

Claims

1. A downhole measurement-while-drilling control system, characterized in that, include: The system comprises a microprocessor module, an external ADC module, a directional parameter measurement module, an engineering and geological parameter measurement module, and a working status measurement module; among which: The orientation parameter measurement module is used to acquire downhole orientation parameter measurement data through an accelerometer sensor and a fluxgate sensor; The engineering and geological parameter measurement module is used to acquire downhole engineering parameter measurement data and geological parameter measurement data through drilling gamma sub, drilling resistivity sub, drilling sonic sub and engineering parameter sub; The working status measurement module is used to acquire downhole working status parameter measurement data through temperature sensors and vibration sensors; The external ADC module is used to acquire at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module. The microprocessor module communicates with the external ADC module via the GIOA interrupt and the second SPI bus.

2. The downhole measurement and control system according to claim 1, characterized in that, Also includes: An external Flash module is used to store at least one type of data acquired by the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module. The microprocessor communicates with the external Flash module via a first SPI bus.

3. The downhole measurement and control system according to claim 1, characterized in that, The microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via a first SCI interrupt.

4. The downhole measurement and control system according to claim 1, characterized in that, The microprocessor module acquires at least one type of data from the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module via MibADC interrupt.

5. The downhole measurement and control system according to claim 1, characterized in that, Also includes: The flow switch module is used to determine the operating status of the mud pump in order to control the first GIOA state of the microprocessor module.

6. The downhole measurement and control system according to claim 1, characterized in that, Also includes: The pulse generator module is used to drive the rotary valve to generate a corresponding action based on the second GIOA state of the microprocessor module, so as to generate a pressure pulse signal.

7. The downhole measurement and control system according to claim 1, characterized in that, Also includes: The host computer module is used to configure and monitor the operating parameters and operating status of the microprocessor module; The microprocessor module communicates with the host computer via a second SCI interrupt.

8. The downhole measurement and control system according to claim 3, characterized in that, The communication modes of the first SCI interrupt include: The microprocessor module is configured as a master node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node; and / or The microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node.

9. The downhole measurement and control system according to claim 7, characterized in that, The communication mode of the second SCI interrupt is: The host computer module is configured as the master node, and the microprocessor module is configured as the slave node.

10. The downhole measurement and control system according to claim 8, characterized in that, When the microprocessor module is configured as a master node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a slave node, the microprocessor module sends an interrupt task through the first SCI interrupt; When the microprocessor module is configured as a slave node, and at least one of the orientation parameter measurement module, the engineering and geological parameter measurement module, and the working status measurement module is configured as a master node, the microprocessor module receives an interrupt task through the first SCI interrupt.

11. The downhole measurement and control system according to claim 9, characterized in that, The microprocessor module receives interrupt tasks via the second SCI interrupt.