GUN INITIATION AND DATA RECORDING DOWNHOLE

Abstract: A method of recording data and initiating a perforating gun downhole in a borehole comprises lowering a perforating gun (14) into the borehole and also lowering a recorder (26) having a data memory into a data recording position in the borehole. A signal is transmitted downhole into the borehole to initiate the perforating gun and to initiate the recorder to begin recording data at an ascer­ tainable memory location of the data memory in response to a downhole stimulus produced in response to the trans­ mitted signal.

Description: The present invention relates to gun initiation and data recording in oil and gas wells. Various types of downhole recorders have been developed for use in wells, for example, to measure pressure and temperature. One such well known recorder senses pre-­ pressure via the expansion and contraction of a Bourdon tube. Data are recorded on a moving chart using a stylus mechanically linked to a moving end of the Bourdon tube. The recorder is large and intricate, having a relatively long length. The large size of the recorder may render it impractical for use in confined spaces and in highly deviated boreholes. When the recorder is retrieved to the surface, it is necessary to convert the analog trace from the chart to a usable format. Typically, the data are converted manually at considerable expense and with substantial delay. Electronic recorders provide the advantage of small size and are capable of providing the data directly in digital form to data processing instrumentation. However, electronic recorders generally have more limited storage capacity than do mechanical recorders. U.S. Patent No. 4,033,186 shows a downhole electronic recorder wherein a preprogrammed solid state clock initiates measurement sequences and deactivates the circuitry between sequences. A time delay is programmed into the clock so that the first reading sequence is not initiated until the gauge has been inserted into the well shaft to a desired depth. In well testing and completion activities, the wall of the borehole is perforated, for example, to test the producing capability of a formation, or to bring a well into production. The wall is perforated typically with the use of a perforating gun which is either suspended in the well on a wireline or is run into the well on tubing. Especially where the gun is tubing conveyed, considerable time and expense are required to run in the guns, and it is desirable to reliably determine that the perforating guns have been successfully actuated. Where a wireline gun is used to perforate a well, a sensor on the gun can be coupled to surface equipment by wire line in order to detect and convey signals indicative of gun firing. Such tech­ niques utilize, for example: (1) an inertial switch disposed with­ in the perforating gun and arranged to interrupt the electrical gun firing circuit in response to gun recoil from firing; (2) an accel­ erometer disposed within the perforating gun and arranged to gener­ ate an electrical signal in response to recoil motion of the per­ forating gun; and (3) a downhole microphone (geophone) arranged to convey the sound of the perforating gun to a speaker at the surface. However, in the use of tubing conveyed perforating guns, there typically is no electrical conductor extending from the surface downhole to the gun, and the above mentioned techniques cannot be utilized for detecting its firing. In one known technique, an ex­ plosive device is attached to one end of a perforating gun which is actuated from an opposing end. When the gun is actuated, only the complete detonation of a detonating cord within the gun from the first end thereof to the second, where the explosive device is lo­ cated, will suffice to actuate the explosive device. The explosive device implements a time delay so that complete detonation of the perforating gun is followed several seconds later by the act­ uation of the explosive device. A sensor at the wellhead detects energy produced by the firing of the perforating gun and, subse­ quently, energy from the firing of the explosive device, so that it can be reliably determined at the wellhead whether the gun has fired completely. This signalling technique works quite well under most circumstances. However, in environments where a great deal of background noise is present, for example, on a floating rig, the surface noise tends to obscure the signals from the perforating gun and the explosive device. British patent specification no. 2093501A describes a method of firing a downhole perforating gun while simultaneously recording downhole pressure using a fluid-filled capillary tubing to transmit pressure changes to a surface-located recorder. We have now devised a method of recording data and initiating a perforating gun downhole, in which method a recorder is lowered into the borehole itself. Thus, when detecting the firing of the gun for example, energy produced from the firing of the explosive device is not appreciably attenuated when it reaches the recorder means resulting in a higher signal to noise ratio, making detection of the firing of the explosive device more likely. According to the present invention therefore, there is provided a method of recording data and initiating a perforating gun downhole in a borehole, comprising the steps of: lowering a perforating gun into the borehole; transmitting a signal downhole into the borehole to initiate the perforating gun; characterised by lowering a recorder having a data memory into a data recording position in the borehole; and initiating the recorder to begin recording data at an ascertainable memory location of the data memory in response to a downhole stimulus produced in response to the transmitted signal. In order that the invention can be more fully understood, reference is made to the accompanying drawings, in which: Figure 1 is a partially cross-sectional, partially broken away view of a cased wellbore wherein a tubing string has been lowered to position perforating guns opposite a portion of the casing to be perforated; FIGURE 2 is a partially cross-sectional view of the wellbore of Figure 1, enlarged to illustrate one arrangement in accordance with the present invention for detecting the firing of the perforating guns; FIGURE 3 is a block diagram of the signal detecting and recording circuitry encased in the device of Figure 2; FIGURE 4 is a block diagram of an electronic circuit incor­ porated in a surface unit for storing data recorded in the circuitry of Figure 3 and providing such data to data processing instrumentation and to visual display devices; FIGURES 5A and 5B are block diagrams of test data recording circuitry which can be incorporated in the device of Figure 2, in place of the circuit of Figure 3. With reference first to Figure 1, a casing 10 lines a borehole in the earth. A tubing string 12 has been run into the borehole to position a string of perforating guns 14 suspended from the tubing string 12 opposite a portion 16 of the casing which it is desired to perforate. The purpose of forming the perforations may be, for example, to test the productive capabilities of a formation sepa­ rated from the interior of the borehole by the casing portion 16, or to carry out a permanent completion of the well. A firing head 18 is threadedly coupled to an upper extremity of perforating guns 14. The firing head 18 may be, for example, a mechanical firing head which is actuated by the impact of a detonating bar dropped through the tubing 12 to impact the firing head, or a pressure actuated firing head. A vent assembly 20 is threadedly coupled to the firing head 18 at an upper extremity thereof and provides a means of communicating fluids to the interior of the tubing string 12 from the lower portion of the borehole. A packer 22 separates the lower portion of the borehole in which the perforating guns 14 are suspended from an upper borehole annulus. A shot detection delay device 24 is threadedly coupled to a lower extremity of the perforating guns 14. The delay device 24 is arranged so that a detonating cord extending the entire length of the guns 14 will initiate a time delayed explosion within the delay device 24 provided the detonating cord detonates its entire length. The time delayed explosion within the delay device 24 occurs, for example, ten seconds after the detonation of the per­ forating guns 14 to produce a distinct signal which indicates that the perforating guns 14 have detonated their entire length. The delay device 24 is described in greater detail in European patent specification no. 0129350A. With reference also to Figure 2, a downhole recorder 26 is positioned in the side pocket of a side pocket mandrel 28 threadedly coupled at its lower extremity to the vent assembly 20 and at its upper extremity to a joint of the tubing string 12. The recorder 26 stores signals which bear a predetermined relationship to accelerations experienced by the recorder 26 due to the detona­ tion of the perforating guns 14 and the subsequent actuation of the delay device 24. Due to the relatively close positioning of the downhole recorder 26 with respect to the perforating guns 14 and the delay device 24, the recorder 26 receives relatively strong accelerations from the actuation of these devices and, therefore, the accelerations are readily distinguishable from background noise. The recorder 26 can be run in with the tubing string, or later lowered through the tubing string and landed in the side pocket with the use of conventional tools and techniques. When it is de­ sired to fire the perforating guns, a detonating bar 30 (see Figure 2) is dropped through the tubing string 12 so that it impacts the firing head 18 to detonate the guns 14. It will be appreciated that the placement of the recorder 26 in the side pocket mandrel permits the detonating bar 30 to pass therethrough unobstructed. The very strong accelerations experienced by the tubing string and the side pocket mandrel therein as a result of the actuation of the guns 14 triggers the recording mode of the recorder 26 which thereupon records accelerations for a short period of time, for example, 40 seconds. Within that span of time, the shot detection delay device 24 will be activated if the perforating guns 14 have detoned their entire lengh, and the resultant acceleration of the tubing string will be recorded by the recorder 26. Thereafter, the recorder 26 is retrieved from the side pocket mandrel to the surface by means of a fishing tool which latches onto a fishing neck 32 of the recorder 26. Thereupon, the data stored in the recorder 26 are transferred to a surface unit (described in greater detail below) which then is capable of providing the same data in digital format for data purposes, and also in analog format which can be displayed, for example, for analysis on a strip chart. While the use of the delay device 24 is often helpful in detecting gun firing, its use is not essential in the practice of the present invention. The block diagram of Figure 3 illustrates the circuitry of the recorder 26. The circuitry is pretected is protected by a pressure-tight houssing of the recorder which also encloses a battery supply (not shown) for the circuitry. An accelerometer 40 is operative to continuously provide an electrical signal on its output 42, the signal being proportional to the accelerations experienced by the accelerometer 40 within the recorder 26. The output 42 of the accelerometer 40 is coupled to the input of signal conditioning circuit 44. The electrical signal provided by the accelerometer 40 at its output has a relatively low amplitude; accordingly, the signal conditioning circuit 44 has an input amplifier which boosts the amplitude of the signal provided on the input 42. The amplified signal is then rectified by a precision rectifier of the signal conditioning circuit 44 which then provides the thus - rectified signal to an output 46. The signal thus provided at output 46 is a single polarity signal proportional in amplitude to accelerations exper­ ienced by the recorder. The signal provided at output 46 is used both as an input to the recorder's memory for storing acceleration data, and also is used to determine when the guns have fired, so that data is then recorded until the memory has been filled. The circuitry which serves to control the storage of data is first discussed below. A threshold comparator 50 has an input coupled with the output 46 of the signal conditioning circuit 44. An input of the threshold comparator 50 is coupled to a voltage divider 52 which provides a reference voltage V ref1 . Threshold comparator 50 provides a low level on an output 54 thereof until it receives a signal from the output 46 of the signal conditioning circuit 44 which exceeds V ref1 in amplitude, whereupon a high voltage level, or logic 1, is provided by the comparator 50 to its output 54. The reference voltage V ref1 is equal in magnitude to the voltage which appears on output 46 when the accelerometer 40 experiences an acceleration of 500 g′s. It is in this manner that the circuit of Figure 3 detects that the guns have been fired, since the accelerometer will thereupon experience an acceleration in excess of 500 g′s, while it is most unlikely that the accelerometer will experience such an acceleration beforehand. A first D-type flip-flop circuit 60 has its D input held at a high voltage level V+ and its clock input coupled to the output 54 of the threshold comparator 50. The reset terminal Rst of flip-flop 60 is connected to the output of an inverter 62. The in­ put of inverter 62 is connected to the junction of a resistor 64 and a capacitor 68. The second terminal of resistor 64 is con­ nected to V+, while the second terminal of the capacitor 68 is connected to ground. Accordingly, when power is first applied to the circuit of Figure 3, a low level voltage will be supplied to the input of the inverter 62, such that a high voltage level is initially provided to the reset terminal of flip-flop 60. Flip-­ flop 60 is, therefore, initially reset. After several seconds,t-he capacitor 68 has charged up sufficiently to bring the output of the inverter 62 low, so that flip-flop 60 can be set when a high level is supplied to its clock input by the output 54 of the threshold comparator 50. A second D-type flip-flop 70 has its D input coupled to the voltage level V+ and its reset terminal Rst con­ nected to the output of inverter 62. Accordingly, like flip-flop 60, flip-flop 70 will be reset initially when power is supplied to the circuit of Figure 3. The clock terminal of flip-flop 70 is connected to an output E 0M of a memory circuit 74. The voltage level on the output E 0M is initially low. A first input of a two input NAND gate 76 is coupled to the Q terminal of the flip-flop 60 and a second input to the NAND gate 76 is coupled to the Q terminal of the flip-flop 70. Since flip-flop 60 is initially reset, the output of NAND gate 76 initially is high. The output of NAND gate 76 is coupled to one input of a two input NAND gate 80. A second input of NAND gate 80 is coupled through a resistor 82 to the positive voltage level V+. Also coupled to the second input of NAND gate 80 is an external reset line E R whose purpose will be explained below in connection with the circuit of Figure 4. Since both inputs of NAND gate 80 are in­ itially high, the output thereof is initially low. The input of an inverter 84 is coupled to the output of NAND gate 80. The output of the inverter 84 is a Reset line coupled to a reset input Rst of memory circuit 74 and also to a reset input Rst of a clock circuit 88. It will be appreciated that the voltage level on the reset line will be initially high due to the initially low voltage level at the output of NAND gate 80. The high level on the reset line serves to disable the clock circuit 88 from producing clock pulses and also resets a memory address counter of memory circuit 74. At this point the recorder is operating in a standby mode. When the reset line is brought low, as explained below, the clock circuit 88 will begin producing a first clock pulse on a Sync output which is coupled to the address counter of memory circuit 74. A low level on the reset line also enables the address counter of memory circuit 74 to begin accumulating a count under the control of the signal from the clock circuit 88. Since the memory address counter is reset just before data storage begins, the first byte of data is stored at an ascertainable location in memory. Each subsequently received byte is stored in a sequentially addressed location as the counter is incremented. An analog-to-digital converter circuit A/D 100 has a data input coupled to the output terminal 46 of signal conditioning circuit 44 to receive the amplified and rectified signal from the accelerometer 40. A second input of A/D 100 is connected to a reference voltage source V ref2 to serve as a reference in performing its analog to digital conversion of the signal received from the output 46. Digitized versions of the accelerometer signal from output 46 are provided by A/D 100 to an 8 bit data bus coupled to the data terminals of the memory circuit 74. The data bus is also coupled to an output plug for transferring data to the surface unit, as explained below. Internal control over the analog to digital conversion and memory storage process is maintained by a second clock signal produced by the clock circuit 88 on an output terminal 102 thereof. This signal is coupled both to memory circuit 74 and to a first input of a two input NAND gate 104. The output of NAND gate 104 is connected to a start conversion terminal SC of A/D 100. Read/write control is achieved through an external input terminal R /W coupled both to a first terminal of a resistor 106 and the input terminal of an inverter 108. A second terminal of the resistor 106 is connected to the positive voltage source V+. The output of inverter 108 is coupled both to the first of a pair of read/write control lines of memory circuit 74 and to the input terminal of a further inverter 110. The output of inverter 110 is coupled to the second of the two read/write control lines of memory 74 and also to the second input of NAND gate 104. When the circuit of Figure 3 is not coupled to the surface unit of Figure 4, for example, while the recorder is downhole and recording data, it is in the write mode. In the write mode, the R /W terminal is tied through resistor 106 to V+ so that the input to the inverter 108 is high. Consequently, the first and second read/write control lines of the memory circuit 74 are respectively at low and high voltage levels, while the second input to NAND gate 104 is high. This places the memory circuit 74 in the write mode so that data received on the data bus from A/D 100 can be stored in memory at the sequential addresses determined by incrementing the memory counter of the circuit 74 after the Reset line has been brought low. As the memory counter is incremented by one count to generate a new memory address, the clock signal on the terminal 102 is brought high by the clock circuit 88 to generate a low voltage at the SC terminal of A/D 100, so that the present analog voltage from the output 46 of the signal conditioning circuit 44 is digitized by A/D 100. Then the voltage level on terminal 102 is brought low by the clock circuit 88 after sufficient time has passed to complete the analog to digital conversion, so that the memory circuit 74 is enabled to store the digitized signal provided on the data bus by the analog to digital converter 100. When the memory counter has generated the last of the sequent­ ial addresses, the voltage level on line E OM is brought high clocking a low level into the Q terminal of the flip-flop 70. Con­ sequently, a high voltage level is established on the Reset line so that the clock circuit 88 is disabled and the memory counter of memory circuit 74 is reset. Data storage thus is terminated and the already stored data is stored in memory 74 until it is desired to transfer the contents thereof to the surface unit. With reference now to Figure 4, the circuitry of the surface unit here illustrated includes a memory circuit 120 structurally identical to memory circuit 74 of Figure 3. The circuit of Figure 4 also includes a clock circuit 124 providing the necessary clock signals to memory circuit 120 over lines 126 and 128. The data bus of the memory circuit 120 is coupled with the data bus of a digital-to-analog converter D/A 130 having a single analog output terminal A out . The data bus is also available to exterior circuitry through a plug connection shown as 132. The operation of D/A 130 is synchronized with that of the memory circuit 120 by virtue of clock signals provided to D/A 130 from clock circuit 124 over line 134. Read/write control of the surface unit is achieved externally over input R /W. When the surface unit is not connected to the recorder circuit of Figure 3, input R /W is tied to ground through a resistor 136. The terminal R /W is also connected to the input of an inverter 140 whose output is connected (1) to a first read/write control line of memory circuit 120 and (2) to the input of an inverter 142. The output of inverter 142 is coupled to a second read/write input of memory 120. In the absence of external connection to the terminal R /W, therefore, the first read/write input to memory 120 has a high voltage level, and the second input has a low voltage level, which corresponds with the read mode of memory circuit 120. A further inverter 144 has an input coupled through a resistor 146 to ground and also to a plug terminal which is coupled to the Reset line of the circuit of Figure 3 when it is plugged into the surface unit of Figure 4. The output of inverter 144 is connected to the first input of a two input NAND gate 150. The second input of NAND gate 150 is connected with the Q terminal of a D type flip-flop 152. The D terminal of flip-flop 152 is coupled both to a positive voltage level V+ and also to the first terminal of a resistor 154. A second terminal of resistor 154 is coupled to ground. The reset terminal Rst of flip-flop 152 is coupled to the first terminal of a resistor 156 whose second terminal is also coupled to ground. A first terminal of an SPST momentary contact switch 158 is also coupled to the reset terminal of flip-flop 152. The second terminal of switch 158 is connected to V+. The clock terminal of flip-flop 152 is connected to the E OM terminal of memory circuit 120. The Q terminal of flip-flop 152 is connected to a plug terminal which in turn is coupled to the external reset E R terminal of the circuit of Figure 3 when the surface unit is connected thereto. The output of NAND gate 150 is connected (1) to the reset ter­ minal Rst of memory circuit 120, and (2) to a first reset terminal Rst of clock circuit 124, and (3) to a first terminal of a resistor 160. The second terminal of resistor 160 is connected to the base terminal of an NPN transistor 162, whose emitter is coupled to ground. The collector of transistor 162 is connected to the first terminal of a resistor 164 whose second terminal is connected to the cathode of a light emitting diode LED 166. The anode of LED 166 is connected to V+. A second reset terminal Rst of clock 124 is connected to a first terminal of a resistor 170 whose second terminal is coupled to ground. The second reset terminal of clock circuit 124 is also coupled to a plug terminal which is connected to the Sync line of the Figure 3 circuit when it is plugged to the surface unit. In operation, the surface unit is turned on before the record­ er is connected thereto. Then the momentary contact switch 158 is temporarily depressed to reset flip-flop 152. Accordingly, there is a high level on the Q terminal of flip-flop 152 and also at the output of inverter 144. At the same time, the output of NAND gate 150 is low which enables the memory counter of memory circuit 120. Since both reset terminals of clock 124 are low, clock 124 is en­ abled to produce clock pulses so that the memory counter of memory circuit 120 gradually accumulates a count. When the memory circuit 120 has cycled through completely, line E OM goes high clocking a low level into the Q terminal of flip-flop 152. This brings the output of NAND gate 150 high so that clock circuit 124 is reset to­ gether with the memory counter of memory circuit 120. At this point the recorder which has been retrieved from the borehole may be connected to the surface unit to transfer data thereto. With reference both to Figures 3 and 4, connecting the down­ hole recorder to the surface unit connects the Sync terminal of the recorder to the Sync terminal of the surface unit, the Reset line of the recorder to the Reset terminal of the surface unit, the ex­ ternal Reset line E R to the corresponding terminal of the surface unit, and the data bus of the recorder to that of the surface unit. In addition, the recorder applies a high voltage level to the R /W terminal of the surface unit, so that the memory 120 is now in the write mode. Connecting the surface unit to the recorder al­ so ties the R /W terminal of the recorder to ground through the sur­ face unit, so that the recorder is presently in the read mode. Since the flip-flop 152 of the surface unit is presently set, its Q terminal is at a high voltage level which maintains the pre­ viously reset condition of the recorder. To initiate data trans­ fer, the switch 158 is temporarily closed to reset flip-flop 152. This brings the Q terminal of flip-flop 152 low, so that the Reset line of the recorder (Figure 3) is now low. Since the Reset line of the recorder is now low, the output of inverter 144 in Figure 4 is now high, and since flip-flop 152 has been reset, its Q terminal also is high. Accordingly, the reset line coupled to the output of NAND gate 150 is now brought low, so that clock circuit 124 and the memory counter of memory circuit 120 are enabled. The clock of the recorder is also enabled so that it begins to produce clock pulses for incrementing the memory counter of memory circuit 74 (Figure 3). Since the Sync line from clock circuit 88 is connected to the second reset terminal of clock circuit 124, clock circuit 124 is constrained to count in synchrony with clock circuit 88, so that the address accumulated in memory circuit 74 corresponds to that accumulated in memory circuit 120 as data is transferred. When the entire contents of memory circuit 74 have been read out, line E OM of Figure 3 is brought high, clocking a low level into the Q terminal of flip-flop 70. Since the counter of memory circuit 120 of Figure 4 has also reached its maximum count, its line E OM is also brought high at the same time clocking a high level into the Q terminal of flip-flop 152. Since the external reset E R line is now high and the output of NAND gate 76 of Figure 3 is also high, the Reset line of the recorder is likewise high, disabling clock circuit 88 and the memory address counter. As a consequence also, the output of inverter 144 of Figure 4 will be low (along with the Q terminal of flip-flop 152) which has just been clocked low by the rising edge of E OM ), so that the address counter of memory circuit 120 and clock circuit 124 of Figure 4 also are reset. The recorder may now be disconnected from the surface unit, as the contents of its memory have been transferred to that of the surface unit. The data contained in the memory circuit of the surface unit may be transferred in digital form to permanent storage (for example, on tape) for further processing, and it can also be recorded in analog form (for example, on a strip chart) through the A OUT terminal of D/A 130. Visual inspection of the strip chart record will reveal whether guns 14 have fired. The present invention is also applicable to the recording of test data, for example, pressure data, temperature data, etc. With reference to Figure 5A, a recorder circuit for use in recording pressure data is shown in block form. Elements of Figure 5A corresponding to those of Figure 3 bear the same reference numerals. A pressure transducer 200 is exposed to fluid pressure on the exterior of the recorder and generates a signal bearing a known relationship with such fluid pressure. An output terminal 202 of pressure transducer 200 is coupled to an input terminal of signal conditioning circuit 204. Signal conditioning circuit 204 amplifies the signal from the pressure transducer 200 and provides such amplified signal as a single polarity signal on an output terminal 206. Output terminal 206 is connected both to the input of threshold comparator 50 and to the input of analog-to-digital convertor A/D 100. Upon the firing of a perforating gun, a sudden increase in fluid pressure is experienced in the lower portion of the borehole. Pressure transducer 200 thereupon produces an output signal of relatively large magnitude which is sufficient to cause threshold comparator 50 to output a high voltage level, such that the record mode of the memory is initiated. As in the case of the circuit of Figure 3, in the circuit of Figure 5A, the output of the signal conditioning circuit is provided to the input of the analog-to-digital converter A/D 100 to be digitized for storage in the memory circuit 74. In a typical drill stem test, it is unnecessary to sample the pressure data at high rates; accordingly, the clock circuit 88 can be adjusted to produce clock pulses of relatively low frequency so that the memory 74 is enabled to record pressure data over a correspondingly longer period of time than that provided in the case of the circuit of Figure 3. In the alternative, the circuit of Figure 5A may be utilized for shot detection, in which case the clock frequency is accordingly adjusted. With reference now to Figure 5B, a further modification of the recorder circuit of Figure 3 is illustrated in block format. In Figure 5B, elements corresponding to those in Figure 3 bear the same reference numerals. In Figure 5B, a transducer 220 is used to produce data to be recorded in the memory of the circuit. For example, transducer 220 may be a thermocouple which serves to produce a signal bearing a known relationship with downhole temperature. The output signal from the transducer 220 is provided to an input of a signal conditioning circuit 222 having an output of 224 connected to the data input of analog-to-digital converter A/D 100. Signal conditioning circuit 222 serves to amplify the signal from transducer 220 and provides a signal polarity version thereof on its output line 224. A second transducer 210 has an output 216 coupled to the input of a signal conditioning circuit 214. Signal conditioning circuit 214 has an output 212 coupled to the input of threshold comparator 50. In one embodiment of the Figure 5B circuit, transducer 210 produces an electrical pulse in response to changes in magnetic flux. In this manner, transducer 210 produces one or more pulses as the detonating bar 30 drops past the recorder 26, as shown in Figure 2. These pulses are amplified and rectified by signal conditioning circuit 214 and serve to stimulate threshold comparator 50 to output a logic 1 on line 54. Accordingly, the record mode is thus initiated just prior to impact of the detonating bar with the firing head. In an alternative embodiment, acccelerometer 40 and signal conditioning circuit 44 are substituted for transducer 210 and signal conditioning circuit 214. In a further alternative embodiment, the transducer 210 is replaced by a pressure transducer in communication with fluid pressure in the borehole annulus above the packer 22. This could be achieved, for example, by placing the side pocket mandrel, or other carrier for the recorder, above the packer and introducing upper borehole annulus fluid pressure to the pressure transducer through an aperture in the wall of the side pocket mandrel or other carrier for the recorder. Further modifications within the scope of the present invention include incorporating the circuitry of one of Figures 3, 5A and 5B in a detonating bar, such as detonating bar 30 of Figure 2. When it is desired to actuate the perforating gun, the detonating bar incorporating the recorder is dropped down the tubing string 12, so that it impacts the firing head 18 thus to actuate the perforating gun 14. Energy released by the perforating gun 14 thereupon actuates the record mode of the recorder in the detonating bar 30, whether by subjecting the recorder to a sufficiently large acceleration or fluid pressure pulse, or otherwise. Thereafter, the detonating bar is retrieved to the surface either by fishing it or by pulling the tubing string. In a further embodiment, the recorder 26 enclosing the circuit of Figure 3 is hard mounted to a pup joint arranged beneath the perforating guns. Upon gun actuation, the recorder stores acceleration data indicating the magnitude of forces generated by the guns downhole, which is useful in the design of downhole tools to operate in conjunction with perforating guns. In another embodiment, the recorder is mounted in a gauge carrier and encases the circuit of Figure 5A for measuring pressure downhole, or else encases the circuit of Figure 5B for measuring downhole temperature. The present invention is equally applicable to mechanical recorders. In one illustrative embodiment, a mechanical pressure recorder utilizes a Bourdon tube to transduce pressure to the fluctuation of a stylus. The stylus scribes an analog record of pressure over time on a plate moved past the stylus by a clock mechanism. Movement of the plate past the stylus is initiated upon the receipt of a signal indicating the firing of a perforating gun. For example, a large acceleration of the recorder experienced as a result of gun firing enables the clock mechanism to advance the plate. Pressure signals and other forms of signals originating from or produced in response to signals originating from the wellhead can also be utilized for this purpose. The terms and expressions which have been employed are used as terms of description and not of limita­ tion, and there is no intention in the use of such terms and expressions of excluding any equivalents of the features ­ shown and described, or portions thereof, it being recognized that various modifications are possible within the scope of the invention as defined by the appended claims.

