Next Article in Journal
Estimating Freezing Injury on Olive Trees: A Comparative Study of Computing Models Based on Electrolyte Leakage and Tetrazolium Tests
Previous Article in Journal
Theoretical and Experimental Verification of Organic Granular Fertilizer Spreading
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Establishing a Prediction Model for Tea Leaf Moisture Content Using the Free-Space Method’s Measured Scattering Coefficient

College of Mechanical and Electrical Engineering, Qingdao Agricultural University, Qingdao 266109, China
*
Author to whom correspondence should be addressed.
Agriculture 2023, 13(6), 1136; https://doi.org/10.3390/agriculture13061136
Submission received: 20 April 2023 / Revised: 26 May 2023 / Accepted: 27 May 2023 / Published: 28 May 2023
(This article belongs to the Section Agricultural Product Quality and Safety)

Abstract

:
The rapid and nondestructive detection of tea leaf moisture content (MC) is of great significance to processing tea with an automatic assembly line. This study proposes an MC detection method based on microwave scattering parameters (SPs). Through the established free-space electromagnetic measurement device, 901 different frequency points are taken between 2.45 and 6 GHz using a vector network analyzer (VNA). The SPs of tea leaves with different moisture contents (5.72–55.26%) at different bulk density and different sample thicknesses were measured. The relationship between frequency, S21 amplitude and moisture content, thickness, and bulk density of tea was analyzed using correlation coefficients, significance analysis, and model construction. Back propagation (BP) neural network, decision tree (DT), and random forest (RF) MC prediction models were established with the frequency, amplitude, and phase of the SPs, thickness, and bulk density of the samples as inputs. The results showed that the RF-based model had the best performance, with determination coefficient (R2) = 0.998, mean absolute error (MAE) = 0.242, and root mean square error (RMSE) = 0.614. Compared to other nondestructive testing processes for tea, this method is simpler and more accurate. This study provides a new method for the detection of tea MC, which may have potential applications in tea processing.

1. Introduction

Moisture content (MC) is an important index of tea quality [1]. In most tea processing methods, the last step of drying plays a decisive role in the tea’s MC. At present, tea processing mainly depends on the subjective experience of the producer or the fixed parameters of the processing machine. The former consumes manpower and cannot be quantified, while the latter ignores the different initial conditions of each batch of tea. In this case, dried tea has a high rate of tea damage caused by excessive drying, or the drying is insufficient and the MC is too high, which necessitates repeated drying and affects the taste or causes mold to breed. Therefore, rapid and nondestructive MC detection before tea drying may help the dryer automatically adjust the specific parameters during operation to improve the production efficiency and quality.
At present, the MC detection technology used for processing tea is mainly divided into the direct method and the indirect method [2]. The direct method determines the MC of the sample by weighing the moisture loss of the sample at a certain temperature [3,4]. The direct method usually includes the constant-temperature oven method and the rapid moisture determination method. The advantage of this method is that the MC is measured accurately. The disadvantage is that the determination period is long, and the determination process is destructive to the sample, so it is only widely used in a laboratory setting. There has been much research into the indirect method, including capacitance [5], machine vision [6,7], near-infrared spectroscopy [8,9], hyperspectral [10], microwave, and so on. The capacitance method needs to be calibrated before each measurement, and the measured material needs to be in full contact with the electrode plate to ensure accurate measurement. Thus, it is only suitable for measuring lower water content. Machine vision has high requirements of fixed light. When collecting information, it can only focus on the information on the tea’s surface, ignoring the internal state of the tea. Due to its weak penetration, the reflected light received by the near-infrared spectrum can only provide the moisture distribution on the surface of the tea, losing the internal distribution. Although hyperspectral imaging technology can extract rich information, it is not convenient for rapid tea water content measurements because it needs to be in a specific experimental space over a long period of time during each process.
Due to higher quality penetration and the advantages of nondestructive and rapid detection, the microwave measurement method is gradually being applied in crop MC detection [11,12,13,14,15]. Shivling et al. [16] developed a patch antenna based on microwave resonance technology. At a frequency of 5 GHz, it was observed that the change in tea MC would cause a change in resonance frequency and S11 parameter regularity, and the linear model parameters were calculated to be suitable for the prediction of tea MC. However, the authors only studied tea with a low MC (2–10%). Based on the microwave free-space method, Wu et al. [17] optimized the microwave attenuation and phase shift characteristic signals at 2–10 GHz frequency using an ant colony optimization algorithm. The three main models of support vector regression (SVR), extreme gradient boosting (XGBoost), and multilayer perceptron (MLP) were used to predict the MC of tea, which ranged from 16.25% to 77.65%. The determination coefficient (R2) result was 0.994 and the mean absolute error (MAE) result was 0.349, representing a significant improvement in the accuracy of the model. However, unlike other crops, tea has different stacking densities in a fixed space due to its own characteristics. Authors have not paid sufficient attention to the influence of tea stacking density on microwave signals. Yigit et al. [18] used a vector network analyzer based on the microwave free-space method to collect the scattering parameters (SPs) of three crops at different frequency points ranging from 1–2.48 GHz. Three machine learning algorithms, K-nearest neighbor (KNN), SVR, and artificial neural network (ANN), were established to predict the MC of grains by using the data set constructed from the frequency, S11, S21, and MC. The method used by these authors skips the conventional steps of calculating the dielectric constant and uses the SPs to directly obtain the MC of the crop. The problem of phase ambiguity is thus avoided and the measurement steps are simplified. However, the authors did not study the feasibility analysis of crops with complex surfaces, measured thicknesses, and a high MC.
To address the limitations of current tea MC detection methods, this study used the free-space method to explore the effects of different green tea MC levels and related factors on the SPs. The SPs were measured with a vector network analyzer (VNA), and the extracted data were modeled using back propagation (BP), random forest (RF), and decision tree (DT) prediction models to establish the levels of tea MC. This method skips the measuring instrument calibration process and exerts the influence of the device on the measurement data into the learning algorithm. Different from the previous method of combining the MC with the dielectric constant, the MC of tea using this method is instead measured by establishing the relationship between the MC and the SPs. At the same time, the influences of thickness and bulk density are added to improve the accuracy of the model to a certain extent. This method can measure the MC of tea faster and more accurately than other current methods, signifying its value in various applications.

2. Materials and Methods

2.1. Principle of Measurement

When the microwave signal passes through a sample, the sample produces a polarization reaction. When measuring tea, this reaction consumes some of the energy; the water molecules consume the most, and the microwave attenuation caused by this will change the SPs [19], depending on the MC of the tea. This principle is shown in Figure 1. The expressions of the parameters are listed in formulas (1)–(6).
b 1 = S 11 a 1 + S 12 a 2
b 2 = S 21 a 1 + S 22 a 2
S 11 = b 1 a 1 | a 2 = 0
S 21 = b 2 a 1 | a 2 = 0
S 22 = b 2 a 2 | a 1 = 0
S 12 = b 1 a 2 | a 1 = 0
where a 1 and b 1 are port incident and reflected waves; a 2 and b 2 are port 2 incident and reflected waves. S 11 and S 22 are reflection coefficients; S 12 and S 21 are transmission coefficients.

2.2. Sample Preparation

In this experiment, Rizhao green tea was used as the experimental sample, and the specific variety was Xueqing. The MC of the tea samples was 5.72% according to the drying method; they were divided into several portions of 2 kg each and placed in a sealed bag for use. Since the MC of tea before drying is approximately 55%, the MC range was set to 5.7–55.2% [20,21] and the MC gradient was set to about 2%. The MC formula was used to calculate the amount of distilled water that needed to be sprayed on each sample [22]. After distributing the water, the samples were placed in a refrigerator for 48 h. During this period, the samples were taken out at intervals (8 h) to be shaken to ensure that the water could be evenly absorbed. The MC of the wet basis is shown in formula (7).
MC = M t M d M t × 100 %
where the initial mass of the tea samples is M t , the mass of the dried tea samples is M d , and the set moisture content is MC.

2.3. Experimental Installation

The measuring device is shown in Figure 2. A pair of double-ridge pyramid horn antennas operating at a range of 2–16 GHz are fixed on an aluminum frame with a width of 100 cm. The photosensitive resin structure lens is installed between the antennas to allow the microwaves to propagate as plane waves in free space. The data acquisition equipment is a Keysight P9371A USB VNA; a computer (Lenovo (Beijing) Co., Ltd., Beijing, China); an MB45 halogen moisture analyzer (Shanghai Ohaus Instruments Ltd., Shanghai, China); a YH-type electronic balance (Shanghai Yingheng Weighing Co., Shanghai, China); and an acrylic box with dimensions of 4 cm × 30 cm × 30 cm, 7 cm × 30 cm × 30 cm, 10 cm × 30 cm × 30 cm. Additionally, there is a sealing bag, disposable gloves, a spray kettle, an aluminum plate, etc.

2.4. Experimental Design

In this experiment, the thickness, MC, and bulk density of the tea samples were used as dependent variables, and their influence on the SPs of tea (the independent variables) were explored. Before the measurement and after the samples were taken out of the refrigerator, due to the temperature difference, it was necessary let them stand for 2 h and shake them regularly (30 min) during the period to ensure uniform moisture, which was carried out at room temperature (20 °C). As shown in Figure 3, 3 g samples (±0.005 g) were selected from each sample and placed in the MB45 halogen moisture tester. The working mode was set to 100 °C, and the work was stopped when the water loss was less than 0.001 g within 90 s. Each sample was tested five times, and the average was taken as the MC value of the sample. During the measurement, the measurement frequency of the VNA was set to 2.45–6 GHz, and 901 data points were collected each time for the amplitude and phase of the SPs to construct a data set. A total of 16 MC samples were collected; each MC corresponds to three thicknesses (4 cm, 7 cm, and 10 cm, respectively) and three bulk densities (0.198 g/cm3, 0.218 g/cm3, and 0.238 g/cm3, respectively), 144 experiments, and 129,744 data sets. The moisture content data are shown in Table 1. Figure 4 is the research route flowchart of this paper.

