Next Article in Journal
Thermodynamic Equilibrium Study of Anaerobic Digestion through Helmholtz Equation of State
Next Article in Special Issue
Spatially Offset Raman Spectroscopic (SORS) Analysis of Wine Alcoholic Fermentation: A Preliminary Study
Previous Article in Journal
Degradation Kinetics of Lignocellulolytic Enzymes in a Biogas Reactor Using Quantitative Mass Spectrometry
Previous Article in Special Issue
Non-Invasive Digital Technologies to Assess Wine Quality Traits and Provenance through the Bottle
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Impact of Wet Fermentation on Coffee Quality Traits and Volatile Compounds Using Digital Technologies

by
Hanjing Wu
1,
Claudia Gonzalez Viejo
1,*,
Sigfredo Fuentes
1,
Frank R. Dunshea
1,2 and
Hafiz A. R. Suleria
1,3,*
1
Digital Agriculture, Food and Wine Group, School of Agriculture and Food, Faculty of Veterinary and Agricultural Sciences, The University of Melbourne, Parkville, VIC 3010, Australia
2
Faculty of Biological Sciences, The University of Leeds, Leeds LS2 9JT, UK
3
Centre for Chemistry and Biotechnology, School of Life and Environmental Sciences, Deakin University, Waurn Ponds, VIC 3217, Australia
*
Authors to whom correspondence should be addressed.
Fermentation 2023, 9(1), 68; https://doi.org/10.3390/fermentation9010068
Submission received: 8 December 2022 / Revised: 5 January 2023 / Accepted: 10 January 2023 / Published: 13 January 2023

Abstract

:
Fermentation is critical for developing coffee’s physicochemical properties. This study aimed to assess the differences in quality traits between fermented and unfermented coffee with four grinding sizes of coffee powder using multiple digital technologies. A total of N = 2 coffee treatments—(i) dry processing and (ii) wet fermentation—with grinding levels (250, 350, 550, and 750 µm) were analysed using near-infrared spectrometry (NIR), electronic nose (e-nose), and headspace/gas chromatography–mass spectrometry (HS-SPME-GC-MS) coupled with machine learning (ML) modelling. Most overtones detected by NIR were within the ranges of 1700–2000 nm and 2200–2396 nm, while the enhanced peak responses of fermented coffee were lower. The overall voltage of nine e-nose sensors obtained from fermented coffee (250 µm) was significantly higher. There were two ML classification models to classify processing and brewing methods using NIR (Model 1) and e-nose (Model 2) values as inputs that were highly accurate (93.9% and 91.2%, respectively). Highly precise ML regression Model 3 and Model 4 based on the same inputs for NIR (R = 0.96) and e-nose (R = 0.99) were developed, respectively, to assess 14 volatile aromatic compounds obtained by GC-MS. Fermented coffee showed higher 2-methylpyrazine (2.20 ng/mL) and furfuryl acetate (2.36 ng/mL) content, which induces a stronger fruity aroma. This proposed rapid, reliable, and low-cost method was shown to be effective in distinguishing coffee postharvest processing methods and evaluating their volatile compounds, which has the potential to be applied for coffee differentiation and quality assurance and control.

1. Introduction

Coffee is one of the most prevalent beverages worldwide owing to its stimulating function, rich and complex aroma and flavour, and health benefits. Coffee’s sensory quality depends on various factors in the entire production chain, such as plant varieties, geographical and climate conditions, processing methods, roasting levels, storage, and brewing methods [1,2]. Generally, green coffee seeds can be obtained using one of three methods, including dry, semi-dry, and wet processing [1].
Fermentation is the critical procedure in wet processing to submerge de-pulped coffee beans underwater to remove the attached mucilage with the involvement of microorganisms [3]. The chemical composition of coffee seeds can be altered during fermentation by metabolic processes, especially the concentration of water-soluble compounds, including free amino acids, free sugars (glucose and fructose), caffeine, trigonelline, and chlorogenic acids [4]. Different microorganisms, such as yeast, bacteria, and fungi, can produce various enzymes, alcohols, and acids from sugar consumption, which may influence the sweetness, acidity, and salt content of coffee beans [5,6]. Free amino acids and soluble carbohydrates are prominent precursors of volatile and non-volatile compounds, including carbon dioxide, ketones, pyrazines, acetic acid, glycerol, ethers, and aldehydes, which would affect the development of the coffee flavour and colour in the following roasting process [2,7,8]. Furan derivatives (25–41%) are the most volatile compounds contributing to the coffee flavour, with sweet, bread-like, and caramel aromas [9]. However, Knopp, Bytof and Selmar [7] reported that fermented coffee beans contained lower fructose and glucose than dry-processed coffee beans, which could influence the generation of furan derivatives during Maillard reactions and caramelisation because of the lack of substrates. Pyrazines, known for their hazelnut aroma, are the second most abundant volatile compounds in coffee at around 25 to 39%, which are also generated through complex interactions between sugar and amino acids [10]. Phenols or phenolic compounds are also important aromatic contributors in coffee brew. For example, chlorogenic acids in coffee beans could bring a bitter, acidic, and astringent flavour to coffee brew [11]. Duarte, Pereira and Farah [4] and Lee, et al. [12] commented that fermented coffee has more a aromatic flavour, with fruity and acidic attributes, and with fewer bitter, burnt, and woody notes. Haile and Kang [8] also reported that most indigenous microorganisms presumably lack important characteristics and cannot improve the coffee’s flavour and aroma as expected. It is notable that ketones could be the most significant off-flavour makers when coffee beans are overfermented [13].
Brewing is another avenue bringing considerable impact on the sensory properties of final coffee products at the consumer end, related to the particle size of the coffee powder, infusion time, and temperature [14,15]. After grinding, the beans are reduced into small particles with a micro and mesoscale dimension, which generally ranges from micrometers to around 1000 µm [16]. Therefore, the coffee’s aromatic compounds developed in the coffee seeds could be released, extracted, and dissolved into the final beverage when brewing [2]. Commonly, the particle size of ground coffee is classified into four groups: coarse, medium, fine, and very fine. The formation of smaller coffee powders provides a large particle surface that allows the rapid liberation of carbon dioxide and the reduction in the diffusion distance for soluble substances during brewing, which improves the transfer of colloidal substances to the liquid phase, as well as the physicochemical and final sensory properties [16,17].
Generally, headspace solid-phase microextraction/gas chromatography–mass spectrometry (HS-SPME/GC-MS) is used for coffee beverages to discriminate and evaluate the chemical patterns of aromatic volatile compounds [6,18]. The sensory analysis of coffee aroma is also widely conducted via quantitative descriptive analysis (QDA®) with a descriptive sensory panel [19]. However, considering the recognition threshold level and accuracy of human perceptions, it could induce stimulus errors and be less objective, sensible, and more time-consuming [20,21,22]. Electronic nose (e-nose) with artificial neural networks (ANNs) has been developed and used commercially as a substitute of those traditional methods when assessing aromas or other chemometrics in beer, wine, tea, juices, and meat [23,24,25,26,27]. Similarly, developed e-nose has also been used in coffee to assess, discriminate, and predict the sensory descriptors and geographical origin, roasting degree, and cultivar [18,28,29,30]. Although it has multiple advantages, including minimum levels of sample preparation required, interferences among involved chemical reagents, and the simultaneous determination of multiple compounds, the majority of commercial e-nose devices are non-portable and still cost-prohibitive for small and medium companies [31,32]. Moreover, scarce information is available on comparing natural and fermented coffee; the combination of GC-MS and e-nose coupled with machine learning modelling could be applied to distinguish and predict the differences between volatile compounds in natural and fermented coffee.
Therefore, this study aimed to assess the differences in quality traits between fermented and unfermented coffee brewed from four grinding levels of coffee powder using digital technologies, including NIR, portable, and low-cost e-nose, GC-MS, and supervised machine learning (ML) modelling. A total of four ML models were developed using NIR (Model 1) and e-nose (Model 2) as inputs to classify the coffee types. Models 3 and 4 were developed using NIR and e-nose outputs as inputs, respectively, to predict the relative abundance based on the peak area of 14 volatile aromatic compounds measured by GC-MS.

2. Materials and Methods

2.1. Sample Preparation

