A method for monitoring the mass ratio of saturated acid for preparing diesel antiwear agent

By evaluating the local change rate and peak attenuation in the chromatography of Qi Phase chromatography, reverse iterative adjustment of the window size, solve the problem of the impact of the accuracy of the data noise of the data noise in the diesel anti -abrasion, and realize the high accuracy saturated acid quality ratio ratio monitor.

CN118914437BActive Publication Date: 2025-01-24YIXING XINGUANG BAOYI CHEM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411413793.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-24
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

In the prior art, fixed noise exists in the gas chromatographic data of diesel antiwear agents, which affects the accuracy of the saturated acid mass ratio monitoring results.

Method used

By obtaining the local changes and peaks of the sampling point in gas phase chromatography, the filtering effect is evaluated, and the size of the initial window is adjusted through the filtering effect reverse iteration to accurately obtain the filtering window of each sampling point, so as to obtain the filtering gas phase phase phase phase after the filtering gas phase phase phase. Chromatographic data obtains accurate saturated acid quality ratio ratio monitoring results.

Benefits of technology

Effectively improve the accuracy of saturated acid quality than the monitoring result of the diesel anti -wear agent, and avoids the filter error caused by excessive or too small the window.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914437B_ABST
    Figure CN118914437B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data processing, and more specifically, to a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent. The method comprises: filtering the sampling points according to the length of the initial window obtained by the local change rate of the sampling points to obtain initial gas chromatography data; acquiring the attenuation degree of the peak in the peak area of ​​the initial gas chromatography data to obtain the denoising evaluation index of the initial gas chromatography data; calculating the window adjustment weight of the sampling points; adjusting the length of the initial window according to the window adjustment weight of the sampling points and filtering the initial window to obtain the denoising evaluation index of the initial gas chromatography data, repeating the above steps until the denoising evaluation index before and after the length adjustment of the initial window is consistent, obtaining the filtered gas chromatography data, obtaining the saturated acid mass ratio monitoring result through the filtered gas chromatography data, and effectively improving the accuracy of the saturated acid mass ratio monitoring result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing and more specifically to a method for monitoring the mass ratio of saturated acid for preparing diesel antiwear agent. Background Art

[0002] Diesel anti-wear agent is an additive that can be used to improve the lubrication properties of diesel fuel and prevent engine parts from reducing their service life due to wear during operation. In the preparation process of diesel anti-wear agent, it is very important to monitor the mass ratio of saturated acid, which is one of the key components of anti-wear agent and can form a protective film on the metal surface to reduce friction and wear. If the saturated acid ratio is too high or too low, it will affect the effect of diesel anti-wear agent. Therefore, accurate monitoring of the mass ratio of saturated acid can ensure that the diesel anti-wear agent achieves the best lubrication effect and stability, thereby effectively extending the service life of the engine and improving its overall performance.

[0003] The prior art mainly tends to evaluate the quality of data through the chromatographic data of the sample. For example, the patent application document with publication number CN113672606A discloses a method for evaluating the quality of oil chromatography monitoring data. The method obtains the time series data of the oil chromatography monitoring data; performs accuracy and consistency evaluation after anomaly detection and anomaly point verification to obtain accuracy and consistency scores; calculates the weight of each evaluation dimension indicator according to the hierarchical analysis method, and completes the quality evaluation of the online monitoring data of dissolved gas in oil by combining the scores of each indicator.

[0004] Based on this, the chromatographic data of the diesel antiwear agent can be obtained for mass analysis to obtain the saturated acid mass ratio in the diesel antiwear agent. However, when obtaining the chromatographic data of the diesel antiwear agent, due to factors such as the instrument itself and the environment, fixed noise will be present in the collected chromatographic data, affecting the accuracy of the saturated acid mass ratio monitoring results. Therefore, how to accurately obtain the saturated acid mass ratio monitoring results in the diesel antiwear agent is a problem that needs to be solved by those skilled in the art. Summary of the invention

[0005] In order to solve the above technical problem of how to accurately obtain the monitoring result of the saturated acid mass ratio in the diesel antiwear agent, the present invention provides a saturated acid mass ratio monitoring method for the preparation of diesel antiwear agent, which comprises the following steps:

[0006] Obtain gas chromatography data of diesel antiwear agent, wherein the gas chromatography data contains multiple sampling points; obtain the length of the initial window through the local change rate of the sampling points, and the local change rate is negatively correlated with the length of the initial window; filter the sampling points through the length of the initial window to obtain initial gas chromatography data; obtain continuous peak areas with upper envelopes greater than a preset threshold in the initial gas chromatography data, take the maximum peak in each peak area as the peak of the peak area, determine the attenuation degree of the peak in the peak area, and obtain a denoising evaluation index of the initial gas chromatography data, wherein the denoising evaluation index is negatively correlated with the attenuation degree; obtain the possibility of the sampling point belonging to the peak in each peak area through the distance between the sampling point and the peak in each peak area, and calculate the window adjustment weight of the sampling point:

[0007] ; In the formula, represents the window adjustment weight of the i-th sampling point, Indicates the number of continuous peak regions in the initial gas chromatography data whose upper envelope is greater than the preset threshold. Indicates the possibility that the i-th sampling point belongs to the peak in the j-th peak area, represents the local change rate of the i-th sampling point in the initial gas chromatography data, Indicates the attenuation degree of the peak in the j-th peak area; adjusts the length of the initial window by the window adjustment weight of the sampling point and then performs filtering processing to obtain the denoising evaluation index of the initial gas chromatography data, repeats the above steps until the denoising evaluation index before and after the initial window length adjustment is consistent, and obtains the filtered gas chromatography data, and obtains the saturated acid mass ratio monitoring result through the filtered gas chromatography data.

[0008] The present invention takes into account that when the initial window of diesel antiwear agent gas chromatography data is not well selected, there may be over-filtering or under-filtering. Therefore, the filtering effect is evaluated by obtaining the local change rate of the sampling points and the attenuation degree of the peak in the initial gas chromatography data, and the size of the initial window is adjusted by reverse iteration through the filtering effect. The filtering window of each sampling point can be accurately obtained, and the filtering error caused by the window being too large or too small is effectively avoided. Therefore, the saturated acid mass ratio monitoring result can be obtained based on the accurate filtering result, and the accuracy of the obtained saturated acid mass ratio monitoring result is effectively improved.

[0009] According to a method for monitoring the mass ratio of saturated acid for the preparation of diesel anti-wear agent provided by the present invention, the gas chromatography data of the diesel anti-wear agent is obtained, which also includes: collecting the voltage values ​​corresponding to each retention time of the diesel anti-wear agent through a gas chromatograph analyzer, and taking the points composed of the retention time and the corresponding voltage values ​​as sampling points to obtain the gas chromatography data of the diesel anti-wear agent.

[0010] According to a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided by the present invention, the length of the initial window is obtained by the local change rate of the sampling point, including: taking the voltage value variance of the sampling point and the adjacent sampling points on the left and right sides as the change index of the sampling point; determining the local change rate of the sampling point, wherein the local change rate is positively correlated with the change index; obtaining the mean of the absolute difference between the retention time corresponding to each maximum point and the next maximum point in the upper envelope of the gas chromatography data to obtain the envelope average maximum interval of the gas chromatography data; and determining the length of the initial window of the sampling point: ; In the formula, represents the length of the initial window of the i-th sampling point, represents the local change rate of the i-th sampling point, Represents the envelope average maximum interval of gas chromatography data.

[0011] The present invention takes into account that the greater the absolute difference between the retention time corresponding to each maximum point and the next maximum point in the upper envelope of the gas chromatography data, the better the separation between the components, the easier it is to distinguish, and the greater the data change. Based on this, the present invention uses the envelope average maximum interval as the length of the reference window of all sampling points to avoid excessive peak distortion caused by excessive window length; and then adjusts the length of the reference window by the local change rate of each sampling point to accurately obtain the length of the initial window of each sampling point.

[0012] According to a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided by the present invention, the local change rate of the sampling point satisfies the relationship: ;

[0013] In the formula, represents the local change rate of the i-th sampling point, Represents the total number of sampling points in the gas chromatography data, represents the change index of the i-th sampling point, represents the ordinal number of the i-th sampling point, Indicates the gas chromatography data The ordinal number of the sampling points, represents the linear normalization function, Represents an exponential function with base e.

[0014] According to a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided by the present invention, the attenuation degree of the peak in the peak region satisfies the relationship:

[0015] ;

[0016] In the formula, represents the attenuation degree of the peak in the j-th peak area, represents the voltage value corresponding to the peak in the j-th peak area in the gas chromatography data, represents the voltage value corresponding to the peak in the j-th peak region in the initial gas chromatography data, Represents the base 10 logarithmic function.

[0017] According to a method for monitoring the mass ratio of saturated acids for preparing diesel antiwear agents provided by the present invention, the denoising evaluation index of the initial gas chromatographic data is obtained, comprising: obtaining the voltage value variance of the initial gas chromatographic data as a fluctuation index of the initial gas chromatographic data; and calculating the denoising evaluation index of the initial gas chromatographic data:

[0018] ;

[0019] In the formula, represents the denoising evaluation index of the initial gas chromatography data, represents the volatility index of the initial gas chromatography data, Indicates the number of peak regions in the initial gas chromatography data whose upper envelope is greater than the preset threshold. Indicates the attenuation degree of the peak in the j-th peak area.

[0020] The present invention provides a calculation formula for an accurate denoising evaluation index of initial gas chromatography data, and can accurately evaluate the filtering effect of the initial gas chromatography data by combining the fluctuation index of the initial gas chromatography data and the attenuation degree of the peak in the peak area.

[0021] According to a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided by the present invention, the possible degree to which the sampling point belongs to the peak in each peak area satisfies the relationship:

[0022] ;

[0023] In the formula, Indicates the possibility that the i-th sampling point belongs to the peak in the j-th peak area, represents the voltage value corresponding to the peak in the j-th peak region in the initial gas chromatography data, represents the ordinal number of the i-th sampling point, Indicates the ordinal number of the sampling point corresponding to the peak in the j-th peak area, represents the linear normalization function, Represents an exponential function with base e.

[0024] According to a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided by the present invention, the saturated acid mass ratio monitoring result is obtained through the filtered gas chromatography data, comprising: dividing the area in the filtered gas chromatography data where the upper envelope is greater than a preset threshold by a minimum point to obtain a plurality of peak areas and a retention time period corresponding to each peak area; obtaining the saturated acid and the corresponding standard retention time period in a retention time comparison table, and obtaining the peak area corresponding to the saturated acid through a comparison result between the retention time period and the standard retention time period; obtaining the mass of the saturated acid through a comparison result between the peak area corresponding to the saturated acid and a peak area-mass standard curve; and obtaining the saturated acid mass ratio monitoring result through a ratio of the mass of the saturated acid to the total mass of the diesel antiwear agent.

[0025] The present invention can accurately obtain the saturated acid mass ratio by comparing each component in the filtered gas chromatography data with the standard curve, thereby effectively improving the accuracy of the obtained saturated acid mass ratio monitoring result.

[0026] The present invention has the following beneficial effects:

[0027] Based on the above technical scheme, the present invention evaluates the filtering effect by obtaining the local change rate of the sampling points and the attenuation degree of the peak in the initial gas chromatography data, and adjusts the size of the initial window through reverse iteration of the filtering effect, so as to accurately obtain the filtering window of each sampling point, and effectively avoid the filtering error caused by the window being too large or too small, so that the saturated acid mass ratio monitoring result can be obtained based on the accurate filtering result, which effectively improves the accuracy of the obtained saturated acid mass ratio monitoring result. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0029] Figure 1 A schematic flow chart of a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided by an embodiment of the present invention;

[0030] Figure 2 A schematic diagram of the relationship between a peak area and a peak provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0032] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0033] It should be noted that gas chromatography can separate different components in a complex mixture. It does this by selecting appropriate stationary phases and mobile phases so that different components have different residence times in the chromatographic column, i.e., the retention time of the components, thereby achieving component separation; by comparing the retention time with that of standard substances, each component in the mixture can be identified; by measuring the peak area or peak height and comparing it with the peak area-mass standard curve, the content of each component in the mixture can be quantitatively determined. Based on this, the embodiment of the present invention obtains the gas chromatography data of the diesel antiwear agent for analysis, thereby obtaining the saturated acid mass ratio in the diesel antiwear agent, and can obtain the saturated acid mass ratio in the diesel antiwear agent. However, when obtaining the chromatographic data of the diesel antiwear agent, fixed noise may exist in the collected chromatographic data due to factors such as the instrument itself and the environment. Such fixed noise is relatively uniform in time distribution, affecting the accuracy of the saturated acid mass ratio monitoring results.

[0034] Based on this, the embodiment of the present invention provides a method for monitoring the mass ratio of saturated acid used in the preparation of diesel antiwear agent. The method performs filtering through a window, obtains the data fluctuation degree and the attenuation degree of the peak value in the filtered gas chromatography data to evaluate the filtering effect, iteratively adjusts the window until the optimal window size is obtained and obtains the gas chromatography data after filtering. The saturated acid mass ratio monitoring result is obtained through the gas chromatography data of the diesel antiwear agent obtained after filtering, thereby effectively improving the accuracy of the saturated acid mass ratio monitoring result in the diesel antiwear agent. Please refer to Figure 1 As shown, Figure 1 A schematic flow chart of a method for monitoring the mass ratio of saturated acid for preparing a diesel antiwear agent provided in an embodiment of the present invention, the method specifically comprising the following steps:

[0035] S1: Obtain gas chromatography data of diesel anti-wear agent, the gas chromatography data contains multiple sampling points; the length of the initial window is obtained by the local change rate of the sampling points.

[0036] It should be noted that the presence of noise may change the starting point and end point of the chromatographic peak, resulting in a deviation between the retention time and the true value, which in turn affects the accuracy of the component comparison table. In addition, noise will interfere with the accurate calculation of the chromatographic peak area. The peak area is a key parameter in chromatographic quantitative analysis, and its error will directly affect the accuracy of the quantitative results. By setting an initial window for each sampling point and then performing filtering, the impact of noise on the saturated acid mass ratio monitoring results can be effectively reduced. However, the information contained in each sampling point is different, and accurate filtering cannot be achieved using a fixed window length. A window length that is too small may result in poor filtering effect, and noise still exists in the data; a window length that is too large may result in excessive filtering, resulting in distortion of the chromatographic peak.

[0037] Based on this, an embodiment of the present invention obtains the local change rate of each sampling point to obtain the length of its initial window, obtains initial gas chromatography data based on the length of the initial window, and adjusts the length of the initial window by the peak attenuation degree and data fluctuation degree in the initial gas chromatography data, wherein the local change rate is used to characterize the fluctuation degree of the sampling point.

[0038] For example, in an embodiment of the present invention, gas chromatography data of diesel anti-wear agent is obtained, which also includes: collecting voltage values ​​corresponding to each retention time of the diesel anti-wear agent through a gas chromatograph analyzer, taking the points composed of the retention time and the corresponding voltage values ​​as sampling points, and obtaining the gas chromatography data of the diesel anti-wear agent composed of each sampling point.

[0039] Specifically, during the preparation process of diesel anti-wear agent, a sample of diesel anti-wear agent is collected, and a collection frequency is set for a gas chromatograph according to actual needs, and the collection frequency can be 10 Hz. Gas chromatography data of diesel anti-wear agent is obtained, and the retention time corresponding to the sampling point is used as the abscissa, and the voltage value corresponding to the sampling point is used as the ordinate to construct a waveform diagram of the gas chromatography data of diesel anti-wear agent.

[0040] After the gas chromatography data of the diesel antiwear agent is obtained based on the above method, the change of each sampling point in the gas chromatography data of the diesel antiwear agent can be further analyzed to obtain the length of its initial window.

[0041] For example, in an embodiment of the present invention, when the length of the initial window is obtained by the local change rate of the sampling point, the voltage value variance of the sampling point and the adjacent sampling points on the left and right sides can be used as a change index of the sampling point; the local change rate of the sampling point is determined, the local change rate is positively correlated with the change index, and the local change rate is negatively correlated with the length of the initial window; the mean of the absolute difference between the retention time corresponding to each maximum point and the next maximum point in the upper envelope of the gas chromatography data is obtained to obtain the envelope average maximum interval of the gas chromatography data; and the length of the initial window of the sampling point is determined.

[0042] It should be noted that for the gas chromatography data of diesel anti-wear agent, the more drastic the data changes, the smaller the window length needs to be set to avoid loss of data details; the more gradual the data changes, the larger the window length needs to be set to improve the filtering smoothing effect.

[0043] Based on this, the present invention obtains the voltage value variance of each sampling point and the sampling points on both sides as the change index of the sampling point to characterize the local change of the sampling point; and uses the ordinal difference between the sampling point and other sampling points in the gas chromatography data as the weight of the change index to obtain the local change rate of the sampling point.

[0044] For example, in the embodiment of the present invention, the local change rate of the sampling point is determined, and the specific relationship can be as follows:

[0045] ;

[0046] In the formula, represents the local change rate of the i-th sampling point, Represents the total number of sampling points in the gas chromatography data, Indicates The change index of each sampling point, represents the ordinal number of the i-th sampling point, Indicates the gas chromatography data The ordinal number of the sampling points, represents the linear normalization function, Represents an exponential function with base e.

[0047] In the above formula, Indicates the relationship between the i-th sampling point and the The ordinal difference of the sampling points. The larger the value, the closer the i-th sampling point is to the The larger the distance between the sampling points, the The smaller the value, the smaller the contribution of the change index of the i-th sampling point to determining the local change rate of the i-th sampling point; the smaller the value, the closer the i-th sampling point is to the i-th sampling point. The smaller the distance between sampling points, the The greater the contribution of the change index of the i-th sampling point to determining the local change rate of the i-th sampling point.

[0048] Based on the above formula, the local change rate of each sampling point can be obtained. The higher the local change rate of the sampling point, the higher the possibility that data details exist in the local range of the sampling point, and the smaller the length of the initial window needs to be set. That is, the length of the initial window of each sampling point can be determined based on the local change rate of each sampling point.

[0049] It should be further explained that the upper envelope refers to the curve or path connecting all peaks, which can reflect the overall change trend of the data. The relative separation degree of different components on the chromatographic column can be reflected through the average maximum interval of the envelope of gas chromatography data. The larger the absolute difference between the retention time corresponding to each maximum point and the next maximum point in the upper envelope, the better the separation between the components, the easier it is to distinguish, and the greater the data change.

[0050] Based on this, the envelope average maximum interval can be used as the length of the reference window for all sampling points to avoid excessive distortion of the peaks caused by too large a window length; the length of the reference window is then adjusted according to the local change rate of each sampling point to obtain the length of the initial window of each sampling point.

[0051] For example, in the embodiment of the present invention, the length of the initial window of sampling points is determined, and the specific details can be referred to the following relationship:

[0052] ;

[0053] In the formula, represents the length of the initial window of the i-th sampling point, represents the local change rate of the i-th sampling point, Represents the envelope average maximum interval of gas chromatography data.

[0054] After the length of the initial window of each sampling point is obtained based on the above steps, the length of the initial window of each sampling point in the gas chromatography data can be used in the filtering algorithm to obtain the initial gas chromatography data after the initial filtering.

[0055] S2: Filter the sampling points by the length of the initial window to obtain initial gas chromatography data; obtain continuous peak areas in the initial gas chromatography data whose upper envelope is greater than a preset threshold, take the maximum peak in each peak area as the peak of the peak area, determine the attenuation degree of the peak in the peak area, and obtain the denoising evaluation index of the initial gas chromatography data.