3. Prediction Model

3.1. Back Propagation Neural Network Model

A BP neural network is a neural network trained according to the error back propagation algorithm. It has strong nonlinear mapping abilities and can realize a strict mathematical mapping relationship or formula between uncertain input and output data [23,24]. Based on the premise that the network itself learns and trains the data, the nonstrict mapping rules between the input data and the output data are obtained. Given the input data, the prediction of the output data results is realized. This algorithm is most widely used in the field of neural networks and its structure is generally composed of an input layer, a hidden layer, and an output layer. There is no corresponding mathematical formula to determine the number of neurons in the hidden layer. In practical engineering applications, the hidden layer is usually determined according to empirical formula (8) [25]. In this study, the number of hidden layers was between 1 and 13. By comparing the results of different configurations, the final number was determined to be 13.
Z = n + m + a
where Z is the number of neurons in the hidden layer of the neural network, n is the number of nodes in the input layer, m is the number of nodes in the output layer, and a is the adjustment coefficient between 1 and 10.

3.2. Decision Tree Model

A DT is an important classification regression method in data mining technology. CART DT is a typical algorithm in DT, which is generally called a classification regression tree. It is an efficient and accurate classification method [26]. The main construction process involves generating and pruning a DT. Generating a CART DT is the process of recursively constructing a binary DT, which can be used for both classification and regression. For a classification tree, CART uses the Gini coefficient minimization criterion; for a regression tree, the square error minimization principle is used to select features and generate a binary tree. For decision tree pruning, eigenvalue attributes can be used multiple times, and continuous and missing values can also be effectively processed. Therefore, due to the characteristics and advantages of the CART decision tree algorithm, this paper applies it to the importance judgment and classification of index variables. The CART regression tree generation algorithm is as follows:
f ( x ) = m = 1 M c m I ( x R m )
where the f represents the regression tree value of the model output; M represents the M regions divided by the input space; R represents the unit data set; m is the number of elements that divide the input space, that is, R 1 , R 2 ,..., R m ; I represents a constant; and c m is the fixed output value of each unit, so that the error range between the output value and the actual value can be obtained.
The optimal output value on each unit is solved by the criterion of minimum square error:
c ^ m = ave ( y i | x i R m )
where y represents the output variable and x represents the input variables.
For the division of space, a heuristic method is used and two regions are defined:
R 1 ( j , s ) = { x x ( j ) s }
R 2 ( j , s ) = { x x ( j ) > s }
where j represents the segmentation variable and s represents the value corresponding to the segmentation variable, that is, the segmentation point. R 1 and R 2 represent the feature space after partition.
Firstly, the optimal segmentation variable (optimal initial index) and optimal segmentation point (optimal initial index value) are determined in order to find the representative values of the two regions c 1 and c 2 (according to the optimal initial index and the optimal initial index value) and minimize the square difference on their respective intervals. The solving process is as follows:
min j , s = [ min c 1 x 1 R 1 ( j , s ) ( y i c 1 ) 2 + min c 2 x 2 R 2 ( j , s ) ( y i c 2 ) 2 ]
Secondly, all input variables (initial indicators) are traversed to find the optimal segmentation variable (optimal initial indicator), and the input space is divided into two regions (two nodes) in turn:
c ^ 1 = ave ( y i x i R 1 ( j , s ) )
c ^ 2 = ave ( y i x i R 2 ( j , s ) )
Finally, the above partitioning process is repeated for each region until the stopping condition is satisfied to generate a regression tree, which is also called the least squares tree.

3.3. Random Forest Model

RF is an ensemble learning algorithm based on DT [27] and can be roughly divided into a classification algorithm and a regression algorithm; this paper only uses the latter, the principle of which is based on a combination model composed of a set of regression decision subtrees.
{ h ( x , θ t ) , t = 1 , 2 , , T }
where θ t is an independent and identically distributed random variable, x is an independent variable, and T is the number of DT.
Using the idea of ensemble learning, the mean of each DT { h ( x , θ t ) } is taken as the regression prediction result:
h ¯ ( x ) = 1 T t = 1 T { h ( x , θ t ) }
where { h ( x , θ t ) } is the output based on x and θ . In order to overcome the phenomenon of low accuracy and overfitting that may occur in the DT model, the RF model introduces the concepts of a bagging algorithm and random subspace. When the random forest model performs regression calculations, a set of hierarchical rules is used to divide the random subspace so that the data set is recursively grouped based on similar instances. A set of covariates is used to recursively split the values of the variables of interest, resulting in multiple parent nodes and child nodes similar to the tree structure. The candidate variables that were randomly selected from the total number of covariates at each node are called mtry parameters. The DT will evaluate each candidate to find the best split for maximizing purity, so that the error range of each child node is minimized. The RF model generates different DTs from different subsets of the training data through the bagging algorithm, which can avoid the influence of the possible multicollinearity between the independent variables on the model results. In this paper, when the RF model performs best, the number of mtry parameters is 11 and the number of decision trees is 100.

