Introduction

Cork is the outer bark of the cork oak tree (Quercus suber L), and cork granulate is defined as cork fragments between 0.25 and 45 mm in dimension (UNE 56911, 1988) obtained by grinding the cork that is not suitable for the production of natural cork stoppers and disks and from the waste generated during cork manufacturing. Granulated cork accounts for 75 % of the raw material at most (Gil 2009).

Cork granulate is the raw material of composites used for the production of stoppers (agglomerated, micro-agglomerated, and technical stoppers) and the manufacture of decorative products (floor and wall coverings), as well as other building and industry applications (Gil 2009). Companies in the cork sector use different granule sizes to manufacture their products as needed in order to obtain the best yield from the raw material and the highest quality end product.

Although the quality requirements of granulated cork depend on its use, moisture content (M) is one of the most important parameters for trading and technological processing, from the field to both solid and granulated cork industries. It is therefore important to predict the M value in a wide range between maximum moisture content (MM) and equilibrium moisture content (EM).

Several authors have studied the evolution of the moisture content of cork from the tree until it reaches the EM with the environment and its mass becomes stationary (Costa and Pereira 2013; Robledano et al. 2009). The EM of cork may vary between 4 and 12 % for wide ranges of temperature (5–40 °C) and relative humidity (20–90 %) (González-Adrados and Haro 1994; Gil and Cortiço 1998). The time required to reach EM depends on environmental conditions, structural properties of the cork, and size of the material. The MM of cork planks reaches 500 % within 330 days at a temperature of 20 °C, or within 4 days at a temperature of 90 °C, when the cell wall and the lumen are saturated with water (Pereira 2007).

The mechanisms underlying the exchange of water with the environment, the sorption and desorption isotherms, and the drying kinetics of the cork in the field and under controlled conditions have been the subject of various studies (González-Adrados and Haro 1994; Gil and Cortiço 1998; Abdulla et al. 2009; Belghit and Bennis 2009; Costa and Pereira 2013; Pintor et al. 2012; Carpintero et al. 2014).

Water absorption follows a characteristic curve with three regions. In the first region, the water is rapidly absorbed with a variation in daily moisture content or constant moisture rate (MR); in the second region, the MR is lower and decreasing, while in the third region, there is scarce water absorption until reaching MM. The absorption ratio varies with the direction. It is clearly higher in the radial direction and increases with temperature (Pereira 2007). The drying surface also affects absorption: the larger the shape, the lower the water activity for the same water content (Abdulla et al. 2010). Desorption follows the same pattern, with hysteresis between the sorption and desorption curves (Lequin et al. 2010).

Near-infrared reflectance spectroscopy (NIRS) is a rapid, clean, and precise non-destructive analytical technique that has proven to be useful in agricultural and forestry industries (Schimleck et al. 2004; So et al. 2004; Tsuchikawa 2007; Gong and Zhang 2008). Numerous studies have demonstrated the potential of NIRS technology in predicting moisture content in wood (Defo et al. 2007; Jiang and Huang 2006; Mora et al. 2011; Thygesen and Lundqvist 2000a, 2000b; Tsuchikawa et al. 1996) and in predicting mechanical properties on a broad moisture content range (Watanabe et al. 2013; Kothiyal and Raturi 2011).

In the cork industry, recent studies on cork planks and natural cork stoppers support the feasibility of NIRS technology in controlling product quality as it permits to simultaneously obtain reliable information about certain chemical components (extractives), physicomechanical parameters (porosity, density, extraction force, and compression), and the origin of the cork (Prades et al. 2010, 2012, 2014; Gómez-Sanchez et al. 2013).

The feasibility of NIRS technology for predicting moisture content has been studied in natural cork planks and stoppers. The first feasibility study was carried out on a set of 167 planks (range 4.75–14.50 % and mean 7.55 %) through cross-validation. The best NIRS equation was obtained in the tangential section, with a coefficient of determination in the cross-validation \( (r_{\text{cv}}^{2} ) \) of 0.68 and a standard error of cross-validation (SECV) of 0.36 (Prades et al. 2010). Better results were obtained from a set of 150 stoppers stabilized into five hygrothermal classes with an EM of 4.30, 4.78, 5.44, 5.67, and 6.51 % in each class and by external validation. The best NIRS equation was obtained in the transversal section with a \( r_{\text{cv}}^{2} \) of 0.86, a coefficient of determination of external validation (\( r_{\text{EV}}^{2} \)) of 0.85, a SECV of 0.34, a standard error of external validation (SEP) of 0.38, and a ratio of performance to deviation (RPD) of 2.65 (Prades et al. 2014). The RPD value, which was close to 3, and the similarity between SECV and SEP showed that the equation was suitable for predicting moisture and improving the speed and efficiency of the traditional method (Williams 2001). The possibility of improving the results suggests that Vis/NIRS technology can be an effective and efficient method for predicting moisture content in cork products. Due to the capacity of cork to absorb water, it is very interesting for industry to have models capable of handling the maximum range of variation in moisture content at different steps of the manufacturing process. Different studies on wood follow this criterion (Watanabe et al. 2011; Cooper et al. 2011; Adedipe and Dawson-Andoh 2008). To the best of the authors’ knowledge, however, this technique has not yet been applied to the study of moisture content in cork granulate.

This study aims firstly to determine and model the behavior of cork granulate in the humidification process until reaching the MM content and in the subsequent drying process until reaching the EM under ambient conditions. Secondly, the study assesses the feasibility of Vis/NIRS technology for determining the moisture content of cork granulate in the range between MM and EM by developing a methodology based on the correlation of analytical reference data and near-infrared spectroscopic measurements.

Methodology

Sample set

The sample set comprised samples of cork granulate of the nine granulometric classes employed in the agricultural and forestry industries: G1 (0.5–1 mm); G2 (1–1.5 mm); G3 (1–2 mm); G4 (1.5–2.5 mm); G5 (2–4 mm); G6 (2–5 mm); G7 (2–6 mm); G8 (3–7 mm); and G9 (4–8 mm). Samples of 0.5 L of cork granulate were obtained from 1 to 10 L bags of each granulometric class. To do so, the granules were homogenized in the bags and subsequently poured into a pipette using a funnel until the established volume was obtained. The samples were then packed in clear plastic containers and weighed.

Moisture content

To determine and model the behavior of the moisture content of the cork granulate in the range between the MM content and the EM under ambient conditions, the samples underwent a saturation process followed by a drying process as described below.

Saturation process

0.5-L samples were saturated in clear plastic containers, where they were kept until reaching the MM. To control the increase in mass, the samples were periodically drained for 10 min in a colander, weighed, and submerged again in the container.

Drying process

To remove the water and begin drying the samples, a 80 × 40 mm opening was cut into the lid of each plastic container, which was then covered with a light-resistant cloth sieve of <0.5 mm, and sealed with a hot silicone sealant. The containers were placed upside down on wooden slats to remove the water. The samples were weighed periodically to monitor mass loss until reaching the EM. The samples were then poured into aluminum containers and placed in an oven at 103 ± 2 °C for drying up to constant weight to obtain the dry mass.

In order to establish the saturation and drying periods of the sample set until reaching MM and EM, respectively, a prior experiment was performed. Two 1-L samples of the G2 and G8 granule sizes were saturated and weighed at weekly intervals. The samples were considered to have reached the MM when the difference in mass between two consecutive weighings was <0.5 %. The samples were then dried until reaching the EM following the same criteria.

The moisture content was calculated on a dry basis according to UNE 56917 (1988).

$$ {\text{M}}_{\text{o}} \left( \% \right) = \frac{{{\text{m}}_{1} - {\text{m}}_{2} }}{{{\text{m}}_{2} - {\text{m}}_{3} }}\cdot100 $$

where m1 (g) is the wet mass of the container and of the sample, m2 (g) is the dry mass of the container and of the sample, and m3 (g) is the mass of the container.The variation in daily moisture content or MR for each granule size was calculated as:

$$ {\text{MR}}\left( \% \right) = \frac{{\left( {{\text{M}}_{\text{f}} - {\text{M}}_{\text{i}} } \right)}}{\text{t}} $$

where Mf (%) is the final moisture content, Mi (%) is the initial moisture content, and t is the time interval in days.

The equipment comprised a 0.01-g precision scale and drying oven at 103 ± 2 °C. The materials used were 1-L clear plastic containers of 180 × 140 × 50 mm3 with a lid, a cloth sieve of <0.5 mm, silicone sealant, and 1-L aluminum containers without lids.

Data were processed, and the moisture loss models were fitted using Microsoft Office Excel 2007 software.

Vis/NIRS analysis

Instrumentation and collection of spectra

To assess the feasibility of Vis/NIRS technology for determining the moisture content of cork granulate in the range between MM and ME, the samples were scanned in reflectance mode. The reflectance (log 1/R) spectra were collected using a Foss-NIRSystems System II 6500 spectrophotometer (Foss-NIRSystems Inc., Silver Spring, MD, USA) equipped with a transport module and autogain detectors; one from 400 to 1100 nm (known as the VIS region) and another from 1100 to 2500 nm (known as the NIR region). The samples were scanned by reflectance using a 1/4 rectangular cup, and spectra were collected every 2 nm using WinISI 1.50 software (Infrasoft International, Port Matilda, PA, USA).

After homogenizing each sample, part of the granules was poured into the 1/4 cup and one spectrum was obtained per sample under stable temperature conditions (24 °C) on the established days during the drying period. All of the granules were retrieved from the cup, weighed, and returned to the container.

Quantitative chemometric analysis

The moisture content was studied as a quantitative parameter. Spectra were collected, and chemometric analysis was performed using WinISI II software (version 1.5).

Prior to calibration, the CENTER algorithm (Shenk and Westerhaus 1995a) was used to assess the quality of the spectral data. This algorithm performs principal component analysis (PCA) to calculate the distance of each of the spectra from the center of the space defined by the entire population (the Mahalanobis distance) in such a manner that when the distance is >3 for a given sample, the software classifies it as a spectral outlier (Shenk and Westerhaus 1995a).

Multivariate regression was carried out using the modified partial least square regression algorithm (MPLS) described by Shenk and Westerhaus (1991). All spectral data were summarized in a few variables (PLS terms) and showed a higher correlation with the reference values. The residues obtained after calculating each regression term in the MPLS regression were standardized by dividing them by the standard deviation before calculating the next regression term (Shenk and Westerhaus 1991). Scatter correction was accomplished using the standard normal variate and detrending (SNV + DT) algorithm (Barnes et al. 1989). The spectra were transformed using different ranges of the 400–2500 nm spectrum and different combinations of derivative math treatments applied to the spectral data. WinISI derivative math treatments are referred to by a four-digit notation (a, b, c, d), where a is the derivative order, b is the derivative gap, c is the smoothing segment, and d is the second smoothing segment (Shenk and Westerhaus 1995b).

The calibrations were performed using 0 to a maximum of 9 passes of outlier (T and GH) elimination. T-outliers, or chemical outlier samples, are defined as samples with significant differences between their laboratory and predicted values (T value higher than 2.5 estimated by the Student’s t test), while GH-outliers, or spectral outlier samples, are defined as samples whose spectra show excessive Mahalanobis distance (GH > 3) to the spectral center of the training set (Shenk and Westerhaus 1995a).

The SELECT algorithm was used to establish the calibration and validation sets, which comprised approximately two-thirds and one-third of the total spectra sample, respectively.

The best equations were selected taking into account the lowest SECV and SEP values, the highest \( r_{\text{cv}}^{2} \) and \( r_{\text{EV}}^{2} \) values, as well as the values of the ratios of performance to deviation of the cross-validation (RPDcv) and the external validation (RPDEV), and the range error ratio of the cross-validation (RERcv) and the external validation (REREV), which is considered the best predictive statistic for determining the ability of an equation (Shenk and Westerhaus 1995a).

Results and discussion

Sample set

In accordance with the previous experiment, the saturation and drying periods were set at 80 and 58 days, respectively. Moisture content was obtained prior to saturation (M0) and during the drying period (M1, M2, M3, M4 and M5) at days 2, 9, 23, 39 and 58, respectively (Table 1; Fig. 1). Given that it was not possible to weigh the samples on the first day of the drying period due to an excess of water, it was determined that MM corresponded to M1 and EM to M5.

Table 1 Moisture content statistics by granulometric class for all samples: pre-saturation (M0), after 2 days following removal of water (M1), after 9 days (M2), after 23 days (M3), after 39 days (M4), and after 58 days (M5)
Fig. 1
figure 1

Evolution of moisture content (%) by granule size in the drying period. Period 1: day 2 to day 9 (MR1). Period 2: day 9 to day 23 (MR2). Period 3: day 23 to day 39 (MR3). Period 4: day 39 to day 58 (MR4)

Moisture content

For a mean ambient temperature of 9 °C during the period, MM varies within a wide range between 967.46 % for the smallest granule size and 271.33 % for the largest granule size (Table 1). The MM of the smallest granule size is greater than the maximum value of the equation as reported by Pereira (2007). Specifically, it is 446 and 545 % for densities of 190 and 160 kg m−3, respectively, probably due to the phenomenon of water adhesion between small cork granules.

After 58 days of drying and a relative humidity of 54 % at the end of the period, the EM ranged between 5.77 and 7.46 %, with a mean value for all granule sizes of 6.2 % (Table 1). This is in line with Pereira (2007), who reported an EM of 8, 10, and 16 %, respectively, at a relative humidity of 75, 85 and 95 %, and González-Adrados and Haro (1994), who reported an ME of about 6 % for a temperature of 20 °C and a relative humidity of 65 %.

The variation in daily moisture or MR of the samples shows mean values of +6.1 % (+4.24 to +11.68 %) during saturation and of −8.98 % (−0.06 % to −24.07) during drying, thus indicating hysteresis between the sorption and desorption curves (Lequin et al. 2010). Due to the low diffusion coefficient of cork and the greater surface area per unit of volume, smaller granule sizes show a higher positive (absorption rate) and negative (desorption rate) MR with progressively decreasing values as the granule size increases from −17.2 for G1 to −6.2 for G8 (Table 2) due to the hydrophobic nature of cork and its lack of wettability (Abenojar et al. 2014; Rosa and Fortes 1993). There are also important differences between the MR of the first drying period (between −23.3 and −17.8) and the last drying period (between 4.6 and −0.7) due to a desorption mechanism and the drying kinetics of cork (González-Adrados and Haro 1994; Belghit and Bennis 2009).

Table 2 Moisture rate (MR) for the G1, G3, G5, and G8 granulometric classes for all samples (G1–G9): in the saturation period (MRI), in the drying period from day 2 to day 58 (MRD), and in period 1: day 2–day 9 (MR1). Period 2: day 9–day 23 (MR2). Period 3: day 23–day 39 (MR3). Period 4: day 39–day 58 (MR4)

According to Pereira (2007), cork planks under natural conditions after boiling in water are dried with an MR of −8.33 % (from 65 to 40 % in 3 days), while small samples dry more quickly with a MR of −11.67 % (from 44 to 9 % in 3 days). For cork granulate, the MR continues to increase until reaching −12.3 %.

In fitting the moisture curve in the drying period from MM to EM and omitting the fits that show a negative moisture content, the most accurate model is an exponential model with coefficient of determination (R 2) values between 0.90 and 0.94 depending on the granule size, and of 0.84 for the training set.

$$ M_{G1} (\% ) = 1855.6 e^{ - 0.089t} ;\,\,\,(R^{2} = 0.92) $$
$$ M_{G2} (\% ) = 955.68 e^{ - 0.088t} ;\,\,\,(R^{2} = 0.92) $$
$$ M_{G3} (\% ) = 1359.5 e^{ - 0.096t} ;\,\,\,(R^{2} = 0.91) $$
$$ M_{G4} (\% ) = 774.67 e^{ - 0.091t} ;\,\,\,(R^{2} = 0.90) $$
$$ M_{G5} (\% ) = 622.26 e^{ - 0.087t} ; \,\,\,(R^{2} = 0.91) $$
$$ M_{G6} (\% ) = 405.06 e^{ - 0.074t} ; \,\,\,(R^{2} = 0.93) $$
$$ M_{G7} (\% ) = 354.57 e^{ - 0.078t} ; \,\,\,(R^{2} = 0.92) $$
$$ M_{G8} (\% ) = 416.28 e^{ - 0.082t} ; \,\,\,(R^{2} = 0.92) $$
$$ M_{G9} (\% ) = 244.67 e^{ - 0.074t} ; \,\,\,(R^{2} = 0.92) $$
$$ M_{G1 - G9} (\% ) = 921.52 e^{ - 0.088t} ; \,\,\,(R^{2} = 0.84) $$

where M is the moisture content on a dry basis, and t is the time in days from MM.

Vis/NIRS analysis

Spectral study

One spectrum was obtained per sample for each moisture content (M1, M2, M3, M4, and M5) using a Foss-NIRSystems SY II 6500 spectrophotometer and the 1/4 cup during the drying period. The spectral set consisted of 590 spectra (one spectrum for each of the 118 samples and for each of the five drying times M1–M5), which were subsequently measured to obtain the mean spectrum of the spectral set and the mean spectrum of each moisture content (Fig. 2).

Fig. 2
figure 2

Mean spectrum obtained for cork granulate for each drying period: after 2 days following removal of water (M1), after 9 days (M2), after 23 days (M3), after 39 days (M4), and after 58 days (M5) in the Vis/NIR region (400–2500 nm)

Nine spectral outliers were detected and eliminated in the calibration, six corresponding to the first spectra obtained (M1) and three corresponding to the fifth and final spectra obtained (M5). The three outliers corresponding to the fifth measurement (M5) were detected by the CENTER algorithm: a T-spectral outlier, which was due to an error when obtaining the spectrum of the sample G9-1 and two GH-outliers (samples G1-1 and G8-30). Sample G1-1 showed higher absorbance in the entire spectrum (GH 6.3), while sample G8-30 showed an anomalous spectrum in the visible region (GH 9.8). The six spectral outliers corresponding to the first measurement (M1), belonging to the G6 (1 outlier) and G8 (five outliers) granule classes, had GH ≈ 3. They were revised and eliminated; therefore, the final spectral set comprised 581 spectra.

The mean spectra exhibit the same profile in the visible region and in the NIR region as reported in previous studies on solid cork with absorption bands corresponding to the −NH and −OH groups (1450 and 1930 nm), and others due to −CH groups (1215, 1730, 2146, 2310, and 2354 nm) (Prades et al. 2010, 2012, 2014; Gómez-Sanchez et al. 2013). The two main peaks around 1450 and 1940 nm correspond to the overtone and combination bands of the hydroxyl (−OH) group. Although the absorption bands coincide, the absorption peaks are higher with increasing moisture content, thus shifting the profile of the mean spectra (Fig. 2). The profile obtained for the granulate in M5 (M = 6.2 %) is very similar to the profile obtained for natural cork stoppers (M = 6 %) (Prades et al. 2012), since the characteristics of the raw material are not altered in the manufacturing process. However, small differences are observed in the visible region due to the tonality (around 500–550 nm) and in the NIR region due to the gaps between the granules and the scatter effect.

The study of the first derivative of the raw spectra amplifies the regions without the scatter effect and permits identifying very marked minimums in the 1450 and 1930 nm bands (associated with −OH groups), thus reflecting the relationship between absorbance and moisture content, and much lower minimums in the 2300 nm band (associated with −CH). The change in detector can be observed in the 1100 nm band (Fig. 3).

Fig. 3
figure 3

Mean value of the first derivative of the spectra obtained for cork granulate at the five moisture points (M1, M2, M3, M4, M5) in the Vis/NIR region (400–2500 nm)

Quantitative chemometric analysis

Calibrations were performed with approximately two-thirds of the total sample, and the best equation was validated with the remaining one-third of the sample. The calibration and validation sets obtained from the SELECT algorithm (Shenk and Westerhaus 1995a) were structured to cover all the ranges, checking that the mean M and SD were of the same order of magnitude. The calibration set comprised 401 samples with a mean M of 322.5 % (between 4.5 and 1135.0 %) and a SD of 316.3 %. The validation set comprised 180 samples, with a mean M of 245.7 % (4.7–1075.5 %) and a SD of 315.6 %.

Models were developed for the entire spectral range, the Vis/NIR region (400–2500 nm), and using only the NIR region (1100–2500 nm). Although the results were similar, the best models were obtained in the 400–2500 nm region for all cases. With just one exception, the best pre-treatment was (SNV + DT), while it was possible to use different mathematical treatments (0, 0, 1, 1,) (1, 4, 4, 1) (1, 10, 10, 1) (2, 10, 5, 1) (Table 3) .

Table 3 Equations to predict moisture content of cork granulate with the best statistical values for the master instrument in the cross-validation

The coefficients of the best model provide more in-depth information about this analysis and show that they have more weight in the 400–750 nm range and in the 800–1100 nm range (Fig. 4a). The spectral region (400–750 nm) is associated with the color of the samples; however, the regression coefficients associated with these bands are not high. Upon recalibrating the equations with only the Vis region (400–1100 nm), the statistics are poorer. The spectral region (750–1100 nm) is associated with the presence of overtones and combination bands of the organic bonds (Schwanninger et al. 2011) and was found to have a clear influence on predicting moisture in the samples of cork granulate (Fig. 4b). The coefficients of the equation with better statistics (Table 3 bottom part) are shown in Fig. 4b. As can be seen, in this case the values of the regression coefficients in the region associated with the −OH absorption band (over 1450 and 1930 nm) are high in absolute value. This confirms that the NIR region—where the bands associated with the −OH groups and the moisture content are located—is necessary in the calibration. The high values of the coefficients in the 800–1100 nm region may be due to the higher gain of the instrument in that region.

Fig. 4
figure 4

Weights of the bands of the best model obtained for moisture content (%)

All the selected equations in the Vis/NIR region exhibited excellent accuracy and precision with a \( r_{\text{cv}}^{2} \) value of 0.99. Equation 6 was selected for the external validation as it showed a lower SECV and higher RPDcv and RERcv (Table 3 top part). The external validation of Eq. 6 was performed on 180 samples, yielding the following statistics: mean (245.7 %), SD (315.7 %), SEP (26.96 %), \( r_{\text{EV}}^{2} \) (0.99), RPDEV (11.7) and REREV (39.7).

SECV (24.22 %) and SEP (26.96 %) show values of the same order of magnitude. Analogously, RPDcv (12.6) and RPDEV (11.7), as well as RERcv (46.6) and REREV (39.7), show similar and high values, thus supporting the consistency of the equation (Table 3 top part). The linear fit between the moisture content values obtained in the assay and predicted in the external validation produces a straight line with a slope practically equal to one (0.998) and a bias of 1.44 (Fig. 5a).

Fig. 5
figure 5

Comparison of values obtained in moisture content assay (actual value) and predicted values by Vis/NIR (predicted value) for cork granulate in the validation step

The RPD and RER statistics of both the cross-validation and the external validation far exceed the minimum values recommended by Williams (2001) (three and ten, respectively). However, thresholds provided for the RPD value can be subjected to manipulation depending on how the sample set is constructed. Fearn (2002) considered that the RER value is a better test for the quality of the model, providing that there are no concentration outliers to inflate the value and that the concentration range of the constituent is well represented. According to the AACC method (AACC 1999), quality thresholds for model performance based on RER values provide that for RER ≥ 15 the calibration is good for quantification.

To analyze the influence of the Vis region and the potential of the NIR region in the estimation, the equations were developed in the NIR region (1100–2500 nm). The best equation was obtained without scatter pre-treatment or (0, 0, 1, 1) mathematical treatment, thus confirming the importance of the 1450 nm and 1930 wavelengths in the estimate. The predictive ability of the equations is lower (SECV values increase and the RER, RPD and r 2 statistics decrease) than that obtained for the full range of 400–2500 nm (Table 3 bottom part). However, the RER and RPD values, which are above 15 in all cases, are still good for quantifying moisture content (AACC 1999) and the \( r_{\text{cv}}^{2} \) are always >0.95. Therefore, it cannot be established that the color is responsible for the discrimination, although the wavelengths below 1000 nm do contribute to the predictive ability of the model.

Although there are significant differences between the chemical composition and anatomical structure of wood and cork, results obtained using Vis/NIR spectroscopy models to measure moisture content in solid wood (Leblon et al. 2013) can be compared with cork models, considering the variations in the range of the different studies. The r 2 values in wood (up to 0.99) are also reached in cork. The RMSE values in wood (2.2–30 %) are highly variable and increase with the range, producing the largest error (30 %) for the widest moisture range (0–250 %). Errors in cork granulate reach 24.22 % for a range of 4.52–1213.5 % in the Vis/NIR model (Table 3 top part) and 34.9 % for a range of 4.5–1157.6 % in the NIR model (Table 3 bottom part). However, the reliability of the equations must be compared using statistics such as RER and/or RPD. The RER values calculated from the error and range values in Leblon et al. (2013) vary from 8 to 12, with the highest RER value (12.2) reported in Watanabe et al. (2011). The RER values obtained for the cork granulate are clearly higher than those described for the determination of moisture in wood, when using either the Vis + NIR region (RER: 46.6; Table 3 top part) or only the NIR region (RER: 25.4; Table 3 bottom part).

The results obtained for the granulate show an improvement over previous results in cork planks (\( r_{\text{cv}}^{2} \) 0.66 and SECV 0.36) and stoppers (\( r_{\text{cv}}^{2} \) 0.86; \( r_{\text{EV}}^{2} \) 0.85; SECV 0.34; SEP 0.38; RPDEV 2.65; RPDEV 2.51). The moisture range of the granulate training set (271.3–967.5 %) is much higher than the moisture range found in previous studies in cork planks (4.74–14.5 %) and stoppers (3.47–8.14 %) (Prades et al. 2010, 2014). The RPD and RER values obtained in the granulate are substantially better than the values for cork planks and stoppers due to the higher range, the smaller error as a result of how the spectra was obtained, and the greater homogeneity of the granulated product compared to intact products such as cork planks and natural cork stoppers. The calibrations developed and described in Table 3 are in line with those of the AACC (1999) and Fearn (2002), thus indicating that they are suitable for quantifying the moisture content of cork granulate in both the VIS/NIR and NIR region.

Conclusion

The MM of cork granulate was reached after 80 days of saturation, with a mean MM of 661.1 (ranging from 967.5 % for the smallest granule size to 271.3 % for the largest). The EM under ambient conditions was reached after 58 days of drying, with a mean EM of 6.2 % (ranging from 5.8 % for the smallest granule size to 7.5 % for the largest). The most accurate model to estimate the moisture content as a function of days elapsed since the start of the drying period was exponential with coefficient of determination (R 2) values between 0.90 and 0.94 depending on the granule size, and of 0.84 for the training set.

The quantitative calibrations achieved excellent accuracy and precision, with \( r^{2}_{\text{cv}} \) and \( r_{\text{EV}}^{2} \) values of 0.99. The equation with the lowest SECV and SEP values (24.22 and 26.96 %, respectively) and the highest RPD and RER values in both the calibration (12.6 and 46.6, respectively) and the external validation (11.7 and 39.7, respectively) was selected. The equation has a high predictive capacity in line with Williams (2001) and is suitable for use in routine quantification according to AACC (1999).

No previous studies have estimated the moisture content of cork granulate between MM content and EM using Vis/NIRS technology. The results confirm that Vis/NIRS technology can be used to quantify the moisture content of cork granulate in routine analysis in an easy and inexpensive manner.