1 Introduction

Over the last years, the global demand for energy has depended on fossil fuels, which can result in an energy crisis and contamination of the climate in the future. Therefore, the use of renewable energy sources obtained from sun, sea waves, wind, geothermal heat and other renewable sources have been growing for many different applications [1, 2]. However, perhaps the most economical solution is to use energy more efficiently. One efficient solution to make a feasible use of solar energy in buildings is to modify sunlight transmission through windows by solar-controlling coatings. Such solar-controlling coatings have chromogenic properties [3, 4]. The chromogenic materials used in solar-controlling coatings are electronic, optoelectronic, photochromic and thermochromic [1,2,3,4,5].

In brief, an electrochromic device (ECD) consists of several thin layers including transparent electrode, EC materials and electrolyte layer which are capable of changing the optical transmittance of ECD on switching the voltage [6,7,8,9,10]. The resulting optical transmittance changes revert to their original state when the polarity of the voltage is reversed by switching conversely. This phenomenon pertains to the injection and extraction of electrons and ions due to oxidation and reduction mechanism after applying different voltages (≤3 V) [11,12,13].

As an inorganic material, tungsten oxide (WO3) is the most widely studied case in field of EC material, and has also had the greatest commercial uptake [14, 15]. Furthermore, WO3, as a nontoxic material, has fast response time, good intercalation properties (H+, Li+, Na+ and K+), favorable coloration efficiency (CE) and desirable optical properties [16]. The reversible electrochromic effect in the case of WO3 can be expressed as the following relation [17]:

$${\text{WO}}_{3} + {\text{ xe}}^{ - } + {\text{ xM}}^{ + } \leftrightarrow {\text{M}}_{{\text{x}}} {\text{WO}}_{3} \left( {{\text{M}} = {\text{H}}^{ + } ,{\text{ Li}}^{ + } ,{\text{ Na}}^{ + } } \right)$$
(1)

Since the use of single metal oxide only limits the optimal performance of electrochromic phenomenon, the electrochromism of composite systems consist of noble metals and metal oxides can be used [18]. Such ECDs based on composite structures can be employed to modify electrochromic properties, compared to single metal oxides structures. In addition, researchers in EC field reported results such as the enhancement of CE as well as the durability for using composite structures [19, 20].

In the present work, we deposited the tungsten and silver powders as a famous EC metal oxide and a noble metal on FTO-coated glass to form a layer-by-layer structure using the physical vapor deposition (PVD) apparatus. The FTO–WO3–Ag–WO3–Ag thin films are prepared and the post-annealing processes are done in vacuum for 2 min at different temperatures including 100, 200 and 500 °C, to study the effects of temperature of post-annealing on electrochromic properties in this structure. The EC properties of the electrochromic thin films are investigated by cyclic voltammetry (CV), UV–vis spectra and current curves to illustrate reversible color changes and response time.

2 Experimental

2.1 Materials

Tungsten oxide (WO3) powder, Ag nanoparticles powder, lithium perchlorate, propylene carbonate (PC), hydrochloric acid, ethanol and acetone were purchased from Merck. The FTO-coated glass was purchased and cut into small pieces with the size of 2 × 0.9 cm2.

2.2 Instruments

Deposition of the thin films is done by PVD Apparatus (Meca 2000, France) that equipped with thickness gauge and operated in 10−6Torr. CV analyses are done by using the potentiost at /galvanostatAutolab (Nova software model PGSTAT 302 N, Metrohm, Netherlands) coupled with a personal computer. The CV data are obtained in 0.5 M LiClO4 in PC solution in which the FTO-coated glass slide is used as the working electrode, and a thin foil of platinum as well as Ag/AgCl (KCl saturated) are used as counters and reference electrodes, respectively. The morphology of the thin film was characterized by a field emission scanning electron microscopy (FESEM, model MIRA3 TESCAN, operated at 15 kV) and an atomic force microscopy (AFM, model: AP 0100, Park Scientific Instruments). Element identification results are obtained by energy disperse X-ray spectroscopy (EDX). The optical properties of the films are investigated by UV–vis spectrophotometer (Shimadzu 210 spectrophotometer).

2.3 Preparation of electrochromic thin films

At first, the FTO-coated glasses are cleaned with common detergent and deionized water, HCl 0.1 M, ethanol, and finally acetone for 10 min in the ultrasonic bath in the room temperature. The partial of the FTO surface is masked to prevent of deposition in all of deposition process. Adequate amounts of WO3 and Ag powder are laded into separated tungsten boats in PVD apparatus.

In the deposition process, the thickness and the rate of deposition are monitored by a digital thickness display monitor. Figure 1 shows the rates of deposition and applied current versus time. After 80 min, the thickness of the film increased to 200 nm. In the next process, Ag nanoparticles powder for 1 min, WO3 nanoparticles powder for 5 min and Ag nanoparticles powder for 1 min are respectively deposited by PVD method. At the end of the deposition process, the multi-layer arrangement of electrochromic thin films (WO3/Ag/WO3/Ag) with the thickness of 200–2–10–2 Å are achieved. The post annealing processes are used to crevasse the Ag nanoparticles for 2 min in vacuum at 100, 200 and 500 °C.

Fig. 1
figure 1

The curves of current and deposition rete versus time in deposition process

3 Results and discussion

3.1 CV studies

Figure 2 shows the CV spectra of samples in 0.5 M LiClO4–PC solution in the potential region from −1.0 to +1.0 V (vs. Ag/AgCl) at a scan rate of 100 mV/s. It shows the effects of different post annealing temperatures on FTO–WO3–Ag–WO3–Ag electrochromic structures. All of samples exhibit one oxidation broad peak and one reduction broad peak due to the intercalation process of Li+ into, and the deintercalation of Li+ out from the nanocomposite thin films. As shown in Fig. 2, the oxidation broad peak shifted from +0.1 to +0.2 V when the temperature of post annealing increased from 100 to 500 °C. Furthermore, the sample with post annealing temperature of 200 °C has excellent conductivity at positive and negative potentials. On the other hand, the conductivity of sample with post annealing temperature of 500 °C strongly decreased.

Fig. 2
figure 2

Cyclic voltammogram of electrochromic thin films in a 0.5 M solution of LiClO4–PC at different post annealing temperatures

4 Morphology studies

The morphology of WO3–Ag–WO3–Ag thin film is characterized using FESEM and AFM. Figure 3 displays the FESEM and EDX images of sample. As can be seen, the sample consists of canaliculated surface with hills like shape (Fig. 3a). Among these canals, nanoparticles of silver can be seen with mean grain size of 24–45 nm (Fig. 3b). Furthermore, Fig. 3c shows the FESEM cross sectional picture of sample on FTO coated glass substrate. Figure 3d shows the EDX of sample that confirms the presence of fundamental elements for FTO–WO3–Ag–WO3–Ag sample. As it can be seen, the fundamental elements of tungsten oxide and silver with tin element (correlated to FTO layer) are present in EDX spectrum. In addition, the weight and atomic percentages of elements in structures of the samples are reported in Table 1. In order to study the topography of the sample surface, AFM analysis was done, and the result can be seen in Fig. 4. The morphology of the sample surface has an approximate roughness of 17 nm, and Fig. 4 shows the hill-like structure that was previously seen in SEM pictures.

Fig. 3
figure 3

FESEM images of WO3–Ag–WO3–Ag thin film (a and b) surface and c cross sectional, d EDX spectrum of sample

Table 1 The detailed structures of the WO3–Ag thin film
Fig. 4
figure 4

AFM image of WO3–Ag–WO3–Agelectrochromic thin film. Scan size is 0.5 × 0.5 μm

4.1 EC properties

The optical transmittance of the prepared thin films at different post annealing temperatures changed at different applied DC voltage from −1.0 to +1.0 V. Fig. 5 shows and compares the visible optical transmittance spectrum of thin films at two applied DC voltages, the first in bleach state (blue curves) at +1.0 V, and the second in colored state (red curves) at −1.0 V. The maximum value of the optical transmittance of sample that annealed at 100 °C in bleached state is 76.93% at 632.8 nm while the minimum value of the optical transmittance in colored state is 46.95% in the same wavelength. The sample that were annealed at 200 °C shows a better result. The optical transmittance in bleached state is 81.15% at 632.8 nm, and the minimum value of the optical transmittance in colored state is 40.30% in the same wavelength. These results for the sample that were annealed at 500 °C are respectively 66.64 and 61.55%, that are briefly reported in Table 2. So, the differences of transmittance (ΔT %) for FTO–WO3–Ag–WO3–Ag samples for post annealing temperatures at (100, 200 and 500) °C, respectively equal to 30.28, 41.07 and 5.12%. The coloration switching response is a very predominant parameter in EC materials. The switching time is computed as the time required for 90% change in the full transmittance modulation at 632.8 nm. Figure 6 shows the current transient response and the corresponding switching curves at 632.8 nm for FTO–WO3–Ag–WO3–Ag electrochromic thin films in 0.5 M LiClO4–PC electrolyte. For all samples, the DC voltage steps were applied from −0.1 to +1.0 V, and subsequently, the response time for bleached and colored states are calculated as 13.8 and 10.1 s for sample at 100 °C, 15.6 and 9.5 s for sample at 200 °C and 14.2 and 29 s for sample at 500 °C. Figure 7 compares the current densities of electrochromic thin films at different sequential switching from +1.0 to −1.0 V and from −1.0 to +1.0 V. As it can be seen, the interchanged charge (area under the curve) in sample that post annealed at 200 °C is higher than other samples. In this case, current transient density through the electrochromic film at a consecutive switching in 30 s, started in about 4 ms for this nanocomposite, and it has a sharp drop to zero after the first few seconds. This result accompanied with the highest difference of transmittance (ΔT %) for the sample that post annealed at 200 °C, introduce it as an optimal sample for this structure. In addition, we can compare the current densities of (WO3) and (WO3–Ag) thin films at different sequential switching from +1.0 V to −1.0 and from −1.0 to +1.0 V. In order to investigate the CE of samples; we use related equations as follow:

Fig. 5
figure 5

Visible transmittance spectra of WO3–Ag–WO3–Agelectrochromic thin films (at different post-annealing temperatures) under different potentials from −1.0 to +1.0 V

Table 2 Electrochromic properties of WO3–Ag–WO3–Ag thin films in 0.5 M solution LiClO4–PC at 632.8 nm for different post annealing temperatures
Fig. 6
figure 6

Electrochromic responses at 632.8 nm for WO3–Ag–WO3–Agelectrochromic thin films at different post annealing temperatures (−1.0 to +1.0 V) in 0.5 M LiClO4–PC electrolyte

Fig. 7
figure 7

The current curves versus time for WO3–Ag–WO3–Ag electrochromic thin films at different post annealing temperatures (−1.0 to +1.0 V) in 0.5 M LiClO4–PC electrolyte

Fig. 8
figure 8

Variation of the in situ optical density (OD) versus charge density for WO3–Ag–WO3–Ag electrochromic thin films (at different post annealing temperatures)

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

where T c and T b refer to the colored and bleached transmittances of the EC film [21, 22]. As shown in Fig. 8, the slope of the curves demonstrates the amount of CE [23]. The CE values of samples are calculated to be (61.2, 69.8 and 31.3) cm2 C−1 for WO3/Ag/WO3/Ag thin films at 100, 200 and 500 °C (Fig. 9).

Fig. 9
figure 9

Optical transmittance differences of WO3–Ag–WO3–Ag electrochromic thin films versus wavelength (at different post annealing temperatures)

According to the experimental results of this section, it can be concluded that; at elevated temperatures such as 500 °C, two things happen: First, the tungsten oxide will be converted from amorphous state to a crystalline state and the electrochromic performance (current density and coloration efficiency) will be reduced in a crystalline state as compared to an amorphous state. Second, silver will be oxidized at high temperatures and this will reduce the performance (current density and coloration efficiency) of silver nanoparticles.

But at 200 °C, post heat treatment causes the silver particles be penetrate without of oxidation that formation of nanocomposite)silver tungsten oxide) will be improved the electrochromic performances (current density and coloration efficiency).

5 Conclusions

The thin film structures of WO3–Ag–WO3–Ag have been post-annealed at 100, 200 and 500 °C in vacuum for 2 min. The samples have been compared in EC properties. The results show that the obtained thin film at 200 °C has good conductivity and a better EC performance. Specially, the change of transmittance of this sample at 632.8 nm has increased to 40.30% at DC voltage steps −1.0 to +1.0 V in 0.5 M LiClO4–PC solution. Furthermore, the response time of this sample for bleached states has decreased to 9.5 s, and for colored states reached to 15.6 s at same DC voltage steps. CE of the sample that annealed at 200 °C equals to 69.8 cm2C−1. This value of CE is suitable for industrials aspects.