CN114427441A - Underground circuit control system and implementation method thereof - Google Patents

Underground circuit control system and implementation method thereof Download PDF

Info

Publication number
CN114427441A
CN114427441A CN202011010987.7A CN202011010987A CN114427441A CN 114427441 A CN114427441 A CN 114427441A CN 202011010987 A CN202011010987 A CN 202011010987A CN 114427441 A CN114427441 A CN 114427441A
Authority
CN
China
Prior art keywords
circuit
downhole
firmware
function
underground
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011010987.7A
Other languages
Chinese (zh)
Other versions
CN114427441B (en
Inventor
胡越发
倪卫宁
亢武臣
陈晓晖
李新
郑奕挺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Petroleum and Chemical Corp
Sinopec Research Institute of Petroleum Engineering
Original Assignee
China Petroleum and Chemical Corp
Sinopec Research Institute of Petroleum Engineering
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Petroleum and Chemical Corp, Sinopec Research Institute of Petroleum Engineering filed Critical China Petroleum and Chemical Corp
Priority to CN202011010987.7A priority Critical patent/CN114427441B/en
Priority claimed from CN202011010987.7A external-priority patent/CN114427441B/en
Publication of CN114427441A publication Critical patent/CN114427441A/en
Application granted granted Critical
Publication of CN114427441B publication Critical patent/CN114427441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E21EARTH OR ROCK DRILLING; MINING
    • E21BEARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B47/00Survey of boreholes or wells
    • E21B47/02Determining slope or direction
    • EFIXED CONSTRUCTIONS
    • E21EARTH OR ROCK DRILLING; MINING
    • E21BEARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B47/00Survey of boreholes or wells
    • E21B47/02Determining slope or direction
    • E21B47/022Determining slope or direction of the borehole, e.g. using geomagnetism
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23102Quality parameter is low energy consumption of machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mining & Mineral Resources (AREA)
  • Environmental & Geological Engineering (AREA)
  • Fluid Mechanics (AREA)
  • Geophysics (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geochemistry & Mineralogy (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)
  • Microcomputers (AREA)

Abstract

The invention discloses a method for realizing a downhole circuit control system, which comprises the following steps: carrying out low-power consumption design on an underground circuit; according to the working process of the underground circuit, the underground circuit is divided into functions, and based on the functions, a firmware framework is established, so that the execution sequence and the starting and stopping time are calibrated for each function; and identifying processing equipment required to be input by each firmware when the firmware realizes the specified function based on the firmware architecture, and configuring the downhole circuit working mode corresponding to the validation stage for each firmware based on the processing equipment. After the low-power-consumption design of hardware is completed, the power consumption management of the underground circuit is further realized, and the power consumption of the circuit is reduced to the maximum extent, so that the overall temperature resistance of the underground circuit is improved.

Description

Underground circuit control system and implementation method thereof
Technical Field
The invention relates to the technical field of logging-while-drilling instruments, in particular to an underground circuit control system and an implementation method thereof.
Background
Measurement While Drilling (MWD) and Logging While Drilling (LWD) can provide geological and directional parameters, facilitate wellbore trajectory adjustments, and improve the rate of penetration. High temperature resistance is the main development direction of measurement while drilling (logging) instruments. One of the key points of the high-temperature circuit design is to reduce the power consumption as much as possible, reduce the released heat, reduce the requirement on the heat dissipation of the components and improve the working reliability of the components.
However, the development of the existing high-temperature measurement while drilling (logging) instrument is in a starting stage, and the highest working temperature is far from the high-end instrument. Therefore, there is a need in the art to provide a simple and low-cost downhole high-temperature circuit capable of implementing power consumption management, so as to improve the overall temperature tolerance of the circuit.
Disclosure of Invention
In order to solve the technical problem, the invention provides an implementation method of a downhole circuit control system, which comprises the following steps: the method comprises the following steps of (1) preparing, and designing a downhole circuit with low power consumption; the method comprises the following steps of function division, namely, according to the working process of the underground circuit, the underground circuit is subjected to function division, and based on the function division, a firmware framework is established, so that the execution sequence and the starting and stopping time are calibrated for each function; and a working mode configuration step, identifying processing equipment required to be put into each firmware when the firmware realizes the specified function based on the firmware architecture, and configuring the downhole circuit working mode corresponding to the validation stage for each firmware based on the processing equipment.
Preferably, the step of identifying the processing device corresponding to each firmware when implementing the specified function includes: and sequentially determining whether each firmware needs to be operated by the underground circuit processor or not and whether external equipment needs to be put into work or not when the firmware realizes the specified function.
Preferably, when the firmware needs to be used as the processing device through the downhole circuit processor when the specified function is realized, the downhole circuit processor is awakened in an interrupt mode, so that the downhole circuit enters a normal working mode.
Preferably, when the firmware needs to be used as the processing device through the external device when realizing the specified function, the downhole circuit processor is controlled to enter a shutdown state in the process of executing the corresponding function by the external device, so that the downhole circuit enters a sleep mode.
Preferably, when the downhole circuit completes a complete work cycle, a completion instruction is received, and the external device and the downhole circuit processor are controlled to enter a shutdown state, so that the downhole circuit enters a shutdown mode.
Preferably, when the downhole circuit enters a shutdown mode, a first timer is started and the original system clock frequency is adjusted, and when the accumulated time of the timer reaches a preset delay time threshold, the next working period is controlled to start and recover the original system clock frequency.
In another aspect, the present invention further provides a downhole circuit control system, which is constructed according to the implementation method described above, and includes: the controller is provided with a power management module and is configured to establish a firmware framework required by the downhole circuit which is subjected to low power consumption design when the downhole circuit is effective and a downhole circuit working mode corresponding to each firmware effective stage, wherein the downhole circuit is divided into functions according to the working process of the downhole circuit, the firmware framework is established on the basis of the division, so that the execution sequence and the starting and stopping time are calibrated for each function, the processing equipment corresponding to each firmware when the specified function is realized is identified on the basis of the firmware framework, and the corresponding downhole circuit working mode is configured for each firmware on the basis of the division.
Preferably, the processing device is selected from one of the external device or a downhole circuitry processor.
Preferably, in the event that firmware requires the downhole circuitry processor to act as the processing device in performing a specified function, the controller is configured to wake up the downhole circuitry processor in an interrupt manner so that the downhole circuitry enters a normal operating mode.
Preferably, in the case that the firmware needs to be the processing device through the external device when the specified function is realized, the controller is configured to control the downhole circuit processor to enter a shutdown state during the corresponding function is executed by the external device, so that the downhole circuit enters a sleep mode.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
the invention provides a downhole circuit control system and an implementation method thereof, and the system and the method are applied to the technical field of high-temperature measurement while drilling instruments and/or logging while drilling instruments. The underground circuit control system takes a microprocessor as a control base and a core, performs sub-function division on a specific function to be realized by realizing firmware development before the specific function is executed on the microprocessor, and utilizes the microprocessor with a power management function to lead an underground circuit processor and an external device integrated in the microprocessor to be capable of entering different working modes in a targeted manner when different sub-functions are realized, thereby further realizing power consumption management of the underground high-temperature circuit after the high-temperature circuit is subjected to hardware low-power-consumption design, reducing the power consumption of the circuit to the greatest extent, improving the overall temperature resistance of the underground circuit, further providing low-power consumption management which is simple and easy to implement, has lower cost and higher efficiency, and has better application prospect.
While the invention will be described in connection with certain exemplary implementations and methods of use, it will be understood by those skilled in the art that it is not intended to limit the invention to these embodiments. On the contrary, the intent is to cover all alternatives, modifications and equivalents as included within the spirit and scope of the invention as defined by the appended claims.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a step diagram of a method for implementing a downhole circuit control system according to an embodiment of the present disclosure.
Fig. 2 is a specific flowchart of a method for implementing the downhole circuit control system according to an embodiment of the present disclosure.
Fig. 3 is a control flow chart of an operating mode of a downhole high-temperature directional circuit in an active stage in an implementation method of the downhole circuit control system according to the embodiment of the present application.
Fig. 4 is a schematic diagram of an overall structure of a downhole circuit according to an embodiment of the present application.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details or with other methods described herein.
Measurement While Drilling (MWD) and Logging While Drilling (LWD) can provide geological and directional parameters, facilitate wellbore trajectory adjustments, and improve the rate of penetration. High temperature resistance is the main development direction of measurement while drilling (logging) instruments. One of the key points of the high-temperature circuit design is to reduce the power consumption as much as possible, reduce the released heat, reduce the requirement on the heat dissipation of the components and improve the working reliability of the components.
However, the development of the existing high-temperature measurement while drilling (logging) instrument is in a starting stage, and the highest working temperature is far from the high-end instrument. Therefore, there is a need in the art to provide a simple and low-cost downhole high-temperature circuit capable of implementing power consumption management, so as to improve the overall temperature tolerance of the circuit.
Therefore, in order to solve the above technical problems, the present invention provides a downhole circuit control system and a method for implementing the same, which utilize a high temperature microprocessor to control the operation mode of a downhole circuit, wherein the downhole circuit is a circuit designed with low power consumption. Specifically, the high-temperature microprocessor is used as a control base and a core of the downhole circuit, and according to the type of processing equipment (execution equipment) which needs to participate when the downhole circuit executes the corresponding subdivision function, a power management module of the microprocessor is utilized, so that whether the downhole circuit processor or external equipment integrated with the microprocessor is used as the processing equipment which participates when the corresponding subdivision function is executed or not is pertinently controlled to start and stop, and further different working modes (different start and stop states of the downhole circuit processor or the external equipment) are correspondingly provided when the downhole circuit executes different subdivision functions. Therefore, after the high-temperature circuit is subjected to hardware low-power-consumption design, the power consumption of the high-temperature circuit is further reduced, and the overall temperature resistance of the circuit is improved.
First, a description will be given of a configuration of an application environment (downhole circuit control system) of the method for realizing the downhole circuit control system according to the present invention. Fig. 4 is a schematic diagram of an overall structure of a downhole circuit according to an embodiment of the present application. As shown in fig. 4, in an embodiment of the present invention, the downhole circuit 10 includes at least: a controller (downhole circuitry control system) 11, and an external device 12. The controller 11 is integrated with a downhole circuit processor 101, and the downhole circuit processor 101 is used for completing an operation processing part of functions required to be realized by the downhole circuit. The downhole circuit 10 is a high temperature circuit (e.g., a high temperature directional circuit) in a downhole measurement while drilling instrument or a logging while drilling instrument, which needs to implement a specific function, wherein the specific function that the high temperature directional circuit needs to implement is to acquire signals through sensors such as a high temperature accelerometer, a fluxgate, and a gyroscope, and to calculate directional parameters such as a well inclination, an azimuth, a gravity tool face, and a magnetic tool face by using an internal processor after preprocessing such as filtering, smoothing, and abnormal data removing of the signals. The downhole circuit 10 according to the present invention is a circuit for writing firmware, which has been subjected to a process (before board manufacturing) such as hardware low-power design, board manufacturing, and component mounting. Additionally, in embodiments of the present invention, elevated temperatures in the logging while drilling or drilling tool generally refer to tool survival and stable operating temperatures of 175 ℃ and above.
Further, the controller 11 employs a high temperature microprocessor device having a power management module. Preferably, in the embodiment of the present invention, the external device 12 is an external device (e.g., a sensor as an acquisition device, etc.) other than the downhole circuit processor 101, the signal conditioning circuit portion, etc. that needs to participate in implementing a specific function of the downhole circuit 10. The controller 11 can combine with the power management module to control the power supply modes of its own CPU (downhole circuit processor 101) and the external device 12, so as to determine different operation modes of the controller chip, and enable the downhole circuit 10 to enter the corresponding operation mode.
Fig. 1 is a step diagram of a method for implementing a downhole circuit control system according to an embodiment of the present disclosure. The method for implementing the downhole circuit control system according to the present invention will be described with reference to fig. 1 and 4. As shown in fig. 1, step S110 is to type the controller 11, perform low power consumption design before manufacturing the downhole circuit 10, and then proceed to step S120. In step S110, the controller 11 is configured as a high-temperature microprocessor with a power management module, so that after the power management module function is applied to the downhole circuit 10, the power consumption of the downhole circuit is further reduced on the basis of the low power consumption design, thereby improving the overall temperature tolerance of the downhole circuit.
Step S120 is to divide the functions of the downhole circuit 10 according to the work flow of the downhole circuit 10, and based on this, a firmware architecture is established on the controller 11, so as to determine an execution sequence and a start-stop timing for each function, and then the process proceeds to step S130. In step S120, the downhole circuit 10 is functionally divided (functionally subdivided) according to the workflow that the downhole circuit 10 goes through when it needs to implement its specific function, so as to obtain one or more sub-functions, and then, according to these sub-functions, firmware for each sub-function is established on the controller 11, so as to form a firmware architecture of the entire downhole circuit. When configuring corresponding firmware for each sub-function, the power management module is required to calibrate a corresponding execution sequence and start-stop time (start-stop time) of each sub-function for each sub-function, so that the execution sequence and start-stop time of each sub-function are configured in association with the power management module (in the controller 11). Therefore, after the execution sequence and the start-stop time of each sub-function are configured in association with the power management module, the downhole circuit 10 provides the associated power for the circuit related to the corresponding sub-function according to the execution sequence and the start-stop time of the sub-function under the control of the power management module and according to the execution sequence of each sub-function of the downhole circuit, and simultaneously controls the associated power of the circuit related to other sub-functions which are not related to the execution of the current sub-function to be in a state of no power input or low power input.
For example, when the downhole circuit 10 implements its specific function, the sub-function a, the sub-function B, and the sub-function C need to be completed in sequence as follows. The sub-function a is realized by the execution of the associated circuit a1, and the associated power supply a2 supplies the associated circuit a1 with its operating power supply in the normal operating state; the sub-function B is realized by the execution of the associated circuit B1, and the associated power supply B2 supplies the associated circuit B1 with its operating power supply in the normal operating state; the sub-function C is realized by the execution of the associated circuit C1, and the associated power supply C2 supplies the associated circuit C1 with its operating power in the normal operating state. After the sub-function associated circuits are configured in association with the associated power supplies corresponding thereto, in the effective execution stage of the subsequent application process of the downhole circuit 10, the power management module may provide corresponding working power supplies to the corresponding associated circuits according to the sub-function execution sequence, and control the non-power-supply or low-power-amount input state of other sub-function associated circuits unrelated to the current sub-function, thereby reducing the power consumption of the downhole circuit. Therefore, the power management module in the controller 10 is used for providing the working power supply required by the corresponding associated circuit for different sub-functions, so that different power supply modes are provided for the downhole circuit along with the execution of different sub-functions.
Step S130 identifies, based on the firmware architecture established in step S120, processing equipment that needs to be input when each firmware implements the specified sub-function, and configures, in the controller 11, an operating mode of the downhole circuit 10 corresponding to the validation stage for each firmware according to the processing equipment that needs to be input when each sub-function is executed. Thus, when the downhole circuit 10 executes a work flow corresponding to a specific function, the power consumption of the downhole circuit 10 is further reduced on the basis of completing the low power consumption design by controlling the start and stop timing of the processing equipment for realizing each sub-function, so that the high-temperature power consumption management of the downhole circuit is realized, and the power consumption of the downhole circuit 10 is reduced to the maximum extent.
Fig. 2 is a specific flowchart of a method for implementing the downhole circuit control system according to an embodiment of the present disclosure. The specific flow of the implementation method of the downhole circuit control system according to the present invention is described below with reference to fig. 2. First, step S201 performs model selection on the high-temperature smart microprocessor. Specifically, in step S201, the model selection is performed for the controller 20. Step S202 is to design a low-power-consumption circuit before plate manufacturing for the underground high-temperature circuit, and to assemble a plate and components, so that the method enters step S203 after the underground circuit is assembled. Step S203 is to test the performance of the hardware circuit of the underground circuit control system, so as to test and verify whether the working performance of the microprocessor and the peripheral equipment in the underground high-temperature control system is normal, and then the step S204 is entered. In step S204 (according to the method described in step S120 above), a sub-function division process is performed on a specific function of the downhole circuit, and in step S205 (according to the method described in step S120 above), a firmware architecture of the current downhole circuit is established, so as to determine an execution sequence and a start-stop timing for each sub-function, and then the process proceeds to step S207.
Step S206 identifies the processing equipment that needs to be put into each firmware when implementing the specified function based on the firmware architecture established in step S205, and then step S208 configures the downhole circuit working mode corresponding to the validation stage for each firmware according to the identification result of the processing equipment of each firmware. Specifically, in the embodiment of the invention, the processing device is one of a processor inside the downhole circuit or an external device. Further, in step S206, it is necessary to sequentially determine whether the operation processing by the downhole circuit processor 101 is necessary and whether the external device 12 is required to be operated when each firmware created in step S205 realizes the designated function, so as to identify the processing device that each firmware needs to be operated when realizing the designated function.
Further, in step S207, in the first embodiment, when the firmware corresponding to a certain sub-function needs to be processed by the downhole circuit processor 101 as the processing device when the specified function is implemented (that is, if the firmware corresponding to the current sub-function needs to be operated by the downhole circuit processor 101 when the specified function is implemented), at this time, the controller 11 wakes up the downhole circuit processor 101 in an interrupt manner, and controls the external device 12 to enter a shutdown state, so that the downhole circuit enters a normal operation mode (the downhole circuit processor operates normally). In this case, if the firmware corresponding to the current sub-function needs to perform the operation processing through the downhole circuit processor 101 when the specified function is implemented, at this time, the power management module wakes up the processing device corresponding to the current sub-function in a manner of associated power supply under the action of the associated configuration based on the execution sequence and the start-stop timing of the current sub-function, and performs power-free or low-power control on the processing device unrelated to the current sub-function. Thus, under the cooperation of the power management module, the current processing device (downhole circuit processor) can make the downhole circuit 10 enter a normal working mode only when the current processing device (downhole circuit processor) controls other devices (such as external devices) which do not participate in the current sub-function without power supply or with low-power supply only in the current sub-function execution stage which needs the participation of the current processing device; in performing other sub-functions that do not require the downhole circuit processor 101 to participate, the downhole circuit processor need not be controlled to start up, and thus only be controlled to enter a shutdown or standby state.
In step S207, in the second embodiment, when the firmware corresponding to a certain sub-function needs to be processed by the external device 30 corresponding to the downhole circuit 10 as the processing device when the specified function is implemented (that is, if the firmware corresponding to the current sub-function needs to be put into operation by the external device 30 when the specified function is implemented), the controller 11 controls the external device 30 to execute the corresponding sub-function, and controls the downhole circuit processor 101 to enter the shutdown state during the sub-function, so that the downhole circuit 10 enters the sleep mode. In this case, if the firmware corresponding to the current sub-function needs the external device 30 to be put into operation when the specific function is implemented, at this time, the power management module will only put into control the processing device corresponding to the current sub-function in a manner of associated power supply under the action of the associated configuration based on the execution sequence and the start-stop timing of the current sub-function, and at the same time, control other processing devices (such as the downhole circuit processor) unrelated to the current sub-function to enter a shutdown state, so as to control the downhole circuit 10 to enter a sleep mode (at this time, the downhole circuit processor stops operating, and the external device normally operates). Thus, under the coordination of the power management module, the current processing device (external device 30) will enter a normal working mode only at the sub-function execution stage that the current device needs to participate in; when executing other sub-functions that do not require the participation of the external device 30, the external device 30 is not required to be put into operation, and only the shutdown or standby state is required.
Further, in the present embodiment, the downhole circuit 10 corresponds to a complete downhole circuit operation cycle from the beginning of the specific function to the end of the specific function. In this embodiment, the execution sequence of all sub-functions related to the downhole circuit 10 when executing the specific function thereof and the start/stop time of each function are marked in the controller 11, so that the controller 11 receives a completion instruction when the downhole circuit 10 completes a complete work cycle, and at this time, the controller 11 controls the downhole circuit processor 101 and the external device 12 to enter a stop state, so that the downhole circuit 10 currently enters the stop mode (the downhole circuit processor 101 and the external device 12 both stop working). That is, when receiving the completion instruction, the controller 11 controls the downhole circuit processor 101 and the external device 12 to enter the shutdown state simultaneously under the action of the power management module, so that the downhole circuit 10 enters the shutdown mode, and at this time, the downhole circuit processor 101 and the corresponding external device 30 stop working.
Further, in the embodiment of the present invention, when the downhole circuit 10 enters the shutdown mode, the controller 11 starts the first timer, and generates a start instruction for controlling the start of the next working cycle of the downhole circuit when the accumulated time of the timer reaches the preset delay time threshold, so as to control the start of the next working cycle. Meanwhile, after the first timer is started, the controller 11 may further adjust the original system clock frequency, so that the system clock frequency is reduced in a time period other than the time period in which the downhole circuit 10 performs the specific function thereof, and at this time, the first timer may perform timing management according to the system standby clock frequency. The system standby clock frequency is less than the original system clock frequency. Thus, when the controller 11 detects that the accumulated time (timer) from the end of the current working period reaches the delay time threshold, a start instruction is generated, and the system clock is restored to the original system clock frequency to control the start of the next working period of the downhole circuit.
Therefore, the operation power consumption of the whole underground circuit control system is reduced through the mode, so that after the underground circuit hardware is designed with low power consumption, the power consumption management of the underground high-temperature circuit is realized, the power consumption of the high-temperature circuit is reduced to the maximum extent, and the temperature resistance of the underground high-temperature circuit is further improved.
According to the implementation method of the underground circuit control system, the implementation method is applied to design and development of an underground high-temperature directional circuit (high-temperature directional module), and the specific flow is shown in fig. 1 and fig. 2. Preferably, controller (MCU)20MCU chooses for use STM32 chip, is applied to the high temperature orientation module with the power management function of chip, improves the whole temperature resistance of module. When the high-temperature orientation module executes the data acquisition sub-function, sensors (external devices 30) such as a high-temperature accelerometer, a fluxgate and a gyroscope need to be used as processing devices for executing the corresponding sub-function, and after the MCU generates a start instruction, the external devices 30 are controlled to periodically acquire corresponding measurement signals; when the signal conditioning subfunction is executed, the MCU is required to be used as processing equipment for executing the corresponding subfunction, and the MCU carries out processing such as filtering, smoothing, abnormal data elimination and the like on the original measurement signal; and finally, when the data calculation subfunction is executed, the MCU calculates the directional parameters such as well deviation, azimuth angle, gravity tool surface, magnetic tool surface and the like according to the conditioned digital signals. Therefore, after the execution sequence and the start-stop time of the corresponding sub-functions are configured, the firmware framework of the current high-temperature orientation module is established in the MCU, and the downhole circuit working mode corresponding to the effective stage is configured for each firmware based on the processing equipment required to be input when each firmware realizes the corresponding sub-functions.
Fig. 3 is a control flow chart of an operating mode of a downhole high-temperature directional circuit in an active stage in an implementation method of the downhole circuit control system according to the embodiment of the present application. According to the implementation method of the downhole circuit control system in the embodiment of the invention, in a specific embodiment, when the downhole circuit is a high-temperature orientation module, the work control flow of the high-temperature orientation module is shown in fig. 3 by combining the function of the high-temperature orientation module, the implementation of the firmware function and the configuration result of the working mode of the specific function.
When the data acquisition sub-function is executed, the sensor acquires measurement of an original signal, at the moment, the high-temperature orientation module enters a sleep mode, the internal processor is in a stop working state, and the external equipment is in a normal working state; when the data acquisition sub-function is finished, the MCU awakens a CPU (high temperature orientation module processor) in the MCU in an interrupt mode so as to enter a signal conditioning sub-function execution stage, at the moment, the high temperature orientation module enters a normal working mode, the internal processor is in a normal working state, and the external equipment is in a stop working state; when the data conditioning sub-function is finished, the MCU controls the high-temperature orientation module to enter a data calculation sub-function execution stage, at the moment, the high-temperature orientation module enters a normal working mode, the internal processor is in a normal working state, and the external equipment is in a stop working state; and after a complete working cycle of the high-temperature orientation module is finished, timing (recording delay accumulated time) is started, and in a delay accumulated time period except for signal acquisition, conditioning and orientation parameter calculation, the MCU reduces the system clock frequency so as to generate a starting instruction and recover the original system clock frequency when the delay accumulated time reaches the delay time threshold.
Further, based on the implementation method of the downhole circuit control system, the functions of the downhole circuit control system according to the present invention will be described below.
Further, in the present embodiment, the controller 11 includes a power management module. The controller 20 is configured to store the firmware architecture required for the downhole circuit 10 with the low power consumption design completed in validation, and the downhole circuit operating mode corresponding to each firmware validation stage. The downhole circuit 10 is functionally divided according to a work flow required by the downhole circuit 10 to execute a specific function, and based on this, a firmware architecture of the current downhole circuit 10 is established on the controller 11, so that an execution sequence and start-stop timing of a corresponding sub-function are calibrated for each sub-function by combining with a power management module. In addition, based on the built firmware architecture of the downhole circuit 10, the processing device corresponding to each firmware when implementing the specified sub-function is identified, and based on this, a corresponding downhole circuit operating mode is configured for each firmware.
Further, the processing device is selected from one of the external device 12 or the downhole circuit processor 101 integrated in the controller 11.
Further, in the event that the firmware needs to pass through the downhole circuitry processor 101 as a processing device in order to implement the specified sub-function, the controller 11 is configured to wake up the downhole circuitry processor 101 in an interrupt manner, causing the downhole circuitry 10 to enter a normal operating mode.
Further, in the case where the firmware needs to be the current processing device through the external device 12 when implementing the specified sub-function, the controller 11 is configured to control the downhole circuit processor 101 to enter a shutdown state so that the downhole circuit 10 enters a sleep mode during the corresponding function performed by the external device 12.
The invention provides an underground circuit control system and an implementation method thereof, and the system and the method are applied to the technical field of high-temperature measurement while drilling instruments and/or logging while drilling instruments. The underground circuit control system takes a microprocessor as a control base and a core, performs sub-function division on a specific function to be realized by realizing firmware development before the specific function is executed on the microprocessor, and utilizes the microprocessor with a power management function to lead an underground circuit processor and an external device integrated in the microprocessor to be capable of entering different working modes in a targeted manner when different sub-functions are realized, thereby further realizing power consumption management of the underground high-temperature circuit after the high-temperature circuit is subjected to hardware low-power-consumption design, reducing the power consumption of the circuit to the greatest extent, improving the overall temperature resistance of the underground circuit, further providing low-power consumption management which is simple and easy to implement, has lower cost and higher efficiency, and has better application prospect.
The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is to be understood that the disclosed embodiments of the invention are not limited to the particular structures, process steps, or materials disclosed herein but are extended to equivalents thereof as would be understood by those ordinarily skilled in the relevant arts. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, the appearances of the phrase "one embodiment" or "an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment.
Although the embodiments of the present invention have been described above, the above descriptions are only for the convenience of understanding the present invention, and are not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for implementing a downhole circuit control system, comprising:
the method comprises the following steps of (1) preparing, and designing a downhole circuit with low power consumption;
the method comprises the following steps of function division, namely, according to the working process of the underground circuit, the underground circuit is subjected to function division, and based on the function division, a firmware framework is established, so that the execution sequence and the starting and stopping time are calibrated for each function;
and a working mode configuration step, identifying processing equipment required to be put into each firmware when the firmware realizes the specified function based on the firmware architecture, and configuring the downhole circuit working mode corresponding to the validation stage for each firmware based on the processing equipment.
2. The method of claim 1, wherein the step of identifying the processing device corresponding to each firmware in implementing the specified function comprises:
and sequentially determining whether each firmware needs to be operated by the underground circuit processor or not and whether external equipment needs to be put into work or not when the firmware realizes the specified function.
3. The implementation method of claim 2,
and when the firmware needs to be used as the processing equipment through the underground circuit processor when realizing the specified function, the underground circuit processor is awakened in an interrupt mode, so that the underground circuit enters a normal working mode.
4. The implementation method according to claim 2 or 3,
when the firmware needs to be used as the processing equipment through the external equipment when realizing the specified function, the underground circuit processor is controlled to enter a shutdown state in the process of executing the corresponding function by the external equipment, so that the underground circuit enters a sleep mode.
5. The implementation method according to any one of claims 2 to 4,
and when the underground circuit completes a complete work cycle, receiving a completion instruction, and controlling the external equipment and the underground circuit processor to enter a shutdown state, so that the underground circuit enters a shutdown mode.
6. The method of claim 5, wherein upon the downhole circuit entering a shutdown mode,
and starting a first timer and adjusting the clock frequency of the original system, and controlling the next working cycle to start and recover the clock frequency of the original system when the accumulated time of the timer reaches a preset delay time threshold.
7. A downhole circuit control system, constructed according to the implementation method of any one of claims 1 to 6, comprising:
the controller is provided with a power management module and is configured to establish a firmware framework required by the downhole circuit which is subjected to low power consumption design when the downhole circuit is effective and a downhole circuit working mode corresponding to each firmware effective stage, wherein the downhole circuit is divided into functions according to the working process of the downhole circuit, the firmware framework is established on the basis of the division, so that the execution sequence and the starting and stopping time are calibrated for each function, the processing equipment corresponding to each firmware when the specified function is realized is identified on the basis of the firmware framework, and the corresponding downhole circuit working mode is configured for each firmware on the basis of the division.
8. The system of claim 7, wherein the processing device is selected from one of the external device or a downhole circuitry processor.
9. The system of claim 8, wherein, in the event that firmware is required to pass through the downhole circuitry processor as the processing device in performing a specified function,
the controller is configured to wake up the downhole circuitry processor in an interrupt manner such that the downhole circuitry enters a normal operating mode.
10. The system according to claim 8 or 9, wherein, in the case where firmware is required to pass through the external device as the processing device when implementing a specified function,
the controller is configured to control the downhole circuit processor to enter a shutdown state during the corresponding function performed by the external device, so that the downhole circuit enters a sleep mode.
CN202011010987.7A 2020-09-23 Underground circuit control system and implementation method thereof Active CN114427441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011010987.7A CN114427441B (en) 2020-09-23 Underground circuit control system and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011010987.7A CN114427441B (en) 2020-09-23 Underground circuit control system and implementation method thereof

Publications (2)

Publication Number Publication Date
CN114427441A true CN114427441A (en) 2022-05-03
CN114427441B CN114427441B (en) 2024-06-21

Family

ID=

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5960883A (en) * 1995-02-09 1999-10-05 Baker Hughes Incorporated Power management system for downhole control system in a well and method of using same
US20060196664A1 (en) * 2005-03-01 2006-09-07 Hall David R Remote Power Management Method and System in a Downhole Network
CN101944527A (en) * 2009-07-08 2011-01-12 炬力集成电路设计有限公司 Integrated circuit and standby controlling method thereof
CN103412990A (en) * 2013-08-05 2013-11-27 北京航空航天大学 Multi-level collaborative low-power design method
CN107218025A (en) * 2017-05-04 2017-09-29 中国石油集团渤海钻探工程有限公司 A kind of multistage multi-channel underground low power consumption control execution system and control method
CN107528355A (en) * 2016-06-22 2017-12-29 中国石油化工股份有限公司 With brill method for managing power supply and system
CN108073421A (en) * 2016-11-10 2018-05-25 苹果公司 The method and apparatus that the control of individuation power supply is provided for peripheral subsystem
CN108089689A (en) * 2017-11-17 2018-05-29 珠海慧联科技有限公司 A kind of small-sized SoC super low-power consumptions control circuit and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5960883A (en) * 1995-02-09 1999-10-05 Baker Hughes Incorporated Power management system for downhole control system in a well and method of using same
US20060196664A1 (en) * 2005-03-01 2006-09-07 Hall David R Remote Power Management Method and System in a Downhole Network
CN101944527A (en) * 2009-07-08 2011-01-12 炬力集成电路设计有限公司 Integrated circuit and standby controlling method thereof
CN103412990A (en) * 2013-08-05 2013-11-27 北京航空航天大学 Multi-level collaborative low-power design method
CN107528355A (en) * 2016-06-22 2017-12-29 中国石油化工股份有限公司 With brill method for managing power supply and system
CN108073421A (en) * 2016-11-10 2018-05-25 苹果公司 The method and apparatus that the control of individuation power supply is provided for peripheral subsystem
CN107218025A (en) * 2017-05-04 2017-09-29 中国石油集团渤海钻探工程有限公司 A kind of multistage multi-channel underground low power consumption control execution system and control method
CN108089689A (en) * 2017-11-17 2018-05-29 珠海慧联科技有限公司 A kind of small-sized SoC super low-power consumptions control circuit and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马文中等: "随钻测井仪时钟控制模块的设计及实现", 石油管材与仪器, vol. 2, no. 03, pages 230 - 232 *

Similar Documents

Publication Publication Date Title
EP3623776B1 (en) Dynamic power consumption management and wake-up method and application system therefor
US7051219B2 (en) System and apparatus for adjusting a clock speed based on a comparison between a time required for a scheduler function to be completed and a time required for an execution condition to be satisfied
US6308279B1 (en) Method and apparatus for power mode transition in a multi-thread processor
CN100442204C (en) System-on-chip chip and its power consumption control method
US7639764B2 (en) Method and apparatus for synchronizing data between different clock domains in a memory controller
TWI441083B (en) Apparatus for performing timer management and associated method
CN105225316A (en) A kind of dormancy of electron key low-power consumption power supply plan and awakening method
CN104111850A (en) Method and system for reducing power consumption of MCU (Micro-Control Unit)
CN112668211B (en) Limit power consumption control system and control method based on equipment power supply state
EP2903246B1 (en) Voice recognition function realizing method and device
CN104615415A (en) Information processing method and electronic equipment
CN105573463A (en) Power consumption management method and device
CN110945457B (en) Energy-aware computing system
CN103389644A (en) Timing system and timing method
CN100410911C (en) Interrupt controller, interrupt signal pretreating circuit and its interrupt control method
CN106325850A (en) Method and device for self-adaptively adjusting ReDriver configuration parameter based on temperature and humidity
KR20140026308A (en) Apparatus and method for managing power in multi-core system
CN105547491B (en) A kind of automatic power-saving method of telescope-type laser ranging thermal imaging system
CN114427441A (en) Underground circuit control system and implementation method thereof
CN114427441B (en) Underground circuit control system and implementation method thereof
CN116955242A (en) Single-bus communication method, storage medium and intelligent terminal
CN110362430A (en) A kind of method being restarted automatically, system and the storage medium of server
WO2017166664A1 (en) Application tool awakening method and apparatus based on mobile terminal, and electronic device
CN204613603U (en) The synchro system of clock information and air conditioner
JP2003315474A (en) Electronic control device and semiconductor integrated circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant