Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PHASE FRACTION MEASUREMENT USING CONTINUOUSLY AND ADJUSTED LIGHT SOURCE
Document Type and Number:
WIPO Patent Application WO/2018/005213
Kind Code:
A1
Abstract:
An apparatus includes a pipe through which a multiphase fluid flows, with a transparent window structure formed in the pipe. A collimated light source emits light through the transparent window structure into the pipe having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive. A photodetector is positioned such that the emitted light passes through the multiphase fluid in the pipe to impinge upon the photodetector. The photodetector has an actual dynamic range for collimated light detection. Processing circuitry is configured to adjust a power of the collimated light source dependent upon an output level of the photodetector so as to cause measurement of the emitted light over an effective dynamic range greater than the actual dynamic range. Properties of the multiphase fluid are determined as a function of the measured emitted light.

Inventors:
ARIFIN ARIFIN (SG)
XIE CHENG-GANG (SG)
Application Number:
PCT/US2017/038642
Publication Date:
January 04, 2018
Filing Date:
June 22, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SCHLUMBERGER TECHNOLOGY CORP (US)
SCHLUMBERGER CA LTD (CA)
SERVICES PETROLIERS SCHLUMBERGER (FR)
SCHLUMBERGER TECHNOLOGY BV (NL)
International Classes:
G01N15/14
Domestic Patent References:
WO2005088415A12005-09-22
Foreign References:
US20080231860A12008-09-25
US9234420B22016-01-12
US20150338547A12015-11-26
US5167149A1992-12-01
Other References:
See also references of EP 3475684A4
Attorney, Agent or Firm:
SNEDDON, Cameron et al. (US)
Download PDF:
Claims:
Claims:

1. An apparatus comprising:

a pipe through which a multiphase fluid flows;

a transparent window structure formed in the pipe;

a collimated light source configured to emit light through the transparent window structure and into the pipe, the emitted light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive;

a photodetector positioned such that the emitted light passes through the multiphase fluid in the pipe and out through the transparent window structure to impinge upon the photodetector, wherein the photodetector has an actual dynamic range for collimated light detection;

processing circuitry coupled to the collimated light source and photodetector, the processing circuitry configured to:

continuously adjust a power of the collimated light source dependent upon an output level of the photodetector so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range;

determine at least one property of the multiphase fluid as a function of the power of the collimated light source.

2. The apparatus of claim 1 , wherein the processing circuitry continuously adjusts the power of the collimated light source dependent upon the output of the photodetector by continuously adjusting the power of the collimated light source such that the output level of the photodetector remains constant.

3. The apparatus of claim 1 , further comprising at least one lens associated with the collimated light source for shaping the emitted light into a ribbon shape.

4. The apparatus of claim 1 , wherein the collimated light source comprises a first collimated light source having a first wavelength at which a component of a first phase of the multiphase fluid is absorptive; and further comprising a second collimated light source having a second wavelength at which a component of a second phase of the multiphase fluid is absorptive, and a third collimated light source having a third wavelength at which components of the first and second phases of the multiphase fluid are not absorptive.

5. The apparatus of claim 4, wherein the first phase of the multiphase fluid comprises oil; wherein the second phase of the multiphase fluid comprises water; wherein a third phase of the multiphase fluid comprises gas; and wherein the at least one property of the multiphase fluid comprises phase fractions of gas, oil, and water; and wherein the first wavelength is substantially at a hydrocarbon peak absorption band; wherein the second wavelength is at a water absorption band where water is more absorptive of light than oil; and wherein the third wavelength is at a band where neither water nor oil is substantially absorptive.

6. The apparatus of claim 1 , wherein a fourth phase of the multiphase fluid comprises a solid phase; and wherein

the apparatus further comprises a fourth collimated light source having a fourth wavelength at which components of the solid phases of the multiphase fluid is absorptive.

7. The apparatus of claim 4, wherein the processing circuitry is configured to pulse the first, second, and third collimated light sources in a pattern such that but one of the first, second, and third collimated light sources is emitting light at a time.

8. The apparatus of claim 4, wherein the processing circuitry is configured to pulse the first, second, and third collimated light sources simultaneously and at different pulsing frequencies from one another, and is configured to perform phase-sensitive detection simultaneously for the first, second, and third collimated light sources.

9. The apparatus of claim 8, wherein the processing circuitry is configured to discriminate between components of the emitted light impinging upon the photodetector that were emitted by the first collimated light source, components of the emitted light impinging upon the photodetector that were emitted by the second collimated light source, and components of the emitted light impinging upon the photodetector that were emitted by the third collimated light source, using phase sensitive detection.

10 The apparatus of claim 4, wherein:

the first collimated light source comprises a first laser light source configured to emit laser light along a path that does not include the transparent window structure, and a first mirror configured to reflect the laser light from the first laser light source along a path that includes the transparent window structure;

the second collimated light source comprises a second laser light source configured to emit laser light along a path that does not include the transparent window structure, and a second mirror configured to reflect the laser light from the second laser light source along a path that includes the transparent window structure; and the third collimated light source comprises a third laser light source configured to emit laser light along a path that does not include the transparent window structure, and a third mirror configured to reflect the laser light from the third laser light source along a path that includes the transparent window structure;

and further comprising:

at least one lens to focus the reflected laser light from the first, second, and third laser light sources.

11. The apparatus of claim 1 , further comprising an additional photodetector positioned such that emitted light that scatters off the multiphase fluid and out through the transparent window structure impinges upon the additional photodetector; wherein the processing circuit is configured to measure the scattered emitted light; and wherein the processing circuitry also determines the at least one property of the multiphase fluid as a function of the measured scattered emitted light.

12. A method of determining at least one property of a multiphase fluid comprising:

emitting collimated light into the multiphase fluid, the emitted collimated light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive;

detecting light passing through the multiphase fluid impinging upon a photodetector, the photodetector having an actual dynamic range for collimated light detection; continuously adjusting a power of the collimated light source dependent upon an output level of the photodetector so as to cause measurement of the emitted collimated light by the photodetector over an effective dynamic range greater than the actual dynamic range; and

determining at least one property of the multiphase fluid as a function of the power of the collimated light source.

13. The method of claim 12, wherein continuously adjusting the power of the collimated light source comprises continuously adjusting the power of the collimated light source such that the output level of the photodetector remains constant.

14. The method of claim 12, wherein adjustment of the power of the collimated light source over time yields a pattern of output power values; and wherein determining the at least one property of the multiphase fluid as a function of the power of the collimated light source comprises determining presence of sand grains as a function of the pattern of output power values.

15. The method of claim 14, wherein presence of the sand grains is determined either as a function of the pattern of output power values by performing a Fourier transform on the pattern of output power values and determining the presence of the sand grains by matching a frequency pattern output by the Fourier transform to a known sand grain frequency pattern, or as a function of the pattern of output power values by correlating the pattern of output power values to a known sand grain output power value pattern.

16. An apparatus comprising:

a structure containing a multiphase fluid;

a transparent window structure formed in the structure;

a collimated light source configured to emit light through the transparent window structure and into the structure, the emitted light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive;

a photodetector positioned such that the emitted light passes through the multiphase fluid in the structure and out through the transparent window structure to impinge upon the photodetector;

wherein the photodetector has an actual dynamic range for collimated light detection; processing circuitry coupled to the collimated light source and photodetector, the processing circuitry configured to:

adjust a power of the collimated light source in a series of steps dependent upon a relationship between an output level of the photodetector and at least one threshold so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range;

determine at least one property of the multiphase fluid as a function of the measured emitted light.

17. The apparatus of claim 16, wherein the processing circuitry adjusts the power of the collimated light source in the series of steps dependent upon the relationship between the output level of the photodetector and the at least one threshold by:

switching the power of the collimated light source from a higher step to a lower step when the output level of the photodetector exceeds an upper threshold; and

switching the power of the collimated light source from the lower step to the higher step when the output level of the photodetector falls below a lower threshold.

18. The apparatus of claim 16, wherein the collimated light source comprises a first collimated light source having a first wavelength at which a component of a first phase of the multiphase fluid is absorptive; and further comprising a second collimated light source having a second wavelength at which a component of a second phase of the multiphase fluid is absorptive, and a third collimated light source having a third wavelength at which components of the first and second phases of the multiphase fluid are not absorptive; and

wherein the first phase of the multiphase fluid comprises oil; wherein the second phase of the multiphase fluid comprises water; wherein a third phase of the multiphase fluid comprises gas; and wherein the at least one property of the multiphase fluid comprises phase fractions of gas, oil, and water.

19. The apparatus of claim 18, wherein the processing circuitry is configured to pulse the first, second, and third collimated light sources in a pattern such that but one of the first, second, and third collimated light sources is emitting light at a time.

20. The apparatus of claim 18, wherein:

the first collimated light source comprises a first laser light source configured to emit laser light along a path that does not include the transparent window structure, and a first mirror configured to reflect the laser light from the first laser light source along a path that includes the transparent window structure;

the second collimated light source comprises a second laser light source configured to emit laser light along a path that does not include the transparent window structure, and a second mirror configured to reflect the laser light from the second laser light source along a path that includes the transparent window structure; and the third collimated light source comprises a third laser light source configured to emit laser light along a path that does not include the transparent window structure, and a third mirror configured to reflect the laser light from the third laser light source along a path that includes the transparent window structure;

and further comprising:

at least one lens to focus the reflected laser light from the first, second, and third laser light sources.

21. A method of determining at least one property of a multiphase fluid comprising:

emitting collimated light from a collimated light source into the multiphase fluid, the emitted collimated light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive; measuring the emitted collimated light by detecting light passing through the multiphase fluid impinging upon a photodetector having an actual dynamic range for collimated light detection;

adjusting a power of the collimated light source in a series of steps dependent upon a relationship between an output level of the photodetector and at least one threshold so as to cause measurement of the emitted collimated light by the photodetector over an effective dynamic range greater than the actual dynamic range; and

determining at least one property of the multiphase fluid as a function of the measured emitted collimated light.

22. The method of claim 21 , wherein adjusting the power of the collimated light source in the series of steps dependent upon the relationship between the output level of the photodetector and the at least one threshold comprises:

switching the power of the collimated light source from a higher step to a lower step where the output level of the photodetector exceeds an upper threshold; and

switching the power of the collimated light source from the lower step to the higher step where the output level of the photodetector falls below a lower threshold.

23. The method of claim 21 , wherein measurement of the emitted collimated light by the photodetector over time yields a pattern of intensity values; and wherein determining the at least one property of the multiphase fluid as a function of the measured emitted collimated light comprises determining presence of sand grains as a function of the pattern of intensity values.

24. The method of claim 23, wherein the presence of the sand grains is determined as a function of the pattern of intensity values by performing a Fourier transform on the pattern of intensity values, and determining the presence of the sand grains by matching a frequency pattern output by the Fourier transform to a known sand grain frequency pattern.

25. The method of claim 23, further comprising determining at least one of sizes of the sand grains and a number of the sand grains as a function of the pattern of intensity values.

Description:
PHASE FRACTION MEASUREMENT USING AN ADJUSTED LIGHT SOURCE BACKGROUND

[0001] This application claims priority to and the benefit of a US Non Provisional Application having Serial No. 15/194829 filed on 28 Jun 2016 and 15/194853 filed on 28 June 2016, which are incorporated by reference herein.

[0002] This invention is related to the field of phase fraction measurement of a multiphase fluid, and, more particularly, to a multiphase flowmeter for making such phase fraction measurements.

Description of the Related Art

[0003] In hydrocarbon production, fluid produced from wells and flowing through various points of a production system is multiphasic. Thus, the fluid may have any of a gas phase, an oil phase, a water phase, and a solid phase. For a variety of reasons, it can be desirable to know the fraction of the fluid represented by each phase. For example, the presence of solids, such as sand, in fluid can result in the erosion of equipment of a production system and even damage.

[0004] Multiphase flowmeters may be used to determine these phase fractions. A multiphase flowmeter may be installed in tubing and may employ a radioactive source and scintillation detector to enable measurement of the phase fractions. Such multiphase flowmeters have proven to be accurate and desirable.

[0005] Due to challenging regulatory environments, however, the fact that a multiphase flowmeter utilizes a radioactive source may be undesirable. In addition, current multiphase flowmeters may be prohibitively expensive for use in wells with relatively low rates of production.

[0006] Therefore, a commercial desire exists for further development in the area of multiphase flowmeters. SUMMARY

[0007] Certain aspects of some embodiments disclosed herein are set forth below. It should be understood that these aspects are presented merely to provide the reader with a brief summary of certain forms the invention might take and that these aspects are not intended to limit the scope of the invention. Indeed, the invention may encompass a variety of aspects that may not be set forth below.

[0008] Disclosed herein is an apparatus including a pipe through which a multiphase fluid flows with a transparent window structure formed in the pipe. A collimated light source is configured to emit light through the transparent window structure and into the pipe with the emitted light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive. A photodetector is positioned such that the emitted light passes through the multiphase fluid in the pipe and out through the transparent window structure to impinge upon the photodetector. The photodetector has an actual dynamic range for collimated light detection. Processing circuitry coupled to the collimated light source and photodetector is configured to continuously adjust a power of the collimated light source dependent upon an output level of the photodetector so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range. The processing circuitry also determines at least one property of the multiphase fluid as a function of the power of the collimated light source.

[0009] A method aspect is directed to a method of determining at least one property of a multiphase fluid. The method includes emitting collimated light into the multiphase fluid, with the emitted light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive. Light passing through the multiphase fluid that impinges upon a photodetector having an actual dynamic range for collimated light detection is detected. A power of the collimated light source is continuously adjusted dependent upon an output level of the photodetector so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range. At least one property of the multiphase fluid is determined as a function of the power of the collimated light source.

[0010] Another aspect is directed an apparatus including a structure containing a multiphase fluid, with a transparent window structure formed in the structure. A collimated light source is configured to emit light through the transparent window structure and into the structure, with the emitted light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive. A photodetector is positioned such that the emitted light passes through the multiphase fluid in the structure and out through the transparent window structure to impinge upon the photodetector. The photodetector has an actual dynamic range for collimated light detection. Processing circuitry is coupled to the collimated light source and photodetector. The processing circuitry is configured to adjust a power of the collimated light source in a series of steps dependent upon a relationship between an output level of the photodetector and at least one threshold so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range. The processing circuitry is also configured to determine at least one property of the multiphase fluid as a function of the measured emitted light.

[0011] Another method aspect is directed to a method of determining at least one property of a multiphase fluid. The method includes emitting collimated light into the multiphase fluid, with the emitted light having a wavelength at which a component of a desired phase of the multiphase fluid is absorptive. Light passing through the multiphase fluid and impinging upon a photodetector having an actual dynamic range for collimated light detection is detected. A power of the collimated light source is adjusted in a series of steps dependent upon a relationship between an output level of the photodetector and at least one threshold so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range. At least one property of the multiphase fluid is determined as a function of the measured emitted light.

[0012] Still another aspect is directed to an apparatus that includes a pipe through which a multiphase fluid flows, with a transparent window structure formed in the pipe. A collimated light source is configured to emit light through the transparent window structure and into the pipe, where the emitted light has a wavelength at which a component of a desired phase of the multiphase fluid is absorptive. A photodetector is positioned such that the emitted light passes through the multiphase fluid in the pipe and out through the transparent window structure to impinge upon the photodetector. The photodetector has an actual dynamic range for collimated light detection. Processing circuitry is coupled to the collimated light source and photodetector and configured to adjust a power of the collimated light source so as to cause measurement of the emitted light by the photodetector over an effective dynamic range greater than the actual dynamic range. The processing circuitry is also configured to determine at least one property of the multiphase fluid as a function of the measured emitted light and/or the power of the collimated light source

[0013] Various refinements of the features noted above may exist in relation to various aspects of the present embodiments. Further features may also be incorporated in these various aspects as well. These refinements and additional features may exist individually or in any combination. For instance, various features discussed below in relation to the illustrated embodiments may be incorporated into any of the above-described aspects of the present disclosure alone or in any combination. Again, the brief summary presented above is intended just to familiarize the reader with certain aspects and contexts of some embodiments without limitation to the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG. 1 is a schematic block diagram of a phase fraction determination system capable of discriminating among three phases, in accordance with this disclosure. [0015] FIG. 2 is a schematic block diagram of a phase fraction determination system capable of discriminating among four phases, in accordance with this disclosure.

[0016] FIG. 3 is a schematic block diagram of a phase fraction determination system capable of sand detection, in accordance with this disclosure.

[0017] FIG. 4 is a schematic block diagram of a phase fraction determination system similar to that of FIG. 2 but with an additional collimated laser source to assist with discrimination among four phases.

[0018] FIG. 5 is a graph showing transmission absorption optical density for various hydrocarbon oils and water.

[0019] FIG. 6 is another graph showing transmission absorption optical density for various hydrocarbon oils and water.

[0020] FIG. 7 is a further graph showing transmission absorption optical density for various hydrocarbon oils and water.

[0021] The figures are not to scale. Wherever possible, the same reference numbers will be used throughout the drawing(s) and accompanying written description to refer to the same or like parts.

DETAILED DESCRIPTION

[0022] It is to be understood that the present disclosure provides many different embodiments, or examples, for implementing different features of various embodiments. Specific examples of components and arrangements are described below for purposes of explanation and to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting.

[0023] When introducing elements of various embodiments, the articles "a," "an," "the," and "said" are intended to mean that there are one or more of the elements. The terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements other than the listed elements. Moreover, any use of "top," "bottom," "above," "below," other directional terms, and variations of these terms is made for convenience, but does not mandate any particular orientation of the components.

[0024] Referring initially to FIG. 1 , a phase fraction determination system 100 is now described. The system includes a pipe or tube 102 through which a multiphase fluid flows. The multiphase fluid may have any of three or four phases, which include a gas phase, oil phase, a water phase, and solid phase. The gas phase and oil phase are hydrocarbon bearing. "Gas" is used here to denote any form of hydrocarbon bearing gas, and "oil" is used generically here to denote any form of hydrocarbon oil.

[0025] As shown, the cross section of the pipe 102 is circular, although in some applications, a pipe 102 with a rectangular or square cross section may be used. The pipe 102 may have a relatively small radius, for example on the order of 5mm-30mm; where the pipe 102 has a rectangular cross section, the dimensions may be on the order of 10mm-30mm x 2mm-6mm, for example, or even larger. Where the pipe 102 has a rectangular cross section, the cross sectional area can be increased for the same path length as in a pipe 102 with a circular cross section. Other suitable radiuses and dimensions may be used in appropriate applications as well as other structures in addition to pipe 102.

[0026] A window 104 is formed in the pipe 102. The window 104 is illustratively cylindrical in shape, although other shapes may be used. The window 104 may be formed from synthetic sapphire. Where the pipe 102 is rectangular in cross section, the window 104 may be rectangular in cross section, or may be two separate windows located on opposite sides of the pipe 102. The window 104 is optically transparent to the wavelengths of collimated light emitted by the collimated light sources, such as, for example, lasers 106a-106c, as will now be explained. [0027] The collimated light sources or lasers 106a-106c are illustratively laser light sources employing laser diodes and emitting laser light in the near-infrared wavelength spectrum, although other types of laser light sources may be employed in some applications. Each laser 106a-106c emits light in a different narrow wavelength spectrum. For example, laser 106a emits light having a wavelength of λι , corresponding to a wavelength where oil is substantially more absorptive than water.

[0028] Dichroic mirrors 108a-108c respectively combine the collimated light from the lasers 106a-106c on an optical path through the window 104 and into the multiphase fluid. It should be noted that where the cross section of the pipe 102 is rectangular, the mirrors 108a-108c are configured to direct the collimated light from the lasers 106a-106c across the shorter path length available in the rectangular cross section, and not the longer path.

[0029] The lasers 106a-106c need not be perfectly aligned along the optical path, and would function effectively if they were not aligned along the optical path but converged on and focused on the same spot of the photodetector 116. Thus, in some applications, mirrors that are not dichroic may be used.

[0030] In some applications, rather than dichroic mirrors 108a-108c, other devices may be used to reflect and combine the collimated light from the lasers 106a-106c. Such other device may be polarized beam splitters or unpolarized beam splitters, for example.

[0031] In the optical path from the lasers 106a-106c, a beam splitter 107 may be used to split the power of the lasers. A small power-fraction beam 111 measured by a photodetector 117 (with a thermally-stable optical attenuator if useful) may monitor the variations in laser output over time and compensate for power changes due to temperature variations and device aging. The majority of the power from the lasers 106a-

106c passes through the beam splitter 107, and is delivered to the window 104 through a series of cylindrical lenses 110a-110c that serve to shape the emitted light into a nearly two dimensional ribbon 112 shape, for example having dimensions of 15 mm x 0.5mm, that passes through substantially all, or a substantial majority of, or an entire cross section of, the cross section of the pipe 102. A lens 114, on the far side of the pipe 102, focuses the two dimensional light ribbon 112 as it exits the pipe 102 for detection by a photodetector 116. From the spectrum of light impinging on the photodetector 116, or from the output power of the lasers 106a-106c monitored by the photodetector 117, phase fractions of the multiphase fluid can be determined by the processing circuitry 130, which receives output signals from the photodetectors. The photodetectors 116 and 117, as well as the collimated light sources 106a-106c, may be thermally stabilized by active cooling or heating to achieve stable measurements.

[0032] In order to enable the photodetectors 116 and 117 to separately and independently measure the intensities of the outputs from the lasers 106a-106c, the lasers 106a-106c are temporally multiplexed such that but one of the lasers 106a-106c is emitting light at once. Stated another way, the temporal multiplexing results in laser 106a emitting light while lasers 106b-106c are not, laser 106b emitting light while lasers 106a, 106c are not, and laser 106c emitting light while lasers 106a-106b are not. A limitation of this temporal multiplexing is that the flow rate of the multiphase fluid should be substantially less than the total time elapsed for each laser 106a-106c to activate once in turn. For example, where each laser 106a-106c is activated for 30 ps, the total interrogation time is thus 90 ps. Where the ribbon of collimated light 112 has a thickness of 0.5 mm, the instantaneous velocity of the multiphase fluid should remain less than 1.4 m/s.

[0033] Alternatively, instead of temporal multiplexing, the lasers 106a-106c may be operated simultaneously but at different pulsing frequencies. These frequencies are chosen so as to be reasonably far away from multiphase fluid fluctuation frequencies in order to enable the use of phase-sensitive detection (PSD) of the light impinging on the photodetectors 116 and 117 by the processing circuitry 130 to provide for discrimination between components of the light impinging on the photodetectors 116 and 117 that were emitted by the first laser 106a, components of the light impinging upon the photodetectors 116 and 117 that were emitted by the second laser 106b, and components of the light impinging upon the photodetectors 116 and 117 that were emitted by the third laser 106c. By using PSD, the processing circuitry 130 also functions to attenuate erroneous readings from the photodetectors 116 and 117 caused by stray light events.

[0034] The use of PSD may realize multi-wavelength measurements simultaneously and for multiphase flows at the same location in the pipe. Higher quality signals may be obtained by, as explained, rejecting stray lights automatically by PSD, and phase fractions may be measured more accurately due to the simultaneous data detection at multiple wavelengths.

[0035] As will be explained in detail below, the processing circuitry 130, in addition to determining the phase fractions of the multiphase fluid, acts to control the lasers 106a- 106c as a function of the light detected by the photodetector 116.

[0036] Details of operation will now be given with reference to FIG. 5. A useful wavelength for λι is a hydrocarbon peak absorption band at which hydrocarbons, such as oil and gas, are a few times to a few thousand times more absorptive of light than water. A useful wavelength for λ2 is at a lower end of a water peak absorption band, at which water is substantially more absorptive of light than hydrocarbons, such as oil and gas. In addition, a useful wavelength for A3 is a band at which neither water nor oil is substantially absorptive.

[0037] As an example, as shown in FIG. 5, λι may be at the hydrocarbon peak, which is between 1693nm and 1757 nm, for example in some cases at 1727nm, and at which hydrocarbons such as oil and gas are a few times to a few thousand times more absorptive of light than water. λ2 may be at the lower end of the water peak or water absorption band, around 1565nm, where water is substantially more absorptive of light than hydrocarbons such as oil and gas. A3 may be at 1350nm, which is at a relatively low point on the absorption spectrum of interest, such that any attenuation or absorption can be understood to be due to bubbles, droplets, or solids, and at which components of the oil and water phases are not substantially absorptive. Thus, in some embodiments, the third collimated light source or laser 106c may have a third wavelength at which components of the first and second phases of the multiphase fluid are not absorptive.

[0038] The wavelengths λι , λ2, and λ3 are such that the optical densities of the phases of the multiphase fluid do not exceed undesirable amounts which would render the emitted collimated light undetectable under attenuation. Shown in FIG. 5 is a graph of optical density (OD) verses wavelength including the above discussed wavelengths λι, λ2, and λ3. As can be seen from FIG. 5, the optical densities at the wavelengths λι, λ2, and λ3 do not exceed 0.5 per millimeter path length. Using a pipe 102 having a diameter of 19 mm, the optical density could reach 9.5, which correlates to an attenuation of 109.5 times. With a diode laser emitting light at a 350 mW output power, after attenuation, approximately 0.1 mW of output power could be detected, which is detectable by conventional InGaAs, InAsSb, or germanium photodetectors with an acceptable signal to noise ratio. A similar example may be found in FIG. 7. Here, the hydrocarbon peak is around 1630 nm.

[0039] For certain heavy oils, however, the optical density at the wavelengths λι, λ2, and λ3 is greater than those shown in FIG. 5. Therefore, in some instances, different and more appropriate values for λι, λ2, and λ3 may be used. Here, λι may be selected as 1725 nm, i may be selected as 221 1 nm, and λ3 may be selected as 1823 nm, as shown in FIG. 6. However, the optical density at these wavelengths λι, hz, and λ3 is on the order of 0.8 per millimeter, meaning that to obtain the same detection of 0.1 mW of output power, the diameter of the pipe 102 has to be reduced from 19 mm to 12 mm. An alternative to reduction of diameter of the pipe 102 is to use an avalanche photodiode or photomultiplier tube as the photodetector 1 16. It should be noted that where the cross section of the pipe 102 is rectangular, the collimated light at the wavelengths λι, λ2, and λ3 may be made to measure the optical density across the shorter path length (such as 5 mm) in the rectangular cross section, and not across the longer path length (such as 22 mm). The phase fraction determination system 100 may adjust the wavelengths of the lasers based on knowledge from oil samples.

[0040] As should be appreciated, the photodetector 116 (or the photodetector 117) has a dynamic range of light intensity that is capable of detecting up to 3 to 4 times the optical density range of state-of-the-art photodetectors. However, to determine phase fractions over a full gas volume fraction range, light intensities outside the actual dynamic range of the photodetector 116 are to be detected. Therefore, as will be described below, techniques may be employed in order to operate the photodetector 116 or 117 with an effective dynamic range that is greater than the actual dynamic range.

[0041] The actual dynamic range of the photodetector 116 or 117 is the difference between the lowest intensity of light that the photodetector 116 or 117 can detect and the highest intensity of light that the photodetector 116 or 117 can discriminate. Light having an intensity greater than the highest intensity of light that the photodetector 116 or 117 can discriminate, or light having an intensity less than the lowest intensity of light that the photodetector 116 or 117 can detect, is said to be outside of the actual dynamic range of the photodetector 116 or 117. Stated another way, the actual dynamic range of the photodetector 116 or 117 is the difference between the smallest and largest usable signal producible by the photodetector 116 or 117.

[0042] The effective dynamic range of the photodetector 116 or 117 can be made to be greater than the actual dynamic range using the techniques described herein. The above effective dynamic range extension is achieved by continuously adjusting the output power of the lasers 106a-106c in real time (which is monitored by the photodetector 117 with the use of known optical attenuation means if desired), as a function of the output level of the photodetector 116 such that the output level of the photodetector 116 remains constant. It should be appreciated that designs where there are an equal number of photodetectors 116 to the number of lasers 106a-106c are within the scope of this disclosure.

[0043] When operating as per this first technique, since the intensity/power level at the photodetector 116 is constant while the output power level of the lasers 106a-106c fluctuates (and is monitored by the photodetector 117), the processing circuitry 130 monitors the current consumption or power level of the lasers 106a-106c in order to determine the phase fractions of the multiphase fluid. Due to the continuous real time adjustment of the output power of the lasers 106a-106c, the photodetector 116 is prevented from saturating. Thus, independent of the attenuation provided by the various phases of the multiphase fluid, the lasers 106a-106c may at times have output powers outside of the actual dynamic range of the photodetector 116. Since the lasers 106a- 106c are monitored to determine the phase fractions of the multiphase fluid and since the photodetector 116 is prevented from saturating, the output power of the lasers 106a- 106c may at times exceed the actual dynamic range of the photodetector 116, yet measurements may still accurately be made. Due to this technique, the nonlinearity of the photodetector 116 may be irrelevant and have no effect on results.

[0044] A second technique for operating the photodetector 116 at an effective dynamic range greater than the actual dynamic range is where the processing circuitry 130 adjusts the output power of the lasers 106a-106c in a series of steps dependent upon a relationship between an output level of the photodetector and at least one threshold. In greater detail, the processing circuitry 130 switches the output power of the lasers 106a- 106c from a higher level (or step) to a lower level (or step) in a discrete step when the output level of the photodetector 116 exceeds an upper threshold, and switches the output power of the lasers 106a-106c from a lower level (or step) to a higher level (or step) in a discrete step when the output level of the photodetector 116 falls below a lower threshold. Thus, the output level of the lasers 106a-106c remains constant between the higher threshold and lower threshold. [0045] A specific example of this second technique is now described. For example, for a 19mm diameter pipe 102, it is desirable for the photodetector 1 16 to be capable of detecting light intensities from 0.1 mW to 350 mW, which corresponds to nine orders of magnitude. Yet, the actual dynamic range of the photodetector 1 16 is merely five orders of magnitude. This desired effective dynamic range of nine orders of magnitude may thus be divided into three intensity stages, each of which covers three orders of magnitude. As the processing circuitry 130 detects the photodetector 1 16 nearing saturation (thus, the output of the photodetector 1 16 rises beyond an upper threshold), it discretely reduces the output power of the lasers 106a-106c to a lower level. Similarly, when the processing circuitry 130 detects the output of the photodetector 1 16 falling below a lower threshold, it discretely increases the output power of the lasers 106a-106c to a higher level.

[0046] Here, the processing circuitry 130 analyzes the outputs of the photodetectors 1 16 and 1 17 in order to determine the phase fractions of the multiphase fluid. In addition, as with the first technique, since the photodetector 1 16 is prevented from saturating, the output power of the lasers 106a-106c may at times exceed the actual dynamic range of the photodetector 1 16, yet measurements may still accurately be made.

[0047] Processing of either the output VA of the photodetector 1 16, which is a DC voltage proportional to the light intensity IA detected by the photodetector 1 16, or output power Ιο,λ of the lasers 106a-106c measured by the photodetector 1 17, by the processing circuitry 130 is now described. For a given wavelength λ, the light intensity signal acquired from the photodetector 1 16 IA or the lasers 106a-106c Ι 0 ,λ is proportional to the intensity of the transmitted light (Ι λ ). Accounting for scattering due to bubbles/droplets, this can be mathematically represented using the Beer-Lambert law, and can be written as: where i ε {oil, water, gas], x t represents the linear attenuation coefficient of the phases obtained from a fluid-sample reference measurement, and Κ^, ζ,λ, d) represents a general scattering term which is dependent on the phase fractions a bubble/droplet size and geometrical factor y, wavelength Λ, and pipe diameter d. Excluding Rayleigh scattering (i.e. scattering by particles much smaller than the wavelength), the scattering term K would generally be independent of wavelength.

[0048] Using the signal from λ3, the scattering term (K) can be factored out, and the set of equations reduces to the following:

where

