GB2271233A - Peak detector circuitry for use in nuclear logging apparatus - Google Patents

Peak detector circuitry for use in nuclear logging apparatus Download PDF

Info

Publication number
GB2271233A
GB2271233A GB9324859A GB9324859A GB2271233A GB 2271233 A GB2271233 A GB 2271233A GB 9324859 A GB9324859 A GB 9324859A GB 9324859 A GB9324859 A GB 9324859A GB 2271233 A GB2271233 A GB 2271233A
Authority
GB
United Kingdom
Prior art keywords
pulse
peak
detector
tool
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
Application number
GB9324859A
Other versions
GB2271233B (en
GB9324859D0 (en
Inventor
Roy Nordstrom
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Teleco Oilfield Services Inc
Original Assignee
Teleco Oilfield Services Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US07/511,538 external-priority patent/US5083124A/en
Application filed by Teleco Oilfield Services Inc filed Critical Teleco Oilfield Services Inc
Publication of GB9324859D0 publication Critical patent/GB9324859D0/en
Publication of GB2271233A publication Critical patent/GB2271233A/en
Application granted granted Critical
Publication of GB2271233B publication Critical patent/GB2271233B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/153Arrangements in which a pulse is delivered at the instant when a predetermined characteristic of an input signal is present or at a fixed time interval after this instant
    • H03K5/1532Peak detectors
    • EFIXED CONSTRUCTIONS
    • E21EARTH OR ROCK DRILLING; MINING
    • E21BEARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B47/00Survey of boreholes or wells
    • E21B47/01Devices for supporting measuring instruments on drill bits, pipes, rods or wirelines; Protecting measuring instruments in boreholes against heat, shock, pressure or the like
    • E21B47/017Protecting measuring instruments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of ac or of pulses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V5/00Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity
    • G01V5/04Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity specially adapted for well-logging
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V5/00Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity
    • G01V5/04Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity specially adapted for well-logging
    • G01V5/08Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity specially adapted for well-logging using primary nuclear radiation sources or X-rays
    • G01V5/10Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity specially adapted for well-logging using primary nuclear radiation sources or X-rays using neutron sources
    • G01V5/104Prospecting or detecting by the use of ionising radiation, e.g. of natural or induced radioactivity specially adapted for well-logging using primary nuclear radiation sources or X-rays using neutron sources and detecting secondary Y-rays as well as reflected or back-scattered neutrons

Landscapes

  • Physics & Mathematics (AREA)
  • High Energy & Nuclear Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geology (AREA)
  • Mining & Mineral Resources (AREA)
  • Power Engineering (AREA)
  • Environmental & Geological Engineering (AREA)
  • Fluid Mechanics (AREA)
  • Geochemistry & Mineralogy (AREA)
  • Nonlinear Science (AREA)
  • Measurement Of Radiation (AREA)

Abstract

In the nuclear logging apparatus radiation detectors output signals via a multiplexer (176, Fig 24, not shown) to a programmable gain amplifier (178) which improves signal to noise ratio and quantifies pulse amplitudes within predetermined spectral limits. The output signal from the PGA is received by peak detection means 180 which converts the signal to a stable DC pulse for digitising by an A/D converter (184). The peak detection circuit includes a first unitary gain follower U9 through which a memory capacitor C57 is charged to the same voltage as the input pulses, a second unitary gain follower U12 to isolate the capacitor from the output, and a digital comparator U10 which opens a switch SW1 when the input pulse reaches its peak to isolate the memory capacitor. <IMAGE>

Description

Nuclear Logging Apparatus This invention relates generally to borehole
logging apparatus and methods for performing radiation based measurements. More particularly, this invention relates to a new and improved apparatus for effecting neutron porosity logging in real time wherein the improved nuclear logging apparatus comprises a measurement-while-drilling (MWD) tool.
Oil well logging has been known for many years and provides an oil and gas well driller with information about the particular earth formation being drilled. In conventional oil well logging, after a well has been drilled, a probe known as a sonde is lowered into the borehole and used to determine some characteristic of the formations which the well has traversed. The probe is typically a hermetically sealed steel cylinder which hangs at the end of a long cable which gives mechanical support to the sonde and provides power to the instrumentation inside the sonde. The cable (which is attached to some sort of mobile laboratory at the surface) is also the means by which information is sent up to the surface. It thus becomes possible to measure some parameter of the earth's formations as a functio,n of depth, that is, while the sonde is being pulled uphole. Such measurements are normally done in real time (however, these measurements are taken long after the actual drilling has taken place).
A sonde usually contains some type of source (nuclear, acoustic, or electrical) which transmits energy into the formation as well as a suitable receiver for detecting the same energy returning from the formation. The present invention relates to logging apparatus wherein the source emits nuclear energy, and more particularly neutrons. When using this type of source, the source sends out "fast" (high energy) neutrons into the formation. 'The fast neutrons leaving the source enter the formation and slow down by losing energy as a result of collisions with the nuclei of the formation, finally becoming thermalized. By thermalized, it is meant that, on the average. the neutrons lose as much energy as they gain as a result of collisions, that is, they are in thermal equilibrium with the nuclei of the formation. After some time spent diffusing as thermal neutrons, they may be captured by one of the formation nuclei resulting in the emission of a gamma ray. The energy of the gamma ray emitted is characteristic of the particular nucleus involved. It is in this context that the term "thermal capture gamma-ray spectra" is used. Examples of well logging tools of this type are disclosed in U.S. Patent Nos. 3,379,882, 3,662,179, 4,122,338, 4,223,218, 4,224,516, 4,267,447, 4,292,518, 4,326,129 and 4, 721,853.
Fast neutrons as a probe source are useful for several reasons. For example, chemical sources for the fast neutrons such as 241 AmBe.and 238 PuBe are readily available. Fast neutrons also have a reasonable degree of penetration into matter, and finally most importantly, neutrons can be especially useful for the detection of hydrogen. To understand the effect of hydrogen, it is helpful to use the analogy of a group of billiard balls in which the neutron and the hydrogen nucleus are balls having essentially the same mass while the nuclei of other elements in the formation are balls with much larger masses.
Thus, if a neutron collides with the nucleus of an element other than hydrogen, it will generally lose very little energy. if it collides with a hydrogen nucleus, because the masses are nearly equal, it can lose all of its energy. The ability of a formation to slow down fast neutrons to thermal energy then depends primarily on the hydrogen density.
With regard to hydrogen density in a formation, two diametrically opposed situations may be considered. In the first situation, a group of fast neutrons leave a source and slow down in a formation free of hydrogen, and in a second situation, a group of fast neutrons leave a source and slow down in a formation which has a great deal of hydrogen in it. One expects and will find that the neutrons will have gone much farther away from the source in the first case than in the second case. As a result of the foregoing, a technique which has been in use in "wireline oil well logging- for more than thirty years is the measurement of the spatial distribution of slowed down neutrons. This technique is usually described as neutron porosity logging because the porosity of the formation is inferred from the measurement. Here it is tacitly assumed that the pores of the formation are filled with either water or oil (an assumption not always true since there may- be gas or a mix of all three components). It is also assumed that the hydrogen density for oil and water are equal (that assumption is also not strictly true, but can be safely assumed for all practical purposes).
In order to construct a neutron porosity sonde which looks at the spatial distribution of slowed down neutrons, one needs a source of sufficient intensity (for example, 10 7 neutrons/sec), and a detector separated from the source (for example, 15 inches). There needs further to be sufficient shielding between the source and detector to keep the radiation coming directly through the sonde to a minimum. Further features needed in the sonde involve reducing the response of the sonde to factors other than porosity, such as borehole size, salinity, etc. Evolution in the prior art of this type of sonde has consisted primarily in changes in the type of detector used. Originally, Geiger counters with heavy walls were used. These counters did not detect neutrons but rather gamma rays originating in the formation as a result of thermal neutron capture. The gamma rays strike the walls of the counter releasing photoelectrons which in turn cause ionization which can be detected by the counter. Although such detectors are very rugged, they suffer from the.disadvantage of not directly counting the slowed down neutrons.
For a thermal or epithermal neutron detector placed at a sufficiently large-distance, for example, 15 inches from the source, it can be shown that the count rate of the detector is of the form A exp(-r/L) where A is some constant which depends on the source-detector distance and the counting efficiency of the detector, n is the distance between source and detector, and L is some parameter which depends on the slowing down (of neutrons) properties of the formation, i.e., the porosity. For a formation containing no hydrogen, L will be-relatively large as compared with a formation which is quite porous where L will be significantly smaller.
It is important to note that the transport of fast neutrons through a formation is characterized by three phases: (1) slowing down to thermal energy; (2) diffusion at thermal energy; and (3) capture-by a formation nucleus accompanied by the emission of a characteristic gamma ray by the excited nucleus. Only the first phase gives information related directly to the presence of hydrogen.
Since neutrons are not charged particles, their detection presents some special problems. The better detectors usually depend on the neutron undergoing some kind of nuclear reaction, one of whose products is in turn an ionizing particle such as an alpha particle. As a result of improvements in technology, the single detector neutron sonde using a heavy-walled Geiger counter was modified with the replacement of the Geiger counter by a 3 He proportional counter (normal He is 4 He). 3 He has an unusually high capture cross section for thermal neutrons, and the reaction products (ionizing) are a proton and a triton ( 3 H). A proportional counter is used since it gives good discrimination against gamma rays.
The single 3 He detector neutron sonde (detecting epithermal neutrons) was thereafter replaced by a two detector neutron sonde (detecting thermal neutrons). The two detector sonde was viewed as being less sensitive to effects of borehole conditions. Thermal detection of neutrons was chosen because count rates were higher than with epithermal detection. In this development, the ratio of the count rates of the two detectors (near and far from the source) are determined. Instead of looking at the spatial distribution of neutrons, the rate of 6 change of the spatial distribution is being observed. A further refinement of this technique is to look at the rate of change of the spatial distribution for epithermal neutrons.
The foregoing description of prior art nuclear formation logging device relates primarily to wire line devices wherein the formation evaluation is done after drilling is completed. More recently, a new generation of formation evaluation tools has been developed which evaluate the earth formation without interrupting the drilling of a borehole. These tools are known as measurement-while-drilling or MWD tools. A typical commercial MWD tool (such as is available from Teleco Oilfield Servicet, Inc., assignee of the present application) may measure such downhole conditions as the so-called weight-on-bit or "WOW.as well as the torque acting on the bit, the azimuth direction and the angle of inclination of the borehole, borehole temperature, mud resistivity and various characteristics of the earth formations penetrated by the bit. The output signals of the various sensors are coupled to circuits which selectively control a downhole pressure pulse signaller in the tool for successively transmitting and/or recording encoded data signals (i.e, pressure pulses) representative of these real-time measurements through the mud stream' in the drill string to suitable detecting-and-recording apparatus at the surface.
It will, of course, be appreciated that MWD tools have been proposed heretofore for providing real-time measurements of different radioactivity characteristics of earth formations being penetrated by the drill bit. Since measurement of natural gamma radiation requires only a gamma-ray detector and typical- 7 circuits to control the signaller, it has not been difficult to provide MWD tools with that instrumentation. Conversely, to measure other radioactivity characteristics of earth formations, a MWD tool must also have an appropriate source of radiation (e.g. radioactive chemical source) as described above. It is far more difficult to construct a MWD tool of this type (which includes a source of radiation). While such tools have been disclosed (for example, see U.S. Patent Nos. 4,814,609 and 4,829,176) there is a continuing need for improved MWD tools for nuclear well logging which include nuclear sources.
is The present invention provides an electronic circuit for use in a nuclear sensor having a radioactive source and at least one detector assembly, said electronic circuit comprising: peak detector means for receiving input pulses having short, transient amplitudes from the detector assembly and associated circuitry, and for converting said input pulses to-stable DC signal pulses measurable by an analog to digital converter for enabling analysis of the stable DC signal pulses to produce a nuclear log, said peak detector means comprising: a first unity gain follower; a memory capacitor communicating through a first switch with said first unity gain follower, said first unity gain follower adapted to charge said memory capacitor to the same voltage as one of said input pulses; a second unity gain follower communicating with an output of said memory capacitor and being adapted to isolate said memory capacitor from said DC signal output pulse; and digital comparator means for comparing said input pulse to said DC signal output pulse wherein said comparator means changes its digital state when said input pulse reaches its peak amplitude and thereby opens said first switch and prevents said memory capacitor from discharging through said first unity gain follower thereby maintaining a constant voltage on said output of said second unity gain follower.
The high speed peak detector converts a short, transient amplitude into a stable DC signal which can easily be measured with an A/D converter. The circuit 10 may further include programmable gain amplifier (PGA) means receiving analog input signal pulses sent by said detector assembly, said PGA means including (a) low pass filter means for improving signal to noise ratio by limiting the high frequency signal content in each pulse is and (b) gain means for quantifying pulse amplitudes within preselected spectral limits, said PGA means modifying said analog input signal pulses to PGA output pulses, which are supplied to the peak detector means.
The above-discussed and other features and advantages of the present invention will be appreciated and understood by those skilled in the art from the following detailed description and drawings.of an embodiment given by way of example only.
Referring now to the drawings, wherein like elements are numbered alike in the several FIGURES:
FIGURE 1 is a diagrammatic view of a neutron porosity tool in accordance with the present invention; FIGURE 2 is a side elevation view, partly in cross section, of the nuclear logging tool in accordance with the present invention; FIGURE 3 is a cross sectional elevation view along the line 3-3 of FIGURE 2; FIGURE 4 is a plan view of the detector, processing and MTI hatches of the tool of FIGURE 2 with the hatch covers being removed and with the circumference of the tool being shown in a single plane; FIGURE 5 is a diagrammatic view of the tool of FIGURE 2 including the detector, processing and RTI hatches; FIGURE 6 is an enlarged view of a modular-connector junction hatch in the tool of FIGURE 2; FIGURE 7 is a cross sectional elevation view along the line 7-7 of FIGURE 2; FIGURE 8 is a cross sectional elevation view along the line 8-8 of FIGURE 2; FIGURE 9 is a cross sectional elevation view along the line 9-9 of FIGURE 6; FIGURE 10 is a partial sectional view of the tool of FIGURE 2; FIGURE 11 is an end view of the modular connector assembly; FIGURES 11A, 11B and 11C are cross sectional elevation views along the lines 11A-11A, 11B-11B and 11C-11C, respectively of FIGURE 11; FIGURE 11D is a side elevation view, partly in cross-section, showing the tool of FIGURE 2 connected to another modular tool; FIGURE 11E is an enlarged side elevation view of a portion of FIGURE 11D; FIGURE 12 is a side elevation view, partly in cross-section, of the nuclear source container for use in the tool of Fig. 1; FIGURE 12A is a view along the line 12A-12A of FIGURE 12; FIGURE 13 is-a left end view of the source container of FIGURE 12; FIGURE 14 is a cross-sectional elevation view of a nuclear source handling tool; FIGURE 14A is an end view along the line 14A-14A of FIGURE 14; FIGURE 15 is an enlarged view depicting the source container of FIGURE 12 detachably connected to the handling tool of FIGURE 14; FIGURE 16 is a diagrammatic view of the electronics and pulse forms associated with the near and far detectors; FIGURE 17 is a cross-secttenal view of a detector assembly; FIGURE 18 is a typical spectrum for an Li 6 glass scintillator; FIGURE 19A is a graph depicting the fitting of an exponential function to the gamma-ray portion of the spectrum of FIGURE 18; FIGURE 19B is a graph depicting the spectrum of FIGURE 18 subsequent to subtraction of the exponential function; FIGURE 20 is a block diagram of the detector hatch electronics depicted in FIGURE 4; FIGURE 21 is a diagrammatic plan view of a circuit board for the detector electronics; FIGURE 22 is an electrical schematic of the circuit board of FIGURE 21; FIGURE 23A is a graph showing a typical neutron detector output pulse; FIGURE 23B is a graph depicting a typical programmable gain amplifier output pulse; FIGURE 24 is a block diagram depicting the processor hatch electronics; FIGURES 25A-C are electrical schematic diagrams of the processor hatch electronics; FIGURE 26 is a diagrammatic view depicting a multichannel analysis function; FIGURE 27 is an electrical schematic of the programmable gain amplif ier used in the tool; FIGURES 28A and 28B are a pair of graphs depicting the input and output for the peak detector function used in the tool; FIGURE 28C is a timing diagram for the peak detector circuit; FIGURE 29 is a timing diagram for pulse acquisitions made by the detectors and electronics of the tool; FIGURES 30A-C is a flow chart of the digital processing technique for gamma ray stripping; and FIGURES 31AB are electrical schematic diagrams of the electronics in the MTI hatch.
Referring first to FIGURE 1, a diagram of the basic components for a neutron porosity tool 10 in accordance with the present invention is shown. This tool comprises a drill collar which contains a neutron source 12 and two spaced neutron detector assemblies 14 and 16. All three components are placed along a single axis that has been located parallel to the axis of the tool. The detector closest to the neutron source will be referred to as the "near detector" and the one furthest away is referred to as the "far detector".
The tool 10 is placed into service by loading it with a sealed chemical source (typically a 5 Curie Americium Beryllium) and lowering it into a formation. Fast neutrons (approximate average 4.4 MeV) are continuously emitted by the source and these propagate out into the formation. The fast neutrons interact with the formation and are slowed down (thermalized) by hydrogen that is present in the environment surrounding the tool.
Most of the neutrons that are emitted by the source are thermalized and absorbed by the formation surrounding the tool. Some of the remaining thermal neutrons will then get counted by either the near or far detectors and contribute to the data collected by the tool.
Calibration of the tool is accomplished by the use of laboratory formations. These specially built formations allow the tool response to be characterized for various porosities, borehole size and lithologies. In any given laboratory formation the basic measurement that is taken from the tool is the ratio. The ratio is computed by dividing the near count rate by the far count rate. After the ratio has been characterized, in all of the laboratory formations, it is possible to generate calibration curves. These calibration curves translate the tools ratio into the porosity of a formation being logged.
Still referring to FIGURE 1, tool 10 is preferably associated with a measurement-while-drilling (MWD) system and comprises a sub section of a drill string 18 which terminates at a drill bit 20. Drillstring 18 has an open internal diameter 22 in which drilling mud flows from the surface, through the drillstring and out of the drill bit. Drill cuttings produced by the operation of drill bit 20 are carried away by a mud stream rising up through the free annular space 24 between the drillstring and the wall of the well. The mud column. in drillstring 18 may also serve as the transmission medium for carrying signals of downhole parameters to the surface. This signal transmission is accomplished by the well known technique -14of mud pulse generation whereby pressure pulses are generated in the mud column in drillstring 18 representative of sensed parameters down the well. The drilling parameters are sensed in a sensor unit in a drill collar 26 near or adjacent to the drill bit. Pressure pulses are established in the mud stream within drillstring 18, and these pressure pulses are received by a pressure transducer and then transmitted to a signal receiving unit which may record, display and/or perform computations on the signals to provide information of various conditions down the well. The method and apparatus for this mud pulse telemetry is described in more detail in U.S. Patent Nos. 3,982,431, 4,013,945 and 4, 021,774, all of which are assigned to the assignee hereof and fully incorporated herein by reference.
Tool Construction and Mounting of Electronic Components and DetectorZ.
Referring now to FIGURES 2-5, the nuclear logging tool is shown generally at 10 in FIGURE 2 and diagrammatically at 10 in FIGURE 5. It will be appreciated that FIGURE 4 is a depiction of an entire circumference of the central portion of tool 10 shown in a single plane. The tool comprises a steel drill collar sub 27 having an axial opening 28 along the length thereof. As best shown in FIGURES 3 and 4, sub 27 includes three equispaced chambers or hatches 30, 32 and 34 for housing the tool electronics and detectors. Hatch 30 will be referred to as the Odetectorm hatch; hatch 32 will be referred to as the "processing" hatch and hatch 34 will be referred to as the "modular tool interface" or "MTI" hatch. The -15hatches 30, 32, 34 are machined pockets and each includes a precision surface 36, 38 and 40 to permit the formation of a high pressure seal with a hatch cover 42, 44 and 46, respectively (with the hatch covers being removed in FIGURE 4). A groove is provided in each hatch cover 42, 44 and 46 for receiving a suitable high pressure sealing means such as oring 48. It will be appreciated that each surface 36, 38 and 40 acts both as the drilling fluid sealing surfaces as well as a load bearing surface for each respective hatch cover. As shown in FIGURE 2, each hatch cover 42, 44 and 46 is secured to a respective surface 36, 38 and 40 by high tensile strength, corrosion resistant bolts 50 of sufficient size and number (preferably 22) to maintain seal integrity over a wide range of downhole conditions including pressure, temperature, torsion and bending. Hatch 30 is interconnected with hatch 32 by a passageway 52 through the wall of sub 27. Similarly, hatch 32 is connected to hatch 34 by a passageway 54 and hatch 34 is connected to hatch 30 by a passageway 56 (see FIGURE 4). The central portion 29 of tool 10 which includes hatches 30, 32 and 34 has an increased diameter relative to the opposed ends of tool 10. For example, if the ends of tool 10 have a 6-3/40 outer diameter OD), central portio'n 29 may have a 7-1/2- OD. Within this enlarged central portion 29 and between each hatch cover 30, 32 and 34 is a longitudinal passageway 57. Passageways 57 provide increased flow of drilling fluid between tool 10 and the borewall.
Referring to FIGURES 2, 4, 6, 7 and 9, sub 27 also includes an uphole junction hatch 58 (FIGURE 2) and a downhole junction.
-16hatch 60 (FIGURE 6). AS in the previously discussed hatches, each junction hatch 58, 60 is associated with a junction hatch cover 62, 64, respectively. Cover 62 utilizes an 0-ring 66 to form a high pressure fluid tight seal with a flat surface 72 surrounding hatch 58 (FIGURE 7). Similarly, junction hatch cover 64 utilizes an 0-ring 70 to form a high pressure fluid tight seal with a flat surface 68 surrounding hatch 60 (FIGURE 9). As will be discussed below, each junction hatch 58, 60 provides a chamber for effecting an electrical connection between the electronics disposed in hatches 30, 32 and 34 and a modular connector provided on either end of tool 10. In addition, each junction hatch 58, 60 serves as a pressure bulkhead so that in the event of a failure (e.g. leak) of the modular connector bus (described below), drilling fluid will be precluded from flowing into hatches 30, 32 or 34.
The thick walled sub 27 is the structural portion of tool 10 which transmits torque and weight to the lower portion of the drillstring and the method of mounting the detector units and electronic components within the thick walled sub 27 is an important feature of this embodiment. Mounting of the detector assemblies and other electronics within hatches 30, 32 and 34 under a removable high pressure hatch cover 42, 44 and 46, respectively provides many features and advantages including ease of installation and removal of components from within the hatches and ease of accessibility to the detectors and electronic components for diagnosis and adjustment. Also, the use of chambers 30, 32 and 34 permits the positioning of the detectors (identified at 74 and 76 in chamber 30 in FIGURE 4) as close as possible to both the outside of the tool and the formation wall.
-17Tool Power and Communi-,ati-0-n-S Bus-and Modular Tool InterfaQe Hatch EleQtranics AS mentioned briefly above, the nuclear logging tool 10 -utilizes a bus which comprises a single wire (see item 78 in FIGURES 2 and 5) that runs the full length of the tool sub 27 through a longitudinal bore 80 (parallel to the centerline of the tool) and is used to supply both power and communications to all locations in the tool. A power return is established for the system by using the steel drill collar sub 27 (that composes the body of tool 10) as the common return path and system ground.
A s-ignificant feature of tool 10 is its ability to be used in a modular system. The construction of sub 27 discussed above (including the power and communications bus 78 and hatches 30, 32 and 34) lends itself for use, not only as a neutron porosity device. but also in other applications such as a gamma density tool or other downhole MWD tools. Accordingly, each end of tool 10 is designed to create what is known as a "modular tool connector". Referring to FIGURES 2, 11 and 11A-E, when the pin 82 and box 84 of two adjacent modular tools are mated, ring connec tors 86 (of the type disclosed in U.S. Patent 3,696,332) inside the joint establish continuity for the modular tool bus. The power returns of the two tools are also joined because the pin and box threads are making electrical contact (see FIGURE 11D). Thus, the tool is a two conductor system created by the bus 78 (FIGURE 2) and drill collar sub 27 (FiGURE 3).
As best shown in FIGURES 11 and 11A-E, the modular connection comprises metal ring 86 (see also FIGURE 2) which is -18surrounded on three sides by a cylindrical section of electrically insulating material 88. An adhesive 90 is provided to bond ring 86 to insulator 88. A metal ring 86/insulator 88 assembly 89 is provided in a cylindrical groove 92 in each end of tool 10 and bonded therein by an elastic adhesive (see FIGURE 2). The connectors are gauged so that they protrude slightly from the shoulder surface to insure positive electrical contact when the two mating rotary connections are torqued up (see FIGURE 11D). As shown in FIGURES 11A-C, a rubber tube 91 is bonded on the assembly 89 and positioned in groove 92 so that the assembly will be preloaded so as to urge assembly 89 outwardly of the end of tool 10 (thus insuring good electrical connection to an adjacent sub as shown in FIGURE 11D). As shown in FIGURE 11B, insulator 88 includes an integral non- rotation lug 93 which is received in sub 27 for preventing rotation of assembly 89. Also, ring 86 includes an integral non-rotation lug 95 which prevents rotation of ring 86. It will be appreciated that non-rotation of assembly 89 is important in order to prevent breakage of wire 78. Extending from a location in groove 92 is longitudinal bore 80. At the juncture between bore 80 and groove 92 is a connector 94 which effects electrical connection between wire 78 and ring 86.
Referring to FIGURE 11D, the pin end of the modular connection has several modifications to a standard API connection. The first is an undercut fillet 101 within the shoulder of the connection. The second is an-extended neck on the pin. These two features increase fatigue life and improve the bearing stress distribution along the shoulder of -19the rotary connection. This improved loading distribution is needed to effect a metal to metal seal and prevent the drilling fluids from coming in contact with the connector assembly.
Lubrication for the modular connection system of this invention is accomplished with the use of a 0.0001 to 0.001 inch thick copper plating (see item 103 in FIGURE 11E) and the use of a high shear strength, high temperature, non electrically conductive lubricant 105. The copper plating is applied to the face and threads of the pin connection. The plating is required to prevent galling of the rotary connection when a metal based lubricant (typically used on non-magnetic drill collars and components) cannot be used (it would short the electrical connector to case).
Both the box connection and pin connection have a circumferential groove 107 located in the shoulder of the connection. The location of the groove is positioned to provide adequate sealing capability against downholehydrostatic mud pressures while subjected to drilling loads (bending, weight on bit, etc.). Within this groove are the several longitudinally gun drilled holes 80, 80' that receive anti- rotati ona 1. anchors 93 for the electrical connector assembly and also act as a conduit for the bus wire to travelinto the junction box located inboard of the sub. These holes are drilled with great locational accuracy to allow for rotary connection rework and/or recuts which will result in intersecting the newly machined connector groove to these holes.
It will thus be appreciated that if either end of tool 10 is damaged, the sub 26 can be cut off to the damage point with a new groove 92 and ring 86 provided at the cut section (along with remachined threading) to permit re-use of the tool.
It will also be appreciated that wire bus 78 is connected to the electronics in hatches 30, 32 and 34 via electrical connectors 96 (FIGURES 4, 7), 98 (FIGURES 4, 9) in junction hatches 58 and 60, respectively. As shown in FIGURE 4, bore 80 extends between both junction hatches 58, 60 and modular tool interface hatch 34.
FIGURE 5 depicts a system level view of the electronics for the modular neutron porosity tool- As described above, the electronics have been partitioned so that they fit inside the three hatches 30, 32 and 34. still referring to FIGURE 5, a first function that the modular tool bus fulfills is to supply power to any tool that is connected to the system. A power supply associated with the measurement-while-drilling electronics package (in sub 26 of FIGURE 1) produces a nominal 30 volt DC signal which is supplied to the modular tool bus 78. Circuitry inside the modular tool interface (MTI) hatch 34 takes this 30 volt DC signal and converts it into +5v, +15v and -15v supplies. The specific electronic configuration of the power supply/interface circuit Of MTI board shown at 100 in FIGURE 4 is depicted in the electrical schematic diagrams of FIGURES 31A and 31B. The electronic components in FIGURES 3iA-B are identified in Table 1.
A second function of the modular tool bus is to allow bidirectional communication between all members of the bus. A member can be thought of as any intelligent piece of hardware which listens or talks over the bus. Because-the bus has multiple members, a software protocol is used which prevents more than one member from talking at the same time. If two -21members attempted to talk simultaneously, a conflict will occur and most of the communications will probably be corrupted. Thus, when one member is talking, all of the other members must be listening.
The talking and listening functions are implemented over the bus via frequency modulation of a 1/2 volt peak to peak sine wave. The sine wave is added to the 3OV DC power signal and when observed on an oscilloscope will appear to be riding on a positive 30 volt DC offset. A 273KHz signal represents a digital "one" and a 245KHz signal represents a digital "zero". The hardware that encodes and decodes these frequency modulated signals is located inside hatch 34 on the single MTI board 100. It will thus be appreciated that the MTI board 100 may be considered as a power supply and modem combined into one unit.
TABLE 1
COMPONENT DESCRIP11ON ul Microcontroller Reset Function U2 High-Voltage Switchmode Controller U3 Voltage Regulator U4 Transceiver us Programmable Logic Device U6 Field Effect Transistor
U7 Voltage Comparator U8 Inverter U9 Digital Phase-Locked-Loop Filter U10 Programmable Timer -22Nuclear Source and Mounting thereof in Tool Referring now to FIGURES 2, 4, 69, and 12-15, the nuclear source and the mounting thereof in tool 10 will now be described. The nuclear source container is shown generally at 102 in FIGURE 12. The source container is a rugged unit designed to withstand stresses, pressures and temperatures experienced in downhole oil drilling. It houses a small NRC approved logging source 104 such as Americium 241/Beryllium and adapts it to large downhole hardware by means of a closely controlled diameter, length and thread 106 which secures source 102 to the logging tool and is located on the far right end of container 102. On the opposite end to the thread 106 is a bayonet 110 which is designed to engage and lock the source assembly into the receptacle of an installation and removal tool shown at 112 in FIGURES 14 and 14A. The shank 114 of the threaded end 106 is smaller and thus weaker than bayonet 110 to ensure the successful removal of container 102 from the logging tool. As described below, the novel bayonet design also ensures that no one without compatible equipment will be able to handle the source safely.
As best shown in FIGURE 8, container 102 is mounted in an opening 116 through the wall of sub 27. Opening 116 is located tangentially to tool 10 so that the longitudinal centerline of the radioactive portion of nuclear source 104 will be positioned orthogonal to the longitudinal axis of tool 10 within a section Pf the wall of sub 27. In this way, the centerline of source 104 will be in alignment or at least nominally (e.g., substantially) aligned with the axis of the detectors 74 and 76. Opening 116.
-23includes a larger diameter portion 118 which is sized to receive the head of installation and extraction tool 112 and a smaller diameter section lls having internal threading for threadible engagement with threaded end 106 of container 102. Container 102 thus relies on elastic strain (due to torque) of the threaded end 106 as the primary means f or securement to the wall of sub 27. As a backup measure, a bolt 117 is provided through an opening 119 (which runs from the outer wall of sub 27 and intersects opening 116) and abuts against the exterior end of container 102 for further securing retention in sub 27.
As is clear from FIGURE 8, container 102 is secured such that it is open to the mud environment but not subjected to mud flow. The mounting of container 102 in the wall of sub 27 allows for quick and easy removal frem the tool, particularly in the event of an emergency. Also, the positioning of the source along the centerline of the tool provides optimizes neutron emission into the formation.
Referring to FIGURES 14 and 14A, nuclear source loading tool 112 comprises an inner tube 118 having a spring actuated rod 120 therein. Rod 120 is biased at one end by a spring 122 and terminates at a bayonet 124. A locking pin 126 may be positioned through the center of rod 120 and tube 118. In addition, tool 112 includes a pair of handles 125 and 127 which are colinear with inner tube 118. Finally, a pre-set torque wrench 128 is attached to tube 118 so that when locking pin 126 locks rod 120 to tube 118, wrench 128 will rotate both tube 118 and rod 120 to torque source container 102 (which has been attached to bayonet 124) to a preselected torque value.
As best shown in FIGURES 13, 14A and 15, the end of bayonet 110 includes a circular shoulder 130 having a pair of opposed slats 132 therein. Bayonet 124 has a complementary pair of opposed tangs 134 which are sized so as to be received in slots 132. As the tangs 134 are received in slots 132, the spring 122 is biased and tool 112 is rotated clockwise or counterclockwise so that tangs 134 are held tightly by shoulder 130.
Neutron Detectors Referring to FIGURES 4, 10, 16 and 17, the "nearn and "far" neutron detectors 74 and 76, respectively are positioned in detector hatch 30. Each detector 74, 76 consists of a piece of 6 Li enriched scintillating glass 136 configured as a one inch long cylinder having a 1/2" diameter, which is bonded by an adhesive layer 138 to a photomultiplier 140 of comparable 6 diameter. Alternatively, s cintillator 136 may contain Li in the form of 6LiI. crystal. Photomultiplier tube 140 terminates at a first circuit board 142. A second circuit board 144 is spaced from circuit board 142 with an array of resistors 146 connected between circuit boards 142 and 144. A pair of capacitors 148 and 150 are also positioned on circuit board 144. The array of resistors plus the capacitors are a voltage divider network intended to provide voltages to the various electrodes of the photomultiplier. Three wires 152, 154 and 156 terminate at circuit board 144 with wire 152 being connected to a high voltage source 158 (FIGURE 4) in hatch-34 (FIGURE 5); and wires 154, 156 being connected to the processor board in hatch 32 (FIGURE 5). Each detector assembly 74,. 76 is potted in a- -25suitable potting compound 160 such as a silicone rubber compound (FIGURE 17). Potting compound 160 has a plurality of ribs 162 molded therein to provide for expansion and shock absorption.
Neutrons and gamma rays traverse glass 136 producing light scintillations which are converted by the photomultiplier (PMT) 140 into voltage pulses of various heights. A pulse height analyzer circuit then produces a spectrum of the type shown in FIGURE 18. This spectrum is then subjected to further analysis in order to subtract out the gamma-ray portion. A ratio is then taken of the net neutron counts in the near detector to that in the far detector. This ratio, based on a previous calibration in the laboratory, can then be related to a porosity provided the nature of the rock matrix is known.
The electronic pulse that is generated by the scintillator/PMT is of little use until it undergoes some analog signal processing. The amplitude of the pulse is typically quite low and it has a very short duration. By amplifying the pulse and passing it through a low pass filter, the raw pulse is modified into a form whose amplitude is more easily measured. (See FIGURE 16 for a graphic representation of the pulse shape after passing through pulse amplifier).
As mentioned, a typical spectrum for 6Li glass is shown in FIGURE 18. The vertical axis gives the quantity of pulses and the horizontal axis is proportional to the pulse amplitude. Examination of this spectrum shows that it depicts two parts, namely the gamma-ray background and the neutron peak. The gamma-ray portion occurs because 6 Li glass is also sensitive to gamma rays, which are always present in a neutron logging situation. The neutron peak is predominantly caused by thermal neutrons interacting with the glass scintillator.
Heretofore, it has been believed by those skilled in the art 6 - 6 - that Li glass (or other L' detectors) would be problematic in a logging measurement because of the difficulty of removing the gamma-ray background. The present tool has overcome past practical problems by acquiring real time spectra and subjecting these spectra to digital processing techniques.
As will be discussed in greater detail below, after a spectrum has been acquired, a microprocessor will fit an exponential curve to the spectrum so that it approximates the portion of the spectrum contributed by the gamma rays. A typical exponentialfunction is shown superimposed on a raw spectrum---in FIGURE 19A. After the gamma characterization is done, it becomes possible to strip the gamma rays out of the raw spectrum. This is accomplished by subtracting the gamma function from the raw spectrum.
The result of this subtraction is shown in FIGURE 19B. Note that the gamma-ray background is now absent and the spectrum contains counts that are due only to neutrons. If the microprocessor integrates the counts under the neutron peak, then the resulting summation will yield the total number of neutrons in the spectrum. It should be noted here that the gross neutron count is not the samevalue as the neutron count rate. The neutron count rate is calculated by dividing the gross neutron count by the time over which a spectrum is collected. This calculation will produce a value whose units are neutrons per second.
It will be appreciated that while two detector assemblies are preferred, this invention may also be utilized in conjunction with one detector assembly or greater than two detector assemblies.
Neutron Detector Hatch Electronics FIGURE 20 is a block diagram of the electronics associated with the detector hatch 30 and positioned on circuit board 166 shown in FIGURES 4 9 20 and 21, and in the electrical schematic of FIGURE 22. All of the electronic components depicted in FIGURE 21 are identified in FIGURE 22 (with components U1 and U2 comprising operational amplifiers). Note that the near and far detector assemblies are so named because of their distance from the neutron source. Each detector has been configured so that it requires only three connections to make it operational. By applying 1.5KV DC to its high voltage input and grounding the power return, pulses will then appear on the output terminal.
When no neutrons or gamma rays are present, a detector 74, 76 (FIGURE 10) will be in a quiescent state and output signal should be resting close to a ground level. If a neutron or gamma flux is present, random negative pulses will be observed at the detector's output. FIGURE 23A depicts a typical output pulse. Most detectors will produce an amplitude distribution that starts at zero and ends with a maximum of approximately one volt.
The 1.5KV DC that is needed to operate the detectors is supplied by a high Voltage power supply 158 (FIGURE 20). This supply uses +15V as its input and produces the fixed high voltage needed by the system. The. output of the HYPS (High Voltage Power Supply) cannot be used directly by the photomultipliers because it contains approximately one volt of peak to peak noise. If high frequency noise is present on the high voltage input of a photomultiplier, -28it will couple directly into the output. This problem is eliminated by first passing the noisy high voltage through a low pass filter 168 (FIGURE 20). Filter 168 removes the unwanted noise and clean high voltage is distributed to both detectors 74, 76.
The circuit board 166 (FIGURE 4) which contains the RV filter 168 also contains two preamplifiers 170 that are used to adjust the signal gain from the near and far detectors. The gain of photomultiplier tubes 140 usually varies between units and thus requires a hardware gain normalization when initially -setting up the system. This gain adjustment assures that the neutron-peak occurs in the proper position in the spectra.
A second benefit of the preamplifiers is that they present a high input impedance to detectors 74, 76. This is important because the detectors have a very weak load driving capacity and do not work very well when driving long signal lines or heavy loads. Thus, by placing the preamplifiers 170 close to the detectors, signal distortion is minimized and the preamplifiers drive the required loads.
It will be appreciated that FIGURE 20 shows the HVPS 158 as being"located in the detector hatch. Technically this is incorrect because it is actually located inside the MTI hatch 34 (FIGURE 4). This simplification was taken to help make the detector hatch electronics more understandable.
Processor Hatch Electronics FIGURE 24 shows a block diagram of the electronics located inside the processor hatch 32. These electronics are located-on -29a processor board 172 shown in FIGURE 4 and in the electrical schematics of FIGURES 25A-C. Individual electronic components depicted on FIGURES 2SA-C are identified in Table 2. This electronics acquires spectra from the detectors 74, 76 and then process the spectra to prod uce detector count rates. An 80C31 microcontroller module 174 (FIGURE 24) is used to perform all functions that require computations and communications with devices outside the tool.
From a nuclear electronics standpoint, this circuitry implements a function known as multichannel analysis. The input and output of this function is shown in FIGURE 26. The input consists of a train of analog pulses, each corresponding to the absorption of a neutron or gamma-ray by the detector. The function observes the amplifier output for a preselected length of time (e.g. 30 seconds) and constructs a pulse height distribution.
The channel number is the means by which the amplitude of a given pulse is described by this function. The channel numbers start at zero and end with a maximum value determined by the resolution of the system. In a preferred embodiment, the system has eight bits of resolution which means that the channel numbers start at zero and reach a maximum value of 255. Each channel can be thought of as having its own counter which is incremented when a pulse falls into a given channel. Thus, the smallest pulses are counted in channel zero and the largest pulses are counted in channel 255.
Returning to FIGURE 24, it can be seen that the near and far detector signals enter the processor board through an analog -30 multiplexer 176. The multiplexer is necessary because MCA (Multichannel Analyzer) can acquire spectra on only one detector at a time. This limitation is solved by multiplexing the near and far signals into the single MCA on the board. A drawback of this multiplexing scheme is that some counts in the unused channel are lost while it sits idle.
During a typical down hole acquisition cycle that lasts approximately 30 seconds, the MCA will spend unequal amounts of time on the near and far detectors. The acquisitions are interleaved by spending ls and 5s on the near and far detectors, -respectively. This 17%, 83% duty cycle is then repeated until the allecated 30 seconds of collection time has elapsed.
The near and far detector signals get unequal collection times due to their inherently different count rates. Since the near count rate is much greater than the far count rate, it is quite easy to get good statistics on the near channel. Conversely, the low count rates on the far detector requires that most of the MCA's collection time be spent on that channel to get acceptable statistics.
The next functional block in the system is a novel programmable gain amplifier (PGA) 178 (FIGURE 24). This is an amplifier whose gain can be controIled digitally. Besides amplifying detector pulses,PGA 178 also modifies the frequency characteristics of signals that enter it. Pulses that are presented to the PGA have the same shapes as that shown in FIGURE 23A. In this case, however, the amplitude distribution will now range from zero to approximately -10 volts because of the gain contributed by the preamplifier.
FIGURE 23B shows a typical PGA 178 output pulse. Note that the pulse is still unipolar but that it is now a positive signal. Another important feature of this pulse is that it is much more gently rounded than the waveform shown in FIGURE 23A. The shape of the input waveform has been modified by subjecting it to a low pass filter. This attenuates the high frequency signal content of each pulse and thus accounts for the more gentle waveform at the PGA output.
There are two importan t reasons to include a low pass filter function in the PGA. By limiting the high frequency signal content in each pulse, the signal to noise ratio will be significantly improved and the system resolution preserved. All photomultipliers produce some high frequency noise and inclusion of the filter function helps the MCA place a pulse in the correct channel.
The second important benefit of the filtering relates to the shape of the output waveform. If a comparison is made of FIGURES 23A and 23B, it can be seen that the peak amplitude of the first waveform would be very difficult to measure because it only lasts for a few nanoseconds. The second waveform, however, has a peak amplitude that lasts much longer and would therefore be much easier to measure. The ability to precisely quantify pulse amplitudes is an important feature as it will have a serious impact on the quality of spectra collected by tool 10.
The gain stage of the PGA has an analog ra-nge of zero to 5 that is controlled with 6 bits of resolution. When the tool is initially powered up, the gain stage is set to 2.3 and a short.
-32acquisition cycle is done on each detector to locate the neutron peaks. At the time of tool assembly the preamplifier gains are set- such that the neutron peak for both detectors will occur at channel 140 to 160 with the PGA at the default gain of 2.3. By placing the neutron peaks within these limits, (at room temperature) the tool will always be able to locate the neutron peak of each detector under elevated temperature conditions.
Prior to the start of the first real 30 second acquisition cycle, the gain of the PGA is adjusted to place the neutron peak between channels 90 and 110. The neutron peak is kept stabilized within these limits to help the processing algorithm produce---accurate neutron count rates. Keep in mind that each time the microcontroller switches detectors, the current PGA gain (for the chosen detector) must be written to the PGA.
It is possible to place the neutron peak in a known position since the microcontroller knows the current PGA gain and current peak location. By the use of a simple formula, a new PGA gain can be calculated and used to drive the neutron peak into the desired limits. Just before the start of each new 30 second acquisition cycle, the neutron peak locations are checked using spectra from the previous 30 second cycle. If either neutron peak is not within the correct limits a new PGA gain will be' calculated and used during the upcoming 30 second cycle.
Referring now to FIGURE 27, the specific circuitry of PGA 178 will be described. PGA 178 unites several functional sections into a single system. The input to PGA 178 is shown in FIGURE 27, Section A. U1 is configured as a non-inverting voltage follower that provides unity gain. This gives PGA 178-a high impedance input that will not distort the output of the preamplifier driving the PGA.
FIGURE 27, Section Be shows the low pass filter of the PGA. This is a third order Bessel filter that has a cutoff frequency of 250KHz. A low pass filter is used to attenuate the frequencies abo ve 25OKHz in an input pulse. By limiting the high frequency signal content of an input pulse, the signal to noise ratio of the system is improved. This results in a more gently rounded waveform at the output of the low pass filter. The Bessel type function was chosen over other filter functions because of a special property it exhibits. This filter has a linear phase shift for most input frequencies which means that a unipolar input pulse causes a unipolar output pulse. Most other low pass filters will convert a unipolar input into a bipolar output. A bipolar output pulse is undesirable because it increases the deadtime of the system.
The gain of PGA 178 is determined by Sections C and D. Section C can be modeled as an equivalent resistor feeding the summing junction of U6 (FIGURE 27). B5', B4, B3, B2, B1 and BO are the digital inputs that set the resistive network to a specific equivalent resistance. The total gain provided by U6 is computed by summing the contribution of each bit as shown in the following equation:
GAIN = B5 (-R16/R4) + B4 (-R16/2R4) + B3 (-Rl6MR4) + B2 (-R16/8R4) + B1 (Rl6116R4) + BO (-R16/32R4) Where:
R4 = R6 = R8 = R10 = R12 = R14 = R15 R5 = R7 = R9 = R11 = R13 R4 = 2 (R5) - 3 4 With resistive values shown in Sections C and D (FIGURE 27), the gain in this design can range from 1 to approximately 5. By changing the values used in the above equation, it is possible to alter the dynamic range to fit another application. It is also possible to increase gain resolution by adding more switches and resistors to the summing junction of U6.
Section E of FIGURE 27 is an output clamping circuit designed to limit the maximum amplitude that the PGA can produce. This is a useful feature since nuclear detectors will occasionally produce large output pulses that may degrade sensitive electronics. The clamping circuit will begin to function when U6 produces an output pulse whose amplitude is +6.2V or greater. At that instant, the Zener diode (CR1) opens up and clamps the output of U6 to +6.2V. The resultant clamping voltage is then trimmed to a desired value by the use of R17 and R18. With the values in FIGURE 27, clamping will occur (at the output of the PGA) at 5.0V. If a clamping level higher than +6.2V is desired, a higher value Zener diode can be used and different trimming resistors selected. U7 in Section E is the output driver for the PGA. It uses the same configuration as Ul and provides the PGA with a low output impedance. This is important because it allows the PGA-to drive other circuits with a minimum of signal distortion.
Another useful feature of this amplifier is its ability to block DC levels at its input. This can be important if the preamplifier produces significant DC offsets. An amplifier that did not block these offsets could possibly become useless by saturating itself. Increased power consumption would also be a -35detrimental side effect. DC blocking occurs at two separate locations inside the PGA using a C-R high pass filter. The first filter is at C6 in FIGURE 27. The resistive leg of the filter can be viewed as the equivalent resistance leading to the summing junction of U6. The second filter is at C18. The resistive portion of the filter is formed by the sum of R17 and R18.
Turning again to FIGURE 24, the next functional block on the processor board is the peak detector 180. Peak detector 180 is depicted within the dashed lines of FIGURE 25A. It should be noted here that the peak detector function is not related to the neutron-peak found in the spectra. . FIGURES 28A and B show the input and output of the peak detector 180. Pulses leaving the PGA 178 output are fed directly into the input of the peak detector 180. As the input pulse is rising towards its maximum amplitude, the output of the peak detector will track its input. Once the input pulse has reached its peak and starts heading downwards, the output will stop tracking the input. The output of the peak detector is now producing a DC voltage whose amplitude is identical to the peak amplitude of the input pulse.
The input pulse can have any amplitude ranging from 20OffiV to 5V. It is the peak detector's function to capture the peak amplitude of the input pulse and convert this amplitude into a stable DC voltage as shown in FIGURE 28B. The output of the peak detector is then sent to an A/D converter where it is digitized.
The input pulse of FIGURE 28A cannot be sent directly to an A/D converter because the peak amplitude only exists for -36approximately 10OnS. Most A/D converters are not fast enough to accurately convert a high speed signal such as this; and require that their inputs be limited to a maximum slew rate. Thus, the peak detector circuit creates a bridge between high speed analog pulses and the speed limitations of A/D converters.
To understand the operation of circuit 180, reference is made to FIGURE 28C which illustrates a normal peak detection cycle. When the input of the circuit starts to rise (due to the arrival of a pulse) the high speed comparator (U10) will sense that the input is greater than the output. This causes the -comparator output to switch from a logic 0 to a logic 1 which causes switch 1 to be in a closed (conducting) state.
Since switch 1 is now closed it will allow the unity gain follower (U9) to charge the memory capacitor (C57) to the same voltage which is present on the input. Another unity gain follower (U12) is used to isolate the memory capacitor from the output of the circuit. Referring to FIGURE 28C, it can be seen that the output tracks the-input only while the input pulse is still rising.
Just after the input pulse reaches its peak amplitude, the input voltage will be slightly less than the existing output voltage. As shown in FIGURE 28C, this causes the comparator output (U10) to change from a logic 1 to a logic 0. This in turn causes switch 1 to open (become non- conducting) and prevent the memory capacitor (C57) from discharging through U9. Since the charge in the memory capacitor is now isolated from any low impedance paths, it will effectively maintain a constant voltage on the output of U12.
An important feature of peak decection circuit 180 is a digital input called HLD. The HLD line is used to disable the peak detector after a pulse has been captured. If a one volt pulse has already been capture anda two volt pulse subsequently entered the input, then the one volt output would be overwritten by the two volt pulse. This problem is eliminated by changing the HLD signal from a logic 1 to a logic 0 after a pulse is captured. FIGURE 28C shows an appropriate use of the HLD input. As long as the HLD line remains at a logic 0 the input of the peak detector will be disabled.
After the A/D has completed its conversion, the system must have a means to initialize the peak detector so that it can capture another pulse. This function is provided by the use of a digital input called RES. If RES is set to a logic 0, then switch 2 will close (conducting) and cause the memory capacitor to discharge to ground. FIGURE 28C shows the proper application of the RES input.
In peak detector circuits of this type, it is possible that small amounts of noise (on either the input or output) can lead to erroneous switching of the high speed comparator (U10). This undesireable switching will obviously degrade the accuracy of the circuit since switch 1 will not'be in its correct state. Most of this noise sensitivity has been alleviated by passing the comparator inputs through a low pass filter. An RC law pass filter is created for the positive and negative comparator inputs via R38, C63 and R41, C64, respectively.. This low pass filter constitutes an important feature of the peak detector.
-38 Another important feature of peak detector 180 is that its output droops towards a ground state. All peak detectors exhibit a condition known as droop. This is caused by a small continuous movement of charge into or out of the memory capacitor due to IC bias currents or resistive paths. This will result in a time dependant voltage gain or loss at the output of the peak detector. If droop occurs in a positive direction, then the peak detector could gradually build a large enough amplitude (on its output) to lock itself up. This problem is avoided in circuit 180 by the addition of R24. This large value resistor provides a small leakage current that prevents IC bias currents from placing a net positive charge into the memory capacitor C57.
In some known peak detector circuits of the type described herein, it is possible to demonstrate an error condition that can lead to thermal burnout of U9, switch 1 and switch 2. If the RES signal is low while HLD is highi then it is possible to have both switches in a closed (conducting) state. Looking at the unity gain follower output U9, it is possible to trace a current path through switches 1 and 2 to ground. In effect, the IC U9 would be driving a short circuit to ground which could destroy it or the switches. The peak detection circuit 180 has taken this possible error condition into account by using the RES signal to control not only switch 2 but also switch 1. Referring to FIGURE 25A, switch 1 (which is used for charging the memory capacitor) is controlled via the output of gate U22. If the RES signal is low, then the gate U22 will always open switch 1 and thus prevent U9 from driving a short circuit. Thus, an error condition involving the use of the HLD and RES signals will not cause hardware failures in circuit 180.
At this point, reference should be made to FIGURE 29 for an explanation of the coordination of analog and digital events. When a pulse leaves PGA 178 it is also being fed into a comparator 182 as well as peak detector 180. If the output of the PGA exceeds 20OmV then the comparator output signal (CMP) is asserted low. The falling edge of CMP is a signal to the entire system that a valid pulse has left the output of the PGA. Pulses which are below the comparator threshold are ignored by the system and will not become part of the spectrum.
When a falling edge is detected on CMP, a timer starts operating that times out in approximately 2.5 microseconds. After the 2.5 microseconds has elapsed, the READ and HLD lines are asserted low as shown in FIGURE 29. The READ line tells the A/D converter 184 to start a conversion on the analog signal presented to it by peak detector 180.
The HLD line serves three purposes in the present invention. The first of these is to tell the peak detector 180 that no more pulses are to be allowed into its analog memory. Thus, after the HLD line goes low, subsequent pulses are locked out of peak detector 180.
The second function of the HLD line is to generate an interrupt to microprocessor 174. This interrupt will tell the microprocessor that a pulse has undergone conversion and is waiting to be read. Since the microprocessor takes approximately 8 microseconds to vector to its interrupt, the A/D conversion 184 will already be complete when the service routine starts.
The last function that the HLD line performs is to enable and disable the timer that is associated with the microprocessors interrupt line. Whenever the HLD line is low this timer (which is built into the microprocessor) is gated off. This timer is necessary because it keeps track of what is known as live time.
Live time is defined as that quantity of time during which the MCA is not busy processing pulses. Conversely, dead time is the quantity of time spent by the MCA actually servicing pulses that come in. To illustrate live and dead time, assume that the MCA is going to collect a spectrum for 1 second in real time. If each-pulse takes 50 microseconds to service and there are 1,000 events during the ls acquisition period, then the total dead time is 50 milliseconds. The live time for this scenario would be 950 milliseconds.
The live time is important when calculating count rates from the neutron detectors. Processing of spectra yields a gross neutron count which is then divided by the live time to give the neutron count rate. The units of the count rate is neutrons/second.
When the microcontroller.174 starts servicing its interrupt routine the first action that it tdkes is to pull the CNT line low. This output of the microcontroller gives the microcontroller control over the pulse acquisition hardware. As long as the CNT line is low no other pulses can get into the pulse acquisition hardware. After the microcontroller is finished servicing the interrupt routine the last thing it does is release this line.
Near the end of the interrupt service routine the microcontroller pulses the res line low for approximately 1 microsecond. This line serves two purposes. It simultaneously resets the analog memory of the peak detector 180 and it resets the hardware that controls the READ line of the A/D converter 184.
During the interrupt service route the microprocessor will update its spectrum to include the pulse that has just been captured. At the beginning of the service routine, one of its earliest actions is to read the data from the A/D converter 184. The data bus of the A/D has been mapped into the memory of the microprocessor and a simple software read instruction allows the microprocessor to access the conversion.
After the A/D has been read, the microprocessor uses the 8 bit value as a pointer to the correct channel stored in the microprocessor's memory. The existing count in that channel is incremented by one and the new count is placed back into memory. This process is repeated many times to acquire enough statistics so that a clear spectrum is created.
If a pulse enters the system while the HLD line is low it will be ignored and have no impact on the system. Thus, the system is "dead". FIGURE 29 shows.that HLD is low for almost the whole pulse acquisition cycle. If the count rates are very high then the dead time may become a significant fraction of real acquisition time. It is for this reason that an MCA is designed to minimize the dead time for each pulse acquisition cycle.
After a preselected acquisition cycle has been completed the microcontroller 174 will process both spectra and calculate the resultant count rates. The near and far count rates are then available to either be stored in the memory tool or the near/far ratio may be calculated and transmitted uphole via the mud pulsing system located in drill string section 26 of FIGURE 1. The high resolution logs are produced after drilling has stopped and the contents of the memory tool are read at the surface.
TABLE 2
COMPONENT (FIGS. 25A-C) DESCRIPTION ul Multiplexer U22 NAND Gate U23 Hybrid PGA U9, U12 Operational Amplifier U101 U15 Comparator Ull Switch U13 A to D Converter U14 Voltage Reference U16 NAND Gate Schmitt trigger U17 Programmable Gate Array U18 Serial ROM U19 Microcontroller Reset Function U20 Transceiver U21 Microcontroller xl Hybrid Oscillator -43SpectrUM Digital Processing:
As already mentioned, an important feature is the spectrum digital processing technique which results in the gamma-stripped spectrum of FIGURE 19B. This processing technique and the associated software will now be described with respect to the flow chart of FIGURES 30A-C.
It will be recalled that the raw spectra of FIGURE 18 must undergo data processing to achieve the gamma-stripped spectra of FIGURE 19B. The data processing is composed of three parts. Part one involves smoothing the raw spectrum. In part two, the -shape of the smoothed spectrum is characterized by its two peaks, a valley therebetween and a least squares fitting is used to produce the gamma-ray background spectrum curve (FIGURE 19A) which is subtracted from the original spectrum to yield the preliminary neutron spectrum (free of gamma rays). In the third part, the neutron spectrum is analyzed statistically in order to modify it and yield as a final result the total neutron counts.
Part I. Using the SMOOTH routine, the raw spectrum (as in FIGURE 18) is smoothed by passing an eleven point window successively through the histogram and averaging each set of eleven points. The process is then repeated for the purpose of further smoothing. For example, if channels 1 through 11 are being averaged, the average value is inserted at channel 6 (the mid-point). The eleven channel window is then moved up one channel and channels 12 through 22 are averaged with the average being inserted at channel 17. This process is carried forward through the 256 channels. To obtain the smoothed value for -44channel zero, it is assumed that there are channels -1 through channel -5 which have the same value as channel zero and the window runs from channel -5 through channel +5. A similar procedure occurs at channel 256. The results of this routine are then passed to the SMOOTH routine for further smoothing of the already processed raw spectrum.
Part II. The spectrum having now been smoothed must be characterized according to its shape: its two peaks and the valley between them. The search for the gamma-ray peak is performed using the PEAK routine. Starting at channel 1, a search is performed using a ten channel window and finding the channel with the highest count in that window. The search is then repeated with the window shifted so that the first channel of the window corresponds to the channel with the highest count previously found. The process continues until the peak channel number does not change. The peak channel number is referred to as NGAMMA. With the determination of the gamma peak channel number, NGAMMA, an integration of the raw spectral curve from channel 2 though (2NGAMMA) is performed to determine total background gamma counts. This value is a secondary measurement to the neutron count measurement.
Next, the search for the valley between the gamma-ray peak and the neutron peak is made using the VALLEY routine. Starting at channel (NGAMMA + 10), a search is made using the ten channel window and looking for the lowest count. When the lowest count is found, the window is shifted so that the first channel of the window corresponds to this lowest count. The process continues -,Is- until the channel number found havi.ig the lowest count does not change and NVALLEY1 is the result. It should be noted that because of the shape of the spectrum, the VALLEY routine would not mistakenly find the valley in the region beyond the neutron peak.
The neutron peak is found by using the PEAK routine in a manner which follows. A search is made from (NVALLEY1 + 10) through channel 256 using a 100 channel window to find the channel with the highest count. The search is then repeated with the window shifted so that the first channel of the window corresponds to the channel with the highest count previously found. -This process continues until this peak channel number does not change and the result is NNEUTRON.
Lastly, a search is made for a revised valley between the gamma peak and the neutron peak. This procedure amounts to a check on the initial value NVALLEY1 with the result being called NVALLEY. Using a 100 channel window, a search is made from channel (NVALLEY1-10) through channel 256 for the lowest count. When the lowest count is found, the window is shifted so that the first channel of the window corresponds to this lowest count. The process continues until the channel number having the lowest count no longer changesand NVALLEY is the result.
Having evaluated the shape-of the curve which includes both neutron and gamma-ray peaks, it now becomes possible to separate out the portions of the curve due to each. To do this, a first estimate of the gamma-ray background is made using a procedure to be described. It is known from other considerations that the gamma-ray background will be that of a decaying exponential -46curve. Such a decaying exponential curve can be written in the form Y = A(X B where A and B are two parameters to be fitted to this curve by a least square fitting routine and X is the channel number. If logarithms of both sides of (1) are taken, then (1) becomes:
log Y = log A + B(log X) (2) the equ-ation for a straight line. Using a software routine known as LLSFIT, a least square fit to a straight line is made such that the line is constrained to pass through the following four points:
N1 = NGAMMA +.1(NVALLE:Y - NGAMMA) N2 = NGAMMA +.9(NVA.LLEY - NGAMMA) N3 = NNEUTRON + 1.67(NNEUTRON - NVALLEY), but if N3 is greater than 226, then N3 = 216 and N4 = 246. The choice of the four points is not totally arbitrary but is based on experience and experiment'.
The background gamma-ray curve so derived is then subtracted channel by channel between channels N1 and N4 inclusive from the previously smoothed spectrum. This subtraction is performed using a software routine known as BCKGRND. The resultant curve represents a neutron-only spectrum.
This neutron-only spectrum is now subjected to some more refined analysis using a software routine known as STATS (a statistical analysis). This routine looks at the neutron-only spectrum from channel NNEUTRON (NNEUTRON - NVALLEY) to channel NNEUTRON + (NNEUTRON - NVALLEY). In other words, it is looking at a region symmetric about the neutron peak. It thencalculates the following:
(1) SIGMA, the standard deviation about the neutron peak; (2) MEAN, the mean channel number, the statistical center of the neutron peak; and (3) COUNTS, the total number of neutron counts found by integra-ting under the resultant curve (the resultant curve being Gaussian) Part III. In this part, the first estimate of the gamma-ray background curve is replaced by a more sophisticated analysis. The values N1 through N4 are recalculated making use of the just derived value of SIGMA (which assumes a Gaussian shape for the neutron peak). The new values are as follows:
N1 = NNEUTRON - (6 x SIGMA), but limited to a rainimal. value of N1 from the previous pass; N2 = NNEUTRON - (3 x SIGMA), bat limited to a maximum value of NVALLEY (note the assumption that three standard deviations from the mean must be very close to a minimum value); N3 NNEUTRON + (4 x SIGMA), but limited to a maximum. channel number of 216; and N4 NNEUTRON + (9 x SIGMA), but limited to a maximum channel number of 251.
-48The new values of N1 through N4 are run through the LLSFIT.routine as before to obtain a more accurate estimate of the gamma-ray background curve. Again, the subtraction routine BCKGRND is used with the new values of N1 through N4.
The newly derived neutron-only curve is now once again subjected to the STATS routine to calculate MEAN and COUNTS. In doing so, the SIGMA obtained from the first pass processing is used to determine the end points of this STATS processing: channels NNEUTRON - (3 x SIGMA) to NNEUTRON + (3 x SIGMA).
For each acquisition, the above-described processing is done separately for the near and far detector.
While preferred embodiments have been shown and described, various modifications and substitutions may be made thereto without departing f rom the scope of the invention as def ined in the claims. Accordingly, it is to be understood that the present embodiment has been described by way of illustration and not limitation- This application is related to GB 2243174, GB 2243175 and GB 2243444, and is a divisional of GB 2243443.

Claims (9)

Claims
1. An electronic circuit for use in a nuclear sensor having a radioactive source and at least one detector assembly, said electronic circuit comprising:
peak detector means for receiving input pulses having short, transient amplitudes from said detector assembly and associated circuitry, and converting said input pulses to stable DC signal pulses measurable by an analog to digital converter for enabling analysis of said stable DC signals to provide a nuclear log, said peak detector means comprising:
first unity gain follower; memory capacitor communicating through a first is switch with said first unity gain follower, said first unity gain follower adapted to charge said memory capacitor to the same voltage as one of said input pulses; a second unity gain follower communicating with an output of said memory capacitor and being adapted to isolate said memory capacitor from.said DC signal output pulse; and digital comparator means for comparing said input pulse to said DC signal output pulse wherein said comparator means changes its digital state when said input pulse reaches its peak amplitude and thereby opens said first switch and prevents said memory capacitor from discharging through saidfirst unity gain follower thereby maintaining a constant voltage on said output of said second unity gain follower.
2. The apparatus of claim 1, wherein said peak detection means further includes digital-hold circuit means for limiting the number of pulses stored in the peak detection means.
3. The apparatus of claim 1 or 2, including digital reset circuit means for resetting said peak detector means between signal pulses by closing a second switch which discharges said memory capacitor to ground.
4. The apparatus of claim 3, wherein said digital reset circuit means further maintains said first switch open when a signal to said digital reset circuit means is below a predetermined threshold.
5. The apparatus of claim 3, wherein said digital reset circuit means further maintains said first switch open when said second switch is closed.
6. The apparatus of any preceding claim, wherein said is peak detector means further includes low pass filter means for receiving said input signals to said digital comparator means and thereby reducing noise passed into said comparator means.
7. The apparatus of any preceding claim, including resistor means communicating between said memory capacitor and said first unity gain follower for providing a small leakage current for preventing a net positive charge in said memory capacitor.
8. An electronic circuit as claimed in any preceding claim, further comprising: programmable gain amplifier (PGA) means receiving analog input signal pulses sent by said detector assembly, said PGA means including (a) low pass filter means for improving signal to noise ratio by limiting the high frequency signal content in each pulse and (b) gain means for quantifying pulse amplitudes within preselected spectral limits, said PGA means modifying said analog input signal pulses to PGA output pulses, which are then supplied to said peak detector means.
9. Circuitry for nuclear logging apparatus as claimed in claim 1, substantially as hereinbefore described with reference to the accompanying drawings.
GB9324859A 1990-04-17 1993-12-03 Nuclear logging apparatus Expired - Fee Related GB2271233B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US07/511,538 US5083124A (en) 1990-04-17 1990-04-17 Nuclear logging tool electronics including programmable gain amplifier and peak detection circuits
GB9108258A GB2243443B (en) 1990-04-17 1991-04-17 Nuclear logging apparatus

Publications (3)

Publication Number Publication Date
GB9324859D0 GB9324859D0 (en) 1994-01-19
GB2271233A true GB2271233A (en) 1994-04-06
GB2271233B GB2271233B (en) 1994-08-10

Family

ID=26298746

Family Applications (2)

Application Number Title Priority Date Filing Date
GB9324859A Expired - Fee Related GB2271233B (en) 1990-04-17 1993-12-03 Nuclear logging apparatus
GB9324858A Expired - Fee Related GB2271178B (en) 1990-04-17 1993-12-03 Nuclear logging apparatus

Family Applications After (1)

Application Number Title Priority Date Filing Date
GB9324858A Expired - Fee Related GB2271178B (en) 1990-04-17 1993-12-03 Nuclear logging apparatus

Country Status (1)

Country Link
GB (2) GB2271233B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3602143A4 (en) * 2017-03-23 2020-11-25 General Electric Company Sensing systems and methods for detecting changes in downhole hydrocarbon and gas species

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4445093A (en) * 1979-09-26 1984-04-24 Toledo Transducers, Inc. Press cycle monitor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4918314A (en) * 1989-01-06 1990-04-17 Halliburton Logging Services, Inc. Gain stabilization circuit for photomultiplier tubes

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4445093A (en) * 1979-09-26 1984-04-24 Toledo Transducers, Inc. Press cycle monitor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3602143A4 (en) * 2017-03-23 2020-11-25 General Electric Company Sensing systems and methods for detecting changes in downhole hydrocarbon and gas species

Also Published As

Publication number Publication date
GB2271178B (en) 1994-08-10
GB2271233B (en) 1994-08-10
GB2271178A (en) 1994-04-06
GB9324859D0 (en) 1994-01-19
GB9324858D0 (en) 1994-01-19

Similar Documents

Publication Publication Date Title
US5144126A (en) Apparatus for nuclear logging employing sub wall mounted detectors and electronics, and modular connector assemblies
US5083124A (en) Nuclear logging tool electronics including programmable gain amplifier and peak detection circuits
US5278758A (en) Method and apparatus for nuclear logging using lithium detector assemblies and gamma ray stripping means
US5126564A (en) Apparatus for nuclear logging employing sub wall mounted nuclear source container and nuclear source mounting tool
US5061849A (en) Externally mounted radioactivity detector for MWD employing radial inline scintillator and photomultiplier tube
US8637807B2 (en) Apparatus and methods for measuring formation characteristics
MXPA06001345A (en) Integrated logging tool for borehole.
CN103328768A (en) Logging-while-drilling tool incorporating electronic radiation generator and method for using same
US4342911A (en) Focused nuclear interface survey instrument and method of determining density changes in mining and storage wells
GB2399880A (en) Monitoring the source strength of a pulsed neutron source
US10261214B2 (en) Method and apparatus for separating gamma and neutron signals from a radiation detector and for gain-stabilizing the detector
CA1200020A (en) Gamma ray spectral tool for borehole use
US20200096668A1 (en) Methods and means for azimuthal neutron porosity imaging of formation and cement volumes surrounding a borehole
CN209838398U (en) Orientation and density measuring device while drilling
US5196698A (en) Method and apparatus for nuclear logging using lithium detector assemblies
RU2262124C1 (en) Method for pulse neutron logging and device for realization of said method
EP0081075A1 (en) Method and apparatus for neutron induced gamma ray well logging
GB2271233A (en) Peak detector circuitry for use in nuclear logging apparatus
GB2275529A (en) Nuclear logging apparatus
GB2276898A (en) Nuclear logging apparatus
US3621255A (en) Two detector pulse neutron logging porosity technique
CN111119871B (en) Measuring device and measuring method for measuring stratum density value
US9810807B2 (en) Methods and systems for detecting epithermal and thermal neutrons
CN214787344U (en) Protective structure for crystal measurement window of while-drilling detector
CN111663939B (en) Direction density measurement while drilling device and measurement method thereof

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 19970417