针对无线传感器网络(WSN)移动节点定位技术中的定位不精和实时性差的问题,该文提出一种局部采样、借助RGB差值序列滤波的新颜色移动定位LSF-CDL (Local Sampling and Filtering-Color Dynamic Localization)法。该算法利用收集的信号,在与移动节点能直接通信的信标节点的信号交叠区域内局部采样;引入距离比例因子,对平均跳距权值化,优化了CDL中跳距的计算公式;借助RGB差值序列对样本点滤波并将差值序列绝对值作为加权标准计算移动节点的坐标。仿真结果表明与E-CDL (Efficient-Color-theory based Dynamic Localization), MCL (Monte Carlo Localization)等经典的移动节点定位算法比较,新算法定位误差减少了33%以上,具有较好的定位效果。
In view of the localization technology for mobile nodes in Wireless Sensor Networks (WSN) being more error and worse real-time, a new algorithm called Local Sampling and Filtering-Color Dynamic Localization (LSF-CDL) which filters the samples by the RGB difference sequences is proposed in this paper. Using the collected signals, LSF-CDL adopts the overlapping signal region of beacon nodes which is able to communicate with the mobile node directly as the new local sampling area. Also the proportion factor of distance is used to weight the average hop distance which optimizes the calculation of hop distance in CDL. By comparing the RGB difference sequences, samples can be filtered out. And the absolute values of the samples’ difference sequences are used as the weighted standards to calculate the coordinates of the mobile node. The simulation results show that the proposed algorithm has good localization effect, which can obviously reduce the location error by more than 33%compared to the other classic algorithms such as Efficient Color-theory based Dynamic Localization (E-CDL) and Monte Carlo Localization (MCL).