Method for detecting sobering duration of grape wine
Based on the absorption principle of ultraviolet 275nm wavelength by tannins in wine, a portable spectrometer is used to train a linear regression model, which solves the inaccuracy problem of wine sobering time prediction in the existing technology and achieves highly accurate and real-time detection of sobering time.
Patent Information
- Application Number
- CN202311236990.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2024-08-27
AI Technical Summary
The existing technology lacks a scientific, objective and quantitative method to accurately predict the sobering time of wine, and mainly relies on the experience of tasters and the judgment of tannin content.
Based on the absorption principle of UV 275nm wavelength by tannins in wine, a portable spectrometer is used to collect spectral data, and a linear regression model is trained to predict the tannin value, thereby calculating the sobering time of the wine.
It achieves high-accuracy and real-time detection of wine decanting time, and provides a portable and simple-to-operate detection method.
Smart Images

Figure CN118549372A
Abstract
Description
Technical Field
[0001] The invention relates to the field of red wine sobering time, and in particular to a method for detecting the wine sobering time. Technical Background
[0002] In the process of wine tasting, decanting is an important step in the wine tasting process, and the decanting time directly affects the taste and quality of the wine. However, different wines have different decanting times. How to accurately predict their decanting time has always been a concern for wine lovers and producers. The current decanting time mainly relies on the taster's tasting experience and personal judgment of taste to infer the softness, and the taste softness is determined by the tannin content. There is a lack of a scientific, objective and quantitative method to predict the decanting time. Therefore, in order to solve the above problems, the present invention uses the principle that tannin in wine absorbs ultraviolet 275nm wavelength, uses a portable spectrometer to collect labeled spectral data to train a linear regression model to predict the tannin value, and then detects the decanting time of the wine through rule calculation, and proposes a detection method for the decanting time of wine. Summary of the invention
[0003] The purpose of the present invention is to provide a method for detecting the decanting time of wine to solve the above problems. The advantages of the present invention are: based on the principle that tannin in wine absorbs ultraviolet 275nm wavelength, a portable spectrometer is used to collect labeled spectral data to train a linear regression model to predict the tannin value, thereby detecting the decanting time of wine through rule calculation, which has high real-time performance and accuracy. In addition, the portable spectrometer can be used for detection anytime and anywhere, and is easy to operate.
[0004] The present invention provides a method for detecting the sobering time of wine, comprising the following steps:
[0005] Step 1: To achieve the best training model results, low, medium, and high tannin wines need to be prepared. White wine, Pinot Noir wine, and Cabernet Sauvignon wine can meet the needs of regression model construction to predict tannin content.
[0006] The white wine can be used as the blank model detection limit, the Pinot Noir wine has a medium concentration of tannin value, and the Cabernet Sauvignon wine has a high concentration of tannin value.
[0007] Step 2: In order to achieve the goal of detecting the sobering time, training data must be collected first. The specific collection method is as follows:
[0008] Step 2.1: Use the traditional experimental method to test the true tannin value of different varieties of wine (white wine, Cabernet Sauvignon, Pinot Noir, etc.). Use a portable transmission spectrometer with a wavelength of 275nm to collect spectral characteristic data of wine solutions of different varieties. Each spectral data needs to be annotated with a tannin value label. In order to prevent equipment time difference problems, samples will be collected repeatedly over a period of time. Although there are differences in the upper and lower floating values at the spectral data level, the spectral shape trend displayed is consistent and the upper and lower floating values are small. Therefore, there may be spectral differences between devices. In order to solve the above equipment differences, the following single-point calibration scheme can be executed:
[0009] 1. Calibration material: pure water
[0010] 2. Calibration method: Each portable transmission spectrometer collects pure water once before leaving the factory as the spectral data to be calibrated. When training the wine decanting time model, select this spectral data to add single-point calibration.
[0011] 3. Correction formula: S = A / B
[0012] The S is the corrected wine spectrum data, A is the original wine spectrum data, and B is the pure water corrected spectrum data.
[0013] 4. Annotate the corrected spectral data with tannin value labels for subsequent data processing.
[0014] Step 3: Use the corrected spectral band label data obtained in step 2 to train a linear regression model to generate a wine decanting time prediction model. The specific steps are as follows:
[0015] Step 3.1: Load the wine dataset and construct the regression function Y = βX + B
[0016] 1) Y is the model prediction value;
[0017] 2)β is the linear derivative;
[0018] 3) X is the input characteristic spectrum;
[0019] 4) B is the model constant.
[0020] Step 3.2: Input the corrected spectral band label data obtained in step 2 into the function of step 3.1, obtain the model, evaluate the model, predict the test data, evaluate the model performance, save the model, load a wine decanting time detection method to perform tannin detection, and then perform another calculation.
[0021] Step 4: The tannin value output by the model in step 3 is calculated through rules to finally obtain a method for detecting the decanting time of wine. The calculation formula is as follows:
[0022] Decanting time (min) = predicted tannin value (g / L) × 6
[0023] The formula is verified by the present invention through experimental method, and when multiplied by a coefficient of 6, the wine is at its best drinking time.
[0024] The beneficial effects of the present invention are:
[0025] 1. The wine spectral characteristic data collected by the present invention is based on the principle of tannin absorption of ultraviolet 275nm wavelength, which can more accurately detect the true value of tannin, improve the accuracy of the model in predicting tannin content, and more objectively and quantitatively predict the decanting time.
[0026] 2. The portable spectrometer of the present invention is easy to carry and has no requirements on the detection environment, so that users can detect the sobering time of various wines anytime and anywhere. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0028] Figure 1 Flowchart of a method for detecting the duration of wine decanting
[0029] Table 1 Wine model prediction results DETAILED DESCRIPTION
[0030] The following will clearly, completely describe and discuss the technical solutions in the embodiments of the present invention in conjunction with the drawings of the present invention. Obviously, what is described here is only a part of the examples of the present invention, not all the examples. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0031] In order to facilitate users to efficiently and accurately detect the wine decanting time anytime and anywhere, the present invention is described in detail with reference to the accompanying drawings, and its specific implementation steps are as follows:
[0032] Embodiment 1
[0033] Step 1: To achieve the best training model results, low, medium, and high tannin wines need to be prepared. White wine, Pinot Noir wine, and Cabernet Sauvignon wine can meet the needs of regression model construction to predict tannin content. The number of each type of wine in the training data should not be less than 10 brands (e.g., champagne, Pinot Gris, Sauvignon Blanc, etc. for white wine).
[0034] The white wine can be used as the blank model detection limit, the Pinot Noir wine has a medium concentration of tannin value, and the Cabernet Sauvignon wine has a high concentration of tannin value.
[0035] Step 2: In order to achieve the goal of detecting the sobering time, training data must be collected first. The specific collection method is as follows:
[0036] Step 2.1: Use the traditional experimental method to test the true tannin value of different varieties of wine (white wine, Cabernet Sauvignon, Pinot Noir, etc.). Use a portable transmission spectrometer with a wavelength of 275nm to collect spectral characteristic data of wine solutions of different varieties. Each spectral data needs to be annotated with a tannin value label. In order to prevent equipment time difference problems, samples will be collected repeatedly over a period of time. Although there are differences in the upper and lower floating values at the spectral data level, the spectral shape trend displayed is consistent and the upper and lower floating values are small. Therefore, there may be spectral differences between devices. In order to solve the above equipment differences, the following single-point calibration scheme can be executed:
[0037] 1. Calibration material: pure water
[0038] 2. Calibration method: Each portable transmission spectrometer collects pure water once before leaving the factory as the spectral data to be calibrated. When training the wine decanting time model, select this spectral data to add single-point calibration.
[0039] 3. Correction formula: S = A / B
[0040] The S is the corrected wine spectrum data, A is the original wine spectrum data, and B is the pure water corrected spectrum data.
[0041] 4. Annotate the corrected spectral data with tannin value labels for subsequent data processing.
[0042] Step 3: Use the corrected spectral band label data obtained in step 2 to train a linear regression model to generate a wine decanting time prediction model. The specific steps are as follows:
[0043] Step 3.1: Load 600 pieces of data with calibration labels for white wine, Pinot Noir wine, and Cabernet Sauvignon wine, and construct the regression function Y=βX+B.
[0044] 1) Y is the model prediction value;
[0045] 2) β is the linear derivative, and the regression model of this embodiment has β=-78.482;
[0046] 3) X is the input correction spectrum;
[0047] 4) B is the model constant. In the regression model of this embodiment, B=75.687.
[0048] Step 3.2: Input the corrected spectral band label data into the function of step 3.1, obtain the model, evaluate the model, predict the test data, evaluate the model performance, the R value of the model of the present invention is (0.93), save this model and load a wine decanting time detection method to predict tannins, and then perform another calculation.
[0049] The predicted wine does not use modeled wine. Three brands of each type of wine are selected as prediction data (such as Pinot Noir wine, Cachira, Concha y Toro, etc.) and the detailed model prediction results are listed in Table 1, model prediction tannin value.
[0050] Step 4: The tannin value output by the model in step 3 is calculated to finally obtain a method for detecting the decanting time of wine. The calculation formula is as follows:
[0051] Decanting time (min) = predicted tannin value (g / L) × 6
[0052] The formula is verified by the present invention through experimental method, and when multiplied by a coefficient of 6, the wine is at its best drinking time.
[0053] The specific effect diagram is shown in Table 1. The model calculates the decanting time column. It can be seen that the predicted value is close to the actual value, the error is small, and the decanting time of the wine can be well detected.
[0054] Table 1
[0055]
[0056] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
[0057] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure should be limited by the appended claims.
Claims
1. A method for detecting the duration of wine decanting, the present invention relates to the field of red wine decanting, and is characterized by comprising the following steps: Step 1: To achieve the best training model results, low, medium, and high tannin wines need to be prepared. White wine, Pinot Noir wine, and Cabernet Sauvignon wine can meet the needs of regression model construction to predict tannin content. Step 2: In order to achieve the goal of detecting the sobering time, training data must be collected first. The specific collection method is as follows: Step 2.1: Use the traditional experimental method to test the true tannin value of different varieties of wine (white wine, Cabernet Sauvignon, Pinot Noir, etc.). Use a portable transmission spectrometer with a wavelength of 275nm to collect spectral characteristic data of wine solutions of different varieties. Each spectral data needs to be annotated with a tannin value label. In order to prevent equipment time difference problems, samples will be collected repeatedly over a period of time. Although there are differences in the upper and lower floating values at the spectral data level, the spectral shape trend displayed is consistent and the upper and lower floating values are small. Therefore, there may be spectral differences between devices. In order to solve the above equipment differences, the following single-point calibration scheme can be executed: 1). Calibration material: pure water 2) Calibration method: Each portable transmission spectrometer collects pure water once before leaving the factory as the spectral data to be calibrated. When training the wine decanting time model, select this spectral data to add single-point calibration. 3). Correction formula: S = A / B 4). Annotate the corrected spectral data with tannin value labels for subsequent data processing. Step 3: Use the corrected spectral band label data obtained in step 2 to train a linear regression model to generate a wine decanting time prediction model. Step 4: The tannin value output by the model in step 3 is calculated through rules to finally obtain a method for detecting the decanting time of wine.
2. The method for detecting the wine sobering time according to claim 1, characterized in that: As described in step 2, a portable transmission spectrometer with a wavelength of 275 nm is used to collect spectral characteristic data of wine solutions of different varieties.
3. The method for detecting the wine sobering time according to claim 1, characterized in that: In step 3, the specific steps are as follows: Step 3.1: Load the wine dataset and construct the regression function Y = βX + B 1) Y is the model prediction value; 2)β is a linear derivative; 3) X is the input characteristic spectrum; 4) B is the model constant. Step 3.2: Input the corrected spectral band label data obtained in step 2 into the function of step 3.1, obtain the model, evaluate the model, predict the test data, evaluate the model performance, save the model, load a wine decanting time detection method to perform tannin detection, and then perform another calculation.
4. The method for detecting the wine sobering time according to claim 1, characterized in that: The calculation formula is as follows: Decanting time (min) = predicted tannin value (g / L) × 6, The formula is verified by the present invention through experimental method, and when multiplied by a coefficient of 6, the wine is at its best drinking time.
Citation Information
Cited By
Intelligent foot health monitoring system and method based on micro spectrum technology
CN119326375A
