The following descriptions and examples are not admitted to be prior art by virtue of their inclusion in this section.
A downhole tool may be deployed in a wellbore that traverses a hydrocarbon bearing geologic structure for purposes of acquiring information about fluids of the geologic structure. For this purpose, the downhole tool may contain an optical spectrometer. The optical spectrometer measures how a downhole fluid interacts with light for purposes of determining information about the fluid.
This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.
In accordance with an example implementation, a technique includes acquiring dry condition and wet condition measurements using an optical spectrometer for a plurality of lamp intensities. The technique includes determining candidate maximum optical densities as a function of the lamp intensities based at least in part on a reference measurement that is acquired by the spectrometer. The reference measurement does not vary with respect to the lamp intensities. The technique includes determining an optical density linear dynamic range based at least in part on the candidate maximum optical densities.
In accordance with another example implementation, a technique includes acquiring a plurality of wet condition measurements using an optical spectrometer for a range of values for a lamp current of the spectrometer; and acquiring a plurality of dry condition measurements using the spectrometer for the range of values for the lamp current. The technique further includes determining first measurement-to-reference ratios for the wet condition measurements; and determining second measurement-to-reference ratios for the dry condition measurements. The technique also includes acquiring a fixed, reference attenuation measurement by the spectrometer; and determining candidate maximum optical densities for the spectrometer for the lamp current values based at least in part on the wet and dry condition measurements and the reference measurement. The technique still further includes determining an optical density linear dynamic range based at least in part on the candidate maximum optical densities and errors of the candidate optical densities with respect to a reference maximum optical density.
In accordance with yet another example implementation, an apparatus includes an interface and a processor. The interface receives data representing net intensities that are measured by an optical spectrometer performing wet condition and dry condition measurements for a plurality of lamp currents. The processor processes the data to determine the candidate maximum optical densities for the lamp current intensities based at least in part on a reference measurement acquired by the spectrometer. The reference measurement does not vary with respect to the lamp current. The processor processes the data to determine an optical density linear dynamic range based at least in part on the candidate maximum optical densities and a reference maximum optical density.
Advantages and other features will become apparent from the following drawings, description and claims.
Certain embodiments will hereafter be described with reference to the accompanying drawings, wherein like reference numerals denote like elements. It should be understood, however, that the accompanying drawings illustrate only the various implementations described herein and are not meant to limit the scope of various technologies described herein. The drawings are as follows:
Referring to
In accordance with example implementations, the optical spectrometer 154 may be operated to illuminate a fluid contained in the spectrometer's flow line and apply the principles of spectroscopy for purposes of acquiring information about the fluid. In accordance with some implementations, the downhole tool 150 includes a processing system 152 that processes information acquired by the spectrometer 154 for purposes of performing analysis of the fluid downhole and communicating information uphole about the sampled downhole fluid/reservoir conditions. In this regard, as depicted in
Although example implementations are described herein in which an optical spectrometer is deployed in a well, in accordance with further example implementations, the spectrometer may be used outside of the well and/or for applications that involve analyzing fluids other than well fluids.
In accordance with example implementations, the downhole tool 150 may be deployed downhole using a conveyance mechanism 131, such as a wireline, a coiled tubing string, a slickline, and so forth. Moreover, as depicted in
Spectroscopy is based on the premise that when light shines on a material, the interaction of the light with the material produces a measurable response, which characterizes a property of the material. More specifically, when light having a wavelength λ shines directly on the material, the interaction of the light with the material may be defined by a transmittance, (herein called the “T(λ)”). The T(λ) transmittance is the ratio of the intensity of the light (called “I (λ)” herein) that exits the opposite face of the material to the intensity of the light (called “Io (λ)” herein) that is incident on the material, as described below:
T(λ)=I(λ)/Io(λ). Eq. 1
Thus, the transmittance T(λ) is the ratio of light transmitted through the sample to the light incident on the sample; and as such, the T(λ) transmittance has a value of 1.0 when none of the light “disappears.” Any light that is not transmitted through the material means that the light is either reflected from, absorbed in, or scattered by the material.
In accordance with example implementations, the downhole tool 150 samples a fluid and uses the spectrometer 154 to measure how much light the fluid absorbs at different wavelengths. Because measuring the absorption directly may be rather difficult, in accordance with example implementations, the downhole tool 150 measures the T(λ) transmittance and infers the absorption from the measured T(λ) transmittance. In this manner, in the absence of reflections and scattering, absorption is directly related to the T(λ) transmittance. If the reflections and scattering, in general, have a uniform effect (i.e., are not dependent on wavelength), then inferring absorption from the T(λ) transmittance has a relatively small error.
The T(λ) transmittance may be rather inconvenient to use when working with absorption, but classical optics shows that absorption is a logarithmic function of the T(λ) transmittance. Furthermore, when the total absorption of a material is the result of several different mechanisms, some of which overlap in some regions of the spectrum, a term called optical density (abbreviated herein as “OD”) may be used. The relationship between the T(λ) transmittance and OD may be described as follows:
OD=log(T(λ)). Eq. 2
All parts of the spectrometer's light path (i.e., the optical fibres, filters, and so forth) absorb some of the light. To account for this absorption, the spectrometer 154 may be calibrated with a non-absorbing fluid (such as air) in the spectrometer's flow line/measurement region. Measurements that are conducted with on the non-absorbing fluid are referred to herein as the “dry condition,” or “dry,” measurements; and measurements that are conducted on a liquid fluid are referred to herein as the “wet condition,” or “wet,” measurements.
More specifically, light from the lamp 210 illuminates a flow line 214, as depicted by representative illumination 219. The flow line 214 contains either an absorbing fluid (for a wet measurement) or a non-absorbing fluid (for a dry measurement). The light passing through the flow line 214 may be routed into an optical fibre bundle and is routed into an optical fibre distributor (not shown) that separates the light into measurement optical channels 236, where each channel 236 may be associated with a different wavelength. Light 217 from the lamp 210, in accordance with example implementations, is also routed into an optical fibre distributor (not shown) and then distributed by the distributor into reference optical channels 226, where each channel 226 may be associated with a different optical wavelength. In accordance with some implementations, each reference optical channel 226 may be associated with a corresponding set of measurement channels 236. Therefore, depending on which measurement channel 236 is the focus of a linear dynamic range measurement for the optical spectrometer 154, the corresponding reference optical channel 226 may also be selected and used.
The optical spectrometer 154 may include an optical-to-electrical interface 220, which provides electrical signals representing sensed net intensities for each of the channels 226 and 236. In this context, the “net intensity” refers to the difference between the intensity sensed for a given channel when the lamp 210 is on and the intensity sensed for the channel when the lamp 210 is off. In accordance with example implementations, the optical-to-electrical interface 220 includes a bandpass filter 225 and photodetector 223 for each reference optical channel 226 for purposes of providing a corresponding electrical voltage 228 that represents the sensed net intensity of the channel 226. Similarly, in accordance with example implementations, the optical-to-electrical interface 220 may include a bandpass filter 239 and a photodetector 237 for each measurement optical channel 236 for purposes of providing a corresponding electrical voltage 238 that represents the sensed net intensity of the channel 236.
The optical spectrometer 154 therefore provides net intensity measurement voltages 228, which represent the net intensities for the measurement channels 236, and net intensity voltages 238, which represent the net intensities for the reference channels 226.
The spectrometer 154 may have a number of different forms, depending on the particular implementation. For a chopper-motor type spectrometer, the measurement and reference channels share optical paths that have the same filters and detectors. For a reference-type spectrometer, the reference channels share different optical paths from the measurement channels (as depicted in the example implementation of
As also depicted in
Among its other features, in accordance with some implementations, the processing system 152 may contain a telemetry interface 270, which generates data for purposes of communicating with circuitry at the Earth surface. In this regard, in accordance with some implementations, the telemetry interface 270 may be coupled to a telemetry tool 152 (see
The OD is a dimensionless value and represents the amount of optical absorption of a fluid (crude oil, water, gas and so forth) in the spectrometer's flow line 214. The OD for a particular measurement wavelength, or channel (where “i” below represents a channel index), and tool temperature (T) may be described as follows:
ODi(T)=LMSRMeas,iLMSRMC,iTC(T). Eq. 3
In Eq. 3, “LMSR,” in general, represents a logarithmic measurement-to-reference ratio; “LMSRMeas,i” represents the LMSR ratio for a given channel i for wet condition measurements (i.e., measurements when the liquid fluid is in the flow line 214); “LMSRMC,i” represents the LMSR ratio for a given channel i for dry condition measurements (i.e., measurements when the dry fluid is in the flow line 214); and “TC(T)” represents a temperature coefficient to compensate the OD baseline drift due to temperature change.
In general, the LMSR ratio may be described as follows:
In Eq. 4, “VMeas” and “VRef” represent the voltages (that represent the net intensities) from the measurement and reference channels, respectively. The “On” and “Off” suffixes of Eq. 4 denote when the lamp 219 is turned on and off, respectively. In accordance with example implementations, the OD values for all channels are calibrated to be zero for the dry condition measurement.
One performance specification for the optical spectrometer 154 may be the dynamic range of OD measurements, which describes the maximum OD measurement capability of the spectrometer 154. The instrument dynamic range is simply the numerical range an instrument can display. Another performance specification for the optical spectrometer 154 may be the “linear dynamic range” of the OD (also referred to as the “OD linear dynamic range,” herein), which specifies, for a given acceptable deviation from linearity (as a percentage of absorbance), the minimum and maximum OD values (i.e., the range of OD values that comply with the given acceptable deviation). In accordance with example implementations that are described herein, the “OD linear dynamic range” for the spectrometer 154 may be defined as the OD dynamic range, where OD measurements meet a specified accuracy and linearity.
In accordance with example implementations, the OD linear dynamic range is determined using a fixed reference measurement. In this manner, the reference measurement is a fixed optical attenuation component that does not vary with lamp current. In accordance with example implementations, the OD linear dynamic range for a given wavelength may be determined by determining a reference OD value for the spectrometer 154 and then, determining a range of ODs (including the reference OD), which comply with a specified linearity. More specifically, in accordance with example implementations, maximum ODs (a reference maximum OD and candidate maximum ODs) are calculated using a reference measurement (acquired by the spectrometer 154), which does not vary with the intensity of the lamp 210. A subset of the candidate ODs are then selected based on a specified error between the candidate maximum OD and the reference maximum OD.
More specifically, in accordance with example implementations, the reference measurement may be the measured net intensity of one of the reference channels 226 (see
As a more specific example,
The controller 246 may also control the optical spectrometer 154 to conduct wet condition measurements when a liquid fluid is introduced into the flow line 214, resulting in the spectrometer 154 acquiring net intensity spectra 500 that are depicted in
In accordance with example implementations, determining the maximum ODs, as well as other aspects described herein pertaining to determining the OD linear dynamic range may be performed by a processor-based system, such as the processing system 152 (
In accordance with example implementations, the reference measurement used for maximum OD calculations is the measurement of the net intensity of one of the reference channels 226 when the lamp current is at its maximum value; and the reference maximum OD is determined based on the spectrometer's wet and dry condition measurements at the maximum lamp current. Moreover, for purposes of determining the other candidate maximum ODs, the lamp current is varied; wet and dry measurements are acquired using these other lamp currents; and the corresponding candidate maximum ODs are calculated based on the wet and dry measurements and the reference measurement.
The dry LMSR values change with the lamp current. Therefore, the fluid measurement results of
The OD errors may be calculated by taking the difference between each candidate maximum OD and the reference maximum OD. The resulting subtraction results in a relationship 900 of
As depicted in
Referring to
More specifically, referring to
The techniques and systems that are described herein assume the non-existence of stray light. Stray light may be defined as the unwanted light contribution (or cross-talk) from other wavelengths outside of the measurement channel (the measurement wavelength). This stray light exists when the blocking level of the optical bandpass filter (one of the bandpass filters 225 or 239 of
In accordance with example implementations, for purposes of determining whether there is any stray light effect, the performances of the channel bandpass filters 225 and 239 (see
As a more specific example, in accordance with some implementations, the OD blocking level for the bandpass filters may be defined as an OD greater than four. The filters may be tested for other blocking levels, in accordance with further implementations.
Other implementations are contemplated which are within the scope of the appended claims. For example, in accordance with some implementations, for purposes of determining an OD linear dynamic range for multiple measurement wavelengths, or channels, liquids that attenuate significant energy at these wavelengths, may be selectively introduced into the flow line 214 for the wet condition measurements. In accordance with some implementations, the spectrometer 154 may contain an optical filter with a fixed attenuation for purposes of selecting another peak channel for the OD linear dynamic range determination. The techniques that are described herein may be applied to other types of spectrometers by introducing the appropriate fixed attenuation component. Thus, many implementations are contemplated, which are within the scope of the appended claims.
In accordance with further example implementations, the techniques that are described herein may be used for purposes of determining the linear dynamic range for a spectrometer other than a spectrometer that is used downhole in a well. Moreover, the measurements that are described herein may be conducted outside of the well.
While the present techniques have been described with respect to a number of embodiments, it will be appreciated that numerous modifications and variations may be applicable therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the scope of the present techniques.