A material moisture content detection system and method based on patch antenna

Through the material moisture content detection system based on patch antennas, fast frequency sweep excitation and multi-variable linear fitting models, combined with PCA principal component analysis, solve the problem of insufficient fixed frequencies when detecting different materials and achieve more accurate moisture content. detection.

CN114689615BActive Publication Date: 2024-08-27JIANGNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210237100.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2024-08-27
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

The existing material moisture content detection method based on microwave detection technology cannot guarantee accuracy when detecting different materials, and fixed frequency detection cannot adapt to the optimal detection frequency of different materials, affecting the accuracy of the results.

Method used

A material moisture content detection system based on patch antenna is designed. It uses patch antenna array and detection circuit. Through rapid frequency sweep excitation and rapid detection of key microwave parameters, a multi-variable linear fitting model is established to select the best detection frequency, combined with PCA principal component analysis processing, to build a moisture content prediction model to improve detection accuracy.

Benefits of technology

It achieves the optimal frequency detection for different materials and improves the precision and accuracy of detection results. Through multi-variable linear fitting model and dimensionality reduction processing, errors are reduced and the detection accuracy of the system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114689615B
    Figure CN114689615B
Patent Text Reader

Abstract

The present invention discloses a material moisture content detection system and method based on patch antennas, belonging to the field of detection. The detection system includes patch antennas operating at different frequencies. When performing moisture content detection on different materials, the optimal frequency is first determined, and the optimal prediction model is selected from multiple established prediction models, thereby obtaining more accurate detection results; specifically, the present application designs a hardware circuit for material moisture content detection based on patch antennas, realizing frequency sweeping excitation and parameter detection of patch antenna arrays; when the material to be tested is detected, multiple sampling points and multiple microwave parameters are processed by PCA principal component analysis algorithm, microwave low-dimensional features are constructed, and a material moisture content prediction model based on a multivariate linear fitting algorithm is established, and the model mean square error is used to evaluate the material moisture content detection model of multiple patch antenna units, and the optimal detection frequency and the optimal moisture content prediction model are obtained, thereby improving the detection accuracy of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a material moisture content detection system and method based on a patch antenna, and belongs to the detection field. Background Art

[0002] Moisture content is a key indicator in the process of product quality control, transportation, use and storage, which directly affects the performance and quality of the product. The earliest method for detecting the moisture content of materials was the drying weighing method, which is time-consuming and cannot be measured online. It is usually used to provide the basic calibration required for online measurement. With the development of sensing technology, indirect measurement methods such as resistance method, capacitance method, neutron method, infrared method and microwave method have been proposed one after another. Among them, the microwave method uses the physical properties of the material to be tested such as radiation, reflection, transmission, scattering, resonance, etc. of microwaves, and measures the changes in microwave parameters such as amplitude, phase, and frequency to detect the moisture content inside the material. It has high accuracy, good reliability, strong anti-interference ability, and can achieve lossless, real-time and rapid measurement, and has a very broad application prospect.

[0003] As we all know, water is a highly polar molecule. An external electric field polarizes it into a dipole. Under the action of microwaves, the dipole frequently changes direction and rearranges itself as the external electric field changes. This polarization process of water consumes energy and absorbs energy by overcoming internal forces, which will cause the microwave signal to undergo resonance shift, amplitude attenuation, and phase delay. Therefore, by measuring the changes in microwave parameters such as amplitude, phase, and frequency, the moisture content inside the material can be detected.

[0004] Usually the material to be tested is a mixture of absolute dry components, air and water, and its water content is the main factor affecting the change of its dielectric properties. Since the dielectric constant and microwave loss of the absolute dry components inside the material are much smaller than the dielectric constant and microwave energy loss of water, the moisture content of the material can be determined by establishing a data model between the moisture content of the material and the microwave parameters, and then by the value of the microwave parameters.

[0005] At present, the material moisture content detection based on microwave detection technology mainly adopts free space detection method and resonant cavity perturbation method. The former uses the transmission and emission characteristics of the horn antenna in the object to establish the relationship between signal power attenuation, phase shift and moisture content. The latter uses the tiny deformation of the resonant cavity composed of the conductor wall and the intermediate medium to establish the relationship between the sample's complex dielectric constant, quality factor and moisture content. However, these two methods use fixed-frequency microwaves when detecting physical moisture content. When testing moisture content for different materials, the corresponding optimal frequencies are not the same. The use of fixed-frequency microwave detection will inevitably fail to guarantee accurate moisture content values.

[0006] On the other hand, the dielectric properties of different materials such as grain, meat, fruit, soil, paper fiber, building materials and tobacco may be different. The above two methods both use corresponding moisture content calculation models when testing different materials, which will also affect the accuracy of the results. Summary of the invention

[0007] In order to further improve the accuracy of material moisture content prediction, the present invention provides a material moisture content detection system based on patch antennas, the system comprising: a patch antenna array and a detection circuit; the patch antenna array comprises at least 4 patch antennas of different sizes, the detection circuit is used to achieve rapid frequency sweeping excitation of the patch antenna array and rapid detection of key microwave parameters, the key microwave parameters including frequency, return loss and phase.

[0008] Optionally, the detection circuit includes: a direct digital frequency synthesis circuit, a voltage-controlled oscillator, a multiplexer, a microwave parameter reading circuit, a control circuit and a host computer serial port communication circuit; wherein the control circuit is respectively connected to the direct digital frequency synthesis circuit, the multiplexer, the host computer serial port communication circuit, and the microwave parameter reading circuit through a control bus, and the microwave parameter reading circuit is connected to the control circuit through a data bus;

[0009] The direct digital frequency synthesis circuit is used for digital synthesis of the sweeping frequency within the working frequency range of the patch antenna, and uses a voltage-controlled oscillator to further expand the frequency tuning range and suppress the phase noise and stray noise of the output radio frequency signal, so as to realize the sweeping frequency excitation of the patch antenna array within a wide frequency range; the multiplexer is used for multiplexing selection of the patch antenna array to realize the periodic sweeping frequency excitation of the entire antenna array, so that only one patch antenna unit is enabled at any time; the microwave parameter reading circuit is composed of a radio frequency detection circuit, a data buffer and an analog-to-digital converter connected in sequence, and the output signal of the patch antenna array passes through the radio frequency detection circuit, the data buffer and the analog-to-digital converter in sequence, so as to realize the conversion of high-frequency microwave parameters into DC analog quantities, and the conversion of analog signals into digital signals.

[0010] Optionally, the system further includes a material conveying device, the patch antenna array is placed at a predetermined height above the material conveying device, and the patterned metal layer of each patch antenna faces the material, and the horizontal spacing between each patch antenna must be at least 110 mm.

[0011] Optionally, the material conveying device includes a conveyor belt and a motor. The material is placed on the conveyor belt and driven by the motor to pass under the patch antenna array at a constant speed.

[0012] Optionally, each patch antenna in the patch antenna array has a different size according to different materials to be tested.

[0013] Optionally, the patch antenna uses a Teflon substrate material, whose relative dielectric constant ε r is 2.55, the loss tangent tanδ is 0.002, and the thickness h1 is 0.54mm; the ground layer and the metal layer are both Cu, and the thickness h2 is 0.01mm; the length and width of each patch antenna are different.

[0014] The present application also provides a material moisture content detection method based on a patch antenna, and the method is implemented based on the above-mentioned material moisture content detection system based on a patch antenna; the method comprises:

[0015] Prepare m kinds of material samples of the material to be tested with different moisture contents, and use each patch antenna to collect key microwave parameters;

[0016] The key microwave parameters collected by each patch antenna are Z-score standardized and then PCA principal component analysis is performed to obtain a reduced dimension matrix that meets the requirements of the principal component cumulative influence rate;

[0017] Construct the independent variable matrix X of the water content prediction model corresponding to each patch antenna according to the dimension reduction matrix;

[0018] Construct the dependent variable matrix Y of the moisture content prediction model according to the moisture content of the material sample;

[0019] Construct the parameter matrix corresponding to each patch antenna Where α is the learning rate when establishing the water content prediction model based on multivariable linear fitting;

[0020] On the basis of satisfying the cost function j(θ)<0.001, the moisture content prediction model based on multivariate linear fitting corresponding to each patch antenna is established. The cost function The moisture content prediction model corresponding to each patch antenna established is:

[0021] MC=θ0+θ1x1+θ2x2+θ3x3=X T θ

[0022] The parameter matrix θ in the water content prediction model corresponding to each patch antenna has different values;

[0023] Calculate the mean square error MSE of each water content prediction model;

[0024] The moisture content prediction model corresponding to the minimum MSE value is selected as the optimal moisture content prediction model for the material to be tested, and the microwave frequency of the patch antenna corresponding to the minimum MSE value is selected as the optimal detection frequency for the material to be tested;

[0025] The moisture content of the material to be tested is detected using the patch antenna corresponding to the minimum MSE value, and the moisture content prediction value of the material to be tested is predicted using the optimal moisture content prediction model.

[0026] Optionally, the mean square error MSE of each water content prediction model is:

[0027]

[0028] Among them, MC pre (i) is the moisture content prediction value obtained by the moisture content prediction model for the material sample of the material to be tested with the i-th moisture content, MC act (i) is the actual moisture content of the material sample of the material to be tested with the i-th moisture content.

[0029] Optionally, in the method, an original data matrix constructed by collecting key microwave parameters of a certain patch antenna for a material sample with a certain moisture content is assumed to be OriginalData, and after Z-score standardization of the data, PCA principal component analysis is performed to obtain the corresponding coefficient matrix coeff, and then the dimension reduction matrix score is obtained:

[0030] score=OriginalData*coeff

[0031] The dimension reduction matrix score of all material samples of the material to be tested constitutes the dimension reduction matrix A corresponding to the patch antenna;

[0032] Then the independent variable matrix

[0033] Optionally, the moisture content of the material to be tested is detected by using the patch antenna corresponding to the minimum MSE value, and the moisture content prediction value of the material to be tested is predicted by using the best moisture content prediction model, including:

[0034] The patch antenna corresponding to the minimum MSE value is used to collect key microwave parameters to form an original data matrix;

[0035] Multiply the original data matrix by the coefficient matrix coeff to obtain the corresponding independent variable matrix X;

[0036] The moisture content prediction value of the material to be tested is obtained according to the corresponding independent variable matrix X and the optimal moisture content prediction model.

[0037] The beneficial effects of the present invention are:

[0038] The present invention provides a material moisture content detection system based on a patch antenna, designs four patch antenna units working at different frequencies, and each patch antenna unit is independent of each other, and is used for modeling and evaluation to determine the optimal detection frequency, so that when moisture content is detected for different materials, detection can be performed at the optimal frequency, thereby obtaining a more accurate detection result; and designs a hardware circuit for material moisture content detection based on the patch antenna, realizes frequency sweeping excitation and parameter detection of the patch antenna array, and realizes the selection of the optimal detection frequency; and proposes a novel moisture content modeling method, after a plurality of sampling points and a plurality of microwave parameters (operating frequency, return loss and phase) are processed by a PCA principal component analysis algorithm, microwave low-dimensional features are constructed, and a material moisture content prediction model based on a multivariate linear fitting algorithm is established, and a material moisture content detection model of four patch antenna units is evaluated by a model mean square error, and an optimal detection frequency and an optimal moisture content prediction model are obtained, thereby improving the detection accuracy of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 It is a schematic diagram of a material moisture content detection system based on a patch antenna disclosed in an embodiment of the present invention;

[0041] Figure 2 is a schematic diagram of the location of a patch antenna unit disclosed in an embodiment of the present invention;

[0042] Figure 3 is a schematic diagram of the dimensions of each patch antenna in a patch antenna unit disclosed in an embodiment of the present invention;

[0043] Figure 4 is a schematic diagram of simulation results of a patch antenna unit disclosed in one embodiment of the present invention;

[0044] Figure 5 A schematic diagram of a hardware detection circuit for material moisture content disclosed in one embodiment of the present invention;

[0045] Figure 6 A schematic diagram of a processing flow of a data processing module disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0047] Embodiment 1:

[0048] The present embodiment provides a material moisture content detection system and detection method based on a patch antenna, the system comprising: a patch antenna array and a detection circuit. The detection circuit comprises: a direct digital frequency synthesis circuit (DDS), a voltage controlled oscillator (VCO), a multiplexer (MUX), a microwave parameter reading circuit, a control circuit, and a host computer serial port communication circuit. Among them, the control circuit is connected to the direct digital frequency synthesis circuit (DDS), the host computer serial port communication circuit, and the microwave parameter reading circuit through a control bus, and the microwave parameter reading circuit is connected to the control circuit through a data bus.

[0049] The detection circuit is used to realize fast frequency sweep excitation of the patch antenna array and fast detection of key microwave parameters, wherein the key microwave parameters include frequency, return loss and phase.

[0050] The patch antenna array includes at least four patch antennas of different sizes.

[0051] When the moisture content of a material is detected by using the above-mentioned material moisture content detection system based on the patch antenna, Figure 6 As shown, the following steps are included:

[0052] Prepare m kinds of material samples of the material to be tested with different moisture contents, and use each patch antenna to collect key microwave parameters;

[0053] The key microwave parameters collected by each patch antenna are Z-score standardized and then PCA principal component analysis is performed to obtain a reduced dimension matrix that meets the requirements of the principal component cumulative influence rate;

[0054] Construct the independent variable matrix X of the water content prediction model corresponding to each patch antenna according to the dimension reduction matrix;

[0055] Construct the dependent variable matrix Y of the moisture content prediction model according to the moisture content of the material sample;

[0056] Construct the parameter matrix corresponding to each patch antenna Where α is the learning rate;

[0057] On the basis of satisfying the cost function j(θ)<0.001, the moisture content prediction model based on multivariate linear fitting corresponding to each patch antenna is established. The cost function The moisture content prediction model corresponding to each patch antenna established is:

[0058] MC=θ0+θ1x1+θ2x2+θ3x3=X T θ

[0059] The parameter matrix θ in the water content prediction model corresponding to each patch antenna has different values;

[0060] The mean square error MSE of each water content prediction model is calculated as:

[0061]

[0062] Among them, MC pre (i) is the moisture content prediction value obtained by the moisture content prediction model for the material sample of the material to be tested with the i-th moisture content, MC act (i) is the actual moisture content of the material sample of the material to be tested with the i-th moisture content;

[0063] The moisture content prediction model corresponding to the minimum MSE value is selected as the optimal moisture content prediction model for the material to be tested, and the microwave frequency of the patch antenna corresponding to the minimum MSE value is selected as the optimal detection frequency for the material to be tested;

[0064] The moisture content of the material to be tested is detected using the patch antenna corresponding to the minimum MSE value, and the moisture content prediction value of the material to be tested is predicted using the optimal moisture content prediction model.

[0065] Embodiment 2:

[0066] This embodiment provides a material moisture content detection system and detection method based on a patch antenna. The system includes: a patch antenna array and a detection circuit.

[0067] like Figure 5 As shown, the detection circuit includes: a direct digital frequency synthesis circuit (DDS), a voltage controlled oscillator (VCO), a multiplexer (MUX), a microwave parameter reading circuit, a control circuit, and a host computer serial port communication circuit. Among them, the control circuit is connected to the direct digital frequency synthesis circuit (DDS), the host computer serial port communication circuit, and the microwave parameter reading circuit through a control bus, and the microwave parameter reading circuit is connected to the control circuit through a data bus.

[0068] The detection circuit is used to realize fast frequency sweep excitation of the patch antenna array and fast detection of key microwave parameters, wherein the key microwave parameters include frequency, return loss and phase.

[0069] The patch antenna array includes at least four patch antennas of different sizes, such as Figure 3 shown.

[0070] When the moisture content of a material is detected by the material moisture content detection system based on the patch antenna, the material can be placed on a material transmission device. In one implementation scenario, the material transmission device can be a conveyor belt and a stepper motor, such as Figure 1In one implementation scenario shown, (1) is the installation location of the patch antenna array, (2) is the material to be tested, (3) is the conveyor belt, (4) is the stepper motor, and (5) is the detection circuit. During detection, the conveyor belt is driven at a constant speed, and patch antennas of different sizes are placed at a predetermined height above the conveyor belt, with the patterned metal layer of each patch antenna facing the conveyor belt. The material passes under the patch antenna array at a constant rate under the drive of the conveyor belt. To avoid electromagnetic interference between the patch antennas, the horizontal spacing of the patch antenna units must be at least 110 mm, such as Figure 2 As shown, (11), (12), (13) and (14) are schematic diagrams of the positions of the four patch antennas.

[0071] During detection, the detection circuit operates in the following logic:

[0072] ① The distributed power supply powers on different areas of the entire circuit system, and the control circuit initializes circuit modules such as the direct digital frequency synthesis circuit (DDS), voltage-controlled oscillator (VCO), multiplexer (MUX), microwave parameter reading circuit, and host computer communication serial port.

[0073] ②The control circuit executes the sweep frequency algorithm and directly drives the direct digital frequency synthesis circuit (DDS) for digital synthesis of the sweep frequency within the operating frequency range of the patch antenna. The voltage-controlled oscillator (VCO) is used to further expand the frequency tuning range and suppress the phase noise and spurious noise of the output RF signal, thereby realizing sweep frequency excitation of the patch antenna array in a wide frequency range.

[0074] ③ The control circuit performs time-sharing control on the multiplexer (MUX) to select the multiplexing of the patch antenna array and realize periodic frequency sweeping excitation of the entire antenna array. It is necessary to ensure that only one patch antenna unit can be enabled at any time.

[0075] ④The output signal of the patch antenna array is input to the microwave parameter reading circuit module. The microwave parameter reading circuit is composed of a radio frequency detection circuit, a data buffer and an analog-to-digital converter connected in sequence. The output signal of the patch antenna array passes through the radio frequency detection circuit, the data buffer and the analog-to-digital converter in sequence, and the high-frequency microwave parameters are converted into DC analog quantities, and the analog signals are converted into digital signals.

[0076] ⑤ The control circuit performs preliminary data processing on key microwave parameters such as operating frequency, return loss and phase, and uploads them to the host computer through the serial port module to prepare for the execution of relevant algorithms.

[0077] ⑥ The host computer serial communication circuit converts the microwave parameters output by the microwave sensor into a data format that conforms to the USB protocol. The data is uploaded to the host computer through the serial port, and the data is analyzed and processed by the host computer software, that is, a comprehensive analysis is conducted on the 4 patch antenna unit models for detecting the moisture content of the material. By evaluating the mean square error of the 4 models, the optimal detection frequency and the optimal moisture content prediction model are obtained. For a certain patch antenna unit, its detection data for a specific material includes a variety of microwave parameters such as operating frequency, return loss and phase, and the amount of data collected from the sample points is huge. The PCA principal component analysis algorithm is used to reconstruct the microwave low-dimensional features, and based on the multivariate linear fitting algorithm, a calculation model for the moisture content of the material being tested is established.

[0078] When the above detection system is used to detect the moisture content of a certain material, firstly, material samples with different moisture contents are prepared for the material to be tested, and the material samples with different moisture contents are tested using the above detection system, that is, by comparing the test results of the moisture content detected by each patch antenna with the actual moisture content value of the material sample, the optimal detection frequency and the optimal moisture content prediction model for the material are determined, and then the material is tested using the determined optimal detection frequency and the optimal moisture content prediction model; the detection process is introduced as follows using polished round-grained rice as the material to be tested:

[0079] Six rice samples with different moisture contents were prepared, and the moisture content ranges were 10%, 12%, 14%, 16%, 18% and 20% respectively. The data obtained by a patch antenna unit for a rice sample with a certain moisture content is called a group. The parameters in the group include operating frequency, return loss and phase. The number of sample points for each parameter is set to 1001, and the amount of data detected by the patch antenna unit for a rice sample with a specific moisture content is 3×1001. Then for the six rice samples prepared, the amount of data collected by each patch antenna unit is 3×6006, and the amount of data collected by four patch antenna units is as high as 3×24024. The large amount of data samples provides rich information for the material moisture content prediction modeling, but it also increases the workload of data processing to a certain extent. Therefore, before establishing the moisture content prediction model, it is necessary to reduce the dimension of the data to reduce the amount of data to be analyzed while effectively controlling the information loss contained in the data, so as to improve the efficiency of data processing.

[0080] Data processing flow chart is as follows Figure 6 As shown, taking one of the patch antenna units as an example, when it detects rice with a moisture content of 10%, the sample points collected are 1001, and the microwave parameters are selected as the operating frequency, return loss and phase. The original data matrix is ​​constructed, recorded as OriginalData, and the data volume is 3×1001.

[0081]

[0082] After the data Z-score of OriginalData is normalized, PCA principal component analysis is performed to obtain the corresponding coefficient matrix coeff, and then score is obtained according to score = OriginalData*coeff.

[0083] When PCA is performed, the cumulative influence rate of the principal component is set to 92%. Therefore, it can be determined that the dimension of the data after dimensionality reduction is 1; the coefficient matrix coeff and the dimensionality reduction matrix score obtained after PCA principal component analysis processing on the OriginalData collected by the patch antenna unit are respectively

[0084]

[0085]

[0086] Thus, the dimension reduction matrix score that meets the requirement of the cumulative influence rate of the principal component is obtained, which is recorded as A(:,1), and the data volume is 3×1, which realizes the dimension reduction reconstruction of the microwave characterization parameters of the moisture content of the material:

[0087]

[0088] Similarly, the above algorithm is used to process the test results of rice samples with moisture contents of 12%, 14%, 16%, 18% and 20%, and the reduced dimension matrices that meet the requirements of the cumulative influence rate of the principal component are obtained, which are recorded as A(:, 2), A(:, 3), A(:, 4), A(:, 5) and A(:, 6) respectively. Finally, the reduced dimension matrix A of the patch antenna unit for rice moisture content detection data is obtained, and the data volume is 3×6:

[0089]

[0090] In order to facilitate the construction of the prediction model, the independent variable matrix of the rice moisture content prediction model is defined as X, then:

[0091]

[0092] The rice samples were placed in a 150°C forced air drying oven for 24 hours using the drying weighing method. The moisture content of the rice samples was calculated based on the mass loss before and after drying and recorded as the dependent variable matrix Y. By constructing the parameter matrix θ, it is assumed that:

[0093] Y=θ0+θ1x1+θ2x2+θ3x3=X T θ

[0094] On the basis of satisfying the cost function j(θ)<0.001, a rice moisture content prediction model based on multivariate linear fitting is established, namely:

[0095] MC=θ0+θ1x1+θ2x2+θ3x3=X T θ

[0096] Among them, the parameter matrix θ = [15, 1.4084, -1.4165, -1.0710] T , MC represents the predicted value of rice moisture content.

[0097] The mean square error (MSE) of the prediction model is defined as:

[0098]

[0099] Among them, MC pre (i) is the moisture content prediction value obtained by the moisture content prediction model for the material sample of the material to be tested with the i-th moisture content, MC act (i) is the actual moisture content of the material sample of the material to be tested with the i-th moisture content.

[0100] Therefore, based on the above six rice samples, the mean square error of the rice moisture content prediction model corresponding to the patch unit is 0.12, as shown in Table 1, and the model fitting is close to 0, indicating that the model can realize material moisture prediction.

[0101] Table 1 Error of rice moisture prediction model

[0102]

[0103] In order to select the optimal detection frequency, it is necessary to build a rice moisture content prediction model with four patch antenna units and compare the mean square errors of the four moisture prediction models. The model with the minimum MSE value has the highest detection accuracy, and the resonant frequency of its patch antenna unit is the optimal detection frequency.

[0104] When testing rice, the detection circuit is used to control the patch antenna unit corresponding to the minimum MSE value to collect data points. The data collected by the patch antenna constitutes OriginalData, and the score is calculated according to score = OriginalData * coeff. The moisture content prediction model corresponding to the minimum MSE value obtains the moisture content prediction value of the tested rice.

[0105] MC=θ0+θ1x1+θ2x2+θ3x3=X T θ

[0106] It should be noted that when the moisture content detection system based on the patch antenna is used for moisture content detection, the patch antenna selected can select the most suitable size according to the material to be tested. For example, the detection frequency bands of several common materials can refer to the following Table 2:

[0107] Table 2 Detection frequency bands of several common materials

[0108]

[0109] In the detection system provided in the present application, at least four patch antennas of different sizes are arranged to achieve determination of the optimal detection frequency with a 1 GHz frequency gradient decrease.

[0110] In this embodiment, the patch antenna uses Teflon substrate material, and its relative dielectric constant ε r is 2.55, the loss tangent tanδ is 0.002, and the thickness h1 is 0.54mm. The ground layer and the metal layer are both Cu, and the thickness h2 is 0.01mm. The four patch antenna units with different physical sizes have different resonant frequencies, and each patch antenna unit is independent of each other. The simulation results of the patch antenna unit are shown in Figure 4 As shown, the resonant frequencies of the patch antenna units 1 to 4 are increased from 1.866 GHz to 6.380 GHz respectively, and the amplitude is about 30 dB. The operating frequency can be changed by fine-tuning the size of the patch antenna, and the design is flexible and simple.

[0111] Some steps in the embodiments of the present invention may be implemented using software, and the corresponding software program may be stored in a readable storage medium, such as a CD or a hard disk.

[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A material moisture content detection system based on patch antenna, It is characterized in that The system comprises: a patch antenna array and a detection circuit; the patch antenna array comprises at least four patch antennas of different sizes; the detection circuit is used to realize fast frequency sweep excitation of the patch antenna array and fast detection of key microwave parameters, wherein the key microwave parameters include frequency, return loss and phase; The material moisture content detection system based on the patch antenna uses a material moisture content detection method based on the patch antenna, and the method includes: Prepare m kinds of material samples of the material to be tested with different moisture contents, and use each patch antenna to collect key microwave parameters; The key microwave parameters collected by each patch antenna are Z-score standardized and then PCA principal component analysis is performed to obtain a reduced dimension matrix that meets the requirements of the principal component cumulative influence rate; Construct the independent variable matrix X of the water content prediction model corresponding to each patch antenna according to the dimension reduction matrix; Construct the dependent variable matrix Y of the moisture content prediction model according to the moisture content of the material sample; Construct the parameter matrix corresponding to each patch antenna Where α is the learning rate when establishing the water content prediction model based on multivariable linear fitting; On the basis of satisfying the cost function j(θ)<0.001, the moisture content prediction model based on multivariate linear fitting corresponding to each patch antenna is established. The cost function The moisture content prediction model corresponding to each patch antenna established is: MC=θ 0 +θ 1 x 1 +θ 2 x 2 +θ 3 x 3 =X T i The parameter matrix θ in the water content prediction model corresponding to each patch antenna has different values; Calculate the mean square error MSE of each water content prediction model; The moisture content prediction model corresponding to the minimum MSE value is selected as the optimal moisture content prediction model for the material to be tested, and the microwave frequency of the patch antenna corresponding to the minimum MSE value is selected as the optimal detection frequency for the material to be tested; The moisture content of the material to be tested is detected using the patch antenna corresponding to the minimum MSE value, and the moisture content prediction value of the material to be tested is predicted using the optimal moisture content prediction model.

2. The system according to claim 1, It is characterized in that The detection circuit comprises: a direct digital frequency synthesis circuit, a voltage-controlled oscillator, a multiplexer, a microwave parameter reading circuit, a control circuit and a host computer serial port communication circuit; wherein the control circuit is respectively connected to the direct digital frequency synthesis circuit, the multiplexer, the host computer serial port communication circuit and the microwave parameter reading circuit through a control bus, and the microwave parameter reading circuit is connected to the control circuit through a data bus; The direct digital frequency synthesis circuit is used for digital synthesis of the sweeping frequency within the working frequency range of the patch antenna, and uses a voltage-controlled oscillator to further expand the frequency tuning range and suppress the phase noise and stray noise of the output radio frequency signal, so as to realize the sweeping frequency excitation of the patch antenna array within a wide frequency range; the multiplexer is used for multiplexing selection of the patch antenna array to realize the periodic sweeping frequency excitation of the entire antenna array, so that only one patch antenna unit is enabled at any time; the microwave parameter reading circuit is composed of a radio frequency detection circuit, a data buffer and an analog-to-digital converter connected in sequence, and the output signal of the patch antenna array passes through the radio frequency detection circuit, the data buffer and the analog-to-digital converter in sequence, so as to realize the conversion of high-frequency microwave parameters into DC analog quantities, and the conversion of analog signals into digital signals.

3. The system according to claim 2, It is characterized in that The system also includes a material conveying device, the patch antenna array is placed at a predetermined height above the material conveying device, and the patterned metal layer of each patch antenna faces the material, and the horizontal spacing of each patch antenna must be at least 110 mm.

4. The system according to claim 3, It is characterized in that The material conveying device comprises a conveyor belt and a motor. The material is placed on the conveyor belt and driven by the motor to pass under the patch antenna array at a constant speed.

5. The system according to claim 4, It is characterized in that The patch antennas in the patch antenna array have different sizes according to different materials to be tested.

6. The system according to claim 5, It is characterized in that The patch antenna uses Teflon substrate material, and its relative dielectric constant ε r is 2.55, the loss tangent tanδ is 0.002, and the thickness h 1 0.54mm; the ground layer and metal layer are both Cu, with a thickness of h 2 It is 0.01mm; the length and width of each patch antenna are different.

7. The system according to claim 6, It is characterized in that The mean square error MSE of each moisture content prediction model is: Among them, MC pre (i) is the moisture content prediction value obtained by the moisture content prediction model for the material sample of the material to be tested with the i-th moisture content, MC act (i) is the actual moisture content of the material sample of the material to be tested with the i-th moisture content.

8. The system according to claim 7, It is characterized in that In the method, the original data matrix constructed by collecting key microwave parameters of a certain patch antenna for a material sample with a certain moisture content is assumed to be OriginalData, and the data is Z-score standardized and then PCA principal component analysis is performed to obtain the corresponding coefficient matrix coeff, and then the dimension reduction matrix score is obtained: score=OriginalData*coeff The dimension reduction matrix score of all material samples of the material to be tested constitutes the dimension reduction matrix A corresponding to the patch antenna; Then the independent variable matrix 9. The system according to claim 8, It is characterized in that When the moisture content of the material to be tested is detected by using the patch antenna corresponding to the minimum MSE value, and the moisture content prediction value of the material to be tested is predicted by using the optimal moisture content prediction model, it includes: The patch antenna corresponding to the minimum MSE value is used to collect key microwave parameters to form an original data matrix; Multiply the original data matrix by the coefficient matrix coeff to obtain the corresponding independent variable matrix X; The moisture content prediction value of the material to be tested is obtained according to the corresponding independent variable matrix X and the optimal moisture content prediction model.