Claims: 1. A method of recording data and initiating a perforating gun downhole in a borehole, comprising the steps of: lowering a perforating gun (14) into the borehole; transmitting a signal downhole into the borehole to initiate the perforating gun; characterised by lowering a recorder (26) having a data memory (74) into a data recording position in the borehole; and initiating the recorder to begin recording data at an ascertainable memory location of the data memory in response to a downhole stimulus produced in response to the transmitted signal. 2. A method according to claim 1, wherein the step of transmitting the signal comprises transmitting a perforating gun actuation signal downhole. 3. A method according to claim 2, wherein the step of transmitting the signal comprises lowering a weighted object (30) downhole to actuate the perforating gun (14); and the step of initiating the recorder (26) comprises initiating the recorder in response to energy produced by the actuation of the perforating gun. 4. A method according to claim 2, wherein the step of transmitting the signal comprises lowering a weighted object (30) downhole to actuate the perforating gun (14); and the step of initiating the recorder (26) comprises detecting the lowering of the weighted object to produce an initiation signal and initiating the recorder under the control of the initiation signal. 5. A method according to claim 2, wherein the step of transmitting the signal comprises adjusting fluid pressure downhole for actuating the perforating gun (14); and the step of initiating the recorder (26) comprises initiating the recorder in response to energy produced by the actuation of the perforating gun. 6. A method according to claim 2, wherein the step of transmitting the signal comprises adjusting fluid pressure downhole for actuating the perforating gun (14); and the step of initiating the recorder (26) comprises detecting the adjustment of fluid pressure downhole to produce an initiation signal and initiating the recorder under the control of the initiation signal. 7. A method according to claim 2, wherein the step of lowering the recorder (26) comprises lowering the recorder attached to a weighted object (30); and wherein the step of transmitting the signal comprises lowering the weighted object into contact with a firing mechanism (18) of the perforating gun (14). 8. A method according to claim 2, wherein the step of initiating the recorder (26) comprises producing an initiation signal in response to the firing of the perforating gun (14) and initiating the recorder under the control of the initiation signal. 9. A method according to any of claims 1 to 8, further comprising the step of recording well test data in the data memory (74). 10. A method according to claim 9 wherein the step of initiating the recorder (26) comprises initiating the recorder in response to the firing of a perforating gun (14) downhole.

Inventors: YATES, DONALD NORTON, JR.
Applicants: HALLIBURTON COMPANY
Application year: 1986
Main classification: E21B43
IPC codes: E21B47, E21B43