# Automatic Grading Technology and Application of Baijiu Based on Segmented Characteristics and IIoT

Authors: Fan Ye; Yunquan Sun; Jiaping Yang; Yong Liu; Ding Xu; Dongping Ren; Hailong Zhou
Journal: Mobile Information Systems
 (2022)

---

## Abstract

In order to explore the segmented relationship between the segmented rating results of Baijiu and the segmented characteristics of alcohol content and cumulative flow in the distillation process and to verify whether different liquor categories can achieve rating through the segmented characteristics of alcohol content and cumulative flow, in view of this, combined with the Industrial Internet of Things (IIoT) technology and online detection and analysis of alcohol and cumulative traffic, its accuracy can reach ±0.5%, ±1%, with the integration of Baijiu categories, sources, liquor characteristic conditions, and other multisource data, to achieve Baijiu segmented rating data reconstruction, the use of standard error and standard deviation as evaluation indicators, quantification of distilled liquor alcohol, and cumulative flow segmented characteristics to form a liquor rating strategy, so as to use the Arduino platform control motor to achieve automatic grading of Baijiu. Experiments show that the relative error between automatic rating and manual rating is less than 10%, which shows that automatic rating can be better applied to the actual brewing process. It provides a solution for the digitization and standardization of Baijiu grading.


---

## Body

## 1. Introduction

The “Baijiu rating” in traditional Baijiu brewing refers to the prediction and judgment of Baijiu by the grading experts based on the previous data such as liquor categories and fermentation parameters, combined with the size of the hops at the time of flow, the dissipation rate of the hops, the measurement of the flow time, and the taste of the Baijiu, so as to rate the liquor to distinguish different liquor segments [1, 2]. This method relies too much on the experience of the Baijiu grading expert and does not have a unified quantitative index, resulting in unstable product quality.In terms of hops recognition, Tian Zichen et al. used convolutional neural network to extract the multiscale feature algorithm of hops contour, and its classification accuracy was as high as 97.59% [3]. In terms of substance content detection, Fan Mingming et al. used near-infrared spectroscopy to detect the content of hexyl caproate and other substances online and established an alcohol prediction model, which can meet the grading standards of Baijiu, thereby simulating the characteristics of artificial grading judgment [4]. At the Baijiu brewing site, fog and vibration are inevitable, which easily affects the accuracy of hop identification and material content measurement, and the cost is so high that it is difficult to apply. The application of IIoT technology to Baijiu brewing will help enterprises digitally transform and improve enterprise production efficiency and will also create new opportunities to meet the needs of differentiated enterprises [5, 6]. Embedding IIoT technology in the manufacturing industry has significantly increased the level of digitalization of enterprises and shortened production cycles [7].In order to integrate the artificial grading characteristics and quantify the grading criteria of Baijiu, the Baijiu grading system based on IIoT technology is a real-time analysis of the temperature, alcohol content, and cumulative flow data of distilled liquor [8]; combined with the segmented results of Baijiu grading experts looking at hops, tasting tastes, and counting time, the alcohol content and cumulative flow are associated, so as to establish the corresponding relationship characteristics between artificial grading and alcohol content and cumulative flow.In this experiment, the study object was based on the strong aromatic Chinese Baijiu type and the mild aromatic Chinese Baijiu, and the sources of the mash were ZL1-ZL8 (the proportion of raw materials wasα, the fermentation cycle was N days) and CJ1-CJ8 (the proportion of raw materials was β, the fermentation cycle was P day), the raw materials added to the bottom pot were QS, HS, FJY, and WJ, and according to the different raw materials and volume added to the bottom pot, the grading data of Baijiu enterprises was reconstructed [9], and it was divided into different process types.


## 2. Methodology

Integrating multisource data [10] such as Baijiu categories and fermentation parameters and analyzing the relationship between the segmented characteristics of alcohol content and cumulative flow and the manual rating results under different process types, Baijiu grading experts still use hops as segmented rating criteria and alcohol content and cumulative flow during distillation in the Baijiu production process as automatic rating characteristic indicators.When the steam is distilled out of the pot and the steam is condensed into a liquid through the steam pipe to the condenser, the Baijiu grading system samples by bypass [11], and the L-Dens2300 density sensor measures the temperature and density of the Baijiu online, and the conversion and compensation of the density, temperature, and alcohol are completed by the host computer program algorithm [12]. The cumulative flow rate is measured directly by a turbine flow sensor installed in the distillate mains, and the flow value is filtered by the program [13]. The Baijiu grading system uses IIoT technology to automatically read the type of Baijiu brewing process and analyzes the alcohol content size, the change trend before and after the alcohol content, and the accumulated flow of the Baijiu segment when grading the Baijiu under different process types by the grading experts in real time. In order to ensure the accuracy of statistical results, five groups of manual rating and automatic rating data under the same process type are counted, and the average value is taken after removing the extremum value to remove accidental errors [14], and the segmented characteristics of liquor are formed by analyzing the data.


### 2.1. High-Precision Online Monitoring Solutions

Baijiu grading equipment is connected in the middle of the condenser and the wine plate classifier system containing sensor online detection, data analysis, and processing, and program algorithm control; Baijiu is from the condenser through the servo drive to the wine plate in each grading pipeline. Accurate measurement of alcohol content online should avoid the formation of bubbles in the U-shaped tube in the density sensor to affect the density, thereby affecting the accuracy of alcohol content [15]. In actual production, there is a certain pressure in the condenser, and bubbles will inevitably be generated to affect the measurement results. In order to avoid bubbles entering the U-shaped pipe, the density sensor adopts the bypass small pipe connection mode; in order to ensure the real-time measurement, and to avoid the alcohol solution in the cache barrel to indulge in the front and rear sections of the liquor, the booster pump is added in the bypass system to establish a linear relationship [16] between the flow rate of the liquor and the operating speed of the vacuum pump, to avoid the pump running speed being too fast, bubbles are generated in the alcohol density sensor, or the pump running speed is too slow to affect the real-time detection of alcohol. Since the pressure generated by the condenser will cause the turbine flowmeter impeller to idle to cause inaccurate flow counting, an exhaust device is added to the cache barrel to make the pressure of the turbine flowmeter consistent before and after without liquid, so that the online monitoring accuracy of alcohol content and cumulative flow can reach ±0.5% and ±1%, respectively. The overall design is shown in Figure 1.Figure 1
In-line inspection system.


### 2.2. Grading Devices Based on Industrial Internet of Things (IIoT) Technology

The architecture of the Baijiu automatic rating system based on IIoT technology includes the perception layer, communication layer, and application layer [17]. The perception layer mainly includes L-Dens 2300 density sensor, flow sensor, near-infrared online sensor, etc. The communication layer uses Zigbee technology for wireless transmission, and at the same time, it is equipped with MODBUS protocol to connect to other devices [18]. The application layer is to use the industrial computer for human-computer interaction to understand the status of the Baijiu rating system in real time.The Baijiu grading system is combined with IIoT technology, which is composed of four parts: host computer, input module, output module, and data exchange module. IIoT [19] is the use of miniature sensors and wireless networks to monitor equipment status data, in-depth analysis of the data, thereby forming a decision control actuator. The host computer is an industrial all-in-one machine with a touch display, on-board Intel SkylakeCorei5 processor, for the data analysis and processing, the actuator control. The host computer analyzes and processes the data, and interacts with the input module and PLC through the Internet of Things to read the type data of the brewing process. At the same time, the Arduino platform [20] is used to control the servo motor, so as to drive the liquor tube to achieve automatic grading of Baijiu. The input module includes liquid turbine flow sensor, L-Dens2300 online density sensor, etc. The L-Dens2300 in-line density sensor uses the reliable oscillating U-tube principle for density measurement [21] and an integrated temperature sensor for reading the temperature of the measured solution. Density calculation can be done using the following formula to calculate density from oscillation period and temperature [22]:(1)Dt=A∗P2∗1+C∗T+D∗T2−B,where Dt is the density measured at temperature, the unit is [kg/m3], and it has been corrected for the temperature effect of the sensor, P is the oscillation period, the unit is [μs], T is the temperature, the unit is [°C], and A, B, C, and D are the calibration normal number.According to GB5009.225-2016 alcohol aqueous solution density and alcohol content (ethanol content) control table (20°C) and alcohol meter temperature and 20°C alcohol content (ethanol content) conversion table, MATLAB is used to establish a density and alcohol content relationship fitting model:(2)ρ=A1+∑k=212Akpk−1+∑k=16Bkt−20℃k+∑i=1n∑k=1miCi,kpkt−20℃i,where ρ represents the standard density of aqueous alcohol solution at 20°C, A, B, C, and m are the coefficients, i = n = 5 is the constant, p indicates the mass concentration of alcohol, and t represents the temperature of the aqueous alcohol solution. The system uses a program to convert the measured density data into alcohol in real time for transmission to the host computer interface. The turbine flowmeter transmits the flow data to the upper unit state interface through RS485 to display and statistically record the cumulative flow of different liquor segments [23]. The output module contains a vacuum pump and a servo motor, and when the flowmeter recognizes that there is a flow of liquor, it controls the opening of the vacuum pump and adjusts the flow rate accordingly. By analyzing the manual rating data, the host computer forms a liquor segmentation strategy and sends it to the servo drive in the form of RS485 to perform the grading operation. A hardware block diagram of the hierarchical device is shown in Figure 2.Figure 2
Hardware block diagram of automatic liquor grading equipment.


### 2.3. Multisource Data Preprocessing for Data Reconstruction

In the actual Baijiu brewing production process, on the basis of retaining the structure, process flow, and operating procedures of its original brewing equipment, only with a small amount of transformation of the pipeline of the original manual grading equipment, the installation of automatic grading equipment, external signal acquisition circuit, control system, and actuator and other components, you can achieve online collection and control, and its actual installation effect is shown in Figure3.Figure 3
Renderings of the on-site installation of the automatic liquor grading equipment.In order to clearly understand the influence of different processes on the grading results, the experiment prescreened the factor indicators affecting the grading results of liquor and reconstructed them into AB with multisource data such as liquor category, mash source, HS amount, FJY amount, and WJ amount. P16 process types are shown in Table1. Using IIoT technology, Baijiu grading experts evaluate the operation configuration screen, collect manual rating data in real time, and synchronize the brewing characteristics data of the flow sensor, density sensor, and on-site PLC. The results of the grading of Baijiu according to different process types are shown in Figures 4–15. It can be concluded that the segmented characteristics of the A-H process type of strong aromatic Chinese Baijiu are as follows: the first and second stages of Baijiu can be graded according to the flow rate, the third stage of Baijiu can be graded according to the slope of the change in alcohol, and the fourth and fifth sections of Baijiu can be graded according to the size of the alcohol. The segmented characteristics of the I–P process type of mild aromatic Chinese Baijiu are as follows: the first stage of Baijiu can be graded according to flow, the second stage of Baijiu can be graded according to the slope of alcohol change, and the third and fourth stages of Baijiu can be graded according to the size of alcohol.Table 1
Process type and grading characteristics of Baijiu.
Baijiu categoryThe type of processBaijiu brewing characteristic conditionsSegmented characteristics of BaijiuSakeQSHSFJYWJFirst levelSecond levelThird levelFourth levelFifth levelStrong aromatic Chinese BaijiuAZL1300000Segment in cumulative trafficSegment in cumulative trafficSegmented by alcohol slopeSegmented by the size of the alcoholSegmented by the size of the alcoholBZL210000150CZL32007500DZL43005000EZL5200750150FZL620507500GZL720500800HZL82050750150Mild aromatic Chinese BaijiuICJ1300000Segment in cumulative trafficSegmented by alcohol slopeSegmented by the size of the alcoholSegmented by the size of the alcohol—JCJ210000150KCJ32001800LCJ42080000MCJ5200180150NCJ620500150OCJ720501800PCJ82050180150Figure 4
Automatic grading characteristics of Baijiu corresponding to process type A.Figure 5
Automatic grading characteristics of Baijiu corresponding to process type B.Figure 6
Automatic grading characteristics of Baijiu corresponding to process type C.Figure 7
Automatic grading characteristics of Baijiu corresponding to process type D.Figure 8
Automatic grading characteristics of Baijiu corresponding to process type E.Figure 9
Automatic grading characteristics of Baijiu corresponding to process type F.Figure 10
Automatic grading characteristics of Baijiu corresponding to process type G.Figure 11
Automatic grading characteristics of Baijiu corresponding to process type H.Figure 12
Automatic grading characteristics of Baijiu corresponding to process type IJ.Figure 13
Automatic grading characteristics of Baijiu corresponding to process type KL.Figure 14
Automatic grading characteristics of Baijiu corresponding to process type MN.Figure 15
Automatic grading characteristics of Baijiu corresponding to process type OP.


## 2.1. High-Precision Online Monitoring Solutions

Baijiu grading equipment is connected in the middle of the condenser and the wine plate classifier system containing sensor online detection, data analysis, and processing, and program algorithm control; Baijiu is from the condenser through the servo drive to the wine plate in each grading pipeline. Accurate measurement of alcohol content online should avoid the formation of bubbles in the U-shaped tube in the density sensor to affect the density, thereby affecting the accuracy of alcohol content [15]. In actual production, there is a certain pressure in the condenser, and bubbles will inevitably be generated to affect the measurement results. In order to avoid bubbles entering the U-shaped pipe, the density sensor adopts the bypass small pipe connection mode; in order to ensure the real-time measurement, and to avoid the alcohol solution in the cache barrel to indulge in the front and rear sections of the liquor, the booster pump is added in the bypass system to establish a linear relationship [16] between the flow rate of the liquor and the operating speed of the vacuum pump, to avoid the pump running speed being too fast, bubbles are generated in the alcohol density sensor, or the pump running speed is too slow to affect the real-time detection of alcohol. Since the pressure generated by the condenser will cause the turbine flowmeter impeller to idle to cause inaccurate flow counting, an exhaust device is added to the cache barrel to make the pressure of the turbine flowmeter consistent before and after without liquid, so that the online monitoring accuracy of alcohol content and cumulative flow can reach ±0.5% and ±1%, respectively. The overall design is shown in Figure 1.Figure 1
In-line inspection system.


## 2.2. Grading Devices Based on Industrial Internet of Things (IIoT) Technology

The architecture of the Baijiu automatic rating system based on IIoT technology includes the perception layer, communication layer, and application layer [17]. The perception layer mainly includes L-Dens 2300 density sensor, flow sensor, near-infrared online sensor, etc. The communication layer uses Zigbee technology for wireless transmission, and at the same time, it is equipped with MODBUS protocol to connect to other devices [18]. The application layer is to use the industrial computer for human-computer interaction to understand the status of the Baijiu rating system in real time.The Baijiu grading system is combined with IIoT technology, which is composed of four parts: host computer, input module, output module, and data exchange module. IIoT [19] is the use of miniature sensors and wireless networks to monitor equipment status data, in-depth analysis of the data, thereby forming a decision control actuator. The host computer is an industrial all-in-one machine with a touch display, on-board Intel SkylakeCorei5 processor, for the data analysis and processing, the actuator control. The host computer analyzes and processes the data, and interacts with the input module and PLC through the Internet of Things to read the type data of the brewing process. At the same time, the Arduino platform [20] is used to control the servo motor, so as to drive the liquor tube to achieve automatic grading of Baijiu. The input module includes liquid turbine flow sensor, L-Dens2300 online density sensor, etc. The L-Dens2300 in-line density sensor uses the reliable oscillating U-tube principle for density measurement [21] and an integrated temperature sensor for reading the temperature of the measured solution. Density calculation can be done using the following formula to calculate density from oscillation period and temperature [22]:(1)Dt=A∗P2∗1+C∗T+D∗T2−B,where Dt is the density measured at temperature, the unit is [kg/m3], and it has been corrected for the temperature effect of the sensor, P is the oscillation period, the unit is [μs], T is the temperature, the unit is [°C], and A, B, C, and D are the calibration normal number.According to GB5009.225-2016 alcohol aqueous solution density and alcohol content (ethanol content) control table (20°C) and alcohol meter temperature and 20°C alcohol content (ethanol content) conversion table, MATLAB is used to establish a density and alcohol content relationship fitting model:(2)ρ=A1+∑k=212Akpk−1+∑k=16Bkt−20℃k+∑i=1n∑k=1miCi,kpkt−20℃i,where ρ represents the standard density of aqueous alcohol solution at 20°C, A, B, C, and m are the coefficients, i = n = 5 is the constant, p indicates the mass concentration of alcohol, and t represents the temperature of the aqueous alcohol solution. The system uses a program to convert the measured density data into alcohol in real time for transmission to the host computer interface. The turbine flowmeter transmits the flow data to the upper unit state interface through RS485 to display and statistically record the cumulative flow of different liquor segments [23]. The output module contains a vacuum pump and a servo motor, and when the flowmeter recognizes that there is a flow of liquor, it controls the opening of the vacuum pump and adjusts the flow rate accordingly. By analyzing the manual rating data, the host computer forms a liquor segmentation strategy and sends it to the servo drive in the form of RS485 to perform the grading operation. A hardware block diagram of the hierarchical device is shown in Figure 2.Figure 2
Hardware block diagram of automatic liquor grading equipment.


## 2.3. Multisource Data Preprocessing for Data Reconstruction

