Stable and Efficient Dye-Sensitized Solar Cells and Supercapacitors Developed Using Ionic-Liquid-Doped Biopolymer Electrolytes

An ionic liquid (IL) 1-ethyl, 2-methyl imidazolium thiocyanate incorporated biopolymer system is reported in this communication for applications in dual energy devices, i.e., electric double-layer capacitors (EDLCs) and dye-sensitized solar cells (DSSCs). The solution caste method has been used to synthesize ionic-liquid-incorporated biopolymer electrolyte films. The IL mixed biopolymer electrolytes achieve high ionic conductivity up to the order of 10−3 S/cm with good thermal stability above 250 °C. Electrical, structural, and optical studies of these IL-doped biopolymer electrolyte films are presented in detail. The performance of EDLCs was evaluated using low-frequency electrochemical impedance spectroscopy, cyclic voltammetry, and constant current charge–discharge, while that of DSSCs was assessed using J–V characteristics. The EDLC cells exhibited a high specific capacitance of 200 F/gram, while DSSCs delivered 1.53% efficiency under sun conditions.


Introduction
Technologies are developed with the aim of serving humanity to make life easier and faster. Technologies have both positive and negative impacts on both living creatures and the lithosphere, hydrosphere, and atmosphere. Thousands of researchers are working day and night in the field of research and development to develop new technologies which can minimize the hazardous impacts of existing technologies, and also enhance their existing limitations [1][2][3][4][5]. The development of promising alternate bio-degradable electrochemical systems and their application in electrochemical devices could contribute to less polluting, environmentally friendly devices. Synthetic polymers are the main concern due to their adverse impacts on the ecosystem because of wide day-to-day applications as stabilizers, thickeners, binders, dispersants, lubricants, adhesives, carrier bags, etc. [5][6][7]. These polymers are non-biodegradable and endure for more than 20 years without decaying, which contributes to environmental pollution. Developing alternate bio-degradable polymers extracted from plants and animals, such as starch, protein, lipids, etc., to replace existing synthetic polymers such as polyether, polypropylene, polyethene, etc., could contribute

Ionic Conductivity
To measure the bulk resistance of all the synthesized KIBPEs and ILBPEs, electrochemical impedance spectroscopy technique was used within a frequency range of 10 Hz to 10 6 Hz. The ionic conductivity (σ) of the films was calculated using Equation (1).
where R b is the bulk resistance, L is the thickness, and A represents the area of the electrode used to sandwich the films. The thickness of both the KIBPE and ILBPE films was between 0.014 cm and 0.018 cm. The overall conductivity values of all films, determined using EIS measurements, are tabulated in Table 1 and plotted in Figure 1. Thus, it is clear that for both the BPE and ILBPE systems, the conductivity increased initially, attained maxima, and then decreased. In KIBPEs, we have achieved the conductivity maxima at 50 weights % concentration of KI with a conductivity value of 1.50 × 10 −4 S/cm (Figure 1a), whereas in ILBPEs, we achieved the highest conductivity at 8 weight % concentration of IL with a conductivity value of 3.10 × 10 −3 S/cm ( Figure 1b). Single maxima as well as double maxima in dispersed polymer electrolyte systems have already been cited in the literature, where conductivity enhancements are due to additional charge carriers; lower maxima indicate the formation of charge pair ions [32,33]. Maximum conducting ILBPEs were sandwiched between the electrodes to fabricate EDLCs and DSSCs. In ILBPEs, the extant studies are restricted to a 12 weight% IL concentration due to the non-availability of free-standing biopolymer electrolyte film.

Ionic Conductivity
To measure the bulk resistance of all the synthesized KIBPEs and ILBPEs, electrochemical impedance spectroscopy technique was used within a frequency range of 10 Hz to 10 6 Hz. The ionic conductivity (σ) of the films was calculated using Equation (1).
where Rb is the bulk resistance, L is the thickness, and A represents the area of the electrode used to sandwich the films. The thickness of both the KIBPE and ILBPE films was between 0.014 cm and 0.018 cm. The overall conductivity values of all films, determined using EIS measurements, are tabulated in Table 1 and plotted in Figure 1. Thus, it is clear that for both the BPE and ILBPE systems, the conductivity increased initially, attained maxima, and then decreased. In KIBPEs, we have achieved the conductivity maxima at 50 weights % concentration of KI with a conductivity value of 1.50 × 10 −4 S/cm (Figure 1a), whereas in ILBPEs, we achieved the highest conductivity at 8 weight % concentration of IL with a conductivity value of 3.10 × 10 −3 S/cm ( Figure 1b). Single maxima as well as double maxima in dispersed polymer electrolyte systems have already been cited in the literature, where conductivity enhancements are due to additional charge carriers; lower maxima indicate the formation of charge pair ions [32,33]. Maximum conducting ILBPEs were sandwiched between the electrodes to fabricate EDLCs and DSSCs. In ILBPEs, the extant studies are restricted to a 12 weight% IL concentration due to the non-availability of free-standing biopolymer electrolyte film.

Wagner's DC Polarization
Wagner's DC polarization method was applied to measure the ionic transference number of the highest conducting KIBPE and ILBPE films. A low DC voltage amplitude was applied across the film for 4500 s, as shown in Figure 2a,b. Initially, the current dramatically increased, then rapidly decreased over time, and finally stabilized. The stabilization of the current was due to the occurrence of electrode polarization upon the application of DC potential, which caused the deposition of ions across the electrode. The ionic transference number (t ion ) was calculated using Equation (2) using the data evaluated from Figure 2.

Wagner's DC Polarization
Wagner's DC polarization method was applied to measure the ionic transference number of the highest conducting KIBPE and ILBPE films. A low DC voltage amplitude was applied across the film for 4500 s, as shown in Figure 2a,b. Initially, the current dramatically increased, then rapidly decreased over time, and finally stabilized. The stabilization of the current was due to the occurrence of electrode polarization upon the application of DC potential, which caused the deposition of ions across the electrode. The ionic transference number (tion) was calculated using Equation (2) using the data evaluated from  The calculated values of KIBPE and ILBPE were 0.97 ( Figure 2a) and 0.94 (Figure 2b), respectively, which confirmed that both systems were predominantly ionic in nature.

