# Extended π-conjugative n-p type homostructural graphitic carbon nitride for photodegradation and charge-storage applications

## Abstract

An n-p type homostructural metal-free graphitic carbon nitride (g-C3N4) semiconductor is designed and developed for pollutant abatement and energy storage application. The successful grafting of vibrio-like morphology-based g-C3N4 by 2, 5-Thiophenedicarboxylic acid (TDA) molecule and the development of amide-type linkage substantiated the prosperous uniting of g-C3N4 with organic TDA moiety is demonstrated. An extended π-conjugative TDA grafted g-C3N4 exhibited band gap tunability with broadband optical absorbance in the visible region. Mott-Schottky analysis exhibited the formation of n-p type homostructural property. As a result, obtained TDA grafted g-C3N4 has extended π-conjugation, high surface area and adequate separation of charge carriers. The change in the photocatalytic performance of grafted g-C3N4 is inspected for degradation of acid violet 7 (AV 7) dye under visible light irradiation. The charge storage capacity of grafted g-C3N4 was additionally assessed for supercapacitive behaviour. The charge capacitive studies of grafted g-C3N4 exhibited the areal capacitance of 163.17 mF cm−2 and robust cyclic stability of 1000 cycles with capacity retention of 83%.

## Introduction

Graphitic carbon nitride (g-C3N4) as analogous to graphene, has semiconductor characteristics with a band gap of ~2.7 eV, owing to sp2 hybridised carbon and nitrogen atoms arranged in a six-member stalked rings1,2. Due to excellent thermal and chemical stability with unique optoelectronic properties, g-C3N4 predominantly studied for photocatalytic water splitting3,4,5,6,7, oxidative degradation of air/water pollutants8,9, bacterial inactivation10,11,12,13, reduction of carbon dioxide14,15, organic synthesis16,17 and as well as in electrochemical devices18,19. As an alternative to metallic photocatalyst, g-C3N4 expedited interest as non-toxic and facilely available inexpensive material for a broad variety of photo/electro-catalytic applications2,20. There are extensive reports on the utilisation of “g-C3N4 as photocatalyst” and are systematically summarised in sundry of inspiring reviews21,22,23,24,25,26. Albeit considerable progress is made in g-C3N4 chemistry, the photocatalytic performance of bulk g-C3N4 is still obstructed by poor visible light absorption, high recombination of electron-hole pairs and low surface area26. Therefore, several approaches have been applied to enhance the photocatalytic performance of g-C3N4. Two categories of modification were adopted to alter the structural and physicochemical properties of g-C3N4. Mainly pre and post-modification of g-C3N4 were investigated to improve its photocatalytic performance27. Pre-modification includes copolymerization of melon with a felicitous external additive to tune and acquire the desired property in g-C3N428. In this regard, elemental doping and polymerisation with organic conjugated moieties proved to be propitious in enhancing the activity of g-C3N429,30,31,32. While post-modification involves g-C3N4 heterojunctions, where bulk g-C3N4 lattice fabricated by thermal condensation method is composited with well-matched energy band of suitable semiconductor metal oxides to form a semiconductor-semiconductor hybrid heterostructure for promotion of charge carriers from g-C3N4 to another semiconductor or vice versa33,34. Post-functionalization offers the benefit of grafting target function groups or dopant into g-C3N4 lattice. Post-modification of g-C3N4 is a straightforward strategy to form heterojunctions with metal oxides, where nitrogen-rich acidic site of melon units coordinate to form a covalent bond between nitrogen and metals. However, low solubility and high chemicals resistivity of g-C3N4 in prevalence organic solvents is a fundamental barrier for post-functionalization of this material. On the other hand, in-situ co-polymerisation of organic groups with melon units induces supramolecular pre-organisation of functional moieties into the g-C3N4 lattice structure35,36. Pre-functionalization of melon precursors with suitable organic molecules may produce excess defect sites or incomplete g-C3N4 framework37. Besides, the stability of target functional group at high temperature as 550 °C is crucial for modification of g-C3N4 derivatives. Precedent reports revealed that post-functionalization of g-C3N4 polymers offer control over the stability of functional group, prevent the undesired defect site generation and preserve basic structural unit of pristine g-C3N438,39,40.

Thus, here we utilize the post-functionalisation strategy to incorporate 2, 5-thiophene dicarboxylic acid (TDA) moiety into the defect sites of g-C3N4. A simple solvent evaporation technique was performed to condense the free –NH2 group of g-C3N4 with carboxylic –OH groups of TDA moiety. Tailoring of g-C3N4 optical properties with extended π-conjugation is the motif of present work. We employed pre and post-modification strategies to functionalise g-C3N4 with TDA moiety and optimized the synthetic conditions. The improvements in photocatalytic performance of TDA-functionalised g-C3N4 are demonstrated by considering degradation of Acid violet 7 (AV 7) dye. Two-dimensional g-C3N4 is made up of earth abundant composition, low cost processing, high surface area, and eco-friendly nature. Importantly it shows electrical double layer capacitive behavior suitable for supercapacitive applications. Nevertheless, the surface to volume ratio of bulk g-C3N4 is poor, producing lower charge-capacitance properties. The addition of aromatic TDA moiety to the terminal –NH2 groups of tri-s-triazine units in perpendicular direction protects the restacking of g-C3N4 layers and could open up high intra-layered catalytic active sites for charge-storage behavior. Therefore, the effect of extended π-conjugation in TDA grafted g-C3N4 is additionally examined by charge capacity retention studies.

## Results and Discussion

The condensation of g-C3N4 with TDA in methanol solvent provide the advantage of its greater methanol tolerance41. Concealing surface defects of g-C3N4 can improve charge separation of electron and holes with better light absorption. The surface structural modification can also alter the electronic band structure of g-C3N4 and modified band structure can promote its photocatalytic behaviour. Grafting of π-rich aromatic thiophene onto defect sites of g-C3N4 can have a pronounced effect on the electronic structure, optical properties and photocatalytic properties of the material. In principle, free –NH2 group of g-C3N4 and –COOH group of TDA condense to form amide type linkage as given in Fig. 1a. Polymeric g-C3N4 with terminal amino functionalities as electron donating groups endows n-type conductivity in the material. The substitution of terminal –NH/NH2 groups in g-C3N4 structure with electron accepting groups may induce p-type conductivity. The condensation of terminal electron donating –NH2 groups of g-C3N4 with an electron accepting carbonyl group might transform g-C3N4 into homostructural donor-acceptor complex with n-p type conductivity. The condensation of –NH2 groups ascribable to the donor and acceptor (D-A) complex formation, which brings adjacent electron deficient-electron rich rings into close proximity.