In the actual Baijiu brewing production process, on the basis of retaining the structure, process flow, and operating procedures of its original brewing equipment, only with a small amount of transformation of the pipeline of the original manual grading equipment, the installation of automatic grading equipment, external signal acquisition circuit, control system, and actuator and other components, you can achieve online collection and control, and its actual installation effect is shown in Figure3.Figure 3
Renderings of the on-site installation of the automatic liquor grading equipment.In order to clearly understand the influence of different processes on the grading results, the experiment prescreened the factor indicators affecting the grading results of liquor and reconstructed them into AB with multisource data such as liquor category, mash source, HS amount, FJY amount, and WJ amount. P16 process types are shown in Table1. Using IIoT technology, Baijiu grading experts evaluate the operation configuration screen, collect manual rating data in real time, and synchronize the brewing characteristics data of the flow sensor, density sensor, and on-site PLC. The results of the grading of Baijiu according to different process types are shown in Figures 4–15. It can be concluded that the segmented characteristics of the A-H process type of strong aromatic Chinese Baijiu are as follows: the first and second stages of Baijiu can be graded according to the flow rate, the third stage of Baijiu can be graded according to the slope of the change in alcohol, and the fourth and fifth sections of Baijiu can be graded according to the size of the alcohol. The segmented characteristics of the I–P process type of mild aromatic Chinese Baijiu are as follows: the first stage of Baijiu can be graded according to flow, the second stage of Baijiu can be graded according to the slope of alcohol change, and the third and fourth stages of Baijiu can be graded according to the size of alcohol.Table 1
Process type and grading characteristics of Baijiu.
Baijiu categoryThe type of processBaijiu brewing characteristic conditionsSegmented characteristics of BaijiuSakeQSHSFJYWJFirst levelSecond levelThird levelFourth levelFifth levelStrong aromatic Chinese BaijiuAZL1300000Segment in cumulative trafficSegment in cumulative trafficSegmented by alcohol slopeSegmented by the size of the alcoholSegmented by the size of the alcoholBZL210000150CZL32007500DZL43005000EZL5200750150FZL620507500GZL720500800HZL82050750150Mild aromatic Chinese BaijiuICJ1300000Segment in cumulative trafficSegmented by alcohol slopeSegmented by the size of the alcoholSegmented by the size of the alcohol—JCJ210000150KCJ32001800LCJ42080000MCJ5200180150NCJ620500150OCJ720501800PCJ82050180150Figure 4
Automatic grading characteristics of Baijiu corresponding to process type A.Figure 5
Automatic grading characteristics of Baijiu corresponding to process type B.Figure 6
Automatic grading characteristics of Baijiu corresponding to process type C.Figure 7
Automatic grading characteristics of Baijiu corresponding to process type D.Figure 8
Automatic grading characteristics of Baijiu corresponding to process type E.Figure 9
Automatic grading characteristics of Baijiu corresponding to process type F.Figure 10
Automatic grading characteristics of Baijiu corresponding to process type G.Figure 11
Automatic grading characteristics of Baijiu corresponding to process type H.Figure 12
Automatic grading characteristics of Baijiu corresponding to process type IJ.Figure 13
Automatic grading characteristics of Baijiu corresponding to process type KL.Figure 14
Automatic grading characteristics of Baijiu corresponding to process type MN.Figure 15
Automatic grading characteristics of Baijiu corresponding to process type OP.


## 3. Results and Discussion

Baijiu grading experts take hops, etc. as the Baijiu segmentation evaluation standard, Baijiu automatic grading to set the alcohol content, and cumulative flow as the basis for Baijiu segmentation; each process takes five groups of Baijiu grading data to the extreme value and then takes the average value, to the standard error, standard deviation as the alcohol degree, cumulative flow evaluation index [24, 25], to the absolute error, relative error as the automatic grading, and manual grading data error judgment [26].


### 3.1. Grading Strategy of Strong Aromatic Chinese Baijiu

As shown in Table2, the segmented characteristics of the A-P process type of strong aromatic Chinese Baijiu are as follows: The cumulative flow of the first stage of liquor is stable at 3.5–4.4 L, which can be seen from the standard deviation and standard error, the cumulative flow data of the first period of liquor grading at the time of liquor has less fluctuation, the difference between the sample mean and the overall mean is small, and the relative error between the automatic grading of liquor and the manual grading is small; then the average value of the accumulated flow can represent the automatic segmentation index of the first period of Baijiu. It can be seen from the standard deviation and standard error of the cumulative flow rate of Baijiu in the second stage that the difference between the cumulative flow range of liquor in the second stage and the sample mean and the overall mean is large, and it is impossible to represent the sample mean through the overall mean, which does not have the characteristics of unified segmentation, but the automatic grading data of Baijiu and the manual grading data have relatively small errors, indicating that the second stage of Baijiu can be automatically graded according to the set flow value according to different process types; when the third stage of Baijiu is transferred to the fourth section of Baijiu, the alcohol content drops sharply and produces an inflection point; at this time, the relative error with the alcohol slope setting value is small, so it can be seen that the alcohol slope change can be used as the automatic segmentation index of the third stage of Baijiu; when the fourth stage of Baijiu is transferred to the fifth section of Baijiu, the error of alcohol standard error and standard deviation, automatic segmentation, and artificial segmentation relative error also indicates that the average alcohol content can represent the segmented index, so that the alcohol content can be used as the automatic grading index of the fourth stage of Baijiu.Table 2
Comparison of artificial grading of strong aromatic Chinese Baijiu with automatic grading data.
Baijiu categoryThe type of processCumulative flow of Baijiu grading in stages (L)Characteristics of alcohol content in the section of Baijiu grading (°)The first stage of the Baijiu accumulates trafficAutomatic grading valueAbsolute errorRelative error％The second stage of the Baijiu accumulates flowAutomatic grading valueAbsolute errorRelative error %Third-stage alcohol slopeAutomatic grading valueAbsolute errorRelative error %Fourth-stage alcoholAutomatic grading valueAbsolute errorRelative error %Fifth-stage alcoholAutomatic grading valueAbsolute errorRelative error %Strong aromatic Chinese BaijiuA3.84.150.359.21310.7314.63.91.26−3.2−3.40.26.2510.1311.080.959.381.591.670.085.03B4.34.430.133.02315.4312.92.50.79−2.7−2.80.13.709.869.710.151.521.561.690.138.33C4.13.970.133.17350.2352.72.50.71−3.3−3.60.39.0910.289.840.444.281.331.410.086.02D4.74.540.163.40360.8363.02.20.61−3.8−3.90.12.6310.6311.681.059.881.761.890.137.39E4.54.710.214.67381.1378.62.50.66−3.9−3.80.12.569.8210.630.818.251.631.760.137.98F3.73.770.071.89310.4312.82.40.77−5.1−4.80.35.889.9810.320.343.411.11.060.043.64G4.24.420.225.24360.6366.15.51.53−4.8−4.90.12.0810.2111.010.807.842.121.980.146.60H3.93.780.123.08374.4378.44.01.07−5.2−5.00.23.8510.079.650.424.172.011.870.146.97AVG—4.154.220.071.72345.45347.391.940.54−4.00−4.030.030.6310.1210.490.373.631.641.670.031.76SE—0.320.33——27.2427.43——0.880.75——0.240.69——0.310.28——SD—0.110.12——9.639.70——0.310.26——0.090.24——0.110.10——


### 3.2. Grading Strategy of Mild Aromatic Chinese Baijiu

As shown in Table3, the unified segmental characteristics of the first stage of the I–P process type of mild aromatic Chinese Baijiu are consistent with the segmented indicators of strong aromatic Chinese Baijiu. The inflection point of the alcohol content is generated when the second stage of Baijiu is converted to the third stage of Baijiu, and the deviation of alcohol degree is relatively small in the average value of automatic segmentation and artificial segmentation data, indicating that the alcohol slope change can be unified as the second segmentation index of Baijiu. Similarly, according to the alcohol content, it can be used as the indicator of the third stage of Baijiu automatically turning into the fourth stage of Baijiu.Table 3
Comparison of artificial grading of mild aromatic Chinese Baijiu with automatic grading data.
Baijiu categoryThe type of processCumulative flow of liquor grading in stages (L)Characteristics of alcohol content in the section of liquor grading (°)The first stage of the Baijiu accumulates trafficAutomatic grading valueAbsolute errorRelative error %The second stage of the Baijiu accumulates flowAutomatic liquor grading valueAbsolute errorRelative error %Third-stage alcohol slopeAutomatic grading valueAbsolute errorRelative error %Fourth-stage alcoholAutomatic grading valueAbsolute errorRelative error %Mild aromatic Chinese BaijiuI3.93.680.225.64−3.2−3.40.26.2520.422.161.768.630.830.910.089.64J4.23.990.215.00−3.4−3.10.38.8221.322.431.135.312.11.960.146.67K4.14.220.122.93−2.6−2.80.27.6920.121.511.417.010.80.740.067.50L3.83.970.174.47−2.9−3.10.26.9019.821.681.889.491.451.320.138.97M3.53.780.288.00−3.3−3.10.26.0620.820.120.683.271.211.090.129.92N4.44.190.214.77−3.3−3.50.26.0621.422.541.145.331.081.130.054.63O4.24.090.112.62−3.2−3.30.13.1220.121.931.839.101.331.430.107.52P4.03.870.133.25−2.8−2.90.13.5721.222.321.125.281.611.580.031.86AVG—4.013.970.040.97−3.09−3.150.062.0220.6421.841.205.811.301.270.032.40SE—0.260.18——0.270.22——0.580.73——0.400.36——SD—0.090.06——0.090.08——0.210.26——0.140.13——


