CN107091642A - A kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction - Google Patents

A kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction Download PDF

Info

Publication number
CN107091642A
CN107091642A CN201710339132.0A CN201710339132A CN107091642A CN 107091642 A CN107091642 A CN 107091642A CN 201710339132 A CN201710339132 A CN 201710339132A CN 107091642 A CN107091642 A CN 107091642A
Authority
CN
China
Prior art keywords
anchor node
indoor
point
anchor
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710339132.0A
Other languages
Chinese (zh)
Other versions
CN107091642B (en
Inventor
徐平平
刘俊
胡巨涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN201710339132.0A priority Critical patent/CN107091642B/en
Publication of CN107091642A publication Critical patent/CN107091642A/en
Application granted granted Critical
Publication of CN107091642B publication Critical patent/CN107091642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本发明公开了一种基于异平面锚节点映射及栅格化纠偏的室内定位方法,包括以下三个步骤:(a)建立异平面测试模型;(b)投影平面的降维处理;(c)同平面的精度调整纠偏。主要针对室内多障碍物情况下的定位不准确和路径规划问题,提出一种将障碍物投影映射到同一平面进行降维处理,并进行平面地图栅格化的纠偏模式的室内定位方法,本发明所述的方法简化现有非视距的距离侧测量和定位投入的大量通信开销问题和提高需要定位的移动物体在多障碍物环境下的定位精准度和提高路径规划的可靠性。

The invention discloses an indoor positioning method based on different-plane anchor node mapping and grid deviation correction, which includes the following three steps: (a) establishing a different-plane test model; (b) dimensionality reduction processing of the projection plane; (c) Same plane precision adjustment for skew correction. Mainly aiming at the problem of inaccurate positioning and path planning in the case of indoor multiple obstacles, an indoor positioning method is proposed, which maps the obstacle projection onto the same plane for dimensionality reduction processing, and performs a deviation correction mode for planar map rasterization. The present invention The method simplifies the existing non-line-of-sight measurement and positioning of a large amount of communication overhead, improves the positioning accuracy of a mobile object that needs to be positioned in a multi-obstacle environment, and improves the reliability of path planning.

Description

一种基于异平面锚节点映射及栅格化纠偏的室内定位方法An Indoor Positioning Method Based on Out-of-Plane Anchor Node Mapping and Rasterization Correction

技术领域technical field

本发明属于一种室内环境下减少定位误差的定位技术,尤其涉及一种基于异平面锚节点映射及栅格化纠偏的室内定位方法。The invention belongs to a positioning technology for reducing positioning errors in an indoor environment, in particular to an indoor positioning method based on different-plane anchor node mapping and grid deviation correction.

背景技术Background technique

随着生活水平的提高和科技水平的进步,很多智能家居产品不断的进入到我们的生活中,给我们带来的很大便利,也极大的提高了我们的生活质量。服务型机器人是应社会和人们对高品质轻松生活的追求而生的产物,在中国乃至世界各国,家庭服务机器人有着庞大的客户群体和市场,已经成为机器人行业发展的一个重要发展趋势,也是我国机器人发展的一个重点方向。With the improvement of living standards and the advancement of science and technology, many smart home products continue to enter our lives, bringing us great convenience and greatly improving our quality of life. Service robots are products that are born in response to the society and people's pursuit of high-quality and easy life. In China and even countries around the world, home service robots have a huge customer base and market, and have become an important development trend in the development of the robot industry. A key direction of robot development.

在服务型智能机器人的发展过程中,一般机器人或者其他智能家庭服务移动性的产品主要应用于室内,因此定位和路径规划技术直接影响着服务的智能和高效,对于室内的定位技术,现有的技术有七种定位技术,分别是红外线定位技术、超声波室内定位技术、射频识别(RFID)室内定位技术、蓝牙室内定位技术、Wi-Fi室内定位技术、ZigBee室内定位技术和超宽带室内定位技术。在机器人和其他智能产品的室内移动定位方面,主要解决的是所处位置信息和到目的地路径规划。在室内情况下,由于存在建筑物的遮挡及多径传播效应,定位效果并不理想,因此,室内定位也处于研究定位的热点问题。现有的室内定位采用的定位主要分两种:基于测距(Ranged-based)的室内定位和基于非测距(Range-free)的室内定位。前者需要知晓信标节点之间的距离或角度信息,后者主要依靠节点之间的相邻关系与连通性。基于测距的室内定位方式和算法根据测量到的节点之间的距离或角度信息来求取位置节点的位置,主要有基于TOA、基于到达时间差(Time Difference of Arrival,TDOA)、基于到达角(Angle of Arrival,AOA)以及基于RSSI值等定位算法。常用的测距算法模型有以下几种:三边测量法、三角测量法、极大似然估计法。基于非测距的定位算法无需利用节点之间的坐标、距离和角度等信息,一般利用网络连通度即可初步定位,实现了室内定位的低成本,但定位误差和测距算法相比通常较大。常用的非测距定位算法有:质心算法、DV-Hop(Distance Vector Routing,DV)、凸规划算法、基于指纹的RSSI算法、近似三角形内点测量法算法(Approximately Point-In-Triangulation,APIT)。During the development of service-oriented intelligent robots, general robots or other smart home service mobility products are mainly used indoors, so positioning and path planning technologies directly affect the intelligence and efficiency of services. For indoor positioning technologies, the existing There are seven positioning technologies, namely infrared positioning technology, ultrasonic indoor positioning technology, radio frequency identification (RFID) indoor positioning technology, Bluetooth indoor positioning technology, Wi-Fi indoor positioning technology, ZigBee indoor positioning technology and ultra-wideband indoor positioning technology. In terms of indoor mobile positioning of robots and other smart products, the main solution is location information and path planning to the destination. In the indoor situation, due to the occlusion of buildings and multipath propagation effects, the positioning effect is not ideal. Therefore, indoor positioning is also a hot issue in research and positioning. There are mainly two types of positioning used in existing indoor positioning: ranged-based indoor positioning and range-free indoor positioning. The former needs to know the distance or angle information between beacon nodes, while the latter mainly relies on the adjacency and connectivity between nodes. The ranging-based indoor positioning method and algorithm calculate the position of the location node according to the measured distance or angle information between nodes, mainly based on TOA, based on time difference of arrival (Time Difference of Arrival, TDOA), based on angle of arrival ( Angle of Arrival, AOA) and positioning algorithms based on RSSI values. The commonly used ranging algorithm models are as follows: trilateration, triangulation, and maximum likelihood estimation. The positioning algorithm based on non-ranging does not need to use information such as coordinates, distances, and angles between nodes, and generally uses the network connectivity to perform preliminary positioning, which realizes low-cost indoor positioning, but the positioning error is usually lower than that of ranging algorithms. big. Commonly used non-ranging positioning algorithms include: centroid algorithm, DV-Hop (Distance Vector Routing, DV), convex programming algorithm, fingerprint-based RSSI algorithm, approximate triangle interior point measurement algorithm (Approximately Point-In-Triangulation, APIT) .

现有的定位研究的工作环境和家庭服务机器人的实际工作环境存在一定的差别,没有考虑到家庭服务机器人工作环境的特殊性,受到家庭中大量墙壁、房门和软装的影响,定位出的位置信息往往与实际存在一定的偏差,信号在传播过程中也受到多次衍射、吸收、多径等因素影响。这些因素的存在,造成家庭机器人不能准确获取自己的位置信息和目标点的位置信息,从而影响到家庭服务机器人能否跨多个子工作区域连续服务。这就需要针对家庭环境的特殊性提出更适合家庭服务机器人的定位方法。There is a certain difference between the working environment of the existing positioning research and the actual working environment of the home service robot. The particularity of the working environment of the home service robot is not considered. Due to the influence of a large number of walls, doors and soft decorations in the home, the positioning There is often a certain deviation between the location information and the actual situation, and the signal is also affected by factors such as multiple diffraction, absorption, and multipath during the propagation process. The existence of these factors causes the home robot to be unable to accurately obtain its own location information and the location information of the target point, thereby affecting whether the home service robot can continuously serve across multiple sub-working areas. This requires a more suitable positioning method for home service robots based on the particularity of the home environment.

发明内容Contents of the invention

发明目的:针对上述现有家庭服务机器人在大量墙壁、房门干涉下移动定位精准度问题和室内定位采用基于距离测量带来高精度定位所需的通信开销大、成本高等问题,本发明提出一种基于异平面锚节点映射及栅格化纠偏的室内定位方法,该方法适合家居环境下机器人的定位信息再次计算和提高在室内NLOS环境下三边定位算法的精准度。Purpose of the invention: Aiming at the problem of the above-mentioned mobile positioning accuracy of the existing home service robot under the interference of a large number of walls and doors, and the indoor positioning using distance measurement based on the high communication overhead and high cost required for high-precision positioning, the present invention proposes a An indoor positioning method based on different plane anchor node mapping and grid deviation correction, which is suitable for recalculating the positioning information of the robot in the home environment and improving the accuracy of the trilateration positioning algorithm in the indoor NLOS environment.

技术方案:本发明所述的一种基于异平面锚节点映射及栅格化纠偏的室内定位方法,包括以下三个步骤:Technical solution: An indoor positioning method based on different-plane anchor node mapping and grid deviation correction described in the present invention includes the following three steps:

(a)建立异平面测试模型;(a) Establish a different plane test model;

(b)投影平面的降维处理;(b) Dimensionality reduction processing of the projected plane;

(c)同平面的精度调整纠偏并获得待定位点的坐标。(c) Correct the deviation with the accuracy of the same plane and obtain the coordinates of the point to be positioned.

其中,所述步骤(a)所述的建立异平面测试模型包括环境地图栅格化和室内锚节点位置布置:所述的环境地图栅格化是将室内障碍物体垂直投影到同平面上得到室内平面地图,然后对障碍物所映射到室内平面地图上位置大小进行膨胀处理,接着将所述室内平面地图均匀栅格化得到栅格地图,将所述栅格地图根据障碍物的映射划分为障碍区域、自由区域和动态区域,然后将所述的栅格地图进行依次按顺序编号;所述的室内锚节点布置是将iBeacon信标节点设置在房顶顶部,然后分别测定定位点所处的位置距离各个锚节点的直线距离和各个iBeacon信标节点的垂直高度,并两次以上测采集定位点与iBeacon不同距离时的RSSI值,通过Matlab拟合出RSSI与定位点与锚节点的距离曲线,建立模拟合适家庭环境的室内衰减模型,获取RSSI和定位点与锚节点的距离关系。Wherein, the establishment of the different-plane test model in the step (a) includes the rasterization of the environment map and the location arrangement of indoor anchor nodes: the rasterization of the environment map is to vertically project the indoor obstacles onto the same plane to obtain the indoor Plane map, and then perform expansion processing on the size of the obstacle mapped to the indoor planar map, and then uniformly rasterize the indoor planar map to obtain a grid map, and divide the grid map into obstacles according to the mapping of obstacles area, free area and dynamic area, and then the grid map is numbered sequentially; the indoor anchor node layout is to set the iBeacon beacon node on the top of the roof, and then measure the position of the anchor point respectively The linear distance from each anchor node and the vertical height of each iBeacon beacon node, and the RSSI value at different distances between the positioning point and iBeacon were measured and collected more than twice, and the RSSI and the distance curve between the positioning point and the anchor node were fitted by Matlab. Establish an indoor attenuation model that simulates a suitable home environment, and obtain the RSSI and the distance relationship between the anchor point and the anchor node.

所述的障碍区域为固定物体,包括室内墙壁和静态放置物体;所述的自由区域为无障碍区域;所述的动态区域包括房门和可移动物品投影的位置区域。The obstacle area is a fixed object, including indoor walls and static objects; the free area is an obstacle-free area; the dynamic area includes a door and a projected location area of movable objects.

所述的步骤(b)投影平面的降维处理是通过室内衰减模型,将获取的定位点与锚节点的RSSI值转换成距离信息,同时通过勾股定理将此距离投影到二维平面,获得定位点距离锚节点的水平直线距离;然后通过测距算法和距离信息D_actual,获得待定位点的估计位置。In the step (b) dimension reduction of the projected plane, the indoor attenuation model is used to convert the obtained RSSI value of the anchor point and the anchor node into distance information, and at the same time, the distance is projected to a two-dimensional plane through the Pythagorean theorem to obtain The horizontal straight-line distance between the positioning point and the anchor node; then through the ranging algorithm and distance information D_actual, the estimated position of the point to be positioned is obtained.

所述的步骤(c)同平面的精度调整纠偏是根据步骤(b)得出的估计位置计算出待定位点到各个锚节点的位置信息及D_virtual,然后根据D_actual和D_virtual的距离信息建立虚拟锚节点的位置信息;如果由待定位的估计位置与各个锚节点的距离D_virtual小于由RSSI测得的D_actual的值,则根据差值信息将节点向后纠偏,如果由待定位的估计位置与各个锚节点的距离D_virtual大于由RSSI测得的D_actual的值,则将节点向前纠偏;如果待定位点的估计位置与各个锚节点的距离D_virtual等于由RSSI测得的D_actual的值,则节点不用进行纠偏;然后根据虚拟锚节点的位置信息及D_actual的值,再次进行测距算法,判断待定点是否处于有效的栅格区域,达到精度要求。如果是,则显示位置信息和所处栅格区域编号。如果不是,则重新进行上述的纠偏方法。最后显示信息位置和栅格区域编号。The step (c) is to adjust the deviation and rectify the accuracy of the same plane according to the estimated position obtained in step (b) to calculate the position information and D_virtual from the point to be located to each anchor node, and then establish a virtual anchor according to the distance information of D_actual and D_virtual The position information of the node; if the distance D_virtual between the estimated position to be located and each anchor node is less than the value of D_actual measured by RSSI, the node will be corrected backward according to the difference information, if the estimated position to be located and each anchor node If the distance D_virtual of the node is greater than the value of D_actual measured by RSSI, the node will be corrected forward; if the distance D_virtual between the estimated position of the point to be located and each anchor node is equal to the value of D_actual measured by RSSI, the node does not need to correct the deviation ; Then, according to the position information of the virtual anchor node and the value of D_actual, the ranging algorithm is performed again to judge whether the point to be fixed is in a valid grid area and meet the accuracy requirement. If yes, display the location information and the number of the grid area where it is located. If not, repeat the above-mentioned deviation correction method. Finally the information position and grid area number are displayed.

有益效果:本发明与现有技术相比,其显著优点在于提本发明适用于室内机器人和需要定位产品的定位和路径规划,通过异平面到同平面的降维处理,能够很好的避开障碍物和提高定位的精准度和精确路径规划,简化算法过程,为机器人提供精准的定位和使路径规划更加可靠有效。Beneficial effects: Compared with the prior art, the present invention has the remarkable advantage that the present invention is suitable for positioning and path planning of indoor robots and products requiring positioning, and can well avoid Obstacles and improve positioning accuracy and precise path planning, simplify the algorithm process, provide precise positioning for robots and make path planning more reliable and effective.

附图说明Description of drawings

图1是本发明的总体步骤流程图;Fig. 1 is the overall step flowchart of the present invention;

图2是本发明建立异平面测试模型的流程图;Fig. 2 is the flow chart that the present invention sets up different plane test model;

图3是本发明室内平面地图栅格化示意图;Fig. 3 is a schematic diagram of the rasterization of the indoor plane map of the present invention;

图4是本发明的室内锚节点布局及距离测定示意图;Fig. 4 is a schematic diagram of indoor anchor node layout and distance measurement of the present invention;

图5是本发明的iBeacon布局在地面,测点步长分别为1m和0.5m时的效果图;Fig. 5 is the effect diagram when the iBeacon layout of the present invention is on the ground, and the measuring point step length is 1m and 0.5m respectively;

图6是本发明所述步骤(a)中iBeacon布局在屋顶,测点步长分别为1m和0.5m时的效果图;Fig. 6 is the effect diagram when iBeacon layout is on the roof in step (a) of the present invention, and the measuring point step length is respectively 1m and 0.5m;

图7是本发明的iBeacon布局在地面和屋顶效果对比图;Fig. 7 is a comparison diagram of the iBeacon layout of the present invention on the ground and the roof;

图8是本发明的投影平面的处理计算流程图;Fig. 8 is a flow chart of the processing calculation of the projection plane of the present invention;

图9是本发明锚节点投影高度及距离待测定位点的距离测定示意图;Fig. 9 is a schematic diagram of the distance measurement of the projected height of the anchor node and the distance from the location to be measured in the present invention;

图10是本发明同平面精度调整纠偏方法流程图;Fig. 10 is a flow chart of the same-plane precision adjustment and correction method of the present invention;

图11是本发明同平面精度调整纠偏中待定位点的虚拟节点距离小于RSSI测得的D_actual的纠偏方法示意图;Fig. 11 is a schematic diagram of the deviation correction method in which the virtual node distance of the point to be located is less than the D_actual measured by RSSI in the same plane precision adjustment deviation correction of the present invention;

图12是本发明同平面精度调整纠偏中待定位点的虚拟节点距离大于RSSI测得的D_actual的纠偏方法示意图。Fig. 12 is a schematic diagram of the deviation correction method in which the virtual node distance of the point to be located is greater than D_actual measured by RSSI in the same-plane precision adjustment deviation correction of the present invention.

具体实施方式detailed description

为了详细的说明本发明公开的技术方案,下面结合说明书附图和具体实施例作进一步的阐述。In order to describe the technical solution disclosed in the present invention in detail, further elaboration will be made below in conjunction with the accompanying drawings and specific embodiments.

如图1所示,一种基于异平面锚节点映射及栅格化纠偏的室内定位方法包括以下三个步骤:As shown in Figure 1, an indoor positioning method based on different plane anchor node mapping and rasterization correction includes the following three steps:

(a)建立异平面测试模型;(a) Establish a different plane test model;

(b)将异平面映射得到的投影平面的降维处理;(b) Dimensionality reduction processing of the projection plane obtained by mapping different planes;

(c)对同平面的精度调整纠偏。(c) Adjust the deviation correction for the accuracy of the same plane.

如图2所示,在步骤(a)建立异平面测试模型中,首先是异平面经过投影到平面上,得到室内平面地图,然后均匀栅格化室内平面地图,接着布置室内的锚节点,优选采用iBeacon作为信标节点,采集待定位点的电场信号强度,转化成距离信息,最后建立异平面测试模型。优选的,将家庭服务机器人的室内工作环境转换为栅格地图,只考虑工作环境中的墙壁、隔断等静态障碍物,并对障碍物进行膨胀处理。每个栅格的状态分为三种情况:自由区域、障碍物区域、动态区域。其中动态区域为连接各子工作区域的重要区域,如房门所在的区域。通过将家居平面图进行栅格化并对区域进行编号,可以有效获取位置信息,其获得栅格编号并建立投影平面的坐标系,如图3所示,其中表示障碍物区域,表示自由区域,表示动态区域。动态区域的连通性具有不确定性,如房门所在的区域。然后是将iBeacon位置布设在房屋顶部,这里优选采用iBeacon作为锚节点和虚拟基站,如图4所示,在家庭服务机器人所工作的室内房顶同水平面上布置锚节点B1、B2、B3,并将锚节点B1、B2、B3垂直投影到栅格地图所处的同平面上,得到投影点B1’、B2’、B3’,锚节点B1、B2、B3到锚节点投影点B1’、B2’、B3’的垂直高度h,分别采集距离iBeacon不同距离时的RSSI值,根据RSSI定位算法计算锚节点到待定位点P之间的直线距离D1、D2、D3,通过Matlab拟合出RSSI与距离的曲线,模拟出适合家庭环境下的室内衰减模型,获取RSSI和距离D的关系。如图5所示,将锚节布局在室内地面同水平位置上,测点步长分别为1m和0.5m时通过Matlab拟合出RSSI出距离iBeacon的距离和测得的RSSI信号值的效果图。如图6所示,将锚节布局在室内房顶同水平位置上,测点步长分别为1m和0.5m时通过Matlab拟合出RSSI出距离iBeacon的距离和测得的RSSI信号值的效果图。As shown in Figure 2, in step (a) to establish a different-plane test model, firstly, the different planes are projected onto the plane to obtain the indoor planar map, and then the indoor planar map is uniformly gridded, and then the indoor anchor nodes are arranged, preferably Using iBeacon as the beacon node, the electric field signal strength of the point to be located is collected, converted into distance information, and finally a different plane test model is established. Preferably, the indoor working environment of the home service robot is converted into a grid map, only static obstacles such as walls and partitions in the working environment are considered, and the obstacles are expanded. The state of each grid is divided into three situations: free area, obstacle area, and dynamic area. Among them, the dynamic area is an important area connecting each sub-working area, such as the area where the door is located. By rasterizing the floor plan of the home and numbering the area, the position information can be effectively obtained, which obtains the grid number and establishes the coordinate system of the projection plane, as shown in Figure 3, where Indicates the obstacle area, represents a free area, Indicates a dynamic region. The connectivity of dynamic regions is uncertain, such as the region where the door is located. Then place the iBeacon on the top of the house. Here, iBeacon is preferably used as the anchor node and virtual base station. As shown in Figure 4, the anchor nodes B1, B2, and B3 are arranged on the same level as the indoor roof where the home service robot works, and Vertically project the anchor nodes B1, B2, B3 onto the same plane where the grid map is located to obtain the projection points B1', B2', B3', and the anchor nodes B1, B2, B3 to the anchor node projection points B1', B2' , the vertical height h of B3', collect the RSSI values at different distances from iBeacon, calculate the straight-line distances D1, D2, and D3 between the anchor node and the point P to be located according to the RSSI positioning algorithm, and use Matlab to fit the RSSI and distance The curve is used to simulate the indoor attenuation model suitable for the home environment, and obtain the relationship between RSSI and distance D. As shown in Figure 5, the anchor joints are arranged at the same horizontal position on the indoor ground, and when the measuring point step length is 1m and 0.5m respectively, the effect diagram of the distance from the RSSI to the iBeacon and the measured RSSI signal value is fitted by Matlab . As shown in Figure 6, the anchor joints are arranged at the same horizontal position as the indoor roof, and when the measuring point step length is 1m and 0.5m respectively, the effect of the distance from the RSSI to the iBeacon and the measured RSSI signal value is fitted by Matlab picture.

如图7所示,将锚节点布置在地面和房顶上效果对比图,由图可知,优选采用iBeacon布置在房顶的方法。As shown in Figure 7, the comparison diagram of the effect of placing anchor nodes on the ground and on the roof, it can be seen from the figure that the method of placing iBeacon on the roof is preferred.

如图8所示,步骤(b)将异平面映射得到的投影平面的降维处理中,第一步是锚节点垂直投影到地面上,第二步是通过异面测试模型,获得待定位点P此时RSSI对应的距离D,第三步是距离D通过垂直投影的方式获得实际距离D_actual,第四步是通过测距算法,获取待定位点P的位置信息。在所述步骤(b)中,如图9所示进行测定距离,在室内布置锚节点B1、B2和B3,并将锚节点B1、B2和B3分别投影到地面上得到投影点B1’、B2’、B3’,通过建立的异平面测试模型和RSSI信号值的距离转化,得到的锚节点到待定位点P的距离D1、D2和D3,然后将距离D1、D2和D3分别投影到栅格地图上,图9中,h表示锚节点iBeacon距离投影平面的高度,分别通过距离D1、D2和D3投影到同平面得到D1’、D2’和D3’,根据三边定位算法计算D_actual1、D_actual2和D_actual3的距离值。具体算法如下:As shown in Figure 8, in the dimensionality reduction process of the projection plane obtained by mapping different planes in step (b), the first step is to project the anchor nodes vertically onto the ground, and the second step is to obtain the points to be positioned by testing the model on different planes At this time, the distance D corresponding to the RSSI of P, the third step is to obtain the actual distance D_actual from the distance D through vertical projection, and the fourth step is to obtain the position information of the point P to be located through the ranging algorithm. In the step (b), the distance is measured as shown in Figure 9, the anchor nodes B1, B2 and B3 are arranged indoors, and the anchor nodes B1, B2 and B3 are respectively projected onto the ground to obtain projection points B1', B2 ', B3', the distances D1, D2, and D3 from the anchor node to the point P to be located are obtained through the distance conversion of the established different-plane test model and the RSSI signal value, and then the distances D1, D2, and D3 are respectively projected to the grid On the map, in Figure 9, h represents the height of the anchor node iBeacon from the projection plane, and the distances D1, D2, and D3 are projected onto the same plane to obtain D1', D2', and D3', and D_actual1, D_actual2, and The distance value of D_actual3. The specific algorithm is as follows:

其中:高度h就是屋顶到待测点的垂直高度,D_actuaL为计算得到的待定位点P距离锚节点的投影点直线距离,D为待定位点P的RSSI值转化距离,h为锚节点距离投影平面的高度。Among them: the height h is the vertical height from the roof to the point to be measured, D_actuaL is the calculated straight-line distance from the projected point P to the anchor node, D is the RSSI value conversion distance of the point P to be positioned, and h is the anchor node distance projection The height of the plane.

其中(xi,yi)为锚节点的位置信息,(x,y)为定位点的位置信息。Wherein ( xi , y i ) is the location information of the anchor node, and (x, y) is the location information of the anchor point.

如图10所示,所述步骤(c)的同平面精度调整纠偏是在通过测距算法计算出的定位点信息不理想的情况下,对定位点信息进行三次的计算的方法。首先根据待定位点位置和实际位置是否落在同一个栅格区域内进行判断定位点是否理想,若处于同一栅格区域则停止计算,并显示此时的定位信息及栅格区域。具体实现如下:As shown in FIG. 10 , in the step (c) of adjusting and rectifying the in-plane accuracy, the positioning point information is calculated three times when the positioning point information calculated by the ranging algorithm is not ideal. First, judge whether the positioning point is ideal according to whether the position of the positioning point and the actual position fall in the same grid area. If it is in the same grid area, stop the calculation and display the positioning information and grid area at this time. The specific implementation is as follows:

根据定位结果计算得到定位点到各个锚节点的距离D_virtual。并根据D_virtual和D_actual的距离信息,建立虚拟锚节点的位置信息。如果由定位估计位置与各个锚节点的距离D_virtual小于由RSSI测得的D_actual的值,则根据差值信息将节点向后纠偏。否则,则将节点向前纠偏。根据虚拟锚节点的位置信息及D_actual的值,再次进行测距算法,判断待定位点P是否处于有效的栅格区域,达到精度要求。如果是,则显示位置信息和所处栅格区域编号。如果不是,则继续进行纠偏。Calculate the distance D_virtual from the positioning point to each anchor node according to the positioning result. And according to the distance information of D_virtual and D_actual, the position information of the virtual anchor node is established. If the distance D_virtual between the estimated location and each anchor node is smaller than the value of D_actual measured by RSSI, the node will be corrected backward according to the difference information. Otherwise, the node is skewed forward. According to the position information of the virtual anchor node and the value of D_actual, the ranging algorithm is performed again to judge whether the point P to be located is in a valid grid area, and the accuracy requirement is met. If yes, display the location information and the number of the grid area where it is located. If not, continue with deskewing.

在通过锚节点信息位置、待定位点P的信息位置和两点之间的距离公式算出此时的D_virtual的距离。并根据D_virtual和D_actual的距离大小,推算出虚拟锚节点的位置信息。如果由待定位点P估计位置与各个锚节点的距离D_virtual的值比经由RSSI测得的D_actual的值小,则实现如图11所示。虚拟基站的计算方式如下所示:Calculate the distance of D_virtual at this time through the information position of the anchor node, the information position of the point P to be located and the distance formula between the two points. And according to the distance between D_virtual and D_actual, the position information of the virtual anchor node is calculated. If the value of the distance D_virtual between the estimated position of the point P to be located and each anchor node is smaller than the value of D_actual measured via RSSI, the realization is as shown in FIG. 11 . The virtual base station is calculated as follows:

and

否则,如果由待定位点P估计位置与各个锚节点的距离D_virtual的值比经由RSSI测得的D_actual的值大,则实现如图12所示,虚拟基站的计算方式如下所示:Otherwise, if the value of the distance D_virtual between the estimated position of the point P to be located and each anchor node is greater than the value of D_actual measured via RSSI, then the realization is shown in Figure 12, and the calculation method of the virtual base station is as follows:

and

其中,(x’,y’)为虚拟锚节点的位置信息,(x,y)为初步计算出的定位信息,(xi,yi)为最初锚节点的信息。Among them, (x', y') is the location information of the virtual anchor node, (x, y) is the initially calculated positioning information, and ( xi , y i ) is the information of the initial anchor node.

D_virtual的获得就是将计算出的定位点P的初略位置(x,y),分别与锚节点B1(x1,y1),B2(x2,y2),B3(x3,y3)做两点间直线公式获得,D_virtual1,D_virtual2,D_virtual3,D_virtual是在纠偏的时候用到的,决定纠偏是向内还是向外的。The acquisition of D_virtual is to make a straight line between the calculated initial position (x, y) of the anchor point P and the anchor nodes B1 (x1, y1), B2 (x2, y2), B3 (x3, y3) respectively. Obtained by the formula, D_virtual1, D_virtual2, D_virtual3, and D_virtual are used during deviation correction to determine whether the deviation correction is inward or outward.

通过上步骤获取的虚拟节点的位置信息,再次计算定位节点的位置信息。得到对初步定位估计的修正结果。同样的过程可以反复进行,根据栅格位置和对定位精度的要求决定迭代的次数。通过不断的迭代,抵消由RSSI的测量不精确造成的非视距、多径等造成的误差,从而达到提高定位准确度的目的。最后显示信息位置和栅格区域编号,获得带定位点的精准定位。Based on the position information of the virtual node obtained in the previous step, the position information of the positioning node is calculated again. A revised result of the preliminary position estimate is obtained. The same process can be repeated, and the number of iterations is determined according to the grid position and the requirements for positioning accuracy. Through continuous iteration, errors caused by non-line-of-sight and multipath caused by inaccurate RSSI measurement are offset, so as to achieve the purpose of improving positioning accuracy. Finally, the information position and grid area number are displayed to obtain precise positioning with anchor points.

Claims (7)

1. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction, it is characterised in that:Described side Method includes three below step:
(a) different plane test model is set up;
(b) dimension-reduction treatment of projection plane;
(c) coplanar precision adjusts the coordinate for rectifying a deviation and obtaining point to be determined.
2. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction according to claim 1, It is characterized in that:Different plane test model of setting up described in the step (a) includes environmental map rasterizing and indoor anchor node Location arrangements.
3. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction according to claim 2, It is characterized in that:Described environmental map rasterizing is to obtaining indoor plane on coplanar by indoor obstructing objects upright projection Map, position size on indoor plane map is then be mapped to barrier and carries out expansion process, then will be described indoor flat Face map uniform lattice obtains grating map, by the grating map according to the mapping of barrier be divided into barrier zone, from By region and dynamic area, then described grating map is numbered in order successively.
4. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction according to claim 2, It is characterized in that:Described indoor anchor node arrangement is that iBeacon beaconing nodes are arranged on into roof top, is then determined respectively The location of anchor point is apart from the air line distance of each anchor node and the vertical height of each iBeacon beaconing nodes, and two RSSI value during collection anchor point and iBeacon different distances is surveyed more than secondary, by Matlab fit RSSI and anchor point with The distance Curve of anchor node, sets up the indoor attenuation model of the suitable home environment of simulation, obtains RSSI and anchor point and anchor node Distance relation.
5. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction according to claim 3, It is characterized in that:Described barrier zone is fixed object, including indoor wall and static places object;Described free space For clear area;Described dynamic area includes door and movable object location of projection region.
6. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction according to claim 1, It is characterized in that:The dimension-reduction treatment of described step (b) projection plane be by indoor attenuation model, by the anchor point of acquisition with The RSSI value of anchor node is converted into range information, while this distance is projected into two bit planes by Pythagorean theorem, is positioned Point, then by location algorithm and range information D_actual, obtains point to be determined apart from the horizontal linear distance of anchor node Estimated location.
7. a kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction according to claim 1, It is characterized in that:The coplanar precision adjustment correction of described step (c) is that the estimated location drawn according to step (b) is calculated Then believed to the positional information and D_virtual of each anchor node according to D_actual and D_virtual distance point to be determined Breath sets up the positional information of virtual anchor node;If by estimated location to be positioned with each anchor node apart from D_virtual Less than the value by the RSSI D_actual measured, then node is rectified a deviation backward according to difference information, if by estimation to be positioned Position and each anchor node apart from D_virtual are more than value by the RSSI D_actual measured, then node are rectified a deviation forward; If the estimated location of point to be determined is equal to by the RSSI D_actual's measured with each anchor node apart from D_virtual Value, then node is without being rectified a deviation;Then according to the positional information of virtual anchor node and D_actual value, ranging is carried out again Algorithm, judges whether point to be located is in effective grid region, reaches required precision;If it is, display location information and institute Locate grid region numbering, if it is not, then re-starting above-mentioned method for correcting error, last display information position and grid region are compiled Number.
CN201710339132.0A 2017-05-15 2017-05-15 Indoor positioning method based on different-plane anchor node mapping and rasterization deviation rectification Active CN107091642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710339132.0A CN107091642B (en) 2017-05-15 2017-05-15 Indoor positioning method based on different-plane anchor node mapping and rasterization deviation rectification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710339132.0A CN107091642B (en) 2017-05-15 2017-05-15 Indoor positioning method based on different-plane anchor node mapping and rasterization deviation rectification

Publications (2)

Publication Number Publication Date
CN107091642A true CN107091642A (en) 2017-08-25
CN107091642B CN107091642B (en) 2020-06-02

Family

ID=59638667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710339132.0A Active CN107091642B (en) 2017-05-15 2017-05-15 Indoor positioning method based on different-plane anchor node mapping and rasterization deviation rectification

Country Status (1)

Country Link
CN (1) CN107091642B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861509A (en) * 2017-10-26 2018-03-30 广州科语机器人有限公司 A kind of anchor point method for correcting coordinate and the method for improving robot localization precision
CN108415432A (en) * 2018-03-09 2018-08-17 珠海市微半导体有限公司 Localization method of the robot based on straight flange
CN108848459A (en) * 2018-05-04 2018-11-20 广州杰赛科技股份有限公司 3-D positioning method, device and equipment based on wireless sensor network
CN109151728A (en) * 2018-09-21 2019-01-04 上海中兴易联通讯股份有限公司 A kind of indoor wireless positioning method having spatial filtering mechanism and its system
CN109633544A (en) * 2018-12-26 2019-04-16 奇点新源国际技术开发(北京)有限公司 A kind of anchor point coordinate scaling method, anchor point localization method and device
CN110580042A (en) * 2019-08-12 2019-12-17 西安电子科技大学 A Hybrid Distributed Motion Control Method for Multi-Robot System
CN110913474A (en) * 2019-11-26 2020-03-24 北京眸星科技有限公司 Distance fingerprint data acquisition method in indoor positioning
CN111238480A (en) * 2020-01-14 2020-06-05 西安电子科技大学 NLOS recognition method based on distance residual and its application in indoor positioning
CN112033413A (en) * 2020-09-07 2020-12-04 北京信息科技大学 Improved A-algorithm combined with environmental information
CN112066976A (en) * 2020-09-07 2020-12-11 北京信息科技大学 Self-adaptive expansion processing method and system, robot and storage medium
CN113465616A (en) * 2021-06-28 2021-10-01 湖北亿咖通科技有限公司 Track abnormal point detection method and device, electronic equipment, computer program product and computer readable storage medium
CN113727274A (en) * 2021-08-20 2021-11-30 中国联合网络通信集团有限公司 User mobility determination method, device, equipment and storage medium
CN114286282A (en) * 2021-11-18 2022-04-05 中国科学院空天信息创新研究院 Fingerprint positioning method based on WiFi RSS data of mobile phone and dimension reduction algorithm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247650A (en) * 2008-03-20 2008-08-20 中科院嘉兴中心微系统所分中心 Node indoor locating method based on wireless signal strength in wireless sensor network
CN102421189A (en) * 2011-11-22 2012-04-18 中山大学 Method and device for realizing wireless network indoor positioning based on physical layer
CN103402258A (en) * 2013-08-08 2013-11-20 北京建飞科联科技有限公司 Wi-Fi (Wireless Fidelity)-based indoor positioning system and method
CN103809155A (en) * 2014-01-17 2014-05-21 西北农林科技大学 ZigBee-based quadrocopter farmland positioning system
CN104036136A (en) * 2014-06-10 2014-09-10 杭州电子科技大学 Close-range precise positioning method based on RSSI (Received Signal Strength Indication)
CN104808671A (en) * 2015-05-19 2015-07-29 东南大学 Robot path planning method under home environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247650A (en) * 2008-03-20 2008-08-20 中科院嘉兴中心微系统所分中心 Node indoor locating method based on wireless signal strength in wireless sensor network
CN102421189A (en) * 2011-11-22 2012-04-18 中山大学 Method and device for realizing wireless network indoor positioning based on physical layer
CN103402258A (en) * 2013-08-08 2013-11-20 北京建飞科联科技有限公司 Wi-Fi (Wireless Fidelity)-based indoor positioning system and method
CN103809155A (en) * 2014-01-17 2014-05-21 西北农林科技大学 ZigBee-based quadrocopter farmland positioning system
CN104036136A (en) * 2014-06-10 2014-09-10 杭州电子科技大学 Close-range precise positioning method based on RSSI (Received Signal Strength Indication)
CN104808671A (en) * 2015-05-19 2015-07-29 东南大学 Robot path planning method under home environment

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861509A (en) * 2017-10-26 2018-03-30 广州科语机器人有限公司 A kind of anchor point method for correcting coordinate and the method for improving robot localization precision
CN108415432A (en) * 2018-03-09 2018-08-17 珠海市微半导体有限公司 Localization method of the robot based on straight flange
CN108415432B (en) * 2018-03-09 2020-12-15 珠海市一微半导体有限公司 Straight edge-based positioning method for robot
CN108848459B (en) * 2018-05-04 2021-04-09 广州杰赛科技股份有限公司 Three-dimensional positioning method, device and equipment based on wireless sensor network
CN108848459A (en) * 2018-05-04 2018-11-20 广州杰赛科技股份有限公司 3-D positioning method, device and equipment based on wireless sensor network
CN109151728A (en) * 2018-09-21 2019-01-04 上海中兴易联通讯股份有限公司 A kind of indoor wireless positioning method having spatial filtering mechanism and its system
CN109151728B (en) * 2018-09-21 2020-11-13 上海中兴易联通讯股份有限公司 Indoor wireless positioning method with space filtering mechanism and system thereof
CN109633544A (en) * 2018-12-26 2019-04-16 奇点新源国际技术开发(北京)有限公司 A kind of anchor point coordinate scaling method, anchor point localization method and device
CN110580042A (en) * 2019-08-12 2019-12-17 西安电子科技大学 A Hybrid Distributed Motion Control Method for Multi-Robot System
CN110913474A (en) * 2019-11-26 2020-03-24 北京眸星科技有限公司 Distance fingerprint data acquisition method in indoor positioning
CN111238480A (en) * 2020-01-14 2020-06-05 西安电子科技大学 NLOS recognition method based on distance residual and its application in indoor positioning
CN111238480B (en) * 2020-01-14 2023-04-07 西安电子科技大学 NLOS (non line of sight) identification method based on distance residual error and application of NLOS identification method in indoor positioning
CN112066976A (en) * 2020-09-07 2020-12-11 北京信息科技大学 Self-adaptive expansion processing method and system, robot and storage medium
CN112033413A (en) * 2020-09-07 2020-12-04 北京信息科技大学 Improved A-algorithm combined with environmental information
CN112033413B (en) * 2020-09-07 2023-06-16 北京信息科技大学 Path planning method based on improved A-algorithm combined with environment information
CN112066976B (en) * 2020-09-07 2023-06-16 北京信息科技大学 An adaptive expansion processing method, system, robot and storage medium
CN113465616A (en) * 2021-06-28 2021-10-01 湖北亿咖通科技有限公司 Track abnormal point detection method and device, electronic equipment, computer program product and computer readable storage medium
CN113727274A (en) * 2021-08-20 2021-11-30 中国联合网络通信集团有限公司 User mobility determination method, device, equipment and storage medium
CN113727274B (en) * 2021-08-20 2023-03-24 中国联合网络通信集团有限公司 User mobility determination method, device, equipment and storage medium
CN114286282A (en) * 2021-11-18 2022-04-05 中国科学院空天信息创新研究院 Fingerprint positioning method based on WiFi RSS data of mobile phone and dimension reduction algorithm
CN114286282B (en) * 2021-11-18 2023-12-26 中国科学院空天信息创新研究院 Fingerprint positioning method based on WiFi RSS data and dimension reduction algorithm of mobile phone

Also Published As

Publication number Publication date
CN107091642B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN107091642A (en) A kind of indoor orientation method based on the mapping of different plane anchor node and rasterizing correction
CN103841642B (en) Three-dimensional positioning method in a room
CN104125538B (en) The secondary localization method and device of RSSI signal intensities based on WIFI network
CN107371129A (en) The TDOA localization methods of indoor positioning based on height auxiliary amendment
CN103338516B (en) A kind of wireless sensor network two step localization method based on total least square
CN103118333B (en) Similarity based wireless sensor network mobile node positioning method
CN104902564B (en) A kind of triangle method for positioning mass center of high robustness and precision
CN106353725A (en) RSSI (Received Signal Strength Indication) based indoor moving target location method
CN104284419A (en) An iBeacon-based indoor positioning and auxiliary navigation method, device and system
CN105578417A (en) An Indoor Positioning Method for Moving Personnel
CN105682225A (en) Method and system for ultra wideband indoor positioning
CN103747524A (en) Android terminal indoor positioning method based on cloud platform
CN109100683A (en) Chan- weighted mass center indoor orientation method based on Kalman filtering
CN103220777A (en) Mobile device positioning system
CN105022077A (en) Indoor and outdoor hybrid positioning method and system
CN102970749B (en) Multi-base-station successive approximation positioning method
CN104181500A (en) Real-time locating method based on inertia information and chance wireless signal characteristics
CN110730418A (en) An Improved Indoor 3D Positioning Algorithm Based on Least Squares
US20230168334A1 (en) Indoor Positioning Method and Device
Yingxi et al. WSN node localization algorithm design based on RSSI technology
CN107801147A (en) One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings
CN103929717A (en) A Weighted Voronoi Diagram-Based Localization Method for Wireless Sensor Networks
CN109982245A (en) A kind of interior real-time three-dimensional localization method
CN108872934A (en) A kind of indoor 3-D positioning method inhibited based on non-market value
CN105530702A (en) A self-organizing map-based mobile node localization method for wireless sensor networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant