Introduction

Presently, due to the growing energy demand with the increase in the world’s population, many researchers are investigating innovative technologies to accelerate energy savings or energy efficiency to improve quality of life1,2,3. The use of electrochromic (EC) devices in the production of smart windows is imperative as a primary technology because they can facilitate energy savings by actively adjusting the sunlight flux that enters a building. The ability to regulate heat flow into a building by changing the transparency or reflectance of an EC structure via an applied voltage results in a savings of >40% of the energy consumption4,5. In addition, EC devices are promising for use in a variety of optoelectronic applications, such as electronic displays, electronic paper, and rear-view mirrors, due to the realization of multiple colors by the adjustment of the operating voltage6. Recently, the implementation of electrochemical energy storage in EC devices has received significant interest as a potential avenue for expanding their applications. When the device performs optical modulation, a pseudocapacitance is usually generated via a reversible redox reaction at the electrode surface that results in the storage of charge7. Such a device can realize multiple functions of optical modulation and energy storage/release simultaneously, and thus can automatically monitor the level of stored energy via variation of the optical properties (transmittance or color). The EC energy storage performance (optical modulation, coloration efficiency (CE), switching speed, long-cycling stability, specific capacitance, and rate capability) of multifunctional devices is believed to be attributed to the electrochemical double-behavior of electrons and cations on active materials. In this case, the optical modulation, CE, and specific capacitance are mainly related to the degree of insertion/extraction of electrons and cations into/from the active materials in response to the applied voltage and the degree of the switching speed, and the rate capability is directly determined by the ion diffusivity and electron conductivity on active materials8,9. Among the active materials of multifunctional devices classified as inorganic materials (transition metal oxides, Prussian blue-based materials, etc.) and organic materials (conjugated polymers, arylamine-based polymers, viologens, etc.), tungsten oxide (WO3) is an advanced pseudocapacitive material with favorable EC characteristics of reversible color variation from optical transparency to deep blue, in addition to high contrast, good electrochemical stability, and low cost10. Typically, the WO3 materials exhibit a significant difference in their electrochemical behavior related to the EC performance of their amorphous and crystalline structures. For crystalline WO3, there are limitations associated with ion movement because their densely packed structure and electroactive site near larger grains cause a reduction in electrochemical performance while ensuring electrochemical cycling stability11. On the other hand, amorphous WO3 (a-WO3) facilitates a favorable movement of ions due to the organization of a loosely packed atomic structure with large tunnels, leading to superb electrochemical kinetics compared to the crystalline WO3 structure12. However, to the best of our knowledge, a-WO3-based devices unfortunately encounter limitations of the EC energy storage performance, such as the CE value (20‒38 cm2/C), switching speed (3.0‒5.0 min for 1524 × 3048 mm2 of SageGlass®), and specific capacitance (60‒100 F/g) as a result of a low diffusion coefficient and a long diffusion pathway for ion insertion, which still remains an important factor to be addressed for the realization of high-performance multifunctional devices13,14.

In various efforts to improve the EC energy storage performance using a-WO3 films, the design of the film structure by tuning the crystal structure and morphology of a-WO3 materials and the introduction of complexation with polymer materials have been performed by some researchers15,16,17. There was a recent attempt to produce complementary heterostructure WO3 films with crystalline WO3 nanoparticles in an a-WO3 matrix that can produce more electroactive sites and accelerated ion kinetics, which improves the transmittance modulation of the EC devices, together with a high diffusion coefficient and charge/discharge density to increase the electrochemical performance for energy storage18. As another effective route, the complexation of a-WO3 with polymer materials (polyaniline and polypyrrole) has received much attention with regard to improving the EC energy storage performance of next-generation active materials. Although, these composite film structures mostly exhibit good switching speeds below 5.0 s due to the superb electrical conductivity of polymer-based materials, they still suffer from serious degradation of the electrochemical activity and kinetics under successive operating conditions, as a result of physically mixed inorganic/organic film structures to limit charge transport by boundary scattering between two different materials and to aggravate adhesion with substrates by ununiform distribution of inorganic particles in an organic matrix. This contributes to the critical point for the effective development of multifunctional devices with EC energy storage performance19,20,21,22. Therefore, the novel design of hybrid a-WO3 film structures based on the unique advantages of each inorganic and organic material is suggested as an important approach for the improvement of EC energy storage performance. This has not been considered in previous reports on multifunctional devices with both EC behavior and electrochemical energy storage.

