In this paper, using density functional theory, we studied the adsorption properties of four different structures of Pt-and N-doped graphene (Pt/xN-GN, x = 0,1,2,3) for SO 2 , the main decomposition product of SF 6 . In the Pt/xN-GN structure, with increasing N atom content, the adsorption distance of SO 2 decreases and the adsorption energy increases. The total density of states and the partial density of states of the system before and after gas adsorption were compared and analyzed to explore the mechanism of the interaction between SO 2 and the Pt/xNdoped graphene structure. Pt/3N-GN adsorbs SO 2 gas molecules, and orbital hybridization occurs, which is chemical adsorption. Pt/3N-GN has good adsorption performance for SO 2 gas molecules, and the adsorption energy is −2.548 eV. The gas sensor based on Pt/xN-doped graphene studied in this paper has good application prospects in the field of gas-insulated switchgear discharge decomposition component detection and fault diagnosis.