Introduction

Natural dye-sensitized solar cell (NDSSC) is an attractive solar cell based on the sensitization of natural dyes obtained from the natural resources such as anthocyanin, chlorophyll, betalain, and carotenoid [1]. The materials can be used as a future solar cell candidate due to the abundant, non-toxic, low in cost, and renewable [2]. The dyes absorbing light spectrum are attached onto porous material in order to broaden semiconductor film absorbance. According to the electron transfer dynamic aspects, the dye’s lowest unoccupied molecular orbital (LUMO) should be positioned above the conduction band (CB) edge of a semiconductor [3]. After dyes inject the excited electrons, oxidized dyes will be refreshed by iodide ion (I ) to convert the incident light into electron excitations again. The narrower gap of dyes’ LUMO-CB gap compared to the dye’s LUMO-triiodide (I 3 ) potential gap will affect to the faster electron injection onto TiO2 surface compared to the electron recombination captured by triiodide (I 3 ) [4]. Moreover, the higher dyes absorb photons and the more dyes are attached onto TiO2 film, the more electrons inject through TiO2 conduction band. Therefore, these parameters should be considered to improve the performance of natural dye-sensitized solar cell.

Anthocyanin becomes an interesting topic as a natural dye resource for a natural photosensitizer development. The pigment contains hydroxyl groups (–OH) facilitating good dyes’ attachment. Moreover, the aromatic ring such as benzopyrone and catechol moieties will support the intermolecular electron transfer through dye skeleton from donor to acceptor group [3]. In nature, this red–purple plant pigment occurs in all higher plants coloring flowers, wines, fruits, stems, leaves, and roots [4]. Black rice is the potential material containing 95 % cyanidin-3-O-glucoside that can be used as a photosensitizer for the natural dye-sensitized solar cell [5]. This dye pigment has been investigated previously by Yuliarto [6], Hao [7], Yuliza [8], Saehana [9], and Buraidah [10]. However, the highest black rice based NDSSC efficiency conducted by Hao and co-worker is still 0.32 % [7]. The research optimizing the concentration of anthocyanin based dye achieving 1.42 % efficiency has been investigated by Chien and Hsu at 2 mM dye’s concentration [11]. On the other hand, Adhyaksa claimed three main strategies to enhance cell efficiency such as employing of Ag NPs, utilizing TiO2 nanosheets, and improving the attachment between graminoids and metal nanoparticles employing ligand tethering. In addition, the TiO2 nanosheet photoelectrode was immersed for 4 days [12]. Therefore, this research will apply two strategies in order to improve the cell performance using two following strategies: utilizing the optimized dye concentration and extending TiO2 photoelectrode immersion into dye solution.

A natural dye purification is an issue considered to improve the performance of natural photosensitizer. The previous study employed by Gómez-Ortíz shows that the achiote seed purification successfully improved the Bixin absorptivity [13]. Zhou reports the purification of mangosteen pericarp achieving 1.17 % efficiency [14]. Tadesse also reported the purification of Syzygium guineese achieving 0.51 % efficiency [15]. The treatment implicitly reports that the extraction solvents play a significant role in the band edge shift of dye. Moreover, the natural dye combination has been conducted by Prima [2], Adhyaksa [12], Furukawa [16], Chang [17], Kumara [18], and Park [19] resulting the dye synergetic effect and the dye absorptivity improvement. Otherwise, Chien reports that the purified natural dye has not directly improved cell efficiency [11]. Therefore, the reports can be viewed that the purified as well as unpurified treatments of natural dyes in terms of photosensitizers are still debatable so that small quantities of co-pigments presented in unpurified dye have to be further investigated as an important aspect influencing dye excitations during the photosensitization process. Both synergetic effects and quenching process compete to either increase or decrease dye’s light harvesting efficiency dominantly depending on the electronic structures between two dyes [2, 12]. Hence, the research will investigate the role of natural co-pigment of unpurified anthocyanin extracted from black rice, which naturally affects to the cell performance.

Chlorophyll is a well-known pigment used by green plants, algae, and bacteria. In nature, chlorophyll is commonly produced in the twin forms such as chlorophylls a-b and chlorophylls c1-c2 for green plants and seaweed, respectively [20, 21]. In NDSSC, the main efficient electron injection from the chlorophyll to titanium dioxide is related to the two characteristic π-π* absorption regions, the weaker Qy band (550–700 nm) and the intense Soret band in the near UV region (400–450 nm) [12, 22]. The twin pigments are utilized by plants for the fluorescence quenching in the reactions between photosystem (PS) I and II. Some researchers have employed the process for the intermolecular electron transfer as well conducted by Wang [21], Chang [10], and Yu [23]. The research implied that the synergetic effect between two pigments should happen more dominantly than the quenching factor reducing the electron injection to TiO2. Interestingly, the chlorophyll can also be found as a minor pigment in an anthocyanin pigment. The previous research performed by Calogero et al. investigated pure anthocyanin dye for NDSSC with removing a chlorophyll fraction without considering its pigment effect [24]. It is found that the chlorophyll b in the light harvesting complex II boosts an electron transfer instead of a dye’s absorbance improvement analyzed by Förster resonance energy transfer [25, 26].

The Soret band and Q band of chlorophyll b are found at the 465 and 652 nm, respectively. This dye has highly fascinated molar extinction coefficient of 39,350 M−1cm−1 at 652 nm [27]. The Qy band, which is related to the lowest singlet state excitation, will be red-shifted and strongly broadened due to the interaction with the polar TiO2 surface [28, 29]. Kay and Graetzel confirmed that 96 % light absorption happens in the Qy band, and only 25 % incident red photons yield the electron flowing in the external circuit [22, 28]. An electron is rapidly transferred from the excited reaction center of chlorophyll to lower energy acceptor because of the donor state overlap of excited sensitizer with the acceptor states of TiO2 [29]. The essential π radical cation formation of a Mg containing porphyrin is a central in photo-oxidation [22]. The recombination of injected electrons with oxidized dye molecules will occur due to the cation radical absorption at 720 nm commonly parallels the Qy band excitation [29]. In contrast, leaving the cation radical process reduced by iodide can decrease the recombination rate and result in a high charge-separation yield [29]. In accordance with the relationship between Soret and Q band and about the injections in the TiO2, the lower value of intensity ratio is, Isoret/IQy, the higher Qy absorption and the greater dye solubility into a specific solvent. The internal conversion of Soret into the Qy is related to the energy loss reducing DSSC efficiency [22]. The greater Soret energy must be too short-lived to inject electron into TiO2 efficiently. The higher light harvesting ability respects to the Qy wavelength region involved to the electron injection between chlorophyll and TiO2 film [22]. By understanding the electron injection mechanism in chlorophyll b, this article will investigate the contribution of chlorophyll b as natural co-sensitizer of anthocyanin based unpurified black rice dye with investigating the electron transfer as well as the recombination.

Materials and methods

Natural dye preparations and characterizations

Black rice is obtained from traditional market found in West Java, Indonesia. The dye is extracted at the high molarity from dry black rice by crushing to make powders. The 263-g powders are completely soaked with 380 ml ethanol without the acidic treatment. The solution is stored at the room temperature (25 °C) with dark condition. After 3 weeks, the solution is centrifuged at 4500 rpm for 15 min to filter some aggregates. The solution is subsequently filtered again through 110 mm of Whatman’s filter paper using a vacuum pump. Finally, the dye is poured into 50-ml glass bottles and stored in a dark room for an unpurified anthocyanin dye preparation. Furthermore, the purification process of anthocyanin dye follows the previous research conducted by Ordaz-Galindo and Park [5, 30]. The dye extract is dissolved in 15 mL of n-hexane and applied to an Aldrich® calibrated chromatography column with solvent reservoir. The column is eluted with 15 mL of 0.3 % HCl to remove polar constituents and then eluted sequentially with 10:90 (v/v) methanol to water containing 0.3 % HCl, 20:80 (v/v) methanol to water containing 0.3 % HCl, 30:70 (v/v) methanol to water containing 0.3 % HCl, and 40:60 (v/v) methanol to water containing 0.3 % HCl [5]. This isolated anthocyanin extract is used for further study, and it is compared to the unpurified anthocyanin extract. The anthocyanin concentration is measured using Eq. (1), and it is adjusted by diluting the similar solvent [31].

$$ \mathrm{Anthocyanin}\ \mathrm{concentration}\ \left(\mathrm{m}\mathrm{M}\right)=A.DF{.10}^3/\varepsilon .l, $$
(1)

Where A is the absorbance, DF is the dilution factor, ε is the molar extinction coefficient, which equals to 26,900 M−1cm−1, and l is the light-path length (0.1 cm). A is the absorbance given by the Eq. (2)

$$ A={\left({A}_{max}-{A}_{700}\right)}_{pH1}-{\left({A}_{max}-{A}_{700}\right)}_{pH4.5} $$
(2)

The dye pH of the black rice is adjusted using 0.025 M potassium chloride buffer (pH 1.0) and 0.4 M sodium acetate buffer (pH 4.5). The dye absorbance is measured using Hewlett Packard 8453 Agilent Technologies UV–Vis Spectrophotometer. Moreover, the determination of chlorophyll b concentration follows the method as conducted by Eijckelhoff [32] and Inskeep [27].

In accordance with the empirical equation from Bredas [33], the dye’s highest occupied molecular orbital (HOMO) is given by Eq. (3)

$$ \alpha hv \approx {\left(hv - {E}_g\right)}^n $$
(3)

The \( {E}_{ox}^{onset} \) data is plotted from the oxidation potential voltammetry measured by eDAQ potentiostat equipped with e-coder 401; software Echem Ver. 2.1; scan rate 50 mV/s; range of −1600 to +1600 mV; initial direction is positive. Three electrodes consisting of a glassy carbon electrode including a platinum counter electrode, and a Ag/AgCl reference electrode in 3 M NaCl solution are used for this measurement using 0.1 M KNO3 as the supporting electrolyte [34, 35].

The dyes’ direct and indirect energy gaps are calculated from UV–Vis spectra data using Tauc Relation as estimated in Eq. (4) [36].

$$ {E}_{HOMO}=-e\left({E}_{ox}^{onset}+4.4\right) $$
(4)

The dyes’ indirect and direct band gaps (E g) are obtained from the α extrapolation to 0 when n = ½ and 2, respectively. While E g is dye’s band gap, α is the dye’s absorbance, \( hv \) is the photon energy.

Dye-sensitized solar cell preparations and characterizations

The 2 cm × 2 cm fluorine-doped SnO2 conductive glass substrate is cleaned using the isopropyl alcohol. Subsequently, the TiO2 paste (Solaronix, ~13 nm colloidal anatase size and ~120 m2g−1 BET) is deposited onto a glass with the 1.00 × 0.75 cm frame area using doctor blade method resulting ~7.3 μm film thickness. The film is then calcined at 450 °C for 1 h. After that, the film is cooling down to 80 °C, and then, the photoelectrode is immersed in the dye solution for 4 days to ensure that dyes completely attach on the TiO2 surface. When a cell is fabricated, the dye absorbed-TiO2 and the sputtered Pt counter electrode is sandwiched and sealed by 50 μm Surlyn ionomer (Dyesol). A drop of standard I/I3 electrolyte redox containing tetrabutylammonium iodide (0.5 M)/iodine (0.050 M) in acetonitrile solution is inserted into a sandwich cell. In order to improve open circuit voltage due to reducing the recombination rate, additives of 70 mM ter-butylpyridine, 0.1 M lithium iodide, and 35 mM pyridine are also applied into the electrolyte adopting the previous research conducted by Adhyaksa and co-workers [12, 37].

The average TiO2 grain size is estimated using Scherrer’s equation as given in Eq. (5) obtained from X-ray diffraction pattern data measured using the Philips analytical X-ray with Cu radiation.

$$ D=\frac{K\lambda }{\beta . \cos \theta } $$
(5)

Where K is 0.9 as the factor of dimensionless shape for the spherical particles, λ is 0,154,056 nm, and β is the full width at half-maximum height estimated from the diffraction peaks, and D is the estimated TiO2 grain size.

The TiO2 morphologies of both surface and cross-section area are scanned using a scanning electron microscope (JEOL JSM-6360LA). Cell performances are evaluated under AM 1.5 100 mW cm−2 illumination using standard solar simulator equipped with Keithley 2400 source meter. All characterization measurements are conducted in the ambient temperature. The electrochemical impedance spectroscopy is employed using Agilent Precision LCR Meter E4980A in order to evaluate interfacial charge transfer dynamics of the natural dye. The alternate voltage amplitude is 1.0 mV, and the frequency range is set from 20 Hz to 2 MHz. Finally, the equivalent circuits and impedance parameters are estimated by fitting the spectra using Z-View software (v3.3e, Scribner Associate Inc.).

Electron transfer dynamic model

The electron transfer dynamic analysis of the electron injection and the electron recombination is characterized from electrochemical impedance spectroscopy (EIS) data. The analysis method adopts the previous EIS method outstandingly reported by Bisquert [3742]. The impedance of transmission line for 0 V forward bias potential in dark condition is given in Fig. 6 [37]. The small semicircle curve gives 1/3 \( \mathrm{transport}\;\mathrm{resistance}\;(Rt) \) [38].

$$ Z=\frac{1}{3}{R}_t+\frac{R_r}{1+i\omega /{\omega}_r} $$
(6)

The chemical diffusion coefficient parameter influencing electron injections from dye molecules is analyzed using Eq. (7) [38].

$$ {D}_n=\frac{L_n^2}{\tau_n}=\frac{L^2}{\tau_d} $$
(7)

Where L n is the effective diffusion length, τn is the electrons lifetime within the film, L is the film thickness, \( {\tau}_d \) is the charge extraction time, and Dn is the chemical diffusion coefficient, the \( effective\; diffusion\; length\;(Ln) \) can be calculated using Eq. (8) [39, 40].

$$ {L}_n=L\sqrt{\frac{R_r}{R_t}}=L\sqrt{\frac{\tau_n}{\tau_d}}=\sqrt{D_n{\tau}_n} $$
(8)

In a restricted condition, the Warburg impedance will occur in high frequency regimes (\( \omega \gg {\omega}_d\Big) \), which show a short straight line in the impedance representation [43]. A large semicircle of EIS graph in the lower frequency regime indicates the longer electron lifetime and the faster electron transport. The transient time required by electrons to diffuse along L film thickness is given by Eq. (9) [40].

$$ {\tau}_d={R}_t{C}_{\mu }=\frac{1}{\omega_d}=\frac{L^2}{D_n} $$
(9)

The electron recombination commonly occurs due to the electrons recaptured by I3 ion [44]. Therefore, the longer electron lifetime will decrease the electron recombination. A good cell performance has the shorter carrier extraction time \( \Big({\tau}_d \)) and the longer electron lifetime time \( \left({\tau}_n\right) \). The electron lifetime is given by Eq. (10) [40].

$$ {\tau}_n={R}_r{C}_{\mu }=\frac{1}{\omega_r}=\frac{L_n^2}{D_n} $$
(10)

Results and Discussions

Figure 1 shows the XRD pattern of calcined TiO2 nanoparticles compared to the anatase standard graph of JCPDS 21-1271. The graph indicates that TiO2 nanoparticles have a pure anatase phase confirmed by the presence of diffraction peaks at (101), (004), (200), (105), dan (211), which respectively appear at 2 θ of 25.30°, 37.78°, 47.98°, 51.58°, and 55.02°. The peaks are similar to the standard peaks of JCPDS 21-1271. Moreover, the TiO2 nanoparticles do not show the rutile phase, which usually shows high intensity peaks at 2 θ of 27.51°, 36.04°, and 54.23°. According to the grain size calculation corresponding to all planes using Scherrer’s equation, the average particle size is approximately 33.9 nm.

Fig. 1
figure 1

The X-ray diffraction pattern of TiO2 nanoparticle compared to the standard TiO2 anatase of JCPDS No. 21-1271

Figure 2 shows the surface morphology of TiO2 nanoparticles characterized using SEM. The film has uniform surface without agglomerations. The pores among nanoparticles facilitate good dye attachment as well as good redox couple (I/I3 ) penetration into the film. Figure 2a shows a flat surface of a TiO2 film with three dimensional networks of interconnected nanoparticles. It can be considered that the thicker film will increase the amount of dye attachments while the thinner film will boost electron transports, so the film thickness is set to result approximately 7.3 μm film thickness. Figure 2b displays a TiO2 mesoporous facilitating good dye attachments. The uniform TiO2 adsorptions onto a conductive film reduce dye aggregations.

Fig. 2
figure 2

The scanning electron microscope (SEM) images of a cross section and b surface of TiO2 nanoparticles

The UV–Vis graph of purified-unpurified black rice anthocyanin absorbances is depicted in Fig. 3. The purified dye is the same 1.92 mM concentration as unpurified dye. The highly concentrated dye is diluted 20 times using the similar solvent used for extraction process characterized using UV–Vis spectrophotometer resulting in the graph as displayed in Fig. 3. During the purification process, the cyanidin’s absorbance peak is red shift from 526 to 533 nm, while the absorbance peak of chlorophyll b fraction in the purified dye disappears at 652 nm after dye separation as shown in Fig. 3. The yellowish green and reddish purple colors of fractions indicate chlorophyll b and cyanidin-3-O-glucoside dyes, respectively. Interestingly, the purification process increases the anthocyanin absorbance sharpness, but it narrows the overall dye absorbance. Consequently, the narrow absorbance will affect to the decrease of converted photons into dye excitations during photosensitization.

Fig. 3
figure 3

The absorption spectra of a purified black rice dyes containing cyaniding-3-O-glucoside, b unpurified black rice dyes containing cyanidin-3-O-glucoside naturally co-sensitized by chlorophyll b, and figure c shows the fractions of cyaniding 3-O-glucoside and chlorophyll b during the chromatography column process.

The dye investigation focuses on either the presence or the absence of chlorophyll b in anthocyanin dye. The cyanidin structure possessing 8 hydroxyl (–OH) moieties facilitate good dye attachment onto TiO2 nanoparticles through bidentate and monodentate modes. Moreover, the carbonyl (C=O), hydroxyl (–OH), and carboxylic (–COOH) moieties of chlorophyll b also facilitate better dye attachment onto the film. By considering the ratio of cyanidin and chlorophyll b which is as much as 6:1, the anthocyanin dye attachment is more dominant than chlorophyll b. Nevertheless, the chlorophyll b with narrower band gap will be an intermediated state passing through electrons from the excited state of anthocyanin to TiO2.

The physical and chemical bindings between anthocyanin and chlorophyll b will also happen during dye attachments. The binding interaction will prevent cyanidin desorption because chlorophyll b possessing a carboxylic moiety has better adsorption. The presence of chlorophyll b supporting anthocyanin binding will affect to reduce dye-TiO2 resistance from 24.6 to 21.9 Ω as shown in Table 3. Three aromatic moieties of anthocyanin will delocalize electrons during photosensitization from donor to anchor group. Furthermore, the presence of Mg2+ inside chlorophyll b as metal center provide the transition character of metal to ligand charge transfer (MLCT) that boosts electron transfers [21, 25]. The electron transfer (\( {\tau}_d \)) data of unpurified dye, which is 0.55 μs faster than purified dye as given in Table 3, has supported the phenomenon although the presence of chlorophyll b as dye’s residue will tend to increase the probability of undesired processes like quenching effect and dyes’ intermolecular recombination. The transition character of MLCT will vanish when the anthocyanin dye is purified due to the absence of chlorophyll b. The main electronic excitations of both anthocyanin and chlorophyll b dyes occur due to the HOMO → LUMO transition from bonding orbital (σ) to antibonding (σ*) resulting in main dye absorbance peak of 526 and 652 nm. Moreover, the intramolecular electron transport also happens through single-double conjugated bonds of cyanidin, porphyrin, and carotenoid skeletons of unpurified dye. The broaden absorbance of unpurified dye along 250 nm through 526 nm will dominantly affect increase of the converted photons into dye excitation and directly improve the short current density of device as tabulated in Table 2.

Figure 4 shows the oxidation onset potentials of cyanidin-3-O-glucoside and chlorophyll b extracted from black rice. The onset potentials are then calculated to determine the highest occupied molecular orbital (HOMO) of dyes using empirical Bredas equation as given in Eq. 3 [32]. As a result, the HOMOs of cyanidin and chlorophyll b are −5.43 and −5.38 eV, respectively. During the regeneration process, the HOMO position of dye should be more negative than potential of iodide (I ) ion so that electrons can be captured by oxidized dye [2, 3]. Moreover, the narrower gap between HOMO of chlorophyll b and iodide (I ) potential will provide better dye regeneration process towards HOMO of anthocyanin dye than the direct regeneration process from iodide to HOMO of cyanidin. Consequently, the chemical capacitance of unpurified dye, which is 1.43 μF higher than the purified dye’s capacitance as shown in Table 3, has proven the reason. On the other hand, it is required that the kinetic of electrons excited from HOMO should be the same as the kinetic of electrons captured from potential redox [40, 41]. Unfortunately, the presence of two states of dyes’ HOMO in unpurified dye will increase the probability of dye’s recombination. Consequently, the electron life time of the unpurified dye is 0.55 ms shorter than the purified dye as shown in Table 3.

Fig. 4
figure 4

Voltammetry of black rice dyes at a positive oxidation potential in the dark for a cyanidin-3-O-glucoside and b chlorophyll b

Figure 4 shows the direct and indirect band gaps plotted from the Tauc’s graphs. The direct band gap represents the vertical electron transition during the dye excitation, while the indirect band gap includes the change of momentum due to the phonon transfer [47, 48]. Consequently, the indirect band gaps of both dyes is narrower than the direct band gaps due to the longer electron transition as shown in Table 1. Nguyen [47] reported that a direct band gap transition will dominantly contribute to the electron injection process. Seo [48] also states that the photon energy absorbed by dye will cause phonon emissions when its energy is slightly above the dye’s indirect band gap. The electronic interactions involve all three particles among electrons, photons, and phonons are weaker than a simple electron-photon interaction during a direct band gap transition. Therefore, the direct band gap is then used to determine the vertical transition character of dye during photosensitization. The band gap has been subsequently measured to estimate the dye’s LUMO level following the previous research conducted by Kumara [18]. The electronic structure of unpurified dye contains both anthocyanin and chlorophyll b, while the purified dye is only focused on the investigation of cyanidin-3-O-glucoside structure. As shown in Fig. 5a, for direct transition, both cyanidin-3-O-glucoside and chlorophyll b show a precise fit resulting direct band gap of 2.10 and 1.81 eV, respectively. Then, the indirect band gaps are estimated from the plot of (αhv)0.5 versus hυ which yields 1.72 and 1.69 eV for cyanidin-3-O-glucoside and chlorophyll b, respectively, as depicted in Fig. 5b.

Table 1 The HOMO-LUMO energy levels and band energy gap energies of dyes
Fig. 5
figure 5

Plot of (αhv)2 versus hυ for direct transition and plot of (αhv)0.5 versus hυ for indirect transition of black rice dyes containing a cyanidin-3-O-glucoside and b chlorophyll b

Table 1 summarizes the HOMO-LUMO levels of dyes obtained from combined voltammetry and Tauc’s plot method. Schematic diagram showing the HOMO and LUMO of black rice dye with the transient time of electron transfer is depicted in Fig. 6. The data shows that cyanidin’s LUMO edge of −3.33 eV is above the chlorophyll b LUMO edge of−3.57 eV. In the purified dye, electrons are injected to TiO2 directly while the LUMO edge of chlorophyll b from unpurified dye intermediates electron injection. Consequently, the transient time required by injected electrons from unpurified dye to diffuse along TiO2 film is faster than direct electron injection from cyanidin through TiO2 as tabulated in Table 3. Moreover, this phenomenon can happen because the chemical diffusion coefficient of unpurified dye is slightly higher than purified dye.

Fig. 6
figure 6

The natural DSSC structure and its schematic reaction

According to the electron transfer time data as listed in Table 3, the narrower conduction band gap of dye’s LUMO–TiO2 will boost the intermolecular electron transfer. The effect of combined dye’s absorbance and LUMO–CB TiO2 gap of unpurified dye dominantly results the short current density improvement by 2.403 mA.cm−2 as shown in Table 2. Unfortunately, the narrower LUMO-triiodide (I3 ) gap of unpurified dye will affect the faster electron lifetime where electrons are recaptured by triiodide ion as shown in Table 3.

Table 2 Photovoltaic parameters of DSSC sensitized by anthocyanin dyes
Table 3 EIS parameters obtained by fitting the Nyquist plots with the equivalent circuit in Fig. 8c for DSSC based on anthocyanin dyes sensitized TiO2

The typical J-V curve of purified and unpurified dyes extracted from black rice are shown in Fig. 7. The photovoltaic parameters including short current density (J sc ), open circuit voltage (V oc ), fill factor (FF), and power conversion efficiency (η) are tabulated in Table 2. The investigated black rice based DSSC are compared to the previous achievements. The result shows that the unpurified black rice dye with 2.17 % efficiency is superior towards to other previous reports. The photocurrent density, open circuit voltage, fill factor, and overall cell efficiency of unpurified black rice based anthocyanin dye are observed at 5.439 mA cm−2, 0.55 V, 0.74, and 2.17 %, respectively. Likewise, the photocurrent density, open circuit voltage, fill factor, and overall cell efficiency of purified black rice based anthocyanin dye are observed at 3.036 mA cm−2, 0.55 V, 0.63, and 1.31 %, respectively. The lower total internal resistance of unpurified dye as listed in Table 3 tends to improve fill factor by 0.11. The unpurified black rice based dyes are compared to the purified black rice based dye in the same anthocyanin concentration of 1.92 mM. The presence of chlorophyll b as the minor dye in unpurified black rice extraction supports the improvement of short current density and overall cell efficiency by 2.403 mA cm−2 and 0.86 %, respectively.

Fig. 7
figure 7

The I-V curve of a unpurified and b purified black rice-based dye-sensitized solar cell. The inset shows the attached dye on the TiO2 film

Compared to the other previous report, it can be analyzed that the longer dye extraction will affect to the higher concentration of extracted dye due to the more pigment molecules released from the anthocyanoplast during the extraction. When the black rice dye is extracted for 30 min, the process has resulted 0.38 mM dye concentration [9]. When the dye is extracted for 3 weeks, the extraction has resulted 1.92 mM of dye concentration. The longer TiO2 immersion will increase the attached dye onto a photoelectrode. The previous research investigated Cu as metal connector intermediating electron transfer from dye’s LUMO through TiO2 conduction band leading to the cell efficiency improvement at 0.18 % from initial value at 0.17 % to be 0.35 % [9]. On the other hand, the cell performance has been investigated at the presence of chlorophyll b as natural co-sensitizer of unpurified black rice dye resulting in the efficiency improvement at 0.86 % from 1.31 to be 2.17 %. Compared to the highly concentrated unpurified red cabbage dyes with 2.00 mM concentration [11], it can be found that the longer dye immersion also improves cell efficiency. The supporting electrolyte of chitosan-PEO-NH4I-BMII contributes to the cell efficiency improvement [10].

Figure 8 shows the device impedance characteristic using black rice dyes. Figure 8c shows the equivalent circuit element model. The system is simplified due to the restriction of low current conditions, where the electrolyte diffusion impedance (Zd) is vanishingly small. A small arc indicating a high-frequency semicircle is assigned to the charge transport resistance (Rt) through TiO2 nanoparticles. A low-frequency semicircle (A large arc) is ascribed to the dye recombination resistance (Rr), and Cμ is the total electrolyte-solid interface capacitance. Moreover, at low frequency with 0 V bias potential, a large arc given by chemical capacitance of the back layer and the charge recombination dominates the impedance [41, 42]. After the excitation, the injected electrons from dye will diffuse through the outer edge of TiO2 film. Therefore, this condition is assumed as a diffusion-recombination transmission line under reflecting boundary conditions [42].

Fig. 8
figure 8

Nyquist plot of a unpurified black rice dye and b purified black rice dye at 0 V forward bias potential in dark condition, and c shows the equivalent circuit elements showing the diffusion-recombination transmission line under reflecting boundary condition, which is a highly idealized photoanode schematic at various potentials in the dark

Table 3 shows the electrochemical impedance data including the transport resistance (Rt), the recombination resistance (Rr), the chemical diffusion coefficient (Dn), the effective diffusion length (Ln), the charge extraction time (τd), and the electron lifetime time (τn). The data presents that the transport resistance (Rt) is always shorter than the recombination resistance (Rr). It means that the injected electrons which transport through TiO2 film are always faster than the recombination. The wider large semicircle resistance (Rr) will affect to reduce the electron recombination [38, 39]. Therefore, the higher recombination resistance of purified dye (Rr = 281.6 Ω) compared to the recombination resistance of unpurified dye (Rr = 215.2 Ω) has affected to the longer electron lifetime by 0.55 ms. The lower transport resistance of purified dye (Rt = 24.6 Ω) compared to the transport resistance of mangosteen pericarp dye (Rt = 25.4 Ω) and the higher recombination resistance of purified dye (Rr = 281.6 Ω) compared to the recombination resistance of mangosteen pericarp dye (Rr = 231.1 Ω) have resulted the superior efficiency of purified dye. Although the transport resistance of Cladophora sp. dye is the smallest among all natural dyes, the poor chemical diffusion coefficient (8.1 × 10−9 cm2/s) and the shorter lifetime (0.25 ms) tend to significantly decrease its efficiency excluding considering its dye concentration attached onto the film. Moreover, the smaller transport resistance (Rt = 21.9 Ω), the higher chemical diffusion coefficient (Dn = 1.696 × 10−3 cm2/s), the higher chemical capacitance (Cμ = 14.32 μF), and the faster electron transport (τd = 39.88 μs) of unpurified anthocyanin dye outstandingly improve the cell performance. It can be analyzed that chlorophyll b has dominantly acted as two intermediate states in boosting electron injection and dye regeneration to achieve the superior cell efficiency of 2.17 % due to the narrower LUMO–TiO2 conduction band gap and the narrower HOMO–iodide (I) potential gap, respectively, where unpurified dye is compared to the purified dye in the same concentration of 1.92 mM. Otherwise, the presence of chlorophyll b in unpurified dye also reduces electron life time (τn) by 0.55 ms as well as effective diffusion length (Ln) by 1.84 μm. The size of chlorophyll b molecules attached onto TiO2 film might prevent the adsorption of cyanidin molecules to penetrate through the film.

Conclusions

Chlorophyll b as natural co-sensitizer of anthocyanin dye has been investigated including the electron transfer as well as the recombination. The purification process increases the anthocyanin absorbance sharpness, but it narrows the overall dye absorbance. Consequently, the narrow absorbance will affect the decrease of converted photons into dye excitations during photosensitization. The main electronic excitations of both anthocyanin and chlorophyll b dyes occurs due to the HOMO → LUMO transition from bonding orbital (σ) to antibonding (σ*) resulting in main dye absorbance peak of 526 and 652 nm. The broaden absorbance of unpurified dye along 250 nm through 526 nm will dominantly affect increase of the converted photons into dye excitation and directly improve the short current density. This finding has investigated the presence of chlorophyll b as natural co-sensitizer of unpurified black rice dye resulting in the efficiency improvement from 1.31 to 2.17 %. According to the electron transport, the co-sensitizer contributes to the smaller transport resistance (Rt = 21.9 Ω), the higher chemical diffusion coefficient (Dn = 1.696 × 10−3 cm2/s), the higher chemical capacitance (Cμ = 14.32 μF), and the faster electron transport (τd = 39.88 μs).