1 Introduction

In the last decades, most efforts to efficiently enhance energy efficiency have been focused on energy solution strategies utilizing the lithium ion batteries and super capacitors as energy storage systems and chromogenic materials in smart windows as efficient energy usage systems [1,2,3,4]. Not only energy storage systems are based on the electrochemical reaction of the electrode materials but also smart window systems are designed on the same mechanism and both of them possess sandwich device structures. Substantially designed energy-saving windows, such as electrochromic (EC), thermochromic and photochromic, function by exterior stimuli involving either an electric field, heat stimulus or ultraviolet (UV) excitation [5]. It is not possible to alter the optical performance, which involves arbitrarily passing or blocking solar energy in response to environmental changes in thermochromic and photochromic phenomena. While the important advantage of EC phenomenon that can be exhibited is a controllable process independent from environmental changes [6, 7]. Balzers (in 1953) and Deb (in 1961) were the first researchers that were introduced a description of EC performance in transition metal oxides. This particular property is caused the attempts to use electrochromic devices (ECD) from 1953 to now [8]. This functionality is of great interest for numerous applications such as smart windows, switchable mirrors, information displays, sunglasses and variable emittance infrared skins [9,10,11].

Electrochromism is defined as reversible changes of the optical properties of materials under an applied electric field. During an EC process, the electrons are injected or extracted depending on applied voltage and the ions are moved simultaneously into or out of the EC materials to balance charge neutrality [12]. Recently more and more attention has been put on WO3 thin films for its EC properties [13, 14]. The reversible EC effect in the case of WO3 can be expressed as [15, 16]:

$${\text{W}}{{\text{O}}_3}+{\text{x}}{{\text{e}}^ - }+{\text{x}}{{\text{M}}^+} \leftrightarrow {{\text{M}}_{\text{x}}}{\text{W}}{{\text{O}}_3}\left( {{\text{M}}={{\text{H}}^+},{\text{ L}}{{\text{i}}^+},{\text{ N}}{{\text{a}}^+}} \right)$$
(1)

Furthermore, the nanocomposite structures of WO3 containing metal nanoparticles have aroused great interest tremendous potential due to their unique chemical and physical properties. Nanoparticle of metals are manipulated to use unique optical properties that result mainly from its surface plasmon resonance (SPR) [17]. In EC process, when the semiconductor such as WO3 is coupled with a noble metal (Ag), electrons from the semiconductor transfer to the metal particles, as the Fermi energy level of the semiconductor is higher than that of the noble metal. Hence, the photo-generated electrons accumulate on the noble metal which serves as trap centers to facilitate charge separation [18].

In the present work, we use two modes to deposit the WO3 thin films. Our purpose of different deposition modes is to provide the different surface morphologies of the samples. Because of, we use orientable substrate holder in deposition process by physical vapor deposition (PVD) apparatus. The angels of zero and 75° are adopted for substrate holder of samples. After deposition of WO3 thin films at two modes, the WO3–Ag thin films are prepared by deposition of Ag nanoparticles on the surface of each samples. The EC properties of the WO3–Ag thin films are investigated by cyclic voltammetry (CV) and UV–Vis spectroscopy.

2 Experimental

2.1 Materials

WO3 nanoparticles powder, Ag nanoparticles powder, lithium perchlorate, propylene carbonate (PC), deionized water (DI), ethanol and acetone are purchased from Merck. The fluorine doped tin oxide (FTO)-coated glass is purchased and cut into small pieces with the size of 0.9 × 2.0 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−6 torr. CV analyses are done by using the potentiostat/galvanostat Autolab (Nova software model PGSTAT 302N, Metrohm, Netherlands) coupled with a personal computer. CV is measured in 0.5 M LiClO4 in PC solution that the FTO-coated glass slide is used as the working electrode and a thin foil of platinum and Ag/AgCl (KCl saturated) are used as counter and reference electrodes, respectively. The morphology of the thin film is characterized by a field emission scanning electron microscopy (FESEM, model MIRA3 TESCAN, operated at 15 kV) and an atomic force microscopy (AFM, model: Auto probe, cp-research, Veeco). 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 WO3–Ag nanocomposite thin films

The WO3 nanoparticles are deposited on the FTO-coated glass substrates (resistance 28–34 Ω/cm2) using PVD method in vacuum at two different modes schematically illustrated in Fig. 1. Firstly, the FTO-coated glass is cleaned with common detergent and water, HCl 0.1 M, ethanol and finally acetone for 10 min in the ultrasonic bath and at room temperature, respectively. In the first state, FTO-coated glass substrate is placed at an angle of 0° corresponding to evaporation direct (W-0). The second sample is prepared at an angle of 75° (W-75) by using PVD method. In the deposition process, the thickness and the rate of deposition are controlled by digital thickness display monitor. To keep the same deposition parameters in deposition process, the rate of deposition is fixed at 0.2 Å/s by increasing the step by step of current for each of samples (Fig. 2). In the next process, Ag nanoparticles as a dopant are decorated by PVD method at the same angle 0° for two samples (WAg-0 and WAg-75). In this process, deposition process is continued with deposition rate of 0.1 Å/s for 2 min. The annelid process to crevasse the Ag nanoparticles is applied for 1 min and at 400 °C.

Fig. 1
figure 1

Different modes of substrate holder in deposition process by physical vapor deposition

Fig. 2
figure 2

The curves of current and deposition rete vs. time in deposition process. (Color figure online)

3 Results and discussion

3.1 Optical properties

In order to describe the photo-absorption behavior and optical band gap of the samples, the UV–Vis absorption spectra are recorded. Figure 3 shows the absorption spectra of tungsten oxide, WAg-0 and WAg-75 samples in the range of 300–800 nm. It can be seen that amount of absorption for WAg-0 sample at the range of 350–450 nm and 650–800 nm is higher than WAg-75 sample. Conversely, the amount of absorption for WAg-0 sample at the middle wavelengths (450–650 nm) is smaller than WAg-75 sample. On the other hand, absorption of tungsten oxide thin film shows the lowest amount compered to composite samples. This is because the contribution of silver particles absorption is also found in composite samples. In addition, the band gap values (Fig. 4) are calculated using Eq. 2:

Fig. 3
figure 3

Absorption curves of WO3 (blue curve), WAg-0 sample (red curve) and WAg-75 sample (black curve) vs. wavelength. (Color figure online)

Fig. 4
figure 4

The Tauc plats that shows photon energy dependence of (αhυ)2 for WO3 (blue curve), WAg-0 sample (red curve) and WAg-75 sample (black curve)

$$\upalpha {\text{h}}\upupsilon ={\text{A}}{\left( {{\text{h}}\upupsilon -{{\text{E}}_{\text{g}}}} \right)^{\text{n}}}$$
(2)

where A is a constant which depends on the electronic transition probability, hυ denotes photon energy, Eg is the optical energy gap of the material, and n is the power which characterizes the transition process, where n = 1/2 and 3/2 for direct allowed and forbidden transitions, respectively, and n = 2 and 3 for indirect allowed and forbidden transitions, respectively [19]. For WAg-0, WAg-75 and tungsten oxide samples (Fig. 4), we observe band gaps at 3.78, 3.85 and 3.89 eV, respectively. It can be seen that with increasing the dopant amount of nanoparticles (Ag) to semiconductor material (WO3), the band gap is decreased. Additionally, WAg-75 sample shows a lower band gap than WAg-0 sample. Therefore, this suggests that WAg-75 sample has had a better condition to form uniform composite.

3.2 Morphology studies

The morphologies of the WAg-0 and WAg-75 thin films are determined by using FESEM and AFM techniques. Figure 5a, b show the FESEM images corresponding to WAg-0 thin film. As can be seen, these pictures are consisted of a cleft surface that cracks are very narrow and small. On the other hand, Fig. 5d, e show the FESEM images corresponding to WAg-75 thin film that its surface porosity is very deep and broad compared to the WAg-0 sample. The surface of WAg-75 thin film not only provides suitable surface to penetrate Ag nanoparticles into depth of surface, but also increases the effective surface in contact with the electrolyte and subsequently enhances the EC performance. Figure 5c, f show the EDX of WAg-0 and WAg-75 samples that confirm the presence of fundamental elements for each sample. In Fig. 5c, f, three fundamental elements of WO3–Ag thin films can be observed. The weight and atomic percentages of elements in structures of the thin films are reported in Table 1. Figure 6 shows the AFM images of WAg-0 and WAg-75 thin films for scanning a square area 3 µm × 3 µm. In Fig. 6a can be seen that the morphology of the WAg-0 surface has an approximate roughness about 14 nm and Fig. 6b shows that surface morphology of the WAg-75 thin film has roughness about 20 nm. The depth histograms associated with AFM images of the samples obtained at two different deposition direct are shown in the corresponding Fig. 6a, b. It enables to observe the density of the distribution of the data points on the surface. The vertical axis of the histograms is graduated in depths: the horizontal axis is graduated in percentage of the whole population. There is, however, an increase in the surface roughness with increasing the angle of deposition direct, with root mean squared roughness of 20 nm compared to 14 nm for these samples.

Fig. 5
figure 5

FESEM images and EDX spectra of ac WAg-0 sample and df WAg-75 sample

Table 1 The detailed structures of the WAg-0 and WAg-75 thin films
Fig. 6
figure 6

AFM images of a WAg-0 sample and b WAg-75 sample. Scan size is 3 µm × 3 µm

3.3 XRD and X-ray photoelectron spectroscopy studies

In order to study the purity and crystal structure of samples, we use the XRD analyze and the results can be seen in Fig. 7. XRD measurements show that both WAg-0 and WAg-75 films are amorphous. But three common diffraction peaks (for two samples) are observed at 2θ = 38.3°, 44.3°, 64.4° which correspond to (111), (200), (220) planes of metallic silver respectively (JCPDS ICDD04-0783). On the other hand, two special diffraction peaks are observed in WAg-0 sample, which correlated to silver oxide (JCPDS ICDD74-1743).

Fig. 7
figure 7

XRD pattern of silver–tungsten oxide composite films. The blue and red spectra are correlated to WAg-75 and WAg-0 samples. (Color figure online)

In order to study the stoichiometry of composite samples after post annealing process, we have done X-ray photoelectron spectroscopy (XPS) for samples and XPS spectra showed different results. Figure 8 shows the XPS results including the survey, WO3 and Ag spectra of WAg-0 and WAg-75 samples and Fig. 8a shows that all deposited films are contamination free. As can be seen, Fig. 8b shows high resolution scans of W4f peaks for films deposited at different states. The peak located at approximately 41.7 eV is attributed to W5p3/2 while the other doublet peaks located at 35.7 and 37.7 eV are attributed to W4f7/2 and W4f5/2 (the peaks have a full width at half-maximum of 2.0 eV and an intensity ratio of 0.75) and the tungsten oxide films do not exhibit any sub-stoichiometry [20, 21]. Figure 8c shows high resolution scans of Ag3d peaks for samples. After annealing process, the Ag3d5/2 and Ag3d3/2 doublet peaks are located at 367.4 and 373.5 eV that are attributed to AgO particles for WAg-0 sample, while these peaks are located at 386.3 and 374.4 eV are denoted to Ag particles for WAg-75 sample [22, 23]. Then the surface morphology difference is caused that the silver particles diffused into the WO3 layer of WAg-75 sample and are prevented from oxidation in air.

Fig. 8
figure 8

XPS spectra of WAg-0 and WAg-75 samples. a Survey, b high resolution XPS scans of W4f peaks and c high resolution XPS scans of Ag3d peaks

In order to investigate the depth of silver penetration into tungsten oxide films, we use XPS depth profile analyze for samples and the result are shown in Fig. 9. These curves show the atomic percentages of tungsten and silver due to W4f and Ag3d peaks. The Ag atomic percentage on the surface of film correlated to WAg-0 sample is higher than WAg-75 sample. It shows that the difference in surface leads to this result. In the other words, more porosity of the tungsten oxide surface of in the WAg-75 sample has contributed to the deeper penetration of silver particles. In addition, the penetration depth of silver particles into WAg-0 sample indicates that the post annealing process is associated in metal particles penetration process, although it is trifle compared to influence of surface porosity. The presence of silver particles in depth of WAg-75 sample, contrary to WAg-0 sample, leads to enhance the EC performance through the silver SPR.

