1 Introduction

Carbon spheres are widely used in areas such as adsorption [1,2,3], catalysis [4, 5], energy storage [6, 7], and electrode materials [8] because of their unique structures and properties such as a high surface area, large pore volume, good electrical conductivity, and excellent chemical stability. Recently, various methods have been used for the fabrication of carbon spheres, including hydrothermal/solvothermal [9], chemical vapor deposition [10,11,12], laser ablation [13], shock compression [14], and microwave-assisted methods [15]. However, there are few methods for the preparation of carbon spheres under continuous operating conditions. Spray pyrolysis is a facile method that has been widely used in the consecutive synthesis of fine particles in industry and it provides a good approach to the preparation of carbon spheres [16]. The precursor solutions are nebulized into micron-sized droplets by an ultrasound atomizer, but this is not enough to drive chemical reactions. The droplets are then carried into a furnace tube by an inert gas and the product is obtained via rapid pyrolysis. The residence time is very short, even only a few seconds. Generally, the carbon spheres produced by spray pyrolysis are largely microporous, which hinders ion diffusion and limits their electrochemical applications. It is therefore necessary to develop appropriate strategies for the preparation of porous carbon spheres (PCSs).

Much progress has been achieved in solving these problems by controlling the pore sizes of carbon spheres. Recently, many strategies have been used to fabricate PCSs, e.g., hard-templating [17] and soft-templating methods [18]. However, the hard-templating method is more time consuming and complicated than soft templating, therefore the practical applications of hard templating are limited. Soft templating has attracted much attention because it enables easy control of the morphology and pore structure of spherical particles. Soft templates generally consist mainly of emulsion droplets, micelles, vesicles, or bubbles, and template removal by carbonization is easier and safer than in the hard-templating method [19]. Commonly used carbon precursors for the soft-templated synthesis of PCSs are phenolic resin [20, 21], coal [22], pitch [23], and their derivatives. Compared with conventional carbon sources, biomass has the advantages of being cheap, environmentally sustainable, and renewable. The production of carbon spheres from renewable carbon resources is therefore desirable.

Lignocellulose, which is the most abundant sustainable biomass material, consists mainly of cellulose, hemicellulose, and lignin [24]. Larch sawdust, which is a biomass feedstock, contains a large amount of lignocellulose, and is always treated as waste. Additionally, the lignin and tannin in larch contain large amounts of polyphenols, which can be a good substitute for phenolics [25]. However, the phenolic-type structures in larch are larger than phenolics and contain additional functional groups [26]. The direct synthesis of carbon spheres from larch sawdust is difficult and inefficient. The macromolecules in larch sawdust are therefore transformed into smaller molecules by liquefaction for carbon sphere preparation. We previously reported that liquefied larch could be used to fabricate carbon spheres with honeycomb-like structures through spray pyrolysis. However, the spherical structure of the carbon spheres was easily damaged, which limits their applications [27]. To obtain completely spherical structures, a larch-based resin was obtained by further resinification after liquefaction and used to fabricate carbon spheres.

In this study, PCSs with developed micropores, mesopores, and macropores were prepared from larch sawdust as the carbon precursor and F127 as a soft template via spray pyrolysis. The morphologies, particle sizes, and pore structures of the PCSs were effectively regulated by adjusting the amount of F127 in the reaction system. Because of their unique properties, the PCSs had high specific capacitances and good rate capabilities.

2 Materials and methods

2.1 Materials

Larch sawdust (30–80 mesh) was purchased from local lumber mill, phenol (AR grade) and formaldehyde (HCHO, 38%, AR grade) were purchased from Kermel Chemical Reagent Co and used as received, sulfuric acid (H2SO4, 98%), phosphoric acid (H3PO4, 85%), methanol (CH3OH, AR grade) and sodium hydroxide (NaOH, AR grade) were purchased from Tianli Chemical Reagent Co and used as received, distilled water. Triblock copolymer Pluronic F127 [Mw = 12 600; poly(ethylene oxide) (PEO)-106–poly(propylene oxide) (PPO)-70–PEO-106] was purchased from Sigma-Aldrich Corp.

2.2 Preparation of PCSs

A larch-based resin was prepared according to a previously reported method [28]. Typically, larch sawdust (10 g), phenol (30 mL), sulfuric acid (98 wt%, 1 mL), and phosphoric acid (85 wt%, 2 mL) were mixed and heated under reflux at 120 °C for 2 h. Methanol (100 mL) was added to the liquefied product. The residue was removed by filtration and sodium hydroxide solution was added until the pH of the mixture was neutral. The mixture was filtered again and the filtrate was concentrated by vacuum distillation at 40 °C to achieve larch liquefaction. Finally, sodium hydroxide (3 g) as a catalyst and formaldehyde (37 wt%, 90 mL) were added and the mixture was stirred at 40 °C for 20 h to obtain larch-based resin.

PCSs were prepared from the larch-based resin as the carbon precursor and the triblock copolymer Pluronic F127 as the soft template. As shown in Fig. 1, different amounts of F127 were dissolved in distilled water (20 mL) and mixed with the larch-based resin (17.857 g). Distilled water (980 mL) was added to dilute the mixture. The obtained homogeneous solution was transferred to a household humidifier (POVOS PW106, 1.7 MHz). The liquid was atomized into aerosol droplets and transported by a high-purity argon flow into a furnace tube at 900 °C. The products were collected in a flask with a condensing device at the end of the furnace. The solid particles were isolated by vacuum filtration, washed several times with distilled water and ethanol, and dried overnight at 105 °C. The obtained products were carbonized in a furnace tube in a N2 atmosphere at 500 °C for 2 h, at a heating rate of 5 °C min−1, to remove the template. The samples obtained with different amounts of F127 are denoted by PCSs-x, where x is the F127/larch-based resin ratio (x = 0.05, 0.075, 0.1, 0.125, and 0.15, respectively). A sample prepared without addition of F127 was used for comparison, and denoted by CSs.

Fig. 1
figure 1

Schematic diagram of formation of PCSs from larch sawdust through spray pyrolysis combined with soft templating

2.3 Characterization

The morphologies, sizes, and structures of the products were examined by scanning electron microscopy (SEM; Quanta 200; FEI, Hillsboro, OR, USA) and transmission electron microscopy (TEM; Tecnai G2 F20 S-TWIN, USA) at an accelerating voltage of 15 kV and 200 kV, respectively. The samples for TEM observations were dispersed in ethanol and dropped on a holey carbon film on a Cu grid. N2 adsorption–desorption isotherm analysis was performed at − 196 °C with a surface area and porosity analyzer (gas adsorption analyzer, Micromeritics ASAP 2020, USA). The samples were degassed at 200 °C under vacuum for 4 h before the adsorption tests. The specific surface areas (SBET) were calculated by the Brunauer–Emmett–Teller (BET) method. The total pore volume was estimated by the single-point method from the amount of N2 adsorbed at a relative pressure (P/P0) of 0.99. The pore diameter distribution curve was derived from the adsorption branch by the Barret–Joyner–Halenda (BJH) method. The crystal structures of the samples were identified by powder X-ray diffractometer (XRD, Brucker D8, German) (Cu Kα radiation, λ = 0.15406 nm), operated at a scanning rate of 5° min−1 in the 2θ range 10°–90°. The disorder degrees of the samples were determined by Raman spectroscopy (Raman spectrometer, Renishaw inVia, UK) with a 633 nm laser as the excitation source. Fourier-transfer infrared (FT-IR) spectra were recorded with an FT-IR instrument (Perkin Elmer TV 1900, Waltham, MA, USA) in the range 400–4000 cm−1 at a resolution of 4 cm−1. Thermogravimetric analysis (TGA) was performed with a Pyris1 TGA instrument (TG, Perkin Elmer, USA) from 30 to 800 °C at a heating rate of 10 °C min−1 under a N2 flow of 20 mL min−1.

2.4 Electrochemical characterization

Electrochemical measurements were performed with an electrochemical work station (Solartron Analytical 1400A) in a three-electrode system with 6 M KOH as the electrolyte, a Hg/HgO electrode as the reference electrode, and Pt wire as the counter electrode. The working electrodes were prepared by coating a viscous slurry of the active material (16 mg), carbon black (3 mg), and 60 wt% polytetrafluoroethylene (2.0 µL) in a small amount of ethanol onto a Ni foam substrate. The weight of the active material loaded on each working electrode was about 5 mg. The electrodes were dried at 105 °C for 24 h. The electrochemical properties of the working electrode were investigated by galvanostatic charge/discharge (GCD) measurements, cyclic voltammetry (CV), and electrical impedance spectroscopy (EIS). The voltage used for the GCD measurements and CV varied from − 1 to 0 V. The CV scanning rates were 5–100 mV s−1, and the current densities in the GCD tests were 0.2–5.0 A g−1. EIS was performed in the frequency range 105–10−2 Hz at the open-circuit voltage with an amplitude voltage of 5 mV. The specific capacitance was calculated from the GCD results according to the following equation:

$$C = I\Delta t/m\Delta V$$
(1)

where C is the specific capacitance of the supercapacitor (F g−1), I is the charge/discharge current (A), Δt is the discharge time (s), ΔV is the GCD potential window (1.0 V), and m is the mass of the active material in the electrode (g).

3 Results and discussion

The sizes and morphologies of the CSs and PCSs with different F127 contents were investigated by SEM. The SEM images in Fig. 2a–f show that the concentration of F127 significantly affected the particle sizes and spherical morphologies of the samples. The CSs prepared without addition of F127 were monodispersed, regular spheres with smooth surfaces, with nonuniform particles of diameter 300–900 nm. Particle sizes are mainly determined by the droplet diameter and molar concentration of the solution. The droplet sizes produced by ultrasonication mainly depend on the atomization frequency and the properties of the precursor solution. After addition of F127, the PCS particles became uniform, which indicates that the addition of F127 affected the diameters of the carbon spheres. When the proportions of F127 increased to 0.075 and 0.1, there were no noticeable changes in the uniformity and spherical integrity of the particles compared with those of PCSs-0.05. After the proportion of F127 added reached 0.125, the morphology of PCSs-0.125 changed slightly, with some textural features appearing on the sphere surface. Figure 2f shows that with further increases in the proportion of F127 to 0.15, the surfaces became uneven, with many pits and holes; this can be attributed to removal of the template.

Fig. 2
figure 2

SEM images of PCSs prepared with different contents of F127: a CSs; b PCSs-0.05; c PCSs-0.075; d PCSs-0.1; e PCSs-0.125; and f PCSs-0.15

TEM and high-resolution TEM (HRTEM) images of the CSs and PCSs are shown in Fig. 3. The CSs, i.e., the sample without F127 addition, had smooth surfaces and solid structures without visible cavities. The spheres produced when a small amount of template was added, i.e., PCSs-0.05, were completely spherical with numerous large mesopores; this shows that F127 addition changed the pore structure. With further increases in the amount of F127, flaws appeared and the surfaces became rough because of removal of F127. The pore diameters increased with increasing addition of F127. The porous structures of the CSs and PCSs-0.075 consisted of disordered, interconnected, and worm-like pores, as shown by the HRTEM images in Fig. 3g, h. Interconnected pores enhance electrolyte ion diffusion in a material. Pluronic F127 is an amphiphilic triblock copolymer and nonionic surfactant; it consists of two medium-length PEO blocks, which are hydrophilic, and a long PPO segment, which is hydrophobic [29]. In water, the PPO block is sufficiently hydrophobic relative to the PEO block to enable micelle formation [30]. Because of water evaporation during spray pyrolysis, the solution becomes more concentrated and the critical micelle concentration is reached [29, 31]. The sizes of the micelle cores increase with increasing surfactant concentration. After mixing with precursors, they usually interact with each other through van de Waals interactions and hydrogen bonds [32]. Aromatic hydrocarbons dissolved in the dense hydrophobic cores of some micelles can facilitate swelling of the micelle cores, and this increases the pore size in soft templating [33]. Disordered worm-like mesopores can be formed if condensation happens too rapidly; this is the reason for the appearance of disordered structures in the PCSs.

Fig. 3
figure 3

TEM images of PCSs prepared with different contents of F127: a CSs; b PCSs-0.05; c PCSs-0.075; d PCSs-0.1; e PCSs-0.125; and f PCSs-0.15; and HRTEM images of g CSs and h PCSs-0.075

The N2 adsorption–desorption isotherms of the prepared CSs and PCSs are shown in Fig. 4a. The figure clearly shows that the CSs without F127 gave combined type I/IV curves, which indicates the presence of micropores and mesopores. The PCSs prepared with F127 gave type IV curves with typical H2 hysteresis loops; this shows the presence of cage-like mesopores [34]. The increases observed in the adsorption branch at P/P0 = 0.9–1.0 can be ascribed to the presence of ultra-large mesopores and macropores; this is consistent with the TEM results. The mesopores in PCSs are mainly formed by removal of the soft template [35]. The area of the hysteresis loop initially increased with increasing amount of templating agent, but basically did not change when the amount of added F127 reached 0.125. The sharp increase in the adsorption volume below a relative pressure P/P0 of 0.1 indicates that micropores were predominant; this is consistent with the HRTEM images. The formation of micropores in the materials may be caused by evaporation of water and decomposition of oxygen-containing functional groups in the larch-based resin [36]. The pore size distribution curves calculated from the adsorption branch by the BJH method are shown in Fig. 4b. They show hierarchical pore structures with mesopores and macropores. These results are in good agreement with the N2 adsorption–desorption isotherms and TEM images.

Fig. 4
figure 4

N2 adsorption–desorption isotherms (a) and pore size distributions (b) of CSs and PCSs prepared with different contents of F127

The textural parameters of the CSs and PCSs are summarized in Table 1. The surface areas and pore volumes of the PCSs were larger than those of the CSs, i.e., those without addition of F127. The surface area and total pore volume initially increased with increasing proportion of F127. When the proportion was more than 0.075, the surface area of the PCSs decreased slightly but the pore volume increased. This is because the increase in the concentration of the template resulted in increased amounts of mesopores and macropores.

Table 1 Textural properties of CSs and PCSs prepared with different contents of F127

The FT-IR spectra of the larch-based resin PCSs prepared with different amounts of F127 are shown in Fig. 5a. The spectra show that the CSs and PCSs had similar chemical structures. However, the intensity of the peak at 1650 cm−1 increased when F127 was added. This shows the presence of a highly conjugated carbonyl group near the hydroxyl group, and indicates that crosslinking of F127 with the resin enhanced the peak intensity. Pyrolysis of the CSs, PCSs-0.075, and F127 were investigated by TGA in a N2 atmosphere; the results are shown in Fig. 5b. In the pyrolysis of F127, weight loss occurred between 300 and 400 °C, and at 400 °C the residue represented only 2.8 wt% of the original amount. When the temperature reached 500 °C, the amount of F127 remaining was less than 1.27 wt%. The figure shows two clear weight loss stages for the CSs and three for PCSs-0.075. Both show small weight losses below 300 °C as a result of evaporation of organic impurities, water, and small molecules. The second stage of PCSs-0.075 weight loss began at 300 °C and ended at 400 °C; this loss was mainly caused by thermal degradation of F127. In the last stages, the residual weights of the CSs and PCSs-0.075 at 800 °C were ~ 50% and ~ 30%, respectively. The lower initial weight loss for PCSs-0.075 can be attributed to crosslinking between the larch-based resin and F127, which is consistent with the formation of a carbon skeleton with high thermal stability.

Fig. 5
figure 5

FT-IR spectra of CSs and PCSs-0.075 prepared with different contents of F127 (a); and TGA curves under N2 (b); Raman spectra (c); and wide-angle XRD patterns (d) of CSs and PCSs-0.075

The wide-angle XRD patterns of the CSs and PCSs-0.075 are shown in Fig. 5c. The patterns for the CSs and PCSs-0.075 contain two broad diffraction peaks, at 2θ values around 22.3° and 43.6°, which are indexed to the (002) plane of graphitic carbon and the (100) diffraction of amorphous graphitic carbon. The peaks are broad and weak, which indicates a low degree of graphitization; this agrees well with the HRTEM results. Raman spectroscopy was used to determine the amorphous degree of the CSs and PCSs from the ratio of the D-band and G-band intensities (ID/IG). Figure 5d clearly shows that the spectra of the CSs and PCSs-0.075 contain two clear peaks, at 1328 and 1590 cm−1, corresponding to the D and G bands. The ID/IG values for the CSs and PCSs-0.075 are 0.99 and 0.98, respectively. This indicates that addition of F127 had little effect on the crystallization degree of the carbon spheres.

Because of the high surface areas and hierarchical pore size distribution, PCSs-0.075 gave excellent electrochemical performances. The samples were used as electrode materials and their performances as supercapacitors were investigated by CV and GCD measurements in a three-electrode system with 6 M KOH as the electrolyte. The CV curves for PCSs-0.075 at various scanning rates between 5 and 100 mV s−1 over the range − 1.0 to 0 V are shown in Fig. 6a. The CV curves for the PCSs-0.075 electrode retained a rectangular-like shape with increasing scanning rate, even at 100 mV s−1. This corresponds to double-layer capacitance behavior. GCD measurements were also used to test the capacitor performances. The symmetry of the charge and discharge processes shows that the electrode had high electrochemical reversibility. The GCD curves of the PCSs-0.075 electrode at current densities from 0.2 to 5 A g−1 are shown in Fig. 6b. The specific capacitance of PCSs-0.075 at a current density of 0.2 A g−1, determined from the discharge process, was 338.8 F g−1. This high specific capacitance can be attributed to the high surface area and hierarchical pore structure of PCSs-0.075. The high surface area mainly attributed to micropores supplies abundant active sites, and the mesopores and macropores facilitate ion transport and shorten the diffusion distance for electrolyte ions. Figure 6c shows that PCSs-0.075 at 0.5, 1, 2, 3, 4, and 5 A g−1 showed high capacitance retention, i.e., 71.1%, 62.2%, 56.1%, 53.0%, 51.3%, and 48.7%, respectively, of the value at 0.2 A g−1. This indicates good capacitance retention by PCSs-0.075. Comparison of the specific capacitance of the other carbon materials is listed in Table 2, the specific capacitance of PCSs was in the high level under the current density of 0.2 A g−1. EIS was performed to further explore the supercapacitive behavior of the PCSs-0.075 electrode. The Nyquist plots for the carbon electrode (Fig. 6d) show an approximately vertical line in the low-frequency region because of Warburg impedance. This indicates excellent electrolyte ion diffusion to the electrode interface because of the highly porous nature of the electrode material.

Fig. 6
figure 6

a Cyclic voltammograms for PCSs-0.075 at 5–100 mV s−1; b GCD curves for PCSs-0.075 at 0.2–5 A g−1; c specific capacitances of PCSs-0.075 electrode at different current densities; and d Nyquist plots for PCSs-0.075 electrode

Table 2 Comparison of the specific capacitance of the other carbon materials

4 Conclusions

In this work, a facile strategy that involved a combination of spray pyrolysis and soft templating was used to fabricate hierarchical PCSs. The carbon source was larch sawdust and the soft template was Pluronic F127. The morphologies and pore structure of the PCSs were regulated by simply adjusting the F127/larch-based resin ratio. After addition of F127, the pores became larger and the particle sizes became uniform. With further increases in the amount of F127, many pits and holes appeared on the surfaces of the PCSs. The obtained PCSs-0.075 had high surface areas, up to 760.3 m2 g−1, and tunable pore sizes, with micropores, mesopores, and macropores present. The large surface area which was mainly derived from micropores and macro/mesoporous structures, increased the number of active sites and shortened the ion diffusion distance; these are favorable for achieving excellent electrochemical performances. Electrochemical measurements showed that the PCSs-0.075 sample had a high specific capacitance of 338.8 F g−1 at 0.2 A g−1, and a good rate capability. These results show that PCSs with micropores, mesopores, and macropores can be obtained from renewable resources, and are promising electrode materials for supercapacitors.