1 Introduction

The emerging energy and environmental issues as a result of the rapid consumption of fossil fuels became a hot topic of current researchers. Scientists across the globe are searching for low cost, renewable, clean and green form of energy, which could replace the traditional fossil fuels [24,25]. The most important strategy is to promote charge carriers separation in g-C3N4, by constructing type-II and Z-scheme heterojunctions in combination with other semiconductors [26, 27]. Recently, Jiang et al. [28] published their work on the synthesis of TiO2/g-C3N4 type-II heterojunctions that showed obvious performance for H2 evolution and pollutants degradation in comparison to the single g-C3N4. In another report by Acharya et al. [29], the Pt activated LaFeO3/g-C3N4 Z-scheme heterojunctions exhibited remarkably enhanced photoactivity for H2 generation compared to the bare g-C3N4. This was attributed to the promoted charge carriers separation in the resultant Z-scheme heterojunction. Notably, the synthesis of Z-scheme heterojunction has become an effectual strategy not only to boost up the separation efficiency of induced charge carriers at the interface junction but also to conserve excellent redox ability [30, 31].

In addition to the heterojunction formation, the deposition of noble metals like gold (Au), silver (Ag), and platinum (Pt) over g-C3N4 exhibited significantly improved photocatalytic performance. The reason might be due to the avoidance of charge recombination in the space-charge vicinity, collectively with the extended light absorption because of the surface plasmon resonance (SPR) effect [32,33,34]. The SPR effect of noble metal nanoparticles produces an intense local electromagnetic field which speeds up the rate of formation of electrons and holes in g-C3N4. Furthermore, the favorable Fermi energy level of these noble metal nanoparticles make possible the separation of photo-induced charge carriers, which in turn enhances the quantum efficiency of g-C3N4. Further, the electrons transfer shifts the Fermi energy level to a more negative potential, thereby enhancing the reducibility of electrons in the Fermi energy level close to the conduction band of g-C3N4 [35]. According to Li et al. [36] sulfur-doped g-C3N4/Au/CdS Z-scheme heterojunctions exhibited remarkably improved visible-light catalytic activities. In our previous report [37], 2% Au loaded SnO2/g-C3N4 composite exhibited significantly improved visible-light catalytic activity for H2 evolution. Thus, it is much meaningful to fabricate g-C3N4-based Z-scheme heterojunction and further to utilize the SPR effect of Au for efficient photocatalysis. Although, several works have been reported on the fabrication of WO3/g-C3N4 Z-scheme heterojunctions [38, 39]. In fact, no attention has been focused toward the photo-deposition of Au on WO3/g-C3N4 Z-scheme system and the detail investigations based on the experimental and theoretical studies.

Herein, we have fabricated Au decorated WO3/g-C3N4 Z-scheme heterojunctions. The amount optimized sample showed significantly improved catalytic activities under visible and UV–visible irradiation. It is confirmed by various experiments that the enhanced activities of g-C3N4 are attributed to the drastically improved charge carriers separation and transfer via the coupled nano-sized WO3 and further to the promoted charge carriers separation and redox ability via the SPR effect of decorated Au nanoparticles. In addition, periodic density functional theory (DFT) simulations have been accomplished in parallel to experiments, to validate and countercheck the experimental results. The simulated surface formation energy confirms the stability of Au/WO3/g-C3N4 interface junction and consequences non-bonding interaction. This work will provide detail knowledge on the understanding of photocatalytic mechanisms and fabrication of g-C3N4-based high performance visible-light catalysts for solar H2 production and pollutants degradation.

2 Experimental Section

The reagents used in this work were of analytical grade. De-ionized (DI) water was used in all the experiments.

2.1 Fabrication of g-C3N4

To fabricate g-C3N4, 10 g of dicyandiamide precursor was taken in a semi-covered ceramic crucible and kept in muffle furnace. The precursor was annealed in air at 550 °C (temp-ramp = 5 °C min−1) for 2 h. After self-cooling to room temperature, the product was re-calcined at 550 °C for 2 h to obtain g-C3N4 with sheet-like morphology. Finally, the g-C3N4 with yellow color was crushed into fine powder and used in various experiments and characterizations.

2.2 Fabrication of WO3

The WO3 nanoparticles were fabricated via hydrothermal method. Approximately 0.7 g of Na2WO4·2H2O precursor was dissolved into 70 mL DI water and then 10 mL of HCl (35%) was drop wise added to it. The solution was hydrothermally treated in a 100 mL Teflon-lined autoclave at 160 °C for 6 h. After cooling down, the sample was collected through centrifugation by washing with ethanol and DI water. The product was kept in oven to dry overnight at 65 °C and then annealed at 350 °C (temp-ramp = 5 °C min−1) for 2 h.

2.3 Fabrication of WO3/g-C3N4 HeteroJunctions

The WO3/g-C3N4 heterojunctions were prepared via wet-chemical method. Typically, for each composite, 2 g of g-C3N4 (base material) was dispersed into 40 mL of water–ethanol mixture (1:1). Then, different mass ratio percentage of WO3 (i.e., 2, 4, 6, and 8%) was added to each sample. The samples were kept under stirring for 4 h and then dried in oven at 65 °C overnight. The powder samples were calcined in muffle furnace at 450 °C (temp-ramp = 5 °C min−1) for 2 h. Finally, the composites samples were represented by xWO3/CN, where x stands for percentage composition of WO3.

2.4 Fabrication of Au/WO3/g-C3N4 Heterojunctions

The Au/WO3/CN heterojunctions were prepared by photo-deposition method. Different mass ratios (i.e., 1, 2, 3, 4, and 5%) of Au nanoparticles were deposited on the surface of amount optimized 6WO3/CN composite. For each sample, 1 g of the composite powder was dispersed in 80 mL methanol contained in a 250 mL-volume round bottom flask. Then, the required amount of Au solution (HAuCl4·4H2O) prepared in DI water was added to it. The flask was properly covered and the mixture was bubbled with N2 gas for 30 min to remove the dissolved O2 and to create an inert atmosphere for photo-reduction of Au nanoparticles. Each sample was kept under magnetic stirring and irradiated under UV-light (λ = 200–400 nm) with a 300 W Xe-lamp for 2 h. Then, the samples were collected by centrifugation, meanwhile washed with DI water. Finally, the samples were dried in oven at 65 °C. The dark color samples were labeled as yAu/6WO3/CN, where y stands for different mass ratio of Au to the optimized 6WO3/CN photocatalyst.

2.5 Materials Characterization

The X-ray diffraction (XRD) patterns of the catalysts were analyzed by 08 X’Pert3 powder X-ray diffractometer (PANalytical, Netherlands). The UV–visible absorption spectra were recorded with Lambda-35-UV/Vis spectrophotometer (PerkinElmer, USA), and BaSO4 was used a reference for samples calibration. The morphology of the photocatalysts was investigated by a German scanning electron microscope (SEM, Geminisem, 300–7112) and transmission electron microscope (FTEM, Talos F200x, FEI, Netherlands). The elemental map**s images and elemental analysis was performed with scanning electron microscope (Geminisem, 300–7112). The elemental chemical analysis of the samples was carried out with an AXIS-ULTRA DLD-600 W, X-ray photoelectron spectrometer (XPS, Kratos, Japan). The functional groups and surface composition of the samples were investigated by a 23 VERTEX-70 Fourier transform infrared (FT-IR) spectrometer (Bruker, Germany), using KBr disk as a sample diluent. The surface photovoltage spectra (SPV) were obtained with a home-built device, set with lock-in amplifier (SR830, made in USA) and light chopper (SR540, made in USA). The photoluminescence (PL) spectroscopy analysis was performed with a 22 FP-6500 fluorescence spectrometer (Jasco, Japan), at excitation wavelength of 325 nm. The thermo-gravimetric analysis (TGA) was performed with the help of TGA8000 (Perkin Elmer, USA) in the range of 30–800 °C, under air condition. The Brunauer–Emmett–Teller (BET) specific surface area and pore size distribution of the optimized samples were measured by N2 adsorption–desorption technique (ASAP-2020, USA). The PEC I-V curves measurement was carried out with a three electrode system configuration containing Ag/AgCl as the reference electrode, a Pt foil as the counter electrode and sample film as the working electrode. The electrolyte was 0.5 M L−1 Na2SO4 aqueous solution. The electron paramagnetic resonance (EPR) spectroscopy was performed with an EPR spectrometer (JEOL-FA200, made in Japan) at room temperature, and the 5,5-Dimethyl-1-pyrroline-N-oxide (DMPO) was used as a trap** reagent.

2.6 Hydroxyl Radical (·OH) Measurement

The ·OH amount generated by each photocatalyst was measured by coumarin fluorescence method. About 0.05 g of each photocatalyst was dispersed into 40 mL of the coumarin aqueous solution (0.001 M) contained in a 100 mL volume glass reactor. To achieve adsorption equilibrium, the solution was stirred in dark for 30 min and then irradiated under visible light (420 nm cutoff) for 1 h with a 300 W Xe-lamp. After that the desired amount of solution was centrifuged and subjected for analysis of 7-hydroxycoumarin through fluorescence spectrometer (Jasco, Japan) at excitation wavelength of 390 nm.

2.7 Photoactivities Measurements

The photoactivities of samples were evaluated for H2 generation from H2O and CH3OH mixture, and for degradation of 2,4-dichlorophenol pollutant. The tests for H2 generation were performed in an online H2 generation system (PerfectLight, Bei**g). For each experiment, 0.1 g of photocatalyst was dispersed in DI water/methanol (80 mL/20 mL) mixture contained in a glass reactor. Prior to the reaction, the mixture was kept under magnetic stirring and evacuated for 1 h to remove the dissolved O2 and CO2 in water. After that the samples were irradiated under Visible (420 nm cutoff) and UV–visible light with a 300 W Xe-lamp. Amount of H2 evolved was detected by an inline gas chromatograph (7920-TCD, N2 gas carrier, CEAULIGHT). The stability of the amount optimized photocatalyst for H2 evolution was explored by four photocatalytic recyclable tests (each cycle of 4 h).

The 2,4-DCP degradation tests were carried out in a 100 mL quartz reactor. For each experiment, 0.2 g of catalyst was dispersed in 80 mL of 10 mg L−1 2,4-DCP solution. The samples were kept in dark under magnetic stirring for 30 min to attain the adsorption equilibrium and then irradiated under visible light for 2 h using a 300 W Xe-lamp. The desired amount of solution was centrifuged and taken into a quartz cell for measurement of the 2,4-DCP concentration. The concentration of 2,4-DCP was analyzed with a Lambda-35 Perkin-Elmer spectrophotometer (made in USA) at the characteristic absorption wavelength of 2,4-DCP (i.e., 285 nm). The degradation percentage (η%) of 2,4-DCP was calculated by using Eq. 1:

$$\eta {\text{\% }} = \frac{{C_{0} - C}}{{C_{0} }} \times 100\%$$
(1)

where C0 is the initial concentration of pure 2,4-DCP, C is the concentration at time t, and η% is the degradation rate of 2,4-DCP.

2.8 Computational Methodology

DFT simulations were completed with Quantum-ATK [40] and results are interpreted on VESTA and Virtual NanoLab Version 2019.3.3 [41]. WO3 with Hall symmetry space group of P2_1/c [42, 43] is used as such. The unit cell of WO3 is stable at room temperature which contains 8 W, 24 O atoms, and 8 oxygen corner-sharing octahedrons. After optimization of the bulk unit cell lattice parameters, a super-cell (2 × 2 × 2) was build, from which WO3(001) slab was constructed. The slab thickness was equal to 8 conventional unit cells of WO3 which has thickness of 15 Å with 256 atoms. This thickness was enough to make sure that the slab center can represent the bulk phase of WO2. It is widely reported that the [001] termination exhibit low surface formation energy and therefore represent the most stable phase of WO3 [44]. The stability of various slabs is established from their positive surface formation energy (~ 0.38 J m−2) and electrostatic potential. A single layer of CN is considered for simulations, where three gold atoms are dispersed on the surface of Au/CN to generate 4% Au decorated CN. H2 atoms are employed to passivate the systems, especially for the monolayers of CN, Au/CN and their corresponding heterojunctions. The generalized gradient approximation (GGA) with Perdew–Burke–Ernzerhof (PBE) exchange correlation function and double-zeta polarized (DZP) basis-set is used for the crystal structure and energy optimization because of its superior over hybrid pseudo-potentials [45]. In this work, a linear combination of atomic orbitals (LCAO) technique is used for W, Au, C, N, H, and O atoms [46]. A 5 × 5 × 5 Monkhorst–Pack k-grid and energy-cutoff of 1200 eV is used for WO3 unit cell, while a 5 × 5 × 1 k-point-mesh is used for WO3 slabs. Thus, 7 × 7 × 7 Monkhorst–Pack k-grid and energy-cutoff of 900 eV is used for monolayers of CN, WO3/CN, and Au/CN, and 5 × 5 × 1 k-point-mesh with 1200 eV cutoff-energy for 6WO3/CN and 4Au/6WO3/CN heterostructures. We tried many methods for band-structure simulations such as GGA/PBE, meta-GGA, SGGA, and GGA + U. Due to ferromagnetic nature (naturally magnetic behavior) of W, the GGA + U method can accurately reproduce its electronic properties, especially band structure, etc. Thus, the band-structure calculations were completed with GGA + U, where the U value is set to accurately represent the experimental data. Partial density of states (PDOS), band-structure and electrostatic potential maps are also designed. The DFT-occupied and unoccupied DOS are regarded as the VB and CB edges, respectively [47].

3 Results and Discussion

3.1 Structural Characterization and Chemical Composition

The XRD patterns of pristine CN, WO3, and xWO3/CN photocatalysts are provided in Fig. S1a. It is clear that CN exhibits two distinct diffraction peaks located at 2θ = 13.0° and 27.7°, respectively, which can be indexed to the characteristic (100) and (002) planes of g-C3N4 [48]. The strong peak at 2θ = 27.7° is ascribed to the inter-layer stacking interaction of conjugated rings with an inter-layer distance of 0.325 nm [49]. The XRD patterns of pure WO3 display a monoclinic-phase constitution with prominent diffraction peaks at 2θ of 23.17°, 24.40°, 33.50°, and 36.22°, indexed to the characteristic planes (002), (200), (022), and (202), respectively, (JCPDS No. 72-1465) [50]. Interestingly, it can be seen that coupling of WO3 does not influence the crystal structure of CN, while the characteristic (002) peak of WO3 appeared in the xWO3/CN composites and its intensity gradually enhanced with the increase in WO3 content. Further, it can be seen that the characteristic (002) peak of CN significantly decreased in the xWO3/CN composites, which may be due to the high dispersion of monoclinic WO3 over the surface of CN [2. Figure 2a clearly shows that CN exhibits nanosheet like essence. The TEM image of 6WO3/CN nanocomposite (Fig. 2b inset) shows that nanosize WO3 particles with average diameter of 50 nm are well dispersed on the CN surface. The selected area HRTEM image of 6WO3/CN nanocomposite (Fig. 2b) shows that the lattice-fringes with d-spacing of 0.373 nm correspond to the (002) plane of WO3. The TEM image of 4Au/6WO3/CN nanocomposite (Fig. 2c) clearly demonstrates that except for WO3, the Au nanoparticles with average diameter in the range of 20–30 nm are well decorated on the surface of CN. The selected area HRTEM image of 4Au/6WO3/CN nanocomposite (Fig. 2d) clearly shows that WO3 and Au nanoparticles are in close contact with the CN surface. The TEM image of WO3 is shown in Fig. 2e. As shown in the HRTEM image (Fig. 2f), the d-spacing of 0.373 nm corresponds to the (002) plane of WO3.

Fig. 2
figure 2

a TEM image of CN, b HRTEM image with inset TEM image of 6WO3/CN composite. c TEM image of 4Au/6WO3/CN composite. d HRTEM image of 4Au/6WO3/CN composite with selected area TEM image as inset. e TEM image of WO3, and f HRTEM image of WO3

The BET surface area and pore volume of CN, 6WO3/CN, and 4Au/6WO3/CN photocatalysts were explored by BET N2 adsorption–desorption technique. As shown in Fig. S6a, the adsorption isotherm curves of all photocatalysts exhibit a type-IV behavior with H3 hysteresis loops, signifying mesoporous structures. The observed specific surface areas of CN, 6WO3/CN, and 4Au/6WO3/CN photocatalysts are 45.6, 51, and 54 m2 g−1, respectively. The pore diameter values of the photocatalysts were calculated by Barrett–Joyner–Halenda (BJH) models, and the plots are provided in Fig. S6b. The pore diameter distribution curves of the photocatalysts show that the average pore diameters of the photocatalysts are in the range of 2 nm. The BET results reveal that surface area of the photocatalysts may not be the key factor affecting the catalytic activities of the photocatalysts [56].

To reveal about the chemical composition of photocatalysts, FT-IR spectra were obtained. The FT-IR spectra of CN, WO3, and xWO3/CN photocatalysts are shown in Fig. S6C. As obvious, pure CN exhibit characteristic absorption peaks at 810, 1242, 1307, 1410, 1463, 1562, 1641, and 3200–3500 cm−1. The absorption peak at 810 cm−1 is ascribed to the out-of-plane bending modes of triazine-units. The peaks in range of 1240–1590 cm−1 correspond to stretching-mode of C–N heterocycles. The peaks at 1307 and 1641 cm−1 are assigned to the C–N and C=N stretching-modes in CN, respectively. The broad peak in the region of 3200–3500 cm−1 can be ascribed to the NH stretching-modes and the surface-adsorbed OH groups [57]. The pure WO3 shows characteristic absorption peaks in the region of 500–900 cm−1, which corresponds to the (O–W–O) stretching vibrations in a monoclinic-type WO3. The absorption peak at 1625 cm−1 is due to the (O–H) bending-vibration modes of the coordinated water and the broad band in the region of 3200–3500 cm−1 is due to the stretching-vibration mode of the surface-adsorbed OH groups [58]. In case of xWO3/CN composites, the characteristic absorption band of WO3 does not appear which may be due to its low content. Further, Au deposition does not influence the structural morphology of 6WO3/CN composite (Fig. S6d).

To further confirm the elemental chemical composition of photocatalysts, XPS spectra were measured as provided in Fig. 3. As clear from Fig. 3a, the XPS survey spectra of 6WO3/CN is composed of C, N, W, and O elements, while that of 4Au/6WO3/CN contains C, N, W, O, and Au elements. The high-resolution C 1s XPS (Fig. 3b) clearly demonstrate that CN display two prominent peaks at binding energies of 284.8 and 288.2 eV, which is ascribed to the adventitious carbon used as a reference for the sample calibration and the C–N–C coordination, respectively [65]. In fact, higher is the photo-generated charge carriers separation, stronger will be the SPV signal and vice versa. The SPV signals of CN, WO3, and xWO3/CN photocatalysts measured under air condition are shown in Fig. S20a. The low-intensity SPV signal of CN mainly resulted from the fast recombination rate of photo-generated charges. It is important to note that the SPV response of CN is drastically improved after coupling WO3 and the intense signal is detected for 6WO3/CN photocatalyst. Worth noting, the SPV signal intensity of 8WO3/CN photocatalyst is greatly reduced because of the over the excess amount of WO3 that covers the CN surface and acts as a charge recombination center. As shown in Fig. 5a, the SPV signal intensity of 6WO3/CN composite is further improved after photo-deposition of Au nanoparticles, and the highest intensity signal is detected for the amount optimized 4Au/6WO3/CN composite. Based on the SPV signals, it is concluded that loading proper amount of WO3 and Au could greatly enhance the charge carrier’s separation of CN, leading to the superior photocatalytic performance.

Fig. 5
figure 5

a Surface photovoltage (SPV) spectra, b photoluminescence (PL) spectra, and c fluorescence spectra related to the ·OH amount of 6WO3/CN and yAu/6WO3/CN composites. d Photoelectrochemical IV curves of CN, 6WO3/CN, and 4Au/6WO3/CN

Further, the charge carrier’s separation is confirmed by the PL measurement. The PL is a highly sensitive technique used to investigate surface-properties of nanomaterials. Generally, it tells us about the photo-generated charge carriers trap**, migration, transfer, oxygen vacancies, active sites, and surface defects in semiconductor nanomaterials [66,67,68]. The PL spectra of CN, WO3, and xWO3/CN photocatalysts are displayed in Fig. S20b. In fact, the stronger PL signal reveals high charge carrier’s recombination rate and vice versa. Notably, CN shows strong PL signal with emission peak centering at 460 nm. This is ascribed to the band–band transition in bare CN. Thus, it is clear that charge carrier’s recombination rate in CN is quite fast. Obviously, the PL intensity of CN is drastically reduced after coupling WO3 and the low-intensity signal is detected for 6WO3/CN photocatalyst. This confirms that charge carrier’s recombination rate is greatly suppressed by the synergistic effect of the two components system. Interestingly, Fig. 5b shows that PL intensity of 6WO3/CN composite is further decreased after photo-deposition of Au nanoparticles and the lowest intensity signal is detected for 4Au/6WO3/CN composite. The PL results are in accordance with the SPV results.

As mentioned in the previous report [69], the fluorescence spectra corresponding to ·OH amount could effectively reveal the charge separation in photocatalysis. Thus, the fluorescence spectra of CN, WO3, xWO3/CN, and yAu/6WO3/CN photocatalysts were measured to further confirm the improved charge carriers separation. For this, the coumarin-fluorescent technique was used to measure the ·OH amount. As widely accepted, the coumarin reacts with ·OH and generate luminescent 7-hydroxycoumarin which has a characteristic fluorescence emission peak at about 450 nm wavelength. Figure S20c shows that CN exhibit weak fluorescence signal which reflects the negligible amount of ·OH generated. Further, the fluorescence intensity peak of xWO3/CN composites become stronger with an increase in percentage composition of WO3 especially that of the amount optimized 6WO3/CN composite. Interestingly, as can be seen from Fig. 5c, after photo-deposition of Au nanoparticles, the fluorescence intensity peak of 6WO3/CN composite becomes stronger and the highest fluorescence intensity peak is recorded for 4Au/6WO3/CN composite, which is in accordance to the SPV and PL results.

To further reveal the improved charge carriers separation, photoelectrochemical IV curves analysis of CN, 6WO3/CN, and 4Au/6WO3/CN photocatalysts were performed in Na2SO4 electrolyte (0.5 M) at 0.4 V bias versus the Ag/AgCl electrode as shown in Fig. 5d. From PEC IV curves result, it can be concluded that the photocurrent density of CN is not obvious. However, compared to the CN, an abrupt increment in the photocurrent density response is observed for 6WO3/CN composite. Interestingly, the photocurrent density of 4Au/6WO3/CN photocatalyst is much stronger signifying that charge carrier separation is drastically enhanced.

The photo-generated electron–hole pair’s separation was further investigated by the measurement of electrochemical-impedance spectra of CN, 6WO3/CN, and 4Au/6WO3/CN photocatalysts as shown in Fig. S20d. The EIS Nyquist plots arc radius of 4Au/6WO3/CN photocatalyst is significantly reduced compared to that of the 6WO3/CN composite and bare CN. These results demonstrate that the 4Au/6WO3/CN photocatalyst has a higher separation rate of photo-generated charges than the 6WO3/CN composite and bare CN, which is in accordance to the PL, SPV, FL, and IV results.

3.4 Photocatalytic Performance

The catalytic activities of CN, xWO3/CN and yAu/6WO3/CN photocatalysts were evaluated for H2 production under UV–visible and visible-light illumination. As obvious from Fig. 6a, CN produced a small amount of H2 (6.87 μmol h−1 g−1) under visible-light illumination. It should be noted that the amount of H2 produced over xWO3/CN composites is remarkably enhanced and the 6WO3/CN composite produced 38.77 μmol h−1 g−1 of H2. Figure 6b shows that after photo-deposition of Au nanoparticles, the visible-light photoactivity is further improved and the amount optimized 4Au/6WO3/CN composite produced 69.9 μmol h−1 g−1 of H2. The quantum efficiencies of the CN, 6WO3/CN, and 4Au/6WO3/CN photocatalysts for H2 evolution at wavelength 420 nm are calculated to be 0.68%, 3.0%, and 4.17%, respectively. The quantum efficiency yield of 4Au/6WO3/CN composite is much higher than the reported correlated systems as shown in Table S1. The H2 production activities were further evaluated under UV–visible illumination. Figure 6c shows the H2 production activities of CN and xWO3/CN photocatalysts under UV–visible illumination. One can see that CN produced 16.87 μmol h−1 g−1 of H2 under UV–visible light which is much higher than that produced under visible light. The activity of xWO3/CN composite for H2 production under UV–visible illumination is greatly improved and the amount optimized 6WO3/CN composite produced 53.32 μmol h−1 g−1 of H2. It must be noted from Fig. 6d that the H2 production over yAu/6WO3/CN composites under UV–visible illumination is much significant and the amount optimized 4Au/6WO3/CN is capable of producing 307.36 μmol h−1 g−1 of H2. Thus, the significantly improved photocatalytic activities of the amount optimized 4Au/6WO3/CN composite pointing out the favorable synergetic effect of the well-designed three-component photocatalyst. The photocatalytic stability and recyclability tests of the amount optimized 4Au/6WO3/CN composite for H2 evolution were also carried out under UV–visible and visible-light irradiation. Figure 6e, f indicates that the photocatalyst does not show any obvious decrease in the photocatalytic activity under visible and UV–visible irradiation, even after 4 photocatalytic recycles (each of 4 h). This confirms the high photostability of the designed three components system. To elucidate the change in the crystal structure of 4Au/6WO3/CN composite before and after four consecutive photocatalytic cycles of H2 evolution under visible-light irradiation, XRD patterns were measured as shown in Fig. S21. As can be seen, there is no obvious change in the crystal structure before and after the photocatalytic reaction. The result specifies excellent recycling performance and stability of the 4Au/6WO3/CN composite.

Fig. 6
figure 6

H2 production activity of a CN and xWO3/CN photocatalysts under visible light, b 6WO3/CN and yAu/6WO3/CN photocatalysts under visible light, c CN and xWO3/CN photocatalysts under UV–visible light, and d 6WO3/CN and yAu/6WO3/CN photocatalysts under UV–visible light. Error bars are added to Fig. 6ad. Photocatalytic stability and recyclability test of the 4Au/6WO3/CN composite for H2 production e under visible light and f under UV–visible light

To test the improved photocatalytic performance, 2,4-DCP photodegradation was also carried out under visible-light irradiation. In heterogeneous photocatalysis, the adsorption of pollutants on the semiconductor surfaces also plays a vital role. Thus, the photocatalytic system was kept in dark under stirring for half an hour to reach the adsorption equilibrium and then irradiated under visible light for 2 h. The adsorption of 2,4-DCP over the optimized CN, 6WO3/CN, and 4Au/6WO3/CN photocatalysts was 2.2%, 7.9%, and 14.5%, respectively, as shown in Fig. S22a. It is clear from Fig. S22b that degradation rate of 2,4-DCP over CN photocatalyst under visible-light irradiation is 26%. However, the degradation rate is remarkably enhanced after coupling WO3, and the optimized 6WO3/CN composite degraded 71% of the 2,4-DCP in 2 h. It should be noted from Fig. S22c that the degradation rate of 2,4-DCP over yAu/6WO3/CN photocatalysts is much significant and 4Au/6WO3/CN is capable of degrading 100% 2,4-DCP in 2 h. Thus, it is confirmed that the significantly enhanced photoactivities for H2 production and 2,4-DCP degradation are ascribed to the remarkably improved charge carriers separation as investigated by the above photophysical and photochemical results.

3.5 Mechanism Discussion

According to the above results, a schematic mechanism for charge carriers generation, separation and transfer and the photocatalytic activities over Au deposited Z-scheme WO3/CN heterojunction is proposed as depicted in Fig. 7. Accordingly, the conduction-band edges of WO3 and CN photocatalysts are located at 0.4 and − 1.3 eV, respectively. Thus, due to the more negative conduction-band potential of CN, its photo-generated electrons can reduce the O2 molecules to superoxide radicals (·O2), while due to the more positive conduction-band potential of WO3, its electrons mcan not reduce the O2 molecules to ·O2. The reason is that the standard redox potential of O2/·O2 is − 0.046 eV [18]. In contrast, the valence band edges of WO3 and CN photocatalysts are located at 3.22 and 1.4 eV, respectively. Hence, the valence band potential of WO3 can oxidize the OH to ·OH as confirmed by the fluorescence results, while that of the CN can not oxide because the standard redox potential of OH/·OH is 2.7 eV [18]. To further confirm the ·OH formation, the EPR spectroscopy analysis of the optimized 4Au/6WO3/CN photocatalyst was carried out in dark and under visible-light irradiation in the presence of trap** reagent DMPO. As shown in Fig. S22d, no characteristic peaks of DMPO-·OH can be observed in dark. However, under visible-light irradiation, the characteristic peaks of DMPO-·OH can be clearly observed and their intensities steadily increased with the increase in irradiation period, i.e., 5, 10, 15, and 20 min. These results further specify that ·OH plays a vital role in the degradation of 2,4-DCP.

Fig. 7
figure 7

Schematic for the energy band gaps, charge carriers separation and transfer, and the photocatalytic processes over 4Au/6WO3/CN composite

Thus, the composite of WO3 and CN directs a Z-scheme heterojunction. Based on the above facts, it is concluded that when Au deposited WO3/CN Z-scheme heterojunction is fabricated and irradiated under UV–visible and/or visible light, photo-generated charge carriers are produced. Meanwhile, the electrons are excited to the conduction bands while leaving photo-generated-holes in valence bands. Thus, the excited electrons in the conduction band of WO3 and the holes left in the valence band of CN quickly recombine at the interface. On the other hand, the photo-excited electrons in the conduction band of CN would transfer to Au and the excited holes left in the valence band of WO3 would transfer to its surface, resulting in the drastically improved carrier’s separation. Subsequently, the electrons on the surface of Au would induce water reduction to evolve H2 and the photo-generated holes on the surface of WO3 would oxidize OH to generate ·OH. The generated ·OH will directly oxidize the 2,4-DCP pollutant molecules. The above results reveal that decoration of Au on WO3/CN Z-scheme heterojunction can significantly promote charge carriers separation and transfer leading to the drastically promoted photocatalytic performance for water reduction and pollutant oxidation.

In brief, the individual g-C3N4 can produce a little amount of H2 due to its suitable reduction potential for water reduction. However, WO3 cannot commence water reduction reactions because its conduction-band potential is more positive than the standard reduction potential value of H2O (i.e., 0 eV) versus the normal hydrogen electrode (NHE). In addition, the composite of WO3 and CN can remarkably improve the photocatalytic H2O reduction to evolve H2, especially the Au decorated WO3/g-C3N4 composite. In this case, the VB of WO3 causes photo-oxidation of water and CB of g-C3N4 is responsible for photo-reduction of water and produce H2. The experimentally observed and theoretically simulated band edge positions of these materials have strong correlation with each other and their energy levels nicely satisfy the Z-scheme system.

4 Conclusions

In summary, Au decorated WO3/CN Z-scheme heterojunctions have been successfully fabricated for the first time that exhibited superior photocatalytic performance for solar H2 production and 2,4-DCP degradation. The enhanced photocatalytic performance is ascribed to the promoted charge separation by constructing Z-scheme heterojunction and to the SPR effect of Au nanoparticles. The calculated quantum efficiency for H2 evolution at a wavelength 420 nm was 4.17%. Finally, our theoretical and experimental data have a nice correlation with each other that further confirms and validates the enhanced photocatalytic performance of 4Au/6WO3/CN nanocomposite. This work would be helpful for the future development of CN-based highly proficient catalysts and will be of great significance to meet the energy and environmental demands.