4. Results and Discussion

4.1. Effects of Variables on Tea SPs

This section analyzes the influence of tea MC, thickness, and bulk density on the measurement of scattering parameters. The correlation between each factor and MC was determined using the Pearson correlation coefficient and significance analysis (the significance level was 0.01). Table 2 shows that among the SPs, the correlation coefficient with MC was the largest, and the most significant were the amplitudes of S21 (S21A) and S22 (S21 = S12, so only S21A is analyzed). Furthermore, Table 2 shows the correlation coefficient and significance analysis of each parameter and the MC. Table 3 shows that there was a definite correlation between thickness, bulk density, and moisture content, and it was more significant.

4.1.1. Effect of Tea MC on SPs

The prepared tea leaves with 16 MC gradients were placed in a test box with a thickness of 7 cm, and the bulk density was controlled at approximately 0.218 g/cm3. The amplitude and phase values of SPs were measured at a room temperature of 20 °C. Taking the frequencies of 2.5 GHz, 3.6 GHz, 4.7 GHz, and 5.8 GHz as examples, Figure 5 shows each measurement result.
Figure 5 shows that the relationship between S21A and the MC is the strongest. Table 2 also confirms this view. The essential reason for this is that when the microwaves penetrate the tea samples, they cause an energy loss and phase shift, and the most relevant transmission coefficient changes accordingly. Water molecules have the greatest influence on microwaves in tea, so the higher the MC, the greater the microwave loss, and the smaller the S21A.

4.1.2. Effect of Thickness on the Measurement of Tea S21A

At room temperature (20 °C), the bulk density of tea was controlled at 0.218 g/cm3, and the tea was placed in test boxes with a thickness of 4 cm, 7 cm, and 10 cm, respectively, to measure the SPs. Taking the frequencies of 2.5 GHz, 3.6 GHz, 4.7 GHz, and 5.8 GHz as examples, Figure 6 shows the measurement results. The results show that the three gradients of tea MC and the thickness of the sample had a significant effect on the measurement of S21A. With the increase in sample thickness, the S21A decreased, and this effect continued to expand with the increase in MC. Therefore, when establishing an MC prediction model, the tea sample thickness should be regarded as a fixed quantity or variable.

4.1.3. Effect of Bulk Density on the Measurement of Tea S21A

At room temperature (20 °C), three gradients of tea (0.198 g/cm3, 0.218 g/cm3, and 0.238 g/cm3) were placed in the 10 cm thick test box to measure the SPs. Taking the frequencies of 2.5 GHz, 3.6 GHz, 4.7 GHz and 5.8 GHz as examples, Figure 7 shows the measurement results. The results show that the three gradients of tea MC and the bulk density of the sample had a significant effect on the measurement of S21A. As the bulk density of the sample increased, the S21A value decreased, and this effect continued to expand as the MC increased. Therefore, the bulk density of tea samples should be regarded as a fixed quantity or variable when establishing an MC prediction model.

4.2. Modeling and Analysis

In order to further determine the relationship between thickness, bulk density, and SPs and the influence of tea moisture content on the prediction model, the 129,744 sets of data were divided into a training set and test set according to a ratio of 8:2. With frequency and SPs as input, the thickness and bulk density were retrieved, respectively. The mean absolute percentage error (MAPE) and R2 were used as evaluation indexes. In order to establish the best prediction model of tea MC, the thickness and bulk density were modeled as fixed quantities and variables. In modeling them as fixed quantities, taking the thickness of 7 cm and the bulk density of 0.218 g/cm3 as an example, 14,416 sets of data were divided into a training set and a test set according to the ratio of 8:2 [28]. SPs and frequency were used as inputs for modeling, and water content was used as the output. In the modeling of thickness and bulk density as variables, 12,9744 sets of data were also divided into a training set and test set according to the ratio of 8:2. SPs, frequency (F), thickness (T), and bulk density (BD) were used as inputs for modeling, and the MC was used as the output. The MAE, root mean square error (RMSE), and R2 were used as the evaluation indexes of the model performance [29]. A flowchart of the predictive modeling is presented in Figure 8.

4.2.1. Model Analysis

