CN107205268A - A kind of 3-D positioning method based on radio communication base station - Google Patents
A kind of 3-D positioning method based on radio communication base station Download PDFInfo
- Publication number
- CN107205268A CN107205268A CN201710269149.3A CN201710269149A CN107205268A CN 107205268 A CN107205268 A CN 107205268A CN 201710269149 A CN201710269149 A CN 201710269149A CN 107205268 A CN107205268 A CN 107205268A
- Authority
- CN
- China
- Prior art keywords
- msub
- mrow
- msup
- mtd
- mtr
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000004891 communication Methods 0.000 title claims abstract description 27
- 238000005259 measurement Methods 0.000 claims description 14
- 239000011159 matrix material Substances 0.000 claims description 13
- 238000009499 grossing Methods 0.000 claims description 10
- 239000000654 additive Substances 0.000 claims description 8
- 230000000996 additive effect Effects 0.000 claims description 8
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 238000001914 filtration Methods 0.000 claims description 6
- 101000802640 Homo sapiens Lactosylceramide 4-alpha-galactosyltransferase Proteins 0.000 claims description 5
- 102100035838 Lactosylceramide 4-alpha-galactosyltransferase Human genes 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000011156 evaluation Methods 0.000 claims description 4
- 238000005457 optimization Methods 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 abstract description 3
- 238000002474 experimental method Methods 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 abstract description 2
- 230000002401 inhibitory effect Effects 0.000 abstract 1
- 230000004807 localization Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 230000005526 G1 to G0 transition Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001629 suppression 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/06—Position of source determined by co-ordinating a plurality of position lines defined by path-difference 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)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种基于无线通信基站的三维定位方法。The invention relates to the communication field, in particular to a three-dimensional positioning method based on a wireless communication base station.
背景技术Background technique
由于无线通信网络与移动互联网的大力发展,提供基于地理位置信息的服务(简称LBS)业已成为最有市场潜力的业务之一。目前,实现精确定位的手段有GPS定位、WiFi定位、无线通信基站定位等。GPS定位虽然精度高但是有2个缺陷:一是无法解决室内定位,二是费用比较昂贵;WiFi定位的覆盖范围有限,并且WiFi信号的工作频段易受干扰。所以,使用基于运营商的无线通信基站进行定位就成为本发明的选择,不但可以进行准确定位,而且可以规避上述问题。现代商用通信基站可以用于确定终端(用户的手机)在三维空间中的位置坐标,也就是三维定位问题。但现有通信基站的定位方法也存在以下问题,基站计时与手机终端计时无法精确同步从而影响定位精度的问题;非视距传播(NLOS)对定位精度带来的影响;无线电信号在传播过程中受噪声干扰导致接收到的信号强度剧烈波动继续影响定位的问题。Due to the vigorous development of wireless communication networks and mobile Internet, providing services based on geographic location information (abbreviated as LBS) has become one of the businesses with the most market potential. At present, the means to achieve precise positioning include GPS positioning, WiFi positioning, wireless communication base station positioning, etc. Although GPS positioning has high precision, it has two defects: one is that it cannot solve indoor positioning, and the other is that it is expensive; the coverage of WiFi positioning is limited, and the working frequency band of WiFi signals is susceptible to interference. Therefore, positioning using a wireless communication base station based on an operator becomes the choice of the present invention, which can not only perform accurate positioning, but also avoid the above-mentioned problems. Modern commercial communication base stations can be used to determine the position coordinates of the terminal (user's mobile phone) in three-dimensional space, that is, the three-dimensional positioning problem. However, the positioning methods of existing communication base stations also have the following problems. The timing of the base station and the timing of the mobile phone terminal cannot be accurately synchronized, which affects the positioning accuracy; the impact of non-line-of-sight propagation (NLOS) on the positioning accuracy; A problem where the received signal strength fluctuates violently due to noise interference and continues to affect positioning.
发明内容Contents of the invention
针对上述技术问题,本发明设计开发了一种收敛速度快,对干扰和噪声具有鲁棒性的基于无线通信基站的三维定位方法。In view of the above technical problems, the present invention designs and develops a three-dimensional positioning method based on a wireless communication base station that has fast convergence speed and is robust to interference and noise.
本发明提供的技术方案为:The technical scheme provided by the invention is:
一种基于无线通信基站的三维定位方法,包括:A three-dimensional positioning method based on a wireless communication base station, comprising:
步骤一、假定手机终端到第一个基站与第个基站的距离差是di,1,采取卡尔曼平滑滤波算法对每组的所有测量值进行平滑滤波处理,然后取平稳阶段的估计值的均值作为滤波优化后的di,1值;Step 1. Assuming that the distance difference between the mobile terminal and the first base station and the second base station is di, 1, use the Kalman smoothing filter algorithm to smooth and filter all the measured values of each group, and then take the mean value of the estimated values in the stationary phase As the di,1 value after filter optimization;
步骤二、计算出终端的位置估计值:Step 2. Calculate the estimated position of the terminal:
假设一移动终端到第i个基站的距离是di,则:Assuming that the distance between a mobile terminal and the i-th base station is di, then:
假定移动终端到第一个基站与第i个基站的距离差是di,1,这两个基站发出的信号到达移动终端的时间差为Δti,1,Δti,1=|ti-t1|,则di,1=c×Δti,1,c为电磁波在空间中的传播速度;Assuming that the distance difference between the mobile terminal and the first base station and the i-th base station is d i,1 , the time difference between the signals sent by these two base stations arriving at the mobile terminal is Δt i,1 , Δt i,1 =|t i -t 1 |, then d i, 1 = c×Δt i, 1 , c is the propagation speed of electromagnetic waves in space;
继而有:di,1=di 2-d1 2=(x-xi)2+(y-yi)2+(z-zi)2-(x-x1)2-(y-y1)2-(z-z1)2;Then: d i,1 =d i 2 -d 1 2 =(xx i ) 2 +(yy i ) 2 +(zz i ) 2 -(xx 1 ) 2 -(yy 1 ) 2 -(zz 1 ) 2 ;
令Xi,1=x-xi,Yi,1=y-yi,Zi,1=z-zi,则上式可简化为:Let X i,1 =xx i , Y i,1 =yy i , Zi ,1 =zz i , then the above formula can be simplified as:
其中Ki=xi 2+yi 2+zi 2;where K i = x i 2 +y i 2 + z i 2 ;
当基站数目N=4时,根据d1的值,则所述移动终端的位置估计值为:When the number of base stations N= 4 , according to the value of d1, the estimated value of the position of the mobile terminal is:
优选的是,所述的基于无线通信基站的三维定位方法中,所述步骤一的具体过程为:Preferably, in the described three-dimensional positioning method based on the wireless communication base station, the specific process of the step 1 is:
在定位期间,保持终端的位置不变,获取在多次di,1的观测值;在测量过程中真实值受到加性噪声n(k)的干扰,假设任意两个时刻的噪声互相独立,根据卡尔曼平滑滤波理论,建立系统状态估计,设系统的状态方程与参数方程分别为:During the positioning period, keep the position of the terminal unchanged, and obtain the observed value at multiple times d i, 1 ; during the measurement process, the real value is interfered by additive noise n(k), assuming that the noise at any two moments is independent of each other, According to the Kalman smoothing filter theory, the state estimation of the system is established, and the state equation and parameter equation of the system are set as:
X(k)=X(k-1),X(k)=X(k-1),
Z(k)=X(k)+n(k),Z(k)=X(k)+n(k),
其中,X(k)表示k时刻di,1的真实值,Z(k)是k时刻di,1的观测值,X(k)的最佳估计由卡尔曼滤波方程给出:Among them, X(k) represents the true value of d i , 1 at time k, Z(k) is the observed value of d i, 1 at time k, and the best estimate of X(k) is given by the Kalman filter equation:
预测: predict:
状态估计: State estimation:
滤波增益为:K(k)=P(k,k-1)[P(k,k-1)+σ2]-1,The filter gain is: K(k)=P(k,k-1)[P(k,k-1)+σ 2 ] -1 ,
预测的误差协方差为:P(k,k-1)=P(k-1),The predicted error covariance is: P(k,k-1)=P(k-1),
估计的误差协方差为:P(k)=[1-K(k)]P(k,k-1),The estimated error covariance is: P(k)=[1-K(k)]P(k,k-1),
给定初始值和P(0),由k时刻的di,1观测值计算出k时刻的值,起始状态的估计为:从第3个di,1的观测值开始计算。given initial value and P(0), from the observed value of d i, 1 at time k to calculate the value, the estimate of the starting state is: The calculation starts from the observation value of the third d i,1 .
优选的是,所述的基于无线通信基站的三维定位方法,还包括:Preferably, the described three-dimensional positioning method based on the wireless communication base station also includes:
步骤三、使用平均定位误差评价公式对定位精度进行评估:Step 3. Use the average positioning error evaluation formula to evaluate the positioning accuracy:
其中,RMSE表示定位的均方误差;M表示移动终端的个数;表示某场景中第k个移动终端计算出来的三维坐标;(xk,yk,zk)表示某场景中第k个移动终端的实际三维坐标。Among them, RMSE represents the mean square error of positioning; M represents the number of mobile terminals; Indicates the three-dimensional coordinates calculated by the kth mobile terminal in a certain scene; (x k , y k , z k ) indicates the actual three-dimensional coordinates of the kth mobile terminal in a certain scene.
一种基于无线通信基站的三维定位方法,包括:A three-dimensional positioning method based on a wireless communication base station, comprising:
步骤一、假定手机终端到第一个基站与第个基站的距离差是di,1,采取卡尔曼平滑滤波算法对每组的所有测量值进行平滑滤波处理,然后取平稳阶段的估计值的均值作为滤波优化后的di,1值;Step 1. Assuming that the distance difference between the mobile terminal and the first base station and the second base station is d i, 1 , the Kalman smoothing filter algorithm is used to smooth and filter all the measured values of each group, and then take the estimated value of the stationary stage The mean value is used as the value of d i, 1 after filtering optimization;
步骤二、计算出终端的位置估计值:Step 2. Calculate the estimated position of the terminal:
假设一移动终端到第i个基站的距离是di,则:Suppose the distance between a mobile terminal and the i-th base station is d i , then:
假定移动终端到第一个基站与第i个基站的距离差是di,1,这两个基站发出的信号到达移动终端的时间差为Δti,1,Δti,1=|ti-t1|,则di,1=c×Δti,1,c为电磁波在空间中的传播速度;Assuming that the distance difference between the mobile terminal and the first base station and the i-th base station is d i,1 , the time difference between the signals sent by these two base stations arriving at the mobile terminal is Δt i,1 , Δt i,1 =|t i -t 1 |, then d i, 1 = c×Δt i, 1 , c is the propagation speed of electromagnetic waves in space;
继而有:di,1=di 2-d1 2=(x-xi)2+(y-yi)2+(z-zi)2-(x-x1)2-(y-y1)2-(z-z1)2;Then: d i,1 =d i 2 -d 1 2 =(xx i ) 2 +(yy i ) 2 +(zz i ) 2 -(xx 1 ) 2 -(yy 1 ) 2 -(zz 1 ) 2 ;
令Xi,1=x-xi,Yi,1=y-yi,zi,1=z-zi,则上式可简化为:Let X i,1 =xx i , Y i,1 =yy i , z i,1 =zz i , then the above formula can be simplified as:
其中Ki=xi 2+yi 2+zi 2;where K i = x i 2 +y i 2 + z i 2 ;
当基站个数N≥5时,用加权最小二乘法利用冗余数据计算移动终端的位置估计值,其具体过程包括:When the number of base stations is N≥5, the weighted least squares method is used to calculate the estimated position of the mobile terminal using redundant data. The specific process includes:
(1)先把初始的非线性方程组转化为线性方程组,采用加权最小二乘法得到第一次初始解za:(1) First put the initial nonlinear equations Transformed into a system of linear equations, using the weighted least squares method to obtain the first initial solution z a :
令:为未知向量,其中,zp=[x,y,z]T,则建立存在TDOA测量噪声的线性方程:Ψ=h-Gaza;make: is an unknown vector, where z p =[x,y,z] T , then establish a linear equation with TDOA measurement noise: Ψ=hG a z a ;
其中, in,
为移动终端的实际位置所对应的za值; z a value corresponding to the actual position of the mobile terminal;
假定za各个元素之间是互相独立的,za的加权最小二乘估计的结果是:Assuming that the elements of z a are independent of each other, the result of the weighted least squares estimation of z a is:
其中,φ为误差向量ψ的协方差矩阵,φ=E[ψψT]=c2BQB,Among them, φ is the covariance matrix of the error vector ψ, φ=E[ψψ T ]=c 2 BQB,
Q为TDOA测量值的协方差矩阵,Q is the covariance matrix of TDOA measurements,
根据求得; according to obtain;
(2)利用第一次得到的估计坐标以及附加变量等已知约束条件进行第2次WLS估计,从而得到改进的估计坐标:(2) Use the estimated coordinates obtained for the first time and the known constraints such as additional variables to perform the second WLS estimation to obtain improved estimated coordinates:
先估计za的协方差矩阵,在所给定的加性噪声的条件下:First estimate the covariance matrix of z a , under the condition of given additive noise:
其中,则有: in, Then there are:
令则有:make Then there are:
向量za为一均值为实际值的随机向量,za各元素表示为:The vector z a is a random vector whose mean is the actual value, and each element of z a is expressed as:
za,1=x0+e1,za,2=y0+e2,za,3=z0+e3,za,4=d0+e4,其中e1,e2,e3,e4为za的估计误差;进而建立以下线性方程组:z a,1 =x 0 +e 1 , z a,2 =y 0 +e 2 , z a,3 =z 0 +e 3 , z a,4 =d 0 +e 4 , where e 1 ,e 2 , e 3 , e 4 are the estimation error of z a ; then establish the following linear equations:
其中,ψ'为za的误差向量,则得到含有终端位置的未知向量za'的解为: Among them, ψ' is the error vector of z a , Then the solution of the unknown vector z a ' containing the terminal position is obtained as:
其中,φ'-1为估计误差的协方差矩阵,Among them, φ' -1 is the covariance matrix of the estimation error,
最终,得到终端的三维位置表达式:Finally, the three-dimensional position expression of the terminal is obtained:
优选的是,所述的基于无线通信基站的三维定位方法中,所述步骤一的具体过程为:Preferably, in the described three-dimensional positioning method based on the wireless communication base station, the specific process of the step 1 is:
在定位期间,保持终端的位置不变,获取在多次di,1的观测值;在测量过程中真实值受到加性噪声n(k)的干扰,假设任意两个时刻的噪声互相独立,根据卡尔曼平滑滤波理论,建立系统状态估计,设系统的状态方程与参数方程分别为:During the positioning period, keep the position of the terminal unchanged, and obtain the observed value at multiple times d i, 1 ; during the measurement process, the real value is interfered by additive noise n(k), assuming that the noise at any two moments is independent of each other, According to the Kalman smoothing filter theory, the state estimation of the system is established, and the state equation and parameter equation of the system are set as:
X(k)=X(k-1),X(k)=X(k-1),
Z(k)=X(k)+n(k),Z(k)=X(k)+n(k),
其中,X(k)表示k时刻di,1的真实值,Z(k)是k时刻di,1的观测值,X(k)的最佳估计由卡尔曼滤波方程给出:Among them, X(k) represents the true value of d i , 1 at time k, Z(k) is the observed value of d i, 1 at time k, and the best estimate of X(k) is given by the Kalman filter equation:
预测: predict:
状态估计: State estimation:
滤波增益为:K(k)=P(k,k-1)[P(k,k-1)+σ2]-1,The filter gain is: K(k)=P(k,k-1)[P(k,k-1)+σ 2 ] -1 ,
预测的误差协方差为:P(k,k-1)=P(k-1),The predicted error covariance is: P(k,k-1)=P(k-1),
估计的误差协方差为:P(k)=[1-K(k)]P(k,k-1),The estimated error covariance is: P(k)=[1-K(k)]P(k,k-1),
给定初始值和P(0),由k时刻的di,1观测值计算出k时刻的值,起始状态的估计为:从第3个di,1的观测值开始计算。given initial value and P(0), from the observed value of d i, 1 at time k to calculate the value, the estimate of the starting state is: The calculation starts from the observation value of the third d i,1 .
优选的是,所述的基于无线通信基站的三维定位方法,还包括:Preferably, the described three-dimensional positioning method based on the wireless communication base station also includes:
步骤三、使用平均定位误差评价公式对定位精度进行评估:Step 3. Use the average positioning error evaluation formula to evaluate the positioning accuracy:
其中,RMSE表示定位的均方误差;M表示移动终端的个数;表示某场景中第k个移动终端计算出来的三维坐标;(xk,yk,zk)表示某场景中第k个移动终端的实际三维坐标。Among them, RMSE represents the mean square error of positioning; M represents the number of mobile terminals; Indicates the three-dimensional coordinates calculated by the kth mobile terminal in a certain scene; (x k , y k , z k ) indicates the actual three-dimensional coordinates of the kth mobile terminal in a certain scene.
本发明所述的基于无线通信基站的三维定位方法基于TDOA测距原理利用尽可能少的基站完成对终端设备的定位、所设计的算法具备收敛速度快、对于干扰和噪声具有鲁棒性等特点。本定位方法尤其适用于以下场所:高楼林立的城区、建筑物内部、地下停车场等。The three-dimensional positioning method based on the wireless communication base station described in the present invention is based on the TDOA ranging principle and uses as few base stations as possible to complete the positioning of the terminal equipment. The designed algorithm has the characteristics of fast convergence speed and robustness to interference and noise. . This positioning method is especially suitable for the following places: urban areas with many high-rise buildings, inside buildings, underground parking lots, etc.
本发明所述的基于无线通信基站的三维定位方法解决了GPS无法进行室内定位的问题;解决了WiFi定位覆盖范围有限且工作频段易受干扰的问题;解决了基站计时与手机终端计时无法精确同步从而影响定位精度的问题;解决了非视距传播(NLOS)对定位精度带来的影响;解决了无线电信号在传播过程中受噪声干扰导致接收到的信号强度剧烈波动继续影响定位的问题。The three-dimensional positioning method based on the wireless communication base station of the present invention solves the problem that GPS cannot perform indoor positioning; solves the problem that WiFi positioning coverage is limited and the working frequency band is easily interfered; solves the problem that the timing of the base station and the timing of the mobile phone terminal cannot be accurately synchronized Thus affecting the positioning accuracy; solving the impact of non-line-of-sight propagation (NLOS) on positioning accuracy; solving the problem that the radio signal is disturbed by noise during the propagation process and the received signal strength fluctuates violently and continues to affect positioning.
附图说明Description of drawings
图1为本发明所述的基于无线通信基站的三维定位方法的示意图。FIG. 1 is a schematic diagram of a three-dimensional positioning method based on a wireless communication base station according to the present invention.
图2为本发明所述的不同基站数目的定位精度对比图。Fig. 2 is a comparison diagram of positioning accuracy of different numbers of base stations according to the present invention.
具体实施方式detailed description
下面结合附图对本发明做进一步的详细说明,以令本领域技术人员参照说明书文字能够据以实施。The present invention will be further described in detail below in conjunction with the accompanying drawings, so that those skilled in the art can implement it with reference to the description.
如图1所示,本发明设计了一种基于无线通信基站的三维定位方法。之后,本发明使用实测数据对本定位方法进行实验。实验测试表明,此方法能够实现较好的定位精度,对NLOS、同步误差及噪声干扰有较好的抑制作用。As shown in Figure 1, the present invention designs a three-dimensional positioning method based on a wireless communication base station. Afterwards, the present invention uses the measured data to conduct experiments on the positioning method. Experimental tests show that this method can achieve better positioning accuracy, and has a better suppression effect on NLOS, synchronization error and noise interference.
本发明所述的基于无线通信基站的三维定位方法基于TDOA测距原理利用尽可能少的基站完成对终端设备的定位、所设计的算法具备收敛速度快、对于干扰和噪声具有鲁棒性等特点。本定位方法尤其适用于以下场所:高楼林立的城区、建筑物内部、地下停车场等。这是因为这些应用场景无论是基站数目还是移动电话数量都很密集,可为基站定位提供足够的定位数据。The three-dimensional positioning method based on the wireless communication base station described in the present invention is based on the TDOA ranging principle and uses as few base stations as possible to complete the positioning of the terminal equipment. The designed algorithm has the characteristics of fast convergence speed and robustness to interference and noise. . This positioning method is especially suitable for the following places: urban areas with many high-rise buildings, inside buildings, underground parking lots, etc. This is because these application scenarios are dense in both the number of base stations and the number of mobile phones, which can provide sufficient positioning data for base station positioning.
影响基站三维定位的精度的因素有:(1)、基站与手机的时间同步问题;(2)、电磁环境的噪声影响测量数据的准确性;(3)、非视距(NLOS)导致的时延。在这3个影响因素中,NLOS对测距误差的影响是最大的,而且对于室内定位,NLOS是不可避免的一个因素。The factors that affect the accuracy of the three-dimensional positioning of the base station are: (1), the time synchronization problem between the base station and the mobile phone; (2), the noise of the electromagnetic environment affects the accuracy of the measurement data; (3), the time caused by non-line-of-sight (NLOS) delay. Among the three influencing factors, NLOS has the greatest impact on the ranging error, and for indoor positioning, NLOS is an inevitable factor.
本发明解决了GPS无法进行室内定位的问题;解决了WiFi定位覆盖范围有限且工作频段易受干扰的问题;解决了基站计时与手机终端计时无法精确同步从而影响定位精度的问题;解决了非视距传播(NLOS)对定位精度带来的影响;(因为查阅相关资料可知,NLOS对定位精度的影响是最普遍也是最大的,所以本方法着重解决这一问题);解决了无线电信号在传播过程中受噪声干扰导致接收到的信号强度剧烈波动继续影响定位的问题。The invention solves the problem that GPS cannot perform indoor positioning; solves the problem that WiFi positioning coverage is limited and the working frequency band is easily interfered; The impact of distance propagation (NLOS) on positioning accuracy; (because consulting relevant information shows that the impact of NLOS on positioning accuracy is the most common and largest, so this method focuses on solving this problem); solves the radio signal in the propagation process The problem that the received signal strength fluctuates violently due to noise interference continues to affect positioning.
本三维定位方法的核心是根据信号从手机终端到两个不同的基站的时间差(得到相应的TDOA数据)计算出距离,然后求解定位方程组。由于方程组是非线性的,所以采用二重最小二乘法(WLS)对定位方程组进行变形求解。但是,由于NLOS以及环境噪声的影响,会使测量误差增大算法的性能下降。The core of the three-dimensional positioning method is to calculate the distance according to the time difference of the signal from the mobile terminal to two different base stations (to obtain the corresponding TDOA data), and then solve the positioning equations. Since the equations are nonlinear, the double least squares (WLS) method is used to solve the positioning equations. However, due to the influence of NLOS and environmental noise, the performance of the measurement error increasing algorithm will be degraded.
因此,本发明采取以下2个步骤解决上述问题:第一步、采取Kalman滤波算法对每组的所有di,1测量值进行平滑滤波处理(假定手机终端到第一个基站与第1个基站的距离差是di,:),然后取平稳阶段的估计值的均值作为滤波优化后的di,1值。第二步、利用优化后的di,1值,计算出终端的位置估计值。Therefore, the present invention takes the following two steps to solve the above-mentioned problem: the first step, adopts the Kalman filter algorithm to carry out smoothing filtering process to all d i of each group, 1 measurement value (assuming that the mobile phone terminal arrives at the first base station and the first base station The distance difference is d i , :), and then take the mean value of the estimated value in the stationary stage as the optimized d i, 1 value after filtering. In the second step, the estimated value of the position of the terminal is calculated by using the optimized value of d i,1 .
假设某个移动终端(MS)到第个基站的距离是di,则:Assuming that a mobile terminal (MS) arrives at the The distance between base stations is d i , then:
假定终端到第一个基站与第i个基站的距离差是di,1,这两个基站发出的信号到达终端的时间差为Δti,1(Δti,1=|ti-t1|),则di,1,=c×Δti,1。(c为电磁波在空间中的传播速度,一般取3×108m/s)。Assuming that the distance difference between the terminal and the first base station and the i-th base station is d i, 1 , the time difference between the signals sent by these two base stations arriving at the terminal is Δt i, 1 (Δt i, 1 =|t i -t 1 | ), then d i,1 ,=c×Δt i,1 . (c is the propagation speed of electromagnetic waves in space, generally 3×10 8 m/s).
继而有:di,1=di 2-d1 2=(x-xi)2+(y-yi)2+(z-zi)2-(x-x1)2-(y-y1)2-(z-z1)2 (2)Then: d i,1 =d i 2 -d 1 2 =(xx i ) 2 +(yy i ) 2 +(zz i ) 2 -(xx 1 ) 2 -(yy 1 ) 2 -(zz 1 ) 2 (2)
令Xi,1=x-xi,Yi,1=y-yi,Zi,1=z-zi,则上式可简化为:Let X i,1 =xx i , Y i,1 =yy i , Zi ,1 =zz i , then the above formula can be simplified as:
其中Ki=xi 2+yi 2+zi 2;where K i = x i 2 +y i 2 + z i 2 ;
当基站数目N=4时,根据d1的值,则所述移动终端的位置估计值为:When the number of base stations N= 4 , according to the value of d1, the estimated value of the position of the mobile terminal is:
当基站的数目N≥5时,就可以用加权最小二乘法(WLS)来充分利用冗余的数据获得更加好的终端位置估计值。When the number of base stations N≥5, the weighted least square method (WLS) can be used to make full use of redundant data to obtain a better terminal position estimation value.
在实际的三维定位中本发明所测得的TDOA数据(TDOA,Time Difference OfArrival,到达时间差。本方法中,TDOA数据为Δti,1。)非常可能包含在NLOS环境下所测得的信息,因此,本发明应该先对有关数据做卡尔曼平滑滤波处理,获取更加精确的距离值,从而提高定位精度:In the actual three-dimensional positioning, the TDOA data (TDOA, Time Difference Of Arrival, time difference of arrival. In this method, the TDOA data measured by the present invention is Δt i, 1. ) is very likely to include the information measured under the NLOS environment, Therefore, the present invention should first perform Kalman smoothing filter processing on the relevant data to obtain a more accurate distance value, thereby improving the positioning accuracy:
在定位期间,终端的位置不变,获得多次di,1的值。在测量过程中真实值受到加性噪声n(k)的干扰,假设任意两个时刻的噪声互相独立,根据Kalman滤波理论,建立系统状态估计,设系统的状态方程与参数方程分别为:During positioning, the position of the terminal remains unchanged, and the value of d i,1 is obtained multiple times. During the measurement process, the real value is disturbed by additive noise n(k). Assuming that the noise at any two moments is independent of each other, according to the Kalman filter theory, the system state estimation is established. The state equation and parameter equation of the system are respectively:
X(k)=X(k-1) (5)Z(k)=X(k)+n(k) (6)X(k)=X(k-1) (5) Z(k)=X(k)+n(k) (6)
其中,X(k)表示k时刻di,1的真实值,Z(k)是k时刻di,1的观测值,X(k)的最佳估计可以由Kalman滤波方程给出:Among them, X(k) represents the true value of d i , 1 at time k, Z(k) is the observed value of d i, 1 at time k, and the best estimate of X(k) can be given by the Kalman filter equation:
更进一步预测: Further predictions:
状态估计: State estimation:
滤波增益为:K(k)=P(k,k-1)[P(k,k-1)+σ2]-1 (9)The filter gain is: K(k)=P(k,k-1)[P(k,k-1)+σ 2 ] -1 (9)
预测的误差协方差为:P(k,k-1)=P(k-1) (10)The predicted error covariance is: P(k,k-1)=P(k-1) (10)
估计的误差协方差为:P(k)=[1-K(k)]P(k,k-1) (11)The estimated error covariance is: P(k)=[1-K(k)]P(k,k-1) (11)
综上,只要给定初始值和P(0),由k时刻的观测值就可以计算出k时刻的值。起始状态的估计为:从第3个di,1的观测值开始计算。In summary, as long as the initial value is given and P(0), the observed value at k time can be calculated from the k time value. The estimate for the starting state is: The calculation starts from the observation value of the third d i,1 .
经过上述Kalman滤波得到优化后的di,1值,本发明就可以利用这些值计算出终端的更精确的位置估计。The optimized values of d i,1 are obtained through the above Kalman filtering, and the present invention can use these values to calculate a more accurate position estimation of the terminal.
当基站个数N≥5时,本发明可以用加权最小二乘法(WLS)来充分利用冗余的数据获得更加好的终端位置估计值,处理过程如下:When the number of base stations N≥5, the present invention can use the weighted least square method (WLS) to make full use of redundant data to obtain a better terminal position estimate, and the process is as follows:
(1)先把初始的非线性方程组(3)转化为线性方程组,采用WLS得到第一次初始解;(2)、利用第一次得到的估计坐标以及附加变量等已知约束条件进行第2次WLS估计,从而得到改进的估计坐标。(1) First convert the initial nonlinear equations (3) into linear equations, and use WLS to obtain the first initial solution; (2), use the estimated coordinates obtained for the first time and known constraints such as additional variables to carry out 2nd WLS estimate, resulting in improved estimated coordinates.
令:为未知向量,其中,zp=[x,y,z]T,则可建立存在TDOA测量噪声的线性方程:Ψ=h-Gaza (12)make: is an unknown vector, where z p =[x,y,z] T , then a linear equation with TDOA measurement noise can be established: Ψ=hG a z a (12)
其中, in,
为终端的实际位置所对应的za值。在求解非线性方程时,假定za各个元素之间是互相独立的,za的加权最小二乘估计的结果是: is the z a value corresponding to the actual position of the terminal. When solving nonlinear equations, it is assumed that the elements of z a are independent of each other, and the result of the weighted least squares estimation of z a is:
其中,φ为误差向量ψ的协方差矩阵。查阅相关资料知:φ=E[ψψT]=c2BQB,where φ is the covariance matrix of the error vector ψ. Check relevant information: φ=E[ψψ T ]=c 2 BQB,
Q为TDOA测量值的协方差矩阵。Q is the covariance matrix of TDOA measurements.
可以根据求得。通过(13)式本发明就可以得到终端位置的初步估计结果,但是这个结果是在za中各个元素互相独立的前提下计算出来的估计值,实际上za中的d是与(x,y,z)相关的。用Q近似代替误差向量的协方差矩阵φ会带来一些误差,为了进一步得到更加精确的定位坐标值,本发明进行第二步估计。首先估计za的协方差矩阵,在题目所给的加性噪声的条件下: can be based on Get it. The present invention can obtain the preliminary estimation result of the terminal position through the formula (13), but this result is an estimated value calculated under the premise that each element in z a is independent of each other, in fact d in z a is the same as (x, y, z) related. Replacing the covariance matrix φ of the error vector with Q approximation will bring some errors. In order to further obtain more accurate positioning coordinate values, the present invention performs the second step of estimation. First estimate the covariance matrix of z a , under the condition of additive noise given in the title:
因为所以根据式子(12)得: because So according to formula (12):
令则有:make Then there are:
向量za为一均值为实际值的随机向量,因此za各元素可以表示为:The vector z a is a random vector whose mean is the actual value, so each element of z a can be expressed as:
za,1=x0+e1,za,2=y0+e2,za,3=z0+e3,za,4=d0+e4,其中e1,e2,e3,e4为za的估计误差。进而建立以下线性方程组:z a,1 =x 0 +e 1 , z a,2 =y 0 +e 2 , z a,3 =z 0 +e 3 , z a,4 =d 0 +e 4 , where e 1 ,e 2 , e 3 , e 4 are the estimated errors of z a . Then establish the following linear equations:
其中,ψ'为za的误差向量, Among them, ψ' is the error vector of z a ,
与基站数目N=4时的推导类似,本发明可以得到含有终端位置的未知向量za'的解为:Similar to the derivation when the number of base stations is N=4, the present invention can obtain the solution of the unknown vector z a ' containing the terminal position as:
其中,φ'-1为估计误差的协方差矩阵,Among them, φ' -1 is the covariance matrix of the estimation error,
最终,得到终端的三维位置表达式:Finally, the three-dimensional position expression of the terminal is obtained:
此时,本发明根据先验信息就可以确定终端的精确位置。At this time, the present invention can determine the precise location of the terminal according to the prior information.
最后,在本定位方法中,本发明使用平均定位误差对以上模型的定位精度进行评估:Finally, in this positioning method, the present invention uses the average positioning error to evaluate the positioning accuracy of the above model:
其中,RMSE表示定位的均方误差;M表示终端的个数;某场景中第k个终端根据本定位方法计算出来的三维坐标;(xk,yk,zk)表示某场景中第k个终端的实际三维坐标。Among them, RMSE represents the mean square error of positioning; M represents the number of terminals; The three-dimensional coordinates of the kth terminal in a certain scene calculated according to the positioning method; (x k , y k , z k ) represent the actual three-dimensional coordinates of the kth terminal in a certain scene.
在实际中本发明测量并计算得到20组TDOA数据(每组TDOA数据都对应不同的地理位置),使用上述定位方法利用其中的任意5组数据以及任意的9组数据进行定位,并且比对每个地理位置的实际值计算出每次定位的误差RMSE,得到表1和表2。In practice, the present invention measures and calculates 20 sets of TDOA data (each set of TDOA data corresponds to a different geographic location), uses the above-mentioned positioning method to utilize any 5 sets of data and any 9 sets of data for positioning, and compares each Calculate the error RMSE of each positioning from the actual value of each geographic location, and get Table 1 and Table 2.
表1基于5个基站的定位误差表Table 1 Positioning error table based on 5 base stations
由上表可以看出,本定位方法对手机终端的定位精度较高,平均定位误差≤10米,基本符合日常定位需求。It can be seen from the above table that this positioning method has high positioning accuracy for mobile terminals, and the average positioning error is ≤10 meters, which basically meets the daily positioning requirements.
下表是利用9个不同的基站对手机终端进行定位的误差表。The following table is the error table of using 9 different base stations to locate the mobile terminal.
表2基于9个基站的定位误差表Table 2 Positioning error table based on 9 base stations
由上表可以看出,本定位方法对手机终端的定位精度较高,平均定位误差≤10米,符合日常定位需求。It can be seen from the above table that this positioning method has high positioning accuracy for mobile terminals, and the average positioning error is ≤10 meters, which meets the daily positioning requirements.
此外,本发明首先任选5个基站对手机终端进行定位分析。请查阅图2,结果发现基站数目为5个时定位的RMSE偏差较大,从5个基站开始定位精度随着基站数目的增加快速增加,而基站数目≥9个以后则变化不大。尽管本发明的实施方案已公开如上,但其并不仅仅限于说明书和实施方式中所列运用,它完全可以被适用于各种适合本发明的领域,对于熟悉本领域的人员而言,可容易地实现另外的修改,因此在不背离权利要求及等同范围所限定的一般概念下,本发明并不限于特定的细节和这里示出与描述的图例。In addition, the present invention first selects 5 base stations to perform positioning analysis on the mobile terminal. Please refer to Figure 2. It turns out that when the number of base stations is 5, the RMSE deviation of positioning is relatively large. From 5 base stations, the positioning accuracy increases rapidly with the increase of the number of base stations, and the number of base stations ≥ 9 does not change much. Although the embodiment of the present invention has been disclosed as above, it is not limited to the use listed in the specification and implementation, it can be applied to various fields suitable for the present invention, and it can be easily understood by those skilled in the art Therefore, the invention is not limited to the specific details and examples shown and described herein without departing from the general concept defined by the claims and their equivalents.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710269149.3A CN107205268A (en) | 2017-04-24 | 2017-04-24 | A kind of 3-D positioning method based on radio communication base station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710269149.3A CN107205268A (en) | 2017-04-24 | 2017-04-24 | A kind of 3-D positioning method based on radio communication base station |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107205268A true CN107205268A (en) | 2017-09-26 |
Family
ID=59906439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710269149.3A Pending CN107205268A (en) | 2017-04-24 | 2017-04-24 | A kind of 3-D positioning method based on radio communication base station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107205268A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108124309A (en) * | 2017-12-13 | 2018-06-05 | 成都恒高科技有限公司 | A kind of navigation-type range difference computational methods, TDOA localization methods and device |
CN108279007A (en) * | 2018-01-23 | 2018-07-13 | 哈尔滨工业大学 | A kind of localization method and device based on random signal |
CN108513254A (en) * | 2018-02-12 | 2018-09-07 | 广州盛之焰信息科技有限公司 | A kind of interior 3-D positioning method |
CN108650629A (en) * | 2018-04-26 | 2018-10-12 | 兰州理工大学温州泵阀工程研究院 | A kind of indoor three-dimensional location based on radio communication base station |
CN109100683A (en) * | 2018-06-29 | 2018-12-28 | 福州大学 | Chan- weighted mass center indoor orientation method based on Kalman filtering |
CN109115219A (en) * | 2018-07-13 | 2019-01-01 | 国网江西省电力有限公司信息通信分公司 | A kind of indoor 3-D positioning method based on scene indices |
CN109743701A (en) * | 2018-12-04 | 2019-05-10 | 东南大学 | Indoor 3D localization method based on ultra-wideband communication |
CN110161298A (en) * | 2019-07-04 | 2019-08-23 | 苏州妙益科技股份有限公司 | A kind of redundant current acquisition method based on weighted least-squares method |
CN110798886A (en) * | 2019-11-04 | 2020-02-14 | 北京邮电大学 | Positioning method and device |
CN111491366A (en) * | 2020-03-06 | 2020-08-04 | 西安电子科技大学 | Method for correcting three-dimensional positioning of target based on wireless communication base station and wireless communication system |
CN111505574A (en) * | 2020-03-18 | 2020-08-07 | 中国民用航空总局第二研究所 | An optimized distributed positioning method and system |
CN113063422A (en) * | 2021-03-22 | 2021-07-02 | 中国科学院国家授时中心 | Clock difference considered 5G terminal indoor positioning method |
CN113207086A (en) * | 2021-04-20 | 2021-08-03 | 武汉大学 | 5G base station time synchronization error elimination method based on known coordinate reference station |
CN113412432A (en) * | 2019-02-15 | 2021-09-17 | 三菱电机株式会社 | Positioning device, positioning system, mobile terminal, and positioning method |
CN114585082A (en) * | 2022-03-11 | 2022-06-03 | 国网江苏省电力有限公司电力科学研究院 | A wireless positioning method, device and storage medium for power Internet of Things equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060047430A1 (en) * | 2004-08-26 | 2006-03-02 | Baker Hughes Incorporated | Method and apparatus for improving wireline depth measurements |
CN103476116A (en) * | 2013-09-23 | 2013-12-25 | 东南大学 | Anti-NLoS error locating method based on location unit quality and multi-algorithm data fusion |
-
2017
- 2017-04-24 CN CN201710269149.3A patent/CN107205268A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060047430A1 (en) * | 2004-08-26 | 2006-03-02 | Baker Hughes Incorporated | Method and apparatus for improving wireline depth measurements |
CN103476116A (en) * | 2013-09-23 | 2013-12-25 | 东南大学 | Anti-NLoS error locating method based on location unit quality and multi-algorithm data fusion |
Non-Patent Citations (1)
Title |
---|
李招华 等: "基于Chan的TDOA三维定位算法", 《现代电信科技》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108124309A (en) * | 2017-12-13 | 2018-06-05 | 成都恒高科技有限公司 | A kind of navigation-type range difference computational methods, TDOA localization methods and device |
CN108124309B (en) * | 2017-12-13 | 2020-04-07 | 成都四相致新科技有限公司 | Navigation type distance difference calculating method, TDOA positioning method and TDOA positioning device |
CN108279007B (en) * | 2018-01-23 | 2020-03-17 | 哈尔滨工业大学 | Positioning method and device based on random signal |
CN108279007A (en) * | 2018-01-23 | 2018-07-13 | 哈尔滨工业大学 | A kind of localization method and device based on random signal |
CN108513254A (en) * | 2018-02-12 | 2018-09-07 | 广州盛之焰信息科技有限公司 | A kind of interior 3-D positioning method |
CN108650629A (en) * | 2018-04-26 | 2018-10-12 | 兰州理工大学温州泵阀工程研究院 | A kind of indoor three-dimensional location based on radio communication base station |
CN108650629B (en) * | 2018-04-26 | 2020-04-03 | 兰州理工大学温州泵阀工程研究院 | Indoor three-dimensional positioning algorithm based on wireless communication base station |
CN109100683A (en) * | 2018-06-29 | 2018-12-28 | 福州大学 | Chan- weighted mass center indoor orientation method based on Kalman filtering |
CN109115219A (en) * | 2018-07-13 | 2019-01-01 | 国网江西省电力有限公司信息通信分公司 | A kind of indoor 3-D positioning method based on scene indices |
CN109115219B (en) * | 2018-07-13 | 2021-11-05 | 国网江西省电力有限公司信息通信分公司 | An indoor 3D localization method based on scene coefficients |
CN109743701A (en) * | 2018-12-04 | 2019-05-10 | 东南大学 | Indoor 3D localization method based on ultra-wideband communication |
CN113412432A (en) * | 2019-02-15 | 2021-09-17 | 三菱电机株式会社 | Positioning device, positioning system, mobile terminal, and positioning method |
CN110161298A (en) * | 2019-07-04 | 2019-08-23 | 苏州妙益科技股份有限公司 | A kind of redundant current acquisition method based on weighted least-squares method |
CN110161298B (en) * | 2019-07-04 | 2021-09-21 | 苏州妙益科技股份有限公司 | Redundant current acquisition method based on weighted least square method |
CN110798886A (en) * | 2019-11-04 | 2020-02-14 | 北京邮电大学 | Positioning method and device |
CN111491366A (en) * | 2020-03-06 | 2020-08-04 | 西安电子科技大学 | Method for correcting three-dimensional positioning of target based on wireless communication base station and wireless communication system |
CN111505574A (en) * | 2020-03-18 | 2020-08-07 | 中国民用航空总局第二研究所 | An optimized distributed positioning method and system |
CN113063422A (en) * | 2021-03-22 | 2021-07-02 | 中国科学院国家授时中心 | Clock difference considered 5G terminal indoor positioning method |
CN113207086A (en) * | 2021-04-20 | 2021-08-03 | 武汉大学 | 5G base station time synchronization error elimination method based on known coordinate reference station |
CN114585082A (en) * | 2022-03-11 | 2022-06-03 | 国网江苏省电力有限公司电力科学研究院 | A wireless positioning method, device and storage medium for power Internet of Things equipment |
CN114585082B (en) * | 2022-03-11 | 2024-05-07 | 国网江苏省电力有限公司电力科学研究院 | A wireless positioning method, device and storage medium for power Internet of Things equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107205268A (en) | A kind of 3-D positioning method based on radio communication base station | |
CN107318084B (en) | Fingerprint positioning method and device based on optimal similarity | |
CN106793060B (en) | Ultra-wideband indoor positioning method | |
Tarrio et al. | A new positioning technique for RSS-based localization based on a weighted least squares estimator | |
CN102970749B (en) | Multi-base-station successive approximation positioning method | |
Mahiddin et al. | Indoor position detection using WiFi and trilateration technique | |
JP2017015562A (en) | Setup system and setup method for indoor positioning system | |
CN113115224B (en) | Indoor positioning method and indoor positioning device | |
CN104053234A (en) | A Coordinate Error Compensation Positioning System and Method Based on RSSI | |
Bai et al. | A new approach for indoor customer tracking based on a single Wi-Fi connection | |
KR101872234B1 (en) | Apparatus and method for determining location of mobile terminal in mobile communication | |
CN106383333A (en) | Improved time delay estimation method based on mutual correlation | |
Reddy et al. | An improved time-of-arrival estimation for WLAN-based local positioning | |
CN108966341A (en) | A kind of localization method and positioning device | |
Schmitz et al. | TDOA fingerprinting for localization in non-line-of-sight and multipath environments | |
Zwirello et al. | Localization in industrial halls via ultra-wideband signals | |
Pradhan et al. | Mathematical analysis of line intersection algorithm for TOA trilateration method | |
Revisnyei et al. | Performance of a TDOA indoor positioning solution in real-world 5G network | |
CN110333481A (en) | A Joint Positioning Method Based on Distance Ratio Circle Algorithm and Taylor Series Expansion Method | |
Radnosrati et al. | Fusion of TOF and TDOA for 3GPP positioning | |
CN107318159A (en) | A kind of indoor fingerprint positioning method | |
Chang et al. | Three-dimensional positioning of wireless communication base station | |
KR102008800B1 (en) | Apparatus and method for determaining location of mobile terminal in mobile communication | |
Sanchez et al. | Performance study of localization techniques: hybrid vs. non hybrid TDOA/DOA | |
CN105554881A (en) | GSM-R network interference source positioning method under indirect wave environment |
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: 20170926 |
|
RJ01 | Rejection of invention patent application after publication |