CN112834455A - Method for detecting water content in crude oil - Google Patents

Method for detecting water content in crude oil Download PDF

Info

Publication number
CN112834455A
CN112834455A CN202011616687.3A CN202011616687A CN112834455A CN 112834455 A CN112834455 A CN 112834455A CN 202011616687 A CN202011616687 A CN 202011616687A CN 112834455 A CN112834455 A CN 112834455A
Authority
CN
China
Prior art keywords
crude oil
detecting
establishing
moisture
standard deviation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011616687.3A
Other languages
Chinese (zh)
Inventor
盛晓慧
周新奇
王晓东
韩双来
刘立鹏
郑启伟
李伟
刘飞
秦新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Puyu Technology Development Co Ltd
Original Assignee
Hangzhou Puyu Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Puyu Technology Development Co Ltd filed Critical Hangzhou Puyu Technology Development Co Ltd
Priority to CN202011616687.3A priority Critical patent/CN112834455A/en
Publication of CN112834455A publication Critical patent/CN112834455A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/359Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light using near infrared light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/3577Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light for analysing liquids, e.g. polluted water

Abstract

The invention provides a method for detecting water in crude oil, which comprises a stage of establishing an analysis model and a stage of detecting the water in the crude oil, wherein the step of establishing the analysis model comprises the following steps: (A1) detecting light emitted by the light source passes through the plurality of colorimetric pools to respectively obtain transmission spectrums; the optical path L of the detection light in the colorimetric pool belongs to [0.8, 2.2] mm, different crude oil samples are filled in the colorimetric pool, and the water content of the crude oil samples is known; (A2) dividing a correction set verification set according to the transmission light source and the corresponding water content; (A3) preprocessing the transmission spectrum, wherein the preprocessing comprises centralization and weighting operation; (A4) extracting characteristic wave bands from the preprocessed transmission spectrum, and establishing a prediction model of the crude oil moisture content corresponding to the wavelength combination; (A5) and performing regression calculation by adopting an algorithm, and establishing a correction model between the transmission spectrum and the moisture content. The invention has the advantages of accurate detection and the like.

Description

