Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Jun 11;14(1):13413.
doi: 10.1038/s41598-024-62287-6.

Near-field microwave sensing technology enhanced with machine learning for the non-destructive evaluation of packaged food and beverage products

Affiliations

Near-field microwave sensing technology enhanced with machine learning for the non-destructive evaluation of packaged food and beverage products

Ali Darwish et al. Sci Rep. .

Abstract

In the food industry, the increasing use of automatic processes in the production line is contributing to the higher probability of finding contaminants inside food packages. Detecting these contaminants before sending the products to market has become a critical necessity. This paper presents a pioneering real-time system for detecting contaminants within food and beverage products by integrating microwave (MW) sensing technology with machine learning (ML) tools. Considering the prevalence of water and oil as primary components in many food and beverage items, the proposed technique is applied to both media. The approach involves a thorough examination of the MW sensing system, from selecting appropriate frequency bands to characterizing the antenna in its near-field region. The process culminates in the collection of scattering parameters to create the datasets, followed by classification using the Support Vector Machine (SVM) learning algorithm. Binary and multiclass classifications are performed on two types of datasets, including those with complex numbers and amplitude data only. High accuracy is achieved for both water-based and oil-based products.

Keywords: Antenna; Electromagnetic modeling; Machine learning; Microwave sensing; Near-field sensing; Non-destructive technique.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Figure 1
Figure 1
The complete measurement system comprises: (1) the conveyor belt, (2) the jar under test, (3) the antennas, (4) the vector network analyzer (VNA), (5) the shielding box.
Figure 2
Figure 2
The EM characteristics of water and oil. (a) Relative permittivity and conductivity of water. (b) Relative permittivity and conductivity of oil. (c) Penetration depth within water. (d) Penetration depth within oil. The dotted lines within (c,d) denote the upper limit for the frequency range selected for carrying out our measurements on the samples.
Figure 3
Figure 3
(a) Front view of the design, (b) rear view of the design, (c) front view after fabrication, (d) rear view after fabrication. Red labels indicate the following: L1 and L2 represent the width and length of the antenna’s transmission line, while R1 and R2 denote the longer and shorter radii of the four ellipses comprising the antenna structure. Additionally, L3 and L4 correspond to the dimensions of the V-cut triangular shape in the ground plane.
Figure 4
Figure 4
The system for near-field measurements. (a) The measurement setup displays the transmitting antenna, denoted as 1, which is the flower antenna used in the setup. (b) The measurement setup also features the receiving wideband horn antenna, labeled as 2.
Figure 5
Figure 5
The measured amplitude of reflection coefficients for the realized antenna in three scenarios: with an empty jar, with a jar filled with oil, and with a jar filled with water.
Figure 6
Figure 6
The measured amplitude of the antenna’s near-field (normalized to the maximum magnitude value across all frequency points) in the absence of any jar at: (a) 2 GHz, (b) 4 GHz, (c) 6 GHz, (d) 8 GHz, and (e) 10 GHz The rectangular shape featured in the plot indicates the anticipated location of the food jar within the measurement system.
Figure 7
Figure 7
The design system used for E-field spatial coverage analysis.
Figure 8
Figure 8
The E-field spatial coverage at 2.5 GHz inside the water jar: (a) incident, (b) total, and (c) scattered.
Figure 9
Figure 9
The simulation system similar to the measurements except for the presence of the foreign body.
Figure 10
Figure 10
Time-domain analysis.
Figure 11
Figure 11
The amplitude of the IFFT results for the measured reflection coefficients.
Figure 12
Figure 12
The time frame of one complete data acquisition (one single measurement).
Figure 13
Figure 13
The normalized amplitude of the scattering matrix [Sn] for two uncontaminated samples under test: (a) water, (b) oil.
Figure 14
Figure 14
Projection of PCA results onto the three most significant eigenvectors. (a) Complex nature dataset (Water). (b) Amplitude-only dataset (Water). (c) Complex nature dataset (Oil). (d) Amplitude-only dataset (Oil).

Similar articles

References

    1. Alamri M, et al. Food packaging’s materials: A food safety perspective. Saudi J. Biol. Sci. 2021;28:4490–4499. doi: 10.1016/j.sjbs.2021.04.047. - DOI - PMC - PubMed
    1. Haff R, Toyofuku N. X-ray detection of defects and contaminants in the food industry. Sens. Instrum. Food Qual. Saf. 2008 doi: 10.1007/s11694-008-9059-8. - DOI
    1. Liu, B. & Zhou, W. The research of metal detectors using in food industry. In Proceedings of 2011 International Conference on Electronics and Optoelectronics. 43–45 (2011).
    1. Wang W, Paliwal J. Near-infrared spectroscopy and imaging in food quality and safety. Sens. Instrum. Food Qual. Saf. 2007;1:193–207. doi: 10.1007/s11694-007-9022-0. - DOI
    1. Gowen AA, O’Sullivan C, O’Donnell C. Terahertz time domain spectroscopy and imaging: Emerging techniques for food process monitoring and quality control. Trends Food Sci. Technol. 2012;25:40–46. doi: 10.1016/j.tifs.2011.12.006. - DOI