These findings encourage us to concentrate on utilizing chitosan as an innovative organic material for improving EC energy storage performance. Chitosan, which is produced by the deacetylation of chitin in processing the discarded remnants of shrimp, is one of the most abundant and renewable natural polymers, with biocompatible and biodegradable characteristics, and thus has been widely used in the molecular separation and water treatment23,24. In addition, chitosan, as a functional polymer with abundant hydroxyl and amine groups, has the potential to be utilized as an N-doping source on carbon materials to achieve good photocatalytic performance and as an effective membrane, as a result of cross-linking of the chitosan to achieve superb pervaporation performance to separate various aqueous organic sols24,25. However, since there is limited electrochemical performance when chitosan is used autonomously as an electroactive material owing to its intrinsic molecular structure, which is electrochemically inactive, in this study, we should consider a complementary design with chitosan thin films as a unique medium for accelerating the electrochemical behavior of the a-WO3 films to enhance EC energy storage performance.

Herein, we designed novel hybrid films of chitosan embedded with WO3·H2O nanoparticles (WHNPs) on a-WO3 films to implement fast and stable EC energy storage performance of multifunctional devices. Interestingly, chitosan is not only used as an intensive accelerator for electrochemical behavior with cations due to its abundant functional groups but is also utilized as a linking medium to connect other elements via protonated amine groups (-NH3+) under acidic conditions. This phenomenon is expected to facilitate a remarkable chemical linking to the WHNPs with oxygen vacancies and cross-linking between the chitosan molecules and thus provides improved electrochemical kinetics, as well as stability of the a-WO3-based films. Based on this unique phenomenon, we also demonstrate how the EC energy storage performance is affected by the hybrid effect of the chitosan and the WHNPs on the a-WO3-based films.

Materials and methods

a-WO3/WHNP-embedded chitosan hybrid films were prepared by using the spin-coating method. First, the preparation of the a-WO3 films was achieved by spin-coating a sol-solution of 10 wt% tungsten(VI) chloride (WCl6, Aldrich) dissolved in 2-propanol ((CH3)2CHOH, Aldrich) on commercial F-doped SnO2 (FTO) films (Pilkington, 8.0 Ω/□), followed by annealing at 300 °C in air for 1 h (herein named bare a-WO3). The WHNPs for embedding in the chitosan thin films were fabricated using the hydrothermal method. In summary, 0.05 M tungstic acid (H2WO4, Aldrich) and 6 M hydrochloric acid (HCl, Samchun) were dissolved in deionized (DI) water. Then, the prepared solution was transferred into a Teflon-lined autoclave and maintained at 180 °C for 1 h in an oven. Afterward, the autoclave was cooled, and the resultant precipitate was washed with DI water to obtain pure WHNPs. Subsequently, the obtained WHNPs (0.01 wt%) were mixed with the chitosan solution prepared by dissolving 0.5 wt% chitosan (medium molecular weight, Aldrich) in DI water with 1 vol% acetic acid (CH3CO2H, Aldrich) and then spin-coating the mixture onto the a-WO3 films at a speed of 2,000 rpm for 30 s, resulting in the formation of a-WO3/WHNP-embedded chitosan hybrid films (referred to as a-WO3/CH@WHNP) after drying at 80 °C for 1 h. For comparison, a-WO3 films with only chitosan were fabricated (referred to as a-WO3/CH).