Method for detecting water content in crude oil
Technical Field
The invention relates to crude oil detection, in particular to a method for detecting water in crude oil.
Background
With the increase of crude oil import and oil field development in China, the detection means of the crude oil moisture content which seriously influences the factors of each link in the whole process from crude oil exploitation to oil field sale is also increasingly emphasized. The water content of the crude oil is an important parameter in oil product transaction and production, and the measurement result of the water content of the crude oil not only can directly influence the judgment of the position of effluent and an oil outlet layer and the yield of an oil well, but also can continuously monitor the state of the oil well in development and judge whether the oil well has exploitation value, so that the method has very important practical significance in reducing the energy loss in the crude oil development, saving the production cost of the crude oil and the like.
Near infrared spectroscopy (NIR) is a nondestructive, fast and accurate detection technique, has a series of advantages such as no need of pretreatment, convenience and rapidness, accurate result, short analysis time, and overcomes some defects in the conventional chemical detection method, and has an obvious absorption characteristic in the Near infrared band range based on moisture, so that an attempt to apply the NIR to the measurement of the moisture content of crude oil has been made at present, but there are many problems in the Near infrared detection of the moisture content of crude oil at present:
1. most of near infrared instruments measure crude oil by adopting a transmission accessory optical path with the length of about 5mm or a smaller optical path, for example, a CCD near infrared spectrometer is used for measuring crude oil (Avaspec-2048, Avants, Netherlands) and the sample cell optical path range of a Nicolet 6700 Fourier transform infrared spectrometer for measuring crude oil is 0.05-0.6 mm. Research shows that when the transmission mode is adopted for measurement, the optical path of the sample cell is too large, so that moisture is absorbed too much in a near infrared region, and saturation is caused, so that the measurement cannot be carried out. Too small an optical path will result in too little information being carried by the spectrum, which all have a significant impact on the detection result.
2 according to the lambert-beer law, the absorbance value of a uniform non-scattering substance mainly depends on the absorption coefficient of a sample at a specific wavelength and the optical path length, wherein the optical path is one of the main factors influencing the absorbance, and the influence of the optical path change on the transmission measurement precision of a liquid solution is studied. However, the effect of various preprocessing methods on the near infrared measurement accuracy is not basically studied. In the external measurement of crude oil, the consistency of the colorimetric pool with short optical path is not easy to control, which causes noise and error in measurement.
3. Crude oil is a substance which has high viscosity and is not easy to dissolve in common organic solvents, so that a colorimetric pool after detection is not easy to clean, cross contamination among samples caused by incomplete cleaning is easy to greatly influence the accuracy of a measurement result, and the crude oil is generally cleaned in a petroleum ether and ultrasonic cleaning mode at present, but the operation not only consumes long time, but also cannot ensure that the interior of the colorimetric pool is completely cleaned.
In view of the above technical problems, the near infrared technology has not been effectively applied to the detection of crude oil moisture.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method for detecting the moisture in the crude oil.
The purpose of the invention is realized by the following technical scheme:
the method for detecting the water in the crude oil comprises a stage of establishing an analysis model and a stage of detecting the water in the crude oil, wherein the step of establishing the analysis model comprises the following steps:
(A1) detecting light emitted by the light source passes through the plurality of colorimetric pools to respectively obtain transmission spectrums;
the optical path L of the detection light in the colorimetric pool belongs to [0.8, 2.2] mm, different crude oil samples are filled in the colorimetric pool, and the water content of the crude oil samples is known;
(A2) dividing a correction set verification set according to the transmission light source and the corresponding water content;
(A3) preprocessing the transmission spectrum, wherein the preprocessing comprises centralization and weighting operation;
(A4) extracting characteristic wave bands from the preprocessed transmission spectrum, and establishing a prediction model of the crude oil moisture content corresponding to the wavelength combination;
(A5) and performing regression calculation by adopting an algorithm, and establishing a correction model between the transmission spectrum and the moisture content.
Compared with the prior art, the invention has the beneficial effects that:
in order to solve the application problem of the near infrared spectrum technology in the detection of the moisture in the crude oil, the applicant makes corresponding innovation on the consistency of the short optical path and the optical path, so that the mature near infrared spectrum analysis technology can be really applied to the detection of the moisture in the crude oil, and the aim of good detection accuracy is fulfilled;
the specification of the colorimetric pool is optimized, so that the optical path L of detection light in the colorimetric pool is within 0.8, 2.2mm, the crude oil sample in the colorimetric pool cannot absorb the detection light too much or too little, and the detection accuracy is improved;
the preprocessing algorithm corrects the optical path difference of the short-optical-path colorimetric pool, eliminates the influence of the surface of crude oil on the spectrum, eliminates the baseline drift and partial background noise irrelevant to the wavelength in the transmission spectrum, and improves the quality of the spectrum and the near-infrared modeling effect;
and a disposable colorimetric pool is adopted in the measurement stage, so that the operation of cleaning is reduced, the analysis time is greatly shortened, and the inaccuracy of the measurement result caused by the unclean cleaning is avoided.
Drawings
The disclosure of the present invention will become more readily understood with reference to the accompanying drawings. As is readily understood by those skilled in the art: these drawings are only for illustrating the technical solutions of the present invention and are not intended to limit the scope of the present invention. In the figure:
FIG. 1 is a flow chart of establishing an analytical model according to an embodiment of the present invention.
Detailed Description
Fig. 1 and the following description depict alternative embodiments of the invention to teach those skilled in the art how to make and reproduce the invention. Some conventional aspects have been simplified or omitted for the purpose of teaching the present invention. Those skilled in the art will appreciate that variations or substitutions from these embodiments will be within the scope of the invention. Those skilled in the art will appreciate that the features described below can be combined in various ways to form multiple variations of the invention. Thus, the present invention is not limited to the following alternative embodiments, but is only limited by the claims and their equivalents.
Example 1:
the method for detecting the water in the crude oil comprises a stage of establishing an analysis model and a stage of detecting the water in the crude oil, wherein the step of establishing the analysis model comprises the following steps of:
(A1) detecting light emitted by the light source passes through the plurality of colorimetric pools to respectively obtain transmission spectrums;
the optical path L of the detection light in the colorimetric pool belongs to [0.8, 2.2] mm, different crude oil samples are filled in the colorimetric pool, and the water content of the crude oil samples is known;
(A2) dividing a correction set verification set according to the transmission light source and the corresponding water content;
(A3) preprocessing the transmission spectrum, wherein the preprocessing comprises centralization and weighting operation;
(A4) extracting characteristic wave bands from the preprocessed transmission spectrum, and establishing a prediction model of the crude oil moisture content corresponding to the wavelength combination;
(A5) and performing regression calculation by adopting an algorithm, and establishing a correction model between the transmission spectrum and the moisture content.
In order to avoid cross contamination and improve detection accuracy, the cuvette is further disposable during the detection phase.
To improve the modeling and detection accuracy, further, in step (a2), a gradient is performed according to the moisture content, and the ratio of the calibration set to the verification set is 3: 1.
In order to improve the quality of the spectrum and the near infrared modeling effect, further, in step (a3), the preprocessing further includes a detrending algorithm, and the preprocessing result is evaluated using a correction standard deviation, a prediction standard deviation, or a decision coefficient, the lower the correction standard deviation or the prediction standard deviation, and the higher the decision coefficient, the better the preprocessing effect.
In order to improve the near infrared modeling effect, further, in step (a4), a continuous projection algorithm is used to extract a characteristic wavelength band, and an optimal modeling wavelength is screened using the prediction standard deviation as an evaluation criterion.
In order to improve the near infrared modeling effect, further, in step (a5), a partial least squares algorithm is used to perform regression calculation.
In order to improve the near infrared modeling effect, further, in the step (a1), the crude oil sample is added into the cuvette by the following method:
a crude oil sample is added along the side wall of the cuvette having a smaller width and a side wall having a larger width, and the inspection light passes through the side wall having the larger width.
Example 2:
an application example of the method for detecting moisture in crude oil according to embodiment 1 of the present invention.
In this application example, the method for detecting moisture in crude oil according to the embodiment of the present invention includes a stage of establishing an analysis model and a stage of detecting moisture in crude oil, as shown in fig. 1, where the step of establishing the analysis model includes the following steps:
(A1) preparing a near-infrared spectrometer with a wavelength range of 1000 plus or minus 1800nm, a wavelength accuracy of plus or minus 0.2nm, a resolution of 10.9 plus or minus 0.3nm @1529.5nm and a spot diameter of 5 mm;
preparing 70 crude oil samples of the same oil well, basically keeping the water content range of the samples within 0-1%, bottling the samples and marking corresponding numbers;
the cuvette has a side wall with a smaller width and a side wall with a larger width, the detection light passes through the side wall with the larger width, and the distance (optical path) L between the two opposite side walls with the larger width belongs to [0.8, 2.2] mm, such as 0.8mm, 1mm, 1.6mm, 2mm and 2.2 mm;
the crude oil sample was injected into the cuvette along the side wall of the cuvette with the smaller width using a 2mL syringe (with a needle) to fill the cuvette with the sample requirements: the liquid sample loading amount is 2/3 of the volume of the colorimetric pool, so that the smooth surface of the colorimetric pool is clean and has no fingerprint or stain;
detection light emitted by the light source respectively penetrates through the 70 colorimetric pools, penetrates through the side walls with larger width and opposite to the positions of the colorimetric pools, and respectively obtains transmission spectrums; taking a space ratio color pool as reference, and acquiring a background spectrum before acquiring a transmission spectrum of a sample each time;
the water content of the crude oil sample is obtained by measuring the water content of the crude oil sample by a national standard method GB/T89282006;
(A2) introducing the collected transmission spectrum with the background spectrum subtracted and the measured moisture content into a Matlab platform, and performing gradient division according to the moisture content, wherein the ratio of a correction set to a verification set is 3: 1;
(A3) preprocessing the transmission spectrum data with the background spectrum removed in Matlab, wherein the preprocessing mode comprises centralization and weighting operation and a trend removing algorithm, and evaluating the processing effect from a correction standard deviation (RMSEC), a prediction standard deviation (RMSEP) and a decision coefficient (r); the lower the corrected standard deviation (RMSEC), predicted standard deviation (RMSEP), and the higher the correlation coefficient (r) represents the more significant the pretreatment effect;
(A4) screening the characteristic wave bands of the crude oil by adopting a continuous projection algorithm (SPA) in a Matlab platform, establishing a quantitative prediction model of the water content of the crude oil according to wavelength combinations, and screening the optimal modeling wavelength of the crude oil by taking a prediction standard deviation (RMSEP) as an evaluation standard;
(A5) finally, performing regression calculation by adopting a partial least square algorithm, operating in a Matlab platform, and establishing a quantitative correction model of the transmission spectrum and the moisture content;
in the detection stage, the colorimetric pool is used as a consumable for one time.

