Abstract:As one of the key technologies of wireless sensor networks (WSNs), clustering routing protocol has gradually become a research hotspot of WSNs routing protocol due to its advantages of strong scalability and low energy consumption. How to select the optimal cluster head is the key to improve the performance of cluster routing protocol. In this study, by revealing the mapping relationship among cluster head number and the network energy consumption in different scenarios, with the goal of minimizing energy consumption, the calculation theory of optimal number of cluster heads is constructed. The conditions of using multi-hop strategy among clusters are discussed for different scale networks; the concept of virtual cluster head and its three virtual force models is proposed. Three virtual force models between virtual cluster head and boundaries, node and other virtual cluster heads are constructed, and the optimal distance thresholds for different virtual forces and the differences are discussed. In order to realize the minimization and equalization of network energy consumption, the fitness function of residual energy and distance factor is set up to form an energy efficient routing protocol based on virtual force. The experimental results show that in networks of various scales, compared with the fitness-value based improved gray wolf optimizer, the improved low-energy adaptive clustering hierarchy protocol and the modified distributed energy efficient clustering algorithm, the algorithm proposed in this studymakes the cluster head more uniform, the node energy consumption lower and more balanced, and the network life is effectively extended.