Downhole fluid analysis (DFA) is often used to provide information in real time about the composition of subterranean formations or reservoir fluids. Such real-tune information can be advantageously used to improve or optimize the effectiveness of formation testing tools during a sampling processes in a given well, including sampling processes which don't return a captured formation fluid sample to the Earth's surface. For example, DFA allows for reducing and/or optimizing the number of samples captured and brought back to the surface for further analysis. Some known downhole fluid analysis tools such as the Live Fluid Analyzer (LFA) and the Composition Fluid Analyzer (CFA), both of which are commercially available from Schlumberger Technology Corporation, can measure absorption spectra of formation fluids under downhole conditions. Each of these known fluid analyzers provides ten channels, each of which corresponds to a different wavelength of light that corresponds to a measured spectrum ranging from visible to near infrared wavelengths. The output of each channel represents an optical density (i.e., the logarithm of the ratio of incident light intensity to transmitted light intensity), where an optical density (OD) of zero (0) corresponds to 100% light transmission, and an OD of one (1) corresponds to 10% light transmission. The combined OD output of the channels provides spectral information that can be used to determine the composition and various other parameters of formation fluids.
The present disclosure is best understood from the following detailed description when read with the accompanying figures. It is emphasized that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
It is to be understood that the following disclosure provides many different embodiments, or examples, for implementing different features of various embodiments. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed except where specifically noted as indicating a relationship. Moreover, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed interposing the first and second features, such that the first and second features may not be in direct contact.
The CFA was one of the first tools utilized for downhole fluid analysis (DFA), performing downhole compositional analysis of hydrocarbon mixtures. Still in use today, the CFA utilizes an optical spectrometer having seven near-infrared NIR) channels to estimate partial density of the carbon species in gas and gas condensate. The equation of the CFA algorithm is set forth below as equation (1):
y=xB (1)
where x denotes CFA optical densities (OD) at seven channels, y denotes estimated partial densities of carbon species, and B is a mapping matrix calibrated against an optical spectrum database by using a principal component regression (PCR).
More recently developed downhole tools for performing DFA utilize an optical spectrometer having 36 channels. The evolution towards greater numbers of spectrometer channels has given rise to sequential methods for composition computation, employing algorithms optimized for oil as well as gas and gas condensate. The present disclosure, however, introduces aspects in the context of a downhole tool having a 20-channel spectrometer. Nonetheless, such aspects are applicable or readily adaptable for use with DFA employing a 36-channel spectrometer and/or another spectrometer having any number of channels.
According to Beer-Lamberrs law, optical density (absorption) is proportional to an absorption coefficient α, concentration (or partial density) ρ and optical pathlength l, as set forth in equation (2) below:
OD(λ)=α(λ)·ρ·l (2)
where λ denotes wavelength of an electro-magnetic wave, particularly UV-visible-NIR light, mid-IR light and/or others.
Optical density of multi-component systems can be described as a linear combination of contributions from individual carbon components (e.g., C1, C2, C3, C4, C5, C6+ and CO2) if there is no significant interaction between components, as set forth below in equation (3):
Equation (3) can be altered to a concentration-independent form as follows. To start, the relationship between weight fraction (ωi) and concentration (or partial density) is set forth below in equation (4):
where total density is given by ρtotal=Σiρi (i=C1, C2, C3, C4. C5, C6+ and CO2).
Normalizing by weight fraction of a particular component, (ωC) (C=C1, C2, C3, C4, C5, C6+ or CO2), results in equation (5) set forth below:
where ωiρtotal=ρi and
Equation (3) may also be altered if ODC(λ′) is non-zero, as set forth in Equation (6) below:
where
Thus, the normalized optical density by optical density of a component C at wavelength λ′ can be expressed as set forth below in equation (7):
Equation (7) is temperature, pressure and pathlength independent because the variation of the absorption coefficient α(λ) against temperature and pressure is nearly constant. For gas and gas condensate samples: C=C1 and λ′ 1650 nm may be used, resulting in equation (8) set forth below:
where
In a similar way, C=C6+ and λ′=1725 nm may be used for oil samples, resulting in equation (9) set forth below:
where
In equations (8) and (9), however, ODC(λ′) is an unknown variable at this point in the analysis. From equation (7):
For gas and gas condensate spectra, λ′=λ=1650 nm may be chosen, and terms of C3, C4, C5, C6+ and CO2 can be truncated from equation (10) because contributions from these terms at 1650 nm is negligible, thus resulting in equation (11) set forth below:
Likewise for oil spectra, λ′=λ=1725 nm may be chosen, and terms of C1, C2 and CO2 can be truncated, thus resulting in equation (12) set forth below:
The color spectrum can also be taken into account for oil spectra cases. That is, since there is less vibrational absorption from C1, C2, C3, C4, C5, C6+ and CO2 at 1500 nm, optical density a 1500 nm originates primarily from color (if there is any). Thus, color absorption at 1725 nm can be described, as proportional to optical density at 1500 nm, as set forth below in equation (13):
ODColor(1725 nm)=β·OD(1500 nm) (13)
Alternatively, the ODcolor(1725 nm) may be expressed as set forth below in equation (13′):
ODColor(1725 nm)=βexp(α1725nm)+γ (13′)
where β, α and γ are adjustable parameters determined in a manner similar to β in equation (13). Moreover, the analysis that follows may be applicable or readily adaptable for instances where equation (13′) is utilized as an alternative to equation (13).
Combining equations (12) and (11) results in equation (14) set forth below:
Thus, the linear relationship between normalized optical density and relative concentration for gas and gas condensate samples may be as set forth below in equations (15) and (16):
Similarly, the linear relationship between normalized optical density and relative concentration for oil samples may be as set forth below in equations (17) and (18):
where
These linear relationships may be utilized within a method of mapping matrix calibration according to one or more aspects of the present disclosure, as described below.
Measured optical density is often affected by light scattering and offset due to refractive index, as well as absorption by the sample in the flowline of the downhole tool. For example, light scattering may be caused by particles (e.g., mud, sand, etc.), bubbles, water droplets and organic matter (e.g., asphaltenes) that may precipitate in the flowline. Dirty or coated optical windows may also cause light scattering. If the size of the scattering object is much larger than the wavelength of light, then the scattering effect is less wavelength-dependent (geometric scattering). If the size of the scattering object is comparable or smaller than the wavelength of light, then the resulting, scattering effects may be more wavelength-dependent (Mie/Rayleigh scattering).
With regard to a refractive index effect, if the spectrometer baseline is calibrated with air in the flowline of the downhole tool, then the zero optical density is defined in the air, with reflectivity at the boundaries between sapphire and air. The reflectivity at the boundaries depends on the refractive index of the fluid in the flowline. This effect appears as being a nearly constant negative offset on a spectrum.
To reduce these scattering and refractive index effects, the measured optical spectra may be aligned (e.g., shifted vertically), and optical density at a predetermined wavelength (e.g., 1600 nm) may be forced to zero. Of course, methods within the scope of the present disclosure may utilize additional and/or alternative forms of pretreating the measured optical spectrum.
The DFA and associated methods within the scope of the present disclosure may utilize mapping matrices B that are calibrated separately for gas, gas condensate and oil. The normalized optical spectrum data set resulting from the above analysis may be utilized as a set of calibrants in a partial least squares (PLS) process. There are, however, unknowns in the normalization term, such as
where N denotes the number of samples, wjk represents the reference weight fraction of component k for sample j, and wjk′ represents the predicted weight fraction of component k for sample j.
Laboratory-measured optical spectra employed for the PLS calibration may be converted into an equivalent channel spectra, since measurement parameters of the laboratory spectrometer and the downhole tool spectrometer may have significant differences. For example, the lab-measured data may be converted into an equivalent 20-channel spectra. Optical density adjustments may also be made to account fir noise and any hardware dependency from unit to unit. Such adjustments, which may include intentionally adding noise, may reduce the weight on error-sensitive channels in constructing the mapping matrices B. Consequently, the mapping may be more robust against effects of the hardware dependency or noise.
The mapping matrices B are calibrated by the mapping set forth below in equation (20).
wherein X is the spectral dataset, δX is OD error (e.g., known from knowledge of the instrument), Y is relative concentration of components C1, C2, C3, C4, C5, C6+ and CO2, and N is the number of sets of adjusted spectral datasets that may be employed to calibrate the mapping matrix, forcing X+δX to be mapped to Y. Here, the mapping matrices 13 ma be determined via PLS. However, other methods are also within the scope of the present disclosure, such as PCR, multiple regression, independent component analysis (ICA), and/or other methods for determining coefficients which map known inputs to known outputs.
As mentioned above, three different mapping matrices are required, one each for oil, gas and gas condensate, prior to composition analysis. To identify the fluid types from a spectrum, projections onto loading vectors obtained individually from oil, gas and gas condensate spectra in the database are performed. For example, the database spectra may be vertically aligned at a predetermined wavelength (e.g., 1600 nm), and channels around the hydrocarbon absorption peaks (e.g., from 1500 nm to 1800 nm) may be used. Each spectrum may then be normalized by summation over available spectral data points (e.g., 1500 nm-1800 nm), as set forth below in equation (23).
Loading vectors may then be obtained using, for example, singular value decomposition (SVD) or other forms of principal component analysis (PCA) on the database of each fluid type, as set forth below in equation (24):
X
i
=U
iΛiViT (i=oil, gas, gas condensate) (24)
where U denotes the scores of X, Λ denotes eigenvalues of X, and V denotes loading matrices of X. Projection pi of a spectrum x onto the loading vector Vi may then be acquired as set forth below in equation (25):
p
i
=x·V
i (25)
Upon examining normalized eigenvalues of the spectrum database of oil, gas and gas condensate, it is noted that the eigenvalues of the first and second principal components dominate more than 90% of the total eigenvalues/contributions. Thus, the first two components may be deemed essential to describe spectra. Accordingly, projections onto the first two loading vectors of oil, gas and gas condensate may be evaluated as set forth below in equation (26):
p
i1&2=√{square root over (pi12+pi22)} (26)
The resulting pi1&2 may then be compared to determine the predominant fluid type. For example, the largest of the resulting pi1&2 may be considered to best represent the spectral shape for each of the three fluid types independently.
Once the mapping matrices are obtained, the calibration process described above is not required for performing the composition analysis. For the mapping matrix calibration using the PLS regression, all of the spectra used for the calibration were normalized using equation (16) or (18). Nonetheless, the unknown parameters (
ηOD×B=η(
The normalization factor η may then be disregarded when the weight fraction is calculated from relative concentration, as shown in equation (28) set forth below.
Note that the above analysis is presented in terms of EVA with respect to specific compositional components: namely: C1, C2, C3, C4, C5, C6+ and CO2. Nonetheless, the above analysis and the rest of the present disclosure niay also be applicable or readily adaptable to fluid analysis with respect to other compositional components, perhaps including C3-5, C6 and/or C7+, among myriad others within the scope of the present disclosure.
The method 100 comprises an optional step 110 to de-water the optical spectrum. Water that may exist in the flowline can exhibit interference with hydrocarbon and CO2 peaks and therefore cause inaccuracy in the interpretation of the spectral data. De-watering may be optional, however, such that the de-watering step 110 of the method 100 may be skipped if, for example, the presence of water is not observed. Nonetheless, if the method 100 does indeed include the de-watering step 110, the de-watering may be performed utilizing any known or future-developed algorithm, process or approach.
The method 100 also comprises an optional step 115 to de-color the optical spectrum, such as when the sampled formation fluid has color (e.g., when the sampled formation fluid comprises heavy oil(s)) that would otherwise cause inaccuracy in the interpretation of the spectral data. The method 100 also comprises another optional step 120 to de-scatter the optical spectrum, such as when the sampled formation fluid comprises emulsions, bubbles, particles, precipitates, fines and/or other contaminants that would otherwise cause inaccuracy in the interpretation of the spectral data. Again, while these steps 115 and 120 are optional, if the method 100 does indeed include the de-coloring step 115 and/or the de-scattering step 120, they may be performed utilizing any known or future-developed algorithm, process or approach.
A decisional step 125 then determines which fluid type is predominant in the sample, using, the scoring technique described above if the predominant fluid type is determined to be oil, then the mapping matrix calibrated for oil is utilized in step 130 to estimate the composition of the sample. If is determined during decisional step 125 that the predominant fluid type in the sample is gas, then the mapping matrix calibrated for gas is utilized in step 135 to estimate the composition of the sample. And if it is determined during decisional step 125 that the predominant fluid type in the sample is gas condensate, then the mapping matrix calibrated for gas condensate is utilized, in step 140 to estimate the composition of the sample.
The method 100 may also comprise optional steps for estimating the gas-oil-ratio (GOR) of the sample. For example, if the decisional step 125 indicated that the predominant fluid type in the sample is oil, then the GOR of the sample may be estimated in step 145 using a first algorithm and/or technique for estimating GOR, perhaps utilizing the composition estimate generated during step 130. If the decisional step 125 indicated, that the predominant fluid type in the sample is gas, then the GOR of the sample may be estimated in step 150 using a second algorithm and/or technique for estimating the GOR, perhaps utilizing the composition estimate generated during step 135. If the decisional step 125 indicated that the predominant fluid type in the sample is as condensate, then the GOR of the sample may be estimated in step 155 using a third algorithm and/or technique for estimating the GOR, perhaps utilizing the composition estimate generated during step 140. The first, second and third algorithms and/or techniques utilized to estimate the GOR in steps 145, 150 and 155, respectively, may be substantially similar to or different from each other. Moreover such first, second and third algorithms and/or techniques may be or comprise known and/or future-developed algorithms and/or techniques.
As shown in
The drillstring 212 may be raised and lowered by turning the lifting, gear with the winch, which may sometimes require temporarily unhooking the drillstring 212 from the lifting gear. In such scenarios, the drillstring 212 may be supported by blocking it with wedges in a conical recess of the rotary table 216, which is mounted on a platform 221 through which the drillstring 212 passes.
The drillstring 212 may be rotated by the rotary table 216, which engages the kelly 217 at the upper end of the drillstring 212. The drillstring 212 is suspended from the hook 218, attached to a traveling block (not shown), through the kelly 217 and the rotary swivel 219, which permits rotation of the drillstring 212 relative to the hook 218. Other example wellsite systems within the scope of the present disclosure may utilize a top drive system to suspend and rotate the drillstring 212, whether in addition to or as an alternative to the illustrated rotary table system.
The surface system may further include drilling fluid or mud 226 stored in a pit 227 formed at the wellsite. A pump 229 delivers the drilling fluid 226 to the interior of the drillstring 212 via a hose 220 coupled to a poll, in the swivel 219, causing the drilling fluid to flow downward through the drillstring 212 as indicated by the directional arrow 208. The drilling fluid exits the drillstring 212 via ports in the drill bit 255, and then circulates upward through the annulus region between the outside of the drillstring 212 and the wall of the borehole 211, as indicated by the directional arrows 209. In this manner, the drilling fluid 226 lubricates the drill bit 255 and carries formation cuttings up to the surface as it is returned to the pit 227 for recirculation.
A bottom hole assembly (BHA) 250 may comprise one or more specially-made drill collars near the drill bit 255. Each such drill collar may comprise one or more logging devices, thereby allowing downhole dulling conditions and/or various characteristic properties of the geological formation (e.g., such as layers of rock or other material) intersected by the borehole 211 to be measured as the borehole 211 is deepened. For example, the bottom hole assembly 250 may comprise a logging-while-drilling (LWD) module 270, a measurement-while-drilling (MWD) module 280, a rotary-steerable system and motor 26, and the drill bit 255. Of course, other BHA components, modules and/or tools are also within the scope of the present disclosure.
The LWD module 270 may be housed in a drill collar and may comprise one or more logging tools, it will also be understood that more than one LWD and/or MWD module can be employed, e.g., as represented at 270A. References herein to a module at the position of 270 may mean a module at the position of 270A as well. The LWD module 270 may comprise capabilities for measuring, processing and storing information, as well as for communicating with the surface equipment.
The MWD module 280 may also be housed in a drill collar and may comprise one or more devices for measuring characteristics of the drillstring 212 anchor drill bit 255. The MWD module 280 may further comprise an apparatus (not shown) for generating electrical power to be utilized by the downhole system. This may include a mud turbine generator powered by the flow of the drilling fluid 226, it being understood that other power and/or battery systems may also or alternatively be employed. In the example shown in
The LWD modules 270/270A and/or the MWD module 280 comprise a downhole tool configured to obtain downhole a sample of fluid from the subterranean formation and perform DFA to estimate the composition of the obtained fluid sample. Such DFA is according to one or more aspects described elsewhere herein. The downhole fluid analyzer may then report the composition data to the logging and control unit 290.
The downhole tool 320 comprises an elongated body 326 encasing, a variety of electronic components and modules, which are schematically represented in
One or more fluid sampling and analysis modules 332 are provided in the tool body 326. Fluids obtained from the formation and/or borehole flow through a flowline 333, via the fluid analysis module or modules 332, and then may be discharged through a port of a pumpout module 338. Alternatively, formation fluids in the flowline 333 may be directed to one or more fluid collecting chambers 334 for receiving and retaining the fluids obtained from the formation for transportation to the surface.
The fluid admitting assemblies, one or more fluid analysis modules, the flow path and the collecting chambers, and other operational elements of the downhole tool 320 may be controlled by one or more electrical control systems within the downhole tool 320 and/or the surface equipment 324. For example, such control system(s) may include processor capability for characterization of formation fluids in the downhole tool 320 according to one or more aspects of the present disclosure. Methods within the scope of the present disclosure may be embodied in one or more computer programs that run in a processor located, for example, in the downhole tool 320 and/or the surface equipment 324. Such programs are configured to utilize data received from, for example, the fluid sampling and analysis module 332, via the wireline cable 322, and to transmit control signals to operative elements of the downhole tool 320. The programs may be stored on a suitable computer usable storage medium associated with the one or more processors of the downhole tool 320 and/or surface equipment 324, or may be stored on an external computer usable storage medium that is electronically coupled to such processor(s) for use as needed. The storage medium may be any one or more of known or future-developed storage media, such as a magnetic disk, an optically readable disk, flash memory or a readable device of any other kind, including a remote storage device coupled over a switched telecommunication link, among others.
An example downhole tool or module 400 that may be utilized in the example systems 200 and 300 of
An example downhole fluid analyzer 500 that may be used to implement DFA in the example downhole tool 400 shown in
The sampled formation fluid is then subjected to in-situ downhole analysis via a spectrometer of the downhole sampling tool during a step 615, thereby obtaining spectral data representative of the sampled formation fluid. Such spectral data associated with the formation fluid flowing through the downhole formation fluid sampling apparatus may be obtained, at least in part, via a multi-channel optical sensor of the downhole formation fluid sampling apparatus, such as the optical detector 515 and/or a larger portion or all of the downhole fluid analyzer 500, each shown in
The method 600 also comprises an optional step 620 during which water spectra are removed from the measured optical spectra, as described above with respect to step 110 of
In a subsequent step 630, the measured optical spectra are projected onto a matrix corresponding to the predominant fluid type of the sampled formation fluid. The predominant fluid type of the sample formation fluid may be determined via one or more methods within the scope of the present disclosure, and/or any other method by which the predominant fluid type can be known or determined prior to performing this step 630. The projection performed during step 630 is then utilized during a subsequent step 635 to predict or estimate a parameter of the formation fluid.
The method 600 may also comprise a step 640 during which an operational parameter of the downhole sampling tool may be adjusted based on the formation fluid parameter predicted or estimated during, step 635. For example, step 640 may comprise initiating storage of a sample of the formation fluid flowing through the downhole formation fluid sampling apparatus based on the predicted or estimated parameter. Alternatively, or additionally, the step 640 may comprise adjusting a rate of pumping of formation fluid into the downhole formation fluid sampling apparatus based on the predicted or estimated parameter.
As shown in
The method 700 also comprises steps 730a-c, during which the obtained and potentially adjusted spectral data is projected onto each of first, second and third matrices of principal components. The first, second and third principal component matrices each correspond to a predominant fluid type, namely oil, gas and gas condensate, respectively. The first principal component matrix may comprise one or more first principal components corresponding to ones of a plurality of known compositions having a predominant fluid type of oil. The second principal component matrix may comprise one or more second principal components corresponding to ones of the plurality of known compositions having a predominant fluid type of gas. The third principal component matrix may comprise one or more third principal components corresponding to ones of the plurality of known compositions having a predominant fluid type of gas condensate.
First, second and third scores are then determined during subsequent steps 735a-c, based on the projections performed during steps 730a-c, respectively. For example, this may comprise determining, a first score corresponding to projection of the obtained spectral data onto the one or more first principal components, determining a second score corresponding to projection of the obtained spectral data onto the one or more second principal components, determining a third score corresponding to projection of the obtained spectral data onto the one or more third principal components.
The first, second and third scores are then utilized during step 740 to predict a predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus. For example, determining the predominant fluid type may be determined based on a comparison of the first, second and third scores. The highest score, for example, may indicate which of the three fluid types is predominant in the sampled formation fluid.
The projection, scoring and comparison process of steps 730-740 to predict the predominant fluid type may be as described above with respect to equations (23)-(26) and their accompanying text. However, other processes are also within the scope of the method 700.
The principal component matrices utilized in the method 700 may each result from SVD or other principal component analysis (PCA) of preexisting spectral data associated with a plurality of known compositions. Such preexisting spectral data may be the result of preexisting spectral analyses of one or more of the known compositions as previously measured by a spectrometry portion of the downhole formation fluid sampling apparatus. The preexisting data may also or alternatively be the result of preexisting spectral analyses of one or more of the known compositions as previously measured by one or more spectrometry devices that are not associated with the downhole formation fluid sampling apparatus. Such “non-associated” devices may be or comprise one or more of a spectrometry portion of apparatus positioned at the surface of the wellbore, a spectrometry portion of a second downhole formation fluid sampling apparatus positioned in the wellbore or a second wellbore extending into the subterranean formation or another subterranean formation, and a spectrometry portion of lab-based apparatus.
The preexisting spectral data may also be normalized by a weight fraction by compositional component of each formation fluid sample of known composition, as described above with respect to equation (5). The preexisting spectral data may also represent spectra data converted from a first number of wavelengths to a second number of wavelengths, wherein the second number is less than the first number, and wherein the second number is not greater than the number of channels of the multi-channel optical sensor utilized during step 615. For example, the laboratory-obtained spectra may represent data obtained from a 32-channel spectrometer that has been convened to represent the number of channels (e.g., 20 channels) of the spectrometry device of the downhole formation fluid sampling tool. As also described above, the laboratory-obtained spectra, whether convened into a different number of channels or not, may be adjusted to account for spectrometry hardware dependency and/or statistical noise, for example.
Although not shown in
Additionally, or alternatively, performing the PCA of the preexisting spectral data to determine the plurality of principal components may comprise determining one or more first principal components via PCA of a first portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of oil, determining one or more second principal, components via PCA of a second portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of gas, and determining one or more third principal components via PCA of a third portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of gas condensate.
The method 700 may also comprise a step 745 during which an operational parameter of the downhole sampling tool may be adjusted based on the predominant fluid type predicted during step 740. For example, step 745 may comprise initiating storage of a sample of the formation fluid flowing through the downhole formation fluid sampling apparatus based on the predicted predominant fluid type. Alternatively, or additionally, the step 745 may comprise adjusting a rate of pumping of formation fluid into the downhole formation fluid sampling apparatus based on the predicted predominant fluid type.
The method 800 also comprises a step 830 during which the predominant fluid type of the formation fluid is predicted. Such prediction may be as described above, including as shown in
In a subsequent step 835, a mapping matrix is selected based on the predominant fluid type predicted in step 830. As in the description above, the fluid types may comprise or consist of oil, gas and gas condensate, and the mapping matrices selected from may comprise a first mapping matrix corresponding to compositions having a predominant fluid type of oil, a second mapping matrix corresponding, to compositions having a predominant fluid type of gas, and a third mapping matrix corresponding to compositions having a predominant fluid type of gas condensate. Each mapping matrix may represent a linear relationship between preexisting spectral data and relative concentrations of predetermined compositional components of a plurality of known compositions, such as is described above with respect to equations (15)-(18) and their accompanying text. The first mapping matrix may also compensate for color, as it corresponds to oil compositions. However, the second and third mapping matrices may not compensate for color, as they correspond to compositions of gas and gas condensate, respectively.
As described above, the mapping matrices may each result from partial least squares (PLS) regression analysis of preexisting spectral data associated with a plurality of known compositions, as described above. Although not shown in
After the appropriate mapping matrix is selected in step 835, the formation fluid spectral data obtained downhole during step 615 is projected Onto the selected mapping matrix during a step 840. The composition of the formation fluid flowing through the downhole formation fluid sampling apparatus is then predicted in step 845 based on the projection of the obtained spectral data onto the selected mapping matrix. Predicting the composition may comprise, for example, estimating a weight fraction of each of a plurality of components of the formation fluid flowing through the downhole formation fluid sampling apparatus. The plurality of components of the formation fluid flowing, through the downhole formation fluid sampling apparatus may comprise or consist of C1, C2, C3, C4, C5, C6+ and CO2, although other components are also within the scope of method 800.
The method 800 may also comprise a step 850 during which a gas-to-oil ratio (GOR) of the formation fluid flowing through the downhole formation fluid sampling apparatus is estimated based on the composition predicted in step 845. Any known or future-developed methods may be utilized during step 850 to estimate the GOR.
The method 800 may also comprise a step 855 during which an operational parameter of the downhole sampling tool may be adjusted based on the composition predicted during step 845 and/or the GOR estimated during step 850. For example, step 855 may comprise initiating storage of a sample of the formation fluid flowing through the downhole formation fluid sampling apparatus based on the predicted composition and/or GOR. Alternatively, or additionally, the step 855 may comprise adjusting a rate of pumping of formation fluid into the downhole formation fluid sampling apparatus based on the predicted composition and/or GOR.
Moreover, aspects of the method 900 are similar or identical to those of methods 600, 700 and 800 shown in
In step 605, the downhole formation fluid sampling tool is conveyed in the borehole (via wireline, drillstring, tubulars, and/or other means) to the subterranean formation of interest. The sampling apparatus then obtains a sample of formation fluid during, step 610. The downhole tool then obtains spectral data of the formation fluid sample in step 615, whether such spectrometry is performed on a continuous flow of formation fluid within the downhole tool or, instead, is performed on a static sample of formation fluid captured in the downhole tool.
Various processing may be performed downhole on the obtained spectral data as described above. The obtained spectral data is then projected onto matrices of first, second and third principal components in steps 730a-c, and first, second and third scores based thereon are determined during steps 735a-c. These scores are then utilized during step 740 to predict a predominant fluid type of the formation fluid obtained during step 610.
The predicted predominant fluid type of the formation fluid is then utilized in step 835 to select the appropriate mapping matrix, such as selecting, a first mapping matrix if the predominant fluid type is oil, selecting a second mapping matrix if the predominant fluid type is gas, and selecting a third mapping matrix if the predominant fluid type is gas condensate. The spectral data obtained in step 615 is then projected onto the selected mapping matrix during step 840. This projection is utilized during step 845 to predict the composition of the formation fluid obtained during step 610.
The method 900 may also comprise a step 850 during which a gas-to-oil ratio (GOR) of the formation fluid flowing through the downhole formation fluid sampling apparatus is estimated based on the composition predicted in step 845. Any known or future-developed methods may be utilized during step 850 to estimate the GOR.
The method 900 may also comprise a step 855 during which an operational parameter of the downhole sampling tool may be adjusted based on the composition predicted during step 845 and/or the GOR estimated during step 850. For example, step 855 may comprise initiating storage of a sample of the formation fluid flowing through the downhole formation fluid sampling apparatus based on the predicted composition and/or GOR. Alternatively, or additionally, the step 855 may comprise adjusting a rate of pumping of formation fluid into the downhole formation fluid sampling apparatus based on the predicted composition and/or GOR.
Additional aspects of the steps of the method 900 shown in
The system 1000 comprises a processor 1012 such as, for example, a general-purpose programmable processor. The processor 1012 includes a local memory 1014, and executes coded instructions 1032 present in the local memory 1014 and/or in another memory device. The processor 1012 may execute, among other things, machine readable instructions to implement the processes represented in
The processor 1012 is in communication with a main memory including a volatile (e.g., random access) memory 1018 and a non-volatile (e.g., read only) memory 1020 via a bus 1022. The volatile memory 1018 may be comprise or be implemented by static random access memory (SRAM), synchronous dynamic random access memory (SDRAM), dynamic random access memory (DRAM), RAMIBUS dynamic random access memory (RDRAM) and/or any other type of random access memory device. The non-volatile memory 1020 may be, comprise or be implemented by flash memory and/or any other desired type of memory device. One or more memory controllers (not shown) may control access to the main memory 1018 and/or 1020.
The processing system 1000 also includes an interface circuit 1024. The interface circuit 1024 may be, comprise or be implemented by any type of interface standard, such as an Ethernet interface, a universal serial bus (USB) and/or a third generation input/output (3GIO) interface, among others.
One or more input devices 1026 are connected to the interface circuit 1024. The input device(s) 1026 permit a user to enter data and commands into the processor 1012. The input device(s) may be, comprise or be implemented by, for example, a keyboard, a mouse, a touchscreen, a track-pad, a trackball, an isopoint and/or a voice recognition system, anions others.
One or more output devices 1028 are also connected to the interface circuit 1024. The output devices 1028 may be, comprise or be implemented by, for example, display devices (e.g., a liquid crystal display or cathode ray tube display (CRT), among others), printers and/or speakers, among others. Thus, the interface circuit 1024 may also comprise a graphics driver card.
The interface circuit 1024 also includes a communication device such as a modem or network interface card to facilitate exchange of data with external computers via a network (e.g., Ethernet connection, digital subscriber line (DSL), telephone line, coaxial cable, cellular telephone system, satellite, etc.).
The processing system 1000 also includes one or more mass storage devices 1030 for storing machine-readable instructions and data. Examples of such mass storage devices 1030 include floppy disk drives, hard drive disks, compact disk drives and digital versatile disk (DVD) drives, among others.
The coded instructions 1032 may be stored in the mass storage device 1030, the volatile memory 1018, the non-volatile memory 1020, the local memory 1014 and/or on a removable storage medium, such as a CD or DVD 1034.
As an alternative to implementing the methods and/or apparatus described herein in a system such as the processing system of
In view of all of the above and the figures, those having ordinary skill in the art should readily recognize that the present disclosure introduces a method comprising: obtaining in-situ optical spectral data associated with a formation fluid flowing through a downhole formation fluid sampling apparatus; and predicting a parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto a matrix that corresponds to a predominant fluid type of the formation fluid. The spectral data associated with the formation fluid flowing through the downhole formation fluid sampling apparatus may be obtained at least in part via a multi-channel optical sensor of the downhole formation fluid sampling; apparatus. The multi-channel optical sensor of the downhole formation fluid sampling apparatus may comprise at least one spectrometer. The at least one spectrometer may be a 20-channel spectrometer. Obtaining the optical spectral data associated with the formation fluid flowing through the downhole formation fluid sampling apparatus may be performed by the downhole formation fluid sampling apparatus while the downhole formation fluid sampling apparatus pumps formation fluid from the formation downhole.
The method may further comprise adjusting an operating parameter of the downhole formation fluid sampling apparatus based on the predicted parameter. The method may further comprise initiating storage of a sample of the formation fluid flowing, through the downhole formation fluid sampling apparatus based on the predicted parameter. The method may further comprise adjusting a rate of pumping of formation fluid into the downhole formation fluid sampling apparatus based on the predicted parameter. The method may further comprise removing water spectra from the obtained spectral data before projecting the obtained spectral data onto the matrix that corresponds to the predominant fluid type.
The method may further comprise adjusting the obtained spectral data so that optical density at a predetermined wavelength is zero to reduce effects of scattering, and refractive index of the formation fluid. The predetermined wavelength may be 1600 nm.
The method may further comprise conveying the downhole formation fluid sampling apparatus within a wellbore extending into the formation. The conveying may be via at least one of wireline and a string of tubulars.
Predicting the parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus based on the projection of the obtained spectral data onto the matrix that corresponds to the predominant fluid type may comprise predicting the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto a plurality of principal components that each correspond to a particular fluid type. The method may further comprise adjusting the obtained spectral data before projecting the obtained spectral data onto the plurality of principal components, wherein adjusting may comprise at least one of: removing water spectra from the obtained spectral data; reducing effects of formation fluid scattering, and refractive index differences by forcing optical density at a predetermined wavelength to zero; and removing color effects from the obtained spectral data. The predetermined wavelength may be 1600 nm. The plurality of principal components may comprise: one or more first principal components corresponding to ones of a plurality of known compositions having a predominant fluid type of oil; one or more second principal components corresponding to ones of the plurality of known compositions having a predominant fluid type of gas; and one or more third principal components corresponding to ones of the plurality of known compositions having a predominant fluid type of gas condensate. Predicting the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise: determining a first score corresponding to projection of the obtained spectral data onto the one or more first principal components; determining a second score corresponding to projection of the obtained spectral data onto the one or more second principal components; determining a third score corresponding to projection of the obtained spectral data onto the one or more third principal components; and determining the predominant, fluid type based on a comparison of the first, second and third scores.
The plurality of principal components may each result from principal component analysis (PCA) of preexisting spectral data associated with a plurality of known compositions. The preexisting spectral data associated with the plurality of known compositions may be the result of at least one of: preexisting spectral analyses of ones of the plurality of known compositions via a spectrometry portion of the downhole formation fluid sampling apparatus; and preexisting spectral analyses of ones of the plurality of known compositions via one or more spectrometry devices which are not associated with the downhole formation fluid sampling apparatus. The preexisting spectral data may be normalized by a weight fraction by compositional component of each formation fluid sample of known composition. The one or more spectrometry devices which are not associated with the downhole formation fluid sampling apparatus may comprise at least one of a spectrometry portion of apparatus positioned at the surface of a wellbore extending into a subterranean formation from which the formation fluid is flowing into the downhole formation fluid sampling, apparatus; a spectrometry portion of a second downhole formation fluid sampling apparatus positioned in the wellbore or a second wellbore extending into the subterranean formation or another subterranean formation; and a spectrometry portion of lab-based apparatus. The preexisting spectral data may comprise laboratory-obtained spectra of ones of the plurality of known compositions. The laboratory-obtained spectra may represent spectra data converted from a first number of wavelengths to a second number of wavelengths, wherein the second number is less than the first number, and wherein the second number is not greater than the number of channels of the multi-channel optical sensor. The converted data may be adjusted to account for spectrometry hardware dependency and statistical noise.
The method may further comprise performing the PCA of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of principal components. Performing the PCA of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of principal components may comprise: vertically aligning the preexisting spectral data to a predetermined wavelength; normalizing the vertically aligned preexisting spectral data by summation over available spectral data points; and determining the plurality of principal components via PCA of the normalized, vertically aligned preexisting spectral data. Performing the PCA of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of principal components may comprise: determining one or more first principal components via PCA of a first portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of oil; determining one or more second principal components via PCA of a second portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of gas; and determining one or more third principal components via PCA of a third portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of gas condensate. The method may further comprise vertically aligning the preexisting, spectral data to a predetermined wavelength, wherein the PCA to determine the one or more first, second and third principal components utilize the vertically aligned preexisting spectral data. The method may further comprise normalizing the vertically aligned preexisting spectral data by summation over available spectral data points, wherein performing the PCA to determine the one or more first, second and third principal components utilizes the normalized, vertically aligned preexisting spectral data.
Predicting the predominant fluid type of the formation fluid flowing through the downhole formation fluid, sampling apparatus may comprise: determining, a first score corresponding to projection of the obtained spectral data onto the one or more first principal components; determining a second score corresponding, to projection of the obtained spectral data onto the one or more second principal components: determining a third score corresponding to projection of the obtained spectral data onto the one or more third principal components; and determining the predominant fluid type based on a comparison of the first, second and third scores.
The method may further comprise adjusting an operating parameter of the downhole formation fluid sampling, apparatus based on the predicted predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus. For example, the method further comprise initiating storage of a sample of the formation fluid flowing through the sampling apparatus based on the predicted predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus. Alternatively, or additionally, the method may comprise adjusting a rate of pumping of formation fluid into the downhole formation fluid sampling apparatus based on the predicted predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus.
Predicting the parameter of the formation fluid flowing through the downhole formation fluid sampling, apparatus based on the projection of the obtained spectral data onto the matrix that corresponds to the predominant fluid type may comprise predicting a composition of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto one of a plurality of mapping matrices that each correspond to a particular fluid type. The method may further comprise estimating a gas-to-oil ratio (GOR) of the formation fluid flowing through the downhole formation fluid sampling apparatus based on the predicted composition.
The method may further comprise removing water spectra, from the obtained, spectral data before mapping the obtained spectral data to the one of the plurality of mapping matrices. The method may further comprise adjusting the obtained spectral data so that optical density at a predetermined wavelength is zero to reduce effects of scattering and refractive index of the formation fluid. The predetermined wavelength may be 1600 nm.
Each of the plurality of mapping matrices may represent a linear relationship between the preexisting spectral data and relative concentrations of predetermined compositional components of a plurality of known compositions.
Predicting the composition may comprise estimating a weight fraction of each of a plurality of components of the formation fluid flowing through the downhole formation fluid sampling apparatus. The plurality of components of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise C1, C2, (73, C4, C5, C6+ and CO2. The plurality of components of the formation fluid flowing through the downhole formation fluid sampling apparatus may consist of no more than C1, C2, C3, C4, C5, C6+ and CO2. Each of the plurality of components of the formation fluid flowing through the downhole formation fluid sampling apparatus may be selected from the group consisting of C1, C2, C3, C4, C5, C6+ and CO2.
The predominant fluid type may be one of a plurality of fluid types consisting of oil, gas and gas condensate, and the plurality of mapping matrices may consist of a first mapping matrix corresponding to compositions haying a predominant fluid type of oil; a second mapping matrix corresponding to compositions having a predominant fluid type of gas; and a third mapping matrix corresponding to compositions having a predominant fluid type of was condensate.
The predominant fluid type may be one of a plurality of fluid types comprising oil, gas and was condensate, and the plurality of mapping matrices may comprise: a first mapping matrix corresponding to compositions having a predominant fluid type of oil; a second mapping matrix corresponding to compositions having a predominant fluid type of gas; and a third mapping matrix corresponding to compositions having a predominant fluid type of gas condensate. The first mapping matrix may compensate for color, and the second and third mapping matrices may not compensate for color.
Predicting the composition of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise: determining whether the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is oil, gas or gas condensate; and projecting the obtained spectral data onto: the first mapping matrix if the determined predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is oil; the second mapping matrix if the determined predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is gas; and the third mapping matrix if the determined predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is gas condensate. Determining whether the predominant fluid type of the formation fluid flowing, through the downhole formation fluid sampling apparatus is oil, gas or gas condensate may comprise projecting the obtained spectral data onto a plurality of principal components that each correspond to predominant fluid types of oil, gas and gas condensate, respectively.
The plurality of mapping matrices may each result from partial least squares (PLS) regression analysis of preexisting spectral data associated with a plurality of known compositions. The preexisting spectral data may be normalized by a weight fraction by component of each formation fluid sample of known composition. The preexisting spectral data associated with the plurality of known compositions may be the result of at least one of: preexisting spectral analyses of ones of the plurality of known compositions via a spectrometry portion of the downhole formation fluid sampling apparatus; and preexisting spectral analyses of ones of the plurality of known compositions via one or more spectrometry devices which are not associated with the downhole formation fluid sampling apparatus. The preexisting spectral data may represent spectra data converted from a first number of wavelengths to a second number of wavelengths, wherein the second number is less than the first number, and wherein the second number is not greater than the number of channels of the multi-channel optical sensor. The converted data may be adjusted to account for spectrometry hardware dependency and statistical noise.
The method may further comprise performing the PLS regression analysis of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of mapping matrices. Performing the PLS regression analysis of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of mapping matrices may comprise: determining a first mapping matrix via PLS regression analysis of a first portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of oil; determining a second mapping matrix via PLS regression analysis of a second portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of gas; and determining a third mapping matrix via PLS regression analysis of a third portion of the preexisting spectral data that corresponds to ones of the plurality of known compositions that have a predominant fluid type of gas condensate. Predicting the composition of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise: determining whether the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is oil, gas or gas condensate; and projecting the obtained spectral data onto: the first mapping matrix if the determined predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is oil; the second mapping matrix if the determined predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is gas; and the third mapping matrix if the determined predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is gas condensate. Determining whether the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus is oil, gas or gas condensate may comprise projecting the obtained spectral data onto a plurality of principal components that each correspond to predominant fluid types of oil, gas and gas condensate, respectively.
The present disclosure also introduces a system comprising: downhole means for obtaining optical spectral data associated with a formation fluid flowing through a downhole formation fluid sampling apparatus; and downhole means for predicting a parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto a matrix that corresponds to a predominant fluid type of the formation fluid. The downhole means for predicting the parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise downhole means for predicting the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling, apparatus based on projection of the obtained spectral data onto a plurality of principal components that each correspond to a particular fluid type. The plurality of principal components may each result from principal component analysis (PCA) of preexisting spectral data associated with a plurality of known compositions. The system may further comprise means for performing the PCA of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of principal components. The downhole means for predicting the parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise downhole means for predicting a composition of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto one of a plurality of mapping matrices that each correspond to a particular fluid type. The plurality of mapping matrices may each result from partial least squares (PLS) regression analysis of preexisting, spectral data associated with a plurality of known compositions. The system may further comprise means for performing the PLS regression analysis of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of mapping matrices.
The present disclosure also introduces a computer program product comprising: a tangible medium having recorded thereon instructions for: obtaining optical spectral data associated with a formation fluid flowing through a downhole formation fluid sampling apparatus; and predicting a parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto a matrix that corresponds to a predominant fluid type of the formation fluid. The instructions for predicting the parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise instructions for predicting the predominant fluid type of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto a plurality of principal components that each correspond to a particular fluid type. The plurality of principal components may each result from principal component analysis (PCA) of preexisting spectral data associated with a plurality of known compositions. The instructions recorded on the tangible medium may include instructions for performing the PCA of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of principal components. The instructions for predicting the parameter of the formation fluid flowing through the downhole formation fluid sampling apparatus may comprise instructions for predicting a composition of the formation fluid flowing through the downhole formation fluid sampling apparatus based on projection of the obtained spectral data onto one of a plurality of mapping matrices that each correspond to a particular fluid type. The plurality of mapping matrices may each result from partial least squares (PLS) regression analysis of preexisting spectral data associated with a plurality of known compositions. The instructions recorded on the tangible medium may include instructions for performing the PLS regression analysis of the preexisting spectral data associated with the plurality of known compositions to determine the plurality of mapping matrices.
The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions and alterations herein without departing from the spirit and scope of the present disclosure.
The Abstract at the end of this disclosure is provided to comply with 37 CFR. §1.72(b) to allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims.