The raw material selected for this research was Brazil chestnut shells (BCs), which were utilized to gain porous carbon as a positive electrode for lithium–sulfur batteries (LSBs). The effects of N/S co-doped on the electrochemical properties of porous carbon materials were studied using thiourea as nitrogen and sulfur sources. The experimental results indicate that the N/S co-doped carbon materials have a higher mesopore ratio than the undoped porous carbon materials. The porous carbon material NSPC-2 has a lotus-like structure with uniform pore distribution. The N and S doping contents are 2.5% and 5.4%. The prepared N/S co-doped porous carbon materials were combined with S, respectively, and three kinds of sulfur carbon composites were obtained. Among them, the composite NSPC-2/S can achieve the initial specific discharge capacity of 1018.6 mAh g− 1 at 0.2 C rate. At 1 C rate, the initial discharge capacity of the material is 730.6 mAh g− 1, and the coulomb efficiency is 98.6% and the capacity retention rate is 71.5% after 400 charge–discharge cycles.
The development of functional carbon materials using waste biomass as raw materials is one of the research hotspots of lithium-sulfur batteries in recent years. In this work, used a natural high-quality carbon source—coffee grounds, which contain more than 58% carbon and less than 1% ash. Honeycomb-like S and N dual-doped graded porous carbon (SNHPC) was successfully prepared by hydrothermal carbonization and chemical activation, and the amount of thiourea used in the activation process was investigated. The prepared SNHPC showed excellent electrochemical energy storage characteristics. For example, SNHPC-2 has a large pore volume (1.85 cm3·g− 1), a high mesoporous ratio (36.76%), and a synergistic effect (S, N interaction). As the cathode material of lithium-sulfur batteries, SNHPC-2/S (sulfur content is 71.61%) has the highest specific capacity. Its initial discharge-specific capacity at 0.2 C is 1106.7 mAh·g−1, and its discharge-specific capacity after 200 cycles is still as high as 636.5 mAh·g−1.