1 Introduction

In recent years, dye-sensitized solar cells (DSSCs) have attracted a great deal of both scientific and industrial attention for sunlight to electricity conversion due to their relatively simple, inexpensive device fabrication and high power conversion efficiencies [1,2,3]. In general, a DSSC consists of a dye-sensitized photoelectrode, a liquid iodide electrolyte as redox couple, and a platinized counter electrode to collect electrons and catalyze the redox couple regeneration [4,5,6]. The dye-sensitized photoelectrode is composed of a mesoporous semiconductor oxide film on a transparent conducting oxide (TCO) substrate sensitized by a dye for absorbing visible light [7]. The dye-sensitized photoelectrode as the main component of a DSSC plays a vital role in the DSSC performance. The mesoporous semiconductor provides a substrate for dye adsorption, accepts electrons from the photoexcited dye molecules and transports the electrons towards the transparent conducting oxide [8, 9]. Therefore, in order to achieve high performance DSSCs, we require semiconductor electrodes with high surface area to provide sufficient photosensitive dye adsorption, suitable conduction band edge that matches the LUMO level of the dye molecules and fast electron transport or long electron lifetime [10, 11].

Until now, many semiconductors such as TiO2, ZnO and SnO2 have been used as photoanode materials to improve the efficiency of DSSCs, [12,13,14]. Apparently, TiO2 has been demonstrated to be the best semiconductor electrode material due to its excellent chemical and physical properties [15, 16]. Subsequently, various methods have been investigated to enhance the efficiency of the DSSCs by improving the TiO2 properties, such as changing TiO2 particles morphology and crystallographic structure (for example, the electron transport of the anatase phase is better than that of the rutile phase), by performing heat treatment on TiO2 particles and introducing metal dopants [17]. In recent years, a great deal of attention has been paid to the doped TiO2 nanostructures to enhance the photovoltaic performance. Nikolay et al. found an increase in the short circuit current of DSSCs fabricated with Nb-doped TiO2 electrode [18]. Zhang et al. reported an increase in the efficiency of DSSCs fabricated with Zn- and W-doped TiO2 nanorod arrays [19]. Recently, the doping of TiO2 nanoparticles with Cr ions has attracted attention because this ion can excellently extend the visible light absorption and improve the photocatalytic activity of TiO2 [20, 21]. Xie et al. exploited Cr-doped TiO2 nanoparticles in photoanode of DSSCs and investigated the effect of Cr doping on their photovoltaic properties [22]. Efficiency improvement of the DSSCs by Cr-doped TiO2 photoanodes was also done by Mohammadi et al. [23]. Cr dopant incorporated into TiO2 crystal lattice can form an impurity energy level within the TiO2 bandgap, which allows photons with some lower energy to excite photocatalyst to exhibit visible light activity [24]. The light-harvesting improvement (and the consequent increase of charge carrier concentration) facilitates the electron-transfer and leads to enhancement of the photocurrent density.

Besides the aforementioned improvement, increasing the porosity and specific surface area of the nanoparticles is essential to achieve the highest value of short circuit current density and power conversion efficiency. In most studies, increasing the specific surface area is mainly limited to TiO2 micro/nanostructures. Previously, well-crystallized mesoporous anatase TiO2 spheres were prepared by hydrothermal treatment of the titanium diglycolate precursors. These spheres were submicrometer-sized and consisted of packed nanocrystallites with diameters of about 8 nm [25]. Subsequently, TiO2 nanofibers for use in DSSCs were prepared from a solution of polymerized titanium tetraisopropoxide using a modified electro-spinning process to create fibers with high specific surface areas [26]. Then, He et al. synthesized TiO2 porous nanotubes by coating a porous layer on the walls of the TiO2 nanotubes. The coating of TiO2 layers on nanotube walls effectively improved the specific surface area [27]. Recently, hierarchical mesoporous TiO2 submicro/nanostructured spheres with high specific surface area were prepared by water heating reflux of hydrolyzed TiO2 precursors of organic titanium [28]. Furthermore, Guo et al. prepared novel one-dimensional anatase hierarchical TiO2 submicrorods with higher specific surface area than P25 nanoparticles [29].