[0056] It should be noted that after obtaining the length of the initial window of each sampling point based on the above steps, the initial gas chromatography data can be obtained. However, the initial window obtained based on the above steps is not applicable to all sampling points. Based on this, the denoising evaluation index of the filtered initial gas chromatography data can be obtained to evaluate the filtering effect of the initial window.

[0057] The filtering method may be Gaussian filtering, median filtering, SG smoothing filtering (Savitzky-Golay smoothing filtering, SG smoothing filtering for short), etc., which may be set according to actual needs. Preferably, the embodiment of the present invention takes the example of filtering the sampling points by SG smoothing filtering to obtain initial gas chromatography data.

[0058] Specifically, the initial window of the sampling point is constructed with the current sampling point as the end, the sampling points in the initial window are fitted using the least square method, and the value of the fitted polynomial at the central sampling point is used as the output value of the current sampling point after filtering.

[0059] The specific step of using the length of the initial window to filter the sampling points in the filtering algorithm can be implemented in an existing manner, and the embodiment of the present invention will not be described in detail here.

[0060] Based on the above method, after filtering the sampling points through the length of the initial window to obtain the initial gas chromatography data, the fluctuation index of the initial gas chromatography data and the attenuation degree of the peak can be analyzed to obtain the denoising evaluation index of the initial gas chromatography data; wherein, the denoising evaluation index of the initial gas chromatography data is negatively correlated with the attenuation degree.

[0061] It should be further explained that the peak area is the starting point and end point of the chromatographic peak, and the peak in the peak area is the maximum amplitude in the peak area. The higher the peak, the greater the possibility that the corresponding peak area is a component in the diesel anti-wear agent, and the greater the possibility that the sampling point in the peak area belongs to the component in the diesel anti-wear agent, so it is necessary to avoid signal distortion as much as possible during filtering, and for the sampling points that are not in the peak area, the filtering strength needs to be increased to eliminate noise.

[0062] Based on this, the embodiment of the present invention obtains continuous peak regions in the initial gas chromatography data whose upper envelope is greater than a preset threshold, regards such peak regions as peak regions with greater component probability, and records the number of peak regions in the initial gas chromatography data whose upper envelope is greater than the preset threshold as , calculate the attenuation degree of its peak.

[0063] The preset threshold value can be 5, which can be set according to actual needs. Figure 2 As shown, Figure 2 A schematic diagram of the relationship between a peak area and a peak is provided for an embodiment of the present invention, wherein the straight line is a threshold line, the continuous area circled by an arc that is larger than the threshold line is the peak area, the maximum peak in the peak area is the peak of the peak area, and the number of peak areas in the schematic diagram is 3.

[0064] By way of example, in an embodiment of the present invention, when determining a denoising evaluation index of initial gas chromatography data, the voltage value variance of the initial gas chromatography data can be obtained as a fluctuation index of the initial gas chromatography data, and then the attenuation degree of the peak in the peak area is obtained, and the denoising evaluation index of the initial gas chromatography data is obtained by the fluctuation index of the initial gas chromatography data and the attenuation degree of the peak in the peak area; wherein the denoising evaluation index of the initial gas chromatography data is negatively correlated with the fluctuation index, and negatively correlated with the attenuation degree of the peak in the peak area.

[0065] For example, the attenuation degree of the peak in the peak region is determined, and the details can be referred to the following relationship:

[0066] ;

[0067] In the formula, represents the attenuation degree of the peak in the j-th peak area, represents the voltage value corresponding to the peak in the j-th peak area in the gas chromatography data, represents the voltage value corresponding to the peak in the j-th peak region in the initial gas chromatography data, Represents the base 10 logarithmic function.

[0068] In the above formula, It represents the ratio of the voltage values ​​before and after the peak filtering in the j-th peak area. The larger the value is, the greater the difference in the voltage values ​​before and after the peak filtering in the j-th peak area, and the greater the corresponding attenuation degree is; conversely, the smaller the value is, the smaller the difference in the voltage values ​​before and after the peak filtering in the j-th peak area, and the smaller the corresponding attenuation degree is.

[0069] After obtaining the attenuation degree of the peaks in each peak region and the fluctuation index of the initial gas chromatographic data based on the above formula, the following steps may be further performed to obtain the denoising evaluation index of the initial gas chromatographic data.

[0070] For example, in an embodiment of the present invention, the denoising evaluation index of the initial gas chromatography data is determined, and the specific information can be referred to the following relationship:

[0071] ;

[0072] In the formula, represents the denoising evaluation index of the initial gas chromatography data, represents the volatility index of the initial gas chromatography data, Indicates the number of peak regions in the initial gas chromatography data whose upper envelope is greater than the preset threshold. Indicates the attenuation degree of the peak in the j-th peak area.