Claims (7)

1. The method for detecting the water in the crude oil comprises a stage of establishing an analysis model and a stage of detecting the water in the crude oil, wherein the step of establishing the analysis model comprises the following steps:
(A1) detecting light emitted by the light source passes through the plurality of colorimetric pools to respectively obtain transmission spectrums;
the optical path L of the detection light in the colorimetric pool belongs to [0.8, 2.2] mm, different crude oil samples are filled in the colorimetric pool, and the water content of the crude oil samples is known;
(A2) dividing a correction set verification set according to the transmission light source and the corresponding water content;
(A3) preprocessing the transmission spectrum, wherein the preprocessing comprises centralization and weighting operation;
(A4) extracting characteristic wave bands from the preprocessed transmission spectrum, and establishing a prediction model of the crude oil moisture content corresponding to the wavelength combination;
(A5) and performing regression calculation by adopting an algorithm, and establishing a correction model between the transmission spectrum and the moisture content.
2. The method of claim 1, wherein the cuvette is disposable during the detection stage.
3. The method for detecting moisture in crude oil according to claim 1, wherein in the step (A2), the gradient division is performed according to the moisture content, and the ratio of the calibration set to the verification set is 3: 1.
4. The method for detecting moisture in crude oil according to claim 1, wherein in step (A3), the pretreatment further comprises a de-trending algorithm, and the pretreatment result is evaluated by using a correction standard deviation, a prediction standard deviation or a determination coefficient, wherein the lower the correction standard deviation or the prediction standard deviation is, and the higher the determination coefficient is, the better the pretreatment effect is.
5. The method for detecting moisture in crude oil according to claim 1, wherein in the step (A4), the characteristic wavelength band is extracted by using a continuous projection algorithm, and the optimum modeling wavelength is screened by using the predicted standard deviation as an evaluation criterion.
6. The method for detecting moisture in crude oil according to claim 1, wherein in the step (A5), the regression calculation is performed by using a partial least squares algorithm.
7. The method for detecting moisture in crude oil according to claim 1, wherein in the step (A1), the crude oil sample is added to the cuvette by:
a crude oil sample is added along the side wall of the cuvette having a smaller width and a side wall having a larger width, and the inspection light passes through the side wall having the larger width.
CN202011616687.3A 2020-12-31 2020-12-31 Method for detecting water content in crude oil Pending CN112834455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011616687.3A CN112834455A (en) 2020-12-31 2020-12-31 Method for detecting water content in crude oil

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011616687.3A CN112834455A (en) 2020-12-31 2020-12-31 Method for detecting water content in crude oil

