Introduction

Dye-sensitized solar cells (DSSCs) have remained one of the most promising choices for the realization of low-cost solar cells; it has, in the recent years, attracted remarkable attention owing to simplicity of its fabrication process and low manufacturing cost with excellent light absorbing materials [13]. Nevertheless, the power conversion efficiency (PCE) of the device has barely gone up to 11.9 % [4]. Many technological innovations have been developed to improve the efficiency and, at the same time, to reduce the cost of production ranging from interfacial modification [5, 6] to material choice and engineering [7]. This development leads to the consideration of natural dyes from plant sources which are cost-effective, non-toxic, and completely biodegradable compared with the much expensive and toxic synthesized counterparts based on metal complex-like ruthenium (II) and metal-free like porphyrin [8]. Betalain has been regarded by many researchers to be a most promising candidate of choice out of the three most exploited dye pigments from plant sources: chlorophylls, anthocyanins, and betalains [9]. Conversely to the anthocyanins, betalains possess essential functional groups (–COOH) to anchor better to the TiO2 nanoparticles than the functional groups (–OH) present in anthocyanins [1013]. Indeed, the interaction between TiO2 film and carboxylic functions should bring a stronger electronic coupling and rapid forward and reverse electron transfer reactions [9].

Also, the incorporation of plasmonic metal nanoparticles (NPs) into the electrode (usually m-TiO2) of dye-sensitized solar cells (DSSCs) to boost the light absorption due to their localized surface plasmon (LSP) effect has been very outstanding [1417]. Noble plasmonic metal nanostructures, such as gold (Au), silver (Ag) [18, 19], aluminum (Al) [20], their alloys [16], and their core–shell formation [2125], have been incorporated into DSSCs to effectively utilize the incident photon and improve cell performance. Many methods, both chemical and physical categories, including, wet chemical [26], polyol process [27], seed-mediated growth [28], photochemical [29], sonochemical [30], electrochemical [31], bioinspired [32], sputtering [33], and laser ablation [34], which have been, hitherto, reportedly employed to synthesize various plasmonic Ag nanostructures, possess one disadvantage or the other, such as toxic reducing agents, impurities, organic solvents, or may require special condition like high-temperature or low-pressure environment, and sometimes expensive and time-consuming procedures may be involved [35].

Successive ionic layer adsorption and reaction (SILAR) method was used in this work for the intercalation of Ag nanoparticles into the pores of mesoporous TiO2 photoelectrodes of betalain-sensitized DSSCs. It offers simple, inexpensive, and time-saving procedures, which can be carried out at room temperature with no restrictions on substrate material, dimensions or its surface profile, and the thickness of the film or nanoparticle can be easily controlled [3638].

Experimental

Preparation of photosensitizer

The photosensitizer was made of natural dye from betalain pigments extracted from red Bougainvillea glabra flower. 13.12 g of the fresh flowers was ground and well blended together in 100 ml of distilled water in an electric blender. Then, the mixture was filtered, and the filtrate was used as the sensitizing dye without further purification.

Preparation of active electrode layer

Fluorine-doped tin oxide (FTO: TCO30-8 glass, 8 Ω/sq, 3 mm thick, Solaronix) glass sheets were cleaned with detergent (sodium lauryl sulfate), rinsed with distilled water, ethanol, and dried under compressed hot air for 7 min at 70 °C in a clean container. 0.5 × 0.6 cm2 area compact TiO2 (c-TiO2) paste (Ti-Nanoxide BL/SP, Solaronix) was screen-printed on three 2.5 × 2.5 cm2 FTO glass substrates using a 70 mesh screen to obtain about 50-nm thick TiO2 film. The film was sintered on the hotplate at 500 °C for 50 min and was allowed to slowly cool down to room temperature. Afterward, mesoporous TiO2 (m-TiO2) paste (Ti-Nanoxide T300/SP, Solaronix) was screen-printed on the 0.30 cm2 of as-deposited c-TiO2 substrates obtaining about 3.5 µm with polyester mesh screen-120. After drying at 55 °C for 30 min, the electrodes were sintered at 450 °C for 30 min, and then gradually cooled down to room temperature.

Synthesis and incorporation of silver nanoparticles

