Method and system for measuring total acid content and total ester content of wine
The spectral data of the wine sample was collected through a near-infrared spectrometer and a prediction model was established using PLS stoichiometric method. The problems of complex measurement of total acid and total ester content in the prior art were solved, and the rapid and accurate measurement results were achieved, and the level of intelligent detection was improved.
Patent Information
- Application Number
- CN202411801756.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-28
AI Technical Summary
The existing methods for measuring total acid and total ester content of alcoholic alcohol are complex in operation, long in measurement cycle, and difficult to meet the needs of rapid detection of modern alcoholic beverage production, and there are large artificial operation errors, which affect the accuracy and reproducibility of the measurement results.
The spectral data of the wine sample was collected by near-infrared spectrometer, and a prediction model between the total acid and total ester content and spectral data was established based on the partial least squares method (PLS) stoichiometric method, and a rapid and accurate content prediction was achieved through an automated measurement system.
It significantly improves the measurement efficiency, shortens the measurement cycle, reduces the operation difficulty and human error, ensures the accuracy and consistency of the measurement results, and improves the convenience and intelligence of the detection work.
Smart Images

Figure CN119715451A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of quality control, in particular to a method and a system for determining the total acid and total ester content of wine. Background Art
[0002] In alcoholic products, the total acid and total ester content is one of the key factors to distinguish different grades and styles of wine. The wine brewing process is affected by many factors, such as raw material quality, fermentation conditions, aging time, etc. The total acid and total ester content is an important indicator to reflect whether the brewing process is reasonable and stable.
[0003] Different brewing processes will result in different amounts and proportions of total acid and total ester in the wine. By measuring their content, we can evaluate whether the brewing process has achieved the expected results, and then adjust and optimize the process to ensure the stability and consistency of product quality. Generally speaking, high-quality and high-end wines usually have an appropriate and relatively stable range of total acid and total ester content. The coordinated balance of their content and proportion gives the wine a unique flavor and taste. For example, sauce-flavored liquor is characterized by high acid and high ester, while light-flavored liquor has a relatively low acid ester content. By measuring the total acid and total ester content, we can provide a scientific basis for the grading and style classification of wines, which will help consumers identify and choose wines of different qualities. In the prior art, it has been found through long-term observation and use that the determination of total acid and total ester in existing wines mostly adopts traditional chemical titration or chromatography. The traditional method is complicated to operate and has a long determination cycle, which is difficult to meet the needs of rapid detection in modern wine production; at the same time, the human operation error is large, which affects the accuracy and reproducibility of the determination results. Therefore, the present invention provides a method and a determination system for the total acid and total ester content of wine. Summary of the invention
[0004] In order to make up for the deficiencies of the prior art, at least one technical problem raised in the background technology is solved.
[0005] The technical solution adopted by the present invention to solve the technical problem is: a method for determining the total acid and total ester content of wine according to the present invention, the specific steps of the determination method are as follows: S1: Sample preparation: dilute and homogenize the wine sample appropriately; S2: Spectral acquisition: Use near-infrared spectrometer to collect spectral data of samples; S3: Model building: Based on the partial least squares (PLS) chemometric method, a prediction model between total acid and total ester content and spectral data was established; S4: Content prediction: Input the spectral data of the wine sample to be tested into the model to quickly predict the content of total acid and total ester.
[0006] Preferably, the dilution proposed in S1 refers to accurately measuring a certain volume of wine sample, generally using a pipette or a pipette, accurate to 0.01 ml or less, and placing it in a volumetric flask. Then, the volumetric flask is filled to the mark with distilled water or deionized water, and shaken thoroughly to mix the sample and the diluent thoroughly to obtain a diluted sample solution. For example, to dilute a certain liquor sample 20 times, 20.00 ml of the liquor sample can be accurately pipetted into a 200 ml volumetric flask, and then the volume is filled to the mark with distilled water and shaken well.
[0007] Preferably, the spectral data proposed in S2 refers to a series of light absorption or light reflection intensity values at different wavelengths obtained after the near-infrared spectrometer scans the sample in the near-infrared light region. The wavelength range of near-infrared light is generally 781nm to 2525nm. In this region, the organic molecules in the sample will absorb and scatter near-infrared light of a specific wavelength, and the degree of absorption and scattering is related to the chemical composition and content in the sample. By testing the sample with a near-infrared spectrometer, the spectral response data of the sample at different near-infrared wavelengths can be obtained, and these data constitute a spectral data set.
[0008] Preferably, the partial least squares (PLS) chemometrics method proposed in S3 is a mathematical optimization technique and an important method in chemometrics. Partial least squares regression ≈ multivariate linear regression analysis + canonical correlation analysis + principal component analysis, which finds the best function match for a set of data by minimizing the sum of squares of errors. It can perform regression modeling under the condition that there are serious multiple correlations in the independent variables, and allows regression modeling under the condition that the number of sample points is less than the number of variables.
[0009] A system for determining the total acid and total ester content of wine, the system is applicable to the method for determining the total acid and total ester content of wine described above, the system comprises a central processing unit module, an automatic sample injection module, a power supply module, an automatic spectrum acquisition module, a homogenization processing module, an automatic data analysis module, and an automatic result output module; The central processing module and the power supply module are electrically connected; wherein the power supply module can supply power to the central processing module, and the central processing module can control the output of the current in the power supply module; The central processing unit module and the sample automatic injection module are connected by signals; the sample automatic injection module can automatically and accurately transport the wine sample to be tested to the detection position of the spectrum automatic acquisition module according to the preset program and sequence; The central processing module and the spectrum automatic acquisition module are connected via signals; the spectrum automatic acquisition module uses a high-precision spectrometer to perform spectrum scanning on the wine sample entering the detection position, and quickly and accurately obtains the spectrum data of the sample within a specific wavelength range; The central processing module and the homogenization processing module are connected via signals; the main function of the homogenization processing module is to fully mix the various components in the wine sample to make the sample have good uniformity; The central processing module and the automatic data analysis module are connected via signals; the automatic data analysis module uses advanced chemometrics algorithms and data processing techniques to perform in-depth analysis and processing on the spectral data acquired by the automatic spectrum acquisition module; The central processing module and the automatic result output module are connected via signals; the automatic result output module can output the measurement results in various forms, such as intuitively displaying the content values, content ranges, and whether they meet the standards of total acids and total esters in the wine sample on a display screen.
[0010] Preferably, when the automatic data analysis module performs in-depth analysis and processing on the spectral data acquired by the automatic spectral acquisition module, it performs spectral preprocessing, including noise removal, baseline correction, and normalization operations to improve data quality; then, based on an established quantitative analysis model, such as a partial least squares regression model, the spectral data is correlated and quantitatively analyzed with the total acid and total ester contents in the wine to calculate the total acid and total ester contents in the sample.
[0011] Preferably, the automatic result output module can also print out a detailed measurement report through a printer, including sample information, measurement time, measurement method, spectrum, content results, and result analysis content, which is convenient for users to view and archive.
[0012] Preferably, the homogenization processing module includes a stirring barrel; a cover body is provided at the top of the stirring barrel; a fixed plate is symmetrically fixed to the side wall of the cover body; a servo motor is fixed to the side wall of the fixed plate; a rotating shaft is fixed to the output end of the servo motor; the rotating shaft passes through the surface of the cover body and is rotatably connected thereto; a plurality of groups of stirring shafts are symmetrically fixed to the side wall of the rotating shaft; a first stirring rod is fixed to the end of the rotating shaft; rotating rods are symmetrically provided on both sides of the bottom wall of the stirring barrel; a second stirring rod is rotatably provided in the middle of the rotating rod; a plurality of groups of connecting rods are fixed to the side wall of the rotating shaft; a defoaming paddle is fixed to the end of the connecting rod; a connecting rope is fixed to the side wall of the fixed plate; a magnetic ball is fixed to the end of the connecting rope; a magnetic block is symmetrically fixed to the side wall of the stirring barrel; the magnetic block and the magnetic ball are connected in a magnetic way.
[0013] Preferably, the side wall of the cover body is symmetrically fixed with a first support plate; the side wall of the mixing barrel is symmetrically fixed with a second support plate; the side wall of the second support plate is provided with a mounting hole; the mounting hole is also provided on the side wall of the first support plate; the side wall of the first support plate is fixed with a bracket; the side wall of the bracket is provided with a sliding hole; a sliding rod is slidably connected to the inner side of the sliding hole; a spring assembly is sleeved and connected to the middle part of the sliding rod; a latch is fixed to the end of the spring assembly; a fixing nut is provided at the middle part of the latch; the fixing nut and the latch are connected in a threaded manner; and a sealing ring is fixed to the side wall of the cover body.
[0014] The beneficial effects of the present invention are as follows: 1. The method and system for determining the total acid and total ester content of wine described in the present invention significantly improve the determination efficiency, shorten the determination cycle, reduce the operation difficulty and human errors, and ensure the accuracy and consistency of the determination results. At the same time, the fully automated determination system greatly improves the convenience and intelligence level of the detection work.
[0015] 2. The method and system for determining the total acid and total ester content of wine described in the present invention are not only simple and convenient to operate through this design, but also can mix the materials at the bottom of the mixing barrel when the materials are stirred. At the same time, the mixing barrel can be knocked, and the shock force generated by the knocking can make the materials inside the mixing barrel mixed more evenly, thereby improving the mixing effect, and while stirring, the foam generated by the stirring can be eliminated, thereby improving the accuracy of the determination. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The present invention will be further described below in conjunction with the accompanying drawings.
[0017] Figure 1 is a flow chart of the method of the present invention; Figure 2 is a system flow chart of the present invention; Figure 3 is a stereogram of the present invention; Figure 4 It is a schematic diagram of the structure of the defoaming paddle in the present invention; Figure 5 It is a structural schematic diagram of the sealing ring in the present invention; In the figure: 1. stirring barrel; 10. cover; 11. fixing plate; 12. servo motor; 13. rotating shaft; 14. stirring shaft; 15. first stirring rod; 16. rotating rod; 17. second stirring rod; 18. connecting rod; 19. defoaming paddle; 2. first supporting plate; 21. second supporting plate; 22. mounting hole; 23. bracket; 24. sliding hole; 25. sliding rod; 26. spring assembly; 27. latch; 28. fixing nut; 29. sealing ring. DETAILED DESCRIPTION
[0018] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.
[0019] like Figure 1 As shown, a method for determining the total acid and total ester content of wine according to an embodiment of the present invention, the specific steps of the determination method are as follows: S1: Sample preparation: dilute and homogenize the wine sample appropriately; S2: Spectral acquisition: Use near-infrared spectrometer to collect spectral data of samples; S3: Model building: Based on the partial least squares PLS chemometric method, a prediction model between total acid and total ester content and spectral data was established; S4: Content prediction: Input the spectral data of the wine sample to be tested into the model to quickly predict the content of total acid and total ester.
[0020] like Figure 1 As shown, according to the dilution proposed in S1, a certain volume of wine sample is accurately measured, usually using a pipette or a pipette, accurate to 0.01ml or smaller scale, and placed in a volumetric flask. Then, the volumetric flask is filled to the scale with distilled water or deionized water, and shaken thoroughly to mix the sample and the diluent thoroughly to obtain a diluted sample solution. For example, to dilute a certain liquor sample 20 times, 20.00ml of the liquor sample can be accurately pipetted into a 200ml volumetric flask, and then the volume is filled to the scale with distilled water and shaken well.
[0021] like Figure 1 As shown, according to the spectral data proposed in S2, it refers to a series of light absorption or light reflection intensity values at different wavelengths obtained after the near-infrared spectrometer scans the sample in the near-infrared light region. The wavelength range of near-infrared light is generally 781nm to 2525nm. In this region, the organic molecules in the sample will absorb and scatter near-infrared light of a specific wavelength. The degree of absorption and scattering is related to the chemical composition and content in the sample. By testing the sample with a near-infrared spectrometer, the spectral response data of the sample at different near-infrared wavelengths can be obtained. These data constitute the spectral data set.
[0022] like Figure 1As shown, according to the partial least squares PLS chemometrics method proposed in S3, it is a mathematical optimization technique and an important method in chemometrics. Partial least squares regression ≈ multiple linear regression analysis + canonical correlation analysis + principal component analysis. It finds the best function match for a set of data by minimizing the sum of squares of errors. It can perform regression modeling under the condition that there are serious multiple correlations in the independent variables, and allows regression modeling when the number of sample points is less than the number of variables.
[0023] A system for determining the total acid and total ester content of wine, the system is applicable to the above-mentioned method for determining the total acid and total ester content of wine, the system comprises a central processing unit module, an automatic sample injection module, a power supply module, an automatic spectrum acquisition module, a homogenization processing module, an automatic data analysis module, and an automatic result output module; The central processing module and the power supply module are electrically connected; wherein the power supply module can supply power to the central processing module, and the central processing module can control the output of the current in the power supply module; The central processing unit module and the sample automatic injection module are connected by signals; the sample automatic injection module can automatically and accurately transport the wine sample to be tested to the detection position of the spectrum automatic acquisition module according to the preset program and sequence; The central processing module and the spectrum automatic acquisition module are connected by signals; the spectrum automatic acquisition module uses a high-precision spectrometer to perform spectrum scanning on the wine sample entering the detection position, and quickly and accurately obtains the spectrum data of the sample within a specific wavelength range; The central processing module and the homogenization processing module are connected via signals; the main function of the homogenization processing module is to fully mix the various components in the wine sample to make the sample have good uniformity; The central processing module and the automatic data analysis module are connected by signals; the automatic data analysis module uses advanced chemometrics algorithms and data processing technology to conduct in-depth analysis and processing of the spectral data obtained by the automatic spectrum acquisition module; The central processing module and the automatic result output module are connected by signals; the automatic result output module can output the measurement results in various forms, such as visually displaying the content values, content ranges, and whether the content meets the standards of the total acid and total ester in the wine sample on a display screen.
[0024] like Figure 2As shown, when the automatic data analysis module conducts in-depth analysis and processing on the spectral data acquired by the automatic spectral acquisition module, it performs spectral preprocessing, including noise removal, baseline correction, and normalization operations to improve data quality; then, based on the established quantitative analysis model, such as the partial least squares regression model, the spectral data is correlated and quantitatively analyzed with the total acid and total ester content in the wine to calculate the total acid and total ester content in the sample.
[0025] like Figure 2 As shown, the automatic result output module can also print out detailed measurement reports through a printer, including sample information, measurement time, measurement method, spectrum, content results, and result analysis content, which is convenient for users to view and archive.
[0026] like Figure 3 - Figure 5As shown, the homogenization processing module includes a mixing barrel 1; a cover 10 is provided at the top of the mixing barrel 1; a fixing plate 11 is symmetrically fixed to the side wall of the cover 10; a servo motor 12 is fixed to the side wall of the fixing plate 11; a rotating shaft 13 is fixed to the output end of the servo motor 12; the rotating shaft 13 passes through the surface of the cover 10 and is rotatably connected thereto; a plurality of stirring shafts 14 are symmetrically fixed to the side wall of the rotating shaft 13; a first stirring rod 15 is fixed to the end of the rotating shaft 13; Rotating rods 16 are symmetrically arranged on both sides of the bottom wall of the mixing barrel 1; a second stirring rod 17 is rotatably arranged in the middle of the rotating rod 16; a plurality of connecting rods 18 are fixedly connected to the side wall of the rotating shaft 13; a defoaming paddle 19 is fixedly connected to the end of the connecting rod 18; a connecting rope 110 is fixedly connected to the side wall of the fixing plate 11; a magnetic ball 111 is fixedly connected to the end of the connecting rope 110; a magnetic block 112 is symmetrically fixedly connected to the side wall of the mixing barrel 1; the connection method between the magnetic block 112 and the magnetic ball 111 is magnetic connection;During operation, the stirring barrel 1 can support the cover 10, and the fixing plate 11 can be connected through the cover 10. When the material needs to be stirred, the cover 10 is covered on the stirring barrel 1, and the servo motor 12 is operated, so that the rotating shaft 13 can be driven to rotate, and the rotating shaft 13 rotates, so that the stirring shaft 14 can be driven to stir the material. When the cover 10 is installed on the top of the stirring barrel 1, the first stirring rod 15 can be driven to move downward so that it can contact the second stirring rod 17. When the rotating shaft 13 rotates, the first stirring rod 15 can be driven to rotate through the rotation of the rotating shaft 13 itself. The first stirring rod 15 is rotated, and when the end of the first stirring rod 15 rotates to the second stirring rod 17, it will collide with the second stirring rod 17, so that the second stirring rod 17 can be driven to rotate on the rotating rod 16, so that the materials at the bottom of the stirring barrel 1 can be mixed evenly. While stirring, the connecting rod 18 can be driven to rotate, and the connecting rod 18 can drive the defoaming paddle 19 to rotate. The defoaming paddle 19 is set in a conical shape. When the rotating shaft 13 rotates, the defoaming paddle 19 can be driven to rotate. When the defoaming paddle 19 rotates, its special conical shape will produce a strong shearing effect on the foam. When the foam is subjected to shear force, the film on its surface will be stretched and broken, so that the foam generated during stirring can be eliminated. At the same time, the connecting rope 110 can be supported by the fixing plate 11, and the magnetic ball 111 can be connected through the connecting rope 110. When the servo motor 12 is running, the rotating shaft 13 is driven to rotate, thereby driving the fixing plate 11 to rotate. The fixing plate 11 rotates, thereby driving the connecting rope 110 to rotate. The connecting rope 110 rotates, thereby driving the magnetic ball 111 to rotate. When the magnetic ball 111 rotates to the magnetic block 112, the magnetic attraction principle is used to make The magnetic ball 111 is connected to the magnetic block 112, so that the mixing barrel 1 can be knocked, and the vibration force generated by the knocking can make the materials inside the mixing barrel 1 more evenly mixed. This design is not only simple and convenient to operate, but also can mix the materials at the bottom of the mixing barrel 1 when the materials are stirred. At the same time, the mixing barrel 1 can be knocked, and the vibration force generated by the knocking can make the materials inside the mixing barrel 1 more evenly mixed, thereby improving the mixing effect, and while stirring, the foam generated by stirring can be eliminated, thereby improving the measurement accuracy. ;
[0027] like Figure 3 - Figure 5As shown, the side wall of the cover body 10 is symmetrically fixed with the first support plate 2; the side wall of the mixing barrel 1 is symmetrically fixed with the second support plate 21; the side wall of the second support plate 21 is provided with a mounting hole 22; the mounting hole 22 is also arranged on the side wall of the first support plate 2; the side wall of the first support plate 2 is fixed with a bracket 23; the side wall of the bracket 23 is provided with a sliding hole 24; the inner side of the sliding hole 24 is slidably connected with a sliding rod 25; the middle part of the sliding rod 25 is sleeved and connected with a spring assembly 26; the end of the spring assembly 26 is fixed with a latch 27; the middle part of the latch 27 is provided with a fixing nut 28; the connection method of the fixing nut 28 and the latch 27 is a threaded connection; the side wall of the cover body 10 is fixed with a sealing ring 29; during work, the first support plate 2 and the second support plate 21 can play a supporting role. When the staff installs the cover body 10, the staff covers the cover body 10 on the top of the mixing barrel 1, and then The slide bar 25 is pulled to slide in the slide hole 24, thereby driving the spring assembly 26 to be compressed. The spring assembly 26 is compressed, thereby driving the latch 27 to move. Then, after the staff aligns the first support plate 2 with the second support plate 21, the slide bar 25 is loosened, and the spring assembly 26 is used to drive the latch 27 to be inserted into the mounting hole 22. After the latch 27 passes through the first support plate 2 and the second support plate 21, the fixing nut 28 is sleeved on the latch 27 and rotated, so that the cover body 10 can be installed. The sealing can be improved by the sealing ring 29, and the support can be provided by the bracket 23. This design makes it easy for the staff to install and disassemble the cover body 10, so that it is easy for the staff to clean the inside of the mixing barrel 1 later, and it can also improve the sealing, thereby reducing the dust and impurities that float into the mixing barrel 1 and affect the materials.
[0028] During operation, the stirring barrel 1 can support the cover 10, and the fixing plate 11 can be connected to the cover 10. When the material needs to be stirred, the cover 10 is placed on the stirring barrel 1, and the servo motor 12 is operated, so that the rotating shaft 13 can be driven to rotate, and the rotating shaft 13 is rotated, so that the stirring shaft 14 can be driven to stir the material. When the cover 10 is installed on the top of the stirring barrel 1, the first stirring rod 15 can be driven to move downward so that it can contact the second stirring rod 17. When the rotating shaft 13 rotates, the first stirring rod 15 can be driven to rotate by the rotation of the rotating shaft 13 itself. When the first stirring rod 15 rotates, when the end of the first stirring rod 15 rotates to the second stirring rod 17, the stirring rod 17 is driven to rotate. When the rod 17 is at the position where the second stirring rod 17 is, it will collide with the second stirring rod 17, so that the second stirring rod 17 can be driven to rotate on the rotating rod 16, so that the materials at the bottom of the stirring barrel 1 can be mixed evenly, and while stirring, the connecting rod 18 can be driven to rotate, and the defoaming paddle 19 can be driven to rotate through the connecting rod 18. The defoaming paddle 19 is set to be conical, and when the rotating shaft 13 rotates, the defoaming paddle 19 can be driven to rotate. When the defoaming paddle 19 rotates, its special conical shape will generate a strong shear force on the foam. When the foam is subjected to the shear force, the film on its surface will be stretched and broken, so that the foam generated during stirring can be eliminated. At the same time, the connecting rope 18 can be supported by the fixing plate 11 110, the magnetic ball 111 can be connected through the connecting rope 110, when the servo motor 12 runs, the rotating shaft 13 is driven to rotate, thereby driving the fixed plate 11 to rotate, and the fixed plate 11 is rotated, thereby driving the connecting rope 110 to rotate, and the connecting rope 110 is rotated, thereby driving the magnetic ball 111 to rotate, when the magnetic ball 111 rotates to the magnetic block 112, the magnetic ball 111 is connected to the magnetic block 112 through the principle of magnetic attraction, so that the mixing barrel 1 can be knocked, and the shock force generated by the knocking can make the materials inside the mixing barrel 1 more evenly mixed, and the first support plate 2 and the second support plate 21 can play a supporting role, when the staff When installing the cover body 10, the staff covers the cover body 10 on the top of the mixing barrel 1, and then pulls the slide bar 25 to slide in the slide hole 24, thereby driving the spring assembly 26 to be compressed, and the spring assembly 26 is compressed to drive the pin 27 to move. Then the staff aligns the first support plate 2 with the second support plate 21, loosens the slide bar 25, and uses the spring assembly 26 to drive the pin 27 to be inserted into the installation hole 22. After the pin 27 passes through the first support plate 2 and the second support plate 21, the fixing nut 28 is put on the pin 27 and rotated, so that the cover body 10 can be installed. The sealing can be improved by the sealing ring 29, and the support can be provided by the bracket 23.
[0029] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for determining the total acid and total ester content of wine, characterized in that: The specific steps of this determination method are as follows: S1: Sample preparation: dilute and homogenize the wine sample appropriately; S2: Spectral acquisition: Use near-infrared spectrometer to collect spectral data of samples; S3: Model building: Based on the partial least squares (PLS) chemometric method, a prediction model between total acid and total ester content and spectral data was established; S4: Content prediction: Input the spectral data of the wine sample to be tested into the model to quickly predict the content of total acid and total ester.
2. The method for determining the total acid and total ester content of wine according to claim 1, characterized in that: The dilution proposed in S1 refers to accurately measuring a certain volume of wine sample, using a pipette or a pipette, accurate to 0.01ml or smaller scale, and placing it in a volumetric flask. Then, dilute the volumetric flask to the scale with distilled water or deionized water, shake it thoroughly to mix the sample and the diluent thoroughly to obtain a diluted sample solution. To dilute a certain liquor sample 20 times, you can accurately pipette 20.00ml of the liquor sample into a 200ml volumetric flask, dilute it to the scale with distilled water, and shake it well.
3. The method for determining the total acid and total ester content of wine according to claim 1, characterized in that: The spectral data proposed in S2 refers to a series of light absorption or light reflection intensity values at different wavelengths obtained after the near-infrared spectrometer scans the sample in the near-infrared light region. The wavelength range of near-infrared light is 781nm to 2525nm. In this region, the organic molecules in the sample will absorb and scatter near-infrared light of a specific wavelength. The degree of absorption and scattering is related to the chemical composition and content in the sample. By testing the sample with a near-infrared spectrometer, the spectral response data of the sample at different near-infrared wavelengths can be obtained. These data constitute the spectral data set.
4. The method for determining the total acid and total ester content of wine according to claim 1, characterized in that: The partial least squares (PLS) chemometrics method proposed in S3 is a mathematical optimization technique and an important method in chemometrics. Partial least squares regression ≈ multivariate linear regression analysis + canonical correlation analysis + principal component analysis. It finds the best function match for a set of data by minimizing the sum of squares of errors. It can perform regression modeling under the condition that there are serious multiple correlations in the independent variables, and allows regression modeling when the number of sample points is less than the number of variables.
5. A system for determining the total acid and total ester content of wine, characterized in that: The system is applicable to the method for determining the total acid and total ester content of wine as described in any one of claims 1 to 4, and comprises a central processing unit module, an automatic sample injection module, a power supply module, an automatic spectrum acquisition module, a homogenization processing module, an automatic data analysis module, and an automatic result output module; The central processing module and the power supply module are electrically connected; wherein the power supply module can supply power to the central processing module, and the central processing module can control the output of the current in the power supply module; The central processing unit module and the sample automatic injection module are connected by signals; the sample automatic injection module can automatically and accurately transport the wine sample to be tested to the detection position of the spectrum automatic acquisition module according to the preset program and sequence; The central processing module and the spectrum automatic acquisition module are connected via signals; the spectrum automatic acquisition module uses a high-precision spectrometer to perform spectrum scanning on the wine sample entering the detection position, and quickly and accurately obtains the spectrum data of the sample within a specific wavelength range; The central processing module and the homogenization processing module are connected via signals; the main function of the homogenization processing module is to fully mix the various components in the wine sample to make the sample have good uniformity; The central processing module and the automatic data analysis module are connected via signals; the automatic data analysis module uses advanced chemometrics algorithms and data processing technology to perform in-depth analysis and processing on the spectral data acquired by the automatic spectrum acquisition module; The central processing module and the automatic result output module are connected via signals; the automatic result output module can output the measurement results in various forms, such as visually displaying the content values, content ranges, and whether the total acids and total esters in the wine sample meet the standards on a display screen.
6. A system for measuring total acid and total ester content of wine according to claim 5, characterized in that: When the automatic data analysis module performs in-depth analysis and processing on the spectral data acquired by the automatic spectrum acquisition module, the spectral preprocessing is performed, including noise removal, baseline correction, and normalization operations, so as to improve the data quality; Then, based on the established quantitative analysis model, such as the partial least squares regression model, the spectral data are correlated and quantitatively analyzed with the total acid and total ester contents in the wine to calculate the total acid and total ester contents in the sample.
7. The system for measuring total acid and total ester content of wine according to claim 5, characterized in that: The automatic result output module can also print out a detailed measurement report through a printer, including sample information, measurement time, measurement method, spectrum, content results, and result analysis content, which is convenient for users to view and archive.
8. The system for measuring total acid and total ester content of wine according to claim 5, characterized in that: The homogenization processing module comprises a stirring barrel (1); a cover (10) is arranged at the top of the stirring barrel (1); a fixing plate (11) is symmetrically fixedly connected to the side wall of the cover (10); a servo motor (12) is fixedly connected to the side wall of the fixing plate (11); a rotating shaft (13) is fixedly connected to the output end of the servo motor (12); the rotating shaft (13) passes through the surface of the cover (10) and is rotatably connected thereto; a plurality of stirring shafts (14) are symmetrically fixedly connected to the side wall of the rotating shaft (13); a first stirring rod (15) is fixedly connected to the end of the rotating shaft (13); Rotating rods (16) are symmetrically arranged on both sides of the bottom wall of the mixing barrel (1); a second stirring rod (17) is rotatably arranged in the middle of the rotating rod (16); a plurality of groups of connecting rods (18) are fixedly connected to the side wall of the rotating shaft (13); a defoaming paddle (19) is fixedly connected to the end of the connecting rod (18); a connecting rope (110) is fixedly connected to the side wall of the fixing plate (11); a magnetic ball (111) is fixedly connected to the end of the connecting rope (110); a magnetic block (112) is symmetrically fixedly connected to the side wall of the mixing barrel (1); and the magnetic block (112) and the magnetic ball (111) are connected in a magnetic manner.
9. A system for measuring total acid and total ester content of wine according to claim 8, characterized in that: The side wall of the cover body (10) is symmetrically fixedly connected with a first support plate (2); the side wall of the mixing barrel (1) is symmetrically fixedly connected with a second support plate (21); the side wall of the second support plate (21) is provided with a mounting hole (22); the mounting hole (22) is also provided on the side wall of the first support plate (2); the side wall of the first support plate (2) is fixedly connected with a bracket (23); the side wall of the bracket (23) is provided with a sliding hole (24); a sliding rod (25) is slidably connected to the inner side of the sliding hole (24); a spring assembly (26) is sleeved and connected to the middle part of the sliding rod (25); a latch (27) is fixedly connected to the end of the spring assembly (26); a fixing nut (28) is provided at the middle part of the latch (27); the fixing nut (28) and the latch (27) are connected in a threaded manner; and a sealing ring (29) is fixedly connected to the side wall of the cover body (10).