通过分析无线传感器网络DV—hop算法理论可知,平均每跳距离是网络定位精度的重要因素,为此提出了一种基于DV-hop定位的误差加权改进算法。改进算法采用限定网络数据包的传输距离,对接收到的有限锚节点进行误差加权处理:在定位阶段采用改进的粒子群对定位结果进行修正处理。Matlab仿真试验表明,改进算法降低了误差对定位精度的影响,提高了定位精度。仿真也证明了该方法在实际应用过程中的可行性。
Based on the theoretical analysis of wireless sensor network DV-hop algorithm, it is found that the average distance per hop is an important factor for network positioning accuracy. An improved error-weighted algorithm based on DV-hop localization is proposed. In this improved algorithm, the transmission distance of the network data packet is limited, and the finite anchor nodes received are processed for error weighted. In positioning stage, the position result is corrected by particle swarm optimization. The test of Matlab simulation indicates that the improved algorithm reduces the influence of error to the positioning accuracy and increases the positioning accuracy, and proves the feasibility of this method in applications.