With frequency and S21A as inputs, three models of BP, DT, and RF were used to retrieve moisture content, thickness, and bulk density, respectively. The results are shown in Table 4. The results show that the correlation coefficient between moisture content and frequency and S21A was the highest, followed by thickness and bulk density.
In the case of modeling thickness and bulk density as fixed quantities, the frequency and scattering parameters were divided into different combinations and input into the BP, DT, and RF models, respectively. The results are shown in Table 5. Although previous analysis has shown that S21A is closely related to MC, it can be seen from Table 5 that when S21A was used as an input alone, the performance of the model was poor. When combining the frequency with water content, the performance of the model was significantly improved. After the remaining SPs were matched as inputs, the performance of the model was slightly improved. The three models showed the best performance under the combination of frequency and SPs. The test set prediction results R2 diagram is shown in Figure 9.
In the case of modeling the thickness and bulk density as variables, the frequency, SPs, thickness, and bulk density were divided into different combinations and input into BP, DT and RF models, respectively. Compared to the modeling of bulk density and thickness as fixed quantities, the combination of frequency and S21A in variable modeling significantly reduced performance. After inputting the data of thickness and bulk density, the performance of the model was significantly improved. At the same time, it can also be seen in Table 6 that the thickness generated a greater improvement in the model than the bulk density. This also verifies that the correlation coefficient between thickness and MC was greater than that between the bulk density and MC in Table 3. The three models showed the best performance under the combination of frequency, SPs, bulk density, and thickness. The test set prediction results R2 diagram is shown in Figure 10.

4.2.2. Model Evaluation

In the established model, the performance of the RF model is the best regardless of the combination of the input data sets. Compared with BP and DT models, the MAE and RMSE values of the RF model are smaller, and the R2 is higher. Therefore, the moisture prediction of the RF model is more accurate and more suitable for the prediction of tea MC. Table 7 lists some nondestructive testing methods reported in recent studies and the performance of microwave-based methods introduced in our study of tea moisture detection. Compared with most nondestructive testing methods, microwave moisture measurements have higher accuracy. By contrast, this method only needs a simple model structure to establish a highly accurate prediction model.

5. Conclusions

In this study, the changes in tea SPs were measured under different MCs, thicknesses, and bulk densities and analyzed using the controlling variable method. A prediction model for measuring the MC of tea from the SPs based on the free-space method was established. The following conclusions were reached:
Under the same thickness and bulk density, the relationship between S21A and MC in SPs is the strongest (however, the introduction of other SPs will also improve the accuracy of the model, so other parameters cannot be ignored in modeling). The increase in MC will cause a decrease in S21A, showing a negative correlation; under the same MC and bulk density, the increase in thickness will cause a decrease in S21A, showing a negative correlation; and under the same MC and thickness, the increase in bulk density will cause a decrease in S21A, showing a negative correlation. This study addressed the flaw in Wu et al. [17], namely that the authors did not consider the influence of tea density on microwave signals, and also addressed the limitations of Yigit et al. [18], which accounted for neither complex surface crops nor the possible related effects of thickness and bulk density.
In order to accurately predict the moisture content of tea, the moisture content, thickness, and bulk density were retrieved using frequency and S21A as inputs when constructing the moisture content prediction model. The results show that the R2 between moisture content and frequency and S21A was the highest, followed by thickness and bulk density. Subsequently, the frequency, SPs, thickness, and bulk density were divided into different combinations as inputs, and three models (BP, DT, and RF) were used to establish the MC prediction model. At the same time, the influence of thickness and bulk density as variables and fixed amounts on the performance of the model was explored. The results show that the model was more accurate when the thickness and bulk density were used as variables. Among them, the RF model had the best performance, the MAE value could reach 0.242, the RMSE value was 0.614, and the R2 value was 0.998. Compared to the traditional method of converting SPs through complex permittivity, this process is simpler and more effective.

Author Contributions