A total of ten (n = 10) natural (n = 5) and fermented (n = 5) arabica coffee beans (250 g per kind) with two varieties (geisha and bourbon) were purchased online from eight different companies, traders, or retailers: (1) Tin Man Coffee Roasters, Melbourne, Australia; (2) Ninety Plus Coffee Estates, LLC, Volcán, Panama; (3) BENCH COFFEE CO. LT COLLINS, Melbourne, Australia; (4) Vacation Coffee, Melbourne, Australia; (5) Manhattan Coffee Roasters, Rotterdam, Netherlands; (6) Code Black Investments Pty Ltd., Melbourne, Australia; (7) ONA Coffee, Melbourne, Australia; and (8) Proud Mary Coffee Roasters PTY Ltd., Melbourne, Australia; they were used in the intended research project. For each sample, 40 g of whole coffee beans were taken, separated into four parts (10 g per part), and ground into a powder with each particle size (250, 350, 550, and 750 µm) accordingly using a Breville automatic coffee grinder (Breville® Smart Coffee Grinder Pro BCG820BSS, Breville Pty Ltd., Sydney, Australia). To avoid variation from grinder heating, interval breaks were applied to cool down the machine every eight grinding operations. For each measurement, 2.5 g of ground coffee with each particle size was brewed using a Breville Creatista® Plus espresso machine (Breville Pty Ltd., Sydney, Australia) under the Espresso mode of a constant pouring volume of 25 mL at 78 °C. This step of each sample was repeated in triplicate.

2.2. Physicochemical Characterisation of Coffee Brew

The research was conducted at the University of Melbourne, Parkville campus, Melbourne, Australia, at the Digital Agriculture, Food and Wine (DAFW) and Food science labs.

2.2.1. pH Measurement

The pH values of brewed coffee samples were measured in triplicate using the LAQUAtwin Compact pH meter (LAQUAtwin, HORIBA’s, Kyoto, Japan). A total of three buffer solutions (pH 4.0, 7.0, and 9.0) were used for machine calibration.

2.2.2. Salt Determination

The salinity levels of brewed coffee samples were determined using an ATAGO digital pocket salt meter (PAL-ES2, Tokyo, Japan) through the conductivity of the solution in triplicate. The measurement range of the meter was 0.00 to 10.0% (g/100 g of salt concentration).

2.2.3. Colour Measurement

The colour of natural and fermented coffee samples with different roasting levels was measured using a handheld colourimeter NIX (Nix Pro Colour Sensor™, Nix Sensor Ltd., Ontario, CA, USA) in triplicate. The colour coordinates (L*, a*, and b* colourimetric) were recorded and analysed. The colour difference (ΔE) was calculated using the following equation:
Δ E = L a F * L a U F * 2 + a a F * a a U F * 2 + b a F * b a U F * 2
where aF is the average value of fermented coffee, and aUF is the average value of unfermented coffee.

2.3. Near-Infrared Spectroscopy (NIR) Analysis

A portable NIR device, the microPHAZIR™ (RX Analyzer; Thermo Fisher Scientific, Waltham, MA, USA), was used to evaluate the samples according to Gonzalez Viejo, et al. [33], with a spectral range of 1596 to 2396 nm, in triplicate and three measurements per replicate. A Whatman® filter paper (Whatman plc., Maidstone, UK; qualitative grade 3, 7.0 cm) was submerged in each coffee sample to be measured. A white background was placed at the top to avoid signal noise from the environment during the measuring. The absorbance values from the dry and empty filter paper were subtracted from the wet filter paper with the samples to obtain only the chemical fingerprinting of the coffee sample, as described by Gonzalez Viejo et al. [33]. Data obtained from the NIR device were analysed using Savitzky Golay filters by The Unscrambler X ver.10.3 (CAMO Software, Oslo, Norway) software to obtain the first derivative data.

2.4. Identification and Quantification of Volatiles by HS-SPME-GC-MS

Volatile compounds in coffee samples were analysed by headspace/gas chromatography–mass spectrometry (HS-SPME-GC-MS) based on Gonzalez Viejo, Tongson and Fuentes [31] and Wu, Lu, Liu, Sharifi-Rad and Suleria [11] with some modifications. GC-MS analysis was conducted via a gas chromatograph (6850 series II Network GC System, Agilent Technologies, Santa Clara, CA, USA) coupled to an HS-SPME system (PAL RSI I20, Zwingen, Switzerland) and a mass spectrometer (5973 Network Mass Selective Detector, Agilent Technologies, Santa Clara, CA, USA). A 30 m DB-Wax capillary column (Agilent Technologies, Santa Clara, CA, USA) with a 0.25 mm internal diameter anda 0.25 µm film thickness was chosen with the combination of 65 μm PDMS/DVB fibre (Fused Silica, Sigma Aldrich, Castle Hill, NSW, Australia). The carrier gas was helium with a 60 kPa column head pressure. Coffee samples were incubated for 15 min at 60 °C, followed by 15 min extraction and 6 min desorption. The GC oven programme was set as follows: 40 °C for 5 min continued with an increase to 190 °C at the rate of 5 °C/min for 8 min; subsequently, the temperature reached 240 °C at a rate of 10 °C/min and was maintained for 10 min. The acquisition was in SCAN mode (35–350 m/z). The solvent delay time was 2 min.
The coffee sample (2.5 mL) mixed with 20 μL 100 mg/L 3-heptanone as the internal standard was added into vials and then injected as the temperature gradient programme above. The linear retention index (LRI) was calculated according to the alkane standard (C7–C30) with the following equation, which compares the retention time of one target compound (RTx) with those of n-alkanes with n and n + 1 carbon eluted before and after the target compound (RTn):
LRI   target   compound = 100 × RTx RT n RT n + 1 RT n + n
The LRI and mass spectrum of volatile compounds detected in coffee samples are compared to the data in the NIST Chemistry WebBook spectrum library (NIST2017) and NIST mass spectra database (Washington, DC, USA), respectively. Semi-quantification was conducted by comparing the response area of the target compound and internal standard with the known concentration after the LRI and compound MS were confirmed.

2.5. Electronic Nose (E-Nose) and Data Extraction

A low-cost and portable e-nose developed by the Digital Agriculture Food and Wine Group at the University of Melbourne (DAFW-UoM) was used to assess the coffee samples, according to Gonzalez Viejo et al. [31,32,34]. The device was composed of nine different gas sensors: (i) MQ3: Alcohol (ethanol), (ii) MQ4: Methane (CH4), (iii) MQ7: Carbon monoxide (CO), (iv) MQ8: Hydrogen (H2), (v) MQ135: NH3/alcohol/benzene, (vi) MQ136: Hydrogen sulfide (H2S), (vii) MQ137: NH3, (viii) MQ138: Benzene/alcohol/NH3, and (ix) MG811: Carbon dioxide (CO2). Samples were exposed to sensors for 1 min after 30 s machine baseline readings. The outputs were analysed by a customised Matlab® R2021a (Mathworks, Inc., Natick, MA, USA) developed by the DAFW-UoM, which displayed the curves to select the most stable area of the signals and subdivided it into 10 sections to calculate 10 mean values per curve automatically.

2.6. Statistical Analysis and Machine Learning (ML) Modelling

All results were pure results subtracted by blanking or control values and expressed as mean ± standard error of three independent analyses. All the statistical analyses were conducted using Minitab 19 (Minitab® for Windows Release 19, Minitab Inc., Chicago, IL, USA) and GraphPad Prism 9 (GraphPad Prism version 9.0 for Windows, GraphPad Software, La Jolla, CA, USA). One-way analysis of variance (ANOVA), along with Tukey’s honest significant differences (HSD) as a post hoc test (α = 0.05), were used to assess significant differences between samples.
A total of four ML models (Figure 1) were constructed using a Matlab® R2019b code to assess 17 training algorithms and to find the most accurate models with no under- or overfitting in a loop [35]. Models 1 and 2 were developed for classification using the absorbance values obtained by NIR spectra within 1596 and 2396 nm and e-nose outputs as inputs, respectively, to predict the type of coffee and the grinding size of the coffee powder: (i) fermented, 250 µm, (ii) fermented, 350 µm, (iii) fermented, 550 µm, (iv) fermented, 750 µm, (v) unfermented, 250 µm, (vi) unfermented, 350 µm, (vii) unfermented, 550 µm, and (viii) unfermented, 750 µm (Figure 1a,b). Model 1 was constructed using the Bayesian regularisation algorithm, and Model 2 was constructed using the Levenberg–Marquardt algorithm. Samples were divided using a random data division (dividerand) algorithm as 70% for the training stage, 15% for testing, and 15% for validation using a performance algorithm based on the mean squared error (MSE).
Models 3 and 4 were developed using regression artificial neural networks (ANNs) with the absorbance values of the NIR data and e-nose outputs as inputs, respectively, to predict the peak area of 14 volatile aromatic compounds. Both models were developed using the Bayesian regularisation algorithm. Data were randomly divided into 70:30 for training and testing, respectively, using a performance algorithm based on the MSE. A neuron number trimming exercise was conducted with 3, 5, 7, and 10 neurons to assess the best performance.

