Yu Wengang, Yu ChunLing
Department of Artificial Intelligence, JiangSu Food & Pharmaceutical Science College, Huai'an, 223001, China.
Sci Rep. 2025 Jul 2;15(1):23400. doi: 10.1038/s41598-025-08336-0.
Node positioning accuracy in wireless sensor networks (WSNs) directly affects the reliability of monitoring data. As the core technology of WSNs, node positioning technology is related to its normal operation and data monitoring performance. Traditional centre-of-mass algorithms are susceptible to RSSI ranging errors and anchor node distribution due to their reliance on simple geometric calculations, resulting in large positioning errors. In addition, high-precision algorithms are often accompanied by high energy consumption, making it difficult to balance accuracy and energy efficiency. Therefore, how to improve positioning accuracy and reduce energy consumption in complex environments becomes a key challenge. To improve the positioning accuracy and extend the network application range, the study proposes a weighted centre-of-mass algorithm based on weights correction, which is optimally designed from three aspects to improve the performance. Firstly, Gaussian-constant filtering is used to denoise the Received Signal Strength Indicator (RSSI) values to reduce the interference of environmental multi-path effects. Secondly, the anchor node density and communication range are considered to correct the weight factor. Finally, the chimpanzee optimization algorithm is introduced to implement the design of the centre-of-mass node localization algorithm, and the iterative idea is used to achieve the selection of the optimal value for the unknown node position. The results show that the improved weighted Gaussian filter can reduce the ranging error of the weighted centre-of-mass algorithm, and its minimum distance error is less than 1.0 m. The improved positioning algorithm's positioning error is better than that of the traditional centre-of-mass algorithm and the weighted centre-of-mass algorithm, and its minimum average positioning error is 0.15 m and 0.14 m under different communication radii and anchor node ratios, respectively. In addition, the average positioning error and the normalized average positioning error of the improved positioning algorithm are lower than those of the RSSI-PSO algorithm, RSSI-SSA algorithm and RSSI-Trilateration algorithm for different total node numbers, with the minimum values of 0.120 m and 0.152 m, respectively. The improved positioning algorithm has a positioning accuracy of more than 90% for different node coverages, and the difference in energy consumption between the improved positioning algorithm and the other algorithms is at least 90%. The difference in energy consumption between the comparative algorithms is at least 3 img/s and 1.5 J/img, indicating good data loading performance. This approach not only expands the theoretical framework of WSN positioning technology by addressing the vulnerabilities associated with RSSI, such as its susceptibility to interference and the rigidity of weight assignments, but also enhances the precision of center-of-mass positioning. Consequently, it offers a novel strategy for achieving low-power, high-accuracy positioning solutions.
无线传感器网络(WSN)中的节点定位精度直接影响监测数据的可靠性。作为WSN的核心技术,节点定位技术关系到其正常运行和数据监测性能。传统的质心算法由于依赖简单的几何计算,容易受到接收信号强度指示(RSSI)测距误差和锚节点分布的影响,导致较大的定位误差。此外,高精度算法往往伴随着高能耗,难以平衡精度和能量效率。因此,如何在复杂环境中提高定位精度并降低能耗成为一个关键挑战。为了提高定位精度并扩展网络应用范围,该研究提出了一种基于权重校正的加权质心算法,从三个方面进行了优化设计以提高性能。首先,使用高斯常数滤波对RSSI值进行去噪,以减少环境多径效应的干扰。其次,考虑锚节点密度和通信范围来校正权重因子。最后,引入黑猩猩优化算法来实现质心节点定位算法的设计,并采用迭代思想来实现未知节点位置最优值的选择。结果表明,改进后的加权高斯滤波器可以降低加权质心算法的测距误差,其最小距离误差小于1.0米。改进后的定位算法的定位误差优于传统质心算法和加权质心算法,在不同通信半径和锚节点比例下,其最小平均定位误差分别为0.15米和0.14米。此外,对于不同的总节点数,改进后的定位算法的平均定位误差和归一化平均定位误差低于RSSI-PSO算法、RSSI-SSA算法和RSSI三边测量算法,最小值分别为0.120米和0.152米。改进后的定位算法在不同节点覆盖情况下的定位精度超过90%,改进后的定位算法与其他算法之间的能耗差异至少为90%。比较算法之间的能耗差异至少为3 img/s和1.5 J/img,表明具有良好的数据加载性能。这种方法不仅通过解决与RSSI相关的漏洞(如易受干扰和权重分配的刚性)扩展了WSN定位技术的理论框架,还提高了质心定位的精度。因此,它为实现低功耗、高精度定位解决方案提供了一种新颖的策略。