A localization technique based on weighted centroid algorithm is proposed to address the problem of packet loss node localization in wireless sensor networks.After analyzing the distribution and topology of wireless sensor network nodes,the RSSI ranging model is used to improve the weighted centroid algorithm.The RSSI value is converted into the distance between the packet loss node and the surrounding nodes through the ranging model.The weighted centroid positioning algorithm is used to solve the WSN packet loss node positioning error.Three anchor nodes are used as the center of the circle,and the distance between the anchor nodes is used as the radius to construct a circle.After calculating the coordinates of the intersection points of the three circles,it calculates the average centroid position of a triangle constructed from three intersection points,which is the positioning coordinates of WSN packet loss nodes,to achieve wireless sensor network packet loss node positioning.The experimental results show that this method has good application performance,with an average forwarding rate of 98.18%and an average detection rate of 98.36%respectively.It effectively locates WSN packet loss nodes,improves the stability of the WSN network,makes WSN data transmission more reliable,and ensures the quality of WSN data transmission.
关键词
加权质心算法/无线传感网络/丢包节点/定位技术/RSSI算法/网络拓扑结构
Key words
weighted centroid algorithm/wireless sensor network/packet loss node/positioning technology/RSSI algorithm/network topology