Abstract
Advancing near-infrared (NIR) spectroscopic sensing technologies for real-world applications, such as robot-mounted in-field quality assessment of intact fruits, requires pushing instrument performance to enable robust measurements under challenging conditions. Measuring heterogeneous fruits such as strawberries requires the use of interaction geometries with spatially separated illumination and detection, enabling deeper probing and more representative sampling of the fruit interior than conventional reflection measurements. This deeper probing, however, comes at the expense of signal strength, increasing sensitivity to environmental disturbances. Here, we demonstrate non-contact NIR interaction spectroscopy for determining total soluble solids (TSS), a measure of sugar content, in strawberries directly on the plant, while addressing the challenge of strong and fluctuating ambient illumination.
Measurements were performed using a compact NIR instrument designed for robotic operation, acquiring interactance spectra over 750–1020 nm. To enable measurements under daylight conditions, ambient illumination was continuously sampled using a shutter and subtracted from the measured signal. A partial least squares regression model for TSS was calibrated using laboratory measurements of 200 strawberries and evaluated on an independent test set of 100 strawberries measured on the plant under varying illumination conditions.
On-the-plant measurements at night showed prediction performance comparable to laboratory measurements, confirming reliable operation when ambient illumination was negligible. Under daylight conditions, ambient illumination reached levels up to 25 times higher than the interactance signal. Rapid ambient sampling effectively corrected the ambient contribution, preventing fluctuations in ambient illumination from introducing systematic spectral distortions. The degradation in prediction performance under daylight conditions was primarily caused by unavoidable photon noise from the ambient illumination, reducing the signal-to-noise ratio and requiring longer acquisition times. Low-quality spectra could be identified and excluded using a simple spectral quality criterion. With an acquisition time of approximately 10 s, prediction errors remained below 1.4% TSS even under direct sunlight, demonstrating performance suitable for practical fruit quality screening applications.
Overall, this work demonstrates reliable non-contact assessment of internal fruit quality directly on the plant under realistic daylight conditions. More broadly, the results demonstrate how a physics-based understanding of environmental disturbances can be used to push the limits of spectroscopic sensing by identifying both opportunities for improving measurement robustness and fundamental limitations to instrument performance, supporting the development of robust sensing solutions for real-world applications.