[go: up one dir, main page]

CN107801147A - One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings - Google Patents

One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings Download PDF

Info

Publication number
CN107801147A
CN107801147A CN201710599477.XA CN201710599477A CN107801147A CN 107801147 A CN107801147 A CN 107801147A CN 201710599477 A CN201710599477 A CN 201710599477A CN 107801147 A CN107801147 A CN 107801147A
Authority
CN
China
Prior art keywords
rssi
shadowing
area
represent
extended
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.)
Pending
Application number
CN201710599477.XA
Other languages
Chinese (zh)
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.)
Xian Polytechnic University
Original Assignee
Xian Polytechnic 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 Xian Polytechnic University filed Critical Xian Polytechnic University
Priority to CN201710599477.XA priority Critical patent/CN107801147A/en
Publication of CN107801147A publication Critical patent/CN107801147A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements

Landscapes

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

Abstract

本发明公开了一种基于RSSI测距改进的多区域自适应室内定位方法,首先将目标区域按照室内结构特点划分为多个子区域环境,构建基于环境参数库的Shadowing扩展模型,设计与Shadowing扩展模型相匹配的硬件系统结构,然后借助Shadowing扩展模型和与硬件系统结构实现环境参数库的更新,在此过程中利用卡尔曼滤波算法对参考距离处接收到的RSSI值进行过滤并定时对环境参数库进行更新,最后,极大似然估计进行位置估计,本发明解决了现有技术中存在的室内定位方法过度依赖外部环境造成室内定位精准度差的问题。

The invention discloses an improved multi-area self-adaptive indoor positioning method based on RSSI ranging. First, the target area is divided into multiple sub-area environments according to the indoor structure characteristics, and an extended Shadowing model based on an environmental parameter library is constructed, and the extended Shadowing model is designed and Match the hardware system structure, and then use the Shadowing extended model and hardware system structure to update the environmental parameter library. In the process, use the Kalman filter algorithm to filter the RSSI value received at the reference distance and regularly update the environmental parameter library. Updating, and finally, position estimation by maximum likelihood estimation, the present invention solves the problem of poor indoor positioning accuracy caused by excessive dependence on the external environment in the indoor positioning method existing in the prior art.

Description

一种基于RSSI测距改进的多区域自适应室内定位方法An improved multi-region adaptive indoor positioning method based on RSSI ranging

技术领域technical field

本发明属于室内定位技术领域,具体涉及一种基于RSSI测距改进的多 区域自适应室内定位方法。The invention belongs to the technical field of indoor positioning, and in particular relates to an improved multi-area adaptive indoor positioning method based on RSSI ranging.

背景技术Background technique

室内定位是指在室内环境中实现位置定位,主要采用无线通讯、基站定 位、惯导定位等多种技术集成形成一套室内位置定位体系,从而实现人员、 物体等在室内空间中的位置监控。目的在于解决卫星信号到达地面时较弱、 不能穿透建筑物的问题。室内定位随着移动互联网技术的日益发展,在一些 特定场合(比如在购物商场、博物馆、展馆、机场等)的实用性和必要性日 趋显著,其应用前景广阔。目前室内定位的实现主要技术包括:Zigbee、Wi-Fi、 蓝牙、RFID等。其中,RFID技术存在投入成本较高问题,而Wi-Fi存在一 定的辐射问题。基于此,低成本、低能耗、对人体危害最小的蓝牙设备受到 室内定位研究者们的青睐。但由于室内定位精准度过分依赖于外部环境,导 致定位精准度过低问题至今尚未得到有效解决。因而,探讨具有自适应环境、 高精准度的室内定位方法已成为亟需解决的现实问题。Indoor positioning refers to the realization of position positioning in the indoor environment. It mainly adopts wireless communication, base station positioning, inertial navigation positioning and other technologies to form an indoor position positioning system, so as to realize the position monitoring of people and objects in the indoor space. The purpose is to solve the problem that the satellite signal is weak when it reaches the ground and cannot penetrate buildings. With the increasing development of mobile Internet technology, indoor positioning has become more and more practical and necessary in some specific occasions (such as shopping malls, museums, exhibition halls, airports, etc.), and its application prospects are broad. At present, the main technologies for realizing indoor positioning include: Zigbee, Wi-Fi, Bluetooth, RFID, etc. Among them, RFID technology has a problem of high investment cost, and Wi-Fi has a certain radiation problem. Based on this, Bluetooth devices with low cost, low energy consumption and minimal harm to human body are favored by indoor positioning researchers. However, because the indoor positioning accuracy is too dependent on the external environment, the problem of low positioning accuracy has not been effectively resolved so far. Therefore, exploring the indoor positioning method with adaptive environment and high precision has become a realistic problem that needs to be solved urgently.

通过文献回顾发现:室内定位常借助的辅助硬件设备主要是无线信号发 射器(如:Wi-Fi、蓝牙等),而这些设备无线信号的传播形式为直射、绕射 和散射(反射),而且信号覆盖区域内的任意一点处接收到的信号强度(RSSI) 不但是一个随机变量,而且是一个各种传播路径的矢量和,并随传播环境的 动态变化而改变,严重干扰室内定位算法的精准度。从根本上讲,这种室内 定位误差问题产生的根源在于:第一,不同的建筑物,其室内布置、材料结 构、建筑物尺度等均不同,致使信号的路径损耗不同;第二,建筑物的内在 结构会引起信号的反射、绕射、折射和散射,相互叠加形成一种多径现象, 导致接收信号的幅度、相位和到达时间均产生误差,并造成信号的损失,严 重影响到室内定位的精准度。Through literature review, it is found that the auxiliary hardware devices often used in indoor positioning are mainly wireless signal transmitters (such as Wi-Fi, Bluetooth, etc.), and the propagation forms of wireless signals of these devices are direct, diffraction and scattering (reflection), and The received signal strength (RSSI) at any point in the signal coverage area is not only a random variable, but also a vector sum of various propagation paths, which changes with the dynamic changes of the propagation environment, which seriously interferes with the accuracy of indoor positioning algorithms Spend. Fundamentally speaking, the root causes of this indoor positioning error problem are: first, different buildings have different indoor layouts, material structures, building scales, etc., resulting in different signal path losses; The internal structure of the signal will cause the reflection, diffraction, refraction and scattering of the signal, and superimpose each other to form a multipath phenomenon, which will cause errors in the amplitude, phase and arrival time of the received signal, and cause signal loss, which seriously affects indoor positioning. the accuracy.

此外,由于RSSI值极易受到外界环境噪声的干扰,易处于一种波动状 态。现以距离发射端1m处连续采集的100个RSSI值为例,产生的RSSI值 如图3所示。由于本发明的定位方法是基于RSSI测距来实现的,因此,RSSI 的准确、稳定是影响后续测距乃至定位精确度的一个重要因素。In addition, because the RSSI value is easily disturbed by external environmental noise, it is easy to be in a fluctuating state. Taking 100 RSSI values collected continuously at a distance of 1m from the transmitter as an example, the resulting RSSI values are shown in Figure 3. Since the positioning method of the present invention is implemented based on RSSI ranging, the accuracy and stability of RSSI is an important factor affecting subsequent ranging and positioning accuracy.

发明内容Contents of the invention

