Introduction

As a rising star in energy storage field, the supercapacitor has been the focus of both scientific research and industry because of short charging time, high power density, long durability, and high stability feature [1,2,3]. Electrical double-layer capacitors (EDLCs), which store charges via electrostatic adsorption of the ions between the electrode/electrolyte interfaces, are one of the most widely used supercapacitors [4]. However, EDLCs own lower energy density than batteries, which limits their use in applications [5, 6]. Based on the equation of E = 1/2 CV2, the effective methods to improve the energy density of EDLCs are to enhance the specific capacitance of the electrode and to widen the range of operating voltage window.

Carbon materials are the most widely used electrode materials to store ions by electrostatic interaction because of their low cost and wide sources. Graphene with a large theoretical specific surface area (2675 m2 g−1), light weight, high electrical conductivity/mechanical strength, and good stability is a superior carbon material for supercapacitors [7,8,9,10]. In order to promote the transport rate of charges/ions between the electrode materials and the electrolyte, researchers further transferred the two-dimensional graphene oxide into porous three-dimensional graphene nanostructures [11]. Graphene aerogels (GAs) are a kind of three-dimensional porous graphene materials with special structure [12]. It is generally accepted that pores are crucial for strengthening the capacitive performance of EDLCs [13, 14]. The heteroatom-doping can improve the wettability of the materials’ surface, and thus increase the accessibility of pores [15,16,17]. The heteroatoms’ co-doping can enhance the overall performance of the materials because of the synergetic effect between them. Therefore, more and more efforts have been devoted to the study of heteroatom co-doped in recent years [18,19,20]. Ionic liquids (ILs), which are known for their unparalleled benign features, such as excellent electrochemical/thermal stability, and high safety, are the most attractive precursors containing heteroatoms [21]. ILs have been introduced into the field of energy equipment as precursors of electrode materials [22].

Another strategy to improve capacitance performance is to use the electrolyte with a wide range of working voltage. Frequently used electrolytes include aqueous electrolytes, organic electrolytes, and ILs electrolytes [23]. Aqueous electrolytes are the most frequently used electrolytes because they are low cost and environment-friendly. However, the energy density of supercapacitors is extremely limited by their narrow operating voltage. Organic electrolytes can provide a relatively wide working voltage, but they are flammable and poisonous [24]. Compared with the above two kinds of electrolytes, ILs have been considered as promising candidates in decades due to their wide voltage window and high ionic conductivity. 1-Ethyl-3-methylimidazolium tetrafluoroborate (EMIMBF4) has a relatively wide electrochemical window, low viscosity, high electrical conductivity, and electrochemical stability, and thus is a hopeful electrolyte for fabricating high-performance supercapacitors [25]. However, ILs have a large ionic size which suppresses ion transportation at a high current density [26]. Therefore, porous carbon materials with more accessible channels for ions are benefit to satisfy the demand.

Hence, we prepared a nitrogen and sulfur co-doped graphene aerogel (NS-GA) using a reducing ionic liquid (1-(4-mercaptobutyl)-3-methylimidazolium bromide, HS-BMIMBr) by a fast one-step hydrothermal method. The hydrophilic ionic liquid cannot only improve surface infiltration of graphene materials but also provide heteroatoms. The as-prepared NS-GA reveals an interconnected hierarchical porous structure, which can provide a large accessible channel for the diffusion of electrolyte ions. Additionally, the NS-GA as the electrode material of supercapacitors shows a high specific capacitance of 182.3 F g−1 at 1 A g−1 in EMIMBF4 electrolyte within a voltage range of 0–4 V. Moreover, the NS-GA presents a high energy density of 101 Wh kg−1 at a power density of 1 kW kg−1 at a current density of 1 A g−1.

Experiments

Chemicals

1-Methylimidazole (99%), potassium thioacetate (98%), magnesium sulfate (AR), potassium persulfate (99%), graphite powder (99.95%), and hydrogen peroxide (30%) were obtained from Aladdin Industrial Corporation, China. 1-Bromo-4-chlorobutane (98%) was purchased from Shanghai Macklin Biochemical Corporation, China. Acetonitrile (AR), ethyl acetate (AR), dichloromethane (AR), and ethyl alcohol absolute (AR) were purchased from Sinopharm Chemical Reagent Co., Ltd., China. Trichloromethane (AR), potassium permanganate (AR), and concentrated sulfuric acid (AR) were obtained from Luoyang Chem. Co., China. Hydrobromic acid (AR), sodium hydroxide (AR), and phosphorus pentoxide (AR) were purchased from Tianjin Chem. Co., China. EMIMBF4 (99%) was obtained from Lanzhou Institute of Physical Chemistry, Chinese Academy of Sciences, China.

Materials preparation

Graphene oxide (GO) was synthesized from natural graphite powder by the modified Hummers method [27, 28]. The ionic liquid (HS-BMIMBr) was synthesized using the method as described in previous reports with some modification [29, 30]. The NS-GA was synthetized by a simple hydrothermal process (Scheme 1). Briefly, 0.6 g of HS-BMIMBr was added into a GO dispersion (1 mg mL−1, 60 mL). Then, the suspension was transferred to a Teflon-lined autoclave and heated at 200 °C for 4 h. The product was then naturally cooled down to room temperature to obtain N and S co-doped graphene hydrogel (NS-GH). And then the hydrogel was washed several times with deionized (DI) water and dialyzed in DI water for 7 days, where DI water was renewed once a day to remove some impurities. Finally, the hydrogel was freeze-dried for 48 h to obtain the N and S co-doped graphene aerogel, which is denoted as NS-GA. For comparison, graphene aerogel (GA) was also prepared at the same experiment condition without HS-BMIMBr.

Scheme 1
scheme 1

Schematic illustration of the preparation of the graphene aerogel (NS-GA)

Structure characterization

The chemical structure of the materials was characterized by X-ray photoelectron spectroscopy (XPS, Thermo Fisher Scientific, ESCALAB250Xi). The morphologies and microstructures of the samples were characterized by transmission electron microscopy (TEM, JEOL, JEM-2100) and field emission scanning electron microscopy (FESEM, Zeiss, Supra 40). The crystal structures of the samples were measured using X-ray diffractometer (XRD, Bruker, D8 Advance) with Cu-Kα radiation (λ = 0.154 nm). Raman spectra were obtained by a Raman spectrometer (Renishaw, in-Via) with a 514-nm excitation laser. N2 adsorption–desorption isotherms were analyzed by nitrogen sorption (Micromeritics, ASAP-2020). The specific surface area of the NS-GA was obtained by the Brunauer–Emmett–Teller (BET) method, and the pore size distribution was calculated by the Barrett–Joyner–Halenda (BJH) model.

Electrochemical characterization

The electrochemical performances of the samples were tested in symmetric coin cells using a two-electrode system with the cellulosic separator NKK TF 4030 as a separator in the EMIMBF4 electrolyte. The 85% active materials (NS-GA), 15% acetylene black, and 5% polytetrafluoroethylene (PTFE) were mixed in ethanol. Then the mixture was ultrasonicated for about 60 min to obtain a homogenous slurry. Finally, the slurry was pasted into the nickel foam and then the as-prepared nickel foam was dried at 110 °C for 12 h in a vacuum oven. After that, the material-loaded nickel foam was pressed at 10 MPa, with a loading mass of 1.5–2 mg. Then, the prepared electrodes were assembled into button cells in a glove box under an argon atmosphere. The cyclic voltammetry (CV), electrochemical impedance spectroscopy (EIS), and galvanostatic charge/discharge (GCD) were carried out on a CHI660D electrochemical working station (Shanghai, Chenhua Instrument Co., Ltd., China). And the cycle life test was conducted on a CT2001A battery test system (Lanhe, Wuhan, China). The specific capacitance of the active material for the single electrode (Cs, F g−1) and the cell (Ccell, F g−1) was calculated from GCD curves by the following equations, respectively [28, 31]:

$$ {C}_{\mathtt{s}}=\frac{2I\Delta t}{m\Delta V} $$
(1)
$$ {C}_{\mathtt{cell}}=\frac{1}{4}{C}_{\mathtt{s}} $$
(2)

where I (A) is the discharge current, Δt (s) is the discharge time, m (g) is the mass of the active material in the single electrode, and ΔV (V) is the change in cell potential corrected from the ohmic drop.

Base on the specific capacitance, the energy density (E, Wh kg−1) and power density (P, W kg−1) of the active material for the cell were determined according to the following equations, respectively [32]:

$$ E=\frac{1}{7.2}{C}_{\mathtt{cell}}\Delta {V}^2 $$
(3)
$$ P=3600\frac{E}{\Delta t} $$
(4)

Results and discussion

Characterization of the materials

The morphology of the NS-GA was investigated by SEM and TEM. As displayed in Fig. 1a, the obtained NS-GA appears an interconnected hierarchical porous structure, and such porous structure is essential for accelerating the transfer of electrons and transport of electrolyte ions. Besides, the interconnected network porous structure is loose, and thus can provide a passable channel for the migration of ions/charges. Remarkably, the TEM image (Fig. 1b) of the NS-GA shows a straticulate morphology, indicating that the NS-GA has a graphene-like thin layer structure. Moreover, the NS-GA has wrinkled and folded transparent textures, and no obvious aggregation is clearly observed, which is because the doping of heteroatoms alters the electronic properties of graphene sheets. This pleated texture can supply a larger accessible area for the charge accumulation. And the unique porous structure of the NS-GA is effective to prevent the aggregation of graphene sheets by the π-π conjugation and electrostatic interactions between the graphene sheets and the imidazole rings.

Fig. 1
figure 1

FESEM (a) and TEM (b) images of the NS-GA

N2 adsorption–desorption isotherm was measured to deeply investigate the porous nature of the NS-GA. Figure 2a displays a type IV isotherm according to IUPAC classification, indicating the existence of mesoporous structures [33]. The BET specific surface area of the NS-GA is 94.25 m2 g−1, and its pore volume is 0.51 cm3 g−1. Besides, there is an H3-type hysteresis loop in the middle pressure (P/P0 = 0.46–0.99) range, indicating that the NS-GA possesses a heterogeneous porous structure between graphene layers. Figure 2b shows the pore size distribution of the NS-GA analyzed by the BJH model. Obviously, there are two main distributions centered at 35 nm and 125 nm, respectively, confirming that the NS-GA is a typical hierarchical pore characteristic. The macropores can be used as a reservoir for ion-buffering, and the mesopores can efficiently ensure the transport of electrons and ions [34]. The hierarchical porous structure of the NS-GA can offer more accessible sites for electrolyte ions and then increase the capacitance performance.

Fig. 2
figure 2

Nitrogen adsorption–desorption isotherm of the NS-GA (a) and BJH adsorption pore size distribution (b)

X-ray photoelectron spectroscopy (XPS) was used to demonstrate the elemental compositions and bonding configurations of the NS-GA. As shown in Fig. 3a, five peaks at 285.3 eV, 407.1 eV, 534.2 eV, 228.0 eV, and 164.1 eV are attributed respectively to C1s, N1 s, O1s, S2 s, and S2p, suggesting that the nitrogen and sulfur atoms were doped successfully into the NS-GA. And, the atomic percentages are summarized in Table 1. The high-resolution spectrum of C1s (Fig. 3b) can be deconvoluted into four peaks at 284.9 eV, 285.4 eV, 286.7 eV, and 291.0 eV referring to C=C/C–C, C–N/C–S, C=O, and O–C=O, respectively [34, 35]. The N1s spectrum (Fig. 3c) can be deconvoluted into two peaks with a binding energy of 397.6 eV and 402.0 eV, corresponding to pyridinic N and oxidized N, respectively [36]. The negatively charged pyridinic N atoms are located at the edges of graphene sheets, which provide abundantly accessible defects of graphene for charge storage [37], and thus enhance the electrochemical performance of the materials. Figure 3d shows the S2p high-resolution spectrum which can be observed two obvious peaks at 164.5 eV and 165.3 eV, corresponding respectively to S2p3/2 and S2p1/2 of the thiophene-S (–C–S–C–) arising from spin-orbit coupling [38]. The sulfur dopant species, such as thiophenic sulfur and sulfone, play a significant role in modifying the surface properties of carbon materials [39]. The doping of sulfur atoms is due to the reactions of –SH groups on HS-BMIMBr with oxygen-containing functional groups on the surface of GO.

Fig. 3
figure 3

Full XPS spectrum of NS-GA (a); high-resolution spectra of C1s (b), N1s (c), and S2p (d) of NS-GA

Table 1 Atomic percentage of C, O, N, and S in the NS-GA

The crystal structures of the prepared NS-GA, GA, and GO were measured by XRD. Figure 4a shows the corresponding XRD patterns. The diffraction peak of GO at 2θ = 10.9° can be attributed to the (002) crystalline plane, and the layer spacing of 0.81 nm indicates that graphite was converted to graphene oxide. For NS-GA and GA, the peak at 2θ = 10.9° entirely disappeared, and a broad diffraction peak centered at about 25° appeared, indicating that the GO had been reduced to graphene (rGO). Furthermore, the diffraction peak of the NS-GA was broader and weaker than that of GA, meaning that the NS-GA was of typical amorphous graphitic feature [40] and the defects were formed due to the doping of N and S atoms. The interlayer spacings of rGO sheets in the NS-GA and GA are 0.37 nm and 0.35 nm, respectively. And the interactions between rGO sheets and HS-BMIMBr enlarge the layer spacing and provide more passable channels for the transport of ions.

Fig. 4
figure 4

XRD patterns (a) and Raman spectra (b) of the samples

Raman spectroscopy can be used to characterize the microstructure of carbonaceous materials. As shown in Fig. 4b, typical peaks of the as-prepared materials are centered at 1340 cm−1 and 1589 cm−1 which are called as D band and G band, respectively. The D band is associated with structural defects and partially disordered structures of graphene materials, and the G band is related to in-plane stretching vibration of sp2 C–C bonds [41]. In general, the intensity ratio of D and G peak (ID/IG) reflects the disorder degree of graphene materials. The values of ID/IG for GO and NS-GA are 0.95 and 1.27, respectively, indicating that the doping of N and S generates a large number of defects and imperfections in the carbon lattice.

Electrochemical performances of the samples

The electrochemical properties of the supercapacitors based on NS-GA and GA were investigated in the two-electrode system using EMIMBF4 as the electrolyte. As shown in Fig. 5a, the NS-GA electrode presents an approximately rectangular CV shape similar to that of GA at a scan rate of 200 mV s−1, illustrating that the main energy storage mode of the NS-GA and GA is electric double layer capacitance. Furthermore, the CV curve area of the NS-GA is larger than that of GA, meaning that the NS-GA owns higher specific capacitance. A comparison of GCD curves for NS-GA and GA is shown in Fig. 5b at a current density of 2 A g−1. The two curves appear an almost symmetrical triangular shape, manifesting that both NS-GA and GA have good capacitance performance, and the NS-GA electrode has longer charge and discharge time than the GA. Figure 5c presents their good rate capability. The NS-GA displays a specific capacitance of 182.3 F g−1 at a current density of 1 A g−1, while the specific capacitance of pure GA is 117.2 F g−1. The specific capacitance of the NS-GA still retains 127.0 F g−1 at a high current density of 10 A g−1 with capacitance retention of 70%, indicating that the NS-GA has a good capacitance performance and rate capability.

Fig. 5
figure 5

Electrochemical performances of NS-GA and GA electrodes using ionic liquid EMIMBF4 electrolyte in the two-electrode system: a CV curves at a scan rate of 200 mV s−1; b GCD curves at a current density of 2 A g−1; c Specific capacitance at different current density; d Nyquist plots and the inset is the amplification at high-frequency range

EIS measurements were conducted in the range from 1 to 100 kHz at a 5-mV amplitude, and the Nyquist plots are shown in Fig. 5d. The plots can be divided into three parts, including the intercept of the curve at high frequencies from the x-axis which provides information on the series resistance (Rs), incomplete semicircle in the high-frequency region representing the charge transfer resistance (Rct), and vertical line in the low frequency corresponding to the ion diffusion resistance [42,43,44]. The Rs values of the NS-GA and GA are 1.3 and 3.1 Ω, respectively, proving that the NS-GA has lower internal resistance. The very small diameter of the semicircles in the high-frequency region indicates very low charge transfer resistance from electrode materials to the electrolyte. The slope of the vertical line for NS-GA is very high in the low-frequency region, suggesting that there is fast ion diffusion in the electrolyte to the surface of the NS-GA electrode. The lower resistance of the NS-GA was related to the uniquely interconnected porous structure and the co-doping of heteroatoms which promote the diffusion of ions and increase the interfacial wettability between the electrode surface and the electrolyte.

Figure 6a shows the CV curves of the NS-GA at scan rates from 5 to 200 mV s−1 with the voltage range of 0–4 V. The CV curves display a nearly rectangular shape, indicating that the main energy storage mechanism is an ideal electric double layer capacitance. Even though at a high scan rate of 200 mV s−1, the CV curve of the NS-GA still holds a good rectangular shape, revealing that the NS-GA has good capacitive behaviors. The slight asymmetry suggests that there is pseudocapacitance behavior caused by the doping of heteroatoms [48]. The GCD profiles of the NS-GA at different current densities from 1 to 10 A g−1 are shown in Fig. 6b. It is obvious that the GCD curves for the NS-GA show an imperfect symmetric triangular form, which suggests that the significant capacitance contribution results from electric double layer capacitance [34] and relatively little pseudocapacitance. The conclusion from GCD profiles is consistent with that from the CV curves.

Fig. 6
figure 6

a CV curves of NS-GA at various scan rates; b GCD curves at different current densities; c Ragone plot of NS-GA electrode compared with other previously reported cells [23, 45,46,47]; and d Cyclic stability test of NS-GA for 1500 cycles at a current density of 1 A g−1

The energy density is one of the important criteria which decide the practical utility of supercapacitors. The Ragone plot for the NS-GA-based supercapacitor is shown in Fig. 6c. The NS-GA material exhibits a high energy density of 101 Wh kg−1 at a power density of 1 kW kg−1, which was superior to those of previously reported carbon materials with the same or different electrolytes, as shown in Table 2. Moreover, as the power density increases, the energy density decreases slightly, indicating that the NS-GA has excellent rate capability. The cycling stability of the NS-GA was investigated by galvanostatic charge/discharge at a current density of 1 A g−1 (Fig. 6d). The capacitor retention rate was 80% after charging-discharging for 1500 cycles.

Table 2 Comparison of energy density and power density of various carbon materials

Conclusions

In general, nitrogen and sulfur co-doped graphene aerogel (NS-GA) with hierarchical porous structure was successfully prepared using HS-BMIMBr via a simple and convenient one-step hydrothermal method. The incorporation of heteroatoms into the graphene materials made the prepared NS-GA have a large number of pore structures. These hierarchical porous structures provide more channels for the rapid migration of electrolyte ions, and thus promote the diffusion of ions. The as-prepared NS-GA used as the electrode material exhibits a high specific capacitance of 182.3 F g−1 at 1 A g−1, excellent rate performance, and good cycling stability. More importantly, the NS-GA shows an energy density of 101 Wh kg−1 at a power density of 1 kW kg−1 in the EMIMBF4 electrolyte. The NS-GA is a potential electrode material for high-performance supercapacitors.