Introduction

Environmental issues related to energy management are becoming increasingly important, forcing humanity to pay more attention to the use of so-called green materials in energy storage technologies. Nanoporous carbon is one such green material, which, due to its large specific surface area and favorable pore sizes, has proven to be an important electrode material for ultracapacitors, batteries, and fuel cells [1,2,3]. However, an electrical double-layer capacitor (EDLC) using a liquid electrolyte is the most attractive type of storage for nanoporous carbon electrodes, primarily because energy is stored in it by electrosorption of the ions in nanopores. In the case of EDLCs, the principle is that the larger the carbon surface available to the electrolyte, the higher the capacitance of the device [4]. The effect of the pore size distribution (PSD) of carbon electrodes on capacitance has received much attention. It has been shown that the better the compatibility between the dimensions of the electrolyte ions and the carbon pores, the higher the capacitance [4,5,6]. Although the latter statement is quite well established for some organic electrolytes [5, 6], it has not been confirmed for aqueous electrolytes, where the effective size of ions for electrosorption may differ significantly from that of bare ions due to strong ion solvates [3] and the redox processes affect the value of the total capacitance mainly due to the narrow potential window (1.23 V, thermodynamically) of water [1].

Liquid electrolytes can be broadly divided into the following three classes: nonaqueous, aqueous, and ionic liquid electrolytes [7]. The requirements for electrolytes used in energy storage include chemical and electrochemical stability, a wide operating temperature range, high ion conductivity, low resistivity, and environmental friendliness [4, 7, 8]. In particular, due to the cost of organic electrolytes and environmental issues, there has been much emphasis recently on the study of aqueous electrolytes [9], especially electrolytes with a neutral pH, such as aqueous solutions of various alkali metal salts, such as sulfates and nitrates. The slightly lower capacitance obtained with pH-neutral electrolytes is compensated by their environmental friendliness and low cost [8]. It has also been shown that the use of neutral electrolytes makes it possible to operate over a wider voltage range (above 1.5 V) than alkaline and acidic electrolytes due to higher hydrogen overvoltage [10, 11]. Qu et al. studied the electrochemical performance of activated carbon at different scan rates in 0.5-M aqueous solutions of three alkali metal sulfates and showed that at higher scan rates, the capacitance increases with decreasing radius of hydrated ion (Li+  > Na+  > K+) [12], thus suggesting that K+- and Na+-based aqueous electrolytes are better suited for supercapacitors than those using Li+ cations. However, the better solubility of lithium salts compared to similar sodium or potassium salts is certainly a good reason why they have thus far received much more attention in various studies [10, 13,14,15,16,17]. Due to the strong solvation of Li+ cations, it is also possible to achieve a wider operating voltage range. For example, using the Li2SO4 solution as an electrolyte, it reached 2.2 V without significant capacitive loss after 15,000 cycles [17].

In addition to matching the pore size of the electrode material to the ions of a particular electrolyte, other phenomena can be applied to increase the capacitance in aqueous electrolytes [4], for example, by incorporating pseudocapacitive components into the carbon matrix. Guo and Zheng showed that capacitance is related to both the high specific surface area of carbon and the presence of rich surface oxygen functional groups, providing pseudocapacitance in aqueous media [18]. Another study showed that the mild modification method of activated carbon with a persulfate solution is a valuable method to obtain electroactive oxygen functional groups on the carbon surface [19]. It was demonstrated that the increase in capacitance of the modified carbon using 1 M Na2SO4 electrolyte is proportional to the time of persulfate treatment. The ozonation process has also been used to enhance the functionalities of oxygen on the carbon surface, which increased both the specific capacitance and the efficiency of the electrochemical capacitors in aqueous media [20].

Nanoporous carbide-derived carbon (CDC) [21] with a well-tuned pore size distribution (PSD) has received much attention as a high-power electrode material [22,23,24,25,26]. The peculiarity of CDC is that the carbon particles retain the shape and dimensions of the original carbide and the textural and electronic properties of carbon depend on the chemical composition and structure of the parent carbide. This gives an opportunity to design carbon materials with the desired micro- and macrostructure by selecting a starting carbide and proper synthesis conditions [27]. In addition, the structure and surface functionality of CDC can be further tuned by chemical [28, 29] or physical activation [30,31,32,33].

Previous studies have also demonstrated that CDCs are suitable electrode materials for aqueous electrolytes, e.g., the specific capacitance of CDC at a low current density exceeds 200 F g−1 in 2 M H2SO4 [34]. Xu et al. found that the electrochemical performance of CDC depends on its hydrophilicity, and it was shown that the specific capacitance of graphitized TiC-derived CDC increases in an aqueous KOH electrolyte with varying amounts of ethanol from 5 F g−1 to 60 F g−1 at a scan rate of 20 mV s−1 [35, 36]. Eskusson et al. showed that Mo2C-derived CDC with a hierarchical structure is a promising supercapacitor electrode material in a pH-neutral aqueous medium [37], demonstrating the high charge–discharge efficiency (98%) with 1 M Na2SO4 at U ≤ 1.0 V. The influences of ionic composition and concentration of pH-neutral aqueous electrolytes have been studied on directly electrospun TiC-derived CDC electrodes, which showed the highest gravimetric capacitances in 1 M NaNO3 [38].

One of the issues with the use of nanoporous carbons in aqueous electrolytes is the hydrophobic surface of the carbon, which causes poor wettability. Another problem is the electrochemical stability of carbon, which is reduced by tangling bonds and structural defects acting as active centers for irreversible side reactions. Partial oxidation of the carbon has been found to counteract both problems. Gu et al. studied soaking TiC-derived CDC in a mixed acid solution containing HF and HNO3 at room temperature, and as a result of acid treatment, the specific capacitance of the acid-soaked nano-TiC-CDC increased from 83 to 304 F g−1 at a scan rate of 5 mV s−1 in 6 M KOH aqueous electrolyte [39]. Gao et al. showed that deactivation of the carbon surface by chemical oxidation with H2O2 protects the positive carbon electrode from electro-oxidation during cell operation at higher voltages [10]. Recently, it was demonstrated that oxidation of CDC using the modified Hummers’ method, originally developed as a fast and efficient method for the production of graphite oxide [40], improves the wettability of microporous carbon in aqueous electrolytes, and the capacitance of the resultant oxidized CDC was increased by 16 times in 6 M KOH [41]. This modified material also showed excellent cycling stability while retaining 92% of its capacitance after 10,000 cycles. Hummers’ oxidation method has also been used to modify a highly porous carbon aerogel, and the results proved the suitability of the modified carbon material for supercapacitors and batteries [42].

The major aim of this study is to provide new insights into carbon-based energy storage, for the first time considering nanoporous TiC-derived carbon with a moderately graphitized surface and its partially oxidized derivative as potential electrode materials for pH-neutral aqueous electrolytes. More specifically, 1 M Na2SO4 is used as the electrolyte to conduct the electrochemical characterization of CDC and its modified derivatives. Another aim of this study is to investigate the effect of Hummers’ method, i.e., noneroding oxidation, on the electrochemical performance of nanoporous carbon in a pH-neutral aqueous electrolyte and to determine the advantages and disadvantages of surface oxygen. Involving broad-based structural analysis of carbon materials, this work is thus the first comprehensive study of nanoporous and Hummers’-oxidized CDCs to elucidate the relationships between the structure and electrochemical performance of these materials in a pH-neutral aqueous electrolyte.

Experimental

Synthesis and modification of carbon materials

Nanoporous TiC-derived carbon (hereinafter referred to as CDC) with a partially graphitic surface was made by a gradual chlorination procedure of carbide at various temperatures [43]:

$$TiC+2{Cl}_{2}\stackrel{950-{800}^{o}C}{\to }TiC{l}_{4}+C.$$
(1)

Titanium carbide powder (H.C. Starck, Ø < 4 µm, 75 g), placed in the horizontal tubular quartz reactor, was treated with chlorine gas (Linde Gas, 2.8, 1.5 l min−1) for 15 min at 950 °C and then 180 min at 800 °C The reactor was then purged with argon (Linde Gas, 4.0, 2 l min−1) for 60 min at 1000 °C to remove residual chlorine and all gaseous by-products. Finally, the CDC powder was purified with hydrogen (Linde Gas, 4.0, 1 l min−1) at 800 °C to dechlorinate and chemically reduce the carbon surface.

To oxidize CDC (ox-CDC), the CDC powder was chemically oxidized by Hummer’s method [40], using NaNO3 and KMnO4 as the oxidizing agents and H2SO4 acid to improve the oxidation efficiency. Briefly, 1.0 g of CDC powder in 25 ml concentrated sulfuric acid was treated in an ultrasonic bath for 20 m, and then 1.0 g NaNO3 and 3.0 g KMnO4 were added at 0 °C. After that, the solution was stirred for 10 h at 35 °C and an additional 14 h at 20 °C. Then, 40 ml deionized water followed by 10 ml 30% H2O2 was added to the oxidation solution. Finally, the oxidized CDC was filtered out and washed first with 10% HCl solution and then with distilled water.

To make the back-reduced CDC (ox-red-CDC), reduction of the dry ox-CDC powder was carried out in hydrogen (Linde Gas, 4.0, 1 l min−1) flow for one hour at 800 °C.

Physicochemical characterization

The X-ray diffraction (XRD) spectra of the carbon powder samples were studied by a Bruker D8 Advance diffractometer. A scanning step of 0.020° (2θ) from 3 to 93° (2θ) and a total counting time of 522 s per step were used. The cell parameters were calculated using the full-profile analysis software Topas 6 (Bruker, Germany). Scanning electron microscopy (SEM) was chosen to visualize and study the surface morphology of carbon. The carbon material was attached to the SEM specimen stub using carbon conductive adhesive tape (TAAB Laboratories Equipment Ltd.). High-resolution SEM images at various magnifications were collected using a Helios NanoLab 600 (FEI) microscope. The elemental composition of carbon powder samples and the distribution of elements in these samples were performed in the same microscope by an energy dispersive X-ray spectrometer INCA Energy 350 (Oxford Instruments) equipped with an X-Max 50 mm2 detector. The energy of the primary electrons used to acquire SEM images and determine the elemental composition was 10 keV. The EDX spectra and elemental maps were obtained and processed using INCA software (Oxford Instruments). The Fourier transform infrared (FT-IR) spectrum for carbon powder samples was recorded on a Bruker Alpha FTIR instrument using an ATR device with Ge crystal. X-ray photoelectron spectroscopy (XPS) studies of the surface functional groups of carbon samples, which contained 10 wt% PTFE compressed into a thin film with a size of 1 cm2, were performed using a SCIENTA SES-100 electron spectrometer. For excitation, nonmonochromatic Mg Kα X-rays (photon energy 1253.6 eV) were used. Casa XPS software was used for the removal of the X-ray satellites, peak fitting (using the Gauss-Lorentz hybrid function and combination of linear and Shirley backgrounds) and calculation of concentrations.

Low-temperature nitrogen adsorption was measured at 77 K, and CO2 adsorption was measured at 273 K using a NOVAtouch LX2 (Quantachrome Instruments) with TouchWin software (ver. 1.1). From the N2 and CO2 adsorption isotherms, PSD was calculated using a quenched solid density functional theory (QSDFT) and nonlocal density functional theory (NLDFT) models for slit-type pores, respectively. N2 adsorption was also used to calculate total pore volume (Vtot) at a P/P0 of 0.97 and specific surface area SBET in the P/P0 interval of 0.02–0.2 [44].

Electrochemical characterization

For electrochemical measurements, the carbon powder under study, including 10 wt% PTFE (Aldrich, 60% dispersion in water), was pressed into a film with a thickness of 100 ± 10 µm. The average densities of electrode discs cut out of the film were 0.71, 1.02, and 0.80 g cm−3 for CDC, ox-CDC, and ox-red-CDC, respectively. The carbon film for the counter electrode was made from activated carbon powder with Sdft ~ 1600 m2g−1 (V2, EnerG2 Technologies Inc.) by using the same method described above. Prior to assembling the test cells for electrochemical testing, the carbon electrodes were treated under vacuum at 110 °C for 48 h.

Characterization of carbon materials was performed in 3-electrode test cells with gold current collectors and Ag|AgCl (3.5 M KCl) reference electrode (RE). The discs of the 7-mm diameter working electrode (WE) and a 16-mm diameter counter electrode (CE) were separated by a 1-mm-thick glass fiber separator (Whatman). A 1 M Na2SO4 (Fisher Chemical, anhydrous, 99.5%) in Milli-Q water as the electrolyte was used in all experiments. After assembly, the materials in the cell were allowed to soak in the electrolyte for approximately 24 h. The electrochemical measurements were performed using cyclic voltammetry (CV), galvanostatic, i.e., constant current (CC) methods, and electrochemical impedance spectroscopy (EIS). The potentiostat–galvanostat 1286 with FRA 1255B (Solartron) was used in all measurements. The anodic (0 to +1.0 V vs. Ag|AgCl) and cathodic (0 to −1.0 V vs. Ag|AgCl) performance of the materials was tested separately to avoid repolarization of the carbon material during the experiment. Prior to measurements, 3-electrode cells were preconditioned with 1000 CV cycles (v = 20 mV s−1) from 0 to + / − 0.5 V vs. Ag|AgCl according to the selected anode or cathode polarization to obtain reproducible test results.

The CV curves were measured at different potential scan rates, v, between 50 and 2 mV s−1, starting from the highest scan rate. The CC measurements with positively and negatively charged electrodes were carried out with a current of 2 mA cm−2 (~0.3 A g−1) from 0 to + / − 0.75 V vs. Ag|AgCl. Before discharge, the test cell was kept at a constant potential (+ / − 0.75 V vs. Ag|AgCl) for 5 min to guarantee a full charge in all experiments (see discharge profile in Fig. S1). The specific capacitances of carbon materials (CCC and CCV) are given for the mass of carbon in the working electrode (Eqs. S1S3). EIS measurements were performed in the frequency range of 1 MHz to 5 mHz at AC voltage of 5 mV using the ZView ver. 3.5i software (Scribner Associates Inc.). The series resistance, Rs, was determined by frequency response analysis and was calculated by equivalent circuit fitting using the series connection of Rs, Cs elements.

The cycling stability of carbon materials was evaluated in 2-electrode cells, which were assembled from two 7-mm diameter electrodes attached to gold current collectors and separated with a 1-mm-thick Whatman separator. The cycling life was evaluated by using CV cycling at 20 mV s−1 in voltage intervals of 0–1.5 V. The specific capacitance of 2-electrode cells was expressed per weight of carbon in one electrode as C = 4 × (Ccell/mC), where mC is the total weight of the active carbon in the cell. The changes in resistance were measured by EIS.

Results and discussion

Structure and textural properties of carbon materials

The CDC sample was prepared from TiC by gradual chlorination at various temperatures, starting at 950 °C and ending with the conversion of TiC to CDC at 800 °C, which resulted in nanoporous carbon with a hierarchical pore size distribution [43]. The method is based on the fact that the structural order of CDC is controlled by the synthesis temperature [22, 45, 46]. The higher temperature (950 °C in this study) applied at the beginning of chlorination results in more graphitic surface layers of the CDC particles, which in turn should increase the electrical conductivity between the particles when such carbon is used as the electrode material. To investigate the behavior of partially oxidized surfaces on the electrochemical properties of nanoporous carbon, a sample of TiC-derived CDC was oxidized by Hummers’ method to ox-CDC and then reduced back to ox-red-CDC with hydrogen at 800 °C.

SEM images (Fig. 1) show that the oxidizing process does not influence the macroscopic structure of carbon particles. The oxidized particles retain their original shape without a notable change in particle size (Fig. 1a, d, g). However, on high-resolution images (Fig. 1c, f, i), clear signs of oxidation are visible on the surface of ox-CDC and ox-red-CDC compared to pristine CDC. Because the nanoporous CDC used in this study contained a slightly graphitic surface, oxidation formed wavy graphene layers on the surface, which is a typical picture of the exfoliation of graphite due to Hummers’ oxidation [40, 47, 48].

Fig. 1
figure 1

SEM images of different magnifications of CDC (a, b, c), ox-CDC (d, e, f), and ox-red-CDC (g, h, i)

Degradation of the graphitic structure by oxidation is also evidenced by XRD spectra. Figure 2a shows the diffraction patterns of the CDC, ox-CDC, and ox-red-CDC materials. In all spectra, the broad (10) diffraction peak at ~43° (2ϴ) can be seen, reflecting the in-plane order of hexagonal carbon as typical of disordered nanoporous carbon [23, 49]. The sharp (002) diffraction peak at ~26° (2ϴ) observed in the pattern of pristine CDC disappeared from ox-CDC and ox-red-CDC. This phenomenon is consistent with SEM observations and reveals that the graphite domains in the pristine CDC material are damaged during oxidation. It is also worth noting that the graphitic structure is not recovered after the reduction of ox-CDC, while the tendency of graphene layers to reassembly back into graphite is a known issue with the reduction of graphene oxide to graphene [50].

Fig. 2
figure 2

XRD patterns (a), N2 adsorption–desorption isotherms (b), pore size distributions calculated from N2 and CO2 isotherms (c), and IR spectra of carbon samples (d), and XPS core-level spectra in the O1s region of CDC (e), and ox-red-CDC (f) materials

The textural properties of CDC and its oxidized derivatives were studied using physisorption of nitrogen and carbon dioxide. The N2 adsorption–desorption isotherms of all three materials studied (Fig. 2b) are typical type Ia isotherms according to the IUPAC classification [51], which is characteristic of microporous materials. Analysis of the textural data (Table 1) shows that the oxidizing process significantly reduces the specific surface area and volume of micropores of ox-CDC compared to pristine CDC. The decrease in porosity parameters is assumed to be partly because of the increased mass of a sample by the oxygen-containing groups and partly due to the blocking of the carbon surface by these groups. Back-reduction of ox-CDC is expected to remove most of the oxygen groups, and correspondingly, the specific surface area SBET increases from 879 to 1300 m2 g−1 but remains lower than the value of pristine CDC before oxidation, which was almost 1500 m2 g−1.

Table 1 Specific surface areas (SBET and Sdft), total pore volumes (Vt), and volumes of different pore size fractions (V<x nm) calculated from N2 isotherms and V<0.7 nm calculated from CO2 adsorption

Oxidation/reduction treatments do not alter the PSD profile, i.e., locations of pore size maxima of carbon materials (cf. Fig. 2c). Based on N2 adsorption, all three materials are almost completely microporous, with a narrow pore size distribution at approximately 0.8 nm and a small shoulder at approximately 1.5 nm (see Fig. 2c). However, the difference can be seen in the volumes of fractions with different pore sizes. While oxidation decreases the volume of pores of all sizes relative to the pristine CDC, upon reduction of ox-CDC, both the larger micropores (1–2 nm) and mesopores (2–50 nm) of the ox-red-CDC restore the same volume as in the pristine CDC, but the volume of small micropores (< 1 nm) remains notably below that of CDC, i.e., 0.38 vs. 0.49 cm3 g−1, respectively (see Table 1).

According to the EDX analysis, the oxygen contents of the CDC, ox-CDC, and ox-red-CDC powders are 3.4 ± 0.9, 23.1 ± 2.0, and 5.2 ± 0.6 wt%, respectively, and oxygen is rather evenly distributed within all three samples (see Fig. S2). The changes in the oxygen-containing groups on the carbon surface due to oxidation/reduction treatment were detected by FT-IR analysis (see Fig. 2d). Comparing the spectra of the pristine CDC and ox-red-CDC, there is no significant difference between the types of oxygen groups, but clearly, the oxygen content of the surface of the reduced material is higher. The vibrations at approximately 1000–1200 cm−1 in both the CDC and ox-red-CDC spectra belong to different oxygen-containing functional groups, such as carboxyl or epoxy groups, but due to the overlap of adsorption, the exact identification of the groups is complicated [52, 53]. The weak peak at 1460 cm−1 can be attributed to CH3 or CH2 bending vibrations [52]. The broad signal observed at 1540–1580 cm−1 usually belongs to C = C vibrations in aromatic rings; however, it has also been assigned to the C = O stretching vibration of carbonyl groups [52,53,54]. The broad peak with the maximum at 1850 cm−1 is difficult to interpret unambiguously; however, it has been associated with C = O stretching in anhydrides or lactones [55, 56]. The vibration spectrum of ox-CDC is significantly different from those of the other two materials. It shows distinguishable intense peaks at approximately 1240 and 1730 cm−1, which are caused by C-O and C = O stretching in different oxygenated surface groups, respectively. There is also a clear peak at approximately 1600 cm−1, which would normally be associated with C = C stretching in the aromatic ring. In ox-CDC, however, the peak is most likely caused by vibrations of the carbonyl groups that are directly conjugated with the polyaromatic matrix [53, 56, 57].

The surface oxygen of CDC and ox-red-CDC carbon films containing 10% PTFE binder was also analyzed by XPS (survey spectra in Fig. S3), which showed total surface oxygen contents of 1.0 and 1.9 at%, respectively. The high-resolution analysis of the O1s region (see Figs. 2e, f, and S4a) confirmed the IR finding that the proportion of all oxygen-containing groups is higher for the ox-red-CDC material, with the number of C = O carbonyl groups having increased the most, from 0.24 to 0.59 at% (cf. Fig. S4b).

Electrochemical study

The cycling voltammetry (CV) study of nanoporous CDC materials was performed in 1-M aqueous Na2SO4 using a 3-electrode test cell with an Ag|AgCl reference electrode. Figure 3 shows the CV curves of CDC and ox-red-CDC at various potential windows up to an interval of − 0.9 to 0.9 V, which characterizes the capacitive behavior of these materials. In the case of ox-red-CDC, polarization toward positive potential values causes oxidation of the carbon at E ~0.4 V and reduction of surface functional groups at close to 0 V vs. Ag|AgCl. It is pertinent to mention that analogous redox peaks are absent in the CV curves of both pristine CDC and ox-CDC, i.e., starting material of ox-red-CDC (see Fig. S5).

Fig. 3
figure 3

CV plots of carbon materials expressed as C vs. potential measured at a voltage scan rate of 5 mV s−1

In view of the fact that repolarization of electrodes is not allowed in conventional supercapacitors, such as EDL capacitors, the CDC and ox-red-CDC materials with cathodic or anodic polarization potential were studied in more detail using 3-electrode cells. To avoid repolarization of the electrodes under study, separate cells were used for positive and negative polarization. The capacitance of the materials at opposite polarization potentials was studied by CC method (2 mA cm−2; 0 V to + / − 0.75 V). Capacitance values (see Tables 2 and S1) were measured after one thousand preconditioning charge–discharge cycles performed at 20 mV s−1 in a potential range of 0 V to + 0.5 V or 0 V to −0.5 V, depending on whether the positively or negatively polarized electrode was tested. Due to the hydrophobic surface of the electrodes and the hindered access to the micropores, a long preconditioning was required. The CDC was rather stable during preconditioning; the \({C}_{cc}^{-}\) improved from 124 to 134 F g−1, while the \({C}_{cc}^{-}\) of ox-red-CDC improved almost threefold, from 42 to 120 F g−1 (see Table S1).

Table 2 Specific capacitance of CDC and ox-red-CDC by constant current cycling at negative and positive potentials

The data in Table 2 show that the oxidation/reduction treatment decreased the capacitance of pristine CDC by 10–20%. The main reason for the lower capacitance of ox-red-CDC is more likely to be the blocking of submicron pores by surface functional groups added during the oxidation/reduction treatment of CDC. As previously shown, the capacitance of nanoporous CDC materials is related to the size of pores accommodating the electrolyte ions [5]. The difference between the capacitance of CDC and ox-red-CDC can thus partly be explained by the compatibility between the pore sizes of these carbons and the sizes of the electrolyte ions used (the diameters of hydrated Na+ and SO42− are 0.72 and 0.76 nm, respectively) [58, 59]. The textural properties in Table 1 show that the ox-red-CDC has approximately 25% smaller volume of < 1-nm pores compared to the pristine CDC, while the mesoporous volume is the same for both materials. This difference in the volume of small micropores is in good agreement with the approximately 20% difference in capacitance of both materials. Another factor that may slightly reduce the gravimetric capacitance is the higher oxygen content of ox-red-CDC, which adds weight to the carbon material. Some discrepancies between CC and CV capacitances (see Table S1) are due to the differences in methodologies, in particular the 5-min hold of potential before CC discharging.

The CV curves of the negatively polarized CDC material (Fig. 4a) do not contain red-ox peaks over a wide potential range (0 to −1.0 V), reflecting the typical behavior of EDL materials with good charge propagation. The capacitance of the nanoporous CDC depends significantly on the potential—the wider the potential window is, the higher the capacitance obtained. In the case of the positive polarization of the CDC, no significant evidence of redox processes up to approximately 0.8 V is observed. However, by further increasing the potential window, the curves acquire an asymmetric shape, and a characteristic carbon oxidation peak appears at E > 0.8 V. Reduction of the oxidized functional groups is reflected by the peak at 0.3–0.4 V (see Fig. 4a).

Fig. 4
figure 4

Cyclic voltammograms (v = 2 mV s−1) for positively and negatively charged electrodes of CDC (a) and ox-red-CDC (b). The cycles in bold were used to calculate the CCV capacitance

Ox-red-CDC behaves similarly to CDC at negative potentials up to -0.8 V (Fig. 4b) and, as with CDC, its CV curves show the potential dependence of capacitance on cathodic polarization. At a wider potential window, however, a weak hydrogen adsorption peak occurs at approximately − 0.75 V (vs. Ag|AgCl), which amplifies as the potential window is expanded to −1.0 V. In the case of anodic polarization, ox-red-CDC is electrochemically more stable than CDC; electrochemical oxidation/reduction of the carbon surface appears only when 0.9 V is reached during cycling. Better resistance to oxidation of the carbon surface may be due to the passivated, partly oxygen-functionalized carbon surface in the ox-red-CDC.

To compare the electrochemical stability of CDC and ox-red-CDC, two symmetric cells, CDC/CDC and ox-red-CDC/ox-red-CDC, and one unsymmetrical ox-red-CDC/CDC cell (anode/cathode, respectively) were composed (see definitions in Table S2). Prior to testing, the 2-electrode cells were preconditioned by 120 CV cycles (0–1.5 V, 20 mV s−1). Capacitance of the cells was then measured at different scan rates: 50, 20, 10, 5, 2 mV s−1 (see Fig. S6). The specific capacitance values at the beginning of the cycling life test, after 5000 cycles, and after repolarization 20 mV s−1 and 2 mV s−1 are shown in Fig. 7.

The highest specific capacitance of 163 F g−1 per carbon was measured for the CDC cell by applying CC at 2 mA cm−2 (Fig. 5a). Significantly lower capacitance was obtained for the ox-red-CDC cell with an initial capacitance of 98 F g−1 per carbon. The unsymmetrical cell resulted in 135 F g−1 per carbon, which is close to the mean value of the capacitances of anode and cathode materials measured in 3-electrode cells.

Fig. 5
figure 5

CC charge–discharge curves (I = 2 mA cm−2) and respective discharge capacitance (in inset) measured for 2-electrode cells before cycling life test (a) and retention in capacitance (b) and resistance (c), determined for the 2-electrode cells using CV (at 20 mV s−1) and EIS methodologies, respectively

Charging-discharging of the 2-electrode cells up to 5000 cycles was performed using CV at a voltage scan rate of 20 mV s−1 in the voltage range of 0 to 1.5 V. Good electrochemical stability was observed for all three cells. The changes in capacitance and resistance during cycling are presented in Fig. 5b, c. Usually, we expect the capacitance of the cell to decrease over time due to undesired electrochemical side processes on the carbon surface and/or the physical degradation of the electrodes due to thermal effects and expansion contractions during charging-discharging. Indeed, this can be observed with the CDC cell, which shows a small decrease in capacitance during 5000 charge–discharge cycles. A slight decrease in capacitance is also observed for the ox-red-CDC cell during the first 2000 cycles, but then it starts to increase until reaching approximately 105% of the initial value. The unsymmetrical cell behaves differently; during approximately 4000 cycles, its capacitance constantly increases, reaching 108% of the initial capacitance within the mentioned period. In general, both the ox-red-CDC and the unsymmetrical cells reached the maximum capacitance by approximately 4000 cycles (see Fig. 5b).

The values of cell resistance were determined from the series resistance Rs at 0.5 V and 1 kHz. A CDC cell shows typical behavior with a characteristic increase in Rs with an increase in the number of cycles (Fig. 5c). However, both the ox-red-CDC and unsymmetrical cells show a decrease in Rs during the first 1000–2000 cycles, after which the Rs increases somewhat and stabilizes at approximately the initial resistance value. This unusual behavior of unsymmetrical and ox-red-CDC cells is likely due to the slow conditioning of the ox-red-CDC electrode, as seen in the 3-electrode experiments.

Comparing the Rs vs. frequency dependences, the CDC cell showed very stable results (Fig. 6a). However, the ox-red-CDC and unsymmetrical cells revealed a decrease in resistance during cycling, wherein a significant decrease (approximately 20% during 5000 cycles) takes place at lower frequencies, at f < 0.1 Hz (see Fig. 6b, c). In the Nyquist plot (Fig. 6d), the CDC cell shows a typical response of microporous electrode, with very low changes in the cycling life test. The slope of nearly 45° at lower Z’ values is the so-called porous region, which is characteristic to the mass-transfer limited processes in micro- and mesopores. The Nyquist plot gradually approaches a more vertical slope at higher Z’ values (> 50 Ω), which corresponds to so-called EDLC region. Similar behavior is observed during cycling of the unsymmetrical cell (Fig. 6f), where the Nyquist curve gradually acquires the shape of a classical porous electrode curve, with an initial slope of 45° and forming a consistently more vertical line at Z’ ~ 100 Ω. This indicates a significant decrease in the impedance in the micropores and an improvement in the capacitance due to the improved adsorption–desorption equilibrium on the electrolyte/carbon interface during the cycling life test. The Nyquist graph (see the insets in Fig. 6d–f) shows at very high frequencies that the starting point of the curves (Z” = 0) is constant in all test cells, confirming that the resistance at the gold collector/carbon electrode interface does not alter during cycling and that the cells resist corrosion very well. All cells show a barely perceptible semicircle at high frequencies that progresses slightly during cycling, which may be due to an increasing charge transfer resistance (or some rapid chemical reaction) at the carbon/electrolyte interface.

Fig. 6
figure 6

The dependences of Rs vs. frequency of the CDC (a), ox-red-CDC (b), unsymmetrical cells (c), and Nyquist plots of CDC (d), ox-red-CDC (e), and unsymmetrical cells (f) at 0.5 V, measured during the cycling life test including a short-term repolarization after the 5000th cycle. Insets in Nyquist plots show a low-impedance region

To evaluate the effect of repolarization on 2-electrode cells, the polarities of the current terminals of all three cells were reversed after 5000 cycles, followed by 10 CV cycles between 0 and 1.5 V. Thereafter, the initial polarities were re-established, and the cells were then charged-discharged for another 1000 cycles by using a voltage scan rate of v = 20 mV s−1. The specific capacitances of all three cells per carbon at 20 mV s−1 and 2 mV s−1 are shown in Fig. 7. The overall result is that after repolarization, all cells tested acquire a significantly higher capacitance than immediately before repolarization. An increase in capacitance was observed with both 20 and 2 mV s−1 scan rates. For example, in the case of an unsymmetrical cell, after passing 5000 cycles with repolarization followed, the specific capacitance per carbon material increased from 75 to 92 F g−1 and from 116 to 137 F g−1 at 20 and 2 mV s−1 (Fig. 7c), respectively. Over the next 1000 cycles after repolarization treatment, both the CDC cell and unsymmetrical cell behave similarly and lose capacitance, restoring approximately the same capacitance as before repolarization. Again, ox-red-CDC behaves differently, and its capacitance continues to increase during postrepolarization cycling. Similar phenomena have been described in recent articles, where repolarization of a cell has been found to prolong its lifespan [60] and increase its capacitance [13].

Fig. 7
figure 7

The specific capacitance of 2-electrode cells at the beginning of the cycling life test, after 5000 cycles, immediately after repolarization and after 1000 cycles

The main reason for the increase in capacitance after temporary short-term repolarization is probably the “cleaning” of the surface of the carbon electrode from the adsorbed or deposited surface blocking compounds due to a unidirectional potential. Repolarization brings electrostatically or otherwise weakly bound surface compounds back into solution, freeing the surface for electrosorption of electrolyte ions. It is also possible that some of the electroactive groups bound to the carbon surface are reduced or oxidized during this process, depending on the potential. Additionally, the population of ions at the interface immediately after repolarization may be larger until a new equilibrium is reached. Better filling of very small micropores (perhaps with possible release of gas molecules generated during cycling) due to the more intense movement of ions initiated by the change in polarization may also play a role. An important observation is that immediately after temporary repolarization, there is a significant decrease in the resistance (Rs) of ox-red-CDC and unsymmetrical cells (see Fig. 6b, c). However, the mechanism of the decrease in resistance is not completely the same: while in the case of ox-red-CDC, the decrease in resistance occurs over a very wide frequency range (see Fig. 6b), in the asymmetrical cell, a change in Rs is observed only at low frequencies (see Fig. 6c). In the case of ox-red-CDC, the decrease in Rs is likely to be due to a decrease in impedance from the carbon surface groups, which is accompanied by a new charge transfer process (small arc formation in Fig. 6e), suggesting an additional reaction at the carbon/electrolyte interface. In the case of a hybrid cell, Rs decreases due to a decrease in impedance at the carbon/electrolyte interface in micro- and mesopores, i.e., due to partial purification of the porous surface upon repolarization.

To understand how much repolarization affects the capacitance of CDC and ox-red-CDC electrodes at both positive and negative polarization, these electrodes were tested on repolarization separately in 3-electrode cells. It was found that after repolarization, both the cathodic and anodic capacitances of ox-red-CDC increased significantly; \({C}_{cc}^{-}\) improved from 120 to 154 F g−1, and \({C}_{cc}^{+}\) improved from 104 to 160 F g−1. The CDC electrode has a smaller increase in capacitance, especially for anodic capacitance: the \({C}_{cc}^{-}\) from 134 to 163 F g−1 and the \({C}_{cc}^{+}\) from 126 to 140 F g−1. Therefore, it can be assumed that the repolarization of ox-red-CDC used as the anode material is mainly responsible for an increase in the capacitance of the entire hybrid cell after repolarization (Fig. 7).

The dependence of energy vs. power, i.e., the so-called Ragone plot, constructed from the data of CV measurements (cf. Fig. 8) expresses the energy storage behavior of an unsymmetrical cell over the cycling life test, including the repolarization effect. The Ragone plot shows that the energy density of the cell is rather stable over cycling in the low power region (the highest value of 18 Wh kg−1 per carbon at 91 W kg−1), while the power performance significantly improves during cycling due to decreasing resistance. Over 5000 charge–discharge cycles, the specific energy per carbon increases from 7 Wh kg−1 to 11 Wh kg−1 at P = 421 W kg−1. Further improvement is observed after temporary repolarization, after which the next 1000 cycles increase the specific energy per carbon up to 12 Wh kg−1 at P = 421 W kg−1. Based on these results, we can claim that CDC and its partially oxidized derivative are promising electrode materials for energy storage in pH-neutral aqueous electrolytes.

Fig. 8
figure 8

Specific energy vs. specific power of the unsymmetrical cell during the cycling life test including temporary repolarization after the 5000th cycle

Conclusion

In this research, nanoporous TiC-derived carbon with a moderately graphitized surface and its partially oxidized derivative, ox-red-CDC, were synthesized and thoroughly characterized as conceivable materials for energy storage, particularly for electrochemical double-layer capacitors using a pH-neutral aqueous electrolyte. It was shown that Hummers’ oxidation method, followed by back-reduction with hydrogen, largely preserves the specific surface area of the nanoporous material. However, a small decrease in SBET of ox-red-CDC from 1500 to 1300 m2 g−1 was observed compared to the pristine CDC due to a decrease in porosity in the submicron pore diameter range, as shown by N2 and CO2 physisorption analysis. SEM analysis confirmed that, at the macroscopic level, ox-red-CDC retains the structure of pristine CDC, whereas the high-resolution SEM images show corrugated graphene layers formed on ox-red-CDC because of the oxidation of the partly graphitic CDC surface. Decomposition of the graphitic CDC structure due to oxidation was also detected by XRD. The oxidation/reduction treatment increased the overall oxygen content of CDC 1.5-fold, as revealed by SEM–EDX. This observation was in good agreement with the results of FT-IR and XPS analysis, which confirmed a higher proportion of all oxygen-containing groups in the ox-red-CDC, with the largest increase in C = O groups compared to the pristine CDC.

Electrochemical characterization of nanoporous CDC and its partially oxidized derivative, ox-red-CDC, was performed in a 1 M Na2SO4 electrolyte. The highest capacitance of ~160 F g−1 (per carbon) was measured for pristine TiC-derived CDC, which was also an expected result due to its higher volume of subnanometer pores compared to ox-red-CDC. Ox-red-CDC has a lower capacitance of 135 F g−1 but much better resistance to oxidation at positive potentials up to ~1 V vs. Ag|AgCl, which indicates that Hummers’ oxidation successfully passivates active centers on the surface of nanoporous CDC. Therefore, the partially oxidized ox-red-CDC would be useful as an anode material for unsymmetric carbon/carbon ultracapacitor. Outstanding electrochemical stability was achieved in an unsymmetric 2-electrode cell containing ox-red-CDC as an anode and pristine CDC as a cathode. It was unusual for this cell to continuously improve its properties in terms of both resistance and capacitance over 5000 charge–discharge cycles, which may be due to the slow electrochemical formation of the ox-red-CDC anode. The latter phenomenon can be caused by oxygen-containing functional groups on the carbon surface, which interact with electrolyte ions and limit their electrosorption on carbon.

Very intriguing results were obtained when studying the effect of repolarization on 2-electrode cells in a cycling life study. After a temporary repolarization, all cells tested acquired significantly higher capacitance than immediately before repolarization; the largest increase of 10% was demonstrated by a symmetric cell comprising both electrodes from ox-red-CDC. However, considering both the capacitance and the electrochemical stability, the unsymmetrical cell with the ox-red-CDC anode and pristine CDC cathode gave the best output. This cell retains the capacitance during the 5000th cycle, and the increase in capacitance after repolarization is also quite considerable—from 115 to 137 F g−1 (measured by CV at a scan rate of 2 mV s−1).

The results presented show the high potential of nanoporous partly oxidized CDC, especially as the anode material, to be used in pH-neutral aqueous electrolytes. Temporary repolarization has also been shown to be a useful strategy that can significantly extend the life of pH-neutral aqueous electrolyte-based capacitors containing oxidized porous carbon electrodes.