Layered tungsten-based composites and their pseudocapacitive and electrocatalytic performance †

With the rapid development of heterostructured electrocatalysts, the potential application of transition metal dichalcogenide (TMD)-based composites for electrocatalysis have attracted intense attraction owing to their unique optical, electronic, and mechanical properties. Herein, a facile solvothermal method to obtain heterostructured composites consisting of TMD (WS 2 ) and graphitic carbon nitride (g-C 3 N 4 ) is reported. DFT calculation results demonstrates that the interface interaction between g-C 3 N 4 and WS 2 optimizes the electronic structure of composite materials and activates the active sites. The WS 2 –g-C 3 N 4 composites with surface sulfur and nitrogen vacancies exhibit high specific capacitance of 1156 F g (cid:2) 1 and excellent cycling stability with no capacitance loss over 2000 charge–discharge cycles, demonstrating huge potential in applications for pseudocapacitive energy storage. In addition, WS 2 –g-C 3 N 4 composites can attain excellent hydrogen production activity to reach a current density of 10 mA cm (cid:2) 2 at an overpotential of (cid:2) 0.170 V ( vs. RHE) and Tafel slope of 59 mV dec (cid:2) 1 . This work provides an effective way for the synthesis of heterostructured electrocatalysts with efficient activity for energy conversion and storage.


Introduction
Two-dimensional (2D) layered transition metal dichalcogenides (TMDs) have emerged as a promising class of catalysts due to their unique crystal structure and layer-dependent optoelectronic properties which offer great prospects for exploitation in applications ranging from photovoltaics, photocatalysis to electrocatalysis.Among TMDs, tungsten and its compounds (i.e., WS x ) have been tested as electrocatalysts in their intrinsic or hybrid form, because of their polymorphic nature and ability to participate in complex interatomic interactions with other materials via surface engineering.The structural features of WS x , such as their lateral size, layer number and active sites i.e. step edges and atomic vacancies, have been shown to greatly influence their electrocatalytic properties and performance. 1hen the lateral size of WS x is reduced within the nanoscale domain, unique mechanical and optoelectronic properties arising from quantum confinement effects have been observed. 2Their individual sandwich layers made up of transition metal and chalcogen bound by weak van der Waals forces can also offer large surface area and permeable channels for ion adsorption and transport. 3xperimental and computational studies have established that exposed chalcogen edge sites of WS x can facilitate improved electrocatalytic performance while the basal surfaces remain catalytically inert. 3,4Accordingly, WS x can be supported on carbon nanostructures to increase the activity of the inert basal surface of TMD through increased defect sites created via the preferential bonding between the basal planes of WS x and carbon surfaces.Carbon nanostructures can also serve as conductive supports to further augment the electrical conductivity while increasing contact resistance.Pure carbon and hybrids of graphitic carbon nitride (g-C 3 N 4 ) have been reported to hold great promise as alternatives to expensive precious metal-based

View Article Online
View Journal | View Issue catalysts for water splitting and CO 2 reduction due to their tunable chemistry, high thermal and chemical stability, low cost, and non-toxicity. 5,6everal strategies have been developed to tailor the structural features of g-C 3 N 4 to enhance their electrochemical activity and durability.Improvements in electronic structure and energy band configuration of g-C 3 N 4 based nanocomposites have been demonstrated by the functionalization of g-C 3 N 4 at atomic and molecular levels via elemental doping and copolymerization, respectively.The content of heteroatomic species of nitrogen and sulfur are particularly useful for modifying surface functional groups and crystallinity which can increase charge carrier mobility with low diffusion barriers during cycling to enhance rate capability and electrochemical performance.For example, quaternary nitrogen has been reported to improve electrical conductivity which facilitates the charge/discharge process while pyrrolic and pyridinic nitrogen can introduce active sites and defects. 7,8Surface sulfur vacancies have been reported to alter the electronic structure of host materials by reducing the electron transition energy barrier and enhancing electrophilic adsorption. 9Other ways of improving the physicochemical properties of g-C 3 N 4 for target-specific applications include coupling with other semiconductors, metal/metal oxides as a cocatalyst or incorporation of carbonaceous materials to form hybrid nanocomposites.Since g-C 3 N 4 possesses an analogous layered structure with finite exposed edges, the fabrication of an organic/inorganic hybrid nanocomposites with another layered material such as WS 2 can lead to the formation of surface heterojunctions for efficient charge collection and separation while exposing active sites required for electrocatalytic reactions.Understanding the effect of growing WS 2 on a g-C 3 N 4 based support for electrocatalytic reactions is crucial, and yet remains to be explored.
Herein, we report the formulation of tungsten-based composites via the growth of WS 2 on an interconnected, macroscopic g-C 3 N 4 scaffold using W 18 O 49 derived from solvothermal treatment as a template.The presence of different heteroatomic surface species of nitrogen and sulfur were found to influence the rate capability and cyclic performance of the tungsten-based composites.DFT calculations confirm the importance of WS 2 -g-C 3 N 4 heterostructure design.Benefitting from optimal specific surface area and nitrogen and sulfur content of 11 at% and 1.01 at%, respectively, the WS_600 composite exhibits high specific capacitance of 1156 F g À1 and excellent cycling stability with no capacitance loss over 2000 charge-discharge cycles, demonstrating huge potential in applications for pseudocapacitive energy storage.In addition, the WS_600 composite can attain excellent hydrogen production activity to reach a current density of 10 mA cm À2 at an overpotential of À0.170 V and Tafel slope of 59 mV dec À1 .

