Next Article in Journal
Evaluating Trust Management Frameworks for Wireless Sensor Networks
Previous Article in Journal
Artery Pulse Waveform Acquired with a Fabry-Perot Interferometer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Design Method for an SVM-Based Humidity Sensor for Grain Storage

1
College of Mechanical and Electronic Engineering, Shandong Agricultural University, Tai’an 271018, China
2
Key Laboratory of Huang-Huai-Hai Smart Agricultural Technology, Ministry of Agriculture and Rural Affairs, Tai’an 271018, China
3
College of Information Science and Engineering, Shandong Agricultural University, Tai’an 271018, China
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(9), 2854; https://doi.org/10.3390/s24092854
Submission received: 29 February 2024 / Revised: 1 April 2024 / Accepted: 2 April 2024 / Published: 30 April 2024
(This article belongs to the Section Smart Agriculture)

Abstract

:
One of the crucial factors in grain storage is appropriate moisture content, which plays a significant role in reducing storage losses and ensuring quality. However, currently available humidity sensors on the market fail to meet the demands of modern large-scale grain storage in China in terms of price, size, and ease of implementation. Therefore, this study aims to develop an economical, efficient, and easily deployable grain humidity sensor suitable for large-scale grain storage environments. Simultaneously, it constructs humidity calibration models applicable to three major grain crops: millet, rice, and wheat. Starting with the probe structure, this study analyzes the ideal probe structure for grain humidity sensors. Experimental validations are conducted using millet, rice, and wheat as experimental subjects to verify the accuracy of the sensor and humidity calibration models. The experimental results indicate that the optimal length of the probe under ideal conditions is 0.67 m. Humidity calibration models for millet, rice, and wheat are constructed using SVM models, with all three models achieving a correlation coefficient R2 greater than 0.9. The measured data and model-calculated data show a linear relationship, closely approximating y = x, with R2 values of all three fitted models above 0.9. In conclusion, this study provides reliable sensor technological support for humidity monitoring in large-scale grain storage and processing, with extensive applications in grain storage and grain safety management.

1. Introduction

The advancement of modern information technology, particularly sensor technology, has presented significant opportunities for the progression of traditional agriculture. The adoption and widespread use of modern agricultural equipment [1,2,3,4,5,6,7,8,9,10] have not only transformed the production management and operational methods of traditional agriculture but have also increased the efficiency and yield of high-quality agricultural products. Grain storage, as an essential component of food security, holds immense importance for strategic commodity reserves and ensuring food security. However, statistical data from 2020 indicate that the private grain storage loss rate in China reached as high as 8%. Therefore, achieving modernized management of grain storage, particularly by enhancing the accuracy of perception and management of the internal storage environment, is crucial for extending the storage lifespan of grains and mitigating issues such as mold growth, fermentation, and shrinkage.
The humidity level in grain storage plays a crucial role in maintaining the quality of stored grain, which impacts factors such as grain nutrition, grading quality, and the prevention of mold growth and fermentation [11,12,13,14]. Excessive humidity will create a damp environment conducive to mold growth, leading to grain spoilage. However, excessively low humidity will cause grains to crack and dry out. Both scenarios adversely affect grain reserves and impeding national food security efforts. Therefore, humidity levels in grain storage environments, particularly in large-scale facilities, must be maintained within an appropriate range [15]. This is essential for prolonging effective storage duration and preserving grain quality. Although safe storage humidity may vary for different grains, it typically falls within the range of 10% to 14% [12,16]. Addressing these challenges requires the development of an economical, highly accurate, and easily scalable grain humidity monitoring sensor device suitable for large-scale grain storage. This device would facilitate real-time acquisition of humidity information in various grain storage environments. The paper proposes the development of a grain humidity sensor capable of real-time perception of grain moisture content. It needs to provide fundamental data for environmental control systems within storage facilities. Additionally, employees can analyze the quality status of stored grain based on historical humidity information.
The monitoring of grain humidity demands sensors with high standards in sensing accuracy, effective monitoring range, durability, stability, anti-interference capability, and cost-effectiveness. Currently, humidity monitoring technologies commonly fall into two categories: contact and non-contact. Non-contact technologies, such as those utilizing microwave [17,18,19,20], infrared [21,22], or ultrasonic waves, enable moisture measurement without direct contact with the medium. While these methods avoid damaging the medium, their sensing accuracy typically lags behind that of contact methods, and they often involve higher costs. Contact humidity sensing devices [23,24,25,26,27] are better suited to fulfilling the requirements of the domestic large-scale grain storage industry concerning humidity monitoring accuracy, equipment maintenance, and system scalability.
Researchers have developed various types of contact humidity sensors. They can accurately collect humidity information from different mediums such as soil [21,22,23], grains [24,25,26,27], plants [28], and chemical materials [29]. Contact humidity sensors are categorized into different types based on their principles, including capacitance principle, resistance principle, time-domain reflectometry (TDR), frequency domain reflectometry (FDR), and standing wave ratio (SWR) [30].
Capacitive humidity sensors [31,32] on the market are predominantly of the insertion type. They acquire analog information about moisture by embedding probes into the medium. Then, specific humidity calibration models are employed to convert the perceived analog information into actual moisture data. For example, a capacitive humidity sensor applies square wave excitation signals to a first-order RC circuit composed of resistors, probes, and the medium under test. Then it measures the periodic fluctuations on the probe to obtain humidity information about the medium [30].
A resistive humidity sensor treats the medium under test as a humidity-dependent variable resistor. Humidity information about the medium is obtained by measuring the voltage across the probe terminals [30].
The theoretical foundation of the TDR moisture sensor draws from research conducted by Fellner-Feldegg [33] et al. The signal generator of the TDR humidity sensor emits a pulse signal. As this signal travels through the coaxial cable to the probe, an impedance mismatch occurs. A portion of the signal reflects back along the original path, while the rest continues to propagate along with the probe. The detection device measures the time difference between these two reflected signals, which corresponds to the time it takes for the signal to travel twice along with the probe [30].
The FDR humidity sensor utilizes the medium as a dielectric, with the sensor’s probe acting as a capacitor alongside an external oscillator. This setup forms a tuning circuit during the measurement process. The capacitance of the sensor is directly related to the dielectric constant of the medium being measured between the two levels. As moisture levels rise, the equivalent capacitance of the sensor also increases, thereby affecting the sensor’s operating frequency (resonant frequency) [30,34].
An SWR humidity sensor’s signal generator produces pulses. When the signal is transmitted to the probe, some parts continue along with the probe while others return along the original path. At this point, the incident and reflected signals superimpose, forming standing waves. It retrieves humidity information by measuring the standing wave ratio between two reflected signals [35]. The voltage difference of this sensor varies with changes in the probe’s impedance, which is determined by the medium’s dielectric constant [36].
In real life, the humidity sensors are widely applied in various mediums, such as rice, maize, corn, black beans, etc. However, the calibration models provided by manufacturers are typically fixed to one or a few types. Due to variations in the volume and shape of different grain mediums, their moisture absorption capacities differ. (The cross-sectional structure of grains in storage is shown in Figure 1. We placed the grains into a transparent square container and captured images from the side of the container. Through image processing techniques, binary images were obtained to highlight the gaps between the grains in the medium, allowing Figure 1 to be ultimately obtained. And the installation diagram of the sensor is shown in Figure 2.) Relying on a single humidity calibration model may lead to inaccuracies in capturing humidity data across different grains. Moreover, there are subtle variations in the ideal storage humidity levels for various grains. For instance, millet, wheat, rice, and corn exhibit optimal storage humidity levels of approximately 12%, 12–14%, around 14%, and 13–14%, respectively. Consequently, using a singular humidity calibration model cannot effectively cater to the precise monitoring of storage humidity for multiple grains, even impeding the meticulous management of diverse grain storage environments. To tackle this challenge, this study conducts an analysis of the distinct characteristics of various grains and proposes tailored humidity calibration models specifically designed for three common major grains: millet, rice, and wheat. These customized models significantly enhance the versatility and precision of humidity sensors. Leveraging the SWR principle, the developed sensors dynamically adjust the humidity calibration model based on the grain type, thereby ensuring the accuracy of the final computation results. Furthermore, upon detecting that the humidity of the grain medium has reached the storage humidity warning threshold, the system initiates an alert, prompting users to adjust the ventilation equipment in the storage facility accordingly. Additionally, the system can collaborate with ventilation equipment controllers to achieve automated and intelligent management of storage facilities.
In this study, we have developed a grain moisture monitoring humidity sensor utilizing the SWR principle to fulfill the need for precise humidity monitoring across various grain types. We conducted both theoretical analysis and experimental validation of humidity calibration models specific to different grain varieties. Subsequently, we put forward three tailored humidity calibration models for millet, wheat, and rice, respectively. These models successfully enabled accurate monitoring of storage humidity levels for these key grain types. This approach effectively resolves the practical challenge of inadequate grain storage practices stemming from the limitations of applying a single humidity calibration model to detect humidity across diverse grain types. The structure of this paper is as follows: Part II provides an overview of current research on relevant moisture sensors. Part III outlines the principles underlying the sensors and associated models. Part IV presents the design and simulation experiments of the sensors. Part V details the validation experiments and analysis of results. Part VI summarizes the advantages and limitations of the developed sensing and moisture calibration model, while also suggesting avenues for future improvements.

2. Related Work

Humidity monitoring technology can be categorized into two types based on the operation: contact and non-contact. Non-contact techniques primarily utilize microwave [17,18], infrared [19,20], or ultrasonic technologies, enabling moisture measurement without directly contacting the medium. Although non-contact methods do not damage the medium, their sensing accuracy is lower compared to contact methods, and they generally incur higher costs. Contact humidity sensing devices [21,22,23,24,25,26,27] offer lower costs and higher sensing accuracy. Therefore, they are better suited to meet the demand for grain humidity monitoring in the domestic large-scale grain storage industry.
The non-contact humidity sensor acquires moisture information from the medium by receiving and transmitting antenna-specific wavelength information. It is typically used for humidity monitoring of small-scale, high-precision products. For instance, Jiarasuwan S. et al. [37] developed a microwave moisture sensor suitable for small irregular containers for grains. Experiments were conducted with various grains such as rice, red beans, black beans, and containers of different shapes, verifying the accuracy of moisture monitoring by the sensor. Additionally, Singh D.K. et al. [38] proposed a microstrip-coupled line humidity sensor. It utilizes a vector network analyzer to measure reflection coefficients, thereby improving the detection accuracy of broken rice humidity.
Compared to non-contact humidity sensors, contact humidity sensors offer the advantages of high precision and low cost, making them more suitable for large-scale grain storage applications. Common detection principles include resistive, capacitive, thermoelectric, and surface acoustic wave principles. Resistive sensors have lower sensitivity and larger dimensions. Thermoelectric and surface acoustic wave sensors offer high accuracy but are more costly and susceptible to interference from other factors, making them unsuitable for use in large grain storage facilities. Additionally, vendors typically provide only one humidity calibration model [39,40,41,42,43], which requires users to independently conduct experiments to adjust the humidity calibration model when encountering different mediums. This imposes higher demands on cost and time. For example, Thakur R. et al. [25] developed a capacitive sensor and a corresponding moisture calibration model for multiple grains by optimizing sensor circuits. This enables efficient monitoring of mustard, chickpea, wheat, and other grain moisture levels. Lei X. et al. [21] conducted calibration experiments on capacitive humidity sensors with different bulk densities of soil and optimized the calibration model, improving the correlation between sensor readings and soil moisture content. This allows the sensor to more directly reflect specific values of water content and humidity trends in soil columns. Bogena H.R. et al. [43] proposed a dedicated calibration method for the smt100 sensor, which improves calibration accuracy while simplifying calibration time.
This paper aims to design a cost-effective contact-type grain moisture sensor while constructing humidity calibration models based on the major domestically stored grains such as millet, rice and wheat. To achieve this goal, the paper provides a detailed explanation of the design principles and experimental processes of both the sensor and the models. Additionally, validation experiments for the developed sensor’s humidity calibration models are designed, and the advantages of developing the sensor are analyzed.
Table 1 presents the principles and models of some humidity sensors.

3. Sensor Principles and Model Analysis

3.1. Moisture Measurement Principle Based on SWR

Grains in storage can be considered as a mixture of grain, air, and water. The dielectric constants of grain and air are relatively low (approximately 4 for grain and about 1 for air), while water has a dielectric constant of approximately 80. Therefore, the comprehensive dielectric constant of grains varies with the moisture content of the grains. Thus, we can utilize the dielectric constant of grains to infer their moisture content. Detection methods of this kind can be categorized into various types based on principles, such as capacitive method, resistive method, and SWR method, among others [36]. After comprehensive consideration of the technical difficulty, accuracy, and economic cost of sensor information acquisition, we ultimately chose SWR as the principle.
Research has shown that the accuracy of measuring the dielectric constant of grains is sensitive to the measurement frequency. When the measurement frequency is below 100 MHz, the presence of salts in the grain medium can significantly interfere with the measurement results of the dielectric constant. However, when the measurement frequency ranges between 100 to 500 MHz, factors such as salts have minimal interference with the measurement results of the dielectric constant [49,50]. Based on a comprehensive consideration of sensor power consumption and data processing capabilities, this study ultimately adopted 100 MHz as the measurement frequency for the sensor. The sensor structure is illustrated in Figure 3. As depicted in the figure, the measurement circuit primarily consists of a crystal oscillator, fixed resistors, and a probe. The dielectric constant ε m of the sensor probe is a fixed value. The dielectric constant ε i of the grains varies with the moisture content. Therefore, the relative equivalent dielectric constant ε x of the probe is jointly determined by ε m and ε i . The theoretical design calculation formula for the equivalent medium is as follows:
ε x = ε m ( 1 + φ ( ε i ε m ) / ( ε m + 2 φ ( ε i ε m ) ) )
In the equation, φ represents the filling factor, indicating the proportion of material occupied in the probe. It can be obtained through experimental or simulated calculations. Additionally, there exists the following relationship between the equivalent dielectric constant and impedance:
R = 1 / ( j ω C )
R represents impedance, ω is the angular frequency, j is the imaginary unit, and C represents the capacitance of the grain. The capacitance value of the grain can be expressed by the dielectric constant ε and geometric data, such as electrode spacing and electrode area.
C = ε x A / d
Here, A represents the area of the probe, and d represents the separation of the probe. If the sum of the fixed-value resistor and the circuit impedance in the circuit is denoted as R 0 ( Ω ) and the equivalent input impedance of the probe after inserting the grain is denoted as R x ( Ω ). The relationship between voltage and impedance can be expressed as:
U x = K f ( U A U B )
R x = ( R 0 U B ) / ( U A U B )
U x = ( K f U B R 0 ) / R x
In Formula (4), K f represents the amplification factor of the amplification circuit. In Formula (6), it can be observed that when the moisture content of the granular medium changes. In addition, the output voltage U x of the sensor will correspondingly change. Therefore, the numerical value of the output voltage can be utilized to deduce information about the humidity of the grain medium.

3.2. Humidity Calibration Model

The measured voltage output of the sensor is theoretically correlated with the humidity level of the grain medium. Consequently, given the recorded sensor voltage, the humidity level of the grain medium can be ascertained. By embedding the sensor within the grain medium (Z) of known humidity (W), the voltage (UX) across the sensor probe can be measured, as illustrated in Figure 4. Utilizing the acquired data, a mathematical model for monitoring voltage variations corresponding to changes in grain moisture content is established. Figure 5 shows four commonly representative mathematical models (linear, exponential, quadratic polynomial, and Gaussian regression). As seen from Figure 4, the voltage sensed by the sensor is monotonically negatively correlated with the humidity of the medium. Furthermore, as the humidity of the medium increases, the rate of voltage change captured by the sensor gradually decreases. Therefore, through comparison, the quadratic polynomial function exhibits the most similar pattern to the sample curve in Figure 4. Consequently, the quadratic polynomial equation is chosen as the fitting model, and the specific formula is provided below:
W = a ( U X + b ) 2 + c = a [ ( K f U B R 0 ) / R x + b ] 2 + c
In this context, a represents the coefficient, b signifies the offset of x, and c denotes the offset of the vertical coordinate. Consequently, in order to resolve the humidity calibration model, the parameters a, b, and c must be determined initially.
Using red beans as a case study, the raw data and the corresponding fitted model are illustrated in Figure 6a and Figure 6b respectively. The ultimate outcome of the fitting function is presented in Figure 6c.
Due to variations in grain mediums, the specific parameters of the calibration fitting model for different grain moisture levels also differ. Solely employing the aforementioned method to acquire calibration models results in high costs, extensive workload, and low efficiency. To address this issue, this study proposes the utilization of support vector machine (SVM) models to process experimental data. This approach is employed to obtain humidity calibration models for different grain mediums.
SVM is a supervised learning model commonly utilized for pattern recognition, classification, and regression analysis. It can incorporate kernel functions to enable nonlinear classification and regression. In regression tasks, the model endeavors to fit as many data points as possible within a margin range while constraining margin violations. In essence, it adjusts parameters to maximize the positioning of sample points within the margin range. Addressing the specific characteristics of the data in this study, a polynomial kernel function is introduced to map the original data into a higher-dimensional space. As mentioned earlier, the humidity calibration fitting model is a quadratic equation, thus the kernel function is a quadratic kernel. Given that K(x,z) is a function or positive definite kernel, there exists a mapping Φ from the input space to the feature space such that for any x, z:
K ( x , z ) = Φ ( x ) T Φ ( z )
In the high-dimensional feature space, the inner product of x and z can be substituted with the kernel function K(x,z). Accordingly, the solution is derived as a nonlinear support vector machine for:
f ( x ) = s i g n ( i = 1 n α i y i K ( x , x i ) + b )
Here, f(x) represents the prediction outcome for sample x, the sign denotes the sign function, αi is the Lagrange multiplier corresponding to the support vector, yi is the label associated with the support vector, K(x,xi) signifies the kernel function, and b represents the model bias.
This method allows for the rapid determination of various parameters of the grain moisture calibration model. It possesses advantages such as speed, efficiency, and precision.
According to Figure 2, a vertical cylindrical pillar is installed at the center of the grain bin. Humidity sensors are uniformly mounted on this pillar. Taking a typical large-scale storage bin as an example, with a height of 20 m, the sensors are installed in five layers. The bottom layer is positioned 20 m away from the grain inlet. The distance between each sensor within a layer is 4 m. Each layer contains eight humidity sensors, positioned at angles of 45° from each other. If the height of the grain bin varies, the spacing between sensors in each layer can be adjusted accordingly, or the number of sensing layers can be reduced as needed. By processing the humidity information collected by the sensors, various data such as the average humidity, maximum humidity, minimum humidity for each layer, or humidity variation at different depths can be obtained, ultimately providing comprehensive humidity information within the storage facility.
W max _ i = max ( W i _ 1 , W i _ 2 , W i _ 3 , W i _ n )
W a v g _ i = j = 1 n W i j n
W a v g _ j = i = 1 m W i j m
W a v g = i = 1 m j = 1 n W i j m n
Here, n represents the vertical layers of sensors, while m denotes the number of sensors per layer; Wmax_i indicates the maximum humidity within the i layer, Wavg_i denotes the average humidity among the n sensors within the i layer, Wavg_j represents the average humidity vertically across the j sensor within each layer, and Wavg signifies the average humidity across all sensors within the entire storage device.

4. Sensor Design and Simulation

To enhance the efficiency of sensor design, theoretical simulation analysis is conducted on the material, length, and spacing of sensor probes. The material and structure of the probes are crucial for the sensing accuracy and effective monitoring range of the sensor.

4.1. Materials Selection

Considering the application environment of the sensors, we have placed high demands on the hardness, toughness, and corrosion resistance of the sensor probes. It is known that the main materials for current humidity sensor probes include stainless steel, copper, and polymers. Additionally, researchers often use ceramic materials to manufacture insulation and protective layers for sensors to prolong the probe’s lifespan. Key attribute information of some commonly used materials is provided in Table 2.
Humidity sensors are often subjected to complex environments characterized by high humidity and temperature, placing high demands on both the sensor’s corrosion resistance and material stability. Moreover, in large-scale grain bins, changes in grain quantity exert force on the sensor probes, leading to probe deformation. Therefore, to prolong the sensor’s lifespan, the probe material must possess high hardness and toughness. After comprehensive comparison of various material properties, 316 stainless steel with a resistivity of 0.81 × 10−6 was ultimately selected as the probe material for this study.

4.2. Simulation of Probe Length

The moisture information sensed by the sensor originates from the medium within the probe. Therefore, the higher the proportion of the medium in the middle of the probe to the total medium, the more representative the data information obtained by the sensor. Extending the effective sensing range of the sensor is crucial for improving the accuracy of equipment information acquisition without compromising the monitoring accuracy of the circuit. In this study, Matlab 2016b was used to simulate the detection effects of sensor probes of different lengths with fixed medium and probe spacing. This analysis aimed to investigate the influence of sensor probe length on the sensing range and accuracy of the sensor. The probes were made of 316 stainless steel, with a diameter of 2 mm and spaced 5 cm apart. The simulation results of the sensor are shown in Figure 7.
In the absence of external force interference, the stable output voltage range of the sensor is between 1.8 V and 2.3 V. As depicted in Figure 7, under these conditions, the optimal length of the sensor probe is determined to be 0.8 m.
However, in practical applications, sensors installed in warehouses are subjected to vertical forces from the grains. Therefore, further analysis of the force acting on the sensor probe is necessary. The results are shown in Figure 8. Under ideal conditions, when the force applied to the probe tip reaches 883.88 N, the probe shape undergoes deformation. With wheat density typically ranging from 700 to 800 kg/m3, assuming an average density of 800 kg/m3, and considering the sensor positioned 20 m below the grain fill level, Newton’s second law is used to calculate the force acting on the probe. At this point, the force acting on the 0.8 m probe tip is approximately 1254.40 N, significantly exceeding the probe’s force limit. Therefore, adjustments to the sensor probe length are necessary based on the force acting on the sensor at the lowest point.
To further clarify the optimal length results, theoretical maximum force and theoretical bottom force for different probe lengths are calculated incrementally at 1 cm intervals. Some of the calculated data are shown in Table 3. From the table, it is evident that the theoretical maximum force for probes below 67 cm exceeds the theoretical bottom force. However, when the length reaches 68 cm, the theoretical maximum force becomes less than the theoretical bottom force. Therefore, the theoretically optimal probe length determined through simulation is 67 cm.
To clarify the installation details of the sensor, the voltage distribution around the probe in an ideal environment is constructed using Matlab 2016b, as depicted in Figure 9. The voltage around the probe decreases with increasing distance, as depicted in the Figure 10. As previously mentioned, the voltage influence range in the horizontal direction (X) of the probe will be greater than in the vertical direction (Y). Therefore, to reduce interference between sensors, it is recommended to install the sensors with the probe plane parallel to the ground.

5. Experiments

5.1. Experimental Design

This paper presents a design method for a grain humidity sensor based on the standing wave method. To enhance the monitoring performance of this sensor, we constructed a prototype of a grain medium humidity monitoring system, as depicted in Figure 11. Furthermore, to validate the accuracy of the moisture information obtained by the sensor, a drying control experiment was designed as follows.
This study intends to monitor the RH (relative humidity) levels through experimental data pairing. The specific method involves comparing and analyzing the data obtained from the sensor with the real humidity data obtained through the drying and weighing method. Utilizing SVM (support vector machine) model, a moisture calibration model is constructed. As mentioned earlier, the optimal storage humidity for grains generally falls between 10% and 15%. Additionally, during the experimental process, it was observed that when the humidity of grains reaches 20%, it leads to water accumulation, subsequently causing severe mold or decay of the grains. Therefore, a measurement range of 0% to 35% can meet the requirements for daily grain storage. Furthermore, while expanding the detection range of the sensor to ensure accuracy, it necessitates the addition of circuit components, which would increase the research and development costs. This contradicts the aim of this paper to develop a simple, easy, and low-cost humidity sensor. So, the experiment is conducted within the range of grain moisture content from 0% to 35%, and the specific experimental design is as follows:
  • Experimental materials;
To meet the requirements for establishing calibration models for different grain moisture levels, common grains such as millet, rice, and wheat were specifically selected as experimental materials.
2.
Experimental apparatus;
The equipment used includes a high-temperature aging chamber, an electronic scale with one-thousandth precision, standardized semi-transparent containers, a vernier caliper (0.02 mm), developed sensors, and the MAS-1 humidity sensor.
3.
Experimental procedure;
  • Preparation of materials;
The experimental materials selected were millet, rice, and wheat. The original samples were placed in a high-temperature aging chamber and baked for 8 h to remove excess moisture from the samples. Subsequently, 5000.00 g of the dried samples were weighed using an electronic scale and placed into uniformly sized cubic containers for experimentation. Following the aforementioned procedure, three samples each of millet, rice, and wheat were prepared. Controlling the surrounding environment ensured that the samples remained in a stable environment at 25 °C.
  • Data collection experiment;
Using an electronic scale, an appropriate amount of distilled water (25 °C) was measured. After recording the data, all the water was added to the dried samples. Following thorough mixing of water with the grains, the sensor was vertically inserted into the central position of the sample under test. We ensured that the sensor probe was fully immersed in the grains without touching the edges of the container and maintained consistent depth and position with each insertion. The output data of the sensor and the moisture data of the grains were recorded. This experimental procedure was repeated to obtain sensor data at different moisture levels.
  • Comparative experiment;
Using the same method, data from the MAS-1 sensor were simultaneously collected, and proper data recording was conducted. Subsequently, SVM was employed to construct the humidity calibration model. The accuracy of the humidity calibration models for both sensors was then verified.
  • Validation experiment;
The theoretical data calculated by the model were compared and analyzed against the actual moisture data to validate the authenticity and reliability of the model.

5.2. Result and Analysis

5.2.1. Experiment Result

The moisture calibration models for the developed sensor and the MAS-1 sensor were constructed using SVM. The results are depicted in Figure 12 and Figure 13. The horizontal axis represents the analog information collected by the sensors, while the vertical axis represents the actual moisture content of the grain medium. The output signal of the developed sensor is voltage (V), whereas the output information of the MAS-1 humidity sensor is current (4–20 mA). As mentioned in Section 3.2, the humidity calibration model of the developed sensor exhibits nonlinearity, thus necessitating the use of a kernel function in the SVM model:
K ( x , x i ) = ( γ × ( x x i ) + r ) d
In the equation provided, γ represents the scaling factor of the kernel function, r stands for the constant bias, and d denotes the maximum number of iterations. Here, x and xi represent the feature vectors of the samples. Initially, the kernel matrix K is computed based on the features of the training data:
K ( x i , y j ) = ( γ × ( x i x j ) + r ) d
Here, (xi · xj) denotes the inner product of samples xi and xj. The next step involves constructing an m × m kernel matrix K by computing the kernel function values between each pair of samples in the training set, where m represents the number of training samples. Following this, the Lagrangian function of the original problem is:
L ( w , b , α ) = 1 / 2 | | w | | 2 ( α i × ( y i × ( w x i + b ) 1 ) )
In the provided equation, w is the weight vector, representing the model coefficients, b stands for the bias, α is the Lagrange multiplier, yi represents the label of the training sample, and xi corresponds to the features of the training sample.
Subsequently, the Lagrangian dual problem is formulated, and a convex optimization algorithm is employed to determine the Lagrangian multipliers, α. Each αi must adhere to the following constraints:
α i > 0 ( α i y i ) = 0
Upon obtaining the solution to the optimization problem, the corresponding α values associated with the support vectors are derived. Subsequently, the model’s bias, denoted as b, is computed. To calculate this, a subset of the support vectors is selected. For a specific support vector (xi, yi), the bias b is computed as follows:
b = y i α i × y i × K x i ,   x
Ultimately, the coefficients (w) of the model are computed to represent the normal vector of the decision boundary.
w = α i × y i × φ x i
where αi represents the Lagrange multiplier corresponding to the support vector, yi denotes the category label associated with the support vector, φ(xi) signifies the mapping function of the sample features, and xi stands for the eigenvector of the support
Building upon the aforementioned procedures, distinct moisture calibration models were established for millet, rice, and wheat, outlined as follows:
y 1 = 0.1859 x 2 + 0.2905 x + 0.1451 y 2 = 0.1162 x 2 + 0.1108 x + 0.2381 y 3 = 0.0159 x 2 0.234 x + 0.3948
Here, y1 represents the humidity calibration model for millet, y2 denotes the humidity calibration model for rice, and y3 signifies the humidity calibration model for wheat. The determination coefficients (R2) for the three calibration models are as follows: R12 = 0.9342 for millet, R22 = 0.9023 for rice, and R32 = 0.92621 for wheat. Notably, all of these values exceed 0.9, indicating strong model performance.
From Figure 13, it can be observed that the analog information obtained by the MAS-1 humidity sensor in the three types of grains, namely millet, rice, and wheat, exhibits a monotonically positive correlation with moisture content. The moisture calibration formula satisfies a linearly increasing relationship. At this point, the coefficient w of the model satisfies:
w = ( α i × y i × x i )  
Therefore, the moisture calibration model is constructed as follows:
y 1 = 0.065 x 0.4814 y 2 = 0.0469 x 0.3174 y 3 = 0.0272 x 0.1424
Here, y1′ represents the humidity calibration model for millet, y2′ denotes the humidity calibration model for rice, and y3′ signifies the humidity calibration model for wheat. The coefficients of determination (R2) for the three model sets are as follows: R12′ = 0.89897, R22′ = 0.70336, and R32′ = 0.78696. It is observed that the fit is comparatively weaker than that of the developed sensor.

5.2.2. Verification and Analysis

The calculated moisture information from both the developed sensor and the MAS-1 sensor was compared with the measured moisture data for validation analysis. The results are shown in Figure 14, where the horizontal axis represents the calculated moisture information from the models, and the vertical axis represents the measured moisture information. From the graph, it is evident that the moisture calibration model’s calculated data for millet, rice, and wheat exhibit a good linear relationship with the measured data. These can be fitted and validated using the equation y = kx + b, where y represents the measured mass moisture content (%), x represents the moisture content of the medium obtained from the model (%), k represents the regression coefficient, and b represents the constant term. The parameters of the validation models for each sensor are presented in Table 4.
From Table 4, it is evident that the coefficient k of the fitting formulas for both sensors is very close to 1, and the constant term b is extremely close to 0. However, the fitting performance of the developed sensor (R2 > 0.9) surpasses that of the MSA-1 humidity sensor (0.7 < R2 < 0.9). The experimental results indicate that the developed sensor exhibits higher accuracy and is more suitable for measuring grain moisture.
The MAS-1 is an integrated sensor and 4 to 20-mA transmitter. The appearance of the MAS-1 sensor is shown in Figure 15. When the MAS-1 is powered by the power supply, it transmits a current though the loop that is proportional to the grain dielectric permittivity and therefore the grain volumetric water content (VWC). First, the grain adjacent to the sensor surface has the strongest influence on the sensor reading and that the sensor measures the VWC. Therefore, any air gaps or excessive grain compaction around the sensor can profoundly influence the readings. As shown in Figure 1, there are many voids in the grain. This is especially true for grains with larger individual volumes, so voids of wheat are larger than those in millet. Consequently, when the MAS-1 sensor measures grain moisture information, the larger the grain particle volume, the greater the measurement error. In contrast, the developed sensor utilizes SVM detection principles to obtain moisture information from the medium, which is less affected by voids. Additionally, the probe length and spacing of the MAS-1 sensor are much smaller than those of the developed sensor (the probe length of the MAS-1 sensor is 5.5 cm, and the probe spacing is 0.5 cm). This means that the effective sensing range perceived by the MAS-1 sensor is much smaller than that of the developed sensor. To summarize, the developed sensor is more suitable for humidity detection in grain media.

6. Conclusions

The aim of this study is to develop a grain moisture sensor capable of meeting the humidity monitoring requirements for large-scale, long-term grain storage. We propose a method for developing a grain medium humidity monitoring sensor and construct humidity calibration models for three main types of grains. These methods have been applied and validated in grain media such as millet, rice, and wheat. To investigate this device, we first analyze the physical structure of the probe under ideal conditions, including the probe’s material, stress, and surrounding voltage changes. The results indicate that the suitable material for the sensor probe is 316 stainless steel, and under ideal conditions, the suitable length of the sensor probe with a spacing of 5 cm is 0.67 m. Secondly, SVM is employed to construct humidity calibration models for millet, rice, and wheat. The test results are satisfactory, with R2 values exceeding 0.9 for all three models, surpassing the MAS-1 sensor in accuracy. Finally, we verified the accuracy of the model. The computational results of the three sensor models align well with the validation results from actual data (all R2 > 0.9), outperforming the MAS-1 sensor.
The limitation of this study is that the developed sensor system only enables the monitoring of grain humidity information, without involving the integrated control of devices such as ventilation and heating within the storage unit. In future research, we will focus on the control facilities within the storage unit to construct an optimal humidity control model for grain storage. We aim to provide the optimal storage conditions for target grain crops, thereby prolonging storage time while reducing nutrient loss. The grain humidity sensor provided by this study can offer reliable data support for the intelligent management of grain warehouse storage environments.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/s24092854/s1.

Author Contributions

Conceptualization, P.L. and K.Z.; methodology, P.L.; software, L.L.; validation, L.L., C.S. and K.Z.; formal analysis, C.S. and L.L.; investigation, L.L.; resources, P.L.; writing—original draft preparation, L.L. and K.Z.; writing—review and editing, P.L. and K.Z.; visualization, P.L.; supervision, K.Z.; project administration, P.L.; funding acquisition, P.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Key Research and Development Plan of Shandong Province (2022CXGC010609), the Key Research and Development Plan of Shandong Province (2022TZXD0030) and the Special Funds for Centralized Guidance of Local Science and Technology Development (YDZX2022073).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article and Supplementary Materials.

Acknowledgments

Thanks to the Agricultural Big Data Research Center, Shannon Agricultural University for its support for support for scientific research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Lipper, L.; Thornton, P.; Campbell, B.M.; Baedeker, T.; Braimoh, A.; Bwalya, M.; Caron, P.; Cattaneo, A.; Garrity, D.; Henry, K.; et al. Climate-smart agriculture for food security. Nat. Clim. Chang. 2014, 4, 1068–1072. [Google Scholar] [CrossRef]
  2. Moreira, R.; Moreira, L.F.R.; Munhoz, P.L.A.; Lopes, E.A.; Ruas, R.A.A. AgroLens: A low-cost and green-friendly Smart Farm Architecture to support real-time leaf disease diagnostics. Internet Things 2022, 19, 100570. [Google Scholar] [CrossRef]
  3. Muangprathub, J.; Boonnam, N.; Kajornkasirat, S.; Lekbangpong, N.; Wanichsombat, A.; Nillaor, P. IoT and agriculture data analysis for smart farm. Comput. Electron. Agric. 2019, 156, 467–474. [Google Scholar] [CrossRef]
  4. Long, T.B.; Blok, V.; Coninx, I. Barriers to the adoption and diffusion of technological innovations for climate-smart agriculture in Europe: Evidence from the Netherlands, France. Switzerland and Italy. J. Clean. Prod. 2016, 112, 9–21. [Google Scholar] [CrossRef]
  5. João, P.L.E.; Uender, B.S.; Rodrigo, C.G.; Ivan, N.S.; Jovander, S.F.; Lucas, A.O. A mesh network case study for digital audio signal processing in Smart Farm. Internet Things 2022, 17, 2542–6605. [Google Scholar] [CrossRef]
  6. Alshehri, D.M. Blockchain-assisted internet of things framework in smart livestock farming. Internet Things 2023, 22, 100739. [Google Scholar] [CrossRef]
  7. Mobasshir, M. A smart farming concept based on smart embedded electronics, internet of things and wireless sensor network. Internet Things 2020, 9, 2542–6605. [Google Scholar] [CrossRef]
  8. Boursianis, A.D.; Papadopoulou, M.S.; Diamantoulakis, P.; Liopa-Tsakalidi, A.; Barouchas, P.; Salahas, G.; Karagiannidis, G.; Wan, S.; Goudos, S.K. Internet of things (IoT) and agricultural unmanned aerial vehicles (UAVs) in smart farming: A comprehensive review. Internet Things 2022, 18, 2542–6605. [Google Scholar] [CrossRef]
  9. Jin, X.; Zhang, J.; Kong, J.; Su, T.; Bai, Y. A Reversible Automatic Selection Normalization (RASN) Deep Network for Predicting in the Smart Agriculture System. Agronomy 2022, 12, 591. [Google Scholar] [CrossRef]
  10. Ahmed, N.; De, D.; Hussain, I. Internet of Things (IoT) for smart precision agriculture and farming in rural areas. IEEE Internet Things 2018, 5, 4890–4899. [Google Scholar] [CrossRef]
  11. Raju, R.; Bridges, G.E. Radar cross section-based chipless tag with built-in reference for relative humidity monitoring of packaged food commodities. IEEE Sens. J. 2021, 21, 18773–18780. [Google Scholar] [CrossRef]
  12. Kibar, H. Influence of storage conditions on the quality properties of wheat varieties. J. Stored Prod. Res. 2015, 62, 8–15. [Google Scholar] [CrossRef]
  13. Lutz, É.; Coradi, P.C. Applications of new technologies for monitoring and predicting grains quality stored: Sensors, internet of things, and artificial intelligence. Measurement 2022, 188, 110609. [Google Scholar] [CrossRef]
  14. Qiu, W.; Yang, S. Development of granary temperature and humidity prediction model based on RBF neural network. In Proceedings of the 2017 7th International Conference on Applied Science, Engineering and Technology (ICASET 2017), Qingdao, China, 29–30 July 2017. [Google Scholar] [CrossRef]
  15. Pixton, S.W.; Warburton, S. Moisture content/relative humidity equilibrium of some cereal grains at different temperatures. J. Stored Prod. Res. 1971, 6, 283–293. [Google Scholar] [CrossRef]
  16. Zhao, L.; Wang, J.; Li, Z.; Hou, M.; Dong, G.; Liu, T.; Sun, T.; Grattan, K.T.V. Quasi-distributed fiber optic temperature and moisture sensor system for monitoring of grain storage in granaries. IEEE Sens. J. 2020, 20, 9226–9233. [Google Scholar] [CrossRef]
  17. Kim, K.B.; Kim, J.H.; Lee, S.S.; Noh, S.H. Measurement of grain moisture content using microwave attenuation at 10.5 GHz and moisture density. IEEE Trans. Instrum. Meas. 2002, 51, 72–77. [Google Scholar]
  18. Kittiamornkul, N. Microwave-based moisture estimation by scanning for paddy inspection. In Proceedings of the 2020 43rd International Conference on Telecommunications and Signal Processing (TSP), Milan, Italy, 7–9 July 2020. [Google Scholar]
  19. Lin, L.; He, Y.; Xiao, Z.; Zhao, K.; Dong, T.; Nie, P. Rapid-Detection Sensor for Rice Grain Moisture Based on NIR Spectroscopy. Appl. Sci. 2019, 9, 1654. [Google Scholar] [CrossRef]
  20. Manley, M.; McGoverin, C.M.; Snyders, F.; Muller, N.; Botes, W.C.; Fox, G.P. Prediction of Triticale Grain Quality Properties, Based on Both Chemical and Indirectly Measured Reference Methods, Using Near-Infrared Spectroscopy. Cereal Chem. 2013, 90, 540–545. [Google Scholar] [CrossRef]
  21. Lei, X.; Tianjian, J.; Qingsong, Z. Calibration Method of Capacitive Soil Moisture Sensor. Tnuaa 2020, 37, 109–114. [Google Scholar] [CrossRef]
  22. Huan, Z.; Wang, H.; Li, C.; Wan, C. The soil moisture sensor based on soil dielectric property. Pers. Ubiquitous Comput. 2017, 21, 67–74. [Google Scholar] [CrossRef]
  23. Songara, J.C.; Patel, J.N. Calibration and comparison of various sensors for soil moisture measurement. Measurement 2022, 197, 111301. [Google Scholar] [CrossRef]
  24. Casada, M.E.; Armstrong, P.R. Wheat moisture measurement with a fringing field capacitive sensor. Trans. ASABE 2009, 52, 1785–1791. [Google Scholar] [CrossRef]
  25. Thakur, R.; Chatterji, S.; Kumar, A.; Bansod, B.S. Development of multi-grain capacitive sensor for determination of moisture content in grains. Qual. Assur. Saf. Crop 2015, 7, 201–206. [Google Scholar] [CrossRef]
  26. Armstrong, P.R.; McNeil, S.; Manu, N.; Bosomtwe, A.; Danso, J.K.; Osekre, E.; Opit, G. Development and evaluation of a low-cost probe-type instrument to measure the equilibrium moisture content of grain. Appl. Eng. Agric. 2017, 33, 619–627. [Google Scholar] [CrossRef]
  27. Li, C.; Zhang, X.; Meng, M.; Li, B.; Li, C. Capacitive Online Corn Moisture Content Sensor Considering Porosity Distributions: Modeling, Design, and Experiments. Appl. Sci. 2021, 11, 7655. [Google Scholar] [CrossRef]
  28. Lev, J.; Křepčík, V.; Prošek, V.; Kumhála, F. Capacitive throughput sensor for plant materials–Effects of frequency and moisture content. Comput. Electron. Agric. 2017, 133, 22–29. [Google Scholar] [CrossRef]
  29. Hübner, M.; Lepke, D.; Hardi, E.; Koerdt, M.; Herrmann, A.S.; Lang, W. Online Monitoring of Moisture Diffusion in Carbon Fiber Composites Using Miniaturized Flexible Material Integrated Sensors. Sensors 2019, 19, 1748. [Google Scholar] [CrossRef] [PubMed]
  30. Yu, L.; Gao, W.; Shamshiri, R.R.; Tao, S.; Ren, Y.; Zhang, Y.; Su, G. Review of research progress on soil moisture sensor technology. Int. J. Agric. Biol. Eng. 2021, 14, 32–42. [Google Scholar] [CrossRef]
  31. Smith-Rose, R.L. The electrical properties of soils for alternating currents at radio frequencies. Proc. R. Soc. A 1933, 140, 359–377. [Google Scholar]
  32. Thomas, A.M. In situ measurement of moisture in soil and similar substances by ‘fringe’ capacitance. J. Sci. Instrum. 1966, 43, 21–27. [Google Scholar] [CrossRef]
  33. Fellner-Feldegg, H. Measurement of dielectrics in the time domain. J. Phys. Chem. 1969, 73, 616–623. [Google Scholar] [CrossRef]
  34. Hilhorst, M.A.; Van Breugel, K.; Kroesea, W.S. Dielectric sensors used in environmental and construction engineering. OPL 1995, 411, 401. [Google Scholar] [CrossRef]
  35. Gaskin, G.J.; Miller, J.D. Measurement of soil water content using a simplified impedance measuring technique. J. Agric. Eng. Res. 1996, 63, 153–159. [Google Scholar] [CrossRef]
  36. Zhao, Y.D.; Gao, C.; Zhang, X.; Xu, Q. Non-destructive measurement of plant stem water content based on standing wave ratio. Trans. CSAM 2016, 47, 310–316. [Google Scholar]
  37. Jiarasuwan, S.; Chamnongthai, K.; Kittiamornkul, N. A design method for a microwave-based moisture sensing system for granular materials in arbitrarily shaped containers. IEEE Sens. J. 2021, 21, 19436–19452. [Google Scholar] [CrossRef]
  38. Singh, D.K.; Kumar, P.; Rizvi, N.Z. Microstrip transmission line sensor for rice quality detection: An overview. Int. J. Eng. Res. Gen. Sci. 2014, 2, 589–598. [Google Scholar]
  39. Iezzoni, H.M.; McCartney, J.S. Calibration of capacitance sensors for compacted silt in non-isothermal applications. Geotech. Test. J. 2016, 39, 169–180. [Google Scholar] [CrossRef]
  40. Cosh, M.H.; Ochsner, T.E.; McKee, L.; Dong, J.; Basara, J.B.; Evett, S.R.; Hatch, C.E.; Small, E.E.; Steele-Dunne, S.C.; Zreda, M.; et al. The soil moisture active passive Marena, Oklahoma, in situ sensor testbed (smap-moisst): Testbed design and evaluation of in situ sensors. Vadose Zone J. 2016, 15, 1–11. [Google Scholar] [CrossRef]
  41. Javanbakht, N.; Xiao, G.; Amaya, R.E. A Comprehensive Review of Portable Microwave Sensors for Grains and Mineral Materials Moisture Content Monitoring. IEEE Access 2021, 9, 120176–120184. [Google Scholar] [CrossRef]
  42. Chen, L.; Li, T.; Chan, C.; Menon, R.; Balamurali, P.; Shaillender, M.; Neu, B.; Ang, X.; Zu, P.; Wong, W.; et al. Chitosan based fiber-optic Fabry–Perot moisture sensor. Sens. Actuators B Chem. 2012, 169, 167–172. [Google Scholar] [CrossRef]
  43. Bogena, H.R.; Huisman, J.A.; Schilling, B.; Weuthen, A.; Vereecken, H. Effective Calibration of Low-Cost Soil Water Content Sensors. Sensors 2017, 17, 208. [Google Scholar] [CrossRef] [PubMed]
  44. ur Rehman, H.M.; Khan, M.; Rehman, M.M.; Khan, S.A.; Kim, W.Y. High-performance moisture sensor for multipurpose applications by recycling of potato peel bio-waste. Sens. Actuat A-Phys. 2022, 343, 113662. [Google Scholar] [CrossRef]
  45. Khan, M.U.; Mohammad, E.; Abbas, Y.; Rezeq, M.D.; Mohammad, B. Chicken skin based Milli Watt range biocompatible triboelectric nanogenerator for biomechanical energy harvesting. Sci. Rep. 2023, 13, 10160. [Google Scholar] [CrossRef] [PubMed]
  46. Khan, M.; Rehman, M.M.; Khan, S.A.; Saqib, M.; Kim, W.Y. Characterization and performance evaluation of fully biocompatible gelatin-based moisture sensor for health and environmental monitoring. Front. Mater. 2023, 10, 1233136. [Google Scholar] [CrossRef]
  47. Khtaoui, L.; Laghrouche, M.; Fernane, F.; Chaouchi, A. High-sensitivity moisture sensor based on natural hydroxyapatite. J. Mater. Sci.-Mater. 2021, 32, 8668–8686. [Google Scholar] [CrossRef]
  48. Navaneeth, M.; Potu, S.; Babu, A.; Lakshakoti, B.; Rajaboina, R.K.; Kumar K, U.; Divi, H.; Kodali, P.; Balaji, K. Transforming Medical Plastic Waste into High-Performance Triboelectric Nanogenerators for Sustainable Energy, Health Monitoring, and Sensing Applications. ACS Sustain. Chem. Eng. 2023, 11, 12145–12154. [Google Scholar] [CrossRef]
  49. Sun, Y.; Wang, M.; Zhao, Y. A kind of determinations of soil dielectric constant using the principle of standing-wave ratio. Trans. CSAE 1999, 15, 37–40. [Google Scholar]
  50. Yandong, Z.; Yiming, W. Study on the Measurement of Soil Water Content Based on the Principle of Standing-wave Ratio. Trans. CSAM 2002, 109–111+121. [Google Scholar]
Figure 1. The longitudinal profile of grain storage.
Figure 1. The longitudinal profile of grain storage.
Sensors 24 02854 g001
Figure 2. The installation diagram of the sensor.
Figure 2. The installation diagram of the sensor.
Sensors 24 02854 g002
Figure 3. The structural design of the circuit.
Figure 3. The structural design of the circuit.
Sensors 24 02854 g003
Figure 4. The voltage of sensor at different humidity levels.
Figure 4. The voltage of sensor at different humidity levels.
Sensors 24 02854 g004
Figure 5. The mathematical model.
Figure 5. The mathematical model.
Sensors 24 02854 g005
Figure 6. The example of raw data and fitted model.
Figure 6. The example of raw data and fitted model.
Sensors 24 02854 g006
Figure 7. The sensor output voltage vs. probe length (constant measurement medium).
Figure 7. The sensor output voltage vs. probe length (constant measurement medium).
Sensors 24 02854 g007
Figure 8. The theoretical analysis of force on the probe.
Figure 8. The theoretical analysis of force on the probe.
Sensors 24 02854 g008
Figure 9. The magnetic field distribution around the probe.
Figure 9. The magnetic field distribution around the probe.
Sensors 24 02854 g009
Figure 10. The magnetic field distribution around the sensor (Side view). Note: The gray box represents the insulated wrapped portion of the sensor. The blue circle is the sensor probe. The dashed line is the magnetic field around the probe.
Figure 10. The magnetic field distribution around the sensor (Side view). Note: The gray box represents the insulated wrapped portion of the sensor. The blue circle is the sensor probe. The dashed line is the magnetic field around the probe.
Sensors 24 02854 g010
Figure 11. The test system.
Figure 11. The test system.
Sensors 24 02854 g011
Figure 12. The moisture calibration of different granular media (developed sensor).
Figure 12. The moisture calibration of different granular media (developed sensor).
Sensors 24 02854 g012
Figure 13. The moisture calibration of different granular media (MAS-1).
Figure 13. The moisture calibration of different granular media (MAS-1).
Sensors 24 02854 g013
Figure 14. The effectiveness of fitting calculated data to measured data.
Figure 14. The effectiveness of fitting calculated data to measured data.
Sensors 24 02854 g014
Figure 15. The appearance of the MAS-1 sensor.
Figure 15. The appearance of the MAS-1 sensor.
Sensors 24 02854 g015
Table 1. Research results of humidity sensors (Undivided).
Table 1. Research results of humidity sensors (Undivided).
DevicesTarget MediaSensor PrincipleModel ImprovementAdvantagesRef.
New Fringe Field Capacitive (FFC) SensorWheat.Capacitance methodEvaluating Potential Best-Fit Polynomial Models with Linear Coefficients Using the GLM Procedure of SASSuitable for bulk containers; high precision;[24]
Multi-Grain Moisture Measurement Sensor Based on Capacitive Sensing TechnologyMustard, Chickpea, Urad and WheatCapacitance methodDetermination of Grain Moisture Using Empirical Calibration EquationsIntroduction of thermistor improves accuracy and stability of oscillation unit[25]
Grain Equilibrium Moisture Content (EMC) Measuring InstrumentsCornMeasurement of equilibrium water content based on air humidity/Portable; high accuracy; low cost ($85)[26]
Capacitive Corn Moisture SensorCornCapacitance methodSeries capacitance calculation method; correlation of capacitance measurement circuit resolution with moisture sensor resolution;Considers the effect of porosity change on water content measurement; can be applied to large storage[27]
Microwave Moisture Sensing System for Granular Materials in Arbitrarily Shaped Containers Based on Wet Box ScanningRed bean, Black bean, Mung bean, rice, Peanut and SoybeanMicrowave technologyOptimization of moisture models using microwave attenuation and thickness of the measured mediumHigher accuracy; high efficiency; can be applied to humidity detection of containers of arbitrary shapes[37]
Microstrip Coupled Line SensorRiceMicrostrip transmission line sensors/Relatively low cost[38]
Potato Peel-based Humidity Sensor (PPHS)Noncontact screen panel, Respiratory rate, Sensing humidity content of real environment, and for Skin careElectrical resistanceBoltzman curve fittingHigh precision; low cost; pollution-free; simple and efficient[44]
Triboelectric nanogenerator (TENG)Generating point, Sensing mechanical movement and HumidityCapacitive or piezoresistive technologies/Easy; low-power consumption[45]
Fully biocompatible gelatin-based moisture sensorEnvironmental monitoring, Health monitoring, Food storage, Touchless sensingElectrical resistance/It offers potential for addressing environmental concerns associated with toxic materials and versatile humidity sensing capabilities.[46]
High-sensitivity moisture sensor based on natural hydroxyapatiteEnvironmental monitoring, Pharmaceutical industry, Agricultural sectorCapacitance method/High sensitivity; fast response with a short recovery time; excellent reproducibility; high selectivity[47]
High-Performance Triboelectric NanogeneratorsCreate energy-harvesting, Health-monitoring devices and Tactile, Humidity-sensing applicationsVoltage method/Sustainable solution for energy generation and sensing applications[48]
Table 2. Probe material properties (Undivided).
Table 2. Probe material properties (Undivided).
MaterialResistivity (Ω·m)ConductivityHardnessToughnessCorrosion ResistanceStable
Copper1.68 × 10−8ExcellentLowHighExcellentVery active
Iron10–15 × 10−8GoodHigherAveragePoorGenerally active
Stainless steel 3160.74–0.81 × 10−6PoorHigherHighExcellentInactive
Table 3. Maximum and bottom forces for different probe lengths.
Table 3. Maximum and bottom forces for different probe lengths.
No.Probe Lengths (m)MAX Stress (N)Stress (N)
10.411745.29635.14
20.421703.28651.02
30.431662.28666.9
40.441624.27682.77
50.451587.26698.65
60.461551.26714.53
70.471518.25730.41
80.481485.25746.29
90.491454.24762.17
100.501425.24778.05
110.511396.23793.92
120.521369.23809.8
130.531343.22825.68
140.541317.22841.56
150.551293.22857.44
160.561269.21873.32
170.571247.21889.19
180.581225.20905.07
190.591204.20920.95
200.601183.20936.83
210.611164.19952.71
220.621145.19968.59
230.631126.19984.47
240.641108.181000.34
250.651091.181016.22
260.661074.181032.10
270.671058.181047.98
280.681042.171063.86
290.691027.171079.74
300.701012.171095.62
Table 4. Fits to calculate the true value of the data are fitted.
Table 4. Fits to calculate the true value of the data are fitted.
SensorsGrainkbR2
Developed sensorsMillet0.99980.000050.9342
Rice0.99980.000040.9023
Wheat0.99950.000070.9261
MSA-1Millet0.9995−0.00020.8992
Rice0.9992−0.00020.7244
Wheat1.0436−0.00820.7892
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

Liu, L.; Song, C.; Zhu, K.; Liu, P. A Design Method for an SVM-Based Humidity Sensor for Grain Storage. Sensors 2024, 24, 2854. https://doi.org/10.3390/s24092854

AMA Style

Liu L, Song C, Zhu K, Liu P. A Design Method for an SVM-Based Humidity Sensor for Grain Storage. Sensors. 2024; 24(9):2854. https://doi.org/10.3390/s24092854

Chicago/Turabian Style

Liu, Lining, Chengbao Song, Ke Zhu, and Pingzeng Liu. 2024. "A Design Method for an SVM-Based Humidity Sensor for Grain Storage" Sensors 24, no. 9: 2854. https://doi.org/10.3390/s24092854

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