Centroid localization algorithm is a classical range-free location algorithm .The paper analyzes and simulates the main parameters affecting positioning performance of centroid localization algorithm ,which include the number of an-chors ,the node communication radius and the total number of nodes .Through the analysis of simulation results ,in a wireless sensor network area of 100m * 100m ,the optimal node communication radius can make the node positioning rate above 95% and the node positioning error smaller ,when the number of the anchor node is 10% of total number of nodes .%质心定位算法是无线传感器网络中一种经典的无需测距的定位算法。系统分析了锚节点个数、节点通信半径以及网络中节点总数对该算法定位性能的影响,并进行了仿真。通过对仿真结果的分析,在100m ×100m的无线传感器网络区域内,当锚节点个数为总节点个数的10%时,针对不同的总节点个数,存在最优的节点通信半径,可以使节点定位率达到95%以上,同时具有较小的节点定位误差。
展开▼