With the rapid development of information technology, wireless sensor network(WSN) gradually permeates all walks of life. However, WSN is always out of work because of too much energy consumption on certain sensor nodes. This paper presents a new protocol based on parallel charged system search(PCSS) algorithm to balance energy consumption during WSN transmission. Firstly, a novel optimization algorithm named PCSS is presented based on two communication strategies with different conditions. First experiments on 10 benchmark functions in different dimensions demonstrate that the PCSS shows an excellent ability of convergency compared to CSS and PSO and the advantage of PCSS in quickly finding optimum is more obvious with the increasing of dimension. After that, a new clustering model based on PCSS(PCSS-C) is introduced to update cluster heads dynamically according to a designed fitness function, another experimental results illustrate that the proposed protocol is superior to low-energy adaptive clustering hierarchy, LEACH-centralized, and hybrid energy-efficient distributed clustering.