Method for detecting oil content of drilling fluid based on spectrometric determination

By establishing the oil content-fluorescence intensity relationship model and turbidity compensation model in drilling fluid detection, the impact of turbidity particles on fluorescence detection is solved, and the accuracy and reliability of the oil content detection of drilling fluid is improved.

CN118961670AActive Publication Date: 2024-11-15STATE OCEANIC ADMINISTRATION BEIHAI MARINE TECH SUPPORT CENT

Patent Information

Application Number
CN202411237029.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-15
Estimated Expiration
2044-09-05

AI Technical Summary

Technical Problem

When the existing ultraviolet fluorescence method detects the oil content of drilling fluid, the incident light attenuates due to the absorption and scattering of turbidity particles, which in turn affects the accuracy of the fluorescence intensity, resulting in large measurement errors.

Method used

By mixing the drilling fluid sample with water, irradiating with an ultraviolet light source after oscillation, detecting the spectral image with a fluorescence spectrophotometer, establishing an oil content-fluorescence intensity relationship model and turbidity compensation model, and correcting the impact of turbidity changes on fluorescence spectroscopy. Improve measurement accuracy.

Benefits of technology

After turbidity compensation, the fluctuation amplitude of the fluctuation of the fluorescence intensity value is small, and the relative error is less than 2%, effectively correcting the impact of turbidity changes on the detection results, improving the accuracy of the detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118961670A_ABST
    Figure CN118961670A_ABST
Patent Text Reader

Abstract

The invention provides a method for detecting the oil content of a drilling fluid based on spectral measurement, and solves the problems that in the existing fluorescence detection of the drilling fluid, when incident light hits turbidity particles, the turbidity particles can absorb the incident light to a certain degree and scatter the incident light in all directions, so that the incident light is attenuated; therefore, the light intensity irradiated on the oil is weakened, and the final emergent fluorescence intensity is influenced, and the method can be widely applied to the field of spectrum detection. The method specifically comprises the following steps: mixing a drilling fluid sample with water, and oscillating to obtain a solution to be detected; irradiating the to-be-detected solution by using an ultraviolet light source, detecting a spectral image of the to-be-detected solution by using a fluorospectro photometer, and obtaining fluorescence intensity of a corresponding wavelength according to the oil content type of the drilling fluid; according to the oil content-fluorescence intensity relation model, the current oil content is obtained; and detecting the turbidity value of the solution to be detected, and obtaining the standard oil content of the drilling fluid according to the turbidity compensation model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of spectrum detection, and in particular relates to a method for detecting the oil content of drilling fluid based on spectrum measurement. Background Art

[0002] The UV fluorescence method is based on the fluorescence effect of oil molecules. When the UV incident light is irradiated on the oil particles, it is absorbed and emits another wavelength of emission light. By detecting the emission light intensity, the oil concentration in the sample liquid can be obtained. It usually adopts an "overflow" or "immersion" structure, such as Figure 1 This method is often used for online measurement, has relevant standards, a wide measurement range, and its sensitivity is usually 2-3 orders of magnitude higher than spectrophotometry. In addition, the fluorescence effects of oils with different components vary greatly, and the selectivity is good.

[0003] The light intensity and peak position of the three-dimensional fluorescence spectrum of the same substance in different solvents are also different. The main reason for this phenomenon is that there is a certain interaction force between the solution and the substance molecules. When the substance absorbs energy and is excited, a certain number of molecules transition from the ground state to the excited state, resulting in different electron distributions in the ground state and the excited state, which has different effects on the fluorescence spectrum. At the same time, if there is a scattering medium in the solution, it will also hinder the excitation and emission of fluorescence.

[0004] When the incident light hits the turbidity particles, the turbidity particles themselves will absorb a certain amount and scatter in all directions, causing the incident light to attenuate; therefore, the intensity of light irradiating the oil becomes weaker, thereby affecting the final output fluorescence intensity. Summary of the invention

[0005] The purpose of the present invention is to solve the deficiencies of the above-mentioned technology and provide a method for detecting the oil content of drilling fluid based on spectral measurement.

[0006] To this end, the present invention provides a method for detecting the oil content of drilling fluid based on spectroscopy, comprising the following steps:

[0007] S10: mixing the drilling fluid sample with water and shaking to obtain a solution to be tested;

[0008] S20: using an ultraviolet light source to illuminate the solution to be tested, detecting a spectral image of the solution to be tested by a fluorescence spectrophotometer, and obtaining a fluorescence intensity of a corresponding wavelength according to the type of oil contained in the drilling fluid;

[0009] S30: obtaining the current oil content according to the oil content-fluorescence intensity relationship model;

[0010] S40: Detect the turbidity value of the solution to be tested, and obtain the standard oil content of the drilling fluid according to the turbidity compensation model.

[0011] Further, the drilling fluid sample was mixed with water at a mass ratio of 1:100.

[0012] Furthermore, the steps for establishing the oil content-fluorescence intensity relationship model are as follows:

[0013] Select the absorbance within 0.1 as the standard drilling fluid sample;

[0014] Irradiating a plurality of standard drilling fluid samples with oil content gradients with an ultraviolet light source, detecting the spectral image of the standard drilling fluid sample with a fluorescence spectrophotometer, and obtaining a plurality of oil content gradient fluorescence intensity images of corresponding wavelengths according to the oil types of the standard drilling fluid sample;

[0015] An oil content-fluorescence intensity fitting function is established based on a plurality of oil content gradient fluorescence intensity images, and an oil content-fluorescence intensity relationship model is obtained based on the corresponding relationship between the oil content-fluorescence intensity fitting functions.

[0016] Furthermore, the steps for establishing the turbidity compensation model are:

[0017] Irradiating a plurality of drilling fluid samples with the same oil content at a turbidity gradient with an ultraviolet light source, detecting the spectral images of the drilling fluid samples with the same oil content by a fluorescence spectrophotometer, and obtaining a plurality of turbidity gradient fluorescence intensity images of corresponding wavelengths according to the oil types of the drilling fluid samples with the same oil content;

[0018] According to the oil content-fluorescence intensity relationship model, the theoretical oil content corresponding to each turbidity gradient is obtained;

[0019] A turbidity compensation model was established based on the difference between the theoretical oil content and the actual oil content corresponding to each turbidity gradient.

[0020] Furthermore, the fluorescence intensity spectrum image is selected within the excitation / emission wavelength range of 280-320nm / 370-470nm.

[0021] The present invention provides a method for detecting the oil content of drilling fluid based on spectral measurement, which has the following beneficial effects:

[0022] The present invention brings the fluorescence values ​​measured under different turbidities back to the vicinity of the baseline after turbidity compensation, and the fluorescence intensity values ​​fluctuate above and below the true value with a small fluctuation range.

[0023] The relative error between the fluorescence intensity after compensation and the reference true value is small, and the compensation relative error is within 2%. The turbidity compensation model can well correct the influence of turbidity changes on the detection of oil concentration in water by fluorescence spectroscopy. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is the principle diagram of fluorescence detection of the present invention;

[0025] Figure 2 It is a three-dimensional fluorescence spectrum of the drilling fluid of the present invention;

[0026] Figure 3 is a contour map of the drilling fluid of the present invention;

[0027] Figure 4 It is a three-dimensional fluorescence spectrum of the drilling fluid sample + emulsifier of the present invention;

[0028] Figure 5 It is a three-dimensional fluorescence spectrum diagram of the emulsifier of the present invention;

[0029] Figure 6 It is a three-dimensional fluorescence spectrum of a drilling fluid sample of the present invention after deducting the emulsifier background;

[0030] Figure 7 It is a three-dimensional fluorescence spectrum of the drilling fluid sample of the present invention;

[0031] Figure 8 It is the subtracted three-dimensional fluorescence spectrum diagram of the present invention;

[0032] Fig. 9 This is the fluorescence spectrum of the drilling fluid sample diluted at a ratio of 1:10 of the present invention;

[0033] Fig.10 This is the fluorescence spectrum of the drilling fluid sample diluted at a ratio of 1:50 of the present invention;

[0034] Fig.11 This is the fluorescence spectrum of the drilling fluid sample diluted at a ratio of 1:100 of the present invention;

[0035] Fig.12 is a graph of the concentration and fluorescence intensity of the drilling fluid sample of the present invention;

[0036] Fig.13 is a graph of the concentration and fluorescence intensity of the drilling fluid sample after turbidity control in the present invention;

[0037] Fig.14 It is a three-dimensional fluorescence spectrum of the drilling fluid sample of the present invention at 0, 10, 20, 30, 40, and 50 NTU;

[0038] Fig.15 The relationship curve of the turbidity fluorescence intensity corresponding to the excitation wavelength of 310nm and the emission wavelength of 354nm of the drilling fluid sample of the present invention;

[0039] Fig.16 The relationship curve of the turbidity fluorescence intensity corresponding to the excitation wavelength of 340nm and the emission wavelength of 412nm of the drilling fluid sample of the present invention;

[0040] Fig.17 This is a comparison chart of the results before and after turbidity compensation of the present invention;

[0041] Fig.18 It is a relative error diagram after turbidity compensation of the present invention. DETAILED DESCRIPTION

[0042] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments to help understand the content of the present invention. The methods used in the present invention are all conventional methods unless otherwise specified; the raw materials and devices used are all conventional commercial products unless otherwise specified.

[0043] The present invention provides a method for detecting the oil content of drilling fluid based on spectroscopy, comprising the following steps:

[0044] The drilling fluid and cuttings samples are mixed evenly and then sampled, and diluted with pure water in proportion to form a certain concentration gradient sample;

[0045] The diluted sample was transferred into a cuvette and placed in a fluorescence spectrophotometer for measurement;

[0046] The excitation wavelength range of the fluorescence spectrophotometer is set to 200-700 nm, and the emission wavelength range is set to 200-900 nm to obtain three-dimensional fluorescence data of the sample;

[0047] Matlab was used to draw three-dimensional fluorescence spectra and analyze the fluorescence intensity and peak characteristics of the samples.

[0048] 1. Selection of fluorescence characteristic peaks

[0049] The three-dimensional fluorescence spectrum of drilling fluid samples is as follows Figure 2 , 3, its characteristic peak position is at the excitation / emission wavelength of 280-320nm / 370-470nm.

[0050] 2. Selection of drilling fluid solvent

[0051] After the drilling fluid sample is stirred evenly, take a sample and dilute it with pure water in proportion to a sample of a certain concentration; at the same time, prepare another sample of the same concentration, add an appropriate amount of emulsifier and mix evenly; prepare a sample of the same sample volume and add the same amount of emulsifier;

[0052] The three samples were transferred into cuvettes and placed in a fluorescence spectrophotometer for measurement;

[0053] The excitation wavelength range of the fluorescence spectrophotometer is set to 200-600nm, and the emission wavelength range is set to 250-650nm to obtain three-dimensional fluorescence data of the sample;

[0054] Matlab was used to draw three-dimensional fluorescence spectra and analyze the fluorescence intensity and peak characteristics of the samples.

[0055] Fluorescence spectra of drilling fluid with emulsifier added and pure emulsifier aqueous solution are shown in Figure 2. Figure 4 As shown in Figure 5, the drilling fluid sample with emulsifier has a strong fluorescence response, and the emulsifier sample has a weak fluorescence at around 300 / 350nm. Figure 4 It is the superposition of the fluorescence of the drilling fluid sample and the fluorescence of the emulsifier. In order to compare with the sample prepared directly with water, the interference of the emulsifier needs to be deducted from the mixed fluorescence.

[0056] The fluorescence spectrum of the drilling fluid sample after deducting the emulsifier is as follows: Figure 6 As shown, the fluorescence spectrum of the sample prepared directly with pure water is as follows Figure 7 As shown, it can be seen that the spectral shapes of the two near the characteristic fluorescence peak of oil are exactly the same.

[0057] In order to test whether the fluorescence intensity of the two has changed, the fluorescence spectrum of the drilling fluid minus the emulsifier is subtracted from the fluorescence spectrum of the drilling fluid and drill cuttings directly prepared with pure water. If the fluorescence intensity after subtraction is zero, it proves that the fluorescence intensities of the two are the same. The subtraction results are shown in Figure 2. Figure 8 As shown in the figure, it can be seen that the fluorescence intensity near the oil fluorescence peak is close to 0 after subtraction, indicating that the shape and fluorescence intensity of the sample fluorescence spectrum have not changed before and after the addition of the emulsifier, that is, the sample directly prepared with water can also achieve a uniform and stable state after adding the emulsifier.

[0058] 3. Selection of drilling fluid dilution ratio

[0059] like Figure 9-11 As shown in the figure, the drilling fluid sample was diluted at a mass ratio of 1:10, and the drilling fluid sample was still relatively mixed, stimulating a certain amount of fluorescence, but there was strong interference from scattered light. After the drilling fluid sample was diluted at a ratio of 1:100, the transmittance of the drilling fluid sample was enhanced, and there was a significant fluorescence peak.

[0060] 4. Establishment of the oil content-fluorescence intensity relationship model

[0061] The drilling fluid samples were tested using a fluorescence sensor. Fig.12 As shown, the linearity is good at low concentrations, but fluorescence saturation occurs at high concentrations.

[0062] Aiming at the problem of fluorescence saturation of drilling fluid samples, a feedback model was proposed using a turbidity sensor to detect the turbidity of the solution. Through experiments, it was found that when the absorbance of the drilling fluid sample was controlled within 0.1, the detection linearity was good. Fig.13 As shown, the fitting determination coefficient is 0.9889 and the detection accuracy is 5.79%.

[0063] 5. Establishment of turbidity compensation model

[0064] Kaolin was used to prepare solution samples with turbidity of 0, 10, 20, 30, 40, and 50 NTU.

[0065] Take the drilling fluid sample and dissolve sodium dodecyl sulfate in the prepared solution sample.

[0066] Excitation wavelength: 200-600nm; Excitation / emission slit: 5 / 10nm; Scanning speed: 1200nm·min -1 ; Scanning band: 250-650nm; Scan the spectrum for automatic instrument calibration. Scan the fluorescence spectrum of the solution sample in the turbidity range of 0 to 50 (interval unit is 5).

[0067] The data detected by the oil-in-water sensor were used to fit the fluorescence intensity at the same excitation / emission point under different turbidity conditions to verify the influence of different turbidities on the detection linearity of the oil-in-water sensor.

[0068] like Fig.14 As shown in the figure, as the turbidity increases, the range of high-intensity fluorescence gradually decreases, and the fluorescence intensity at the same excitation wavelength and emission wavelength also decreases. In order to further verify the law of fluorescence intensity change, the changes in fluorescence intensity of the two groups at the same excitation wavelength and emission wavelength were compared, and these data were fitted. The fitting results are shown in Fig.15 As shown, it is the fluorescence intensity at the excitation wavelength of 310nm and the emission wavelength of 354nm. The fitting function is y=-13.96x+3890, and the correlation coefficient is 0.9723. Fig.16 As shown, the fluorescence intensity at an excitation wavelength of 340 nm and an emission wavelength of 412 nm, the fitting function is y=-9.754x+2288, and the correlation coefficient is 0.9839. It can be seen that the linearity of the two fittings is good.

[0069] It can be seen from the above experiments that the intensity of the fluorescence emission spectrum is negatively correlated with turbidity, and the influence of turbidity cannot be ignored.

[0070] In order to avoid detection errors caused by turbidity interference, the fluorescence intensity of the sample was compensated before being substituted into the oil content-fluorescence intensity relationship model, that is, the fluorescence intensity corresponding to different turbidities was compensated back to the value without turbidity.

[0071] Based on the linear relationship between turbidity and fluorescence intensity, the fluorescence intensity in the range of 0-50NTU is compensated with the fluorescence value of 0 turbidity as the benchmark. The results of the actual value of the fluorescence intensity of the sample before and after turbidity compensation, the predicted value before compensation and the predicted value after compensation are compared. Fig.17As shown in the figure, at 0 turbidity, the measured value of the turbidity solution sample is the real fluorescence value that is not interfered by any other factors, so it can be used as a benchmark. As the turbidity increases, the fluorescence value of the sample gradually decreases and gradually deviates from the original real fluorescence value. The greater the turbidity, the stronger the impact and the greater the deviation. After turbidity compensation, the fluorescence values ​​measured under different turbidities are pulled back to the vicinity of the baseline, and the fluorescence intensity values ​​fluctuate around the real value with a small fluctuation range.

[0072] The relative error between the compensated fluorescence intensity and the reference true value was further calculated. Fig.18 As shown, the relative error of compensation is within 2%, which proves that the influence of turbidity change on the detection of oil concentration in water by fluorescence spectroscopy can be well corrected by the turbidity compensation model.

[0073] However, what is described above is only a specific embodiment of the present invention and should not be used to limit the scope of implementation of the present invention. Therefore, the replacement of equivalent components, or equivalent changes and modifications made according to the scope of protection of the present invention should still fall within the scope covered by the claims of the present invention.

Claims

1. A method for detecting oil content in drilling fluid based on spectroscopy, characterized in that: The following steps are involved: S10: mixing the drilling fluid sample with water and shaking to obtain a solution to be tested; S20: using an ultraviolet light source to illuminate the solution to be tested, detecting a spectral image of the solution to be tested by a fluorescence spectrophotometer, and obtaining a fluorescence intensity of a corresponding wavelength according to the type of oil contained in the drilling fluid; S30: obtaining the current oil content according to the oil content-fluorescence intensity relationship model; S40: Detect the turbidity value of the solution to be tested, and obtain the standard oil content of the drilling fluid according to the turbidity compensation model.

2. The method for detecting oil content in drilling fluid based on spectroscopy according to claim 1, characterized in that: The drilling fluid sample was mixed with water at a mass ratio of 1:

100.

3. The method for detecting oil content in drilling fluid based on spectroscopy according to claim 1, characterized in that: The steps for establishing the oil content-fluorescence intensity relationship model are as follows: Select the absorbance within 0.1 as the standard drilling fluid sample; Irradiating a plurality of standard drilling fluid samples with oil content gradients with an ultraviolet light source, detecting the spectral image of the standard drilling fluid sample with a fluorescence spectrophotometer, and obtaining a plurality of oil content gradient fluorescence intensity images of corresponding wavelengths according to the oil types of the standard drilling fluid sample; An oil content-fluorescence intensity fitting function is established based on a plurality of oil content gradient fluorescence intensity images, and an oil content-fluorescence intensity relationship model is obtained based on the corresponding relationship between the oil content-fluorescence intensity fitting functions.

4. The method for detecting oil content in drilling fluid based on spectroscopy according to claim 3, characterized in that: The steps to establish the turbidity compensation model are: Irradiating a plurality of drilling fluid samples with the same oil content at a turbidity gradient with an ultraviolet light source, detecting the spectral images of the drilling fluid samples with the same oil content by a fluorescence spectrophotometer, and obtaining a plurality of turbidity gradient fluorescence intensity images of corresponding wavelengths according to the oil types of the drilling fluid samples with the same oil content; According to the oil content-fluorescence intensity relationship model, the theoretical oil content corresponding to each turbidity gradient is obtained; A turbidity compensation model was established based on the difference between the theoretical oil content and the actual oil content corresponding to each turbidity gradient.

5. A method for detecting oil content in drilling fluid based on spectroscopy according to any one of claims 1 to 4, characterized in that: The fluorescence intensity spectrum image was selected within the excitation / emission wavelength range of 280-320nm / 370-470nm.

Citation Information

Patent Citations

  • Turbidity compensation method for COD detection based on spectrometry

    CN105352898A

  • Method for eliminating oil content errors by internal standard double section method to be applied to quantitative fluorescent logging technology

    CN106872426A

  • Method for measuring KHP (potassium hydrogen phthalate) content by turbidity compensation ultraviolet-visible spectrophotometry

    CN107167434A

  • Measurement method and device of oil content in rock

    CN107782705A

  • Ultraviolet multiband chromatography test method and device for petroleum fluorescence logging detection

    CN112730361A

Cited By

  • Spectral component detection device for oil-containing liquid

    CN120232863A