Method for identifying upper limit of dilution concentration of high-density crude oil in near infrared spectroscopic analysis

Through linear mixing model and iterative optimization technology, the diluent spectral contribution is removed, and the accuracy of determining the upper limit of dilution concentration in near-infrared spectral detection of crude oil is solved, improving detection accuracy and economic benefits.

CN118980665AActive Publication Date: 2024-11-19NANJING RICHISLAND INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410985553.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-19
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

In the near-infrared spectral detection of crude oil, excessive dilution leads to spectral nonlinearity, affecting detection accuracy. Especially when the number of samples is small or the distribution is uneven, it is difficult to accurately determine the upper limit of dilution concentration of high-density crude oil.

Method used

The linear mixing model was used to remove the spectral contribution of the diluent, and a crude oil reduction spectral data set was constructed, and the response model was established by iteratively selecting a subset of data to determine the upper limit of the dilution ratio concentration. Specific steps include measuring near-infrared spectra of different diluent proportions, removing diluent spectral contributions, polynomial fitting baseline correction, establishing a linear model, iteratively optimizing the inner point set, and determining the upper limit of dilution concentration.

Benefits of technology

The near-infrared spectral detection accuracy of crude oil is improved, the reasonable upper limit of dilution concentration is ensured, the impact of outliers is reduced, and the accuracy and economic benefits of refining and chemical companies in the analysis of the properties of high-density crude oil are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118980665A_ABST
    Figure CN118980665A_ABST
Patent Text Reader

Abstract

The invention discloses a method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis, which aims at solving the problem that the detection precision of near-infrared spectroscopy of crude oil is reduced due to improper selection of dilution concentration, especially spectrum nonlinearity is caused due to over-high concentration, and removing the spectral contribution of a diluent based on a linear mixed model, so as to identify the upper limit of dilution concentration of high-density crude oil. A crude oil spectrum is reduced, and an optimal inner point set is obtained in the iteration process, so that the dilution ratio concentration upper limit is determined. The dilution concentration upper limit is identified by using the method, so that the crude oil near infrared spectrum detection precision can be improved, subsequent crude oil property analysis and processing are facilitated, and the method has an important value for improving the economic benefits of refinery enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of crude oil processing in a refining enterprise, and in particular to a method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectral analysis. Background Art

[0002] my country's refining and petrochemical enterprises process a wide variety of crude oils with different properties. When using near-infrared spectroscopy to analyze the properties of crude oils with higher density, it is usually necessary to dilute the crude oil with solvents such as toluene to improve the fluidity of the crude oil sample in the spectral pretreatment system, thereby facilitating near-infrared spectroscopy detection of crude oil properties.

[0003] Although dilution is beneficial to the detection of crude oil near-infrared spectra, excessive dilution will have adverse effects. In the process of reducing the near-infrared spectrum of crude oil, excessive diluent will cause nonlinearity in the spectrum, affect the accuracy of spectral detection, and reduce the accuracy of crude oil property detection.

[0004] After domestic refining and chemical companies purchase a new high-density crude oil from the international market, they generally need to determine the upper limit of its dilution concentration. In the early stage, we used the 3σ method to determine the upper limit of the dilution concentration ratio (see the invention patent "A method for reconstructing the near-infrared spectrum of heavy crude oil", acceptance number: 202410786075.0), but in practical applications, this method is sometimes affected by outliers, especially when the number of samples is small or the sample distribution is uneven. This method is sometimes difficult to accurately reflect the true situation of the data, which leads to deviations in the results. Therefore, how to find and approach the reasonable upper limit of the dilution concentration while ensuring the fluidity of the crude oil sample has become an important problem that needs to be solved by refining and chemical companies in the near-infrared spectral property analysis of high-density crude oil. Summary of the invention

[0005] In view of the problems existing in the background technology, the present invention discloses a method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectral analysis, which uses a linear mixed model to remove the spectral contribution of the diluent in the crude oil mixture, constructs a crude oil reduction spectral data set, and establishes a response model by iteratively selecting a data subset to obtain an optimal interior point set, thereby determining the upper limit of the dilution ratio concentration. The method has the following steps:

[0006] 1) Use toluene diluents with different concentration ratios to dilute the crude oil to be identified, and change the concentration ratio of the diluent by a modulation amount of 0.05 to obtain N groups of diluted mixtures. The near-infrared spectrum of the mixture is recorded as A m , respectively measure the near infrared spectrum A of each group m,i , i = 1, 2, ..., N, and measure the near infrared spectrum A of the diluent d ;