Conceptualization, H.Y. and L.Z.; methodology, H.Y. and F.M.; software, H.Y.; validation, H.Y., D.W. and Y.Y.; formal analysis, H.Y.; investigation, F.M and Y.Y.; resources, H.Y.; data curation, H.Y.; writing—original draft preparation, H.Y.; writing—review and editing, H.Y. and F.M.; visualization, H.Y.; supervision, C.S. and X.H.; project administration, L.Z.; funding acquisition, L.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by the National Natural Science Foundation of China (32071911), National Modern Agricultural Industry Technology System Post Scientist Project (CARS-13-National Peanut Industry Technology System-Sowing and Field Management Mechanization Post), Shandong modern agricultural industry system wheat industry innovation team (SDIT-01-12), and the Qingdao Agricultural University Doctoral Start-Up Fund (663-1119049).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, A.; Chen, H.-Y.; Chen, C. Use of Temperature and Humidity Sensors to Determine Moisture Content of Oolong Tea. Sensors 2014, 14, 15593–15609. [Google Scholar] [CrossRef] [PubMed]
  2. You, K.; Lee, C.; Chan, K.; Lee, K.; Cheng, E.; Lee, Y. Monitoring Moisture Content for Various Kind of Tea Leaves in Drying Processes Using RF Reflectometer-Sensor System. Instruments 2018, 2, 18. [Google Scholar] [CrossRef]
  3. Grönquist, P.; Weibel, G.; Leyder, C.; Frangi, A. Calibration of Electrical Resistance to Moisture Content for Beech Laminated Veneer Lumber “BauBuche S” and “BauBuche Q”. Forests 2021, 12, 635. [Google Scholar] [CrossRef]
  4. Shallangwa, Y.Y.; Alkali, A.H.; Aviara, N.A. Evaluation of Moisture Dependent Geometric and Gravimetric Properties of Small-Sized Sesame and Black Caraway Seeds Using Image Analysis. Int. J. Food Prop. 2021, 24, 415–432. [Google Scholar] [CrossRef]
  5. Sun, J.; Tian, Y.; Wu, X.; Dai, C.; Lu, B. Nondestructive Detection for Moisture Content in Green Tea Based on Dielectric Properties and VISSA-GWO-SVR Algorithm. J. Food Process. Preserv. 2020, 44, e14421. [Google Scholar] [CrossRef]
  6. An, T.; Yu, H.; Yang, C.; Liang, G.; Chen, J.; Hu, Z.; Hu, B.; Dong, C. Black Tea Withering Moisture Detection Method Based on Convolution Neural Network Confidence. J. Food Process. Eng. 2020, 43, e13428. [Google Scholar] [CrossRef]
  7. Wang, F.; Xie, B.; Lue, E.; Zeng, Z.; Mei, S.; Ma, C.; Guo, J. Design of a Moisture Content Detection System for Yinghong No. 9 Tea Leaves Based on Machine Vision. Appl. Sci. 2023, 13, 1806. [Google Scholar] [CrossRef]
  8. Turgut, S.S.; Entrenas, J.A.; Taşkın, E.; Garrido-Varo, A.; Pérez-Marín, D. Estimation of the Sensory Properties of Black Tea Samples Using Non-Destructive near-Infrared Spectroscopy Sensors. Food Control 2022, 142, 109260. [Google Scholar] [CrossRef]
  9. Zou, H.; Shen, S.; Lan, T.; Sheng, X.; Zan, J.; Jiang, Y.; Du, Q.; Yuan, H. Prediction Method of the Moisture Content of Black Tea during Processing Based on the Miniaturized Near-Infrared Spectrometer. Horticulturae 2022, 8, 1170. [Google Scholar] [CrossRef]
  10. Wei, Y.; Wu, F.; Xu, J.; Sha, J.; Zhao, Z.; He, Y.; Li, X. Visual Detection of the Moisture Content of Tea Leaves with Hyperspectral Imaging Technology. J. Food Eng. 2019, 248, 89–96. [Google Scholar] [CrossRef]
  11. Trabelsi, S.; Paz, A.M.; Nelson, S.O. Microwave Dielectric Method for the Rapid, Non-Destructive Determination of Bulk Density and Moisture Content of Peanut Hull Pellets. Biosyst. Eng. 2013, 115, 332–338. [Google Scholar] [CrossRef]
  12. Trabelsi, S.; Lewis, M.A.; Nelson, S.O. Microwave Moisture Meter for In-Shell Peanut Kernels. Food Control 2016, 66, 283–290. [Google Scholar] [CrossRef]
  13. Kon, S.; Kato, Y.; Horibe, M. Dynamic Measurement of Moisture Content Using Microwaves for Moisture Evaluation of Agricultural Products. IEEJ Trans. Electr. Electron. Eng. 2020, 15, 166–171. [Google Scholar] [CrossRef]
  14. Litvischenko, V.L.; Nikiforov, I.Y.; Ershov, I.V. Remote Measurement of Sunflower Seed Moisture Content by the Use of Microwaves. J. Sci. Food Agric. 2017, 97, 4880–4882. [Google Scholar] [CrossRef] [PubMed]
  15. Ma, F.; Wang, D.; Yin, Y.; Yin, H.; Song, C.; Xu, X.; Sun, Y.; Xue, Y.; Zhao, L. Determining Peanut Moisture Content by Scattering Coefficient. J. Food Eng. 2023, 344, 111398. [Google Scholar] [CrossRef]
  16. Shivling, V.D.; Singh, A.; Bansod, B.K.; Nag, U.; Meena, D.L. Feasibility Study of Patch Antenna for Monitoring Moisture Content of Made Tea. J. Microw. Power Electromagn. Energy 2022, 56, 192–200. [Google Scholar] [CrossRef]
  17. Wu, C.; Qian, J.; Zhang, J.; Wang, J.; Li, B.; Wei, Z. Moisture Measurement of Tea Leaves during Withering Using Multifrequency Microwave Signals Optimized by Ant Colony Optimization. J. Food Eng. 2022, 335, 111174. [Google Scholar] [CrossRef]
  18. Yigit, E.; Duysak, H. Determination of Flowing Grain Moisture Contents by Machine Learning Algorithms Using Free Space Measurement Data. IEEE Trans. Instrum. Meas. 2022, 71, 2507608. [Google Scholar] [CrossRef]
  19. Qin, M.; Zhang, L.; Wu, H. Dielectric Loss Mechanism in Electromagnetic Wave Absorbing Materials. Adv. Sci. 2022, 9, 2105553. [Google Scholar] [CrossRef]
  20. Zhao, Z.; Chen, L.; Chen, G.; Xie, W.; Peng, J. An Approach for In-Line Control of Moisture Content During Green Tea Processing. IEEE Access 2020, 8, 59701–59714. [Google Scholar] [CrossRef]
  21. Duan, D.; Ma, F.; Zhao, L.; Yin, Y.; Zheng, Y.; Xu, X.; Sun, Y.; Xue, Y. Variation Law and Prediction Model to Determine the Moisture Content in Tea during Hot Air Drying. J. Food Process. Eng. 2022, 45, e13966. [Google Scholar] [CrossRef]
  22. Li, C.; Zhao, C.; Ren, Y.; He, X.; Yu, X.; Song, Q. Microwave Traveling-Standing Wave Method for Density-Independent Detection of Grain Moisture Content. Measurement 2022, 198, 111373. [Google Scholar] [CrossRef]
  23. Han, X.; Wei, Z.; Zhang, B.; Li, Y.; Du, T.; Chen, H. Crop Evapotranspiration Prediction by Considering Dynamic Change of Crop Coefficient and the Precipitation Effect in Back-Propagation Neural Network Model. J. Hydrol. 2021, 596, 126104. [Google Scholar] [CrossRef]
  24. Feng, Y.; Liu, Y.-Z.; Wang, X.; He, Z.-X.; Hung, T.-C.; Wang, Q.; Xi, H. Performance Prediction and Optimization of an Organic Rankine Cycle (ORC) for Waste Heat Recovery Using Back Propagation Neural Network. Energy Convers. Manag. 2020, 226, 113552. [Google Scholar] [CrossRef]
  25. Xu, J.; Zhao, Y. Stability Analysis of Geotechnical Landslide Based on GA-BP Neural Network Model. Comput. Math. Methods Med. 2022, 2022, e3958985. [Google Scholar] [CrossRef]
  26. Yu, G.; Xu, F.; Cui, Y.; Li, X.; Kang, C.; Lu, C.; Li, S.; Bai, L.; Du, S. A New Method of Predicting the Saturation Pressure of Oil Reservoir and Its Application. Int. J. Hydrogen Energy 2020, 45, 30244–30253. [Google Scholar] [CrossRef]
  27. Yuan, K.; Yu, D.; Feng, J.; Yang, L.; Jia, C.; Huang, Y. A Block Cipher Algorithm Identification Scheme Based on Hybrid K-Nearest Neighbor and Random Forest Algorithm. PeerJ Comput. Sci. 2022, 8, e1110. [Google Scholar] [CrossRef] [PubMed]
  28. Xu, X.; Sun, Y.; Yin, Y.; Xue, Y.; Ma, F.; Song, C.; Yin, H.; Zhao, L. A Free-Space-Based Model for Predicting Peanut Moisture Content during Natural Drying. J. Food Qual. 2022, 2022, e9620349. [Google Scholar] [CrossRef]
  29. Ighalo, J.O.; Adeniyi, A.G.; Marques, G. Application of Linear Regression Algorithm and Stochastic Gradient Descent in a Machine-Learning Environment for Predicting Biomass Higher Heating Value. Biofuels Bioprod. Biorefining 2020, 14, 1286–1295. [Google Scholar] [CrossRef]
