Method and system for measuring distribution of alcoholysis degree of polyvinyl alcohol

Through microinfrared spectroscopy technology, the infrared spectrum of polyvinyl alcohol is analyzed, and combined with the alcohol degree measurement model, the accuracy problem of the measurement of the alcohol degree distribution of polyvinyl alcohol is solved, achieving higher measurement accuracy and product quality control.

CN119595581AInactive Publication Date: 2025-03-11SHANDONG SENGONG NEW MATERIAL TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510139765.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-03-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is difficult to accurately measure the alcoholylation distribution of polyvinyl alcohol, and there are errors under certain temperature conditions, resulting in low measurement accuracy.

Method used

The solid polyvinyl alcohol was analyzed by microinfrared spectroscopy technology, and the infrared spectrum of multiple regions was obtained, and the alcoholylation distribution was qualitatively calculated through segmented spectral pretreatment and alcoholylation measurement model.

Benefits of technology

It improves the accuracy of alcohol dissociation distribution measurement, provides detailed information on the alcohol dissociation distribution of polyvinyl alcohol dissociation, and supports product quality control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119595581A_ABST
    Figure CN119595581A_ABST
Patent Text Reader

Abstract

The invention discloses a polyvinyl alcohol alcoholysis degree distribution measurement method and system, and relates to the technical field of alcoholysis degree calculation, and the method comprises the following steps: obtaining a polyvinyl alcohol solid; treating the polyvinyl alcohol solid through a microscopic infrared spectrum technology to obtain segmented spectrums of polyvinyl alcohol; preprocessing the segmented spectrum to obtain spectrum data; and calculating alcoholysis degree distribution according to an alcoholysis degree measurement model and the spectral data. According to the method, the solid polyvinyl alcohol is analyzed by adopting a microscopic infrared spectrum technology to obtain infrared spectrums of a plurality of areas, the segmented spectrums are preprocessed and input into the alcoholysis degree measurement model, the alcoholysis degree distribution of the polyvinyl alcohol can be obtained through qualitative calculation, and the alcoholysis degree distribution measurement accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of alcoholysis degree calculation, and in particular to a polyvinyl alcohol alcoholysis degree distribution measurement method and system. Background Art

[0002] Polyvinyl alcohol is a water-soluble synthetic resin, which is prepared from polyvinyl acetate by alcoholysis reaction. It has good film-forming, adhesive and emulsifying properties and is widely used in many fields. One of the factors affecting the performance of polyvinyl alcohol is its alcoholysis degree, that is, the degree to which the acetate group is replaced by a hydroxyl group after the reaction. Therefore, polyvinyl alcohols with different alcoholysis degrees have different properties. In order to ensure the quality and effect of polyvinyl alcohol products, it is necessary to measure the alcoholysis degree distribution of polyvinyl alcohol.

[0003] Traditional methods for measuring the alcoholysis degree of polyvinyl alcohol, such as titration, can quantitatively measure the average alcoholysis degree of polyvinyl alcohol, but cannot reflect the alcoholysis degree distribution of polyvinyl alcohol. At the same time, when measuring the alcoholysis degree of polyvinyl alcohol aqueous solution under certain temperature conditions, the alcoholysis degree measurement value will have errors, resulting in low accuracy of alcoholysis degree measurement. For other measurement methods, it is impossible to quantitatively measure the alcoholysis degree distribution of polyvinyl alcohol. Therefore, a method for measuring the alcoholysis degree distribution of polyvinyl alcohol is needed. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for measuring the alcoholysis degree distribution of polyvinyl alcohol. The present invention adopts microscopic infrared spectroscopy technology to analyze solid polyvinyl alcohol, obtains infrared spectra of multiple regions, pre-processes the segmented spectra and inputs them into an alcoholysis degree measurement model, and can qualitatively calculate the alcoholysis degree distribution of polyvinyl alcohol, thereby improving the accuracy of alcoholysis degree distribution measurement.

