Smart Detection of Faults in Beers Using Near-Infrared Spectroscopy, a Low-Cost Electronic Nose and Artificial Intelligence

Claudia Gonzalez Viejo,Sigfredo Fuentes,Carmen Hernandez-Brenes
DOI: https://doi.org/10.3390/fermentation7030117
2021-07-15
Fermentation
Abstract:Early detection of beer faults is an important assessment in the brewing process to secure a high-quality product and consumer acceptability. This study proposed an integrated AI system for smart detection of beer faults based on the comparison of near-infrared spectroscopy (NIR) and a newly developed electronic nose (e-nose) using machine learning modelling. For these purposes, a commercial larger beer was used as a base prototype, which was spiked with 18 common beer faults plus the control aroma. The 19 aroma profiles were used as targets for classification ma-chine learning (ML) modelling. Six different ML models were developed; Model 1 (M1) and M2 were developed using the NIR absorbance values (100 inputs from 1596–2396 nm) and e-nose (nine sensor readings) as inputs, respectively, to classify the samples into control, low and high concentration of faults. Model 3 (M3) and M4 were based on NIR and M5 and M6 based on the e-nose readings as inputs with 19 aroma profiles as targets for all models. A customized code tested 17 artificial neural network (ANN) algorithms automatically testing performance and neu-ron trimming. Results showed that the Bayesian regularization algorithm was the most adequate for classification rendering precisions of M1 = 95.6%, M2 = 95.3%, M3 = 98.9%, M4 = 98.3%, M5 = 96.8%, and M6 = 96.2% without statistical signs of under- or overfitting. The proposed system can be added to robotic pourers and the brewing process at low cost, which can benefit craft and larger brewing companies.
What problem does this paper attempt to address?