1 Introduction

Mesoporous thin films (MTFs) have attracted the interest of the scientific community in the last two decades, due to their multiple applications in sensors, (photo)catalysts, molecular sieves, etc. [1] These materials are synthesized by the combination of sol–gel chemistry and self-assembly of supramolecular templates [2, 3]. In particular, silica mesoporous thin films (SMTFs) have been intensely studied for the flexibility of organosilicon chemistry, with a huge potential of surface modification. Indeed, SMTF constitute an excellent matrix to introduce molecular functionalities, especially for the development of sensors, drug encapsulation and delivery, and electronic tongues [4,5,6].

The functionality of MTF is determined by the degree of condensation of the oxide, the efficiency of template extraction, and the resulting porous structure. SMTF with a high degree of consolidation lead to more compact structures with a lower content of silanol groups. A complete extraction of the template is also relevant, particularly if the films are to be used in size-selective filters, preconcentrators, or catalysts [7,8,9,10].

In order to obtain an adequate control and stability of the final structure, the inorganic framework templated by the micelle arrangement must be stabilized before calcination. Typically, a low thermal treatment at around 130 °C is carried out toward this end [11, 12]. Subsequently, another thermal treatment, typically between 350 and 600 °C, is commonly used to further consolidate the oxide film and remove the organic template by calcination [13,14,15].

In many MTF systems, there is considerable interest in removing the template without degrading all the organic components; for instance, in those MTF deposited on flexible polymeric substrates, or in hybrid organic–inorganic frameworks, in order to preserve organic modifications introduced during the sol–gel synthesis. In the last years, several methods to obtain SMTF have been reported avoiding calcination. As early as in 2000, Clark et al. [16] used UV radiation (187–254 nm) to generate an oxidizing, ozone-rich atmosphere to remove the surfactant. The method was applied successfully on silica films structured with Brij56, although the arrangement of pores changed from hexagonal to cubic after UV exposure. In the same year, Hozumi et al. [17] reported a photocalcination method applying vacuum and UV radiation (172 nm) to partially remove the template in SMTF structured with cetyltrimethylammonium chloride. The works of Huang et al. [18] and Zhang et al. [19] used plasma to remove the template. The former used oxygen plasma on TiO2 MTFs and the latter adapted the method to be used on silica-based mesoporous with argon plasma. Both works concluded that this treatment led to structural disorder and changes in the degree of porosity, and control over the final structure was unpredictable. Horiuch et al. [20] proposed a photocatalytic process to remove the surfactant. They modified the surface of SMTF with TiO2, irradiated with a UV source and concluded that TiO2 was actively involved in the oxidation and removal of Brij78, which was used as a template. They used unmodified SMTF as a control experiment and under these conditions they observed no evidence of surfactant removal. Template extraction and film consolidation have been carried out using acidified ethanol as a solvent at 200 °C. This temperature was chosen to promote the condensation of the inorganic phase without compromising the integrity of the organic functionalities incorporated in the films.

In spite of all these previous investigations, a comparative study is still lacking in the specialized bibliography about the effect of different treatments at low temperatures on the consolidation degree of the silica films, the template extraction, and the porous structure of the resulting mesophases.

The methods mentioned in the previous paragraph as alternatives to heat treatment seem promising. However, they present some limitations in their application. Plasma is difficult to control and the penetration into MTFs is low. Removal with UV radiation is restricted to photodegradable surfactants or requires assisting the oxidation of the template with some photoactive modification.

In this work, in order to further advance in the development of mild methods for SMTF processing, different processes and conditions were explored to condense the inorganic oxide and extract the organic template in SiO2 MTFs at low temperatures (130 °C). The treatments were aimed at producing SMTF with accessible porosity and a condensed, robust framework, and were performed on the same pristine mesostructured silica films, therefore permitting a better comparison between soft template removal methods in crucial aspects for SMTF such as the generation of open porosity and mesostructure stability. We prove that the SMTF prepared under these mild conditions can be used as perm-selective membranes in electrochemical devices.

2 Experimental

2.1 Sol preparation

Pluronics F127 triblock copolymer (Sigma-Aldrich) and cetyl trimethyl ammonium bromide (CTAB) were used as the pore templating agents, and tetraethoxysilane was employed (TEOS, Merck) as the oxide precursor. A mixture of absolute ethanol (Biopack) and E-pure or Milli-Q water (18 MΩ cm−1) was used as solvent. HCl (Merck) was used to control the hydrolysis and condensation of the inorganic species. Mesoporous silica thin films were prepared from two different sols with a molar ratio TEOS:EtOH:H2O:HCl:F127 = 1:40:10:0.008:0.005 and TEOS:EtOH:H2O:HCl:CTAB = 1:40:10:0.008:0.1, in order to obtain films with an Im3m cubic mesostructure with 8 nm pore diameter [21], and a 3D hexagonal P63/mmc with 3 nm pore diameter, respectively [22]. The sols were aged at room temperature for 48 h prior to deposition to favor the hydrolysis of the inorganic precursor. The aged sols were deposited by spin coating (4000 rpm during 30 s) onto silicon and silicon/gold substrates at room temperature followed by a sequence of stabilization processes: aging in 50% RH controlled atmosphere for 60 min, 60 °C for 60 min, and 130 °C for 60 min [11, 23]. In order to obtain mesoporous films onto gold electrodes, SMTFs were deposited onto sputtered gold electrodes (Ti|Au 10|100 nm, Targets 3N) on top of silicon wafers (University Wafer, Inc.). Gold-coated silicon wafers were treated with MTMS (3-mercaptopropyl trimethoxy-silane 95%, Sigma-Aldrich) prior to deposition in order to improve the adhesion of the mesoporous silica films [24].

The different methods used for extraction and consolidation are summarized in Table 1. In the high temperature method (HT), which follows the most used protocol in the literature, samples were heated at 350 °C during 2 h using a ramp of 1 °C min−1. In the alternative methods reported here, template removal was carried out after each treatment by refluxing samples in isopropyl alcohol during 15 min, followed by rinsing with a mixture of ethanol and water of pH = 2, which constitutes a mild and fast method.

Table 1 Description of methods employed after a previous stabilization treatment (50% RH for 60 min, 60 °C for 60 min, and 130 °C for 60 min)

2.2 Films characterization

Refractive indexes and thicknesses of silica films (Si substrate/SiO2 mesoporous layers) were measured after surfactant extraction by spectroscopic ellipsometry (SE SOPRA GES5A). A Cauchy dispersion law for transparent materials was used to model the films thickness and the complex refractive index n(λ) = n(λ) + i k(λ) [41, 42]. Environmental Ellipsometric Porosimetry Analysis (EPA) was also performed, in order to obtain the mesopore fraction and pore size distribution through water adsorption–desorption isotherms. Pore volume and diameter were calculated from these isotherms using the Winelli II software [43]. Samples were observed with an Olympus BX50 optical microscope to assess the homogeneity of the films and scanning electron microscopy was used to characterize the surface structure of pores. Thicknesses were also measured by SEM after cross-sectioning by FIB, using a FIB/SEM Microscope (Thermo Fisher Helios NanoLab 650). Statistics (N = 50/image) and fast Fourier transforms (FFT) were carried out with ImageJ. The infrared spectra were acquired with a Nicolet 6700 Fourier transform infrared spectrometer. Template extraction was calculated as the ratio of the areas of the νC–H bands (2800–3000 cm−1) before and after the extraction process. The contact angle measurement was carried out on a Ramé-Hart 290 instrument and analyzed with DROPImage software.

Substrates for the electrochemical measurements consisted in gold thin films deposited onto silicon wafers by sputtering. SMTFs were subsequently deposited on these substrates by using Methods HT and III. Cyclic voltammetry experiments were carried out with a Teq_04 potentiostat in a three-electrode electrochemical cell, using a saturated calomel electrode as reference electrode and a Pt foil as counter electrode. The exposed area of working was limited to a circle of 2 mm in diameter. Electrochemical measurements were performed at 0.05 V s−1 in solutions prepared using deionized water (18 MΩ cm−1) containing 0.1 mM Ru(NH3)6Cl3 (Sigma-Aldrich) or 1 mM K4Fe(CN)6.3H2O /1 nM K3(CN)6.3H2O (Sigma-Aldrich) and 0.1 M KCl (Biopack).

3 Results and discussion

The alternative methods to thermal treatment at 350 °C presented here were inspired by previous works to obtain robust, homogeneous mesoporous oxide films with a high degree of condensation and template removal at 130 °C [18, 31, 44,45,46]. A completely condensed film was prepared by calcination with the aim of comparing the efficiency of the alternative methods. Homogeneous films without cracks were obtained by this classical synthesis method.

The adsorption isotherms and the distribution and size of pores and necks were similar to those presented in previous works [2]. EPA analysis showed a high porosity in the films (42% and 38% for CTAB and F127, respectively) with type IV adsorption isotherms and H1/H2 hysteresis loops, in accordance with mesoporous materials with interconnected pores and necks systems. The hysteresis shape and distribution indicate the presence of pores and necks of uniform sizes as previously reported [47] (Online Resource S1). The isotherm, the SEM image, and its FFT pattern (Fig. 1) of the film obtained using F127 as template were in accordance with a Im3m cubic mesostructure with 8 nm pore diameter [21], while the isotherm for the CTAB porous system suggests a 3D hexagonal P63/mm structure [48]. The results presented for calcined systems were used as a reference of a totally porous and consolidated silica framework to compare with the alternative developed methods. The films obtained with the different mild template removal methods were systematically characterized and the results are summarized in Table 2. A brief discussion of the most relevant results for each of the alternative methods follows.

Fig. 1
figure 1

SEM of F127-structured mesoporous silica thin film with the associated FFT pattern (inset)

Table 2 Summary of characterization of films prepared with different methods

3.1 Methods I–III: influence of aging and vacuum in the preparation of the films

A series of treatments were carried out in which the condensation time at 130 °C was extended for 0, 1, 2, 5, or 7 days under atmospheric pressure and 7 days under high vacuum. In all cases, homogeneous thin films with high adhesion to the silicon substrate were obtained after this treatment, both for F127 and CTAB templates. When CTAB was used as a template, films with well-defined pores and necks were obtained. However, a double distribution of necks was observed when F127 was used in Methods I and II (Fig. 2c). In those cases, ellipsoporosimetry showed that desorption occurs at two values of P/P0. It has been proposed that this behavior is due to a partial occlusion of the pores. When desorption occurs through necks of different sizes, the driving force necessary to overcome the surface tension must be greater, therefore desorption takes place at lower P/P0 values for smaller diameter of the pores according to the Kelvin equation [49,50,51]. This result suggests that this consolidation procedure leads to a system with a double distribution in the size of the necks, or two systems with different neck sizes that are not interconnected. In the case of CTAB, a small hysteresis can be observed, which indicates that the pores are partially blocked (Fig. 2d). Both results suggest that template extraction is incomplete for Method I, in accordance with the infrared spectra, from which an extraction of about 70% was estimated for both systems (Table 2).

Fig. 2
figure 2

Comparison of the adsorption–desorption isotherms obtained by ellipsometric porosimetry between the Methods I, III with calcined films. Mesoporous films with F127 template are shown in the left side and mesoporous films with CTAB template in the right one, for films obtained by calcination (a, b), by Method I (c, d), and by Method III (e, f)

For the Method III, high vacuum (10−5 mbar) was applied in order to remove volatile products from the sol–gel reaction (water and alcohol) and thus favor the condensation of the oxide [32]. The water adsorption/desorption curve for F127-structured films showed a type IV isotherm with H2 hysteresis, typical of systems with uniformly distributed monodisperse pores, reaching a refractive index of n = 1.25 at P/P0 = 0 and a porosity of 38%, which are values close to those of a calcined film (Fig. 2e). For systems structured with CTAB, homogeneous films were also obtained without discontinuities or cracks. From EPA measurements (Fig. 2f), a porosity of 44% and a wall effective refractive index of 1.393 were obtained, very close to those of the calcined film, with a distribution of pores and necks size comparable to the reported by Boissiere [43, 40].

Figure 3 shows FTIR spectra of mesoporous films before and after template removal using the HT treatment. The C–H band (2950–2850 cm−1) due to the surfactants was completely absent after calcination at 350 °C. Typical bands for the SiO2 species can be observed in the spectra: νSi–O–Si (LO3, 1250 cm−1), νSi–O–Si (TO3, 1170 cm−1), νSi–OH (965 cm−1), and νSi–O–Si (TO2, 800 cm−1) [45, 46]. It is worth mentioning the nature of the shoulder at 1180 cm−1 in the TO3 band, which intensifies with increasing porosity, due to coupling of the longitudinal LO3 and transverse TO3 vibration modes, associated with the dispersion of the infrared radiation in the pores [47]. The results presented for calcined systems were used as a reference of a totally porous consolidated silica framework to compare with the alternative methods developed.

Fig. 3
figure 3

FTIR spectra for porous systems obtained by calcinations (HT Method) using CTAB and F127 as a templating agent, before (solid line) and after (dotted line) template extraction a. Comparison of the C–H bands before and after template extraction for Methods HT and I–III using CTAB b and F127 c

The FTIR spectra for Methods I–III (with CTAB and F127) are consistent with a consolidated mesostructure due the characteristic bands for SMTF present between 1200 and 1000 cm−1, and it can be concluded that increasing the aging time promotes the template extraction. Although removal of the surfactant was not complete, a high level of extraction could be achieved in both cases, above 85% (Fig. 3).

3.2 Methods IV and V: influence of extreme pHs in the films synthesis

It has been reported [13, 34,35,36,37,38,39] that effective condensation of silica mesoporous films could be obtained at pH values lower than 1 and higher than 12. Strongly acidic medium (pH < 1) favors alkoxide hydrolysis and condensation of siloxane groups [13, 35,36,37,38] and highly alkaline media (pH > 12) promote the catalysis of the TEOS hydrolysis [36, 37, 39, 40].

In the present work, films stabilized at 130 °C were subsequently exposed to HCl and NH3 fumes. The films were homogeneous for both templates. Scanning electron microscopy images of F127 systems show that the mesopores evolved to elongated pore systems, intermediate between an Im3m and a 2D hexagonal (p6mm) structure [39]. The observed structure shows a locally ordered mesostructure which is the result of a partial pore merging along the (111) directions of the body-centered cubic architecture. This change is attributable to the incompletely condensed hybrid framework and the evolution is facilitated due to the epitaxy relationships between the (111) axis of the cubic mesostructure and the long pore axis of the 2D hexagonal structures [52]. This surface morphology of elongated pores was corroborated by the water adsorption/desorption isotherm obtained by EPA, in which a double distribution of necks with large diameter predominates, with almost the same size as the pores, in accordance with the SEM images (Fig. 4). Water adsorption/desorption isotherm for films structured with CTAB showed a porosity of 38% and a refractive index of 1.23 at P/P0 = 0, as in the case of F127 slightly higher than those of HT films. Infrared spectra showed that template extraction reached a value of 92% for CTAB and 86% for F127 (Table 2).

Fig. 4
figure 4

SEM image a and ellipsometric adsorption–desorption water isotherm b of films obtained using Method IV with F127 as a template agent

In the films that were exposed to NH3 fumes for 15 min (after humidity and temperature stabilization), optical and electronic microscopies revealed homogeneous films, without cracks and with an excellent adherence to the silicon substrate with Im3m structure. EPA showed a double distribution of necks similar to that obtained with Method IV using F127 (Online Resource S2). However, in this case the refractive index was 1.22 at P/P0 = 0, which is very close to the value obtained for calcined films. For films structured with CTAB, measurements by EPA showed a Type IV isotherm, with H1 hysteresis, resulting in a highly porous system (40%) and a refractive index of 1.22 at P/P0 = 0. The infrared spectra for both surfactants (Fig. 5) showed an atypical shoulder (LO3–TO3 coupling, at 1180 cm−1) for mesoporous silica structures [53,54,55]. This suggests a change of the pore organization in the nanoscale, due to the partial dissolution of the silica, catalyzed by the alkaline medium. While the basic medium accelerates the hydrolysis of TEOS, it also increases the dissolution rate of SiO2 [56,57,58,59]. It has been reported [54, 60,61,62] that the enhancement of the band at 1170 cm−1 can be interpreted as an increase in the tension of Si–O–Si bonds and thus be indicative of an increased disorder in the micropore structure. This result is in accordance with the EPA measurements, which showed a widening of the necks to almost the same size as the pores, as can be seen in Fig. 4 for films prepared with F127 treated with acidic fumes.

Fig. 5
figure 5

Infrared spectra for porous systems obtained by exposure to ammonia fumes (Method V) a. An enhancement in band at 1170 cm−1 band (LO3–TO3 couplings) is observed suggesting a loss of order in the porous structure for both systems b

Summing up, it could be observed that all the methods presented here were effective to obtain mesoporous films with accessible pore systems, without any discontinuity or cracks for both template agents, F127 (Online Resource S3) and CTAB. The calculated effective refractive index showed a deviation of <2% from those films obtained by calcination, in accordance to those reported in the literature [63,64,65,66,67], suggesting a good condensation of the inorganic phase.

However, dissimilar results were obtained regarding to the porous structure and template extraction for the different methods. Films treated at 130 °C during as long as 7 days presented a double distribution of necks when F127 was used. When this treatment was aided by vacuum, a single distribution of pores and necks was obtained. Finally, the use of acid and alkaline fumes produced a modification in the structure of the pores.

With respect to the template extraction, FTIR spectra showed that surfactants were effectively removed by calcination. A treatment with an acidic alcoholic solution showed an average 90% efficiency of template extraction for most of the low-temperature treatments, with the exception of Method I in which a 1-h treatment at 130 °C was used. Longer treatment times at the same temperature favored the process of template removal.

Adhesion to the electroactive substrate, pore accessibility and stability in solutions are critical factors in SMTF applications. In order to test the usefulness of the consolidation–extraction procedures reported here regarding these features, SMTF were processed and tested as perm-selective electrodes. In all cases, SMTF presented excellent adhesion to Si wafers, as expected, due to the chemical compatibility of the substrate and the film composition; films did present a continuous crack-free structure and withstood immersion in aqueous solutions. However, SMTF deposited onto gold substrates presented a variable degree of adhesion, reflected in the formation of cracks on the surface even when the gold thin films were treated with 3-mercaptopropyl trimethoxysilane to improve the chemical compatibility of the interface. When F127 was used as a templating agent, adhesion of SMTF to gold varied from good (no cracks observed, but sample-to-sample partial detachment when immersing in solutions) to excellent (all samples stable when exposed to solution). On the other hand, CTAB-templated films presented poor adhesion and large detached areas of the films could be observed over gold substrates (Online Resource S4). Poor adhesion of CTAB-templated SMTF onto gold can be attributed to bromide ions adsorption onto the gold surface [68, 69].

In order to assess the performance of SMTF as perm-selective membranes, two F127-templated SMTFs were deposited using Methods HT and III onto Si wafers coated with Au thin films and used as working electrodes. Multiple cyclic voltammograms were recorded in a three-electrode cell containing either 1 mM Fe(CN)63−/4− or 0.1 mM Ru(NH3)63+, which were used as anionic and cationic electrochemical probes, respectively. Representative voltammograms are shown in Fig. 6. In the case of the negatively charged ferrocyanide probe, no discernable electrochemical signal is observed in the SMTF-coated gold electrodes (Fig. 6a). This behavior demonstrates that the silica films are robust and exclude negatively charged ions, as expected in a silica porous surface that bears negative charges in the pH range explored. On the contrary, when using a positively charged probe, a pair of anodic and cathodic peaks between −0.3 and −0.35 V is recorded (Fig. 6b). These peaks can be attributed to the oxidation and reduction of adsorbed Ru(NH3)63+ [56]. The peak current is similar for films prepared through calcination or consolidation–extraction, and more than 100 cycles could be recorded on both, with minimum signal losses. The small difference in intensity observed in both types of electrodes can be attributed to the differences in films thickness, porosity, or covered electrode area, taking into account that Ru(NH3)63+ tends to preconcentrate in the mesopores.

Fig. 6
figure 6

Comparison between cyclic voltammograms of 1 mM Fe(CN)63−/4− at bare Au electrode (dotted line) and coated with SMTF prepared using Method III (solid curve) a. Cyclic voltammograms for 0.1 mM Ru(NH3)63+, obtained at Au thin film electrodes coated with SMTF prepared using Method HT (dotted curve) and Method III (solid curve) b. All experiments were carried out in 0.1 M KCl solution of pH 5 at a scan rate of 0.05 V s−1

The chemical and mechanical stability of the bilayer electrode was tested carrying out over 100 electrochemical measurement cycles. A decrease in the peak current is observed with the increasing number of electrochemical cycles, which can be attributed to the progressive dissolution of the silica films [56]; a similar rate of current decrease was observed for both films. These results presented here show that SMTF prepared using Method III are suitable for the development of electrochemical sensors containing a perm-selective component. Detailed studies are underway to shed light into the stability of these low-temperature treated films toward stable perm-selective electrodes. As reported previously, addition of Zr precursors to the initial sol formulation can improve the mechanical and chemical stability of silica-based MTFs [56].

4 Conclusions

A variety of post-synthetic treatment methods were explored and tested with the objective of obtaining continuous, homogeneous SMTF with accessible porous systems and robust inorganic frameworks. The low-temperature treatments developed here allow harnessing silica condensation and phase separation of the template, leading to robust silica frameworks with well-defined, accessible mesopore systems. This is an important step for the inclusion of organic functionalities or even biomolecules in nanofiltration, molecular preconcentrating systems, or perm-selective electrodes that can be deposited onto thermally labile substrates. The comparison of the methods suggests that all of them are suitable for the deposition of well-condensed SMTF with an extraction of the surfactant higher than 85%. However, the porous structure can be highly affected by the post-synthetic treatment and, in this regard, SMTF with a single and uniform system of pores and necks were obtained by the combination of heat treatment at 130 °C in vacuum for 7 days. Finally, to demonstrate the potential of these materials to the field of sensing devices, a proof-of-concept was developed to confirm film stability, accessibility to the electrode surface, and perm-selectivity toward redox probes. The device was working and can be reused for at least 90 electrochemical consecutive cycles in aqueous solutions.