In the present work, in order to increase the efficiency of DSSCs, we synthesize Cr-doped TiO2 nanoparticles by sol–gel method and study the influence of the drying time on the properties of the prepared nanoparticles. The change in porosity and specific surface area of the synthesized nanoparticles are related to the duration of the drying time of the TiO2 nanopowders. In fact, during the drying process, the organic residues are removed from the nanoparticles and leave a pore structure [30]. Nanoparticles with high porosity and specific surface area are desirable for loading a large amount of the dye and subsequently increasing the efficiency of the DSSCs due to the more light-harvesting. Investigation of photovoltaic properties of the DSSCs constructed from the synthesized Cr-doped TiO2 nanoparticles will reflect the influence of the drying time duration.

2 Experimental details

For the preparation of Cr-doped TiO2 nanoparticles (0.5%), sol–gel method was used. Firstly, an appropriate value of chromium nitrate nonahydrate (Cr(NO3)3.9H2O, Merck Co., Germany) was dissolved in 60 ml of deionized water (solution A). The pH of solution A was adjusted with acetic acid (AcOH, Merck Co., Germany) to 2. Then, solution B was prepared by slowly adding 0.05 mol of titanium tetraisopropoxide (TTIP, Samchun Chemical Co., Korea) to 40 ml ethanol (EtOH, Amertat Shimi Co., Iran) at room temperature at vigorous stirring. Solution B was added to solution A at vigorous stirring and stirred for 2 h at room temperature. The obtained solution was aged at room temperature for 48 h. In order to investigate the effect of the drying time on the properties of nanoparticles, the resulting gel was dried at 80 °C for 6, 12, 18 and 24 h. Finally, the obtained powders were ground and annealed at 450 °C for 2 h in a laboratory electric furnace (Azar Furnace Co., Model F35L-1200, Iran).

TiO2 pastes of various samples were deposited on the fluorine-doped tin oxide (FTO) glass (2.2 mm thickness, 20 Ω/sq) through doctor blade method. In order to sinter and obtain the mesoporous structure, the prepared TiO2 films were gradually heated at 450 °C for 30 min. After cooling down to 80 °C, the resulting mesoporous TiO2 working electrodes were immersed into a 0.4 mM ethanolic solution of N719 dye (Dyesol Co., Australia) and were kept for 24 h in the dark. Subsequently, the dye-loaded mesoporous TiO2 electrode and Pt-counter electrode were assembled into a sandwich type DSSC configuration. The space between two electrodes was filled with a liquid electrolyte consisting of 0.5 M LiI and 0.05 M I2 in acetonitrile. The active area of each cell was fixed at 0.2 cm2.

To determine the crystalline structure and crystallite size of the prepared Cr-doped TiO2 nanoparticles, X-ray diffraction (XRD) patterns were recorded by using a PANalytical X’Pert Pro Powder Diffractometer with Cu Kα radiation (λ = 1.54016 Å). The particle size and morphology of the prepared Cr-doped TiO2 nanoparticles were investigated by using a field emission scanning electron microscope (FESEM, TESCAN mira 3 xmu, Czech Republic). The Brunauer–Emmett–Teller (BET) analysis was also performed using a Belsorp mini II instrument (BelJapan, Japan) to determine the specific surface area and porosity of the nanoparticles. The current–voltage characteristic curves of the constructed DSSCs were obtained by applying an external potential bias to the device and measuring the generated photocurrent with an I-V tracer (IV-25, Sharif Solar, Iran) under illumination of an AM1.5 solar simulator (SIM-1000, Sharif Solar, Iran). To determine the amount of the dye absorbed on Cr-doped TiO2 nanoparticles, the dyes were desorbed from Cr-doped TiO2 photoelectrodes using 0.1 M NaOH solution and the absorbance of the solution was measured by using a UV–Vis spectrophotometer (3648 UV–Vis, Avantes, Netherlands). In order to investigate the charge recombination kinetics in the prepared DSSCs, the electrochemical impedance spectroscopy (EIS) was carried out using a potentiostat/galvanostat (IVIUM, Compactstat, Ivium Technologies BV, Netherlands) by applying bias of the open-circuit voltage under illumination of 100 mW/cm2 in frequency range of 0.1 Hz–100 kHz with a perturbation amplitude of 10 mV.

3 Results and discussion

The XRD patterns of the Cr-doped TiO2 nanoparticles synthesized by the sol–gel method are shown in Fig. 1. In order to facilitate comparison, the samples dried in 6, 12, 18 and 24 h are named CT6, CT12, CT18 and CT24, respectively. All the peaks in the XRD patterns can be attributed to the tetragonal structure of TiO2 with anatase phase which is in agreement with the data obtained from JCPDS File No. 21-1272. For the dopant concentration used in the present work, there is no effect of the Cr dopant on the crystal structure. Our results are in agreement with results reported by other authors [20, 31]. The XRD patterns indicate that the drying time has slightly influenced the crystallite size of the prepared Cr-doped TiO2 nanoparticles.

Fig. 1
figure 1

XRD patterns of the synthetized Cr-doped TiO2 nanoparticles at different drying time durations

We employ the Debye–Scherrer equation to evaluate the crystallite size from the XRD data by determining the width of the (101) Bragg diffraction peak. The Debye–Scherrer equation is expressed as [32]:

$${d_{hkl}}=\frac{{0.9~\lambda }}{{\beta \cos ~(\theta )}}$$

where \({d_{hkl}}\) represents the crystallite size in the direction of the \((hkl)\) plane, \(\beta\) is the full width at half maximum of the \((hkl)\) diffraction peak in radians and \(\lambda\) is around 0.154 nm. By this equation, the crystallite size of the Cr-doped TiO2 nanoparticles is found to be about 11.3 nm for CT6, CT12 and CT24 and about 12.5 nm for CT18, respectively. These results clearly show that the crystallite size of the CT18 sample is different from those of the other three samples. Previously, Hsiang et al. observed that the crystallization of anatase phase for TiO2 gel obtained from TiCl4 was promoted with the aging process and the crystallinity of the anatase phase increased with increasing the aging time [33]. Our results are in agreement with their observation.

The FESEM images of the synthesized nanoparticles are shown in Fig. 2. As can be seen from this figure, the size of the nanoparticles is about 10–20 nm for all the samples. The morphology and the shape of CT6, CT12 and CT24 nanoparticles are the same and the nanoparticles are aggregated in these samples. In contrast, the morphology and the shape of CT18 nanoparticles are obviously different. This sample is composed of fine and discrete nanoparticles with good uniformity and without any aggregation. In most of the previous works, annealing of TiO2 nanoparticles at high temperatures led to aggregation of prepared nanoparticles [34]. Previously, peptization in the presence of nitric acid was used by Vorkapic et al. to break up the aggregates into very small aggregates less than 20 nm [35]. In order to prevent the aggregation and sintering of the TiO2 nanoparticles, Cong et al. synthesized nitrogen-doped TiO2 nanoparticles by microemulsion-hydrothermal method under nitric or hydrochloric acid environment [36]. As we know, hydrothermal synthesis method is carried out at the temperature of 100–200 °C. Our results indicate that by controlling the drying time, we can hinder the aggregation of the nanoparticles during the synthesizing process. The obtained discrete Cr-doped TiO2 nanoparticles with uniform size can be attributed to the reduction of the existing hydroxyl ions in the anatase lattice by controlling the drying time [33].

Fig. 2
figure 2

FESEM images of the synthetized Cr-doped TiO2 nanoparticles

During the drying process, the organic residues are removed from the nanoparticles and a pore structure is created [37]. We expect that with increasing the drying time, the specific surface area of the nanoparticles changes. In order to study the porosity of the prepared Cr-doped TiO2 nanoparticles, Brunauer–Emmett–Teller (BET) analysis was performed. The specific surface area, pore volume and pore diameter of the prepared Cr-doped TiO2 nanoparticles are exhibited in Table 1. As can be seen, the specific surface area increases from 46.4 m2/g (for the sample CT6) to 75.6 m2/g (for the sample CT18) and then decreases to 56. 4 m2/g (for the sample CT24). The increased surface area of CT18 can be helpful to improve the surface reaction of the nanoparticles and dye loading in comparison with CT6 nanoparticles [38]. The obtained results are in good agreement with FESEM images of TiO2 nanoparticles. The results confirm that the discrete TiO2 nanoparticles have higher specific surface area than the aggregated ones. These results also highlight the significant improvement in the specific surface area of the TiO2 nanoparticles that can be achieved by controlling the drying time during the sol–gel process.

Table 1 The results of the BET analysis of the prepared nanoparticles

The photocurrent density–voltage (J–V) characteristics of the Cr-doped TiO2 DSSCs made from Cr-doped TiO2 nanoparticles are illustrated in Fig. 3. The corresponding photovoltaic parameters such as short circuit current (JSC), open circuit voltage (VOC), fill factor (FF) and power conversion efficiency (η) are also listed in Table 2. In order to have a direct comparison, we consider the same thickness for the devices. It can be seen that increasing the drying time of the nanoparticles firstly increases the short circuit current density (JSC) from 6.48 mA/cm2 (CT6-DSSC) to 12.40 mA/cm2 (CT18-DSSC), and then decreases to 4.28 mA/cm2 (CT24-DSSC). Similar behavior is observed in power conversion efficiency. The maximum efficiency is obtained for CT18-DSSC (2.97%). Obviously, the enhanced performance of CT18-DSSC is mainly associated with a remarkable increase in JSC. In our case, the increment in JSC of CT18-DSSC can be ascribed to the higher specific surface area of CT18 nanoparticles in comparison with the other ones which was previously confirmed by the BET experiment. Nanoparticles with higher specific surface area and porosity are desirable for dye-loading [39, 40]. In order to verify the effect of specific surface area on the JSC, dye-loading measurement was carried out. The dye-loading measurement was performed by desorbing the dye in 1 mM NaOH aqueous solution and measuring the UV–visible absorption spectrum [41]. The results show an improvement in dye absorption for the DSSC made from CT18 nanoparticles (CT18-DSSC), as shown in Fig. 4. The higher dye-loading in CT18-DSSC is due to the larger specific surface area of the nanoparticles which in turn, leads to the better performance of the DSSC made from CT18 nanoparticles.

Fig. 3
figure 3

Current density–voltage curves of the fabricated DSSCs

Table 2 Photovoltaic properties of the fabricated DSSCs
Fig. 4
figure 4

UV–vis absorption spectra of N719 dye desorbed from Cr-doped TiO2 photoanodes

The decrease in the value of the VOC with increasing the drying time can also be attributed to the higher specific surface area and porosity of the nanoparticles. Due to having higher surface activity, nanoparticles with higher specific surface area suffer from a higher degree of charge recombination, i.e., the open-circuit voltage decreases with increasing the specific surface area. In order to elucidate the influence of the specific surface area on the charge recombination resistance, the electrochemical impedance spectroscopy was carried out in the frequency range between 0.1 Hz and 100 kHz with an ac-voltage amplitude of 10 mV at the open-circuit potential [42]. The first arc in the high frequency region (left hand side) represents charge transport resistance at the counter electrode/electrolyte interface or FTO/photoanode interface (R1), and the second arc in the intermediate frequency region (right hand side) represents electron recombination resistance at the photoanode/electrolyte interface (R2). The size of the second arc (R2) is an important factor which affects the photovoltaic performance. As can be seen from Fig. 5, the CT18-DSSC exhibits an electron recombination resistance value of 68 Ω, which is significantly smaller than the other ones, signifying fast recombination reaction in this device. Due to having a larger surface area in comparison with the other prepared nanoparticles, the particles dried for 18 h have more trapping sites which facilitate the charge recombination with \(I_{3}^{ - }\) in the electrolyte [43]. Regarding the efficiency enhancement, we conclude that in CT18-DSSC, the effect of the specific surface area on the JSC improvement is predominant in comparison with VOC reduction.

Fig. 5
figure 5

Nyquist plots of the fabricated Cr-doped TiO2-based DSSCs

4 Conclusions

Cr-doped TiO2 nanoparticles were prepared by sol–gel method. It was shown that the time of drying influences the size and porosity of the nanoparticles. Furthermore, the efficiency of the constructed DSSCs was improved by managing the drying time of the Cr-doped TiO2 nanoparticles and reached the maximum of 2.97%. This improvement in the efficiency was attributed to the enhancement of the surface area which enables higher dye-loading and light-harvesting. In addition, EIS measurement revealed that the charge recombination resistance of the fabricated DSSC with CT18-DSSC is smaller than that of the other ones due to the larger surface area. The trade-off between the change in JSC and VOC by the specific surface area determines the amount of the efficiency enhancement.