The invention discloses a preparation process of
porous carbon nanospheres, and the preparation process comprises the following steps: s1, preparing a ZnCl2 solution; s2, adding 2, 6-diaminopyridine into the ZnCl2 solution, and stirring until the 2, 6-diaminopyridine is completely dissolved; s3, adding
formaldehyde into the solution prepared in the step S2 until the reaction is complete so as to obtain a solution A; s4, carrying out centrifugal treatment on the solution A, and
drying a centrifugal precipitate to obtain polytriazine; s5, calcining the polytriazine to obtain a carbonized productB; and s6, washing and
drying the carbonized product B to obtain the
porous carbon nanospheres; wherein the concentration of the ZnCl2 solution is more than 0.5 mg / mL and less than 4mg / mL. Accordingto the invention, the ZnCl2 solution with a relatively low concentration, the 2, 6-diaminopyridine and
formaldehyde are polymerized to form polytriazine nanospheres as a carbon precursor, ZnCl2-containing polytriazine is carbonized,
carbonization and foaming processes are carried out at the same time, the polytriazine is converted into
porous carbon nanospheres C-PFZ, the surface of the formed C-PFZ is free of collapse and good in overall morphology, and meanwhile, the formed C-PFZ shows excellent electrochemical performance as an EDLC
electrode.