A near-infrared rapid detection method for tannin content in plants
Using near-infrared spectroscopy analysis technology combined with UV spectrophotometer method, the si-PLS model was established, which solved the complex and time-consuming problem of detecting tannin content in plants in the existing technology, and achieved fast and accurate tannin content detection to meet the needs of enterprises. Rapid screening requirements for raw material quality.
Patent Information
- Application Number
- CN202111062516.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-09-10
AI Technical Summary
The existing methods for detecting tannin content in plants are complex, time-consuming and difficult to carry out in large quantities, and cannot meet the needs of enterprises for rapid screening of raw material quality.
Near-infrared spectral analysis technology is combined with ultraviolet spectrophotometer method to establish a spectral analysis model through combined interval partial least squares (si-PLS), perform spectral preprocessing and correction, and establish a quantitative model to achieve rapid detection of tannin content in plants.
It achieves fast, efficient and accurate tannin content detection, reduces costs, and provides technology for quickly screening raw material quality. The verification results show that the interactive verification root mean square error and the prediction root mean square error are within the acceptable range, and the correlation coefficient is 1.0000, suitable for daily testing.
Smart Images

Figure SMS_1 
Figure SMS_2 
Figure SMS_3
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of content detection of traditional Chinese medicine, and particularly relates to a method for rapid near-infrared detection of tannin content in plants. Background Art
[0002] Tannin (or tannin) is a class of astringent polyphenolic biomolecules that bind and precipitate with proteins and various other organic compounds (including amino acids and alkaloids). Tannin compounds are widely distributed in a variety of plants and play a protective role in plants. Tannins currently used at home and abroad are mainly extracted from natural plants containing tannins and plant galls, gallnuts, using water or other solvents. There are classical and modern methods for the determination of tannins. The classical methods include skin powder method, volumetric method, colorimetry and spectrophotometry. Modern methods include high performance liquid chromatography (HPLC), atomic absorption spectrophotometry, thin layer scanning, thermal lens spectroscopy, high sensitivity oscillographic potentiodynamic analysis and electrochemical sensor methods. The main disadvantages of these methods are that they are complicated to operate, time-consuming and cannot be carried out in large quantities.
[0003] Near-infrared spectroscopy analysis technology has the advantages of being fast, accurate, and pollution-free. Therefore, establishing a fast and accurate near-infrared prediction model for detecting tannins in plants can shorten time and reduce costs. It can not only provide a reference for accurately evaluating the quality of plants, but also provide a rapid screening technology for the quality of raw materials required for corporate production. Summary of the invention
[0004] The purpose of the present invention is to provide a method for rapid near-infrared detection of tannin content in plants, so as to achieve rapid and efficient detection of tannin content in plants, accurately evaluate the quality of plants, and provide a rapid screening technology for the quality of raw materials required for enterprise production.
[0005] The technical solution adopted by the present invention is a method for rapid near-infrared detection of tannin content in plants, comprising the following steps:
[0006] (1) Determine the content of tannin components in plant samples using an ultraviolet spectrophotometer;
[0007] (2) using a near-infrared spectrometer to scan the absorption spectrum data of the sample plants;
[0008] (3) Select the spectral pretreatment method of tannin;
[0009] (4) Establish a plant variety discrimination model;
[0010] (5) Using the scanned absorption spectrum data, combined with the detection values of the UV spectrophotometer and the spectrum data obtained by the spectrum preprocessing method, a spectrum analysis model was established through the joint interval partial least squares method (si-PLS);
[0011] (6) Selecting verification plant powder to calibrate the spectral analysis model;
[0012] (7) A quantitative model was established using the preliminary prediction values obtained from the calibrated spectral analysis model and the actual measurement values of the UV spectrophotometer, and the quantitative model was used to predict the tannin content in the plant powder to be tested.
[0013] In the step (1), the tannin content is detected by ultraviolet spectrophotometry and repeated at least three times.
[0014] The method for collecting the near-infrared spectrum in step (2) is as follows: weigh the plant sample, crush it and pass it through a 300-mesh sieve, and use an integrating sphere to collect the near-infrared spectrum of the obtained sample powder. The parameters of the near-infrared spectrometer are set as follows: the spectrum collection range is 10,000 to 4,000 cm -1 , resolution 8cm -1 , scanning times 64 times, temperature 25℃, each sample was collected 3 times, and the average spectrum was obtained.
[0015] The step (3) of selecting the spectral preprocessing method of tannin is to select the original spectral data preprocessing method that maximizes the coefficient of determination and resolution of the spectral analysis model and minimizes the correction standard deviation and relative standard deviation.
[0016] In the step (4), TQ Analyst near-infrared spectroscopy analysis software is used to perform discriminant analysis on the plant varieties and the average values of the absorption spectrum data after spectral preprocessing, and the Mahalanobis distance is used for modeling.
[0017] In step (5), the actual measured value of the tannin content in the plant sample powder and the average value of the absorption spectrum data after spectral pretreatment are linearly fitted using TQ Analyst near-infrared spectroscopy analysis software, and si-PLS is used for modeling. The absorption peak value of the characteristic spectrum region is 5200-4600 cm -1 and 7600~7000cm -1 .
[0018] The si-PLS modeling is performed by using matlab software and the Model function to select the band of the near infrared spectrum, thereby optimizing the model.
[0019] The step (6) calibrates the spectral analysis model so as to minimize the standard deviation of the distribution of the predicted values of the spectral data of the calibration set.
[0020] The tannins in the plants are verified by spectral preprocessing data using multivariate signal correction, derivative, noise filtering and baseline correction.
[0021] The quantitative model is established by using the predicted values of the spectral data obtained by the corrected spectral analysis model and the actual measured values; wherein the predicted values of the spectral data of tannins in plants are used as the vertical coordinates; the actual measured values of tannins in plants are used as the horizontal coordinates, and the model predicts that the tannin content range is 25.00%-85.00%.
[0022] The step (7) uses a quantitative model to predict the tannin content in the plant to be tested, which is to input the average value of the absorption spectrum data of the plant powder to be tested collected by the near-infrared spectrometer into the spectrum analysis model, obtain the spectrum data prediction value through spectrum data preprocessing and spectrum analysis model calculation, and then input the spectrum data prediction value into the quantitative model, and calculate the quantitative model to obtain the tannin content prediction value in the plant to be tested.
[0023] The technical solution of the present invention has the following advantages:
[0024] The present invention collects different varieties of plants and uses near-infrared spectrograms to establish a correlation between plant varieties and near-infrared spectra. Figure 1 A corresponding discrimination model is developed to achieve fast, efficient and accurate discrimination of plant varieties.
[0025] The present invention is a method for rapid near-infrared detection of tannin content in plants. By utilizing the measured tannin content in sample plants (the tannin content ranges from 71.98% to 47.68%), a spectral analysis model is established to achieve rapid, efficient and accurate detection of the tannin content in plant powder. The method has low cost and provides a rapid screening technology for the quality of raw materials required for enterprise production.
[0026] The present invention adopts the second-order derivative optimal spectrum preprocessing method for the spectrum prediction model, and the absorption peak of the characteristic spectrum region is 5200~4600cm -1 and 7600~7000cm -1 . Verified: The root mean square error of interactive validation (RMSECV) of the tannin content spectral model is 2.55, and the root mean square error of prediction (RMSEP) is 2.60. Verified: The correlation coefficient of the established tannin prediction spectral model is 1.0000, which can be used for daily detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 These are the original spectra of gallnut and Tara samples.
[0028] Figure 2 It is a plant variety discrimination model, where “□” represents Chinese gall and “△” represents Tara.
[0029] Figure 3 This is a correlation diagram between the full-wavelength partial least squares (Full-PLS) tannin measured value and the predicted value.
[0030] Figure 4 It is a correlation diagram between the measured and predicted values of tannin using the joint interval partial least squares method (Si-PLS). DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0032] Example 1 Detection method of gallnut and tara content
[0033] (1) Determine the content of tannin components in the gallnut and tara samples by ultraviolet spectrophotometer at least three times;
[0034] (2) Weigh the gallnut and tara samples, crush them and pass them through a 300-mesh sieve. Use an integrating sphere to collect near-infrared spectra of the obtained sample powder. The near-infrared spectrometer parameter settings are: spectral collection range 10000-4000cm -1 , resolution 8cm -1 , scanning times 64 times, temperature 25 °C, each sample was collected 3 times, and the average spectrum was obtained;
[0035] (3) Select the original spectral data preprocessing method that maximizes the coefficient of determination and resolution of the spectral analysis model and minimizes the calibration standard deviation and relative standard deviation. Multivariate signal correction, derivative, noise filtering and baseline correction were used to verify the spectral preprocessing data of gallnut and tara powder.
[0036] (4) Using TQ Analyst near-infrared spectroscopy analysis software, discriminant analysis was performed on the sample types and the average values of the absorption spectrum data after spectral preprocessing, and the Mahalanobis distance was used to build a model and select the objects to be tested.
[0037] (5) The near-infrared spectral analysis model was established using the average value of the tannin content measurement value and the average value of the absorption spectrum data scanned multiple times. The TQ Analyst near-infrared spectral analysis software was used to perform a linear fit between the actual measured value of the tannin content in the gallnut and tara sample powders and the average value of the absorption spectrum data after spectral preprocessing, and si-PLS was used to build a model. Matlab software was used to select the band of the near-infrared spectrum through the Model function, so as to optimize the model. The absorption peak of the characteristic spectral region was 5200-4600cm -1 and 7600~7000cm -1The quantitative model was established using the predicted values of the spectral data obtained by the calibrated spectral analysis model and the actual measured values; the predicted values of the spectral data of tannins in the sample were used as the ordinate; the actual measured values of tannins in the sample were used as the abscissa, and the model predicted the tannin content range to be 25.00%-85.00%.
[0038] (6) Selecting verification sample powder to calibrate the spectral analysis model;
[0039] (7) The quantitative model is used to predict the tannin content in the sample to be tested. The average value of the absorption spectrum data of the sample powder to be tested collected by the near-infrared spectrometer is input into the spectrum analysis model. After the spectrum data is preprocessed and the spectrum analysis model is calculated, the spectrum data prediction value is obtained. The spectrum data prediction value is then input into the quantitative model. The tannin content prediction value in the sample to be tested can be obtained through the quantitative model calculation.
[0040] In order to further verify the effectiveness of the present invention, the inventors conducted a series of experiments, as follows:
[0041] 1. Test materials: The test materials are 37 samples of Gallic and Tara, each of which is divided into 2 groups, one for chemical composition determination and the other for near-infrared spectrum collection. The near-infrared spectrum sample set is divided into a calibration set and a test set. The calibration set is used to establish the model and the internal cross-validation of the model, and the test set is used for the external validation of the model. In this experiment, 27 samples were selected as the calibration set and 10 samples were selected as the test set.
[0042] 2. Collection of near infrared scanning spectrum:
[0043] Weigh the sample, crush it and pass it through a 300-mesh sieve. Use an integrating sphere to collect the near-infrared spectrum of the obtained sample powder. The near-infrared spectrometer parameter settings are as follows: the spectrum collection range is 10000-4000cm -1 , resolution 8cm -1 , scan times 64 times, temperature 25℃, collect 3 times for each sample, and calculate the average spectrum, such as Figure 1 shown.
[0044] 3. Determination of tannin component content
[0045] The statistical results of the calibration set and test set sample data of the near infrared model of the tannin component are shown in Table 1. The tannin content ranges from 71.98% to 47.68%, with an average value of 61.78%. The distribution range of the chemical composition content of the samples is obviously different, and the samples are representative.
[0046] Table 1 Determination of the content of plant tannin components
[0047] Number of samples Content range average value Standard Deviation Tannin(%) 37 71.98-47.68 61.78 7.98
[0048] 4. Collection of original spectra
[0049] Figure 1 The results show that the samples of Gallic and Tara are in the range of 10000-4000 cm -1 The near-infrared diffuse reflectance spectrum of the samples shows multiple absorption peaks in the full wavelength range. The absorption spectrum characteristics of different samples in the near-infrared spectrum region are basically the same, and the full spectrum shows a high-low and gentle trend, indicating that the main components of the samples are basically the same, but the relative content of each component is different. The near-infrared spectrum of the samples can be used to determine the tannin content.
[0050] 5. Original spectrum preprocessing and model establishment:
[0051] There are six methods for preprocessing the original spectrum: centering, range normalization, vector correction, scatter correction, first-order derivative, and second-order derivative. The choice of the original spectrum preprocessing method directly affects the quality of the analysis model. The quantitative partial least squares (QPLS) method is used for modeling. The larger the determination coefficient (R2) and resolution (RPD) of the constructed near-infrared prediction model, the smaller the calibration standard deviation (SEC) and relative standard deviation (RSD), and the more accurate the prediction model. Through the comparative analysis of the above six preprocessing methods and the principal component number method, the results are shown in Table 2. It was found that when the MSC+FD+Ns combination is used, the RMSEC is the smallest, and the Rc 2 The maximum value is the optimal spectral preprocessing method.
[0052] Table 2 Results of phytochemical tannin pretreatment
[0053]
[0054]
[0055] MSC: Multivariate signal correction; FD / SD: First / Second order derivative; Ns, SG, Nd: Filtering (smoothing) method
[0056] 6. Qualitative model establishment:
[0057] TQ Analyst near-infrared analysis software is used to perform mathematical processing on the absorption spectrum data to make the discrimination model more accurate. Mahalanobis distance discriminant analysis is used to divide the samples into training sets and prediction sets. The classification effect is judged by the prediction accuracy of the prediction set. The established grade judgment model is used to predict the grade of the spectrum, such as Figure 2 shown.
[0058] In the modeling process, the average spectrum is calculated first, and then the classification model is established by estimating the changes of each wave point in the analysis area. In the discriminant analysis of multivariate statistics, the Mahalanobis distance is used to determine the discriminant attribution of the sample points. The Mahalanobis distance is a kind of generalized square distance. It is based on the theory of multivariate normal distribution and effectively considers the three parameters of mean, variance and covariance. It is a comprehensive indicator that can fully describe the overall multivariate structure.
[0059] Assume that there are two populations G1 and G2 that obey the normal distribution, x∈R is a new sample point, and define the Mahalanobis distance from x to G1 and G2 as d(x,G1) and d(x,G2):
[0060]
[0061]
[0062] Where μ1 and μ2 are the mean matrices of the populations G1 and G2; S1 and S2 are the covariance matrices of the populations G1 and G2.
[0063] The judgment rules are as follows:
[0064]
[0065] Establishment of Full-PLS quantitative model:
[0066] The absorption spectrum data was mathematically processed using TQ Analyst near-infrared calibration software to make the linear relationship between the chemical measurement value and the corresponding absorption spectrum data prediction value more accurate, that is, the spectral analysis model prediction was more accurate. Different mathematical algorithms and different mathematical transformations were used for the 27 samples to obtain different results. Then, the chemical measurement values of the tannins in the 27 sample sets of the calibration set were associated with the preliminary prediction values of the spectral analysis model. The spectral data prediction value of the calibration set was x (measured value%), and the corresponding chemical measurement value was y (predicted value%), which were made into 27 data values (x, y) respectively. The spectral data was preprocessed according to the selected spectral preprocessing method. Figure 3 As shown in the figure, there is a good linear relationship between the corrected predicted value and the chemical measured value. The correlation coefficient of tannin content determination is 0.9851. A prediction model for tannin content in plants is obtained, in which the spectral data predicted value of tannin in plants is the vertical coordinate and the actual chemical measured value of tannin in plants is the horizontal coordinate.
[0067] 7. Model calibration:
[0068] Ten samples that were not involved in the calibration were selected to calibrate the established tannin prediction model. The verification results are shown in Table 3. The absolute error between the predicted value and the chemical value of tannin is less than 1, which is a small error, indicating that the plant tannin content prediction model is more feasible and the prediction results are more accurate.
[0069] Table 3 Near infrared model verification results
[0070]
[0071] Preferably, the establishment of Si-PLS quantitative model:
[0072] The absorption spectrum data was mathematically processed using TQ Analyst near-infrared calibration software to make the linear relationship between the chemical measurement value and the corresponding absorption spectrum data prediction value more accurate, that is, the spectral analysis model prediction was more accurate. Different mathematical algorithms and different mathematical transformations were used for the 27 samples to obtain different results. Then, the chemical measurement values of the tannins in the 27 sample sets of the calibration set were associated with the preliminary prediction values of the spectral analysis model. The spectral data prediction value of the calibration set was x (measured value%), and the corresponding chemical measurement value was y (predicted value%), which were made into 27 data values (x, y) respectively. The spectral data was preprocessed according to the selected spectral preprocessing method. Figure 4 As shown, there is a good linear relationship between the corrected predicted value and the chemical measured value. The correlation coefficient of tannin content determination is 1.0000. A prediction model for tannin content in plants is obtained, wherein the predicted value of the spectral data of tannin in plants is the vertical coordinate, and the actual chemical measured value of tannin in plants is the horizontal coordinate.
[0073] Model calibration:
[0074] Ten samples that were not involved in the calibration were selected to calibrate the established tannin prediction model. The verification results are shown in Table 4. The absolute error between the predicted value and the chemical value of tannin is less than 0.5, which is a small error, indicating that the plant tannin content prediction model is highly feasible and the prediction results are more accurate.
[0075] Table 4 Near infrared model verification results
[0076]
[0077] The prediction model is built using the predicted values of optical data and the values measured by chemical methods. The chemical method for detecting tannin indicators is done in accordance with national standards, which is time-consuming and laborious. The initial modeling requires obtaining the chemical values of a certain number of plants. After the model is built, it needs to be opened in the near-infrared analysis software and the prediction model is built using the real measured values to ensure the reliability of the predicted values. In actual applications, it is only necessary to use a near-infrared spectrometer to scan plant samples, obtain optical data, and directly use the model to measure the tannin content in the plant without the need for chemical methods. This is simple, fast, efficient, and saves money and effort.
[0078] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A rapid detection method for gallnut tannin in gallnut plants, characterized in that: The method comprises the following steps: (1) The content of tannin components in gallnut and tara samples was determined by ultraviolet spectrophotometer; Tannin content determination was performed at least three times using UV spectrophotometer; (2) Using a near-infrared spectrometer to scan the absorption spectrum data of samples of Gallic acid and Tara; The scanning of the absorption spectra of Gallic Acid and Tara powders was repeated at least three times; The method for collecting the near-infrared spectrum is as follows: weigh the gallnut and Tara samples, crush them and pass them through a 300-mesh sieve, and use an integrating sphere to collect the near-infrared spectrum of the obtained sample powder. The near-infrared spectrometer parameter setting is as follows: the spectrum collection range is 10000-4000cm -1 , resolution 8cm -1 , scanning times 64 times, temperature 25 °C, each sample was collected 3 times, and the average spectrum was obtained; (3) Select the spectral pretreatment method of tannin; Select the original spectral data preprocessing method that maximizes the coefficient of determination and resolution of the spectral analysis model and minimizes the calibration standard deviation and relative standard deviation; (4) Establish a model for distinguishing the varieties of Gallic and Tara; TQ Analyst near-infrared spectroscopy analysis software was used to perform discriminant analysis on the average values of the absorption spectrum data of the varieties of Gallic and Tara after spectral preprocessing, and the Mahalanobis distance was used to build a model and select the objects to be tested; (5) Using the scanned absorption spectrum data, combined with the detection values of the UV spectrophotometer and the spectrum data obtained by the spectrum preprocessing method, a spectrum analysis model was established by joint interval partial least squares method si-PLS; The step (5) is to establish a near infrared spectroscopy analysis model using the average value of the tannin content measurement value and the average value of the absorption spectrum data scanned multiple times; The process of establishing the spectral analysis model in step (5) is as follows: using TQ Analyst near-infrared spectral analysis software, linear fitting is performed on the actual measured values of the tannin content in the sample gallnut and tara powder and the average values of the absorption spectrum data after spectral pretreatment, and si-PLS is used for modeling; The process of step (5) si-PLS is as follows: using matlab software, through the Model function, the band selection of the near infrared spectrum is performed to optimize the model, and the absorption peak of the characteristic spectrum region is 5200-4600cm -1 and 7600~7000cm -1 ; (6) Select and verify the gallnut and Tara powder to calibrate the spectral analysis model; Minimize the standard deviation of the distribution of the predicted values of the spectral data of the calibration set; (7) establishing a quantitative model using the preliminary predicted values obtained by the calibrated spectral analysis model and the actual measured values of the UV spectrophotometer, and using the quantitative model to predict the content of tannin in the tested gallnut and tara powders; The step (7) uses a quantitative model to predict the content of tannin in the gallnut and tara powder to be tested, which is to input the average value of the absorption spectrum data of the gallnut and tara powder to be tested collected by a near-infrared spectrometer into the spectrum analysis model, pre-process the spectrum data, calculate the spectrum analysis model to obtain a spectrum data prediction value, and then input the spectrum data prediction value into the quantitative model, and calculate the quantitative model to obtain the predicted value of the tannin content in the gallnut to be tested; The gallnut and Tara powder tannins are validated by spectral preprocessing data using multivariate signal correction, derivative, noise filtering and baseline correction; The quantitative model is established by using the predicted values of the spectral data obtained by the corrected spectral analysis model and the actual measured values; wherein the predicted values of the spectral data of the tannins in the gallnut and tara are used as the vertical coordinates; the actual measured values of the tannins in the gallnut and tara are used as the horizontal coordinates, and the model predicts that the tannin content range is 25.00%-85.00%.
