The total volatile basic nitrogen (TVB-N) is the main indicator for evaluating the freshness of fish meal, and accurate detection and monitoring of TVB-N is of great significance for the health of animals and humans. Here, to realize fast and accurate identification of TVB-N, in this article, a self-developed electronic nose (e-nose) was used, and the mapping relationship between the gas sensor response characteristic information and TVB-N value was established to complete the freshness detection. The TVB-N variation curve was decomposed into seven subsequences with different frequency scales by means of variational mode decomposition (VMD). Each subsequence was modelled using different long short-term memory (LSTM) models, and finally, the final TVB-N prediction result was obtained by adding the prediction results based on different frequency components. To improve the performance of the LSTM, the sparrow search algorithm (SSA) was used to optimize the number of hidden units, learning rate and regularization coefficient of LSTM. The prediction results indicated that the high accuracy was obtained by the VMD-LSTM model optimized by SSA in predicting TVB-N. The coefficient of determination (R2), the root-mean-squared error (RMSE) and relative standard deviation (RSD) between the predicted value and the actual value of TVBN were 0.91, 0.115 and 6.39%. This method improves the performance of e-nose in detecting the freshness of fish meal and provides a reference for the quality detection of e-nose in other materials. © 2024 Society of Chemical Industry.
Read full abstract