CN110792435A - Rapid coding algorithm for mud pulse - Google Patents
Rapid coding algorithm for mud pulse Download PDFInfo
- Publication number
- CN110792435A CN110792435A CN201911096204.9A CN201911096204A CN110792435A CN 110792435 A CN110792435 A CN 110792435A CN 201911096204 A CN201911096204 A CN 201911096204A CN 110792435 A CN110792435 A CN 110792435A
- Authority
- CN
- China
- Prior art keywords
- pulse
- time slot
- coding
- coded data
- pulses
- 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
Links
Classifications
-
- E—FIXED CONSTRUCTIONS
- E21—EARTH DRILLING; MINING
- E21B—EARTH DRILLING, e.g. DEEP DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
- E21B47/00—Survey of boreholes or wells
- E21B47/12—Means for transmitting measuring-signals or control signals from the well to the surface, or from the surface to the well, e.g. for logging while drilling
- E21B47/14—Means for transmitting measuring-signals or control signals from the well to the surface, or from the surface to the well, e.g. for logging while drilling using acoustic waves
- E21B47/18—Means for transmitting measuring-signals or control signals from the well to the surface, or from the surface to the well, e.g. for logging while drilling using acoustic waves through the well fluid, e.g. mud pressure pulse telemetry
Abstract
The invention discloses a rapid coding algorithm of mud pulses, which adopts a multi-pulse time slot multiplexing technology, wherein a plurality of pulses share the same time slot coordinate, so that the number of required time slots is less when the pulse width and the data are the same, the transmission time is reduced, the coding efficiency is improved, meanwhile, the pulse width of the coding time slot is 1.5 times of the time slot width, the allowable deviation of the pulse position is larger under the same pulse width, and the coding fault tolerance is improved.
Description
Technical Field
The invention relates to the field of petroleum drilling, in particular to a mud pulse rapid coding algorithm.
Background
In the field of petroleum drilling, a mud pulser is used for transmitting downhole data to the ground in real time in measurement while drilling. The underground data needs to be converted into a mud pressure pulse signal through coding, mud pressure pulses are collected on the ground, and are reversely decoded according to a coding mode to be restored into uploading data. With the upgrading and increasing of downhole measurement while drilling tools, the data volume needing to be uploaded also increases rapidly. The existing mud pulser data coding uses a pulse position coding method, has low coding efficiency and poor fault tolerance, and cannot meet the requirements of actual use.
Disclosure of Invention
The invention aims to provide a rapid coding algorithm of mud pulses, which solves the problem of improvement in the background technology.
The invention is realized in such a way that the rapid coding algorithm of the mud pulse comprises the following steps:
step 1: obtaining the number of the set coding pulses and the time slot width, and entering the step 2;
step 2: determining the number of time slots according to the number of pulses, and entering a step 3;
and step 3: initializing pulse positions, sequentially placing all pulses at the leftmost side of a time slot, placing a high-order pulse at the left side of a low-order pulse, initializing coded data to be 0, and entering a step 4;
and 4, step 4: obtaining coded data, and entering step 5;
and 5: comparing the coded data with the coded data, if equal, entering step 9, and if not equal, entering step 6;
step 6: if the current pulse is not at the rightmost end of the time slot which can be moved to, the pulse at the lowest position moves to the right for 1 time slot, the coded data is increased by 1, the step 8 is carried out, if the current pulse reaches the rightmost end of the time slot, the carry is required to be carried to the high position, and the step 7 is carried out;
and 7: the carry operation is as follows, the high-order pulse of the current moving pulse moves to the right by 1 bit, the current moving pulse and the low-order pulse thereof return to the time slot immediately adjacent to the right side of the high-order pulse, the coded data is increased by 1, and the step 5 is entered;
and 8: repeating the steps 5 and 6 until the coded data and the coded data are equal;
and step 9: converting the time slot and the pulse into a 0 and 1 sequence, coding the position of the time slot with the pulse into 1, coding the position of the time slot without the pulse into 0, obtaining a coded sequence, and finishing coding.
The further technical scheme of the invention is as follows: the width of the pulse is 1.5 times the slot width.
The invention has the beneficial effects that: the rapid coding algorithm of the mud pulse has the advantages that the number of the needed time slots is less when the pulse width and the data are the same through time slot multiplexing, the transmission time is reduced, the coding efficiency is improved, meanwhile, the pulse width of the coding time slot is 1.5 times of the time slot width, the allowable deviation of the pulse position is larger under the same pulse width, and the coding fault tolerance is improved.
Detailed Description
The first embodiment is as follows: the invention discloses a rapid coding algorithm of mud pulses, which comprises the following steps:
step 1: obtaining the number of the set coding pulses and the time slot width, and entering the step 2;
step 2: determining the number of time slots according to the number of pulses, and entering a step 3;
and step 3: initializing pulse positions, sequentially placing all pulses at the leftmost side of a time slot, placing a high-order pulse at the left side of a low-order pulse, initializing coded data to be 0, and entering a step 4;
and 4, step 4: obtaining coded data, and entering step 5;
and 5: comparing the coded data with the coded data, if equal, entering step 9, and if not equal, entering step 6;
step 6: if the current pulse is not at the rightmost end of the time slot which can be moved to, the pulse at the lowest position moves to the right for 1 time slot, the coded data is increased by 1, the step 8 is carried out, if the current pulse reaches the rightmost end of the time slot, the carry is required to be carried to the high position, and the step 7 is carried out;
and 7: the carry operation is as follows, the high-order pulse of the current moving pulse moves to the right by 1 bit, the current moving pulse and the low-order pulse thereof return to the time slot immediately adjacent to the right side of the high-order pulse, the coded data is increased by 1, and the step 5 is entered;
and 8: repeating the steps 5 and 6 until the coded data and the coded data are equal;
and step 9: converting the time slot and the pulse into a 0 and 1 sequence, coding the position of the time slot with the pulse into 1, coding the position of the time slot without the pulse into 0, obtaining a coded sequence, and finishing coding.
The method adopts a multi-pulse time slot multiplexing technology, a plurality of pulses share the same time slot coordinate, the pulses are not overlapped and crossed, and the positions of the pulses have correlation; the pulse width is 1.5 times of the slot width; the high-order pulse is positioned at the left side of the low-order pulse; the pulse position is shifted to the right by one slot to represent an increase of 1 in the encoded data; when the low-order pulse moves to the rightmost side of the time slot, a carry is generated from the low order to the high order, the high-order pulse moves to the right by one time slot, and meanwhile, the high-order weight correspondingly changes; the bit weight of the lowest pulse is always 1, the bit weight of the second lowest pulse is determined by the distance from the second lowest pulse to the rightmost end of the time slot, and the bit weight of the pulse above the second lowest pulse is determined by the pulse lower than the second lowest pulse; the rapid coding algorithm of the mud pulse has the advantages that the number of the needed time slots is less when the pulse width and the data are the same through time slot multiplexing, the transmission time is reduced, the coding efficiency is improved, meanwhile, the pulse width of the coding time slot is 1.5 times of the time slot width, the allowable deviation of the pulse position is larger under the same pulse width, and the coding fault tolerance is improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (2)
1. A rapid coding algorithm for mud pulses, characterized in that it comprises the following steps:
step 1: obtaining the number of the set coding pulses and the time slot width, and entering the step 2;
step 2: determining the number of time slots according to the number of pulses, and entering a step 3;
and step 3: initializing pulse positions, sequentially placing all pulses at the leftmost side of a time slot, placing a high-order pulse at the left side of a low-order pulse, initializing coded data to be 0, and entering a step 4;
and 4, step 4: obtaining coded data, and entering step 5;
and 5: comparing the coded data with the coded data, if equal, entering step 9, and if not equal, entering step 6;
step 6: if the current pulse is not at the rightmost end of the time slot which can be moved to, the pulse at the lowest position moves to the right for 1 time slot, the coded data is increased by 1, the step 8 is carried out, if the current pulse reaches the rightmost end of the time slot, the carry is required to be carried to the high position, and the step 7 is carried out;
and 7: the carry operation is as follows, the high-order pulse of the current moving pulse moves to the right by 1 bit, the current moving pulse and the low-order pulse thereof return to the time slot immediately adjacent to the right side of the high-order pulse, the coded data is increased by 1, and the step 5 is entered;
and 8: repeating the steps 5 and 6 until the coded data and the coded data are equal;
and step 9: converting the time slot and the pulse into a 0 and 1 sequence, coding the position of the time slot with the pulse into 1, coding the position of the time slot without the pulse into 0, obtaining a coded sequence, and finishing coding.
2. The algorithm of claim 1 wherein the width of the pulses is 1.5 times the width of the slots.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911096204.9A CN110792435B (en) | 2019-11-11 | 2019-11-11 | Rapid coding method of slurry pulse |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911096204.9A CN110792435B (en) | 2019-11-11 | 2019-11-11 | Rapid coding method of slurry pulse |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110792435A true CN110792435A (en) | 2020-02-14 |
CN110792435B CN110792435B (en) | 2023-03-21 |
Family
ID=69443915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911096204.9A Active CN110792435B (en) | 2019-11-11 | 2019-11-11 | Rapid coding method of slurry pulse |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110792435B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114650103A (en) * | 2020-12-21 | 2022-06-21 | 航天科工惯性技术有限公司 | Slurry pulse data transmission method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2349404A (en) * | 1998-02-05 | 2000-11-01 | Baker Hughes Inc | Apparatus and method for self-adjusting downhole signal communication |
CN103292928A (en) * | 2013-05-31 | 2013-09-11 | 威海北洋电气集团股份有限公司 | High-resolution distributed optical fiber temperature sensor, temperature measuring device and application method of high-resolution distributed optical fiber temperature sensor and temperature measuring device |
CN104334831A (en) * | 2012-03-22 | 2015-02-04 | Aps技术公司 | Rotary pulser and method for transmitting information to the surface from a drill string down hole in a well |
CN104343440A (en) * | 2014-08-29 | 2015-02-11 | 北京市普利门电子科技有限公司 | Method and system for detecting mud pressure pulse signal |
CA2984296A1 (en) * | 2016-10-28 | 2018-04-28 | Antal Soos | Systems and methods for communicating downhole data |
CN110361715A (en) * | 2019-08-21 | 2019-10-22 | 深圳市镭神智能系统有限公司 | A kind of pulse coder, coding method and laser radar system |
-
2019
- 2019-11-11 CN CN201911096204.9A patent/CN110792435B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2349404A (en) * | 1998-02-05 | 2000-11-01 | Baker Hughes Inc | Apparatus and method for self-adjusting downhole signal communication |
CN104334831A (en) * | 2012-03-22 | 2015-02-04 | Aps技术公司 | Rotary pulser and method for transmitting information to the surface from a drill string down hole in a well |
CN103292928A (en) * | 2013-05-31 | 2013-09-11 | 威海北洋电气集团股份有限公司 | High-resolution distributed optical fiber temperature sensor, temperature measuring device and application method of high-resolution distributed optical fiber temperature sensor and temperature measuring device |
CN104343440A (en) * | 2014-08-29 | 2015-02-11 | 北京市普利门电子科技有限公司 | Method and system for detecting mud pressure pulse signal |
CA2984296A1 (en) * | 2016-10-28 | 2018-04-28 | Antal Soos | Systems and methods for communicating downhole data |
CN110361715A (en) * | 2019-08-21 | 2019-10-22 | 深圳市镭神智能系统有限公司 | A kind of pulse coder, coding method and laser radar system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114650103A (en) * | 2020-12-21 | 2022-06-21 | 航天科工惯性技术有限公司 | Slurry pulse data transmission method, device, equipment and storage medium |
CN114650103B (en) * | 2020-12-21 | 2023-09-08 | 航天科工惯性技术有限公司 | Mud pulse data transmission method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110792435B (en) | 2023-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102839954B (en) | A kind of pressure pulse realizes the method for layering water distribution | |
WO2011082047A4 (en) | Hybrid arithmetic-combinatorial encoder | |
US10125558B2 (en) | Pumps-off annular pressure while drilling system | |
CA2997349C (en) | Mud pulse telemetry preamble for sequence detection and channel estimation | |
CN110792435B (en) | Rapid coding method of slurry pulse | |
CN104065470A (en) | Chaos wireless communication and code sending methods | |
CN103148876B (en) | Single-code channel absolute type displacement of the lines grating scale virtual incremental formula code channel building method and coding/decoding method | |
US10378342B2 (en) | Mud pulse telemetry using gray coding | |
CN105227503B (en) | A kind of underground Joint Source/channel Coding Design method based on wireless drilling measuring system | |
CN104329064A (en) | Oil-well layered oil production system adopting vibrating waves to carry out remote control | |
CN110608026B (en) | Underground multistage fracturing intelligent sliding sleeve control system and method based on pressure wave communication | |
CN104929611A (en) | Ground instruction transmission method and ground instruction transmission system | |
CN104410425A (en) | Method for compressing data of measurement while drilling system | |
CN107327292B (en) | Coding method of logging-while-drilling signal | |
CN110661580B (en) | Slurry pulse data coding method and transmission method | |
CN100471189C (en) | 4FSK soft demodulating method | |
CN102817607A (en) | Underground communication system of continuous pipe drill | |
CN114629504B (en) | Downhole while-drilling data compression method and system based on FPGA | |
CN102589442B (en) | Single-code coding and decoding method based on absolute position determination | |
CN115314125A (en) | Multi-time slot multiplexing pulse position coding method and system with variable weights | |
CN110995287B (en) | Method for checking and correcting mud pulse signal | |
CN103368695A (en) | Energy distribution method based on bit error rate distribution | |
CN204267004U (en) | A kind of employing vibration wave Long-distance Control oil well oil production by layer system | |
CN104767504A (en) | Measurement while drilling PPM modulating signal decoding algorithm based on wavelet transformation | |
CN105389865A (en) | Digital signal sending method capable of shortening sending time, digital signal receiving method and mobile terminal |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220809 Address after: Building 39, District 12, No. 188, South Fourth Ring West Road, Fengtai District, Beijing 100071 (Park) Applicant after: BEIJING LIUHE GREATNESS TECHNOLOGY Co.,Ltd. Address before: No. 199, Huqiao Road, East Industrial District, Xindu District, Chengdu, Sichuan 610500 Applicant before: Chengdu Dobe Petroleum Engineering Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |