Disclosure of Invention
The invention aims to improve the efficiency of melting point determination of paraffin products, thereby overcoming the defects of more samples used and overlong pretreatment time in the melting point determination in the prior art.
The invention provides a melting point determination method for paraffin products, which comprises the following steps:
s11, presetting a paraffin sample set; the paraffin wax sample set comprises a plurality of paraffin wax samples with known melting points and different melting points;
s12, respectively measuring the carbon distribution and the normal isomeric composition of each paraffin sample through a gas chromatograph;
s13, taking the carbon distribution and the normal heterogeneous composition of the paraffin sample as independent variables, and taking the known melting point of the paraffin sample as a dependent variable to carry out model training, and generating a determination model for determining the melting point of a paraffin product;
s14, sampling the paraffin product to be measured and measuring the carbon distribution and normal isomeric composition of the paraffin product;
and S15, taking the carbon distribution and the normal isomeric composition of the paraffin product to be measured as input, and obtaining the melting point estimation value of the paraffin product to be measured through the measurement model.
Preferably, in the present invention, the known melting point of the paraffin wax sample is obtained using national standards or/and international standards.
Preferably, in the present invention, the regression analysis method adopted by the model training includes:
least squares, inverse least squares, multivariate linear regression, principal component regression, partial least squares, robust partial least squares, or artificial neural networks.
Preferably, in the present invention, the separately determining the carbon distribution and the normal isomeric composition of each paraffin sample by a gas chromatograph includes:
dissolving a preset amount of the paraffin sample by using a solvent, and then obtaining the carbon distribution and the normal isomeric composition of the paraffin sample by using a gas chromatograph.
Preferably, in the present invention, the obtaining of the carbon distribution and the normal isomeric composition of the paraffin sample comprises:
and obtaining the carbon distribution and the normal isomeric composition of the paraffin sample by an internal standard method or a percentage method.
Preferably, in the present invention, when the regression analysis method adopted in the model training is a partial least squares method, the model training is performed by using the carbon distribution and the normal isomeric composition of the paraffin sample as independent variables and using the known melting point of the paraffin sample as a dependent variable, so as to generate the measurement model for melting point measurement of the paraffin product, including:
the integral value matrix X is an independent variable matrix and comprises the following steps:
let the property matrix Y be a dependent variable matrix, including
Wherein, the
Represents the integral area of the integral interval of the normal carbon in the j carbon of the n sample
Represents the integral area of the integral interval of the isomeric carbon in the jth carbon of the nth sample; the above-mentioned
Represents the melting point of the nth sample;
the mathematical model of the determination model is as follows:
wherein K is a coefficient matrix and E is a property residual error matrix.
In another aspect of the embodiments of the present invention, there is provided a melting point measuring method and apparatus for paraffin wax products, including:
the sample setting unit is used for presetting a paraffin sample set; the paraffin wax sample set comprises a plurality of paraffin wax samples with known melting points and different melting points;
the pre-determination unit is used for respectively determining the carbon distribution and the normal isomeric composition of each paraffin sample through a gas chromatograph;
the model generation unit is used for carrying out model training by taking the carbon distribution and the normal heterogeneous composition of the paraffin sample as independent variables and the known melting point of the paraffin sample as dependent variables to generate a determination model for determining the melting point of a paraffin product;
the product determination unit is used for sampling the paraffin product to be determined and determining the carbon distribution and the normal isomeric composition of the paraffin product to be determined;
and the calculation unit is used for taking the carbon distribution and the normal heterogeneous composition of the paraffin product to be detected as input and obtaining the melting point estimation value of the paraffin product to be detected through the determination model.
Preferably, in the present invention, the regression analysis method adopted by the model training includes:
least squares, inverse least squares, multivariate linear regression, principal component regression, partial least squares, robust partial least squares, or artificial neural networks.
In another aspect of an embodiment of the present invention, there is also provided a memory including a software program adapted to be executed by a processor for the steps of the melting point determining method for paraffin products described above.
In another aspect of the embodiments of the present invention, there is also provided a melting point measuring apparatus for paraffin products, including a computer program stored on a memory, the computer program including program instructions which, when executed by a computer, cause the computer to perform the method of the above aspects, and achieve the same technical effects.
Compared with the prior art, the invention has the following beneficial effects:
in the present invention, a paraffin sample whose melting point has been measured by a standard manner at each melting point is first obtained; then, respectively measuring the carbon distribution and the normal isomeric composition of each paraffin sample by a gas chromatograph; thus, the correlation relationship between the melting point of each paraffin sample and the carbon distribution and normal isomeric composition of each paraffin sample can be established; then, model training is carried out by taking the carbon distribution and the normal isomeric composition of each paraffin sample as independent variables and taking the respective known melting points as dependent variables, and then a determination model for determining the melting point of the paraffin product can be generated; in practical application, when the melting point of a paraffin product (i.e., a paraffin product to be measured) with an unknown melting point needs to be measured, the carbon distribution and the normal heterogeneous composition data of the paraffin product can be obtained first, and then the melting point estimation value of the paraffin product is obtained according to a measurement model by taking the carbon distribution and the normal heterogeneous composition data as parameters.
Because of the invention, the manual operation part only measures the carbon distribution and normal isomerism composition of a small amount of paraffin samples to be measured through the gas chromatograph; the subsequent melting point calculation by the measurement model can be completed by a computer or other processing equipment; therefore, the use amount and the manual workload of the sample can be greatly reduced, and cost saving and work efficiency improvement are facilitated. On the other hand, in the melting point measuring method of the present invention, it is not necessary to wait for the process from the melting of the paraffin sample to the detection and cooling, and therefore, the time cost in the measuring process can be effectively saved. Meanwhile, the invention can also reduce the consumption of samples and the generation of waste samples and solvents (including the waste for cleaning vessels), thereby reducing the treatment cost of wastes.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood and to make the technical means implementable in accordance with the contents of the description, and to make the above and other objects, technical features, and advantages of the present invention more comprehensible, one or more preferred embodiments are described below in detail with reference to the accompanying drawings.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
Spatially relative terms, such as "below," "lower," "upper," "above," "upper," and the like, may be used herein for ease of description to describe one element or feature's relationship to another element or feature in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the object in use or operation in addition to the orientation depicted in the figures. For example, if the items in the figures are turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the elements or features. Thus, the exemplary term "below" can encompass both an orientation of below and above. The article may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative terms used herein should be interpreted accordingly.
In this document, the terms "first", "second", etc. are used to distinguish two different elements or portions, and are not used to define a particular position or relative relationship. In other words, the terms "first," "second," and the like may also be interchanged with one another in some embodiments.
Example one
In order to improve the efficiency of melting point determination of paraffin products and thus overcome the disadvantages of the prior art, such as large sample usage and long pretreatment time for melting point determination, as shown in fig. 1, in an embodiment of the present invention, there is provided a melting point determination method for paraffin products, including the steps of:
s11, presetting a paraffin sample set; the paraffin wax sample set comprises a plurality of paraffin wax samples with known melting points and different melting points;
the technical scheme in the embodiment of the invention is a secondary method established on the basis of a standard melting point determination method, and a large number of paraffin samples with known melting points and different melting points are used as data (namely model training data) support. Under an ideal state, the granularity is divided as finely as possible within the possible melting point range of the paraffin, then a corresponding paraffin sample is obtained at each point, and a plurality of paraffin samples corresponding to each point can be obtained; thus, the measurement accuracy of the measurement model in the embodiment of the present invention can be improved by obtaining more model training data.
In practical application, the paraffin sample set in the embodiment of the invention can be constructed by using paraffin samples with melting points obtained by a detection method of national standard or/and international standard; in this way, the validity of the data is improved by ensuring the accuracy of the melting point of each paraffin sample in the paraffin sample set.
S12, respectively measuring the carbon distribution and the normal isomeric composition of each paraffin sample through a gas chromatograph;
the inventor finds that the two properties of the carbon distribution and the normal isomeric composition of the paraffin wax have a specific relationship with the melting point of the paraffin wax, and the relationship between the two properties.
Based on the reasons, in order to construct the correlation between the carbon distribution and the normal isomeric composition of the paraffin and the melting point of the paraffin; the embodiment of the invention firstly measures the carbon distribution and the normal isomeric composition of each paraffin sample in a paraffin sample set by a chromatograph; thus, the corresponding relationship of the melting point of each paraffin sample to its carbon distribution and normal isomeric composition was obtained.
In practical application, the carbon distribution and the normal isomeric composition of each paraffin sample are respectively measured by a gas chromatograph, and the specific mode can be as follows: after a preset amount of paraffin sample is dissolved by a solvent, carbon distribution data and normal heterogeneous composition data of the paraffin sample are obtained by a gas chromatograph. The specific method can be to obtain the carbon distribution and the normal isomeric composition of the paraffin sample by an internal standard method or a percentage method.
S13, taking the carbon distribution and the normal heterogeneous composition of the paraffin sample as independent variables, and taking the known melting point of the paraffin sample as a dependent variable to carry out model training, and generating a determination model for determining the melting point of a paraffin product;
the invention idea of the embodiment of the invention comprises that carbon distribution data and normal heterogeneous composition data of each paraffin sample which is obtained by an analysis method and is used as a correction set sample are utilized; regression analysis is carried out on the carbon distribution, the normal heterogeneous composition data and the melting point by using a mathematical method, and a determination model is further established through model training, so that the melting point of the paraffin sample with the unknown melting point can be calculated and obtained by using the determination model according to the carbon distribution and the normal heterogeneous composition of the paraffin sample with the unknown melting point.
Preferably, the specific mathematical method used for performing the regression analysis in the embodiment of the present invention may be one of least square method, inverse least square method, multiple linear regression, principal component regression, partial least square method, robust partial least square method, or artificial neural network, or a combination of multiple kinds of the methods;
in practical application, model training is performed by taking the carbon distribution and the normal isomeric composition of the paraffin sample as independent variables and the known melting point of the paraffin sample as dependent variables to generate a measurement model for measuring the melting point of the paraffin product, which can be as follows:
the regression analysis method adopted by the model training is a partial least square method; the partial least squares regression is a method with less constraint on variables in the multivariate calibration method, and the flexibility makes the multivariate calibration method more suitable for many occasions where the traditional multivariate calibration method is not suitable, particularly for application scenes where the observed data is less than the number of predicted variables like the embodiment of the invention.
Partial least squares regression extracts relevant information hidden in an independent variable matrix by using a principal component regression principle, and then applies the relevant information to a dependent variable matrix value. This way we can ensure that we will use only those independent variables and the noise will be eliminated, thus achieving the goal of improving the quality of the prediction model, which can be:
the integral value matrix X is an independent variable matrix and comprises the following steps:
let the property matrix Y be a dependent variable matrix, including
Wherein, the
Represents the integral area of the integral interval of the normal carbon in the j carbon of the n sample
Represents the integral area of the integral interval of the isomeric carbon in the jth carbon of the nth sample; the above-mentioned
Represents the melting point of the nth sample;
the mathematical model of the determination model is as follows:
wherein K is a coefficient matrix and E is a property residual error matrix.
S14, sampling the paraffin product to be measured and measuring the carbon distribution and normal isomeric composition of the paraffin product;
after the determination model is constructed, when the melting point of the paraffin with unknown melting point needs to be determined each time, the paraffin product to be determined needs to be sampled to perform carbon distribution and normal heterogeneous composition, and the specific determination mode can also be determination through a gas chromatograph.
And S15, taking the carbon distribution and the normal isomeric composition of the paraffin product to be measured as input, and obtaining the melting point estimation value of the paraffin product to be measured through the measurement model.
And then, taking the carbon distribution and the normal-isomerism composition of the paraffin product to be measured as input, and calculating through a measuring model to obtain the melting point estimation value of the paraffin product to be measured.
According to the technical scheme in the embodiment of the invention, the practical application and determination are carried out, and the process and the result are as follows:
according to the GB/T2539-2008 method, the paraffin sample set comprises 16 paraffin samples; measuring the melting point data of each paraffin sample in the paraffin sample set, and measuring the corresponding carbon distribution and normal isomeric composition by using a gas chromatography; and further obtaining a correction set (namely a training data set of the measurement model) comprising melting point data, carbon distribution data and normal heterogeneous composition group data of 16 paraffin samples, and performing regression analysis on the carbon distribution, normal heterogeneous composition data and the melting point data of the correction set samples by using a partial least square method to establish the measurement model.
After the assay model is constructed; then, 16 paraffin samples (PF 1-PF 16) with unknown melting points were selected to form a verification set, and on the one hand, the melting point estimation values of the paraffin samples in the verification set were calculated by using the above measurement model, and on the other hand, the actual melting point measurement values of the paraffin samples in the verification set were obtained by using the detection method of the national standard or/and the international standard, and the results are shown in table 1.
TABLE 1 model verification
As can be seen from the above, in the examples of the present invention, the standard deviation (SEP) of the measured difference was 0.104 ℃, the maximum range was 0.20 ℃, and the average value (d) 8 was 0.015 ℃ which is less than the reproducibility requirement of the standard method of 0.5 ℃. the t-test results show that for 16 samples of the validation set, at a significance level α =0.05, i.e. a confidence of 0.95, it is
The test is 0.593, which is less than t (0.05,15) =1.753 in the t distribution table, and the results obtained by the method of the invention and the standard method have no significant difference.
In summary, in the present example, paraffin samples whose melting points have been measured in a standard manner at each melting point are obtained first; then, respectively measuring the carbon distribution and the normal isomeric composition of each paraffin sample by a gas chromatograph; thus, the correlation relationship between the melting point of each paraffin sample and the carbon distribution and normal isomeric composition of each paraffin sample can be established; then, model training is carried out by taking the carbon distribution and the normal isomeric composition of each paraffin sample as independent variables and taking the respective known melting points as dependent variables, and then a determination model for determining the melting point of the paraffin product can be generated; in practical application, when the melting point of a paraffin product (i.e., a paraffin product to be measured) with an unknown melting point needs to be measured, the carbon distribution and the normal heterogeneous composition data of the paraffin product can be obtained first, and then the melting point estimation value of the paraffin product is obtained according to a measurement model by taking the carbon distribution and the normal heterogeneous composition data as parameters.
Because of the invention, the manual operation part only measures the carbon distribution and normal isomerism composition of a small amount of paraffin samples to be measured through the gas chromatograph; the subsequent melting point calculation by the measurement model can be completed by a computer or other processing equipment; therefore, the use amount and the manual workload of the sample can be greatly reduced, and cost saving and work efficiency improvement are facilitated. On the other hand, in the melting point measuring method of the present invention, it is not necessary to wait for the process from the melting of the paraffin sample to the detection and cooling, and therefore, the time cost in the measuring process can be effectively saved. Meanwhile, the invention can also reduce the consumption of samples and the generation of waste samples and solvents (including the waste for cleaning vessels), thereby reducing the treatment cost of wastes.
Example two
In another aspect of the embodiment of the present invention, there is also provided a melting point measuring apparatus for paraffin products, and fig. 2 illustrates a schematic structural diagram of the melting point measuring apparatus for paraffin products according to the embodiment of the present invention, where the melting point measuring apparatus for paraffin products is an apparatus corresponding to the melting point measuring method for paraffin products according to the embodiment of fig. 1, that is, the melting point measuring method for paraffin products according to the embodiment of fig. 1 is implemented by using a virtual apparatus, and each virtual module constituting the melting point measuring apparatus for paraffin products may be implemented by an electronic device, such as a network device, a terminal device, or a server. Specifically, the melting point measuring apparatus for paraffin wax products in the embodiment of the present invention includes:
the sample setting unit 01 is used for presetting a paraffin sample set; the paraffin wax sample set comprises a plurality of paraffin wax samples with known melting points and different melting points;
a pre-determination unit 02 for determining the carbon distribution and the normal isomeric composition of each paraffin sample by a gas chromatograph, respectively;
a model generating unit 03, configured to perform model training using the carbon distribution and the normal heterogeneous composition of the paraffin sample as independent variables and using the known melting point of the paraffin sample as a dependent variable, and generate a measurement model for measuring the melting point of a paraffin product;
the product determination unit 04 is used for sampling the paraffin product to be determined and determining the carbon distribution and the normal isomeric composition of the paraffin product to be determined;
and the calculating unit 05 is used for taking the carbon distribution and the normal heterogeneous composition of the paraffin product to be detected as input and obtaining the melting point estimation value of the paraffin product to be detected through the determination model.
Since the working principle and the beneficial effects of the melting point measuring device for paraffin products in the embodiment of the present invention have been described and illustrated in the melting point measuring method for paraffin products corresponding to fig. 1, they can be referred to each other and are not described herein again.
EXAMPLE III
In an embodiment of the present invention, there is further provided a memory, wherein the memory includes a software program adapted to be executed by the processor for each step in the melting point measuring method for paraffin wax products according to fig. 1.
The embodiment of the present invention can be implemented by way of a software program, that is, by writing a software program (and an instruction set) for implementing each step in the melting point measuring method for paraffin products corresponding to fig. 1, the software program is stored in a storage device provided in a computer device, so that the software program can be called by a processor of the computer device to implement the purpose of the embodiment of the present invention.
Example four
In an embodiment of the present invention, there is also provided a melting point determining apparatus for paraffin wax products, where the memory included in the melting point determining apparatus for paraffin wax products includes a corresponding computer program product, and program instructions included in the computer program product, when executed by a computer, can make the computer execute the melting point determining method for paraffin wax products described in the above aspects, and achieve the same technical effects.
Fig. 3 is a schematic diagram of a hardware configuration of a melting point measuring apparatus for paraffin products as an electronic apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes one or more processors 610, a bus 630, and a memory 620. Taking one processor 610 as an example, the apparatus may further include: input device 640, output device 650.
The processor 610, the memory 620, the input device 640, and the output device 650 may be connected by a bus or other means, such as the bus connection in fig. 3.
The memory 620, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device, i.e., the processing method of the above-described method embodiment, by executing the non-transitory software programs, instructions and modules stored in the memory 620.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 620 optionally includes memory located remotely from the processor 610, which may be connected to the processing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 640 may receive input numeric or character information and generate a signal input. The output device 650 may include a display device such as a display screen.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform:
s11, presetting a paraffin sample set; the paraffin wax sample set comprises a plurality of paraffin wax samples with known melting points and different melting points;
s12, respectively measuring the carbon distribution and the normal isomeric composition of each paraffin sample through a gas chromatograph;
s13, taking the carbon distribution and the normal heterogeneous composition of the paraffin sample as independent variables, and taking the known melting point of the paraffin sample as a dependent variable to carry out model training, and generating a determination model for determining the melting point of a paraffin product;
s14, sampling the paraffin product to be measured and measuring the carbon distribution and normal isomeric composition of the paraffin product;
and S15, taking the carbon distribution and the normal isomeric composition of the paraffin product to be measured as input, and obtaining the melting point estimation value of the paraffin product to be measured through the measurement model.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage device and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage device includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a ReRAM, an MRAM, a PCM, a NAND Flash, a NOR Flash, a Memory, a magnetic disk, an optical disk, or other various media that can store program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.