1 Introduction

Semiconducting metal oxides have been studied for some decades as sensing materials, in order to detect hazardous gases [18]. The mechanism of the metal-oxide sensors is based on the change of electrical conductance in response to the introduction of a small concentration of reducing gas, which reacts with the oxygen species at the oxide surface [1, 4, 5]. Many extensive studies, mainly concerning SnO2, widely investigate the dependence of the electrical response on both the electronic and morphological properties of the semiconductor [915]. The sensing mechanism towards different gases, H2 [16], CO [17] and NO2 [18] was also suggested.

Several mechanistic details were achieved thank to the use of the sol–gel synthetic approach, whose attitude to give nano-materials with very reactive surfaces and controlled particle size and porosity, allows to obtain samples with enhanced electrical response [1922].

In fact, the performances of semiconductor based sensors are determined by the surface interaction of the oxide with the analyte gas [15]. Specifically fast gas diffusion rate through the sensing layer and effective charge transfer between the grains require oxide grain size of nanometric dimensions, comparable to the thickness of the space-charge region [24, 25]. Moreover, high interconnectivity between the particles is needed to facilitate the electronic charge transport [9, 10]; high surface area to favor the gas-oxide interaction and porous structure to improve the gas diffusion throughout the layer [9]. In addition the sensor response can be significantly enhanced by homogeneously dispersing noble metals centres into the oxide matrix, such as Pt, Pd, Ag, which act as catalysts of the chemical interaction between gas molecules and the semiconductor [11, 15].

In this frame, our group prepared nanostructured thin films of transition metal doped SnO2 by the sol–gel method and demonstrated the improving effect of the particle nanosize and of the homogeneously dispersed doping metal on the oxide sensing properties [11, 15]. The dependence of electrical response on the film morphology, on the oxidation state of the metals, as well as the electron transfer at the interface gas/metal/oxide were also investigated. The metal and oxygen defects responsible for the variations in the semiconductor resistance were revealed by electron spin resonance measurements [11, 18].

Moreover, in order to better detail the effect of the porous structure on the oxide sensing properties, three dimensionally ordered macroporous materials (3DOM), specifically Pt-doped SnO2 inverted opal films, were synthesized by alkoxide-based sol–gel processes [10, 11]. The self assembled ordered array of colloidal polymeric microspheres was used as the template; the interstices were filled with metal alkoxide solution, then hydrolyzed and densified. The obtained inverted opal architecture is constituted of macropores connected through holes, resulting from the contact between the template spheres, surrounded by strongly interconnected nanocrystalline particles. These morphological features guarantee high surface chemisorption and easy gas diffusion. Recently, our group proposed an innovative one-step sol–gel preparation of Pt doped SnO2 as inverse opal thin films by dip-coating deposition, to easily obtain three dimensional ordered macroporous metal oxides with high surface area and homogeneous dopant metal distribution. The procedure enables the self-assembled formation of closely-packed PS template array and the simultaneous infiltration of the precursors into the voids of the structure, making it possible to obtain the oxide solid skeleton around the spheres in one-step [15].

Among semiconductor metal-oxides, WO3 has been also considered as one of the most promising materials for toxic gas detection, in particular for ammonia detection [26]. An extensive scientific and engineering research is still active on this topic, focused on optimizing the sensing properties: electrical response, response rate, gas selectivity and long-term stability [26, 27]. In this context, the tailoring of the morphology and an effective doping method of the oxide matrix still remain important challenges.

We recently studied the behaviour of sol–gel prepared WO3 films as NH3 sensor and investigated the role Cr, Cu and V dopant, in enhancing the electrical response and in avoiding the resistance overshooting effects observed in undoped WO3 [28, 29]. However, the preparation method adopted was relatively time consuming and the sensor performances were evaluated only under high ammonia concentration (500 ppm). Furthermore, no doping with noble metal (such as Pt), which in principle can enhance the NH3 dissociation and promotes the response, was carried out.

In this paper, we report a fast and tailored sol–gel one-step procedure to prepare Cr and Pt-doped WO3 mesoporous thin films for ammonia gas sensing, based on the use of polyalkyleneoxide triblock copolymer as the templating agent. The purpose was to study the effect of the oxide porous morphology and of the metal homogeneous doping on the sensing properties towards NH3. The morphology of the WO3 films and the electronic properties of the doping metal centers were studied by electron microscopy and EPR spectroscopy, in order to suggest a mechanism for the variations of electrical properties in the presence of NH3. Finally the electrical response of the WO3 layers was discussed in terms of conductance regime under different gas concentrations, in order to achieve optimum balance between the intensity and the reproducibility of sensor performances. Results supported the validity of the synthesis method here reported to supply promising nanomaterials for the detection of ammonia even at low concentration.

2 Experimental section

2.1 Chemicals

Poly(alkylene oxide) block copolymer designated (HO(CH2CH2O)20(CH2CH(CH3)O)70(CH2CH2O)20OH (EO20PO70EO20), Pluronic P123); tungsten hexachloride, WCl6 99.9%; chromium(III) nitrate nona hydrate Cr(NO3)3·9H2O 99%, bis(acetylacetonate)platinum(II), Pt(acac)2 97% and absolute ethanol (99.9%) were all purchased from Aldrich and used without further purification.

2.2 Preparation of precursor suspensions of Pt- and Cr-doped WO3 sol–gel film and film deposition

The precursor suspensions for the deposition of Pt- and Cr-doped WO3 sol–gel films, were prepared according to a previously reported procedure [23]. The doping was carried out by direct addition of the dopant metal precursor to the reaction solution.

In a typical preparation the copolymer EO20PO70EO20 (1 g) was dissolved in ethanol (10 mL) under magnetic stirring. Then WCl6 (400 mg) was added under a N2 atmosphere, and the resulting dark blue solution was vigorously stirred for 30 min. Pt (Pt:W molar ratio 0.025) or Cr doping procedure (Cr:W molar ratio 0.025) was carried out by adding the proper amount of Pt(acac)2, or Cr(NO3)3·9H2O, respectively, to the WO3 precursor suspension. The obtained solution was stirred at room temperature in air for 24 h, until the sol phase reached a suitable viscosity (~2.5 ± 0.3 cSt) for the dip-coating deposition.

Sol–gel films were deposited in air by dip-coating (0.8 cm/min) on Suprasil quartz slides (20 × 20 mm, 0.25 mm thickness) and dried in air for about 10 min at room temperature. The above cycle was repeated three times, then the film was annealed at 450 °C (heating rate 2 °C min−1) in air stream (80 cm3 min−1) for 5 h, in order to fully decompose the polymeric template and all the organic remnants.

Since XRD, BET and EPR analysis of films are difficult to be performed with high accuracy, these characterizations were performed on powders. To gain pure and doped WO3 nanopowders, the sol phase used for film deposition was gelled in an open Petri dish at 100 °C in air for 24 h until the xerogel was obtained. This later was calcined under the same conditions used for films in order to completely remove the organics and obtain a green crystalline WO3 powder.

2.3 Morphological characterization

XRD analysis was performed on WO3 powdered samples. X-ray diffraction (XRD) patterns were collected with a Brucker D8 Advance (Cu Kα radiation) in the range 20–80° 2θ (2θ step 0.025°, count time of 2 s per step).

Specific surface area (SSA) by BET method [28], desorption cumulative pore volume (DCPV) and pore size distribution of micro- and mesopores (<50 nm) by BJH method [29] were measured by nitrogen physisorption using Quantachrome Autosorb-1 apparatus. Cr-doped and Pt-doped WO3 powder samples were evacuated at 200 °C for 16 h before the analysis.

Scanning electron microscopy (SEM) measurements of the films were performed by a Vega TS5136 XM Tescan microscope in a high-vacuum configuration. The electron beam excitation was 30 kV at a beam current of 25 pA, and the working distance was 12 mm. In this configuration the beam spot was 38 nm. Prior to SEM analysis, samples were gold-sputtered. The average thickness of sol–gel derived WO3 thin films was measured by observing cross-section SEM images of the layers.

High-resolution transmission electron microscopy (HRTEM) and electron diffraction (ED) were performed using a Jeol 3010 apparatus operated at 300 kV with a high-resolution pole piece (0.17 nm point-to-point resolution) and equipped with a Gatan slow-scan 794 CCD camera. Samples were obtained by removing a film portion from the substrates in order to obtain a fine powder sample, then suspended in 2-propanol. A 5 μL drop of this suspension was deposited on a holey carbon film supported on a 3 mm copper grid for TEM investigation.

2.4 EPR characterization

The electron paramagnetic resonance (EPR) investigation was performed by a Bruker EMX spectrometer working at the X-band frequency and equipped with an Oxford cryostat operating in the range of temperature 4–298 K.

Cr-doped WO3 powders were inserted into quartz glass tubes connected both to a vacuum pumping system and to a controlled gas feed (Synthetic Air).

Spectra were recorded under vacuum conditions (10−2 mbar) at 130 K, on Cr (2%) doped WO3 exposed for 60 min to 20 mbar of air at 250 °C, in order to reproduce the conditions of the electrical measurement (see Sect. 2.5).

Modulation frequency was 100 kHz, modulation amplitude 5 gauss, and microwave power 20 mW. The g values were calculated by standardization with α,α′-diphenyl-β-picryl hydrazyl (DPPH). Care was taken in order to always keep the most sensitive part of the EPR cavity (1 cm length) filled.

2.5 Electrical measurements

Suprasil quartz slides were equipped, before film deposition, with two gold current collectors (20 mm) deposited at a distance of about 2 mm from each other by the dc sputtering technique. Then the samples were placed in a quartz chamber sited in an oven, and the measurements were performed at different temperatures, ranging from 200 to 325 °C. The electrical resistance was measured by a programmable electrometer controlled by a PC. To dynamically reproduce environmental conditions in a controlled and reproducible way, a system based on volumetric gas mixing through mass flow controllers and certified bottles was used. The sensing element was initially equilibrated in air flow (100 mL min−1) at the selected temperature, then NH3 (range 6.2–74 ppm)/air mixture was introduced (100 mL min−1) up to equilibrium conditions. The different gas mixtures were obtained by dilution of the starting NH3 (74 ppm)/air mixture using mass flow controllers. The initial resistance conditions of the film were restored by air equilibration, before again introducing the NH3/air mixture. The electrical response (S) is defined as the ratio between the film resistance under flowing air, RAIR, and under flowing NH3/air mixture, RMIX, respectively (S = RAIR/RMIX).

3 Results and discussion

3.1 Structural and morphological characterization

XRD and BET analysis were performed on WO3 powdered samples, as the film characterization is difficult to be performed with high accuracy (see Sect. 2).

XRD patterns of Cr-doped WO3 powders are shown in Fig. 1. The broadening of the diffraction peaks suggests that the oxide is composed of nanocrystals. The obtained phase can be indexed as monoclinic, in fact the diffractogram shows the (200), (020), and (002) reflections (Fig. 1b) with similar intensities, precisely indicating the type of monoclinic structure (spacegroup: P21/n, a = 0.7297 nm, b = 0.7539 nm, c = 0.7688 nm, β = 90.91°, JCPDS 43-1035). Identical diffraction patterns were obtained for pure and Pt-doped WO3 powders.

Fig. 1
figure 1

a X-ray diffraction patterns of Cr-doped WO3 sol–gel powders obtained after annealing at 450 °C. b Detail of the diffractogram showing the (200), (020), and (002) reflections of the WO3 monoclinic structure

Cr and Pt-doped WO3 nanopowders resulted mesoporous in the nitrogen physisorption measurements, showing type IV Brunauer isotherm and a broad monomodal pore size distribution centered at 20 nm. As an example, the adsorption–desorption isotherms and the corresponding pore-size distribution of Pt-doped WO3 powders are shown in Fig. 2. According to the t-plot (not showed), no micropores were detected. Cr and Pt-doped WO3 sol–gel powders exhibit a specific surface area (SSA) of 39.1 and 45.4 m2 g−1; a DCPV of 0.21 and 0.19 cm3 g−1, respectively.

Fig. 2
figure 2

Adsorption/desorption isotherm at liquid nitrogen for Pt-doped WO3 sol–gel powders. Curves correspond to type IV isotherm with capillary condensation in the mesopores. Inset pore size distribution

Scanning electron microscopy (SEM) investigations were performed on both undoped and transition metal-doped WO3 films. The average thickness of sol–gel derived WO3 thin films was estimated by observing cross-section images of the layers and resulted in the range of 540–620 ± 15 nm (see Supporting Information, Fig. S1). Top view SEM micrographs of Pt-doped WO3 film (Fig. 3) revealed the presence of porous aggregates of oxide nanoparticles (Fig. 3b). No large cracks were detectable and films with extensive homogeneity were obtained (Fig. 3a). Similar images were obtained for Cr-doped and also for bare WO3 films (not shown), confirming that doping by transition metal ions does not affect the film morphology.

Fig. 3
figure 3

SEM micrographs of Pt-doped WO3 sol–gel films showing large porous aggregates

TEM images of Pt-doped and Cr-doped WO3 sol–gel films are shown in Fig. 3. WO3 aggregates are constituted of irregularly shaped interconnected nanocrystals (Fig. 4a, b) with a broad size distribution ranging from 20 to 50 nm, when the statistics is applied to about 150 particles. No amorphous phases and internal defects or pores were detectable. Higher magnification reveals that WO3 nanoparticles (Fig. 4c, d) are separated by small mesopores with dimensions ranging between 5 and 15 nm, in agreement with the results obtained by nitrogen physisorption. Unexpectedly, Pt-doped WO3 films show well detectable Pt metal nanocrystals; some of those lie at the surface, but the most are included inside the WO3 matrix (Fig. 4d). These Pt particles appear to be distributed throughout the whole layer. Conversely, Cr-doped films are exempt of metal particles, suggesting dopant dispersion in the oxide matrix without any evident segregation.

Fig. 4
figure 4

TEM and HRTEM images of Cr-doped (a, c, e) and Pt-doped (b, d, f) WO3 sol–gel films. Insets in figure a, b report the SAED patterns of the Cr and Pt-doped WO3 nanomaterials. Inset in figure f shows the magnification of a Pt spherical nanoparticle anchored to the WO3 surface

Finally, the selected-area electron diffraction (SAED) patterns collected for Cr-doped and Pt-doped WO3 (inset Fig. 4a, b) confirm the monoclinic structure of the oxide nanocrystals already revealed by powder diffraction. TEM analysis performed on undoped WO3 sol–gel films gave analogous results (Fig. S2 Supporting Information).

High-resolution (HRTEM) images of Cr-doped (Fig. 4e) and Pt-doped WO3 (Fig. 4f) samples evidence that the lattice fringes of the nanocrystals have a spacing of 3.79 Å, which reasonably matches the interplanar distance of the (200) plane of the monoclinic tungsten trioxide (ICDD 71-0131).

Inset in Fig. 4f provides insight into the structure of the spherical Pt metal nanoparticles observed in Pt-doped samples (Fig. 4d, f). Pt particles have diameter of about 4 nm and calculated interplanar spacing of 2.25 Å (not shown), in agreement with the (111) crystallographic plane of Pt (JCPDS 04-0802).

It appears that Pt ions of the precursor solution are reduced within the WO3 lattice, at variance with Cr ions, as expected, and aggregate into clusters, probably favoured by the possibility of moving through the channels of the WO3 perovskite open structure.

3.2 EPR investigation

While zerovalent Pt was easily detectable by the presence of metal nanoparticles, no information about the electronic states of Cr centers became evident.

Considering that Cr centers can in principle give rise to paramagnetic electronic states, an Electron Paramagnetic Resonance (EPR) investigation was performed on Cr-doped WO3 powders, after exposure to 20 mbar of synthetic air at 250 °C, this condition simulating the operative sensor temperature (see the next section).

Figure 5 shows the spectra recorded at 130 K after sample evacuation (10−2 mbar). The resonance lines are similar to those previously reported by us for differently prepared Cr-doped WO3 samples and attributed to β Cr species (Cr2O3 like centers), δ Cr species (tetragonally distorted Cr(III) centers), γ Cr species (Cr(V) centers) [30, 31]. The total amount of paramagnetic centers is about 14% of the nominal Cr content (2%) and assesses that a significant part of chromium is in an oxidized paramagnetic electronic state.

Fig. 5
figure 5

EPR spectra recorded at 130 K and p < 10−2 mbar of Cr-doped WO3 powders annealed in air (20 mbar) at 250 °C. In large sweep spectra a Cr species are labelled as δ, β and γ. b Enlarged spectra in the region of the Cr(V) resonances (γ species) and corresponding g tensor values

3.3 Electrical measurements

WO3 is a n-type semiconductor oxide, whose resistance decreases under NH3 and increases under air. Its electrical response to NH3 is associated with specific reactions at the gas-oxide interface. In previous works we suggested that, in the first stage of the reaction, ammonia molecules chemisorb on the Lewis and Brønsted acidic sites of WO3 surface and undergo dehydrogenation through the capture of hydrogen atoms by the oxygen lattice centers (OO) [28, 29]. Hydroxyl groups and \( {\text{NH}}_{{3 - {\text{n}}}}^{{{\text{n}} - }} \) species (n = 1, 2, 3) are produced following reaction 1:

$$ 2{\text{NH}}_{3} + 6{\text{O}}_{\text{O}} \rightleftarrows 2{\text{NH}}_{{3 - {\text{n}}}}^{{{\text{n}} - }} + 2{\text{nO}}_{\text{O}} {\text{H}} + (6 - 2 {\text{n}}){\text{O}}_{\text{O}} $$
(1)

\( {\text{NH}}_{{3 - {\text{n}}}}^{{{\text{n}} - }} \) species successively interact between them leading to the formation of molecular nitrogen (reaction 2A). Otherwise, they can react with oxygen centers to form nitrogen monoxide (Reaction 2B), which is the favored path in an oxygen-containing atmosphere. Finally, \( {\text{NH}}_{{3 - {\text{n}}}}^{{{\text{n}} - }} \) species may reduce NO to N2O by reaction (2C) [30, 31].

$$ \mathop{\longrightarrow}\limits{{}}{\text{N}}_{2} + 6{\text{O}}_{\text{O}} {\text{H}} + 6 {\text{e}}^{ - } \rightleftarrows {\text{N}}_{2} + 3 {\text{H}}_{2} {\text{O}} + 3 {\text{O}}_{\text{O}} + 6 {\text{e}}^{ - } $$
(2A)
$$ \mathop{\longrightarrow}\limits{{}} 2 {\text{NO}} + 6 {\text{O}}_{\text{O}} {\text{H}} + 1 0 {\text{e}}^{ - } \rightleftarrows 2 {\text{NO}} + 3 {\text{H}}_{2} {\text{O}} + 3 {\text{O}}_{\text{O}} + 1 0 {\text{e}}^{ - } $$
(2B)
$$ \mathop \to \limits^{{ + 2 {\text{NO}}}} 2 {\text{N}}_{2} {\text{O}} + 6 {\text{O}}_{\text{O}} {\text{H}} + 6 {\text{e}}^{ - } \rightleftarrows 2 {\text{N}}_{2} {\text{O}} + 3 {\text{H}}_{2} {\text{O}} + 3 {\text{O}}_{\text{O}} + 6 {\text{e}}^{ - } $$
(2C)

All these processes generate electrons and increase the WO3 conductance.

In the presence of doping metal, we suggested that the metal centers trap (reaction 3) the electrons derived from reactions (2A2C), and right hand shift all processes 2A2C. This allows the production of further electrons, increasing the electrical response [15]:

$$ {\text{M}}^{{{\text{m}} + }} + {\text{n e}}^{ - } \to {\text{ M}}^{{({\text{m}} - {\text{n}}) + }} \quad ({\text{m}},{\text{n}} = 1,2,3,4) $$
(3)

Transition metal doped WO3 mesoporous films are in principle expected to combine the effects due to the metal electronic sensitizer with those of the porous morphology, suitable for fast gas diffusion through the sensing layer and easy accessibility to the surface active sites.

The electrical response of doped and undoped WO3 films was evaluated by measuring the resistance variation under alternating air and NH3/air flows. Examples of resistance variation at different concentrations of NH3/air mixture for Pt-doped and Cr-doped WO3 samples are shown in Fig. 6.

Fig. 6
figure 6

Examples of electrical responses at T = 300 °C of (left) Pt-doped and (right) Cr-doped sol–gel WO3 films to different concentrations of NH3 in synthetic air

The sensor response was evaluated as S = RAIR/RMIX, where RAIR is the resistance under air and RMIX is the electrical resistance under NH3/air gas. The variations of the electrical response were taken at different temperatures (200–325 °C) and for different NH3 concentrations (6.2–74 ppm) in dry air. Figure 7 reports the electrical responses as a function of the operating temperatures for undoped, Cr-doped, and Pt-doped WO3 films under different NH3 concentrations.

Fig. 7
figure 7

Temperature dependence of sensor response of a Pt-doped; b Cr-doped and c pure WO3 films at different NH3 concentration in dry air

All samples showed a similar temperature-dependence of the sensitivity, marked by a maximum at 250 °C and by a decrease at the highest temperatures. At each NH3 concentration, Pt-doped samples display higher electrical responses compared to Cr-doped and undoped ones. In particular, Pt-doped WO3 layers show the best performances at 250 °C under 74 ppm of NH3 (S = 47), with a significant response even at 6.2 ppm (S = 5), the lowest NH3 concentration. The electrical response for the Pt-doped WO3 films and the corresponding recovery times at the highest ammonia concentration are reported in Table 1. It is interesting to note that increasing the temperature till 300–325 °C, Pt-doped films display relatively short recovery times (~50–10 min), which become significantly higher when the temperature is below 250 °C (see Table 1).

Table 1 Electrical sensitivity and recovery times detected for Pt-doped WO3 sol–gel films

The maximum shaped trend of the electrical sensitivity is probably caused by a balance between two opposite effects. In fact, upon heating, ammonia reactions (2A2C) at the oxide surface become faster and the response increases. On the other hand, NO, a side product of ammonia oxidation (reaction 2B), can easily react with O2 to produce NO2, which acts as oxidizing agent and increases the layer resistance. At high temperature the NO2 oxidizing effect succeeds, while at a low temperature, being the conversion of NH3 to NO less favored, the NH3 reducing effect prevails [32].

In order to better describe the sensitivity towards NH3, the electrical response of all layers is reported as a function of NH3 concentration at several operating temperatures (Fig. 8). At each temperature, layers generally easily detect the different concentrations of ammonia.

Fig. 8
figure 8

Comparison among the electrical responses of Pt-doped, Cr-doped and pure WO3 films as a function of ammonia concentration in dry air at different temperatures: a 250 °C, b 275 °C, c 300 °C. Insets in a, b and c highlight the differences between undoped and Cr-doped sensor responses which are difficult to appreciate in the full scale

Pt-doped WO3 layers showed the best performances at all temperatures. The reason for the higher electrical sensitivity of Pt-doped WO3, with respect to Cr-doped, cannot be attributed only to higher amounts of electrons trapped by positive Pt center expected from the sensitization mechanism (3). Instead it can be also related to the presence of the Pt nanoparticles, revealed by HRTEM analysis. Following a recent literature suggestion, these finely distributed Pt particles may act as catalysts of the interaction between ammonia and Oo centers [33], decreasing the activation barrier in the reaction 1 and promoting the dissociation of the N–H bond.

Even if much lower than Pt-doped WO3 sensors, the electrical response of Cr-doped WO3 layers is always higher than pure WO3, in particular at 275 °C (onset on Fig. 8a). This confirms that the doping with chromium anyhow improves the electrical response of WO3 films. In fact, Cr(III) and Cr(V) centers detected by EPR, should accept the electrons injected by NH3 (following reaction 3) decreasing their positive oxidation state and increasing the overall sensitivity.

The overall results suggest that the combination between mesoporous architecture and metal doping can really promote the electrical response of WO3 toward ammonia.

However, it appears an open problem whether the morphology is less or more effective than the doping metal in influencing the electrical properties of metal oxide gas sensors. In fact, several investigations report about the sensing performance of oxides with different morphologies [26, 27, 3032], mainly in the case of nanostructures, but only very few consider the comparison among transition metal-doped oxides having the same morphology [34]. Interestingly in the case of Cr-doped WO3, it has been reported that the metal doping is able to quench the electrical differences due to two different nanostructures, and the electrical behavior is fully influenced by the dopant metal [34]. The results obtained in the present study for Cr-doped WO3 thin films seem therefore in line with this behavior: the higher electrical response induced by Pt than by Cr doping WO3 with the same nanostructure can be mainly attributed to the different ability of two metals to undergo reduction. Thus, mechanistic effects related to chemisorption and gas diffusion in mesoporous oxide appear less determinant than the electronic differences between the two examined doping metals.

4 Conclusions

A fast one-step sol–gel procedure, based on the use of triblock copolymer as templating agent, was successfully applied to synthesize both undoped and Cr or Pt-doped WO3 mesoporous thin films, to be employed as ammonia gas sensors.

The obtained films were constituted by aggregates of interconnected WO3 nanocrystals (20–50 nm) separated by mesopores with dimensions ranging between 5 and 15 nm. The doping metals, Pt and Cr, resulted differently hosted in the WO3 mesoporous matrix. Chromium is homogeneously dispersed in the oxide matrix, mainly as Cr(III) and Cr(V) centers, as revealed by EPR spectroscopy; instead platinum segregated as Pt (0) nanoparticles (4 nm) mainly included inside WO3 nanocrystals. This was related to the expected easier reducibility of the Pt centers compared to the Cr ones in the presence of triblock copolymer template, and to the Pt aggregation into clusters moving through the channels of the WO3 open perovskite structure.

The WO3 semiconductor layers containing Pt nanoclusters revealed, upon exposure to NH3, remarkable electrical responses, much higher than Cr-doped and undoped layers, particularly at low ammonia concentration (6.2 ppm). This behavior was attributed to the presence of Pt nanoparticles segregated inside the semiconductor matrix, which act as catalysts of the N–H bond cleavage, decreasing the activation barrier in the ammonia dissociation. This probably makes the major difference with the simple electron capture performed by the oxidized doping centers. Thus, the electrical properties of Pt and Cr-doped WO3 thin films, can be mainly related to the different reducibility of the dopants.

The role of the mesoporous structure in influencing the chemisorption and the gas diffusion in the WO3 matrix appears less decisive than the electronic differences between the two examined metals.

The overall results support the validity of this synthesis method to supply promising nanomaterials for the detection of ammonia even at low concentration.