Porous carbons play a vital role in supercapacitor electrodes. The capacitive performance of porous carbons depends mostly on the pore structure and surface chemistry. It is highly desirable to develop robust methods to prepare porous carbons with controlled structures and compositions. Herein, a nitrogendoped carbon foam was prepared on the basis of polyacrylamide gel with K 2 CO 3 and K 2 B 4 O 7 as the activating agent and salt template, respectively. Due to the constraint effect of the cross-linked polyacrylamide network, K 2 CO 3 and K 2 B 4 O 7 can be homogeneously embedded in the polymer matrix. The subsequent carbonization results in the nitrogen-doped carbon foam (PACF) with a hierarchically porous structure and high specific surface area (∼3404.8 m 2 g −1 ). K 2 B 4 O 7 not only serves as the soluble salt template but can also reinforce the carbonaceous skeleton during carbonization. PACF yields an outstanding specific capacitance (346.9 F g −1 at 0.5 A g −1 ), good rate performance (224.4 F g −1 at 50 A g −1 ), and excellent cycle capability (retaining 97.2% of the initial capacitance after 10,000 consecutive charge−discharge cycles). This study demonstrates the potential of polyacrylamide gel as a promising carbon precursor and enriches the tool box for the preparation of porous carbons.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.