1 Introduction

More and more researches have been devoted to the clean and renewable method of photocatalytic hydrogen production since it was discovered by Honda and Fujishima [1]. A variety of catalysts, including high molecular polymers, metal oxides, and sulfides, are synthesized to find more efficient and more active photocatalysts by coupling, introduction of defects, and deposition of precious metals [2,3,4,5,6,7].

Conventional catalysts such as TiO2 absorb sunlight mainly in the ultraviolet region, which is a small part of sunlight [8, 9]. In 2009, Wang et al. developed a nonmetallic covalent compound defined as g-C3N4. He realized the visible light decomposition of hydrogen and explained the mechanism of its photocatalysis [10]. In addition to its visible light response, g-C3N4 could obtain a larger specific surface area after specific treatment [11]. However, the photogenerated electron–hole pairs can exist for a short period of time and quickly recombine. And there are few active sites and low activity of g-C3N4 [12,13,14]. To overcome these short boards, a lot of researches have been invested. Jiang et al. doped g-C3N4 nanosheets with phosphorus and introduced carbon defects to increase its light absorption, which greatly improved the photocatalytic hydrogen production rate [15]. Jing et al. reported mineral acid or phosphoric acid etching of g-C3N4 nanosheets to increase the number of active sites, which greatly improved the photocatalytic hydrogen production rate [16]. On the other hand, to reduce the recombination of photogenerated electron and hole pairs, heterojunction composite photocatalysts have been widely synthesized [17,18,19,20].

WO3 has a large forbidden bandwidth and can be designed to form a heterojunction with other materials. There are some reports with different treatments on WO3/g-C3N4 heterojunction photocatalysts [21, 22]. Yu et al. prepared an ultrathin two-dimensional WO3/ g-C3N4 composite heterojunction photocatalyst. This Z-scheme system effectively improved the photocatalytic activity of pure g-C3N4 [23]. Tahir et al. prepared a WO3/g-C3N4 composite photocatalyst. The main reason for the increased photocatalytic hydrogen production activities was that it has extended the light absorption [24]. In addition to its reducing hydrogen production, the WO3/g-C3N4 composite photocatalyst can also be used to degrade the organic pollutants such as ciprofloxacin, fuchsin and tetracycline [21, 25, 26].

In this paper, WO3 was prepared by a hydrothermal method, and a WO3/g-C3N4 composite was synthesis by mixing WO3 and melamine as precursors. To find the optimal ratio by changing the amount of WO3 addition, the mechanism of photocatalytic performance improvement of the WO3/g-C3N4 composites is analyzed and discussed.

2 Experimental

2.1 Materials

All analytical grade chemicals, melamine, methanol, sodium tungstate (Na2WO4∙H2O), and chloroplatinic acid (H2PtCl6∙6H2O) were used without further purification.

2.2 Synthesis of WO 3 nanorods

First, 1 g of Na2WO4·H2O was weighed and sonicated in 70 ml of deionized water for 30 min until fully dissolved. After diluting concentrated hydrochloric acid to 4 mol/l, it was added dropwise to the aqueous solution of sodium tungstate to adjust the pH to 1. The solution was transferred to a polytetrafluoroethylene reaction vessel, heated to 180℃, incubated for 24 h and then cooled to room temperature with the furnace. Finally, the obtained sample was washed several times with deionized water and absolute ethanol and dried at 60 ℃ for 12 h.

2.3 Synthesis of WO3/g-C3N4 nanoarchitecture

Fifteen milligrams of tungsten trioxide was weighed and added to 20 ml of alcohol, and 2.4 g of melamine was weighed, added to the above solution for 1 h and then magnetically stirred for 3 h. After the above solution was placed in an oven and dried at 60 ℃, the obtained solid was placed in a crucible, heated to 550 ℃ in a muffle furnace at a rate of 10 ℃/min and allowed to cool to room temperature after 3 h of incubation. According to the amount of tungsten trioxide added to the melamine, the obtained composite samples were labeled as WGx, where x represents x mg tungsten trioxide added.

2.4 Characterization

X-ray diffraction (XRD) patterns were characterized with a Rigaku-DMAX Ultima+ diffractometer equipped with cobalt target. The scan range was from 10° to 90°, respectively. The microscopic morphology was observed using scanning electron microscopy (SEM) (SUPRA 55 SAPPHIRE). Optical properties were analyzed using an ultraviolet–visible spectrophotometer (DRS, TU-1901), respectively. The functional group of the composite samples and the bond between WO3 and g-C3N4 were analyzed using a FT-IR spectrometry (PerkinElmer Frontier spectrometer). The specific surface area test (BET) was analyzed with a WBL-810-type specific surface area and void fraction analyzer.

3 Results and discussion

3.1 Structure characterization

The XRD data of g-C3N4, WO3 and composite samples are shown in Fig. 1. For WO3, the diffraction peaks correspond to (0 2 0) (0 0 2) (2 2 0) (2 2 2) and (2 2 2 4) facets at 16.40°, 26.74°, 32.79°, 42.80° and 65.61°, respectively, and their lattice spacing can be attributed to 0.63 nm, 0.39 nm, 0.32 nm, 0.25 nm and 0.17 nm. The diffraction peak corresponds to (0 0 2) facet of g-C3N4 at 31.83°, while the diffraction peak corresponds to the (1 0 0) facet at 14.94°, respectively. The hydrothermally prepared WO3, which is WO3(H2O)0.333, is provided with water of crystallization corresponding to PDF card 87–1203, and the WO3 powder is dehydrated when it is calcined with melamine. In the composite sample from which the crystallization water was removed, the phase of WO3 still appeared. The disappearance of (1 1 1) crystal face at 21.023° was probably due to the removal of the water of crystallization. Meanwhile, since the characteristic peak of g-C3N4 is at 14.94° and 31.83°, the composite sample has a superposition of the characteristic peaks at these two places, and with the increase in WO3, the superposition effect of g-C3N4 is gradually weakened, and the characteristic peak of WO3 gradually increases.

Fig. 1
figure 1

XRD patterns for g-C3N4 and WO3 nanosheets and their composites

The functional group of the composite samples and the bond between WO3 and g-C3N4 were detected with the Fourier transform infrared spectroscopy. As shown in Fig. 2, the peaks of the composite samples are similar to those of g-C3N4 and the peaks at 1238, 1316, 1461 and 1640 cm−1 can be attributed to C–N. The peak at 809 cm−1 is related to s-triazine [27, 28]. However, the composite samples showed a shift at the 1238, 1316, and 809 cm−1 positions. The blueshift at 1238 and 1316 cm−1 was due to the N atom in the g-C3N4 bonding with the more electronegative O atom in WO3, and the force constant increased so that the absorption moved toward the high wavenumber direction. Because s-triazine produces a conjugation effect, the bond length becomes shorter and the peak shifts toward a higher wavenumber, so another blueshift occurs at 809 cm−1. The shift in the functional groups demonstrates the formation of chemical bonds between tungsten trioxide and g-C3N4 in the composite.

Fig. 2
figure 2

FT-IR spectra of g-C3N4, WG25 and WG30

Figure 3 displays the ultraviolet–visible diffuse reflectance spectroscopy of pure g-C3N4 and the WO3/g-C3N4 composites. It can be observed in Fig. 3a that the absorption of visible light by the composite samples significantly improved after the addition of tungsten trioxide. More importantly, as can be seen in Fig. 3b, the forbidden band width of the composite samples did not greatly increase with the addition of tungsten trioxide and remained similar to that of g-C3N4, which could increase the partial absorption of visible light.

Fig. 3
figure 3

a UV–Vis spectra of g-C3N4 and the WO3/g-C3N4 composites and b corresponding bandgap information for g-C3N4 and WG25

The forbidden band width can be calculated by the following empirical formula [29]:

$$ E_{{\text{g}}} = 1240/\lambda_{{\text{g}}} , $$
(1)

where λg is the maximum absorption edge of the sample. According to this equation, the bandgap energies of g-C3N4, WO3, WG15, WG20, WG25 and WG30 are 2.74 eV, 3.19 eV, 2.74 eV, 2.75 eV, 2.79 eV, and 2.80 eV, respectively. The valence band potential and conduction band potential of the WO3/g-C3N4 composite samples can be calculated by the following equations [30, 31]:

$$ E_{{{\text{VB}}}} = X - E_{X} + 0.5E_{{\text{g}}} , $$
(2)
$$ E_{{{\text{CB}}}} = \, E_{{{\text{VB}}}} - E_{{\text{g}}} , $$
(3)

where X is the electronegativity of the semiconductor, X = (X(A)aX(B)b)1/(a+b) [32]. The X value for WO3 is 6.59 eV. EX is the reduction potential of water (4.5 eV). The sample bandgap, valence band potential and conduction band potential obtained by calculation are shown in Table 1. The Eg of g-C3N4 and WO3 was assumed to be 2.74 eV and 3.19 eV. The ECB of WO3 and g-C3N4 was assumed to be 0.49 eV and − 1.14 eV. The EVB of WO3 and g-C3N4 was determined to be 3.68 eV and 1.60 eV.

Table 1 The bandgap, VB and CB of WO3 and g-C3N4

The Brunauer–Emmett–Teller (BET) analysis of g-C3N4 and the composites were detected with nitrogen adsorption–desorption analysis. Figure 4 shows the adsorption–desorption isotherm curves of g-C3N4 and WO3 and their pore size distribution. The specific surface areas of the composite samples are similar. The pore volume distribution of WG25 is 0.0008 cm3/g, which is approximately twice the pore volume of pure g-C3N4, and a larger pore volume can provide more reactive sites for the production of hydrogen.

Fig. 4
figure 4

Nitrogen adsorption–desorption isotherm curves of the composite: a WG25 and b g-C3N4. The insets show the BJH pore-radius distribution of WO3 and g-C3N4

3.2 Morphological characteristics

SEM can observe the morphology of a material from the microscopic view and judge the size of a material. Figure 5a–c shows the SEM images of g-C3N4, pure tungsten trioxide nanorods and the composite samples, respectively. As shown in Figure 5a–c, g-C3N4 is in the form of a sheet, the tungsten trioxide is in the form of rods, and the WO3 nanorods are inserted in the g-C3N4 layer. A tight junction is appeared at the interface between WO3 and g-C3N4. This effective contact surface shortens the moving distance of the photogenerated electrons and ensures the transmission efficiency of electrons between the interfaces, which is more conducive to the transfer of electrons. The results of EDS mapping are shown in Fig. 6a–e. The existence of C, N, O, W and their distribution characteristics can be clearly observed. The WO3 nanorods were inserted into the g-C3N4 nanosheets. All the elements were evenly distributed.

Fig. 5
figure 5

SEM images of g-C3N4 (a), WO3 nanorods (b) and WO3/g-C3N4 composite samples (c)

Fig. 6
figure 6

Elemental mapping of a WG30 and be the corresponding elemental mapping images of C, N, O and W

As shown in Fig. 7a, g-C3N4 has a two-dimensional sheet distribution with wrinkles. Figure 7b is a TEM image of WO3, and the rod structure of WO3 can be more clearly seen in the figure. Figure 7d is a partial enlarged view of Fig. 7c, and it is apparent that WO3 nanorods are well attached to the surface of g-C3N4 layer. The lattice spacings inside WO3 are 0.387 nm and 0.31 nm, which can be attributed to the (0 0 2) and (0 4 0) planes, respectively. The data are consistent with previous reports. The g-C3N4 nanosheets have no obvious crystal lattice, which is due to the poor crystallinity of g-C3N4 and is consistent with the existing literature reports.

Fig. 7
figure 7

TEM images of g-C3N4 (a) and WO3 (b) and HRTEM images of WG30 (c, d)

3.3 Photocatalytic activity

To detect the rate of hydrogen production, a xenon lamp was used to simulate sunlight, methanol was used as a sacrificial agent and chloroplatinic acid as a promoter. The amount of hydrogen produced was measured every half an hour. As shown in Fig. 8, pure WO3 did not detect significant hydrogen production because its conduction band position was more positive than H+ of water. Pure g-C3N4 had obvious hydrogen production activity. With the addition of WO3, the hydrogen production of the composites was greatly improved. In particular, the optimal sample WG25 had the highest hydrogen production rate of 224.4 μmol/h, its activity was approximately twice as high as that of the pure g-C3N4 nanosheets. With the further increase of WO3, the hydrogen production rate of the composite samples was rather reduced, because too much WO3 reduced its light response.

Fig. 8
figure 8

Comparison of the H2-generation activities of the as-prepared samples under xenon lamp irradiation

3.4 Mechanism discussion

Figure 9 shows the photocatalytic mechanism. When sunlight is irradiated onto g-C3N4, the electrons on the valence band of the g-C3N4 nanosheets are excited and transferred to the conduction band. The ECB of WO3 and the EVB of g-C3N4 were determined to be 0.49 eV and 1.60 eV. Since the conduction band of WO3 is close to the valence band of g-C3N4, the electrons photogenerated by WO3 are easily combined with the holes of g-C3N4 during the transfer process. Meanwhile, the holes of WO3 are captured by hydroxide to generate hydroxyl radicals, and the hydroxyl radicals are transferred to the surface of the catalyst to oxidize methanol into water and CO2. The photogenerated electrons transferred to the g-C3N4 conduction band reduce H+ to hydrogen. When a Z-scheme heterojunction is formed by adding g-C3N4 to WO3, its oxidative and reductive properties are both improved [33].

Fig. 9
figure 9

Z-scheme mechanism over WO3/g-C3N4

4 Conclusions

In summary, WO3 was prepared by a hydrothermal method, and a WO3/g-C3N4 composite was synthesized by hydrothermal synthesis and muffle furnace calcination using Na2 WO4∙H2O and melamine as precursors. The addition of WO3 significantly increased the hydrogen production rate of the composite sample, and the optimal activity of WG25 reached 224.4 μmol/h. With the further increase of WO3, the hydrogen production rate of the composite sample was rather reduced, because too much WO3 reduced its light response. XRD, EDS, FT-IR and TEM results further confirmed the presence of a Z-scheme heterojunction mechanism. This is of great significance to the application of modified g-C3N4.