The investigation of crystal structure was performed by using X-ray diffraction (XRD, Rigaku D/Max−2500 diffractometer using Cu Kα radiation). The chemical binding state was characterized via X-ray photoelectron spectroscopy (XPS, AXIS ultra-delay line detector equipped with an Al Kα X-ray source, KBSI Daedeok Headquarters) and Fourier transform infrared (FTIR) spectroscopy (Thermo Fisher Scientific, Nicolet iS50). The surface and cross-section morphologies were revealed via field-emission scanning electron microscopy (FESEM, Hitachi S−4800) and atomic force microscopy (AFM, diDimensionTM 3100). The element distribution was analyzed using an energy dispersive spectrometer (EDS), and the electrical and optical properties were studied using a Hall-effect measurement system (Ecopia, HMS-3000) and ultraviolet−visible (UV−vis) spectroscopy (Perkin−Elmer, Lambda−35), respectively. The electrochemical analysis was conducted using a potentiostat/galvanostat (PGSTAT302N, FRA32M, Metrohm Autolab B.V., the Netherlands) and electrochemical impedance spectroscopy (EIS) in a three electrode system with a 1 M LiClO4 electrolyte (in propylene carbonate (PC)), a platinum (Pt) wire as the counter electrode, and a silver (Ag) wire as the reference electrode. The wettability of the electrolyte at the interface of all films was characterized using a contact angle meter (CAM 200, Ksv Instruments). The EC energy storage performance of a single electrode and multifunctional device was measured in situ by a combination of a potentiostat/galvanostat and UV−vis spectroscopy.

Results and discussion

As a unique approach to the enhancement of the EC energy storage performance of a-WO3 films, we introduced a WHNP-embedded chitosan thin film onto their surface, as shown in Fig. 1a. Although chitosan lacks EC behavior due to the absence of a phase transition with the applied potential, its large number of -NH2 and -OH functional groups can act as accelerators for electrochemical behavior with cations26,27. In addition, this hybrid material can exhibit a strong chelate effect on the elements of the WHNPs due to the special functional group of the chitosan that has a complementary impact on the electrochemical behavior28. To confirm the elaborate structure of bare a-WO3, a-WO3/CH, and a-WO3/CH@WHNP, XRD analysis was conducted on all the films prepared on glass substrates. As shown in Fig. 1b, bare a-WO3 gives rise to a broad diffraction peak centered at ~23.1°, which is indicative of the presence of the a-WO3 structure29. With the introduction of the chitosan thin film on a-WO3 films (a-WO3/CH), there is a slight decrease in the diffraction intensity without structural variation of the a-WO3. For a-WO3/CH@WHNP, the presence of an additional sharp diffraction peak at 16.5° was observed, which is well matched to the (020) plane of WO3·H2O with an orthorhombic structure, as shown in the enlarged XRD results (Supplementary Fig. 1) for the WHNPs (Supplementary Fig. 2). The introduction of chitosan and WHNPs is also confirmed by a comparison of the absorption spectra measured from all the films. Compared to the spectra of bare a-WO3, the spectra of a-WO3/CH reveal an absorption band at ~400.0 nm due to functional groups along the chains of chitosan29,30. In addition, for a-WO3/CH@WHNP, there is an absorption band in the visible region due to the existence of the WHNPs on the WO3 film (see Fig. 1c)6. Thus, these results indicate the successful introduction of chitosan thin films with WHNPs on a-WO3 films using a spin-coating method.

Fig. 1: Emergence of chitosan thin films with the WHNPs on the a-WO3 films.
figure 1

a Schematic structure of a-WO3/CH@WHNP, b XRD patterns, and c absorption curves obtained from all the films.

To evaluate the chemical characteristics of the films due to the hybrid effect of the chitosan and the WHNPs, XPS analysis was performed, and the results are shown in Fig. 2a–c. All binding energies of the XPS spectra were fixed by referencing the C 1 s peak at 284.5 eV. In the W 4 f XPS core-level spectra shown in Fig. 2a, the dominant peak of all films was observed at ~35.1 eV for W 4f7/2 and ~37.2 eV for W 4f5/2. This is attributed to the binding energy of W6+ in the a-WO3 phases32. For a-WO3/CH@WHNP, there is an additional pair of doublets at ~34.3 eV for W 4f7/2 and ~36.5 eV for W 4f5/2 that corresponds to W5+, based on the evidence of 2.3% oxygen vacancies (Vo) of nonstoichiometric WHNPs33. From Fig. 2b, a definite distinction of the O 1 s XPS core-level spectra among the films is observed. Compared to bare a-WO3, which exhibits two characteristic peaks at ~529.9 and ~531.2 eV due to the W-O and -OH bonds, respectively, there is an additional characteristic peak at ~532.2 eV due to the C-O bond in a-WO3/CH29. In addition, the -OH/W-O peak area ratio of a-WO3/CH (56.4%) was higher than that of bare a-WO3 (46.8%). These results are attributed to the chitosan thin film with carbonyl groups that interact with hydroxyl groups, as reported by V. D. Pickenhahn et al. and M. G. Dekamin et al.34,35. a-WO3/CH is responsible for the characteristic peaks at ~398.3 and ~400.3 eV in the N 1 s XPS core-level spectra that are assigned to the amine group (-NH2) and protonated amine group (-NH3+) of chitosan, respectively (Fig. 2c). These groups can be useful for electron transport in the films and result in the improvement of the electrical conductivity (5.25 × 10−8 S/cm) compared to bare a-WO3 (4.59 × 10−8 S/cm), as confirmed in Fig. 2d36,37. In addition, -NH3+ that is easily formed from -NH2 of chitosan under acidic conditions can lead to the formation of mechanically strong chitosan thin films that are cross-linked due to electrostatic interactions between them38. The O 1 s XPS core-level spectra of a-WO3/CH@WHNP have a characteristic peak related to Vo of the WHNPs at 529.2 eV that is well-matched to the presence of W5+, as shown in the W 4 f XPS core-level spectra. In addition, the existence of Vo can also be explained by optical bandgap narrowing of a-WO3/CH@WHNP caused by extra carriers by the WHNP compared to that of a-WO3/CH (Supplementary Fig. 3)39,40. This can serve as the color or energy storage center and is attributed to excess electrons and the pathway for the improvement of electrical conductivity41. However, despite the unique features of the WHNPs, in the previous report, there is a limitation with respect to achieving satisfactory electrical conductivity for electrochemical behavior because of the increasing interparticle boundary due to the minute size of the WHNPs in the films42. Surprisingly, for a-WO3/CH@WHNP, two characteristic peaks that are distinct from that of a-WO3/CH are emitted at 399.0 and 401.5 eV in the N 1 s XPS core-level spectra (Fig. 2c). These peaks can be attributed to the H-N and Vo-N bonds. According to Shao and Choi et al., the characteristic peaks are related to anionic N- to form O-Ti-N or O-W-N linkages by bonding with positively charged elements43,44,45,46. Therefore, we believe that the H (in the edge region) and Vo of the WHNPs with partially positive charges can form chemical bonds with the amine-related groups of chitosan due to its chelation effect. This is confirmed by the N 1 s XPS core-level spectra of the films that were fabricated with pure WO3 nanoparticles (a-WO3/CH@WO3 NP), as confirmed by the emission of W6+ peaks in Supplementary Fig. 4a, which show the absence of the H-N and Vo-N bonds (Supplementary Fig. 4b). This result is also confirmed by the FTIR results that show strong H-N stretching vibrations at 3230 per cm on a-WO3/CH@WHNP, while weakening the NH2 and NH3+ stretching vibrations related to the functional groups of chitosan (Supplementary Fig. 5). Therefore, the chemical interaction of the chitosan thin films that act as a conducting matrix and the WHNPs with oxygen vacancies can become the dominant route for improving electron transport. Thus, there is an improvement in the electrical conductivity of the hybrid films (a-WO3/CH@WHNP) compared to the other films.

Fig. 2: Chemical bonding states and resultant electrical conductivity.
figure 2

XPS core-level spectra of a W 4 f, b O 1 s, and c N 1 s, and d electrical conductivity obtained from all the films.

