Introduction

Supercapacitors are outstanding energy storage devices in recent years, which exhibit brilliant power density, good reversibility, and long cycle life for wide applications in high-power apparatuses [1,2,3]. Carbons, conductive polymers, and transition metal oxides are the major materials for supercapacitor electrode. Among them, carbons are prospective electrode due to chemical stability, which have large specific surface area, well conductivity, and abundant ion transport channels. At present, the carbon electrode materials of activated carbon, graphene, carbon nanofibers, and heteroatom doping modification carbon materials are mainly studied [4,5,6,7].

The electrochemical double-layer capacitors and pseudocapacitors are capacitive behavior of supercapacitors [8, 9]. To enhance pseudocapacitive capacitance, the method is oxidation/reduction reactions by doping heteroatoms (such as nitrogen [10], boron [11], oxygen [12], and phosphorus [13]) in the carbon materials. Boron and nitrogen are considered the most representative elements, due to atomic radius is closest to carbon and unique electronic defects or multi-electronic properties [14,15,16]. B/N co-doped carbon materials can form a special electronic structure to improve the capacitor performance of supercapacitor [17,18,19]. Hao et al. [20] fabricated B/N co-doped carbon nanosphere frameworks as electrodes for supercapacitors (423 F g−1 at 0.2 A g−1). Chen et al. [21] prepared B/N co-doped graphene-like carbon for capacitors (254 F g−1 at 0.25 A g−1). Zhu et al. [22] prepared boron and nitrogen co-doped reduced graphene oxide with a high capacitance of 350 F g−1 at 0.5 A g−1. Zhao et al. [23] prepared boron and nitrogen co-doped carbon tube bundle electrode materials exhibited excellent lithium storage performance (355 F g−1 at 1 A g−1). Therefore, the B/N co-doped method would be a brilliant strategy to produce supercapacitor carbon materials [24,25,26].

Herein, we used the one-step carbonization method to produce B and N co-doped carbon from waterborne polyurethane (nWPU), phenolic resin (PF), and graphene oxide (GO). Boron and nitrogen sources came from boric acid and melamine. Furthermore, nitrogen-enriched carbon also had repetitive urethane bond (-NHCOO) in nWPU. Moreover, we used the ferric chloride treatment and washing method to remove the B–N bonds and ferric chloride results in amounts of micropores. The prepared B/N co-doped carbon exhibited an energy density of 10.35 Wh kg−1 was achieved at a power density of 493.2 W kg−1. On top of that, the capacitor maintained a well rate capability and brilliant cyclic stability of 89.78% capacitance retention even after 5000 cycles. According to this, synthesis strategy will open a new way to manufacture electrode for applications in supercapacitors.

Experimental

Preparation of B/N co-doped carbon

Firstly, toluene-2,4-diisocyanate, polyethylene glycol monomethyl ether 550 (MPEG), and acetone were mixed at a stirring speed of 200 r min−1 in 70 °C. They were reacted for 2.5 h. Next, trimethylolpropane and melamine were putted into three-necked round-bottom. After that, we cooled down the temperature to 25 °C and emulsified with water to get nWPU. Resorcinol and formaldehyde were mixed at a stirring speed of 300 r min−1 in 90 °C. Afterwards, we added solvent and catalyst into it, and reacted for 8 h to obtain PF. GO was synthesized by the modified Hummers’ method [27]. In the following experiments, the phenolic resin, water polyurethane, and GO solution were mixed (in mass ratio = 5:25:1) at 25 °C to gain nWPGC. Next, ferric chloride/melamine/boric acid were added dropwise with nWPGC, respectively. The composites were ultrasonically dispersed and drying. Afterwards, the samples were heated at a rate of 5 °C min−1 up to 800 °C for 2 h. In order to get rid of ferric chloride, we washed the carbon material with 6 M HCl for 3 days. It also boiled for 12 h at 80 °C to remove the boron oxide to get nWPGC-Fe-B. Use the same method to name nWPGC-B and nWPGC-Fe, respectively. As shown in Fig. 1, it was the experimental procedure.

Fig. 1
figure 1

Schematic illustration for synthetic procedure of nWPGC-Fe-B

Characterization

The morphology of the samples was probed by field emission scanning electron microscope (SEM, Hitachi, S-4800, Japan) and transmission electronic microscopy (TEM, JEM-2100, JEOL Ltd., Japan).The crystal structure of samples was examined by X-ray diffraction system (XRD, Bruker, D8 Advance, Germany) equipped with Cu Kα radiation. Raman spectra were determined by using a Raman spectrometer (Jobin Yvon, HR800, French). The surface element and chemical bond composition were examined by XPS and FTIR (ESCALAB 250, Thermo Fisher Scientific, UK; Bruker, Equinox 55, Germany). Porous texture parameters of samples were characterized with a physisorption analyzer (Micromeritics, ASAP 2020 HD88, USA) by N2 adsorption/desorption measurements at 77 K. The surface area was determined by the conventional Brunauer-Emmett-Teller (BET) method and the pore size distributions were analyzed from adsorption branch isotherm by applying the density functional theory (DFT) method and assuming the slit-shaped pore model.

Electrochemical measurements

All the electrochemical performances of samples were investigated on an electrochemical workstation (CHI660D, Shanghai Chenhua, China) by a typical three-electrode system in 6 M KOH electrolyte. The negative electrode was prepared by pressing the mixture of the nWPGC-Fe-B (2 mg cm−2) and the polytetrafluoroethylene binder with a weight ratio of 95:5 thoroughly mixed with ethanol. The voltage window CV and GCD range from − 1 to 0 V. The CV texts were investigated at scan rates ranging from 1 to 200 mV s−1. The GCD test current density ranges from 0.5 to 7 A g−1. For EIS measurements, the frequency range was from 10 to 100 kHz with the amplitude of 10 mV. The specific capacitance obtained by GCD was calculated based on formula:

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

where I (A) is the current response, m (g) is the mass of the activated material, ΔV (V) is the sweep voltage, and C (F g−1) is the specific capacitance.

The energy and power densities were calculated by the GCD text based on the following equations:

$$ {C}_p=\left(I\times \Delta t\right)/\left(m\times \Delta V\right) $$
(2)
$$ {C}_{\mathrm{s}}\approx 4{C}_{\mathrm{p}} $$
(3)
$$ {E}_{\mathrm{p}}=\left({C}_{\mathrm{p}}\times {\varDelta V}^2\right)/7.2 $$
(4)
$$ P=\left(3600\times {E}_{\mathrm{p}}\right)/\Delta t $$
(5)

where I (A) is charge/discharge current, m (g) is the mass of the activated material, ΔV (V) is the voltage range, Δt (s) is the discharge time, Cp (F g−1) is the specific capacitance, Ep (Wh kg−1) is the energy density, and P (W kg−1) is the power density.

Result and discussion

The XRD patterns of the materials are shown in Fig. 2, which exhibited two typical broad peaks at 26° (002) and 44° (100). The peak in nWPGC-B and nWPGC-Fe-B from sharp to broad indicated the decrease graphitization due to the incorporation of the heteroatoms. In comparison, nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B had shown broader peaks at 26.10, 25.90, 25.42, and 25.16°, respectively, which also correspond to the (002) peak but shift left with larger d002 of 3.41, 3.44, 3.50, and 3.54 Å [28]. It could be seen from the comparison that the (002) diffraction peak shifts slightly to the left and the graphite layer spacing (d002) becomes larger. It indicated that the introduction of heteroatoms including boron and nitrogen could result in change of graphitic interlayer spacing [29].

Fig. 2
figure 2

XRD patterns of samples

The Raman spectra of samples are shown in Fig. 3. The peaks located at 1350 (G band) and 1580 cm−1 (D band). They mainly represent the amorphous and the graphitized portion of carbon [22]. We compared the graphitization degree of carbon by estimating the intensity of ID/IG [30]. The intensity ratio of D to G band (ID/IG) of the nWPGC-Fe-B (0.92) and nWPGC-B (0.90) was higher than that of nWPGC-Fe (0.84) and nWPGC (0.81), suggesting the B doping would make the structural defects, which was in agreement with the XRD results.

Fig. 3
figure 3

Raman spectra of samples

FTIR spectra of nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B are illustrated in Fig. 4. The nWPGC and nWPGC-Fe demonstrate functional groups at 1215 and 1558 cm−1 attributed to C–N and C=C stretching vibration, respectively. The samples of nWPGC-B and nWPGC-Fe-B demonstrate the oxygen functional groups at 767/1370, 1015, 1150, 1215, and 1558 cm−1 attributed to h-BN out plane bending/h-BN in-plane stretching, B–O/O–B, B–C, C–N, and C=C stretching vibrations, respectively [28, 31]. The nWPGC-Fe-B of B–N by the washing method in the characteristic signals of 767 cm−1 became weak. We could reduce the B–N bonds to improve electrochemical performance, which confirm by the following electrochemical tests.

Fig. 4
figure 4

FT-IR spectra of samples

The XPS spectra of nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B are shown in Fig. 5. The content in carbon network surface elemental content is shown in Table 1, which shows the B and N atom was successfully doped into the carbon structure. As shown in Fig. 5o, the XPS spectra of nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B have four main peaks at 190.2 eV, 284.3 eV, 398.2 eV, and 532.4 eV that belong to B1s, C1s, N1s, and O1s, respectively. The C1s peak (Fig. 5a–d) was fitted by five component peaks, namely, C-C (284.6 eV), C-N (286.5 eV), C-O (287.1 eV), C=O (287.9 eV), and C-B (283.9 eV) [19]. The N1s peak (Fig. 5e–h) revealed that the doped N atoms existed in the form of pyridinic N (N-6, 398.7 eV), pyrrolic N (N-5, 399.8 eV), graphitic N (N-Q, 400.9 eV), and N-oxide (N-X, 402.8 eV) [24]. These nitrogen-based groups could help produce pseudocapacitance, which enhance the conductivity and wettability of this kind of electrode materials [32, 33]. The O1s spectrum (Fig. 5i–l) could be deconvoluted into four peaks which were from carbonyl functional groups (O-1, 531.5 eV), phenol groups, and/or C-O-C ether groups (O-2, 532.4 eV), O-B, (533.2 eV), and O=C-OH carboxylic groups (O-3534.3 eV) [19]. The B1s spectrum (Fig. 5m, n) could be ascribed to three components, including B-C (190.5 eV), B-N (191.7 eV), and B-O (192.8 eV) [34]. The most important species affecting energy storage performance may be negatively charged N-6, N-5, B-C, and O-2. Relative surface concentrations of N, B, and O species obtained from the N1s, O1s, and B1s core-level peak analyses are summarized in Table 2. Furthermore, nWPGC-Fe-B presents much active N-5 (48.22 at%), N-6 (39.07 at%), B-C (69.54 at%), and O-2 (54.08 at%), contributing to increase of pseudocapacitance. Obviously, the percentage of nWPGC-B and nWPGC-Fe-B compared with the B–N bond decreased from 32.38 at% to 13.60 at%. This fully illustrated that after the boric acid treatment, B atoms were more likely to bind with N atoms and formed B–N bond. Treatment with ferric chloride could effectively suppress the formation of B–N bonds, and it is more favorable to bind with carbon atoms. So, nWPGC-Fe-B has higher pseudocapacitive performance due to effective B–C bond was formed.

Fig. 5
figure 5figure 5

High resolution XPS spectra of: N1s in a nWPGC, b nWPGC-Fe, c nWPGC-B, d nWPGC-Fe-B; N1s in e nWPGC, f nWPGC-Fe, g nWPGC-B, h nWPGC-Fe-B; O1s in i nWPGC, j nWPGC-Fe, k nWPGC-B, l nWPGC-Fe-B; B1s in m nWPGC-B, n nWPGC-Fe-B. o XPS survey spectra

Table 1 Physical and electrochemical properties of samples
Table 2 Relative concentrations of C, N, O, and B

The SEM images of nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B are shown in Fig. 6. Figure 6a had shown a massive carbon structure and some small carbon particles. We used the acid and water washing method to remove the ferric chloride catalyst, and the nWPGC-Fe (Fig. 6b) could see the laminar structure appearing on the block. The nWPGC-B (Fig. 6c) had a clear pore structure, and the massive structure reveals the spherical morphology of phenolic. It became rough on the surface, which with irregular carbon particle. The phenolic spheres and some pore structures had been clearly displayed from WPGC-Fe-B (Fig. 6d). It could also be proven from the BET test. This phenomenon means that this disordered pore structure could provide myriads of interconnected channels to decrease the electrolyte ion diffusion distance during the charge-discharge process, which is good for electrode material to enhance the EDLC [34, 35]. Figures 6e and f show the TEM images of nWPGC-Fe-B at different magnification. From the TEM images, there were abundant worm-like micropores on the surface of WPGC-Fe-B [36,37,38]. It was in consistent with the results of N2 adsorption-desorption shown in Fig. 7. The porous structure provides a large number for storage to electrolyte ion, which could improve the capacitive performance.

Fig. 6
figure 6

SEM images of a nWPGC, b nWPGC-Fe, c nWPGC-B, and d nWPGC-Fe-BN. TEM images of nWPGC-Fe-B (e, f)

Fig. 7
figure 7

a N2 absorption/desorption isotherms and b pore size distributions of the samples

Figure 7a shows the N2 adsorption/desorption isotherm of the nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B particles. In Fig. 7a, nWPGC-Fe-B exhibited a combined IV curve, which indicated the coexistence of micropores and mesopores [39, 40]. The pore size distribution (Fig. 7b) of nWPGC-Fe-B revealed abundant micropores and mesopores focused on 0.5–3.5 nm, which contribute to the ion transport and achieving high electric double-layer capacitance [41, 42]. Such structure of nWPGC-Fe-B has high BET surface area and pore volume up to 611 m2 g−1 and 0.3 cm3 g−1 (Table 1) [43]. Evidently, ferric chloride washing treatment results in large amounts of micropores. In addition, adding boric acid could also increase the content of micropores and mesopores suggesting that the water-soluble boron oxides eliminated by washing process. Such porous structures were expected to be perfect electrode materials used in supercapacitors [28].

We investigated the electrochemical behavior of samples in 6 M KOH electrolyte by three-electrode system shown in Fig. 8. Figure 8a shows the CV text of samples at a scan rate of 1 mV s−1, which all reveal as rectangular-like characteristic curve. However, nWPGC-B and nWPGC-Fe-B showed obvious broad redox peak, indicating that heteroatom B contributed an indispensable pseudocapacitance. The cyclic CV text of nWPGC-Fe-B (Fig. 8b) was exhibited at 1–200 mV s−1 scan rates. It was shown that the material has excellent rate performance and good reversibility. The nWPGC-Fe-B-900 of CV text (Fig. 8c) was prepared by heat-treating nWPGC-Fe-B at 900 °C for 2 h in a nitrogen atmosphere to reduce heteroatoms. Due to high heat treatment of the material, it could be clearly noticed that reduced the specific capacitance and the CV curve was transformed into a narrower rectangular shape.

Fig. 8
figure 8

Electrochemical evaluations of samples in three-electrode configuration: a CV text at 1 mV s−1, b CV text of nWPGC-Fe-B at 1–200 mV s−1, c CV text of nWPGC-Fe-B and nWPGC-Fe-B-900 at 1 mV s−1. d GCD text at 0.5 A g−1, e GCD text of nWPGC-Fe-B at 0.5–7 A g−1. f Comparative capacitance retentions at the corresponding current density. g Nyquist plots. h Equivalent circuit. i CV text of nWPGC-Fe-B at 1–3000 th cycles at 20 mV s−1. j The capacitance retention of nWPGC-Fe-B

All the GCD texts (Fig. 8d) were symmetric, showing regularly shapes, implying well reversibility and excellent Coulombic efficiency. Specific charge and discharge branches could be seen in Fig. S1a and b. It was shown that the discharge time of nWPGC-B and nWPGC-Fe-B was longer, which proved that the contribution of element B to the capacitor was indispensable. It was consistent with the result in Fig. 8a. The constant current charge-discharge test of nWPGC-Fe-B at different current densities is shown in Fig. 8e. The material has a lower internal resistance, which corresponds to the result of AC impedance. The relationship curve between specific capacitance and current density is shown in Fig. 8f and Table 3. The nWPGC-Fe-B has a large current density even in 7 A g−1; its specific capacitance value could still be maintained at 244.5 F g−1, which had good charge and discharge performance and capacitance behavior.

Table 3 Specific capacitance of the carbon electrode materials of supercapacitors for the comparison with nWPGC-Fe-B in this study

The EIS measurement (Fig. 8g) investigated the impedance of materials. The corresponding equivalent circuit was displayed in Fig. 8h. Table 4 shows the fitting results for all samples. The solution resistance of all samples was less than 1.0 Ω, which indicated low solution resistance. The charge transfer resistances Rct of nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B were 3.054, 1.782, 1.349, and 0.777, respectively. The nWPGC-Fe-B has lowest charge transfer resistance Rct, indicated that it had faster charge transfer characteristics [44, 45]. Therefore, we knew that nWPGC-Fe-B had better conductivity, fast charge transfer, and electrolyte ion diffusion characteristics, which lead to better electrochemical performance. In Fig. 8i, j, it is suggested that nWPGC-Fe-B could remain 94.8% initial capacitance after 3000 cycles, and the CV text of nWPGC-Fe-B did not present evident distortion. Table 3 compares the performance of the nWPGC-Fe-B composite with the previously reported carbon electrode materials [10, 28, 29, 34, 46,47,48,49].

Table 4 Selected EIS fitting results for the nWPGC, nWPGC-Fe, nWPGC-B, and nWPGC-Fe-B samples

Based on the outstanding electrochemical performance of nWPGC-Fe-B, we have prepared a symmetrical supercapacitor to evaluate its practical application value. The specific capacitance was revealed from the GCD text (Fig. 9a). The resultant specific capacitances were approximately 76.5 F g −1 at 1 A g−1. In Fig. 9b, we could clearly saw the excellent electron migration efficiency of the device, which could still remain at 79.7% even at a current density of 7 A g−1. According to Fig. 9c, it was exhibited a maximum energy density of 10.35 Wh kg−1 at a power density of 493.2 W kg−1, and at a power density of 2101 W kg−1, the energy density was maintained at 3.36 W h kg−1. Our result was better than that reported for several heteroatom-doped carbon materials such as nitrogen-doped hierarchical porous carbon, B/N co-doped carbon nanosphere, boron/nitrogen co-doped carbon, and N and S dual-doped porous carbon [4, 20, 29, 30]. Another key factor in evaluating supercapacitors is the cycle stability test. Figure 9d shows the long-term cycling performance test of the device at a current density of 5 A g−1. Even after 5000 cycles, the initial capacity of 89.78% could be retained. As a result, this material has excellent electrochemical performance as a new generation of supercapacitors.

Fig. 9
figure 9

In a two-electrode system: a GCD text at 1–7 A g−1, b rate capability at different current densities, c Ragone plot of nWPGC-Fe-B symmetrical supercapacitor, and d cycling stability at the current density of 5 A g−1

Conclusions

In a word, the boron and nitrogen co-doping carbon materials have been synthesized by one-step carbonization from nWPGC as electrode materials for supercapacitors. Boron and nitrogen sources come from boric acid and melamine, respectively. Furthermore, nitrogen-enriched carbon also had repeating urethane bond (-NHCOO) in waterborne polyurethane (nWPU). Moreover, we used the ferric chloride treatment and washing method to remove the B–N bonds and ferric chloride results in amounts of micropores. The fabricated B/N co-doped carbon had a high specific capacitance of 356.3 F g−1 at 0.5 A g−1 in 6 M KOH electrolyte, with the surface area, and pore volume (611 m2 g−1 and 0.3 cm3 g−1). In a two-electrode system, it exhibited an energy density of 10.35 Wh kg−1 and was achieved at a power density of 493.2 W kg−1. More importantly, the capacitor also maintained a well rate capability and notable cyclic stability of 89.78% capacitance retention even after 5000 charge-discharge cycles. According to this, the synthesis strategy will open a new way to manufacture electrode for applications in supercapacitors.