CN104144499A - Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse - Google Patents

Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse Download PDF

Info

Publication number
CN104144499A
CN104144499A CN201410406515.1A CN201410406515A CN104144499A CN 104144499 A CN104144499 A CN 104144499A CN 201410406515 A CN201410406515 A CN 201410406515A CN 104144499 A CN104144499 A CN 104144499A
Authority
CN
China
Prior art keywords
rssi
node
curve
generalized inverse
wireless sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410406515.1A
Other languages
Chinese (zh)
Inventor
尚凤军
龚文娟
高红霞
苏文
付强
陈晓凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201410406515.1A priority Critical patent/CN104144499A/en
Publication of CN104144499A publication Critical patent/CN104144499A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a wireless sensor network positioning method based on the RSSI vector similarity degree and generalized inverse. Gauss curve fitting is carried out on the probability of a specific RSSI value occurring at different distances, piecewise linear interpolation is carried out on an RSSI-d (relation between intensity and distances) curve, and a positioning algorithm that a quadrangle serves as a positioning unit, internal positioning of the positioning unit and external positioning of the positioning unit are carried out, and areas where nodes are likely to exist are rapidly locked is designed; meanwhile, by compassion of the similarity degree between RSSI vectors of unknown nodes and RSSI vectors of reference nodes, the reference anchor node nearest to the unknown nodes is continuously updated and determined, and the area where the unknown nodes are located is narrowed; for the situation that the distance measurement error is random and can not be controlled due to randomness of RSSI measurement errors, the generalized inverse method is introduced as the supplement of the positioning algorithm, the whole positioning algorithm is perfected, and the actual feasibility of the algorithm is improved.

Description