Thus, the formation of an amide type linkage could extend π-conjugation in g-C3N4. The extended conjugation of π-bonds favours the molecule to absorb visible light in the longer wavelength and TDA grafted g-C3N4 may possess n → π transition of -NH-C=O bond and π → π* transition of –C=O bond. Moreover, an increase in conjugation raises the energy level of the HOMO and lowers the energy of LUMO, which in turn cause less absorption energy for an electron transition. Presence of sulfur in thiophene molecule could stimulate physicochemical properties of g-C3N4-TDA. Several sulfur-doped g-C3N4 results found that sulfur can induce a change in the electronic structure of g-C3N4 and can also contribute to the reduction in HOMO-LUMO band gap energy42,43,44. Figure. 1b is discussed in later sections.

Powder x-ray diffraction (XRD) analysis was performed to determine the lattice structure of g-C3N4-TDA samples. The XRD patterns of g-C3N4 and TDA grafted g-C3N4 represent distinctively different diffraction patterns, a broadening of hkl (002) peak in g-C3N4-TDA0.5 indicate the absence of long-range ordering of atomic arrangements, partial collapse of intra-layer g-C3N4 units and decreased crystallinity (Fig. 2a)16,45. The XRD pattern of TDA has shown a sharp diffraction peak at a 2θ value of 27.2° and few other underdeveloped peaks. However, comprehension of the TDA crystal structure is still unclear. The powder XRD pattern of TDA grafted g-C3N4-TDA0.5 reflected several new peaks at around 2θ angle of 14.0, 23.2 and 25.1° which are likely due to the change in crystal structure caused by the grafting of organic TDA moiety. Furthermore, a broad peak at 2θ = 12.8 in g-C3N4-TDA0.5 sample corresponds to hkl(100) plane, arising from in-plane stacking of tri-s-triazine motif46. Another possible reason for the broadening of (002) and (100) planes is attributed to restricted stacking of g-C3N4 layers by the addition of π-electron rich TDA molecule. These results suggest the successful grafting of g-C3N4 by TDA molecule via direct heating in methanol solvent.

In order to verify the successful grafting of g-C3N4 with organic TDA moiety fourier transform infrared spectroscopy (FTIR) analysis were performed. In the FTIR spectra (Fig. 2b), the –NH, –CN and s-triazine subunit stretching frequencies in g-C3N4-TDA0.5 appeared at ca. 3400 cm−1 (broad), ca. 1268 cm−1 (broad), and ca. 804 cm−1 (sharp), respectively. These characteristic stretching vibrations ensure the existence of undisturbed g-C3N4 framework in the prepared samples. Besides, the formation of a new vibration of >C=O band at ca. 1679 cm−1 (weak) was appeared, which clearly indicates the condensation of –COOH group and formation of terminal amide type linkage in grafted g-C3N4. Also, the absence of characteristic stretching vibrations of an acid group also supports the condensation of –COOH functional group in TDA.

Morphological alterations in TDA modified g-C3N4 was imaged using a field emission scanning electron microscope (FE-SEM). The FE-SEM image of bulk g-C3N4 depicts typical graphene sheets like aggregations (Fig. S1a). While TDA-g-C3N4 shows semi-rolled thick layer organisation, this could be due to the addition of π-acceptor TDA molecule; which enforced the tilting of 2D-graphene sheets (Fig. S1c). The semi-rolled thick layer structure is as a result of combined intramolecular hydrogen bonding and charge transfer interactions with TDA molecule. Furthermore, energy dispersive x-ray analysis (EDS) confirmed the elemental composition of TDA in the modified g-C3N4 (Fig. S1b). In comparison to pristine g-C3N4, TDA-g-C3N4 sample have displayed very intense carbon peak (Fig. S1d). This excess carbon weight percentage in g-C3N4 is principally due to additional TDA segment. These observed morphological changes support the grafting of g-C3N4 with organic TDA molecule.

In comparison with the smooth layer structure of pristine g-C3N4, TEM image of g-C3N4-TDA0.5 exhibited vibrio-like branch morphology (Fig. 3a,d). The grafting of TDA could drive to reduce the g-C3N4 terminal –NH2 groups and develop branch-like structures on the surface of g-C3N4 sheets, which could boost the interaction of reactants with catalytic sites. The inter-planar d-spacing calculated for bulk g-C3N4 was found to be 0.32 nm, and the absence of clear lattice fringes in g-C3N4-TDA0.5 indicates its distinctive amorphous nature (Fig. 3b,e). Furthermore, the selected area electron diffraction (SAED) pattern of g-C3N4 reflected polycrystalline nature with a few bright spots (Fig. 3c). These bright spots disappeared in g-C3N4-TDA0.5, and it exhibited two diffuse concentric rings of maximum intensity with no discrete reflections (Fig. 3f). This feature implies the absence of long-range order in atomic lattice of grafted g-C3N447. The structural change from polycrystalline to amorphous by grafting of an organic molecule is may be due to terminal amidization which allow this change in microstructure. The surface terminal grafting of g-C3N4 with TDA molecules can act as a pillar between stalked g-C3N4 layers and prevents the self-aggregation of bulk layers. The homogeneous amorphization of g-C3N4-TDA0.5 is possibly due to the introduction of aromatic-TDA molecules in the perpendicular direction of the triazine network, which induces a significant decrease in the crystallinity of the material.

