The invention discloses a positioning method with error calibration function and a gateway device. When ranging, the gateway device samples the positioning signal and the calibrated RSSI band value; the gateway device calculates the correlation coefficients between RSSI of the signal to be positioned and different distance calibration labels, and determines the calibrated RSSI band value with the largest correlation coefficient with RSSI of the signal to be positioned; and the gateway device samples the selected RSSI band value. The calibrated RSSI band value and the RSSI band value of the signal to be located are clustered; the gateway equipment adjusts the error coefficient of the distance calculation formula by the clustering center value of the calibrated RSSI band value, and then calculates the distance according to the clustering center value of the RSSI band value to be located; the gateway equipment uploads the RSSI of the collected signal to the cloud server, and selects the best quality from the cloud server. Several measured RSSI signals and the location of gateway devices are used for positioning. The invention can improve the accuracy of positioning in different environments.
【技术实现步骤摘要】
一种具有误差校准功能的定位方法及网关设备
本专利技术属于定位算法领域,更具体地,涉及一种具有误差校准功能的定位方法及网关设备。
技术介绍
当前技术背景下,低功耗无线传感器网络节点的位置信息增多,位置信息数据可用于确定数据来源、跟踪移动目标及预测目标的运动方向,因此基于接收的信号强度指示(ReceivedSignalStrengthIndication,RSSI)的无线传感器的定位技术已成为研究的热点。在基于RSSI的测距中,根据发射节点的发射信号强度和接收节点的接收信号强度,可计算出传播损耗,再利用经验模型或者理论模型将损耗转换为距离。但实际环境中,室内的墙壁、地板及物品等原因引起的反射、绕射、多径效应等会对RSSI值的测量有较大干扰。具体来说:通信距离超过5m时定位误差会陡然增大;障碍物会增大RSSI测量值;单一的环境参数并不适用于室内各区域;人员走动等突发干扰会给测量带来很大干扰,测量结果偏离严重;随机干扰、噪声干扰也会给测量带来不小的误差。
技术实现思路
针对现有技术的以上缺陷或改进需求,本专利技术提供了一种具有误差校准功能的定位方法及网关设备,由此解决现有技术 ...
【技术保护点】
1.一种具有误差校准功能的定位方法,其特征在于,包括:(1)由位于目标区域的各网关设备对定标标签及待定位标签的RSSI信号按照预设采样周期进行波段值采样,其中,所述定标标签位于各所述网关设备的周围;(2)对于每个目标网关设备,由所述目标网关设备计算其采集的定标标签的RSSI信号波段值与所述待定位标签的RSSI信号波段值的相关系数,确定与所述待定位标签的RSSI信号波段值相关系数最大的目标定标标签,其中,所述目标网关设备表示接收到所述待定位标签的RSSI信号的网关设备,所述相关系数表示定标标签的RSSI信号波段值与所述待定位标签的RSSI信号波段值的相似程度;(3)分别对所述 ...
【技术特征摘要】
1.一种具有误差校准功能的定位方法,其特征在于,包括:(1)由位于目标区域的各网关设备对定标标签及待定位标签的RSSI信号按照预设采样周期进行波段值采样,其中,所述定标标签位于各所述网关设备的周围;(2)对于每个目标网关设备,由所述目标网关设备计算其采集的定标标签的RSSI信号波段值与所述待定位标签的RSSI信号波段值的相关系数,确定与所述待定位标签的RSSI信号波段值相关系数最大的目标定标标签,其中,所述目标网关设备表示接收到所述待定位标签的RSSI信号的网关设备,所述相关系数表示定标标签的RSSI信号波段值与所述待定位标签的RSSI信号波段值的相似程度;(3)分别对所述目标定标标签的RSSI信号波段值及所述待定位标签的RSSI信号波段值进行聚类计算,由所述目标定标标签的RSSI信号波段值的聚类中心值及所述待定位标签的RSSI信号波段值的聚类中心值得到所述待定位标签与所述目标网关设备的距离;(4)各目标网关设备分别将各自计算出的所述待定位标签与各自的距离向云服务端上传,以由所述云服务端根据前若干个距离值最小的目标网关设备的坐标值及其上传的距离值得到所述待定位标签的坐标。2.根据权利要求1所述的方法,其特征在于,步骤(3)包括:(3.1)对所述目标定标标签的RSSI信号波段值进行聚类计算,得到所述目标定标标签的RSSI信号波段值的第一聚类中心值,根据所述第一聚类中心值调整所述目标定标标签与所述目标网关设备的距离公式中的误差系数得到目标距离公式;(3.2)所述目标网关设备对所述待定位标签的RSS...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。