Publications (1)

Publication Number Publication Date
CN112834455A true CN112834455A (en) 2021-05-25

Family

ID=75925624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011616687.3A Pending CN112834455A (en) 2020-12-31 2020-12-31 Method for detecting water content in crude oil

Country Status (1)

Country Link
CN (1) CN112834455A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115144350A (en) * 2022-09-06 2022-10-04 中国科学院地理科学与资源研究所 Hyperspectral similar pixel comparison-based site hydrocarbon pollution identification method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009080049A1 (en) * 2007-12-21 2009-07-02 Dma Sorption Aps Monitoring oil condition and/or quality, on-line or at-line, based on chemometric data analysis of flourescence and/or near infrared spectra
CN103115889A (en) * 2011-11-17 2013-05-22 中国石油化工股份有限公司 Method for predicating sulphur content of crude oil by infrared transmittance spectroscopy
CN107817223A (en) * 2017-10-20 2018-03-20 华东理工大学 The construction method of quick nondestructive real-time estimate oil property model and its application
CN109612958A (en) * 2018-12-18 2019-04-12 海阳市启恒环保科技有限公司 The method and device thereof of a variety of oils concentration in water can be measured simultaneously

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009080049A1 (en) * 2007-12-21 2009-07-02 Dma Sorption Aps Monitoring oil condition and/or quality, on-line or at-line, based on chemometric data analysis of flourescence and/or near infrared spectra
CN103115889A (en) * 2011-11-17 2013-05-22 中国石油化工股份有限公司 Method for predicating sulphur content of crude oil by infrared transmittance spectroscopy
CN107817223A (en) * 2017-10-20 2018-03-20 华东理工大学 The construction method of quick nondestructive real-time estimate oil property model and its application
CN109612958A (en) * 2018-12-18 2019-04-12 海阳市启恒环保科技有限公司 The method and device thereof of a variety of oils concentration in water can be measured simultaneously

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李建蕊 等: "利用近红外光谱和偏最小二乘回归法预测脂肪酸组成", 中国粮油学报, vol. 25, no. 06, pages 107 - 110 *
程欲晓等: "近红外光谱分析原油中水分和硫含量模型的建立及验证", 理化检验(化学分册), vol. 56, no. 06, pages 621 - 626 *
陈洪亮 等: "优化基于近红外光谱的联合间隔偏最小二乘法建模检测芝麻油掺伪含量", 中国油脂, vol. 45, no. 02, pages 86 - 90 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115144350A (en) * 2022-09-06 2022-10-04 中国科学院地理科学与资源研究所 Hyperspectral similar pixel comparison-based site hydrocarbon pollution identification method and system