本发明的目的是提供一种基于RSSI测距改进的多区域自适应室内定位 方法,解决了现有技术中存在的室内定位方法过度依赖外部环境造成室内定 位精准度差的问题。The purpose of the present invention is to provide an improved multi-region adaptive indoor positioning method based on RSSI ranging, which solves the problem that the existing indoor positioning method in the prior art relies too much on the external environment to cause poor indoor positioning accuracy.

本发明所采用的技术方案是,一种基于RSSI测距改进的多区域自适应 室内定位方法,具体按照以下步骤实施:The technical scheme adopted in the present invention is, a kind of multi-area self-adaptive indoor positioning method based on RSSI ranging improvement, specifically implements according to the following steps:

步骤1:将目标区域按照室内结构特点划分为多个子区域环境,构建基 于环境参数库的Shadowing扩展模型;Step 1: Divide the target area into multiple sub-regional environments according to the characteristics of the indoor structure, and build an extended Shadowing model based on the environmental parameter library;

步骤2:设计并搭建与步骤1得到的Shadowing扩展模型相匹配的硬件 系统结构;Step 2: Design and build a hardware system structure that matches the extended Shadowing model obtained in Step 1;

步骤3:借助步骤1构建的Shadowing扩展模型和与步骤2得到的硬件 系统结构,定时对环境参数库进行更新,在此过程中利用卡尔曼滤波算法对 模型中的参数参考距离处接收到的RSSI值进行过滤;Step 3: With the help of the Shadowing extended model built in step 1 and the hardware system structure obtained in step 2, the environmental parameter library is regularly updated. In the process, the Kalman filter algorithm is used to analyze the parameters in the model. Value to filter;

步骤4:极大似然估计进行位置估计。Step 4: Maximum Likelihood Estimation for position estimation.

本发明的特点还在于,The present invention is also characterized in that,

步骤1具体按照以下步骤实施:Step 1 is specifically implemented according to the following steps:

步骤(1.1)、将定位覆盖区域按照目标区域结构进行分割,形成n个子 区域,将定位覆盖区域用A表示,则A={a1,a2,a3,…,an};Step (1.1), divide the positioning coverage area according to the structure of the target area to form n sub-areas, and use A to represent the positioning coverage area, then A={a 1 , a 2 , a 3 ,..., a n };

步骤(1.2)、设每个子区域ai处于同一环境下,其中i=1,2,…,n,则Step (1.2), assuming that each sub-area a i is in the same environment, where i=1, 2,..., n, then

按照Shadowing模型,每个ai对应其他区域的路径损耗指数ni表示为:According to the Shadowing model, each a i corresponds to the path loss index n i of other areas expressed as:

ni={ni1,ni2,...,nin}n i = {n i1 , n i2 , . . . , n in }

同理,参考距离处RSSI值为则路径 损耗指数N和参考距离d0点对应的接收信号功率Pr(D0)分别表示如下:Similarly, the RSSI value at the reference distance is Then the path loss index N and the received signal power Pr(D 0 ) corresponding to the reference distance d 0 point are respectively expressed as follows:

其中,nij为N中任意一个路径损耗指数,表示信号发射器AP所属区域ai与待测点p所在区域aj之间的路径损耗指数;Pr(d0ij)为Pr(D0)中任意一个参 考距离处RSSI值,表示AP所属区域ai与待测点p所在区域aj在参考距离d0处对应的接收信号功率值,且nij=nji,Pr(d0ij)=Pr(d0ji),构建环境参数库 K=(Pr(D0),N),Among them, n ij is any path loss index in N, indicating the path loss index between the area a i where the signal transmitter AP belongs to and the area a j where the point p to be measured is located; Pr(d 0ij ) is The RSSI value at any reference distance indicates the received signal power value corresponding to the area a i where the AP belongs to and the area a j where the point p to be measured is located at the reference distance d 0 , and n ij =n ji , Pr(d 0ij )=Pr (d 0ji ), build environment parameter library K=(Pr(D 0 ),N),

所以Shadowing扩展模型为:So the Shadowing extension model is:

Shadowing模型具体表达式为:The specific expression of the Shadowing model is:

Pr(d)=Pr(d0)-10nlg(d/d0)+Xδ Pr(d)=Pr(d 0 )-10nlg(d/d 0 )+X δ

其中,Pr(d)表示接收端的接收到的RSSI值;Pr(d0)是参考距离d0处对 应的接收到的RSSI值;n为路径损耗指数,n与环境相关;d表示接收端与 发射端之间的距离;d0为参考距离;Xδ表示高斯随机变量,Xδ平均值为0, 主要反映当距离一定时,接收信号功率的变化。Among them, Pr(d) represents the received RSSI value of the receiving end; Pr(d 0 ) is the received RSSI value corresponding to the reference distance d 0 ; n is the path loss index, and n is related to the environment; d represents the receiving end and The distance between transmitters; d 0 is the reference distance; X δ represents a Gaussian random variable, and the average value of X δ is 0, which mainly reflects the change of received signal power when the distance is constant.

环境参数库K通过以下步骤更新:The environmental parameter library K is updated through the following steps:

步骤a、实时获取参考距离处RSSI并进行卡尔曼滤波过滤;Step a, obtain the RSSI at the reference distance in real time and perform Kalman filtering;

步骤b、通过Shadowing扩展模型计算各个AP对应的路径损耗指数n, 并对同一区域或者符合区域的各路径损耗指数n均值化处理;Step b, calculate the path loss index n corresponding to each AP through the Shadowing extended model, and average the path loss index n in the same area or corresponding area;

步骤c、更新环境参数库K。Step c, updating the environment parameter library K.

步骤2设计并搭建与Shadowing扩展模型相适应的室内定位硬件系统模 型满足以下条件:Step 2 Design and build the indoor positioning hardware system model compatible with the Shadowing extended model to meet the following conditions:

在待定位区域搭建局域网环境,并在已划分的各个区域布置AP和锚节 点,每个区域至少布置1台锚节点和4台AP设备,其中AP设备必须有1 台AP充当参考点AP,同时,该网络环境保证锚节点设备能够通过互联网 将扫描到的所有AP信息及时上传至服务器,以备环境参数库更新,当待定 位点获取到周边AP信息时,并从互联网端获取实时的环境参数库,完成待 定位点处的位置确定,Build a LAN environment in the area to be located, and arrange APs and anchor nodes in each area that has been divided. At least one anchor node and four AP devices are arranged in each area, and one AP device must have one AP as a reference point AP. , the network environment ensures that the anchor node device can upload all scanned AP information to the server through the Internet in time to prepare for the update of the environmental parameter database. Library, complete the position determination at the point to be positioned,

由室内定位硬件系统模型进而得到:设一个区域的硬件设备用H表示, 并存在关系:H={APij,Sij};APij表示任意一个单台AP,Sij则表示任意一个 锚节点S,并且布置区域及位置已知,其中i表示设备所属区域,j表示设备 编号,i,j∈(1,2,3,...,n)。From the indoor positioning hardware system model, it can be obtained that the hardware equipment in an area is represented by H, and there is a relationship: H={AP ij , S ij }; AP ij represents any single AP, and S ij represents any anchor node S, and the layout area and location are known, where i represents the area to which the device belongs, j represents the device number, i,j∈(1,2,3,...,n).

步骤3具体为:Step 3 is specifically:

结合步骤2得到的室内定位硬件系统模型,在覆盖区域的四周处设置信 号发射器AP,在区域中心位置设置锚节点,并且均置于“开”状态,则锚节 点在等时间间隔t内循环扫描附近的AP信息,同时将这些信息通过局域网 发送给服务器,服务器根据接收到的锚节点ID、信号发射器AP的MAC判 断各自所属区域和位置坐标,同时,根据Shadowing扩展模型计算和更新N 以及接收信号功率Pr(D0)。Combined with the indoor positioning hardware system model obtained in step 2, set the signal transmitter AP around the coverage area, set the anchor node at the center of the area, and put them in the "on" state, then the anchor nodes will cycle within the equal time interval t Scan nearby AP information, and send the information to the server through the LAN at the same time. The server judges the area and location coordinates of each according to the received anchor node ID and the MAC of the signal transmitter AP. At the same time, calculate and update N and Received signal power Pr(D 0 ).

根据Shadowing扩展模型计算和更新N和接收信号功率Pr(D0)具体为:Calculate and update N and received signal power Pr(D 0 ) according to the Shadowing extended model as follows:

假设某一子区域或复合区域内有m个信号发射器AP,则该区域路径损 耗指数n计算过程如下:Assuming that there are m signal transmitter APs in a sub-area or compound area, the calculation process of the path loss index n in this area is as follows:

上式中,i表示该区域第i个信号发射器AP,根据路径损耗指数n的计 算过程,需要锚节点实时获取周围AP的UUID、RSSI信息,进行区域识别 及参数计算,,并实时更新当前的环境参数库K,从而达到对环境的自适应, 实现室内定位精准度提高的目的;In the above formula, i represents the i-th signal transmitter AP in the area. According to the calculation process of the path loss index n, the anchor node needs to obtain the UUID and RSSI information of the surrounding APs in real time, perform area identification and parameter calculation, and update the current The environmental parameter library K, so as to achieve the self-adaptation to the environment, and achieve the purpose of improving the accuracy of indoor positioning;

假设Shadowing扩展模型为离散控制系统,且该系统能够用线性随机微 分方程描述,则卡尔曼滤波的过程方程和观测方程如下所示:Assuming that the extended Shadowing model is a discrete control system, and the system can be described by linear stochastic differential equations, the process equation and observation equation of Kalman filter are as follows:

xk=Axk-1+Buk-1+qk-1 x k =Ax k-1 +Bu k-1 +q k-1

yk=Hxk+rk y k =Hx k +r k

上式中,xk是k时刻待优化的RSSI值,uk-1是k-1时刻对系统的控制量,A 和B是系统参数,yk是k时刻RSSI测量值,H是测量参数,rk和qk-1分别表示 噪声,且两者均值均为0,因此,两者的协方差表示为:In the above formula, x k is the RSSI value to be optimized at time k, u k-1 is the control quantity of the system at time k-1, A and B are system parameters, y k is the measured value of RSSI at time k, and H is the measurement parameter , r k and q k-1 represent noise respectively, and both mean values are 0, therefore, the covariance of the two is expressed as:

上式中,Qk和Rk分别表示系统噪声和测量噪声的协方差矩阵,In the above formula, Q k and R k represent the covariance matrix of system noise and measurement noise respectively,

因此,卡尔曼滤波器表示成以下两个过程,即:Therefore, the Kalman filter is expressed as the following two processes, namely:

(1)时间更新:(1) Time update:

(2)状态更新:(2) Status update:

上式中,表示预测的k时刻系统状态值;表示过程噪声Q预测的新 误差;Kk表示卡尔曼增益;表示k时刻系统最优状态值。In the above formula, Indicates the predicted system state value at time k; Denotes the new error of the process noise Q prediction; K k denotes the Kalman gain; Indicates the optimal state value of the system at time k.

步骤4具体为:Step 4 is specifically:

假设目标位置为p(x0,y0),则在点p接收到n个AP信息所在的位置表示 为AP(xi,yi),i∈1,2,…,n,则目标与各AP之间的距离di,i∈1,2,…,n,计算过程 如下:Suppose the target position is p(x 0 ,y 0 ), then the position where n AP information is received at point p is expressed as AP( xi ,y i ), i∈1,2,…,n, then the target and The distance d i between each AP, i∈1,2,...,n, the calculation process is as follows:

在上式中,利用最后一项分别与其他项做差值计算,得到如下方程式:In the above formula, the difference between the last item and other items is used to calculate the difference, and the following equation is obtained:

令x=(x0,y0)T,则上式用矩阵形式Ax=b表示为:Let x=(x 0 ,y 0 ) T , then the above formula is expressed in matrix form Ax=b as:

由最小二乘法对矩阵进行求解,得:Solve the matrix by the method of least squares to get:

x=(ATA)-1ATbx=(A T A) -1 A T b

由x=(x0,y0)T=(ATA)-1ATb能够确定待定位点p(x0,y0)的位置坐标信息,根 据目标区域坐标图对p(x0,y0)点坐标实现位置估计。By x=(x 0 ,y 0 ) T =(A T A) -1 A T b can determine the position coordinate information of the point to be positioned p(x 0 ,y 0 ), and p(x 0 ,y 0 ) point coordinates to realize position estimation.

本发明的有益效果是,一种基于RSSI测距改进的多区域自适应室内定 位方法,先将目标区域按照室内结构特点划分为多个子区域环境,构建基于 环境参数库的Shadowing扩展模型,并设计与扩展模型相匹配的硬件系统结 构,进而利用卡尔曼滤波算法对参考距离处接收到的RSSI值进行过滤并定 时对环境参数库进行更新,最后使用极大似然估计进行目标定位,从而实现 环境的自适应和提高了室内定位的精准度。The beneficial effect of the present invention is that a multi-area self-adaptive indoor positioning method based on RSSI ranging improvement firstly divides the target area into multiple sub-area environments according to the indoor structure characteristics, constructs an extended Shadowing model based on the environmental parameter library, and designs The hardware system structure that matches the extended model, and then use the Kalman filter algorithm to filter the RSSI value received at the reference distance and update the environmental parameter library regularly, and finally use the maximum likelihood estimation to locate the target, so as to realize the environmental Adaptive and improve the accuracy of indoor positioning.

附图说明Description of drawings

图1是本发明一种基于RSSI测距改进的多区域自适应室内定位方法的 系统硬件架构图;Fig. 1 is a kind of system hardware architecture diagram of the multi-area self-adaptive indoor positioning method based on RSSI ranging improvement of the present invention;

图2是本发明一种基于RSSI测距改进的多区域自适应室内定位方法流 程示意图;Fig. 2 is a kind of improved multi-area adaptive indoor positioning method flow diagram based on RSSI ranging of the present invention;

图3是本发明一种基于RSSI测距改进的多区域自适应室内定位方法中 单位长度处RSSI值曲线图;Fig. 3 is a graph of the RSSI value at the unit length in a kind of improved multi-area adaptive indoor positioning method based on RSSI ranging of the present invention;

图4是本发明一种基于RSSI测距改进的多区域自适应室内定位方法实 验场景图;Fig. 4 is a kind of multi-area self-adaptive indoor positioning method experimental scene figure based on RSSI ranging improvement of the present invention;

图5是本发明一种基于RSSI测距改进的多区域自适应室内定位方法中 测距误差对比结果图;Fig. 5 is a kind of ranging error comparison result figure in the multi-area self-adaptive indoor positioning method based on RSSI ranging improvement of the present invention;

图6是本发明一种基于RSSI测距改进的多区域自适应室内定位方法定 位误差对比结果图。Fig. 6 is a diagram of comparison results of positioning errors of an improved multi-region adaptive indoor positioning method based on RSSI ranging in the present invention.

具体实施方式Detailed ways

下面结合附图和具体实施方式对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明一种基于RSSI测距改进的多区域自适应室内定位方法,流程图 如图2所示,具体按照以下步骤实施:The present invention is a multi-area self-adaptive indoor positioning method based on RSSI ranging improvement, the flow chart is as shown in Figure 2, specifically implemented according to the following steps:

步骤1:将目标区域按照室内结构特点划分为多个子区域环境,构建基 于环境参数库的Shadowing扩展模型,具体按照以下步骤实施:Step 1: Divide the target area into multiple sub-regional environments according to the characteristics of the indoor structure, and build an extended Shadowing model based on the environmental parameter library. Specifically, follow the steps below:

步骤(1.1)、将定位覆盖区域按照目标区域结构进行分割,形成n个子 区域,将定位覆盖区域用A表示,则A={a1,a2,a3,…,an};Step (1.1), divide the positioning coverage area according to the structure of the target area to form n sub-areas, and use A to represent the positioning coverage area, then A={a 1 , a 2 , a 3 ,..., a n };

步骤(1.2)、设每个子区域ai处于同一环境下,其中i=1,2,…,n,则 按照Shadowing模型,每个ai对应其他区域的路径损耗指数ni表示为:Step (1.2), assuming that each sub-area a i is in the same environment, where i=1, 2, ..., n, then according to the Shadowing model, each a i corresponds to the path loss index n i of other areas expressed as:

ni={ni1,ni2,…,nin}n i = {n i1 , n i2 ,..., n in }

同理,参考距离处RSSI值为则路径 损耗指数N和参考距离d0点对应的接收信号功率Pr(D0)分别表示如下:Similarly, the RSSI value at the reference distance is Then the path loss index N and the received signal power Pr(D 0 ) corresponding to the reference distance d 0 point are respectively expressed as follows:

上式中,i=1,2,3,…,n;j=1,2,3,…,n;In the above formula, i=1,2,3,...,n; j=1,2,3,...,n;

其中,nij为N中任意一个路径损耗指数,表示信号发射器AP所属区 域ai与待测点p所在区域aj之间的路径损耗指数;Pr(d0ij)为Pr(D0)中任意一 个参考距离处RSSI值,表示AP所属区域ai与待测点p所在区域aj在参考 距离d0处对应的接收信号功率值,且nij=nji,Pr(d0ij)=Pr(d0ji),构建环境 参数库K=(Pr(D0),N),Among them, n ij is any path loss index in N, indicating the path loss index between the area a i where the signal transmitter AP belongs to and the area a j where the point p to be measured is located; Pr(d 0ij ) is The RSSI value at any reference distance indicates the received signal power value corresponding to the area a i where the AP belongs to and the area a j where the point p to be measured is located at the reference distance d 0 , and n ij =n ji , Pr(d 0ij )=Pr (d 0ji ), build environment parameter library K=(Pr(D 0 ),N),

则Shadowing扩展模型为:Then the Shadowing extension model is:

Shadowing模型具体表达式为:The specific expression of the Shadowing model is:

Pr(d)=Pr(d0)-10nlg(d/d0)+Xδ Pr(d)=Pr(d 0 )-10nlg(d/d 0 )+X δ

其中,Pr(d)表示接收端的接收到的RSSI值;Pr(d0)是参考距离d0点对 应的接收到的RSSI值;n为路径损耗指数,n与环境相关;d表示接收端与 发射端之间的距离;d0为参考距离,通常情况下d0通常取1m;Xδ表示高斯 随机变量,Xδ平均值为0,主要反映当距离一定时,接收信号功率的变化;Among them, Pr(d) represents the received RSSI value of the receiving end; Pr(d 0 ) is the received RSSI value corresponding to the reference distance d 0 point; n is the path loss index, and n is related to the environment; d represents the receiving end and The distance between the transmitters; d 0 is the reference distance, usually d 0 is usually 1m; X δ represents a Gaussian random variable, and the average value of X δ is 0, which mainly reflects the change of received signal power when the distance is constant;

环境参数库K通过以下步骤更新:The environmental parameter library K is updated through the following steps:

步骤a、实时获取参考距离处RSSI并进行卡尔曼滤波过滤;Step a, obtain the RSSI at the reference distance in real time and perform Kalman filtering;

步骤b、通过Shadowing扩展模型计算各个AP对应的路径损耗指数n, 并对同一区域或者符合区域的各路径损耗指数n均值化处理;Step b, calculate the path loss index n corresponding to each AP through the Shadowing extended model, and average the path loss index n in the same area or corresponding area;

步骤c、更新环境参数库K;Step c, updating the environment parameter database K;

步骤2:对Shadowing扩展模型而言,当所处环境不同时,则对应的环 境参数也不同,而且这种不同的环境和参数易造成路径损耗指数N处于一个 活跃状态,难以对其值进行精准确定,为此,基于Shadowing扩展模型,设 计与步骤1得到的Shadowing扩展模型相匹配的硬件系统结构,如图1所示, 在待定位区域搭建局域网环境,并在已划分的各个区域布置AP和锚节点, 每个区域至少布置1台锚节点和4台AP设备,其中AP设备必须有1台AP 充当参考点AP,同时,该网络环境保证锚节点设备能够通过互联网将扫描 到的所有AP信息及时上传至服务器,以备环境参数库更新,当待定位点获 取到周边AP信息时,并从互联网端获取实时的环境参数库,完成待定位点 处的位置确定,Step 2: For the Shadowing extended model, when the environment is different, the corresponding environmental parameters are also different, and such different environments and parameters are likely to cause the path loss index N to be in an active state, and it is difficult to accurately determine its value , to this end, based on the extended Shadowing model, design a hardware system structure that matches the extended Shadowing model obtained in step 1, as shown in Figure 1, build a LAN environment in the area to be located, and arrange APs and anchors in each divided area Node, at least one anchor node and four AP devices are arranged in each area, and one AP device must have one AP as a reference point AP. Upload to the server to prepare for the update of the environmental parameter library. When the point to be positioned obtains the surrounding AP information, it will obtain the real-time environment parameter library from the Internet to complete the location determination of the point to be positioned.

由室内定位硬件系统模型进而得到:设一个区域的硬件设备用H表示, 并存在关系:H={APij,Sij};APij表示任意一个单台AP,Sij则表示任意一个 锚节点S,并且布置区域及位置已知,其中i表示设备所属区域,j表示设备 编号,i,j∈(1,2,3,...,n);From the indoor positioning hardware system model, it can be obtained that the hardware equipment in an area is represented by H, and there is a relationship: H={AP ij , S ij }; AP ij represents any single AP, and S ij represents any anchor node S, and the layout area and location are known, where i indicates the area to which the equipment belongs, j indicates the equipment number, i,j∈(1,2,3,...,n);

步骤3:借助所述步骤1构建的Shadowing扩展模型和与所述步骤2得 到的硬件系统结构,实现环境参数库的更新,在此过程中利用卡尔曼滤波算 法对参考距离处接收到的RSSI值进行过滤,具体为:Step 3: With the help of the Shadowing extended model constructed in the step 1 and the hardware system structure obtained in the step 2, the update of the environmental parameter library is realized, and the RSSI value received at the reference distance is analyzed by the Kalman filter algorithm To filter, specifically:

结合步骤2得到的室内定位硬件系统模型,在覆盖区域的四周处设置信 号发射器AP(距墙体至少0.3m),在区域中心位置设置锚节点,并且均置 于“开”状态,则锚节点在等时间间隔t内循环扫描附近的AP信息,同时将 这些信息通过局域网发送给服务器,服务器根据接收到的锚节点ID、信号 发射器AP的MAC判断各自所属区域和位置坐标,同时,根据Shadowing 扩展模型计算和更新N以及接收信号功率Pr(D0);Combined with the indoor positioning hardware system model obtained in step 2, set the signal transmitter AP (at least 0.3m away from the wall) around the coverage area, and set the anchor node at the center of the area, and put them in the "on" state, then the anchor The node scans the nearby AP information cyclically within the equal time interval t, and sends the information to the server through the LAN at the same time. The server judges the respective area and location coordinates according to the received anchor node ID and the MAC of the signal transmitter AP. The Shadowing extended model calculates and updates N and received signal power Pr(D 0 );

根据Shadowing扩展模型计算和更新N和接收信号功率Pr(D0)具体为:Calculate and update N and received signal power Pr(D 0 ) according to the Shadowing extended model as follows:

假设某一子区域或复合区域内有m个信号发射器AP,则该区域路径损 耗指数n计算过程如下:Assuming that there are m signal transmitter APs in a sub-area or compound area, the calculation process of the path loss index n in this area is as follows:

上式中,i表示该区域第i个信号发射器AP,根据路径损耗指数n的计 算过程,需要锚节点实时获取周围AP的UUID、RSSI、MAC等信息,进行 区域识别及参数计算,并实时更新当前的环境参数库K,从而达到对环境的 自适应,实现室内定位精准度提高的目的;In the above formula, i represents the i-th signal transmitter AP in the area. According to the calculation process of the path loss index n, the anchor node needs to obtain the UUID, RSSI, MAC and other information of the surrounding APs in real time, perform area identification and parameter calculation, and real-time Update the current environmental parameter library K, so as to achieve self-adaptation to the environment and improve the accuracy of indoor positioning;

由于RSSI值极易受到外界环境噪声的干扰,易处于一种波动状态。这在 一定程度上表明:参考距离处RSSI值既是一个参数,也是一个影响环境参数 库K的指标,或者是影响后续测距乃至定位精确度的一个重要因素。而卡尔 曼滤波作为高斯过程中的一种最优滤波算法,其在对象模型足够准确并且系 统状态和参数不发生突变的前提下,具有很好的优化性能,因此,在环境参 数库K的更新过程中,借助卡尔曼滤波算法,对获取到的参考点AP的RSSI 值进行预处理,以降低外界环境对Shadowing扩展模型的影响,从而达到提 高环境参数库质量以及室内定位精准度的目的;Since the RSSI value is easily disturbed by external environmental noise, it is easy to be in a fluctuating state. This shows to a certain extent that the RSSI value at the reference distance is not only a parameter, but also an index that affects the environmental parameter library K, or an important factor that affects subsequent ranging and positioning accuracy. As an optimal filtering algorithm in the Gaussian process, the Kalman filter has good optimization performance under the premise that the object model is accurate enough and the system state and parameters do not change suddenly. Therefore, the update of the environmental parameter library K During the process, the Kalman filter algorithm is used to preprocess the obtained RSSI value of the reference point AP to reduce the influence of the external environment on the Shadowing extended model, so as to achieve the purpose of improving the quality of the environmental parameter library and the accuracy of indoor positioning;

借助步骤2得到的Shadowing扩展模型,假设Shadowing扩展模型为离散 控制系统,而且,该系统能够用线性随机微分方程描述,则卡尔曼滤波的过 程方程和观测方程如下所示:With the help of the extended Shadowing model obtained in step 2, assuming that the extended Shadowing model is a discrete control system, and the system can be described by a linear stochastic differential equation, the process equation and observation equation of the Kalman filter are as follows:

xk=Axk-1+Buk-1+qk-1 x k =Ax k-1 +Bu k-1 +q k-1

yk=Hxk+rk y k =Hx k +r k

上式中,xk是k时刻待优化的RSSI值,uk-1是k-1时刻对系统的控制量,A 和B是系统参数,yk是k时刻RSSI测量值,H是测量参数,在多测量系统中用 矩阵表示,qk-1和rk分别表示噪声,根据概率统计理论,qk-1和rk通常被认为 是高斯白噪声,两者具有均值为0这一个重要特性,为此,两者的协方差表 示为:In the above formula, x k is the RSSI value to be optimized at time k, u k-1 is the control quantity of the system at time k-1, A and B are system parameters, y k is the measured value of RSSI at time k, and H is the measurement parameter , represented by a matrix in a multi-measurement system, q k-1 and r k represent noise respectively, according to the theory of probability and statistics, q k-1 and r k are generally considered to be Gaussian white noise, and both have an important mean value of 0 characteristics, for which the covariance of the two is expressed as:

上式中,Qk和Rk分别表示系统噪声和测量噪声的协方差矩阵。In the above formula, Q k and R k represent the covariance matrix of system noise and measurement noise, respectively.

对于满足上两个条件,卡尔曼滤波器具有最优的信息处理器,为此,在 上一步的离散控制系统中,卡尔曼滤波器表示成以下两个过程,即:For satisfying the above two conditions, the Kalman filter has the optimal information processor. Therefore, in the discrete control system in the previous step, the Kalman filter is expressed as the following two processes, namely:

(1)时间更新:(1) Time update:

(2)状态更新:(2) Status update:

上式中,表示预测的k时刻系统状态值;表示过程噪声Q预测的新 误差;Kk表示卡尔曼增益;表示k时刻系统最优状态值;In the above formula, Indicates the predicted system state value at time k; Denotes the new error of the process noise Q prediction; K k denotes the Kalman gain; Indicates the optimal state value of the system at time k;

步骤4:极大似然估计进行位置估计,具体为:Step 4: Maximum likelihood estimation for position estimation, specifically:

通过步骤3卡尔曼滤波算法对参考距离处获取的RSSI值进行过滤并计 算相应的路径损耗指数及更新环境参数库,假设目标位置为p(x0,y0),则在 点p接收到n个,其中,n>=4,AP信息所在的位置表示为AP(xi,yi),i∈1,2,…,n, 结合Shadowing扩展模型,计算出目标与各AP之间的距离di,i∈1,2,…,n, 具体计算过程如下:Filter the RSSI value obtained at the reference distance through the Kalman filter algorithm in step 3 and calculate the corresponding path loss index and update the environmental parameter library. Assuming that the target position is p(x 0 ,y 0 ), then n is received at point p Among them, n>=4, the location of the AP information is expressed as AP( xi , y i ), i∈1,2,...,n, combined with the Shadowing extended model, the distance between the target and each AP is calculated d i , i∈1,2,…,n, the specific calculation process is as follows:

在上式中,利用最后一项分别与其他项做差值计算,得到如下所示的方 程式:In the above formula, use the last item to calculate the difference with other items respectively, and get the following equation:

令x=(x0,y0)T,则上式用矩阵形式Ax=b表示为:Let x=(x 0 ,y 0 ) T , then the above formula is expressed in matrix form Ax=b as:

则由最小二乘法对矩阵进行求解,得:Then solve the matrix by least squares method, get:

x=(ATA)-1ATbx=(A T A) -1 A T b

由此,利用极大似然估计进行目标定位。Thus, target location is performed using maximum likelihood estimation.

为了验证提出的基于RSSI测距改进的多区域自适应室内定位方法,选 取和布局如图4所示的实验场景。同时,根据环境空间特点,将实验场景分 为A、B和C3个区域(分别为6.65m×3.6m、8m×1.75m和6.65m×3.6m), 其中每个区域定点放置4台AP(其中1个也可为参考点AP)和1台锚节点。AP来自于智石科技提供iBeacon信号发射基站BrightBeacon,锚节点来自于 智石科技的远程控制终端CloudBeacon。共选取21个点作为待测目标点,每 个点采集3s,目标点处信号采集设备选取小米2S(Android 5.0.2)。In order to verify the proposed improved multi-area adaptive indoor positioning method based on RSSI ranging, the experimental scene shown in Figure 4 is selected and laid out. At the same time, according to the characteristics of the environment space, the experimental scene is divided into 3 areas A, B and C (respectively 6.65m×3.6m, 8m×1.75m and 6.65m×3.6m), in which 4 APs are placed at fixed points in each area ( One of them can also be a reference point AP) and one anchor node. The AP comes from BrightBeacon, the iBeacon signal transmitting base station provided by Zhishi Technology, and the anchor node comes from the remote control terminal CloudBeacon of Zhishi Technology. A total of 21 points are selected as the target points to be measured, each point is collected for 3s, and the signal acquisition device at the target point is Xiaomi 2S (Android 5.0.2).

首先对目标区域进行采集样本数据,以获取3个区域的环境参数均值(其 中:RSSI值对应的参考距离为1m,格式为(Pr(d0),n)),其结果如表1所 示:First, sample data is collected in the target area to obtain the mean values of the environmental parameters in the three areas (the reference distance corresponding to the RSSI value is 1m, and the format is (Pr(d 0 ), n)), and the results are shown in Table 1 :

表1各区域环境参数均值Table 1 Mean values of environmental parameters in each region

根据表1中的数据,选择Shadowing模型均值方法、Shadowing扩展模 型均值方法(即扩展均值方法),与本文提出的方法在测距精确度方面进行 测试。在定位测试前,对实验所需的各个参数进行初始化。具体的参数初始 值如表2所示:According to the data in Table 1, the Shadowing model mean method and the Shadowing extended model mean method (that is, the extended mean method) are selected, and the method proposed in this paper is tested in terms of ranging accuracy. Before the positioning test, initialize each parameter required for the experiment. The specific initial values of the parameters are shown in Table 2:

表2初始值设置Table 2 Initial value setting

在实验过程中,首先对目标区域随机选取10个点,每个点采集3s,并 根据每个点获取的AP信息进行均值化处理。由于本文提出的方法是基于 RSSI测距的,为此选取均值最大的4个AP点,分别使用均值方法、扩展均 值方法进行计算,并对测距方面的性能进行对比,其结果如图5所示。During the experiment, firstly, 10 points are randomly selected in the target area, each point is collected for 3 seconds, and the mean value processing is performed according to the AP information obtained at each point. Since the method proposed in this paper is based on RSSI distance measurement, the four AP points with the largest average value are selected, and the average value method and the extended average method are used for calculation respectively, and the performance of distance measurement is compared. The results are shown in Figure 5 Show.

由图5可知,基于卡尔曼滤波算法改进RSSI测距的多区域环境自适应 室内定位方法,其最大值误差值为1.36m,平均误差0.524m;扩展均值方法 的其最大误差值为2.57m,平均误差0.647m;均值方法的最大误差值为 2.29m,平均误差0.802m,这一实验结果说明测距误差最大的是均值方法。 而且,基于卡尔曼滤波算法改进RSSI测距的定位方法与均值方法和扩展均 值方法相比,平均误差分别降低了34.66%和19.01%,这一结果也说明具有 较小测距误差的方法有利于提高室内定位的精准度。It can be seen from Figure 5 that the multi-area environment adaptive indoor positioning method based on the Kalman filter algorithm to improve RSSI ranging has a maximum error value of 1.36m and an average error of 0.524m; the maximum error value of the extended mean method is 2.57m, The average error is 0.647m; the maximum error value of the average method is 2.29m, and the average error is 0.802m. This experimental result shows that the average method has the largest ranging error. Moreover, compared with the mean method and the extended mean method, the positioning method based on the Kalman filter algorithm to improve RSSI ranging reduces the average error by 34.66% and 19.01%, respectively. This result also shows that the method with a smaller ranging error is beneficial to Improve the accuracy of indoor positioning.

在此基础上,为进步验证探讨精准度过低问题的产生机理,从A、B、 C三个区域选取21个待定位点进行实验设计并进行测试,则得到的室内定 位测试结果如图6所示。On this basis, in order to further verify and explore the mechanism of the problem of low accuracy, 21 points to be positioned are selected from the three areas A, B, and C for experimental design and testing. The indoor positioning test results are shown in Figure 6 shown.

由图6可知,基于卡尔曼滤波算法改进RSSI测距定位方法的平均误差 为1.0005m,扩展均值方法的平均定位误差1.1785m,而均值方法的平均定 位误差1.2895m,相比较而言,误差分别下降了15.1%和22.41%。而且在这 21处待定位点中,基于卡尔曼滤波算法改进RSSI测距定位方法有15个点 的误差率均小于其他两种,同时该方法的可靠度高达71.43%。进而,在13 号点处,3种方法都达到各自误差的最大值,其中均值定位误差最大,而在 5号点,基于卡尔曼滤波算法改进RSSI测距定位方法的误差小于0.5米。除 此之外,扩展均值定位误差与基于卡尔曼滤波算法改进RSSI测距定位方法 的误差几乎接近。这一结果,意味着当目标区域环境局部发生改变时,室内 定位误差会变大,但是基于卡尔曼滤波算法改进RSSI测距定位方法定时对 该区域进行数据采集并更新环境参数库K,有效地削弱了局部环境变化对室 内定位精准度的影响,从而体现出良好的环境自适应的特点。It can be seen from Figure 6 that the average error of the improved RSSI ranging and positioning method based on the Kalman filter algorithm is 1.0005m, the average positioning error of the extended mean method is 1.1785m, and the average positioning error of the mean method is 1.2895m. In comparison, the errors are respectively A drop of 15.1% and 22.41%. Moreover, among the 21 points to be located, the error rate of 15 points based on the improved RSSI ranging and positioning method based on the Kalman filter algorithm is lower than that of the other two, and the reliability of this method is as high as 71.43%. Furthermore, at point 13, the three methods all reached the maximum value of their respective errors, and the mean positioning error was the largest, while at point 5, the error of the improved RSSI ranging and positioning method based on the Kalman filter algorithm was less than 0.5 meters. In addition, the extended mean positioning error is almost close to the error of the improved RSSI ranging positioning method based on the Kalman filter algorithm. This result means that when the local environment of the target area changes, the indoor positioning error will become larger, but the improved RSSI ranging and positioning method based on the Kalman filter algorithm regularly collects data in the area and updates the environmental parameter library K, effectively Weaken the impact of local environmental changes on indoor positioning accuracy, thus reflecting the characteristics of good environmental adaptation.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普 通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润 饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be It is regarded as the protection scope of the present invention.

Claims (8)

1. one kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is characterised in that specifically according to following Step is implemented:
Step 1:Target area is divided into more sub-regions environment according to doors structure feature, built based on ambient parameter storehouse Shadowing extended models;
Step 2:Design and build the hardware system structure that the Shadowing extended models obtained with the step 1 match;
Step 3:The Shadowing extended models built by the step 1 and the hardware system knot obtained with the step 2 Structure, the renewal in ambient parameter storehouse is realized, in the process using Kalman filtering algorithm to the RSSI that is received at reference distance Value is filtered;
Step 4:Maximum-likelihood estimation carries out location estimation.
2. one kind according to claim 1 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is that the step 1 is specifically implemented according to following steps:
Step (1.1), will positioning overlay area split according to target area structure, formed n sub-regions, will positioning covering Region represents with A, then A={ a1, a2, a3..., an};
Step (1.2), set every sub-regions aiUnder same environment, wherein i=1,2 ..., n, then according to Shadowing moulds Type, each aiThe path loss index n in other corresponding regionsiIt is expressed as:
ni={ ni1, ni2..., nin}
Similarly, RSSI value is at reference distanceThen path loss index N and Reference distance d0Received signal power Pr (D corresponding to point0) represent as follows respectively:
Wherein, nijFor any one path loss index in N, signal projector AP affiliated areas a is representediWith tested point p places Region ajBetween path loss index;Pr(d0ij) it is Pr (D0) in RSSI value at any one reference distance, represent belonging to AP Region aiWith tested point p region ajIn reference distance d0Received signal power value corresponding to place, and nij=nji, Pr (d0ij) =Pr (d0ji), constructing environment parameter library K=(Pr (D0), N),
So Shadowing extended models are:
3. one kind according to claim 2 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is that the Shadowing models expression is:
Pr (d)=Pr (d0)-10nlg(d/d0)+Xδ
Wherein, Pr (d) represents the RSSI value received of receiving terminal;Pr(d0) it is reference distance d0Received corresponding to place RSSI value;N is path loss index, n and environmental correclation;D represents the distance between receiving terminal and transmitting terminal;d0For with reference to away from From;XsRepresent Gaussian random variable, XsAverage value is 0, and main reflection is when the timing of distance one, the change of received signal power.
4. one kind according to claim 2 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is that the ambient parameter storehouse K is updated by following steps:
Step a, RSSI at reference distance is obtained in real time and carries out Kalman filtering filtering;
Step b, path loss index n corresponding to each AP is calculated by Shadowing extended models, and to the same area or Meet each path loss index n equalizations processing in region;
Step c, ambient parameter storehouse K is updated.
5. one kind according to claim 1 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is that the indoor positioning hardware system model being adapted with Shadowing extended models that the step 2 designs meets following Condition:
LAN environment is built in area to be targeted, and AP and anchor node are arranged in the regional divided, each region is extremely Arrange that 1 anchor node and 4 AP equipment, wherein AP equipment there must be 1 AP to serve as reference point AP less.Meanwhile the network environment Ensure that anchor node device can be uploaded onto the server all AP information scanned in time by internet, in case ambient parameter Storehouse updates, and obtains real-time ambient parameter storehouse when point to be determined gets periphery AP information, and from internet end, completes undetermined Position determination at site,
By indoor positioning hardware system model and then obtain:If the hardware device in a region is represented with H, and relation be present:H= {APij,Sij};APijRepresent any one separate unit AP, SijThen represent that any one anchor node S, wherein i represent the affiliated area of equipment Domain, j represent device numbering, i, j ∈ (1,2,3 ..., n).
6. one kind according to claim 1 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is that the step 3 is specially:
The indoor positioning hardware system model obtained with reference to the step 2, the setting signal transmitter at the surrounding of overlay area AP, heart position sets anchor node in the zone, and is placed in "On" state, then anchor node is circulated in constant duration t and swept Neighbouring AP information is retouched, while these information are sent to server by LAN, server is according to the anchor node received ID, signal projector AP MAC judge respective affiliated area and position coordinates, meanwhile, calculated according to Shadowing extended models With renewal N and received signal power Pr (D0)。
7. one kind according to claim 6 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is, is calculated according to Shadowing extended models and updates N and received signal power Pr (D0) be specially:
Assuming that there is m signal projector AP in a certain subregion or recombination region, then the zone routing loss index n calculating process It is as follows:
In above formula, i represents i-th of region signal projector AP, according to path loss index n calculating process, it is necessary to anchor section Point obtains the information such as surrounding AP UUID, RSSI in real time, carries out region recognition and parameter calculates, and the environment that real-time update is current Parameter library K, so as to reach to the adaptive of environment, realize the purpose that indoor positioning precision improves;
Assuming that Shadowing extended models are discrete control system, moreover, the system can be retouched with the linear random differential equation State, then the process equation of Kalman filtering and observational equation are as follows:
xk=Axk-1+Buk-1+qk-1
yk=Hxk+rk
In above formula, xkIt is k moment RSSI value to be optimized, uk-1It is controlled quentity controlled variable of the k-1 moment to system, A and B are systematic parameters, ykIt is k moment rssi measurement values, H is measurement parameter, is represented in more measuring systems with matrix, qk-1And rkNoise is represented respectively, According to Probability Statistics Theory, qk-1And rkWhite Gaussian noise is typically considered, it is 0 this key property that both, which have average, Therefore, both covariances are expressed as:
In above formula, QkAnd RkThe covariance matrix of system noise and measurement noise is represented respectively,
Therefore, Kalman filter is expressed as following two processes, i.e.,:
(1) time updates:
(2) state updates:
In above formula,Represent the k moment system mode values of prediction;Represent the new error of process noise Q predictions;KkRepresent karr Graceful gain;Represent k moment system optimal state values.
8. one kind according to claim 1 is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings, it is special Sign is that the step 4 is specially:
Assuming that target location is p (x0,y0), then n are received in point p, wherein, n>Positional representation where=4, AP information is AP(xi,yi), i ∈ 1,2 ..., n, then the distance between target and each AP di, i ∈ 1,2 ..., n, calculating process is as follows:
In above formula, mathematic interpolation is done with other respectively using last, obtains following equation:
Make x=(x0,y0)T, then above formula be expressed as with matrix form Ax=b:
Matrix is solved by least square method, obtained:
X=(ATA)-1ATb
By x=(x0,y0)T=(ATA)-1ATB can determine point to be determined p (x0,y0) location coordinate information, according to target area Coordinate diagram and p (x0,y0) point coordinates realizes location estimation.
CN201710599477.XA 2017-07-21 2017-07-21 One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings Pending CN107801147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710599477.XA CN107801147A (en) 2017-07-21 2017-07-21 One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710599477.XA CN107801147A (en) 2017-07-21 2017-07-21 One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings

Publications (1)

Publication Number Publication Date
CN107801147A true CN107801147A (en) 2018-03-13

Family

ID=61530310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710599477.XA Pending CN107801147A (en) 2017-07-21 2017-07-21 One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings

Country Status (1)

Country Link
CN (1) CN107801147A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696820A (en) * 2018-05-23 2018-10-23 苏州博联科技有限公司 Indoor orientation method based on iBeacon ranging technologies
CN108900964A (en) * 2018-06-07 2018-11-27 安徽融合智能科技有限公司 Intelligent switch device and control method based on bluetooth ranging
CN110967669A (en) * 2019-11-29 2020-04-07 东北大学 An Indoor Nearest Neighbor Localization Method Based on RSSI
CN113259842A (en) * 2021-06-01 2021-08-13 闽南师范大学 Wi-Fi indoor positioning method based on RSSI ranging model
CN113435057A (en) * 2021-07-12 2021-09-24 西安工程大学 Reliability evaluation method for spinning machine performance degradation
CN113645565A (en) * 2021-07-08 2021-11-12 南京邮电大学 Indoor positioning method based on hexagonal closest packing structure
CN114979943A (en) * 2022-05-18 2022-08-30 东南大学 RSSI indoor positioning algorithm based on RAUKF
CN116017488A (en) * 2023-01-04 2023-04-25 中国人民解放军61905部队 Method and system for large-area scattering communication coverage prediction based on boundary search
CN117812536A (en) * 2023-12-29 2024-04-02 南华大学 Protective method for security electronic fence for radioactive article transportation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170006436A1 (en) * 2015-07-02 2017-01-05 Tata Consultancy Services Limited Determining location of a user device
CN106353725A (en) * 2016-09-30 2017-01-25 上海应用技术大学 RSSI (Received Signal Strength Indication) based indoor moving target location method
CN106658643A (en) * 2016-12-08 2017-05-10 南京航空航天大学 RSSI based valid anchor node selecting method
CN106842120A (en) * 2017-04-11 2017-06-13 东北林业大学 RSSI indoor multipaths scattering localization method based on optimized algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170006436A1 (en) * 2015-07-02 2017-01-05 Tata Consultancy Services Limited Determining location of a user device
CN106353725A (en) * 2016-09-30 2017-01-25 上海应用技术大学 RSSI (Received Signal Strength Indication) based indoor moving target location method
CN106658643A (en) * 2016-12-08 2017-05-10 南京航空航天大学 RSSI based valid anchor node selecting method
CN106842120A (en) * 2017-04-11 2017-06-13 东北林业大学 RSSI indoor multipaths scattering localization method based on optimized algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王蕊超: "一种基于RSSI测距改进的多区域自适应室内定位方法", 《西安工程大学学报》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696820A (en) * 2018-05-23 2018-10-23 苏州博联科技有限公司 Indoor orientation method based on iBeacon ranging technologies
CN108900964A (en) * 2018-06-07 2018-11-27 安徽融合智能科技有限公司 Intelligent switch device and control method based on bluetooth ranging
CN110967669B (en) * 2019-11-29 2023-06-13 东北大学 Indoor nearest neighbor positioning method based on RSSI
CN110967669A (en) * 2019-11-29 2020-04-07 东北大学 An Indoor Nearest Neighbor Localization Method Based on RSSI
CN113259842A (en) * 2021-06-01 2021-08-13 闽南师范大学 Wi-Fi indoor positioning method based on RSSI ranging model
CN113645565A (en) * 2021-07-08 2021-11-12 南京邮电大学 Indoor positioning method based on hexagonal closest packing structure
CN113645565B (en) * 2021-07-08 2022-10-04 南京邮电大学 An Indoor Positioning Method Based on Hexagonal Closest Packing Structure
CN113435057A (en) * 2021-07-12 2021-09-24 西安工程大学 Reliability evaluation method for spinning machine performance degradation
CN113435057B (en) * 2021-07-12 2023-01-13 西安工程大学 A Reliability Evaluation Method for Performance Degradation of Spinning Frame
CN114979943A (en) * 2022-05-18 2022-08-30 东南大学 RSSI indoor positioning algorithm based on RAUKF
CN114979943B (en) * 2022-05-18 2024-11-29 东南大学 RAUKF-based RSSI indoor positioning algorithm
CN116017488A (en) * 2023-01-04 2023-04-25 中国人民解放军61905部队 Method and system for large-area scattering communication coverage prediction based on boundary search
CN116017488B (en) * 2023-01-04 2023-09-01 中国人民解放军61905部队 Boundary search-based large-area scattering communication coverage prediction method and system
CN117812536A (en) * 2023-12-29 2024-04-02 南华大学 Protective method for security electronic fence for radioactive article transportation

Similar Documents

Publication Publication Date Title
CN107801147A (en) One kind is based on the adaptive indoor orientation method of the improved multizone of RSSI rangings
CN104853317B (en) The structure and update method of fingerprint base in a kind of WiFi indoor positionings
US9217788B2 (en) Location and tracking system
CN110557716B (en) An indoor localization method based on lognormal model
EP2739988B1 (en) Devices, methods, and systems for radio map generation
CN104483658B (en) Based on Wi-Fi and the indoor orientation method in earth's magnetic field
US8330654B2 (en) Method and apparatus for positioning mobile device
CN105676172B (en) Method, device and system for cluster magnetic field localization
JP2015531053A (en) System, method, and computer program for dynamically creating a radio map
US9979559B2 (en) Feedback in a positioning system
CN103905992A (en) Indoor positioning method based on wireless sensor networks of fingerprint data
LT6116B (en) The method for the indoor positioning of wireless local area network (wlan) devices
Lamoureux et al. Fusion particle and fingerprint recognition for indoor positioning system on mobile
CN201699986U (en) Indoor Positioning Device Based on WLAN
Rozum et al. Bluetooth low power portable indoor positioning system using simo approach
WO2021077218A1 (en) Stable and accurate indoor localization based on predictive hyperbolic location fingerprinting
Bal et al. A 3-D indoor location tracking and visualization system based on wireless sensor networks
Shiraki et al. Indoor pedestrian localization methods using contact information from Bluetooth low energy beacons between smartphones
Xu et al. Variance-based fingerprint distance adjustment algorithm for indoor localization
Kessel et al. Automated WLAN calibration with a backtracking particle filter
Trogh et al. Advanced indoor localisation based on the Viterbi algorithm and semantic data
CN114900885B (en) Positioning method based on self-adaptive front position constraint
Barba et al. Wireless indoor positioning: effective deployment of cells and auto-calibration
CN110346760A (en) A kind of positioning system and localization method based on passive RF
KR102362314B1 (en) Apparatus and method building radio map

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313

RJ01 Rejection of invention patent application after publication