摘要:The battery charging process has nonlinear and hysteresis properties. PID (Proportion Integration Differentiation) control is a conventional control method used in the battery charging process. The control effect is determined by the PID control parameters ${K}_p$ , ${K}_i$ and ${K}_d$ . The traditional PID parameter setting method is difficult to give the appropriate parameters, which affects the battery charging efficiency. In this paper, the particle swarm optimization (PSO) is used to optimize the PID parameters. Aiming at the defects of basic PSO, such as slow convergence speed, low convergence precision and easy to be premature, a modified particle swarm optimization algorithm is proposed, and the optimized PID parameters are applied to the battery charging control system. Also, the experimental results show that the battery charging process possesses better dynamic performance and the charging efficiency of the battery has increased from 86.44% to 91.47%, and the charging temperature rise has dropped by 1°C.