CN104507161B - A kind of indoor corridor localization method based on zigbee network - Google Patents
A kind of indoor corridor localization method based on zigbee network Download PDFInfo
- Publication number
- CN104507161B CN104507161B CN201410815786.2A CN201410815786A CN104507161B CN 104507161 B CN104507161 B CN 104507161B CN 201410815786 A CN201410815786 A CN 201410815786A CN 104507161 B CN104507161 B CN 104507161B
- Authority
- CN
- China
- Prior art keywords
- corridor
- mobile terminal
- zigbee
- floor
- terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000004807 localization Effects 0.000 title 1
- 238000004891 communication Methods 0.000 claims abstract description 7
- 238000013480 data collection Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/02—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
- G01S5/0284—Relative positioning
- G01S5/0289—Relative positioning of multiple transceivers, e.g. in ad hoc networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
本发明提供一种基于zigbee网络的室内楼道定位方法,属于无线通信技术领域。本发明利用zigbee系统布置简单、定位损耗低等特点实现待定位移动终端在建筑物内的准确定位。本发明提供的方法在定位到楼层的基础上,通过移动终端和两个路由节点间的距离,精确到移动终端的所在位置;本发明所用zigbee网络布局简单、实用。
The invention provides a zigbee network-based indoor corridor positioning method, which belongs to the technical field of wireless communication. The present invention utilizes the characteristics of simple layout and low positioning loss of the zigbee system to realize accurate positioning of the mobile terminal to be positioned in a building. The method provided by the invention accurately locates the location of the mobile terminal through the distance between the mobile terminal and two routing nodes on the basis of locating the floor; the layout of the zigbee network used in the invention is simple and practical.
Description
技术领域technical field
本发明属于无线通信技术领域,具体涉及一种通过zigbee系统对建筑物内的用户进行准确定位的方法。The invention belongs to the technical field of wireless communication, and in particular relates to a method for accurately locating users in a building through a zigbee system.
背景技术Background technique
现代生活中,人们工作、娱乐等活动越来越多的集中在高楼大厦中。楼层结构复杂、层数越来越高,当用户出于这些复杂的高层室内环境中时,如果不能快速的找到自己所在位置的指示牌,就希望通过定位应用确定自己的楼层和所在具体位置。In modern life, people's work, entertainment and other activities are more and more concentrated in high-rise buildings. The floor structure is complex and the number of floors is getting higher and higher. When the user is in these complex high-rise indoor environments, if he cannot quickly find the sign of his location, he hopes to determine his floor and specific location through the positioning application.
楼宇的室内定位一般集中应用在商业、安全措施中。如商场中,不同楼层货品的陈列研究,当用户处于不同的楼层时,对其行为习惯进行分析,从而确定用户喜好,并利用移动终端推送促销广告,极大的提高消费者购物体验;又或者在高层楼宇中,发生火灾等紧急事件时,通过手持式移动终端对逃生人员进行三维精确定位,提高逃生机会。尽管高楼中的定位在特定的场景和领域迫切需求,却是研究者较少关注的方向。Indoor positioning of buildings is generally concentrated in commercial and security measures. For example, in shopping malls, research on the display of goods on different floors, when users are on different floors, analyze their behavior habits, so as to determine user preferences, and use mobile terminals to push promotional advertisements, greatly improving consumer shopping experience; or In high-rise buildings, when an emergency such as a fire occurs, the three-dimensional precise positioning of the escaped personnel is carried out through the handheld mobile terminal to improve the chance of escape. Although positioning in tall buildings is urgently needed in specific scenarios and fields, it is a direction that researchers pay less attention to.
传统的室外定位方式,例如GPS定位,在室内由于信号屏蔽问题很难发挥作用,室内定位方式中应用较多的是wifi无线热点定位技术,利用wifi网络分布于高楼各个位置进行定位,但是这种方式的定位存在一定问题:首先是wifi热点价格较高,难以大规模部署;其次是wifi热点和定位终端上的wifi适配器功耗交大,难以在电池供电条件下长时间提供定位服务。而利用zigbee技术进行室内定位,具有低功耗、通信可靠、网络自组织能力强、时延短、工作频段灵活、网络容量大的优点。Traditional outdoor positioning methods, such as GPS positioning, are difficult to function indoors due to the problem of signal shielding. In indoor positioning methods, wifi wireless hotspot positioning technology is widely used, which uses wifi networks to distribute in various locations of high-rise buildings for positioning. However, this There are certain problems in the positioning of the method: first, the high price of wifi hotspots makes it difficult to deploy on a large scale; secondly, the power consumption of the wifi adapters on the wifi hotspots and positioning terminals is too high, making it difficult to provide positioning services for a long time under battery power conditions. Using zigbee technology for indoor positioning has the advantages of low power consumption, reliable communication, strong network self-organization ability, short delay, flexible working frequency band, and large network capacity.
发明内容Contents of the invention
本发明的目的在于提供一种室内楼道定位方法,实现用户在室内的楼层间走动时,利用移动终端向用户即时推送其身处建筑物内某一楼层中某一楼道的准确位置;本发明提供的定位方法实施简单,造价低廉,布局方便。The purpose of the present invention is to provide a method for positioning indoor corridors, which enables users to instantly push the exact location of a certain corridor in a certain floor of a building to the user by using a mobile terminal when the user walks between floors in the room; the present invention provides The positioning method is simple to implement, low in cost, and convenient in layout.
本发明具体采用如下技术方案:The present invention specifically adopts the following technical solutions:
一种基于zigbee网络的室内楼道定位方法,其流程如图1所示,具体包括以下步骤:A zigbee network-based indoor corridor positioning method, its process as shown in Figure 1, specifically includes the following steps:
步骤1.zigbee路由终端布局:针对现有建筑的构造情况,对建筑的楼层布局做如下不失一般性的假定:(1)建筑内每层楼的楼道和墙体布局均一致;(2)任意一条楼道均为直线型;Step 1. Zigbee routing terminal layout: According to the structure of the existing building, the floor layout of the building is assumed as follows without loss of generality: (1) The corridor and wall layout of each floor in the building are consistent; (2) Any one of the corridors is straight;
基于上述假定,在每一条楼道上固定布置2个以上的zigbee路由终端,且建筑内每一楼层的zigbee路由终端布局均相同;每一个zigbee路由终端的坐标信息如所处楼层及具体楼道均为已知数据;Based on the above assumptions, more than two zigbee routing terminals are fixedly arranged on each corridor, and the layout of the zigbee routing terminals on each floor in the building is the same; the coordinate information of each zigbee routing terminal, such as the floor and the specific corridor, is known data;
步骤2.RSSI数据搜集:待定位的移动终端接入建筑内的zigbee网络后,移动终端收集其附近的zigbee路由终端发出的RSSI强度信息并将所有zigbee路由终端发出的RSSI汇总;Step 2. RSSI data collection: After the mobile terminal to be positioned accesses the zigbee network in the building, the mobile terminal collects the RSSI strength information sent by the nearby zigbee routing terminals and summarizes the RSSIs sent by all zigbee routing terminals;
步骤3.楼层定位:由于zigbee路由终端发出的RSSI信号强度在通过墙体或者其他障碍物后会有明显损耗,可知移动终端所汇总的RSSI中的最大值所对应的zigbee路由终端一定与移动终端处于同一楼层的同一楼道中,通过调取该zigbee路由终端的坐标信息,即可得知该移动终端所处的楼层及具体楼道;Step 3. Floor positioning: Since the RSSI signal strength sent by the zigbee routing terminal will be significantly lost after passing through walls or other obstacles, it can be seen that the zigbee routing terminal corresponding to the maximum value of the RSSI summarized by the mobile terminal must be the same as the mobile terminal In the same corridor on the same floor, the floor and specific corridor where the mobile terminal is located can be known by calling the coordinate information of the zigbee routing terminal;
步骤4.楼道径向定位:确定移动终端的具体楼层及所处楼道后,提取位于该楼道上的任意两个zigbee路由终端所采集到的待定位移动终端的RSSI;由于移动终端与所处楼道上的zigbee路由终端为无阻挡的直接通信,故可通过RSSI求得移动终端与所述两个zigbee路由终端之间的距离;Step 4. Corridor radial positioning: After determining the specific floor of the mobile terminal and the corridor where it is located, extract the RSSI of the mobile terminal to be positioned collected by any two zigbee routing terminals located on the corridor; The zigbee routing terminals on the network are unobstructed direct communication, so the distance between the mobile terminal and the two zigbee routing terminals can be obtained by RSSI;
分别以所述两个zigbee路由终端所在位置为圆心、相应路由终端与待定位移动终端的距离为半径得两个相交或者相切的球;若两球相切,则切点投影至所在楼道地板上的位置即为所述移动终端在楼道中的具体位置;若两球相交,则其交线为一圆形,所述圆形所在平面与楼面垂直,该圆形投影至该楼道地板上的位置即为所述移动终端在楼道上的具体径向位置。Take the positions of the two zigbee routing terminals as the center of the circle, and the distance between the corresponding routing terminal and the mobile terminal to be positioned as the radius to obtain two intersecting or tangent balls; if the two balls are tangent, the tangent point is projected to the corridor floor The position above is the specific position of the mobile terminal in the corridor; if the two spheres intersect, the line of intersection is a circle, the plane where the circle is located is perpendicular to the floor, and the circle is projected onto the floor of the corridor The position of is the specific radial position of the mobile terminal on the corridor.
进一步的,所述移动终端可设置于商场提供的购物车、手持推送设备等可移动设备中,为用户、工作人员等提供即时坐标信息。Further, the mobile terminal can be set in a shopping cart provided by a shopping mall, a handheld push device and other mobile devices to provide users, staff, etc. with real-time coordinate information.
本发明的有益效果是:The beneficial effects of the present invention are:
zigbee系统布置方便简单,定位系统功耗小,并且此定位方法适合于在各种结构复杂的高楼大厦进行室内定位,受到大楼内部构造的影响较小,定位准确度相对比较高;值得一提的是,本发明提供的定位方法直接将楼层定位考虑进来,同时解决了室内平面准确定位和室内楼层准确定位两个问题。The layout of zigbee system is convenient and simple, the power consumption of the positioning system is small, and this positioning method is suitable for indoor positioning in various high-rise buildings with complex structures. It is less affected by the internal structure of the building and the positioning accuracy is relatively high; it is worth mentioning Yes, the positioning method provided by the present invention directly takes floor positioning into consideration, and simultaneously solves the two problems of accurate positioning of indoor planes and accurate positioning of indoor floors.
附图说明Description of drawings
图1为本发明提供的室内楼道定位方法流程图。Fig. 1 is a flow chart of the indoor corridor positioning method provided by the present invention.
具体实施方式Detailed ways
下面结合实施例对本发明作进一步说明。The present invention will be further described below in conjunction with embodiment.
实施例Example
本实施例设定建筑物为高层商城,商城内每层楼的楼道和墙体布局均一致且任意一条楼道均为直线型,为客户提供的购物车上均设置有定位用移动终端和语音图像提示设备。In this embodiment, the building is set as a high-rise shopping mall. The corridors and wall layouts of each floor in the mall are consistent and any corridor is linear. The shopping carts provided to customers are equipped with mobile terminals and voice images for positioning. Prompt device.
本实施例提供的基于zigbee网络室内楼道定位方法,具体包括以下步骤:The zigbee network-based indoor corridor positioning method provided in this embodiment specifically includes the following steps:
步骤1.zigbee路由终端布局:在每一条楼道上固定布置2个以上的zigbee路由终端,即确保每一条楼道的任意位置上均可至少与2个zigbee路由终端实现无阻挡的直接通信,同一楼道上相邻路由终端的间距不超过70米;且商城内每一楼层的zigbee路由终端布局均相同,每一个zigbee路由终端的坐标信息均为已知数据并存储于路由终端中;Step 1. Zigbee routing terminal layout: fixedly arrange more than 2 zigbee routing terminals on each corridor, that is, ensure that any position of each corridor can realize unobstructed direct communication with at least 2 zigbee routing terminals, and the same corridor The distance between adjacent routing terminals on the top is not more than 70 meters; and the layout of the zigbee routing terminals on each floor in the mall is the same, and the coordinate information of each zigbee routing terminal is known data and stored in the routing terminal;
步骤2.数据搜集:待定位的移动终端接入商城内的zigbee网络后,zigbee路由终端通过自身硬件传感器把其接收到的移动终端发送的信号强度转化为相应的数值,并结合自身的坐标和网络地址一同打包发回移动终端;移动终端收集其附近的zigbee路由终端发出的RSSI强度信息并将所有zigbee路由终端发出的RSSI汇总;Step 2. Data collection: After the mobile terminal to be positioned is connected to the zigbee network in the shopping mall, the zigbee routing terminal converts the signal strength received by the mobile terminal into a corresponding value through its own hardware sensor, and combines its own coordinates and The network address is packaged and sent back to the mobile terminal; the mobile terminal collects the RSSI strength information sent by the nearby zigbee routing terminals and summarizes the RSSI sent by all zigbee routing terminals;
步骤3.楼层定位:由于zigbee路由终端发出的RSSI信号强度在通过墙体或者其他障碍物后会有明显损耗,可知移动终端所汇总的RSSI中的最大值所对应的zigbee路由终端一定与该移动终端处于同一楼层的同一楼道中,则所述移动终端通过调取RSSI值最大的zigbee路由终端的坐标信息即可得知该移动终端所处的楼层及具体楼道;Step 3. Floor positioning: Since the RSSI signal strength sent by the zigbee routing terminal will be significantly lost after passing through walls or other obstacles, it can be known that the zigbee routing terminal corresponding to the maximum value of the RSSI summarized by the mobile terminal must be the same as the mobile terminal. The terminal is in the same corridor on the same floor, then the mobile terminal can know the floor and the specific corridor where the mobile terminal is located by calling the coordinate information of the zigbee routing terminal with the largest RSSI value;
步骤4.楼道径向定位:确定移动终端的具体楼层及所处楼道后,该移动终端提取位于该楼道上的任意两个zigbee路由终端所采集到的待定位移动终端的RSSI;由于移动终端与所处楼道上的zigbee路由终端为无阻挡的直接通信,故可由下式求得移动终端与所述两个zigbee路由终端之间的距离d:Step 4. Corridor radial positioning: After determining the specific floor of the mobile terminal and the corridor where it is located, the mobile terminal extracts the RSSI of the mobile terminal to be positioned collected by any two zigbee routing terminals located on the corridor; The zigbee routing terminal on the corridor is unobstructed direct communication, so the distance d between the mobile terminal and the two zigbee routing terminals can be obtained by the following formula:
其中,A为本路由终端至参考节点为1米距离时的接收信号强度,n为信号路径损耗因子即传播指数;Among them, A is the received signal strength when the distance from the routing terminal to the reference node is 1 meter, and n is the signal path loss factor, that is, the propagation index;
分别以所述两个zigbee路由终端所在位置为圆心、相应路由终端与待定位移动终端的距离为半径得两个相交或者相切的球;Take the positions of the two zigbee routing terminals as the center of the circle, and the distance between the corresponding routing terminal and the mobile terminal to be positioned as the radius to obtain two intersecting or tangent balls;
若两球相切,则切点投影至所在楼道地板上的位置即为所述移动终端在楼道中的具体位置;若两球相交,则其交线为一圆形,所述圆形所在平面与楼面垂直,该圆形投影至所在该楼道地板上的位置即为所述移动终端在所述楼道径向上的具体位置。If the two spheres are tangent, the projected position of the tangent point on the floor of the corridor is the specific position of the mobile terminal in the corridor; if the two spheres intersect, the line of intersection is a circle, and the plane where the circle is located Vertical to the floor, the position where the circle is projected onto the floor of the corridor is the specific position of the mobile terminal in the radial direction of the corridor.
由此,最终实现移动终端在建筑物内的楼层及楼道平面的准确定位,并将即时定位信息通过语音图像提示设备推送至客户或工作人员。Thus, the accurate positioning of the mobile terminal on the floor and corridor plane in the building is finally realized, and the real-time positioning information is pushed to the customer or staff through the voice and image prompting device.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410815786.2A CN104507161B (en) | 2014-12-24 | 2014-12-24 | A kind of indoor corridor localization method based on zigbee network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410815786.2A CN104507161B (en) | 2014-12-24 | 2014-12-24 | A kind of indoor corridor localization method based on zigbee network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104507161A CN104507161A (en) | 2015-04-08 |
CN104507161B true CN104507161B (en) | 2018-05-18 |
Family
ID=52948860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410815786.2A Active CN104507161B (en) | 2014-12-24 | 2014-12-24 | A kind of indoor corridor localization method based on zigbee network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104507161B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI623919B (en) * | 2015-04-30 | 2018-05-11 | 許耿禎 | Building rescue information system |
CN105223549B (en) * | 2015-08-22 | 2018-12-11 | 东北电力大学 | A kind of full mobile node positioning method of wireless sensor network based on RSSI |
CN106776867A (en) * | 2016-11-26 | 2017-05-31 | 北京小米移动软件有限公司 | Information-pushing method and device |
CN107124698A (en) * | 2017-04-28 | 2017-09-01 | 深圳市亿兆互联技术有限公司 | A kind of vertical space positioner based on LoRa technologies, method and system |
CN107277779B (en) * | 2017-05-03 | 2020-04-21 | 广东全安智能工程有限公司 | Positioning method and system based on ZigBee network |
CN108830343B (en) * | 2018-05-25 | 2021-08-17 | 北京星网锐捷网络技术有限公司 | Method for determining position of article and mobile terminal |
CN109782229A (en) * | 2018-12-20 | 2019-05-21 | 广东云立方互动科技有限公司 | A kind of indoor orientation method based on ultrasound and system |
CN112312308B (en) * | 2020-10-29 | 2023-12-22 | 广东小天才科技有限公司 | Indoor positioning method and terminal equipment |
CN112985499A (en) * | 2021-02-07 | 2021-06-18 | 河北览惠科技有限公司 | Multi-parameter engineering structure health recognition system |
CN113038494B (en) * | 2021-03-09 | 2022-05-24 | 中国铁塔股份有限公司 | Wireless communication indoor distribution system deployment method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
UA70948U (en) * | 2011-12-30 | 2012-06-25 | Харьковский Национальный Университет Радиоэлектроники | METHOD FOR NODE POSITIONING IN ZigBee NETWORKS |
CN103002463A (en) * | 2012-11-29 | 2013-03-27 | 北京工业大学 | A zigbee indoor positioning network design and corresponding simplification method |
CN103916821A (en) * | 2014-04-11 | 2014-07-09 | 北京工业大学 | Floor distinguishing method based on RSSI difference between floors |
-
2014
- 2014-12-24 CN CN201410815786.2A patent/CN104507161B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
UA70948U (en) * | 2011-12-30 | 2012-06-25 | Харьковский Национальный Университет Радиоэлектроники | METHOD FOR NODE POSITIONING IN ZigBee NETWORKS |
CN103002463A (en) * | 2012-11-29 | 2013-03-27 | 北京工业大学 | A zigbee indoor positioning network design and corresponding simplification method |
CN103916821A (en) * | 2014-04-11 | 2014-07-09 | 北京工业大学 | Floor distinguishing method based on RSSI difference between floors |
Non-Patent Citations (1)
Title |
---|
ZigBee技术中基于RSSI测距的定位算法研究;徐世武等;《单片机与嵌入式系统》;20120428;第12卷(第1期);第1-3页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104507161A (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104507161B (en) | A kind of indoor corridor localization method based on zigbee network | |
CN106814345B (en) | An Indoor Localization Method for Easy Data Acquisition and High Accuracy | |
CN109195099B (en) | An indoor positioning method based on the fusion of iBeacon and PDR | |
CN105516904B (en) | A kind of indoor fusion and positioning method and system based on small base station and bluetooth | |
CN104837118B (en) | A kind of indoor fusion positioning system and method based on WiFi and BLUETOOTH | |
CN102307386B (en) | Indoor positioning monitoring system and method based on Zigbee wireless network | |
CN103179661B (en) | Indoor orientation method and device based on WLAN | |
CN106125045B (en) | A kind of ADAPTIVE MIXED indoor orientation method based on Wi-Fi | |
CN102547982B (en) | Method for smoothening and stabilizing WLAN (Wireless Local Area Network) positioning in indoor environment based on weight spanning tree | |
CN105953802B (en) | Indoor positioning system and method based on iBeacon | |
CN102685677B (en) | A kind of indoor orientation method and device | |
CN107509175A (en) | Bluetooth indoor orientation method, system, storage medium and terminal | |
CN103415069A (en) | Mobile node positioning algorithm based on integration of sensor network and cellular network | |
CN101635880A (en) | Three-dimensional accurate positioning method based on wireless sensor network | |
CN104661307B (en) | A kind of method of lifting PDT architecture precision | |
CN101858750A (en) | Intelligent positioning and navigation system for rescue assistance in large buildings | |
CN103945526B (en) | Based on the wireless device localization method and system that induce Detection Techniques | |
CN104502891A (en) | RSSI (received signal strength indicator) technique based hospital patient positioning method | |
CN106885575A (en) | A kind of indoor positioning bootstrap technique and system | |
CN103068038A (en) | Indoor bidirectional positioning method based on Zigbee network | |
CN103607769A (en) | Asynchronous positioning method based on mobile anchor node | |
CN104703128A (en) | Indoor positioning system and method based on WLAN wireless signal strength | |
CN204350302U (en) | A kind of indoor locating system | |
CN103546867A (en) | A positioning method in digital home based on ZigBee network | |
Paknikar et al. | Wireless IoT based solution for women safety in rural areas |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |