Oil-gas two-phase flow gas holdup detection device and method using LED light source

By using LED light sources and multi-wavelength absorbance information to establish a multivariable nonlinear model, the problems of high cost and large error in the detection of gas content in two-phase oil and gas flow in existing technologies are solved, achieving high-precision and low-cost detection results.

CN122306723APending Publication Date: 2026-06-30XI AN JIAOTONG UNIV +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
XI AN JIAOTONG UNIV
Filing Date
2024-12-30
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing methods for detecting gas content in two-phase oil and gas flows are costly and prone to measurement errors, and cannot effectively utilize broadband spectral information.

Method used

An LED light source was used to detect the gas content of the two-phase flow of oil and gas. A multivariate nonlinear model was established using absorbance information at multiple wavelengths, and the model was combined with a spectrometer and a principal component regression model for accurate detection.

Benefits of technology

It reduces testing costs, improves testing accuracy, reduces measurement errors, and achieves economical and efficient gas content testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122306723A_ABST
    Figure CN122306723A_ABST
Patent Text Reader

Abstract

A device and method for detecting the gas content of an oil-gas two-phase flow using an LED light source are disclosed. In the device, a first collimating lens is connected to an LED light source via a first optical fiber to receive incident light emitted by the LED light source. A second collimating lens is positioned opposite the first collimating lens at intervals. A flow cell is disposed between the first and second collimating lenses, and the oil-gas two-phase flow to be detected is contained in the flow cell. The oil-gas two-phase flow includes lubricating oil and air. The flow cell, a peristaltic pump, and a three-way valve are connected via pipelines to form a flow loop. The three-way valve controls the opening and closing of the flow loop to add or remove the oil-gas two-phase flow into the flow loop. A spectrometer is connected to a second collimating lens via a second optical fiber to receive the emitted light of the oil-gas two-phase flow passing through the flow cell and to collect absorbance information of the oil-gas two-phase flow at various wavelength points. The host is connected to the spectrometer and calculates and obtains the gas content of the oil-gas two-phase flow based on the absorbance information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of oil-gas two-phase flow gas content detection technology, and in particular to an oil-gas two-phase flow gas content detection device and method utilizing an LED light source. Background Technology

[0002] As industry becomes increasingly sophisticated, gas-liquid two-phase flow is receiving more and more attention. The gaseous flow medium, distributed at the scale of tiny bubbles in the lubricating oil system, will affect the system's operating characteristics and performance. For example, excessive bubbles can reduce the efficiency of the oil pump, leading to insufficient oil supply; the lubricating oil, under the influence of air, will oxidize and deteriorate, resulting in a decline in performance. Problems in the lubricating oil system can lead to damage to critical components and even serious accidents. Therefore, rapid and accurate detection of the gas content in engine lubricating oil is necessary.

[0003] Currently, the main methods for detecting the gas content of two-phase flow include the fast-closing valve method, radiation attenuation method, electrical method, optical method, image detection technology, and ultrasonic attenuation method. Among the existing optical measurement methods, on the one hand, in order to achieve good light source performance, expensive light sources are used, resulting in high costs and poor economic performance; on the other hand, using photoelectric sensors to collect electrical signals or using optical imaging methods to detect the gas content of oil and gas two-phase flow does not fully utilize the information at various wavelengths of the wide-band spectrum, and cannot effectively eliminate the huge measurement errors introduced by scattering interference.

[0004] The information disclosed in the background section is only intended to enhance the understanding of the background of the present invention, and therefore may contain information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] To address the shortcomings or defects of the existing technology, a device and method for detecting the gas content of oil-gas two-phase flow using an LED light source are provided. The device measures the absorbance of oil-gas two-phase flow at different gas contents using an LED light source, and establishes a multivariable nonlinear model using multi-wavelength point absorbance information to detect the gas content of oil-gas two-phase flow, thereby reducing detection costs while ensuring detection accuracy.

[0006] The objective of this invention is achieved through the following technical solutions.

[0007] An oil-gas two-phase flow gas content detection device utilizing an LED light source includes,

[0008] Optical pathways, which include,

[0009] LED light source

[0010] A first collimating lens is connected to the LED light source via a first optical fiber to receive the incident light emitted by the LED light source.

[0011] The second collimating lens is positioned opposite the first collimating lens at a distance.

[0012] A flow cell is disposed between the first collimating mirror and the second collimating mirror. The flow cell contains an oil-gas two-phase flow to be detected, which includes lubricating oil and air.

[0013] The flow circuit includes,

[0014] A peristaltic pump, connected via piping to the flow tank, provides power for the two-phase flow of oil and gas.

[0015] A three-way valve is installed in the pipeline. The flow pool, peristaltic pump and three-way valve are connected through the pipeline to form a flow loop. The three-way valve controls the opening and closing of the flow loop to add or extract oil and gas two-phase flow into the flow loop.

[0016] Data collection, which includes,

[0017] The spectrometer, connected to the second collimating lens via a second optical fiber, receives the emitted light from the oil-gas two-phase flow passing through the flow cell and collects absorbance information of the oil-gas two-phase flow at various wavelengths.

[0018] The host unit is connected to the spectrometer and calculates and obtains the gas content of the two-phase flow based on the absorbance information. The host unit includes a principal component regression unit that establishes a model of gas content and absorbance at multiple wavelength points to calculate the gas content of the two-phase flow.

[0019] In the oil-gas two-phase flow gas content detection device using LED light source, the LED light source emits continuous visible light in the wavelength range of 420nm-750nm.

[0020] In the oil-gas two-phase flow gas content detection device using LED light source, the first collimating lens converts the incident light into a parallel light path that covers the light-transmitting surface of the flow cell.

[0021] In the oil-gas two-phase flow gas content detection device using LED light source, the first collimating lens is an 84UV collimating lens with a light transmission aperture of 2.5cm.

[0022] In the oil-gas two-phase flow gas content detection device using LED light source, the flow cell is a transparent columnar structure made of quartz glass.

[0023] In the aforementioned oil-gas two-phase flow gas content detection device utilizing an LED light source, the LED light source comprises,

[0024] DC power supply

[0025] A light source, which is connected to the DC power supply and placed in the reflective cavity.

[0026] In the oil-gas two-phase flow gas content detection device using LED light source, the DC power supply is a 12V constant voltage power supply, the reflective cavity is a cylinder with a length of 175mm, a cross-sectional outer diameter of 126mm, and a cavity thickness of 3mm, and the whole is made of glass with a silver-plated surface.

[0027] The detection method of the oil-gas two-phase flow gas content detection device using an LED light source includes the following steps.

[0028] The first collimating lens is connected to the LED light source via a first optical fiber to receive the incident light emitted by the LED light source.

[0029] The spectrometer is connected to the second collimating lens via a second optical fiber to receive the emitted light from the oil-gas two-phase flow passing through the flow cell, and collects the absorbance information of the oil-gas two-phase flow at various wavelengths.

[0030] The host is connected to the spectrometer and calculates and obtains the gas content of the two-phase flow of oil and gas based on the absorbance information. The host uses the absorbance information to establish a PCR principal component regression model, uses cross-validation to determine the number of latent variables, and establishes a one-to-one mapping relationship between the wavelength variables and the gas content of the two-phase flow of oil and gas to obtain the gas content of the two-phase flow of oil and gas.

[0031] In the method described, the SPXY classification method is used to classify absorbance information into a calibration set and a test set.

[0032] In the method described, the absorbance information at each wavelength point is preprocessed to eliminate noise by using centering, detrending algorithm, SG convolution smoothing, standard normal variable transformation, multivariate scattering correction or OPLS orthogonal signal correction method.

[0033] Compared with the prior art, the beneficial effects of this invention are as follows:

[0034] This invention, based on Beer-Lambert's law, utilizes an LED light source to measure the absorbance of oil-gas two-phase flows at different gas contents. A multivariable nonlinear model is established using absorbance information from multiple wavelengths to detect the gas content of the oil-gas two-phase flow, ensuring detection accuracy. Using an LED light source for detecting the gas content of oil-gas two-phase flows significantly reduces the cost of the light source in the detection equipment, improves the economic performance of the detection, and offers superior cost-effectiveness in operation.

[0035] The description provided is merely an overview of the technical solution of this invention. In order to make the technical means of this invention clearer and more understandable, so that those skilled in the art can implement it according to the contents of the specification, and to make the described and other objects, features and advantages of this invention more obvious and understandable, specific embodiments of this invention are described below. Attached Figure Description

[0036] Various other advantages and benefits of the present invention will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiments below. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. It is obvious that the drawings described below are merely some embodiments of the invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. Furthermore, the same reference numerals denote the same parts throughout the drawings.

[0037] In the attached diagram:

[0038] Figure 1 This is a schematic diagram of a preferred embodiment of the oil-gas two-phase flow gas content detection device using an LED light source according to the present invention.

