Introduction

More than nine million tons of coffee products were consumed worldwide in 2018 (International Coffee Organization 2019). At present, approximately six million tons of spent coffee grounds (SCGs) are generated annually worldwide (Mata et al. 2018). Approximately half of the overall SCGs are generated by the instant (i.e., soluble) coffee industry and major part of those SCGs are simply discarded or burned as fuel in the coffee industry (Cruz et al. 2012; Plaza et al. 2012). That results in the release of considerable amount of carbon dioxide and biologically toxic components, which pose environmental hazards (Atabani et al. 2019; Murthy and Naidu 2012; Mussatto et al. 2011b).

Over the last decade, research on SCGs aimed at waste revalorization has significantly increased, including novel approaches to reuse SCGs effectively in an eco-friendly manner (Campos-Vega et al. 2015; Obruca et al. 2015; Kovalcik et al. 2018). The valorization of SCGs have been proposed without any fractionation as substrates for the cultivation of microorganisms (Vítězová et al. 2019), lead removals from contaminated water (Lavecchia et al. 2016) and electrode materials (Wang et al. 2016). As low-cost raw material, bioactive components were extracted from SCGs, such as caffeine (Shang et al. 2017), chlorogenic acid (Ballesteros et al. 2017), kahweol and cafestol (Acevedo et al. 2013) for variety use in the food and pharmaceutical industries (Mata et al. 2018). In particular, extracting lipids containing 10–20% SCGs and its transformation into biodiesel oil has been demonstrated as a potential fuel feedstock (Atabani et al. 2019; Dang and Nguyen 2019; Karmee 2018; Kookos 2018; Jenkins et al. 2017). However, recycling SCG for the purposes mentioned above is still challenging due to its heterogeneity and economic inefficiency.

Almost half of the dry weight of SCGs consists of cellulose and hemicellulose, which can be exploited as sources of value-added materials (Arya and Rao 2007; Campos-Vega et al. 2015; Mussatto et al. 2011b). Cellulose constitutes approximately 10% of SCGs (Ballesteros et al. 2014; Mussatto et al. 2011a, b; Obruca et al. 2015). Extracting cellulose from SCGs requires extreme hydrolysis conditions such as lower pH, higher temperature, and reaction times (Mussatto et al. 2011b). This is caused by the fact that the coffee bean cell walls are formed with a strong honeycomb structure (Kanai et al. 2019; Kasai et al. 2006), making hydrolysis at mild conditions and the consequent cellulose extraction inefficient.

Native cellulose can be selectively isolated from plant cell walls by catalytic oxidation, using the 2,2,6,6-tetramethylpiperidine-1-oxyl radical (TEMPO) (Saito et al. 2007). When cellulose is oxidized with TEMPO, only hydroxyl groups on microfibril surface are converted to sodium carboxylate groups. These TEMPO-oxidized cellulose nanofibers (TOCNFs) can be transformed into discrete cellulose nanofibers (CNFs) with an average width of 3–5 nm by gently mechanical disintegration in water (Isogai et al. 2011; Isogai and Bergström 2018). The CNFs have been extracted not only from wood, but also from various non-wood materials including industrial residues, e.g., bamboo (Chen et al. 2017), cassava bagasse (Panyasiri et al. 2018), pineapple leaf (Balakrishnan et al. 2017), banana peel (Pelissari et al. 2014), oil palm (Rohaizu and Wanrosli 2017). The number of non-wood CNF research publications constitutes more than 50% of the wood CNF publications in 2018 (Pennells et al. 2019); however, the preparation of CNFs from SCGs has not been reported yet.

In this study, we report SCGs as a completely new non-wood source of CNFs. SCG-derived TOCNFs have been produced and characterized using field emission scanning electron microscopy (FE-SEM), solid-state nuclear magnetic resonance spectroscopy (NMR), X-ray diffraction (XRD), and thermogravimetric analysis (TGA). We also present some preliminary results (SEM, solid-state NMR, TGA) for nano-composite films of the SCG-derived TOCNFs with poly(vinyl alcohol) (PVA) as the matrix. In this paper, we presented SCGs have potential to be alternative source of wood-derived CNF as a view of structure of the TOCNF.

Materials and methods

Preparation of spent coffee grounds

Commercially available robusta roasted coffee beans (RCBs) from Indonesia and arabica RCBs from Tanzania were ground using an electric coffee grinder (Kalita, EG-45, Japan) for 70 s. Hot water was added to the ground RCBs. Wet-ground RCBs were spread thinly on filter paper and dried at room temperature for at least 1 day. Completely dried ground RCBs were termed SCGs. Triacylglycerol (TAG), the main lipid present in SCGs, was removed by stirring in n-hexane for 2 days (Kanai et al. 2019). After delipidization, SCGs were termed solid residues. As a comparative sample, microcrystalline cellulose (MCC, 20 µm wide) was purchased from Sigma-Aldrich.

TEMPO-mediated oxidation

Solid residues (1 g) were suspended in distilled water (130 mL) containing TEMPO (20 mg, 98%, Sigma-Aldrich) and NaBr (0.1 g, \(\ge\) 99.0%, Sigma-Aldrich). TEMPO-mediated oxidation was initiated with the addition of NaClO (60 mL, 3–5%, Sigma-Aldrich) at pH 10–10.5 and room temperature. The TEMPO-mediated oxidation was performed for 3 h upon continuous stirring, and the pH was kept at 10–10.5 by adding 0.5 M NaOH or 1 M HCl during oxidation. The end of the oxidation reaction was detected when pH did not change for 10 min (Isogai 2018). Ethanol (10 mL) was added to quench TEMPO-mediated oxidation. The oxidized cellulose was filtered out under vacuum (filter paper with 3.0 µm pores) and then washed 3 times with distilled water. An aliquot of the collected cellulose slurry was lyophilized with a freeze-dryer (EYELA, FDU-2100) for 2 days to determine its dry mass. The cellulose slurry was dispersed to 1.5 wt% in distilled water and sonicated for 2–3 min with a homogenizer (BRANSON, Sonifier Analog Series 250) using the setting of output:3 and duty cycle:41% to obtain a gel-like TOCNF dispersion.

Preparation of composite films

PVA (polymerization degree approximately 1500, saponification degree 86.0–90.0 mol%, Wako Pure Chemicals Co., Japan) powder was dissolved (1.0 M) into distilled water for 10 min, and subsequently stirred at 90 °C for 1 h. After cooling to room temperature, 1.0 M PVA solution was added to a TOCNF dispersion (1.5 wt%) at 50 wt% loading and stirred for 3 days. PVA/TOCNF dispersion was then carefully and uniformly cast into a Teflon square dish and dried with a constant temperature dryer (DRV320DE, Advantec Tokyo Co., Ltd., Japan) at 40 °C overnight in vacuo.

SEM

The gel-like TOCNF dispersion (0.5 g) was washed with tert-butanol (10 mL, \(\ge\) 99.0%, Sigma-Aldrich). The dispersion was centrifuged at 15,000g for 5 min (MX-305, Suprema 21, TOMY), and the supernatant was removed. This process was repeated 10 times, replacing solvent; after that, the TOCNFs were lyophilized for 6 days. The completely dried TOCNF powder was observed on a field emission scanning electron microscopy (FE-SEM) (HITACHI, SU8010) coated with osmium at 1.0 kV (Fig. 1a) and with Pt–Pd at 0.5 kV (Fig. 1b). PVA/TOCNF composite films covered with Pt–Pd coating were also observed on FE-SEM, with an accelerating voltage of 1.0 kV.

Fig. 1
figure 1

SEM images of SCG-derived TOCNFs differing in scale bars: a 1.00 μm and b 500 nm

Solid-state NMR

The solid materials such as TOCNF powder, PVA film, and PVA/TOCNF composite films were directly packed into a 4.0 mm outer diameter zirconia rotor. 13C cross-polarization magic angle spinning (CP-MAS) solid-state NMR spectra were recorded on a 600 MHz NMR spectrometer (Bruker Avance III) equipped with a 4.0 mm 1H–13C–15N triple resonance E-free MAS probe at room temperature with a contact time of 1.0 ms and a recycle delay time of 3 s. MAS frequencies were 13, 10 and 12.5 kHz for TOCNF powder, MCC samples, and composite films, respectively. 13C chemical shifts were externally referenced to tetramethylsilane (0.0 ppm). The NMR measurements were operated in TOPSPIN software as well as the data processing and peak deconvolution.

XRD

XRD experiments were performed using an X-ray diffractometer operating at 40 kV and 45 mA at room temperature. The hydrated sample was placed on a non-reflective sample plate and was dried for 3 h using vacuum dryer. The powder-XRD patterns were recorded with Cu Kα radiation (λ = 0.15418 nm) at a step size of 0.05° over the 5°–50° 2θ range with a scanning speed of 0.3°/min. The patterns were corrected using a blank and then analyzed using the pseudo-Voigt function for peak deconvolution (Ling et al. 2019).

TGA

TGA was performed to compare the stability of TOCNFs and MCC. Approximately 1 mg of each sample was placed in an aluminum pan, using an empty pan as a reference. TGA was performed using an STA 2500 Regulus (NETZSCH Co., Ltd, Germany) at a temperature range of 30–450 °C with an increasing temperature rate of 10.0 °C/min under a helium stream with a flow rate of 50.0 mL/min. The neat PVA and the composite PVA/TOCNF films were also measured by a TGA-50 (Shimadzu Co., Ltd, Japan) using a platinum cell from 25 to 800 °C with an increase of 10.0 °C/min, under a nitrogen gas stream at a flow rate of 50.0 mL/min. The derivative thermogravimetric data of the films were smoothed with a 50-point adjacent averaging smooth function.

Results

Characterization of SCG-derived TOCNFs

SEM images of TOCNFs prepared from SCGs are shown in Fig. 1. As shown in Fig. 1a, TOCNFs are susceptible to partial aggregation during the drying process, which makes it difficult to distinguish the borders of TOCNF; however, most TOCNFs are well separated from each other (Fig. 1b). The termination of TOCNFs tends to be bent as shown in Fig. 1b. The diameters of SCG-derived TOCNFs were found to be in a range of 20–35 nm with an average diameter of 25 nm (n = 30, n: the number of TOCNFs to calculate the average diameter).

To characterize the final material, we performed 13C solid-state NMR experiments. The signals at 60–110 ppm correspond to glucose units in cellulose (Fig. 2). Namely, the C6 (62.8 and 65.3 ppm), C2, C3, C5 (72.4 and 75.0 ppm), C4 (83.9 and 89.1 ppm), and C1 (105.3 ppm) groups were assigned. Hemicelluloses, which mainly contain mannose, galactose, and arabinose, and lignin signals did not appear in the 13C NMR spectrum (Fu et al. 2015; Mussatto et al. 2011b; Liitiä et al. 2003); however, traces of TAG appeared at 20–35 ppm (Kanai et al. 2019). The lower field isolated peak at 174.2 ppm was assigned to a carboxylic acid (COO-), indicating the successful TEMPO-mediated oxidation of SCGs (Saito et al. 2007). Furthermore, the 13C chemical shifts of C4 and C6 carbons are highly sensitive to the cellulose crystal structure and hence, the crystallinity of the TOCNFs could be determined by comparing the separated areas (Saito et al. 2005). The C4 of the TOCNFs resonated at 89.1 ppm for the crystalline state, and 83.9 ppm for the non-crystalline (or amorphous) state (Park et al. 2010). The crystallinity of TOCNFs was estimated to be 32% by deconvolution analysis of the C4 NMR signal, which is 16% lower than that of MCC (supporting Figure S2).

Fig. 2
figure 2

13C CP-MAS NMR spectrum of SCG-derived TOCNFs with signal assignment. “ssb” represents spinning sidebands. The chemical structure of cellulose is shown on the upper left

The powder-XRD pattern was recorded in order to determine the crystal structure and degree of crystallinity of the SCG-derived TOCNFs (Fig. 3). The XRD patterns showed typical cellulose I as expected, with two distinct crystal phases Iα and Iβ in various proportions (Nishiyama et al. 2002; Poletto et al. 2013). The three main peaks at 14.9°, 16.7°, and 22.6° for cellulose Iβ were assigned to Miller indices of (1-10), (110), and (200), respectively, which are the counterparts to the (100), (010), and (110) peaks of the cellulose Iα pattern (French 2014). The average crystal size corresponding to fiber width of the TOCNF was 4.2 nm, as calculated from the (22.6°) diffraction peak using the Scherrer equation (Scherrer 1918). The shape factor, i.e., K was taken as 0.9. Furthermore, it was possible to evaluate the sample crystallinity by deconvolution of the XRD pattern (Ling et al. 2019; Park et al. 2010). The crystallinity of the TOCNF (72%) was slightly lower than MCC (79%) (Supporting Figures S3 and S4), which was consistent with the trend calculated from NMR deconvolution analysis of the C4 signal.

Fig. 3
figure 3

Powder-XRD pattern of SCG-derived TOCNFs (a.u., arbitrary unit) measured at room temperature

As shown by the solid black line in Fig. 4, the TOCNF started to degrade earlier than MCC. The TOCNF showed gradual weight loss due to the strongly bounded water beginning at around 100 °C. Then, overlapping degradation occurred within 150 °C and 250 °C due to decarboxylation of the sodium carboxylate groups and dehydration of the cellulose chains (Lichtenstein and Lavoine 2017). The major degradation process of the TOCNF occurred in two steps at 251 °C and 267 °C. In the first step, sodium hydro-glucuronate units were decomposed and in the second step, unaltered cellulose units were decomposed (Fukuzumi et al. 2010). The second degradation temperature is 77 °C lower than maximum weight loss of MCC. This indicates that crystalline cellulose chains decrease in peak points due to thermally unstable anhydroglucuronate units in the TOCNF (Cao et al. 2012). Compared to MCC, the TOCNF showed much higher char residues (30 wt%) at 450 °C. According to Lichtenstein and Lavoine (2017), sodium cation as a counterion influenced the char production.

Fig. 4
figure 4

Thermogravimetric curves of SCG-derived TOCNFs (solid black line) and MCC (solid red line), and derivative thermogravimetric curves (SCG-derived TOCNFs: dashed black line, MCC: dashed red line). Thermal degradation temperature of each sample is shown in DTG curves

Preparation and structure characterization of PVA/TOCNF composite film

In order to investigate an interaction of the TOCNF with PVA polymer, structure of composite film was characterized by solid-state NMR and TG/DTA. A transparent composite film of 1:1 PVA/TOCNF was prepared, and it became slightly yellowish during a drying procedure (Figure S5). Morphology of the PVA/TOCNF composite film was observed by SEM as shown in Fig. 5. The surface of the film confirmed a high degree of uniformity, although air bubbles were observed when water was evaporated (Fig. 5a). TOCNFs aggregated in the film during the drying process and appeared as sharp tips in the cross-sections (Fig. 5b).

Fig. 5
figure 5

SEM images of a PVA/TOCNF (1:1) transparent composite film: a on surface and b in cross-sections

In the 13C solid-state NMR spectrum of PVA/TOCNF (1:1), the TOCNF and PVA signals were unambiguously observed (Fig. 6). The identifiable C1, C4 and carbonyl signals corresponding to TOCNF in the composite film were slightly shifted compared to that of the TOCNFs itself (the TOCNF in the composite film/the SCG-TOCNF; C1 104.8/105.3 ppm, C4 88.9/89.1 and 83.9/83.9 ppm, carbonyl 173.3/174.2 ppm). Especially, the carbonyl carbon of the TOCNF, which appeared originally at 174.2 ppm, slightly higher-field shift to 173.3 ppm on blending with the PVA polymer. The systematic NMR peak shifts of carbonyl carbon signals in cellulose acetate/VP-MMA polymer indicated that the blending with the VP-MMA copolymer disrupted intra- and inter-hydrogen bonding in the original cellulose acetate itself (Ohno and Nishio 2007). Therefore, our NMR result of the composite film is suggested that the blending with PVA polymer altered the hydrogen bonding behavior of the TOCNF, resulting the presence of interaction of the TOCNF with the water-soluble polymer. The signals at 60–80 ppm and 36–51 ppm have been assigned to the methine and methylene groups in PVA, respectively. Hydrogen bonding in the PVA film broadened the CH signal significantly (Kobayashi et al. 1998; Masuda et al. 2000). The low-intensity peak at 30 ppm corresponds to the remaining TAG. The saponification degree of PVA was 86.0–90.0 mol%, and therefore signals derived from polyvinyl acetate (PVAc, Scheme S1 in the Supporting Information) appeared at 21.4 ppm and 171.2 ppm in both spectra (Comotti et al. 1997).

Fig. 6
figure 6

13C solid-state NMR spectra of PVA/TOCNF (blue) and PVA (red) films. ssb: spinning sidebands

The TGA and corresponding DTG curves of TOCNF, PVA/TOCNF, and PVA films are shown in Fig. 7. There is an initial weight loss of up to 8% for all the three samples at around 100 °C corresponding to absorbed moisture in the films (Fukuzumi et al. 2009; Lee et al. 2009). Neat TOCNF and PVA films were found to show maximum weight loss at 255 °C (Fig. 7b t1) and 313 °C (Fig. 7b p1), respectively, as extracted from the corresponding DTG curves. In the case of PVA/TOCNF composite film, the decomposition temperature was recorded at about 289 °C which lies between those of the respective single films (Fig. 7b pt1). This result confirms that TOCNFs were successfully integrated into the PVA, most probably via hydrogen bonding between hydroxyl groups in TOCNFs and PVA. On the other hand, the weight loss occurred at around 380 °C in the neat TOCNF (Fig. 7b t2) and 435 °C in the neat PVA (Fig. 7b p2) films showed a similar temperature to those two corresponding degradations in the PVA/TOCNF composite film (Fig. 7b pt2 and pt3). Those two steps were probably due to each respective decomposition of PVA and cellulose structure in the films or carbonaceous matter (Lee et al. 2009).

Fig. 7
figure 7

a Thermogravimetric (TG) and b derivative thermogravimetric (DTG) curves of PVA/TOCNF (blue), PVA (black) and TOCNF (red) films

Discussion

Cellulose microfibrils vary widely in size, from 2 to 30 nm, depending on the cellulose source (Börjesson and Westman 2015). As an example, the completely individualized microfibril obtained from wood is 3–4 nm wide, which is the smallest elements next to cellulose molecules consisting of 30–40 cellulose chains (Isogai et al. 2011). The average diameter of SCG-derived TOCNFs was 25 nm, as shown in Fig. 1, suggesting that a few microfibril units are still fibrillated in the average crystal size revealed from the powder-XRD pattern. The most likely reason for insufficient fibrillation is quite high ratio of hemicelluloses (30–40 wt%), lignin (19.8–29.8 wt%) and TAG in SCGs (Kovalcik et al. 2018). Remaining TAG revealed in the 13C CP-MAS NMR spectrum (Fig. 2) may prevent complete disconnection. Also, there is a possibility that unobservable small amounts of hemicelluloses and lignin in NMR spectrum remain in TOCNFs. According to Isogai et al. (2011), hemicelluloses and lignin can be removed as water-soluble degraded fractions in TEMPO/NaBr/NaClO oxidation system. In this study, the required amount of NaClO in the TEMPO system was 3–18 times higher than holocelluloses reported by Kuramae et al. (2014). This suggests that plenty of NaClO was consumed in solubilization of hemicelluloses and lignin. The most beneficial feature of using TEMPO is to be able to get 3–4 nm narrow fibers. In order to achieve nano-fibrillation into the completely individualized microfibril, some pre-treatment with mild alkali and sodium chlorite for removing hemicelluloses and lignin to some extent is considered to be needed (Wise et al. 1946).

Another crucial structural feature estimated from chemical shifts in the 13C NMR spectrum (Fig. 2) is the conformation of CH2OH (C6–OH) in cellulose. There are three possible conformations that can be distinguished. The C6 signal is sensitive to this conformational change and can be considered as a diagnostic region; gauchegauche (gg, 60–62.6 ppm), gauchetrans (gt, 62.5–64.5 ppm), and transgauche (tg, 65.5–66.5 ppm) (Horii et al. 1983). In our case, the signal at 65.3 ppm corresponding to C6 can indicate the presence of the tg conformer. Native cellulose predominantly displays the tg conformation inside microfibrils, allowing the formation of intramolecular hydrogen bonds between O3 and O5, and O6 and O2 (Miyamoto et al. 2013; Nishiyama et al. 2002). On the other hand, the amorphous C6 peak at 62.8 ppm reflects the structure of the surface cellulose chains and may have both gt and gg conformations (Phyo et al. 2018; Yang et al. 2018).

The different crystallinity of the TOCNFs were estimated by XRD and NMR analysis (72% and 32%). There are several reasons for significant differences in crystallinity index can be observed depending on whether XRD peak or 13C4 NMR peak deconvolutions is used (Ioelovich 2016). Firstly, the results from the former method usually generate higher values than the latter, because of differences in measurement principles and analysis techniques (Park et al. 2009, 2010). Secondary, the XRD crystallinity index of textured sample has a tendency to be higher than that of non-textured sample (Ioelovich 2016, Rongpipi et al. 2019). Thus, the density and thickness of our XRD sample might influence the index. Thirdly, adding of signals of paracrystalline layers of crystalline and amorphous domains in C4 NMR peak deconvolution leads to decrease of a crystalline index value (Ioelovich 2016). It is previously suggested that there is a paracrystalline region in cellulose, which is less ordered with a somewhat larger mobility than the crystalline cellulose structure (Larsson et al. 1997). The surface induced by fibril aggregation is often presented as a disordered form with a very broad component around 84 ppm. However, the observed C4 signal at 83.9 ppm of SCGs-derived TOCNFs was not so much broad than that of crystalline component at 89.1 ppm (Fig. 2). By dynamic nuclear polarization (DNP) NMR experiments, well-resolved narrow C4 NMR signals of ball-milled cotton cellulose around 84 ppm suggested partial order component has been identified in the disordered domains (Ling et al. 2019; Kirui et al. 2019). Therefore, above reasons can be assumed that the difference of the crystallinity index of the TOCNFs. Importantly, the 13C NMR method is reasonable to use with lignin-removed cellulose samples (Daicho et al. 2018). As compared with 13C CP-MAS NMR spectra of RCBs and hexane-treated coffee residues (Kanai et al. 2019), our SCG-derived TOCNFs did not contain mostly lignin and hemicellulose as mentioned above.

The average crystal size of the TOCNFs (4.2 nm) from XRD is ~ 1 nm larger than that of other non-wood resources but relatively close to that of TEMPO-oxidized cellulose from softwood (3.8 nm) and hardwood (3.8 nm) (Kuramae et al. 2014; Okita et al. 2010; Puangsin et al. 2013). This demonstrates that SCG-derived TOCNFs show similar characteristics as wood-based TOCNFs. In addition, further investigation to generate completely individualized TOCN is warranted.

Inserting sodium carboxylate groups via TEMPO-mediated oxidation resulted in a significant decrease in temperature of thermal degradation; however, our results are within the temperature range of wood-based materials (Fukuzumi et al. 2009), indicating that the thermal stability of SCG-derived TOCNFs may be comparable to that of wood-derived TOCNFs. The roasting temperature of coffee beans is generally in the range of 170–230 °C for 10–15 min (Illy and Viani 1995); therefore, the celluloses contained in coffee beans and the resulting SCGs are not degraded during the roasting process.

PVA was chosen as a versatile matrix because of its film-forming ability as well as biocompatibility for TOCNFs (Yang et al. 2008; Khalil et al. 2014). Further investigation of composite materials based on SCG-derived TOCNFs will need to be performed but these preliminary results indicate compatibility.

Conclusions

This is a detailed structural study report of cellulose nanofibers derived from SCGs as a promising new non-wood source of CNFs. We have shown that TEMPO-mediated oxidation can be used to produce CNFs from SCGs without pre-processing steps of crushing. Purified SCG-derived TOCNFs were defined fibers in the width of 25 nm. In 13C CP-MAS NMR spectrum of SCGs-derived TOCNFs, the isolated carbonyl peak appeared, indicating the successful TEMPO-mediated oxidation to the cellulose in SCGs. The XRD analysis revealed the crystal structure of the TOCNFs is present in a typical polymorphic cellulose I form. The TOCNFs showed a characteristic thermal decomposition behavior by the TEMPO-mediated oxidation. Namely, structure and thermal property of the SCG-derived TOCNFs is similar to wood-derived TOCNFs.

Further, using the SCGs-derived TOCNFs, the composite film with PVA polymer was prepared. Solid-state NMR and TG/DTG experiments of the film revealed that the TOCNFs were sufficiently integrated with the PVA polymer. Thus, the SCGs-derived TOCNFs provides a possibility of compatibility to forming the composite film.