[0007] 2) Remove the near infrared spectrum A of the i-th group of mixturesm,i The diluent spectrum contribution in the crude oil is restored to the near-infrared spectrum A of this group h,i , as follows:

[0008]

[0009] Among them A h,i is the absorbance of the crude oil reduced from the i-th mixture at wave number point j, A m,i (j) is the absorbance of the mixture at wave number point j, A d,i (j) is the absorbance of the diluent at wave number point j, w i is the diluent concentration ratio, and the spectral data information A of each group of crude oil is restored h,i , forming a data set S;

[0010] 3) Perform polynomial fitting baseline correction on the crude oil spectrum in S;

[0011] 4) Randomly select n groups of crude oil spectral data from S to form a subset S1, where n≥2, and n=3 is generally taken;

[0012] 5) Establish a linear model M1 for the spectral data in S1:

[0013] A h (j) = A h,0 (j)+c(j)*w

[0014] Where A h,0 (j) represents the true absorbance at wave number point j, c(j)*w represents the absorbance deviation at wave number point j, c(j) and A h,0 (j) is obtained by least squares, j = 1, 2, ..., J, J is the number of wave points, and the model is expressed in vector form as A h =A h,0 +C*w, C=[c(1),c(2),...,c(J)] T ;

[0015] 6) Use model M1 to predict all spectral samples in the data set S, and the predicted spectral data is A h,pre , calculate and predict the spectrum A h,pre With the reduction spectrum A h The error E = || A h -A h,pre ||, E>E thr The current spectrum is considered as an internal point of model M1, otherwise it is considered as an external point. thr is the error threshold, which is obtained by the following formula:

[0016]

[0017] The coefficient a is 2.5 to 4.5;

[0018] 7) The spectra corresponding to all interior points constitute the interior point set Represents the consistent set of S1, and the optimal model is M best , corresponding to the optimal interior point set If this is the first iteration, then M best =M1, Otherwise compare and The number of internal points of The number of inner points is greater than Then update M best and

[0019] 8) Repeat 4) to 7) until the number of iterations k ≥ K, or the proportion of inliers exceeds the threshold t, and the optimal inlier set is considered The highest concentration ratio of the spectrum data is the dilution upper limit of the current diluent and crude oil, denoted as w best,max , where the internal point ratio threshold t is 85% to 95%, and the maximum number of iterations K is obtained by the following formula:

[0020]

[0021] Where p is the probability that all randomly selected points in the iteration process are inliers, which is generally taken as 0.95, and ω is the proportion of inliers in the data set. The adaptive iteration method is used for estimation, that is, the inlier proportion of the current model is used to replace the actual inlier proportion in each iteration to estimate the maximum number of iterations, and the maximum number of iterations K is updated after each iteration.

[0022] Beneficial effects:

[0023] The present invention discloses a method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectral analysis. The method aims at reducing the detection accuracy of crude oil near-infrared spectrum due to improper selection of dilution concentration, especially the problem of spectral nonlinearity caused by excessive concentration. Based on a linear mixed model, the contribution of diluent spectrum is removed, the crude oil spectrum is restored, and the optimal internal point set is obtained in the iterative process, so as to determine the upper limit of dilution ratio concentration. The upper limit of dilution concentration can be identified by this method, thereby improving the detection accuracy of crude oil near-infrared spectrum, which is beneficial to the subsequent analysis and processing of crude oil properties, and has important value for improving the economic benefits of refining enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a flow chart of a method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis of the present invention;

[0025] Figure 2 The near infrared spectra of toluene diluent and each group of diluted mixtures in the embodiment of the present invention;

[0026] Figure 3 The near infrared spectrum of the restored Jerno crude oil in the embodiment of the present invention;

[0027] Figure 4 It is an iterative process of an embodiment of the present invention;

[0028] Figure 5 These are the error results of each group corresponding to the optimal model after iteration in the embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. The implementation effect of the method in the process of identifying the upper limit of crude oil dilution concentration is described by a specific operation process. This implementation case is implemented on the premise of the technical solution of the present invention, but the protection scope of the present invention is not limited to the following embodiments.

[0030] The present invention takes a certain refining enterprise as an example. The enterprise recently purchased the Jeno crude oil from Africa. The crude oil has a high density of 890kg / cm 3 (20°C). In order to accurately measure the near infrared spectrum of the Jerno crude oil for property analysis, the technology of the present invention is used to dilute it and then identify the upper limit of the dilution concentration of the crude oil. The steps of the method are as follows: Figure 1 As shown, the specific process is as follows:

[0031] 1) Toluene solvents with different concentration ratios are used to dilute the Jenuo crude oil to be identified. The concentration ratio range is 0.15-0.85. The concentration ratio of the diluent is changed by a modulation amount of 0.05 to obtain N groups of diluted mixtures. For this embodiment, N=15. The toluene concentration and the modulation amount of each group are shown in Table 1. The near-infrared spectrum of the mixture is recorded as A m , respectively measure the near infrared spectrum A of each group m,i , i=1,2,...,N, and measure the near infrared spectrum A of toluene d The near infrared spectra of the mixture and toluene are as follows Figure 2 Place

[0032] Table 1 Toluene concentration in each group

[0033]

[0034]

[0035] 2) Remove A m The diluent spectrum contribution in the crude oil is restored to the near-infrared spectrum A h , as follows:

[0036]

[0037] Among them A h (j) is the absorbance of the crude oil obtained from the mixture at wave number point j, A m (j) is the absorbance of the mixture at wave number point j, A d (j) is the absorbance of the diluent at wave number point j, w is the toluene concentration ratio, and the spectral data information A of each group of crude oil is restored from the mixture with different dilution ratios. h,i , forming a data set S, the results are as follows Figure 3 As shown;

[0038] 3) Select the near infrared spectrum range of 4000~4800cm -1 band, the crude oil spectrum in S was subjected to baseline correction using polynomial fitting to eliminate the influence of baseline drift;

[0039] 4) randomly selecting n groups of crude oil spectral data from S to form a subset S1, where n≥2, and in this embodiment n=3;

[0040] 5) Establish a linear model M1 for the spectral data in S1:

[0041] A h (j) = A h,0 (j)+c(j)*w

[0042] Where A h,0 (j) represents the true absorbance at wave number point j, c(j)*w represents the absorbance deviation at wave number point j, c(j) and A h,0 (j) is obtained by least squares, j = 1, 2, ..., J, J is the number of wave points, in this embodiment J = 426, the model is expressed in vector form as A h =A h,0 +C*w, C=[c(1),c(2),...,c(J)] T ;

[0043] 6) Use model M1 to predict all spectral samples in the data set S, and the predicted spectral data is A h,pre , calculate and predict the spectrum A h,pre With the reduction spectrum A h The error E = || A h -A h,pre ||, E>E thr The current spectrum is considered as an internal point of model M1, otherwise it is considered as an external point. thr is the error threshold, which is obtained by the following formula:

[0044]

[0045] The coefficient a is 2.5 to 4.5, and in this embodiment, the coefficient is 3.8;

[0046] 7) The spectra corresponding to all interior points constitute the interior point set Represents the consistent set of S1, and the optimal model is M best , corresponding to the optimal interior point set If this is the first iteration, then M best =M1, Otherwise compare and The number of internal points of The number of inner points is greater than Then update M best and

[0047] 8) Repeat 4) to 7) until the number of iterations k ≥ K, or the proportion of inliers exceeds the threshold t, and the optimal inlier set is considered The highest concentration ratio of the spectrum data is the dilution upper limit of the current diluent and crude oil, denoted as w best,max , where the internal point ratio threshold t is 93%, and the maximum number of iterations K is obtained by the following formula:

[0048]

[0049] In the formula, the inlier probability p is taken as 0.95, ω is the inlier ratio in the data set, and the adaptive iterative method is used to estimate the prior value, that is, the inlier ratio of the current model is used to replace the actual inlier ratio in each iteration, so as to estimate the maximum number of iterations, and the maximum number of iterations K is updated after each iteration.

[0050] The iterative process is as follows Figure 4 As shown, it can be seen that the iteration ends when k=9, and the optimal model M best The interior point ratio is t = 0.80, using M best The error between the predicted spectrum and the restored spectrum is shown in Figure 5 The errors of groups 13, 14, and 15 exceeded the threshold, and it was determined that the upper limit of the dilution concentration of the company's Geno crude oil using toluene dilution was 0.70.

[0051] To further demonstrate the effectiveness of this method, the method was used to obtain the upper limit of the concentration of toluene-diluted Jeno crude oil, and the reduction spectrum in the group with a concentration less than the upper limit was used to detect the properties of the Jeno crude oil. The measured properties were consistent with the results of conventional laboratory manual tests, and the deviations of key properties such as naphtha yield and acid value were less than 5%. For the group exceeding the upper limit of concentration, the properties of the Jeno crude oil were also tested, and the measured properties were compared with the test results. There was a phenomenon that the property deviation was greater than 5% and the deviation increased with the increase of concentration. This shows that this method has good effectiveness and can accurately identify the upper limit of the concentration of high-density crude oil dilution.

Claims

1. A method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis, characterized in that Based on the linear mixed model, the spectral contribution of the diluent in the crude oil mixture is removed, and the crude oil reduction spectral data set is constructed. Then, by iteratively selecting data subsets, a model is established to obtain the optimal internal point set, thereby determining the upper limit of the dilution ratio concentration. The following steps are included: 1) Use diluents of different concentration ratios to dilute the crude oil to be identified, and obtain N groups of diluted mixtures. The near infrared spectrum of the mixture is recorded as A m , respectively measure the near infrared spectrum A of each group m,i , i = 1, 2, ..., N, and measure the near infrared spectrum A of the diluent d ; 2) Remove the near infrared spectrum A of the i-th group of mixtures m,i The diluent spectrum contribution in the crude oil is restored to the near-infrared spectrum A of this group h,i , as follows: Among them A h,i is the absorbance of the crude oil reduced from the i-th mixture at wave number point j, A m,i (j) is the absorbance of the mixture at wave number point j, A d,i (j) is the absorbance of the diluent at wave number point j, w i is the diluent concentration ratio, and the spectral data A of each group of crude oil is restored h,i , forming a data set S; 3) Perform polynomial fitting baseline correction on the crude oil spectrum in S; 4) Randomly select n groups of crude oil spectral data from S to form a subset S1; 5) Establish a linear model M1 for the spectral data in S1: A h (j)=A h,0 (j)+c(j)*w Where A h,0 (j) represents the true absorbance at wave number point j, c(j) and A h,0 (j) is obtained by least squares, j=1,2,...,J, J is the number of wave points, and the model is expressed in vector form as A h =A h,0 +C*w, C=[c(1),c(2),...,c(J)] T ; 6) Use model M1 to predict all spectral samples in the data set S, and the predicted spectral data is A h,pre , calculate and predict the spectrum A h,pre With the reduction spectrum A h The error E = || A h -A h,pre ||, E>E thr The current spectrum is considered as an internal point of model M1, otherwise it is considered as an external point. thr is the error threshold; 7) The spectra corresponding to all interior points constitute the interior point set Represents the consistent set of S1, and the optimal model is M best , corresponding to the optimal interior point set If this is the first iteration, then M best =M1, Otherwise compare and The number of internal points of The number of inner points is greater than Then update M best and 8) Repeat 4) to 7) until the number of iterations k ≥ K, or the proportion of inliers exceeds the threshold t, and the optimal inlier set is considered The highest concentration ratio of the spectrum data is the dilution upper limit of the current diluent and crude oil, denoted as w best,max .

2. The method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis according to claim 1, characterized in that Toluene was selected as the diluent, and the concentration ratio of the diluent was changed by an adjustment variable of 0.

05.

3. The method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis according to claim 1, characterized in that The number of spectra in a subset n≥2.

4. The method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis according to claim 3, characterized in that The number of spectra in the subset is n=3.

5. The method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis according to claim 1, characterized in that Error threshold E thr It is obtained by the following formula: The coefficient a is between 2.5 and 4.

5.

6. The method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis according to claim 1, characterized in that The maximum number of iterations K is obtained by the following formula: Where p is the probability that all randomly selected points in the iteration process are inliers, ω is the proportion of inliers in the data set, n is the number of spectra in the subset, and the maximum number of iterations K is updated after each iteration.

7. The method for calculating the maximum number of iterations according to claim 6, characterized in that p is taken as 0.

95.

8. The method for calculating the maximum number of iterations according to claim 6, characterized in that An adaptive iterative method is used to estimate ω, that is, the inlier ratio of the current model is used to replace the actual inlier ratio in each iteration, thereby estimating the maximum number of iterations.

9. The method for identifying the upper limit of dilution concentration of high-density crude oil in near-infrared spectroscopy analysis according to claim 1, characterized in that The inlier ratio threshold t is set between 85% and 95%.

Citation Information

Patent Citations

  • Method for reconstructing near infrared spectrum of heavy crude oil

    CN118758706A

  • Standard gas dilution apparatus dilution error detection device and standard gas dilution apparatus dilution error detection method based on infrared gas analyzer

    CN108426848A

  • Substrate dilution method for reducing self-absorption effect of laser induced breakdown spectrum

    CN108918474A

  • Crude oil blending method directly based on near infrared spectrum

    CN114965347A

  • Method for detecting fraction properties of mixed oil

    CN116124732A