[0039] Figure 2 This is a schematic diagram of the LED light source structure of the present invention;

[0040] Figure 3 The absorption spectra are for the following conditions in Example 1 of the present invention: the gas content of the oil-gas two-phase flow is 0.9%, 1.5%, 2.1%, 2.7%, 3.3%, and 3.9%.

[0041] Figure 4 This is a diagram showing the optimal detection result of the gas content of the two-phase flow of oil and gas obtained from the principal component regression model in Example 1 of the present invention.

[0042] The present invention will be further explained below with reference to the accompanying drawings and embodiments. Detailed Implementation

[0043] Specific embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While specific embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the invention and to fully convey the scope of the invention to those skilled in the art.

[0044] It should be noted that certain terms are used in the specification and claims to refer to specific components. Those skilled in the art will understand that different terms may be used to refer to the same component. This specification and claims do not distinguish components based on differences in terminology, but rather on differences in function. The terms "comprising" or "including" used throughout the specification and claims are open-ended and should be interpreted as "comprising but not limited to." The following descriptions are preferred embodiments for carrying out the invention; however, these descriptions are for the purpose of understanding the general principles of the specification and are not intended to limit the scope of the invention. The scope of protection of this invention is determined by the appended claims.

[0045] To facilitate understanding of the embodiments of the present invention, the following will provide further explanation and description with reference to the accompanying drawings and several specific embodiments, and the accompanying drawings do not constitute a limitation on the embodiments of the present invention.

[0046] To better understand, such as Figures 1 to 4 As shown, an oil-gas two-phase flow gas content detection device utilizing an LED light source includes,

[0047] Optical path 10, which includes,

[0048] LED light source 1,

[0049] A first collimating lens is connected to the LED light source via a first optical fiber 2a to receive the incident light emitted by the LED light source.

[0050] The second collimating lens is positioned opposite the first collimating lens at a distance.

[0051] A flow cell 4 is located between the first collimating mirror and the second collimating mirror. The flow cell 4 contains a two-phase flow of oil and gas to be detected, which includes lubricating oil and air.

[0052] Circulation loop 11, which includes,

[0053] A peristaltic pump 6, connected to the flow tank 4 via a pipeline 7, provides power for the two-phase flow of oil and gas.

[0054] A three-way valve 5 is installed in the pipeline 7. The flow pool 4, the peristaltic pump 6 and the three-way valve 5 are connected through the pipeline 7 to form a flow loop 11. The three-way valve 5 controls the opening and closing of the flow loop 11 to add or extract oil and gas two-phase flow into the flow loop 11.

[0055] Data collection 12, which includes,

[0056] The spectrometer 8 is connected to the second collimating lens via the second optical fiber 2b to receive the emitted light from the oil-gas two-phase flow passing through the flow cell 4, and to collect the absorbance information of the oil-gas two-phase flow at various wavelengths.

[0057] The host 9 is connected to the spectrometer 8 and calculates and obtains the gas content of the two-phase flow based on the absorbance information. The host includes a principal component regression unit that establishes a model of gas content and absorbance at multiple wavelength points to calculate the gas content of the two-phase flow.

[0058] In a preferred embodiment of the oil-gas two-phase flow gas content detection device using an LED light source, the LED light source emits continuous visible light in the wavelength range of 420nm-750nm.

[0059] In a preferred embodiment of the oil-gas two-phase flow gas content detection device using an LED light source, the first collimating lens converts the incident light into a parallel light path that covers the light-transmitting surface of the flow cell 4.

[0060] In a preferred embodiment of the oil-gas two-phase flow gas content detection device using an LED light source, the first collimating lens is an 84UV collimating lens with a light transmission aperture of 2.5cm.

[0061] In a preferred embodiment of the oil-gas two-phase flow gas content detection device using an LED light source, the flow cell 4 is a transparent columnar structure made of quartz glass.

[0062] In a preferred embodiment of the oil-gas two-phase flow gas content detection device utilizing an LED light source, the LED light source comprises:

[0063] DC power supply

[0064] A light source, which is connected to the DC power supply and placed in the reflective cavity.

[0065] In a preferred embodiment of the oil-gas two-phase flow gas content detection device using an LED light source, the DC power supply is a 12V constant voltage power supply, the reflective cavity is a cylinder with a length of 175mm, a cross-sectional outer diameter of 126mm, and a cavity thickness of 3mm, and the whole is made of glass with a silver-plated surface.

[0066] The detection method of the oil-gas two-phase flow gas content detection device using an LED light source includes the following steps.

[0067] The first collimating lens is connected to the LED light source via the first optical fiber 2a to receive the incident light emitted by the LED light source.

[0068] The spectrometer 8 is connected to the second collimating lens via the second optical fiber 2b to receive the emitted light from the oil-gas two-phase flow passing through the flow cell 4, and to collect the absorbance information of the oil-gas two-phase flow at various wavelengths.

[0069] The host is connected to the spectrometer and calculates and obtains the gas content of the two-phase flow of oil and gas based on the absorbance information. The host uses the absorbance information to establish a PCR principal component regression model, uses cross-validation to determine the number of latent variables, and establishes a one-to-one mapping relationship between the wavelength variables and the gas content of the two-phase flow of oil and gas to obtain the gas content of the two-phase flow of oil and gas.

[0070] In the method described, the SPXY classification method is used to classify absorbance information into a calibration set and a test set.

[0071] The absorption coefficient is related to the wavelength of the incident light and the properties of the absorbing substance. However, under the same conditions, the absorption coefficient remains constant even with different concentrations of the same substance. Therefore, under identical external conditions, the absorbance of the same substance is directly proportional to its concentration.

[0072] In this process, the oil and gas in the two-phase flow to be tested selectively absorb at different wavelengths. The absorbance of the two-phase flow to be tested at different wavelengths can be calculated by using the intensity of the emitted light at each wavelength received by the spectrometer. A multivariable nonlinear model can be established using the absorbance information at multiple wavelengths to determine the gas content in the two-phase flow to be tested.

[0073] In a preferred embodiment of the method, the absorbance information at each wavelength point is preprocessed using a centering algorithm, a detrending algorithm, SG convolution smoothing, standard normal variable transformation, multivariate scattering correction, or OPLS orthogonal signal correction method to eliminate noise.

[0074] In one embodiment, the device for detecting the gas content of a two-phase oil-gas flow using an LED light source comprises three parts: an optical path 10, a flow loop 11, and a data acquisition system 12. The optical path 10 includes an LED light source 1, a first optical fiber 2a, a collimating lens 3 consisting of a first collimating lens and a second collimating lens, and a flow cell 4. The LED light source 1 emits continuous visible light in the wavelength range of 420nm-750nm. The first optical fiber 2a includes an input end and an output end, using an SMA905 interface. The input end of the first optical fiber 2a is connected to the LED light source 1, and the output end is connected to the first collimating lens, used to transmit the incident light emitted by the LED light source 1 through the collimating lens to the flow cell 4. The input end of the second optical fiber 2b is connected to the second collimating lens, and the output end is connected to a spectrometer 8, used to transmit the emitted light from the flow cell 4 to the spectrometer 8.

[0075] In one embodiment, the first collimating lens is an 84UV collimating lens, used to convert the optical path into a parallel optical path, with a light-transmitting aperture of 2.5cm, completely covering the light-transmitting surface of the flow cell. The flow cell 4 is a transparent cylindrical structure made of quartz glass, ensuring that all continuous light emitted by the LED light source 1 can pass through for detecting the oil-gas two-phase flow. The flow circuit includes the flow cell 4, a three-way valve 5, a peristaltic pump 6, and a pipeline 7. Two holes are opened on the side of the flow cell 4 to connect to the three-way valve 5 and the pipeline 7, forming a circuit for the flow of the oil-gas two-phase flow. The flow cell 4 is 100mm high and contains lubricating oil, which serves as the part of the experimental optical path for detecting the gas content of the oil-gas two-phase flow. The three-way valve 5 is located between the flow cell 4 and the pipeline 7, controlling the opening and closing of the flow circuit to allow lubricating oil to be added to or extracted from the circuit.

[0076] In one embodiment, the peristaltic pump 6 has a rotational speed range of 100-600 rpm, providing power for the oil-gas two-phase flow pipeline and realizing the circulation of the oil-gas two-phase flow.

[0077] The detection principle of this invention is that the theoretical basis for the application of spectral detection technology to the measurement of gas content in two-phase flow of oil and gas is the Beer-Lambert law.

[0078]

[0079] In the formula: : The absorbance of the substance to be measured at a wavelength; : Emitted light intensity / cd; Incident light intensity / cd; Absorption coefficient; Light absorption thickness / mm; : The content of light-absorbing substances.

[0080] The absorption coefficient is related to the wavelength of the incident light and the properties of the absorbing substance. However, under the same conditions, the absorption coefficient remains constant even with different concentrations of the same substance. Therefore, under identical external conditions, the absorbance of the same substance is directly proportional to its concentration.

[0081] In this process, the oil and gas in the two-phase flow to be tested selectively absorb at different wavelengths. The absorbance of the two-phase flow to be tested at different wavelengths can be calculated by using the intensity of the emitted light at each wavelength received by the spectrometer. A multivariable nonlinear model can be established using the absorbance information at multiple wavelengths to determine the gas content in the two-phase flow to be tested.

[0082] In specific implementation, as a preferred embodiment of the present invention, such as Figure 2As shown, DC power supply 1b supplies power to LED light source 1a and places light source 1a in reflective cavity 1c to improve the uniformity of continuous light emitted by light source 1a.

[0083] In a preferred embodiment of the present invention, the light source 1a emits continuous visible light in the wavelength range of 420nm-750nm, with a rated operating voltage of 12V and a rated power of 9W; the DC power supply 1b provides constant voltage power, set to 12V to power the light source 1a; the reflecting cavity 1c is a cylinder with a length of 175mm, a cross-sectional outer diameter of 126mm, and a cavity thickness of 3mm. The entire cavity is made of glass and uses a surface silver plating technique.

[0084] In specific implementation, as a preferred embodiment of the present invention, such as Figure 1 As shown, continuous visible light is emitted from LED light source 1. The continuous visible light is input from the first optical fiber 2a, and then transmitted to the oil-gas two-phase flow in the flow cell 4 through the first collimating lens. The oil-gas two-phase flow in the flow cell 4 receives the continuous visible light and absorbs the input light. The emitted light after absorption by the oil-gas two-phase flow is transmitted to the spectrometer 8 through the second optical fiber 2b. The spectrometer 8 receives the emitted light and collects the absorbance information at each wavelength point, which is transmitted to the host 9. The host 9 obtains the absorbance information at multiple wavelength points of the oil-gas two-phase flow under different gas contents.

[0085] In a specific implementation, as a preferred embodiment of the present invention, the principal component regression method is used to process the absorbance information of multiple wavelength points of the oil-gas two-phase flow under different gas contents, establish a model of gas contents and absorbance at multiple wavelength points, and use the model to predict the gas contents of the oil-gas two-phase flow.

[0086] Furthermore, the gas content prediction performance of the constructed principal component regression model was evaluated using the following indicators: coefficient of determination R0 2 The closer the value is to 1, the better the regression or prediction results of the model; the smaller the root-mean-square error of prediction (RMSEP), the better the predictive ability of the model; the smaller the maximum absolute error (MAE), the smaller the outlier the model's prediction results and the higher the prediction accuracy; the mean relative error (MRE) ranges from 0 to 1, and the smaller the value, the higher the prediction accuracy.

[0087] In one embodiment, a light source is connected to one side of the optical fiber, and a collimating lens is connected to the other side. A spectrometer is also connected to one side of the optical fiber, and the collimating lens is connected to the other side. One end of the spectrometer is connected to the optical fiber, and the other end is connected to a computer for spectral data reading. During operation, the light source is turned on, and the computer records the spectral data under different gas content conditions detected by the spectrometer and performs modeling and prediction. The calibration device is a circulation loop consisting of a peristaltic pump, a three-way valve, and pipelines. During operation, the prepared oil-gas two-phase flow is introduced into the pipeline through the three-way valve, and the peristaltic pump is turned on to uniformly fill the entire loop. After the gas content spectral data is recorded, a fixed amount of oil phase is added or removed through the three-way valve to achieve the calibration effect.

[0088] Example 1

[0089] (1) Preparation: Prepare 31 groups of two-phase oil-gas lubricating oil with a gas content range of 0.9%-3.9% and an interval of 0.1%; set the speed of peristaltic pump 6 to 200 rpm.

[0090] (2) Start the experiment: Open the three-way valve 5, inject the pre-prepared oil-gas two-phase lubricating oil into the flow circuit through the three-way valve 5, move the flow cell 4 to the optical path and fix it, turn on the peristaltic pump 6, and turn on the LED light source 1.

[0091] (3) Data acquisition: The absorption spectrum information after passing through the flow cell 4 is acquired by the spectrometer 8, and the absorbance information of each wavelength point of the 31 groups of oil and gas two-phase flow with a gas content range of 0.9%-3.9% and an interval of 0.1% is obtained and saved to the host 9. Figure 3 The above are absorption spectra characterization diagrams for the two-phase flow of oil and gas with gas content of 0.9%, 1.5%, 2.1%, 2.7%, 3.3%, and 3.9% in Example 1 of the present invention.

[0092] (4) Model establishment: PCR (Principal Component Regression) model was established using the absorbance information obtained from host 9.

[0093] Furthermore, the SPXY classification method was used to classify the 31 sets of sample data into calibration and test sets, and the ratio of the number of samples in the training set to the number of samples in the test set was determined to be 21:10.

[0094] Furthermore, different preprocessing methods were employed to preprocess the absorbance data of the original spectra to eliminate noise that might affect the modeling results. Methods such as centering, detrend algorithm, SG convolution smoothing, standard normal variable transformation (SNV), multivariate scattering correction (MSC), and OPLS orthogonal signal correction were selected for data preprocessing.

[0095] Furthermore, principal component regression modeling was selected, and cross-validation was used to determine the number of latent variables, establishing a one-to-one mapping relationship between wavelength variables and gas content in the two-phase flow of oil and gas.

[0096] (5) Experimental results:

[0097] Table 1 shows the gas content of the two-phase flow of oil and gas obtained from the principal component regression nonlinear model under different pretreatment methods.

[0098] Table 1:

[0099]

[0100] Table 1 shows that when using LED light sources to predict the gas holdup in two-phase oil-gas flow, the principal component regression model established using the SG preprocessing method yields the optimal results. Its coefficient of determination R0 is [value missing]. 2 The root mean square error (RMSEP) for the test set prediction was 0.9965, the maximum absolute error (MAE) was 0.0508%, and the mean relative error (MRE) was 1.19%. The detection results are as follows: Figure 4 As shown.

[0101] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the application to the necessity of employing the aforementioned specific details for implementation.

[0102] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A device for detecting the gas content of an oil-gas two-phase flow using an LED light source, characterized in that, It includes, Optical pathways, which include, LED light source A first collimating lens is connected to the LED light source via a first optical fiber to receive the incident light emitted by the LED light source. The second collimating lens is positioned opposite the first collimating lens at a distance. A flow cell is disposed between the first collimating mirror and the second collimating mirror. The flow cell contains an oil-gas two-phase flow to be detected, which includes lubricating oil and air. The flow circuit includes, A peristaltic pump, connected via piping to the flow tank, provides power for the two-phase flow of oil and gas. A three-way valve is installed in the pipeline. The flow pool, peristaltic pump and three-way valve are connected through the pipeline to form a flow loop. The three-way valve controls the opening and closing of the flow loop to add or extract oil and gas two-phase flow into the flow loop. Data collection, which includes, The spectrometer, connected to the second collimating lens via a second optical fiber, receives the emitted light from the oil-gas two-phase flow passing through the flow cell and collects absorbance information of the oil-gas two-phase flow at various wavelengths. The host unit is connected to the spectrometer and calculates and obtains the gas content of the two-phase flow based on the absorbance information. The host unit includes a principal component regression unit that establishes a model of gas content and absorbance at multiple wavelength points to calculate the gas content of the two-phase flow.

2. The oil-gas two-phase flow gas content detection device using an LED light source as described in claim 1, characterized in that, Preferably, the LED light source emits continuous visible light in the wavelength range of 420nm-750nm.

3. The oil-gas two-phase flow gas content detection device using an LED light source as described in claim 1, characterized in that, The first collimating lens converts the incident light into a parallel light path that covers the light-transmitting surface of the flow cell.

4. The oil-gas two-phase flow gas content detection device using an LED light source as described in claim 1, characterized in that, The first collimating lens is an 84UV collimating lens with a light transmission aperture of 2.5cm.

5. The oil-gas two-phase flow gas content detection device using an LED light source as described in claim 1, characterized in that, The flow cell is a transparent cylindrical structure made of quartz glass.

6. The oil-gas two-phase flow gas content detection device using an LED light source as described in claim 1, characterized in that, The LED light source includes, DC power supply A light source, which is connected to the DC power supply and placed in the reflective cavity.

7. The oil-gas two-phase flow gas content detection device using an LED light source as described in claim 6, characterized in that, The DC power supply is a 12V constant voltage power supply. The reflective cavity is a cylinder with a length of 175mm, a cross-sectional outer diameter of 126mm, and a cavity thickness of 3mm. The entire cavity is made of glass and the surface is silver-plated.

8. The detection method of the oil-gas two-phase flow gas content detection device using an LED light source as described in any one of claims 1-7.