DATA ENCODING AND SYNCHRONIZATION FOR PULSE TELEMETRY

Abstract: A method (Fig. 8 and Fig. 9) and apparatus (Fig. 6 and Fig. 10) for encoding and synchronizing and sequencing pulse encoded data in a pulse telemetry system. The time intervals between successive pulses in a pulse train are representative of the magnitude of the data parameters (Fig. 1). Redundant pulses are included in the pulse trains at predetermined time locations with respect to the pulses so as to enhance the ability to recognize or distinguish data pulses over noise signals (Fig. 8). Synchronization pulses are employed to enable identification of the particular data parameters even though one or more of the data pulses is obscured by noise (Fig.'s 105). The sequence of the production of the pulse code signals is continuously monitored to enable the telemetering system to be activated promptly after a shutdown at the place in the train of data where it would be if the shutdown had not occured (Fig. 9).

Description: '5 -i- 10 • DATA ENCODING AND ' SYNCHRONIZATION FOR PULSE TELEMETRY Field of the Invention This invention relates to methods and means for 15 encoding and synchronizing data in pulse telemetry systems. The invention is particularly suitable for use in processing data acquired at the bottom of a well while the well is being drilled. 20 The Prior Art Data acquired at the bottom of a well while the well is being drilled may be transmitted to the surface for processing by pressure or acoustic signals trans¬ mitted through the drilling fluid. U.S. Patents Nos. 25 2,924,432 to Arps, et al; 3,789,355 to Patton 3,949,354 to Claycomb; 3,964,556 to Gearhart, et al.; and 3,983,948 to Jeter illustrate various arrangements for trans¬ mitting such data to the surface through the drilling fluid.- Usually the data is encoded and transmitted in 0 the form of either positive or negative pressure pulses through the drilling fluid. Noise signals produced by the drilling equipment and drilling process tend to obscure some of the data pulses in the prior art encoding arrangements, and when part of 5 the data, pulses are lost it is difficult to determine the SUBSTITUTE SHEET OMPI particular parameters that are being measured due to the normal variation in the pulse transmission sequence. In addition, the prior art encoding arrangements require a substantial amount of time to restart logging the well after a shutdown. Summary of the Invention The aforesaid difficulties are overcome in the present invention by the use of a pulse code wherein the time intervals between successive pulses in a pulse train are representative of the magnitude of the data parameters and provide measures of the data parameters, and by including redundant pulses at predetermined locations in the series of encoded data pulses so as to enhance the ability to recognize or distinguish data pulses over noise signals. The pattern of the redundant pulses with respect to the data pulses is such that they have a low probability of being generated by random noise. In addition, synchronization pulses are employed at the beginning of each predefined unit of data information to enable the identification of the particular parameters being telemetered to the surface even though one or more of the pulse code signals that provide a measure of a parameter is obscured by noise. The sequence of the production of the pulse code signals is continuously monitored to enable the tele¬ metering system to be activated promptly after a shut¬ down at the place in the ' train of data where it would be if the shutdown had not occurred. SUBSTITUTE SHEET The encoding, synchronization and sequencing can be provided by programming a microprocessor or by hardware. Brief Description of the Drawings Fig. 1 illustrates one form of the pulse code employing redundant pulses; Fig. 2-4 illustrate alternate pulse codes employing redundant pulses; Fig. 5 illustrates three types of identification patterns that may be incorporated into the pulse codes; Fig. 6 shows how the pulse code signals may be produced by circuit hardware and employed to produce negative pressure pulses in drilling fluid; Figs. 7 and 8 illustrate how the analog parameters may be converted to binary signals under the control of a microprocessor so as to produce the pulse codes; Fig. 9 illustrates how a synchronized restart may be incorporated into the encoding scheme so that the system may be activated promptly after a shutdown at the place in the train of data where it would be if the shutdown had not occurred; and Fig. 10 illustrates how the pressure pulse signals may be processed at the surface to provide a read-out of the parameters that are measured down hole. SUBSTITUTE SHEET . Qiy.pi Description of the Preferred Embodiments A pulse may be defined as a predefined sequence of changes of. state (e.g., pressure, voltage) within a fixed period of time. In practice,, a pulse may be a drop in pressure followed by a return [increase] to normal pressure, with normal pressure being the pressure within the circulating system for the drilling fluid without the pulse. Negative pressure pulses are pre¬ ferred, but the encoding scheme is equally applicable to- positive pressure pulses. In the illustrations herein the duration of a pulse is considered to be a drop in pressure for a fixed period of time (e.g. 1 second or 0.5 second) followed by one second of normal pressure. The measurement of the various parameters in the well, such as gamma ray, formation resistivity, magneto¬ meter, temperature etc., is in analog form. The time intervals between successive data pulses in a pulse train provides the analog measurement of the respective parameters. A "frame" is defined to be the period in time required to transmit one complete set of data. In order to maintain synchronization within the frame, the data is ordered into "sub-frames". Each sub-frame is one "synchronization interval" long, and the start position is marked by a synchronization pulse. Table 1 illustrates a scheme which employs 15 sub- frames. Two "DATA WORDS" are transmitted during each sub-frame except for sub-frame 15 where one data word is transmitted- along with a test pattern and "FRAME IDENTIFICATION" pulses. A data word is defined to be the equivalent of an 8-bit binary number (i.e. an integer in the range 0 to 255). The frame identifica¬ tion pulses (or "frame synchronization" pulses) enable SUBSTITUTE SHEET identification of the first sub-frame, and hence, enable the pulse detector/decoder at the surface to identify the sequence of data transmission. TABLE 1 Sub-Frame Data Word #1 Data Word #2 1 Gamma Ray Time of Day 2 Gamma Ray Mud Temperature 3 Gamma Ray Mud Resistivity 4 Gamma Ray Battery 1 5 Gamma Ray Battery 2 6 Gamma Ray Battery 3 7 Gamma Ray Battery 4 8 Gamma Ray Pressure 1 9 Gamma Ray Pressure 2 10 Gamma Ray Pulse Pressure 11 Gamma Ray Pressure Variation 12 Gamma Ray Borehole Inclination 13 Gamma Ray Hydrostatic Pressure 1 14 Gamma Ray Hydrostatic Pressure 2 15 Gamma Ray Test + Frame Identi¬ fication Patterns SUB S TITUTE SHEET O PI Table 2 illustrates a scheme which employs 11 sub- frames and three data words in each sub-frame. TABLE 2 Sub-Frame # Data 1 Data 2 Data 3 Conventional Data 1 Gamma Ray Formation Resistivity Frame Ident Pattern 2 Gamma Ray Formation Resistivity Formation Resistivity 3 Gamma Ray Formation Resistivity Mud Resistivity 4 Gamma Ray Formation Resistivity Formation Resistivity 5 Gamma Ray Formation Resistivity Mud Temperature 6 Gamma Ray Formation Resistivity Formation Resistivity Directional Data 1 Survey Temp Survey Accuracy Frame Ident Pattern 2 Accelerometer X Accelerometer Y X 3 Accelerometer Y Magnetometer X Magnetometer Y 4 Magnetometer Z Mag X + Mag Z May Y + Mag Z Test Pattern 1 Spa-ce available for test pattern Frame Ident Pattern OMPI When the last sub-frame is completed, transmission resumes at sub-frame 1 with no delay, with the sync pulse for sub-frame 1 being one synchronization interval after the sync pulse for the last sub-frame (i.e. sub- frame 15 in Table 1). After synchronization has been attained (the sync pulses are recognized as the only pulses invariant over one sync interval and the sub-frame numbers can be decoded after the frame identification pulses are recognized)-, the surface detector/decoder can assume (interpolate) the position of the following sync and identification pulses and only the data pulses need to be detected in order to correctly decode all data. Synchronization is maintained during periods where no data pulses are transmitted, and hence it is possible to restart decoding data immediately after a connection without any resynchronization delays. In practice, the surface detector/decoder contin¬ uously attempts to search for sync and identification pulses to accommodate any small drift in the timing clocks of the downhole and surface equipment. A sub-frame has been defined as an interval in time of duration one sync interval started by a sync pulse. In order to transmit two data words per sync interval, two additional pulses are required. The time from the end of the sync pulse to the first (data) pulse is proportional to the data word (#1) being transmitted. Time 1 Data 1 * dT Where dT The time for one unit of transmitted data Data 1 Number of transmission units (Data value in range 0-255) SUBSTITUTE SHEET -* jmlEmX O PI 1 In a similar fashion, the time from the end of the first data pulse to the second data pulse is proportion¬ al to the second data word (#2). The information necessary to discriminate between '5 data pulses and noise pulses is supplied by generating a pattern of pulses which have a low probability of being generated by random noise. This requires addi¬ tional pulses to create the patterns. Fig. 1 illustrates a pulse scheme which is suitable 10 for transmission of the data in Table 1. ' Each sub-frame has two data words, and the analog measures of the data parameters comprises the time between the sync pulse and Dl and the time between Dl and D2. A "redundant pulse" R is provided midway between 15 adjacent pairs of data pulses. It is employed to discriminate between time data pulses and noise pulses. Thus, any two data pulses can be considered to be data pulses (Dl and D2) only if there exists one additional pulse (R) midway in time between the data pulses. 20 The timing of the scheme of Fig. 1 may be as follows: The duration of a pulse is two seconds. (A one- second drop in pressure followed by one second of normal pressure.) 25 One Unit of Time (dT) = 3/32 seconds Full-Scale Data Word = 255 * 3/32 = 23.9 seconds 30 Maximum Data Transmission Time 2 full-scale data words + 4 pulses 55.8 seconds Sync Interval 60 seconds 35 SUBSTITUTE SHEET (The sync interval could have been selected as 55.8 seconds. Sixty seconds was chosen as a convenient interval for testing.) Although the encoding scheme deals with the equiva- lent of 8-bit (binary) numbers, this does not limit the system to the transmission of two "pieces of information" per subfra e. When the (analog) number is decoded on-surface, it is a.simple matter, using a digital computer, to recreate the 8 individual (binary ) bits of information that were transmitted by the downhole Tool. Thus- we are, in essence, transmitting 16 independent pieces of information each sub-frame (2 8-bit words ) . This concept is used in the transmission of the pressure information in sub-frames 8/9 and 13/14 of Table 1. The downhole sensors are measured using a 12-bit A DC. Although the additional accuracy obtainable using a 12-bit number (1/4096 compared to 1/256 for an 8-bit number) is not necessary for all sensors, it is necessary to resolve bσttomhole pressures (several thousand psi) to a few psi. The measured 12-bit number was transmitted as two 8-bit numbers with a 4-bit overlap as shown below: All transmitted mud pulse data is represented (downhole) as eight bit binary numbers. MSB LSB e.g. 102 decimal - 0 1 1 0 0 ' 1 ' 1 0 « used for GAMMA RAY, 8 bits ■= 0-255 bit 7 6 5 4 3 2 1 0 MU0 TEMPERATURE MUD RESISTIVITY Last 2 bits are prone to inaccuracy in detection A 12 bit bit II 10 9 8 number con be transmitted 0 0 1 1 1 1 0 1 0 1 0 0 1 1 << use i for DIRECTIONAL as two over¬ MSB LS8 SURVEY DATA lapping 8 bit numbers 1 0 1 0 1 0 O i l 0 0 1 1 1 1 0 1 Dl 12 bits = 0- 4095 After combining data, error remains in the last 2 bits SUBSTITUTE SHEET OMPI t "Pressure 1" is the most significant 8 bits of the raw 12-bit data and "Pressure 2" is the least signifi¬ cant 8 bits of the raw 12-bit data. Since the data words are transmitted using an analog scheme, the probability of correctly decoding the individual data bits is greatest for the most significant bits. (If there is an error in decoding due to the inability to resolve the data pulses to the required interval [approx¬ imately 0.1 second], then a small error will be intro- duced —the number 211 may be decoded as 212, for example. ) Fig. 2 illustrates a pulse scheme which is ' suitable for transmission of the data in Table 2. The duration of one pulse is reduced to a half- second drop in pressure followed by one second at normal pressure. The time for one unit of data (dT) was reduced to 1/16 second. Instead of reducing the sync interval, a third (8-bit) data word is transmitted in the interval following the second data word. One additional redundant pulse was required between the second and third data pulses to ensure identification of the third data pulse. The timing is as follows: One pulse = 1.5 seconds (0.5 se.c drop + 1 sec normal) One Unit of Time (dT) = 1/16 seconds One Full-Sσale Data Word = 255 * 1/16 = 15.9 -seconds Maximum Data 3 full-scale data words + 6 pulses SUBSTITUTE SHEET / ^g RE^ Transmission Time = 56.8 seconds Sync Interval = 60 seconds Fig. 3 illustrates a pulse scheme which is similar to that of Fig. 2, with the redundant pulses RI midway in time between the adjacent data pulses Dl and D2, but with redundant pulses R2 not midway in time between the adjacent data pulses D2 and D3. Rather, the pulses R2 can be spaced any desired time ratio between the adjacent data pulses. Such an encoding scheme is asymetrical in time and is advantageous when multiple "groups of three" (2 data + 1 redundant) pulses appear within one sub-frame. If desired, both of the redundant pulses RI and R2 may be asymmetrical in time with respect to the adjacent data pulses. Although the encoding scheme of Fig. 2 has been selected to fit three full-scale data words per sub- frame, the data is normally not full-scale and there is therefore "unused" time at the end of most sub-frames during which additional data can be transmitted. The encoding scheme can be set up to transmit additional data if time is available. This will change the data rate from the current fixed value of three (8-bit) words per minute to an average data rate which will not be less than the current rate. Although the encoding scheme of Fig. 2 requires two pulses (e.g. R2 and D3) for the addition of one data word, it is possible to use a redundant pulse after every second data pulse or between alternate pairs of data pulses and maintain a check on all data. Fig. 4 illustrates such an encoding scheme which increases the total number of words transmitted within a sub-frame by the use of a redundant pulse between alternate pairs of data pulses. " The maximum data rate is limited by the pulse width. SUBSTITUTE SHEET OMPI 1 Consider the following example: Pulse Width = 1.5 seconds Sync Interval = 60 seconds • 5 A maximum of 40 pulses could be transmitted. At three pulses per pair of data words, this could be interpreted as 13 pairs of (zero valued) data words, i.e., 26 data words per minute. 10 Another example considers average data values. For 8-bit data words, the full-scale data value is 255, the average is therefore 127.5. At 1/16 seconds per data unit this corresponds to 8 seconds per data word. 15 Total Time = Sync Pulse Time + n*(8 sec + 1.5 pulses data word) 60 seconds = 1.5 seconds + n*(9.5 seconds) therefore, n = 6.2 where n is the number of data words 20 Although a downhole Tool is not expected to pro¬ duce random data, most sensors (gamma ray and formation resistivity) are scaled such that common sensor readings are approximately mid range to accommodate unusually high measurements as well as unusually low measurements. 25 Hence, data will tend to supply average valued data in "typical" formations. As illustrated in Fig. 5, the frame structure may be extended to accommodate different data types. Three different frames may be transmitted. Conventional .30 Frames, Directional Frames and Test Pattern Frames. ' Each frame has a predetermined number of sub-frames. The frame ident patterns are transmitted at the end of the first sub-frame of each frame. With the pulse encoding scheme of Fig. 2, whenever 35 .9 II SUBSTITUT. r i II EET f O PI a frame identification pattern is transmitted, only two data words are included in the sub-frame to ensure that there is no overlap between the frame ident pattern and the third data pulse. Part, of the frame ident pattern is transmitted in the period between the full-scale data time of 56.8 seconds and the end of the sub-frame. This helps with the identification of the frame pattern since data pulses are never transmitted in this period. The programming schemes of Figs. 1-5 may be produced by programming a suitable microprocessor, such as the RCA 1802, or by circuit hardware. Fig. 6 illustrates a way of producing the encoding schemes with electric circuit hardware. The illustra¬ tion is directed to the pulse scheme of Fig. 2, and it will be apparent that the circuit may be modified to produce any of the pulse schemes that have been discussed above. The measurement of only three data parameters for one subframe is illustrated for simplicity. It will be apparent that additional data parameters may be measured in the system for the selected number of sub-frames. The data to be transmitted to the surface is measured in analog form, such as voltage, by the sensors 20, 22, and 24. The voltages that are produced by sensors 22 and 24 are divided by dividers 26, 28, 30 and 32 for use in producing the redundant pulses RI and R2. The voltages so produced are ' scanned by a stepping switch 34 which is actuated- by a coil 36. A terminal 38 of the switch is grounded and it represents time zero in each sub-frame. A terminal 40 of the switch is connected to a battery 42 which provides the synchroniz¬ ing pulses. The rotor of the stepping switch 34 is connected to •SUBSTITUTE Sra--- a resistor-condenser network 44, 46 which is connected to a trigger circuit 48. The time constant of the resistorcondenser network 44, 46 causes the trigger to produce pulses of 0.5 second duration at times that are representative of the voltages produced by the respective sensors. Thus, the time spacing between the data pulses that are produced at the output of the trigger 48 is an analog representation of the magnitude of the data as measured by the sensors 20, 22 and 24. If the redundant pulses RI and R2 are to be equally spaced in time between the adjacent data pulses, the dividers 26, 28, 30 and 32 divide the voltages that are produced by the sensors 22 and 24 by two. The rotor of the stepping switch 34 is on terminal 38 at time zero. Upon actuation, the rotor moves to terminal 40 which carries a voltage which immediately actuates the trigger 48 to produce a sync pulse. Upon further actuation, the rotor scans terminal 50 and the trigger 48 produces data pulse Dl. Thereafter it engages terminal 52 and the trigger 48 produces redun¬ dant pulse RI. Next it engages terminal 54 to produce data pulse D2. Redundant pulse R2 and data pulse D2 are produced when the rotor scans terminals 56 and 58. The coil 36 of the stepping switch is first energized by a pulse produced by the oscillator.60 and pulse generator 62 which produce one pulse each sixty seconds which are applied through an amplifier 64 to the coil 36. Thereafter during one sync interval the coil 36 is energized in steps by the pulses that are produced by the ' trigger 48. A counter 66 is connected to the oscillator 60 and the pulse generator 62. It serves to activate data frame identification pattern generator 68, directional frame identification pattern generator 70, and test SUBSTITUTE SHEET _O PI frame identification pattern generator 72 at the times that those frames are to be inserted into the pulse scheme of Table 2. The data pulses and redundant pulses and the frame identification patterns are applied through an amplifier 73 to a valve 74 to cause it to open and produce negative pressure pulses in the drilling fluid in response to each of the pulses. Various types of valves 74 may be employed. A suit¬ able valve 74 is disclosed in application Serial No. 06/190,636 which was filed on September 25, 1980 by Mumby, et al. A suitable control circuit for actuating such a valve is disclosed in application Serial No. 06/169,763 filed on December 7, 1981 by Wisniewski, et al. A valve for producing positive pulses is disclosed by application Serial No. 355,921 filed on March 8, 1982 by Mumby. Figs. 7 and 8 show how the analog pulses may be produced under the control of a micropro¬ cessor, such as the RCA 1802. The order of transmission of the different frame types is variable and is set up within the microprocessor which operates the downhole Tool. The sequence is best shown by a flow diagram: Power Fails SUB S TITUTE SHEET Fig. 7 is a simplified block diagram showing the method of setting up pulse timing in -response to the encoding scheme of Fig. 2. Three data words are trans¬ mitted in one synchronization interval. The synchroni- zation interval is 60 seconds. When the Tool restarts it measures data for 59 seconds. In the following second the three data words (8-bit numbers = integers in the range 0-255) are calculated and the pulse table is set up for the next minute. The pulse table is a shift register 76 (960 bits long) which is clocked out at a rate of 16 bits per second. It takes exactly one synchronization interval (60 seconds) to clock out all data. The data from the shift register 76 controls the pulsing valve 74. While a "one" is present at the output from the shift register the pulsing valve 74 will remain open and a pulse will be transmitted. During the first minute of Tool operation after a restart there is no data to transmit. However, after the first minute, data is transmitted (clocked out of the shift register) at the same time that new data is being measured. The sequence to SET UP PULSE TABLE involves setting a string of "ones" into the Pulse Table Shift Register - 76 to transmit a pulse, and "zeroes" to mark the time between pulses, as shown in Fig. 8. Since the bits are clocked out of the shift register at the rate of 16 per second, a sequence of 8 "ones" is required to generate a one-half second pulse. S UBSTITUTE- SHEET OMPI Sinσe there are no redundant pulses between the sync pulse and the first data pulse the number of zeroes required for Datal is equal to the value of the data (0-255). The remaining two data words are "split in half" by the redundant pulses. In the case of Data2, the number of "zeroes" corresponding the first half, (Data2)/2 rounded down to the nearest integer, is set up prior to the first redundant pulse. The second half, (Data2+l)/2 rounded down to the nearest integer, is set up after the redundant pulse, before the second data pulse. The extra "+1" is required in the second "half" since 2 does not divide an odd number exactly. Consider the two examples: Transmitted Data = 122, (Data)/2 - 61.0, (Data+l)/2 = 61.5 rounded ■ to 61 Decoded data = 61+61 = 122. Transmitted Data = 123 (Data)/2 = 61.5 rounded to .61.0, (Data+l)/2 = 62 Decoded data = 61+62 = 123. A similar procedure is used to set up Data 3. Fig. 9 shows the changes to the scheme that are required to ensure that data starts up in synchroniza- tion with the data' transmitted before the restart. Two pieces of hardware are required to enable the synchronized restart. The first is a battery backed up clock. This enables the Tool to "wait" until a new synchronization interval starts (once per minute, every SUBS TITUTE SHEET time "seconds" reads zero) before restarting the measurement/transmit sequence. The second is a battery backed up memory register. Every time new pulse data is set into the pulse table shift register the time and sequence number (sub-frame number) are stored in battery backed up memory registers. If the Tool is shut down and then restarted this data is saved and can be inspected, The Tool can therefore restart at the point in its predefined sequence where it would have-been if it had not shut down. The predefined sequence (or Frame) defines which data to measure and transmit - different sen.sors may be measured each minute (each synchronization interval). The surface (decoding) equipment always assumes that the downhole Tool transmits its data in the order of the predefined sequence and therefore does not need to resynchronize with the downhole Tool every time the downhole Tool restarts (every connection). Fig. 10 illustrates one arrangement for processing the encoded data at the surface. The -drilling rig includes the usual rotary table 90, kelly 92, swivel 94, traveling block 95, mud pumps 96, mud pit 98, and a drill string made up of drill pipe sections 100 secured to the lower end of the kelly 92 and to the upper end of a drill collar 102 and terminating in the drill bit 104. The down hole 'pulse encoding apparatus and the valve 74 for producing negative pressure pulses may be located in a drill collar 106 located above the drill bit 104. A pressure transducer 108 is coupled to the conduit for the drilling fluid and it senses the negative pres¬ sure pulses that are produced down hole. The mud pumps 96 produce noise signals that have certain characteristics. A strobe generator 110 produces CU m fm_ i % O ' lviPI strobe signals for each cycle of each mud pump. The. signals from the pressure transducer 108 and the strobe generator 110 are applied to an input module 112 where the pressure signals are averaged in pairs and the average is stored 50 times per second in a buffer until required by the filter module 114. The filter module 114 serves to remove or reduce the noise signals produced by the mud pumps 96. Various types of such filters are known in the art. However, the filter is preferably of the type shown in copending application Serial No. . The output of the filter 114 is applied to a detector 116 which employs a matched filter to enhance the deteσt- ability of the encoded pulses. The pulse signature used in the matched filter is a first order approximation to a rectangular pulse which has been high-pass filtered at a frequency corres¬ ponding to l/(4*pulse width) hz. The use of a high-pass filter allows a simple level detector to be used for pulse identification. "Ideal" mud pulse: ul se wi th Actual matched fil er pulse signature: Output from matched fi l er; The sharp peak corespoπds to the best match between actual pul se and fil ter s gnature. SUBSTITUTE SHEET -_Tal£ ______ A high speed FFT convolution technique is used to implement the matched filter convolution. In operation, the convolution is performed approximately once every 20 seconds whenever data is made available by the filter module 114. The output of the matched filter is stored in a "Detection Buffer" which can hold data for more than one complete subframe. (Since the current sub-frame is 60 seconds long, the buffer is set up to hold data for a 64-seσond interval.) A simple level detection scheme is performed on the (overlapping) 64-second intervals. (The detection level is a user-controlled parameter.) Pulse position (time) is assigned at the pulse minimum; pulse height and width are also determined. The decoded pulses are- stored in a "Pulse Table" for use by the decoder module 118. If pulse width does not fit within certain prede¬ fined limits, then the pulse is considered to be "noise" and discarded. Sub-frame sync pulses are found by a search of invariant pulses of one-minute periods over the last three minutes. When these pulses are found, the detec¬ tion buffer is shifted in time to ensure that the start of the sub-frame will be located at the start of the buffer. The time of the sync pulse is recorded for use by the decoder module 118. Since three minutes are required for the identifi¬ cation of sync pulses, the first time a downhole Tool starts up downhole, a search for frame ident pulses is enabled within the detector module 116 before the • sub-frame sync pulses are. identified. This enables the apparatus to synchronize on the first sub-frame that is transmitted from downhole. SUBSTITUTE SHEET ''δ J Ϊ OMPI

Claims: -2.1- WHAT IS CLAIMED IS: 1. Apparatus for encoding data in a pulse tele¬ metry system comprising means for producing a train of encoded data pulses wherein the time intervals between successive data pulses are representative of the magni¬ tude of the data parameters, and means for producing redundant pulses at predetermined time locations in the train of encoded data pulses, thereby enhancing the ability of the telemetry system to recognize or distin¬ guish data pulses over noise signals because of the fixed time relationship between the redundant pulses and the encoded data pulses. 2. The apparatus of Claim 1 in which each redun¬ dant pulse is produced between adjacent pairs of data pulses in a predetermined time rela.tionship with respect each of said pairs of data pulses. 3. The apparatus of Claim 1 in which each redun¬ dant pulse is produced at a time that is midway along the time between adjacent pairs of data pulses. 4. The apparatus of Claim 1 in which each redun- dant pulse is produced between alternate pairs of data pulses. 5. The apparatus of Claim 1 in which the redun¬ dant pulses are produced after every second data pulse. 6. The apparatus of Claim 1 further including means for producing synchronizing pulses having a predetermined time relationship with respect to the train of encoded data pulses. 1 7. The apparatus of Claim 1 wherein the successive synchronizing pulses are spaced from one another by fixed time intervals. ' 5 8. Apparatus for producing encoded data in a pulse telemetry system comprising means for producing frames of pulse encoded data having a predetermined number of synchronization intervals of equal time duration defined by synchronizat ' ion pulses at the beginning of each 10 synchronization interval, the pulse encoded data being arranged in data words representative of the magnitude of the data parameters, means for producing redundant pulses in preselected data words having predetermined time relationships with respect to the pulses in the 15 data words to enhance the ability of the apparatus to distinguish data pulses over noise, and means for producing at least one identification pattern of pulses at a predetermined location in each frame, with the pulses in each identification pattern being spaced from 20 one another by predetermined intervals of time. 9. A method of well logging by telemetering infor¬ mation in pressure pulses in the drilling fluid from the interior of a well to the surface comprising producing 25 encoded data pulses wherein the time intervals beweeen pulses are representative of the magnitude of data measured in the well, producing redundant pulses at predetermined times with respect to the data pulses, and " producing pressure pulses in the drilling fluid in 30 accordance with the occurrence of the data pulses and the redundant pulses. 35 SUBSTITUTE SHEET 10. The method of Claim 9 wherein each redundant pulse is produced between preselected pairs of data pulses in a predetermined time relationship with respect to said pairs of data pulses. • 5 11. The method of Claim 9 further including pro¬ ducing synchronizing pulses which define synchronization intervals having a predetermined time relationship with respect to the encoded data pulses. 10 12. The method of Claim 11 further including counting and storing successive synchronization intervals while they are being produced, and wherein the produc¬ tion of the pressure pulses in the drilling fluid is 15 delayed a predetermined time, whereby when the well logging is shut down the last stored synchronization interval remains in storage and identifies the synchron¬ ization interval at which the well logging is to restart. 20 13. A method of well logging by producing encoded data representing data parameters measured in a well while drilling is being conducted comprising producing a series of synchronization pulses spaced from one another by a synchronization interval of predetermined 5 time duration, producing encoded data pulses during each synchronization interval wherein the time intervals between successive data pulses are representative of the magnitude of the data parameters measured in the well, and producing redundant pulses having a ' predeter- 0 mined time relationship to the data pulses ' to enhance the ability to distinguish data pulses over noise signals. 5 SUBSTITUTE SHEET OMPI 1 14. The method of Claim 13 further including pro¬ ducing identification patterns of pulses in pre-selected synchronization intervals. ' 5 15. A method of producing encoded data in a pulse telemetry system comprising producing a series of synchronization pulses wherein successive pulses are spaced from one another by a synchronization interval of predetermined time duration, producing encoded data 10 pulses representative of data words during each synchron¬ ization interval, with the magnitude of the data para¬ meters in each data word being determined by the time intervals between successive pulses, producing said data words in a predetermined sequence in sub-frames of 15 data, and sequentially grouping a selected number of sub-frames into frames, with each frame representing one complete set of data. 16. The method of Claim 15 wherein each sub-frame 20 has a selected number of data words therein. 17. The method of Claim 15 further including pro¬ ducing identification patterns of pulses in pre-selected synchronization intervals. 25 30 SUB S TITUTE SHEET 35 OMPI 18. A method of well logging by producing encoded data representing data parameters measured in a well while drilling is being conducted, comprising producing a series of synchronization, pulses wherein successive pulses are spaced from one another by a synchronization interval of predetermined time duration, producing encoded data pulses representative of data words during each synchronization interval, producing said data words in. identified sub-frames of data in a predefined numerical sequence, sequentially grouping a predetermined number of sub-frames into frames, with each frame representing one complete set of data and with the location of each data word being at a predetermined identifiable position in each frame, sequentially storing the sub-frame identifications, and applying the sub- frames of pulse data in sequence to a pulse generator for producing pressure pulses for transmission to the surface of the well after a predetermined time delay, whereby when the well logging is shutdown the last stored sub-frame identification remains in storage and identifies the subframe number at which the well logging is to restart. 19. The method of Claim 18 wherein two data words are produced during each synchronization interval. 20. The method of Claim 18 wherein at least three data words are produced during each synchronization interval. 21. The method of Claim 18 further including pro¬ ducing redundant pulses in preselected data words in each subframe, with the redundant pulses having prede¬ termined time relationships with respect to the data SUBSTITUTE SHEET O PI 1 pulses to enhance the ability to distinguish data pulses over noise signals because of the predetermined time relationship between the redundant pulses and the encoded data pulses. -5 22. The method of Claim 18 further including pro¬ ducing at least one identification pattern of pulses at a predetermined location in each frame, with the pulses in each identification pattern being spaced from one 10 another by predetermined intervals of time. 23. A method of well logging by telemetering infor¬ mation in pressure pulses in the drilling fluid from the interior of a well to the surface comprising producing 15 a series of synchronization pulses wherein successive pulses are spaced from one another by a synchronization interval pf predetermined time duration to define sub-frames of information, producing data words in predetermined sequences during each synchronization 20 interval in the form of data pulses wherein the time intervals between predetermined pulses are representa¬ tive of the magnitude of data parameters measured in the well, with some preselected data words providing identification patterns of pulses with the pulses in 25 each pattern being spaced from one another by predeter¬ mined intervals of time, producing redundant pulses having predetermined time relationships with respect to predetermined data pulses to enhance the ability to distinguish data pulses over noise signals, sequentially 30 combining a predetermined number of sub-frames into frames, with each frame representing one complete set of data, sequentially storing the sub-frame numbers and the time at which they are stored, and producing pressure 35 SUBSTITUTE SHEET pulses after a predetermined time delay in accordance with the successive sub-frames of data pulses, so that the last . stored sub-frame number remains in storage and identifies the sub-frame number at which the well logging method should restart after a shutdown. SUBST iTr-f 1 -4« «»_> - U. 1 OMPI

Inventors: TROY GEORGE WHITE, TROY, GEORGE, WHITE
Applicants: EXPLORATION LOGGING INC, EXPLORATION LOGGING, INC.
Application year: 1983
Main classification: G01V1
IPC codes: E21B47, G08C19, H04J3