3.1. Structural Analysis
Figure 2a presents the X-ray diffraction (XRD) patterns of the tungsten trioxide thin films. It is evident that the samples WO
3−RT, WO
3−100, WO
3−150, and WO
3−200 did not exhibit discernible diffraction peaks, indicating that these films remained in an amorphous state when the in situ heating temperature did not exceed 200 °C [
9]. However, in the case of WO
3−250, several distinct diffraction peaks became apparent. These peaks can be indexed to specific crystal planes when compared to the standard diffraction pattern (PDF#43-1035), as detailed in
Table 1. The observed diffraction angles, 2θ, and their corresponding crystal planes were as follows: 23.119° corresponds to the (002) plane, 23.586° corresponds to the (020) plane, 24.380° corresponds to the (200) plane, and 33.266° corresponds to the (022) plane. Among these peaks, the diffraction peak at the (002) crystal plane exhibited the highest intensity, suggesting a preferential orientation along this plane in the WO
3−250 film in situ heating. The orientation of the crystal surface of (002) can improve the electrochemical activity of WO
3 [
10,
11]. The diffraction intensity of each crystallographic plane for WO
3−300 was found to be further enhanced, indicating an increase in crystallinity. This enhancement can be attributed to the diffusion of both tungsten (W) and oxygen (O) atoms as they were deposited onto the substrate. The diffusion ability of these atoms is governed by a set of Equations (2)–(5), which collectively describe the atomic mobility and the kinetics of diffusion during the in situ heating process.
where
is the average adsorption time,
is the adsorption time constant,
is the desorption activation energy for chemisorption,
k is the Boltzmann constant,
T is the substrate surface temperature,
is the average surface diffusion time,
is the period of the atom’s vibration in the horizontal direction along the surface,
is the surface diffusion activation energy,
is the average surface diffusion distance,
is the surface diffusion coefficient,
is the interval between neighboring adsorption positions. According to Equations (2)–(5), with increasing the in situ heating temperature, the average diffusion time (
) and the average surface diffusion distance (
) of W and O atoms in the WO
3 films increased. The enhanced diffusion capability enabled the W and O atoms to occupy their lattice positions through diffusion [
12]. When compared to WO
3−250, WO
3−300 exhibited narrower half-peak widths in the diffraction peaks, suggesting that the WO
3 grains refined further at the higher heating temperature. This refinement is indicative of improved crystallinity and more ordered atomic arrangements within the film.
Figure 2d displays the Raman spectra of the WO
3 thin films. The spectrum revealed a broad and weak vibrational peak in the range of 515 to 880 cm
−1 for the samples WO
3−RT, WO
3−100, WO
3−150, and WO
3−200. This peak corresponds to the vibrational mode of W
6+-O bonding [
13], indicative of the amorphous phase of WO
3, in concordance with the XRD findings. However, in the spectra of WO
3−250 and WO
3−300, this broad peak split into two distinct peaks at 688 cm
−1 and 790 cm
−1 within the same spectral range. These peaks are attributed to the O-W-O stretching modes in the crystalline phase of WO
3 [
13], further confirming the crystallinity of WO
3−250 and WO
3−300 in alignment with the XRD results.
The vibrational peak observed at 260 cm
−1 in the WO
3 films could not be definitively attributed due to the confounding influence of the ITO substrate. It remains unclear whether this peak was associated with the W
4+-O bonding or was an artifact of the ITO substrate [
14]. Additionally, the peak at 950 cm
−1 corresponded to the W
6+=O terminal stretching vibration, which is induced by the absorption of water molecules by WO
3 [
15,
16].
Figure 2b,c presents the transmission electron microscope (TEM) images of the WO
3−250 sample after it was scraped off with a razor blade. These images revealed that the WO
3−250 film was relatively thick when observed under TEM [
17]. High-resolution TEM (HRTEM) images, shown in
Figure 2e,f, were obtained by magnifying the areas where the film edges were thinner. These images allowed for the detection of lattice spacings corresponding to the crystal planes (002), (020), (200), and (022). The HRTEM results were in agreement with the XRD characterization, confirming the presence of these crystal planes in the WO
3−250 film.
3.2. Surface Morphology Analysis
The HRSEM of the surface morphology and cross-section of WO
3 thin films at different in situ heating temperatures are shown in
Figure 3. It can be seen that the surface morphology of the films became less compact with increasing cracks as the in situ heating temperature increased [
18].
Sputter deposition coating was also a nucleation and growth process, and the nucleation rate
N of the new phase can be expressed by Equation (6):
where
C is a constant.
A is the nucleation work factor.
Q is the atomic diffusion chance factor.
k is the Boltzmann constant, and
T is the substrate surface temperature. So, with the increase in situ heating temperature, the nucleation rate (
N) increased, which promoted the nucleation of WO
3, which led to more WO
3 nuclei competing for growth, therefore leading to a reduction in grain size. We measured about 50 grain sizes per sample based on SEM images. The grain size distribution of WO
3 samples is shown in
Figure 4. Comparing the grain size distribution of the samples, we are informed that the grain size decreased with an increase in in situ heating temperature.
With the introduction of the in situ heating process and the subsequent increase in in situ heating temperature, the thickness of the WO3 films was observed to increase. HRSEM cross-sections revealed that the thicknesses of the films for WO3−RT, WO3−100, WO3−150, WO3−200, WO3−250, and WO3−300 were approximately 280 nm, 350 nm, 360 nm, 360 nm, 370 nm, and 370 nm, respectively. This increase in film thickness can be attributed to two primary factors.
First, the in situ heating process is suspected to have converted the physically adsorbed W and O atoms on the substrate into chemisorbed species [
19], substantially increasing the amount of adsorbed material. This was reflected in the WO
3−RT film, which had a thickness of only about 280 nm, whereas the films for WO
3−100, WO
3−150, WO
3−200, WO
3−250, and WO
3−300 exhibited significantly greater thicknesses, ranging from 350 nm to 370 nm.
Second, a higher in situ heating temperature conferred greater diffusion ability to the W and O atoms [
8,
20]. This enhanced diffusion allowed for a more regular rearrangement of atoms from the disordered amorphous WO
3 structure to a crystalline formation, leading to a slight increase in the thicknesses of the films for the WO
3−100, WO
3−150, WO
3−200, WO
3−250, and WO
3−300 samples.
In order to scrutinize the surface morphology and roughness of the WO
3 films, AFM tests were conducted. The roughness of each film is shown in
Table 2. The corresponding root-mean-square (RMS) roughness (Rq) for WO
3−RT, WO
3−100, WO
3−150, WO
3−200, WO
3−250, and WO
3−300 were 2.57 nm, 2.77 nm, 2.96 nm, 3.33 nm, 3.55 nm, and 3.95 nm, respectively. The arithmetic mean roughness (Ra) was 2.04 nm, 2.22 nm, 2.33 nm, 2.64 nm, 2.82 nm, 3.15 nm. The surface roughness of the WO
3 films was found to increase correspondingly with the rise in in situ heating temperature. Atomic Force Microscopy (AFM) images were shown in
Figure 5. It revealed that the surface of the WO
3-RT films predominantly featured the growth of smaller grains, which were stacked and distributed relatively uniformly across the surface [
21]. As the in situ heating temperature was applied and increased, the film’s thickness augmented, and the grains grew at a faster rate, resulting in a rougher surface topology. This change in surface morphology is indicative of the altered growth dynamics and structural rearrangements occurring within the film as a function of the in situ heating temperature. After applying the in situ heating process, during the grain growth process, the surface morphology of the heated samples showed the phenomenon of unequal grain size and uneven distribution. The observed increase in surface roughness can be attributed to the higher surface energy associated with smaller grains. To minimize this surface energy, a process of grain coalescence, known as Osvaldo annexation or fusion, may occur. This process involves the merging of smaller grains to form larger grains [
22,
23], which in turn leads to an increase in surface roughness. The enhanced roughness was further compounded by the appearance of more cracks in the surface morphology, as evidenced in the HRSEM images. However, in the process of grain coalescence, the small grains do not form a complete large grain. We can be informed from
Figure 3 that HRSEM images showed more and more cracks and smaller and smaller grain sizes when the in situ heating temperature increased. Meanwhile, these cracks were also a consequence of the stress buildup and relief during the grain growth and coalescence process, which can be exacerbated by the increasing roughness of the film surface.
3.3. Chemical Valence Analysis
To characterize the compositional differences and chemical valence state in the synthesized WO
3 thin films, XPS tests were conducted, yielding a series of XPS spectra as presented in
Figure 6.
Figure 6a reveals a significant decrease in the binding energy of the W 4f peak for WO
3 beginning at the in situ heating temperature of 200 °C. A similar trend was observed for the O 1s peak in
Figure 6b, indicating that increasing the in situ heating temperature enhanced the bonding between W and O atoms, thereby favoring the formation of crystalline structures. The atomic proportions of W and O elements in the prepared WO
3 samples are listed in
Table 3, showing stable ratios without substantial variation.
The W 4f spectra, shown in
Figure 6c–h, revealed the presence of both W
6+ and a minor amount of W
5+ valence states [
24]. By calculating the area of the W4f spectral peaks for W
6+ and W
5+, the percentage of W
5+ in the elemental W content was determined. The W
5+ contents in WO
3−RT, WO
3−100, WO
3−150, WO
3−200, WO
3−250, and WO
3−300 were found to be approximately 0.92%, 0.92%, 1.08%, 1.24%, 1.58%, and 2.50%, respectively, indicating an increase with the increase in in situ heating temperature. This increase in W
5+ content provides more active sites for Li ions and electrons to intercalate and de-intercalate during the electrochromic reaction [
25].
The O 1s spectra In
Figure 6i–n exhibited three oxygen states: W
6+-O bonding from 530 to 531 eV, W
5+-O bonding from 531 to 532 eV, and adsorbed water on the surface from 532 to 533 eV. The percentages of W
5+-O bonding in WO
3−RT, WO
3−100, WO
3−150, WO
3−200, WO
3−250, and WO
3−300 were approximately 20.49%, 17.97%, 24.79%, 24.77%, 23.54%, and 24.38%, respectively, showing an overall slight increasing trend that corresponds to the rise in W
5+ content. In the process of sputter coating, some point defects inevitably occur in the atomic arrangement, especially vacancies. In the O 1s spectra, O had a state that was bonded to W
5+. However, in the W 4f spectra, there might be a possible dangling bond of the W ion due to the presence of oxygen vacancies. This may account for the difference in W
5+ content between W 4f and O 1s spectra.
3.4. Electrochromic Performance Testing and Analysis
Figure 7a,d illustrates that the window voltages and peak potentials observed during the electrochemical testing of the WO
3 thin films expanded as the in situ heating temperature was elevated. This expansion can be attributed to the previously described crystallization of the WO
3 structure that occurred with increasing in situ heating temperature. The crystalline structure necessitated a higher voltage to facilitate the intercalation of Li ions and electrons within the WO
3 film. Concurrently, the higher in situ heating temperature resulted in thicker films with a greater volume of WO
3 material, which in turn accommodated a larger number of Li ions and electrons, thereby increasing the CV closure area. Consequently, unless otherwise specified in the subsequent sections, the window voltage was set to −1.0 to +1.0 V for the WO
3−RT, WO
3−100, WO
3−150, and WO
3−200 samples, and −1.0 to +2.0 V for the WO
3−250 and WO
3−300 samples.
The kinetic transition spectra of different samples with applied −1.0 V and +1.0 V potentials, −1.0 V and +2.0 V potentials, and their partial magnification were shown in
Figure 7b,c,e, and f, respectively. And their corresponding coloring and bleaching times were listed in
Table 4.
Figure 7b,e demonstrates that as the in situ heating temperature increased, the WO
3 structure underwent crystallization when subjected to −1.0 V and +1.0 V potentials. The +1.0 V potential significantly hindered the disembedding extraction of Li ions and electrons, effectively trapping them within the lattice and creating potential traps [
26]. This impeded the bleaching rate, prolonging the bleaching time from 13.4 s for WO
3-RT to 33.6 s for WO
3−250. In the case of WO
3−300, the color could not be fully bleached even within 60 s. The coloring times for all samples, including WO
3−300, stabilized within the range of 20 to 25 s. However, for the four amorphous samples—WO
3−RT, WO
3−100, WO
3−150, and WO
3−200—the coloring rate initially slowed before accelerating. This behavior may be attributed to the initial hindrance of ion and electron embedding due to crystallization [
27], followed by an enhanced coloring rate as a result of the roughened surface morphology, which provides a larger specific surface area and multiple embedding sites.
In
Figure 7c,f, the coloring potential was set to −1.0 V, and the bleaching potential was adjusted to +2.0 V, in accordance with the expanded window voltage, as the +1.0 V potential was insufficient to completely bleach WO
3−250 and WO
3−300. At this new kinetic transition potential, the kinetic transition performance of WO
3−250 showed significant improvement compared to the −1.0 V and 1.0 V conditions. The coloring time remained largely consistent, with a slight improvement from 20.2 s to 20.0 s, while the bleaching time was reduced from 33.6 s to 19.4 s, substantially enhancing the bleaching rate. For WO
3−300, the coloring time of 20.8 s was reduced to a successful bleaching time of 41.2 s, marking a considerable improvement from the previous challenge of achieving complete bleaching [
28].
The transmission spectra and digital photographs depicting the various states of WO
3 films with different parameters are presented in
Figure 8. The color of the films is represented using CIE Lab color space coordinates. The L* value, ranging from 0 to 100, indicates the lightness or darkness of the film, with lower values corresponding to darker shades and higher values to lighter shades. The a* value, ranging from −128 to 127, signifies the redness or greenness of the film, with positive values indicating a shift toward red and negative values toward green. The b* value, also ranging from 128 to 127, represents the yellowness or blueness of the film, with positive values indicating a shift towards yellow and negative values towards blue. The transmittance and chromaticity coordinates of the WO
3 films in the colored and bleached states are listed in
Table 5.
As the in situ heating temperature increased, the surface roughness of the film surface also increased, leading to enhanced surface scattering [
28,
29]. This scattering effect caused a downward shift in the transmission spectrum during the colored state, with the transmittance at 633 nm decreasing from 24.8% for WO
3−RT to 16.0% for WO
3−300. Additionally, the L* value in the CIE Lab chromaticity coordinates decreased, indicating that the color of the film became progressively darker in terms of lightness and darkness [
30,
31]. This suggests that the films exhibited a higher level of coloration with an increase in in situ heating temperature, which could be beneficial for applications requiring deep, saturated colors.
The L-value of the colored state decreased from 46.41 to 29.32 (min. in WO
3−250) with an increase in in situ heating temperature, resulting in a darker color. Upon examination of the coloring state diagram for the WO
3 film, it is observed that the blue hue underwent a transition from a gray-blue to a darker blue as the in situ heating temperature elevated. The b* value, which characterizes the blueness or yellowness of the film, continuously decreased from −1.23 for WO
3−RT to −24.06 for WO
3−300, signifying a pronounced intensification of the blue color. This shift is attributed to the increase in the W
5+ content within the films that resulted from the elevated in situ heating temperature. The presence of W
5+ is known to influence the optical properties of WO
3, particularly its coloration behavior, leading to the observed deepening of the blue color with increasing in situ heating temperature. The increase in the initial W
5+ content provided more reaction sites, which benefited the embedding of Li ions. The (200) lattice plane orientation had high electrochemical activity [
32], which benefited the color change reaction. During the electrochromic reaction, more W
6+ was converted to W
5+, resulting in a bluer color. As a result, the color of WO
3 changed from gray-blue to dark-blue due to roughness-enhanced surface scattering and changes in the valence state of the W element. For the bleached state of the samples, the range of WO
3 films maintained their inherent advantages of colorless transparency and high transmittance, with only minimal overall changes [
24,
33]. Consequently, the contrast at 633 nm demonstrated an overall increasing trend. In the amorphous WO
3, the transmittance continued to increase with a maximum value of 81.3% at 200 °C, which slightly decreased to 77.7% as the temperature rose to 250 °C, marking the transition to crystalline WO
3. Subsequently, the transmittance increased again to 80.7% as the in situ heating temperature was further increased to 300 °C. Across all the samples, WO
3−250 exhibited the darkest colored state and the highest contrast at 633 nm, offering a superior range of optical modulation and color change.
The coloring efficiency (
CE) is also a very important indicator of electrochromic performance.
CE is the ratio of the change in optical density caused by the amount of injected charge per unit area, which is calculated by Equations (7) and (8):
where Δ
OD represents the change in optical density, and
Q is the amount of charge injected per unit area. The coloring efficiency of WO
3 films is shown in
Figure 9. In the amorphous WO
3 at temperatures below 200 °C, the coloring efficiency (
CE) of the thin-film samples displayed a pattern of increasing and then slightly decreasing with the increase in in situ heating temperature. The WO
3−150 sample reached a maximum
CE of 39.3 cm
2/C, attributed to the in situ heating temperature’s effect on reducing the transmittance of the colored state, thereby increasing the optical density change in the film. The crystallization of WO
3 occurs in the temperature range of 200 to 250 °C [
34,
35]. The
CE of WO
3−250 slightly decreased compared to WO
3−200, and the
CE of WO
3−300 further decreased to 35.2 cm
2/C. At this temperature, while the transmittance of the colored state continued to decrease [
35], the capacity for accommodating Li ions and electrons increased due to the more stable crystalline structure compared to the amorphous state and the presence of more oxygen vacancies, which led to an increase in the capacity for Li ions and electrons [
36,
37]. This increased capacity for Li ions and electrons also resulted in a decrease in the coloring efficiency of the crystalline WO
3 films.
3.5. Cyclic Stability Testing and Analysis
In order to compare the cycling stability between amorphous and crystalline WO
3, we performed kinetic conversion tests on samples WO
3−RT and WO
3−250 for 1500 and 6000 cycles, respectively. As shown in
Figure 10, sample WO
3-RT showed a large change in current density during the cycling test. This was due to the fact that its amorphous structure could no longer maintain structural stability during the long-term electrochemical reaction. The electrolyte for the sample WO
3−250 was refilled after 3000 cycles, which showed a sharp change in the measurement plot. Compared to WO
3−RT, no evident decline was observed in the current density.
During the 1500-cycle testing of the WO
3−RT sample, transmission spectra of both the colored and bleached states were measured at regular intervals of 500 cycles, and digital photographs of the colored and bleached states were taken to document the changes over the cycling process. These measured values are compiled in
Table 6. As observed in
Figure 11, the stability of the WO
3−RT sample was not satisfactory. The film exhibited partial damage and lost its ability to change color after only 500 cycles, with the damage becoming more pronounced as the number of cycles increased. The electrochromic performance and chromaticity at the center of the film were measured and compared to the initial state, which exhibited 70.1% contrast at 633 nm. After 1000 cycles, the contrast was reduced to 71.7% at 633 nm, indicating a less severe depletion in electrochromic performance. However, after 1500 cycles, the overall structural damage to the film resulted in a significant degradation of the electrochromic performance, leading to the loss of the color change function. WO
3−RT was an amorphous structure characterized by short-range disordered atomic arrangements, which were unable to withstand the continuous intercalation and deintercalation of ions and electrons during prolonged cycling tests.
Throughout the 6000-cycle durability testing of the WO
3−250 sample, transmission spectra of both the colored and bleached states were measured every 1000 cycles, and digital photographs of the colored and bleached states were captured to monitor the changes throughout the cycling process. The measured values are tabulated in
Table 7.
Figure 12 reveals that as the number of cycles increased, the colored state of WO
3−250 shifted toward a bluer hue. This trend was quantified by measuring the CIE Lab chromaticity spatial coordinates, which showed a clear decrease in the b* value, indicating a bluer color. This shift may be attributed to the increase in W
5+ content during cycling, as some Li ions were trapped by the WO
3 lattice to form potential wells, inhibiting their release. This also led to a decrease in the transmittance of the film in the bleached state and a reduction in the optical modulation range.
For the first 5000 cycles, the L-value remained relatively constant, at around 30, suggesting that the depth of the color did not significantly change. At this point, the contrast at 633 nm was 68.4%, which retained 88.0% of the original performance. However, upon cycling to 6000 cycles, the electrochromic performance experienced a significant degradation to 60.2%, representing 77.5% of the initial performance. The crystalline structure of WO
3−250, coupled with the excellent electrochemical activity resulting from the (002) selective orientation, contributed to a remarkable cycle life of 5000 cycles. This structural integrity and electrochemical activity ensured that there was no significant degradation in performance over the initial 5000 cycles [
38,
39].