Linear Sweep Voltammetry
The linear sweep voltammetry (LSV) technique was applied within a symmetrical voltage range of −3.5 V to 3.5 V to evaluate the electrochemical stability window (ESW) of the highest ionic conducting KIBPE and ILBPE films at a scan rate of 10 mV/s. Figure 3 shows the increase and decrease in the value of the current when the voltage ranged from −3.5 V to 3.5 V. For both the electrolyte films, it was observed that the value of the current decreased rapidly and tended to stabilize within their potential range. The region where the current tended to stabilize is known as the ESW of the films. ESWs of 5.16 volts ( Figure  3a  The calculated values of KIBPE and ILBPE were 0.97 ( Figure 2a) and 0.94 (Figure 2b), respectively, which confirmed that both systems were predominantly ionic in nature.

Linear Sweep Voltammetry
The linear sweep voltammetry (LSV) technique was applied within a symmetrical voltage range of −3.5 V to 3.5 V to evaluate the electrochemical stability window (ESW) of the highest ionic conducting KIBPE and ILBPE films at a scan rate of 10 mV/s. Figure 3 shows the increase and decrease in the value of the current when the voltage ranged from −3.5 V to 3.5 V. For both the electrolyte films, it was observed that the value of the current decreased rapidly and tended to stabilize within their potential range. The region where the current tended to stabilize is known as the ESW of the films. ESWs of 5.16 volts (Figure 3a) and 4.3 volts (Figure 3b) were calculated for KIBPE and ILBPE, respectively. A high stability of 4.3 volt will definitely favor the fabrication of electrochemical devices.  Figure 4b,c that no peaks related to KI were detected for the KIBPE and ILBPE films, which indicates the complete dissolution of salt and IL into the matrix of the biopolymer. Additionally, a comparative study between KIBPE and ILBPE (Figure 4b,c) showed their broadness and hollow properties. Reductions in peak intensity, in addition to broadness and hollow characteristics, are clear indications of a suppressed crystallinity or enhanced amorphous nature achieved by doping salt/IL. It has been cited in the literature that the amorphous region provides more mobility with rich conductivity. These initial observations are supported by our conductivity, XRD, and POM studies [34].  Figure 4 shows the X-ray diffraction pattern of pure corn starch (CNS), KI, the highest conducting composition of the KIBPE film, and the highest conducting composition of the ILBPE films. The XRD pattern was recorded over a range of 2θ values from 10° to 80°. The XRD pattern of the KI salt ( Figure 4a) exhibited a crystalline nature, with intense to less intense narrow peaks at 22°, 25°, 36°, 42°, 45°, 52°, 57°, and 58°, whereas the XRD pattern of CNS ( Figure 4d) exhibited a broad peak at 20.5°, demonstrating the semi-crystalline nature of the CNS film. It is clear in Figure 4b,c that no peaks related to KI were detected for the KIBPE and ILBPE films, which indicates the complete dissolution of salt and IL into the matrix of the biopolymer. Additionally, a comparative study between KIBPE and ILBPE ( Figure 4b,c) showed their broadness and hollow properties. Reductions in peak intensity, in addition to broadness and hollow characteristics, are clear indications of a suppressed crystallinity or enhanced amorphous nature achieved by doping salt/IL. It has been cited in the literature that the amorphous region provides more mobility with rich conductivity. These initial observations are supported by our conductivity, XRD, and POM studies [34].   Figure 4 shows the X-ray diffraction pattern of pure corn starch (CNS), KI, the highest conducting composition of the KIBPE film, and the highest conducting composition of the ILBPE films. The XRD pattern was recorded over a range of 2θ values from 10° to 80°. The XRD pattern of the KI salt ( Figure 4a) exhibited a crystalline nature, with intense to less intense narrow peaks at 22°, 25°, 36°, 42°, 45°, 52°, 57°, and 58°, whereas the XRD pattern of CNS (Figure 4d) exhibited a broad peak at 20.5°, demonstrating the semi-crystalline nature of the CNS film. It is clear in Figure 4b,c that no peaks related to KI were detected for the KIBPE and ILBPE films, which indicates the complete dissolution of salt and IL into the matrix of the biopolymer. Additionally, a comparative study between KIBPE and ILBPE (Figure 4b,c) showed their broadness and hollow properties. Reductions in peak intensity, in addition to broadness and hollow characteristics, are clear indications of a suppressed crystallinity or enhanced amorphous nature achieved by doping salt/IL. It has been cited in the literature that the amorphous region provides more mobility with rich conductivity. These initial observations are supported by our conductivity, XRD, and POM studies [34].   Figure 5 shows the FTIR spectra of the CNS, KI, and ionic liquid, the highest conducting composition of KIBPEs, and the highest conducting composition of ILBPEs.

FTIR Spectroscopy
Spectra recorded over a wavenumber range from 4000 cm −1 to 400 cm −1 are shown in Figure 5; their functional groups are tabulated in Table 2. It is clear that there is peak position shift in KIBPEs and ILBPEs, which demonstrates the complex nature of the films (i.e., the interactions between the biopolymer and salt/IL). Comparative studies between host and dispersoids clearly affirmed that ILBPEs did not contain any new peaks other than those of the host material, confirming the composite nature of ILBPE films.  Figure 5 shows the FTIR spectra of the CNS, KI, and ionic liquid, the highest conducting composition of KIBPEs, and the highest conducting composition of ILBPEs. Spectra recorded over a wavenumber range from 4000 cm −1 to 400 cm −1 are shown in Figure 5; their functional groups are tabulated in Table 2. It is clear that there is peak position shift in KIBPEs and ILBPEs, which demonstrates the complex nature of the films (i.e., the interactions between the biopolymer and salt/IL). Comparative studies between host and dispersoids clearly affirmed that ILBPEs did not contain any new peaks other than those of the host material, confirming the composite nature of ILBPE films.    Figure 6 shows the POM images of the pure CNS, KIBPE, and ILBPE films. The image of CNS in the figure depicts some distinguishably brighter patches, in addition to shadowy patches. The brighter patches imply the distribution of crystalline (bright) region and amorphous (shadowy) regions, as cited in the literature. Close comparative study of CNS, KIBPEs, and ILBPEs (Figure 6a-c) showed that adding IL/salt increased the distribution of the amorphous shadowy region as compared with the crystalline bright region, which is well supported by our conductivity and XRD data. Figure 6 shows the POM images of the pure CNS, KIBPE, and ILBPE films. The image of CNS in the figure depicts some distinguishably brighter patches, in addition to shadowy patches. The brighter patches imply the distribution of crystalline (bright) region and amorphous (shadowy) regions, as cited in the literature. Close comparative study of CNS, KIBPEs, and ILBPEs (Figure 6a-c) showed that adding IL/salt increased the distribution of the amorphous shadowy region as compared with the crystalline bright region, which is well supported by our conductivity and XRD data.  Figure 7 shows the thermogravimetric analysis (TGA) results of pure CNS, KIBPE film, and ILBPE film; the TGA was performed within a temperature range from 30 °C (room temperature) to 500 °C (high temperature). From Figure 7, it is evident that all the three different films suffered initial weight loss up to 100 °C, which is due to the presence of traces of manure in DD water within the films. The pure CNS film was stable up to a temperature of 280 °C; KIBPE and ILBPE films were stable up to a temperature of 250 °C. Weight loss at higher temperatures is due to pre-carbonization and high-temperature reactions. The higher temperature stability of the KIBPE and ILBPE films indicates their suitability for application in devices at normal operating temperature, as well as extreme temperature conditions.  Figure 7 shows the thermogravimetric analysis (TGA) results of pure CNS, KIBPE film, and ILBPE film; the TGA was performed within a temperature range from 30 • C (room temperature) to 500 • C (high temperature). From Figure 7, it is evident that all the three different films suffered initial weight loss up to 100 • C, which is due to the presence of traces of manure in DD water within the films. The pure CNS film was stable up to a temperature of 280 • C; KIBPE and ILBPE films were stable up to a temperature of 250 • C. Weight loss at higher temperatures is due to pre-carbonization and high-temperature reactions. The higher temperature stability of the KIBPE and ILBPE films indicates their suitability for application in devices at normal operating temperature, as well as extreme temperature conditions.

Fabrication of the EDLC
Graphite sheets 1 cm 2 in size were cut using a paper cutter and used as current c lector electrodes. Porous-activated carbon synthesized from waste plastic with a surf area greater than 800 m 2 /g was used as the active material. To coat the active material o

Fabrication of the EDLC
Graphite sheets 1 cm 2 in size were cut using a paper cutter and used as current collector electrodes. Porous-activated carbon synthesized from waste plastic with a surface area greater than 800 m 2 /g was used as the active material. To coat the active material onto the surface of the current collector, a slurry containing 10% PVDF (as binder) and 100 mg of active material were thoroughly mixed using an agate mortar and pestle in the presence of an acetone solvent. The homogeneous slurry was coated using a paintbrush and dried at 100 • C; once dried, the electrodes were then stored before use as EDLC electrodes. The highest conducting polymer electrolyte was sandwiched between two electrodes to fabricate the EDLC.

Fabrication of the DSSC
Fluorine-doped tin oxide (FTO) conducting glass sheet was cut into sizes of 3 cm 2 and washed several times with a solution of DD water and acetone at a ratio of 50:50 in an ultrasonic bath and used as current collector electrodes for both the working and counter electrodes of the DSSC. Initially, a thin layer of dilute titanium diisopropoxide bis(acetylacetonate) was coated over the FTO glass using a spin coater, then annealed at 500 • C for 30 min, which enabled blocking. Above the blocking layer, a thick layer of nano-porous titania paste was coated and further annealed at 500 • C for 30 min to remove any impurities and to achieve a thickness of 10 microns. The resultant electrode was finally dipped in a N 7 dye solution at a concentration of 0.5 millimolars for 6-8 h. The electrode was removed from the dye solution and washed with ethanol to remove the loosely bound dye molecule, then dried at 50 • C and stored before use as the working electrode of the DSSC. Another clean and dried FTO sample was coated with a diluted solution of chloroplatinic acid using a spin coater and annealed at 500 • C for 30 min, then stored for use as the counter electrode of the DSSC. The highest conducting ILBPE was doped with 10% I 2 with respect to KI for redox couple formation, and then sandwiched between the working and the counter electrodes to fabricate the DSSC.

Low-Frequency Electrochemical Impedance Spectroscopy
LFEIS analysis of the EDLC cell fabricated using the highest conducting ILBPE was carried out within the low-frequency range. The Nyquist plot is shown in Figure 8. It is clearly seen that the spectra are divided into three different regions. A semi-circular section towards the high-frequency region showed its purely dielectric nature; the linear region making an angle of 40 • -45 • with the Z at mid-frequencies indicated the electrodeelectrolyte interaction; and the low-frequency region making an angle greater than 45 • with Z indicated electrode polarization, where the ions were absorbed towards the porous electrode. The probable equivalent circuit of the Nyquist plot was also fitted and analyzed using fitting software available in the electrochemical work station CHI 610D with the CH instrument, as depicted in the inset image of Figure 8. The values of different components, R s , R c , R v , Z w , C c , and C dl , were obtained as 6.61 Ω, 10.63 Ω, 7.83 Ω, 0.056 Ω, 3.33 × 10 −5 F, and 4.81 × 10 −7 F, respectively. The specific capacitance, C sp , of the cell was also calculated using Equation (3), where υ is the applied low frequency, Z is the complex part of the impedance, and m is the mass of active materials loaded on each electrode. A specific capacitance as high as 176 F/g was obtained from the fabricated EDLCs at a frequency of 10 −2 Hz. C sp = m 2πυZ (3) 9 of 14 of the impedance, and m is the mass of active materials loaded on each electrode. A specific capacitance as high as 176 F/g was obtained from the fabricated EDLCs at a frequency of 10 −2 Hz. C = m 2 " (3) Figure 8. LFEIS of the fabricated EDLC.

Cyclic Voltammetry
The cyclic voltammetry (CV) technique was performed for the fabricated EDLC to study the charge storage mechanism. In this technique, a linear sweeping voltage varying between 0 and 1 V was applied across the EDLC cells at scan rates of 0.005 v/s to 0.08 v/s ( Table 3). The cyclic voltammetry graph is plotted in Figure 9. The cyclic voltammogram plots are quite rectangular in shape, with some inclination toward the y-axis (current). The inclination was identified in the EDLC while sweeping from 0 to 1 volts and 1 to 0 volts. The inclination region was due to the charging and discharging of the capacitor. The perfect rectangular CV shape was only achieved using conventional dielectric capacitors. The specific capacitance values (Csp) at different scan rates of the EDLC cell were also calculated using Equation (4), where A is the average area under the curve, V is the voltage window, and S is the scan rate. The specific capacitance values were calculated, as detailed in Table 3.

Cyclic Voltammetry
The cyclic voltammetry (CV) technique was performed for the fabricated EDLC to study the charge storage mechanism. In this technique, a linear sweeping voltage varying between 0 and 1 V was applied across the EDLC cells at scan rates of 0.005 v/s to 0.08 v/s ( Table 3). The cyclic voltammetry graph is plotted in Figure 9. The cyclic voltammogram plots are quite rectangular in shape, with some inclination toward the y-axis (current). The inclination was identified in the EDLC while sweeping from 0 to 1 volts and 1 to 0 volts. The inclination region was due to the charging and discharging of the capacitor. The perfect rectangular CV shape was only achieved using conventional dielectric capacitors. The specific capacitance values (C sp ) at different scan rates of the EDLC cell were also calculated using Equation (4), where A is the average area under the curve, V is the voltage window, and S is the scan rate. The specific capacitance values were calculated, as detailed in Table 3.  Figure 9. Cyclic voltammetry of the fabricated EDLC. Table 3. Specific capacitance of the EDLC cell at different scan rates.
Scan Rate v/s Specific Capacitance F/g 0.005 200 Figure 9. Cyclic voltammetry of the fabricated EDLC.

Constant Current Charging and Discharging
Constant current charging and discharging (CCD) was carried out for the EDLC at a constant current of 4 mA and in a relative charging and discharging potential window of 1.06 volt. The first five cycles of all EDLC cells are plotted in Figure 10. The chargedischarge curves of all EDLC cells contained a linear region, varying with time, for both the charging and discharging cycles. Various necessary parameters of the EDLC cell, such as discharge specific capacitance (C dsp ), coulombic efficiency (C ef ), specific energy density (E d ), and specific power density (P d ) were calculated using Equations (5)- (8), where I is the applied constant current for charging and discharging, D t is the discharge time, V is the relative discharge potential, and C t is the charging time. The EDLC cell could deliver a specific discharge capacitance of as high as 200 F/g, a coulombic efficiency higher than 80%, an energy density as high as 35 Wh/kg, and a power density of 4080 W/kg. The EDLC delivered promising results, which proves its potential over existing electrolytes.
Molecules 2023, 28, x FOR PEER REVIEW 11 of 14 Figure 10. CCD of the EDLC fabricated in our own laboratory.

Performance of the DSSC
The J-V characteristics of DSSCs were recorded using a solar simulator to measure the overall performance and charge transfer mechanism. In this technique, a sweeping voltage is applied across the working and counter electrodes of the DSSC, irradiated at a condition of one sun (1000 W/m 2 ) and at a scan rate of 0.1 v/s. The value of the current density with respect to voltage was recorded, and the J-V curve was plotted, as shown in Figure 11. Key parameters of fill factor (FF) and photon conversion efficiency (η) were calculated using the formulae presented in Equations (9) and (10), respectively, where Vo is the open circuit voltage, Jsc is the short circuit current, Vmax is the peak voltage, and Jma is the peak load current. The DSSC was able to deliver an η of 1.53% with an FF of 72. The DSSC also generated Voc, Jsc, Vmax, and Jmax values of 0.77 V, 2.43 mA/cm 2 , 0.76 V, and 2.02 mA/cm 2 , respectively.

Performance of the DSSC
The J-V characteristics of DSSCs were recorded using a solar simulator to measure the overall performance and charge transfer mechanism. In this technique, a sweeping voltage is applied across the working and counter electrodes of the DSSC, irradiated at a condition of one sun (1000 W/m 2 ) and at a scan rate of 0.1 v/s. The value of the current density with respect to voltage was recorded, and the J-V curve was plotted, as shown in Figure 11. Key parameters of fill factor (FF) and photon conversion efficiency (η) were calculated using the formulae presented in Equations (9) and (10), respectively, where V oc is the open circuit voltage, J sc is the short circuit current, V max is the peak voltage, and J max is the peak load current. The DSSC was able to deliver an η of 1.53% with an FF of 72. The DSSC also generated V oc , J sc , V max , and J max values of 0.77 V, 2.43 mA/cm 2 , 0.76 V, and 2.02 mA/cm 2 , respectively.
condition of one sun (1000 W/m 2 ) and at a scan rate of 0.1 v/s. The value of the current density with respect to voltage was recorded, and the J-V curve was plotted, as shown in Figure 11. Key parameters of fill factor (FF) and photon conversion efficiency (η) were calculated using the formulae presented in Equations (9) and (10), respectively, where Voc is the open circuit voltage, Jsc is the short circuit current, Vmax is the peak voltage, and Jmax is the peak load current. The DSSC was able to deliver an η of 1.53% with an FF of 72. The DSSC also generated Voc, Jsc, Vmax, and Jmax values of 0.77 V, 2.43 mA/cm 2 , 0.76 V, and 2.02 mA/cm 2 , respectively. Figure 11. J-V characteristics of the fabricated DSSC under one sun conditions. Figure 11. J-V characteristics of the fabricated DSSC under one sun conditions.

Synthesis of Biopolymer Electrolyte
The corn starch doped with ionic liquid (EmImSCN) and KI biopolymer electrolytes were synthesized using the solution caste technique. Following a common procedure, initially, the host polymer was fixed at 300 mg, then dissolved in DD water, after which 30 mg of glutaraldehyde was added as a preservative agent to avoid any bacterial and fungal growth. Multiple samples of CNS and glutaraldehyde were prepared at 50 • C, to which different weight % concentrations (10-90) of KI were added, then stirred for 6 h until homogenous, uniform mixtures were formed. The synthesized KI mixed biopolymer electrolytes (KIBPEs) were poured into the polypropylene Petri dish and allowed to dry overnight at 50 • C. Different ionic EmImSCN liquids of varying weight% concentrations (2, 4, 6, 8, 10, 12, 14, 16, and 18) were added to multiple solutions of the highest conducting KI-doped biopolymer electrolyte and stirred overnight to obtain homogenous mixtures of ionic-liquid-doped biopolymer electrolyte solutions. The homogenous solutions were poured into polypropylene Petri dishes and dried overnight at 50 • C, followed by vacuum dying to evaporate any minute traces of solvent if present. Finally, various characterizations were used for various analyses; the results are presented in detail.

Electrolytes
For the KIBPEs and ILBPEs, electrochemical impedance spectroscopy (EIS) was used to measure the bulk resistance of all the synthesized KIBPE and ILBPE films to determine the highest conducting compositions. Wagner's DC polarization was used to calculate the ionic transference number (t ion ); linear sweep voltammetry was used to identify the electrochemical stability window (ESW). X-ray diffraction (XRD) and polarized optical microscopy (POM) were used for structural analysis, followed by Fourier-transform infrared spectroscopy (FTIR) to study interactions among the materials; thermogravimetric analysis (TGA) was performed to measure the thermal stability.

Devices
For the electric double layer capacitor (EDLC), low-frequency electrochemical impedance spectroscopy (LFEIS) and cyclic voltammetry (CV) were used to measure the specific capacitance and constant current charging and discharging (CCD), respectively, identifying the specific capacitance, coulombic efficiency, power density, and energy density, which are some key parameters related to the performance. J-V characteristics were recorded using a solar simulator to measure the overall photon conversion efficiency (η) of the DSSC. EIS measurements of the fabricated DSSC were carried out to determine the charge transfer mechanism of the DSSC.

Conclusions
Highly conductive ionic-liquid-incorporated biopolymer electrolytes seem to be good candidates for applications in electrochemical devices. Electrochemical impedance spectroscopy (EIS) showed that conductivity increased with IL doping and a value as high as 10 −3 S/cm was achieved, which is acceptable for application in electrochemical devices. This conductivity enhancement is attributed to the increase in the number of charge carriers or the reduction in crystallinity by IL incorporation. XRD and POM studies further confirmed the reduction in crystallinity (more amorphous nature) in the more conductive region. The complexation and composite nature were further confirmed by FTIR spectroscopy, while the thermal stability results (TGA) confirmed that our biopolymer electrolyte was stable to a temperature of 280 • C. The fabricated sandwich EDLC and DSSC devices demonstrated remarkable performance, with capacitance values as high as 200 F/g; the DSSC exhibited an efficiency of 1.53% under one sun conditions.