This study aimed to establish a rapid and practical method for monitoring and predicting volatile compounds during coffee roasting using near-infrared (NIR) spectroscopy coupled with chemometrics. Washed Arabica coffee beans from Ethiopia and Congo were roasted to industry-validated light, medium, and dark degrees. Concurrent analysis of the samples was performed using gas chromatography-mass spectrometry (GC-MS) and NIR spectroscopy, generating datasets for partial least squares (PLS) regression analysis. The results showed that NIR spectroscopy successfully differentiated the differently roasted samples, similar to the discrimination achieved by GC-MS. This finding highlights the potential of NIR spectroscopy as a rapid tool for monitoring and standardizing the degree of coffee roasting in the industry. A PLS regression model was developed using Ethiopian samples to explore the feasibility of NIR spectroscopy to indirectly measure the volatiles that are important in classifying the roast degree. For PLSR, the data underwent autoscaling as a preprocessing step, and the optimal number of latent variables (LVs) was determined through cross-validation, utilizing the root mean squared error (RMSE). The model was further validated using Congo samples and successfully predicted (with R2 values > 0.75 and low error) over 20 volatile compounds, including furans, ketones, phenols, and pyridines. Overall, this study demonstrates the potential of NIR spectroscopy as a practical and rapid method to complement current techniques for monitoring and predicting volatile compounds during the coffee roasting process.
Read full abstract