Method for determining the type of liquid in non-metallic containers based on microwave detection

CN117054449BActive Publication Date: 2026-08-11BEIJING TELESOUND ELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-27
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0005]本发明提供一种基于微波检测对非金属容器内液体类别的确定方法,用以解决现有技术中无法确定待检测液体所属危险液体的具体类别的缺陷,实现了不仅可以检测出液体类别,而且提高了液体类别检测精确度的目的

Benefits of technology

[0054]本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如上述任一种基于微波检测对非金属容器内液体类别的确定方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117054449B_ABST
    Figure CN117054449B_ABST
Patent Text Reader

Abstract

This invention provides a method for determining the liquid category within a non-metallic container based on microwave detection. The method includes: sending a microwave signal to the liquid to be detected and receiving detection data reflected back from the liquid; determining a reference liquid category with the highest priority based on the liquid category priority, and obtaining the target parameter category corresponding to the reference liquid category; determining the parameter value of the target parameter category of the liquid to be detected based on the detection data; determining whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category; if the liquid category of the liquid to be detected is not a reference liquid category, determining the second-highest priority liquid category as a new reference liquid category based on the priority of the liquid categories, and returning to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined. This method not only detects the liquid category but also improves the accuracy of the detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of liquid detection technology, and in particular to a method for determining the type of liquid in a non-metallic container based on microwave detection. Background Technology

[0002] In scenarios such as security checks, it is often necessary to test the liquid inside the container to determine whether it is a hazardous liquid, in order to prevent hazardous liquids from being brought into public places and posing a potential risk to public safety.

[0003] Liquid detection refers to the identification of the type of liquid being tested. Liquid detection methods can be broadly categorized in principle into thermal conduction methods suitable for metallic containers, and microwave detection and Raman spectroscopy methods suitable for non-metallic containers. Thermal conduction methods are not suitable for non-metallic containers; Raman spectroscopy is relatively expensive and widely used in scientific research, but not currently used in security inspections; therefore, microwave detection is generally used for liquid detection in non-metallic containers.

[0004] However, existing microwave detection methods can only distinguish whether the liquid to be tested is a hazardous liquid or a safe liquid, but cannot accurately determine the specific category to which a hazardous liquid belongs. Summary of the Invention

[0005] This invention provides a method for determining the type of liquid in a non-metallic container based on microwave detection, which solves the defect in the prior art that it is impossible to determine the specific category of the hazardous liquid to be detected, and achieves the goal of not only detecting the liquid type, but also improving the accuracy of liquid type detection.

[0006] This invention provides a method for determining the type of liquid in a non-metallic container based on microwave detection, comprising:

[0007] Microwave signals are sent to the liquid to be tested in a non-metallic container, and the detection data reflected back by the liquid is received.

[0008] Based on the priority of liquid categories, determine the reference liquid category with the highest priority, and obtain the target parameter category corresponding to the reference liquid category;

[0009] Based on the detection data, determine the parameter values ​​for the target parameter category of the liquid to be detected;

[0010] The test liquid category is determined based on the parameter value of the target parameter category to determine whether the liquid category is the reference liquid category;

[0011] If it is determined that the liquid category of the liquid to be detected is not the reference liquid category, the liquid category with the second highest priority is determined as the new reference liquid category based on the priority of the liquid category, and the process returns to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined.

[0012] The method for determining the type of liquid in a non-metallic container based on microwave detection provided by the present invention determines the parameter values ​​of the target parameter type of the liquid to be detected based on detection data, including:

[0013] When the target parameter category includes alcohol parameters, obtain the first peak value, the second peak value, the second trough value, and the third trough value in the waveform data corresponding to the detection data;

[0014] Based on the first peak value, the second peak value, the second trough value, and the third trough value, the parameter values ​​of the alcohol parameters of the liquid to be tested are determined.

[0015] The method for determining the type of liquid in a non-metallic container based on microwave detection provided by the present invention determines the parameter values ​​of the target parameter type of the liquid to be detected based on detection data, including:

[0016] When the target parameter category includes fuel parameters, obtain the third peak value and the fourth trough value in the waveform data corresponding to the detection data;

[0017] Based on the third peak value and the fourth trough value, the parameter values ​​of the fuel parameters of the liquid to be tested are determined.

[0018] The method for determining the type of liquid in a non-metallic container based on microwave detection provided by the present invention determines the parameter values ​​of the target parameter type of the liquid to be detected based on detection data, including:

[0019] When the target parameter category includes safety parameters, obtain the first and second trough values ​​in the waveform data corresponding to the detection data;

[0020] Based on the first and second trough values, the safety parameters of the liquid to be tested are determined.

[0021] The method for determining the type of liquid in a non-metallic container based on microwave detection provided by the present invention determines the parameter values ​​of the target parameter type of the liquid to be detected based on detection data, including:

[0022] When the target parameter category includes the peak variance parameter, obtain the second peak value, third peak value, fourth peak value, and fifth peak value in the waveform data corresponding to the detection data;

[0023] The average peak value is determined based on the second, third, fourth, and fifth peak values.

[0024] Based on the second, third, fourth, and fifth peak values ​​and the average peak value, the peak variance parameter of the liquid to be tested is determined.

[0025] The method for determining the type of liquid in a non-metallic container based on microwave detection provided by the present invention determines the parameter values ​​of the target parameter type of the liquid to be detected based on detection data, including:

[0026] When the target parameter category includes fluctuation parameters, the starting and ending data positions corresponding to the reference liquid category are determined from the waveform data corresponding to the detection data.

[0027] Determine the first average value of the sampled values ​​corresponding to each sampling point in the first waveform sub-data between the start and end data positions corresponding to the reference liquid category;

[0028] Based on the first average value and the sampled values ​​corresponding to each sampling point in the first waveform sub-data, the first fluctuation value corresponding to the reference liquid category is determined;

[0029] Based on the first fluctuation value corresponding to the reference liquid category and the second fluctuation value corresponding to the safe liquid, the parameter value of the fluctuation parameter is determined. The second fluctuation value is determined based on the waveform data between the start and end data positions in the waveform data corresponding to the detection data of the safe liquid.

[0030] The method for determining the type of liquid in a non-metallic container based on microwave detection according to the present invention determines the start and end data positions corresponding to the reference liquid type from the waveform data corresponding to the detection data, including:

[0031] Obtain the reference waveform data corresponding to the reference detection data of the reference liquid category;

[0032] The second waveform sub-data between the preset start data position and the preset end data position in the reference waveform data is divided to obtain a preset number of target waveform data groups.

[0033] For each set of target waveform data, determine the second average value of the sampled values ​​corresponding to each sampling point in the target waveform data;

[0034] Based on the second average value and the sampled values ​​corresponding to each sampling point in the target waveform data, the third fluctuation value corresponding to the target waveform data is determined.

[0035] Based on the third fluctuation value corresponding to the target waveform data and the fourth fluctuation value corresponding to the safe liquid, the fluctuation difference is determined. The fourth fluctuation value is determined based on the waveform data between the preset start data position and the preset end data position in the waveform data corresponding to the detection data of the safe liquid.

[0036] Based on the fluctuation difference, the starting and ending data positions corresponding to the reference liquid category are determined.

[0037] The present invention provides a method for determining the type of liquid in a non-metallic container based on microwave detection.

[0038] When the reference liquid category includes inorganic substances, the target parameter category includes alcohol parameters;

[0039] When the reference liquid category includes alcohol, the target parameter category includes alcohol parameters, safety parameters, and fluctuation parameters;

[0040] When the reference fluid category includes the fuel category, the target parameter category includes fuel parameters, safety parameters, and peak variance parameters;

[0041] When the reference liquid category includes beverages, the target parameter categories include alcohol parameters, fuel parameters, safety parameters, and peak variance parameters.

[0042] According to the method for determining the type of liquid in a non-metallic container based on microwave detection provided by the present invention, the liquid type includes inorganic substances, alcohol, fuels and beverages;

[0043] Inorganic substances have a higher priority than alcohol; alcohol has a higher priority than fuel; and fuel has a higher priority than beverages.

[0044] The method for determining the liquid category in a non-metallic container based on microwave detection according to the present invention determines whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category, including:

[0045] Determine whether the parameter value of the target parameter category is within the preset parameter value range corresponding to the target parameter category;

[0046] If the parameter value of the target parameter category is within the preset parameter value range, the liquid category of the liquid to be detected is determined as the reference liquid category.

[0047] The present invention also provides a device for determining the type of liquid in a non-metallic container based on microwave detection, comprising:

[0048] The transceiver unit is used to send microwave signals to the liquid to be tested in a non-metallic container and to receive the detection data reflected back by the liquid to be tested.

[0049] The acquisition unit is used to determine the reference liquid category with the highest priority based on the priority of the liquid category, and to obtain the target parameter category corresponding to the reference liquid category;

[0050] The first determining unit is used to determine the parameter values ​​of the target parameter category of the liquid to be detected based on the detection data;

[0051] The determination unit is used to determine whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category;

[0052] The second determining unit is used to determine the next highest priority liquid category as the new reference liquid category when the liquid category of the liquid to be detected is not the reference liquid category, based on the priority of the liquid category, and return to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined.