Similar Documents

Publication Publication Date Title
Cozzolino et al. Feasibility study on the use of attenuated total reflectance mid-infrared for analysis of compositional parameters in wine
Patz et al. Application of FT-MIR spectrometry in wine analysis
Xie et al. Prediction of titratable acidity, malic acid, and citric acid in bayberry fruit by near-infrared spectroscopy
Cuadrado et al. Comparison and joint use of near infrared spectroscopy and Fourier transform mid infrared spectroscopy for the determination of wine parameters
Rudnitskaya et al. Prediction of the Port wine age using an electronic tongue
CN101984343B (en) Method of discriminating key points in macroporous resin separation and purification process of traditional Chinese medicines
WO2000013002A3 (en) Reagentless analysis of biological samples
CN101413885A (en) Near-infrared spectrum method for rapidly quantifying honey quality
CN102879340A (en) Method for quickly detecting nutritional quality of root/stem crops on basis of near-infrared spectrum
Croce et al. Prediction of quality parameters in straw wine by means of FT-IR spectroscopy combined with multivariate data processing
CN109085136B (en) Method for measuring content of oxide components in cement raw material by near-infrared diffuse reflection spectrum
Laghi et al. FTIR spectroscopy and direct orthogonal signal correction preprocessing applied to selected phenolic compounds in red wines
CN112782146B (en) Gasoline olefin content analysis method based on Raman spectrum
CN106932378A (en) The on-line detecting system and method for a kind of sour gas composition based on Raman spectrum
CN112179871B (en) Method for nondestructive detection of caprolactam content in sauce food
CN103091274A (en) Method for determining content of water in Salvianolic acid for injection through near-infrared diffuse reflection spectrometry
CN112834455A (en) Method for detecting water content in crude oil
CN101349638A (en) Optical spectrum rapid nondestructive detection method of fruit and vegetable vitamin C content
CN109001182B (en) Raman spectrum nondestructive testing method for alcohol content in closed container
CN109799224A (en) Quickly detect the method and application of protein concentration in Chinese medicine extract
CN101788459A (en) Quasi-continuous spectroscopic wavelength combination method
CN115436315A (en) Near infrared spectrum-based cement additive detection method
CN102106888A (en) Quality control method for extraction process of Chinese medicine ainsliaea fragrans champ
Wang et al. Research Article Quantitative Analysis of Multiple Components in Wine Fermentation using Raman Spectroscopy
CN111077107A (en) Online detection method for content of glycoside in stevioside extracting solution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination