In this paper,the problem of electrostatic discharge immunity caused by electronic equipment is studied. Based on the analysis of the holes in the electronic equipment structure,the shielding model of the slotted casing and the shielded grounding model of the slotted casing are established by using Matlab/Simulink. The simulation design of the model is put forward. The results of the two electrostatic discharge protection rectification cases show that the proposed scheme greatly improves the electrostatic discharge immunity level of electronic equipment. The research results have certain engineering application value for electrostatic discharge protection of electronic equipment.