{'fraction_non_alphanumeric': 0.037738972109575435, 'fraction_numerical': 0.02146266103892521, 'mean_word_length': 4.585516178736517, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multifunctional electrochromic energy storage devices by chemical cross-linking: impact of a WO3·H2O nanoparticle-embedded chitosan thin film on amorphous WO3 films

With the advent of multifunctional devices with electrochromic (EC) behavior and electrochemical energy storage, complementary design of film structures using inorganic–organic materials has shown great potential for developing EC energy storage devices. Herein, hybrid films consisting of WO3·H2O nanoparticle (WHNP)-embedded chitosan thin films on amorphous WO3 (a-WO3) films were designed. By exploiting the hybrid effect of chitosan and WHNPs to generate unique chemical cross-linking between them, the designed films exhibited attractive EC behaviors compared to bare a-WO3 films. These included fast switching speeds (4.0 s for coloration and 0.8 s for bleaching) due to enhanced electrical conductivity and Li-ion diffusivity, high coloration efficiency (62.4 cm2/C) as a result of increased electrochemical activity, and superb long-cycling retention (91.5%) after 1000 cycles due to improved electrochemical stability. In addition, hybrid films exhibited a noticeable energy storage performance with a high specific capacitance (154.0 F/g at a current density of 2 A/g) and a stable rate capability as a result of improved electrochemical activity and fast electrical conductivity, respectively. This resulted in brighter illumination intensity for the 1.5-V white-light-emitting diode due to improved energy density compared to a bare a-WO3 film. Therefore, the results suggest a new design strategy for materials to realize the coincident application of multifunctional devices with EC energy storage performance. A material that can both store energy and block the transmission of light has been developed by scientists in South Korea. Electrochromic materials change their color when a voltage is applied, and have been used in smart-glass applications, where windows can be electrically switched between transparency and opaqueness. They are now also being developed for energy applications as whenever the material cycles from transparent to opaque, a charge is electrochemically stored just as in a capacitor. Hyo-Jin Ahn and colleagues from the Seoul National University of Science and Technology have now improved the properties of an electrochromic material specifically with energy storage in mind. They showed that a thin film of chitosan containing WO3·H2O nanoparticles has better switching speed, electrical conductivity, and energy storage than a film made only of WO3. Hybrid films with WO3·H2O nanoparticles-embedded chitosan on amorphous WO3 films are newly designed for multi-functional devices with electrochromic energy storage performances.


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 life [1][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 consumption 4,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 voltage 6 . 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 charge 7 . 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 materials 8,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, arylaminebased polymers, viologens, etc.), tungsten oxide (WO 3 ) 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 cost 10 . Typically, the WO 3 materials exhibit a significant difference in their electrochemical behavior related to the EC performance of their amorphous and crystalline structures. For crystalline WO 3 , 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 stability 11 . On the other hand, amorphous WO 3 (a-WO 3 ) 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 WO 3 structure 12 . However, to the best of our knowledge, a-WO 3 -based devices unfortunately encounter limitations of the EC energy storage performance, such as the CE value (20-38 cm 2 /C), switching speed (3.0-5.0 min for 1524 × 3048 mm 2 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 devices 13,14 .
In various efforts to improve the EC energy storage performance using a-WO 3 films, the design of the film structure by tuning the crystal structure and morphology of a-WO 3 materials and the introduction of complexation with polymer materials have been performed by some researchers [15][16][17] . There was a recent attempt to produce complementary heterostructure WO 3 films with crystalline WO 3 nanoparticles in an a-WO 3 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 storage 18 . As another effective route, the complexation of a-WO 3 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 performance [19][20][21][22] . Therefore, the novel design of hybrid a-WO 3 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 treatment 23,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 sols 24,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-WO 3 films to enhance EC energy storage performance.
Herein, we designed novel hybrid films of chitosan embedded with WO 3 ·H 2 O nanoparticles (WHNPs) on a-WO 3 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 (-NH 3 + ) 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-WO 3based 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-WO 3 -based films.

Materials and methods
a-WO 3 /WHNP-embedded chitosan hybrid films were prepared by using the spin-coating method. First, the preparation of the a-WO 3 films was achieved by spincoating a sol-solution of 10 wt% tungsten(VI) chloride (WCl 6 , Aldrich) dissolved in 2-propanol ((CH 3 ) 2 CHOH, Aldrich) on commercial F-doped SnO 2 (FTO) films (Pilkington, 8.0 Ω/□), followed by annealing at 300°C in air for 1 h (herein named bare a-WO 3 ). The WHNPs for embedding in the chitosan thin films were fabricated using the hydrothermal method. In summary, 0.05 M tungstic acid (H 2 WO 4 , 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 (CH 3 CO 2 H, Aldrich) and then spin-coating the mixture onto the a-WO 3 films at a speed of 2,000 rpm for 30 s, resulting in the formation of a-WO 3 /WHNP-embedded chitosan hybrid films (referred to as a-WO 3 /CH@WHNP) after drying at 80°C for 1 h. For comparison, a-WO 3 films with only chitosan were fabricated (referred to as a-WO 3 / 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 crosssection 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 LiClO 4 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-WO 3 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 -NH 2 and -OH functional groups can act as accelerators for electrochemical behavior with cations 26,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 behavior 28 . To confirm the elaborate structure of bare a-WO 3 , a-WO 3 /CH, and a-WO 3 / CH@WHNP, XRD analysis was conducted on all the films prepared on glass substrates. As shown in Fig. 1b, bare a-WO 3 gives rise to a broad diffraction peak centered at 23.1°, which is indicative of the presence of the a-WO 3 structure 29 . With the introduction of the chitosan thin film on a-WO 3 films (a-WO 3 /CH), there is a slight decrease in the diffraction intensity without structural variation of the a-WO 3 . For a-WO 3 /CH@WHNP, the presence of an additional sharp diffraction peak at 16.5°w as observed, which is well matched to the (020) plane of WO 3 ·H 2 O 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-WO 3 , the spectra of a-WO 3 /CH reveal an absorption band at~400.0 nm due to functional groups along the chains of chitosan 29,30 . In addition, for a-WO 3 /CH@WHNP, there is an absorption band in the visible region due to the existence of the WHNPs on the WO 3 film (see Fig. 1c) 6 . Thus, these results indicate the successful introduction of chitosan thin films with WHNPs on a-WO 3 films using a spincoating method.
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 4f 7/2 and 37.2 eV for W 4f 5/2 . This is attributed to the binding energy of W 6+ in the a-WO 3 phases 32 . For a-WO 3 / CH@WHNP, there is an additional pair of doublets at 34.3 eV for W 4f 7/2 and~36.5 eV for W 4f 5/2 that corresponds to W 5+ , based on the evidence of 2.3% oxygen vacancies (V o ) of nonstoichiometric WHNPs 33 . From Fig. 2b, a definite distinction of the O 1 s XPS core-level spectra among the films is observed. Compared to bare a-WO 3 , 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-WO 3 /CH 29 . In addition, the -OH/W-O peak area ratio of a-WO 3 /CH (56.4%) was higher than that of bare a-WO 3 (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-WO 3 /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 (-NH 2 ) and protonated amine group (-NH 3 + ) 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-WO 3 (4.59 × 10 −8 S/cm), as confirmed in Fig. 2d 36,37 . In addition, -NH 3 + that is easily formed from -NH 2 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 them 38 . The O 1 s XPS core-level spectra of a-WO 3 / CH@WHNP have a characteristic peak related to V o of the WHNPs at 529.2 eV that is well-matched to the presence of W 5+ , as shown in the W 4 f XPS core-level spectra. In addition, the existence of V o can also be explained by optical bandgap narrowing of a-WO 3 / CH@WHNP caused by extra carriers by the WHNP compared to that of a-WO 3 /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 conductivity 41 . 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 films 42 . Surprisingly, for a-WO 3 /CH@WHNP, two characteristic peaks that are distinct from that of a-WO 3 /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  [43][44][45][46] . Therefore, we believe that the H (in the edge region) and V o of the WHNPs with partially positive charges can form chemical bonds with the aminerelated 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 WO 3 nanoparticles (a-WO 3 /CH@WO 3 NP), as confirmed by the emission of W 6+ peaks in Supplementary Fig. 4a, which show the absence of the H-N and V o -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-WO 3 /CH@WHNP, while weakening the NH 2 and NH 3 + 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-WO 3 / CH@WHNP) compared to the other films. Figure 3a-c shows top-view FESEM images of bare a-WO 3 , a-WO 3 /CH, and a-WO 3 /CH@WHNP. In the case of bare a-WO 3 (Fig. 3a), a densely uniform structure without any discernible particulates is observed throughout the surface of the films 8 . In the case of a-WO 3 /CH, as shown in Fig. 3b, although the surface structure appears to be similar to that of bare a-WO 3 , the highest root mean square roughness (R ms ) obtained from the AFM analysis ( Supplementary Fig. 6b) is lower than that of bare a-WO 3 ( 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-WO 3 /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 -NH 3 + of the chitosan and the surface of the WHNPs 31 . Interestingly, there is no noticeable variation in the R ms of a-WO 3 /CH@WHNP ( Supplementary Fig. 6c) compared to that of a-WO 3 /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-WO 3 / CH@WHNP) is clearly confirmed.
To provide further evidence of the effects of the WHNP-embedded chitosan thin films on the a-WO 3 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, R s ), the charge transfer resistance from the active material in contact with the electrolyte (radius of the semicircle arc, R ct ), and the electrolyte ion diffusion impedance (Warburg region, Z w ). These results are summarized in Supplementary Table 1 by fitting the EIS results 47 . 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-WO 3 /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-WO 3 films as a result of electrochemical behavior in which charges are freely obtained from a-WO 3 films. In addition, the improvement in the kinetic characteristics was also confirmed by the opencircuit 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-WO 3 /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 material 48,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-WO 3 /CH and a-WO 3 /CH@WHNP) after 1000 cycles of electrochemical processes, compared to bare a-WO 3 , 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).
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-WO 3 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 : It is also noted that the CV curve of a-WO 3 /CH@WHNP has a larger area in proportion to the redox current density than those of bare a-WO 3 and a-WO 3 /CH, indicating superb electrochemical activity. This is mainly attributed to the presence of the WHNP-embedded chitosan on the a-WO 3 films. By comparing bare a-WO 3 and a-WO 3 /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 WO 3 ·H 2 O have a wider interplanar spacing (d = 5.36 Å) than those of WO 3 (d = 3.84 Å), thereby suggesting Fig. 4 Electrochemical kinetic behavior and related mechanism of performance improvement. 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 crosslinking between chitosan and WHNP.
outstanding electrochemical activity to facilitate good reaction capacity of electrons and Li ions in the films 55,56 . In Supplementary Fig. 9, the correlation between the increase in the peak current density (J p ) and the square root of the scan rate (C o ) in the CV curve provides information about the Li-ion diffusion coefficient (D) from the electrolyte to the film's surface 6 . As determined according to the Randles−Sevcik equation, a faster Li-ion diffusion coefficient of a-WO 3 /CH@WHNP (10.49 × 10 −9 cm 2 /s) compared to the others (2.95 × 10 −9 cm 2 /s for bare a-WO 3 and 7.69 × 10 −9 cm 2 /s for a-WO 3 /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 performance 11,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 (T b ) -transmittance value at the colored state (T c )) of a-WO 3 /CH@WHNP is up to 57.7%, which is higher than the value of 7.6% for bare a-WO 3 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-WO 3 /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-WO 3 . These results are excellent relative to those obtained from previous studies of WO 3 -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 The obtained CE value from the curve of Fig. 5d is 62.4 cm 2 /C for a-WO 3 /CH@WHNP, which is increased by 162.0% compared to that of bare a-WO 3 . 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 Liion diffusion coefficient. This is primarily due to the hybrid effect of chitosan and the WHNPs introduced on the a-WO 3 films, which is also confirmed by the performance comparison between a-WO 3 /CH@WHNP and a-WO 3 films with only WHNP (a-WO 3 @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-WO 3 rapidly degrades to 62.4% after 1000 cycles, whereas that of a-WO 3 /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-WO 3 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). 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 storage 48,49 . The capacitive performance in terms of the specific capacitance (C sp , 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 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-WO 3 and 0.00042 g for a-WO 3 / 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-WO 3 , the discharge slope is not as steep, and there is an extinction of the drop for a-WO 3 / 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 savings 59 . As indicated by the specific capacitance calculated from the discharging curves (Fig. 6b), a-WO 3 / 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-WO 3 (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-WO 3 (24.7% compared to that of 2 A/g), a-WO 3 /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-WO 3 /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-WO 3 . This is attributed to the improved electrochemical activity of a-WO 3 /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-WO 3 and a-WO 3 / 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 + LiClO 4 + 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-WO 3 and 50.6% for a-WO 3 /CH@WHNP at 633 nm, which is comparable to the performance of intrinsic a-WO 3 /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-WO 3 /CH@WHNP (68.0 lux,  Fig. 6f) is higher than that of bare a-WO 3 (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-WO 3 /CH@WHNP with advanced EC energy storage performance presents exciting possibilities for the development of multifunctional EC devices.

Conclusions
In summary, we successfully developed novel hybrid films consisting of a WHNP-embedded chitosan thin film on a-WO 3 films, with enhanced EC energy storage performance. It should be emphasized that the -NH 3 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-WO 3 /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 cm 2 /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-WO 3 films, a-WO 3 /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 WO 3 -based materials as fast and stable multifunctional devices.