CN103634903A - Noise canceling and positioning method of low-power-consumption small-scale equipment - Google Patents

Noise canceling and positioning method of low-power-consumption small-scale equipment Download PDF

Info

Publication number
CN103634903A
CN103634903A CN201310595440.1A CN201310595440A CN103634903A CN 103634903 A CN103634903 A CN 103634903A CN 201310595440 A CN201310595440 A CN 201310595440A CN 103634903 A CN103634903 A CN 103634903A
Authority
CN
China
Prior art keywords
node
bancroft
anchor
applicable area
solution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310595440.1A
Other languages
Chinese (zh)
Other versions
CN103634903B (en
Inventor
徐兵
齐望东
朱亚松
威力
陈剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PLA University of Science and Technology
Original Assignee
PLA University of Science and Technology
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 PLA University of Science and Technology filed Critical PLA University of Science and Technology
Priority to CN201310595440.1A priority Critical patent/CN103634903B/en
Publication of CN103634903A publication Critical patent/CN103634903A/en
Application granted granted Critical
Publication of CN103634903B publication Critical patent/CN103634903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本发明公开一种低功耗小型设备抗噪定位方法,包括如下步骤:测量获取待定位节点到锚节点的距离差值,使用Bancroft方法确定待定位节点初始位置,如Bancroft方法无法解算或解算结果不处于Bancroft方法的适用区域,则使用Chan方法确定待定位节点位置,并以该计算结果作为最终定位结果。本发明的定位方法克服了现有方法存在的病态区域问题,创新性地将两种方法的优势进行了互补结合,方法计算简单,抗噪声能力强,定位精度高,特别适用于对低功耗小型设备的定位。

The invention discloses a method for anti-noise positioning of small devices with low power consumption. If the calculation result is not in the applicable area of the Bancroft method, the Chan method is used to determine the position of the node to be located, and the calculation result is used as the final positioning result. The positioning method of the present invention overcomes the problem of pathological regions existing in the existing methods, and innovatively combines the advantages of the two methods to complement each other. The method is simple in calculation, strong in noise resistance, and high in positioning accuracy, and is especially suitable for low power consumption. Positioning of small devices.

Description

低功耗小型设备抗噪定位方法Anti-noise localization method for small devices with low power consumption

技术领域technical field

本发明属于物体定位技术领域,特别是一种基于距离差的低功耗小型设备抗噪定位方法。The invention belongs to the technical field of object positioning, in particular to an anti-noise positioning method for small devices with low power consumption based on distance difference.

背景技术Background technique

位置信息作为现代社会的关键基础信息,在国民经济、国防科技和日常生活中发挥着日益重要的作用。以GPS为代表的星基定位系统已经使得众多的应用得到方便快捷的位置服务,但是在无线传感器网络、移动互联网、战术互联网等系统中,星基定位系统有时难以提供有效的位置服务。例如:在无线传感器网络中,为众多的微型低功耗节点都增加GPS接收机无论在经济上还是技术上都不可行;在移动互联网中,用户通常是在城市或者室内环境中,由于GPS信号微弱,经常会因建筑物遮挡而难以发挥作用;在战术互联网中,星基导航系统很可能因被敌方干扰而无法使用。这时就需要依靠这些系统的自定位技术来提供位置信息。同时,在这些系统中测距噪声通常较大,对提供精确位置服务提出了新的挑战。As the key basic information of modern society, location information plays an increasingly important role in national economy, national defense technology and daily life. The satellite-based positioning system represented by GPS has enabled many applications to obtain convenient and fast location services, but in systems such as wireless sensor networks, mobile Internet, and tactical Internet, satellite-based positioning systems are sometimes difficult to provide effective location services. For example: in wireless sensor networks, it is not feasible economically or technically to add GPS receivers to numerous miniature low-power nodes; in mobile Internet, users are usually in urban or indoor environments, due to the Weak, often difficult to function due to building occlusion; in the tactical Internet, satellite-based navigation systems are likely to be unusable due to enemy interference. At this time, it is necessary to rely on the self-location technology of these systems to provide position information. At the same time, the ranging noise in these systems is usually large, posing new challenges for providing precise location services.

定位技术通常分为两大类:基于测距的定位和非测距的定位。非测距的定位依靠节点间的连接信息来推测节点位置信息,定位精度不高。基于测距的定位一般基于某种距离信息的测量来确定位置,通常定位精度较高,因此更适于提供高精度的位置服务。Positioning techniques are generally divided into two categories: ranging-based positioning and non-ranging positioning. Non-ranging positioning relies on connection information between nodes to infer node position information, and the positioning accuracy is not high. Positioning based on distance measurement is generally based on the measurement of certain distance information to determine the position, and usually has high positioning accuracy, so it is more suitable for providing high-precision location services.

对于基于测距的定位系统,定位过程可以分为测距和位置解算两个阶段。For ranging-based positioning systems, the positioning process can be divided into two stages: ranging and position calculation.

测距阶段即根据无线电信号的某种特征(如振幅、相位、到达时间等)来获得距离、距离差或方位角等信息,测距方式包括到达时间测距(TOA)、到达时间差测距(TDOA)、方位角测距(AOA)、接收信号强度测距(RSSI)、以及无线电干涉测距(RIR)等。位置解算阶段即根据测距信息运行某种定位算法来确定待定位目标最终位置的过程。位置解算阶段定位算法的选择对最终的定位精度起着至关重要的作用。The ranging stage is to obtain information such as distance, distance difference or azimuth angle according to certain characteristics of the radio signal (such as amplitude, phase, time of arrival, etc.). The ranging method includes time of arrival ranging (TOA), time difference of arrival ranging ( TDOA), Azimuth Ranging (AOA), Received Signal Strength Ranging (RSSI), and Radio Interference Ranging (RIR), etc. The position calculation stage is the process of running a certain positioning algorithm according to the ranging information to determine the final position of the target to be located. The choice of positioning algorithm in the position solution stage plays a vital role in the final positioning accuracy.

定位算法可以分为迭代式算法和闭合解算法两类,其中迭代式算法计算复杂度高,且存在迭代结果的局部收敛问题,不适用于低功耗、计算能力弱或实时性要求高的应用场景;而闭合解算法具有显式解,计算复杂度低,且没有局部收敛的问题。在基于距离差的闭合解定位算法中,最常用且性能相对较好的两种是Chan方法[参见文献Chan Y.T.,Ho K.C.,"A simple and efficient estimator for hyperbolic location".IEEETransactions on Signal Processing,vol.42,no.8,pp.1905-1915,August1994]和Bancroft方法[参见文献Bancroft S.,"An Algebraic Solution of the GPSEquations".IEEE Transactions on Aerospace and Electronic Systems,vol.AES-21,no.1,pp.56-59,January1985以及Mellen G.II,Pachter M.,Raquet J.,"Closed-form solution for determining emitter location using time differenceof arrival measurements".IEEE Transactions on Aerospace and Electronic Systems,vol.39,no.3,pp.1056-1058,July2003]。Chan方法首先将线性化过程中引入的多余变量和待估变量看作独立变量进行第一步加权最小二乘求解,然后再利用多余变量和待估变量之间的关系进行第二步加权最小二乘来进一步提高定位结果的精度。Bancroft方法最初是为解GPS方程提出来的,但其思想同样可以用于基于距离差的定位解算,该方法首先使用最小二乘将待估变量用含有多余变量的式子表示出来,然后利用它们之间的关系组成关于多余变量的二次方程,解二次方程得到多余变量的估计值,进而得到待估变量的估计值。Positioning algorithms can be divided into iterative algorithms and closed solution algorithms. Among them, iterative algorithms have high computational complexity and local convergence problems of iterative results. They are not suitable for applications with low power consumption, weak computing power or high real-time requirements. scenario; while the closed solution algorithm has an explicit solution, low computational complexity, and no local convergence problem. Among the closed solution positioning algorithms based on distance difference, the two most commonly used and relatively good performance are the Chan method [see literature Chan Y.T., Ho K.C., "A simple and efficient estimator for hyperbolic location". IEEETransactions on Signal Processing, vol .42, no.8, pp.1905-1915, August1994] and Bancroft method [see literature Bancroft S., "An Algebraic Solution of the GPSEquations". IEEE Transactions on Aerospace and Electronic Systems, vol.AES-21, no. 1, pp.56-59, January1985 and Mellen G.II, Pachter M., Raquet J.,"Closed-form solution for determining emitter location using time difference of arrival measurements". IEEE Transactions on Aerospace and Electronic Systems, vol.39 , no.3, pp.1056-1058, July2003]. The Chan method first regards the redundant variables introduced in the linearization process and the variables to be estimated as independent variables to solve the first step of weighted least squares, and then uses the relationship between the redundant variables and the variables to be estimated to perform the second step of weighted least squares Multiplied to further improve the accuracy of positioning results. The Bancroft method was originally proposed to solve the GPS equation, but its idea can also be used for positioning solutions based on distance differences. This method first uses the least squares to express the variables to be estimated with formulas containing redundant variables, and then uses The relationship between them constitutes a quadratic equation about the redundant variables, and the estimated value of the redundant variable is obtained by solving the quadratic equation, and then the estimated value of the variable to be estimated is obtained.

但上述闭合解定位算法抗噪能力弱,且研究发现此类方法会存在性能很差的病态区域。如图2、图3所示,在病态区域,现有闭合解定位算法往往不能达到性能下界——克拉美-罗界(CRLB,Cramer-Rao Lower Bound),或者能够达到CRLB的噪声门限非常低,抗噪能力极弱,严重影响了定位结果的精度。However, the above-mentioned closed solution localization algorithm has weak anti-noise ability, and the research finds that there will be pathological regions with poor performance in this kind of method. As shown in Figure 2 and Figure 3, in ill-conditioned areas, the existing closed solution localization algorithms often cannot reach the lower bound of performance - Cramer-Rao Lower Bound (CRLB, Cramer-Rao Lower Bound), or the noise threshold that can reach CRLB is very low , the anti-noise ability is extremely weak, which seriously affects the accuracy of positioning results.

发明内容Contents of the invention

本发明的目的在于提供一种低功耗小型设备抗噪定位方法,计算量小,抗噪声能力强,对低功耗小型设备的定位精度高。The object of the present invention is to provide an anti-noise positioning method for low-power small equipment, which has small calculation amount, strong anti-noise ability, and high positioning accuracy for low-power small equipment.

实现本发明目的的技术解决方案为:一种低功耗小型设备抗噪定位方法,其特征在于,包括如下步骤:The technical solution to realize the purpose of the present invention is: a low-power consumption small-sized device anti-noise positioning method, characterized in that it includes the following steps:

10)距离差获取:获取待定位节点到参考锚节点及待定位节点到其它不少于2个锚节点的距离差;10) Acquisition of distance difference: obtain the distance difference between the node to be positioned and the reference anchor node and the node to be positioned to no less than two other anchor nodes;

20)初始位置解算:根据待定位节点到参考锚节点及待定位节点到其它锚节点的距离差,使用Bancroft方法确定待定位节点初始位置;20) Initial position calculation: According to the distance difference between the node to be positioned and the reference anchor node and the node to be positioned to other anchor nodes, use the Bancroft method to determine the initial position of the node to be positioned;

30)判断初始位置解算是否成功:根据Bancroft方法的二次方程解的情况判断初始位置解算是否成功,如否,则转至(50)步骤;30) Judging whether the initial position calculation is successful: judge whether the initial position calculation is successful according to the quadratic equation solution of the Bancroft method, if not, go to step (50);

40)判断待定位节点是否位于Bancroft方法适用区域:判断所述待定位节点初始位置是否处于Bancroft方法的适用区域,如是,则转至(60)步骤;40) Judging whether the node to be located is in the applicable area of the Bancroft method: determining whether the initial position of the node to be located is in the applicable area of the Bancroft method, if so, go to step (60);

50)使用Chan方法确定待定位节点位置;50) Use the Chan method to determine the position of the node to be located;

60)输出待定位节点位置。60) Output the position of the node to be located.

本发明与现有技术相比,其显著优点:由于本技术方案充分利用Chan方法和Bancroft方法具有显式解、计算复杂度低、且没有局部收敛的问题的优点,且两者的病态区域与非病态区域存在一定的互补性的特点,克服了现有闭合解定位方法存在的病态区域问题,创新性地利用了两种方法的性能优势,有效提高了闭合解定位方法的抗噪声能力与定位精度,计算量小,抗噪声能力强,对低功耗小型设备的定位精度高。Compared with the prior art, the present invention has significant advantages: because the technical scheme makes full use of the advantages of explicit solutions, low computational complexity, and no problem of local convergence with the Chan method and the Bancroft method, and the ill-conditioned regions of the two are the same as The non-pathological area has certain complementary characteristics, which overcomes the problem of the ill-conditioned area existing in the existing closed solution positioning method, innovatively uses the performance advantages of the two methods, and effectively improves the anti-noise ability and positioning of the closed solution positioning method. Accuracy, small amount of calculation, strong anti-noise ability, high positioning accuracy for small devices with low power consumption.

下面结合附图对本发明作进一步详细描述。The present invention will be described in further detail below in conjunction with the accompanying drawings.

附图说明Description of drawings

图1为本发明低功耗小型设备抗噪定位方法流程图。FIG. 1 is a flow chart of the anti-noise positioning method for low-power small equipment of the present invention.

图2为待定位节点为p1=[-50,500]T时的MSE-SNR对比图。Fig. 2 is a comparison diagram of MSE-SNR when the node to be located is p 1 =[-50,500] T.

图3为待定位节点为p2=[1500,-200]T时的MSE-SNR对比图。Fig. 3 is a comparison diagram of MSE-SNR when the node to be located is p 2 =[1500,-200] T.

图4为定位结果的MSE均值对比图。Figure 4 is a comparison chart of the mean MSE of the positioning results.

图中:CRLB为克拉美-罗界(CRLB,Cramer-Rao Lower Bound),Chan为采用Chan方法所得结果,Bancroft为采用Bancroft方法所得结果,新方法为采用本发明低功耗小型设备抗噪定位方法所得结果,横坐标表示测距噪声的大小(dB),纵轴表示定位结果均方差(MSE,Mean Squared Errors)。In the figure: CRLB is Cramer-Rao Lower Bound (CRLB, Cramer-Rao Lower Bound), Chan is the result obtained by using the Chan method, Bancroft is the result obtained by using the Bancroft method, and the new method is the anti-noise positioning of the low-power small equipment of the present invention The results obtained by the method, the abscissa indicates the size of the ranging noise (dB), and the ordinate indicates the mean square error (MSE, Mean Squared Errors) of the positioning results.

具体实施方式Detailed ways

如图1所示,本发明低功耗小型设备抗噪定位方法,包括如下步骤:As shown in Figure 1, the anti-noise positioning method for low-power small equipment of the present invention includes the following steps:

10)距离差获取;获取待定位节点到参考锚节点及待定位节点到其它不少于2个锚节点的距离差;10) Acquisition of distance difference: Obtain the distance difference between the node to be positioned to the reference anchor node and the node to be positioned to no less than two other anchor nodes;

该步骤为现有技术。This step is prior art.

距离差值可以通过TDOA的方式获得,首先各个锚节点之间进行时钟同步,同步通过FTSP时钟同步协议完成;然后待定位节点发射源信号,各个锚节点记录接收到源信号的时间t1,t2,…,tM(其中M为锚节点的个数);最后根据各个锚节点的信号接收时间计算待定位节点到各个锚节点和1号锚节点(参考锚节点)的距离差,即ri1=c×(ti-t1),其中c为源信号的传播速度。在蜂窝网中,通过观测到达时间差(OTDOA,Observed TimeDifference of Arrival)来得到距离差测量值,各个基站保持时钟同步,待定位移动台测量不同基站的下行导频信号,得到不同基站下行导频的传播时间差,进而得到移动台到不同基站的距离差。The distance difference can be obtained by means of TDOA. First, clock synchronization is performed between each anchor node, and the synchronization is completed through the FTSP clock synchronization protocol; then the node to be positioned transmits the source signal, and each anchor node records the time t 1 , t when the source signal is received 2 ,...,t M (where M is the number of anchor nodes); finally, according to the signal receiving time of each anchor node, calculate the distance difference between the node to be positioned and each anchor node and No. 1 anchor node (reference anchor node), namely r i1 =c×(t i -t 1 ), where c is the propagation velocity of the source signal. In the cellular network, the measured value of the distance difference is obtained by observing the time difference of arrival (OTDOA, Observed Time Difference of Arrival). Propagation time difference, and then the distance difference between the mobile station and different base stations.

