1. Introduction
Rubberwood is one of the most important agricultural products of Thailand that is locally consumed and exported worldwide. Its demand has been continuously increasing from 2023 to 2024 onwards, especially in China, Korea, and Vietnam; among these three countries, up to 80% of the rubberwood lumber was imported by China from Thailand, with an average volume of 2.7 million cubic meters. The market capitalization of rubberwood lumber is worth 34 billion THB per year in revenue for Thailand [
1]. Rubberwood is actually a medium-density hardwood produced by harvesting Para rubber trees (
Hevea brasiliensis). This lumber is processed prior to being used for industrial products, such as wooden furniture, partition walls, parquet floors, window and door frames, and artworks. The quality control of lumber is essential because moisture content is a major factor affecting it. Typically, the lumber is stored in warehouses with a 12% moisture content level control and must be dehydrated to the moisture content level of 4–8% before use. However, the lumber is quite sensitive to the surrounding environment, as it is prone to attack by insects in a relatively dry environment, while fungal growth is critical when the moisture content is approximately 12–30%. Most industrial plants attempt to maintain the moisture content of lumber at an appropriate level using the dehydration process and monitor the moisture content using a traditional method performed by experts, which involves counting the number of hours spent in the process. This usually results in an inaccurate moisture content level measurement and unnecessary energy expense. The technique of assessing moisture content based on resistance measurements is widely used, but drilling into a lumber sample results in time-consuming sample preparation and a loss of damaged lumber. Thus, a non-destructive moisture content sensor is increasingly needed.
Non-destructive measurements are promising techniques that have been developed because of their advantages, such as being contactless, instantaneous measurement, and the avoidance of sample destruction. For example, the X-ray and magnetic resonance imaging methods provide highly accurate measurements, but their high cost makes them impractical for industrial applications [
2]. Other non-destructive measurement methods with moderate accuracy, including ultrasonic, thermographic, and near-infrared, are quite interesting since they are convenient for testing, and this has been consistently reported by many studies [
3,
4,
5,
6]. The ultrasonic method determines the moisture content by considering the time, attenuated amplitude, or frequency shift of a transmitted sound wave traveling through the lumber. A higher moisture content results in a lower speed of the ultrasonic wave, which in turn leads to increasing attenuation [
7,
8,
9,
10]. However, there are limitations, such as requiring experts in the interpretation of measurement results, expensive maintenance costs, being sensitive to surrounding temperature and humidity, and the need for a smooth and coating-free surface of the sample under testing [
11]. The thermographic method detects the emitted infrared radiation (heat) from the surface of an object using thermal cameras to capture thermal inconsistencies due to the moisture content inside the material. The advantage of this technique is its capability of providing a visual map of temperature variation display, but it is significantly affected by surface emissivity and surrounding environmental conditions [
12,
13,
14]. Near-infrared (NIR) spectroscopy analyzes the light absorption or scattering from the lumber correlated with the varied moisture content. This method is suitable for industrial applications since it provides rapid measurement and real-time monitoring capability, but it requires unique calibration for each type of wood, and surface moisture or contaminants strongly affect the accuracy of measurement [
15,
16,
17,
18]. According to the aforementioned methods, their performance is limited by the penetration depth, whereby only surface-level moisture is assessed rather than the complete moisture profile of lumber.
A microwave-based technique, particularly the free-space method, is an interesting approach since it allows for rapid and real-time measurements for a bulk of lumber. This method involves transmitting microwave signals through the air (frees pace) into the lumber, then analyzing the attenuation and phase shift of these signals due to the moisture content. It has been widely applied for the measurement of various bulk agricultural products, e.g., paddy, grains, wheat, and peanuts [
19,
20,
21,
22,
23]. The instrument for industrial timber was first developed at a frequency of 10 GHz, and it was a viable and effective tool with high-precision moisture content measurement and only a deviation of 0.68 [
24]. Later, a method was developed to measure not only the moisture content but also the density and grain angle of wood using the attenuation and phase shift of signals at a frequency of 4.81 GHz [
25]. In 2001, a method using only reflection and transmission coefficients instead of phase measurements in the frequency range of 8–12.5 GHz was presented [
26]. A scanning system with moisture content prediction was developed by using a combination of a microwave camera operating at the frequency of 9.4 GHz and a CT scan [
27,
28]. In 2009, the attenuation and phase shift measurements at the frequency of the ISM band, i.e., 2.45 GHz, were presented [
29]. A high-accuracy method using X-ray for density measurements combined with a microwave method for the attenuation and phase shift measurement at the frequency of 9.375 GHz was proposed [
30]. In addition, a practical feasibility study on the free-space method in the industry was performed in the frequency range of 8–12.4 GHz [
31]. According to the aforementioned methods, many studies attempted to develop the microwave technique as a practical sensor for use in the industry, but some systems were quite complex due to phase shift measurements. Moreover, some of these systems were expensive as they used a high frequency, i.e., X-ray and CT scan. These systems limited the practical use of these sensors in the industry. In order to solve these problems, the sensor should have two main capabilities: low cost and suitable frequency operation. In terms of low cost, the sensor system can reduce the complexity of measurement by measuring only the magnitude of reflection and transmission signals instead of measuring both the magnitude and phase of signals. For the frequency, it determines the penetration depth inside rubberwood lumber; thus, a suitable frequency should be carefully chosen. The suitable frequency, called natural frequency, provides the best response that can clearly distinguish the moisture content differences.
Consequently, this study presents a low-cost microwave sensor implementation for the moisture content of rubberwood monitoring in the dehydration process. The advantages of this sensor are low cost and the capability of continuously monitoring moisture content in real time. The novel aspects of this study are the determination of the natural frequency of rubberwood using electromagnetic simulation software (v. 2019) [
32] and the step-by-step design of sensors using commercially available modules. This article is organized as follows:
Section 2 describes Materials and Methods consisting of the sensor system concept and the procedure to determine the natural frequency of rubberwood. The modules used in each part of the system are tested, and the integrated system is then verified for moisture content measurements in the laboratory prior to its installation for the dehydration process. The experimental results are presented in
Section 3. The sensor performance is discussed in
Section 4. Finally, the conclusions of this study work are provided in
Section 5.
3. Results
The natural frequency described in the previous section is used to determine the devices to be used in the microwave sensor system integration. In this section, the results are presented in the following sequence: the results of system assembly and testing of the main system components are presented in
Section 3.1. Next, the results of the moisture content of rubberwood measured in the laboratory using the microwave sensor system are presented in
Section 3.2. Finally, the results of sensor system implementation in the industrial dehydration process and the monitoring of the moisture content of rubber wood are presented in
Section 3.3.
3.1. Microwave Sensor Integration and Testing
According to the microwave sensor system illustrated in
Figure 1, the devices used in each part were investigated from the available modules based on two factors: the natural frequency at 1.25 GHz and low cost. The key parts of the system that define the performance of this system are a frequency generator, a direction controller, a power detector, a bandpass filter, and a pair of transceiver antennas. The selected devices were tested to determine their performance.
3.1.1. Frequency Synthesizer
An ADF-4351 Synthesizer Module is a phase-locked loop RF generator that can generate a stable frequency spectrum and also sweeps the frequency range from 35 MHz to 4.4 GHz. It requires an input voltage of +5 volt DC. The output power can be set at four levels: −4 dBm, −1 dBm, +2 dBm, and +5 dBm. The ADF-4351 module is shown in
Figure 5. Initially, it was tested by setting the module to generate a frequency of 1.25 GHz at two output power levels of +2 dBm and +5 dBm. It can be seen in
Figure 6 that the output power for these two output levels was +1.46 dBm and +3.82 dBm, respectively. The loss in each output level was 0.54 dBm and 1.18 dBm, respectively.
3.1.2. Directional Coupler
A ZABDC20-252H+ module was chosen to be used as the directional coupler device for detecting the reflection of electromagnetic waves from the rubberwood (S
11), as shown in
Figure 7. This device has four ports: an input port, a couple of in ports, an output port, and a couple of out ports. It can operate in the frequency range of 0.8–2.5 GHz. The basic parameters to characterize the performance of the device were tested by measuring the return loss and the directivity of the input port (IN) to reverse the coupling port (CPL OUT), as shown in
Figure 8. Notably, the unused port was terminated with a 50
load. It was found that the return loss and the directivity at the frequency of 1.25 GHz were −29 dB and −33 dB, respectively, as specified in the datasheet.
3.1.3. Power Detector
An AD8318 module is a logarithmic power detector that measures the RF power in dBm and converts it to a DC voltage. Its advantage is its capability of measuring power in a wide dynamic range. This module can operate in the frequency range of 1 MHz–8 GHz and can detect the RF power in the range of −55–+5 dBm. It requires an input DC voltage of +5 volts. The AD8318 module is shown in
Figure 9. In the microwave sensor system, two power detectors were used to measure S
11 and S
21 simultaneously. The devices were tested by feeding an RF signal at 1.25 GHz from a signal generator and varying the power level in the range of −40–+5 dBm. The results are shown in
Figure 10. It was found that the output voltage decreased as the RF power increased, and both modules provided identical values for the converted voltage in the range of +3–+1 V, with a resolution of 0.05 V/dB.
3.1.4. Bandpass Filter
A ZX75BP-1250-S+ module was selected to be used as the bandpass filter since the microwave sensor system exhibits a high risk for surrounding electromagnetic interference, such as that caused by the many motors inside the industrial plant and the GSM mobile transmitter (900 MHz) near the industrial plant. This module operates in the frequency range 1215–1285 MHz, as shown in
Figure 11. The device was tested by connecting it to an E5063A ENA network analyzer; then, S
11 and S
21 were measured. The measured results are shown in
Figure 12. It was found that S
11 was lower than −10 dB in the frequency range of 1.18–1.32 GHz, whereas the insertion loss S
21 in this frequency range was approximately 2 dB.
3.1.5. Transceiver Antenna
An antenna used as the transmitting/receiving part is a probe-fed square microstrip patch antenna (with a length of
, where
denotes the substrate wavelength) because of its simple shape, compact size, and unidirectional radiation pattern characterization. It was designed on a 1.6 mm thick FR-4 substrate PCB whose dielectric constant and loss tangent were 4.2 and 0.02, respectively, and it was simulated in the electromagnetic simulation software [
32] to optimize the dimensions of the antenna at the frequency of 1.25 GHz. The structure of the antenna is shown in
Figure 13, and the optimized dimensions of antenna parameters are listed in
Table 3. The measured and the simulated reflection coefficient S
11 at the frequency of 1.25 GHz were −23.65 dB and −29.94 dB, respectively, as illustrated in
Figure 14.
The simulated and measured radiation patterns are shown in
Figure 15. It can be seen that the radiation patterns in both the xz-plane and the yz-plane are symmetrical. The simulated 3 dB beamwidths in the xz-plane and the yz-plane were 91.4 degrees and 92.2 degrees, respectively, while the measured ones were slightly narrower than the simulated results for both the xz-plane and yz-plane. In addition, the antenna gain was 5.52 dBi.
3.1.6. Integrated Microwave Sensor
After each part of the microwave sensor system had been tested, they were integrated as depicted in
Figure 16. The microwave sensor system has two modes of operation: automatic mode and manual mode. A switch to select the operation mode and two status lights are on the front panel of the control cabinet. A switch on the lower right corner of the control cabinet is used to turn the system on; then, an orange status light is on. The automatic mode is set to measure the moisture content every hour, while the manual mode is a bypass function to simultaneously measure the moisture content. The moisture content status of the rubberwood in the dehydration process is displayed on the LCD screen on the front panel of the control cabinet. In addition, the measured data are backed up on a memory card and are wirelessly sent to be stored in the cloud.
3.2. Moisture Content Measurement in Laboratory
In order to verify the performance of the designed microwave sensor system for rubberwood moisture content determination, experiments were initially setup in the laboratory by connecting a transmitting antenna and a receiving antenna with the integrated microwave sensor system, as shown in
Figure 16, by using RG58 low-loss coaxial cables, with their characteristics of 50 Ω impedance and 0.558 dB/m attenuation at a frequency of approximately 1 GHz. The sample under test (SUT) was placed between the transmitting and receiving antennas on a sliding rail controlled by a stepping motor to vary the distance between the SUT and antennas. The SUT was rubberwood lumber that had a thickness of 5 inches, and its width and length were three times those of the wavelength to omit the effect of diffraction at the edge. The total number of SUTs was 60 samples, which were cut according to three types of wood structures: longitudinal direction, tangential direction, and radial direction, with 20 samples per type. All samples were assumed to be identical. They were prepared by varying the percentage of moisture content in the range of 7–46% moisture content on the wet basis. The voltage measurement of reflection (S
11) and transmission (S
21) was repeatedly performed ten times for each sample inside the anechoic chamber and under a control temperature of 27 °C; then, they were correlated with the moisture content level. The moisture content of SUTs was determined using the ASTM D 4442 standard method, in which the samples were weighed using an electronic balance with an accuracy of 0.001 g prior to heating. They were heated in an oven at a temperature of 130 °C for 19 h; then, they were cooled down in desiccators and weighed. They were repeatedly heated for 6 h and weighed until the change in weight was less than 0.005 g. Finally, the moisture content was calculated from the ratio of the lost weight to the weight before heating.
In the experiments, there were two important variables to be studied: distance and moisture content. Firstly, the S
11 and S
21 voltages related to the moisture content were measured, and as shown in
Figure 17, each moisture content level showed the maximum, minimum, and average values of voltages. These results were obtained by fixing the distance between the SUTs and antennas under the same conditions as in the simulation, and this distance was equal to 0.75
for both sides, SUT-to-transmitting antenna and SUT-to-receiving antenna. It is observed that the S
11 voltage decreases as the moisture content increases and that the voltages are in the range of 2.550–2.345 V. On the other hand, the S
21 voltage increases in the range of 1.700–2.150 V as the moisture content increases. The S
11 and S
21 voltages were curve-fitted to assess the resolution of measurement. The standard deviations in both the voltages and the maximum and minimum values of moisture content obtained from all samples by using the ASTM D 4442 standard method are listed in
Table 4.
The effect of the distance between SUTs and antennas was studied next. In this case, the SUT-to-transmitting antenna and SUT-to-receiving antenna distances were set to be equal and varied from 0.25
to 1.5
. At each distance, there were four moisture content levels: 7%, 12%, 30%, and 46%. The measured S
21 voltage results are illustrated in
Figure 18. It can be seen that they increase as the distance increases, and they are distinguishable at the distance range of 0.25
–0.75
, but they are so close that it is hard to distinguish the moisture content at a distance more than
due to the insufficient sensitivity of the RF power detector module. Therefore, to apply this system in the industry, an RF power amplifier is required to provide sufficient power for the RF power detector for efficient detection.
3.3. Moisture Content Monitoring in Dehydration Process
According to the experiments in the previous subsection, the RF power is an essential factor that allows the microwave sensor system to effectively detect moisture content; when the distance between rubberwood lumber and antennas in the dehydration process is more than
, the RF power is too weak to be detected. Thus, the link budget concerning the scenario of microwave sensor system installation needs to calculate the provision of sufficient RF power. The interior and exterior scenarios of the heating room are shown in
Figure 19. The transmitting antenna and receiving antenna are mounted on opposite sides of the concrete walls inside the heating room. These antennas are shielded inside domes to prevent their performance degradation due to the moisture content at the feeding points and the temperature effect. An increase in temperature increases the dielectric constant and affects the dielectric loss factor of antenna substrates [
35]. It shifts the resonant frequency to a higher frequency.
The microwave’s RF power is generated for the transmitting antenna through a 12 m RG58 coaxial cable, which is shielded inside a heat-resistant conduit from the microwave sensor system cabinet mounted outside the heating room. The receiving antenna is also connected to the microwave sensor system cabinet with a 12 m RG58 coaxial cable on the opposite wall. The heating room construction and its dimensions are illustrated in
Figure 20. Its width and height are 5 m and 4 m, respectively, and the rubberwood lumber is placed on wood pallets that are arranged in two rows with a 3 m height, a 2.1 m width, and a 0.2 m separation. In addition, they are 0.3 m away from the side wall. The transmitting RF power can be calculated from the Friis formula as follows:
where
,
,
,
,
, and
denote receiving power (dBm), transmitting power (dBm), gain of transmitting antenna (dBi), gain of receiving antenna (dBi), wavelength (m), and the separation distance between transmitting and receiving antennas (m). In the calculation, the transmitting antenna and receiving antenna have an identical gain of 5.52 dBi, and the range of receiving power was specified using the RF power detector performance, which was in the range from −40 dBm to −5 dBm. The calculated result showed that the transmitting power was +32.32 dBm. Moreover, the attenuation loss in the RG88 coaxial cable was 0.558 dB/m. Thus, we chose the RF power amplifier with a gain above +45 dB for use.
In the conventional dehydration process, the rubberwood lumber was continuously heated at a constant temperature of 80 °C for 96 h inside the heating room. In order to validate the microwave sensor system, the S
11 and S
21 voltages were measured; then, these results were processed with the processor that had been programmed with the equation correlating both voltages with the moisture content level obtained from the experiments in the laboratory. The moisture content level was displayed on the LCD screen in front of the microwave sensor system cabinet. The measurement was performed every 3 h. The measured results compared with the moisture content obtained from the standard moisture meter installed inside the heating room are shown in
Figure 21.
The measured moisture content results from the proposed microwave sensor system are represented as blue squares, while the standard moisture content values are represented as black circle dots. The red line is curve-fitted to the standard moisture content values to show the trend of moisture content. The moisture content of the dehydration process started at 64%. Notably, the moisture content rapidly decreases at 48 h, and after that, it gradually decreases in the saturation phase. The measured results are lower than the standard results at all moisture content levels. These deviated moisture content results are in the range of 7.67–15.38%. The reason for these deviated results is the different conditions of SUTs for the experiments in the laboratory and the experiments of the dehydration process. Moreover, an increase in temperature degrades the performance of antennas by shifting the operating frequency, which causes the magnitude of both S11 and S21 to reduce. Thus, the measured moisture content is lower than the actual moisture content. Furthermore, the temperature effect is inevitable, and it can only be reduced by shielding.
3.4. Error Compensation
Due to the deviations in the measured moisture content results, the error compensation had to be analyzed and corrected. This error was caused by the inhomogeneous SUT medium, resulting in multiple reflections and mismatches at the discontinuity boundaries. The conventional boundary condition of free-space measurement has three layers, i.e., air–dielectric–air, but the boundary condition in this case has five layers, i.e., air–dielectric–air–dielectric–air, as illustrated in
Figure 22. Thus, the moisture content results were lower than the actual values. A generalized transmission line model (TLM) for a multilayer structure [
36,
37] was applied to analyze this problem. In the analysis, the rubberwood lumber was modeled as lossy transmission lines with an electrical length of
and a characteristic impedance of
, while
and
were the electrical length and characteristic impedance for the middle, where
represented the propagation constant. It was terminated by a load impedance of
, which was the air backing behind the rubberwood lumber. The air layer in front of the rubberwood lumber was represented by an infinite length transmission line with a characteristic impedance of
.
The input impedances of the equivalent transmission lines that are connected in tandem can be iteratively calculated as follows:
The transmission coefficients from the first incident medium #0 (air) through a multilayer structure to the last medium #
N + 1 (air) can be calculated using the following formula:
where
The parameters , , , and denote the reflective index, the normal incident electric field, the input current of layer #i, and the input current of the last layer, respectively.
The reflection and transmission coefficients obtained from the error compensation analysis were used as multiplier factors to calibrate the measured reflection and transmission coefficient values prior to converting them to the moisture content. The compensated moisture content results were plotted as green triangles, as shown in
Figure 21. Evidently, the error in the moisture content results was lower in the range of 3.58–5.21% compared to that in the standard results.
4. Discussion
Based on the results in the previous sections, it is worth discussing the limitations and the accuracy of the proposed microwave sensor system. At first, the main goal of this study was to implement a low-cost sensor system for practical usage in the industry; thus, all devices or modules were chosen based on their being of a commercial grade with a reasonable price. The dynamic range of the RF power detector module is an essential factor in determining the sensitivity of detection, i.e., this study uses the logarithmic RF power detector that can detect the power in the range of −5–+5 dBm, with a resolution of 0.05 V/dB. When the dimensions of the heating room and the distance of antennas to the rubberwood lumber increase, the receiving power decreases till it is undetectable. Thus, the size of the heating room is related to the RF power detection that should be sufficiently provided by the link budget management.
The transmitting and receiving antenna installation inside the heating room is also an important factor since a misaligned installation causes the RF power to become lower than the actual value. A pair of microstrip patch antennas with a gain of 5.51 dBi were designed for use in this study. The 3 dB radiation pattern of this antenna covers 46.3 degrees. In the experiments, the misalignment of antennas was offset by more than 50 degrees, resulting in power reduction to approximately 12 dB. A solution for this problem may be carefully installing other high-gain antennas, which have structures suitable for installation on the sidewall without causing obstruction.
In addition, the error compensation of the measured moisture content using the transmission line model analysis can improve accuracy by reducing the error in the ranges of 7.67–15.38% and 3.58–5.21%. According to
Figure 21, the dehydration process is programmed to continuously maintain a constant temperature of 80 °C for 96 h. The sensor system continuously monitors the moisture content, and it is observed that the moisture content reaches a saturation point when the dehydration time reaches 70 h. This process should be finished early, i.e., within 26 h, to reduce the waste of energy and save energy. In the future, accuracy enhancement should be performed by employing antennas with high gains and narrow beamwidths to focus the radiated power on the rubberwood. A circularly polarized antenna is also a good candidate for reducing interferences. In addition, increasing the number of sensors and employing AI can aid in decision-making.