Introduction

The world's energy crisis is becoming increasingly pressing, with the growing demand for electricity resulting from the rapid expansion of the world's population and the depletion of traditional energy sources such as fossil fuels [1]. To address this crisis, it is essential to find new, sustainable energy sources that are both environmentally friendly and economically feasible. Solar energy has emerged as one of the most promising solutions, providing an abundant and renewable energy source that has a low carbon footprint [2,3,4]. Solar energy is clean, renewable, and widely available, making it an attractive alternative to traditional energy sources. In recent years, technology has advanced rapidly, and the cost of photovoltaic (PV) materials has declined, making solar energy increasingly accessible worldwide. One promising technology in the field of solar energy is Dye-Sensitized Solar Cells (DSSCs), which have gained significant attention as a promising alternative to conventional silicon-based solar cells [5,6,7,8,9].

DSSCs have several advantages over conventional solar cells, including high energy conversion efficiency, low cost, and ease of fabrication. In addition, they are highly flexible, making them ideal for use in portable electronic devices and building-integrated photovoltaics (BIPVs). The performance of DSSCs is highly dependent on the performance of the counter electrode, which plays a critical role in the overall functioning of the cell. The counter electrode is responsible for collecting electrons generated during the photoexcitation of the sensitizer and transferring them to the external circuit [10, 11].

The three major types of counter electrodes are platinum-based, carbon-based, and other material-based [12].

Traditionally, platinum (Pt) has been used as the counter-electrode material in DSSCs, but its high cost, limited availability, and environmental concerns make it an unsuitable option for large-scale implementation [13,14,15].

This has led to the search for alternative materials for the counter electrode in DSSCs [16,17,18,19,20,21]. For example, to replace the use of platinum-based electrodes for the DSSC, hexagonal palladium-carbon nanocubes (H-Pd/CNCs) were synthesized in a single step utilizing a straightforward chemical process. An examination of the porous structure revealed that the H-Pd/CNC sample had a large surface area and an average pore size of about 3 nm. Using H-Pd/CNCs serving as the counter electrode, a Power Conversion Efficiency (PCE) of 4.1% was achieved [22].

To avoid noble metals, another approach involves the use of transition metal oxides as counter electrodes. Zinc oxide (ZnO) [23], titanium dioxide (TiO2) [21], and tungsten oxide (WO3) [24] have been investigated as potential Pt-free counter electrodes in DSSCs. These materials have been found to have excellent catalytic activity and stability, making them promising candidates for use as counter electrodes.

Carbonaceous materials showed good perspectives as low-cost counter electrodes with performance comparable to platinum [10, 25,26,27,28,29,30,31]. For instance, graphene nanoplatelets (GNPs), produced from natural graphite utilizing a quick and efficient liquid-phase high-shear exfoliation procedure, were employed as the counter-electrode material in DSSCs; the photoconversion efficiency was 6.23% under standard conditions [32].

A metal-free conductive catalyst, based on N-doped core–shell (N-CCS) carbon spheres, was also used, in which the doping of N atoms activated the fully linked mesoporous basal planes of carbon spheres. The PCE for the N-CCS-based DSSC was 7.89% [33]. Alegre et al. proposed carbon xerogel materials, doped with nitrogen or sulfur, demonstrating an improvement in efficiency [34].

In another work, a DSSC was created using a structured configuration (n-MWCNT-TiO2/N3/MWCNT). Here, Pt was swapped out for MWCNT, allowing for less-priced DSSC manufacturing [35].

Torres et al. provided graphene-based materials, exhibiting better stability behavior, upon electrochemical cycling and seasoning than the conventional cells [36].

Metal-nitrogen-carbon catalysts (M–N–C, with M = Fe, Co, Ni, etc.) have recently gained attention as potential candidates for use in different electrochemical applications, including fuel cells [37,38,39], water electrolysers [40,41,42], CO2 electrochemical reduction [43], and, more recently, counter electrodes in DSSCs due to their high electrocatalytic activity and low cost [44, 45].

Yet, for the latter application, M–N–C catalysts’ investigations are limited to a few publications, mainly devoted to cobalt [46], or combined with iron-iron carbide (Fe/Fe3C) nanocomposites [44] or nickel-based nanoparticles [47]. From our previous experience in Fe–N–C catalysts [48,49,50], which showed top performance activity as cathode catalyst for the oxygen reduction reaction, the approach in this work was to investigate our developed catalysts as counter electrodes in DSSCs assessing their potential as a sustainable alternative to traditional platinum-based materials. In the present work, we have selected two Fe–N–C catalysts derived from two different nitrogen–carbon precursors (nicarbazin and aminobenzimidazole) consisted of different iron and nitrogen composition. Their performance as counter electrodes in DSSCs has been assessed using impedance spectroscopy and current–voltage curves. The results of this work provide new insights into the performance of Fe–N–C-based materials as counter electrodes in DSSCs and help to further develop this promising technology.

Experimental

Physicochemical characterization

X-ray diffraction (XRD) measurements were acquired by a Bruker D8 Advance spectrometer (Bruker Italia Srl, Milano, Italy) on the FeNC powders employing a Cu–K source operating at 40 kV and 40 mA. The analysis was carried out with Bragg-Bentano optical geometry in the range of 5–70°.

Scanning transmission electron microscopy–energy dispersive X-ray spectroscopy (S/TEM–EDX) investigations were carried out by a Jeol JEM-F200 electron microscopy (Jeol Italia S.p.A., Milano, Italy).

Catalyst preparation

Two Fe–N–C catalysts were synthesized using a sacrificial support method (SSM). The synthesis procedures are briefly described below and more details can be consulted elsewhere [49, 50].

Fe–ABZIM: A mixture of two types of commercial silica materials was used as a sacrificial support (LM150 with surface area of 150 m2 g−1 and A90 with surface area of 90 m2 g−1) [Fe(NO3)3⋅9 H2O, Sigma-Aldrich] 4 g was dissolved in 10 mL of acetone. 25 g of aminobenzimidazole (ABZIM) was dispersed in 100 mL of acetone. The mix of silica materials was added to a solution of ABZIM and a sonicated for 4 h. Iron nitrate solution was added to the SiO2/ABZIM suspension under vigorous stirring. Acetone was evaporated and the mixture was ball-milled in a planetary ball mill at 400 rpm for 2 h. The finely homogenized mixture of precursors was heat treated in an inert atmosphere of ultrahigh-purity (UHP) nitrogen at a flow rate of 150 mL min−1 at 945 °C for 60 min. The mixture of silica was removed by means of 25 wt % of HF for 7 days. The powder was washed with deionized water until neutral pH was achieved. To remove the low soluble but volatile silica compounds, a second treatment in ammonia atmosphere (10% of NH3) was performed at 975 °C for 45 min. To remove iron nanoparticles coated with graphitic layer, an additional treatment with 4 M HNO3 was performed at room temperature for 48 h. Material was washed from the remained HNO3 and heat treated a third time in an atmosphere of 7% NH3 at 975 °C for 15 min.

Fe–NCB: First, a calculated amount of silica (Cab-O-Sil® M5P, surface area 125 m2 g−1) was dispersed in water using a high energy ultrasound probe. Then, suspension of nicarbazin (Nicarbazin, Sigma-Aldrich) in acetone was added to silica and sonicated for 20 min in an ultrasound bath. Finally, a solution of iron nitrate (Fe(NO3)3*9H2O, Sigma-Aldrich) was added to SiO2–NCB solution and ultrasonicated for 8 h (the total metal loading on silica was calculated to be ~ 20wt.%). A gel of silica and Fe–NCB was dried overnight at T = 85 °C. The obtained solid was ground to a fine powder in an agate mortar and then subjected heat treatment (HT). The general conditions of HT were UHP nitrogen (flow rate of 100 cc min−1), 20 deg min−1 temperature ramp rate. The experimental variable component of heat-time trajectory was temperatures and duration of HT (900 °C, 1 h; 950 °C, 30 min and 950 °C, 1 h). After heat treatment, silica was leached using 25 wt.% HF overnight. Finally, the Fe–NCB catalyst was washed with DI water until neutral pH was achieved and then dried at T = 85 °C. A second heat treatment was performed at T = 950 °C in reactive (NH3) atmospheres.

Dye-sensitized solar cell electrochemical experiments

The photoanodes as well as the counter electrodes were prepared using F-doped tin oxide glass substrates (FTO, sheet resistance: 15 Ω/square). The photoanodes were prepared by spraying two layers: a thin film of titanium dioxide aqueous solution (from 40 mM TiCl4), and subsequently, spray coating deposition of TiO2 paste onto the FTO glass, prepared from a dispersion of commercial powder (Degussa P90) and Triton surfactant in water and isopropyl alcohol (50% v/v). Electrodes were sintered at 450 °C in air for 30 min. Dye sensitization was performed by immersing the as-prepared electrodes in 0.5 mM ruthenium dye [N719, Solaronix, cis-isothiocyanate-bis (2,20-bipyridyl-4,40-dicarboxylato) ruthenium(II) bis(tetrabutylammonium)] solution in ethanol for approximately 18 h.

For the preparation of counter electrodes, Fe–N–C catalysts were mixed with a 15 wt.% of TiO2 (Degussa P90) as a binder. The powders were dispersed in ethanol. The catalyst-based slurry was sprayed onto FTO glass substrates. Afterwards, the electrodes were sintered in an inert atmosphere at 450 °C for 10 min. A platinum counter electrode was also prepared by depositing hexachloroplatinic acid aqueous solution (5 mM) on the FTO substrate, followed by thermal treatment at 450 ºC for 30 min.

The cell electrolyte consisted of 0.4 M LiI, 0.04 M I2, 0.3 M 4-tertbutylpyridine (TBP), and 0.4 M tetrabutylammonium iodide (TBAI) in acetonitrile. A spacer, thick 60 µm (Surlyn® SX1170-60, Solaronix SA) was used to allocate the electrolyte solution between the photoanode and the counter electrode.

Polarization curves (current vs. voltage) of the cells were recorded under simulated AM 1.5 solar illumination (Osram, 300W) at room temperature. The incident light intensity was adjusted to 100 mW cm−2 using a photometer (3 M Photodine Inc.). The DSSC cells were connected to an Autolab Potentiostat/Galvanostat (Metrohm) equipped with a frequency response analyser (FRA). The active area of the cells was 0.28 cm2. EIS experiments were carried out in the frequency range 100 mHz–100 kHz at open-circuit potential (OCP), with a potential pulse amplitude of 0.01 V (rms). The charge-transfer resistances (Rct) were calculated from the intercept of the Nyquist plot at zero imaginary impedance at low frequency and subtracting the series resistance (Rs) at the intercept of high frequency.

Results and discussion

XRD analysis in Fig. 1 shows that broad peaks characterize the diffractographic patterns of Fe–NCB and Fe–ABZIM. The diffraction peaks at 26.2°, 42.2°, 44.4°, 50.4°, 54.0°, and 59.4° correspond to hexagonal graphitic 2H carbon (JCPDS 75-1621), whereas peaks related to metallic iron or iron oxides are not found for both samples [51]. The shoulder on the left of the predominant graphitic peak and the peak at 34.4° indicate the presence of carbon under the carbolite mineral phase (JCPDS 50-0926). This latter peak, slightly more pronounced in Fe–ABZIM, represents the unique difference between the two counter-electrode diffraction patterns.

Fig. 1
figure 1

XRD spectra of Fe–ABZIM and Fe–NCB samples

TEM images, in Fig. 2, were acquired to investigate the morphology and the eventual presence of iron nanoparticles. While EDX and X-ray Photoelectron Spectroscopy (XPS) [49, 50] analyses confirmed the presence of Fe (Table 1), iron nanoparticles were not clearly observed in the TEM images, suggesting that Fe particles are extremely small and homogeneously dispersed throughout the nitrogen-enriched carbon network.

Fig. 2
figure 2

TEM images of a Fe–ABZIM and b Fe–NCB samples

Table 1 Elemental atomic percentage detected by S/TEM EDX and XPS on Fe–ABZIM and Fe–NCB samples

DSSCs were assembled with the two iron-based catalysts herein investigated as counter electrodes. The photocurrent–voltage response is depicted in Fig. 3.

Fig. 3
figure 3

DSSC polarization curves for Fe–N–C as counter electrodes of DSSC

The main difference between catalysts was found in the short-circuit current density, which was found to be higher for the cell with Fe–NCB as the counter electrode. This could be attributed to a larger amount of iron (0.4 at.%) and/or nitrogen (4.7 at.%) compared to the Fe–ABZIM catalyst (0.13 and 3.1 at.% for iron and nitrogen, respectively) [49, 50] According to a previous work, nitrogen doping causes a decrease of charge-transfer resistance (Rct) due to the increase of triiodide reduction reaction kinetics. This translates into a better electrochemical behavior (larger current density in the whole window of potential).

The most relevant parameters related to DSSC performance are summarized in Table 2. The low efficiency of around 2.2–2.4% can be ascribed to a non-optimized fabrication process for the photoanode. Like in previous publications, herein, we used a thick spacer (60 µm) between electrodes for the electrolyte. This configuration is convenient for reproducibility and stability experiments. Moreover, a simple photoanode preparation method is used to avoid side effects. These two aspects negatively influence the power conversion efficiency compared to typical values that can be found in the literature, but this configuration allowed us to obtain good reproducibility and stability for the experiments. Hence, our main attention was focused on the behavior related only to the counter electrode, which is the purpose of the work.

Table 2 Performance indicators of DSSC equipped with Fe–N–C catalysts as counter electrodes

The performance was compared with a cell equipped with the same photoanode and using Pt as the counter electrode under the same conditions (Table 2) [34, 36]. The open-circuit potential (OCP) was similar in both Fe–N–C-based cells and very similar also to the cell equipped with Pt. Whereas, the short-circuit current density (jsc) was found slightly higher for the Fe–NCB catalyst, together with also a slightly higher fill factor (FF) compared to Fe–ABZIM. The FF value depends on several phenomena like the quality of the contact between the catalyst film and the FTO at the counter electrode, the series resistance, or the recombination reaction at the photoanode. Since all the cells in this investigation were built using the same electrolyte and photoanode configurations, the differences in FF could be attributed mainly to differences at the CE/FTO contact. In the electrodes investigated, the FF is relatively high, especially if compared with bare carbonaceous electrodes (0.36–0.57) [31, 34, 36].

Electrochemical impedance spectroscopy (EIS) was carried out to further evaluate the cell behavior. Figure 4 includes the Nyquist plots at open-circuit potential for the DSSC assembled with Fe–N–C catalysts as counter electrodes. Usually, the presence of various semicircles indicates the contribution of different components to the total impedance: charge transfer of CE/electrolyte interface and TiO2/electrolyte interface, and mass transport of iodide. Here, we have included all of them into a global charge-transfer resistance (Rct) that accounts main differences for CE, since the other components were equally built and assembled.

Fig. 4
figure 4

Impedance spectra (Nyquist plot) at open-circuit potential (OCP) for Fe–N–C as counter electrodes of DSSC

The charge-transfer resistance is found to be 24 Ω cm2 for Fe–NCB and 37 Ω cm2 for Fe–ABZIM, higher for both Fe–N–C catalysts if compared with Pt, but still lower if compared with other carbon materials like undoped carbon xerogels (90 Ω cm2) [34], graphene quantum dots (65 Ω cm2) [36], and comparable or better than graphene (35 Ω cm2) [36] or carbon nanofibers (10–30 Ω cm2) [31] under similar experimental conditions. This points out a positive effect of the presence of metallic species coordinated with nitrogen in lowering the charge-transfer resistance at the counter electrode of DSSC.

To evaluate the stability of the counter electrode, two different tests were carried out. In the first one, the electrochemical stability was assessed by continuously cycling the DSSC from open-circuit to short-circuit potentials, at 0.1 V s−1 up to 100 cycles. The polarization curves before and after this procedure are reported in Fig. 5. Upon cycling, there is a slight decrease in performance, mainly in terms of short-circuit current density. This is more evident for the Fe–NCB counter electrode, whereas the behaviour of Fe–ABZIM remains very similar to the beginning of the test. A DSSC cell with Pt as counter electrode is included also in Fig. 5, showing better performance than Fe–N–C catalysts. However, the polarization curve upon 100 cycles for the Pt-based cell exhibits a certain loss of current, especially at higher potentials, with 16% lower maximum power density than the initial one.

Fig. 5
figure 5

Effect of potential cycling on the polarization curve of the DSSC based on Fe–NCB (red) and Fe–ABZIM (black). A DSSC with a Pt counter electrode is included for comparison (grey). 100 cycles were performed under illumination between open-circuit and short-circuit potentials

The second test to assess the stability consisted of the realization of polarization curves during a seasoning period. This kind of durability test is more commonly used in the literature. The DSSCs are kept in the dark at room temperature and ambient pressure and humidity. During ageing, performance can decay due to dye degradation or the reaction of the different components with the electrolyte, including the counter electrode. In Fig. 6 the polarization curves recorded on different days upon seasoning are plotted. Fe–NCB catalyst, despite presenting a better initial performance, exhibits a higher degree of sequential loss of performance with an important decay in jsc. Whereas the cell equipped with Fe–ABZIM maintains almost 80% of the initial performance after 10 days of seasoning. A comparison of the relative maximum power density for the two catalysts together with a DSSC equipped with Pt counter electrode is represented in Fig. 6c.

Fig. 6
figure 6

Passive seasoning of DSSC by keeping the cells in the dark at OCP. Effect on polarization curves of the cell based on a Fe–NCB and b Fe–ABZIM. c The effect of passive seasoning on relative maximum power density for DSSC equipped with Fe–N–C and Pt counter electrodes

Individualization of the parameters influencing the performance during seasoning can also be assessed by EIS. Figure 7 shows the Nyquist plots at OCP. The charge-transfer resistance increases rapidly for Fe–ABZIM up to 77 Ω cm2, but then it does not increase much further with seasoning (82 after Ω cm2 10 days). Fe–NCB shows different behavior, with a moderate increase of charge-transfer resistance with time. The higher stability observed for the Fe–ABZIM catalyst was also evidenced in long-term durability investigation in another application. The decrease in performance under constant voltage after 100 h operation as cathode for direct methanol fuel cell was much lower for the Fe–ABZIM catalyst (50%) compared to Fe–NCB (67%). [39] A plausible explanation for this enhanced stability in the Fe–ABZIM catalyst could be derived from the triple heat treatment in the final synthetic process for this catalyst, in comparison with Fe–NCB characterized by a double treatment. Thermal treatment is well known to create more active species on this kind of catalysts for fuel cell applications [52].

Fig. 7
figure 7

Passive seasoning of DSSC by keeping the cells in the dark at OCP. Effect on impedance spectra of the cell based on a Fe–NCB and b Fe–ABZIM

Conclusion

Fe–N–C-based materials, as counter electrodes in DSSCs, have been synthesized using two different nitrogen–carbon precursors. The developed counter electrodes (Fe–NCB and Fe–ABZIM) have been assessed using impedance spectroscopy and current–voltage measurements, showing efficiencies of 2.2–2.4%, slightly lower than Pt counter electrode (3.6%), but with superior stability, in particular under ageing conditions. Among the two Fe–N–C-based catalysts, the one showing the highest amount of nitrogen and iron (Fe–NCB) performed better initially, but it was characterized by a lower stability compared to the other one (Fe–ABZIM). This aspect needs further investigation. However, the findings of this study offer novel perspectives on the appropriateness of Fe–N–C-based materials as counter electrodes for DSSCs and facilitate the advancement of this auspicious technology.