The chemical environment of carbon atoms in prepared samples was further investigated by solid-state cross-polarised magic angle spinning 13C-NMR analysis (Fig. 1b). 13C NMR spectra of melamine, pristine g-C3N4 and g-C3N4-TDA of optimised compositions were recorded to study the nature of the interaction between g-C3N4 and TDA. Polymeric g-C3N4 motif is made up of continuous chains of heptazine core units where two non-equivalent sets of carbons are present. The 13C NMR spectrum of the pristine g-C3N4 exhibited two signals centred at 162.22 and 154.07 ppm, which can be assigned to the resonances for the CN2(NH2) and CN3 groups of the heptazine units48,49, respectively. These two peaks are in good agreement with the chemical shift of carbons in heptazine (single carbon nitride unit) molecule (164–166 ppm and 155–156 ppm)50. Similarly, the spectra of g-C3N4-TDA0.5 show the two signals at the same position as C1 (162.01 ppm) and C2 (153.88 ppm) confirming the presence of heptazine core. The peak shift appears at C4 (193.17 ppm), and C7 (187.95 ppm) can be assigned to the ketonic carbon and acidic carbon, respectively. The peak shift appearance at C5 (84.4 ppm) and C6 (79.5 ppm) can be assigned to the carbon peaks in TDA moiety. The C3 (138.63 ppm) and C8 (133.15 ppm) peak shifts can be assigned to the presence of ketonic carbon of TDA moiety in the g-C3N4-TDA0.5 samples. These results infer that there is a strong interaction exists between the g-C3N4 and TDA in the prepared composite. This interaction facilitates the formation of n-p type homojunction results in improving the photocatalytic performance.

The optical properties of g-C3N4-TDA samples and bulk g-C3N4 were studied by UV-Visible diffused reflectance spectroscopy (UV-DRS). The UV-Vis spectrum g-C3N4-TDA0.5 sample exhibit redshift of approximately 15–30 nm than the bulk g-C3N4 (Fig. 4a). To understand the redshift of the absorbance peak, it is essential to examine the molecular structure in detail. The electronic structure of g-C3N4-TDA is comprised of electron-accepting –C=O thiophene segment, connected to the g-C3N4 unit through an amide (-NH-C=O) type linkage. The observed redshift is possibly due to an intramolecular charge-transfer mechanism (ICTM). In general, g-C3N4 acts as an n-type semiconductor with free -NH/NH2 groups as electron donors51. Addition of intramolecular π-acceptor TDA group to free -NH/NH2 terminal could effectively transfer electrons and facilitate ICTM. This resultsg-C3N4-TDA0.5 to act as both n-p type homojunction semiconductor. In recent years, the term “n-p homostructural g-C3N4 semiconductor” has often used to describe the charge transfer mechanism in carbon nitride systems52. Following this, g-C3N4-TDA0.5 showed a red shifted band at 490 nm, this could be as result of π → π* transitions in g-C3N4 and carbonyl group of TDA acceptor segment; favouring ICTM. It is also assumed that the formation of the amide type bond extends π-conjugation and improves the light harvesting ability. To understand the change in band structure; the acquired diffused reflectance spectrum is converted to Kubelka-Munk function, the band gap of bulk g-C3N4 and g-C3N4-TDA were calculated by the transformed Kubelka-Munk plots of (F(R)hv)1/2 vs. photon energy. Considerable reduction in band gap was observed for TDA grafted g-C3N4 (Fig. 4a, inset). Further, in comparison of bulk g-C3N4 about 0.11 eV decrease in band gap was obtained for g-C3N4-TDA0.5 owing to a reduction in the HOMO-LUMO gap.

The surface composition and chemical state of elemental constituents in g-C3N4-TDA0.5 were observed by x-ray photoelectron spectroscopy (XPS). On the survey spectrum of g-C3N4-TDA0.5, four elements (C, N, O and S) were observed (Fig. S2). The high-resolution XPS in the S2p region of the g-C3N4-TDA0.5 spectrum is fitted as a single doublet (Fig. 4b). In accordance with the spin-orbit splitting effect, thiophene bound sulfur is mainly composed of 2p3/2 and 2p1/2 peaks in 2:1 intensity ratio53. Thus, thiophene bound to g-C3N4 has main strong binding peaks at 162.4 (2p1/2) and 161.0 eV (2p3/2). The similar binding peaks were observed for reported thiophene samples on gold54 or aromatic sulfur-containing self-assembled monolayers55. Moreover, the absence of surface sulfur binding energy peaks at 164.0 eV53, clearly express the existence of thiophene bound sulfur in the g-C3N4-TDA0.5 sample.

The Mott–Schottky (M-S) analysis of g-C3N4-TDA0.5 sample revealed n-p type conductive property. The M-S plot of bulk g-C3N4 exhibited a positive slope which is a typical feature of n-type semiconducting material and the flat band potential determined to be −1.04 V vs Ag/AgCl (Fig. 4c). In contrast, the M-S plot of g-C3N4-TDA0.5 represents a straight line with slopes in both positive and negative regimes (Fig. 4d). This could be a result of effective donor-acceptor (D-A) densities at the interface between TDA and g-C3N4 in the grafted g-C3N4-TDA0.5 sample. This result suggests the synchrony of n-p type conductive behaviour in g-C3N4-TDA0.5. Moreover, the coexistence of n- and p-type domains can benefit in effective separation and opposite migration of charged electron-hole pairs, thereby high photocatalytic performance.

To probe the charge-transfer resistance behaviour in grafted g-C3N4 samples, the electrochemical impendence (EIS) analysis was conducted in the dark and under visible light irradiation. The EIS Nyquist plot of g-C3N4-TDA0.5 exhibited a small radius arc than bulk g-C3N4, indicating improved electronic conductivity; lower charge transfer resistance and adequate separation of photogenerated electron-hole pairs (Fig. 4e,f). The EIS plot g-C3N4-TDA0.5 under visible light irradiation reflects much smaller semicircular arc than pristine g-C3N4. These observations suggest the enhanced interfacial charge transfer and effective separation of charge carriers over the surface of the grafted g-C3N4-TDA0.5 catalyst. The formation of n-p type homojunction and decrement in the charge transfer resistance is highly desirable for high photocatalytic performance.

The photocatalytic performance of grafted g-C3N4 is tested for the degradation of an aqueous solution of AV7 dye (20 mg/L) under visible light irradiation. The grafted g-C3N4-TDA samples have shown rapid photodegradation performance than bulk g-C3N4 (Fig. 5a). Moreover, g-C3N4-TDA0.5 sample displayed a high rate kinetics in AV 7 degradation under 15 min of visible light irradiation (Fig. 5b). The rate constant (k) found for the g-C3N4-TDA0.5 sample (k = 0.1591 min−1) was virtually 5-fold higher than bulk g-C3N4 (k = 0.0381 min−1). The grafting of TDA molecule can extend the visible light adsorption, lowers charge carrier recombination and improves the surface area which could be the reasons for the high photocatalytic performance of g-C3N4-TDA samples. The photocatalytic control ability of bulk g-C3N4 and g-C3N4-TDA0.5 under dark were also evaluated and has shown negligible degradation kinetics. The photolysis of AV 7 under visible light irradiation can be ruled out as a blank experiment under light without photocatalyst could not promote degradation of AV 7.