3. Results and Discussion

3.1. Physicochemical Estimation

3.1.1. Measurement of pH and Salt Content

The pH values of the fermented and unfermented coffee brewed from four grinding sizes of coffee beans were measured as shown in Table 1. The unfermented coffee brewed from the finest-size (250 µm) coffee powder had relatively higher pH values at 4.89 (p < 0.05). Brewing coffee is an extraction process that may be influenced by the diameter of the ground coffee particles [16]. The surface area of the coffee particles increases with the decreasing particle size. Thus, the soluble coffee compounds could be quickly extracted from the surface and near-surface volume of the fine coffee grind matrix [36]. More acidic compounds, such as chlorogenic acids, may be dissolved and contribute a greater acidity to the coffee brew [37]. However, no significant differences (p > 0.05) could be observed among the coarse-ground fermented and unfermented coffee brews.
The pH values of all the fermented coffee beans were significantly (p < 0.05) lower than that of the unfermented brews, which indicates that the coffee brew made from fermented coffee beans could have a relatively higher acidity. The pH value and titratable acidity are considered two conventional ways to express the acidity of coffee, since the perceived acidity of coffee is a result of the proton donation of acids to receptors on the human tongue [38]. During the fermentation, microorganisms may act on the pectinaceous sugars and other quantities of reducing or nonreducing sugars existing in coffee mucilage, which contributes to the production of lactic, butyric, acetic, and other higher carboxylic acids and tends to reduce the pH of the final coffee brew [8].
There was no significant difference (p > 0.05) in the salt content of the unfermented and fermented coffee brew in Table 1. However, the salt content in coffee slightly decreased along with the reduced size of the gounds. The sodium present in the brewed samples was low (0.07–0.19). During daily consumption, a small amount of salt is a usual alternative to other additives, such as sugar and milk, in coffee to bring out the sweetness, maintain the pleasant aromas, and dampen the bitterness remarkably [39,40].

3.1.2. Colour Measurement

The colour values (L*, a*, and b*) of all the coffee samples and the colour difference (ΔE) between the average value of the fermented and unfermented coffee are shown in Table 2. The fermented coffee brewed from 550 µm coffee powder showed the highest colour difference (ΔE = 91.10) to that of unfermented coffee. Overall, fermented coffee with all grinding sizes exhibited significantly higher lightness but lower redness and yellowness values (L* = 63.77, a* = 2.51, b* = 48.96) than unfermented coffee (L* = 58.36, a* = 5.74, b* = 53.16). The coffee colour is mainly developed through the Maillard reaction and caramelisation during roasting, with the primary involvement of sugar [41]. However, the sugar content in fermented coffee could be highly reduced due to the action of microorganisms during fermentation [8]. Therefore, less sugar remaining in the coffee beans could induce a lighter, less brown, but yellower appearance after roasting, since the brown pigment formation is due to the Maillard reaction through the interactions between sugar and amino acids.
In grinding size, there was a decrease in lightness but an increase in redness with the reduced particle size. Brewing coffee also contributes to the extraction of various substances from coffee powder, such as phenolic compounds, caffeine, carbohydrates, lipids, and acids. Smaller particle sizes could further contribute to the better release and dissolution of brown pigments, such as melanoidins [42]. It is reasonable that coffee brewed from coarse powder presented a brighter appearance than fine coffee powder.

3.2. Near-Infrared Spectroscopy (NIR) Analysis

The first derivative data of the NIR absorbance scans for fermented and unfermented coffee were acquired, as shown in Figure 2. As observed in this figure, the peak values for all coffee brews were between 1700–2000 nm and 2200–2396 nm, in which compounds such as water, proteins, carbohydrates, and volatile compounds, including amides, could be found. For the main overtones, compounds such as ketones (1698 nm), aliphatic hydrocarbons (1699–1700, 1732, 1767, and 2313 nm), alcohol (1737 nm), aromatic hydrocarbons (1749 nm), water (1940 nm), esters and acids (1955 nm), aryl (2299 nm), lipids (2315 nm), sucrose (2306–2312 nm), and other polysaccharides (2327–2340 nm) were found [33,43,44]. This is consistent with the results reported by Okubo and Kurata [45].
Although different curve trends within the same NIR wavelength range for coffee sample measurements were obtained by Esteban-Díez, et al. [46] and Ribeiro, Ferreira and Salva [43], this is probably due to the results of different brands, roasting conditions, and geographic origins [44]. Barbosa, dos Santos Scholz, Kitzberger and de Toledo Benassi [6] also detected lipid fractions that could influence aroma formation and the release of volatile compounds during the roasting process, such as aldehydes, ketones, and alcohols, in a similar wavelength range. Unfermented coffee brews had a relatively higher absorbance than fermented coffee brew for most of the overtones from these compounds.

3.3. Electronic Nose Outputs

Figure 3 shows the volatile compound analysis results of the fermented and unfermented coffee brews with four different grinding sizes using the e-nose. Overall, except for the set brewing from the coarsest coffee powder, the fermented coffee exhibited a relatively higher total voltage accumulation of all sensors. Significant differences (p < 0.05) between the fermented and unfermented samples in all nine sensors could be observed. The MQ3 (ethanol) and MQ4 (methane) sensors showed a significantly higher voltage for all the coffee brews, followed by the MQ7 (carbon monoxide) sensors. The MG811 (carbon dioxide) sensor values are inverse; hence, higher values mean lower CO2 levels.
By-products such as alcohol and various acids generated by the action of microorganisms on the polysaccharides present in the mucilage of the coffee beans during fermentation could be absorbed into the cellular structure of the seed [5]. Although the voltage of alcohol detection fluctuated among all the coffee brews, it is reasonable that one of the fermented coffee brews exhibited the greatest detection level with all four grinding sizes. Carbon monoxide could be produced during coffee roasting due to the interaction between oxygen and methane. The gases could be trapped in the pore structure of the roasted coffee and be emitted more quickly if ground into smaller particles [47]. Newton [48], Killian, et al. [49], and Gonzalez Viejo, Tongson and Fuentes [31] also commented that there is CO production during roasting, which could explain the detection of the MQ7 sensor. Gonzalez Viejo, Tongson and Fuentes [31] also claimed that the lower voltage with MQ7 in several samples is probably due to the brewing process. Noticeably, the MQ135 (NH3/alcohol/benzene) and MQ137 (NH3) sensors displayed fluctuating voltage among all the samples. Purine alkaloids in coffee beans, especially caffeine, could probably be degraded during roasting and generate NH3, which may explain the detection by those three sensors [50].

3.4. Identification and Quantification of Volatile Compounds in Coffee Brew

The content range of volatile compounds identified and semi-quantified in a the fermented and unfermented coffee brew with four different grinding sizes by the HS-SPME-GC-MS method is shown in Table 3. In total, 14 compounds were identified in both types of coffee brew and shared a similar overall content of the detected volatile compounds (VOCs). As for the influence of grinding size, the average content of the overall detected VOCs decreased from around 32.80 to 25.28 ng/mL along with the coarser coffee powder size, which is consistent with previous research conducted by Yu, et al. [51]. The negative correlation between grinding size and VOC content could be related to extraction efficiency. The solid–liquid interfacial area may increase as the grinding size decreases, allowing the extraction of a higher amount of volatiles [51].
Acetic acid was the only detected organic acid in the coffee brews, which may come from the decomposition of saccharides (sucrose and fructose) during roasting [52]. Acid precursor 1-deoxyglucosone could be generated during roasting through the hydrolysis and thermal dehydration of sugars and then contribute to the formation of acetic acid [11]. The fermented coffee brew showed a lower content of acetic acid than unfermented coffee, which could again indicate the microbial consumption of sugar during the fermentation of harvested coffee beans [8]. However, Elhalis, Cox, Frank and Zhao [1] reported significantly higher (p < 0.05) concentrations of acetic acid in fermented coffee beans than in unfermented.
Table 3 and Table S1 show that 2-methylpyrazine was the most abundant pyrazine in the fermented coffee brew, with an average concentration of 2.20 ng/mL, similar to Elhalis, Cox, Frank and Zhao [1]. There were two clusterings that could be observed from the group of pyrazines: 2,5(6)-dimethylpyrazine and 2-ethyl-5(6)-methylpyrazine. The fermented coffee brews showed a slightly higher content of these volatile compounds. 2-Ethyl-5-methylpyrazine is generally used to distinguish roasted arabica and robusta coffee beans, which confers negative earthy notes generated through the Maillard reaction [53]. Both 2,5-dimethylpyrazine and 2,6-dimethylpyrazine were a dominant pyrazine product of the same Maillard reaction in both the fermented and unfermented coffee brews, with different locations of the functional groups and exhibiting a chocolate and nutty aroma [11,51]. This could be contributed by the formation of a series of Amadori-type conjugates through the catalysis of the Amadori rearrangement in the dipeptide/sugar adduct [54]. Significant variance could be found in the content of furans and furanic compounds between the fermented and unfermented coffee brews, especially furfural and 5-methylfurfural. Furanic compounds may be produced through the dehydration, cyclisation, and polymerisation of Amadori rearrangement products or the thermal oxidation of furans, such as 2-furanmethanol, poly-unsaturated fatty acids, and ascorbic acid [11,55]. Furans are developed from the reaction between sugars and amino acids; hence, the unfermented coffee brew exhibited a relatively higher content. It could also contribute to the accumulation of other furanic compounds in the unfermented coffee brews. Gonzalez Viejo, Tongson and Fuentes [31] also identified 5-methylfurfural and furfural acetate from commercial coffee products, which could provide spice, caramel, bready, or coffee aromas. Notably, the content of furfuryl acetate was relatively higher in the fermented coffee brews, which could bring a fruity aroma. Lee, Cheong, Curran, Yu and Liu [12] also claimed that the fermentation using yeast as starter cultures could induce the production of several volatile compounds, including acetaldehyde, ethanol, ethyl acetate, isoamyl acetate, as well as a caramel and fruity flavour.
In the class of phenols, 2-methoxy-4-vinylphenol was only identified with a slightly higher content in the fermented coffee brews. It is consistent with previous research conducted by Elhalis, Cox, Frank and Zhao [1] that the concentration of 2-methoxy-4-vinylphenol was slightly higher in the fermented roasted coffee beans compared to the mechanically de-mucilaged beans.

3.5. Machine Learning Modelling

Table 4 shows that Model 1 has a high overall accuracy (93.9%) to classify coffee samples according to their processing type and grinding size using the NIR absorbance values between 1596 and 2396 nm as inputs. The training MSE value (0.04) was lower than that of the testing (0.05). The similar MSE value of the validation and testing shows no under- or overfitting of the data. Furthermore, Model 2, developed to classify the type of coffee samples using the e-nose outputs as model inputs, presented a high overall accuracy (91.2%). There were no observed signs of under- or overfitting because the training MSE value (0.02) was lower than the validation (0.07) and testing (0.07), and the latter two had the same value.
The receiver operating characteristic (ROC) curves of Models 1 and 2 are shown in Figure 4, which were both closer to the top left edge for the true-positive-rate values (sensitivity). Interestingly, the coarser the coffee powders were, the lower the sensitivity of their ROC curves. It is probably because of the similarities shared in the physicochemical characteristics between fermented and unfermented coffee with higher grinding sizes.
Table 5 shows that Models 3 and 4 had a similar and high overall accuracy (R = 0.96; R = 0.99). These models were developed using the NIR absorbance values within 1596–2396 nm and e-nose outputs as inputs, respectively, to predict 14 volatile compounds detected by GC-MS. According to the performance MSE values, there were no signs of the under- or overfitting of the models, as the training-stage MSE values were lower than the testing-stage values for both models.
Figure 5a shows the overall Model 3 with 95% prediction bounds; there were 3.49% outliers (88 out of 2520 data points), with the majority from furfural (33 out of 88 outliers), followed by 5-methylfurfural (28 out of 88 outliers). Likewise, Figure 5b shows the overall Model 4, with 3.57% outliers (299 out of 8400 data points) according to the 95% prediction bounds, where most outliers were also from furfural (119 out of 299 outliers), followed by 5-methylfurfural (76 out of 299 outliers). Gonzalez Viejo, Tongson and Fuentes [31] reported the very high accuracy of their models (R = 0.99) using e-nose results as inputs to predict the peak area of volatile compounds in coffee detected by GC-MS. Gonzalez Viejo, et al. [56] also constructed highly accurate ML regression models using the NIR (R = 0.97) and e-nose (R = 0.99) data of sourdough bread as inputs to assess 16 volatile aromatic compounds.
The models developed show that the NIR (Models 1 and 3) and e-nose (Models 2 and 4) measurements of the coffee were able to find patterns within the input data to predict the post-harvesting processing method and grinding size, as well as the volatile aromatic compounds. Further studies may focus on developing machine learning models to predict the intensity of the sensory descriptors related to fermented and unfermented coffee using the e-nose outputs as inputs. This could provide a more critical prediction among postharvesting processing, sensory perception, and consumer acceptability. The NIR and e-nose used in this study are portable, affordable, and convenient, and was shown to be objective, reliable, and rapid in evaluating the coffee’s quality traits. These methods may also be used to develop methods to assess authentication and provenance for the coffee industry, local family coffee farms, and retailers.

4. Conclusions

Conclusively, the wet fermentation and grinding size of coffee beans may significantly influence the flavour, aroma, and physicochemical properties of coffee brew by changing the contents of phytochemical and critical volatile compounds, such as acids, esters, and aldehydes. The fermented coffee exhibited a lighter appearance, relatively lower pH, but lower detection of acetic acid, which is probably due to other organic acids. The total e-nose detection of fermented coffee beans was relatively higher. Although the content of overall volatile compounds detected by GC-MS in the unfermented coffee was higher, several compounds, such as 2-methylpyrazine (2.20 ng/mL) and furfuryl acetate (2.36 ng/mL), had a higher concentration in the fermented coffee, which could contribute to a stronger fruity flavour. The ANN models using the results of the NIR (Model 3) and e-nose (Model 4) as inputs and GC-MS as the ground truth predicted the composition of 14 volatile compounds with very high accuracy (R > 0.95). The impact of fermentation on the coffee’s quality traits and volatile compounds was comprehensively, rapidly, and objectively assessed in this study. Moreover, the postharvest processing methods, brewing method, and the volatile compound patterns of coffee beverages could also be predicted to some extent with minimal laboratory equipment. The lower cost of the digital technologies used in this study coupled with ML modelling have a high potential to be used for coffee differentiation assessment, processing prediction, and quality assurance for local coffee farms, roasters, and retailers. More specific and perceived relations among postharvesting processing methods, physiochemical properties, volatile aromatic compounds, and the consumers’ acceptability of coffee could be further investigated using specific overtones of NIR spectra, an assessment of the intensity of sensory descriptors, the composition of volatile aromatic compounds, and machine learning algorithms.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/fermentation9010068/s1, Table S1: The content of volatile compounds identified in unfermented and fermented coffee brew with four coffee bean grinding sizes by HS-SPME-GC-MS.

Author Contributions

Conceptualization, H.W., C.G.V. and H.A.R.S.; methodology, H.W., C.G.V. and S.F.; software, H.W. and C.G.V.; validation, C.G.V. and H.A.R.S.; formal analysis, H.W.; investigation, H.W., C.G.V., F.R.D. and H.A.R.S.; data curation, H.W. and C.G.V.; writing—original draft preparation, H.W.; writing—review and editing, H.W., C.G.V. and H.A.R.S.; visualization, H.W. and C.G.V.; supervision, C.G.V. and H.A.R.S.; funding acquisition, H.A.R.S. All authors have read and agreed to the published version of the manuscript.

Funding

Hafiz A. R. Suleria is the recipient of an Australian Research Council Award (ARC-DECRA—DE220100055) funded by the Australian Government. This research was funded by the University of Melbourne under the McKenzie Fellowship Scheme (grant no. UoM-18/21), the Future Food Hallmark Research Initiative Funds (grant no. UoM-21/23) and Collaborative. H.W. is the recipient of a University of Melbourne Research Scholarship provided by the University of Melbourne (Grant reference: 767803).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to acknowledge Ranjith R. Unnithan and Bryce Widdicombe from the School of Engineering, Department of Electrical and Electronic Engineering of The University of Melbourne for their collaboration in the electronic nose development.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Elhalis, H.; Cox, J.; Frank, D.; Zhao, J. The role of wet fermentation in enhancing coffee flavor, aroma and sensory quality. Eur. Food Res. Technol. 2021, 247, 485–498. [Google Scholar] [CrossRef]
  2. Bhumiratana, N.; Adhikari, K.; Chambers, E., IV. Evolution of sensory aroma attributes from coffee beans to brewed coffee. LWT-Food Sci. Technol. 2011, 44, 2185–2192. [Google Scholar] [CrossRef] [Green Version]
  3. Pereira, L.L.; Guarçoni, R.C.; Pinheiro, P.F.; Osório, V.M.; Pinheiro, C.A.; Moreira, T.R.; Ten Caten, C.S. New propositions about coffee wet processing: Chemical and sensory perspectives. Food Chem. 2020, 310, 125943. [Google Scholar] [CrossRef] [PubMed]
  4. Duarte, G.S.; Pereira, A.A.; Farah, A. Chlorogenic acids and other relevant compounds in Brazilian coffees processed by semi-dry and wet post-harvesting methods. Food Chem. 2010, 118, 851–855. [Google Scholar] [CrossRef]
  5. Silva, C.F.; Schwan, R.F.; Dias, Ë.S.; Wheals, A.E. Microbial diversity during maturation and natural processing of coffee cherries of Coffea arabica in Brazil. Int. J. Food Microbiol. 2000, 60, 251–260. [Google Scholar] [CrossRef]
  6. Barbosa, M.d.S.G.; dos Santos Scholz, M.B.; Kitzberger, C.S.G.; de Toledo Benassi, M. Correlation between the composition of green Arabica coffee beans and the sensory quality of coffee brews. Food Chem. 2019, 292, 275–280. [Google Scholar] [CrossRef]
  7. Knopp, S.; Bytof, G.; Selmar, D. Influence of processing on the content of sugars in green Arabica coffee beans. Eur. Food Res. Technol. 2006, 223, 195–201. [Google Scholar] [CrossRef]
  8. Haile, M.; Kang, W.H. The role of microbes in coffee fermentation and their impact on coffee quality. J. Food Qual. 2019, 2019, 4836709. [Google Scholar] [CrossRef]
  9. Cao, X.; Wu, H.; Gonzalez Viejo, C.; Dunshea, F.R.; Suleria, H.A. Effects of Postharvest Processing on Aroma Formation in Roasted Coffee—A Review. Int. J. Food Sci. Technol. 2022. [Google Scholar] [CrossRef]
  10. Zakidou, P.; Plati, F.; Matsakidou, A.; Varka, E.-M.; Blekas, G.; Paraskevopoulou, A. Single origin coffee aroma: From optimized flavor protocols and coffee customization to instrumental volatile characterization and chemometrics. Molecules 2021, 26, 4609. [Google Scholar] [CrossRef]
  11. Wu, H.; Lu, P.; Liu, Z.; Sharifi-Rad, J.; Suleria, H.A. Impact of roasting on the phenolic and volatile compounds in coffee beans. Food Sci. Nutr. 2022, 10, 2408–2425. [Google Scholar] [CrossRef] [PubMed]
  12. Lee, L.W.; Cheong, M.W.; Curran, P.; Yu, B.; Liu, S.Q. Coffee fermentation and flavor—An intricate and delicate relationship. Food Chem. 2015, 185, 182–191. [Google Scholar] [CrossRef] [PubMed]
  13. Toci, A.T.; Farah, A. Volatile fingerprint of Brazilian defective coffee seeds: Corroboration of potential marker compounds and identification of new low quality indicators. Food Chem. 2014, 153, 298–314. [Google Scholar] [CrossRef] [PubMed]
  14. Steen, I.; Waehrens, S.S.; Petersen, M.A.; Münchow, M.; Bredie, W.L. Influence of serving temperature on flavour perception and release of Bourbon Caturra coffee. Food Chem. 2017, 219, 61–68. [Google Scholar] [CrossRef] [PubMed]
  15. Cordoba, N.; Pataquiva, L.; Osorio, C.; Moreno, F.L.M.; Ruiz, R.Y. Effect of grinding, extraction time and type of coffee on the physicochemical and flavour characteristics of cold brew coffee. Sci. Rep. 2019, 9, 8440. [Google Scholar] [CrossRef] [Green Version]
  16. Severini, C.; Derossi, A.; Ricci, I.; Fiore, A.G.; Caporizzi, R. How much caffeine in coffee cup? Effects of processing operations, extraction methods and variables. Quest. Caffeine 2017, 45–85. [Google Scholar]
  17. Baggenstoss, J.; Perren, R.; Escher, F. Water content of roasted coffee: Impact on grinding behaviour, extraction, and aroma retention. Eur. Food Res. Technol. 2008, 227, 1357–1365. [Google Scholar] [CrossRef] [Green Version]
  18. Zhang, K.; Cheng, J.; Hong, Q.; Dong, W.; Chen, X.; Wu, G.; Zhang, Z. Identification of changes in the volatile compounds of robusta coffee beans during drying based on HS-SPME/GC-MS and E-nose analyses with the aid of chemometrics. LWT 2022, 161, 113317. [Google Scholar] [CrossRef]
  19. Dzung, N.H.; Dzuan, L.; Tu, H.D. The role of sensory evaluation in food quality control, food research and development: A case of coffee study. In Proceedings of the 8th Asean Food Conference, Hanoi, Vietnam, 8–11 October 2003; pp. 862–866. [Google Scholar]
  20. Fuentes, S.; Gonzalez Viejo, C.; Torrico, D.D.; Dunshea, F.R. Development of a biosensory computer application to assess physiological and emotional responses from sensory panelists. Sensors 2018, 18, 2958. [Google Scholar] [CrossRef] [Green Version]
  21. Kemp, S.E.; Hollowood, T.; Hort, J. Sensory Evaluation: A Practical Handbook; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  22. Czerny, M.; Christlbauer, M.; Christlbauer, M.; Fischer, A.; Granvogl, M.; Hammer, M.; Hartl, C.; Hernandez, N.M.; Schieberle, P. Re-investigation on odour thresholds of key food aroma compounds and development of an aroma language based on odour qualities of defined aqueous odorant solutions. Eur. Food Res. Technol. 2008, 228, 265–273. [Google Scholar] [CrossRef]
  23. Gonzalez Viejo, C.; Fuentes, S. Low-cost methods to assess beer quality using artificial intelligence involving robotics, an electronic nose, and machine learning. Fermentation 2020, 6, 104. [Google Scholar] [CrossRef]
  24. Huang, C.; Gu, Y. A Machine Learning Method for the Quantitative Detection of Adulterated Meat Using a MOS-Based E-Nose. Foods 2022, 11, 602. [Google Scholar] [CrossRef] [PubMed]
  25. Fuentes, S.; Summerson, V.; Gonzalez Viejo, C.; Tongson, E.; Lipovetzky, N.; Wilkinson, K.L.; Szeto, C.; Unnithan, R.R. Assessment of smoke contamination in grapevine berries and taint in wines due to bushfires using a low-cost E-nose and an artificial intelligence approach. Sensors 2020, 20, 5108. [Google Scholar] [CrossRef]
  26. Rasekh, M.; Karami, H. E-nose coupled with an artificial neural network to detection of fraud in pure and industrial fruit juices. Int. J. Food Prop. 2021, 24, 592–602. [Google Scholar] [CrossRef]
  27. Xu, M.; Wang, J.; Zhu, L. The qualitative and quantitative assessment of tea quality based on E-nose, E-tongue and E-eye combined with chemometrics. Food Chem. 2019, 289, 482–489. [Google Scholar] [CrossRef] [PubMed]
  28. Michishita, T.; Akiyama, M.; Hirano, Y.; Ikeda, M.; Sagara, Y.; Araki, T. Gas chromatography/olfactometry and electronic nose analyses of retronasal aroma of espresso and correlation with sensory evaluation by an artificial neural network. J. Food Sci. 2010, 75, S477–S489. [Google Scholar] [CrossRef]
  29. Romani, S.; Cevoli, C.; Fabbri, A.; Alessandrini, L.; dalla Rosa, M. Evaluation of coffee roasting degree by using electronic nose and artificial neural network for off-line quality control. J. Food Sci. 2012, 77, C960–C965. [Google Scholar] [CrossRef]
  30. Flambeau, K.J.; Lee, W.-J.; Yoon, J. Discrimination and geographical origin prediction of washed specialty Bourbon coffee from different coffee growing areas in Rwanda by using electronic nose and electronic tongue. Food Sci. Biotechnol. 2017, 26, 1245–1254. [Google Scholar] [CrossRef]
  31. Gonzalez Viejo, C.; Tongson, E.; Fuentes, S. Integrating a Low-Cost Electronic Nose and Machine Learning Modelling to Assess Coffee Aroma Profile and Intensity. Sensors 2021, 21, 2016. [Google Scholar] [CrossRef]
  32. Viejo, C.G.; Fuentes, S.; Godbole, A.; Widdicombe, B.; Unnithan, R.R. Development of a low-cost e-nose to assess aroma profiles: An artificial intelligence application to assess beer quality. Sens. Actuators B Chem. 2020, 308, 127688. [Google Scholar] [CrossRef]
  33. Gonzalez Viejo, C.; Fuentes, S.; Torrico, D.; Howell, K.; Dunshea, F.R. Assessment of beer quality based on foamability and chemical composition using computer vision algorithms, near infrared spectroscopy and machine learning algorithms. J. Sci. Food Agric. 2018, 98, 618–627. [Google Scholar] [CrossRef] [PubMed]
  34. Duran, C.G.V. The Effect of Bubble Formation within Carbonated Drinks on the Brewage Foamability, Bubble Dynamics and Sensory Perception by Consumers. Ph.D. Thesis, The University of Melbourne, Melbourne, Australia, 2020. [Google Scholar]
  35. Gonzalez Viejo, C.; Torrico, D.; Dunshea, F.; Fuentes, S. Emerging Technologies Based on Artificial Intelligence to Assess the Quality and Consumer Preference of Beverages. Beverages 2019, 5, 62. [Google Scholar]
  36. Fuller, M.; Rao, N.Z. The effect of time, roasting temperature, and grind size on caffeine and chlorogenic acid concentrations in cold brew coffee. Sci. Rep. 2017, 7, 17979. [Google Scholar] [CrossRef] [Green Version]
  37. Rao, N.Z.; Fuller, M. Acidity and antioxidant activity of cold brew coffee. Sci. Rep. 2018, 8, 16030. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  38. Wang, N.; Lim, L.-T. Fourier transform infrared and physicochemical analyses of roasted coffee. J. Agric. Food Chem. 2012, 60, 5446–5453. [Google Scholar] [CrossRef]
  39. Bakke, A.J.; Stubbs, C.A.; McDowell, E.H.; Moding, K.J.; Johnson, S.L.; Hayes, J.E. Mary Poppins was right: Adding small amounts of sugar or salt reduces the bitterness of vegetables. Appetite 2018, 126, 90–101. [Google Scholar]
  40. Ley, J.P. Masking bitter taste by molecules. Chemosens. Percept. 2008, 1, 58–77. [Google Scholar] [CrossRef]
  41. Noda, K.; Amano, Y.; Shimamura, Y.; Murata, M. Distribution of pyrrolothiazolate, a pigment formed through the Maillard reaction between cysteine and glucose, in foods and beverages and some of its properties. Food Sci. Technol. Res. 2020, 26, 735–742. [Google Scholar] [CrossRef]
  42. Rojo-Poveda, O.; Barbosa-Pereira, L.; Mateus-Reguengo, L.; Bertolino, M.; Stévigny, C.; Zeppa, G. Effects of particle size and extraction methods on cocoa bean shell functional beverage. Nutrients 2019, 11, 867. [Google Scholar] [CrossRef] [Green Version]
  43. Ribeiro, J.S.; Ferreira, M.M.; Salva, T. Chemometric models for the quantitative descriptive sensory analysis of Arabica coffee beverages using near infrared spectroscopy. Talanta 2011, 83, 1352–1358. [Google Scholar] [CrossRef] [Green Version]
  44. Barbin, D.F.; Felicio, A.L.d.S.M.; Sun, D.-W.; Nixdorf, S.L.; Hirooka, E.Y. Application of infrared spectral techniques on quality and compositional attributes of coffee: An overview. Food Res. Int. 2014, 61, 23–32. [Google Scholar] [CrossRef] [Green Version]
  45. Okubo, N.; Kurata, Y. Nondestructive classification analysis of green coffee beans by using near-infrared spectroscopy. Foods 2019, 8, 82. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  46. Esteban-Díez, I.; González-Sáiz, J.; Sáenz-González, C.; Pizarro, C. Coffee varietal differentiation based on near infrared spectroscopy. Talanta 2007, 71, 221–229. [Google Scholar] [CrossRef] [PubMed]
  47. LeBouf, R.F.; Aldridge, M. Carbon monoxide emission rates from roasted whole bean and ground coffee. J. Air Waste Manag. Assoc. 2019, 69, 89–96. [Google Scholar] [CrossRef] [PubMed]
  48. Newton, J. Carbon monoxide exposure from coffee roasting. Appl. Occup. Environ. Hyg. 2002, 17, 600–602. [Google Scholar] [CrossRef]
  49. Killian, B.; Rivera, L.; Soto, M.; Navichoc, D. Carbon footprint across the coffee supply chain: The case of Costa Rican coffee. J. Agric. Sci. Technol. B 2013, 3, 151. [Google Scholar]
  50. Anaya, A.L.; Cruz-Ortega, R.; Waller, G.R. Metabolism and ecology of purine alkaloids. Front. Biosci.-Landmark 2006, 11, 2354–2370. [Google Scholar] [CrossRef] [Green Version]
  51. Yu, J.-M.; Chu, M.; Park, H.; Park, J.; Lee, K.-G. Analysis of volatile compounds in coffee prepared by various brewing and roasting methods. Foods 2021, 10, 1347. [Google Scholar] [CrossRef]
  52. Diviš, P.; Pořízka, J.; Kříkala, J. The effect of coffee beans roasting on its chemical composition. Potravin. Slovak J. Food Sci. 2019, 13, 344–350. [Google Scholar] [CrossRef] [Green Version]
  53. Toledo, P.R.; Pezza, L.; Pezza, H.R.; Toci, A.T. Relationship between the different aspects related to coffee quality and their volatile compounds. Compr. Rev. Food Sci. Food Saf. 2016, 15, 705–719. [Google Scholar] [CrossRef] [Green Version]
  54. Wang, F.; Shen, H.; Liu, T.; Yang, X.; Yang, Y.; Guo, Y. Formation of pyrazines in Maillard model systems: Effects of structures of lysine-containing dipeptides/tripeptides. Foods 2021, 10, 273. [Google Scholar] [CrossRef] [PubMed]
  55. Caporaso, N.; Whitworth, M.B.; Cui, C.; Fisk, I.D. Variability of single bean coffee volatile compounds of Arabica and robusta roasted coffees analysed by SPME-GC-MS. Food Res. Int. 2018, 108, 628–640. [Google Scholar] [CrossRef] [PubMed]
  56. Gonzalez Viejo, C.; Harris, N.M.; Fuentes, S. Quality Traits of Sourdough Bread Obtained by Novel Digital Technologies and Machine Learning Modelling. Fermentation 2022, 8, 516. [Google Scholar] [CrossRef]
Figure 1. Diagrams of the machine learning (a) classification Models 1 and 2, and (b) regression Models 3 and 4, showing the specific inputs, targets, and number of neurons used.
Figure 1. Diagrams of the machine learning (a) classification Models 1 and 2, and (b) regression Models 3 and 4, showing the specific inputs, targets, and number of neurons used.
Fermentation 09 00068 g001
Figure 2. NIR spectra (1596–2396 nm) of unfermented (A) and fermented (B) coffee samples shown as the Savitzky–Golay first derivative. Different colours of the lines represented different replicates of sample measurement.
Figure 2. NIR spectra (1596–2396 nm) of unfermented (A) and fermented (B) coffee samples shown as the Savitzky–Golay first derivative. Different colours of the lines represented different replicates of sample measurement.
Fermentation 09 00068 g002
Figure 3. Stacked mean voltage of the nine different e-nose gas sensors among unfermented (UFC) and fermented (FC) coffee samples with four grinding sizes from five different brands. Differences are compared for each sensor among samples (bar colours); different letters a–g depict significant differences between samples based on the ANOVA and Tukey’s honest significant difference (HSD) post hoc test (p < 0.05).
Figure 3. Stacked mean voltage of the nine different e-nose gas sensors among unfermented (UFC) and fermented (FC) coffee samples with four grinding sizes from five different brands. Differences are compared for each sensor among samples (bar colours); different letters a–g depict significant differences between samples based on the ANOVA and Tukey’s honest significant difference (HSD) post hoc test (p < 0.05).
Fermentation 09 00068 g003
Figure 4. Receiver operating characteristic (ROC) curves for (a) Model 1 and (b) Model 2.
Figure 4. Receiver operating characteristic (ROC) curves for (a) Model 1 and (b) Model 2.
Fermentation 09 00068 g004
Figure 5. Overall regression Models 3 (a) and 4 (b) predicted 14 volatile aromatic compounds from GC-MS analysis, where the x-axis represents the observed data, while the y-axis depicts the predicted values. Abbreviations: VAC: volatile aromatic compounds; R: correlation coefficient.
Figure 5. Overall regression Models 3 (a) and 4 (b) predicted 14 volatile aromatic compounds from GC-MS analysis, where the x-axis represents the observed data, while the y-axis depicts the predicted values. Abbreviations: VAC: volatile aromatic compounds; R: correlation coefficient.
Fermentation 09 00068 g005
Table 1. pH and salt content of unfermented and fermented coffee brew with four coffee bean grinding sizes.
Table 1. pH and salt content of unfermented and fermented coffee brew with four coffee bean grinding sizes.
SampleSize 1 (250 µm)Size 2 (350 µm)Size 3 (550 µm)Size 4 (750 µm)
pH
Unfermented coffee beansUFC14.79 aC ± 0.034.77 bB ± 0.014.76 cD ± 0.014.77 bC ± 0.01
UFC24.86 abB ± 0.014.81 bA ± 0.014.85 aA ± 0.024.83 bB ± 0.03
UFC34.94 aA ± 0.034.79 bB ± 0.034.80 bBC ± 0.024.77 bC ± 0.02
UFC44.89 aB ± 0.034.78 cB ± 0.014.83 bB ± 0.024.85 aB ± 0.02
UFC54.95 aA ± 0.034.83 bA ± 0.014.82 aB ± 0.024.93 aA ± 0.03
Average4.89 ± 0.034.80 ± 0.014.81 ± 0.024.83 ± 0.02
Fermented coffee beansFC14.83 bB ± 0.034.82 bA ± 0.024.75 cD ± 0.014.87 aB ± 0.02
FC24.77 aD ± 0.024.74 aC ± 0.024.74 aD ± 0.014.73 aD ± 0.02
FC34.80 aC ± 0.034.83 aA ± 0.024.79 aC ± 0.014.82 aB ± 0.01
FC44.80 bcC ± 0.014.79 cB ± 0.014.81 bB ± 0.024.84 aB ± 0.01
FC54.69 bE ± 0.024.66 bD ± 0.014.83 aB ± 0.044.66 bE ± 0.02
Average4.78 ± 0.024.77 ± 0.014.78 ± 0.024.78 ± 0.02
Salt content
Unfermented coffee beansUFC10.11 aBC ± 0.010.11 aBC ± 0.010.11 aB ± 0.010.10 bAB ± 0.01
UFC20.12 aB ± 0.010.11 aBC ± 0.010.09 bC ± 0.010.08 bBC ± 0.01
UFC30.13 aB ± 0.010.12 bB ± 0.010.10 cBC ± 0.010.09 dB ± 0.01
UFC40.13 bB ± 0.010.14 aA ± 0.010.09 cC ± 0.010.07 dC ± 0.01
UFC50.11 bBC ± 0.010.13 aB ± 0.010.10 cBC ± 0.010.07 dC ± 0.01
Average0.12 ± 0.010.12 ± 0.010.10 ± 0.010.08 ± 0.01
Fermented coffee beansFC10.12 aB ± 0.010.11 aBC ± 0.010.09 bC ± 0.010.09 bB ± 0.01
FC20.12 ab ± 0.010.11 bcBC ± 0.010.13 aA ± 0.010.10 cAB ± 0.01
FC30.10 aC ± 0.010.10 aC ± 0.010.10 aBC ± 0.010.07 bC ± 0.01
FC40.19 aA ± 0.010.14 bA ± 0.010.11 cB ± 0.010.11 cA ± 0.01
FC50.11 aBC ± 0.010.10 aC ± 0.010.09 bC ± 0.010.09 bB ± 0.01
Average0.13 ± 0.010.11 ± 0.010.10 ± 0.010.09 ± 0.01
All values represent the average of three replicates from unfermented (UFC) and fermented (FC) coffee beans with five different brands. Different depicted significant differences between samples based on the ANOVA and Tukey’s honest significant difference (HSD) post hoc test (p < 0.05). Different lowercase letters a–d indicate significant differences for particle size. Different capital letters A–E indicate significant differences for sample types.
Table 2. Colour measurements of unfermented and fermenetd coffee brew with four coffee bean grinding sizes.
Table 2. Colour measurements of unfermented and fermenetd coffee brew with four coffee bean grinding sizes.
SampleSize 1 (250 µm)Size 2 (350 µm)Size 3 (550 µm)Size 4 (750 µm)
L*a*b*L*a*b*L*a*b*L*a*b*
Unfermented coffee beansUFC150.24 de ± 0.93 8.05 e ± 0.5954.52 ab ± 1.9953.57 d ± 1.536.24 d ± 1.2553.74 b ± 0.9958.36 bc ± 0.964.76 ab ± 1.6454.01 ab ± 2.6659.98 bcde ± 1.745.44 bc ± 1.4956.69 a ± 2.10
UFC257.56 bc ± 0.186.71 f ± 1.8952.46 bc ± 1.4460.13 bc ± 0.824.17 d ± 1.6951.01 b ± 0.9458.57 b ± 1.525.55 a ± 0.6052.96 ab ± 0.9057.70 def ± 1.207.57 ab ± 0.8856.76 a ± 1.47
UFC349.63 ef ± 1.2112.83 bc ± 1.0247.60 e ± 1.7956.80 cd ± 0.6810.33 bc ± 1.3263.27 a ± 0.7957.80 bc ± 1.707.03 a ± 1.7258.05 a ± 1.9869.14 a ± 1.350.64 cd ± 0.7353.24 ab ± 1.59
UFC440.07 g ± 0.2713.94 b ± 1.6754.49 ab ± 1.0644.74 e ± 1.4712.29 b ± 1.4737.83 c ± 1.5651.65 c ± 0.937.30 a ± 1.9052.72 ab ± 1.7855.02 ef ± 2.723.94 bcd ± 1.6842.67 bc ± 1.31
UFC539.58 g ± 0.3918.91 a ± 0.3552.78 bc ± 0.5242.21 e ± 0.6317.19 a ± 0.4053.06 b ± 0.6558.20 bc ± 0.666.24 a ± 0.2654.65 ab ± 0.2949.98 f ± 1.5911.10 a ± 1.0256.43 a ± 0.17
Average47.42 ± 0.6012.09 ± 1.1052.37 ± 1.3651.49 ± 1.0310.04 ± 1.2351.78 ± 0.9956.92 ± 1.156.18 ± 1.2254.48 ± 1.5258.36 ± 1.725.74 ± 1.1653.16 ± 1.33
Fermented coffee beansFC150.31 de ± 0.608.40 e ± 0.3750.07 d ± 1.5352.45 d ± 0.917.02 cd ± 0.2152.65 b ± 0.7257.06 bc ± 2.287.18 a ± 1.6453.18 ab ± 1.2865.03 abcd ± 1.252.58 bcd ± 0.3645.73 abc ± 1.60
FC251.93 d ± 0.3710.27 d ± 0.5156.25 a ± 0.8754.44 e ± 1.468.97 a ± 0.7257.17 ab ± 1.9458.41 bc ± 0.756.98 a ± 1.0557.01 ab ± 1.7060.42 bcde ± 1.634.60 bcd ± 0.7954.61 ab ± 1.68
FC358.94 a ± 1.222.36 gh ± 0.6148.92 de ± 2.1264.73 ab ± 0.82−0.42 e ± 0.8642.03 c ± 1.8263.16 ab ± 1.40−0.36 c ± 0.9642.64 c ± 0.8067.24 ab ± 1.02−0.67 d ± 2.1240.49 c ± 1.17
FC459.63 a ± 2.183.40 g ± 1.2149.97 d ± 0.7569.79 a ± 1.24−2.40 e ± 0.6139.50 c ± 2.5966.45 a ± 1.300.48 bc ± 0.9649.04 bc ± 2.6759.28 cde ± 1.206.46 ab ± 1.5156.94 a ± 1.80
FC558.78 ab ± 0.921.29 h ± 0.0452.38 bc ± 1.3769.92 a ± 1.26−0.21 e ± 1.4650.43 b ± 2.9269.92 a ± 2.26−0.21 bc ± 1.4650.43 abc ± 2.9266.90 abc ± 0.53−0.44 d ± 0.4547.03 abc ± 1.39
Average55.92 ± 1.065.14 ± 0.5551.52 ± 1.3362.27 ± 1.142.59 ± 0.7748.36 ± 1.9963.00 ± 1.592.81 ± 1.2150.46 ± 1.8763.77 ± 1.132.51 ± 1.0548.96 ± 1.53
ΔE11.0113.5491.115.92
All values represented as the average of three replicates from unfermented coffee (UFC) and fermented coffee (FC) with five different brands. ΔE represents the colour difference between the average value of fermented and unfermented coffee. Different letters a–h depict significant differences between samples based on the ANOVA and Tukey’s honest significant difference (HSD) post hoc test (p < 0.05).
Table 3. The content range of volatile compounds identified in unfermented and fermented coffee brews by HS-SPME-GC-MS.
Table 3. The content range of volatile compounds identified in unfermented and fermented coffee brews by HS-SPME-GC-MS.
No.Compound NameMolecular FormulaAromaRT * (min)Conc. (ng/mL)
Unfermented Coffee
UFC1UFC2UFC3UFC4UFC5
Pyridines
1PyridineC5H5NSour/smoky/burnt/coffee10.490.35–0.680.68–0.830.45–0.650.66–0.990.53–1.00
Pyrazines
22-MethylpyrazineC5H6N2Nutty/cocoa/roasted13.011.98–2.031.03–1.431.32–1.751.20–1.871.18–2.15
32,5-DimethylpyrazineC5H6N2Nutty/peanut/musty/earthy14.730.67–0.910.37–0.650.41–0.740.50–0.970.47–1.06
42,6-DimethylpyrazineC6H8N2Chocolate/nutty/roasted14.921.02–1.250.61–0.960.66–1.150.77–1.270.70–1.44
52-EthylpyrazineC6H8N2Nutty/roasted/cocoa/coffee15.050.71–0.830.43–0.670.63–0.730.56–0.890.55–0.93
62-Ethyl-6-methylpyrazineC7H10N2Roasted potato/roasted hazelnut16.550.77–1.060.46–0.840.47–0.910.61–1.210.59–1.43
72-Ethyl-5-methylpyrazineC7H10N2Coffee/roasted/nutty16.720.68–0.960.42–0.730.43–0.820.58–1.090.58–1.22
Acids
8Acetic acid C2H4O2Sour/overripe fruit18.340.80–0.980.43–0.830.52–0.770.52–0.880.46–0.89
Furan and Furanic compounds
9FurfuralC5H4O2Sweet/woody/bready/caramellic18.545.65–7.139.10–10.535.83–8.758.99–13.087.24–12.03
102-FuranmethanolC5H6O2Sweet/brown caramellic/bready/coffee23.622.74–2.992.72–3.692.48–3.482.71–4.292.62–4.10
115-MethylfurfuralC6H6O2Spice/caramel/bready/coffee21.373.10–5.725.04–7.103.04–5.614.33–8.713.96–8.03
12Furfuryl acetateC7H8O3Fruity/banana/ethereal20.521.48–2.002.31–3.121.30–2.202.21–3.301.93–3.16
Ketones
132-AcetylfuranC6H6O2Sweet/nutty/roasted/coffee19.641.33–1.522.05–2.471.44–2.101.73–2.671.15–2.26
Phenols
142-Methoxy-4-vinylphenolC9H10O2Sweet/spicy/clove-like/smoky34.770.33–0.780.25–0.360.33–0.430.31–0.430.34–0.39
No.Compound NameMolecular FormulaAromaRT * (min)Conc. (ng/mL)
Fermented Coffee
FC1FC2FC3FC4FC5
Pyridines
1PyridineC5H5NSour/smoky/burnt/coffee10.490.37–0.490.47–0.610.34–0.420.57–0.720.29–0.36
Pyrazines
22-MethylpyrazineC5H6N2Nutty/cocoa/roasted13.012.21–2.631.59–2.241.63–2.371.46–2.051.61–1.87
32,5-DimethylpyrazineC5H6N2Nutty/peanut/musty/earthy14.730.79–1.170.53–0.970.55–0.970.52–0.990.59–0.67
42,6-DimethylpyrazineC6H8N2Chocolate/nutty/roasted14.921.19–1.610.93–1.460.38–1.440.87–1.381.05–1.14
52-EthylpyrazineC6H8N2Nutty/roasted/cocoa/coffee15.050.79–1.060.61–1.000.58–0.930.57–0.910.63–0.87
62-Ethyl-6-methylpyrazineC7H10N2Roasted potato/roasted hazelnut16.550.78–1.300.71–1.280.59–1.080.69–1.260.84–0.94
72-Ethyl-5-methylpyrazineC7H10N2Coffee/roasted/nutty16.720.75–1.190.58–1.070.59–1.040.62–1.130.72–0.81
Acids
8Acetic acid C2H4O2Sour/overripe fruit18.340.70–0.750.37–0.840.46–0.750.60–0.760.39–0.83
Furan and Furanic compounds
9FurfuralC5H4O2Sweet/woody/bready/caramellic18.547.63–8.667.91–10.325.09–7.296.76–9.295.65–5.89
102-FuranmethanolC5H6O2Sweet/brown caramellic/bready/coffee23.623.01–3.463.40–4.142.18–3.142.64–3.842.51–2.83
115-MethylfurfuralC6H6O2Spice/caramel/bready/coffee21.373.43–4.704.84–7.362.17–3.943.92–6.493.63–4.07
12Furfuryl acetateC7H8O3Fruity/banana/ethereal20.521.49–2.043.82–5.000.87–1.672.01–2.991.88–2.22
Ketones
132-AcetylfuranC6H6O2Sweet/nutty/roasted/coffee19.641.47–1.861.63–2.300.91–1.571.33–2.051.41–1.45
Phenols
142-Methoxy-4-vinylphenolC9H10O2Sweet/spicy/clove-like/smoky34.770.40–0.530.36–0.470.08–0.440.35–0.420.37–0.40
* RT is short for retention time. All values represent the average of three replicates from unfermented (UFC) and fermented (FC) coffee samples with five different brands.
Table 4. Classification artificial neural network results for Models 1 and 2. Abbreviations: MSE: means squared error.
Table 4. Classification artificial neural network results for Models 1 and 2. Abbreviations: MSE: means squared error.
StageSamplesAccuracyErrorPerformance (MSE)
Model 1: Inputs: NIR; Targets: type of coffee
Training12699.7%0.3%0.04
Testing5491.6%9.4%0.05
Overall18093.9%6.1%-
Model 2: Inputs: electronic nose; Targets: type of coffee
Training42098.4%1.6%0.02
Validation9092.4%7.6%0.07
Testing9092.4%7.6%0.07
Overall60091.2%8.8%-
Table 5. The results of the artificial neural network regression Models 3 and 4. Abbreviations: R: correlation coefficient; MSE: means squared error.
Table 5. The results of the artificial neural network regression Models 3 and 4. Abbreviations: R: correlation coefficient; MSE: means squared error.
StageSamplesObservationsRSlopePerformance (MSE)
Model 3: Inputs: NIR; Targets: volatile aromatic compounds
Training12617640.990.990.07
Testing547560.891.001.34
Overall18025200.961.00-
Model 4: Inputs: electronic nose; Targets: volatile aromatic compounds
Training42058800.990.980.11
Testing18025200.981.000.25
Overall60084000.990.98-
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, H.; Viejo, C.G.; Fuentes, S.; Dunshea, F.R.; Suleria, H.A.R. The Impact of Wet Fermentation on Coffee Quality Traits and Volatile Compounds Using Digital Technologies. Fermentation 2023, 9, 68. https://doi.org/10.3390/fermentation9010068

AMA Style

Wu H, Viejo CG, Fuentes S, Dunshea FR, Suleria HAR. The Impact of Wet Fermentation on Coffee Quality Traits and Volatile Compounds Using Digital Technologies. Fermentation. 2023; 9(1):68. https://doi.org/10.3390/fermentation9010068

Chicago/Turabian Style

Wu, Hanjing, Claudia Gonzalez Viejo, Sigfredo Fuentes, Frank R. Dunshea, and Hafiz A. R. Suleria. 2023. "The Impact of Wet Fermentation on Coffee Quality Traits and Volatile Compounds Using Digital Technologies" Fermentation 9, no. 1: 68. https://doi.org/10.3390/fermentation9010068

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop