Design and implementation of a microwave microstrip sensor with convolutional neural network for real-time milk spoilage detection
Milk spoilage detection plays a pivotal role in safeguarding food safety and minimizing waste within the dairy sector, although conventional chemical assays remain labor-intensive, invasive, and expensive. The present investigation introduces a non-invasive microwave microstrip sensor coupled with a convolutional neural network (CNN) for real-time assessment of milk spoilage progression. The sensor, modeled and optimized using Advanced Design System (ADS) software to exhibit dual passbands (1807–2466 MHz and 3604–4426 MHz), was fabricated on an RT/Duroid 4003 substrate and evaluated using 10 commercial milk samples (3% fat) procured sequentially over 10 days and maintained at 21°C. Measurements of the S21 transmission parameter (101 frequency points per spectrum, with five replicates per sample yielding 50 spectra in total) demonstrated a substantial amplitude disparity, notably at 2166 MHz, where the difference between the freshest (day 10) and most spoiled (day 1) samples attained 7.02 dB—equivalent to approximately 105 times the mean standard deviation (0.067 dB)—facilitating robust differentiation of dielectric alterations attributable to microbial degradation. A one-dimensional CNN was trained on preprocessed spectral data augmented fivefold with white Gaussian noise using five variable standard deviations (σ = 0.20–0.60 dB) to simulate real-world measurement fluctuations, expanding the dataset from 50 to 250 spectra and attaining a training accuracy of 95.5% and a validation accuracy of 90%. This hybrid methodology surpasses traditional approaches in terms of rapidity and non-destructiveness, providing a viable framework for milk quality surveillance with applicability to other perishable commodities. • A dual-band microwave microstrip sensor was developed for milk spoilage detection. • S21 amplitude variation reached 7.02 dB at 2166 MHz between fresh and spoiled milk. • A 1D convolutional neural network classified spoilage levels with 90% accuracy. • The system enables real-time, non-invasive, and label-free milk quality monitoring. • This hybrid approach outperforms traditional chemical and microbiological assays.
Authors
- Gholam Hossein Roshani (ORCID: https://orcid.org/0000-0002-3328-1502)
- Umer Hameed Shah (ORCID: https://orcid.org/0000-0001-9128-0447)
- Mohammad Sattari (ORCID: https://orcid.org/0000-0002-6091-4248)
- Ali Khoshchehre
Institutions
- Ajman University (AE)
- City University Ajman (AE)
- Kermanshah University of Technology (IR)
Publication Details
- Journal
- Sensors International
- Published
- 2025-10-17
- DOI
- https://doi.org/10.1016/j.sintl.2025.100353
- Citations
- 1
- Primary Topic
- Food Supply Chain Traceability
- Type
- article
- Field-Weighted Citation Impact
- 1.16