[0073] In the above formula, the larger the fluctuation index in the initial gas chromatography data, the greater the attenuation degree of the peak in the peak area, indicating that the filtering effect through the initial window is worse, and the corresponding denoising evaluation index of the initial gas chromatography data is lower. In order to more accurately realize the data denoising of the gas chromatography data to obtain accurate saturated acid mass ratio monitoring results, the size of the initial window can be reversely corrected by the denoising evaluation index of the initial gas chromatography data after filtering.

[0074] S3: The possibility of the sampling point belonging to a peak in each peak region is obtained by the distance between the sampling point and the peak in each peak region, and the window adjustment weight of the sampling point is calculated.

[0075] It should be noted that the greater the possibility that the sampling point belongs to the components of diesel anti-wear agent, the more it is necessary to reduce the window size when filtering to avoid signal distortion; the smaller the possibility that the sampling point belongs to the components of diesel anti-wear agent, the more it is necessary to increase the window size when filtering to improve the denoising effect. The window adjustment weight is positively correlated with the local change rate of the sampling point in the initial gas chromatography data and negatively correlated with the attenuation degree of the peak.

[0076] Based on this, the embodiment of the present invention obtains the possibility that the sampling point belongs to the peak in each peak area, and adjusts the size of the initial window according to the possibility that the sampling point belongs to the peak in each peak area.

[0077] For example, in an embodiment of the present invention, when calculating the window adjustment weight of a sampling point, the distance between the sampling point and the peak in each peak area can be used to obtain the possibility that the sampling point belongs to a peak in each peak area, and the possibility is negatively correlated with the distance; then the window adjustment weight of the sampling point is calculated.

[0078] For example, in the embodiment of the present invention, the possibility of determining whether a sampling point belongs to a peak in each peak region can be specifically referred to the following relationship:

[0079] ;

[0080] In the formula, Indicates the possibility that the i-th sampling point belongs to the peak in the j-th peak area, represents the voltage value corresponding to the peak in the j-th peak region in the initial gas chromatography data, represents the ordinal number of the i-th sampling point, Indicates the ordinal number of the sampling point corresponding to the peak in the j-th peak area, represents the linear normalization function, Represents an exponential function with base e.

[0081] In the above formula, It represents the distance between the i-th sampling point and the peak in the j-th peak area. The smaller the value is, the closer the distance between the i-th sampling point and the peak in the j-th peak area is, and the higher the possibility that the peak belongs to the j-th peak area is.

[0082] Based on the above-mentioned local change rate formula of the sampling points, the local change rate of each sampling point in the initial gas chromatography data can also be obtained, which will not be described in detail here.

[0083] After respectively obtaining the local change rate of the sampling point in the initial gas chromatographic data, the attenuation degree of the peak in the peak area of ​​the initial gas chromatographic data, and the possibility degree of the sampling point belonging to the peak in each peak area, the window adjustment weight of each sampling point can be obtained based on the above parameters.

[0084] For example, in the embodiment of the present invention, the window adjustment weight of the sampling point is determined, and the specific relationship can be seen from the following equation:

[0085] ;

[0086] In the formula, represents the window adjustment weight of the i-th sampling point, Indicates the number of continuous peak regions in the initial gas chromatography data whose upper envelope is greater than the preset threshold. Indicates the possibility that the i-th sampling point belongs to the peak in the j-th peak area, represents the local change rate of the i-th sampling point in the initial gas chromatography data, Indicates the attenuation degree of the peak in the j-th peak area.

[0087] In the above formula, Indicates the increase ratio of the initial window. When the local change rate of the i-th sampling point in the initial gas chromatography data is higher, it means that the fluctuation of the initial gas chromatography data after filtering is greater. The currently selected initial window is smaller, resulting in poor filtering effect. In order to improve the filtering effect, it is necessary to increase the increase ratio of the initial window. When the probability that the i-th sampling point belongs to the peak is lower and the increase ratio of the initial window is higher, the window adjustment weight of the i-th sampling point is greater.

[0088] Indicates the reduction ratio of the initial window. The higher the attenuation of the peak in the j-th peak area, the larger the initial window is. In order to improve the filtering effect, the reduction ratio of the initial window needs to be increased. When the probability that the i-th sampling point belongs to the peak is higher and the reduction ratio of the initial window is higher, the window adjustment weight of the i-th sampling point is smaller.

[0089] In this way, the embodiment of the present invention achieves reverse adjustment of the initial window by the local change rate of the sampling point and the attenuation degree of the peak in the peak area by acquiring the local change rate of the sampling point in the initial gas chromatography data and the attenuation degree of the peak in the peak area, so that the window adjustment weight of each sampling point can be accurately obtained. In addition, the embodiment of the present invention also considers the possibility that each sampling point belongs to the peak, and corrects the window adjustment weight according to the possibility that each sampling point belongs to the peak, so that the saturated acid mass ratio monitoring result can be accurately obtained based on this in the future.

[0090] S4: The length of the initial window is adjusted by the window adjustment weight of the sampling point, and then filtered to obtain the denoising evaluation index of the initial gas chromatography data. The above steps are repeated until the denoising evaluation index before and after the length adjustment of the initial window is consistent, and the filtered gas chromatography data is obtained. The saturated acid mass ratio monitoring result is obtained through the filtered gas chromatography data.

[0091] It should be noted that, by obtaining the window adjustment weight of the sampling point through the above steps, the initial window of the sampling point can be iteratively adjusted until the denoising evaluation index of the initial gas chromatography data before and after the adjustment is consistent, and the final initial gas chromatography data is used as the filtered gas chromatography data. The filtered gas chromatography data obtained after such processing can remove noise to the greatest extent, while also retaining the original data signal characteristics. Based on the comparison of the filtered gas chromatography data with the standard data, the saturated acid mass ratio monitoring result can be accurately obtained.

[0092] For example, in the embodiment of the present invention, when the length of the initial window is adjusted by the window adjustment weight of the sampling point, the product of the window adjustment weight and the length of the initial window may be rounded up to an integer as the length of the adjusted window.

[0093] It should be further explained that the denoising evaluation index can evaluate the filtering effect of the initial gas chromatography data before and after adjustment. If the denoising evaluation index before and after adjustment is consistent, it means that the filtering effect based on the current adjusted initial window size is the best. The current adjusted initial window size is retained as the target window size, and the filtered gas chromatography data can be accurately obtained based on the target window size.

[0094] By way of example, in an embodiment of the present invention, a saturated acid mass ratio monitoring result is obtained through filtered gas chromatography data, including: dividing the area in the filtered gas chromatography data in which the upper envelope is greater than a preset threshold by a minimum point to obtain multiple peak areas and a retention time period corresponding to each peak area; obtaining the saturated acid and the corresponding standard retention time period in the retention time comparison table, and obtaining the peak area corresponding to the saturated acid by comparing the retention time period with the standard retention time period; obtaining the mass of the saturated acid by comparing the peak area corresponding to the saturated acid with the peak area-mass standard curve; and obtaining the saturated acid mass ratio monitoring result by the ratio of the mass of the saturated acid to the total mass of the diesel antiwear agent.

[0095] Specifically, when the saturated acid mass ratio monitoring result is obtained through the filtered gas chromatography data, the gas chromatography data of the standard diesel antiwear agent solution at different concentrations can be measured, and the standard retention time period and peak area of ​​each component can be recorded respectively. The peak area of ​​each component is used as the ordinate and the concentration of each component is used as the abscissa to draw the peak area-mass standard curve, and obtain the linear equation of the peak area-mass standard curve. The peak areas in the filtered gas chromatography data are obtained, and the peak areas of each component in the diesel antiwear agent to be detected are input into the linear equation to obtain the mass concentration of each component in the diesel antiwear agent.

[0096] The above-mentioned quality of saturated acid in diesel antiwear agent obtained by comparing the results of each component in diesel antiwear agent can be achieved by existing technology, and the embodiment of the present invention will not be described in detail here.

[0097] After obtaining the mass of saturated acid in the diesel antiwear agent based on the above steps, the saturated acid mass ratio can be obtained by the ratio of the mass of saturated acid to the total mass, and the monitoring result can be obtained by the saturated acid mass ratio in the diesel antiwear agent.

[0098] For example, in an embodiment of the present invention, when determining the monitoring result of the saturated acid mass ratio in the diesel anti-wear agent, a standard mass ratio interval can be preset; if the saturated acid mass ratio is within the standard mass ratio interval, the monitoring result of the diesel anti-wear agent is qualified; if the saturated acid mass ratio is not within the standard mass ratio interval, the monitoring result of the diesel anti-wear agent is unqualified.

[0099] Specifically, the standard mass ratio interval can be set according to actual needs, and the embodiment of the present invention does not impose too many restrictions here.

[0100] In summary, the saturated acid mass ratio monitoring results can be obtained through the above steps.

[0101] It can be seen that in the embodiment of the present invention, when determining the monitoring result of the mass ratio of saturated acid for the preparation of diesel antiwear agent, the gas chromatography data of the diesel antiwear agent can be obtained, and the gas chromatography data contains multiple sampling points; the length of the initial window is obtained by the local change rate of the sampling point, wherein the local change rate is used to characterize the degree of fluctuation of the sampling point, and the local change rate is negatively correlated with the length of the initial window; the sampling point is filtered by the length of the initial window to obtain the initial gas chromatography data; the continuous peak area with an upper envelope greater than the preset threshold in the initial gas chromatography data is obtained, the maximum peak in each peak area is taken as the peak of the peak area, the attenuation degree of the peak in the peak area is determined, and the denoising evaluation index of the initial gas chromatography data is obtained, and the denoising evaluation index is negatively correlated with the attenuation degree; the distance between the sampling point and the peak in each peak area is obtained to obtain the possible degree that the sampling point belongs to the peak in each peak area, and the window adjustment weight of the sampling point is calculated; the length of the initial window is adjusted by the window adjustment weight of the sampling point and then filtered, and the above steps are repeated until the denoising evaluation index before and after the adjustment is consistent, to obtain the filtered gas chromatography data, and the saturated acid mass ratio monitoring result is obtained by the filtered gas chromatography data.

[0102] In this way, the embodiment of the present invention obtains the local change rate of the sampling points and the attenuation degree of the peak in the initial gas chromatography data, evaluates the filtering effect, and adjusts the size of the initial window through reverse iteration of the filtering effect, so as to accurately obtain the filtering window of each sampling point, and thus obtain the saturated acid mass ratio monitoring result based on the accurate filtering result, thereby effectively improving the accuracy of the obtained saturated acid mass ratio monitoring result.

[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for monitoring the mass ratio of saturated acid for preparing diesel antiwear agent, characterized in that: include: Acquiring gas chromatography data of diesel antiwear agent, wherein the gas chromatography data includes a plurality of sampling points; The length of the initial window is obtained by the local change rate of the sampling point, including: taking the voltage value variance of the sampling point and the adjacent sampling points on the left and right sides as the change index of the sampling point; determining the local change rate of the sampling point to satisfy the relationship: ; In the formula, represents the local change rate of the i-th sampling point, Represents the total number of sampling points in the gas chromatography data, Indicates The change index of each sampling point, represents the ordinal number of the i-th sampling point, Indicates the gas chromatography data The ordinal number of the sampling points, represents the linear normalization function, represents an exponential function with e as the base; obtaining the average of the absolute differences between the retention times corresponding to each maximum point and the next maximum point in the upper envelope of the gas chromatography data, and obtaining the envelope average maximum interval of the gas chromatography data; determining the length of the initial window of the sampling point: ; In the formula, represents the length of the initial window of the i-th sampling point, Represents the envelope average maximum interval of gas chromatography data; The sampling points are filtered by the length of the initial window to obtain initial gas chromatography data; a continuous peak region in which the upper envelope is greater than a preset threshold value in the initial gas chromatography data is obtained, the maximum peak in each peak region is used as the peak of the peak region, and the attenuation degree of the peak in the peak region is determined to obtain a denoising evaluation index of the initial gas chromatography data, including: obtaining a voltage value variance of the initial gas chromatography data as a fluctuation index of the initial gas chromatography data; and calculating a denoising evaluation index of the initial gas chromatography data: ; In the formula, represents the denoising evaluation index of the initial gas chromatography data, represents the volatility index of the initial gas chromatography data, Indicates the number of peak regions in the initial gas chromatography data whose upper envelope is greater than the preset threshold. represents the attenuation degree of the peak in the j-th peak area; the attenuation degree of the peak in the peak area satisfies the relationship: ; In the formula, represents the voltage value corresponding to the peak in the j-th peak area in the gas chromatography data, represents the voltage value corresponding to the peak in the j-th peak region in the initial gas chromatography data, represents the logarithmic function with base 10; The possibility degree that the sampling point belongs to the peak in each peak area is obtained by the distance between the sampling point and the peak in each peak area, satisfying the relationship: ; In the formula, Indicates the possibility that the i-th sampling point belongs to the peak in the j-th peak area, Represents the ordinal number of the sampling point corresponding to the peak in the j-th peak area; calculates the window adjustment weight of the sampling point: ; In the formula, represents the window adjustment weight of the i-th sampling point, represents the local change rate of the i-th sampling point in the initial gas chromatography data; The length of the initial window is adjusted by the window adjustment weight of the sampling point and then filtered to obtain a denoising evaluation index of the initial gas chromatography data. The above steps are repeated until the denoising evaluation index before and after the length adjustment of the initial window is consistent to obtain filtered gas chromatography data, and the saturated acid mass ratio monitoring result is obtained through the filtered gas chromatography data.

2. The method for monitoring the mass ratio of saturated acid for preparing diesel antiwear agent according to claim 1, characterized in that: The gas chromatography data of the diesel antiwear agent is obtained, and the method also includes: The voltage values ​​corresponding to the retention times of the diesel antiwear agent are collected by a gas chromatograph, and points consisting of the retention times and the corresponding voltage values ​​are used as sampling points to obtain the gas chromatography data of the diesel antiwear agent.

3. The method for monitoring the mass ratio of saturated acid for preparing diesel antiwear agent according to claim 1, characterized in that: The saturated acid mass ratio monitoring result is obtained by the filtered gas chromatography data, including: Dividing the area in the filtered gas chromatography data where the upper envelope is greater than a preset threshold by a minimum value point to obtain a plurality of peak areas and a retention time period corresponding to each peak area; Obtain the saturated acid and the corresponding standard retention time period in the retention time comparison table, and obtain the peak area corresponding to the saturated acid by comparing the retention time period with the standard retention time period; obtain the mass of the saturated acid by comparing the peak area corresponding to the saturated acid with the peak area-mass standard curve; obtain the saturated acid mass ratio monitoring result by the ratio of the mass of the saturated acid to the total mass of the diesel antiwear agent.

Citation Information

Patent Citations

  • Oil chromatography monitoring data quality evaluation method

    CN113672606A

  • Diesel oil anti-wear agent mixing device

    CN214319812U