[0053] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-described methods for determining the type of liquid in a non-metallic container based on microwave detection.

[0054] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the methods described above for determining the type of liquid in a non-metallic container based on microwave detection.

[0055] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements any of the methods described above for determining the type of liquid in a non-metallic container based on microwave detection.

[0056] This invention provides a method for determining the liquid category in a non-metallic container based on microwave detection. This method determines the parameter value of a target parameter category corresponding to a reference liquid category based on the detection data reflected back from the liquid to be detected. Based on the parameter value of the target parameter category, it can determine whether the liquid to be detected belongs to the reference liquid category. If the liquid to be detected is determined to be in the reference liquid category, the liquid category to which the liquid belongs can be determined. If the liquid to be detected is determined not to be in the reference liquid category, the reference liquid category is re-determined based on the priority of the liquid categories, and the detection data of the liquid to be detected is used to determine whether the liquid to be detected belongs to the reference liquid category. This process is repeated until the liquid category to which the liquid belongs is determined. Using this method, after determining whether the liquid to be detected is a safe or hazardous liquid, the specific category of the liquid to be detected can be further determined. Moreover, by judging whether the liquid to be detected belongs to the reference liquid category one by one based on the parameter value of the target parameter category, the accuracy of liquid category detection is improved. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0058] Figure 1 This is a flowchart illustrating the method for determining the type of liquid in a non-metallic container based on microwave detection, provided in an embodiment of the present invention.

[0059] Figure 2 This is one of the plotted images of the detection data provided in the embodiments of the present invention;

[0060] Figure 3 This is the second plotted image of the detection data provided in the embodiments of the present invention;

[0061] Figure 4 This is the third plotting diagram of the detection data provided in the embodiments of the present invention;

[0062] Figure 5 This is a schematic diagram of the interference peaks provided in an embodiment of the present invention;

[0063] Figure 6 This is a schematic diagram of the variation curve of the fluctuation difference between alcohol and fuel provided in an embodiment of the present invention;

[0064] Figure 7 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 1 ;

[0065] Figure 8 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 1 The left view;

[0066] Figure 9 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 2 ;

[0067] Figure 10 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 2 The left view;

[0068] Figure 11 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 2 Top view;

[0069] Figure 12 This is the fourth plotted diagram of the detection data provided in the embodiments of the present invention;

[0070] Figure 13 This is a distribution plane diagram of one type of parameter category in the calibration dataset provided in this embodiment of the invention;

[0071] Figure 14 This is one of the spatial distribution maps of the calibration dataset provided in the embodiments of the present invention;

[0072] Figure 15 This is the second spatial distribution map of the calibration dataset provided in this embodiment of the invention;

[0073] Figure 16 This is one of the schematic flowcharts for liquid detection provided in the embodiments of the present invention;

[0074] Figure 17 This is the second schematic flowchart of liquid detection provided in the embodiment of the present invention;

[0075] Figure 18 This is a schematic diagram of the structure of the device for determining the type of liquid in a non-metallic container based on microwave detection, provided in an embodiment of the present invention.

[0076] Figure 19 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0077] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. It should be noted that the serial numbers assigned to the objects described in this invention, such as "first," "second," etc., are only used to distinguish the described objects and have no sequential or technical meaning.

[0078] Microwave detection methods typically use a specific device to emit microwaves towards the liquid being tested. The microwaves attenuate after penetrating non-metallic containers and liquids. A receiving device acquires the detection data, and the degree of attenuation determines whether the liquid is hazardous or safe. Multi-frequency microwave detection is a type of microwave detection method; essentially, it involves testing the same liquid at different frequencies F1, F2, ..., F... n Different liquids respond differently to electromagnetic waves. By measuring the dielectric properties of liquids at different frequency bands and conducting multi-frequency joint analysis, different liquids can be distinguished. Superficially, this involves changes in the phase velocity and phase of electromagnetic waves; numerically, it reflects the differences in conductivity and dielectric constant of the liquid at different frequencies. The dielectric constant and conductivity of the liquid are then analyzed. Specifically, when an external electric field is applied, the medium generates induced charges, weakening the electric field. The ratio of the decrease in electric field in the medium to the original applied electric field (in vacuum) is the relative dielectric constant, which is frequency-dependent. The dielectric constant is the product of the relative dielectric constant and the absolute dielectric constant in vacuum. In a medium in electrostatic equilibrium, the external electric field E = σ / ε, where σ represents conductivity and ε represents dielectric constant.

[0079] Liquid samples come in many categories, and hazardous liquids also encompass various types, such as alcohol and gasoline. Multi-frequency microwave detection methods establish a threshold based on the dielectric constant of the liquid sample. Generally, the dielectric constant and conductivity of hazardous liquids are lower than those of safe liquids. This threshold serves as the criterion for judging the safety level of the liquid; those above the threshold are classified as safe liquids, and those below are classified as hazardous liquids. However, existing multi-frequency microwave detection methods can only distinguish between hazardous and safe liquids, not precisely determine the specific category of a hazardous liquid, resulting in low accuracy. Furthermore, sulfuric acid, with a mass fraction greater than 70%, has a dielectric constant as high as approximately 100, higher than that of water; using this threshold, it is impossible to determine whether sulfuric acid is a hazardous liquid.

[0080] To address the problem that microwave detection alone cannot determine the specific category of hazardous liquids, this invention provides a method for determining the category of liquids in non-metallic containers using microwave detection. This method determines the parameter value of a target parameter category corresponding to a reference liquid category based on the detection data reflected back from the liquid to be detected. Based on the parameter value of the target parameter category, it can be determined whether the liquid to be detected belongs to the reference liquid category. Based on the priority of liquid categories, the above steps are repeated for different liquid categories until the liquid category to which the liquid to be detected belongs is determined. This method can determine the specific category of hazardous liquids, distinguishing between alcohol, fuel oil, and inorganic substances. Fuel oil includes gasoline, kerosene, and diesel; inorganic substances include strong acids and strong bases with strong ionization properties, such as sulfuric acid and sodium hydroxide. Safe liquids can include water or beverages, which do not pose a safety threat.

[0081] The following is combined Figures 1 to 17 This invention describes a method for determining the type of liquid in a non-metallic container based on microwave detection, as provided in an embodiment of the invention. The execution subject of this method can be an electronic device such as a security inspection machine, computer, or server, or a specially designed intelligent device. Alternatively, it can be a device for determining the type of liquid in a non-metallic container based on microwave detection, installed within the electronic or intelligent device. This device can be implemented through software, hardware, or a combination of both. This method can be applied to various scenarios requiring security checks, such as bus stations, train stations, subway stations, or high-speed rail stations.

[0082] Figure 1 This is a flowchart illustrating the method for determining the type of liquid in a non-metallic container based on microwave detection, as provided in an embodiment of the present invention. Figure 1 As shown, the method includes steps 110 to 150 as follows.

[0083] Step 110: Send a microwave signal to the liquid to be tested in the non-metallic container and receive the detection data reflected back by the liquid to be tested.

[0084] Specifically, a microwave transmitter can be used to transmit microwave signals to the liquid to be tested, and a receiver can be used to receive the detection data reflected back by the liquid. The receiver can be, for example, an AD acquisition module of a microcontroller. The detection data can be obtained by reading the jitter amplification signal on the carrier wave through the AD module.

[0085] For example, the microwave transmitting device can use a triangular wave with a period of 80Hz as the carrier signal and an ultra-wideband narrow pulse transmission wave with a period of 40kHz as the frequency variation source. An amplification circuit amplifies the waveform jitter signal reflected back from the liquid to be tested into collectable detection data. Furthermore, the collected detection data can be processed. For instance, the jitter signal can be plotted with the number of acquisition points on the x-axis and the microcontroller's resolution of 2^12 on the y-axis. Data from 500 acquisition points of the liquid to be tested can be considered as a complete set of detection data. The resolution of the 12-bit AD acquisition module in the processor is 2^12 = 4096, so the maximum value on the y-axis is 4096. The processor's resolution refers to the number of values ​​it can represent.

[0086] Figure 2 This is one of the plotted images of the detection data provided in the embodiments of the present invention, such as... Figure 2 As shown, without any liquid inside the non-metallic container, a microwave signal is sent to the air inside the container for detection. The reflected detection data can be obtained. The jitter signal is plotted with the number of acquisition points as the x-axis and the resolution of the microcontroller as the y-axis, and the detection data corresponding to each acquisition point is plotted to obtain the plotted graph.

[0087] Figure 3 This is the second plotted image of the detection data provided in the embodiments of the present invention, such as... Figure 3 As shown, alcohol is placed in a non-metallic container, and a microwave signal is sent to the alcohol in the container for detection. The reflected detection data can be obtained. The jitter signal is plotted with the number of acquisition points as the x-axis and the microcontroller's resolution as the y-axis, and the detection data corresponding to each acquisition point is plotted to obtain the plotted graph. It should be noted that there are slight differences in the detection data of 75% and 95% alcohol by volume. Using 75% alcohol by volume liquid for calibration will ensure that 95% alcohol by volume liquid is 100% recognized as alcohol liquid. In the following text, "alcohol liquid" refers to 75% alcohol by volume.

[0088] Figure 4 This is the third plotted image of the detection data provided in the embodiments of the present invention, such as... Figure 4 As shown, fuel is placed in a non-metallic container, and a microwave signal is sent to the fuel for detection. The reflected detection data is obtained. The jitter signal is plotted with the number of acquisition points on the x-axis and the microcontroller's resolution on the y-axis, plotting the detection data for each acquisition point to obtain the plotted graph. It should be noted that fuel-like liquids include gasoline, kerosene, and diesel, etc. The detection data for fuel-like liquids are very similar; the calibration data below will use gasoline to represent fuel-like liquids. Figures 2 to 4 The plotted graph shown has relatively stable waveforms, indicating that the detection data for each medium is correlated with its dielectric constant.

[0089] Step 120: Based on the priority of the liquid category, determine the reference liquid category with the highest priority, and obtain the target parameter category corresponding to the reference liquid category.

[0090] Specifically, the liquid category can be the specific class to which the liquid belongs, such as alcohol, fuel, inorganic substances, or beverages. The priority of the liquid category can be a ranking system for determining priority levels for each liquid category. For example, based on practical experience or needs in liquid testing, priorities can be set for various liquid categories. When determining the specific category of the liquid to be tested, the determination can begin with the highest priority reference liquid category and proceed step-by-step from high to low until the liquid category to be tested is determined. The reference liquid category can be understood as the liquid category used as a reference during the current determination.

[0091] Parameter category can be understood as the specific category to which a parameter belongs. Parameter categories can include alcohol parameters, fuel parameters, safety parameters, peak variance parameters, and fluctuation parameters, etc. Target parameter category can be a parameter category determined for a reference liquid category. By using the target parameter category corresponding to the reference liquid category, it can be determined whether the liquid to be tested belongs to that reference liquid category.

[0092] For example, if the reference liquid category is inorganic, the target parameter category includes alcohol parameters; if the reference liquid category includes alcohol, the target parameter category includes alcohol parameters, safety parameters, and fluctuation parameters, etc.

[0093] Step 130: Based on the detection data, determine the parameter values ​​for the target parameter category of the liquid to be detected.

[0094] Specifically, based on the detection data of the liquid to be tested, the parameter values ​​of the target parameter category of the liquid to be tested can be determined using a method for determining parameter values ​​of parameter categories. For example, the method for determining parameter values ​​of parameter categories can be based on a plot of the detection data. A peak-finding procedure can be used to determine the coordinates of the peak point of at least one peak and the coordinates of the trough point of at least one trough in the plot. Based on the coordinates of the peak point of each peak and the trough point of each trough, relevant parameters can be calculated, and the parameter values ​​of the target parameter category of the liquid to be tested can be determined.

[0095] Step 140: Determine whether the liquid category of the liquid to be detected is the reference liquid category based on the parameter value of the target parameter category.

[0096] Specifically, after determining the parameter value of the target parameter category of the liquid to be tested, the parameter value is compared with the calibration parameter value of the target parameter category corresponding to the reference liquid category to determine whether the liquid category of the liquid to be tested is the reference liquid category.

[0097] For example, for sample liquids of various liquid categories, microwave signals are used to perform liquid detection on each sample liquid, and corresponding detection data are obtained. Based on the detection data and plotted points of the sample liquids, the calibration parameter values ​​for each parameter category of the sample liquid can be determined. The calibration parameter values ​​for each parameter category of the sample liquid can be the calibration parameter values ​​of the liquid category to which the sample liquid belongs, and the calibration parameter values ​​of each parameter category can form a dataset for that liquid category.

[0098] For example, consider a sample liquid containing alcohol, such as 75% alcohol by volume, placed in a non-metallic container. Microwave detection is used to acquire the sample liquid's detection data and plot. The calibrated alcohol parameter value can be determined using methods for determining alcohol parameters; the calibrated fuel parameter value can be determined using methods for determining fuel parameters; the calibrated safety parameter value can be determined using methods for determining safety parameters; the calibrated peak variance parameter value can be determined using methods for determining peak variance parameters; and the calibrated fluctuation parameter value can be determined using methods for determining fluctuation parameters. The dataset for the liquid category of alcohol includes the determined calibrated alcohol parameter value, calibrated fuel parameter value, calibrated safety parameter value, calibrated peak variance parameter value, and calibrated fluctuation parameter value. Similarly, datasets for the liquid categories of fuel and inorganic substances can be determined separately.

[0099] Step 150: If it is determined that the liquid category of the liquid to be detected is not the reference liquid category, based on the priority of the liquid category, the liquid category with the second highest priority is determined as the new reference liquid category, and the process returns to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined.

[0100] Specifically, the target liquid category is the liquid category to which the liquid to be tested belongs. Based on the priority of liquid categories, the liquid category to which the liquid to be tested belongs is determined level by level. If the liquid to be tested is determined to be a reference liquid category, then the target liquid category for that liquid is determined to be that reference liquid category. If the liquid to be tested is determined not to be a reference liquid category, then the next highest priority liquid category of that reference liquid category is used as the reference liquid category for further determination of the liquid to be tested, until the target liquid category for the liquid to be tested is determined.

[0101] For example, if alcohol has the highest priority, fuel the second highest, and inorganic substances the lowest, then when determining the liquid category of the liquid to be tested, alcohol is first used as the reference liquid category. The parameter category corresponding to alcohol is then the target parameter category. This parameter category could be, for example, alcohol parameter, safety parameter, or fluctuation parameter. Based on the test data of the liquid to be tested, the parameter values ​​for the alcohol parameter, safety parameter, and fluctuation parameter are determined. These values ​​are then compared with the calibrated alcohol parameter value, calibrated safety parameter value, and calibrated fluctuation parameter value in the alcohol dataset to determine whether the liquid to be tested is alcohol.

[0102] If the liquid to be tested is determined not to be alcohol, then based on the priority of liquid categories, fuel is identified as the reference liquid category. The parameter category corresponding to fuel becomes the target parameter category. This parameter category could be, for example, fuel parameters, safety parameters, and peak variance parameters. Based on the detection data of the liquid to be tested, the parameter values ​​for the fuel parameters, safety parameters, and peak variance parameters are determined. These values ​​are then compared with the calibrated fuel parameter values, calibrated safety parameter values, and calibrated peak variance parameter values ​​in the fuel dataset to determine whether the liquid to be tested is fuel. This process is repeated for each liquid category to ultimately determine the target liquid category for the liquid being tested.

[0103] This invention provides a method for determining the liquid category in a non-metallic container based on microwave detection. This method determines the parameter value of a target parameter category corresponding to a reference liquid category based on the detection data reflected back from the liquid to be detected. Based on the parameter value of the target parameter category, it can determine whether the liquid to be detected belongs to the reference liquid category. If the liquid to be detected is determined to be in the reference liquid category, the liquid category to which the liquid belongs can be determined. If the liquid to be detected is determined not to be in the reference liquid category, the reference liquid category is re-determined based on the priority of the liquid category, and the detection data of the liquid to be detected is used to determine whether the liquid to be detected belongs to the reference liquid category. This process is repeated until the liquid category to which the liquid belongs is determined. Using this method, after determining whether the liquid to be detected is a safe or hazardous liquid, the specific category of the liquid to be detected can be further determined. Moreover, by judging whether the liquid to be detected belongs to the reference liquid category one by one based on the parameter value of the target parameter category, the accuracy of liquid category detection is improved.

[0104] To accurately determine the parameter values ​​for the target parameter category of the liquid being tested, waveform data corresponding to the detection data of the liquid can be used. The process of determining the parameter values ​​for alcohol, fuel, safety, peak variance, and fluctuation parameters is described below.

[0105] In one embodiment, when determining the parameter value of the target parameter category of the liquid to be detected based on the detection data, it may specifically include: if the target parameter category includes alcohol parameters, obtaining the first peak value, the second peak value, the second trough value, and the third trough value in the waveform data corresponding to the detection data; and determining the parameter value of the alcohol parameter of the liquid to be detected based on the first peak value, the second peak value, the second trough value, and the third trough value.

[0106] Specifically, using the sampling points as the x-axis and the reflected jitter signal value as the y-axis, the received detection data can be plotted on a plotted graph. The waveform in the plotted graph represents the waveform data corresponding to the detection data. For example... Figures 2 to 4 The plot shown represents the waveform data corresponding to the detected data. It should be understood that within a waveform segment, different horizontal coordinate values ​​correspond to their respective vertical coordinate values. When the horizontal coordinate changes continuously, if the vertical coordinate value increases from a small value to an inflection point and then decreases again, that inflection point can be considered a peak point; conversely, if the vertical coordinate value decreases from a large value to an inflection point and then increases again, that inflection point can be considered a valley point.

[0107] For example, in the waveform data corresponding to a complete set of detection data, the point corresponding to the maximum value of the ordinate is the first peak point, and the ordinate value of the first peak point is the first wave peak value. Along the horizontal axis from smallest to largest, that is, in the order from left to right in the plotted graph, the peak point adjacent to the first peak point is the second peak point, and the ordinate value of the second peak point is the second wave peak value; the valley point adjacent to the first peak point is the second valley point, and the ordinate value of the second valley point is the second wave valley value; the valley point adjacent to the second valley point is the third valley point, and the ordinate value of the third valley point is the third wave valley value.

[0108] For example, when determining peak or trough points, to avoid errors in peak or trough point determination due to fluctuations in the detection data, conditions for determining peak or trough points can be set. Optionally, when determining peak points, the conditions for determining peak points are set as follows: the ordinate values ​​of at least five consecutive points to the left of the peak point increase, and the ordinate values ​​of at least five consecutive points to the right of the peak point decrease; when determining trough points, the conditions for determining trough points are set as follows: the ordinate values ​​of at least five consecutive points to the left of the trough point decrease, and the ordinate values ​​of at least five consecutive points to the right of the trough point increase. After determining the first peak, the second peak, the second trough, and the third trough, the parameter values ​​of the alcohol parameter of the liquid to be tested can be determined by the following formula (1).

[0109]

[0110] Where P1 represents the first peak value; P2 represents the second peak value; V2 represents the second trough value; V3 represents the third trough value; K alco This represents the parameter value of the alcohol content. It should be noted that peak and trough points can be obtained through a peak finding program, and the corresponding ordinate values ​​can be acquired using an AD module.

[0111] In this embodiment, the parameter values ​​of the alcohol parameter of the liquid to be tested can be accurately determined based on the first peak value, the second peak value, the second trough value, and the third trough value in the waveform data. Based on the parameter values ​​of the alcohol parameter of the liquid to be tested, the liquid category of the liquid to be tested can be determined, which can improve the accuracy of liquid category detection.

[0112] In one embodiment, when determining the parameter value of the target parameter category of the liquid to be detected based on the detection data, it may specifically include: if the target parameter category includes fuel parameters, obtaining the third peak value and the fourth trough value in the waveform data corresponding to the detection data; and determining the parameter value of the fuel parameters of the liquid to be detected based on the third peak value and the fourth trough value.

[0113] Specifically, along the horizontal axis from smallest to largest, that is, from left to right in the plotted graph, the peak point adjacent to the second peak point after the second peak point is the third peak point, and the vertical coordinate value of the third peak point is the third wave peak value; the valley point adjacent to the third valley point after the third valley point is the fourth valley point, and the vertical coordinate value of the fourth valley point is the fourth wave valley value. After determining the third wave peak value and the fourth wave valley value, the parameter values ​​of the fuel parameters of the liquid to be tested can be determined by the following formula (2).

[0114]

[0115] Where P3 represents the peak value of the third wave; V4 represents the trough value of the fourth wave; K soilThe parameter value represents the fuel parameters.

[0116] In this embodiment, the parameter values ​​of the fuel parameters of the liquid to be detected can be accurately determined based on the third peak value and the fourth trough value in the waveform data. Based on the parameter values ​​of the fuel parameters of the liquid to be detected, the liquid category of the liquid to be detected can be determined, which can improve the accuracy of liquid category detection.

[0117] In one embodiment, determining the parameter value of the target parameter category of the liquid to be tested based on the detection data may specifically include: if the target parameter category includes safety parameters, obtaining the first trough value and the second trough value in the waveform data corresponding to the detection data; and determining the parameter value of the safety parameter of the liquid to be tested based on the first trough value and the second trough value.

[0118] Specifically, along the horizontal axis from largest to smallest (i.e., from right to left in the plotted graph), the point corresponding to the minimum vertical coordinate value before the first peak point is the first valley point, and the vertical coordinate value of the first valley point is the first trough value. Along the horizontal axis from smallest to largest (i.e., from left to right in the plotted graph), the valley point adjacent to the first peak point after the first peak point is the second valley point, and the vertical coordinate value of the second valley point is the second trough value. After determining the first and second trough values, the safety parameters of the liquid to be tested can be determined using the following formula (3).

[0119]

[0120] Where V1 represents the first trough value; V2 represents the second trough value; K safe The parameter value represents the safety parameter.

[0121] In this embodiment, the safety parameter values ​​of the liquid to be detected can be accurately determined based on the first and second trough values ​​in the waveform data. Based on the safety parameter values ​​of the liquid to be detected, the liquid category of the liquid to be detected can be determined, which can improve the accuracy of liquid category detection.

[0122] In one embodiment, determining the parameter value of the target parameter category of the liquid to be detected based on the detection data may specifically include: if the target parameter category includes a peak variance parameter, acquiring the second peak value, third peak value, fourth peak value, and fifth peak value in the waveform data corresponding to the detection data; determining the average peak value based on the second peak value, third peak value, fourth peak value, and fifth peak value; and determining the parameter value of the peak variance parameter of the liquid to be detected based on the second peak value, third peak value, fourth peak value, fifth peak value, and average peak value.

[0123] Specifically, along the horizontal axis from smallest to largest, that is, from left to right in the plotted graph, the peak point adjacent to the first peak point is the second peak point, and the vertical coordinate value of the second peak point is the second wave peak; the peak point adjacent to the second peak point is the third peak point, and the vertical coordinate value of the third peak point is the third wave peak; the peak point adjacent to the third peak point is the fourth peak point, and the vertical coordinate value of the fourth peak point is the fourth wave peak; the peak point adjacent to the fourth peak point is the fifth peak point, and the vertical coordinate value of the fifth peak point is the fifth wave peak.

[0124] The average peak value is the average of the second, third, fourth, and fifth peak values, which can be determined using the following formula (4). Furthermore, after determining the second, third, fourth, and fifth peak values ​​and the average peak value, the safety parameters of the liquid to be tested can be determined using the following formula (5).

[0125]

[0126]

[0127] Wherein, P2 represents the second peak; P3 represents the third peak; P4 represents the fourth peak; P5 represents the fifth peak; P ave K represents the average peak value. var The parameter value represents the peak variance parameter.

[0128] In this embodiment, the peak variance parameter of the liquid to be detected can be accurately determined based on the second peak value, the third peak value, the fourth peak value, the fifth peak value, and the average peak value. Based on the peak variance parameter of the liquid to be detected, the liquid category of the liquid to be detected can be determined, which can improve the accuracy of liquid category detection.

[0129] In one embodiment, determining the parameter value of the target parameter category of the liquid to be detected based on detection data may specifically include:

[0130] When the target parameter category includes fluctuation parameters, the starting and ending data positions corresponding to the reference liquid category are determined from the waveform data corresponding to the detection data; the first average value of the sampled values ​​corresponding to each sampling point in the first waveform sub-data between the starting and ending data positions corresponding to the reference liquid category is determined; based on the first average value and the sampled values ​​corresponding to each sampling point in the first waveform sub-data, the first fluctuation value corresponding to the reference liquid category is determined; based on the first fluctuation value corresponding to the reference liquid category and the second fluctuation value corresponding to the safe liquid, the parameter value of the fluctuation parameter is determined, wherein the second fluctuation value is determined based on the waveform data between the starting and ending data positions in the waveform data corresponding to the detection data of the safe liquid.

[0131] Specifically, when determining the fluctuation parameter, it is necessary to first define the calculation range of the fluctuation parameter. This can be understood as the fluctuation parameter being a parameter value determined for the waveform data within the calculation range, which is the first waveform sub-data. The sum of the absolute values ​​of the differences between all detected data within the calculation range and the first average value of all detected data within this range is the first fluctuation value. The average of the second fluctuation value of the safe liquid and the first fluctuation value corresponding to the reference liquid category is the parameter value of the fluctuation parameter. The method for determining the fluctuation parameter is similar to that for determining the peak-to-valence parameter; it can be seen as an extension of the peak-to-valence parameter. In the first half of the detected data, where the peak-to-valence difference is significant, the peak-to-valence parameter can be used. In the second half of the detected data, the fluctuation parameter can be selected.

[0132] For example, determining the starting and ending data positions corresponding to a reference liquid category can be done in the following ways.

[0133] In one implementation, determining the start and end data positions corresponding to the reference liquid category from the waveform data corresponding to the detection data includes:

[0134] Obtain reference waveform data corresponding to the reference detection data of the reference liquid category; divide the second waveform sub-data between the preset start data position and the preset end data position in the reference waveform data to obtain a preset number of target waveform data groups; for each group of target waveform data, determine the second average value of the sampled values ​​corresponding to each sampling point in the target waveform data; based on the second average value and the sampled values ​​corresponding to each sampling point in the target waveform data, determine the third fluctuation value corresponding to the target waveform data; based on the third fluctuation value corresponding to the target waveform data and the fourth fluctuation value corresponding to the safe liquid, determine the fluctuation difference value, where the fourth fluctuation value is determined based on the waveform data between the preset start data position and the preset end data position in the waveform data corresponding to the detection data of the safe liquid; based on the fluctuation difference value, determine the start data position and end data position corresponding to the reference liquid category.

[0135] Specifically, the reference waveform data can be the waveform data obtained when determining the calibration parameter values ​​for a sample liquid of a reference liquid category. That is, the waveform data obtained based on the detection data after obtaining the detection data of the sample liquid using microwave detection.

[0136] The preset start and end data positions can be pre-set based on experimental data, statistical data, or empirical values ​​for the sample liquid of a reference liquid category. Data positions can be understood as abscissa values; the start data position can be understood as the initial abscissa value of the calculation range, and the end data position can be understood as the final abscissa value of the calculation range. In the reference waveform data corresponding to the sample liquid, the waveform data between the preset start and end data positions constitutes the second waveform sub-data. Dividing the second waveform sub-data yields a preset number of target waveform data groups. For example, uniformly dividing the second waveform sub-data yields 20 groups of target waveform data.

[0137] For example, the detection data may contain interference data, that is, interference peaks may appear irregularly in the waveform data corresponding to the detection data. The interference peaks can be randomly generated interference peak points. Figure 5 This is a schematic diagram of the interference peaks provided in an embodiment of the present invention. Figure 5 The interference peak shown is waveform data containing interference peaks obtained after microwave detection when air is placed in a non-metallic container. The interference peaks may be caused by external electromagnetic interference, mutual interference between electronic devices, or instability in the detection data due to power-on / power-off switching of electronic devices. Figure 5 As shown, the interference peak may appear near the horizontal coordinate value of 450. The interference peak will affect the calculation of the fluctuation parameter. Therefore, when determining the fluctuation parameter, the preset end data position can be set before the point with a horizontal coordinate value of 450.

[0138] The second average value can be the average value obtained by averaging the ordinate values ​​of each sampling point between the preset start data position and the preset end data position. For example, the detection data includes 500 sampling points, and the ordinate values ​​of each sampling point are denoted as W1, W2, ..., W... m ... W n ... W 500 Among them, W m W is the ordinate value corresponding to the preset starting data position m. n The second average value W can be determined by the following formula (6) to find the ordinate value corresponding to the preset end data position n. ave .

[0139]

[0140] The third fluctuation value can be obtained based on the second average value and the sampled values ​​corresponding to each sampling point in the target waveform data. For example, the third fluctuation value can be obtained by subtracting the sampled value corresponding to each sampling point in the target waveform data from the second average value, taking the absolute value, and summing the absolute values, as shown in the formula (7) below, where W vol This indicates the third fluctuation value.

[0141] W vol =|W m -W ave |+|W m+1 -W ave |+...+|W n -W ave | (7)

[0142] The fourth fluctuation value can be determined from the waveform data between the preset start and end data positions in the waveform data corresponding to the detection data of the safe liquid. This can be understood as follows: for a sample liquid of the safe liquid, after determining its second average value using the above method, the fourth fluctuation value corresponding to the safe liquid can be determined based on this second average value. The method for determining the fourth fluctuation value is similar to that for determining the third fluctuation value, and will not be repeated here. After determining the fourth fluctuation value, the fluctuation difference can be determined based on the third fluctuation value corresponding to the target waveform data and the fourth fluctuation value corresponding to the safe liquid. Based on this fluctuation difference, the start and end data positions corresponding to the reference liquid category can be determined.

[0143] For example, setting the calculation range from the fifth peak point to 450 sampling points, the waveform data within the calculation range is divided into 20 groups of target waveform data. Testing shows that the calculation effect and accuracy of dividing into 20 groups of target waveform data are ideal. That is, the starting and ending data positions of the fluctuation parameters can be determined by the two valley points of the numerical curve after grouping. The third fluctuation value of hazardous liquids and the fourth fluctuation value of safe liquids calculated using the starting and ending data positions have a clear distinction. This meets the calculation expectations; that is, the coordinates of the determined starting and ending data positions for calculating the fluctuation parameters are appropriate, and the appropriate distinction criterion is that the calculated third fluctuation value of hazardous liquids and the fourth fluctuation value of safe liquids have a clear distinction. The fluctuation parameters of safe liquids (e.g., beverages) and hazardous liquids (e.g., alcohol and fuel oil) are calculated separately in groups. The fourth fluctuation value of the safe liquid is denoted as W. vol_safe_1 W vol_safe_2 ... W vol_safe_20 The third fluctuation value of hazardous liquid alcohol is denoted as W. vol_alco_1 W vol_alco_2 ... W vol_alco_20The fluctuation difference of alcohol can be expressed as W. alco_i (i = 1, 2, ..., 20), which can be determined using the formula (8) shown below. The third fluctuation value of the hazardous liquid fuel is denoted as W. vol_soil_1 W vol_soil_2 ... W vol_soil_20 The fluctuation difference in fuel prices can be expressed as W. soil_i (i = 1, 2, ..., 20), which can be determined by the formula (9) shown below.

[0144] W alco_i =|W vol_safe_i -W vol_alco_i |,(i=1,2,...,20) (8)

[0145] W soil_i =|W vol_safe_i -W vol_soil_i |,(i=1,2,...,20) (9)

[0146] Figure 6 This is a schematic diagram of the variation curve of the fluctuation difference between alcohol and fuel provided in an embodiment of the present invention, as shown in the figure. Figure 6 As shown, the curve on the left is the curve of the fluctuation difference of alcohol, and the curve on the right is the curve of the fluctuation difference of fuel. The fluctuation difference of each of the two curves can be determined according to the above formulas (8) and (9) to determine the fluctuation difference corresponding to the 20 sets of target waveform data respectively, and then the curves are obtained by plotting the points.

[0147] By analyzing the fluctuation difference curve, it can be concluded that the starting data position for calculating the fluctuation parameters of hazardous liquid alcohol should preferably be selected in the sixth group, and the ending data position should preferably be selected in the sixteenth group; for hazardous liquid fuel oil, the starting data position should preferably be selected in the third group, and the ending data position should preferably be selected in the thirteenth group. Optionally, when determining the starting and ending data positions, the two lowest troughs of the fluctuation difference curve can be selected as the starting and ending data positions. The larger the interval between the two troughs, the better the distinguishability of the calculated fluctuation parameters.

[0148] When the fluctuation parameter is used to differentiate between alcohol and fuels, the calculation range corresponding to the fluctuation difference of alcohol is selected; when the fluctuation parameter is used to differentiate between fuels and fuels, the calculation range corresponding to the fluctuation difference of fuels is selected. Based on the start and end data positions of the obtained calculation range, the parameter values ​​of the fluctuation parameter within the calculation range are calculated for safe liquids (e.g., beverages) and hazardous liquids (e.g., alcohol and fuels). The average value of the fluctuation parameters for both safe and hazardous liquids is taken as the fluctuation parameter, which can be expressed as K. volOnce the fluctuation parameters are calibrated, their corresponding start and end data positions can be determined. When determining the fluctuation parameters for the liquid to be tested, the start and end data positions used should be consistent with the start and end data positions of the calculation range during calibration.

[0149] In this embodiment, by determining the fluctuation difference, the starting and ending data positions corresponding to the reference liquid category can be determined. Further, after determining the starting and ending data positions, a first fluctuation value corresponding to the reference liquid category can be determined based on the first waveform sub-data between the starting and ending data positions. Further, based on the first fluctuation value corresponding to the reference liquid category and the second fluctuation value corresponding to the safe liquid, the parameter value of the fluctuation parameter can be accurately determined. The parameter value of the fluctuation parameter of the liquid to be tested can be used to determine the liquid category, improving the accuracy of liquid category detection. To improve the accuracy of determining the target liquid category of the liquid to be tested, for example, alcohol parameters and fuel parameters can be used as one parameter category, and safety parameters, peak variance parameters, and fluctuation parameters can be used as a second parameter category. The first parameter category can serve as the main condition for determining whether the liquid to be tested is alcohol or fuel. When calibrating the sample liquid, if there is an overlap in the value range of the first parameter category, one of the second parameter categories needs to be selected to assist in the determination.

[0150] In one embodiment, when the reference liquid category includes an inorganic category, the target parameter category includes an alcohol parameter; when the reference liquid category includes an alcohol category, the target parameter category includes an alcohol parameter, a safety parameter, and a fluctuation parameter; when the reference liquid category includes a fuel category, the target parameter category includes a fuel parameter, a safety parameter, and a peak variance parameter; when the reference liquid category includes a beverage category, the target parameter category includes an alcohol parameter, a fuel parameter, a safety parameter, and a peak variance parameter.

[0151] Specifically, when the reference liquid category is an inorganic substance, the corresponding target parameter category can be the alcohol parameter. When the reference liquid category is alcohol, the corresponding target parameter categories can be the alcohol parameter, safety parameter, and fluctuation parameter. When the reference liquid category is fuel, the corresponding target parameter categories can be the fuel parameter, safety parameter, and peak variance parameter. When the reference liquid category is a beverage, the corresponding target parameter categories are the alcohol parameter, fuel parameter, safety parameter, and peak variance parameter.

[0152] For example, when calibrating the alcohol parameter within one parameter category, if the calculated data for alcoholic liquids and safe liquids overlap, relying solely on one parameter category to identify the liquid may result in false positives for alcohol being classified as safe liquids, or false positives for beverages being classified as alcohol. In such cases, a second parameter category needs to be selected for auxiliary determination. Due to the differences in electronic devices, the acquired detection data may vary. To improve the universality of the method of this invention, the peak variance parameter, safety parameter, or fluctuation parameter in the second parameter category needs to be specifically selected based on the actual detection data.

[0153] The dielectric constant of beverages is around 80, that of alcohol is around 24, that of fuels is between 2 and 4, and that of air is 1. When calibrating the fuel parameters in the first category of parameters, if a half-bottle or less-than-half-bottle safe liquid is selected, the detected fuel parameters of the safe liquid will be closer to those of the fuel category. It is necessary to use the peak variance parameter, safety parameter, or fluctuation parameter in the second category of parameters to further assist in the judgment.

[0154] The alcohol and fuel parameters from one parameter category are selected as the x and y axes of the calibration dataset, respectively. The peak variance parameter from the second parameter category is selected as the y-axis. The spatial distribution of the calibration dataset is shown in the figure below. Figure 7 As shown. Figure 7 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 1 ,like Figure 7 As shown, the rightmost "*" indicates the test data for alcoholic liquids, the bottom left "+" indicates the test data for fuel-like liquids, and the middle section indicates the test data for safe liquids. Safe liquids used in the calibration process include black tea, cola, milk tea, sports drinks, Fanta, Genki Forest, Oriental Leaf, and mineral water. Specifically, the diamond symbol ◇ represents black tea, the square symbol □ represents cola, the five-pointed star symbol ☆ represents milk tea, the circle symbol ○ represents Fanta, and the left triangle symbol... Indicates pulsation, indicated by a right triangle. The symbol represents the leaves of the Eastern Tree, the upper triangle △ represents Genki Forest, and the hexagonal star represents mineral water.

[0155] Select the peak variance parameter from the two parameter categories. Figure 8 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 1 The left view, such as Figure 8As shown, the peak variance parameter (PVMP) of mineral water (represented by a hexagonal symbol) is greater than 15000, exhibiting clear differentiation from all other tested liquids. The PVMP of alcohol (represented by an asterisk) overlaps with that of safe liquids, making it impossible to distinguish alcohol using the PVMP parameter alone. The PVMP of fuel oil samples is the smallest among the tested liquids, lower than the PVMP values ​​of all safe liquids; therefore, fuel oil can be identified by selecting the appropriate PVMP parameter from the two parameter categories. It should be noted that the specific test data for the calibration liquids depends on the actual microwave transmitting device; this is merely an illustrative example.

[0156] Alcohol and fuel parameters from one parameter category were selected as the x and y axes of the calibration dataset, respectively. Safety parameters from the second parameter category were selected as the y-axis. The spatial distribution of the calibration dataset is shown in the figure below. Figure 9 As shown. Figure 9 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 2 ,like Figure 9 As shown, the rightmost "*" sign indicates the test data for alcoholic liquids, the bottom left "+" sign indicates the test data for fuel-based liquids, and the middle part represents the test data for safe liquids.

[0157] Select safety parameters from the second category of parameters. Figure 10 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 2 The left view, such as Figure 10 As shown, the safety parameter variation range of alcohol liquid (indicated by "*") overlaps with that of safe liquid, making it impossible to distinguish alcohol using safety parameters. The safety parameters of fuel liquid (indicated by "+") are clearly distinguishable from those of other liquids with similar fuel parameters. Therefore, fuel liquid can use safety parameters as a secondary parameter category. It should be noted that the specific test data for the calibration liquid is related to the actual microwave transmitting device, and this is only an example for illustration.

[0158] Figure 11 The spatial distribution of the calibration dataset provided in this embodiment of the invention. Figure 2 Top view, such as Figure 11 As shown, the horizontal axis represents the fuel parameters in category one, and the vertical axis represents the alcohol parameters in category one. The "*" sign in the upper right corner represents the data calculated from the detection of alcohol liquid, whose alcohol parameters are greater than those of the other two types of liquids. The "+" sign represents the data calculated from the detection of fuel liquid, whose fuel parameters are greater than those of alcohol, but there is some overlap with some types of safe liquids, so category two parameters need to be used to distinguish them.

[0159] For example, through extensive testing and verification, the peak variance parameter or safety parameter is suitable for the second-class parameter category of fuel-based liquids. If alcohol and safety liquids overlap, the fluctuation parameter is suitable for the second-class parameter category to distinguish between the two.

[0160] As mentioned earlier, the dielectric constant and conductivity of hazardous liquids are generally lower than those of safe liquids. Furthermore, tests show a positive correlation between the peak-to-valley difference (i.e., fluctuation range) of the test data and the liquid's conductivity. When the dielectric constant of the liquid being tested cannot be properly distinguished, such as inorganic substances (strong acids or bases with strong ionization properties), the conductivity of the liquid can be utilized, as liquid inorganic substances have higher conductivity, resulting in a larger peak-to-valley difference in the test data. Figure 12 This is the fourth plotted image of the detection data provided in the embodiments of the present invention, such as... Figure 12 As shown, the calibration data in this example is obtained using sulfuric acid with a mass fraction greater than 70% as an inorganic liquid. The inorganic substance is placed in a non-metallic container, and a microwave signal is sent to the inorganic substance in the container to detect it. The reflected detection data can be obtained. The jitter signal is plotted with the number of acquisition points as the x-axis and the resolution of the microcontroller as the y-axis to plot the detection data corresponding to each acquisition point, and the plotted graph can be obtained.

[0161] The ratio of alcohol parameters within a parameter category can reflect the difference in conductivity between the two. Figure 13 This is a distribution plane diagram of one type of parameter category in the calibration dataset provided in this embodiment of the invention, such as... Figure 13 As shown in the figure, the horizontal axis represents the fuel parameter in one parameter category, and the vertical axis represents the alcohol parameter in another parameter category. The figure shows that the alcohol parameter in the inorganic (represented by the lower triangular symbol) parameter category is greater than 2000, while the alcohol parameter in the alcohol, fuel, and beverage parameter categories is less than 500. It should be noted that the specific test data for the calibrated liquids depends on the actual microwave transmitting device; this is only an illustrative example.

[0162] Figure 14 This is one of the spatial distribution maps of the calibration dataset provided in the embodiments of the present invention. Figure 15 This is the second spatial distribution map of the calibration dataset provided in this embodiment of the invention, such as... Figure 14 and Figure 15 As shown, the spatial distribution plot of the calibration dataset has the x-axis for alcohol parameters and the y-axis for fuel parameters in the first parameter category, and the y-axis for peak variance parameters and safety parameters in the second parameter category. The plot reveals that inorganic liquids (strong acids or bases with strong ionization properties) (represented by the lower triangular symbol) exhibit distinct parameter categories, which can be clearly identified through the liquid's conductivity.

[0163] Once the calibration dataset is established, the liquid category of the liquid to be tested can be determined. Figure 16 This is one of the schematic flowcharts for liquid detection provided in the embodiments of the present invention, such as... Figure 16 As shown, after the liquid to be tested is placed, the detection data of the liquid is acquired by the microcontroller's AD acquisition module. According to the peak finding program, the coordinates of each peak point and each valley point in the detection data are calculated. Based on the coordinates of the peak points and valley points and the calculation formula, the parameter values ​​of the alcohol parameter, fuel parameter, safety parameter and peak variance parameter of the liquid can be obtained. The fluctuation parameter in the parameter category needs to be calculated in conjunction with the detection data of the liquid to be tested. Based on this, the parameter values ​​of each parameter category of the liquid to be tested can be obtained.

[0164] In this embodiment, different target parameter categories are set according to the liquid characteristics of each reference liquid category. When determining the liquid category of the liquid to be tested, the judgment can be made based on the parameter values ​​of the target parameter categories corresponding to different reference liquid categories, which can accurately determine whether the liquid to be tested belongs to the reference liquid category and improve the accuracy of the judgment.

[0165] In one example embodiment, the liquid category includes an inorganic category, an alcohol category, a fuel category, and a beverage category; the inorganic category has a higher priority than the alcohol category; the alcohol category has a higher priority than the fuel category; and the fuel category has a higher priority than the beverage category.

[0166] Specifically, when determining the liquid category of the liquid to be tested, based on the priority of liquid categories, inorganic substances are first used as a reference liquid category for the determination of the liquid to be tested; if the liquid to be tested is determined not to be an inorganic substance, then alcohol is used as a reference liquid category for the determination of the liquid to be tested based on the priority of liquid categories; if the liquid to be tested is determined not to be an alcohol, then fuel is used as a reference liquid category for the determination of the liquid to be tested based on the priority of liquid categories; if the liquid to be tested is determined not to be a fuel, then beverage is used as a reference liquid category for the determination of the liquid to be tested based on the priority of liquid categories, thus determining the liquid category of the liquid to be tested. Figure 17 This is the second schematic flowchart of liquid detection provided in the embodiments of the present invention, as shown below. Figure 17 As shown, after obtaining the parameter values ​​corresponding to each parameter category of the liquid to be tested, based on each parameter value and the calibration parameter value of the target parameter category corresponding to the reference liquid category, it can be determined whether the liquid to be tested belongs to the reference liquid category. Figure 17As shown, when determining the liquid category of the liquid to be tested, the system first checks whether the calibration parameters for inorganic substances are met based on the priority of the liquid category. If they are met, the liquid to be tested is determined to be an inorganic substance, and no further determination is made for other reference liquid categories. If the calibration parameters for inorganic substances are not met, the liquid to be tested is determined not to be an inorganic substance, and then, based on the priority of the liquid category, it is determined whether the liquid to be tested is alcohol; this process continues, and then it is determined whether it is fuel oil. If the liquid to be tested is neither alcohol nor fuel oil, then the liquid category to be tested can be determined as a safe liquid category, i.e., the target liquid category of the liquid to be tested has been determined. Optionally, during the determination process, if the liquid to be tested is determined not to be inorganic, alcohol, or fuel oil, it will all be determined as a safe liquid, where safe liquid refers to the beverage category.

[0167] In this embodiment, the priority of liquid categories is set according to the difficulty of determining each liquid category or the amount of data required. Liquid categories that are easy to determine or require less data are given a higher priority and are determined first, which can speed up the determination process and improve the efficiency of determining liquid categories.

[0168] To accurately determine the liquid category of the liquid to be tested, it can be determined based on the preset parameter value range corresponding to the target parameter category and the parameter value corresponding to the target parameter category of the liquid to be tested.

[0169] In one example embodiment, determining whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category can be achieved as follows: determining whether the parameter value of the target parameter category is within the preset parameter value range corresponding to the target parameter category; if the parameter value of the target parameter category is within the preset parameter value range, determining that the liquid category of the liquid to be detected is a reference liquid category.

[0170] Specifically, the preset parameter value range can be a range of parameter values ​​preset for a parameter category. Based on the preset parameter value range and the parameter value corresponding to the liquid to be tested, when the parameter value of the target parameter category of the liquid to be tested is within the preset parameter value range, the target liquid category of the liquid to be tested can be determined as the reference liquid category.

[0171] For example, when the reference liquid category is inorganic, the corresponding target parameter category can be the alcohol parameter. For the inorganic category, a preset parameter value range is set based on the calibrated alcohol parameter value; specifically, the alcohol parameter value must be greater than the calibrated alcohol parameter value. When the alcohol parameter value of the liquid to be tested is determined to be within this preset parameter value range, the target liquid category of the liquid to be tested can be determined to be inorganic. Optionally, when setting the preset parameter value range based on the calibrated alcohol parameter value, the calibrated alcohol parameter value can be a value greater than or equal to 2000.

[0172] For example, when the reference liquid category is alcohol, the corresponding target parameter categories can be alcohol parameter, safety parameter, and fluctuation parameter. For the alcohol category, preset parameter value ranges are set based on calibrated alcohol parameter values, calibrated safety parameter values, and calibrated fluctuation parameter values. Specifically, the alcohol parameter value is greater than the calibrated alcohol parameter value, the safety parameter value is less than the calibrated safety parameter value, and the fluctuation parameter value is less than the calibrated fluctuation parameter value. When it is determined that the alcohol parameter value, safety parameter value, and fluctuation parameter value of the liquid to be tested all fall within this preset parameter value range, then the target liquid category for the liquid to be tested can be determined to be alcohol.

[0173] For example, when the reference liquid category is fuel category, the corresponding target parameter categories can be fuel parameters, safety parameters, and peak variance parameters. For the fuel category, a preset parameter value range is set based on the calibrated fuel parameter value, calibrated safety parameter value, and calibrated peak variance parameter value. Specifically, the fuel parameter value is greater than the calibrated fuel parameter value, the safety parameter value is less than the calibrated safety parameter value, and the peak variance parameter value is less than the calibrated peak variance parameter value. When it is determined that the fuel parameter value, safety parameter value, and peak variance parameter value of the liquid to be tested all fall within this preset parameter value range, then the target liquid category of the liquid to be tested can be determined to be the fuel category.

[0174] For example, when the reference liquid category is "safe liquid," the target parameter category can be alcohol parameter, fuel parameter, safety parameter, and peak variance parameter. For the "safe liquid" category, preset parameter value ranges are set based on calibrated alcohol parameter values, calibrated fuel parameter values, calibrated safety parameter values, and calibrated peak variance parameter values. Specifically, the alcohol parameter value must be less than the calibrated alcohol parameter value, the fuel parameter value must be less than the calibrated fuel parameter value, the safety parameter value must be greater than the calibrated safety parameter value, and the peak variance parameter value must be greater than the calibrated peak variance parameter value. When it is determined that the parameters for alcohol, fuel, safety, and peak variance of the liquid to be tested all fall within this preset parameter value range, then the target liquid category for the liquid to be tested can be determined as the "safe liquid" category.

[0175] In this embodiment, based on the preset parameter value range corresponding to the target parameter category, by determining whether the parameter value corresponding to the liquid to be detected is within the preset parameter value range, it is possible to quickly and accurately determine whether the liquid to be detected is a reference liquid category, which can improve the accuracy and timeliness of liquid category detection and improve the determination efficiency of the method of the present invention.

[0176] The following describes the apparatus for determining the type of liquid in a non-metallic container based on microwave detection, provided by an embodiment of the present invention. The apparatus for determining the type of liquid in a non-metallic container based on microwave detection described below can be referred to in correspondence with the method for determining the type of liquid in a non-metallic container based on microwave detection described above.

[0177] Figure 18 This is a schematic diagram of a device for determining the type of liquid in a non-metallic container based on microwave detection, provided in an embodiment of the present invention. The device 1800 includes:

[0178] The transceiver unit 1810 is used to send microwave signals to the liquid to be tested in a non-metallic container and to receive the detection data reflected back by the liquid to be tested.

[0179] The acquisition unit 1820 is used to determine the reference liquid category with the highest priority based on the priority of the liquid category, and to acquire the target parameter category corresponding to the reference liquid category;

[0180] The first determining unit 1830 is used to determine the parameter value of the target parameter category of the liquid to be detected based on the detection data;

[0181] The determination unit 1840 is used to determine whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category;

[0182] The second determining unit 1850 is used to determine the next highest priority liquid category as the new reference liquid category when the liquid category of the liquid to be detected is not the reference liquid category, based on the priority of the liquid category, and return to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined.

[0183] In one example embodiment, the first determining unit 1830 is specifically used to: when the target parameter category includes alcohol parameters, acquire the first peak value, the second peak value, the second trough value and the third trough value in the waveform data corresponding to the detection data; and determine the parameter value of the alcohol parameter of the liquid to be detected based on the first peak value, the second peak value, the second trough value and the third trough value.

[0184] In one example embodiment, the first determining unit 1830 is specifically used to: when the target parameter category includes fuel parameters, acquire the third peak value and the fourth trough value in the waveform data corresponding to the detection data; and determine the parameter value of the fuel parameter of the liquid to be detected based on the third peak value and the fourth trough value.

[0185] In one example embodiment, the first determining unit 1830 is specifically used to: when the target parameter category includes safety parameters, acquire the first trough value and the second trough value in the waveform data corresponding to the detection data; and determine the parameter value of the safety parameter of the liquid to be detected based on the first trough value and the second trough value.

[0186] In one example embodiment, the first determining unit 1830 is specifically configured to: when the target parameter category includes a peak variance parameter, acquire the second peak value, the third peak value, the fourth peak value, and the fifth peak value in the waveform data corresponding to the detection data; determine the average peak value based on the second peak value, the third peak value, the fourth peak value, and the fifth peak value; and determine the parameter value of the peak variance parameter of the liquid to be detected based on the second peak value, the third peak value, the fourth peak value, the fifth peak value, and the average peak value.

[0187] In one example embodiment, the first determining unit 1830 is specifically configured to: determine the start data position and end data position corresponding to the reference liquid category from the waveform data corresponding to the detection data when the target parameter category includes a fluctuation parameter; determine the first average value of the sampled values ​​corresponding to each sampling point in the first waveform sub-data between the start data position and the end data position corresponding to the reference liquid category; determine the first fluctuation value corresponding to the reference liquid category based on the first average value and the sampled values ​​corresponding to each sampling point in the first waveform sub-data; and determine the parameter value of the fluctuation parameter based on the first fluctuation value corresponding to the reference liquid category and the second fluctuation value corresponding to the safe liquid, wherein the second fluctuation value is determined based on the waveform data between the start data position and the end data position in the waveform data corresponding to the detection data of the safe liquid.

[0188] In one example embodiment, the first determining unit 1830 is specifically configured to: acquire reference waveform data corresponding to reference detection data of a liquid of a reference liquid category; divide the second waveform sub-data between a preset start data position and a preset end data position in the reference waveform data to obtain a preset number of target waveform data groups; for each group of target waveform data, determine a second average value of the sampled values ​​corresponding to each sampling point in the target waveform data; based on the second average value and the sampled values ​​corresponding to each sampling point in the target waveform data, determine a third fluctuation value corresponding to the target waveform data; based on the third fluctuation value corresponding to the target waveform data and a fourth fluctuation value corresponding to the safe liquid, determine a fluctuation difference value, wherein the fourth fluctuation value is determined based on the waveform data between the preset start data position and the preset end data position in the waveform data corresponding to the detection data of the safe liquid; and based on the fluctuation difference value, determine the start data position and end data position corresponding to the reference liquid category.

[0189] In one example embodiment, when the reference liquid category includes an inorganic category, the target parameter category includes an alcohol parameter; when the reference liquid category includes an alcohol category, the target parameter category includes an alcohol parameter, a safety parameter, and a fluctuation parameter; when the reference liquid category includes a fuel category, the target parameter category includes a fuel parameter, a safety parameter, and a peak variance parameter; when the reference liquid category includes a beverage category, the target parameter category includes an alcohol parameter, a fuel parameter, a safety parameter, and a peak variance parameter.

[0190] In one example embodiment, the liquid category includes an inorganic category, an alcohol category, a fuel category, and a beverage category; the inorganic category has a higher priority than the alcohol category; the alcohol category has a higher priority than the fuel category; and the fuel category has a higher priority than the beverage category.

[0191] In one example embodiment, the determination unit 1840 is specifically used to: determine whether the parameter value of the target parameter category is within the preset parameter value range corresponding to the target parameter category; and if the parameter value of the target parameter category is within the preset parameter value range, determine the liquid category of the liquid to be detected as the reference liquid category.

[0192] The apparatus of this embodiment can be used to execute the method of any embodiment in the side embodiment of the method for determining the type of liquid in a non-metallic container based on microwave detection. Its specific implementation process and technical effects are similar to those in the side embodiment of the method for determining the type of liquid in a non-metallic container based on microwave detection. For details, please refer to the detailed description in the side embodiment of the method for determining the type of liquid in a non-metallic container based on microwave detection, which will not be repeated here.

[0193] Figure 19 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present invention, such as... Figure 19As shown, the electronic device 1900 may include: a processor 1910, a communications interface 1920, a memory 1930, and a communications bus 1940, wherein the processor 1910, the communications interface 1920, and the memory 1930 communicate with each other through the communications bus 1940. The processor 1910 can call logic instructions in the memory 1930 to execute a method for determining the type of liquid in a non-metallic container based on microwave detection. The method includes: sending a microwave signal to the liquid to be detected in the non-metallic container and receiving detection data reflected back by the liquid to be detected; determining a reference liquid category with the highest priority based on the priority of the liquid category and obtaining the target parameter category corresponding to the reference liquid category; determining the parameter value of the target parameter category of the liquid to be detected based on the detection data; determining whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category; if it is determined that the liquid category of the liquid to be detected is not a reference liquid category, determining the second highest priority liquid category as a new reference liquid category based on the priority of the liquid category, and returning to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined.

[0194] Furthermore, the logical instructions in the aforementioned memory 1930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0195] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for determining the liquid category in a non-metallic container based on microwave detection provided by the above methods. The method includes: sending a microwave signal to the liquid to be detected in the non-metallic container and receiving detection data reflected back by the liquid to be detected; determining a reference liquid category with the highest priority based on the priority of the liquid category and obtaining a target parameter category corresponding to the reference liquid category; determining the parameter value of the target parameter category of the liquid to be detected based on the detection data; determining whether the liquid category of the liquid to be detected is a reference liquid category based on the parameter value of the target parameter category; if it is determined that the liquid category of the liquid to be detected is not a reference liquid category, determining the second highest priority liquid category as a new reference liquid category based on the priority of the liquid category, and returning to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined.

[0196] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements a method for determining the type of liquid in a non-metallic container based on microwave detection, as provided by the methods described above. The method includes: sending a microwave signal to the liquid to be detected in the non-metallic container and receiving detection data reflected back by the liquid to be detected; determining a reference liquid type with the highest priority based on the priority of the liquid type and obtaining a target parameter type corresponding to the reference liquid type; determining a parameter value of the target parameter type of the liquid to be detected based on the detection data; determining whether the liquid type of the liquid to be detected is a reference liquid type based on the parameter value of the target parameter type; if it is determined that the liquid type of the liquid to be detected is not a reference liquid type, determining the second highest priority liquid type as a new reference liquid type based on the priority of the liquid type, and returning to the step of obtaining the target parameter type corresponding to the reference liquid type, until the target liquid type of the liquid to be detected is determined.

[0197] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0198] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0199] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining the category of a liquid in a non-metallic container based on microwave detection, characterized in that, include: A microwave signal is sent to the liquid to be tested in a non-metallic container, and the detection data reflected back by the liquid to be tested is received. Based on the priority of liquid categories, determine the reference liquid category with the highest priority, and obtain the target parameter category corresponding to the reference liquid category; Based on the detection data, the parameter values ​​for the target parameter category of the liquid to be detected are determined; Based on the parameter values ​​of the target parameter category, determine whether the liquid category of the liquid to be detected is the reference liquid category; If it is determined that the liquid category of the liquid to be detected is not the reference liquid category, the liquid category with the second highest priority is determined as the new reference liquid category based on the priority of the liquid category, and the process returns to the step of obtaining the target parameter category corresponding to the reference liquid category, until the target liquid category of the liquid to be detected is determined; The step of determining the parameter value of the target parameter category of the liquid to be detected based on the detection data includes: When the target parameter category includes alcohol parameters, the first peak value, the second peak value, the second trough value, and the third trough value in the waveform data corresponding to the detection data are obtained. Based on the first peak value, the second peak value, the second trough value, and the third trough value, the parameter values ​​of the alcohol parameter of the liquid to be tested are determined; The step of determining the parameter value of the target parameter category of the liquid to be detected based on the detection data includes: When the target parameter category includes fuel parameters, the third peak value and the fourth trough value in the waveform data corresponding to the detection data are obtained; Based on the third peak value and the fourth trough value, the parameter values ​​of the fuel parameters of the liquid to be detected are determined; The step of determining the parameter value of the target parameter category of the liquid to be detected based on the detection data includes: When the target parameter category includes safety parameters, the first trough value and the second trough value in the waveform data corresponding to the detection data are obtained; Based on the first trough value and the second trough value, the parameter values ​​of the safety parameters of the liquid to be tested are determined; The step of determining the parameter value of the target parameter category of the liquid to be detected based on the detection data includes: When the target parameter category includes the peak variance parameter, the second peak value, the third peak value, the fourth peak value, and the fifth peak value in the waveform data corresponding to the detection data are obtained; The average peak value is determined based on the second peak value, the third peak value, the fourth peak value, and the fifth peak value. Based on the second peak value, the third peak value, the fourth peak value, the fifth peak value, and the average peak value, the parameter value of the peak variance parameter of the liquid to be detected is determined; The step of determining the parameter value of the target parameter category of the liquid to be detected based on the detection data includes: When the target parameter category includes fluctuation parameters, the start and end data positions corresponding to the reference liquid category are determined from the waveform data corresponding to the detection data; Determine the first average value of the sampled values ​​corresponding to each sampling point in the first waveform sub-data between the start data position and the end data position corresponding to the reference liquid category; Based on the first average value and the sampled values ​​corresponding to each sampling point in the first waveform sub-data, the first fluctuation value corresponding to the reference liquid category is determined; Based on the first fluctuation value corresponding to the reference liquid category and the second fluctuation value corresponding to the safe liquid, the parameter value of the fluctuation parameter is determined. The second fluctuation value is determined based on the waveform data between the start data position and the end data position in the waveform data corresponding to the detection data of the safe liquid.

2. The method for determining the type of liquid in a non-metallic container based on microwave detection according to claim 1, characterized in that, Determining the start and end data positions corresponding to the reference liquid category from the waveform data corresponding to the detection data includes: Obtain reference waveform data corresponding to the reference detection data of the liquid of the reference liquid category; The second waveform sub-data between the preset start data position and the preset end data position in the reference waveform data is divided to obtain a preset number of target waveform data groups. For each set of target waveform data, determine the second average value of the sampled values ​​corresponding to each sampling point in the target waveform data; Based on the second average value and the sampled values ​​corresponding to each sampling point in the target waveform data, the third fluctuation value corresponding to the target waveform data is determined; Based on the third fluctuation value corresponding to the target waveform data and the fourth fluctuation value corresponding to the safe liquid, a fluctuation difference is determined. The fourth fluctuation value is determined based on the waveform data between the preset start data position and the preset end data position in the waveform data corresponding to the detection data of the safe liquid. Based on the fluctuation difference, the starting and ending data positions corresponding to the reference liquid category are determined.

3. The method for determining the type of liquid in a non-metallic container based on microwave detection according to claim 1, characterized in that, If the reference liquid category includes an inorganic category, the target parameter category includes an alcohol parameter; When the reference liquid category includes alcohol, the target parameter category includes alcohol parameters, safety parameters, and fluctuation parameters; When the reference fluid category includes a fuel category, the target parameter category includes fuel parameters, safety parameters, and peak variance parameters; When the reference liquid category includes a beverage category, the target parameter category includes alcohol parameters, fuel parameters, safety parameters, and peak variance parameters.

4. The method for determining the type of liquid in a non-metallic container based on microwave detection according to claim 1, characterized in that, The liquid categories include inorganic substances, alcoholic beverages, fuels, and beverages. The inorganic category has a higher priority than the alcohol category; the alcohol category has a higher priority than the fuel category; and the fuel category has a higher priority than the beverage category.

5. The method for determining the type of liquid in a non-metallic container based on microwave detection according to any one of claims 1-4, characterized in that, The step of determining whether the liquid category of the liquid to be detected is the reference liquid category based on the parameter value of the target parameter category includes: Determine whether the parameter value of the target parameter category is within the preset parameter value range corresponding to the target parameter category; If the parameter value of the target parameter category is within the range of the preset parameter value, the liquid category of the liquid to be detected is determined as the reference liquid category.

Citation Information

Patent Citations

  • Liquid identification method, vector extraction method, liquid identification device and storage medium

    CN109470720A

  • Method and device for accurately detecting excrement and urine based on multi-modal fusion processing, processor and computer readable storage medium thereof

    CN115319745A