Silver nanoparticles (Ag NPs) were prepared by successive ionic layer adsorption and reaction (SILAR) method. The cationic precursor for Ag NPs using SILAR method was diammine silver complex \(\left( {\left[ {Ag(NH_{3} )_{2} } \right]_{(aq)}^{ + } } \right)\) solution. This solution was prepared using 0.35 g of AgNO3 (BDH) in 200 ml of distilled water, to this, ammonia solution (NH3OH) (ca. 33 wt% NH, Grifflin and George) was added drop by drop until colorless solution was observed. The anionic (reducing agent) solution was prepared by adding 2 ml of concentrated HCl (36 %, Loba Chemie) to 2 g of stannous chloride (SnCl2.2H2O) (BDH) in 640 ml of distilled water.

To intercalate the Ag NPs into the mesoscopic TiO2 electrodes, the prepared electrode was immersed in the diammine silver complex \(\left( {\left[ {Ag(NH_{3} )_{2} } \right]_{(aq)}^{ + } } \right)\) solution for 2 min (adsorption), then rinsed with distilled water for 1 min (to remove excess adsorbed ions from the diffusion layer), the electrode was then transferred to the stannous chloride solution for 2 min (reduction reaction), and hence, film turns brownish due to the reduction from Ag+ to Ag; it was then treated with acid rinse by immersing it in 0.25 M of HCl (36 %, Loba Chemie) for 30 s (to etch any loosely silver nanoparticles) and finally rinsed with distilled water for 30 s to remove the excess and unreacted species and reaction by-product from the diffusion layer. The deposition process is shown in Fig. 1.

Fig. 1
figure 1

Scheme of SILAR cycle process of Ag nanoparticles deposition for DSSC application

This process was repeated for another electrode with two SILAR cycles. As soon as the required number of cycles was complete, the film was returned to the silver diammine complex solution for 30 s to form a layer of protective oxidized Ag shell on the film and rinsed in distilled water for another 30 s before drying at 100 °C in an open air until it was fully dried; this leads to the formation of a thin silver oxide shell on the film to protect the Ag nanoparticles from the iodic electrolyte [16]. To further protect the Ag NPs from the corrosive electrolyte, the films were refluxed in 0.1-M titanium (IV) isopropoxide (Sigma-Aldrich) in isopropanol solution for 25 min to form silver–titanium dioxide core–shell (Ag@TiO2) nanoparticles and sintered at 350 °C for 20 min. The preparation process is shown in Fig. 2.

Fig. 2
figure 2

Schematic of plasmonic photoanode preparation process

The chemical reaction mechanism for the formation of Ag NPs is given in the following.

Cationic precursor (adsorption step)

Diammine silver complex cationic precursor is obtained by adding enough ammonia solution (NH4OH(aq)) to AgNO3(aq). Brownish precipitate appears when a small amount of ammonia solution is added as a result of the formation of silver (I) oxide (Ag2O(s)):

$$2{\text{AgNO}}_{{3({\text{aq}})}} + 2{\text{NH}}_{ 4} {\text{OH}}_{{({\text{aq}})}} \to {\text{Ag}}_{ 2} {\text{O}}_{{ ( {\text{s)}}}} + 2 {\text{NH}}_{ 4} {\text{NO}}_{{ 3 ( {\text{aq)}}}} + {\text{H}}_{ 2} {\text{O}}_{{ ( {\text{l)}}}}$$
(1)

The precipitate (Ag2O(s)) dissolves in excess ammonia solution to form colorless diammine silver complex ion:

$${\text{Ag}}_{ 2} {\text{O}}_{{ ( {\text{s)}}}} + 4 {\text{NH}}_{ 3} + {\text{H}}_{ 2} {\text{O}}_{{ ( {\text{l)}}}} \to 2\left[ {{\text{Ag(NH}}_{ 3} )_{ 2} } \right]_{{ ( {\text{aq)}}}}^{ + } + 2 {\text{OH}}_{{({\text{aq}})}}^{ - }$$
(2)

The ionic equation of the complex ion is given as:

$$[Ag(NH_{3} )_{2} ]_{\text{aq}}^{ + } \rightleftharpoons {\text{Ag}}^{ + } + 2{\text{NH}}_{3}$$
(3)

Anionic precursor (reaction step)

Tin (II) chloride dissolves in less than its own mass of water to form insoluble tin hydroxy chloride specie in a reversible hydrolysis,

$${\text{SnCl}}_{2} + {\text{H}}_{ 2} {\text{O}} \rightleftharpoons {\text{Sn(OH)C}}l_{(s)} + {\text{HCl}}_{(aq)}$$
(4)

a clear solution of SnCl2(aq) requires addition of excess HCl

