采用太赫兹(terahertz,THz)光谱分析技术无损检测猪肉的新鲜度K值,但水会强烈吸收THz波,从而严重影响THz波对肉的检测。考察预处理方法对削弱水的干扰、提升THz光谱检测猪肉K值的模型性能的影响。分别采用多元散射校正、标准正态变量变换、一阶微分、二阶微分4?种预处理方法对衰减全反射光谱进行预处理,基于反向传播人工神经网络回归算法建立猪肉K值的THz光谱预测模型,比较研究4?种预处理方法后的模型预测精度。研究表明:一阶微分预处理方法效果最好,能够消除光谱基线漂移,提高光谱质量。与原始光谱相比,模型的预测集相关系数(Rp)从0.34提高到0.75,预测集均方根误差从20.24%降低到14.36%。因此,选择合适的光谱预处理技术对提高模型预测精度非常重要,采用一阶微分预处理后的THz光谱数据建立反向传播人工神经网络模型能够无损检测猪肉的新鲜度K值。
Adenosine triphosphate (ATP) and its degradation products, which are related to freshness K value, can absorb terahertz (THz) waves due to molecular rotation and vibration and overall vibration of molecular clusters. Thus, THz spectroscopy can be used to detect the K value of pork non-destructively. However, water can strongly absorb THz waves as well, which will affect the accuracy of the obtained results. In this study, different spectral preprocessing methods were compared for their efficiencies in weakening water interference and improving the performance of predictive models in the detection of pork K value by THz spectroscopy. Four spectral preprocessing methods, including multiple scatter correction (MSC), standard normal variate transformation (SNVT), first derivative (FD) and second derivative (SD), were employed to preprocess the original attenuated total reflectance (ATR) infrared spectra. Predictive models were established by back-propagation artificial neural network (BP-ANN) regression algorithm, and their precisions?were compared. The results showed that the FD pretreatment method was the most effective in eliminating baseline drift and improving the spectral quality. Compared with the predictive model without pretreatment, the correlation coefficient of prediction set (Rp) of the FD model was increased from 0.34 to 0.75, and the root mean square error of prediction set (RMSEP) was reduced from 20.24% to 14.36%. This study highlighted the importance of selecting the appropriate spectral pretreatment method to improve the predictive accuracy of models. The BP-ANN model based on FD pretreatment of THz spectra can be used to non-destructively detect pork freshness K value.