[0049] The matrix on the left is called the relative attenuation matrix where the scattering effect has been subtracted. The values of the matrix elements can be obtained from full-bore or calibration-cell measurements on each phase {i.e. in-situ reference). Once the matrix is known, the phase fraction could be calculated upon inversion of this matrix. For robustness, this matrix is to be invertible and to have a determinant much larger than zero. Those of skill in the art will understand that the equations above are an example for the case where determination of the phase fraction for three phases is performed, but that these equations can be generalized to account for a fourth phase, such as sand. In fact, these equations can be generalized to account for any number of phases, such as a fifth phase that is hydrogen sulfide. [0050] The system 100 described above is useful for determining the phase fractions of gas, oil, and water. However, in some instances, the multiphase fluid may include a solid phase (such as sand particles), and it may be desirable to know the phase fraction of the solid phase as well. To that end, the system 100 may be modified to measure the fourth (solid) phase as will now be described with reference to FIG. 2.

[0051] Added to the system 100 in this embodiment is a lens 118 perpendicular to the lenses 110a-100c and 114, that serves to focus light 113 reflected or scattered from solids 122 or sand in the multiphase fluid for detection by an additional photodetector 120. Through the function and calculations described above, together with data from the additional photodetector 120, the processing circuitry 130 may determine a phase fraction for the solid phase.

[0052] During operation, the output of the photodetector 116 (and thus the intensity of collimated light impinging on the photodetector 116) is monitored and measured over time by the processing circuitry 130. Since the intensity of collimated light impinging on the photodetector 116 fluctuates over time due to the phase composition of the multiphase fluid, and in particular due to the presence of solids 122 or sand grains, and bubbles or droplets 124, this measured intensity over time yields a pattern of intensity values, where some intensity values are greater than others.

[0053] By performing analysis on this pattern of intensity values and matching the pattern of intensity values to known patterns, the processing circuitry 130 can determine the presence of sand grains. For example, using a pattern correlation, fitting, or matching technique, such as chi-square or residual sum, the processing circuitry 130 may, in the time domain, compare the pattern of intensity values to a known intensity value pattern or set of patterns that indicate presence of solids 122 or sand grains. Where the measured pattern of intensity values matches the known intensity value pattern or set of patterns, the processing circuitry 130 may determine from the amplitude and duration of the matched pattern that solids 122 or sand grains are present. In addition, matching the measured pattern of intensity values to a known intensity value pattern can yield information about the solids 122 or sand grains themselves. For example, there may be different known intensity value patterns for different types or sizes of solids 122 or sand grains, or for different fractional percentages of the solids 122 or sand grains in the multiphase fluid. Thus, by matching the measured pattern of intensity values to a known intensity value pattern, in addition to determining that solids 122 or sand grains are present, a type of solids 122 or sand grains, size of the solids 122 or sand grains, number of the solids 122 or sand grains, or fractional percentage of the solids 122 or sand grains in the multiphase fluid may be determined. The known intensity value patterns may be a priori knowledge gathered experimentally, through modeling, or from a database.

[0054] Rather than analyzing the measured pattern of intensity values in the time domain, the processing circuitry 130 may instead analyze the pattern of intensity values in the frequency domain. Therefore, the processing circuitry 130 may perform a Fourier transform on the measured pattern of intensity values to yield a pattern or spectrum of measured frequencies. A filtering may then optionally be applied by the processing circuitry 130 to the spectrum of measured frequencies to as to reject certain frequencies, and the result (or the original spectrum, in the case where filtering is not performed) compared to a known frequency pattern or set of patterns. Where the spectrum of measured frequencies matches the known frequency pattern or set of patterns, the processing circuitry 130 determines that solids 122 or sand grains are present.

[0055] Matching the spectrum of measured frequencies to a known frequency pattern can yield information about the solids 122 or sand grains themselves. For example, there may be different known frequency patterns for different types or sizes of solids 122 or sand grains, or for different fractional percentages of the solids 122 or sand grains in the multiphase fluid. Thus, by matching the spectrum of measured frequencies to a known frequency pattern, in addition to determining that the solids 122 or sand grains are present, a type of the solids 122 or sand grains, size of the solids 122 or sand grains, number of solids 122 or sand grains, or fractional percentage of the solids 122 or sand grains in the multiphase fluid may be determined. The known frequency patterns may be a priori knowledge gathered experimentally, through modeling, or from a database.

[0056] Stated another way, the analysis performed by the processing circuitry 130 may be used to identify presence of a frequency band in the spectrum of measured frequencies that indicates the presence of solids 122 such as sand. From this, the phase fraction of solids 122 or sand may be determined. In making this determination, data from an empirical model (itself based on experiment and simulation) may be combined with the determined sizes and numbers of solids 122 present.

[0057] In some applications, the processing circuitry 130 may perform analysis on the pattern of measured intensity values in both the time domain and frequency domain, and correlate the results to one another so as to improve accuracy of the pattern matching.

[0058] As explained above, this measured intensity over time yields a pattern of intensity values, where some intensity values are greater than others. Thus, stated another way, the pattern of intensity values includes drops in intensity. As explained, where a solid 122, such as a grain of sand, passes through the collimated light, the photodetector 1 16 registers a drop in intensity for a short period of time. The drop in intensity may be a substantial decrease in intensity, and may be greater than 5%, 15%, or 20% for example. The drop in intensity may also or instead be a drop in intensity during a window of interest, as will be explained below. Through the analysis described above, the duration of this intensity drop can be correlated to the size of the solid 122, while the number of intensity drops can be correlated to the number of solids 122 or sand grains present.

[0059] In correlating the duration of the drop in intensity to the size of the solids 122 or sand grains, the diameters of the solids 122 or sand grains is estimated as a function of the duration of the intensity drop. From the diameters of the solids 122 or sand grains, the processing circuitry 130 can, where desired, calculate a total volume of solids 122 or sand grains.

[0060] In the case where the processing circuitry 130 continuously adjusts the power of the lasers 106a-106c dependent upon the output level of the photodetectors 116, the processing circuitry 130 accordingly increases the power of the lasers 106a-106c, such that the power of the lasers 106a-106c increases suddenly in correspondence to the intensity drop registered by the photodetector 116. Thus, in this application, the processing circuitry 130 measures and analyzes the power output of the lasers 106a- 106c over time, and the operations and analysis described above can be performed on the pattern of measured power outputs of the lasers 106a-106c.

[0061] Thus, the duration of this power increase or decrease of the lasers 106a-106c can be correlated to the size of the solids 122 or sand grains, while the number of power increases or decreases of the lasers 106a-106c can be correlated to the number of solids 122 or sand grains present. In correlating the duration of the power increase of the lasers 106a-106c to the size of the solids 122 or sand grains, the diameters of the solids 122 or sand grains is estimated as a function of the duration of the power increase of the lasers 106a-106c. From the diameters of the solids 122 or sand grains, the processing circuitry 130 can, where desired, calculate a total volume of solids 122 or sand grains.

[0062] The monitoring and measurement of the output of the photodetector 116, as described above, may be performed by the processing circuitry 130. Optionally, the photodetector 116 may use an estimate of the instantaneous velocity of the solids 122 or sand grains (determined separately from cross-correlation velocimetry and/or laser Doppler measurement) to determine a window of interest in which the intensity drops, or measured patterns (in either time domain or frequency domain) are to occur if they are to indicate presence of the solids 122 or sand grains.

[0063] The specific use of the light 113 reflected or scattered from solids 122 or sand grains in the multiphase fluid, as detected by photodetector 120, will now be discussed. In addition to solids 122, bubbles or droplets 124 may also result in an intensity drop, or change in the measured pattern of intensity values, as they pass through the collimated light. To distinguish between solids 122 or sand grains, and bubbles or droplets 124, the photodetector 120 is used to detect light 113 scattered from solids 122 or sand grains, and/or bubbles or droplets 124, as the scattering behavior of solids 122 such as sand grains is different than that of bubbles or droplets 124. The processing circuitry 130 performs spectral analysis to distinguish whether the scattered light 113 was scattered from the solids 122 or sand grains, or the bubbles and droplets 124, and the results of this spectral analysis may be taken into account when performing the time domain and frequency domain pattern matching described above so as to provide for a more accurate determination of the solid phase fraction of the multiphase fluid by the processing circuitry 130, and for a more accurate determination of the gas phase fraction of the multiphase fluid by the processing circuitry 130, since light 113 scattering from bubbles 124 indicates the presence of bubbles of gas.

[0064] Yet another way to determine the phase fraction of the solids 122 or sand grains is through the use of a machine learning setup, such as a neutral network employing a reinforcement learning algorithm. The neutral network is set up by being fed known training data, and from that, learns how to determine the phase fractions of the solids 122 or sand grains by monitoring the output of the photodetectors 116 and 120.

[0065] A fourth laser 106d and its corresponding dichroic mirror 108d may also be used in sand detection, as shown in the embodiment of FIG. 4. Here, the fourth laser 106d also emits laser light along the optical path through the window 104 and into the multiphase fluid. The wavelength λ of the fourth laser 106d is chosen to be close to, or at, an absorption peak of the phase of interest, such as, for example, sand species of interest, hydrogen sulfide, or any other desired phase, but at which wavelength λ the optical density of the multiphase fluid does not exceed an amount that would render the emitted laser light undetectable under attenuation. The data on detected attenuation due to sand absorption, or absorption of any other phase of interest, can be used by the processing circuit 130 to enhance the outputs of the sand, or solid 122, phase fraction determination as described above, using the techniques described.

[0066] Any number of additional lasers may be used, with each laser emitting at a wavelength chosen to be close to, or at, an absorption peak of a phase of interest. Thus, it is to be understood that the system disclosed herein is capable of determining the phase fraction of any number of phases of a multiphase fluid.

[0067] Since sand can be particularly damaging to production systems, in some applications it may be desirable to make a solid detector for determining a phase fraction of solids 122 within a multiphase flow, but without determining the phase fractions of gas, oil, and water. To that end, one embodiment shown in FIG. 3 may include the third laser 106d, but not the other lasers. Since temporal multiplexing need not be used in this embodiment, the third laser 106d may directly emit light along the optical path toward the window 104, and a mirror need not be present. This embodiment functions to detect solids 122 and to determine the phase fractions of solids 122 in the multiphase fluid from the scattered light 113 as described above with reference to FIG. 3.

[0068] In the specification and appended claims: the terms "connect," "connection," "connected," "in connection with," and "connecting" are used to mean "in direct connection with" or "in connection with via one or more elements;" and the term "set" is used to mean "one element" or "more than one element." Further, the terms "couple," "coupling," "coupled," "coupled together," and "coupled with" are used to mean "directly coupled together" or "coupled together via one or more elements." As used herein, the terms "up" and "down," "upper" and "lower," "upwardly" and downwardly," "upstream" and "downstream;" "above" and "below;" and other like terms indicating relative positions above or below a given point or element are used in this description to more clearly describe some embodiments of the disclosure. [0069] Although the preceding description has been described herein with reference to particular means, materials and embodiments, it is not intended to be limited to the particulars disclosed herein; rather, it extends to all functionally equivalent structures, methods, and uses, such as are within the scope of the appended claims. Many modifications and other embodiments will come to the mind of one skilled in the art having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is understood that various modifications and embodiments are intended to be included within the scope of the appended claims.