Figure 1. Measurement system port diagram.
Figure 1. Measurement system port diagram.
Agriculture 13 01136 g001
Figure 2. Test and measurement platform.
Figure 2. Test and measurement platform.
Agriculture 13 01136 g002
Figure 3. MB45 halogen moisture tester.
Figure 3. MB45 halogen moisture tester.
Agriculture 13 01136 g003
Figure 4. Research flowchart.
Figure 4. Research flowchart.
Agriculture 13 01136 g004
Figure 5. Effect of different MCs on SPs (thickness is 7 cm and bulk density is 0.218 g/cm3).
Figure 5. Effect of different MCs on SPs (thickness is 7 cm and bulk density is 0.218 g/cm3).
Agriculture 13 01136 g005aAgriculture 13 01136 g005b
Figure 6. Effect of different thicknesses on S21A (the bulk density is 0.218 g/cm3).
Figure 6. Effect of different thicknesses on S21A (the bulk density is 0.218 g/cm3).
Agriculture 13 01136 g006
Figure 7. Effect of different bulk density on S21A (the thickness is 10 cm).
Figure 7. Effect of different bulk density on S21A (the thickness is 10 cm).
Agriculture 13 01136 g007
Figure 8. Predictive modeling flowchart.
Figure 8. Predictive modeling flowchart.
Agriculture 13 01136 g008
Figure 9. The results of BP, DT, and RF model test sets when the thickness and bulk density are constant.
Figure 9. The results of BP, DT, and RF model test sets when the thickness and bulk density are constant.
Agriculture 13 01136 g009
Figure 10. The results of BP, DT, and RF model test sets when the thickness and bulk density are variables.
Figure 10. The results of BP, DT, and RF model test sets when the thickness and bulk density are variables.
Agriculture 13 01136 g010
Table 1. Tea MC grouping.
Table 1. Tea MC grouping.
NumberMoisture Content (%)NumberMoisture Content (%)
15.72930.27
211.181032.58
315.081134.29
417.761240.82
520.351345.24
622.741449.56
725.071552.54
827.431655.26
Table 2. The correlation and significance between SPs and MC.
Table 2. The correlation and significance between SPs and MC.
FeatureCorrelation CoefficientSignificanceFeatureCorrelation CoefficientSignificance
S11 (dB)0.0090.263S12 (dB)0.8190.000
S11 (DEG)0.0100.195S12 (DEG)0.0060.028
S21 (dB)0.8190.000S22 (dB)0.0090.001
S21 (DEG)0.0180.022S22 (DEG)0.0000.871
Table 3. The correlation and significance between various factors and MC.
Table 3. The correlation and significance between various factors and MC.
FeatureCorrelation CoefficientSignificance
Frequency0.0000.986
S21 (dB)0.7730.000
Thickness0.4560.000
Bulk density0.1610.000
Table 4. Retrieval of thickness and bulk density.
Table 4. Retrieval of thickness and bulk density.
ObjectModelFeature CombinationEvaluation Metrics
MAPE (%)R2
Moisture contentRFF, S21A15.6020.848
DT16.9190.889
BP23.5280.717
ThicknessRFF, S21A17.4770.478
DT17.9590.601
BP24.6840.274
Bulk densityRFF, S21A6.8790.464
DT7.5570.585
BP9.1860.009
Table 5. The influence of different parameter combinations on the model when the thickness and bulk density are constant.
Table 5. The influence of different parameter combinations on the model when the thickness and bulk density are constant.
ModelFeature CombinationEvaluation Metrics
MAE (%)RMSE (%)R2
RFF, SPs0.4390.9810.995
F, S21A0.6161.4410.989
S21A5.2796.9550.763
DTF, SPs0.4351.5660.994
F, S21A0.6761.8950.991
S21A5.3047.0960.869
BPF, SPs1.8932.5940.967
F, S21A2.1012.8480.959
S21A5.5357.0480.694
Table 6. The influence of different parameter combinations on the model when the thickness and bulk density are variables.
Table 6. The influence of different parameter combinations on the model when the thickness and bulk density are variables.
ModelFeature CombinationEvaluation Metrics
MAE (%)RMSE (%)R2
RFF, SPs, BD, T0.2420.6140.998
F, S21A, BD, T0.4611.4090.991
F, S21A, D1.5953.6340.937
F, S21A, T1.3112.5260.969
F, S21A3.6235.6380.848
S21A6.8588.9850.615
DTF, SPs, BD, T0.2491.1600.997
F, S21A, BD, T0.5153.4190.992
F, S21A, BD1.6254.4750.952
F, S21A, T1.4103.0620.977
F, S21A3.9396.7100.889
S21A7.2189.6190.767
BPF, SPs, BD, T2.4433.2600.946
F, S21A, BD, T2.8263.7740.927
F, S21A, BD4.8126.3030.765
F, S21A, T3.0514.0300.916
F, S21A5.1416.8300.717
S21A6.1327.7890.592
Table 7. Performance comparison of recently reported methods for nondestructive testing of tea.
Table 7. Performance comparison of recently reported methods for nondestructive testing of tea.
MethodMC RangeModelR2Reference
Capacitance3.43–7.49%VISSA-GWO-SVR0.970[5]
Machine vision53.14-–78.48%PCA-GA-BP and PCA-PSO-BP0.941[7]
Near-infrared6.36–78.62%SNV-PCA-GWO-SVR0.989[9]
Microwave16.25–77.65%MRACO-Stacking0.994[17]
Microwave5.72–55.26%RF0.998This study
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yin, H.; Ma, F.; Wang, D.; He, X.; Yin, Y.; Song, C.; Zhao, L. Establishing a Prediction Model for Tea Leaf Moisture Content Using the Free-Space Method’s Measured Scattering Coefficient. Agriculture 2023, 13, 1136. https://doi.org/10.3390/agriculture13061136

AMA Style

Yin H, Ma F, Wang D, He X, Yin Y, Song C, Zhao L. Establishing a Prediction Model for Tea Leaf Moisture Content Using the Free-Space Method’s Measured Scattering Coefficient. Agriculture. 2023; 13(6):1136. https://doi.org/10.3390/agriculture13061136

Chicago/Turabian Style

Yin, Hang, Fangyan Ma, Dongwei Wang, Xiaoning He, Yuanyuan Yin, Chao Song, and Liqing Zhao. 2023. "Establishing a Prediction Model for Tea Leaf Moisture Content Using the Free-Space Method’s Measured Scattering Coefficient" Agriculture 13, no. 6: 1136. https://doi.org/10.3390/agriculture13061136

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop