Abstract:Node localization is the most critical technologies of applications in wireless sensor networks. In Dv-Hop algorithm,the localization accuracy is unsatisfactory. In this paper, the bat optimization algorithm is used to calculate the mean distance per hop,the improved BA replace least-squares method to correct the estimated position in the third stage of Dv-Hop algorithm. So the positioning error is reduced, the accuracy is significantly improved. Simulation results show that the proposed algorithm can achieve higher localization accuracy in different percentage of anchor nodes ,and different transmission range of nodes,and different nodes number.