Based on RSSI vector phase recency and generalized inverse wireless sensor network locating method
Technical field
The present invention relates to wireless sensor network location technology, specifically a kind of based on RSSI vector phase recency and generalized inverse wireless sensor network locating method.
Background technology
At wireless sensor network (WSN, Wireless Sensor Network) every application in, only have the information that sensor node is caught and gathered to combine with node self-position, just can accurately illustrate " locale ", could reflect faithfully Target monitoring area.Obviously, the positional information of node is the prerequisite of sensor node perception and image data, only has the perception data of node, and there is no the positional information in perception data source, and this is to lack practical significance.Therefore, in wireless sensor network, node locating seems particularly important, and location technology also just must become an indispensable function and a crucial support technology of wireless sensor network.The positional information of node, for network data acquisition and event monitoring, is very important.Wireless sensor network Position Research has very important meaning for tracking, the monitoring in remote sensing field, contributes to comparison route, optimize communicate task, synthetic routing table.Once learn the position that event occurs, can calculate rapidly best route in order to send information to management node, for balancing network energy load and communication load, the best route of each node is conventionally not identical.
At present, there is the multiple research about Wireless Sensor Network Located Algorithm.Document (Rashedur R M, Barker K, Alhajj R.Replica Placement in Data Grid:Considering Utility and Risk[C] .Proceedings of IEEE International Conference on Coding and Computing, 2005:354-359) be coordinate position by three limit positioning modes estimation unknown node, locating effect is good.Document (Shi Qinqin, Huo Hong. use steepest descent algorithm to improve the node locating precision [J] of maximum likelihood estimation algorithm. computer application research, 2008,25 (7): 2038-2040) use steepest descent algorithm to optimize the node locating value of maximum likelihood estimation algorithm gained, it is the improvement to maximal possibility estimation positioning mode, can obtain with less calculation cost the raising of positioning precision, successful.Document (Wang XB, Fu MY, Zhang HS.Target tracking in wireless sensor networks based on the combination of KF and MLE using distance measurements[J] .IEEE Trans.on Mobile Computing, 2012,11 (4): 567-576) having merged maximum likelihood estimates and Kalman filtering, obtain the double effects of node precalculated position and node tracking, and there is higher positioning precision.
Centroid algorithm because of its convenient operation and the less feature of error rather well received in many localization methods of wireless sensor network, sequence location (the SBL that the people such as K Yedavalli propose, Sequence-Based Localization) algorithm, it is all the instantiation of barycenter positioning mode that the people such as Liu Zhihua have proposed the sequence location new algorithm that sequence location algorithm and 3 orthocenter methods combine, also obtained good positioning precision, but in boundary node location or imperfect environmental positioning, also need to improve.
The people such as Liu Shaofei have proposed a kind of based on average DV-Hop improvement algorithm of jumping apart from estimation and position correction, estimate that in order to solve by single anchor node the network Average hop distance of gained cannot reflect the deficiency of real network Average hop distance, obtains good positioning precision.But the scope of the positioning precision of this algorithm is to be based upon on the circulation correction algorithm of position, if position correction iteration mistake, positioning result is still influenced.
Summary of the invention
For above deficiency of the prior art, the object of the present invention is to provide and a kind ofly avoided the fluctuation of RSSI on the impact of positioning precision, accurate easy wireless sensor network locating method, technical scheme of the present invention is as follows: a kind of based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it comprises the following steps:
101, obtain received signal strength indicator (Received Signal Strength Indicator) the RSSI value between node to be positioned, and obtain probability density RSSI-d (intensity and distance relation) curve by carrying out gaussian curve approximation at the probability of the RSSI of different distance place value appearance;
102, in probability density curve RSSI-d (intensity and distance relation) curve matching in step 101 being obtained, the RSSI probability density of each distance is found peak value f (RSSI i) max, by this peak value f (RSSI i) maxcorresponding apart from d as the estimated distance between transmitting-receiving node, d=f (RSSI i) max* k+b, parameter k and b are the variation tendency of probability density with distance, the model of trying to achieve probability density curve RSSI-d is:
d = max ( f 0 + a * e - 2 ( RSSI i - RSSI ‾ ) 2 σ 2 ) * k + b , σ 2 = Σ i = 1 n ( RSSI i - μ ) 2 n - 1
Parameter f 0represent the RSSI probability density in somewhere, can be determined by the substitution of two groups of specific RSSI values for example RSSI=117dBm and RSSI=61dBm.μ represents the RSSI population mean of measuring.
103, probability density curve RSSI-d (intensity and distance relation) model is adopted to piecewise linear interpolation method;
104, to the RSSI-d after step 103 piecewise linear interpolation (intensity and distance relation) curve, adopt taking quadrangle as positioning unit, treat according to the outside positioning mode of positioning unit positioned internal method and positioning unit the region that location node exists and position;
105, the comparison of close degree between the RSSI vector of the RSSI vector sum reference node by node to be positioned, constantly updates and determines the reference anchor node nearest apart from unknown node, determines node to be positioned region.
Further, described RSSI adopts respectively 117dBm or 89dBm or 61dBm or 25dBm,
Further, the method that in step 101, gaussian curve approximation adopts is least square method.Utilize least square method can try to achieve easily unknown data, be applicable to linear relationship, and make the quadratic sum of error between these data of trying to achieve and real data for minimum.
Further, the Gauss curve fitting function prototype of described Gaussian curve is:
f ( x ) = a * e - 2 ( x - μ ) 2 ω 2 - - - ( 1 )
Wherein n represents the total number of numerical value of measuring.μ represents the RSSI population mean of measuring. a = 1 σ 2 π
Further, in the time of RSSI=117dBm, gained Gaussian curve equation is:
f ( x ) = 0.463 * e ( x - 117 1.214 ) 2 .
Further, in step 103, establishing RSSI-d (intensity and distance relation) curve has RSSI 1and RSSI 2, its corresponding function is respectively f 1maxand f 2max, so for want to try to achieve corresponding f imax∈ (f 1max, f 2max), will meet relation:
β = f i max - f 1 max RSSI i - RSSI 1 = f 2 max - f i max RSSI 2 - RSSI i
In formula, if β is called interpolation coefficient. β <1, can carry out interpolation; If β is >1, can carry out extrapolation.
Further, after step 106, also comprise range error at random when uncontrollable, introduce Generalized Inverse Method as the supplementary step in location.
Advantage of the present invention and beneficial effect are as follows:
First the present invention has adopted distance-finding method and the gaussian curve approximation based on RSSI, by analyzing and process experimental data, draws the totally conclusion of approximate Normal Distribution of RSSI, the negative effect that is intended to reject small probability, the large RSSI value of disturbing.
Secondly, the RSSI-d curve of adjacent node is adopted to the method for piecewise linear interpolation, according to the RSSI value of minority and the relation of its distance, calculate distance corresponding to any RSSI value.
In addition, the core of location algorithm of the present invention, designed the location algorithm based on RSSI vector phase recency, first find the reference anchor node nearest apart from unknown node, then judge that unknown node is inner or outside at the quadrangle forming apart from its four nearest anchor nodes, take a little two kinds of different location mechanisms inside and outside figure.
Especially, for the film micro area at quick lock in unknown node place, propose the concept of vectorial phase recency, constantly find the reference anchor node nearest apart from unknown node, thereby determine the region at unknown node place; Meanwhile, introduce generalized inverse, estimate the coordinate position of unknown node, perfect localization method, improves location feasibility, has verified the positional accuracy of algorithm.
Brief description of the drawings
In Fig. 1, a, b, c, d are respectively 4 groups of different RSSI value probability density curves of the present invention;
Fig. 2 is RSSI experiment value of the present invention and RSSI matched curve tendency chart;
Fig. 3 is that unknown node of the present invention positioning unit in the time that figure is inner is divided and sample point is determined schematic diagram;
Fig. 4 is that unknown node of the present invention is located schematic diagram in the time that figure is outside;
Fig. 5 is that the present invention utilizes generalized inverse location algorithm;
Fig. 6 is the flow chart of the preferred embodiment of the present invention;
Fig. 7 is the flow chart of outside location;
Fig. 8 is the flow chart of positioned internal.
Embodiment
The invention will be further elaborated to provide an infinite embodiment below in conjunction with accompanying drawing.But should be appreciated that, these describe example just, and do not really want to limit the scope of the invention.In addition, in the following description, omitted the description to known features and technology, to avoid unnecessarily obscuring concept of the present invention.
The present invention designs a kind of based on RSSI vector phase recency and generalized inverse wireless sensor network locating method.The method comprises the steps.
1, based on RSSI distance-finding method
In order to analyze the regularity of distribution of RSSI, the present invention carries out confluence analysis to many groups RSSI data, has drawn RSSI and be respectively 4 groups of probability density curves of 117dBm, 89dBm, 61dBm, 25dBm, as Fig. 1.Fig. 6 is the flow chart of the preferred embodiment of the present invention;
Fig. 7 is the flow chart of outside location; Fig. 8 is the flow chart of positioned internal.
Can be found out by above-mentioned 4 groups of RSSI probability density curves, it is a probability distribution that the RSSI value of actual measurement distributes, and the probability density curve of experiment RSSI data has following features:
Centrality: the peak (being the position at mean place) of curve is positioned at central authorities substantially.
Basic symmetry: curve centered by mean, left and right almost symmetry, curve two ends approach transverse axis.
Mobility gradually: curve is started by mean place place, the alteration trend of the left and right sides is gradually and declines.
Some scholars are studied the distribution pattern of RSSI, think that RSSI is totally similar to Normal Distribution.Can find out from experimental data and probability density curve, the RSSI probability density curve of actual measurement and truly having of the probability density curve of normal distribution are agreed with part.So the present invention has totally carried out Gauss curve fitting to experiment RSSI, rejects misdata and the invalid data of small probability, finds out probability peak, extract and the immediate estimated distance of actual distance, for nodal exactness location provides experiment basis.In order to improve RSSI range accuracy, adopt least square method to do Gauss curve fitting to RSSI probability density curve.
Gauss curve fitting function prototype is:
f ( x ) = a * e - 2 ( x - &mu; ) 2 &omega; 2 - - - ( 1 )
Wherein &mu; = &Sigma; i = 1 n RSSI i n , &omega; = &Sigma; i = 1 n ( RSSI i - &mu; ) 2 n - 1 .
The probability density curve at matching RSSI=117dBm place, gained Gaussian curve equation is:
f ( x ) = 0.4643 * e ( x - 117 1.214 ) 2 - - - ( 2 )
As seen from the figure, in original probability density curve, the value of maximum probability is RSSI=117dBm, and in the probability density curve of the Gaussian Profile that matching obtains, the value of maximum probability is μ=117dBm, matching income effect and former data consistent.
Fig. 2 has shown respectively the relation between RSSI-d experiment value and RSSI-d matched curve, and as seen from the figure, the experimental data of matching acquired results and RSSI-d occurs deviation in indivedual distances, but all presents exponential damping trend generally.Because transmitting signal is in closely decay fast, and attenuation law is obvious; When remote, decay comparatively slow, and error increases.Also can be found out by lab diagram, 6m is with interior matched curve, and effect is better, and error of fitting is less; Along with the increase of distance, fitting effect has certain deviation, and error of fitting increases.So 10m approaches linear relationship with the RSSI value at interior neighbor distance place, can try to achieve the RSSI value that there is no the distance of measuring by interpolation.
According to upper joint analysis, the RSSI value of known actual measurement approaches Gaussian Profile at different distance place, the distance between the just most possible thing receiving node in place and transmitting node that RSSI distribution density is larger.To the RSSI probability density peak-seeking of each distance,, there is relation: d=f (RSSI in the estimated distance using corresponding this peak value distance between transmitting-receiving node between probability density peak value and distance i) max* k+b, parameter k and b are the variation tendency of probability density with distance, can try to achieve by substitution data.The model of RSSI-d is:
d = max ( f 0 + a * e - 2 ( RSSI i - RSSI &OverBar; ) 2 &sigma; 2 ) * k + d - - - ( 3 )
If known RSSI 1and RSSI 2the function at place is respectively f 1maxand f 2max, so for want to try to achieve corresponding f imax∈ (f 1max, f 2max), will meet relation:
&beta; = f i max - f 1 max RSSI i - RSSI 1 = f 2 max - f i max RSSI 2 - RSSI i - - - ( 4 )
In formula (3), if β is called interpolation coefficient. β <1, can carry out interpolation; If β is >1, can carry out extrapolation.
If known RSSI i, can pass through f imax=(1-β) * f 1max+ β * f 2maxask for corresponding normal state peak value f imax, according to above-mentioned model, can try to achieve the most possible corresponding distance d of this RSSI i.
Between 0-25m, can carry out interpolation to the RSSI-d model in different RSSI interval, for this RSSI-d interpolation model is extrapolated to larger RSSI interval, carry out remote distance estimations, make it to have more actual availability, we spread to 56 (respective distances 1~10m) by RSSI from 117.Finally, averaging of income range error and the average range error of Shadowing model are to such as table 1.
Table 1 RSSI-d model and the contrast of Shadowing model range error
As can be seen from Table 1, Shadowing model and RSSI-d model can be inferred and try to achieve corresponding distance according to RSSI value, reach range finding effect.But can be found out by range error, the average range error of RSSI-d interpolation model is less than the average range error of Shadowing model, and this has benefited from linear interpolation between short distance.
2, the WSN location algorithm based on RSSI vector phase recency
The existing location algorithm using leg-of-mutton center of gravity, barycenter etc. as finish node estimated coordinates, obtain considerable positioning precision although can progressively dwindle locating area by different division methods, but in these localization methods, the prerequisite that some location algorithm is carried out is that unknown node is in positioning unit inside, it is inner or outside at positioning unit that some does not distinguish node, do not discuss node in the time that positioning unit is outside because error is excessive, and overall positioning precision is caused to the situation of negative effect; As FTLM location model and SBL algorithm.The present invention chooses apart from 4 nearest nodes of node to be measured, and as with reference to anchor node, and the quadrangle that these 4 anchor nodes are formed is as the locating area of unknown node, determines that by area-constrained relation unknown node to be positioned is inner or outside at quadrangle.This section has solved following problem: if in quadrangle inside, how to choose reference sample point; If in quadrangle outside, how in the situation that position error is as far as possible little, to determine unknown node coordinate position.
As Fig. 3, according to quadrangle area restriction relation formula, known some P is in quadrangle ABCD inside.By triangle area restriction relation formula, known some P is in △ DAO.Unknown node is at the location mechanism of figure inside, and step is as follows:
Step 1: △ DAO has 6 reference sample point D, A, O, E, F, G;
Step 2: the phase recency between the RSSI vector of above-mentioned 6 the reference sample points of RSSI vector sum of comparison point P;
Step 3: find the reference sample point that close degree is the highest, apart from its nearest some E, D, G.
In like manner, in △ EGD, be H, I, J apart from the nearest reference sample point of P.Equally △ HIJ is done to aforesaid operations, known some P is in △ LIM.So far, no longer dwindle micro-Delta Region, △ LIM is final positioning unit, gets the coordinate of this leg-of-mutton barycenter as node P to be positioned.
Unknown node is as follows at the location mechanism of figure outside: as Fig. 4, P is unknown node to be positioned, A, B, C, D be apart from nearest 4 of P with reference to anchor node, AC and BD are two diagonal of quadrangle ABCD, O is two diagonal intersection points (coordinate can be tried to achieve), is regarded as new reference sample point.
According to quadrangle area restriction relation formula, equation is false, and known some P is in quadrangle ABCD outside.Unknown node P receives four RSSI values with reference to anchor node: { RSSI d, RSSI a, RSSI b, RSSI c, some D, A, P composition △ PAD.Here due to the RSSI value that can record between every 2, by signal attenuation model, can try to achieve the distance (Atria limit) between every 2, and the coordinate of anchor node A and D is known, can try to achieve unknown node coordinate by following equation group:
L = d AD + d DP + d PA S &Delta;PAD = L 2 * ( L 2 - d AD ) * ( L 2 - d DP ) * ( L 2 - d PA ) S &Delta;PAD = = 1 2 d AD * d PO 1 d PO 1 = A * x + B * y + C A 2 + B 2 - - - ( 8 )
Wherein L is triangle girth, and S is triangle area, and d is the triangle length of side, A*x+B*y+C=0 is the linear equation of AD place straight line, solving equations (8) can be tried to achieve two groups of coordinate P (X, Y) and the P1 (X1, Y1) of unknown node.
In like manner, choose that RSSI value in RSSI vector ranks first place and the 3rd some D and some B, they form △ PBD together with P point self, also can try to achieve two groups of unknown node coordinate P (X, and P1 (X2, Y2) Y). comprehensive two leg-of-mutton two groups solutions, can try to achieve two leg-of-mutton public vertex P, can obtain the coordinate P (X, Y) of unknown node.(1) unknown node is at the location mechanism of positioning unit inside
As Fig. 3, P is unknown node to be positioned, A, B, C, D be apart from nearest 4 of P with reference to anchor node, A, B, C, the quadrangle that D surrounds is positioning unit.AC and BD are two diagonal of quadrangle ABCD, and O is two diagonal intersection points (coordinate can be tried to achieve), are regarded as new reference sample point.By following area-constrained relation, can determine that unknown node is inner or outside at quadrangle ABCD.
S ABCD = S &Delta;ABP + S &Delta;BCP + S &Delta;CDP + S &Delta;DAP &DoubleRightArrow; Point P is in quadrangle ABCD inside;
S &Delta;DAO = S &Delta;DPA + S &Delta;APO + S &Delta;OPD &DoubleRightArrow; Point P is in △ DAO inside.
If unknown node, in ABCD inside, as Fig. 3, is taked following operation, dwindle positioning unit:
Step 1: judging point P is at △ ABO, and △ BCO, in △ CDO or △ DAO.
Step 2: in some in these four triangles of fruit dot P, by getting the mode of every limit mid point of this triangle, obtain 3 new reference sample points, i.e. 3 mid points.
Step 3: again the RSSI vector (6 RSSI vectors) of the original triangular apex of RSSI vector sum of unknown node P and 3 reference sample points newly obtaining is done to the comparison of phase recency totally, find out the reference sample point that phase recency is the highest, be 3 nearest reference sample points of distance P, obtain E herein, G, D.
By that analogy, constantly repeat above-mentioned steps, the mode of the mid point on the limit by the new cocked hat of continuous searching, obtains the reference sample point nearest apart from unknown node P, and then constantly dwindling micro-Delta Region at unknown node place, Fig. 3 mid point P is finally locked in △ LIM.
(2) unknown node is at the location mechanism of positioning unit outside
If unknown node is in outside, as Fig. 4.Be total to summit triangle by two and determine unknown node coordinate.
Main operation is as follows:
Step 1: find rank forefront two D, A point of RSSI vector (by strong to the weak) meta of unknown node P, they form △ PAD. with P self
Step 2: find and rank first place in the RSSI vector of unknown node P and the 3rd D, B point, they form △ PBD with P self.
Step 3: because each Atria length of side is known, triangle area can be asked; Two apex coordinates are known, relend and help area formula can try to achieve the height of a P to opposite side.
Respectively △ PAD and △ PBD are done the operation of above-mentioned steps 3, can try to achieve the coordinate of two concurrent triangle public vertex P.
Although this method is feasible, but in ranging process, the rssi measurement error span of all directions may be also inconsistent, and the change of distance on correspondence direction just increases and decreases inconsistent, at this moment said method just can not be tried to achieve two leg-of-mutton public vertex, and the equation group of simultaneous is without public solution.
As Fig. 5, due to the existence of RSSI random meausrement error, the final P obtaining that calculates 1' (x' 1, y' 1) and P' 2(x' 2, y' 2) do not overlap, the equation group of institute's simultaneous does not have public solution.For this reason, we introduce Generalized Inverse Method and carry out calculating location coordinate.
Known A ∈ C m × nwith b ∈ C m, ask the vectorial X ∈ C of system of linear equations AX=b m
If above formula has solution, be referred to as compatibility condition group; If above formula, without solution, is referred to as incompatible equations group.For incompatible equations group, there is not the general solution under ordinary meaning, this trifle is intended to utilize generalized inverse to try to achieve best fit approximation solution to inconsistent without solving equations.We by shape as:
X = min X &Element; C m | | AX - b | | - - - ( 9 )
Solution be called the least square solution of incompatible equations group, wherein, || || represent European norm.
Definition 1: if incompatible system of linear equations AX=b meets wherein, be the least squares generalized inverse of A, exist so meet claim be the least square solution of this equation group, separate than other, the error sum of squares causing minimum.
If G is a matrix, a least square solution of incompatible equations, || AGb-b|| 2minimum, so just has: || A (Gb+ (I-GA) Z)-b|| 2=|| AGb-b|| 2
with it is all a least square solution of this incompatible system of linear equations.
While calculating unknown node coordinate according to anchor node A, B, D, group can establish an equation:
| k AD * x - y | + b 1 - h AD &perp; * k AD 2 + 1 = 0 | k AD * x - y | + b 2 - h BD &perp; * k BD 2 + 1 = 0 2 ( x A - x D ) x + 2 ( y A - y D ) y = d PA 2 - d PD 2 + x PD 2 - x PA 2 + y PD 2 - y PA 2 2 ( x B - x D ) x + 2 ( y B - y D ) y = d PB 2 - d PD 2 + x PD 2 - x PB 2 + y PD 2 - y PB 2 - - - ( 10 )
Turned into shape as the system of linear equations of AX=b, wherein coefficient matrices A and vectorial b are respectively:
A = k AD - 1 k BD - 1 2 ( x A - x D ) 2 ( y A - y D ) 2 ( x B - x D ) 2 ( y B - y D ) b = h AD &perp; * k AD 2 + 1 - b 1 h BD &perp; * k BD 2 + 1 - b 2 d PA 2 - d PD 2 + x PD 2 - x PA 2 + y PD 2 - y PA 2 d PB 2 - d PD 2 + x PD 2 - x PB 2 + y PD 2 - y PB 2
Because this equation group without public solution, is incompatible system of linear equations, the least squares generalized inverse of this equation group is:
A i - = ( A T A ) - 1 A T - - - ( 10 )
So the least square solution of this incompatible system of linear equations is:
X ~ = A i - b = A i - h AD &perp; * k AD 2 + 1 - b 1 h BD &perp; * k BD 2 + 1 - b 2 d PA 2 - d PD 2 + x PD 2 - x PA 2 + y PD 2 - y PA 2 d PB 2 - d PD 2 + x PD 2 - x PB 2 + y PD 2 - y PB 2 - - - ( 11 )
Can try to achieve like this X ~ = x ~ y ~ , Unknown node estimated coordinates is
To sum up, unknown node is in the time that figure is inner, and four anchor nodes formation quadrangle positioning units that utilization is nearest apart from unknown node, in new positioning unit, constantly find apart from its nearest reference sample point, thereby constantly dwindles the region at unknown node place; Unknown node, in the time that figure is outside, adopts mathematical method how much, introduces generalized inverse, tries to achieve unknown node coordinate.
For the similarity degree between the RSSI vector of the RSSI vector sum reference sample point of properer description node to be positioned, find exactly near the reference sample point of " recently " unknown node, we have designed new index-vectorial phase recency.
Definition 2: if node can receive the broadcast singal of n anchor node, so, the intensity level RSSI of a received n signal can form vectorial set:
Ψ={RSSI 1,RSSI 2,…,RSSI i}(i=1,2,…,n) (12)
Wherein, RSSI irepresent that receiving node receives the RSSI value of i anchor node.
RSSI in subtend duration set Ψ sorts from big to small, is gathered
Ψ'={X(R 1),X(R 2),…X(R j)}(j=1,2,…,n) (13)
We will gather the key value collection that Ψ ' is called RSSI, wherein, and X (R j) represent the RSSI value of the rank j position that this node receives,, apart from the near anchor node of unknown node j, we are referred to as RSSI key value.
M reference sample point receive n anchor node RSSI vector table be denoted as:
RSSI in vector table is sorted from big to small, gathered
Wherein, X (R kj) represent the RSSI value of the rank j position that k reference sample point receive, apart from the near anchor node of unknown node j.
Definition 3: by keyword set Ψ '={ X (R independently 1), X (R 2) ... X (R j) (j=1,2 ..., n) form two different vector: R' t={ X (R t1), X (R t2) ..., X (R tj) ... X (R tn), R' k={ X (R k1), X (R k2) ..., X (R kq) ... X (R kn),
Keyword X (R between two vectors tp) irrelevance be:
d(p)=|X(R Tp)-X(R kq)|,if R Tp=R kq (16)
Definition 4:RSSI vector R t={ RSSI t1, RSSI t2..., RSSI tjrSSI tn, R k={ RSSI k1, RSSI k2..., RSSI kqrSSI knto RSSI vector R tdo normalized:
&Sigma; j = 1 n rssi Tp = 1 , ( p = 1,2 , . . . , n ) - - - ( 17 )
So, RSSI vector R twith RSSI vector R kbetween phase recency ρ (k) be:
&rho; ( k ) = &rho; ( R T , R k ) = &Sigma; p = 1 n d ( p ) * rssi Tp , ( k = 1,2 , . . . , m ) ( p = 1,2 , . . . , n ) R k &Element; R - - - ( 18 )
Wherein, d (p) is keyword X (R tp) irrelevance, rssi tprepresent tpthe significance level of the RSSI of place.
From definition 4, vector similarity meets following relation:
1) ρ (R t, R k)>=0, and if only if irrelevance X (R tp) (p=1,2 ..., n) be establishment in 0 o'clock.
2) ρ (R t, R k) less, vectorial R is described twith R kbetween difference less, close degree is higher; Otherwise, illustrating that between vector, difference is larger, close degree is lower.
To ρ (k) (k=1,2 ..., m) row ascending order, so, in vector table R with vector
R T={RSSI T1,RSSI T2,…,RSSI Tj…RSSI Tn} (19)
N the vector that close degree is the highest meet ρ (k) (k=1,2 ... N, N<m) <min (ρ (k) is (k>N))
In the present invention, by phase recency defined above, constantly find the top n reference sample point the highest with unknown node similarity degree, thereby constantly dwindle the region at unknown node place; For several times, finally choose the region that reference sample point surrounds that phase recency ρ (k) occupies front N is unknown node estimation region to iteration like this.For the close degree of accurate description unknown node and each reference sample point, and then accurately estimating unknown node coordinate, the present invention, according to close degree, does weighting processing to each reference sample point, and final estimated coordinates using the barycenter in this region as unknown node, computing formula is as follows:
( x , y ) = ( 1 N &Sigma; k = 1 N x k * rssi Tk , 1 N &Sigma; k = 1 N y k * rssi Tk )
These embodiment are interpreted as being only not used in and limiting the scope of the invention for the present invention is described above.After having read the content of record of the present invention, technical staff can make various changes or modifications the present invention, and these equivalences change and modification falls into the inventive method claim limited range equally.

Claims (7)

1. based on RSSI vector phase recency and a generalized inverse wireless sensor network locating method, it is characterized in that, comprise the following steps:
101, obtain the received signal strength indicator RSSI value between the node of node to be positioned, and the probability occurring in the RSSI of different distance place value is carried out to gaussian curve approximation and obtains the relation curve of probability density RSSI-d intensity and distance;
102, in probability density curve RSSI-d intensity matching in step 101 being obtained and distance relation curve, the RSSI probability density of each distance is found peak value f (RSSI i) max, by this peak value f (RSSI i) maxcorresponding apart from d as the estimated distance between transmitting-receiving node, d=f (RSSI i) max* k+b, parameter k and b are the variation tendency of probability density with distance, the model of trying to achieve probability density curve RSSI-d is:
parameter f 0represent the RSSI probability density in somewhere, can be determined by the substitution of two groups of specific RSSI values,
103, probability density curve RSSI-d intensity and distance relation model are adopted to piecewise linear interpolation method;
104, to the RSSI-d intensity after step 103 piecewise linear interpolation and distance relation curve, adopt taking quadrangle as positioning unit, treat according to the outside positioning mode of positioning unit positioned internal method and positioning unit the region that location node exists and position;
105, the comparison of close degree between the RSSI vector of the RSSI vector sum reference node by node to be positioned, constantly updates and determines the reference anchor node nearest apart from unknown node, determines node to be positioned region.
2. according to claim 1 based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it is characterized in that: described RSSI adopts respectively 117dBm or 89dBm or 61dBm or 25dBm.
3. according to claim 1 based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it is characterized in that: the method that in step 101, gaussian curve approximation adopts is least square method.
According to described in claim 1 or 3 based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it is characterized in that: the Gauss curve fitting function prototype of described Gaussian curve is:
Wherein n represents the total number of numerical value of measuring, and μ represents the RSSI population mean of measuring,
5. according to claim 4 based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it is characterized in that: in the time of RSSI=117dBm, gained Gaussian curve equation is:
6. according to claim 1 based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it is characterized in that: in step 103, establish RSSI-d intensity and distance relation curve has RSSI 1and RSSI 2, its corresponding function is respectively f 1maxand f 2max, so for want to try to achieve corresponding f imax∈ (f 1max, f 2max), will meet relation:
In formula, if β is called interpolation coefficient. β <1, can carry out interpolation; If β is >1, can carry out extrapolation.
7. according to claim 1 based on RSSI vector phase recency and generalized inverse wireless sensor network locating method, it is characterized in that: after step 106, also comprise range error at random when uncontrollable, introduce Generalized Inverse Method as the supplementary step in location.
CN201410406515.1A 2014-08-18 2014-08-18 Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse Pending CN104144499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410406515.1A CN104144499A (en) 2014-08-18 2014-08-18 Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410406515.1A CN104144499A (en) 2014-08-18 2014-08-18 Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse

Publications (1)

Publication Number Publication Date
CN104144499A true CN104144499A (en) 2014-11-12

Family

ID=51853545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410406515.1A Pending CN104144499A (en) 2014-08-18 2014-08-18 Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse

Country Status (1)

Country Link
CN (1) CN104144499A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660598A (en) * 2015-02-11 2015-05-27 北京科技大学 Interference identification method based on least square method and applicable to wireless sensor network
CN105554874A (en) * 2015-11-18 2016-05-04 林臻嵘 Indoor positioning method based on source calibration
TWI589169B (en) * 2015-09-18 2017-06-21 Wireless network communication system and communication method thereof
CN107144279A (en) * 2017-04-28 2017-09-08 西安华宸导航通信有限公司 Envirment factor dynamic calibrating method based on RSSI models in complex environment
CN107920386A (en) * 2017-10-10 2018-04-17 深圳数位传媒科技有限公司 Sparse independent positioning method, server, system and computer-readable recording medium
CN109302673A (en) * 2018-11-06 2019-02-01 广州杰赛科技股份有限公司 A kind of localization method, device and computer readable storage medium
CN109889977A (en) * 2019-02-25 2019-06-14 广州市香港科大霍英东研究院 A kind of bluetooth localization method, device, equipment and system returned based on Gauss
CN110366109A (en) * 2019-08-01 2019-10-22 厦门大学 A kind of localization method and system for indoor objects

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665273A (en) * 2012-04-19 2012-09-12 中国科学技术大学苏州研究院 Wireless sensor network node positioning method
CN102938875A (en) * 2012-11-23 2013-02-20 重庆大学 RSSI (Received Signal Strength Indicator)-based probability-centroid positioning method for wireless sensor network
CN103826298A (en) * 2014-03-05 2014-05-28 浙江农林大学 Wireless sensor network positioning and computing method for collaborative iterative optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665273A (en) * 2012-04-19 2012-09-12 中国科学技术大学苏州研究院 Wireless sensor network node positioning method
CN102938875A (en) * 2012-11-23 2013-02-20 重庆大学 RSSI (Received Signal Strength Indicator)-based probability-centroid positioning method for wireless sensor network
CN103826298A (en) * 2014-03-05 2014-05-28 浙江农林大学 Wireless sensor network positioning and computing method for collaborative iterative optimization

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高红霞: "基于RSSI的无线传感器网络定位技术研究", 《万方数据知识服务平台》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660598A (en) * 2015-02-11 2015-05-27 北京科技大学 Interference identification method based on least square method and applicable to wireless sensor network
CN104660598B (en) * 2015-02-11 2017-12-22 北京科技大学 A kind of interference identification method based on least square method suitable for wireless sensor network
TWI589169B (en) * 2015-09-18 2017-06-21 Wireless network communication system and communication method thereof
CN105554874A (en) * 2015-11-18 2016-05-04 林臻嵘 Indoor positioning method based on source calibration
CN107144279A (en) * 2017-04-28 2017-09-08 西安华宸导航通信有限公司 Envirment factor dynamic calibrating method based on RSSI models in complex environment
CN107144279B (en) * 2017-04-28 2020-05-12 西安华宸导航通信有限公司 RSSI (received Signal Strength indicator) model-based dynamic calibration method for environmental factors in complex environment
CN107920386A (en) * 2017-10-10 2018-04-17 深圳数位传媒科技有限公司 Sparse independent positioning method, server, system and computer-readable recording medium
CN109302673A (en) * 2018-11-06 2019-02-01 广州杰赛科技股份有限公司 A kind of localization method, device and computer readable storage medium
CN109889977A (en) * 2019-02-25 2019-06-14 广州市香港科大霍英东研究院 A kind of bluetooth localization method, device, equipment and system returned based on Gauss
CN109889977B (en) * 2019-02-25 2021-01-12 广州市香港科大霍英东研究院 Bluetooth positioning method, device, equipment and system based on Gaussian regression
CN110366109A (en) * 2019-08-01 2019-10-22 厦门大学 A kind of localization method and system for indoor objects

Similar Documents

Publication Publication Date Title
CN104144499A (en) Wireless sensor network positioning method based on RSSI vector similarity degree and generalized inverse
CN106792465B (en) A kind of indoor fingerprint map constructing method based on crowdsourcing fingerprint
CN103401922B (en) Distributed localization apparatus and method based on game method in wireless sensor network
CN104684081B (en) The Localization Algorithm for Wireless Sensor Networks of anchor node is selected based on distance cluster
Yao et al. Distributed wireless sensor network localization based on weighted search
CN103648164B (en) A kind of based on the difference time of advent and the wireless-sensor network distribution type localization method of Gossip algorithm
CN101873691A (en) Method for positioning wireless sensor network node without ranging based on connectedness
CN103929717A (en) Wireless sensor network positioning method based on weight Voronoi diagrams
Wang et al. Research on APIT and Monte Carlo method of localization algorithm for wireless sensor networks
CN108650706A (en) Sensor node positioning method based on second order Taylors approximation
Aranda et al. Performance analysis of fingerprinting indoor positioning methods with BLE
CN103533647A (en) Radio frequency map self-adaption positioning method based on clustering mechanism and robust regression
KR20110116565A (en) Method determining indoor location using bayesian algorithm
CN106714296A (en) Indoor positioning method based on steepest descent method
CN103281779A (en) Radio frequency tomography method base on background learning
Jin et al. Toward scalable and robust indoor tracking: Design, implementation, and evaluation
CN107222925A (en) A kind of node positioning method based on cluster optimization
Wang et al. Optimal target tracking based on dynamic fingerprint in indoor wireless network
Mirdita et al. Localization for intelligent systems using unsupervised learning and prediction approaches
Wei et al. RSSI-based location fingerprint method for RFID indoor positioning: a review
CN104101861B (en) Distance-measuring and positioning method and system
Wei et al. An improved multihop distance estimation for DV-hop localization algorithm in wireless sensor networks
Mohanta et al. Advanced localization algorithm for wireless sensor networks using fractional order class topper optimization
Liang et al. Indoor mapping and localization for pedestrians using opportunistic sensing with smartphones
Wu et al. GROLO: realistic range-based localization for mobile IoTs through global rigidity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141112

RJ01 Rejection of invention patent application after publication