To address the problems of uneven energy consumption and uneven distribution of cluster head nodes in routing protocols in WSN,a method to find the optimal cluster heads is proposed based on particle swarm algorithm.The concepts of residual energy factor and position eq...MORE To address the problems of uneven energy consumption and uneven distribution of cluster head nodes in routing protocols in WSN,a method to find the optimal cluster heads is proposed based on particle swarm algorithm.The concepts of residual energy factor and position equalization factor are introduced to generate fitness...