距离差值也可以通过无线电干涉测距(RIR,Radio Interferometric Ranging)获得,其中最基本的测距单元为两个发射节点和两个接收节点组成的四元组。首先进行时钟同步,然后两个发射节点发射频率接近的正弦波信号,两个接收节点测量所接收到的拍频信号的振幅、相位等信息,通过在多个频率上所得到的两个接收节点所测量到的拍频信号的相位差就可以得到四个节点间的距离约束关系,这个距离约束关系又可以进一步转化为距离差值。The distance difference can also be obtained by radio interferometric ranging (RIR, Radio Interferometric Ranging), where the most basic ranging unit is a quadruple composed of two transmitting nodes and two receiving nodes. First, the clock is synchronized, and then the two transmitting nodes transmit sine wave signals with close frequencies, and the two receiving nodes measure the amplitude, phase and other information of the received beat frequency signals, and the two receiving nodes obtained at multiple frequencies The measured phase difference of the beat frequency signal can obtain the distance constraint relationship between the four nodes, and the distance constraint relationship can be further converted into a distance difference.

20)初始位置解算:根据待定位节点到参考锚节点及待定位节点到其它锚节点的距离差,使用Bancroft方法确定待定位节点初始位置;20) Initial position calculation: According to the distance difference between the node to be positioned and the reference anchor node and the node to be positioned to other anchor nodes, use the Bancroft method to determine the initial position of the node to be positioned;

所述使用Bancroft方法确定待定位节点初始位置(20)步骤具体为:The step of using the Bancroft method to determine the initial position of the node to be positioned (20) is specifically:

21)解二次方程21) Solving quadratic equations

(gTg-1)r1 2-2gThr1+hTh=0(g T g-1)r 1 2 -2g T hr 1 +h T h=0

得到r1的估计值;get an estimate of r1 ;

式中:In the formula:

h=(ATA)-1ATb,g=(ATA)-1ATR,其中A=[x2-x1,x3-x1,…,xM-x1;y2-y1,y3-y1,…,yM-y1]T,b=-0.5[r2,1 2-||A2||2+||A1||2,r3,1 2-||A3||2+||A1||2,…,rM,1 2-||AM||2+||A1||2]T,R=[r2,1,r3,1,…,rM,1]Th=(A T A) -1 A T b,g=(A T A) -1 A T R, where A=[x 2 -x 1 ,x 3 -x 1 ,…,x M -x 1 ; y 2 -y 1 ,y 3 -y 1 ,…,y M -y 1 ] T ,b=-0.5[r 2 , 1 2 -||A 2 || 2 +||A 1 || 2 ,r 3 , 1 2 -||A 3 || 2 +||A 1 || 2 ,…,r M , 1 2 -||A M || 2 +||A 1 || 2 ] T ,R=[ r 2 , 1 ,r 3 , 1 ,…,r M , 1 ] T ;

锚节点为Ai=[xi,yi]T,i=1,2,…,M(M为锚节点的个数,M≥3),待定位节点为p=[x,y]T,ri=||p–Ai||表示待定位节点p和锚节点Ai的距离,ri,j表示待定位节点p到锚节点Ai和Aj的距离差;The anchor node is A i =[x i ,y i ] T , i=1,2,…,M (M is the number of anchor nodes, M≥3), and the node to be positioned is p=[x,y] T , r i =||p–A i || represents the distance between the node p to be positioned and the anchor node A i , r i , j represents the distance difference between the node p to be positioned and the anchor nodes A i and A j ;

22)判断二次方程解的情况:22) Judging the situation of the solution of the quadratic equation:

令Δ=(gTh)2-(gTg-1)hTh,则Let Δ=(g T h) 2 -(g T g-1)h T h, then

221)如果gTg-1=0,则方程有唯一解r1=hTh/(2gTh);221) If g T g-1=0, the equation has a unique solution r 1 =h T h/(2g T h);

222)如果Δ<0,则令r1=-1,p=A1,Bancroft方法解算结束;222) If Δ<0, set r 1 =-1, p=A 1 , and the solution of Bancroft method ends;

223)如果Δ=0,则方程有唯一解r1=gTh/(gTg-1);223) If Δ=0, the equation has a unique solution r 1 =g T h/(g T g-1);

224)如果Δ>0,则继续进行如下判断:224) If Δ>0, continue to make the following judgments:

2241)如果(gTh-Δ0.5)/(gTg-1)>0且(gTh+Δ0.5)/(gTg-1)<0,则方程正确解为r1=(gTh-Δ0.5)/(gTg-1);2241) If (g T h-Δ 0.5 )/(g T g-1)>0 and (g T h+Δ 0.5 )/(g T g-1)<0, the correct solution of the equation is r 1 =( g T h-Δ 0.5 )/(g T g-1);

2242)如果(gTh-Δ0.5)/(gTg-1)<0且(gTh+Δ0.5)/(gTg-1)>0,则方程正确解为r1=(gTh+Δ0.5)/(gTg-1);2242) If (g T h-Δ 0.5 )/(g T g-1)<0 and (g T h+Δ 0.5 )/(g T g-1)>0, the correct solution of the equation is r 1 =( g T h+Δ 0.5 )/(g T g-1);

2243)如果(gTh-Δ0.5)/(gTg-1)<0且(gTh+Δ0.5)/(gTg-1)<0,则令r1=-1,p=A1,Bancroft方法解算结束;2243) If (g T h-Δ 0.5 )/(g T g-1)<0 and (g T h+Δ 0.5 )/(g T g-1)<0, then let r 1 =-1, p =A 1 , the solution of Bancroft method ends;

2244)如果(gTh-Δ0.5)/(gTg-1)>0且(gTh+Δ0.5)/(gTg-1)>0,方程有两个有效解r1=(gTh-Δ0.5)/(gTg-1)和r1=(gTh+Δ0.5)/(gTg-1),使用最小二乘指标

Figure BDA0000420109200000051
判断正确解,2244) If (g T h-Δ 0.5 )/(g T g-1)>0 and (g T h+Δ 0.5 )/(g T g-1)>0, the equation has two valid solutions r 1 = (g T h-Δ 0.5 )/(g T g-1) and r 1 =(g T h+Δ 0.5 )/(g T g-1), using least squares metric
Figure BDA0000420109200000051
judge the correct solution,

其中

Figure BDA0000420109200000053
表示根据二次方程的解得到位置估计值之后计算出的距离差,待定位节点的位置根据p=h-gr1进行计算,
Figure BDA0000420109200000054
表示距离差测量值,即与测量值的残差平方和最小的为正确解;in
Figure BDA0000420109200000053
Indicates the distance difference calculated after the position estimate is obtained according to the solution of the quadratic equation, and the position of the node to be located is calculated according to p=h-gr 1 ,
Figure BDA0000420109200000054
Indicates the measured value of the distance difference, that is, the correct solution is the smallest sum of squared residuals with the measured value;

23)解二次方程得到r1的估计值后,将其代入式p=h-gr1,得到待定位节点位置的非加权估计值pu23) After solving the quadratic equation to obtain the estimated value of r 1 , substitute it into the formula p=h-gr 1 to obtain the unweighted estimated value p u of the position of the node to be located:

由pu计算待定位节点到各个锚节点Ai的距离riCalculate the distance r i from the node to be located to each anchor node Ai by p u ,

令h=(ATWA)-1ATWb,g=(ATWA)-1ATWR,其中A、b、R的定义同上,W=(DQD)-1,D=diag{r2,r3,…,rM},Q=IM-1+1,解二次方程(gTg-1)r1 2-2gThr1+hTh=0就可以得到r1的估计值,二次方程的解会遇到同(22)步骤的几种情况,并采用同样的处理方式Let h=(A T WA) -1 A T Wb, g=(A T WA) -1 A T WR, where the definitions of A, b and R are the same as above, W=(DQD) -1 , D=diag{r 2 ,r 3 ,…,r M }, Q=I M-1 +1, solve the quadratic equation (g T g-1)r 1 2 -2g T hr 1 +h T h=0 to get r 1 The estimated value of , the solution of the quadratic equation will encounter several situations in the same step (22), and adopt the same processing method

24)在得到r1的估计值后,将其代入式p=h-gr1就得到待定位节点位置的加权估计值pw24) After obtaining the estimated value of r 1 , substitute it into the formula p=h-gr 1 to obtain the weighted estimated value p w of the position of the node to be located:

25)计算pu到各个锚节点的距离差和pw到各个锚节点的距离差,然后根据最小二乘指标

Figure BDA0000420109200000052
在pu和pw中选择残差最小的作为待定位节点初始位置p。25) Calculate the distance difference between p u and each anchor node and the distance difference between p w and each anchor node, and then according to the least square index
Figure BDA0000420109200000052
Select the one with the smallest residual error among p u and p w as the initial position p of the node to be located.

30)判断初始位置解算是否成功:根据Bancroft方法的二次方程解的情况判断初始位置解算是否成功,如否,则转至(50)步骤;30) Judging whether the initial position calculation is successful: judge whether the initial position calculation is successful according to the quadratic equation solution of the Bancroft method, if not, go to step (50);

所述判断初始位置解算是否成功(30)步骤具体为:The step of judging whether the initial position calculation is successful (30) is specifically:

如果二次方程解r1=-1,则初始位置解算不成功,否则成功。If the quadratic equation solution r 1 =-1, the initial position solution is unsuccessful, otherwise it is successful.

40)判断待定位节点是否位于Bancroft方法适用区域:判断所述待定位节点初始位置是否处于Bancroft方法的适用区域,如是,则转至(60)步骤;40) Judging whether the node to be located is in the applicable area of the Bancroft method: determining whether the initial position of the node to be located is in the applicable area of the Bancroft method, if so, go to step (60);

将待定位区域分为两部分:锚节点外部区域和锚节点内部区域,分别使用Chan方法和Bancroft方法进行解算。Divide the area to be located into two parts: the outer area of the anchor node and the inner area of the anchor node, and use the Chan method and the Bancroft method to solve the problem respectively.

所述判断所述待定位节点初始位置是否处于Bancroft方法的适用区域(40)步骤的一种方法具体为:A method of the step of judging whether the initial position of the node to be positioned is in the applicable area of the Bancroft method (40) is specifically:

41)取锚节点的质心C,

Figure BDA0000420109200000061
41) Take the centroid C of the anchor node,
Figure BDA0000420109200000061

42)对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,进行是否处于Bancroft方42) For all adjacent anchor nodes A i and A j that follow the direction of the polygon composition, check whether they are in the Bancroft direction

法的适用区域判断;Judgment on the area of application of the law;

所述对于所有相邻锚节点Ai和Aj,进行是否处于Bancroft方法的适用区域判断(42)步骤具体为:For all adjacent anchor nodes A i and A j , the step of judging whether they are in the applicable area of the Bancroft method (42) is as follows:

421)取锚节点Ai、Aj的中点M,从C到点M做延长线,取延长线上距离为线段AiAj二分之一长度的点P;421) Take the midpoint M of the anchor nodes A i and A j , make an extension line from C to point M, and take a point P on the extension line whose distance is half the length of the line segment A i A j ;

422)判断将待定位节点p和质心C代入AiAj直线方程是否正负相同;422) Judging whether the node p to be positioned and the centroid C are substituted into the A i A j straight line equation whether the positive or negative is the same;

423)如果不同,则待定位节点不处于Bancroft方法的适用区域;423) If different, the node to be located is not in the applicable area of the Bancroft method;

424)如果相同,判断将待定位节点和质心C点代入PAi、PAj直线方程是否正负都相同;424) If they are the same, judge whether the positive and negative are the same when substituting the node to be positioned and the centroid point C into the linear equations of PA i and PA j ;

425)如果不同,则待定位节点不处于Bancroft方法的适用区域。425) If different, the node to be located is not in the applicable area of the Bancroft method.

43)如果对于所有的相邻锚节点判断结束后仍没有出现待定位节点不处于Bancroft方法的适用区域,则待定位节点在Bancroft方法适用区域。43) If the node to be located is not in the applicable area of the Bancroft method after the judgment of all adjacent anchor nodes is completed, the node to be located is in the applicable area of the Bancroft method.

所述判断待定位节点初始位置是否位于Bancroft方法适用区域(40)步骤,还可以是,包括:The step of judging whether the initial position of the node to be positioned is located in the applicable area of the Bancroft method (40) may also include:

61)判断待定位节点p是否在任意三个锚节点所组成的三角形内部,如果在其中至少一个三角形内部,则待定位节点p在Bancroft方法适用区域,判断结束;否则,继续进行如下步骤;61) Determine whether the node p to be located is inside the triangle formed by any three anchor nodes, if it is inside at least one of the triangles, then the node p to be located is in the applicable area of the Bancroft method, and the judgment ends; otherwise, proceed to the following steps;

判断待定位节点p是否在三角形内部的方法包括面积判断法、利用矢量叉积判断法、点同侧判断法以及有向面积判断法。The methods for judging whether the node p to be located is inside the triangle include the area judgment method, the vector cross product judgment method, the same-side judgment method and the directed area judgment method.

62)取锚节点的质心C,

Figure BDA0000420109200000062
62) Take the centroid C of the anchor node,
Figure BDA0000420109200000062

63)对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,取锚节点Ai、Aj的中点M,从C到点M做延长线,取延长线上距离为l长度的点P,其中0≤l≤50*AiAj;如果待定位节点p位于三角形PAiAj的内部,则待定位节点处于Bancroft方法适用区域,判断结束;63) For all adjacent anchor nodes A i and A j that follow the direction of the polygon composition, take the midpoint M of the anchor nodes A i and A j , make an extension line from C to point M, and take a distance of l on the extension line Point P, where 0≤l≤50*A i A j ; if the node to be positioned p is located inside the triangle PA i A j , the node to be positioned is in the applicable area of the Bancroft method, and the judgment is over;

64)如果均没有出现上述使判断终止的条件,则待定位节点不位于Bancroft方法适用区域。64) If none of the above conditions for terminating the judgment occurs, the node to be located is not located in the applicable area of the Bancroft method.

所述判断待定位节点初始位置是否位于Bancroft方法适用区域(40)步骤,也可以是,包括:The step of judging whether the initial position of the node to be positioned is located in the applicable area of the Bancroft method (40) may also include:

(71)判断待定位节点p是否位于由所有锚节点所组成的多边形的内部,如果是,则待定位节点p在Bancroft方法适用区域,判断结束,否则,-继续进行如下步骤;(71) Determine whether the node p to be located is located inside the polygon composed of all anchor nodes, if so, the node p to be located is in the applicable area of the Bancroft method, and the judgment is over; otherwise, proceed to the following steps;

判断待定位节点p是否在多边形内部的方法包括水平/垂直交叉点数判别法、叉乘判别法、角度和判别法、有向面积判断法。The methods for judging whether the node p to be located is inside the polygon include horizontal/vertical intersection number discrimination method, cross product discrimination method, angle sum discrimination method, and directed area judgment method.

72)取锚节点的质心C,

Figure BDA0000420109200000071
72) Take the centroid C of the anchor node,
Figure BDA0000420109200000071

73)对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,取锚节点Ai、Aj的中点M,从C到点M做延长线,取延长线上距离为l长度的点P,其中0≤l≤50*AiAj;如果待定位节点p位于三角形PAiAj的内部,则待定位节点处于Bancroft方法适用区域,判断结束;73) For all adjacent anchor nodes A i and A j following the composition direction of the polygon, take the midpoint M of the anchor nodes A i and A j , make an extension line from C to point M, and take a distance of l on the extension line Point P, where 0≤l≤50*A i A j ; if the node to be positioned p is located inside the triangle PA i A j , the node to be positioned is in the applicable area of the Bancroft method, and the judgment is over;

74)如果均没有出现上述使判断终止的条件,则待定位节点不位于Bancroft方法适用区域。74) If none of the above conditions for terminating the judgment occurs, the node to be located is not located in the applicable area of the Bancroft method.

50)使用Chan方法确定待定位节点位置;50) Use the Chan method to determine the position of the node to be located;

如果待定位节点位于Chan方法适用区域,或使用Bancroft方法出现不能成功解算的情况,则使用Chan方法进行解算。If the node to be located is located in the applicable area of the Chan method, or the Bancroft method cannot be successfully solved, the Chan method is used for the solution.

所述使用Chan方法确定待定位节点位置(50)步骤具体为:The step of using the Chan method to determine the position of the node to be located (50) is specifically:

51)待定位节点位置初步估计值pe51) The preliminary estimated value pe of the node to be located is

pe=(G1 TQ-1G1)-1G1 TQ-1h1p e =(G 1 T Q -1 G 1 ) -1 G 1 T Q -1 h 1 ,

其中:Q=IM-1+1,G1=[x2-x1,x3-x1,…,xM-x1;y2-y1,y3-y1,…,yM-y1;r21,r3,1,…,rM,1]T,pe=[x,y,r1]T,h1=-0.5[r2,1 2-||A2||2+||A1||2,r3,1 2-||A3||2+||A1||2,…,rM,1 2-||AM||2+||A1||2]TWhere: Q=I M-1 +1, G 1 =[x 2 -x 1 ,x 3 -x 1 ,…,x M -x 1 ;y 2 -y 1 ,y 3 -y 1 ,…,y M -y 1 ;r 21 ,r 3 , 1 ,…,r M , 1 ] T ,p e =[x,y,r 1 ] T ,h 1 =-0.5[r 2 , 1 2 -||A 2 || 2 +||A 1 || 2 ,r 3 , 1 2 -||A 3 || 2 +||A 1 || 2 ,…,r M , 1 2 -||A M || 2 +||A 1 || 2 ] T ;

52)利用待定位节点位置初步估计值pe计算待定位节点p到各个锚节点Ai的距离ri52) Calculate the distance r i from the node p to be located to each anchor node A i by using the preliminary estimated value p e of the position of the node to be located;

53)待定位节点位置估计值53) Estimated value of the position of the node to be located

pe=(G1TW1G1)-1G1 TW1h1p e =( G 1 T W 1 G 1 ) -1 G 1 T W 1 h 1 ,

其中:W1=(DQD)-1,D=diag{r2,r3,…,rM};Where: W 1 =(DQD) -1 ,D=diag{r 2 ,r 3 ,…,r M };

54)待定位节点位置参考值54) The position reference value of the node to be positioned

pa=(G2 TW2G2)-1G2 TW2h2p a =(G 2 T W 2 G 2 ) -1 G 2 T W 2 h 2 ,

其中:G2=[1,0;0,1;1,1;],pa=[(x-x1)2;(y-y1)2],h2=[(pe(1)-x1)2;(pe(2)-y1)2;(pe(3))2],W2=(D′(G1 TW1G1)-1D′)-1,D′=diag{x–x1,y–y1,r1};Where: G 2 =[1,0;0,1;1,1;],p a =[(xx 1 ) 2 ;(yy 1 ) 2 ],h 2 =[(p e (1)-x 1 ) 2 ;(p e (2)-y 1 ) 2 ;(p e (3)) 2 ], W 2 =(D′(G 1 T W 1 G 1 ) -1 D′) -1 ,D′ =diag{x–x 1 ,y–y 1 ,r 1 };

从而,利用r1和x、y之间的约束关系来进一步提高估计的精度。Thus, the constraint relationship between r 1 and x, y is used to further improve the estimation accuracy.

55)待定位节点位置确定值55) Determine the position of the node to be located

p=pa 0.5⊙sgn(pe(1,2)-A1)+A1p=p a 0.5 ⊙sgn(p e (1,2)-A 1 )+A 1 ,

其中:sgn()为符号函数;Among them: sgn() is a symbolic function;

从而利用待定位节点位置估计值pe来排除歧义解。Therefore, the ambiguity solution is eliminated by using the estimated value pe of the node to be located.

如果在高噪声下pa中的元素出现负数值的情况,则If the elements in p a have negative values under high noise, then

p=pe(1,2)。p = p e (1,2).

60)输出待定位节点位置。60) Output the position of the node to be located.

向显示器输出待定位节点的位置坐标;Output the position coordinates of the node to be positioned to the display;

由于本技术方案充分利用Chan方法和Bancroft方法具有显式解、计算复杂度低、且没有局部收敛问题的优点,且两者的病态区域与非病态区域存在一定的互补性的特点,克服了现有闭合解定位方法存在的病态区域问题,有效提高闭合解定位方法的抗噪声能力与定位结果的精度。Since this technical solution makes full use of the advantages of explicit solutions, low computational complexity, and no local convergence problems with the Chan method and Bancroft method, and there is a certain complementarity between the ill-conditioned area and the non-ill-conditioned area of the two, it overcomes the existing There are ill-conditioned area problems in the closed solution positioning method, which effectively improves the anti-noise ability of the closed solution positioning method and the accuracy of positioning results.

本发明可通过仿真来验证方法的有效性。仿真时所使用的锚节点坐标为A1=[0,0]T,A2=[600,-100]T,A3=[1225,50]T,A4=[1300,1350]T,A5=[650,1550]T,A6=[-150,1200]TThe present invention can verify the validity of the method through simulation. The anchor node coordinates used in the simulation are A 1 =[0,0] T , A 2 =[600,-100] T , A 3 =[1225,50] T , A 4 =[1300,1350] T , A 5 =[650,1550] T ,A 6 =[-150,1200] T .

图2表示当待定位节点为p1=[-50,500]T时定位结果的MSE-SNR图。Fig. 2 shows the MSE-SNR diagram of the positioning result when the node to be positioned is p 1 =[-50,500] T.

图3表示当待定位节点为p2=[1500,-200]T时定位结果的MSE-SNR图,图中横坐标表示测距噪声的大小(-10dB~25dB),纵轴表示定位结果均方差(MSE,Mean Squared Errors)的大小。Figure 3 shows the MSE-SNR diagram of the positioning results when the node to be positioned is p 2 =[1500,-200] T , the abscissa in the figure represents the size of the ranging noise (-10dB~25dB), and the vertical axis represents the mean value of the positioning results. The size of the variance (MSE, Mean Squared Errors).

图4表示当定位系统的工作范围为[-500,1700;-500,1700],以10×10为间隔在工作范围内取定位点时-10dB~25dB噪声下定位结果的MSE均值。Figure 4 shows the mean MSE value of the positioning results under -10dB ~ 25dB noise when the working range of the positioning system is [-500, 1700; -500, 1700] and the positioning points are taken within the working range at intervals of 10×10.

从仿真结果可以看出:在p1位置时Chan方法严重失效,仅能在当噪声小于-5dB时才能达到CRLB,而新方法在噪声大小为25dB时仍然能够达到CRLB,相比Chan方法提高了30dB;在p2位置时Bancroft方法严重失效,即使在-10dB噪声大小时仍不能达到CRLB,而新方法同样可以在25dB噪声大小时达到CRLB。从图4中可以看出,Bancroft方法的MSE均值很差,远远高于CRLB,说明方法存在的病态区域很多,严重影响了方法的总体性能;而Chan方法虽然在低噪声下可以达到CRLB,但当噪声增大时定位结果的MSE会高于CRLB;同时,新方法相比于之前的两种方法都能更接近于CRLB,最好情况下MSE均值可以比Chan方法低了4.1dB(即MSE均值为Chan方法的38.91%),相比Bancroft方法的性能提升则更大。It can be seen from the simulation results that the Chan method seriously fails at the position of p1, and can only reach CRLB when the noise is less than -5dB, while the new method can still reach CRLB when the noise level is 25dB, which is 30dB higher than the Chan method ; Bancroft method seriously fails at the p2 position, even when the noise level is -10dB, it still cannot reach the CRLB, while the new method can also reach the CRLB when the noise level is 25dB. It can be seen from Figure 4 that the average MSE of the Bancroft method is very poor, much higher than that of CRLB, indicating that there are many pathological regions in the method, which seriously affects the overall performance of the method; while the Chan method can reach CRLB under low noise, However, when the noise increases, the MSE of the positioning result will be higher than that of CRLB; at the same time, the new method can be closer to CRLB than the previous two methods. The average MSE value is 38.91% of the Chan method), and the performance improvement compared to the Bancroft method is even greater.

仿真结果表明,在p1位置相比于Chan方法将噪声门限从-5dB提高到了25dB,在p2位置相比于Bancroft方法将噪声门限从-10dB提高到了25dB;在最好情况下,MSE均值可以降低为Chan方法的38.91%,相比Bancroft方法的性能提升则更大。本技术方案在具有低计算复杂度的情况下显著提高方法的抗噪声能力和定位精度。The simulation results show that the noise threshold is increased from -5dB to 25dB at p1 compared with the Chan method, and the noise threshold is increased from -10dB to 25dB at p2 compared with the Bancroft method; in the best case, the average MSE value can be reduced It is 38.91% of the Chan method, and the performance improvement compared to the Bancroft method is even greater. The technical proposal significantly improves the anti-noise capability and positioning accuracy of the method with low computational complexity.

Claims (8)

1.一种低功耗小型设备抗噪定位方法,其特征在于,包括如下步骤:1. A method for anti-noise positioning of low-power small-sized equipment, is characterized in that, comprises the steps: 10)距离差获取:获取待定位节点到参考锚节点及待定位节点到其它不少于2个锚节点的距离差;10) Acquisition of distance difference: obtain the distance difference between the node to be positioned and the reference anchor node and the node to be positioned to no less than two other anchor nodes; 20)初始位置解算:根据待定位节点到参考锚节点及待定位节点到其它锚节点的距离差,使用Bancroft方法确定待定位节点初始位置;20) Initial position calculation: According to the distance difference between the node to be positioned and the reference anchor node and the node to be positioned to other anchor nodes, use the Bancroft method to determine the initial position of the node to be positioned; 30)判断初始位置解算是否成功:根据Bancroft方法的二次方程解的情况判断初始位置解算是否成功,如否,则转至(50)步骤;30) Judging whether the initial position calculation is successful: judge whether the initial position calculation is successful according to the quadratic equation solution of the Bancroft method, if not, go to step (50); 40)判断待定位节点是否位于Bancroft方法适用区域:判断所述待定位节点初始位置是否处于Bancroft方法的适用区域,如是,则转至(60)步骤;40) Judging whether the node to be located is in the applicable area of the Bancroft method: determining whether the initial position of the node to be located is in the applicable area of the Bancroft method, if so, go to step (60); 50)使用Chan方法确定待定位节点位置;50) Use the Chan method to determine the position of the node to be located; 60)输出待定位节点位置。60) Output the position of the node to be located. 2.根据权利要求1所述的低功耗小型设备抗噪定位方法,其特征在于,所述初始位置解算(20)步骤包括:2. The anti-noise positioning method for low-power small equipment according to claim 1, wherein the initial position calculation (20) step includes: 21)解二次方程21) Solving quadratic equations (gTg-1)r1 2-2gThr1+hTh=0(g T g-1)r 1 2 -2g T hr 1 +h T h=0 得到r1的估计值;get an estimate of r1 ; 式中:In the formula: h=(ATA)-1ATb,g=(ATA)-1ATR,其中A=[x2-x1,x3-x1,…,xM-x1;y2-y1,y3-y1,…,yM-y1]T,b=-0.5[r2,1 2-||A2||2+||A1||2,r3,1 2-||A3||2+||A1||2,…,rM,1 2-||AM||2+||A1||2]T,R=[r2,1,r3,1,…,rM,1]Th=(A T A) -1 A T b,g=(A T A) -1 A T R, where A=[x 2 -x 1 ,x 3 -x 1 ,…,x M -x 1 ; y 2 -y 1 ,y 3 -y 1 ,…,y M -y 1 ] T ,b=-0.5[r 2 , 1 2 -||A 2 || 2 +||A 1 || 2 ,r 3 , 1 2 -||A 3 || 2 +||A 1 || 2 ,…,r M , 1 2 -||A M || 2 +||A 1 || 2 ] T ,R=[ r 2 , 1 ,r 3 , 1 ,…,r M , 1 ] T ; 锚节点为Ai=[xi,yi]T,i=1,2,…,M(M为锚节点的个数,M≥3),待定位节点为p=[x,y]T,ri=||p–Ai||表示待定位节点p和锚节点Ai的距离,ri,j表示待定位节点p到锚节点Ai和Aj的距离差;The anchor node is A i =[x i ,y i ] T , i=1,2,…,M (M is the number of anchor nodes, M≥3), and the node to be positioned is p=[x,y] T , r i =||p–A i || represents the distance between the node p to be positioned and the anchor node A i , r i , j represents the distance difference between the node p to be positioned and the anchor nodes A i and A j ; 22)判断二次方程解的情况:22) Judging the situation of the solution of the quadratic equation: 令Δ=(gTh)2-(gTg-1)hTh,则Let Δ=(g T h) 2 -(g T g-1)h T h, then 221)如果gTg-1=0,则方程有唯一解r1=hTh/(2gTh);221) If g T g-1=0, the equation has a unique solution r 1 =h T h/(2g T h); 222)如果Δ<0,则令r1=-1,p=A1,Bancroft方法解算结束;222) If Δ<0, set r 1 =-1, p=A 1 , and the solution of Bancroft method ends; 223)如果Δ=0,则方程有唯一解r1=gTh/(gTg-1);223) If Δ=0, the equation has a unique solution r 1 =g T h/(g T g-1); 224)如果Δ>0,则继续进行如下判断:224) If Δ>0, continue to make the following judgments: 2241)如果(gTh-Δ0.5)/(gTg-1)>0且(gTh+Δ0.5)/(gTg-1)<0,则方程正确解为r1=(gTh-Δ0.5)/(gTg-1);2241) If (g T h-Δ 0.5 )/(g T g-1)>0 and (g T h+Δ 0.5 )/(g T g-1)<0, the correct solution of the equation is r 1 =( g T h-Δ 0.5 )/(g T g-1); 2242)如果(gTh-Δ0.5)/(gTg-1)<0且(gTh+Δ0.5)/(gTg-1)>0,则方程正确解为r1=(gTh+Δ0.5)/(gTg-1);2242) If (g T h-Δ 0.5 )/(g T g-1)<0 and (g T h+Δ 0.5 )/(g T g-1)>0, the correct solution of the equation is r 1 =( g T h+Δ 0.5 )/(g T g-1); 2243)如果(gTh-Δ0.5)/(gTg-1)<0且(gTh+Δ0.5)/(gTg-1)<0,则令r1=-1,p=A1,Bancroft方法解算结束;2243) If (g T h-Δ 0.5 )/(g T g-1)<0 and (g T h+Δ 0.5 )/(g T g-1)<0, then let r 1 =-1, p =A 1 , the solution of Bancroft method ends; 2244)如果(gTh-Δ0.5)/(gTg-1)>0且(gTh+Δ0.5)/(gTg-1)>0,方程有两个有效解r1=(gTh-Δ0.5)/(gTg-1)和r1=(gTh+Δ0.5)/(gTg-1),使用最小二乘指标
Figure FDA0000420109190000021
判断正确解,
2244) If (g T h-Δ 0.5 )/(g T g-1)>0 and (g T h+Δ 0.5 )/(g T g-1)>0, the equation has two valid solutions r 1 = (g T h-Δ 0.5 )/(g T g-1) and r 1 =(g T h+Δ 0.5 )/(g T g-1), using least squares metric
Figure FDA0000420109190000021
judge the correct solution,
其中r
Figure FDA0000420109190000023
表示根据二次方程的解得到位置估计值之后计算出的距离差,待定位节点的位置根据p=h-gr1进行计算,
Figure FDA0000420109190000024
表示距离差测量值,即与测量值的残差平方和最小的为正确解;
where r
Figure FDA0000420109190000023
Indicates the distance difference calculated after the position estimate is obtained according to the solution of the quadratic equation, and the position of the node to be located is calculated according to p=h-gr 1 ,
Figure FDA0000420109190000024
Indicates the measured value of the distance difference, that is, the correct solution is the smallest sum of squared residuals with the measured value;
23)解二次方程得到r1的估计值后,将其代入式p=h-gr1,得到待定位节点位置的非加权估计值pu23) After solving the quadratic equation to obtain the estimated value of r 1 , substitute it into the formula p=h-gr 1 to obtain the unweighted estimated value p u of the position of the node to be located: 由pu计算待定位节点到各个锚节点Ai的距离riCalculate the distance r i from the node to be located to each anchor node A i by p u , 令h=(ATWA)-1ATWb,g=(ATWA)-1ATWR,其中A、b、R的定义同上,W=(DQD)-1,D=diag{r2,r3,…,rM},Q=IM-1+1,Let h=(A T WA) -1 A T Wb, g=(A T WA) -1 A T WR, where the definitions of A, b and R are the same as above, W=(DQD) -1 , D=diag{r 2 ,r 3 ,…,r M }, Q=I M-1 +1, 解二次方程(gTg-1)r1 2-2gThr1+hTh=0得到r1的估计值,二次方程的解会遇到同(22)步骤的几种情况,并采用同样的处理方式;Solve the quadratic equation (g T g-1)r 1 2 -2g T hr 1 +h T h=0 to get the estimated value of r 1 , the solution of the quadratic equation will encounter several situations in the same step (22), and take the same approach; 24)在得到r1的估计值后,将其代入式p=h-gr1就得到待定位节点位置的加权估计值pw24) After obtaining the estimated value of r 1 , substitute it into the formula p=h-gr 1 to obtain the weighted estimated value p w of the position of the node to be located: 25)计算pu到各个锚节点的距离差和pw到各个锚节点的距离差,然后根据最小二乘指标
Figure FDA0000420109190000022
在pu和pw中选择残差最小的作为待定位节点初始位置p。
25) Calculate the distance difference between p u and each anchor node and the distance difference between p w and each anchor node, and then according to the least square index
Figure FDA0000420109190000022
Select the one with the smallest residual error among p u and p w as the initial position p of the node to be located.
3.根据权利要求2所述的低功耗小型设备抗噪定位方法,其特征在于:所述判断初始位置解算是否成功(30)步骤具体为:3. The anti-noise positioning method for low-power small equipment according to claim 2, characterized in that: the step of judging whether the initial position calculation is successful (30) is specifically: 如果二次方程解r1=-1,则初始位置解算不成功,否则成功。If the quadratic equation solution r 1 =-1, the initial position solution is unsuccessful, otherwise it is successful. 4.根据权利要求2所述的低功耗小型设备抗噪定位方法,其特征在于,所述判断待定位节点初始位置是否位于Bancroft方法适用区域(40)步骤包括:4. The anti-noise positioning method for small low-power equipment according to claim 2, wherein the step of judging whether the initial position of the node to be positioned is located in the applicable area of the Bancroft method (40) includes: 41)取锚节点的质心C,
Figure FDA0000420109190000031
41) Take the centroid C of the anchor node,
Figure FDA0000420109190000031
42)对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,进行是否处于Bancroft方法的适用区域判断;42) For all adjacent anchor nodes A i and A j that follow the direction of the polygon, judge whether they are in the applicable area of the Bancroft method; 43)如果对于所有的相邻锚节点判断结束后仍没有出现待定位节点不处于Bancroft方法的适用区域,则待定位节点在Bancroft方法适用区域。43) If the node to be located is not in the applicable area of the Bancroft method after the judgment of all adjacent anchor nodes is completed, the node to be located is in the applicable area of the Bancroft method.
5.根据权利要求4所述的低功耗小型设备抗噪定位方法,其特征在于,所述对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,进行是否处于Bancroft方法的适用区域判断(42)步骤包括:5. The anti-noise positioning method for small low-power equipment according to claim 4, wherein, for all adjacent anchor nodes Ai and Aj that follow the direction of the polygon, it is judged whether it is in the applicable area of the Bancroft method ( 42) Steps include: 421)取锚节点Ai、Aj的中点M,从C到点M做延长线,取延长线上距离为l长度的点P,其中0≤l≤50*AiAj421) Take the midpoint M of the anchor nodes A i and A j , make an extension line from C to point M, and take a point P on the extension line whose distance is l, where 0≤l≤50*A i A j ; 422)判断将待定位节点p和质心C代入AiAj直线方程是否正负相同;422) Judging whether the node p to be positioned and the centroid C are substituted into the A i A j straight line equation whether the positive or negative is the same; 423)如果不同,则待定位节点不处于Bancroft方法的适用区域;423) If different, the node to be located is not in the applicable area of the Bancroft method; 424)如果相同,判断将待定位节点和质心C点代入PAi、PAj直线方程是否正负都相同;424) If they are the same, judge whether the positive and negative are the same when substituting the node to be positioned and the centroid point C into the linear equations of PA i and PA j ; 425)如果不同,则待定位节点不处于Bancroft方法的适用区域。425) If different, the node to be located is not in the applicable area of the Bancroft method. 6.根据权利要求2所述的低功耗小型设备抗噪定位方法,其特征在于:所述判断待定位节点初始位置是否位于Bancroft方法适用区域(40)步骤包括:6. The anti-noise positioning method for small low-power equipment according to claim 2, characterized in that: the step of judging whether the initial position of the node to be positioned is in the applicable area of the Bancroft method (40) includes: 61)判断待定位节点p是否在任意三个锚节点所组成的三角形内部,如果在其中至少一个三角形内部,则待定位节点p在Bancroft方法适用区域,判断结束;否则,继续进行如下步骤;61) Determine whether the node p to be located is inside the triangle formed by any three anchor nodes, if it is inside at least one of the triangles, then the node p to be located is in the applicable area of the Bancroft method, and the judgment ends; otherwise, proceed to the following steps; 62)取锚节点的质心C,
Figure FDA0000420109190000032
62) Take the centroid C of the anchor node,
Figure FDA0000420109190000032
63)对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,取锚节点Ai、Aj的中点M,从C到点M做延长线,取延长线上距离为l长度的点P,其中0≤l≤50*AiAj;如果待定位节点p位于三角形PAiAj的内部,则待定位节点处于Bancroft方法适用区域,判断结束;63) For all adjacent anchor nodes A i and A j that follow the direction of the polygon composition, take the midpoint M of the anchor nodes A i and A j , make an extension line from C to point M, and take a distance of l on the extension line Point P, where 0≤l≤50*A i A j ; if the node to be positioned p is located inside the triangle PA i A j , the node to be positioned is in the applicable area of the Bancroft method, and the judgment is over; 64)如果均没有出现上述使判断终止的条件,则待定位节点不位于Bancroft方法适用区域。64) If none of the above conditions for terminating the judgment occurs, the node to be located is not located in the applicable area of the Bancroft method.
7.根据权利要求2所述的低功耗小型设备抗噪定位方法,其特征在于,所述判断待定位节点初始位置是否位于Bancroft方法适用区域(40)步骤包括:7. The anti-noise positioning method for small low-power equipment according to claim 2, wherein the step of judging whether the initial position of the node to be positioned is located in the applicable area of the Bancroft method (40) includes: (71)判断待定位节点p是否位于由所有锚节点所组成的多边形的内部,如果是,则待定位节点p在Bancroft方法适用区域,判断结束,否则,-继续进行如下步骤;(71) Judging whether the node p to be located is located inside the polygon formed by all anchor nodes, if yes, the node p to be located is in the applicable area of the Bancroft method, and the judgment ends, otherwise, proceed to the following steps; 72)取锚节点的质心C,
Figure FDA0000420109190000041
72) Take the centroid C of the anchor node,
Figure FDA0000420109190000041
73)对于所有遵照多边形组成方向的相邻锚节点Ai和Aj,取锚节点Ai、Aj的中点M,从C到点M做延长线,取延长线上距离为l长度的点P,其中0≤l≤50*AiAj;如果待定位节点p位于三角形PAiAj的内部,则待定位节点处于Bancroft方法适用区域,判断结束;73) For all adjacent anchor nodes A i and A j following the composition direction of the polygon, take the midpoint M of the anchor nodes A i and A j , make an extension line from C to point M, and take a distance of l on the extension line Point P, where 0≤l≤50*A i A j ; if the node to be positioned p is located inside the triangle PA i A j , the node to be positioned is in the applicable area of the Bancroft method, and the judgment is over; 74)如果均没有出现上述使判断终止的条件,则待定位节点不位于Bancroft方法适用区域。74) If none of the above conditions for terminating the judgment occurs, the node to be located is not located in the applicable area of the Bancroft method.
8.根据权利要求1所述的低功耗小型设备抗噪定位方法,其特征在于,所述使用Chan方法确定待定位节点位置(50)步骤包括:8. The anti-noise positioning method for small low-power equipment according to claim 1, wherein the step of using the Chan method to determine the position of the node to be positioned (50) includes: 51)待定位节点位置初步估计值pe51) The preliminary estimated value pe of the node to be located is pe=(G1 TQ-1G1)-1G1 TQ-1h1p e =(G 1 T Q -1 G 1 ) -1 G 1 T Q -1 h 1 , 其中:Q=IM-1+1,G1=[x2-x1,x3-x1,…,xM-x1;y2-y1,y3-y1,…,yM-y1;r21,r3,1,…,rM,1] T,pe=[x,y,r1]T,h1=-0.5[r2,1 2-||A2||2+||A1||2,r3,1 2-||A3||2+||A1||2,…,rM,1 2-||AM||2+||A1||2]TWhere: Q=I M-1 +1, G 1 =[x 2 -x 1 ,x 3 -x 1 ,…,x M -x 1 ;y 2 -y 1 ,y 3 -y 1 ,…,y M -y 1 ;r 21 ,r 3 , 1 ,…,r M , 1] T ,p e =[x,y,r 1 ] T ,h 1 =-0.5[r 2 , 1 2- ||A 2 || 2 +||A 1 || 2 ,r 3 , 1 2 -||A 3 || 2 +||A 1 || 2 ,…,r M , 1 2 -||A M || 2 +||A 1 || 2 ] T ; 52)利用待定位节点位置初步估计值pe计算待定位节点p到各个锚节点Ai的距离ri52) Calculate the distance r i from the node p to be located to each anchor node A i by using the preliminary estimated value p e of the position of the node to be located; 53)待定位节点位置估计值53) Estimated value of the position of the node to be located pe=(G1 TW1G1)-1G1 TW1h1p e =(G 1 T W 1 G 1 ) -1 G 1 T W 1 h 1 , 其中:W1=(DQD)-1,D=diag{r2,r3,…,rM};Where: W 1 =(DQD) -1 ,D=diag{r 2 ,r 3 ,…,r M }; 54)待定位节点位置参考值54) The position reference value of the node to be positioned pa=(G2 TW2G2)-1G2 TW2h2p a =(G 2 T W 2 G 2 ) -1 G 2 T W 2 h 2 , 其中:G2=[1,0;0,1;1,1;],pa=[(x-x1)2;(y-y1)2],h2=[(pe(1)-x1)2;(pe(2)-y1)2;(pe(3))2],W2=(D′(G1 TW1G1)-1D′)-1,D′=diag{x–x1,y–y1,r1};Where: G 2 =[1,0;0,1;1,1;],p a =[(xx 1 ) 2 ;(yy 1 ) 2 ],h 2 =[(p e (1)-x 1 ) 2 ;(p e (2)-y 1 ) 2 ;(p e (3)) 2 ], W 2 =(D′(G 1 T W 1 G 1 ) -1 D′) -1 ,D′ =diag{x–x 1 ,y–y 1 ,r 1 }; 55)待定位节点位置确定值55) Determine the position of the node to be located p=pa 0.5⊙sgn(pe(1,2)-A1)+A1p=p a 0.5 ⊙sgn(p e (1,2)-A 1 )+A 1 , 其中:sgn()为符号函数;Among them: sgn() is a symbolic function; 如果在pa中的元素出现负数值的情况,则p=pe(1,2)。If the elements in p a have negative values, then p=p e (1,2).
CN201310595440.1A 2013-11-22 2013-11-22 Low-power consumption mini-plant anti-noise localization method Active CN103634903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310595440.1A CN103634903B (en) 2013-11-22 2013-11-22 Low-power consumption mini-plant anti-noise localization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310595440.1A CN103634903B (en) 2013-11-22 2013-11-22 Low-power consumption mini-plant anti-noise localization method

Publications (2)

Publication Number Publication Date
CN103634903A true CN103634903A (en) 2014-03-12
CN103634903B CN103634903B (en) 2016-08-31

Family

ID=50215411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310595440.1A Active CN103634903B (en) 2013-11-22 2013-11-22 Low-power consumption mini-plant anti-noise localization method

Country Status (1)

Country Link
CN (1) CN103634903B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870290A (en) * 2017-11-10 2018-04-03 西安交通大学 A Direction Finding Accuracy Analysis Method Applicable to Arbitrary Plane Arrays
CN110717234A (en) * 2019-10-17 2020-01-21 上海机电工程研究所 Irregular layout triple angular position simulation method, system and medium
CN114466304A (en) * 2022-01-27 2022-05-10 海信集团控股股份有限公司 Control method of intelligent household equipment, mobile terminal and intelligent household platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19936846A1 (en) * 1998-08-06 2000-04-06 Cell Loc Inc Network-based wireless location method for cellular mobile telephones, involving calling cellular telephone, monitoring paging over control channel, and gathering and processing response via reverse control channel
US6266014B1 (en) * 1998-10-09 2001-07-24 Cell-Loc Inc. Methods and apparatus to position a mobile receiver using downlink signals part IV
CN1360804A (en) * 1999-05-06 2002-07-24 塞-洛克公司 Wireless location system
CN101325807A (en) * 2008-07-24 2008-12-17 中国人民解放军理工大学 Signal Direction of Arrival Estimation Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19936846A1 (en) * 1998-08-06 2000-04-06 Cell Loc Inc Network-based wireless location method for cellular mobile telephones, involving calling cellular telephone, monitoring paging over control channel, and gathering and processing response via reverse control channel
US6266014B1 (en) * 1998-10-09 2001-07-24 Cell-Loc Inc. Methods and apparatus to position a mobile receiver using downlink signals part IV
CN1360804A (en) * 1999-05-06 2002-07-24 塞-洛克公司 Wireless location system
CN101325807A (en) * 2008-07-24 2008-12-17 中国人民解放军理工大学 Signal Direction of Arrival Estimation Method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨天池等: "一种基于TOA定位的CHAN改进算法", 《电子学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870290A (en) * 2017-11-10 2018-04-03 西安交通大学 A Direction Finding Accuracy Analysis Method Applicable to Arbitrary Plane Arrays
CN110717234A (en) * 2019-10-17 2020-01-21 上海机电工程研究所 Irregular layout triple angular position simulation method, system and medium
CN114466304A (en) * 2022-01-27 2022-05-10 海信集团控股股份有限公司 Control method of intelligent household equipment, mobile terminal and intelligent household platform
CN114466304B (en) * 2022-01-27 2024-03-26 海信集团控股股份有限公司 Control method of intelligent household equipment, mobile terminal and intelligent household platform

Also Published As

Publication number Publication date
CN103634903B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
Rusli et al. An improved indoor positioning algorithm based on rssi-trilateration technique for internet of things (iot)
CN104780506B (en) A kind of three side localization method of weighting based on confidence level
US20130045750A1 (en) Wireless localization method based on an efficient multilateration algorithm over a wireless sensor network and a recording medium in which a program for the method is recorded
CN103152824B (en) Positioning method of node in wireless sensor network
CN110174643A (en) A kind of localization method based on reaching time-difference without noise power information
Zheng et al. An improved RSSI measurement in wireless sensor networks
Yingxi et al. WSN node localization algorithm design based on RSSI technology
CN104793183A (en) Intersection point judgment based trilateral locating method
CN105334496A (en) Indoor positioning method
CN109195110A (en) Indoor orientation method based on hierarchical clustering technology and online extreme learning machine
CN114578283A (en) NLOS transmission base station identification and positioning method based on angle residual error
CN108737952A (en) Based on the improved polygon weighted mass center localization method of RSSI rangings
CN103634903B (en) Low-power consumption mini-plant anti-noise localization method
CN105979583A (en) NLOS (non-line of sight) transmission base station identification and positioning method based on side length residual error
Chengdong et al. A RSSI-based probabilistic distribution localization algorithm for wireless sensor network
CN112180323A (en) Research on indoor joint positioning algorithm of TOA and AOA based on Wi-Fi
Zheng et al. Time of arrival and time sum of arrival based NLOS identification and localization
CN107801168A (en) A kind of localization method of the adaptive passive type target in outdoor
Zhou et al. Optimal location method of spontaneous data fusion based on TDOA/AOA
Zheng et al. Localization algorithm based on RSSI and distance geometry constrain for wireless sensor network
CN108848447B (en) A Differential DV_Distance Node Localization Method Using Unknown Node Correction
CN116908778A (en) Track section positioning method, track section positioning device, electronic equipment and medium
CN107318159A (en) A kind of indoor fingerprint positioning method
CN110333481A (en) A Joint Positioning Method Based on Distance Ratio Circle Algorithm and Taylor Series Expansion Method
Chang et al. Three-dimensional positioning of wireless communication base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant