The volatiles in coffee play an important part in the overall flavor profile. In this study, GC–TOF/MS and GC×GC–TOF/MS were used to detect the volatile organic compounds (VOCs) in coffee samples of three different brands at three states (bean, powder, and brew). The differences between the two methods in characterizing VOCs were analyzed using the Venn diagram and PCA (principal component analysis). The important aroma-contributing compounds were further compared and analyzed. The results of the venn diagrams of different coffee samples showed that most VOCs existed in 2–3 kinds of coffee. The PCA of VOCs in different coffee samples showed that the VOCs detected by GC–TOF/MS could distinguish the coffee samples in the different states. GC×GC–TOF/MS was suitable for the further identification and differentiation of the different brands of coffee samples. In addition, pyridine, pyrrole, alcohols, and phenols greatly contributed to distinguishing coffee in three states, and alcohols greatly contributed to distinguishing the three brands of coffee.
Rolling is a critical step in the processing of black tea, marking the beginning of fermentation. At this stage, the formation of tea pigments causes significant changes in the color of the processed leaves, laying the essential groundwork for the development of color and flavor quality components in subsequent fermentation processes. However, the rapid and non-destructive sensing of tea pigments during black tea rolling remains challenging. This study focused on black tea products undergoing rolling as its research subject, utilizing electrical characteristic detection technology to collect time-series electrical parameters of rolling leaves at various testing frequencies. The original electrical parameters were preprocessed using multiplicative scatter correction (MSC), min-max normalization (Min-Max), and smoothing (Smooth). Various selection methods, including the competitive adaptive reweighting algorithm (CARS), uninformative variable elimination (UVE), and the variable combination population analysis and iterative retained information variable algorithm (VCPA-IRIV), were employed to identify electrical parameters relevant to the targeted attributes. Quantitative prediction models for the content of tea pigments were established using partial least squares regression (PLSR) and support vector machine regression (SVR). The results demonstrated that the Smooth-VCPA-IRIV-SVR model exhibited superior performance in predicting the contents of theaflavins (TFs), thearubigins (TRs), and theabrownins (TBs). Correlation coefficients of prediction (Rp) all exceeded 0.99, and Relative prediction deviation (RPD) values were all above 6.5, indicating that the model enables rapid and non-destructive detection of tea pigment content during black tea rolling. These findings provide preliminary technical support and reference for the digital production of black tea.