Storage type logging system, method and application of accelerometer signal coding and decoding control
Technical Field
The invention belongs to the technical field of logging in petroleum drilling, and particularly relates to a storage type logging system, method and application of accelerometer signal coding and decoding control.
Background
At present, in the petroleum exploration and development process, logging instruments are needed to be put into a shaft after drilling, various physical parameters of different well depths in the shaft are measured, and accordingly the content of petroleum and natural gas in stratum of different well depths is analyzed and judged. Logging of horizontal wells and complex wells which are smoothly drilled and unloaded can be performed by adopting well logging processes such as pump-out storage type logging and the like; in some drilling rod logging systems at home and abroad, the ground acquisition system is connected with the instrument through a wire, so that the instrument can be monitored in the instrument conveying process. After the instrument reaches the target interval, the logging engineer checks the instrument state to be normal and then issues a logging instruction, the instrument is placed in the normal logging state, the hanging system is disconnected, the wired connection is cut off, and the ground system cannot establish information connection with the underground instrument. When the logging is finished and the downhole instrument needs to be recovered, the logging engineer cannot control the downhole instrument. In the logging process, the wired connection between the ground system and the downhole instrument is cut off, and the ground system cannot effectively control the working state of the downhole instrument. The support arms cannot be opened or closed in time, and the state of the battery cannot be controlled, and the following obvious defects exist: 1) The support arm can not be folded and the instrument can not be closed, so that the recovery difficulty of the instrument is increased. (2) The set of logging instruments adopts the underground battery to provide power for each logging instrument, but the instrument is in a working state before reaching a target layer, and the battery power is wasted due to long-time invalid power supply.
Through the above analysis, the problems and defects existing in the prior art are as follows:
(1) When the existing logging is finished and the underground instrument is required to be recovered, the instrument can not be folded and closed, and the instrument recovery difficulty is increased.
(2) When the existing logging ends and the underground instrument needs to be recovered, the set of logging instrument adopts the underground battery to provide power for each logging instrument, but the instrument is in a working state before reaching a target layer, and the battery power is wasted due to long-time invalid power supply.
The difficulty of solving the problems and the defects is as follows: how the underground instrument decodes the command issued by the ground system according to the acquired data of the accelerometer sensor, and controls the working state of the underground instrument through the decoded command.
The meaning of solving the problems and the defects is as follows:
(1) The battery is put in a dormant or awakening state through the ground system issuing instruction, so that the battery consumption is reduced.
(2) After the instrument is safely put into the well, the ground system can send out instructions to start the instrument, push the support arm open, and ensure the normal operation of the instrument.
(3) After the logging of the target layer is finished, a command can be issued, the support arm is retracted, and the battery is turned off. The device avoids the problem that the device is blocked when lifted up, so that the device cannot be recovered, and the risk of the device in the pit is reduced.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a storage type logging system, a method and application of accelerometer signal coding and decoding control.
The invention is realized in such a way, the stored logging method controlled by the encoding and decoding of the accelerometer signals is characterized in that the command of the stored logging method controlled by the encoding and decoding of the accelerometer signals is that the mud driving pump is regularly started and closed through the control command after the underground logging instrument is encoded by a ground system, so that the accelerometer sensors in the logging instrument generate regular signals, the ground control signals are identified after the signals are decoded through a microprocessor, the control command signals are sent to the logging instrument string, and the operation or dormancy of the instrument string is controlled.
Further, the accelerometer signal coding and decoding control storage logging instrument of the accelerometer signal coding and decoding control storage logging method adopts a pulse position modulation PPM coding mode when a ground system is coded. The coding method of pulse position modulation PPM is to use the position difference of the pulse to express different binary data, namely to express different binary data according to the interval length between the pulses; the microprocessor carries out filtering processing on the acquired signals of the accelerometer sensor, obtains original signal code signals through an envelope detection method, a sampling decision device and a decoder, obtains control command signals of a ground system through calculation processing, and sends control commands to a logging instrument string connected at the back.
Further, the accelerometer signal encoding and decoding control storage type logging instrument of the accelerometer signal encoding and decoding control storage type logging method adopts a pulse position modulation encoding method PPM, and the pulse position modulation encoding is a method for transmitting information by taking time intervals as data streams; typically, 1 pulse represents 1 hexadecimal number (0-F), the specific number of which depends on its position, i.e. on the time interval between it and the last pulse; the rules are: the last pulse ends and a pulse appears after 2 times of standard pulse width recovery time, which represents "0"; delaying the occurrence of 1 standard pulse width, representing a "1"; by analogy, if a pulse occurs with a delay of 15 pulse widths, then this pulse represents "F"; s represents a synchronous pulse, and the time interval is a fixed value; m represents the data pulse interval: m=2t+n×t seconds; wherein N is hexadecimal number of 0-F, T is standard pulse width, and 2T represents recovery time of the pulse.
Further, the microprocessor of the storage type logging method controlled by the encoding and decoding of the accelerometer signals carries out a band-pass filter (BPF) on the acquired signal x (t) of the accelerometer sensor, and after envelope detection, the envelope is output; and filtering high-frequency clutter by a low-pass filter LPF, obtaining an original signal code signal by a sampling decision device and a decoder, obtaining a control command signal of a ground system by calculation processing, and sending a control command to a logging instrument string connected at the back.
It is a further object of the present invention to provide a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of: the command for working or dormancy of the underground logging instrument is that after the ground system is encoded, the regular on and off of the mud driving pump is controlled by the control command, so that an accelerometer sensor in the logging instrument communication module generates a regular signal, the ground control signal is identified after the signal is decoded by the microprocessor, the control command signal is sent to the logging instrument string, and the working or dormancy of the instrument string is controlled.
Another object of the present invention is to provide a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: the command for working or dormancy of the underground logging instrument is that after the ground system is encoded, the regular on and off of the mud driving pump is controlled by the control command, so that an accelerometer sensor in the logging instrument communication module generates a regular signal, the ground control signal is identified after the signal is decoded by the microprocessor, the control command signal is sent to the logging instrument string, and the working or dormancy of the instrument string is controlled.
Another object of the present invention is to provide a storage logging system for implementing the storage logging method of the accelerometer signal codec control, where an MCU master control module in a communication module of the storage logging system of the accelerometer signal codec control includes an accelerometer sensor; a Flash memory chip; the microprocessor is respectively connected with the accelerometer sensor and the Flash storage chip, decodes signals of the accelerometer sensor acquired by the microprocessor, and obtains useful information through analysis and processing; transmitting a control command to a logging instrument string connected at the back, and storing the information obtained by calculation into a Flash chip; the power supply module is used for supplying power to the power supply control module, and the power supply control module is used for supplying power to the MCU main control module.
It is another object of the present invention to provide a dual lateral logging tool with the accelerometer signal codec controlled storage logging system mounted thereon.
Another object of the present invention is to provide a natural gamma logging tool equipped with the stored logging system with accelerometer signal codec control.
It is another object of the present invention to provide an AC compensated acoustic logging tool with a stored logging system with the accelerometer signal codec control.
By combining all the technical schemes, the invention has the advantages and positive effects that: the invention provides a storage type logging instrument controlled by accelerometer signal encoding and decoding, which solves the defect that communication can not be established after wired communication between the ground and underground instruments in the similar system is disconnected. If the logging instrument can be switched between working and dormant states, the problems that the support arms are folded at any time and the like are solved. The method avoids wasting the battery power by long-time invalid power supply, and effectively solves the invalid data acquisition and the mass storage of useless data of the logging instrument caused by long-time invalid power supply. The logging time efficiency and the logging success rate are improved, and the construction risk is reduced. Pulse Position Modulation (PPM) is a quadrature modulation scheme, which has higher power utilization and frequency band utilization than conventional on-off keying (OOK) modulation, and can effectively save channel resources and improve the anti-interference capability of a communication system. The PPM has the advantages that: the method only needs to control the pulse position according to the data symbol, does not need to control the pulse amplitude and the polarity, and is convenient for realizing modulation and demodulation with lower complexity. Modulation and reception of PPM signals plays a great role in the performance of the communication system.
Table 1 comparison of prior art with inventive technique
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings needed in the embodiments of the present application, and it is obvious that the drawings described below are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a stored logging method for accelerometer signal codec control according to an embodiment of the present invention.
FIG. 2 is a schematic diagram of a storage logging system with accelerometer signal codec control according to an embodiment of the present invention;
in fig. 2: 1. an accelerometer sensor; 2. a microprocessor; 3. a Flash memory chip; 4. an MCU main control module; 5. a power control module; 6. and a power supply module.
Fig. 3 is a schematic diagram of a coding structure according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a coded signal according to an embodiment of the present invention.
Fig. 5 is a decoding schematic diagram provided in an embodiment of the present invention.
FIG. 6 is a simulation diagram of a portion of a microprocessor of a communication module decoding a regular signal generated by an accelerometer according to an embodiment of the invention
Detailed Description
The present invention will be described in further detail with reference to the following examples in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Aiming at the problems existing in the prior art, the invention provides a storage type logging system, a method and application of accelerometer signal coding and decoding control, and the invention is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the stored logging method controlled by the accelerometer signal coding and decoding provided by the invention comprises the following steps:
s101: the command for working or dormancy of the underground logging instrument is regular on and off of a mud drive pump controlled by a control command after PPM coding of a ground system;
s102: causing accelerometer sensors in the logging instrument to generate regular signals;
s103: after the microprocessor decodes the signals, the ground control signals are identified, control command signals are sent to the logging instrument string, and the work or dormancy of the instrument string is controlled.
Other steps may be performed by those skilled in the art of the stored-type logging method for controlling the encoding and decoding of the accelerometer signal provided by the present invention, and the stored-type logging method for controlling the encoding and decoding of the accelerometer signal provided by the present invention is shown in fig. 1 only as a specific embodiment.
As shown in fig. 2, an internal circuit schematic diagram of a communication module of a storage logging system controlled by accelerometer signal encoding and decoding is provided, wherein an MCU main control module 4 comprises an accelerometer sensor 1; a Flash memory chip 3; and the microprocessor 2 is respectively connected with the accelerometer sensor 1 and the Flash memory chip 3, and signals of the accelerometer sensor collected by the microprocessor 2 are decoded and are analyzed and processed to obtain useful information. And sending a control command to the logging instrument string connected at the back, and storing the calculated information into the Flash chip 3. The power supply module 6 is used for supplying power to the power supply control module 5. The power supply control module 5 is used for supplying power to the MCU master control module 4.
As shown in fig. 3, the PPM code structure of the storage logging instrument controlled by the accelerometer signal codec is schematically shown. The standard time slot signal is sent to the time slot signal generated in the time slot frequency divider, the time slot signal is input to the frame frequency divider, the frame frequency divider generates the frame signal according to the modulated system number, the frame frequency divider counts the time slot signal, the obtained count value is compared with the pre-modulation data through the numerical comparator, when the count value and the pre-modulation data are equal, a pulse signal is output, the pulse signal obtains a PPM pulse signal through the narrow pulse shaper, and the output PPM pulse signal and the frame signal obtain the modulated PPM signal through the output module. The output module has the function of buffering data in the modulation circuit, and eliminating competition hazards caused by delay of each output pin of the counter.
As shown in fig. 4, the coded signal diagram of the stored logging instrument is controlled by the accelerometer signal codec. A pulse position modulated coding method (PPM) is employed. Pulse position modulation coding is a method of transmitting information as a data stream with time intervals. Typically, 1 pulse represents 1 hexadecimal number (0-F), the specific number of which depends on its position, i.e. on the time interval between it and the last pulse. The rules are: the last pulse ends and a pulse appears after 2 times of standard pulse width recovery time, which represents "0"; delaying the occurrence of 1 standard pulse width, representing a "1"; and so on, if a pulse occurs with a delay of 15 pulse widths, then this pulse represents an "F". S represents a synchronous pulse, and the time interval is a fixed value; m represents the data pulse interval: m=2t+n×t (seconds); wherein N is hexadecimal number of 0-F, T is standard pulse width, and 2T represents recovery time of the pulse. For example, the rising data pulse interval from the falling edge of the 4 th pulse to the 5 th pulse is 4 standard pulse widths, and the 5 th pulse represents hexadecimal number 0x02.
As shown in fig. 5, a decoding schematic of a stored-type logging instrument with accelerometer signal codec control. The microprocessor carries out band-pass filter (BPF) on the collected signal x (t) of the accelerometer sensor, and outputs the envelope after envelope detection. And filtering high-frequency clutter by a low-pass filter (LPF), obtaining an original signal code signal by a sampling decision device and a decoder, obtaining a control command signal of a ground system by calculation processing, and sending a control command to a logging instrument string connected at the back.
The invention relates to a storage logging instrument controlled by encoding and decoding of accelerometer signals, which adopts a Pulse Position Modulation (PPM) encoding mode when a ground system is encoded. The coding method of Pulse Position Modulation (PPM) is to use the difference of the positions of the pulses to represent different binary data, i.e. to express different binary data according to the length of the interval between the pulses. The microprocessor carries out filtering processing on the acquired signals of the accelerometer sensor, then obtains original signal code signals through an envelope detection method, a sampling decision device and a decoder, obtains control command signals of a ground system through calculation processing, and sends control commands to a logging instrument string connected at the back.
Fig. 6 is a simulation diagram of a communication module portion microprocessor decoding a regular signal generated by an accelerometer. The first 3 pulses are sync heads, separated by 1 pulse width. The surface system encodes with 30s as a pulse width, the mud drive pump is controlled to be turned on and off regularly by a control command, and the downhole logging instrument string is controlled by an accelerometer generating a control command of 4 bytes (e.g. 0x 13204532). The first plot in the figure represents the regular control command signal generated by the ground control accelerometer. And a curve II represents a signal code signal generated by the data obtained by collecting signals generated by the accelerometer through the AD chip after the data are calculated and processed by the microprocessor. The microprocessor calculates the distance between the pulses to determine the control commands generated by the surface system to control the state of the downhole tool string.
In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more; the terms "upper," "lower," "left," "right," "inner," "outer," "front," "rear," "head," "tail," and the like are used as an orientation or positional relationship based on that shown in the drawings, merely to facilitate description of the invention and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be construed as limiting the invention. Furthermore, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be noted that the embodiments of the present invention can be realized in hardware, software, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or special purpose design hardware. Those of ordinary skill in the art will appreciate that the apparatus and methods described above may be implemented using computer executable instructions and/or embodied in processor control code, such as provided on a carrier medium such as a magnetic disk, CD or DVD-ROM, a programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The device of the present invention and its modules may be implemented by hardware circuitry, such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., as well as software executed by various types of processors, or by a combination of the above hardware circuitry and software, such as firmware.
The foregoing is merely illustrative of specific embodiments of the present invention, and the scope of the invention is not limited thereto, but any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention will be apparent to those skilled in the art within the scope of the present invention.