This invention provides a method for preparing a carbon-
doped carbon nitride photocatalyst, comprising the following steps: (1)
melamine,
cyanuric acid, and 2,4,6-triaminopyrimidine are mixed in a
solvent, ultrasonically dispersed, and stirred for 12–36 h. The mixture is then washed, centrifuged, and dried. After
grinding and sieving, a
solid supramolecular precursor is obtained. (2) The
solid supramolecular precursor obtained in step (1) is placed in air, heated to 300°C–500°C, and calcined for 2–6 h to form a mixture of carbon-doped
melamine,
cyanuric acid, and their oligomers. (3) The mixture obtained in step (2) is thoroughly mixed with
molten salt, calcined at 500°C–600°C for 2–6 h, cooled, and thoroughly washed with deionized water to remove the mixed salt. The
solid residue is separated and dried to obtain the carbon-
doped carbon nitride photocatalyst. The prepared carbon-
doped carbon nitride photocatalyst is simple to synthesize, structurally stable, and exhibits excellent separation and migration efficiency of photogenerated carriers, as well as excellent photocatalytic
hydrogen peroxide production performance.