Figure 3a–c shows top-view FESEM images of bare a-WO3, a-WO3/CH, and a-WO3/CH@WHNP. In the case of bare a-WO3 (Fig. 3a), a densely uniform structure without any discernible particulates is observed throughout the surface of the films8. In the case of a-WO3/CH, as shown in Fig. 3b, although the surface structure appears to be similar to that of bare a-WO3, the highest root mean square roughness (Rms) obtained from the AFM analysis (Supplementary Fig. 6b) is lower than that of bare a-WO3 (Supplementary Fig. 6a). This implies that chitosan thin films are introduced in the range of ~16.0–25.0 nm, as shown in Supplementary Fig. 7a. In Fig. 3c, a-WO3/CH@WHNP has well-dispersed NPs on the films with diameters in the range of ~6.2–11.9 nm (Supplementary Fig. 7b). This may be attributable to the static repulsion caused by the electrostatic interaction between -NH3+ of the chitosan and the surface of the WHNPs31. Interestingly, there is no noticeable variation in the Rms of a-WO3/CH@WHNP (Supplementary Fig. 6c) compared to that of a-WO3/CH despite the existence of the WHNPs. This indicates that the WHNPs are uniformly embedded in the chitosan thin films without any changes in their surface structure, which is expected to clearly demonstrate the hybrid effects on the EC energy storage performance using chitosan and the WHNPs. As additional proof to confirm the presence of chitosan and the WHNPs, the EDS results of the WHNP-embedded chitosan thin films prepared on glass substrates (Fig. 3d) show the elemental distribution of N from chitosan and W from the WHNPs. Therefore, in accordance with the XRD, XPS, SEM, and AFM results discussed above, the elaborate architecture of the hybrid films (a-WO3/CH@WHNP) is clearly confirmed.

Fig. 3: Surface morphological characterization.
figure 3

ac Top-view FESEM images of bare a-WO3, a-WO3/CH, and a-WO3/CH@WHNP, respectively, and d EDS result to show the existence of N and W elements of a-WO3/CH@WHNP.

To provide further evidence of the effects of the WHNP-embedded chitosan thin films on the a-WO3 films, the interfacial resistance of the films was measured using EIS. Figure 4a shows the Nyquist plots for three characteristic zones related to the sheet resistance of the FTO films (series resistance, Rs), the charge transfer resistance from the active material in contact with the electrolyte (radius of the semicircle arc, Rct), and the electrolyte ion diffusion impedance (Warburg region, Zw). These results are summarized in Supplementary Table 1 by fitting the EIS results47. As expected, although there is no variation in the series resistance among the films because of the identical sheet resistance of the FTO films, the smaller semicircle and shorter Warburg region of a-WO3/CH@WHNP compared to the others is noted, which are indicative of enhanced electrical conductivity and Li-ion diffusivity, respectively, due to the introduction of the WHNP-embedded chitosan thin films. This result indicates that the existence of chitosan thin films can cause EC stability by decreasing the charge transfer resistance of the a-WO3 films as a result of electrochemical behavior in which charges are freely obtained from a-WO3 films. In addition, the improvement in the kinetic characteristics was also confirmed by the open-circuit voltage decay (OCVD) curves obtained from multifunctional devices with all film active materials and Pt films as the counter electrodes by the removal of the coloring potential (−0.7 V; Fig. 4b). Given that the OCVD of the devices is associated with the leakage current generated due to interfacial resistance between the components, the relaxed OCVD of a-WO3/CH@WHNP compared to those of the other films can indicate the ability to facilitate efficient transport of the electrons and Li ions, without undergoing losses at the active material48,49. These striking kinetic characteristics are attributable to the unique impact of chemical linking between the chitosan and the WHNPs (Fig. 4c). More interestingly, there is no critical variation in the semicircle and the Warburg region on the electrodes with the chitosan thin films (a-WO3/CH and a-WO3/CH@WHNP) after 1000 cycles of electrochemical processes, compared to bare a-WO3, which exhibits a larger semicircle and longer Warburg region (1000 cycles), as summarized in Supplementary Table 1. This result highlights additional advantages of chitosan thin films that improve the electrochemical stability of the active materials during repetitive EC processes due to strongly cross-linked structures via electrostatic interactions between chitosan molecules (Fig. 4c).

Fig. 4: Electrochemical kinetic behavior and related mechanism of performance improvement.
figure 4

a Nyquist plots of the EIS obtained from all the films before (circular solid line with circle) and after 1000 cycles (dotted line), b OCVD curves of the multifunctional devices assembled with gel polymer electrolyte and Pt films as the counter electrode, and c possible mechanism to improve electrochemical behavior due to chemical cross-linking between chitosan and WHNP.

The electrochemical performance of all films in terms of application in multifunctional devices was evaluated using the CV curve measured in the three electrode system. By analyzing the resulting curve in the potential region from −0.7 to 1.0 V (vs. Ag wire) at a scan rate of 20 mV/s (Fig. 5a), it is observed that all the films have a broad redox curve without any sharp peaks. This is indicative of the EC behavior of a-WO3 to reversibly vary the color from deep blue in the colored state to transparent in the bleached state and vice versa, by double insertion/extraction of electrons and Li ions into/out of the films, as indicated by the following equation (Eq. (1))50:

$${\mathrm{WO}}_{\mathrm{3}}\left( {{\mathrm{bleached}}} \right){\mathrm{ + }}{\it{x}}{\mathrm{Li}}^{\mathrm{ + }}{\mathrm{ + }}{\it{x}}{\mathrm{e}}^{\mathrm{ - }} \leftrightarrow {\mathrm{Li}}{\it{x}}{\mathrm{WO}}_{\mathrm{3}}\left( {{\mathrm{colored}}} \right)$$
(1)

It is also noted that the CV curve of a-WO3/CH@WHNP has a larger area in proportion to the redox current density than those of bare a-WO3 and a-WO3/CH, indicating superb electrochemical activity. This is mainly attributed to the presence of the WHNP-embedded chitosan on the a-WO3 films. By comparing bare a-WO3 and a-WO3/CH, it is observed that the introduction of chitosan thin films improves the electrochemical activity, which may be due to the increase in surface wettability with respect to the electrolyte to facilitate the access of the electrolyte to the surface of the electrodes where the electrochemical reaction occurs, given that the functional groups of chitosan, such as the hydroxyl and amine groups, cause the film’s surface to be strongly hydrophilic. This was confirmed by the decreased contact angle of the electrolyte at the interface (Supplementary Fig. 8)51,52,53,54. Moreover, the hybrid WHNPs in chitosan thin films can induce enhanced insertion/extraction of Li ions because the intercalated water molecules in the WO3·H2O have a wider interplanar spacing (d = 5.36 Å) than those of WO3 (d = 3.84 Å), thereby suggesting outstanding electrochemical activity to facilitate good reaction capacity of electrons and Li ions in the films55,56. In Supplementary Fig. 9, the correlation between the increase in the peak current density (Jp) and the square root of the scan rate (Co) in the CV curve provides information about the Li-ion diffusion coefficient (D) from the electrolyte to the film’s surface6. As determined according to the Randles−Sevcik equation, a faster Li-ion diffusion coefficient of a-WO3/CH@WHNP (10.49 × 10−9 cm2/s) compared to the others (2.95 × 10−9 cm2/s for bare a-WO3 and 7.69 × 10−9 cm2/s for a-WO3/CH) is observed. This is due to the improved electrical conductivity caused by chemical linking between chitosan and the WHNPs in the hybrid films (Fig. 2d). This electrochemical behavior can serve as an important factor in the improvement in EC energy storage performance11,32. In the in situ optical transmittance curve that was traced by scanning the applied potential of −0.7 V for the colored state and 1.0 V for the bleached state for 60 s (Fig. 5b), the critical aspects of transmittance modulation (ΔT) and switching speed can be confirmed. As summarized in Table 1, the transmittance modulation (ΔT = transmittance value at the bleached state (Tb) - transmittance value at the colored state (Tc)) of a-WO3/CH@WHNP is up to 57.7%, which is higher than the value of 7.6% for bare a-WO3 due to the increased electrochemical activity of the hybrid effect with chitosan and the WHNPs, which is also proved by the transmittance spectra in the wavelength range of 400‒800 nm traced at different working states (Supplementary Fig. 10). The switching speed, which is defined as the coloration/bleaching time extracted for a 90% transmittance modulation at 633.0 nm, was much faster in a-WO3/CH@WHNP (Fig. 5c). Improvements in the values by 19.5 times for the bleached state and 2.6 times for the colored state were observed when compared to that of bare a-WO3. These results are excellent relative to those obtained from previous studies of WO3-based EC films, as shown in Supplementary Table 2. The striking enhancement is primarily due to the increased electrical conductivity and Li-ion diffusivity via strong chemical interaction between chitosan and the WHNPs. Another important factor that must be considered to comprehensively evaluate the performance of EC devices is the CE, defined as the variation in the optical density (OD) induced per unit of inserted charge (Q/A), which can be obtained from Eqs. (2)‒(3):55

$${\mathrm{CE}} = \Delta {\mathrm{OD/}}\left( {{\it{Q/A}}} \right)$$
(2)
$$\Delta {\mathrm{OD = log}}\left( {{\it{T}}_{\mathrm{b}}{\mathrm{/}}{\it{T}}_{\mathrm{c}}} \right)$$
(3)

The obtained CE value from the curve of Fig. 5d is 62.4 cm2/C for a-WO3/CH@WHNP, which is increased by 162.0% compared to that of bare a-WO3. This is correlated with the synergistic effects of the wide transmittance modulation caused by the improved electrochemical activity and the efficient charge transport induced by the increased electrical conductivity and Li-ion diffusion coefficient. This is primarily due to the hybrid effect of chitosan and the WHNPs introduced on the a-WO3 films, which is also confirmed by the performance comparison between a-WO3/CH@WHNP and a-WO3 films with only WHNP (a-WO3@WHNP; Supplementary Fig. 11). The cycling retention can be a major concern in the practical application of EC devices, while the transmittance modulation of bare a-WO3 rapidly degrades to 62.4% after 1000 cycles, whereas that of a-WO3/CH@WHNP is maintained at 91.5% of its original transmittance modulation (Fig. 5e). This superb cycling retention of the EC films can be generated by the cross-linked effect of the chitosan thin film to relax the structural variation of a-WO3 and WHNPs, which can be confirmed by the stable electrochemical behavior shown in the EIS result measured after 1000 cycles (Fig. 4a and Supplementary Table 1).

Fig. 5: Electrochemical and electrochromic performances.
figure 5

a CV curve of all films measured in the three electrode system in the potential region of −0.7 and 1.0 V (vs. Ag wire) at a scan rate of 20 mV/s, b curve of in situ optical transmittance traced at a stepping potential of −0.7 V for the colored state and 1.0 V for the bleached state for 60 s, c magnified curve of in situ optical transmittance in the range of 90‒210 s, d the variation in the OD at 633 nm induced per unit of inserted charge, and e plot of EC cyclic stability tested at −0.7 and 1.0 V for 1000 cycles.

Table 1 Summary of EC performance parameters of all films.

The aforementioned EC behavior associated with the reversible redox reaction of Li ions and electrons, as represented in CV curves (Fig. 5a), can also achieve the appropriate capacitive performance as the origin of the energy storage48,49. The capacitive performance in terms of the specific capacitance (Csp, F/g), the energy density (E, Wh/kg), and the power density (P, kW/kg) is obtained by using the following equations (Eqs. (4)‒(6)):57,58

$$C_{\mathrm{sp}} = 4I/\left( {mdV/dt} \right)$$
(4)
$$E = C_{\mathrm{sp}}V^2/8$$
(5)
$$P = E/dt$$
(6)

where I (A) is the current at charging and discharging states, m (g) is the mass loading of the active material (0.00031 g for bare a-WO3 and 0.00042 g for a-WO3/CH@WHNP), dV is the voltage drop upon discharging, and dt (s) is the total discharging time. Figure 6a shows the galvanostatic charge/discharge curves of all the films for a current density of 2 A/g. There is a symmetry between the charging and discharging curves that indicate good reversibility of the films during charge/discharge processes. Compared to a-WO3, the discharge slope is not as steep, and there is an extinction of the drop for a-WO3/CH@WHNP. This is induced by the enhanced electrical conductivity and Li-ion diffusion coefficient of the EC films, thus resulting in a higher capacity for energy savings59. As indicated by the specific capacitance calculated from the discharging curves (Fig. 6b), a-WO3/CH@WHNP reaches up to 154.0 F/g at a current density of 2 A/g, which is higher than that of bare a-WO3 (95.0 F/g). With the increase in the current density to 10 A/g, although there is a rapid decrease in the specific capacitance on bare a-WO3 (24.7% compared to that of 2 A/g), a-WO3/CH@WHNP maintains a specific capacitance of 94.6%, demonstrating good rate capability. This is due to accelerated electrochemical kinetics as a result of the hybrid effect with chitosan and WHNP. Furthermore, based on the Ragone plot showing energy density vs. power density (Fig. 6c), it is noted that the energy density of a-WO3/CH@WHNP reached 55.2 Wh/kg at 6.1 kW/kg and was 52.7 Wh/kg at 30.6 kW/kg. These values are much higher than those obtained for bare a-WO3. This is attributed to the improved electrochemical activity of a-WO3/CH@WHNP because the energy density and power density are determined by the voltage difference (ΔV) between active electrodes. To further evaluate the practical application of bare a-WO3 and a-WO3/CH@WHNP as active materials for EC energy storage, we assembled solid-state cells with multiple functions of electrochromism and energy storage using a gel polymer electrolyte (PMMA + LiClO4 + PC) and a NiO film as the counter electrode. As shown in Fig. 6d, the transmittance spectra of the cells have smaller values as the applied negative voltages are increased, resulting in a transmittance modulation of 46.0% for bare a-WO3 and 50.6% for a-WO3/CH@WHNP at 633 nm, which is comparable to the performance of intrinsic a-WO3/CH@WHNP, despite the use of a polymer electrolyte. The contract variation of the cell accounts for the one-to-one relationship between the transmittance and the voltage, which can be an important criterion for the visual monitoring of the states of energy storage (discharging for the bleached state (Supplementary Fig. 12a) and charging for the colored state (Supplementary Fig. 12b))60,61. Interestingly, when the 1.5-V white light-emitting diode (LED, FK185, 1.5-V 6-LED LIGHT) is powered by the two solid-state cells, the illumination intensity of a-WO3/CH@WHNP (68.0 lux, Fig. 6f) is higher than that of bare a-WO3 (23.0 lux, Fig. 6e). This may be due to the enhancement of the energy density as a result of their improved electrical activity. Therefore, the use of a-WO3/CH@WHNP with advanced EC energy storage performance presents exciting possibilities for the development of multifunctional EC devices.

Fig. 6: Electrochromic energy storage performances.
figure 6

a Comparison of galvanostatic charge/discharge curves between bare a-WO3 and a-WO3/CH@WHNP measured at scan rates of 2 A/g in the potential range from −0.7 to 1.0 V, b specific capacitance as a function of the current density, c Ragone plot showing energy density vs. power density, d the transmittance change of the multifunctional devices under different states (solid line for the discharging state and dotted line for the charging state), and images of 1.5-V white LEDs powered by the multifunctional devices fabricated with e bare a-WO3 and f a-WO3/CH@WHNP.

Conclusions

In summary, we successfully developed novel hybrid films consisting of a WHNP-embedded chitosan thin film on a-WO3 films, with enhanced EC energy storage performance. It should be emphasized that the -NH3 of chitosan formed in an acidic environment that facilitated not only the formation of strong cross-linked structures to improve the electrochemical stability of the active material used in multifunctional devices, but also new chemical linking with the WHNPs. Therefore, compared to the other films, the hybrid films (a-WO3/CH@WHNP) achieved stable and fast EC performance, including fast switching speeds (4.0 s for the coloration speed and 0.8 s for the bleaching speed). This was due to the improved electrical conductivity and Li-ion diffusivity of the films, the high CE (62.4 cm2/C) associated with the increased electrochemical activity to widen the transmittance modulation, and the EC cycling retention (91.5% after 1000 cycles) caused by the relaxed electrochemical variation of the cross-linked chitosan thin films. In terms of electrochemical energy storage performance, when compared to bare a-WO3 films, a-WO3/CH@WHNP exhibited a higher specific capacitance (154.0 F/g at a current density of 2 A/g) and stable rate capability, which may be attributable to the improved electrochemical activity and electrical conductivity, respectively. Hence, multifunctional devices fabricated with this film can facilitate the production of bright illumination from 1.5-V white LEDs. Therefore, these findings are promising because they suggest that unique chemical responses can occur when an inorganic–organic hybrid is used to improve EC energy storage, thereby presenting new opportunities for practical application of WO3-based materials as fast and stable multifunctional devices.