1 Introduction

Transparent conductive oxides such as SnO2, In2O3, ZnO and TiO2 have been widely used in optic and electronic devices [1, 2]. In the last few decades, there has been a rising interest in the use of transparent conducting oxide thin films in the field of conducting solar window materials as thin film solar cells [3], heat reflectors in solar applications [4, 5], gas sensors [6, 7], energy storage for batteries and photo-electrodes of dye-sensitized solar cells [8, 9]. Their low electrical resistivity, high transmittance in the visible range and infrared (IR) reflectivity, chemical inertness, mechanically hard property[10, 11] and adherence to the many substrates are several advantages. Amongst them, tin oxide (TO, SnO2) is the one of first transparent conductors to achieve significant commercialization [10, 12]. Although the stoichiometric TO is a good insulator, the non-stoichiometric TO is an n-type semiconductor because of intrinsic defects such as oxygen vacancies or tin interstitials [1316]. In order to control and improve the properties of SnO2, many studies have been conducted on doping SnO2. The doping of the SnO2 could be carried out by changing Sn4+ and O2− atoms with dopant atoms. The efficiency of dopant atoms depends on the difference between the ionic radius of the host and the dopant atoms [16]. Both tungsten (W) and fluorine (F) come amongst the most important elements of anion and cation dopants. Tungsten has W6+ state and the radius of W6+ is proper to that of Sn4+ (W6+: 67 pm; Sn4+: 71 pm); with this property, it is easy to replace the Sn4+ theoretically [17, 18]. Similarly, the ionic radii of fluorine (F) is similar to that of oxygen (F: 131 pm; O2−: 138 pm) [19] and F atoms easily indwells in the place of oxygen [20]. In case W6+ and F are changed by Sn4+ and O2−, respectively, in SnO2 crystal structures, W and F atoms will give two and one extra free electrons to SnO2 structure, respectively. Thus, both atoms of fluorine and tungsten give three free electrons to SnO2 lattice [21, 22] and can increase the visible transmittance, IR reflectance and electrical conductivity.

SnO2 thin films can be deposited by several techniques such as thermal evaporation [12], sputtering [23], chemical vapour deposition [24], spray pyrolysis [22], the hydrothermal method [25], pulsed plasma deposition (PPD) [26], pulsed laser deposition [27], reactive evaporation [28] and the sol–gel spin coating technique [18]. Amongst these deposition techniques, spray pyrolysis is a useful method to fabricate thin films because of its simple and cheap experimental arrangement [29], easy adding of doping elements, reproducibility, high growth rate and mass production capability [30]. In this study, we intended to investigate the effect of W doping on the structural, morphological, optical and electrical properties of SnO2:F films on glass substrates at (500 ± 5) °C temperature deposited via spray pyrolysis.

2 Experimental

2.1 Synthesis

F and W/F doubly doped TO thin films, given in the present study, were fabricated using a homemade spray pyrolysis apparatus. 0.7 mol·L−1 stannous chloride dehydrate (SnCl2·2H2O) dissolved in ethyl alcohol (C2H5OH) was prepared as the SnO2 starting material and a few drops of HCl were added to this. For F and W doping, ammonium fluoride (NH4F) dissolved in deionized water and tungsten hexachloride (WCl6) dissolved in ethyl alcohol were used as the dopant materials. These materials were used in necessary amounts to prepare 20 at% F-doped and 20 at% F + 1 at%–5 at% (varied with 1 at% step) W-doped SnO2 samples and six different spray solutions were prepared. All the spray solutions were magnetically stirred for 2 h to obtain homogenous solutions. The resultant solutions were sprayed on glass substrates at (500 ± 5) °C temperature. The glass substrates were firstly kept in boiling chromic acid solution and then they were rinsed with deionized water. Finally, they were cleaned with acetone, deionized water and methanol using an ultrasonic cleaner and dried with nitrogen. The normalized distance between the spray nozzle and the substrates (40 cm), the flow rate (10 ml·min−1) and every total spray solutions’ quantity (30 ml) were kept fixed. Filtered compressed air was used as carrier gas. The total deposition time was maintained at 3 min for each film. The substrate temperature (working temperature) was (500 ± 5) °C. The substrate temperature was maintained using a k-type thermocouple based on a digital temperature controller. After deposition, the coated substrates were allowed to cool down naturally to room temperature. In each process, five more samples were produced simultaneously at each doping level. The sprayed samples were named as 20 at% F-doped FTO, 20 at% F + 1 at%–5 at% W-doped WFTO-1, -2, -3, -4 and -5.

2.2 Characterizations

The structural characterization of the SnO2 thin films was carried out by X-ray diffraction (XRD) measurements using a Rigaku Miniflex II diffractometer with Cu Kα radiation (λ = 0.15418 nm). The diffractometer reflections were taken at room temperature and the values of 2θ were altered between 10° and 90°. The morphological properties of the samples were determined by means of a Zeiss Evo LS10 scanning electron microscope (SEM) and an atomic force microscope (AFM, which was produced by Nanomagnetics Instrument). The sheet resistance values were measured by a four-point probe. The optical transmittance measurements of the samples was recorded in the spectral region of 290–1,100 nm at 300 K using a UV–VIS spectrometer (Perkin-Elmer, Lambda 40) which works in the range of 200–1,100 nm.

3 Results and discussions

3.1 Microstructural properties

The structural properties of FTO and WFTO thin films have been studied using XRD spectra. Typical XRD spectra of the films are showed in Fig. 1. All diffractograms show only characteristic SnO2 peaks with cassiterite tetragonal structure and these peaks collaborate with the ones from JCPDS card No.: 1-1445. Other peaks belonging to SnF2, SnO, Sn2O3 and metallic W are not observed in the samples. The calculated d’ values of FTO and WFTOs films are given in Table 1, and these values are compared with the standard ones from the JCPDS card No.: 41-1445. It is perceptible from the figure that the FTO films grow along the preferred orientation of (200), whereas 1 at% W-doped FTO films grow along (211). The preferred growth is (200) plane with 2 at% W doping content. The films doped with 3 at% W have (200) orientation and a further doping ratio has (110) orientation. The other observed peaks are (101), (220), (310), (301), (321) and (400). It can be seen from Fig. 1 that the intensities of all peaks decrease with increasing W doping content. The (101), (211) and (301) preferential orientations have been observed by Gordillo et al. [31]. A relationship between the precursor solution chemistry and the preferential direction for the growing of SnO2 films was found. In another study, Smith et al. [32] analysed the relation between solution chemistry and film morphology by preparing SnO2 films with and without the addition of HCl in SnCl2·2H2O solution. It was concluded that when HCl was added with the starting solution, the films were highly oriented along (200) plane. Agashe et al. [33] reported a change in the preferred orientation from (110) to (200) as the concentration of tin chloride increased in the precursor solution, and they concluded that the change of preferential orientation was caused by the gradual incorporation of Sn at interstitial sites in the SnO2 lattice. Elangovan and Ramamurthi [34] found that (211) preferential orientation of pure SnO2 changed to (200) orientation with F doping. In another study reported by Elangovan and Ramamurthi [35], (211) preferential orientation of undoped films changed to (200) line with F doping and for Sb doping films, (211) line firstly changed to (301) plane at low doping content (1.0 and 1.5 wt% Sb content) and then changed to (200) line at high Sb doping content. They also reported that preferential orientation depended on precursor solution content. A change at the preferential orientation was found as a function of the spray precursor solution molarity by Babar et al. [36]. They found that when the solution molarity of Sb-doped SnO2 was changed from 0.5 to 2.5 mol·L−1, the preferential orientation changed from (110) to (200), (301) and (211) planes. From the studies of un- and doped SnO2 films by Chacko et al. [37] and Lin et al. [38], it was found that the substrate temperature on the spray pyrolysis was a factor in affecting the preferential orientation. Thus, we can conclude the following: during the thin film deposition, the grains of TO were oriented to have minimum interfacial energy [39]. At the film deposition by spray pyrolysis, the growth direction depends on the properties of the material under study and its deposition conditions such as substrate temperature, doping materials, its content and film thickness. In this study, the change of preferential orientation can be sought in the differences of the preparation of the starting solutions with W doping ratio. Similar to our results for preferential orientation, in the literature, F-doped SnO2 films grew along (200) orientation obtained by Agashe and Major [40]. Undoped and F-doped films grown along the (110) orientation were found by Patil et al. [41] and Zaouk et al. [42], respectively. Shanthi et al. [43] observed that the preferred orientation remains along (110) for all conditions, irrespective of the substrate temperature, film thickness, solution flow rate, air flow rate, substrate to nozzle distance and fluorine doping level. The (211) and (110) lines were observed by Babar et al. [44] and Yao [45] for Sb-doped SnO2 films. Also, Huang et al. [21] found (110) preferential orientation for W-doped SnO2 films prepared by PPD.

Fig. 1
figure 1

XRD patterns of FTO and WFTOs thin films

Table 1 The interplanar distance (d) values of FTO and WFTO thin films (nm)

The lattice constants a and c of the tetragonal phase are determined using following relation [37]:

$$ \frac{1}{{d^{2} }} = \left( {\frac{{h^{2} + k^{2} }}{{a^{2} }}} \right) + \left( {\frac{{l^{2} }}{{c^{2} }}} \right) $$
(1)

where d is the interplanar distance and h, k and l are Miller indices. The calculated lattice constants can be seen in Table 2. The calculated a and c values nearly agree with the ones from JCPDS card No.: 41-1445 (a = b=0.47382 nm, c = 0.31871 nm). It is seen from the Table 2 that the lattice parameters are not affected much by the incorporation of the W dopants in the films.

Table 2 The structural and element composition properties of FTO and WFTO thin films

The average grain size is calculated for the most striking peaks using Scherrer formula [46]:

$$ D = \frac{0.9\lambda }{\beta \cos \theta } $$
(2)

where D is the grain size of nanoparticles, β is the full width at half of the peak maximum in radians and θ is the Bragg’s angle. The grain size values are given in Table 2 and these values do not change much with W doping.

The stress is one of the most important factors negatively affecting the structural properties, which may be a result of geometric mismatch at interphase boundaries between the crystalline lattices of films and the substrate [47]. The stresses can cause crystal disorders and dislocations in the films. And, the dislocation density (δ) can be defined as the length of dislocation lines per unit volume (lines·m−2). The dislocation density (δ) of the films is calculated using the following relation [48]:

$$ \delta = 1/D^{2} $$
(3)

The calculated dislocation density values are given in Table 2. The calculated δ value of 2.73 × 1015 lines·m−2 for FTO film slightly decreases to 2.62 × 1015 lines·m−2 then increases to 3.36 × 1015 lines·m−2 and again decreases to 2.84 × 1015, 1.59 × 1015 lines·m−2 for 1 at%, 2 at%, 3 at% and 4 at% W doping ratios. And, the final value is 2.89 × 1015 lines·m−2 for 5 at% W-doped FTO sample.

3.2 Morphological and surface composition properties

The surface morphology and element compositions of F and F + W doubly doped SnO2 films are investigated by SEM micrographs and EDX spectra shown in Fig. 2a–f. These spectra clearly confirm the existence of Sn, O, F and W elements on the surface of FTO and WFTO films. EDX analysis shows that the atomic ratios of F/Sn (at%) in spray-deposited FTO, WFTO-1, -2, -3, -4, -5 films are found to be 22.34, 24.96, 18.95, 25.72, 24.71, 25.20, respectively. These values are slightly more than the ones used in the spray solution. For WFTO samples, W doping ratios (W/Sn [at%]) are found to be 1.26, 2.78, 3.83, 4.42 and 5.58. As seen from Fig. 2, FTO and WFTO films are composed of dense small particles of a pyramidal shape and have a smooth surface. Also, the FTO film has well-formed and densely packed crystallites and the distribution of these particles is homogenous. It is observed that surface morphology of the films does not change much when W element is inserted into the FTO structure. The grain size of FTO film slightly increases with 1 at% W doping and for 2 at% W-doped film, a few big grains appear on the smaller particles. Increasing to 3 at% W content, the film morphology becomes homogenous and the size of small grains increases. The morphology of 4 at% W-doped FTO film is non-homogenous. The surface of films becomes smooth and homogenous with 5 at% W content. This particles structure is similar to those obtained in other studies [4952].

Fig. 2
figure 2

SEM images and EDX spectra of FTO and WFTOs thin films: a FTO, b WFTO-1, c WFTO-2, d WFTO-3, e WFTO-4 and f WFTO-5

The surface morphology of the films has also been examined by AFM. AFM images are obtained at 5 μm × 5 μm planar in tapping mode, at 512 × 512 resolutions and with 1 μm·s−1 of scanning speed. 2- and 3D AFM images of the films with different tungsten doping concentrations are shown in Fig. 3a–f. From the AFM images, the films are composed of nanoparticles which almost homogenously distribute on the film surfaces. It can also be observed that the surface morphology of the films does not change much when W element is inserted into the FTO structure. Root mean square (RMS) roughness values of the films have been extracted from the AFM data. The RMS values of FTO films are found to be 106 nm and this value decrease to 73.1 and 64.7 nm for 1 at% and 2 at% W-doped films, respectively. As the doping levels increased from 2 at% to 5 at%, the roughness of the films continuously increased from 64.7 to 138 nm. A detailed AFM study reveals that the roughness of the film is dependent on the dopant level and the smoothest surface is obtained for 2 at% W-doped FTO film.

Fig. 3
figure 3

2- and 3D AFM images of FTO and WFTOs thin films: a FTO, b WFTO-1, c WFTO-2, d WFTO-3, e WFTO-4 and f WFTO-5

3.3 Electrical properties

It is found that the all samples have an n-type conduction mechanism using the hot probe method. The electrical properties of FTO and WFTOs films have been identified by the four-point probe method. The sheet resistance values of the films are given in Table 3 and in Fig. 4. As seen in Fig. 4, there is a decrease in the sheet resistance and resistivity of FTO film with W doping up to 2 at%. The sheet resistance values of FTO films decrease from 3.22 to 2.33 and 1.12 Ω for 1 at% and 2 at% W doping ratio, respectively. When the doping ratio is increased further, the sheet resistance values continuously increase and reach maximum values of 4.53 Ω for 5 at% W-doped FTO. The variation in the sheet resistance of F-doped TO thin films with tungsten doping can be explained by the presence of a different valance state of W element. When SnO2:F films are doped with W at low doping content, some of the Sn4+ in the lattice is replaced by W6+ due to the ionic radius of Sn4+ being similar to the radius of W6+ (W6+: 67 pm; Sn4+: 71 pm) [53], resulting in a decrease in the sheet resistance [17, 18, 21, 26]. Hence, a reduction in the sheet resistance is observed until the W concentration reaches 2 at%. Beyond 2 at% of W doping, some of the W6+ is reduced to the low valance states, in which the ionic radius is more than that of Sn4+ [5355], resulting in the formation of acceptor states and a loss of carriers and thus, in present study, an increasing in sheet resistance. Another reason for increasing sheet resistance may be shown as both F and W dopants may not be placed in the proper lattice position with increasing W doping. In earlier studies, it has been found that 3 at% and 3 wt% W doping reduced the sheet resistance of SnO2 and tungsten atoms are fully oxidized to the valence of W6+, and most of W6+ was incorporated inside the SnO2 structure at a low doping ratio from XPS study [17, 18, 21, 26]. A critical W doping level was also found as 3 at% by Kurtz et al. [56] and Zhou et al. [57] and they found that W doping improved the electrical conductivity of SnO2 structure from theoretical calculations.

Table 3 The electrical and optical parameter values of FTO and WFTO thin films
Fig. 4
figure 4

W doping ratio dependence of sheet resistance and figure of merit for FTO and WFTOs thin films

3.4 Optical properties

Optical properties of FTO and WFTO thin films have been studied by UV–VIS spectrometer at room temperature. Figure 5a shows optical transmittance curves as a function of wavelength of the thin films. From these curves, it can be seen that the transmittance of FTO film is strongly affected by the incorporation of W. It is observed that the transmittance of FTO film has an increasing tendency with W doping concentration up to 2 at% content. After this doping ratio, transmittance increases with further W doping. In addition, the absorption edge shifts towards the shorter wavelength region (blue shift) for 1 at% and 2 at% W doping and shifts to the longer wavelength region (red shift) for 3 at%, 4 at% and 5 at% W doping. The FTO and WFTO films have interference fringes, and for 3 at%, 4 at% and 5 at% W doping ratios, the interference fringes start to reduce, which implied the increase in the roughness of film surface. An increase in the roughness of the films’ surface with 3 at%, 4 at% and 5 at% W doping can also be seen from AFM results. The appearance of interference fringes can indicate the smooth reflecting surface and minimum scattering loss at the surface [58].

Fig. 5
figure 5

a Optical transmittance and b the variation of versus (αhν)2 for FTO and WFTOs thin films

The absorption coefficient (α) is determined by the following equation [30]:

$$ \alpha = \ln (1/T)/d $$
(4)

where T is the transmittance and d is the film thickness. The optical band gap of FTO and WFTO thin films is obtained by the following relation [58]:

$$ ah\nu = A\left( {h\nu - E_{\text{g}} } \right) $$
(5)

according to the relationship Eq. (5), where and A are photon energy and the constant, respectively. E g values are determined by plotting (αhν)2 versus and extrapolating the linear region of the plot to zero absorption ahν = 0. It can be seen clearly in Fig. 5b that, when the W doping ratio is increased to 2 at% in the F-doped SnO2 structures, the band gap value increases. After 2 at% W doping ratio, on increasing W doping ratio, band gap values sharply decrease. The band gap values of FTO, WFTO-1, -2, -3, -4 and -5 thin films are found to be 4.01, 4.07, 4.13, 3.92, 3.83 and 3.78 eV, respectively. The reason for increasing band gap with W content can probably be explained as follows: TO is a member of the degenerate semiconductor family [14], where the Fermi level is within the conduction band [53]. Thus, the optical band gap is related to the excitation of the electrons from the valance band to the Fermi level [36, 44]. This states that there is a rising of the Fermi level into the conduction band of the degenerate semiconductor owing to an increase in the carrier density, leading to the energy band broadening (shifting) with some of the Sn4+ in the lattice substituted by W6+ at low doping contents, which is called the Moss–Burstein effect [59]. At high doping levels, some of the W6+ can be reduced to the low valance states which cause a decrease in optical band gap due to energy band narrowing. Also, a decrease in E g up to 3 at% W doping may probably be caused by the grains of layers randomly grown, which may give rise to a scattering effect. Also, reducing transmittance and band gap values can be brought about by the crystal defects, lattice strain and impurities which can be created by tungsten and fluorine doping [60]. Also, the reorientation effect observed from XRD peaks may cause a decrease in optical transmittance and optical band gap.

In solar cell applications, the figure of merit is one of significant parameters for estimating transparent conducting oxide thin films [61]. The most widely known figure of merit as described by Haacke formulation for comparing the performance of various transparent conductors is [44]

$$ \Phi = T^{10} /R_{\text{s}} $$
(6)

where T is the transmittance at 550 nm and R s is the sheet resistance. This formula makes an evaluation about whether the prepared films are appropriate as front contact for use in solar cells, and thus it is serviceably adapted to solar cell technology. The calculated values of the figure of merit are given in Table 3 and Fig. 4. The variation of the figure of merit of FTO film with incorporation of W from Fig. 4 can be seen. When the W atoms are inserted to FTO lattice, the figure of merit increases from 6.39 × 10−2 to 50.9 × 10−2 Ω−1 up to 2 at% W doping ratio. On increasing W doping ratio further, the figure of merit values continuously decrease to the minimum value of 1.34 × 10−2 Ω−1. It is found that the WFTO-2 film has the highest value obtained in the present study. The high IR reflectivity is one of the base requirements for high quality solar windows. Further, the efficiency of flat plate collectors reduces considerably [62] due to the escape of thermal energy in the form of IR radiation. This problem is overcome by using high IR reflectivity transparent conducting oxides. The reflectivity (R) of the films can be calculated using the relation [3]

$$ R = \left( {1 + 2\varepsilon_{0} c_{0} R_{\text{s}} } \right)^{ - 2} $$
(7)

where ε 0 c 0 = 1/376 Ω−1. This relation is valid over a wide range in the IR region. The estimated values of R are over 95 % and the highest value of 98.82 % is calculated for WFTO-2. Also, the IR reflectivity values are very good for IR reflective coating.

4 Conclusions

Transparent and conducting F and F + W doubly doped SnO2 thin films have been successfully deposited on glass substrates at (500 ± 5) °C by the spray pyrolysis technique. XRD study indicates that the films have polycrystalline nature with tetragonal crystal structure. It is found from XRD, SEM and AFM results that preferential orientation, grain size and grain distribution on the substrate depend on W doping content. Electrical and optical studies show that the electrical and optical properties of FTO films are changed by doping with W. In addition, the 2 at% W-doped film exhibits the lowest sheet resistance and the highest figure of merit, optical band gap and IR reflectivity. These results indicate that some properties of FTO films can be altered by W doping. Also, in comparison, the low electrical resistivity, high visible transmittance and high IR reflectivity values make 2 at% W-doped FTO film suitable for photo-thermal conversion of solar energy and transparent conductors for many optoelectronic devices applications.