Under the background of coal mine double carbon strategy and high-efficiency and safe production demand, the promotion of underground auxiliary transportation of pure electric trackless rubber-tyred vehicles is limited by the endurance problem caused by insufficient power battery capacity, so it is urgent to build a safe and reliable underground intelligent battery swapping system. Aiming at the strict requirements of special environment (such as gas, coal dust) in coal mine, this paper puts forward an intelligent overhead sliding rail battery swapping scheme, and quantitatively evaluates the risk of the whole process of battery swapping through LEC method, and identifies high-risk links such as explosion-proof of electrical equipment, battery disassembly and grasping, electrical connection and matching. Based on the evaluation results, an integrated safety system of intrinsically safe design, monitoring and intelligent inspection is constructed, and the optimization design including explosion-proof and pressure sensing, mechanical connection and limit, diagnosis of abnormality and fuse mechanism of electrical equipment is put forward, and the dynamic monitoring and inspection robot technology is integrated to achieve a significant reduction in risk level. This study can provide theoretical support and method reference for the safety design and engineering application of underground intelligent battery swapping systems in coal mine.