针对基于RSSI的无线传感器网络定位测距问题,在对数-常态分布模型下提出了一种混合滤波及最小二乘环境参数动态估计的测距算法。以锚节点作为参考节点,采用基于均值滤波、中值滤波和高斯滤波的混合滤波方法优化RSSI值,运用最小二乘法估计环境参数,再由盲节点与锚节点的RSSI混合滤波优化值计算二者之间的距离。仿真结果表明,混合滤波性能优于其它单一滤波方法,环境参数估计相对误差小于2.5%,空旷环境下100 m范围内测距相对误差小于10%,满足无线传感器网络定位测距要求。
A distance measurement algorithm based on hybrid filter and least squares dynamic estimation of environmental parameters is proposed for RSSI-based wireless sensor network localization in logarithmic normal distribution model. With anchor node as reference node, the RSSI value is optimized by applying hybrid filter based on mean filter,median filter and Gaussian filter. And the environmental parameters are estimated by using least squares method. Then the distance between the blind node and anchor node can be calculated by the RSSI value which is optimized by the hybrid filter. The simulation results show that the performance by using hybrid filter is superior to the performance in other methods by using single filter, the relative error of environment parameter estimation is less than 2.5% ,and the relative distance measurement error within 100 m in open environments is less than 10%. Therefore the practical requirements of wireless sensor network localization and distance measurement is satisfied in the method.