A method for predicting basic density of papermaking wood chips using near infrared spectroscopy with moisture interference eliminated
In the pulping process of paper-making wood chips, the external parameter orthogonalization algorithm (EPO) is used to eliminate moisture interference information in the spectrum, and a basic density prediction model of moisture correction is established, which solves the problem that traditional detection methods cannot meet the needs of rapid batch detection and Near-infrared spectroscopy analysis is subject to moisture interference, achieving higher detection efficiency and model robustness.
Patent Information
- Application Number
- CN202210609092.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-05-31
AI Technical Summary
In the pulping production process of paper-making wood chips, traditional wood basic density detection methods cannot meet the needs of rapid batch detection, and near-infrared spectral analysis is disturbed by changes in wood chips, affecting the predictive performance of the model.
The external parameter orthogonalization algorithm (EPO) is used to eliminate moisture interference information in the spectrum, and by dynamic monitoring of the spectral changes of a small number of samples under different moisture conditions, the water correction factor is calculated, and the basic density prediction model for water correction is established.
While not reducing the prediction accuracy of the model, it improves the applicability and robustness of the model in complex application environments, reduces sample preparation and modeling costs, and improves the flexibility of using the model.
Smart Images

Figure CN114813463B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of spectrum detection, and in particular to a method for predicting basic density of papermaking wood chips by near-infrared spectroscopy with moisture interference eliminated. Background Art
[0002] Basic density is an important material property index for evaluating the pulping performance of wood chips for papermaking. When the volume of production equipment is constant, the higher the basic density of wood chips, the higher the production capacity. However, wood chips with too high density are difficult to soften and the impregnation of liquid medicine is uneven, which can easily lead to unstable product quality and increase production costs. Therefore, in the pulping production process, it is necessary to monitor the density of raw wood chips and reasonably adjust the process parameters according to the changes in the material properties of the wood chips to ensure the stability of production. However, the traditional method of detecting the basic density of wood has high requirements on experimental conditions and long test cycles, and cannot meet the needs of rapid batch testing.
[0003] Near infrared spectroscopy has the advantages of fast analysis speed, simple instrumentation, non-destructiveness, and no need for sample pretreatment. It is a widely recognized rapid detection technology. This technology has broad application prospects in the field of wood material analysis. Through the chemometric method, the sample spectrum and material index are correlated and modeled, which can realize the rapid detection of multiple indicators of wood chemical composition, fiber morphology, and physical properties. Since the near infrared spectrum is very sensitive to the characteristic absorption of sample moisture, in order to avoid the interference of moisture changes, the establishment of the near infrared model is usually carried out under relatively stable experimental conditions, and the state of the sample to be tested is required to be as consistent as possible with the modeling sample. However, in the pulp and paper industry, the source of wood chips is complex, and the inconsistent conditions of felling, transportation, and storage cause large fluctuations in the moisture content of wood chips. When performing near infrared analysis on wood chips, a large amount of moisture interference information in the spectrum will seriously affect the model's prediction of the basic density of the sample, limiting the application effect of near infrared technology in actual production. Summary of the invention
[0004] In order to solve the interference of wood chip moisture changes on near infrared analysis, the present invention provides a method for predicting the basic density of wood chips by near infrared spectroscopy with moisture interference eliminated. The method effectively eliminates moisture interference information in the spectrum based on the external parameter orthogonalization algorithm, and improves the applicability and robustness of the model in complex application environments without reducing the prediction accuracy of the model. The method includes the following steps:
[0005] (1) Prepare k papermaking wood chip samples. First, dry the samples in an oven at 105°C to constant weight and record the absolute dry mass (g) of the wood chips. Then, soak the samples in water until saturated (i.e., saturated state). Use the water displacement method to measure the saturated volume (cm) of the wood chips in the saturated state. 3 ), the ratio of the absolute dry mass of the wood chip to the saturated volume is taken as the basic density of the wood chip (kg·m 3). The samples are arranged in ascending order according to the basic density value, and j samples are selected as the moisture correction set by the interval sampling method to calculate the moisture correction factor; the remaining samples are used as the training set to establish the basic density prediction model.
[0006] (2) Collect the near infrared spectrum of a sample in the moisture calibration set in the saturated state, then put the wood chips into the oven, slowly dry them at 35°C and monitor the moisture content of the wood chips, collect the near infrared spectrum every time the moisture content of the wood chips decreases by 5%, and when the moisture content of the wood chips no longer changes, raise the oven temperature to 105°C and dry them thoroughly to make the wood chips absolutely dry (i.e., the moisture content is zero), and then collect the near infrared spectrum of the wood chips in the absolutely dry state; select another sample in the moisture calibration set and repeat the above steps until the near infrared spectra of all samples in the moisture calibration set under different moisture content conditions from the saturated state to the absolutely dry state are collected; finally, the spectra collected from all samples under different moisture conditions from saturated state to absolutely dry state form a dynamic spectral data set The moisture correction factor was calculated using the external parameter orthogonalisation (EPO) algorithm.
[0007] (3) Collect the near-infrared spectra of the samples in the training set in the saturated state, i.e., the saturated spectra; correct the saturated spectra using the moisture correction factor to obtain the moisture-corrected spectra; then perform partial least square regression (PLS) modeling on the moisture-corrected spectra of the training set samples and the corresponding basic density values to establish a moisture-corrected basic density prediction model.
[0008] (4) collecting a near infrared spectrum of the sample to be tested, and correcting it using a moisture correction factor, and inputting the obtained moisture correction spectrum into the moisture correction basic density prediction model in step (3) to predict the density of the sample to be tested.
[0009] In step (1), the papermaking wood chip samples selected should be common broadleaf wood chips such as poplar chips and eucalyptus chips, and the wood chip specifications are required to be length and width ≤ 30 mm, and thickness ≤ 6 mm. The number of samples j in the moisture correction set accounts for about one sixth of the total number of samples k, and the number of samples in the training set (kj) should not be less than 50.
[0010] In step (2) and step (3), the conditions and methods for collecting the near infrared spectrum of the wood chip are as follows: the spectral range is 1100-2300nm, the integration time is 80ms, the number of scans is 16 times, 10 measurement points are randomly selected on the surface of the wood chip sample to collect diffuse reflectance signals, and the average value is taken as the original near infrared spectrum of the sample. The original spectrum is subjected to Savitzky-Golay convolution smoothing, standard normal transformation and first-order derivative processing before subsequent calculations.
[0011] Furthermore, the steps of using the external parameter orthogonalization algorithm to calculate the moisture correction factor and perform spectral moisture correction are as follows:
[0012] (a) Calculation of dynamic difference spectrum is the dynamic spectrum of the sample under different moisture conditions, This is the spectrum of the sample in an absolute dry state.
[0013] (b) Perform singular value decomposition (USV) on the covariance matrix of D T =svd(D T D), U(n×n) is the left singular matrix, S(n×m) is the singular value diagonal matrix, V(m×m) is the right singular matrix, m is the number of samples, n is the number of wavelength points,
[0014] (c) Determine the number of EPO factors g, obtain the first g columns of the submatrix V(m×g), and calculate the moisture interference information matrix
[0015] (d) Calculate the moisture correction factor P = IQ, where I is the identity matrix.
[0016] (e) Calculate the moisture correction spectrum X * =XP, X is the original spectrum.
[0017] When the moisture-corrected basic density prediction model is established in step (3), the EPO factor number g and the PLS latent variable number Lvs are optimized and determined by the leave-one-out cross-validation method.
[0018] The step (4) uses the root mean square error (RMSE) and the determination coefficient (R 2 ) is used as the evaluation index to evaluate the prediction performance of the model.
[0019]
[0020]
[0021] Where m is the number of samples, y is i is the value determined by the standard method. is the predicted value It is the average value of the values determined by the standard method.
[0022] The beneficial effects of the present invention are:
[0023] Water-saturated wood chips are closest to the state of the actual measurement of the basic density of the wood chips. Therefore, collecting spectra when the wood chips are in a water-saturated state is more conducive to establishing a basic density prediction model. However, the useful information in the spectrum mainly comes from the information loaded by the interaction between near-infrared light and the fiber structure of the wood chips. At this time, a large amount of moisture characteristic absorption in the spectrum will act as interference information and affect the prediction performance of the model. The present invention uses the EPO algorithm to correct the near-infrared spectrum of the wood chips, while retaining the useful information of the spectrum, removing the influence of moisture on the spectrum, and establishing a moisture-corrected basic density prediction model, which has good prediction accuracy and stability for samples with different moisture conditions.
[0024] Regarding the influence of sample moisture on the near-infrared model, the existing solutions are mainly global modeling or hierarchical modeling. Global modeling is to use the spectra collected under different moisture conditions to establish a global model together to achieve the robustness of the model to moisture changes. Hierarchical modeling is to classify samples with large moisture differences and independently model them, and then call the model with moisture close to the sample to be tested for prediction. However, the modeling workload of the global model and the hierarchical model is huge, and the cost of sample preparation and model maintenance is high. The present invention dynamically monitors the spectral changes of a small amount of samples under different moisture conditions, calculates the moisture correction factor, and directly eliminates the moisture interference information in the spectrum. Compared with the existing methods, the sample preparation and modeling costs are lower, and the use of the model is more flexible and convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The change of moisture content of the samples in the moisture calibration set during the water loss process;
[0026] Figure 2 The original near-infrared spectra of the moisture calibration set samples under different moisture conditions;
[0027] Figure 3 Spectra after standard normal transformation and first-order derivative preprocessing;
[0028] Figure 4 Model cross-validation root mean square error plot for different g and Lvs combinations;
[0029] Figure 5 Moisture correction factor matrix diagram;
[0030] Figure 6 Moisture correction effect diagram of the water-saturated spectrum of the training set;
[0031] Figure 7 Test set spectra under different moisture conditions. Moisture conditions: M1: 62.15-67.11%; M2: 48.31-56.00%; M3: 32.11-46.80%; M4: 31.50-42.22%; M5: 19.05-22.92%; M6: 9.48-10.17%
[0032] Figure 8 Moisture correction spectra of the test set under different moisture conditions. Moisture conditions: M1: 62.15-67.11%; M2: 48.31-56.00%; M3: 32.11-46.80%; M4: 31.50-42.22%; M5: 19.05-22.92%; M6: 9.48-10.17%;
[0033] Fig. 9 The prediction results of the basic density prediction model of saturated spectrum for the test set under different moisture conditions;
[0034] Fig.10 Prediction results of the moisture-corrected basic density prediction model for the test set under different moisture conditions. DETAILED DESCRIPTION
[0035] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0036] 1. Sample preparation:
[0037] The wood sample used in this example is 107 fast-growing poplar, collected from Jinan City, Shandong Province, 9 years old, with an average breast diameter of 35cm. The poplar was peeled and processed into wood chip samples, with a chip size of 20mm (longitudinal) × 20mm (tangential) × 5mm (radial), a total of 80. All samples were completely dried at 105℃, and the absolute dry mass (g) of the wood chips was recorded. Then the samples were soaked in water until saturated, and the water-saturated volume (cm) of the wood chips was measured by the drainage method. 3 ), the ratio of the absolute dry mass of the wood chip to the saturated volume is taken as the basic density of the wood chip (kg·m 3 ).
[0038] 20 samples were randomly selected from the samples as the test set to test the prediction performance of the model. Then the remaining 60 samples were arranged from small to large according to the basic density, and one sample was selected every five samples. A total of 10 samples were selected as the moisture correction set to calculate the moisture correction factor. Finally, the remaining 50 samples were used as the training set to establish the basic density prediction model. The statistical information of each sample set is listed in Table 1.
[0039] Table 1 Basic density statistics of sample sets
[0040]
[0041] 2. Spectral acquisition and data processing
[0042] Moisture calibration set: collect near-infrared spectra of samples in a saturated state, then put the wood chips into an oven, slowly dry them at 35°C and monitor the moisture content of the wood chips. When the moisture content of the wood chips decreases by 5%, collect near-infrared spectral signals. When the moisture content of the wood chips no longer changes at 35°C, the oven temperature is raised to 105°C to completely dry the wood chips and collect absolute dry spectra. Finally, a total of 14 dynamic spectra are collected for each sample under different moisture conditions from saturated to absolute dry. The dynamic spectra of all moisture calibration set samples are combined into a data set, and the moisture correction factor is calculated using the external parameter orthogonalization algorithm.
[0043] Training set: The near-infrared spectra of the samples were collected in a saturated state, and the basic density prediction model of the saturated spectrum was established based on the partial least squares regression algorithm. Then, the saturated spectrum was water-corrected to establish a basic density prediction model with water correction. The number of EPO factors g and the number of PLS latent variables Lvs were determined by the leave-one-out cross-validation method. The root mean square error (RMSEC) and the model correction determination coefficient (R 2 C ), cross-validation root mean square error (RMSECV), cross-validation determination coefficient (R 2 CV ) to evaluate the modeling effect.
[0044] Test set: The saturated wood chips were naturally air-dried under constant temperature and humidity conditions (23°C, 50% RH). During the air-drying process, the near-infrared spectra of the wood chips were collected once at regular intervals (0h, 5h, 7h, 10h, 15h, 20h), and the moisture content of the wood chips was recorded. Finally, the spectra of the test set samples under 6 different moisture conditions, from saturated to air-dried, were collected (M1 to M6). The saturated spectrum basic density prediction model and the moisture-corrected basic density prediction model were used to predict the test set samples, respectively, and the model prediction root mean square error (RMSEP) and model prediction determination coefficient (R 2 P ) to evaluate the prediction performance of the model.
[0045] 3. Results and Discussion
[0046] Figure 1 and Figure 2 They are the changes in moisture content of the moisture calibration set samples during the dehydration process and the collected dynamic spectra. It can be seen that the overall spectral absorption signal of the wood chips has a strong correlation with the moisture change. The higher the moisture, the stronger the absorption signal. This is mainly because the moisture in the gaps in the wood chips increases the forward scattering of light and improves the absorption rate of near-infrared light. In order to improve the interference of baseline drift and peak overlap on spectral analysis, the original spectrum is subjected to standard normal transformation and first-order derivative processing to make the spectral features clearer. Figure 3As shown in the figure, as the moisture content of wood chips decreases, the OH frequency-doubled characteristic absorption band (1900-2100nm) of water molecules has regular and significant changes.
[0047] The external parameters of the dynamic spectral data set are orthogonalized to obtain the moisture correction factor P, and the number of EPO main factors g and the number of PLS latent variables Lvs are optimized based on the training set. The optimization process is as follows: Figure 4 As shown in the figure, when g<3, the prediction accuracy of the model established based on the moisture correction spectrum is not affected, indicating that only the moisture interference information in the spectrum is eliminated at this time. Therefore, g=2, Lvs=3 are finally determined as the optimal modeling parameters. Figure 5 This is the moisture correction factor P matrix diagram when g=2. The areas with higher correction factor weights in the figure are mainly concentrated in the moisture characteristic absorption band, which proves that the EPO algorithm can accurately obtain the moisture interference information in the wood chip spectrum.
[0048] Table 2 Modeling effect of basic density prediction model
[0049]
[0050] Figure 6 The following is the effect of moisture correction on the water-saturated spectrum of the training set. In the water-saturated spectrum, the 1400nm and 1900nm bands are occupied by wide "water peaks". After moisture correction, the water absorption is effectively eliminated. At the same time, more characteristic absorption is also revealed in the 1500-1800nm band. In order to evaluate the effect of moisture correction on modeling, the basic density prediction model was established using the water-saturated spectrum of the training set and the moisture-corrected spectrum, respectively. The results are shown in Table 2. The root mean square error of correction (RMSEC) and cross-validation root mean square error (RMSECV) of the water-saturated spectrum model are 11.06 kg·m 3 and 13.80kg·m 3 , showing good prediction accuracy. This shows that the fiber structure information of the wood chips carried by the spectrum collected in the saturated state has a strong correlation with the density of the wood chips. After the spectrum was corrected for moisture, the prediction accuracy of the model was not affected, which also shows that a large amount of moisture characteristic absorption in the saturated spectrum is redundant and useless for establishing a basic density prediction model.
[0051] The robustness of the model was externally verified using the spectra of the test set samples collected under different moisture conditions, and the results are shown in Table 3. Due to the high sensitivity of the near-infrared spectrum to moisture, the change in moisture of the wood chips produced large spectral differences, resulting in extremely unstable prediction performance of the saturated spectrum model when predicting the test set samples under different moisture conditions ( Figure 7 ). For the test set samples in the saturated state, the root mean square error of prediction (RMSEP) is 12.42 kg·m 3, but when the moisture content of the sample gradually decreases, the prediction shows a large deviation ( Figure 8 ).like Fig. 9 , Fig.10 As shown in the figure, after eliminating the moisture absorption information in the spectrum through the moisture correction factor, the robustness of the model has been significantly improved, and the root mean square error of the prediction of the test set samples under different moisture conditions is stable at 12.62-13.59 kg·m 3 , and has strong anti-interference ability to wood chip moisture changes. The present invention corrects the influence of wood chip moisture changes on near-infrared spectra based on the EPO algorithm, establishes a robust basic density prediction model, improves the applicability of the model to complex application environments, and helps promote the application and promotion of near-infrared analysis technology in industrial production.
[0052] Table 3 Prediction effect of basic density prediction model on test set samples
[0053]
[0054] Obviously, the described embodiments are only some embodiments of the present invention, but not all 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.
Claims
1. A method for predicting the basic density of papermaking wood chips by near infrared spectroscopy with elimination of moisture interference, characterized in that: The steps include: (1) Arrange k papermaking wood chip samples from small to large according to the basic density value, and select j samples as the moisture correction set by the interval sampling method to calculate the moisture correction factor; the remaining samples are used as the training set to establish the basic density prediction model; (2) Collect the near infrared spectrum of a sample in the moisture correction set in the saturated state, then heat the sample to gradually reduce its moisture content, and collect the near infrared spectrum of the sample once under different moisture content conditions; when the moisture content no longer changes, completely dry the sample to an absolute dry state, and then collect the near infrared spectrum of the sample in the absolute dry state; select another sample in the moisture correction set, and repeat the above steps until the near infrared spectra of all samples in the moisture correction set under different moisture content conditions from the saturated state to the absolute dry state are collected; all the above collected near infrared spectra are combined into a dynamic spectral data set, and the moisture correction factor is calculated using the external parameter orthogonalization algorithm; The steps to calculate the moisture correction factor and perform spectral moisture correction using the external parameter orthogonalization algorithm are as follows: (a) Calculation of dynamic difference spectra , is the dynamic spectrum of the sample under different moisture conditions, is the spectrum of the sample in an absolute dry state; (b) Yes D The covariance matrix of , is a left singular matrix, is a diagonal matrix of singular values, is a right singular matrix, m is the number of samples, n is the number of wavelength points; (c) Determine the number of EPO factors g , get V Before g Column matrix , calculate the moisture interference information matrix ; (d) Calculation of moisture correction factor , I is the identity matrix; (e) Calculation of moisture-corrected spectrum , X is the original spectrum; (3) Collect near-infrared spectra of samples in the training set in a saturated state to obtain saturated spectra; correct the saturated spectra using a moisture correction factor to obtain moisture-corrected spectra; then perform partial least squares regression modeling on the moisture-corrected spectra of the samples in the training set and the corresponding basic density values to establish a moisture-corrected basic density prediction model; (4) Collecting the near infrared spectrum of the sample to be tested, and correcting it by using the moisture correction factor, the obtained moisture correction spectrum is input into the moisture correction basic density prediction model in step (3) to predict the density of the sample to be tested.
2. The method for predicting basic density of wood chips for papermaking by near infrared spectroscopy with elimination of moisture interference according to claim 1, characterized in that: In step (1), the basic density value of the papermaking wood chip sample is determined by the following method: the sample is dried to an absolute dry state, then placed in water and soaked until it is saturated with water, the saturated volume of the wood chip is determined by the water displacement method, and the ratio of the absolute dry mass of the wood chip to the saturated volume of the wood chip is used as the basic density of the wood chip.
3. The method for predicting basic density of wood chips for papermaking by near infrared spectroscopy with elimination of moisture interference according to claim 1, characterized in that: In step (1), the papermaking wood chip sample is a poplar chip or a eucalyptus chip; the size requirements of the papermaking wood chip sample are: length and width ≤ 30 mm, thickness ≤ 6 mm.
4. The method for predicting basic density of wood chips for papermaking by near infrared spectroscopy with elimination of moisture interference according to claim 1, characterized in that: In step (1), the ratio of j to k is 1:6; and kj≥50.
5. The method for predicting basic density of papermaking wood chips by near infrared spectroscopy with elimination of moisture interference according to claim 1, characterized in that: In step (2), a near infrared spectrum is collected every time the water content of the samples in the moisture correction set decreases by 5%.
6. The method for predicting basic density of wood chips for papermaking by near infrared spectroscopy with elimination of moisture interference according to claim 1, characterized in that: The effective spectral range of the near infrared spectrum is 1100-2300nm; the collected near infrared spectrum is the spectrum after the original near infrared spectrum is preprocessed.
7. The method for predicting basic density of wood chips for papermaking by near infrared spectroscopy with elimination of moisture interference according to claim 6, characterized in that: The preprocessing method is to perform standard normal transformation and first-order derivative processing on the original near-infrared spectrum.
8. The method for predicting basic density of wood chips for papermaking by near infrared spectroscopy with elimination of moisture interference according to any one of claims 1 to 7, characterized in that: The root mean square error RMSE and the coefficient of determination R 2 As an evaluation index, the performance of the moisture-corrected basic density prediction model was evaluated.
Citation Information
Patent Citations
Method for eliminating moisture influence factor in field in-situ soil measurement spectrums
CN103712923A
Vis-NIR equipped soil penetrometer
US20170370064A1