### 3.3. Discussion

This paper mainly introduces the automatic rating method of strong aromatic and mild aromatic Chinese Baijiu, uses the powerful information fusion ability of the Industrial Internet of Things, establishes a rating model based on alcohol content and cumulative flow, and realizes the automatic grading of Baijiu through the Control Motor of Arduino Platform, which improves the stability of Baijiu rating and also provides an idea for the automatic grading method of Maotai-flavor liquors and Fengxiang-type liquor. However, due to the failure to detect the physical and chemical properties of Baijiu, the automatic grading accuracy relies heavily on the manual experience grading results, and the next step will be to detect the content of acid, ester, and alcohol components of Baijiu and intelligently rate Baijiu in combination with neural networks.


## 3.1. Grading Strategy of Strong Aromatic Chinese Baijiu

As shown in Table2, the segmented characteristics of the A-P process type of strong aromatic Chinese Baijiu are as follows: The cumulative flow of the first stage of liquor is stable at 3.5–4.4 L, which can be seen from the standard deviation and standard error, the cumulative flow data of the first period of liquor grading at the time of liquor has less fluctuation, the difference between the sample mean and the overall mean is small, and the relative error between the automatic grading of liquor and the manual grading is small; then the average value of the accumulated flow can represent the automatic segmentation index of the first period of Baijiu. It can be seen from the standard deviation and standard error of the cumulative flow rate of Baijiu in the second stage that the difference between the cumulative flow range of liquor in the second stage and the sample mean and the overall mean is large, and it is impossible to represent the sample mean through the overall mean, which does not have the characteristics of unified segmentation, but the automatic grading data of Baijiu and the manual grading data have relatively small errors, indicating that the second stage of Baijiu can be automatically graded according to the set flow value according to different process types; when the third stage of Baijiu is transferred to the fourth section of Baijiu, the alcohol content drops sharply and produces an inflection point; at this time, the relative error with the alcohol slope setting value is small, so it can be seen that the alcohol slope change can be used as the automatic segmentation index of the third stage of Baijiu; when the fourth stage of Baijiu is transferred to the fifth section of Baijiu, the error of alcohol standard error and standard deviation, automatic segmentation, and artificial segmentation relative error also indicates that the average alcohol content can represent the segmented index, so that the alcohol content can be used as the automatic grading index of the fourth stage of Baijiu.Table 2
Comparison of artificial grading of strong aromatic Chinese Baijiu with automatic grading data.
Baijiu categoryThe type of processCumulative flow of Baijiu grading in stages (L)Characteristics of alcohol content in the section of Baijiu grading (°)The first stage of the Baijiu accumulates trafficAutomatic grading valueAbsolute errorRelative error％The second stage of the Baijiu accumulates flowAutomatic grading valueAbsolute errorRelative error %Third-stage alcohol slopeAutomatic grading valueAbsolute errorRelative error %Fourth-stage alcoholAutomatic grading valueAbsolute errorRelative error %Fifth-stage alcoholAutomatic grading valueAbsolute errorRelative error %Strong aromatic Chinese BaijiuA3.84.150.359.21310.7314.63.91.26−3.2−3.40.26.2510.1311.080.959.381.591.670.085.03B4.34.430.133.02315.4312.92.50.79−2.7−2.80.13.709.869.710.151.521.561.690.138.33C4.13.970.133.17350.2352.72.50.71−3.3−3.60.39.0910.289.840.444.281.331.410.086.02D4.74.540.163.40360.8363.02.20.61−3.8−3.90.12.6310.6311.681.059.881.761.890.137.39E4.54.710.214.67381.1378.62.50.66−3.9−3.80.12.569.8210.630.818.251.631.760.137.98F3.73.770.071.89310.4312.82.40.77−5.1−4.80.35.889.9810.320.343.411.11.060.043.64G4.24.420.225.24360.6366.15.51.53−4.8−4.90.12.0810.2111.010.807.842.121.980.146.60H3.93.780.123.08374.4378.44.01.07−5.2−5.00.23.8510.079.650.424.172.011.870.146.97AVG—4.154.220.071.72345.45347.391.940.54−4.00−4.030.030.6310.1210.490.373.631.641.670.031.76SE—0.320.33——27.2427.43——0.880.75——0.240.69——0.310.28——SD—0.110.12——9.639.70——0.310.26——0.090.24——0.110.10——


## 3.2. Grading Strategy of Mild Aromatic Chinese Baijiu

As shown in Table3, the unified segmental characteristics of the first stage of the I–P process type of mild aromatic Chinese Baijiu are consistent with the segmented indicators of strong aromatic Chinese Baijiu. The inflection point of the alcohol content is generated when the second stage of Baijiu is converted to the third stage of Baijiu, and the deviation of alcohol degree is relatively small in the average value of automatic segmentation and artificial segmentation data, indicating that the alcohol slope change can be unified as the second segmentation index of Baijiu. Similarly, according to the alcohol content, it can be used as the indicator of the third stage of Baijiu automatically turning into the fourth stage of Baijiu.Table 3
Comparison of artificial grading of mild aromatic Chinese Baijiu with automatic grading data.
Baijiu categoryThe type of processCumulative flow of liquor grading in stages (L)Characteristics of alcohol content in the section of liquor grading (°)The first stage of the Baijiu accumulates trafficAutomatic grading valueAbsolute errorRelative error %The second stage of the Baijiu accumulates flowAutomatic liquor grading valueAbsolute errorRelative error %Third-stage alcohol slopeAutomatic grading valueAbsolute errorRelative error %Fourth-stage alcoholAutomatic grading valueAbsolute errorRelative error %Mild aromatic Chinese BaijiuI3.93.680.225.64−3.2−3.40.26.2520.422.161.768.630.830.910.089.64J4.23.990.215.00−3.4−3.10.38.8221.322.431.135.312.11.960.146.67K4.14.220.122.93−2.6−2.80.27.6920.121.511.417.010.80.740.067.50L3.83.970.174.47−2.9−3.10.26.9019.821.681.889.491.451.320.138.97M3.53.780.288.00−3.3−3.10.26.0620.820.120.683.271.211.090.129.92N4.44.190.214.77−3.3−3.50.26.0621.422.541.145.331.081.130.054.63O4.24.090.112.62−3.2−3.30.13.1220.121.931.839.101.331.430.107.52P4.03.870.133.25−2.8−2.90.13.5721.222.321.125.281.611.580.031.86AVG—4.013.970.040.97−3.09−3.150.062.0220.6421.841.205.811.301.270.032.40SE—0.260.18——0.270.22——0.580.73——0.400.36——SD—0.090.06——0.090.08——0.210.26——0.140.13——


## 3.3. Discussion

This paper mainly introduces the automatic rating method of strong aromatic and mild aromatic Chinese Baijiu, uses the powerful information fusion ability of the Industrial Internet of Things, establishes a rating model based on alcohol content and cumulative flow, and realizes the automatic grading of Baijiu through the Control Motor of Arduino Platform, which improves the stability of Baijiu rating and also provides an idea for the automatic grading method of Maotai-flavor liquors and Fengxiang-type liquor. However, due to the failure to detect the physical and chemical properties of Baijiu, the automatic grading accuracy relies heavily on the manual experience grading results, and the next step will be to detect the content of acid, ester, and alcohol components of Baijiu and intelligently rate Baijiu in combination with neural networks.


## 4. Conclusion

This paper combines multisource data to reconstruct the segmented characteristics of Baijiu and obtains the factor data affecting Baijiu rating: Baijiu category, fermentation parameters, HS amount, FJY amount, WJ amount, and Baijiu manual rating data. Using the powerful information fusion capability of the Industrial Internet of Things, an automatic rating model based on alcohol content and cumulative traffic is established, and the data of automatic rating of Baijiu and manual rating results are compared, and the relative error is less than 10%, and the relative error between the automatic rating average and the manual rating average is less than 6%, indicating that the Baijiu automatic rating equipment based on IIoT technology can be better used in actual brewing.



---

*Source: 7033805-2022-05-20.xml*