1 Introduction

Researchers are drawn to supercapacitors (SCs) because of their desirable characteristics, such as their extraordinary power density, long life cycle, rapid charge/discharge rates, and ability to operate safely across a wide range of temperatures [1,2,3,4,5,6]. Portable electronics, backup power sources, load cranes and forklifts, electric utilities, and hybrid electric vehicles use SCs because of their mentioned features [6,7,8]. Based on the charge storage technique, Scs are divided into double-layer capacitors (EDLCs) and pseudocapacitors [9,10,11]. EDLCs are based on materials with a high surface charge separation at the electrode–electrolyte interface region. In contrast, pseudocapacitors were based on the reversible faradaic redox reaction of active species on the electrode surface. Electrodes in Scs are commonly made of three types of materials: carbon materials, metal oxide or hydroxide materials (MnO2, CuO, Co3O4, MoO3, and Ni (OH)2, and conducting polymers [12,13,14,15,16]. SCs have two key challenges: a low energy density (less than 10 mWh/g) and a high cyclability [17,18,19]. As a result, novel electrode materials with high energy density and long cyclability are urgently required.

Individual electrode materials' nanostructure improves electrochemical performance by increasing their energy density. Because of their outstanding properties, recent metal sulfides (MSs) have drawn interest as cutting-edge electrode materials for electrochemical SCs [20, 21]. These characteristics include high specific capacity, low electronegativity, unusual crystal structures, and redox activity [22,23,24,25]. Metal sulfides (MSs) have better electrochemical performance than metal oxides (MO’s) due to the substitution of oxygen atoms for sulfur atoms. With an alkaline electrolyte, the MSs undergoes a reversible redox reaction. CdS, CuS, ZnS, MoS2, and CoS have demonstrated significant specific capacitance due to the valence states of materials that improve the device's energy density [26,27,28,29,30].

CdS is one of the outstanding electrode active materials among various sulfides owing to its narrow bandgap of 2.4 eV, fantastic faradaic redox activity, and high conductivity with unique chemical and physical properties [31,32,33,34,35,36,37,38,39]. Besides, it is well known that the limited irreversible adsorption of ions on the interface between electrolyte/electrode is the leading cause of low capacitance of the carbon materials (herein CNF) [40]. In light of this, developing novel nanostructured electrodes effectively increases the utilization of electrolyte ions. It expands the electrolyte/electrode interface area and short ion/electron transport pathways, boosting the final electrochemical performance of the host active electrode. CdS have been evaluated among several literature reports due to their good electrical conductivity, prolonged life cycle, larger specific area, and cheaper cost. For instance, Xu et al. [41] described a hydrothermal process for producing porous CdS on nickel foam with specific capacitances of 909 F/g at 2 mA/cm2. Nisha et al. [1] demonstrate that solvothermal-produced CdS nanosheets have a capacitance of 1165 F/g at 2 mV/s. Zhang et al. formed 3D reduced graphene oxide/CdS hydrogels with specific capacitances of 300 F/g at 5 mV/s for SCs [42]. At a scan rate of 5 mv, the observed CdS microspheres [43] had a specific capacitance of 592 F/g. The theoretically measured specific capacitance value of CdS is 1675 F/g, although empirically obtained capacitance values of CdS are substantially lower. This difference between theoretical and actual values encourages researchers to devise novel methods for fabricating CdS-based SCs.

The specific capacitance and energy density must be progressively enhanced to fulfill the expanding energy needs. The CNF's double-layer capacitance and the CdS faradaic capacitance may improve the electrode's electrochemical characteristics. CNFs have piqued the interest of researchers because of their outstanding conductivity and thermal and chemical stability [44,45,46]. As the electrode material in a supercapacitor, CNFs have a high working voltage, appealing life duration, and excellent capacity retention [47, 48].

Given the above explanation, we have manufactured CdS and CNF nanoparticles using a simple Co-precipitation technique and hydrothermal process, respectively. CdS-CNFs nanocomposite was prepared by wet chemical process to examine their performance as a supercapacitor electrode material. CdS nanoparticles assembled into CNFs enhanced the performance of a composite material. These composite materials offer several advantages. First, the fiber-shaped porous carbon has a high aspect length-to-volume ratio and a condensed ion/electron diffusion channel, allowing for quick electron transport and the necessary electrochemical performance. Second, Cadmium was uniformly distributed over the carbon matrices to meet the critical requirements in SCs. We describe a novel possibility and prospective electrode materials for enhanced SCs, which, to the author's knowledge, have not been previously reported.

2 Synthesis of the Samples

2.1 Materials and Methods

Analytical-grade chemicals were employed to make composite CdS-CNFs and CdS, and they were used directly after production. Cadmium acetate (C4H6CdO4, 97%) and elemental Sodium Sulfide Hydrate (Na2S·9H2O) were supplied from SigmaAldrich. Every single stock solution was made with deionized (DI) water. Resorcinol (99.5%), hexamethylene tetramine (HMT), cetyltrimethyl-ammonium bromide (CTAB) (99%), tetraethyl orthosilicate (TEOS), NaOH, and ammonia solution (25%), were all supplied by Sinopharm Chemical Reagent Co., Ltd. Fluka provided the Pluronic F127. The sulfur (> 99.99% purity) came from Aldrich.

2.2 Synthesis of CdS NPs via Co-precipitation Technique

For the synthesis of CdS nanoparticles, the facile-precipitation technique has been used. In a typical synthesis, Cadmium acetate 0.2 M is dissolved in 100 ml DI water and ethanol. Sodium sulfide (Na2S·H2O) 0.2 M dissolved in 100 ml DI water and ethanol. During stirring, dropwise added sodium sulfide solution in Cd acetate solution. After mixing solution was further started at 70 °C for 80 min. Then the solution was filtered and washed with ethanol and DI water several times and dried up in an oven at 80 °C for 30 min. The product was annealed at 500 °C for 2 h to remove impurities.

2.3 Preparation of Carbon Nanofibers

Polymer nanofibers were generated via the hydrothermal synthesis of R (2.5 mmol) and HMT (1.5 mmol) with surfactant F127 at 110 °C for 4 h. The polymer product (PNFs) was subsequently washed with water three times. PNFs were pyrolyzed for 2 h at 600 °C in a nitrogen atmosphere to produce microporous carbon nanofibers (CNFs).

2.4 Preparation CdS-CNFs Composites

Wet chemical methods were used to generate CdS-CNFs nanocomposites. The percent combinations for CdS and CNFs are 30% to 70%, respectively. For each variety, 40 mL of methanol was added. The solution was then subjected to 40 min of sonication. For 40 min, magnetic stirring was utilized to ensure the solution was completely dissolved. The solvent was then removed from the mixture by heating it to 80 °C for 18 h (Table 1).

Table 1 Demonstrates CdS-CNFs nanocomposites with various weight percentages

2.5 Characterization

Electron microscopy was used to analyze the structural morphology of pure and composite materials (FESEM, TESCAN Mira3, Czech Republic). A thermal scientific manufactured XRD (EQUINOX 3000) X-ray diffractometer with Cu Kα radiation (λ = 1.54056 Aº) was used to evaluate the crystal structure and phase purity. It was set at 40 kV and 40 mA, respectively, for the X-ray source's working voltage and current. Raman spectroscopy investigated the samples' vibrational modes (Model, Dongwoo Optron Co. Ltd). Composites were micro-structured using the field-emission scanning electron microscope (TESCAN built FE-SEM, model: MAIA-3). The Octane Elite detector can also analyze the sample's elemental appearance. The electrochemical characteristics of the nanocomposite samples were evaluated using an electrochemical workstation (Gammry101). Tests on the electrodes included cyclic voltammetry (CV), galvanostatic charge–discharge (GCD), electrochemical impedance spectroscopy (EIS), and cycle life measurements.

2.6 Electrochemical Measurement

It was combined with conductive carbon (10%), active material (80%), and polyvinylidene fluoride (PVDF) as a binder (10%) in N-methyl-2-pyrrolidone (NMP) solvent to form a viscous slurry, which was then utilized to manufacture the active electrode material. This slurry served as the working electrode after being coated on a 1 × 2 cm2 patch of carbon sheet and dried at 70 °C overnight. For electrochemical studies in a three-electrode configuration with a 3 MKOH aqueous solution in the 0 to 0.8 V potential range, the reference electrode is Ag/AgCl. In contrast, the counter electrode is a platinum wire. CV and GCD tests were performed on the synthesized materials and composites using a voltage range of 0.0 to 0.8 V, and an EIS was acquired using the same instrument at frequencies ranging from 0.1 to 100 kHz. Cycling's consistency of up to 10,000 charge–discharge cycles was evaluated at a current density of 5 A/g. Consequently, the platinum foil was employed as a counter electrode, and Ag/AgCl was used as a reference electrode [49].

$$\frac{m+}{m-}=\frac{C-}{C+}\times \frac{V-}{V+}$$
(1)

The above formula represents the relationship between the anode and cathode masses (m+/m), the capacitance and potential difference (C/C+), and the voltage between the anode and cathode (V/V+) [28, 50].

$${\text{C}}_{\text{s}}=\frac{ I\times \Delta t}{ m\times \Delta V}$$
(2)
$${\text{E}}=\frac{Cs\times {\Delta V}^{2}}{7.2}$$
(3)
$${\text{P}}=\frac{3600 \times E}{\Delta t}$$
(4)

where Δt is the discharge time, Δv denotes the potential difference; Cs is the capacitance, m+ and m− are the masses of the positive and negative electrodes, and C+ and C− are the capacitances, respectively.

3 Results and Discussion

XRD diffractogram analysis was used to analyze the samples sufficient and successful formation in terms of their structure, phase purity, and crystallinity. The XRD peaks of the synthesized samples are seen in Fig. 1a. In the XRD pattern of pure CNFs, significant peaks at 2θ = 15.7°, 21.7°, and 37.5° were seen [1]. The reflections from the planes (110) (002) and have these angles as their respective (004). Peaks at 2 values of 24.9°, 26.6°, 28.3°, 36.8°, 43.9°, 51.1°, 52.1°, 53.1°, 54.9°, 67.1°, 69.6°, 71.2°, 72.8°, and 75.9° are shown in X-ray diffraction patterns for CdS nanoparticles and are in good agreement with the (100), (002), and (101). Doping usually induces some lattice deformation and would thus lead to peak intensity decreases of the CdS-CNFs. All peaks correlate well with the previous study and demonstrate that the absence of impurity peaks in either pattern showed the exceptional purity of the products. The unit cell of the ZnO and CNFs active materials are depicted in Fig. 1c, leading to their respective crystal structures. The crystallite sizes of the CNFs nanomaterials are computed using the Scherrer Eq. (5), and the crystallite size of these materials was determined to be around 51.2 nm.

Fig. 1
figure 1

a XRD pattern, b Raman analysis, c the unit cells of CdS and CNF, and d FTIR spectra of the CdS, CNFs, and CdS-CNFs samples

$$D=0.94\lambda /\beta cos\theta$$
(5)

β represents the full width at half maximum, θ denotes Bragg's angle, and CuKα λ = 0.154 nm denotes X-ray wavelength. The crystal sizes of the CdS nanomaterials are calculated, in which the crystal size of 20.8 nm and their nanocomposite crystal size changes concerning CNFs weight percentage value shown in Table 2.

Table 2 The lattice strain and grain size were calculated from the Scherrer formula

At room temperature, the Raman spectra of CdS nanocrystals are shown in Fig. 1b. Raman spectra were taken under natural circumstances further to study the structural information of pure CdS and CNFs. The results of these investigations are depicted in Fig. 1b. The advancement in the longitudinal optical (LO) phonon mode is the dominant feature in these Raman spectra. Every spectrum has a peak on both ends. The primary E2 vibrational mode produces the Raman signal measured at 244 cm−1. The scattering 2 LO phonons of CdS are responsible for the peak at 596 cm−1 [51]. The CNFs have substantial rises at 1325 cm−1 and 1612 cm−1, which correlate to the D and G. Because of near-resonant scattering, the time required to get a measurement is two to three orders of magnitude less than it would be under green excitation circumstances. In other words, the time needed to acquire a measure is seconds rather than minutes.

The structure of molecules and composition of the molecular mixture confirmation were additionally examined by taking the Fourier to transform infrared spectroscopy (FTIR) analysis, as demonstrated in Fig. 1d. Apparently, the CdS shows a weak peak at 654 cm−1 that can be assigned to the C–H stretching, and 1394 cm−1 due to O–C=O asymmetric stretching, respectively. The peak at 3460 cm−1 is due to the –OH stretching of water molecules adsorbed on the surface of the CdS. The bands at 1040 cm−1, (C–O stretching with primary alcohol), 1116 cm−1 (C–O stretching of secondary alcohol), 1642 cm−1 (C=C stretching), 2923 cm−1 (C–H stretching band), and 3437.5 cm−1 corresponds to the hydrogen bonding, respectively. The CNF reflected several peaks at 3436 cm−1 and 1384 cm−1 that are associated with the –OH stretching and bending mode, respectively, indicating the presence of a –OH functional group on CNF. Moreover, the CdS-CNF composite reveals the vibrational stretching mode at 2923 cm−1, 2854 cm−1 (C–H stretching from aldehyde), 1706 cm−1 (C=O stretching mode), 1622 cm−1 (C=C), 1216 cm−1, (C–O from the alkyl aryl ether) and 1384 cm−1 (O–H bonding phenol).

The morphology of the samples was explored by FESEM analysis. The CdS sample validates the morphology composed of clusters of nanoparticles with aggregation (Fig. 2a, a1). The bundles and aggregated morphology of the CNFs were distinguished and presented in Fig. 2b, b1. Meanwhile, the CdS-CNFs composite displayed a combined effect of nanoparticles and CNFs, indicating the adequate preparation of the products that can be clearly shown in Fig. 2c, c1. In all products, no extra residence was observed on the surface sign towards the high purity of the samples.

Fig. 2
figure 2

The SEM images of a, a1 CdS, b, b1 CNFs, and c, c1 CdS-CNFs composite

To further support the XRD and FESEM results, EDX analysis was taken for sample purity and compositional confirmation. Figure 3 presents the EDX spectra of all samples. All samples depicted the peaks of only their respective elements without any additional peaks from impurity/by-products, confirming the purity and well formation of the pure CdS, CNFs, and their composite (Fig. 3a–c), respectively.

Fig. 3
figure 3

The EDX images of a CdS, b CNFs, and c CdS-CNFs composite

The electrodes' energy storage performance and capacitive behavior were individually investigated using electrochemical analysis techniques, such as CV voltammogram chronopotentiometry via discharge/charge profile and an impedance technique. The voltammogram of CdS, CNFs, and CdS-CNFs electrodes in a potential region between 0.0 to 0.8 V is presented in Fig. 4. The comparative voltammogram of CdS, CNFs, and CdS-CNFs composite electrodes at identical condition is provided in Fig. 4a, which signifies that the CdS-CNFs composite encloses the highest loop area under the CV curve at fixed sweep rate, signing towards the highest capacitance. The pear-shaped CV curves outlined the collective behavior of the CdS (pseudocapacitive) and CNF (double-layer capacitive) in the composite electrode. Subsequently, the capacitive performance of individual electrodes is further assessed to know their energy storage fashion in-depth. As demonstrated in Fig. 4b, the CV voltammogram of the CdS electrode reveals an oval-type shape, confirming the pseudocapacitive behavior. It was observed that from high to low scanning, the formation of the CV loops sustained, specifying the typical capacitive behavior [49, 52, 53]. Moreover, the CV curves of the CNF electrode showed an almost rectangular shape, which is due to the double-layer charge storage mechanism (Fig. 4c). A similar trend was also observed as scan rate upsurges; no noticeable difference in the CV loops was detected, and mirror images in positive and negative potential, leading to the excellent capacitive behavior and good reversibility of the CNF electrode [54]. The CV voltammogram of the CdS-CNFs composite electrode showed the combined effect in their respective CV loops (pseudocapacitive and double-layer behavior), as depicted in Fig. 4d. The only difference in all electrodes CdS, CNF, and CdS-CNFs composite is that the CdS-CNFs composite encloses the highest current response, resulting in a more extensive loop area than CdS, and CNF, indicating highest capacitance. The chronopotentiometry analysis can further prove this in the next paragraph.

Fig. 4
figure 4

a The CV voltammogram of all electrodes at a fixed scan, bd CV curves of CNFs, CdS, and CdS-CNFs composite electrodes at identical conditions

The chronopotentiometry technique was employed to measure the discharge/charge characteristic for energy storage evaluation of the CdS-based CNF electrodes in a similar potential regime as already discussed in the CV measurements. For more elaborately, a 0.0 to 0.8 V potential with disparate current rates from 1 to 12 A/g for all electrodes, as given in Fig. 5a–d. The discharge/charge shape of the CdS, CNFs, and CdS-CNFs composite electrodes are schematically provided in Fig. 5a–c. According to Fig. 5a, the CdS electrode typically shows the pseudocapacitive charge storage properties with usual non-linear discharge/charge shape from low to higher current rates, denoting the incredible rate and energy storage performance. Meanwhile, the CNF electrode also showed a mirror shape of the discharge/charge shape, indicating good reversibility and power delivery (Fig. 5b). Furthermore, the CdS-CNFs composite electrode showed a considerable discharge time than CdS and CNF electrodes (Fig. 5c). The comparative discharge/charge plots are presented in Fig. 5d at a fixed discharge current of 3 A/g, showing a large capacitance of the CdS-CNFs composite electrode than CdS, and CNFs electrodes. The capacitance of all electrodes is shown in Fig. 5e, which demonstrates the CdS-CNFs composite electrode is at the top. The capacitance is calculated in Eq. (2). Their values at desired current rates are comprehensively outlined in Table 3.

Fig. 5
figure 5

ac The discharge/charge profile of CNFs, CdS, and CdS-CNFs composite electrodes at identical current rates, d comparative discharge/charge plots at fixed current, e capacitance plot w.r.t discharge current density

Table 3 Discharge currents and the capacitance of individual electrode material

The impedance spectroscopy was further assessed to know the outstanding performance of the CdS, CNFs, and CdS-CNFs composite electrodes via charge transport kinetic behavior. Figure 6 displayed the impedance plots of all electrodes, which consisted of real and imaginary parts. The x-intercept at the real axis denotes the solution resistance (Rs), and the diameter of the semi-circle presents the charge transfer resistance (Rct). However, the vertical line at the vertical axis manifests the diffusion resistance of the electrolyte [55, 56]. Based on the impedance plots of CdS, CNFs, and CdS-CNFs, composite electrodes (Fig. 6a) followed a similar trend. The difference is that the CdS-CNFs composite electrode showed smaller Rct and Rs values (see Table 4) than their pure CdS. CNF electrodes (Fig. 6b). The higher Rct values prove the higher conductivity of the composite electrode after the addition of CNF with CdS [57]. The pure CdS electrode reveals higher Rct and Rs values, which signifies the low conductivity and higher electrode/electrolyte interface [58, 59]. On the contrary, as discussed previously, the CNF electrode shows relatively more minor resistances than the CdS electrode, demonstrating higher conductivity and improved capacitance performance.

Fig. 6
figure 6

The impedance spectroscopy plot of CdS, CNFs, and CdS-CNFs composite electrodes at low (a) and enlarged view (b)

Table 4 The impedance plot parameters

The suitability of the synthesized electrodes in real-world applications, the two-electrode mode, is highly desirable. Inspired by the CdS-CNFs composite electrode's fantastic electrochemical performance, we assembled an asymmetric supercapacitor (CdS-CNFs||AC) using an aqueous conducting medium of 3 M KOH as the electrolyte. The schematic of the assembled CdS-CNFs||AC asymmetric SC is given in Fig. 7a. The CV curves were taken at two different potential frames for AC and CdS-CNFs electrodes (− 1.2 to 0.0 V and 0.0 to 0.8 V) to construct an asymmetric supercapacitor (Fig. 7b) up to 2.0 V voltage. The voltammogram of the assembled CdS-CNFs||AC asymmetric SC was further taken to prove the chosen electrode material is a suitable candidate to fabricate an asymmetric SC. The CV curves revealed the voltage limit reached 2.0 V, meaning that the selected voltage is the well-chosen voltage window. From higher to low scans, the voltammogram is a mirror image at positive and negative potentials, specifying the good reversibility and rate capability of the CdS-CNFs||AC asymmetric SCs [59]. The discharge/charge feature of the CdS-CNFs||AC asymmetric SC is displayed in Fig. 7d at various current rates at 0.0 to 2.0 V. A capacitance of 57.5 F/g is determined at 1 A/g, which continually declined and till reached to 31.5 F/g at the upsurge of the current discharge rate of 9 A/g, as depicted in Fig. 7e. The other values at a desired current rate are listed in Table 5. The high capacitance can be due to the high conductive support of the AC and CNF. The impedance plot is further measured to know the supreme performance of the CdS-CNFs||AC asymmetric SC, as shown in Fig. 7f. A Rs of 0.3 and the Rct value of 3.8 ohms, indicating the high conductivity of the CdS-CNFs||AC asymmetric SC [60], resulting in enhanced capacitance, as shown in the inset of Fig. 7f.

Fig. 7
figure 7

a schematic of the CdS-CNFs||AC asymmetric SC, b potential regime of the AC and Cd-CNFs electrodes, c, d CV, and discharge/charge shape at various scans and current rates, e capacitance plot, and f impedance plot, (inset) the zoomed view

Table 5 Capacitance, energy, and power density at different current rates

The energy and power density are the two crucial factors to evaluate the practical aspect of CdS-CNFs||AC asymmetric SC. The factors are calculated based on the Eqs. (3), and (4). A high energy density of 31.94 Wh/kg and a power delivery of 999 W/kg were attained at 1 A/g, and these values reached 17.5 Wh/kg and 9000 W/kg at the maximum discharge current of 9 A/g. The exact values are listed in Table 6 with their respective current rates. The obtained energy and power delivery confirm the synergy between CNF and CdS in a composite matrix that sustains a high conductivity due to carbon materials [3, 61, 62]. These values are much higher than the previous literature reports, as tabulated in Table 6. Another essential parameter that accounts for the practical aspect is the cycling stability of the CdS-CNFs||AC asymmetric SC, which needs to be judged. In this regard, the longevity of the CdS-CNFs||AC asymmetric SC was tested for 7500 cycles at higher current rates, as presented in Fig. 8b. The continuous was noticed, which may be due to the structural collapse during the electrochemical process. till 7500 cycles, retention of 85.7% at a much higher current rate, demonstrating the excellent cycling stability of the CdS-CNFs||AC asymmetric SC.

Table 6 CdS-CNFs||AC asymmetric SC performance compared with previous literature with similar electrode materials
Fig. 8
figure 8

a Ragone plot, b stability test of the CdS-CNFs||AC asymmetric SC

4 Conclusion

A CdS, CNFs, and their combination (CdS-CNFs composite) were prepared by simple hydrothermal route to explore their charge storage performance for asymmetric SC applications. The resulting investigations based on the CV voltammogram, and discharge/charge, reveal an excellent capacitive signature and reversibility combined with full access of the ions to the host electrodes/electrolyte interface, leading to improved performance. The impedance spectroscopy results manifest the rapid charge transfer kinetic with a low charge transfer and solution resistance of the CdS-CNFs electrode material. Afterward, an asymmetric SC (CdS-CNFs||AC) was assembled, exhibiting good stability of 85.7% (20 A/g) when cycled for 7500 cycles. Not only that, high power was delivered at 9000 W/kg at 17.5 Wh/kg, and when the energy density reached its highest value of 31.94 Wh/kg, a power of 999 W/kg was still delivered. These fascinating results are realized after adding a high voltage of 2.0 V by contacting an asymmetric supercapacitor using an aqueous medium. Thus, our results confirm that aqueous-based energy storage systems are simple and efficiently utilized to obtain optimized energy storage performance.