[0005] The purpose of the present invention is achieved by the following technical means: In a first aspect, the present invention provides a method for measuring the alcoholysis degree distribution of polyvinyl alcohol, comprising the following steps: Obtaining polyvinyl alcohol solid; The polyvinyl alcohol solid is treated by microscopic infrared spectroscopy technology to obtain a segmented spectrum of the polyvinyl alcohol; Preprocessing the segmented spectrum to obtain spectrum data; The alcoholysis degree distribution is calculated according to the alcoholysis degree measurement model and the spectral data.

[0006] Preferably, the step of treating the polyvinyl alcohol solid by microscopic infrared spectroscopy to obtain a segmented spectrum of the polyvinyl alcohol comprises the following steps: placing the polyvinyl alcohol solid on a microscopic infrared spectrometer; Adjusting the size of the irradiation area of ​​the micro-infrared spectrometer; Rotating the micro-infrared spectrometer at a fixed speed; The infrared spectrum of the irradiated area is recorded to obtain the segmented spectrum.

[0007] Preferably, before calculating the alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data, the method further comprises: establishing the alcoholysis degree measurement model; specifically comprising the following steps: Obtain polyvinyl alcohol standard sample; Obtaining an infrared spectrum of the polyvinyl alcohol standard sample and a degree of alcoholysis of the polyvinyl alcohol standard sample; According to the infrared spectrum, obtaining the peak area of ​​the acetate group and the peak area of ​​the hydroxyl group; Calculating relative intensity based on the peak area of ​​the acetate group and the peak area of ​​the hydroxyl group; According to the relative intensity and the alcoholysis degree, the alcoholysis degree measurement model is established.

[0008] Preferably, the calculating of alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data comprises the following steps: According to the spectral data, obtaining segmented peak areas; Calculating the segment relative intensity according to the segment peak area; Inputting the segmented relative intensity into the alcoholysis degree measurement model, and outputting the segmented alcoholysis degree; According to the segmented alcoholysis degree, the maximum value of the alcoholysis degree, the minimum value of the alcoholysis degree and the average value of the alcoholysis degree are calculated.

[0009] Preferably, the preprocessing of the segmented spectrum to obtain spectrum data comprises the following steps: Performing smoothing on the segmented spectrum; Performing spectral restoration on the segmented spectrum through a supervised learning model; Performing mean centering processing on the segmented spectrum; The segmented spectra are subjected to orthogonal signal correction processing.

[0010] Preferably, before performing spectrum restoration on the segmented spectrum by means of a supervised learning model, the method further includes: training the supervised learning model, specifically including the following steps: Get the original infrared spectrum and obtain the data set; Performing degradation processing on the data set to obtain a training set; Inputting the training set into the supervised learning model and outputting the training results; Establishing a loss function according to the data set and the training results; Adopting Adam algorithm to optimize the loss function; The formula for the degradation process is as follows: , in, is the infrared spectrum after degradation processing, is the original infrared spectrum, is the convolution kernel.

[0011] Preferably, establishing a loss function according to the data set and the training result comprises the following steps: Acquire the data volume of the data set and the data value of the data set; Obtaining a data value of the training result; Establishing the loss function according to the data volume of the data set, the data value of the data set and the data value of the training result; The formula of the loss function is as follows: , in, is the loss function, is the amount of data in the dataset, For the dataset data values, The training result is data value.

[0012] In a second aspect, the present invention provides a polyvinyl alcohol alcoholysis degree distribution measurement system, which applies the above-mentioned polyvinyl alcohol alcoholysis degree distribution measurement method, and includes: a solid acquisition module, a spectrum acquisition module, a spectrum processing module and an alcoholysis degree calculation module; The solid acquisition module is used to acquire polyvinyl alcohol solid; The spectrum acquisition module is used to process the polyvinyl alcohol solid by microscopic infrared spectroscopy technology to obtain a segmented spectrum of the polyvinyl alcohol; The spectrum processing module is used to pre-process the segmented spectrum to obtain spectrum data; The alcoholysis degree calculation module is used to calculate the alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data.

[0013] In a third aspect, the present invention provides an electronic device comprising a processor and a memory, wherein the memory is used to store computer program code, and the computer program code comprises computer instructions. When the processor executes the computer instructions, the electronic device executes the above-mentioned method for measuring the degree of polyvinyl alcohol hydrolysis distribution.

[0014] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a processor of an electronic device, the processor executes the above-mentioned method for measuring the degree of polyvinyl alcohol hydrolysis distribution.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention adopts microscopic infrared spectroscopy technology to analyze solid polyvinyl alcohol, obtains infrared spectra of multiple regions, pre-processes the segmented spectra and inputs them into an alcoholysis degree measurement model, and can qualitatively calculate the alcoholysis degree distribution of polyvinyl alcohol, thereby improving the accuracy of alcoholysis degree distribution measurement; The present invention calculates the relative intensity according to the infrared spectrum data of the polyvinyl alcohol standard sample, and fits the relative intensity and the alcoholysis degree data to obtain an alcoholysis degree measurement model, thereby providing a data basis for the alcoholysis degree distribution measurement of the polyvinyl alcohol and improving the accuracy of the alcoholysis degree measurement of the polyvinyl alcohol; The present invention can qualitatively calculate the alcoholysis degree distribution of polyvinyl alcohol by calculating the relative intensity of the segmented spectrum and inputting the alcoholysis degree measurement model, thereby improving the accuracy of the alcoholysis degree distribution measurement; The present invention improves the accuracy of alcoholysis degree distribution measurement by performing smoothing, spectrum recovery, mean centering and orthogonal signal correction on the segmented spectrum. The invention trains a supervised learning model and adopts the Adam algorithm to solve the optimal solution of the training process, thereby improving the accuracy of alcoholysis degree distribution measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 A schematic flow chart of a method for measuring the alcoholysis degree distribution of polyvinyl alcohol provided in this embodiment; Figure 2 A schematic diagram of the process of treating polyvinyl alcohol solid by microscopic infrared spectroscopy technology to obtain a segmented spectrum of polyvinyl alcohol provided in this embodiment; Figure 3 A schematic diagram of a process for establishing a model for measuring alcoholysis degree provided in this embodiment; Figure 4 A schematic diagram of a process for calculating alcoholysis degree distribution according to an alcoholysis degree measurement model and spectral data provided in this embodiment; Figure 5 A schematic diagram of a process for preprocessing the segmented spectrum to obtain spectrum data provided in this embodiment; Figure 6 A schematic diagram of the process of training a supervised learning model provided in this embodiment; Figure 7 A schematic diagram of a process for establishing a loss function based on a data set and training results provided in this embodiment; Figure 8 A schematic diagram of the structure of a polyvinyl alcohol alcoholysis degree distribution measurement system provided in this embodiment; Fig. 9 A schematic diagram of the structure of an electronic device provided in this embodiment. DETAILED DESCRIPTION

[0019] 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 only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0021] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0022] This embodiment provides a method for measuring the alcoholysis degree distribution of polyvinyl alcohol, such as Figure 1 As shown, the following steps are included: S1, obtaining polyvinyl alcohol solid; S3, treating the polyvinyl alcohol solid by microscopic infrared spectroscopy technology to obtain a segmented spectrum of the polyvinyl alcohol; S5, preprocessing the segmented spectrum to obtain spectrum data; S7, calculating alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data.

[0023] It should be noted that the polyvinyl alcohol solid is a tiny sheet of polyvinyl alcohol. When the infrared spectroscopy technology is used to analyze the polyvinyl alcohol, the local alcoholysis of the polyvinyl alcohol cannot be measured well. Therefore, on the basis of infrared spectroscopy technology, combined with microscopy technology, the polyvinyl alcohol solid is analyzed on a micro scale. At the same time, directly analyzing the polyvinyl alcohol solid can also more accurately reflect the local alcoholysis of the polyvinyl alcohol. The segmented spectrum of polyvinyl alcohol is the infrared spectrum of multiple regions on the polyvinyl alcohol solid. The spectral data is a clearer and more accurate infrared spectrum obtained after preprocessing the segmented spectrum. The alcoholysis degree measurement model is used to calculate the alcoholysis degree distribution. By inputting the spectral data of the polyvinyl alcohol solid to be measured, the alcoholysis degree distribution is output according to the spectral data.

[0024] In this embodiment, solid polyvinyl alcohol is analyzed by using microscopic infrared spectroscopy technology to obtain infrared spectra of multiple regions. The segmented spectra are preprocessed and input into the alcoholysis degree measurement model, and the alcoholysis degree distribution of polyvinyl alcohol can be qualitatively calculated, thereby improving the accuracy of the alcoholysis degree distribution measurement.

[0025] In some embodiments, step S3, the polyvinyl alcohol solid is treated by microscopic infrared spectroscopy to obtain a segmented spectrum of the polyvinyl alcohol, such as Figure 2 As shown, the following steps are included: S31, placing the polyvinyl alcohol solid on a microscopic infrared spectrometer; S33, adjusting the size of the irradiation area of ​​the micro-infrared spectrometer; S35, rotating the micro-IR spectrometer at a fixed speed; S37, recording the infrared spectrum of the irradiated area to obtain a segmented spectrum.

[0026] It should be noted that the segmented spectrum of polyvinyl alcohol is obtained by a microscopic infrared spectrometer. In the actual analysis process, the size of the aperture of the microscopic infrared spectrometer is adjusted according to the shape and size of the polyvinyl alcohol solid, thereby adjusting the size of the irradiation area, and the irradiation area of ​​the microscopic infrared spectrometer is rotated at a fixed speed to obtain a segmented spectrum covering the entire polyvinyl alcohol solid.

[0027] In this embodiment, by combining microscopy technology with infrared spectroscopy technology, the size of the irradiation area of ​​the microscopic infrared spectrometer is adjusted according to the actual shape of the polyvinyl alcohol solid, and the segmented spectrum of the entire polyvinyl alcohol solid is obtained, thereby improving the accuracy of the alcoholysis degree distribution measurement.

[0028] In some embodiments, before calculating the alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data, step S7 further includes: step S6, establishing an alcoholysis degree measurement model; Figure 3 As shown, the specific steps include: S61, obtaining a polyvinyl alcohol standard sample; S63, obtaining an infrared spectrum of a polyvinyl alcohol standard sample and a degree of alcoholysis of the polyvinyl alcohol standard sample; S65, obtaining the peak area of ​​the acetate group and the peak area of ​​the hydroxyl group according to the infrared spectrum; S67, calculate the relative intensity based on the peak area of ​​acetate group and the peak area of ​​hydroxyl group; S69, based on the relative strength and alcoholysis degree, a model for measuring alcoholysis degree is established.

[0029] It should be noted that the polyvinyl alcohol standard sample is a polyvinyl alcohol solid with an average alcoholysis degree measured by titration. By obtaining the infrared spectrum and alcoholysis degree of the polyvinyl alcohol standard sample, the relationship between the two numerical values ​​is determined. Specifically, by obtaining the bandwidth and peak value of the acetate group in the infrared spectrum, the peak area of ​​the acetate group can be approximately calculated. Similarly, for the peak area of ​​the hydroxyl group in the infrared spectrum, it can also be approximately calculated by obtaining the bandwidth and peak value of the hydroxyl group. After obtaining the peak areas of the two groups, the relative intensity is obtained by calculating the quotient of the peak area of ​​the acetate group and the peak area of ​​the hydroxyl group. Select polyvinyl alcohol with different alcoholysis degrees to repeat the above steps, obtain multiple groups of relative intensity and alcoholysis degree data, and establish an alcoholysis degree measurement model according to the data. In certain embodiments, the least square method is adopted to fit the data to obtain the alcoholysis degree measurement model.

[0030] In this embodiment, the relative intensity is calculated based on the infrared spectrum data of the polyvinyl alcohol standard sample, and the relative intensity and alcoholysis degree data are fitted to obtain an alcoholysis degree measurement model, which provides a data basis for the measurement of the alcoholysis degree distribution of polyvinyl alcohol and improves the accuracy of the alcoholysis degree measurement of polyvinyl alcohol.

[0031] In some embodiments, step S7, based on the alcoholysis degree measurement model and the spectral data, calculate the alcoholysis degree distribution, such as Figure 4 As shown, the following steps are included: S71, obtaining segmented peak areas according to the spectral data; S73, calculating the segment relative intensity according to the segment peak area; S75, inputting the segmented relative intensity into a model for measuring alcoholysis degree, and outputting the segmented alcoholysis degree; S77, calculating the maximum value of the alcoholysis degree, the minimum value of the alcoholysis degree and the average value of the alcoholysis degree according to the segmented alcoholysis degree.

[0032] It should be noted that the alcoholysis degree measurement model outputs the alcoholysis degree according to the input relative intensity. The segmented peak area includes the peak areas of multiple acetate groups and the peak area of ​​hydroxyl groups in the same infrared spectrum. By calculating the relative intensities of multiple segmented spectra respectively and inputting them into the alcoholysis degree measurement model, multiple alcoholysis degree measurement results can be obtained, and the alcoholysis degree distribution of polyvinyl alcohol is measured by these alcoholysis degree measurement values. Specifically, the average value of the alcoholysis degree is calculated according to the multiple alcoholysis degree measurement values, and the maximum and minimum values ​​of the multiple measurement values ​​are obtained at the same time to determine the alcoholysis degree distribution range of the polyvinyl alcohol solid.

[0033] In this embodiment, by calculating the relative intensity of the segmented spectrum and inputting it into the alcoholysis degree measurement model, the alcoholysis degree distribution of polyvinyl alcohol can be qualitatively calculated, thereby improving the accuracy of the alcoholysis degree distribution measurement.

[0034] In some embodiments, step S5, preprocessing the segmented spectrum to obtain spectrum data, such as Figure 5 As shown, the following steps are included: S51, smoothing the segmented spectrum; S53, spectral restoration of segmented spectra through supervised learning model; S55, mean centering of the segmented spectrum; S57, performing orthogonal signal correction processing on the segmented spectrum.

[0035] It should be noted that the purpose of smoothing the segmented spectrum is to remove the influence of noise on the segmented spectrum so as to facilitate the subsequent spectral recovery of the segmented spectrum. Under the influence of noise, the infrared spectrum will have a certain degradation phenomenon. Therefore, after removing the noise of the segmented spectrum, a spectral recovery operation is required to improve the accuracy of the data. The mean centering processing and orthogonal signal correction processing are to remove the background information that may be obtained when obtaining the segmented spectrum as mentioned above, and at the same time facilitate the acquisition of subsequent spectral data values.

[0036] In this embodiment, the accuracy of alcoholysis degree distribution measurement is improved by performing smoothing processing, spectrum recovery processing, mean centering processing and orthogonal signal correction processing on the segmented spectrum.

[0037] In some embodiments, before step S53, performing spectrum restoration on the segmented spectrum by using a supervised learning model, the method further includes: step S52, training the supervised learning model, such as Figure 6 As shown, the specific steps include: S521, obtaining the original infrared spectrum and obtaining a data set; S523, performing degradation processing on the data set to obtain a training set; S525, inputting the training set into the supervised learning model and outputting the training result; S527, establishing a loss function according to the data set and the training results; S529, using Adam algorithm to optimize the loss function; The formula for degradation treatment is as follows: , in, is the infrared spectrum after degradation processing, is the original infrared spectrum, is the convolution kernel.

[0038] It should be noted that after the denoising process, supervised learning is used to predict and restore the input infrared spectrum. In order to enable the supervised learning model to better learn the characteristics of the infrared spectrum, the supervised learning model is trained. Specifically, the original infrared spectrum is obtained and convolved with the convolution kernel to form a training set. At the same time, the loss function is calculated based on the training results of the training set and the data set, and the Adam algorithm is used to solve the optimal solution to improve the accuracy of the prediction results of the supervised learning model.

[0039] In this embodiment, the supervised learning model is trained and the Adam algorithm is used to solve the optimal solution of the training process, thereby improving the accuracy of the alcoholysis degree distribution measurement.

[0040] In some embodiments, step S527, based on the data set and the training results, a loss function is established, such as Figure 7 As shown, the following steps are included: S5271, obtaining the data volume and data value of the data set; S5273, obtaining data values ​​of training results; S5275, establishing a loss function according to the data volume of the data set, the data value of the data set, and the data value of the training result; The formula of the loss function is as follows: , in, is the loss function, is the amount of data in the dataset, For the dataset data values, The training result is data value.

[0041] It should be noted that the original infrared spectrum as a data set includes multiple data values. The training degree of the supervised learning model is adjusted by obtaining the number of data values ​​and the true value of the original infrared spectrum and calculating the mean square error between the predicted value and the training result of the supervised learning model.

[0042] In this embodiment, the mean square error between the original infrared spectrum data value and the predicted value is calculated as a loss function to guide the optimization of the supervised learning model, thereby improving the accuracy of the alcoholysis degree distribution measurement.

[0043] This embodiment provides a polyvinyl alcohol alcoholysis degree distribution measurement system, which uses the above-mentioned polyvinyl alcohol alcoholysis degree distribution measurement method, such as Figure 8 As shown, it includes: a solid acquisition module, a spectrum acquisition module, a spectrum processing module and an alcoholysis degree calculation module; A solid acquisition module, used for acquiring polyvinyl alcohol solid; A spectrum acquisition module is used to process the polyvinyl alcohol solid by using microscopic infrared spectroscopy technology to obtain a segmented spectrum of the polyvinyl alcohol; A spectrum processing module is used to pre-process the segmented spectrum to obtain spectrum data; The alcoholysis degree calculation module is used to calculate the alcoholysis degree distribution according to the alcoholysis degree measurement model and spectral data.

[0044] In this embodiment, solid polyvinyl alcohol is analyzed by using microscopic infrared spectroscopy technology to obtain infrared spectra of multiple regions. The segmented spectra are preprocessed and input into the alcoholysis degree measurement model, and the alcoholysis degree distribution of polyvinyl alcohol can be qualitatively calculated, thereby improving the accuracy of the alcoholysis degree distribution measurement.

[0045] It should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, each functional module can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.

[0046] This embodiment provides an electronic device 2, such as Fig. 9 As shown, a processor 21 and a memory 22, the memory 22 is used to store computer program codes, the computer program codes include computer instructions, when the processor 21 executes the computer instructions, the electronic device executes the above-mentioned polyvinyl alcohol alcoholysis degree distribution measurement method.

[0047] The electronic device 2 includes a processor 21, a memory 22, an output device 23, and an input device 24. The processor 21, the memory 22, the output device 23, and the input device 24 are coupled via a connector, and the connector includes various interfaces, transmission lines, or buses, etc., which are not limited in the embodiments of the present invention. It should be understood that in various embodiments of the present invention, coupling refers to mutual connection in a specific manner, including direct connection or indirect connection through other devices, for example, through various interfaces, transmission lines, buses, etc.

[0048] The processor 21 may be one or more graphics processing units (GPUs). When the processor 21 is a GPU, the GPU may be a single-core GPU or a multi-core GPU. Optionally, the processor 21 may be a processor group consisting of multiple GPUs, and the multiple processors are coupled to each other via one or more buses. Optionally, the processor 21 may also be other types of processors, etc., which are not limited in the embodiments of the present invention.

[0049] The memory 22 can be used to store computer program instructions and various computer program codes including program codes for executing the scheme of the present invention. Optionally, the memory 22 includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM), or portable read only memory (CD-ROM), and the memory 22 is used for related instructions and data.

[0050] The input device 24 is used to input data and / or signals, and the output device 23 is used to output data and / or signals. The output device 23 and the input device 24 can be independent devices or an integrated device.

[0051] This embodiment provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes the above-mentioned method for measuring the degree of polyvinyl alcohol hydrolysis distribution.

[0052] The above are only specific embodiments of the present invention, which enable those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for measuring the alcoholysis degree distribution of polyvinyl alcohol, characterized in that: The following steps are involved: Obtaining polyvinyl alcohol solid; The polyvinyl alcohol solid is treated by microscopic infrared spectroscopy technology to obtain a segmented spectrum of the polyvinyl alcohol; Preprocessing the segmented spectrum to obtain spectrum data; Calculating alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data; The preprocessing of the segmented spectrum to obtain spectrum data comprises the following steps: Training supervised learning models; Performing spectrum restoration on the segmented spectrum through the supervised learning model; The training supervised learning model comprises the following steps: Get the original infrared spectrum and obtain the data set; Performing degradation processing on the data set to obtain a training set; Inputting the training set into the supervised learning model and outputting the training results; Establishing a loss function according to the data set and the training results; Adopting Adam algorithm to optimize the loss function; The formula for the degradation process is expressed as follows: , in, is the infrared spectrum after degradation processing, is the original infrared spectrum, is the convolution kernel.

2. The method for measuring the alcoholysis degree distribution of polyvinyl alcohol according to claim 1, characterized in that: The method of treating the polyvinyl alcohol solid by microscopic infrared spectroscopy to obtain a segmented spectrum of the polyvinyl alcohol comprises the following steps: placing the polyvinyl alcohol solid on a microscopic infrared spectrometer; Adjusting the size of the irradiation area of ​​the micro-infrared spectrometer; Rotating the micro-infrared spectrometer at a fixed speed; The infrared spectrum of the irradiated area is recorded to obtain the segmented spectrum.

3. The method for measuring the alcoholysis degree distribution of polyvinyl alcohol according to claim 1, characterized in that: Before calculating the alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data, the method further includes: establishing the alcoholysis degree measurement model; specifically including the following steps: Obtain polyvinyl alcohol standard sample; Obtaining an infrared spectrum of the polyvinyl alcohol standard sample and a degree of alcoholysis of the polyvinyl alcohol standard sample; According to the infrared spectrum, obtaining the peak area of ​​the acetate group and the peak area of ​​the hydroxyl group; Calculating relative intensity based on the peak area of ​​the acetate group and the peak area of ​​the hydroxyl group; According to the relative intensity and the alcoholysis degree, the alcoholysis degree measurement model is established.

4. The method for measuring the alcoholysis degree distribution of polyvinyl alcohol according to claim 1, characterized in that: The step of calculating the alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data comprises the following steps: According to the spectral data, obtaining segmented peak areas; Calculating the segment relative intensity according to the segment peak area; Inputting the segmented relative intensity into the alcoholysis degree measurement model, and outputting the segmented alcoholysis degree; According to the segmented alcoholysis degree, the maximum value of the alcoholysis degree, the minimum value of the alcoholysis degree and the average value of the alcoholysis degree are calculated.

5. The method for measuring the alcoholysis degree distribution of polyvinyl alcohol according to claim 1, characterized in that: The preprocessing of the segmented spectrum to obtain spectrum data also includes the following steps: Performing smoothing on the segmented spectrum; Performing mean centering processing on the segmented spectrum; The segmented spectra are subjected to orthogonal signal correction processing.

6. The method for measuring the alcoholysis degree distribution of polyvinyl alcohol according to claim 1, characterized in that: The establishing of a loss function according to the data set and the training result comprises the following steps: Acquire the data volume of the data set and the data value of the data set; Obtaining a data value of the training result; Establishing the loss function according to the data volume of the data set, the data value of the data set and the data value of the training result; The formula of the loss function is as follows: , in, is the loss function, is the amount of data in the dataset, For the dataset data values, The training result is data value.

7. A polyvinyl alcohol alcoholysis degree distribution measurement system, using a polyvinyl alcohol alcoholysis degree distribution measurement method according to any one of claims 1 to 6, characterized in that: include: Solid acquisition module, spectrum acquisition module, spectrum processing module and alcoholysis degree calculation module; The solid acquisition module is used to acquire polyvinyl alcohol solid; The spectrum acquisition module is used to process the polyvinyl alcohol solid by microscopic infrared spectroscopy technology to obtain a segmented spectrum of the polyvinyl alcohol; The spectrum processing module is used to pre-process the segmented spectrum to obtain spectrum data; The alcoholysis degree calculation module is used to calculate the alcoholysis degree distribution according to the alcoholysis degree measurement model and the spectral data.

8. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store computer program codes, and the computer program codes comprise computer instructions. When the processor executes the computer instructions, the electronic device executes a method for measuring the degree of polyvinyl alcohol hydrolysis distribution as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor of an electronic device, the processor executes a method for measuring the degree of polyvinyl alcohol hydrolysis distribution as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for rapidly detecting alcoholysis degree and polymerization degree in production of polyvinyl alcohol by utilizing near infrared spectrum technology

    CN102393378A

  • Infrared spectrum recovery method based on frequency domain enhanced Transform network

    CN116228575A

  • Method for measuring dissolution rate of polyvinyl alcohol

    CN119290885A