Summary of the invention
In view of this, the present invention provides a kind of localization method and device of wireless sensing terminal, realizing reducing environmental factor and antenna towards the influence to the miniaturization terminal positioning, and reaches and reduces hardware cost and calculate succinct effect.
A kind of localization method of wireless sensing terminal comprises:
Reception signal strength signal intensity through the Bayesian model algorithm for estimating obtains whole nodes indicates RSSI through after the off-line training modeling, maps to the probability weight distance B, and said Bayesian model algorithm for estimating is based on the wireless energy signal attenuation principle;
Utilize maximum likelihood estimate to combine said probability weight distance B to confirm the static node position, and utilize kalman filter method that the coordinate of the static node position that obtains and speed are set up four-dimensional Filtering Model and confirm positions of mobile nodes.
Above-mentioned execution mode is that the influence towards for wireless signal of antenna is carried out modeling from the statistics angle, obtains the target location through using Bayesian probability statistical model estimating target distance and maximum likelihood estimate.Utilize static node to combine Kalman filter model to confirm positions of mobile nodes; From static and dynamic two aspects all types of nodes are accurately located; The method of signal strength signal intensity being carried out the certainty modeling with respect to classical way has more robustness; Thereby realized minimizing Miniature Terminal aerial angle and environment etc., and the purpose that reduces the hardware cost of special sensor for the positioning result influence.
Preferably, said method comprises that also the Bayesian inference model is returned in the static node position that obtains to carry out iteration and upgrade, and the positions of mobile nodes that obtains is returned in said Kalman's model carry out on-line study.
Through the renewable said Bayesian inference model of on-line study model, make static node obtain belonging to the signal energy mode under the environment; And, through the iteration of Kalman filter model, can accomplish the filter tracking of the target trajectory of movement node better.
Preferably; After the said reception signal strength signal intensity indication RSSI that whole nodes is obtained through the Bayesian model algorithm for estimating passes through the off-line training modeling, map to the probability weight distance B and be specially: set up mixed Gauss model GMM and tentatively find range the back acquisition based on this reception signal strength signal intensity lower probability Weighted distance D.
Above-mentioned mixed Gauss model be with the probability of acceptance with and nodal pitch be modeled as probability distribution; And said mixed Gauss model carries out multi-modal modeling to mapping relations; Consider because signal incident angle difference is brought difference; Can accurately locate the target mapping relations, and be not limited to the above-mentioned form of enumerating.
Preferably, utilize maximum likelihood estimate to combine said probability weight distance B to confirm that the static node position is specially: said probability weight distance B to be added the minimize error cost function obtain the maximal possibility estimation positioning result under its probability right.
Maximum likelihood location algorithm in this execution mode is non-based on the higher algorithm of positional accuracy in the topological structure in the present radio sensing network, and the minimum point of difference carries out the succeeding target location between range finding distance and the estimated distance through seeking.
Preferably, said method also comprises initialization node power information and each node is carried out the linear time Filtering Processing.
In order to reduce wireless sensing terminal in actual use, receive signal strength signal intensity RSSI and receive environment and target and move and wait influence, need carry out again that data analysis is preceding carries out Filtering Processing to signal, and be not limited to the above-mentioned form of enumerating.
A kind of positioner of wireless sensing terminal comprises:
The Bayesian model range finder module; Be used for indicating through after the off-line training modeling through the reception signal strength signal intensity that the Bayesian model algorithm for estimating obtains whole nodes; Map to the probability weight distance B, said Bayesian model algorithm for estimating is based on the wireless energy signal attenuation principle;
The node locating module is used to utilize maximum likelihood estimate and combines said probability weight distance B to confirm the static node position; And utilize kalman filter method that the position coordinates of the static node position that obtains and speed are set up four-dimensional Filtering Model and confirm positions of mobile nodes.
Preferably, said device also comprises: the initialization process module is used for initialization node power information and each node is carried out the linear time Filtering Processing.
Preferably, said device also comprises: the online updating study module is used for that the Bayesian inference model is returned in the static node position that obtains and carries out iteration and upgrade, and the positions of mobile nodes that obtains returned in said Kalman's model carry out on-line study.
Said apparatus and method are corresponding, with static node locating module and mobile node module combine to have reached reduce Miniature Terminal aerial angle and environment etc. to the influence of wireless sensor network positioning, and reduce the technique effect of the hardware cost of special sensor.
Can find out from above-mentioned technical scheme; The embodiment of the invention utilizes Bayesian model that the reception signal strength signal intensity indication RSSI off-line training that whole nodes obtain is mapped to the probability weight distance B; And respectively from static and dynamic two aspects; In conjunction with maximum likelihood estimate and kalman filter method location node position more exactly; With the intensity indication modeling to received signal of statistics angle, overcome middle-size and small-sizeization of prior art portable terminal signal and received the influence for wireless terminal location such as antenna direction and environment, and increased special sensor and cause the higher shortcoming of cost; And the present invention selects for use method the linear model or the piecewise linear model that more new model is more single than classics of on-line study can describe the bigger situation of miniaturization wireless terminal collection sample variance more accurately, and practicality and applicability all increase.
Embodiment
For quote and know for the purpose of, the technical term that hereinafter uses, write a Chinese character in simplified form or abridge and sum up as follows:
RSSI:Received Signal Strength Indicator receives the intensity indication of signal.
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention discloses a kind of localization method and device of wireless sensing terminal, realizing reducing environmental factor and antenna, and reach and reduce hardware cost and calculate succinct effect towards influence to the miniaturization terminal positioning.
Before carrying out the embodiment description, need to prove:
Two kinds of nodes are arranged in the embodiment of the invention, and static node and mobile node carry out said static node location positioning through the method for the embodiment of the invention; And in the actual location scene; Because block, the influence of disturbing factor such as multipath effect, cause terminal node received power and relation between the distance to distribute and deviation occurs, the localization method of static node will be not suitable for the definite of such mobile node; Then at this moment; Need be to need participating in the node of running fix in the static node of having had good positioning, i.e. static object node, and position coordinates and the speed of utilizing kalman filter method to be directed against said static object node are set up model; Set up follow-up mechanism, accurately locate.
Detail with regard to execution mode at present:
Fig. 1 shows a kind of localization method of wireless sensing terminal, comprising:
Step 11: the reception signal strength signal intensity through the Bayesian model algorithm for estimating obtains whole nodes indicates RSSI through after the off-line training modeling, maps to the probability weight distance B;
It is pointed out that the wireless energy signal attenuation principle of said Bayesian model based on classics, in the present embodiment, that is, the wireless transmission model of employing receives signal strength signal intensity indication RSSI based on this:
RSSI=-(10nlog10d+A)
Theoretical according to radio signal propagation, (RSSI, 10nlog10D) should be similar to linear distribution of obedience in theory, the modeling target is path loss coefficient n,, power bias A.
Preferably, the data based a certain m of estimating (x) that the establishing target mixed Gauss model will be gathered under off-line state comes the given f of family of functions is found the solution minimum functional.That is:
arg?min?Loss(f)=∫x∈Dm(y-f(x))dx;
Linearisation wireless terminal signal receiving strength receive antenna towards influence bigger; Receive signal strength signal intensity RSSI and can't carry out modeling with simple mapping model apart from d; Model class interpolation bigger after its modeling directly influences last positioning result, therefore in the present embodiment, sets up the F (RSSI to the range finding link; D) mixed Gauss model uses the deduction method weighting in the Bayesian inference model to confirm distance thereafter.
According to above modeling method, each receives signal strength signal intensity RSSI can obtain p apart from value according to training sample, its coefficient ωpRepresentative under current training sample current demand signal received power RSSI, euclidean distance between node pair apThe posterior probability that occurs.Use the mixed model modeling to solve preferably and receive signal strength signal intensity RSSI and the multi-modal problem of distance B mapping.The result that obtains of maximal possibility estimation through probability weight can be more accurate at last.
And the present invention is different with the method for estimation of classical qualitative parameter really, and the estimated parameter of Bayesian Estimation hypothesis is a stochastic variable, through setting up this gauss hybrid models characterising parameter mapping actual distribution better.
Step 12: utilize maximum likelihood estimate to combine said probability weight distance B to confirm the static node position;
The maximum likelihood location algorithm is that wireless sensor network positioning is non-based on the algorithm preferably of locating effect in the topological structure.Through seeking the minimum point of difference between a feasible range finding distance and the estimated distance, with the position that this point is a unknown node, concrete account form is following:
If the coordinate of known reference node is respectively (x1, y1), (x2, y2), (x3, y3) .... (xn, yn), establish node coordinate undetermined for (x, y), node undetermined is respectively d to the measuring distance of known reference node1, d2, d3... dn, equation group is then arranged:
In the location algorithm based on range finding, because measuring distance is not an entirely accurate, after the adding error term, above-mentioned equation can be abbreviated as
AX+E=B
When the location estimation coordinate that can obtain mobile node was following form, the minimum range error of node to be measured was square minimum down.
After received power is less than certain saturation value, the disproportionate basically relation of power and distance, then the power test variance is bigger, and is very big to the positioning result influence.Said probability weight distance B is added the minimize error cost function obtain the maximal possibility estimation positioning result under its probability right.
The residual error location sum of squares function that in this step, uses is:
F (x)=Wp(B-AX)2, wherein be WpMixed Gaussian probability weight matrix.
Step 13: utilize kalman filter method that the coordinate of the static node position that obtains and speed are set up four-dimensional Filtering Model and confirm positions of mobile nodes.
In the present embodiment, use the method for Kalman filtering that the position coordinates and the speed of static object node are set up four-dimensional (x, y, vx, vy) Filtering Model; The tracking results that obtains not only can target of prediction next constantly possible position; And this positioning result does not receive the influence of actual environment to signal strength signal intensity; Can improve in the static immobilization algorithm because of the influence of environmental factor, obtain more smooth track near the actual motion curve for positioning result.
To sum up can know: to after the wireless terminal miniaturization; Using reception signal strength signal intensity RSSI to carry out distance map uses single model variance bigger; Modeling result is inaccurate and cause the defective of the model aspect of deviations; Combine Kalman filter model to confirm positions of mobile nodes through using Bayesian probability statistical model estimating target distance and maximum likelihood estimate to obtain the static node position, reaching, all types of nodes are accurately located from static and dynamic two aspects; The method of signal strength signal intensity being carried out the certainty modeling with respect to classical way has more robustness; Thereby realized when the location of actual wireless sensing terminal, multi-modal to influences such as Miniature Terminal aerial angle and environment, and the purpose that reduces the hardware cost of special sensor.
Fig. 2 shows the localization method of another wireless sensing terminal, comprising:
Step 21: initialization node power information is also carried out the linear time Filtering Processing to each node.
In this step, in order to reduce wireless sensing terminal in actual use, receive signal strength signal intensity RSSI and receive environment and target and move and wait influence, need carry out again that data analysis is preceding carries out Filtering Processing to signal, and be not limited to the above-mentioned form of enumerating.
Step 22: the reception signal strength signal intensity through the Bayesian model algorithm for estimating obtains whole nodes indicates RSSI through after the off-line training modeling, maps to the probability weight distance B;
Step 23: utilize maximum likelihood estimate to combine said probability weight distance B to confirm the static node position;
Step 24: utilize kalman filter method that the coordinate of the static node position that obtains and speed are set up four-dimensional Filtering Model and confirm positions of mobile nodes;
Step 25: the Bayesian inference model is returned in the static node position that obtains carry out iteration and upgrade, and the positions of mobile nodes that obtains returned in said Kalman's model carry out on-line study.
Final positioning result returned carry out on-line study in said Bayesian inference model and the said Kalman filter model and upgrade; Be to upgrade the Bayesian inference model, different static node iterative learnings is obtained based on the signal energy mode under its specific environment through online greatest hope online-EM.Through the iteration of Kalman filter model, thus the filter tracking of completion movement objective orbit.
Fig. 3 a shows a kind of positioner of wireless sensing terminal, comprises;
Bayesian model range finder module 31: be used for indicating RSSI through after the off-line training modeling through the reception signal strength signal intensity that the Bayesian model algorithm for estimating obtains whole nodes; Map to the probability weight distance B, said Bayesian model algorithm for estimating is based on the wireless energy signal attenuation principle;
Node locating module 32 is used to utilize maximum likelihood estimate and combines said probability weight distance B to confirm the static node position; And utilize kalman filter method that the position coordinates of the static node position that obtains and speed are set up four-dimensional Filtering Model and confirm positions of mobile nodes;
Initialization process module 33 is used for initialization node power information and each node is carried out the linear time Filtering Processing;
Online updatingstudy module 34 is used for that the Bayesian inference model is returned in the static node position that obtains and carries out iteration and upgrade, and the positions of mobile nodes that obtains is returned in said Kalman's model carry out on-line study.
Said apparatus and method are corresponding, with static node locating module and mobile node module combine to have reached reduce Miniature Terminal aerial angle and environment etc. to the influence of wireless sensor network positioning, and reduce the technique effect of the hardware cost of special sensor.
Fig. 3 b is and said method and the corresponding logical flow chart of device that as shown in the figure, detailed description can be repeated no more referring to Fig. 2 and Fig. 3 diagram and respective description here.
In sum:
The present invention is based on the wireless energy signal attenuation principle; Utilize Bayesian model that the reception signal strength signal intensity indication RSSI off-line training that whole nodes obtain is mapped to the probability weight distance B; And respectively from static and dynamic two aspects; In conjunction with maximum likelihood estimate and kalman filter method location node position more exactly; With the intensity indication modeling to received signal of statistics angle, overcome middle-size and small-sizeization of prior art portable terminal signal and received the influence of wireless terminal location such as antenna direction and environment, and increased special sensor and cause the higher shortcoming of cost;
And; The present invention selects for use method the linear model or the piecewise linear model that more new model is more single than classics of on-line study can describe the bigger situation of miniaturization wireless terminal collection sample variance more accurately; Practicality and applicability all increase, and can support the location of the wireless sensing terminal in multiple fields such as location, wireless down-hole, wireless medical monitoring and the security protection of wireless prison.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
It will be understood by those skilled in the art that and to use in many different processes and the technology any one to come expression information, message and signal.For example, the message of mentioning in the above-mentioned explanation, information can be expressed as voltage, electric current, electromagnetic wave, magnetic field or magnetic particle, light field or above combination in any.
The professional can also further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.