$${\text{Sn(OH)Cl}}_{{ ( {\text{s)}}}} + {\text{HCl}}_{{ ( {\text{aq)}}}} = {\text{SnCl}}_{{ 2 ( {\text{aq)}}}} + 2 {\text{H}}_{ 2} {\text{O}}$$
(5)

where

$${\text{SnCl}}_{{ 2 ( {\text{aq)}}}} \to {\text{Sn}}^{2 + } + 2 {\text{Cl}}^{ - }$$
(6)

\(Ag^{ + }\) is, reduced to Ag when the films were immersed in the anionic solution containing \({\text{Sn}}_{{ ( {\text{aq)}}}}^{{ 2 { + }}}\) as follows:

$${\text2{Ag}}^{ + } + {\text{Sn}}_{{ ( {\text{aq)}}}}^{{ 2 { + }}} \to 2{\text{Ag}}_{{ ( {\text{s)}}}} + {\text{Sn}}^{4 + }$$
(7)

Sensitization of photoanode

The bare mesoscopic TiO2 electrode and mesoscopic TiO2 electrodes intercalated with Ag NPs (one and two SILAR cycles) were each soaked in three different Petri dishes containing the sensitizing dye for about 20 h. After which, the dye impregnated photoanodes were then rinsed with ethanol (99 %, Sigma-Aldrich), to remove excess dye particles that were not properly adsorbed.

Fabrication of DSSCs

The counter electrodes were first prepared by screen-printing a 0.5 × 0.6-cm2 thin film of platinum (Pt) paste (Platisol T/SP, Solaronix) on a bare 2.5 × 2.5-cm2 FTO glass substrate, and then sintered at 450 °C for 30 min and allowed to slowly cool to room temperature.

A sandwich-type DSSCs were fabricated by assembling the dye-impregnated photoelectrodes and counter electrodes in an overlapping manner, so as to establish electrical connection between the cells and the photovoltaic measurement equipment. The assembling was achieved using hot-melt sealing gasket of Surlyn-based polymer sheet (SX1170-25PF, Solaronix) and sealed on a heating stage leaving a pinhole for the electrolyte injection for a few seconds. Finally, the iodine-based liquid electrolyte (iodolyte) was injected using micropipette before sealing with the hot-melt sealing gasket.

Characterizations

UV/Vis spectrophotometer (UV752N, Axiom) was used to measure the optical absorption spectra of the electrode film samples. The measurement was designed to cover the visible region of the electromagnetic spectrum. Scanning electron microscope (SEM) (MEL-30000, SCOTECH) was employed to record cross-sectional micrographs of the TiO2/Ag NPs films. Also, I–V measurements were performed using a solar simulator (Keithley 4200-SCS) under simulated AM 1.5 sunlight at an irradiance of 100 mW/cm2.

The photovoltaic parameters: maximum power output (P max), fill factor (FF), and conversion efficiency (η) of the devices were evaluated according to the following formula relationship based on J–V characteristic curves:

$$P_{\hbox{max} } = V_{\hbox{max} } \times J_{\hbox{max} }$$
(8)
$${\text{Fill factor }}({\text{FF}}) = \frac{{P_{\hbox{max} } }}{{V_{\text{oc}} J_{\text{sc}} }} = \frac{{V_{\hbox{max} } J_{\hbox{max} } }}{{V_{\text{oc}} J_{\text{sc}} }}$$
(9)
$${\text{Efficiency}}\,\,\left( \eta \right) = \frac{{FF \times V_{\text{oc}} \times J_{\text{sc}} }}{{P_{\text{in}} }} \times 100$$
(10)

Results and discussions

Scanning electron microscopy (SEM)

SEM images of the bare TiO2 and the TiO2/Ag NPs composite films with different SILAR cycles are shown in Fig. 3. The SEM images reveal a random two-dimensional array of Ag NPs with a very broad particle size distribution. Figure 3a is the bare TiO2 electrode, which shows the absence of Ag NPs, while Fig. 3b, c confirms the intercalation of Ag NPs in the pores of TiO2 with one and two SILAR cycles, respectively.

Fig. 3
figure 3

SEM images of a bare TiO2, b TiO2/Ag NPs one SILAR cycle, and c TiO2/Ag NPs two SILAR cycles

The morphology of the films appears to be different, which can be attributed to the varied SILAR deposition cycles of the Ag NPs. The image of the pure TiO2 film in Fig. 3a shows a dense surface, and there are no shinning particles observed. Considering heavy elements like Ag, they backscatter electrons more strongly than light elements like O and Ti [39], so the metallic silver appears brighter in the image as observed in Fig. 3b, c. At one SILAR cycle, the shining Ag nanoparticles are well dispersed with smaller Ag nanoparticles and more uniformly distributed in the pores of TiO2, as shown in Fig. 3b. Conversely, for higher two SILAR deposition cycles of Ag NPs, the Ag nanoparticles became gradually aggregated to form bigger Ag NPs as observed in Fig. 3c.

UV–Vis spectroscopy

Absorption spectra of a dye reflect optical transition probability between the ground state, the excited state, and the solar energy range absorbed by the dye [13]. The comparative optical spectra of the pure betalain dye extract, betalain dye extract adsorbed into TiO2 (TiO2/dye) electrode, TiO2/Ag NPs (one cycle)/dye, and TiO2/Ag NPs (two cycles)/dye are shown in Fig. 4.

Fig. 4
figure 4

Comparison of absorption spectra of pure betalain dye extract in solution with a betalain dye extract adsorbed on TiO2, b dye extract adsorbed on TiO2/Ag NPs (one cycle), and c betalain dye extract adsorbed on TiO2/Ag NPs (two cycles)

The betalain dye adsorbed into TiO2 (TiO2/dye) electrode shows a reduced absorbance compared with that of betalain dye extract only, as shown in Fig. 4a. The betalain extract shows a broad absorption spectrum in the visible light region (ca. 400–700 nm) indicating that betalain has the ability to function as an efficient sensitizer for wide bandgap semiconductors [40, 41]. Three absorption peaks at about 480, 535, and 670 nm are observed, which are ascribed to the betalain pigments present in the dye [42].

Figure 4b, c shows synergistic absorption spectra of dye and Ag NPs on TiO2 electrode with one and two SILAR cycles, respectively, both of which show higher absorption intensity compared with TiO2/dye only in Fig. 4a. This suggests that the incorporation of Ag NPs with one and two SILAR cycles has significantly improved the optical absorption of the electrode which is attributable to localized surface plasmons (LSP) effect of the nanoparticles. The two SILAR cycles show the highest absorption intensity indicating the presence of more Ag NPs, which couple with the dye to increase the optical absorption for the electrode with two SILAR cycles. A single absorption peak around 390 nm could be detected with an additional shoulder at 530 nm from Fig. 4b. In addition to the peaks detected in (b), there are other additional absorption peaks around 420, 470, 490, 510, 560, and 590 nm in (c).

The comprehensive comparison of optical absorption spectra of bare, incorporated Ag-TiO2, and impregnated TiO2/Ag/dye films on soda lime glass substrate is shown in Fig. 5, before and after dye sensitizer adsorption.

Fig. 5
figure 5

Absorption spectra of a TiO2/Ag NPs films of one and two SILAR deposition cycles and b dye impregnated TiO2/Ag NPs films of one and two SILAR deposition cycles on soda lime glass substrate

The absorption spectra of TiO2 film with Ag nanoparticles (TiO2–Ag NPs), as shown in Fig. 5a, show broad peaks centered at 450 nm for both one and two SILAR deposition cycles, which is attributable to localized surface plasmons (LSP) effect and their intensities increase as more Ag NPs are loaded onto TiO2 from one to two SILAR cycles. This result indicates the excitation of LSP on the TiO2–Ag NPs. TiO2 film with both Ag nanoparticles and dye (TiO2/Ag NPs/dye) in Fig. 5b shows lower absorption intensities for one and two SILAR deposition cycles compared with that of Fig. 5a. This result indicates that Ag nanoparticles incorporation clearly enhances the photon harvesting ability of TiO2 adsorbed with dye.

Device performance efficiency

The current density–voltage (J–V) and power density–voltage (P–V) characteristics were measured to study the photoelectric performances of both the bare and incorporated plasmonic Ag nanoparticles (Ag NPs) dye-sensitized solar cells (DSSCs).

Figure 6 shows the J–V and P–V characteristic curves of both the bare and intercalated plasmonic Ag NPs DSSCs. The photovoltaic performances of the cells are determined through the photovoltaic parameters (short-circuit current density (J sc), open-circuit voltage (V oc), fill factor (FF), and conversion efficiency (\(\eta\)), which are obtained from the J–V and P–V characteristic curves of the cells. The fill factor (FF) defined as the ratio of P max and the product J sc·V oc shows curve squareness, and the closer to unity the fill factor is, the better cell quality will be [43].

Fig. 6
figure 6

J–V and P–V characteristic curves of a DSSC with bare TiO2 electrode, b DSSC with one SILAR cycle TiO2 intercalated Ag NPs electrode, and c DSSC with two SILAR cycles TiO2 intercalated Ag NPs electrode

The photovoltaic performance parameters: short-circuit current (J sc), open-circuit voltage (V oc), fill factor (FF), and conversion efficiency (\(\eta\)) of the cells, are shown in Table 1.

Table 1 Photovoltaic parameters of plasmonic-DSSC

As it has been reported that the surface plasmon effect is caused by light-driven collective oscillations of conduction electrons in metallic nanoparticles, the nanoparticles must be smaller than the wavelength of exciting light for electrons to oscillate with the electric field of light. When these conditions are met, an enhanced electromagnetic field is found nearby the surface of nanoparticles. The enhanced electromagnetic field is highly dependent upon the wavelength of incident light, as well as the shape, size, and aggregation state of the nanoparticles [44].

Thus, it is observed, both plasmonic Ag NPs incorporated DSSCs experience an improvement in their respective photocurrent densities (J sc) with the cell with one SILAR cycle showing better enhancement from plasmonic effect. The generated photocurrent density (J sc) increases with the introduction of Ag NPs, which is found to be 44 and 19 % higher than the reference device (device 1) for one and two SILAR cycles, respectively, as shown in Table 1; thus, showing the electron transport efficiency in the TiO2/dye/electrolyte interface is improved. With the increase in the amount of incorporated Ag NPs, increase in the recombination probability arises and leads to the decline of photocurrent density [20] and, as a result, reduces the PCE of the DSSCs when the SILAR cycles increased from one to two. Considering the size and aggregation state of Ag NPs as observed in Fig. 3 of SEM analysis, these generate defects at the surface of the active layer of the cell. These defects are potential recombination centers which are capable of trapping generated carriers, and thus, the surface recombination pose a negative impact on the effective carrier lifetime and, subsequently, on the efficiency of the solar cells [21, 32, 4446]. Also, the recombination reaction creates an internal short-circuit throughout the bulk of the photoanode layer [32]; as a result, the device shows a lower PCE with two SILAR cycles. Also, the scattering effect may contribute to the decline, but the plasmonic effect still dominates because of the relatively small size of the nanoparticles [20].

The efficiency of the plasmonic-DSSC (device 2) obtained with one SILAR deposition cycle of Ag NPs onto the TiO2 photoelectrode is 0.27 % indicating an improvement of 50 % compared with the efficiency of the reference DSSC (device 1) which had an efficiency of 0.18 %. The open-circuit voltage (V oc) and fill factor (FF) remain almost unchanged, while the short-circuit current density (J sc) indicates a clear increase owed to the light trapping as a result of LSP effect of Ag NPs, which make more photons ready and available for dyes to absorb for photoelectrons generation. The intercalation of Ag nanoparticles has been shown not to significantly affect the values of V oc, because V oc is determined mainly by the redox potential and the Fermi energy of semiconductors and is not significantly affected with the change in size of the Ag NPs [18, 47, 48].

Conclusion

The DSSCs comprising mesoporous TiO2 films and natural betalain dye extract from red Bougainvillea glabra flower as photosensitizers were prepared and enhanced by the intercalation of the Ag nanoparticles into the TiO2 electrodes by successive ionic layer adsorption and reaction (SILAR) method. The morphological and optical characteristics of TiO2/Ag composite films were determined using SEM and UV–Vis spectrophotometer, respectively. The intercalation of plasmonic Ag nanostructures increased the optical absorption of the photoanodes over a wide range of wavelengths. The reference DSSC had a short-circuit current density (Jsc) and power conversion efficiency (PCE) of 0.70 mA cm−2 and 0.18 %, respectively, while the cell with two SILAR Ag NPs incorporated into photoelectrode had a short-circuit current density (J sc) and power conversion efficiency (PCE) of 0.83 mA cm−2 and 0.22 %, respectively, representing a 22 % enhancement in efficiency. The intercalation of the Ag nanoparticles into the TiO2 electrodes with one SILAR deposition cycle produced the best plasmonic-DSSC cell performance with the maximum short-circuit current density (J sc) and PCE of 1.01 mA cm−2 and 0.27 %, respectively. This shows a significant improved power conversion efficiency of 50 % with one SILAR deposition cycle of Ag NPs intercalated into the photoanode over the bare photoanode reference DSSC cell.