Preparation of WS 2 -g-C 3 N 4 composites
The scheme for fabricating the WS 2 -g-C 3 N 4 composites is illustrated in Fig. 1.All chemical compounds and solvents used during synthesis were purchased from Sigma Aldrich.Solvothermal treatment, an easy and low-cost methodology, was employed to grow W 18 O 49 on melamine (C 3 H 6 N 6 ) scaffold using the tungsten hexachloride (WCl 6 , 0.075 g) -cyclohexanol (C 6 H 12 O, 50 mL) mixture, subjected to heat treatment for 6 h at 200 1C. 10 Prior to sulfidation, the W 18 O 49 -C 3 H 6 N 6 composites were subjected to carbonization under argon atmosphere to yield W 18 O 49 -g-C 3 N 4 composites at reaction temperatures of 400, 600 and 800 1C to derive samples, which were referred to as WS_400, WS_600 and WS_800, respectively.Once the reaction temperature mentioned above was attained, hydrogen sulfide gas was introduced into the reaction chamber for 50 min to initiate the sulfidation process for the samples.After sulfidation, most of the W 18 O 49 grown on the g-C 3 N 4 scaffolds were converted into WS 2 , depending on the reaction temperature.

Materials characterization and electrochemical testing
The crystalline structure of the composites was characterized by X-ray diffraction (XRD) using a Bruker D8 Advance diffractometer (operated at 40 kV, 40 mA), with a Cu Ka radiation, at a step size of 0.021 and a dwell time of 1 s.The Raman spectra were acquired at room temperature using a Renishaw benchtop system, with 532 nm excitation wavelength and 24 00 l mm À1 grating.Surface chemical analysis was performed on a Kratos Axis Ultra system with a monochromated Al Kr X-ray source operated at 10 mA emission current and 15 kV anode potential.Scanning electron microscopy (SEM), transmission electron microscopy (TEM), Raman spectroscopy, X-ray diffraction (XRD) and X-ray photoelectron spectroscopy (XPS) were used to conduct the morphological and structural analyses.Elemental composition of WS 2 -g-C 3 N 4 composites was evaluated using scanning electron microscopy (Hitachi S3200N, Oxford instrument -SEM-EDS) and high-resolution transmission electron microscopy (JEOL-2100, HR-TEM), respectively.The Brunauer-Emmett-Teller (BET) surface areas and pore size distribution of the WS 2 /g-C 3 N 4 composites were measured with the Micromeritics ASAP 2020 nitrogen adsorption analyzer.

Electrochemical measurements
Electrochemical measurements for hydrogen evolution reaction (HER) and capacitance were performed at room temperature using a CHI-660E workstation coupled with a rotating disk electrode (RDE) system consisting of Ag/AgCl/KCl, platinum wire and glassy carbon rotating disk electrode (GCE) covered with catalyst ink as reference, counter and working electrodes, respectively.The working electrode was prepared by drop casting of catalyst ink prepared from a mixture of 5 mL of Nafion solution, 1 mL of ethanol/water solution and 3 mg of composite sample.The active mass loading of the electrodes was 0.21 mg cm À2 .For the HER, electrochemical measurements were carried out in a 0.5 M H 2 SO 4 (Sigma Aldrich) electrolyte solution at different potentials and scan rates varying from 0 À0.8 V and 10-100 mV, respectively.The experimentally measured potential versus Ag/AgCl, E Ag/AgCl , was calibrated with respect to the RHE (reversible hydrogen electrode), E RHE , according to the Nernst equation; E RHE = E Ag/AgCl + E 0 Ag/AgCl + 0.059 pH (at 25 1C) where E 0 Ag/AgCl = 0.1976 V at 25 1C.The acquired HER experimental values were generated in 0.5 M H 2 SO 4 solution and corrected for iR loss.Chronoamperometric measurements were performed by applying the corresponding potential to support an initial current density of about 10 mA cm À2 for 10 h for the HER.Electrochemical impedance spectroscopy measurements were carried out after applying the AC voltage with 10 mV amplitude at a frequency range of 0.05 Hz to 10 kHz, using the open circuit potential.
For specific capacitance (C sp ), galvanostatic discharge/ charge (GCD) measurements were recorded at current densities ranging from 2 to 15 A g À1 .Specific capacitance (C sp ) was derived from GCD measurements using the equation: C sp = I/m (DV/Dt) where I (A) is the discharge current, Dt (s) is the discharge time consumed in the potential window of DV (V) and m represents the mass of active material.The stability of the supercapacitor was evaluated by cyclic GCD measurements at current density of 15 A g À1 for 10 000 cycles.

DFT Calculation parameters
In this work, the first-principles density functional theory (DFT) was applied by using the projector augmented wave method (PAW). 11Additionally, the exchange-correlation function was approved by employing the Perdew-Burke-Ernzerhof generalized gradient approximation (PBE-GGA). 12For the results, we applied the wave functions with plane-wave expansion with 400 eV cutting off energy while force tolerance was set at 0.05 eV Å À1 for relaxation.Also, certain surfaces of the (100) planes were chosen to build the heterostructure of WS 2 -g-C 3 N 4 nanocomposites.Furthermore, the WS 2 surface of (100) with 7 Â 7 units of and the g-C 3 N 4 surface (100) with 3 Â 3 units were established to simulate the heterostructure of WS 2 -g-C 3 N 4 .Since HER consists of four elementary reactions, the electron transfer for each reaction was supplemented by the process of proton expulsion, which can be indicated below: where * and X* are demonstrated as an adsorption site and an adsorbed X intermediary on the reaction surface.The H + + e À can be shown as free energy of half formation energy of H 2 at 1 atm within 298 K.The reduction activity was calculated by using DG = DE + DZPE À TDS for the free energy where the DE was acquired by its geometric forms.Moreover, the DZPE and DS were defined by using the computational vibration frequency, combined with the standard tables of gas reactants.The entropy was assumed as zero at the adsorbed surfaceactive site.

Structural and physicochemical properties
To investigate the structure-activity relationships, DFT calculations were applied to study the electronic structure of these catalysts.Here, g-C 3 N 4 , WS 2 and WS 2 -g-C 3 N 4 are considered as the model object to analyse the difference of electronic structure and catalytic mechanism.Density of states (DOS) and partial density of states (PDOS) of these materials are shown in Fig. 2.
The band gap of WS 2 , g-C 3 N 4 , and WS 2 -g-C 3 N 4 are 1.63 eV, 1.21 eV, and 0.85 eV, respectively.The WS 2 -g-C 3 N 4 composite exhibits the lowest band gap energy, beneficial to electron transfer in catalytic process.Furthermore, atomic orbit such as N, S, and W of the WS 2 -g-C 3 N 4 composite is closer to the Fermi level compared with g-C 3 N 4 and WS 2 , which supports this finding.In addition, enhanced electron transfer at the interface of g-C 3 N 4 and WS 2 can further facilitate the absorption of water molecules.Therefore, designing the heterostructure of WS 2 -g-C 3 N 4 has a positive effect for improving the catalytic activity of HER.To understand the catalytic process for HER reaction, the reaction energies of WS 2 , g-C 3 N 4 , and WS 2 -g-C 3 N 4 at each step of the HER reaction are calculated.The Gibbs free energies of pristine g-C 3 N 4 , WS 2 and WS 2 -g-C 3 N 4 composite have been calculated to investigate HER activity (Fig. 3).As shown in Fig. 3, the Volmer-Heyrovsky reaction pathway of HER is that H + was first adsorbed onto the surface of solid catalysts, then formed in the intermediate species H*, finally converted into hydrogen.
In the Volmer-Heyrovsky reaction, the generation of intermediate species H* is the important rate determining step in the HER reaction and needs to overcome some reaction energy barriers.Fig. 3 displays the calculated Gibbs free energy (DGH*) of hydrogen adsorption (0.2 2 eV) and the Gibbs free energy of C 3 N 4 , WS 2 and C 3 N 4 /WS 2 , which are 2.76 eV, 2.14 eV and 1.92 eV, respectively, which is in line with previous reported values. 13The WS 2 -g-C 3 N 4 composite shows the lowest activation barriers than those of WS 2 and g-C 3 N 4 , indicating that the WS 2 -g-C 3 N 4 possesses the highest electrocatalytic HER activity.Our calculation results also demonstrate that the interface interaction between g-C 3 N 4 and WS 2 optimizes the electronic structure of composite materials via the promotion of more electrochemical active sites and improved charge transfer kinetics required for optimal electrochemical performance.These calculation results confirm the importance of WS 2 -g-C 3 N 4 heterostructure design.
As shown in Fig. 4a and Fig. S1 (ESI †), a sparse to dense mat of nanowires was grown on the g-C 3 N 4 scaffolds when the calcination temperature increased from 400-800 1C, respectively.The average thickness and length of the nanowires were between 10-30 nm and r 1 mm, respectively.Low-and high-resolution TEM images show homogeneous, layered, spindle-shaped structures of varying width and length stacked on top of each other in different directions (Fig. 4b).The interplanar spacing of the spindle shaped structures are 0.38, 0.32 and 0.27 nm which matched the d spacing values for (002), ( 002) and (100) planes of g-C 3 N 4 , orthorhombic (b) WO 3 and hexagonal WS 2 , respectively. 14The presence of WO 3 is due to the reaction of some W 18 O 49 nanoparticles with residue oxygen during the reduction reaction in H 2 S/Ar atmosphere between 400-800 1C.The phase transformation of W 18 O 49 is expected to initially proceed through the formation of WS 3 via the substitution of oxygen atoms with sulphur atoms. 15Further reaction leads to the formation of WS 2 with residual orthorhombic WO 3 nanoparticles due to oxidation occurring during sulfidation.The presence and homogeneous distribution of C, N, W, O and S was clearly confirmed from the elemental mapping of WS_800 (Fig. 4d-i) which is consistent with the XRD and XPS results, to be described below.
The XRD patterns of the as-synthesized WS 2 -g-C 3 N 4 composites prepared after thermal treatment at 400-800 1C are shown in Fig. 5a.Phase characterization indicates that the samples are crystalline and in good agreement with orthorhombic (b) WO 3 (JCPDS card no.20-1324), g-C 3 N 4 (JCPDS no.87-1526), and hexagonal WS 2 (JCPDS card no.08-0237).The diffraction peaks at 2y = 32.81,33.61, 35.31, 55.91 and 57.61 are indexed to (100), (101), (102), ( 106) and (110) planes of hexagonal WS 2 , respectively.The diffraction peak at 27.61 is attributed to the (002) plane of g-C 3 N 4 linked to the interplanar stacking of conjugated aromatic systems. 16The peaks of b-WO 3 and WS 2 become sharper with the increase of reaction temperatures.Raman spectra in Fig. 5b have revealed the characteristic peaks of the W 18 O 49 and WS 2 in the 200-1000 cm À1 range and the D (1348 cm À1 ) and G (1587 cm À1 ) bands for g-C 3 N 4 in the WS 2 -g-C 3 N 4 composites prepared at different temperatures.The peak intensity ratios of the disordered amorphous carbon (D band) to graphitic carbon (G band) are calculated to be 1.33, 1.23 and 1.07 for WS_400, WS_600 and WS_800, respectively.The absence of 2D band linked to the second-order two-phonon process of graphene and low degree of graphitization is ascribed to the presence of structural defects and high nitrogen content.
Only WS_400 presents a Raman band at 129 cm À1 , which is assigned to the b-WO 3 phase.This confirms that some oxidation reaction occurred during the growth of WS 2 on the g-C 3 N 4  This band at 920-1000 cm À1 corresponds to the WQO stretching vibration mode of a terminal oxygen and has been used as the characteristic shifts for W 18 O 49 nanowires. 17The intensity of this band was observed to decrease with increasing temperatures, due to the conversion of most of the W 18 O 49 into WS 2 .The disappearance of the 129, 225 and 667 cm À1 characteristic bands of b-WO 3 and W 18 O 49 , respectively, was observed for the WS_600 and WS_800 samples.As shown in Fig. 5b, additional bands were observed for WS_600 and WS_800 at 297, 350 and 416 cm À1 which corresponds to the E 1g , E 2g 1 and A 1g modes of WS 2 , respectively.The E 2g 1 mode is linked to the in-plane, while A 1g mode correspond to out-of-plane phonon mode of WS 2 .Additionally, the A 1g mode undergoes a slight red shift as the reaction temperature was increased from 600 to 800 1C.This shift triggered by the temperature increase is expected, due to the decrease in the interlayer van der Waals interaction resulting in weak restoring forces during lattice vibration.The BET surface area of the WS 2 -g-C 3 N 4 composites and pore size distribution of WS_600 is shown in Fig. S2 (ESI †).The resulting specific surface areas of WS_400, WS_600 and WS_800 was 61, 86 and 47 m 2 g À1 , respectively.As shown in Fig. S2b (ESI †), WS_600 possesses mesopores with pore sizes of less than 37 nm which can facilitate efficient ion transport and accommodate the potential volume changes during the repeated charge-discharge processes.
As shown in Fig. 6, the chemical composition and valence state of the composites are characterized by XPS.The atomic percentage of all samples, with the calculated atomic ratios for N/C, pyridinic N [C-N-C]/pyrrolic N [N-(C) 3 ], W/S and WO 3 /WS 2 are summarized in Table S1 (ESI †).The survey scan spectrum in   Considering the W 4f spectra of all samples, the binding energy at about 35 and 37 eV were generally attributed to W 6+ species of tungsten oxide (WO x ).Two peaks of W 4f 7/2 and W 4f 5/2 at about 34 and 36 eV can be observed, indicating the semiconducting nature of the 2H phase WS 2 .The peak locations are positively shifted to higher binding energies compared with the reference for 2H-WS 2 which is matched with the peak of W 5+ in the WO x structure. 18However, the peak of one layer per (Trigonal) unit cell (1T) structure is observed in all samples.Together with the XRD results and TEM element mapping, these peaks are therefore assigned to 2 layers per hexagonal unit cell (2H)-phase of WS 2 .The peak shift is linked to an incomplete transfer structure from WO x to WS 2 , and to the presence of W 5+ species inside the WO x structure.
journal is © The Royal Society of Chemistry and the Chinese Chemical Society 2022 Mater.Chem.Front., 2022, 6, 737-747 | 743 attributed to the unavoidable surface oxidation of the samples.The S 2p spectra were deconvoluted into 3 peaks for all samples, which include S 2p 3/2 peak at B161 eV, S 2p 1/2 peak at B163 eV and the oxidized species at B169 eV.The oxidised sulphate groups were generated from residues after reaction or intermediate products formed during the transformation of WS 2 from WO x . 20The peak percentage areas for both S 2p 3/2 and S 2p 1/2 in the sample decreased with increased temperature from 400 to 800 1C, i.e., WS_400 to WS_800.As shown in Table S1 (ESI †), S content of the composites decreases with increasing calcination temperature.The same decreasing trend was observed for the atomic ratios of W to S, implying the absence of surface sulphur atoms Fig. 6.
The O 1s spectra of mixed WO x /WS 2 nanostructures can be assigned into 4 peaks with binding energies of about 530, 532, 533 and 535 eV. 6The peak at 530 eV is attributed to binding state of W 6+ or W 5+ corresponding to the lattice oxygen in WO x ; while the peak at 533 eV is from O 2 adsorbed on the WO x /WS 2 .The peak at 535 eV is assigned to OH-groups and water molecules, which can be chemisorbed on the defects and vacancies of the WO x /WS 2 nanostructures.The peak at 322 eV can be associated with the O atom bonded to W atoms, which corresponded to S-O-W bonds indicating that an interfacial bond exists in the nanostructures. 21ccording to the high resolution XPS spectra of N 1s, three peaks at about 398, 399 and 402 eV correspond to the sp 2bonded pyridinic N (CQN-C), pyrrolic N (N-(C) 3 ) groups and quaternary N (C-N-H), respectively. 22The composites possess high N contents between 5.31 and 17 at%, showing that high N amounts are present in the final structures after calcination at 800 1C.As shown in Table S1 (ESI †), the N/C atomic ratio was observed to decrease from 0.24 to 0.065 with increasing calcination temperature.The same decreasing trend was observed for atomic ratios of pyridinic and pyrrolic N species where the atomic ratios decreased from 1.99 to 0.73 for WS_400 to WS_800, respectively.Conversely, an increasing trend was observed for the quaternary N (Fig. S4, ESI †).The decreasing N content can be linked to the introduction of N-vacancies while preferential loss of pyridinic N atoms over pyrrolic N atoms occurs due to unsaturated coordination which creates charge imbalance due to missing pyridinic N atoms. 23The type and content of pyridinic, pyrrolic and quaternary N species have been reported to play a key role in influencing the structure (i.e., defects and active sites) and electrochemical performance (i.e., electron transport and conductivity). 7,23As shown in Fig. S4 (ESI †), the WS 2 -g-C 3 N 4 composites possess a high content of pyridinic and pyrrolic N species, which can provide active sites for redox reactions, resulting in improved electrochemical performance.
As shown in Fig. S3b (ESI †), the core level spectrum of C 1s can be fitted with 4 peaks with positions around 284, 285, 287 and 290 eV, which are corresponding to the C-C, C-O/C-S, NQC-N and C-N bonds, respectively. 24Therefore, all the structure analyses suggest that the WS 2 -g-C 3 N 4 composites contain mainly 2D WS 2 with residual amounts of WO x .The amount of WS 2 (2H-phase) in the samples increased with the increases of temperature from 400 to 600 1C while the amount of WS 2 (2H-phase) in the 800 1C sample decreased, due to phase transformation of 2H to 1T.Overall, the total WO 3 /WS 2 atomic ratio of the composites decreased with increased calcination temperature (Table S1, ESI †).The peaks of N and C confirmed the presence of graphitic carbon nitride within these samples.
Based on the XPS results, it is confirmed that WO x /WS 2 was grown on the g-C 3 N 4 surface and connected via van der Waals bonds.In addition, the 2H-WS 2 matrix contained S-vacancies due to WO x -WS x or 2H-1T phase transitions.This is supported by O 1s peak at about 322 eV), 1T (which can also refer to defects of WS x structure) and oxidized species peaks from S 2p spectra. 25Overall, the preferential bonding between the basal planes of WS 2 and g-C 3 N 4 optimizes the electronic structure of the composite materials and activates the active sites.

Electrochemical performance evaluation
The electrochemical performance of the WS 2 -g-C 3 N 4 composites for supercapacitors was evaluated by using a three-electrode cell configuration in 0.5 M H 2 SO 4 electrolyte.Fig. 7 and Fig. S5 (ESI †) show the electrochemical performance of the WS 2 -g-C 3 N 4 composites.As shown in Fig. 7a, Fig. S4a and c (ESI †), all WS 2 -g-C 3 N 4 composites possess a convex quasi-rectangular CV shape at potential windows of 0.2 to 1.0 V at various scan rates ranging from 10 to 100 mV s À1 , which is indicative of the pseudocapacitive behavior, due to the electric double layer capacitance (EDLC) and faradaic reactions of g-C 3 N 4 and WS 2 , respectively.
The shape of the well-defined CV curves is maintained at different scan rates, which indicates the capacity of the WS 2 -g-C 3 N 4 composites for fast charge transfer and improved rate performance.The galvanostatic charge/discharge profiles of WS_400, WS_600 and WS_800 electrodes at current densities between 2-15 A g À1 were measured and presented in Fig. 7b, Fig. S5b and d (ESI †), to evaluate the potential use of these composites as supercapacitors.The quasi-triangle shape of galvanostatic charge/discharge profiles is asymmetrical, suggesting the presence of some EDLC and faradaic reactions, which is consistent with the reported CV results.The WS_600 electrode exhibited a longer discharge time compared with other electrodes, supporting an optimal pseudocapacitive performance.The specific capacitance was calculated from the galvanostatic charge/discharge profiles of the WS 2 -g-C 3 N 4 electrodes, to highlight the rate capability which represents a measure of the charge and discharge capability of supercapacitors.The calculated specific capacitance values of WS 2g-C 3 N 4 electrodes at different current densities are shown in Fig. 7c.The electrodes of samples WS_400, WS_600 and WS_800 reveal specific capacitance values of 256, 1156 and 997 F g À1 when the N content was 17, 11.78 and 5.31 at%, respectively at a current density of 2 A g À1 .The specific capacitance values show that the nitrogen content must be kept around 11.78 at% to obtain optimal specific capacitance values.WS_600 electrode with N and S content of 11 at% and 1.01 at% had the maximum specific capacitance compared with other electrodes.Its specific capacitance remained as high as 832 F g À1 at a maximum current density of 15 A g À1 , due to its excellent rate capability and electrochemical performance.In comparison, the specific capacitance values of WS_400 and WS_800 electrodes are 639 and 131 F g À1 at the same current density of 15 A g À1 .The specific capacitance retention of the WS_600 electrode was estimated to be 12.5% and 41% higher than those of WS_400 and WS_800, respectively, revealing the superior rate capability of WS_600 electrode.The specific capacitance of all the samples decreases with increasing current density due to the difficulty in ion transport at high current densities.In addition, the electrochemical stability was evaluated via cyclic galvanostatic measurements at a current density at 15 A g À1 .The stability of the WS_600 electrode over 10, 000 cycles at 15 A g À1 is shown in Fig. 7d.The WS_600 electrode exhibited excellent cyclic stability.After 10 000 cycles, the WS_600 electrode retained 82% of its initial specific capacitance.The specific capacitance of WS_600 is superior to the recently reported tungsten-based supercapacitors [26][27][28][29][30][31][32] (Table S2, ESI †).Overall, the WS_600 electrode possessed the optimal specific capacitance, improved rate capability and cyclic performance, against the WS_400 and WS_800 electrodes.The improved performance of WS_600 electrode is linked to the contributing effects of optimal surface area, surface defects (i.e., sulfur vacancies in WS 2 and nitrogen vacancies in g-C 3 N 4 ) as active sites, and both EDLC and redox reactions from the WS 2 and g-C 3 N 4 , which together facilitated the improved charge storage.The layered structures of WS 2 embedded in the g-C 3 N 4 scaffold provided shorter pathways for a fast and efficient ion transport, while the porous feature could accommodate the potential volume changes during the repeated charge-discharge processes.
Besides utilization as supercapacitors, the WS 2 -g-C 3 N 4 composites also demonstrated interesting performance in hydrogen evolution reaction, which is a key process in the electrochemical water splitting.The electrocatalytic HER activities of the WS 2 -g-C 3 N 4 composites were evaluated using a threeelectrode configuration in an acidic (0.5 M H 2 SO 4 ) electrolyte, as shown in Fig. 8.The linear sweep voltammetry (LSV) curves of 20 wt% Pt/C and WS 2 -g-C 3 N 4 composites are displayed in Fig. 8a.The WS_600 electrode again showed a small onset potential of À0.06 V (vs.RHE) against other WS 2 -g-C 3 N 4 based electrodes, and was slightly higher than that of 20 wt% Pt/C.After which a sharp increase in the cathodic current was observed under negative potentials for all samples.The operating potential at a standard current density of 10 mA cm À2 was adopted in this study, for comparison purpose.This value is representative of the current density expected for a solar water splitting device operating at 12.3% efficiency. 33WS_600 electrode exhibited excellent catalytic activity with a low overpotential of À0.170 V (vs.RHE) to drive a current density of 10 mA cm À2 .
In comparison, the WS_400 and WS_800 electrodes possessed higher overpotentials of À0.440 and À0.260 V (vs.RHE), respectively, to attain the same current density.These results affirmed the exceptional HER electrocatalytic activity of WS_600 amongst all samples.
The Tafel slopes of the samples were plotted to estimate the reaction kinetics and the rate-determining step for the HER process.As shown in Fig. 8b, the Tafel slope of WS_600 was 59 mV dec À1 , much lower than 75 and 109 mV dec À1 for WS_800 and WS_400, respectively, indicative of its faster kinetics.The low Tafel slope of WS_600 confirmed the favorable HER kinetics, which is linked to its layered structure providing more pathways for easy ion transportation.Hydrogen production for the samples was facilitated through a Volmer-Heyrovsky mechanism due to their Tafel slope values being within the range of 40 and 120 mv dec À1 , where electrochemical desorption and formation of hydrogen molecules occurred, respectively.The transition from the Volmer to Heyrovsky pathway is the rate limiting step for this mechanism.The excellent HER performance of WS_600 with low overpotential and Tafel slope is comparable to other previously reported tungsten-based electrodes in the literature 1,26,[34][35][36][37][38] (Table S3, ESI †).The reaction kinetics occurring at the electrode/electrolyte interface was evaluated by EIS.Fig. 8c shows the Nyquist plots where the WS 2 -g-C 3 N 4 based electrodes showed semicircles at high frequency region, a little intercept at the real part and a line with large slope at low frequencies which is attributed to the charge transfer resistance (R ct ), intrinsic resistance (R e ), and the diffusion resistance (W), respectively.The WS 2 -g-C 3 N 4 based electrodes exhibit low resistance and fast ion transfer, which enhanced pseudocapacitance.The WS_600 exhibited a lower R ct compared with other samples, due to better HER kinetics and enhanced ion transport at the electrode/electrolyte interface.The EIS plots of WS_600 before and after cycling (Fig. S6, ESI †) has a similar trend, where a slight increase of the R ct and R e was observed after 5000 cycles confirming the stability of WS_600.
The durability of WS_600 was investigated by cyclic linear potential sweeps and chronoamperometry measurements at the current density of 20 mA cm À2 .The polarization curve of WS_600 after continuous 5000 cycles at a scan rate of 5 mV s À1 exhibited only a small decay benchmarked against the initial cycle (Fig. 8d).The current-time curve showed that WS_600 was stabilized after 10 h with no attenuation in its current density.These observations indicated that the WS_600 possessed superior cyclic and long-term stability for the HER.Overall, the excellent electrochemical performance was attributed to WS 2 -g-C 3 N 4 composites, which provided more electroactive sites at electrolyte/electrocatalyst interface to facilitate effective ion transport and possessed ample active sites to allow intensive electrochemical reactions.

Conclusions
In summary, WS 2 -g-C 3 N 4 composites with surface vacancies were successfully prepared by using a facile solvothermal method followed by sulfidation.Experimental and computational studies revealed the preferential bonding and interfacial interaction This journal is © Royal Society Chemistry and the Chinese Chemical Society 2022 between the basal planes of WS 2 and g-C 3 N 4 , which optimizes the electronic structure, improves charge transfer and electrochemical performance.In comparison with other electrocatalysts, the WS_600 electrode showed excellent specific capacitance of 1156 F g À1 at the current density of 2 A g À1 , compared with 256 F g À1 for WS_400.The WS_600 electrode retained 82% of its initial specific capacitance after 10 000 cycles.In addition to demonstrating excellent specific capacitance, the WS_600 electrode also exhibited an excellent catalytic activity, with a low overpotential of 0.170 V (vs.RHE) capable of driving a current density of 10 mA cm À2 and a good stability after 8 h of testing.Overall, the WS_600 electrode possessed optimal specific capacitance, improved rate capability and cyclic performance, benchmarked against other samples due to the contributing effects of optimal specific surface area, surface defects (i.e., sulfur vacancies in WS 2 and nitrogen vacancies in g-C 3 N 4 ) as active sites, and both EDLC and redox reactions from the WS 2 and g-C 3 N 4 , which together facilitated the improved charge storage.

Fig. 2
Fig. 2 Theoretical calculation of the density of states (DOSs) near the Fermi level.

Fig. 3
Fig. 3 Free-energy diagram for the HER with Volmer-Heyrovsky reactions on pristine g-C 3 N 4 , WS 2 and WS 2 -g-C 3 N 4 composite.

Fig. 4
Fig. 4 (a) SEM image of WS 2 -g-C 3 N 4 composites prepared at 800 1C (WS_800), with inset high-resolution image showing the nanowire morphology of WS_800.TEM analysis of WS_800: (b) low magnification image, (c) high-resolution images showing lattice planes of g-C 3 N 4 , WO 3 and WS 2 .(d-i) TEM images with corresponding elemental mapping of WS_800.

Fig. 5
Fig. 5 (a) XRD patterns and (b) Raman spectra of the WS 2 -g-C 3 N 4 composites prepared at different temperatures.

Fig. S2a (
Fig.S2a (ESI †) confirms that C, N, O, W and S elements exist in WS_600.Considering the W 4f spectra of all samples, the binding energy at about 35 and 37 eV were generally attributed to W 6+ species of tungsten oxide (WO x ).Two peaks of W 4f 7/2 and W 4f 5/2 at about 34 and 36 eV can be observed, indicating the semiconducting nature of the 2H phase WS 2 .The peak locations are positively shifted to higher binding energies compared with the reference for 2H-WS 2 which is matched with the peak of W 5+ in the WO x structure.18However, the peak of one layer per (Trigonal) unit cell (1T) structure is observed in