For unambiguous identification of reactive oxygen species (ROS) involved in the dye degradation process, carrier trapping experiments were performed with scavengers such as isopropanol (2 mL) for hydroxyl radicals ($${{\rm{OH}}}^{\bullet }$$), p-benzoquinone (10−3 M, 5 mL) for superoxide ($${{\rm{O}}}_{2}^{\bullet -}$$) and ammonium oxalate (0.1 g) for photon $$({{\rm{h}}}^{+})$$ quenching. Interestingly, only p-benzoquinone found to effectively suppress the degradation rate, which indicates the role of $${{\rm{O}}}_{2}^{\bullet -}$$ as major reactive species in the system (Fig. 5c). The photogenerated $${{\rm{O}}}_{2}^{\bullet -}$$ can produce highly reactive $${{\rm{OH}}}^{\bullet }$$ which further improves the degradation process as evidenced by carrier trapping experiments.

Predicated on carrier trapping experiments a possible mechanism for degradation of AV 7 is proposed as follows.

$${\rm{g}} \mbox{-} {{\rm{C}}}_{3}{{\rm{N}}}_{4}{ \mbox{-} \mathrm{TDA}}_{{\rm{0.5}}}+{\rm{h}}\nu \to {{{\rm{h}}}^{+}}_{(\mathrm{VB})}+{{{\rm{e}}}^{-}}_{(\mathrm{CB},\mathrm{TDA})}$$
(1)
$${{\rm{O}}}_{2}+{{{\rm{e}}}^{-}}_{({\rm{C}}{\rm{B}},{\rm{g}}-{{\rm{C}}}_{3}{{\rm{N}}}_{4}-{\rm{T}}{\rm{D}}{{\rm{A}}}_{0.5})}\to {{{\rm{O}}}_{2}}^{-\bullet }(\,+\,0.2\,{\rm{V}})$$
(2)
$${{{\rm{O}}}_{2}}^{-\bullet }+2{{\rm{H}}}_{2}{\rm{O}}+2{{{\rm{e}}}^{-}}_{({\rm{C}}{\rm{B}})\to 3{{\rm{O}}{\rm{H}}}^{-}}+{{\rm{O}}{\rm{H}}}^{\bullet }(\,+\,0.9\,{\rm{V}})$$
(3)
$$\begin{array}{c}{{\rm{OH}}}^{-}+{{{\rm{h}}}^{+}}_{(\mathrm{VB})}\to {{\rm{OH}}}^{\bullet }(\,+\,{\rm{1.3}}\,{\rm{V}})\end{array}$$
(4)
$$\begin{array}{c}{\rm{AV}}\,{\rm{7}}+{{\rm{OH}}}^{\bullet }\to {\rm{degradation}}\,{\rm{product}}\\ {\rm{AV}}\,{\rm{7}}+{{{\rm{h}}}^{+}}_{(\mathrm{VB})}\to {\rm{degradation}}\,{\rm{products}}\end{array}$$

The visible light irradiation of g-C3N4-TDA0.5 photocatalyst could excite valence band (VB) electrons of g-C3N4. These excited electrons further may react with surface bound oxygen to generate $${{\rm{O}}}_{2}^{\bullet -}$$, and $${{\rm{O}}}_{2}^{\bullet -}$$ later combine with water to form $${{\rm{OH}}}^{\bullet }.$$ As the VB of g-C3N4 is less positive than the standard reduction potential of $${{\rm{OH}}}^{\bullet }\,(2.68\,{\rm{eV}}\,{\rm{vs}}\,{\rm{SHE}}),$$ VB $${{\rm{h}}}^{+}$$ could not oxidise H2O into $${{\rm{OH}}}^{\bullet }$$ thus reaction given in Eq. 4 is not feasible in the present system but VB $${{\rm{h}}}^{+}$$ directly involved in the degradation of AV 7. The synergistic effect of $${{\rm{O}}}_{2}^{\bullet -}$$ and $${{\rm{h}}}^{+}$$ contribute to the rapid degradation of AV 7.

From the reproducibility perspective, the degradation experiments were performed for successive repeated cycles of the same catalyst. It can be found that g-C3N4-TDA0.5 photocatalyst is stable and has shown a small decrease in photoactivity after each repeated cycle. This could be due to loss of catalyst during repeated washings and centrifugation or the presence of adsorbed dye residues on the active sites of the catalyst. Therefore, to regenerate the active sites on the surface of the catalyst, recycled photocatalyst heated at 150 °C for 2 h, has exhibited almost similar photoactivity as of fresh sample (Fig. S3). The FE-SEM image of the recycled g-C3N4-TDA0.5 catalyst has shown identical morphological features as of pristine catalyst (Fig. S4), suggesting the robustness of the catalyst. These results demonstrate the long term durability of the metal-free catalyst for practical applications.

### Electrochemical capacitance behaviour of g-C3N4-TDA0.5

To understand the electrochemical capacitive behaviour of g-C3N4-TDA0.5, cyclic voltammetry (CV) and galvanostatic charge-discharge (GCD) techniques were employed. In the comparative charge-discharge approach, g-C3N4-TDA0.5 profile exhibited a non-ideal discharge curve with higher discharging time than bare g-C3N4 (Fig. 5d). The comparative CV analysis of bare g-C3N4 and g-C3N4-TDA0.5 at a fixed scan rate of 100 mV.s−1 displayed a regular rectangular-shape with a pair of redox peaks, which indicates the pseudocapacitive character of g-C3N4 based materials (Fig. 5e). The formation of redox peaks in the CV curve corresponds to the redox reaction between pyridinic nitrogen of carbon nitride and electrolyte56. The CV of g-C3N4-TDA displayed a large capacitive area than bulk g-C3N4, suggesting the improved ion transport and storage capacitance in the g-C3N4-TDA0.5. This could be due to extended π-conjugation in g-C3N4 by the addition of electron acceptor TDA molecule.

Further to evaluate the enhanced capacitive behaviour of g-C3N4-TDA0.5, the CV measurements were performed at different scan rate ranging from 5 to 100 mV.s−1. The CV curves showed a gradual increase in corresponding currents, which implies the capacitive behaviour of g-C3N4-TDA0.5 electrode (Fig. 5f). Almost a regular rectangle is preserved even at a higher scan rate of 100 mV.s−1, which reflects the enhanced capacitive behaviour, high rate capability and the effective ion transport in the g-C3N4-TDA0.5 electrode. This enhanced capacitive performance is may be due to the modified electronic structure of g-C3N4. Furthermore, the galvanostatic charge-discharge (GCD) approach was conducted at different current densities in 1 M KOH electrolyte (Fig. 5g). The GCD profiles at different current loads reflect short charging time and a longer discharging time with initial voltage drop, which indicates the pseudocapacitive behaviour of the g-C3N4-TDA0.5 electrode57. The areal capacitance of electrode material was calculated from the integrated area of corresponding charge/discharge curves using the earlier reported equation58. The estimated areal capacitance of the g-C3N4-TDA0.5 at 0.5, 0.8, 1.0, 1.2, and 1.4 mA.cm−2 current loads were 163.17, 84.58, 75.51, 58.62 and 51.42 mF.cm−2 respectively (Fig. 5h). To our delight, the g-C3N4-TDA0.5 electrode has an about 6-fold increase in areal capacitance than bare g-C3N4 material. The better electrochemical performance of g-C3N4-TDA0.5 is may be due to the high surface area which could provide a large contact surface for electrode and electrolyte, nitrogen richness and the addition of aromatic thiophene could also enhance the easy mass diffusion. In addition, we also tested the recycling ability of g-C3N4-TDA0.5 electrode at a fixed scan rate of 100 mV.s−1, which has shown capacity retention of 83% even after 1000 repeated cycles (Fig. 5i). This result, indicate the noticeable capacity retention and long term durability of electrode material for high-performance pseudocapacitors.

$${\rm{g}} \mbox{-} {{\rm{C}}}_{3}{{\rm{N}}}_{4}.{\rm{TDA}}+{{\rm{xH}}}^{+}+{{\rm{yK}}}^{+}+{{\rm{xye}}}^{-}\leftrightarrow {\mathrm{Hxg} \mbox{-} {\rm{C}}}_{3}{{\rm{N}}}_{4}.{\rm{Ky}}.{\rm{TDA}}$$
(5)

The mechanism involved for charge storage in the g-C3N4-TDA0.5 electrode is attributed to the intercalation/de-intercalation of cations on the surface of the electrode by means of rapid redox reactions as in Eq. 5. Moreover, the two-dimensional layered surface morphology of g-C3N4-TDA0.5 is useful to enhance the effective utilisation of active electrode material in intercalation/deintercalation of electrolyte ions59. These obtained results pave incipient approach in the fabrication of potential g-C3N4 based supercapacitors with anchored organic moieties for large surface area, a high degree of nitrogen and extended aromatic functional groups for rapid and easy charge transport.

In summary, a facile post modification strategy was used to graft organic TDA moiety at defect sites of g-C3N4. Addition of electron acceptor TDA molecule at terminal amino groups of n-type g-C3N4 resulted in the formation of n-p type homostructural g-C3N4 photocatalyst. The formation of n-p type homojunction induce built in interfacial charge separation and enable opposite migration of electron-hole pairs that minimises recombination phenomena. As obtained n-p type g-C3N4 homojunction has a significant enhancement in photo-degradation performance of AV 7 dye and high charge-capacitance behaviour. The current results are captivating in designing of n-p type g-C3N4 homojunctions using various acceptor molecules. The basic idea is to choose a simple organic acceptor molecule that is capable of binding at –NH2 sites of g-C3N4, of transferring electrons in one component and holes in the reverse direction within in the same homojunction. The insights in the modification of g-C3N4 surface functional groups can have more importance in the development of high-performance g-C3N4 based photocatalytic materials. We believe that our results pave new avenues in the building of novel class of n-p type homostructural g-C3N4 based photocatalysts.

## Materials and Methods

All the chemicals, melamine (Finar Chem. Ltd, 99%), 2,5-thiophene dicarboxylic acid (Aldrich, 99%), Acid Violet 7 (Aldrich, dye content ca. 85%), were of analytical grade and used without any further purification. Millipore water (conductivity <0.15 mS cm−1) was utilized throughout the experiments.

### Synthesis of bulk g-C3N4

Bulk carbon nitride (g-C3N4) was synthesized according to the earlier reported literature48, 5 g of melamine was heated in a caped alumina crucible at 550 °C for 2 h under air with a heating rate of 10 °C/min, a yellow product obtained is labelled as bulk g-C3N4.

### Grafting of g-C3N4 with 2, 5-dicarboxylic thiophene

A series of 2, 5-thiophene dicarboxylic acid (TDA) grafted g-C3N4 samples were prepared by mixing bulk g-C3N4 (1 g) with TDA (0.1, 0.5 and 1 mM) and thoroughly ground for 30 min using mortar and pestle. The corresponding mixture (g-C3N4-TDAx) was transferred into a beaker containing 50 ml methanol, capped and placed on a heating mantle with continuous stirring at 90 °C for the complete evaporation of a solvent. After cooling to room temperature, as the obtained yellow product is labelled as TDA grafted carbon nitride (g-C3N4-TDAx), where x = 0.1, 0.5 and 1 mM of TDA per gram of g-C3N4.

### Photocatalytic study

Photocatalytic activity of the prepared catalysts was evaluated by degradation of an aqueous solution of AV 7 dye (20 mg/L) under sunlight type irradiation in homemade photo-irradiator60. Briefly, for each experiment 100 mL of dye solution (20 mg/L) was taken in a beaker with glass lidand0.1 g of catalyst was suspended in it. Before light irradiation, catalysts were immersed in AV 7 dye solution for 30 min to attain the adsorption-desorption equilibrium at ambient conditions. Magnetic stirring was performed throughout the experiment for the homogenization of suspension. At regular time intervals, an aliquot was withdrawn, centrifuged and measured the corresponding absorbance at λ max = 523 nm using UV-visible spectrophotometer (Shimadzu1800). Photolysis reaction was checked by irradiating AV 7 dye solution without catalyst, and the concentration was monitored periodically.

### Materials characterisation

XRD analysis of the samples was performed in the 2θ range of 10° and 80° using an X-ray diffractometer (Rigaku: Miniflex-II-DD34863) with Cu Kα radiation (λ = 0.15418 nm) operated at 30 kV and 15 mA at a scan rate of 5° min−1. X-ray photoelectron spectroscopy (XPS) studies were carried out on a VG Microtech electron spectrometer using Mg Kα X-rays (hν = 1253.6 eV) as the primary source of radiation. The chamber pressure was maintained at 1 × 10−9 Torr. Appropriate correction for charging effect was made with the help of the C 1 s signal appearing at 284.5 eV. XPS Peak 4.1 software was used to fit the XPS peaks. The decomposition of the spectra curves into individual components was performed using a combination of Gaussian and Lorentzian functions after background subtraction by the Shirley method. The TEM images were taken using a FEI Tecnai T-20 electron microscope operating at 300 kV. Energy dispersive X-ray spectroscopy analysis was carried out using Zeiss FESEM. Solid state 13C nuclear magnetic resonance (NMR) patterns was recorded using a Bruker Avance III 400 MHz NMR machine with basic frequency of 104.22 MHz. Single pulse experiment with pulse duration of 6 ms with a relaxation delay time of 8 s was used for recording the spectra. The samples were packed in 4 mm zirconia rotors and subjected to a spinning speed of 5 kHz. NMR Chemical shifts are reported with respect to TMS as an external reference.UV-visible diffuse reflectance spectra (UV-Vis DRS) of all samples were recorded using a Jasco (model V-670) spectrophotometer equipped with an integrating sphere accessory. Barium sulfate was used as reference for the reflectance spectra.

### Photoelectrochemical study

Electrochemical studies were carried out by a PARSTAT 4000 (Princeton Applied Research, Ametek, USA) Potentiostat/Galvanostat using a conventional three-electrode system. The electrochemical characterization of prepared samples was measured by coating as prepared materials on stainless steel (SS) substrate (1 cm × 5 cm, 305 grades). The cyclic voltammetry (CV) analysis and galvanostatic charge-discharge (GCD) techniques were performed by immersing coated SS electrode in a saturated aqueous solution of 1 M KOH.

## References

1. 1.

Thomas, A. et al. Graphitic carbon nitride materials: variation of structure and morphology and their use as metal-free catalysts. J. Mater. Chem. 18, 4893–4908 (2008).

2. 2.

Wensheng, L. et al. Cover Feature: Bioinspired Mesoporous Chiral Nematic Graphitic Carbon Nitride Photocatalysts modulated by Polarized Light (Chem Sus Chem 1/2018). ChemSuSChem 11, 3–3, https://doi.org/10.1002/cssc.201702377 (2018).

3. 3.

Wang, X. et al. A metal-free polymeric photocatalyst for hydrogen production from water under visible light. Nat Mater 8, 76–80, http://www.nature.com/nmat/journal/v8/n1/suppinfo/nmat2317_S1.html (2009).

4. 4.

Zhang, G., Lan, Z.-A., Lin, L., Lin, S. & Wang, X. Overall water splitting by Pt/gC3 N4 photocatalysts without using sacrificial agents. Chem. Sci. 7, 3062–3066 (2016).

5. 5.

Cao, S. & Yu, J. g-C3N4-based photocatalysts for hydrogen generation. J. Phy. Chem. Letters 5, 2101–2107 (2014).

6. 6.

Chao, W. et al. Hydrothermally Induced Oxygen Doping of Graphitic Carbon Nitride with a Highly Ordered Architecture and Enhanced Photocatalytic Activity. ChemSuSChem 11, 700–708, https://doi.org/10.1002/cssc.201702278 (2018).

7. 7.

Che, Y. et al. Bio-inspired Z-scheme g-C3N4/Ag2CrO4 for efficient visible-light photocatalytic hydrogen generation. Sci. Rep. 8 (2018).

8. 8.

Li, J. et al. Tailoring the rate-determining step in photocatalysis via localized excess electrons for efficient and safe air cleaning. Appl. Catal., B 239, 187–195 (2018).

9. 9.

Cui, W. et al. Enhancing ROS generation and suppressing toxic intermediate production in photocatalytic NO oxidation on O/Ba co-functionalized amorphous carbon nitride. Appl. Catal., B 237, 938–946 (2018).

10. 10.

Sun, H., Cao, Y., Feng, L. & Chen, Y. Immobilizing photogenerated electrons from graphitic carbon nitride for an improved visible-light photocatalytic activity. Sci. Rep. 6, 22808 (2016).

11. 11.

Xue, J., Ma, S., Zhou, Y., Zhang, Z. & He, M. Facile photochemical synthesis of Au/Pt/g-C3N4 with plasmon-enhanced photocatalytic activity for antibiotic degradation. ACS Appl. Mat. Interfaces 7, 9630–9637 (2015).

12. 12.

Li, Q., Zhang, N., Yang, Y., Wang, G. & Ng, D. H. High efficiency photocatalysis for pollutant degradation with MoS2/C3N4 heterostructures. Langmuir 30, 8965–8972 (2014).

13. 13.

Yan, S., Li, Z. & Zou, Z. Photodegradation performance of g-C3N4 fabricated by directly heating melamine. Langmuir 25, 10397–10401 (2009).

14. 14.

He, Y., Zhang, L., Teng, B. & Fan, M. New application of Z-scheme Ag3PO4/g-C3N4 composite in converting CO2 to fuel. Environ. Sci. Technol. 49, 649–656 (2014).

15. 15.

Kuriki, R., Sekizawa, K., Ishitani, O. & Maeda, K. Visible‐Light‐Driven CO2 Reduction with Carbon Nitride: Enhancing the Activity of Ruthenium Catalysts. Angew. Chem. Int. Ed. 54, 2406–2409 (2015).

16. 16.

Wang, H. et al. Enhanced Singlet Oxygen Generation in Oxidized Graphitic Carbon Nitride for Organic Synthesis. Adv. Mat. 28, 6940–6945, https://doi.org/10.1002/adma.201601413 (2016).

17. 17.

Xi, C., Kejian, D., Peng, Z. & Zehui, Z. Metal‐ and Additive‐Free Oxidation of Sulfides into Sulfoxides by Fullerene‐Modified Carbon Nitride with Visible‐Light Illumination. Chem Su Schem 0, https://doi.org/10.1002/cssc.201800450.

18. 18.

Zhu, J., Wei, Y., Chen, W., Zhao, Z. & Thomas, A. Graphitic carbon nitride as a metal-free catalyst for NO decomposition. Chem. Comm. 46, 6965–6967 (2010).

19. 19.

Tahir, M. et al. Multifunctional g-C3N4 nanofibers: a template-free fabrication and enhanced optical, electrochemical, and photocatalyst properties. ACS Appl. Mater. Interfaces 6, 1258–1265 (2013).

20. 20.

Sicong, W., Zhenyuan, T., Chengyin, W. & Guoxiu, W. Stable and efficient nitrogen‐containing‐carbon based electrocatalysts for reactions in energy conversion systems. Chem Su Schem 0, https://doi.org/10.1002/cssc.201800509.

21. 21.

Algara-Siller, G. et al. Triazine-Based Graphitic Carbon Nitride: a Two-Dimensional Semiconductor. Angew. Chem., Int. Ed. 53, 7450–7455, https://doi.org/10.1002/anie.201402191 (2014).

22. 22.

Zhu, J. J., Xiao, P., Li, H. L. & Carabineiro, S. A. C. Graphitic Carbon Nitride: Synthesis, Properties, and Applications in Catalysis. ACS Appl. Mater. Interfaces 6, 16449–16465, https://doi.org/10.1021/am502925j (2014).

23. 23.

Cao, S. W., Low, J. X., Yu, J. G. & Jaroniec, M. Polymeric Photocatalysts Based on Graphitic Carbon Nitride. Adv. Mater. 27, 2150–2176, https://doi.org/10.1002/adma.201500033 (2015).

24. 24.

Gong, Y. T., Li, M. M., Li, H. R. & Wang, Y. Graphitic carbon nitride polymers: promising catalysts or catalyst supports for heterogeneous oxidation and hydrogenation. Green. Chem. 17, 715–736, https://doi.org/10.1039/c4gc01847h (2015).

25. 25.

Yang, Z., Zhang, Y. J. & Schnepp, Z. Soft and hard templating of graphitic carbon nitride. J. Mater. Chem., A 3, 14081–14092, https://doi.org/10.1039/c5ta02156a (2015).

26. 26.

Ong, W.-J., Tan, L.-L., Ng, Y. H., Yong, S.-T. & Chai, S.-P. Graphitic carbon nitride (g-C3N4)-based photocatalysts for artificial photosynthesis and environmental remediation: are we a step closer to achieving sustainability? Chem. Rev. 116, 7159–7329 (2016).

27. 27.

Li, J. et al. The spatially oriented charge flow and photocatalysis mechanism on internal van der Waals heterostructures enhanced g-C3N4. ACS Catal. 8, 8376–8385 (2018).

28. 28.

Guo, Y. et al. A Rapid Microwave‐Assisted Thermolysis Route to Highly Crystalline Carbon Nitrides for Efficient Hydrogen Generation. Angew. Chem., Int. Ed. 55, 14693–14697 (2016).

29. 29.

Yuan, Y.-P. et al. Microwave-assisted heating synthesis: a general and rapid strategy for large-scale production of highly crystalline gC3N4 with enhanced photocatalytic H 2 production. Green Chem. 16, 4663–4668 (2014).

30. 30.

Zhang, G. et al. Iodine Modified Carbon Nitride Semiconductors as Visible Light Photocatalysts for Hydrogen Evolution. Adv. Mater. 26, 805–809, https://doi.org/10.1002/adma.201303611 (2014).

31. 31.

Yan, S., Li, Z. & Zou, Z. Photodegradation of rhodamine B and methyl orange over boron-doped g-C3N4 under visible light irradiation. Langmuir 26, 3894–3901 (2010).

32. 32.

Lau, V. W.-h. et al. Rational design of carbon nitride photocatalysts by identification of cyanamide defects as catalytically relevant sites. 7, 12165, https://doi.org/10.1038/ncomms12165, https://www.nature.com/articles/ncomms12165#supplementary-information (2016).

33. 33.

Zhao, Z., Sun, Y. & Dong, F. Graphitic carbon nitride based nanocomposites: a review. Nanoscale 7, 15–37 (2015).

34. 34.

Ansari, S. A. & Cho, M. H. Simple and large scale construction of MoS2-gC3N4 heterostructures using mechanochemistry for high performance electrochemical supercapacitor and visible light photocatalytic applications. Sci. Rep. 7, 43055 (2017).

35. 35.

Li, J. et al. Achieving efficient incorporation of Π‐electrons into graphitic carbon nitride for markedly improved hydrogen generation. Angew. Chem. Int. Ed. 58, 1985–1989 (2019).

36. 36.

Wei, R.-B. et al. Dual-cocatalysts decorated rimous CdS spheres advancing highly-efficient visible-light photocatalytic hydrogen production. Appl. Catal., B 231, 101–107, https://doi.org/10.1016/j.apcatb.2018.03.014 (2018).

37. 37.

Zheng, Y., Liu, J., Liang, J., Jaroniec, M. & Qiao, S. Z. Graphitic carbon nitride materials: controllable synthesis and applications in fuel cells and photocatalysis. Energ. Environ. Sci. 5, 6717–6731 (2012).

38. 38.

Zhang, P., Li, H. & Wang, Y. Post-functionalization of graphitic carbon nitrides by grafting organic molecules: toward C–H bond oxidation using atmospheric oxygen. Chem. Comm. 50, 6312–6315 (2014).

39. 39.

Kumru, B., Antonietti, M. & Schmidt, B. V. Enhanced Dispersibility of Graphitic Carbon Nitride Particles in Aqueous and Organic Media via a One-Pot Grafting Approach. Langmuir 33, 9897–9906 (2017).

40. 40.

Sun, J. et al. Covalent Functionalization of Carbon Nitride Frameworks through Cross‐Coupling Reactions. Chemistry–A European Journal 24, 14921–14927 (2018).

41. 41.

Kwon, K., Sa, Y. J., Cheon, J. Y. & Joo, S. H. Ordered Mesoporous Carbon Nitrides with Graphitic Frameworks as Metal-Free, Highly Durable, Methanol-Tolerant Oxygen Reduction Catalysts in an Acidic Medium. Langmuir 28, 991–996, https://doi.org/10.1021/la204130e (2012).

42. 42.

Sergey, S. & Sebastian, Z. Sulfur doping effects on the electronic and geometric structures of graphitic carbon nitride photocatalyst: insights from first principles. J. Phy: Conden. Mat. 25, 085507 (2013).

43. 43.

Lin, S., Ye, X., Gao, X. & Huang, J. Mechanistic insight into the water photooxidation on pure and sulfur-doped gC3N4 photocatalysts from DFT calculations with dispersion corrections. J. Mole. Catal., A 406, 137–144 (2015).

44. 44.

Liu, G. et al. Unique electronic structure induced high photoreactivity of sulfur-doped graphitic C3N4. J. Am. Chem. Soc. 132, 11642–11648 (2010).

45. 45.

Kang, Y. et al. An Amorphous Carbon Nitride Photocatalyst with Greatly Extended Visible-Light-Responsive Range for Photocatalytic Hydrogen Generation. Adv. Mater. 27, 4572–4577, https://doi.org/10.1002/adma.201501939 (2015).

46. 46.

Xu, J., Wu, F., Jiang, Q. & Li, Y.-X. Mesoporous carbon nitride grafted with n-bromobutane: a high-performance heterogeneous catalyst for the solvent-free cycloaddition of CO2 to propylene carbonate. Catal. Sci. & Tech. 5, 447–454, https://doi.org/10.1039/C4CY00770K (2015).

47. 47.

Chen, P. et al. Directional electron delivery and enhanced reactants activation enable efficient photocatalytic air purification on amorphous carbon nitride co-functionalized with O/La. Appl. Catal., B. 242, 19–30 (2019).

48. 48.

Jürgens, B. et al. Melem (2,5,8-triamino-tri-s-triazine), an important intermediate during condensation of melamine rings to graphitic carbon nitride: Synthesis, structure determination by X-ray powder diffractometry, solid-state NMR, and theoretical studies. J. Am. Chem. Soc. 125, 10288–10300 (2003).

49. 49.

Oh, Y. et al. Divalent Fe atom coordination in two-dimensional microporous graphitic carbon nitride. ACS Appl. Mater. Interfaces 8, 25438–25443 (2016).

50. 50.

Cui, Y., Ding, Z., Fu, X. & Wang, X. Construction of conjugated carbon nitride nanoarchitectures in solution at low temperatures for photoredox catalysis. Angew. Chem. Int. Ed. 124, 11984–11988 (2012).

51. 51.

Yeh, T.-F., Teng, C.-Y., Chen, S.-J. & Teng, H. Nitrogen-Doped Graphene Oxide Quantum Dots as Photocatalysts for Overall Water-Splitting under Visible Light Illumination. Adv. Mater. 26, 3297–3303, https://doi.org/10.1002/adma.201305299 (2014).

52. 52.

Fan, X. et al. Construction of Graphitic C3N4-Based Intramolecular Donor–Acceptor Conjugated Copolymers for Photocatalytic Hydrogen Evolution. ACS Catalysis 5, 5008–5015, https://doi.org/10.1021/acscatal.5b01155 (2015).

53. 53.

Noh, J. et al. High-Resolution STM and XPS Studies of Thiophene Self-Assembled Monolayers on Au(111). J. Phys. Chem., B 106, 7139–7141, https://doi.org/10.1021/jp020482w (2002).

54. 54.

Ishida, T. et al. High Resolution X-ray Photoelectron Spectroscopy Measurements of Octadecanethiol Self-Assembled Monolayers on Au(111). Langmuir 14, 2092–2096, https://doi.org/10.1021/la971104z (1998).

55. 55.

Ishida, T. et al. High-Resolution X-ray Photoelectron Spectra of Organosulfur Monolayers on Au(111):  S(2p) Spectral Dependence on Molecular Species. Langmuir 15, 6799–6806, https://doi.org/10.1021/la9810307 (1999).

56. 56.

Wu, G. et al. Graphitic carbon nitride nanosheet electrode-based high-performance ionic actuator. Nat. Commun. 6, 7258, https://doi.org/10.1038/ncomms8258, http://www.nature.com/articles/ncomms8258#supplementary-information (2015).

57. 57.

Chodankar, N. R., Dubal, D. P., Gund, G. S. & Lokhande, C. D. Flexible all-solid-state MnO2 thin films based symmetric supercapacitors. Electrochim. Acta 165, 338–347, https://doi.org/10.1016/j.electacta.2015.02.246 (2015).

58. 58.

Yu, X., Kang, Y. & Park, H. S. Sulfur and phosphorus co-doping of hierarchically porous graphene aerogels for enhancing supercapacitor performance. Carbon 101, 49–56, https://doi.org/10.1016/j.carbon.2016.01.073 (2016).

59. 59.

Tahir, M. et al. Tubular graphitic-C3N4: a prospective material for energy storage and green photocatalysis. J. Mater. Chem., A 1, 13949–13955, https://doi.org/10.1039/C3TA13291A (2013).

60. 60.

Vidyasagar, D. et al. Silver/Silver (II) oxide (Ag/AgO) loaded graphitic carbon nitride microspheres: An effective visible light active photocatalyst for degradation of acidic dyes and bacterial inactivation. Appl. Catal., B 221, 339–348 (2018).

## Acknowledgements

D. Vidyasagar acknowledges director VNIT, Nagpur for research fellowship. Sachin G. Ghugal would like to thank DST-SERB National Postdoctoral Fellowship scheme, Government of India for research funding (PDF/2017/002951). S.S.U. is thankful to DST-SERB for financial assistance through project number SB/EMEQ-052/2014SERB. M.B. is thankful to UGC (BSR) start up grant for financial assistance through project number F.30-388/2017(BSR). Authors are very thankful to Dr. Abani K. Bhuyan for his valuable discussion provided during the course of this work.

## Author information

D.V. and S.G.G. designed the materials and carried out all the experiments. M.B. and S.S.U. helped to discuss the mechanism and provided guidance in the optical studies and technical screening. All authors contributed to the scientific planning, discussion, writing and reviewed the manuscript.

Correspondence to Suresh S. Umare or Murali Banavoth.

## Ethics declarations

### Competing Interests

The authors declare no competing interests.

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Vidyasagar, D., Ghugal, S.G., Umare, S.S. et al. Extended π-conjugative n-p type homostructural graphitic carbon nitride for photodegradation and charge-storage applications. Sci Rep 9, 7186 (2019). https://doi.org/10.1038/s41598-019-43312-5