Fig. 9
figure 9

XPS depth profile of samples for W4f and Ag3d peaks

3.4 CV studies

Figure 10 exhibits the CV curves of WAg-0 and WAg-75 samples in 0.5 M LiClO4-PC solution in the potential region from − 1.0 to + 1.0 V (vs. Ag/AgCl) at scan rate of 50 mV/s. These curves compare the influence of surface morphology of samples. As can be seen, WAg-0 sample exhibits the oxidation broad peak at − 0.4 V and the reduction broad peak due to the intercalation process of Li+ into and the deintercalation of Li+ out from the WAg-0 thin film. On the other hand, WAg-75 sample shows the oxidation broad peak at − 0.1 V that is happened after peak of WAg-0 sample and has an excellent conductivity at positive and negative potentials. It is because of that the recorded current is due to the Li+ ion intercalation/extraction according to the surface porosity, which increases the contact surface with electrolyte containing Li+ ions. In other words, the entry and exit of more ions into the host network structure will enhance electrochemical performance. This indicate that the WAg-75 sample has higher electrochemical activity associated with more area inside of CV curve.

Fig. 10
figure 10

Cyclic voltammogram of WAg-0 sample (red line) and WAg-75 sample (blue line) in a 0.5 M solution of LiClO4-PC. (Color figure online)

3.5 EC properties

The EC properties, such as contrast change, response time and coloration efficiency (CE) of the WAg-0 and WAg-75 thin films are reported. When WAg-0 and WAg-75 thin films are catholically colored, they change their transparent state and transform to uniform dark blue color. Mutually, when these dark blue thin films are anodically bleached, they recapture their transparent state. This reversible process can be achieved at different applied DC voltage from − 1.0 to + 1.0 V and vice versa. The visible transmittance spectra of the WAg-0 and WAg-75 thin films under different DC voltage are recorded in Fig. 11. The maximum value of the optical transmittance of the WAg-0 thin film in bleached state is 82.18% at 632.8 nm while the minimum value of the optical transmittance in colored state is 45.15% in the same wavelength. Hence, the contrast change (ΔT = Tb − Tc where Tb represents the transmittance in the bleached state and Tc represents the transmittance in the colored state) for WAg-0 thin film is equal to 37.03% at 632.8 nm. The visible transmittance of the WAg-75 thin film decreases from 83.68 to 43.09% at 632.8 nm when the potential is changed in steps between + 1.0 and − 1.0 V. Therefore, the maximum difference of transmittance for this thin film is equal to 40.59% at 632.8 nm that is higher than the maximum difference of transmittance for WAg-0 thin film. These values are presented in Table 2, briefly. The collective oscillations of the free conduction band electrons in Ag nanoparticles by incident light in the visible light cause photonic absorption in red region, rendering blue color to the silver particles [24]. Thus, both EC and SPR are going together and subsequently boost the coloration process.

Fig. 11
figure 11

Visible transmittance spectra of WAg-0 sample and WAg-75 sample under different potentials from − 1.0 to + 1.0 V

Table 2 Electrochromic properties of WAg-0 and WAg-75 thin film in 0.5 M solution LiClO4-PC at 632.8 nm

The coloration switching response is other effective parameter that must be considered in the fabrication of ECDs. The response time is introduced as the required time for 90% change in the full transmittance modulation at 632.8 nm. In Fig. 12, we have shown the switching curves at 632.8 nm for WAg-0 and WAg-75 thin films in 0.5 M LiClO4-PC electrolyte. The DC voltage step for the WAg-75 thin film is applied from − 0.1 to + 1.0 V and subsequently, the response time for bleached and colored states is evaluated as 8.9 and 3.9 s, which are faster than those of the WAg-0 thin film (11 and 4.2 s). The penetration depth of Ag nanoparticles can be caused charge transfer between the WO3 and Ag nanoparticles the surface arising from plasmon resonance effect [18, 25]. The charge transfer process due to SPR decreases the time switching for composite thin films. Deeper penetration of Ag particles into WO3 film in WAg-75 sample compared to WAg-0 sample is decreased the time switching from 11 to 8.9 s.

Fig. 12
figure 12

Electrochromic responses at 632.8 nm for WAg-0 sample (− 1.0 to + 1.0 V) and WAg-75 sample (− 1.0 to + 1.0 V) in 0.5 M LiClO4-PC electrolyte

In Fig. 13, we have also compared the current densities of WAg-0 and WAg-75 thin films at different sequential switching from + 1.0 V to − 1.0 and from − 1.0 to + 1.0 V. In this process, the total charge inserted (or extracted) through the electrodes can be evaluated using the Eq. 3 [26]:

Fig. 13
figure 13

The current curves vs. time for WAg-0 sample (− 1.0 to + 1.0 V) and WAg-75 sample (− 1.0 to + 1.0 V) in 0.5 M LiClO4-PC electrolyte

$${\text{Q}}=\int {i\,dt}$$
(3)

Hence, as we observed, the interchanged charge in WAg-75 thin film is less than WAg-0 thin film.

Another measurable parameter in EC process is CE that is calculated from Eqs. 4 and 5 [27, 28]:

$${\text{CE}}=\Delta {\text{OD}}/({\text{Q}}/{\text{A}})$$
(4)
$$\Delta {\text{OD}}\,(\uplambda)=\log \frac{{{T_b}}}{{{T_c}}}$$
(5)

where Q is the injected electronic charge per unit area, \({T}_{c}\) and \({T}_{b}\) are transmission of thin films at λ = 632.8 nm in colored and bleached states, respectively. Figure 14 shows the plot of ΔOD at 632.8 nm vs. the charge density at coloration DC voltage − 1.0 V for WAg-0 and WAg-75 thin films. The CE values of samples are calculated to be 71.9 cm2 C−1 for WAg-0 and 90.2 cm2 C−1 for WAg-75 thin films.

Fig. 14
figure 14

Variation of the in situ optical density (OD) vs. charge density for WAg-0 and WAg-75 samples

In order to present the overall EC performances of the thin films, the quality factor Γ(λ) can be evaluated by Eq. 6 [29]:

$$\Gamma ( \uplambda )=\frac{{CE}}{\tau },\,\tau =\frac{{{\tau _c}+{\tau _b}}}{2}$$
(6)

where τ is the mean value of the coloring and bleaching time. The overall EC performances of the WAg-0 and WAg-75 thin films are 9.46 and 14.09 cm2 C−1 s−1, respectively, indicating that the EC performance of the WAg-75 thin film was better than that of the WAg-0 thin film.

4 Conclusions

The WO3 thin films are deposited on FTO-coated glass substrates by PVD method at two different modes. The orientable substrate holder is used to deposit the porous surface of WO3 thin film by PVD. The Ag nanoparticles are decorated on WO3 thin films with different surface morphologies by PVD method and annelid in vacuum at 400 °C for 1 min. The post annealing process is used to penetrate Ag nanoparticles into WO3 layers. The obtained results from XPS depth profiling measurement show that deeper penetrate of Ag particles achieved for WAg-75 sample due to more porous surface compared to WAg-0 sample. Thus, the different WO3–Ag nanocomposite thin films are prepared and then studied to evaluate the influence of surface morphology on EC properties. The WAg-75 sample has been upgraded some of the advantages and properties to use in ECDs based on silver SPR and different surface morphology. First, the change of transmittance percentage of WAg-75 sample at 632.8 nm has been increased to 40.59% at DC voltage steps − 1.0 to + 1.0 V in 0.5 M LiClO4-PC solution. Second, the response time of WO3–Ag thin film for bleached states has been decreased from 11 to 8.9 s and for colored states decreased from 4.2 to 3.9 s at same DC voltage steps. Third, the CE of WAg-75 sample at 632.8 nm has been increased to 90.2 cm2 C−1.