Nondestructive Detection of Sweet Orange Granulation Using Noncontact Acoustic Vibration and Attention-Based Deep Learning
Abstract
Granulation is a major physiological disorder that compromises sweet orange quality. Conventional destructive detection methods lead to food waste and cannot be used for batch inspection. This study proposes a nondestructive approach for detecting granulation in sweet oranges using air-jet transient excitation and a laser Doppler vibrometer (LDV). Acoustic vibration spectra were acquired from 640 sweet orange samples. Using both competitive adaptive reweighted sampling (CARS)-extracted feature parameters and raw acoustic vibration spectra as inputs, an ISNet-1D model integrating a multi-scale Inception module and a squeeze-and-excitation (SE) attention mechanism was developed, and its performance was compared against those of partial least squares discriminant analysis (PLS-DA), support vector machine (SVM), K-nearest neighbor (KNN), random forest (RF), and baseline deep learning models including one-dimensional convolutional neural network (1D-CNN), Visual Geometry Group network 16 (VGG16), and residual network v1 (ResNet-v1). The results demonstrated that the ISNet-1D model trained on the full raw vibration spectrum achieved the best performance, with an overall test set accuracy, recall, and specificity of 92.97%, 95.00%, and 91.18%, respectively. Ablation experiments revealed that removal of the Inception branches and the SE module reduced the overall test accuracy by 5.47% and 4.69%, respectively, indicating that their combination effectively extracts multi-scale acoustic vibration features and enhances model precision. Gradient-weighted class activation mapping further identified the critical frequency bands primarily relied upon by the model for prediction. Collectively, noncontact acoustic vibration detection combined with ISNet-1D provides a viable method for nondestructive granulation detection in sweet oranges.