1 Introduction

Nanosized TiO2 is one of the most promising photocatalysts for degradation of organic water pollutants [1,2,3,4,5]. Between three polymorphs of TiO2 (rutile, brookite, and anatase), the most activated one in the photocatalytic process is anatase [6, 7]. However, its wide band gap (3.2 eV) makes it inactive under visible light irradiation [2, 3, 8]. One of the most promising methods for improving TiO2 activity under visible and solar light irradiation is doping with non-metals like N, C, B, and F [9, 10]. Among them, nitrogen seems to be the most efficient and the most investigated dopant between others. Asahi et al.'s [11, 12] revolutionary work showed that sputtering TiO2 targets in an N2/Ar gas atmosphere showed a red shift in absorption spectrum of TiO2 and decolorized methylene blue. Doping two different elements such as B and N [13, 14], Ni and Pt [15, 16], S and N [17,18,19], N and F [2, 20] have resulted to enhanced effect on the photocatalytic activity of the prepared nanoparticles under visible and solar irradiation. Wu et al. [2] prepared a nitrogen and fluorine codoped mesoporous TiO2 microspheres to photocatalytic degradation of Acid Orange 7 under visible light. Xie et al. [20] synthesized F-N-codoped TiO2 at low temperature condition activated under visible light using TiCl4 and NH4F and examined molar ratios of N and F dopants. Wang et al. used N and F codoped TiO2 to reduce hexavalent chromium under visible light and showed that doping both nitrogen and fluorine on TiO2 is more beneficial than N-doped or F-doped TiO2, because N-doping causes red shift in absorption wavelength and F-doping results less agglomeration of nanoparticles [2]. Pang et al. [21] synthesized N-F-codoped TiO2/SiO2 for decomposition of acrylonitrile under solar light with mesoporous structure. Mixing SiO2 into TiO2 lattice investigated by Anderson et al. and showed enhanced activity in destruction of rhodamine-6G than TiO2 alone [22]. Mahesh et al. [23] used PU-TiO2/SiO2 hybrid composite films for degradation of Acid Black 1 and reported that incorporating TiO2 and SiO2 increased the thermal stability and degradation temperature of the prepared nanocomposite. Islam et al. [24] prepared a crack-free sol-gel based TiO2/SiO2 hybrid nanoparticle films that resulted to homogeneous and less-aggregated surface.

Herein, in this study, the sol-gel method was used and dip-coating process followed by heat attachment method to immobilize N-F-codoped TiO2/SiO2 (NFTS) on glass beads and examined decolorization of three azo dyes and reduction of Cr (VI) in a fabricated photoreactor under visible and solar irradiation. It was found that codoped TiO2/SiO2 by nitrogen and fluorine yielded to much higher photocatalytic activity than pure TiO2.

2 Experimental

2.1 N-F-sol preparation

All the chemicals were purchased from Merck and used as received without any further purification. The TiO2/SiO2 sol was synthesized in acidic condition by hydrolyzing titanium (IV) n-butoxide (TNBT). In this method, 5 mL TNBT, 20 mL ethanol, and 5 mL acetylacetone were mixed together under vigorous stirring for 30 min. Then 4.0 mL double distilled water was added dropwise and stirring continued for another 10 min. Afterwards, the pH of the solution was adjusted about 1.7 with concentrated HCl. In the next step, the appropriate amount of urea (CH4N2O) as nitrogen source and ammonium fluoride (NH4F) as fluorine source was added to the solution while stirring. After vigorous stirring for 2 h, 2 g extra pure silica gel 60 (70–230 mesh) was added to the solution and the solution stirred for the next 2 h. The molar ratio of the dopants to the titanium source was 2:1 for urea and 0.1:1 for ammonium fluoride and was investigated in previous researches [20, 21, 25].

2.2 Photocatalyst immobilization on glass beads

Prior to coating process, the glass beads (~ 1 mm in diameter) were cleaned with detergent and etched in diluted hydrofluoric acid for 24 h to prepare the suitable surface porosity for deposition of thin films. In the next step after washing with deionized water, the beads were placed in an oven at 100˚C for 2 h. In this study, dip-coating method followed by heat attachment method were used to immobilize nanoparticles on the glass beads to gain more stability of the particles. According to dip-coating method, the beads were immersed in the sol for the first 30 min. After drying them with the blow dryer, dipping repeated for the next 30 min. After drying and immersing for another 30 min, the coated glass beads were placed in oven at 100˚C for 4 h. At the next step, the immobilized glass beads were calcinated in furnace at 500˚C for 1 h to yield NFTS nanocomposites. To improve the stability of the as-prepared substrates, heat attachment method was used followed by heating at 150˚C for 2 h. Subsequently, undoped TiO2 nanocomposites were obtained as mentioned procedure.

2.3 Evaluation of photocatalytic activity of the as-synthesized samples

The photocatalytic activity of NFTS was measured using three azo dyes including Basic red 29, Basic blue 41, Basic yellow 51, and K2Cr2O7 as a Cr (VI) source. The photocatalytic degradation was carried out in a fabricated photoreactor under visible and solar light. This photoreactor was consisted of seven glass tubes (L = 20 cm, ID = 1 cm) on a reflective surface equipped with a peristaltic pump and a black box to prevent UV leakage. The visible source was an OsramPowerstar® HQI®-BT 400 W/D Pro metal halide lamp with a UV cutoff filter and the distance of the visible source were fixed at 10 cm in all experiments. The spectral power distribution of the applied visible source was shown in Fig. 1. The direction of the photoreactor tubes in front of sun irradiation was also adjustable in 30˚, 45˚, and 60˚ angles against the vertical line. A volume of 1000 mL mixture containing 30 mg L−1 of model colors and 5 mg L−1 hexavalent chromium source was mixed and adequate volume of the mixture was taken periodically to investigate the removal process. The detection process was performed via UV/Vis spectrophotometer based on their corresponding λmax. To eliminate the interference of dyes, determining of Cr (VI) reduction was performed by 1,5-diphenylcarbazide method followed by subtracting method at 544 nm [3, 26, 27]. Hence, Cr (VI) measurement was accomplished using two different solutions containing 1,5-diphenylcarbazide/acetone/water denoted as ternary solution and acetone/water mixture denoted as binary solution. To do this, 2 mL sample, 500 μL H2SO4, and 1 mL of ternary solution were mixed and the immediately formed complex was measured spectrophotometrically at 544 nm (A1). Then, another 2 mL of the sample at the same related time was mixed with 500 μL H2SO4 and 1 mL binary solution. The absorbance of the sample was measured at 544 nm (A2). Subsequently, total absorbance of the purple complex of Cr (VI) (At) was measured as follows:

$$A_t = A_1 - A_2$$
(1)
Fig. 1
figure 1

Spectral power distribution of the applied visible light source

2.4 Catalyst characterization

The X-ray diffraction (XRD) pattern of the prepared catalysts was determined by an X-ray diffractometer (Seifert 3003 PTS) using Cu Kα as X-ray source in the 2θ range of 15−90˚. The average crystallite size of anatase phase was determined according to Scherrer equation. The Fourier-transform infrared spectroscopy (FT-IR) spectra of the samples were obtained on a Thermo Nicolet 870 Spectrometer. The photoluminescence (PL) spectra of the samples was determined on a Cary Eclipse spectrometer. The diffuse reflectance UV/Vis (DRS-UV/Vis) spectra of the samples were measured on Avantes Avaspec-2048-TEC spectrometer. The morphology and size of nanoparticles were characterized using a field emission scanning electron microscope (FESEM) equipped with an energy dispersive X-ray (MIRA3 TESCAN-XMU). Transmission electron microscope (TEM) Philips (CM30 at 150 KV) was used to observe the images of prepared nanoparticles. The nitrogen adsorption/desorption isotherms were determined via Belsorp mini II; and the specific surface area and pore size distribution from the adsorption branch were measured using Brunauer-Emmett-Teller (BET) and Barret-Joyner-Halender (BJH) methods, respectively. The degradation process of the pollutants was controlled by a Varian Cary300 UV/Vis spectrophotometer. Afterward, total organic carbon of the treated and untreated samples was measured by Hach DR5000 spectrophotometer and total chromium of the treated samples was determined by Varian SpectraAA200 spectrometer.

3 Results and discussion

3.1 XRD analysis

The XRD patterns of the prepared samples were shown in Fig. 2. Anatase is the most activated TiO2 polymorph in photocatalytic process [6, 28]. The anatase phase of TiO2 in the XRD patterns has a main peak in 2θ = 25.2˚ according to the JCPDS No. 21−1272 and the results showed the fully anatase structure of the prepared nanocomposites [29]. The grain size of the as-synthesized nanoparticles was estimated by Scherrer equation at the anatase main peak:

$$D = \frac{{0.89\lambda 180}}{{\pi \beta Cos\theta }}$$
(2)

where D is the crystal size of the nanoparticle, λ is the X-ray wavelength, β is the full width at half maximum of the diffraction peak in radian. Average crystal sizes of pure TiO2 and NFTS were calculated as 11.33 nm and 6.40 nm, respectively. As it is obvious, doping nitrogen and fluorine was significantly reduced the crystalline growth which was yielded to smaller particle size and higher catalytic activity due to its greater interaction with the pollutant molecules.

Fig. 2
figure 2

XRD pattern of undoped TiO2a and NFTS b

3.2 FT-IR spectroscopy analysis

The FT-IR spectra of the prepared samples was shown in Fig. 3. The peaks related to stretching vibrations of O-H and bending vibration of adsorbed water molecules observed in 3418.46 cm−1 and 1629.47 cm−1, respectively. The sharp peak in 1097.73 cm−1 is owing to Si-O-Si stretching vibrations. The peak in 1460.85 cm−1 is attribute to nitrogen embedded in TiO2 lattice [30]. The peaks below 1000 cm−1 is also corresponding to the Ti-O flexion vibrations [31].

Fig. 3
figure 3

FT-IR spectra of undoped TiO2a and NFTS b

3.3 UV-Vis DRS analysis

As shown in the DRS spectra of the prepared samples in Fig. 4, doping N and F in the TiO2/SiO2 lattice have resulted to a red shift in the absorption edges of undoped TiO2/SiO2. This fact indicates better photocatalytic activity of NFTS than undoped TiO2/SiO2, owing to the higher photogenerated electrons under visible light irradiation. The band gap of the prepared catalyst determined by the following equation: [32]

$$E_g = \frac{{hC}}{\lambda }$$
(3)

where Eg is the band gap, h is Planck’s constant, C is light speed in vacuum and λ is the wavelength of the absorption edge in the related spectrum. The narrow band gap of the NFTS nanoparticles (2.99 eV) compare with the 3.17 eV of undoped TiO2/SiO2, has shown the advantage of doping these non-metals on the photocatalytic activity.

Fig. 4
figure 4

DRS spectra of undoped TiO2/SiO2a and NFTS b

3.4 PL analysis

Photoluminescence is the process of light emission, originated from the recombination of electron-hole pairs [33]. There are two major pathways of electron/hole recombination, which result in the photoluminescence occurrence. Band-band PL process that attributed to the PL in shorter wavelengths and excitonic PL process, which attributed to the PL in longer wavelengths. Generally, by investigating band-band PL, low PL intensity suggests less amount of recombination centers and consequently long lifetime of excited electrons. The photoluminescence behavior of the prepared nanocomposites was investigated with the excitation wavelength of 300 nm, in order to investigate the band-band PL process. As shown in Fig. 5, PL intensity of prepared NFTS nanoparticles is lower than undoped TiO2/SiO2 that suggest longer lifetime of photogenerated electrons.

Fig. 5
figure 5

PL spectra of undoped TiO2/SiO2a and NFTS b

3.5 FESEM and EDX analysis

Figure 6a, b shows the FESEM images of prepared photocatalysts calcinated at 500˚C. The particles shown to be globular and uniform with less agglomeration. As it is obvious, with the least particle size, the most photocatalytic activity is attainable. As it was shown in Fig. 6b doping N and F into TiO2 lattice surpass crystalline growth and agglomeration of nanoparticles in contrast with undoped TiO2, which revealed slight agglomeration and crystalline growth (Fig. 6a). EDX analysis was also shown in Fig. 5c, which indicates the successful doping of N, F, and Si into TiO2 lattice.

Fig. 6
figure 6

FESEM images of undoped TiO2a NFTS b and EDX pattern of NFTS nanocomposites c

3.6 TEM analysis

The TEM images of undoped TiO2 and NFTS nanocomposites was shown in Fig. 7. The results shown the globular structure of the as-synthesized nanoparticles and were in good agreement with the FESEM results.

Fig. 7
figure 7

TEM images of undoped TiO2a and NFTS nanocomposites b and c

3.7 Nitrogen adsorption/desorption analysis

Figure 8 shows the nitrogen adsorption/desorption isotherm and the BJH pore size distribution curve of NFTS calculated from the adsorption branch (inset). The results shown a typical type IV-like with a type H2 hysteretic loop, corresponding to the presence of mesoporous materials owing to the IUPAC classification [34]. The effect of SiO2 addition into the crystalline lattice of TiO2 was also tabulated by BET method (Table 1). The results showed the significant effect of SiO2 on increasing the interaction between the prepared substrate and pollutants.

Fig. 8
figure 8

N2 adsorption/desorption isotherm of NFTS nanocomposites. Inset: BJH pore size distribution curve of NFTS

Table 1 Physical properties of prepared samples

3.8 Photocatalytic activities

The photodegradation experiments were performed on a mixture of 30 mg L−1 of basic red 29, basic blue 41, basic yellow 51, and 5 mg L−1 of hexavalent chromium. All experiments were performed under visible and solar irradiation. To attain the best degradation efficiencies, the effective parameters of pH, flow rate and photoreactor tubes angle against solar light were completely optimized. To confirm the performance of the prepared substrate, comparative experiments in the presence of undoped TiO2/SiO2, in the absence of light source and in the absence of catalyst were accomplished.

3.9 Effect of pH

The effect of solution’s pH was investigated at the pH of 3, 5, 7, and 9 (Fig. 9). Based on the results, it was concluded that the pH is one of the most important factors while working on a mixture of pollutants with complex matrices. As it was observed, neutral and alkaline pH would decrease the removal efficiencies of both Cr (VI) and dyes. In other words, based on the following reaction, at acidic conditions the interaction between the Cr (VI) anions and the positive surface of TiO2 surface, yields to increase the rate of Cr (VI) reduction:

$$Cr_2O_7^{2 - } + 14H^ + + 6e_{cb}^ - \to 2Cr^{3 + } + 7H_2O$$
(4)

Although at the pH above 4–5, owing to the conversion of Cr (VI) to Cr (III), trivalent chromium tends to form a stable precipitate that would occupy the active sites of the prepared photocatalyst: [4, 27]

$$CrO_4^{2 - } + 4H_2O + 3e_{cb}^ - \to Cr(OH)_3 + 5OH^ -$$
(5)

Consequently, owing to the highest photodegradation of dyes at acidic pH, the working pH for the further experiments was selected as 3 [35].

Fig. 9
figure 9

Effect of pH on removal percentage of the pollutants upon NFTS

3.10 Effect of flow rate

Owing to the design of fabricated photoreactor, as a continuous-flow system, flow rate of the incoming pollutant mixture current to the photoreactor was examined and optimized in four different rates of 140, 280, 420, and 560 mL min−1. As shown in Fig. 10, there is not any significant difference between the results of each flow rate. However, it can suggest that at higher flow rates the interaction time between the pollutants and the surface of the catalyst is not enough to reach highest removal efficiencies. Alternatively, at lower flow rates, because of the presence of hexavalent chromium as a heavy metal, the chance of trapping it in the active sites of the catalyst would be increased and results to decrease of removal efficiencies of both organic and inorganic pollutants. Subsequently, 280 mL min−1 was selected as the optimum flow rate for the further experiments.

Fig. 10
figure 10

Effect of flow rate on removal percentage of the pollutants upon NFTS

3.11 Effect of photoreactor tube’s angle against solar irradiation

One of the most important factors influenced on the efficiencies of continuous-flow reactors under solar irradiation is the angle of the tubes containing wastewater against sun. To investigate the effect of this parameter in treatment process, the tubes’ support was designed adjustable in three different angles of 30˚, 45˚, and 60˚ against sunlight. As it was shown in Fig. 11, at 30˚ because of the inadequate income solar irradiation, the degradation and reduction efficiencies was not so high. At the other hand, at 60˚ decrease in photodegradation of the dyes and increase in the rate of Cr (VI) reduction were occurred. To verify the fast chromium removal, total Cr amount was measured by flame atomic absorption spectroscopy (FAAS) method on the treated sample. The results in Table 2 indicated that decrease in the chromium amount was occurred because of trapping and occupying the active sites of the substrate that resulted to decrease in the removal efficiencies of the dyes. Consequently, to gain a balance between the photodegradation and reduction efficiencies, the 45˚ was chosen for the further experiments as optimum.

Fig. 11
figure 11

Effect of photoreactor tubes’ angle against sunlight on removal percentage of the pollutants upon NFTS

Table 2 Cr (VI) determination by FAAS method at different angles

The photodegradation experiments were performed under visible and solar light on 1000 mL mixture of the pollutants and sampling was accomplished every 2 hours to control the process. As shown in Fig. 12a codoping N, F, and Si into the TiO2 lattice were meaningfully increased the photocatalytic activity of the prepared substrate under visible light. Figure 12b also shows the removal efficiencies of the pollutant mixture under solar irradiation. Parallel experiments were similarly accomplished in the absence of photocatalyst to realize the stability of the pollutants in front of light sources. As it is evident, the pollutants are extremely stable in the environment and it prove the beneficial point of using such systems to decontaminate wastewaters. To understand any adsorption of the pollutants on the prepared substrate while the photodegradation process, the experiment was accomplished in the dark conditions (Fig. 13). The results showed no significant adsorption on the surface and the occurred amount was assumed owing to the porosity of the glass beads.

Fig. 12
figure 12

Removal percentages under visible light irradiation a and solar irradiation b in the presence and absence of NFTS; Pure: TiO2/SiO2; ABS: absence of photocatalyst

Fig. 13
figure 13

Removal efficiencies of the pollutants in dark condition in the presence of NFTS

One of the great concerns of using such systems under the green energy of sun is capability of employing under either clear sky or cloudy one. To scrutinize the potential performance of the fabricated photoreactor in different climate conditions, the photodegradation experiments were executed under semi-cloudy sky. The results, in Fig. 14, confirmed great promising activity of the designed system under solar irradiation even in cloudy sky conditions.

Fig. 14
figure 14

Removal percentages under solar irradiation at semi-cloudy condition

Total organic carbon (TOC) analysis was also accomplished on the samples, prior and subsequent the treatment process, to understand the amount of decreased organic carbon of the prepared standard wastewater solution. As it is clear, the reducing amount of the TOC percentage after the treatment process, declares good performance of the system in removal of the organic wastewater pollutants. The results showed 54.87% and 58.53% decrease in the TOC amount of the samples under visible and solar irradiation, respectively. To verify the reduction of hexavalent chromium, total chromium amount of the treated sample was measured by FAAS analysis. Because of the porosity of the glass beads, it was expected to be an insignificant adsorption of this heavy metal on the surface and it was determined to be 1.01 mg L−1.

4 Conclusion

A new TiO2/SiO2 nanocomposite doped with nitrogen and fluorine immobilized on a surface was used for synergistic removal of a mixture consist of Cr (VI) and three azo dyes in a fabricated photoreactor under visible and sunlight. The nanoparticles were synthetized using simple sol-gel method. In order to highly stabilize the nanoparticles on the glass beads’ surface and prevent the mixing between the nanoparticles and treated wastewater, dip coating, and heat attachments methods were applied subsequent the etching process. The optimum angle of the photoreactor’s tubes against solar irradiation was also one of the most important factors that was investigated. The outdoor performance of the designed system was also evaluated under semi-cloudy sky. The results showed the significant efficiency of the system in simultaneous removal of hexavalent chromium and azo dyes and confirmed the auspicious activity of the fabricated system under visible and solar irradiations at different outdoor climate conditions.