CN104159295A - Node positioning method based on filtering algorithm in wireless sensor network - Google Patents

Node positioning method based on filtering algorithm in wireless sensor network Download PDF

Info

Publication number
CN104159295A
CN104159295A CN201410386521.5A CN201410386521A CN104159295A CN 104159295 A CN104159295 A CN 104159295A CN 201410386521 A CN201410386521 A CN 201410386521A CN 104159295 A CN104159295 A CN 104159295A
Authority
CN
China
Prior art keywords
node
range finding
sample
sensor network
anchor node
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
CN201410386521.5A
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 CN201410386521.5A priority Critical patent/CN104159295A/en
Publication of CN104159295A publication Critical patent/CN104159295A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a node positioning method in a wireless sensor network. The node positioning method comprises the following steps: establishing a rectangular coordinate system to acquire position coordinates of each anchor node in the wireless sensor network; establishing a corresponding anchor node information list for the node to be positioned through a distance vector exchange agreement; inquiring a self anchor node information list by the node to be positioned; when the number of the anchor nodes is more than or equal to 3 in a 1 hop range, carrying out RSSI (Received Signal Strength Indicator) ranging by using the node to be positioned to acquire a ranging sample between the node to be positioned and each anchor node; combining an anti-pulse interference average valve filtering with voting average federated filtering algorithm, performing correction processing on the ranging sample to acquire accurate ranging information between the node to be positioned and the anchor node, and utilizing a least square method to determine the final position of the node to be positioned. The node positioning method can realize accurate positioning of the node to be positioned.

Description

Node positioning method based on filtering algorithm in a kind of wireless sensor network
Technical field
The invention belongs to wireless sensor network technology field, a kind of WSN of the range finding model based on filtering algorithm (Wireless Sensor Nerwork, wireless sensor network) node positioning method particularly,
Background technology
Wireless sensor network forms by being deployed in microsensor nodes a large amount of in monitored area, the network system of the self-organizing of the multi-hop forming by communication, its objective is perception collaboratively, perceived object information in acquisition and processing network's coverage area, and send to observer.Wireless sensor network set sensor technology, MEMS (micro electro mechanical system) (MEMs) technology, embedded computing technique, wireless communication technology and distributed information processing are in one, mutual with the external world by transducer, data acquisition, process the functions such as communication and management.
In many cases, the node in wireless sensor network need to be known the physical location of self.For great majority application, do not know sensing station and the data of perception are nonsensical.Yet in wireless sensor network, for the manual setting position of each node or for its configuration a GPS receiver be impossible.The location of wireless sensor network is mainly divided into two classes: a class is exactly to detecting target localization, and another kind of is location to sensor node itself, and network node is self-align.In the situation that node location information is not all known, the self-align algorithm of node is obviously the prerequisite of target localization algorithm.Therefore,, in majority application, the precision of sensor localization is most important.
Obtain the purposes that sensor node position has following several respects at least: first, the data that node collects must be combined the position in measuring coordinate system, do not have the data of positional information almost there is no value; Secondly, some systemic-functions of sensor network, such as network topology control, the route based on geography information etc., need positional information, the scheduling mechanism on duty that known location can optimized network run duration is in addition had holidays by turns aperiodically with life-saving redundant node in network; Finally, positional information is extremely important to the service application in sensor network, and what is more important, along with the continuous progress of sensor network technique, there will be agreement and the application of more position-based information very naturally.Just for these reasons, the location technology of sensor network be the normal operation of network be substantially the most also most important condition.Under the environment of thunderstorm weather (or other have impulse disturbances), be arranged on the variation of sensor node (or other) the monitoring water level on korneforos and bank, these sensor nodes are easy to be subject to the impact of impulse disturbances very much and cause the inaccurate of location when location, and node positioning method in a kind of sensor network is provided for this reason.
Summary of the invention
For above deficiency of the prior art, the object of the present invention is to provide a kind of high accuracy, low complex degree, the node positioning method based on filtering algorithm in the wireless sensor network of more low-yield expense.Technical scheme of the present invention is as follows: the node positioning method based on filtering algorithm in a kind of wireless sensor network, and it comprises the following steps:
101, at random in the S of region random set n sensor network nodes/, described sensor network nodes comprises p anchor node and (n-p) individual node to be positioned;
102, under the S of region, set up rectangular coordinate system, obtain the positional information of anchor node in wireless sensor network, wherein, anchor node is the known node of self-position in wireless sensor network, node to be positioned obtains the ID of anchor node in network by distance vector exchange agreement, position coordinates and corresponding jumping figure, node to be positioned is set up anchor node information table according to the anchor node information corresponding with it;
103, the anchor node information table corresponding with himself of setting up in querying node step 102 to be positioned, when the anchor node number having within the scope of its 1 jumping is greater than or equal to 3, this node to be positioned starts the range finding of RSSI received signal strength indicator, obtains N range finding sample between node to be positioned and each anchor node;
104, adopt anti-impulse disturbances average value filtering algorithm to eliminate sampled value deviation processing to N range finding sample, eliminate the sampled value deviation causing due to impulse disturbances;
105, adopt ballot filtering algorithm to process remaining range finding sample after step 104 is eliminated sampled value deviation processing, reject the abnormal range finding of part sample;
106, the M finally remaining a range finding sample averaged to filtering and obtain distance measurement value;
107, adopt maximal possibility estimation algorithm obtain the position coordinates of node to be positioned/, complete the node locating of node to be positioned.
Further, the RSSI received signal strength indicator range finding in step 103 is chosen Shadowing model as signal mode, and this Shadowing model formation is:
[ p r ( d ) p r ( d 0 ) ] dB = - 10 β log ( d d 0 ) + X dB
Here the each transmitted power of anchor node is identical, p r(d) expression is apart from the received power of the node to be measured of the position of anchor node d, p r(d 0) represent apart from anchor node d 0the node received power of position, X dBrepresent a Gaussian random variable that average is 0, d 0represent a reference distance, generally get 1m, d represents that node to be measured is to the distance of anchor node, and β is the path loss factor;
Further, the anti-impulse disturbances average value filtering algorithm in step 104 comprises step: A1, by the N obtaining a range finding sample { d j(k), 1≤k≤N} carries out sequence from small to large, removes maximum and minimum value wherein, and remaining N-2 range finding sample is designated as to { x j(i), 1≤i≤N-2}; A/2, then ask for the sample average μ of remaining N-2 the sample of finding range:
μ = x j ( 1 ) + x j ( 2 ) + . . . + x j ( i ) N - 2
Further, the ballot filtering algorithm concrete steps in step 105 are as follows:
B1, range finding sample remaining after eliminating sampled value deviation processing in step 104 is asked for to standard deviation sigma:
σ 2 = 1 N - 3 Σ i = 1 N - 2 [ x j ( i ) ]
B2, adopt gaussian probability distribution function Voting Model, calculate the ballot probability P (x of each range finding sample j(k) | μ):
P ( x j ( k ) | μ ) = 1 2 π * σ e - ( x j ( k ) - μ ) 2 / 2 σ 2
B3, threshold k of setting (numerical value 0.5≤K≤0.8 for example), vote to range finding sample, as the ballot probability P (x of range finding sample j(k) | while μ) being less than threshold k, just abandon this range finding sample, otherwise just retain, the range finding sample number retaining represents with M.
Advantage of the present invention and beneficial effect are as follows:
Anti-impulse disturbances filtering of the present invention and ballot filtering algorithm combine and can reduce the impact of surrounding environment on RSSI range finding, by eliminating abnormal sampled value, realize the precision distance measurement between adjacent node, realized a kind of high accuracy, low complex degree, the WSN node positioning method of more low-yield expense.
Accompanying drawing explanation
Figure 1 shows that preferred embodiment of the present invention localization method schematic flow sheet;
Fig. 2, wireless sensor network structural system;
Fig. 3, RSSI value and euclidean distance between node pair be related to schematic diagram.
Embodiment
The invention will be further elaborated below in conjunction with accompanying drawing, to provide an infinite embodiment.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 configurations and technology, to avoid unnecessarily obscuring concept of the present invention.
The invention discloses node positioning method in a kind of wireless sensor network, comprised following step: set up rectangular coordinate system, obtain the positional information of each anchor node in wireless sensor network; And by distance vector exchange agreement, make the ID of anchor node in node acquisition network to be positioned, position coordinates and corresponding jumping figure, and set up corresponding anchor node information table; Anchor node is the known node of self-position in wireless sensor network; The anchor node information table of the querying node to be positioned self in network, when the anchor node number having within the scope of its 1 jumping is greater than or equal to 3, this node to be positioned starts range finding, obtains the range finding sample between node to be positioned and each anchor node; Design anti-tampering average value filtering algorithm and ballot filtering algorithm is processed range finding sample, and set up RSSI range finding model and obtain the precision ranging information between node to be positioned and anchor node.
Node to be positioned is found range, and the range finding sample obtaining between node to be positioned and each anchor node comprises: the distance of utilizing RSSI technology to measure between node to be positioned self and anchor node for N time, obtains N range finding sample, with { d j(k), 1≤k≤N} represents, wherein d j(k) represent the k time range finding sample between this node to be positioned and anchor node j.
The anti-impulse disturbances average filter of described use algorithm is processed and is comprised the steps: range finding sample
First N range finding sample compared, remove maximum and minimum value wherein, remaining N-2 range finding sample is designated as to { x j(i), 1≤i≤N-2}, calculates the sample average μ of a remaining N-2 data:
μ = x j ( 1 ) + x j ( 2 ) + . . . + x j ( i ) N - 2
Calculate standard deviation sigma:
σ 2 = 1 N - 3 Σ i = 1 N - 2 [ x j ( i ) ]
Described use ballot filtering algorithm is processed and is comprised the steps: range finding sample
Voting Model adopts gaussian probability distribution function, calculates the ballot probability P (x of each range finding sample by following formula j(i) | μ):
P ( x j ( i ) | μ ) = 1 2 π * σ e - ( x j ( i ) - μ ) 2 / 2 σ 2
(the present invention advises that threshold k span is 0.5≤K≤0.8 to setting threshold K, and the value of K is larger, is more conducive to suppressing exception range finding sample, if but value is excessive, will delete normal range finding sample), range finding sample is voted, as the ballot probability P (x of range finding sample j(i) | while μ) being less than threshold k, just abandon this range finding sample, otherwise just retain, the range finding sample number retaining represents with M.
Then the M retaining a range finding sample averaged to filtering according to the following formula, obtain distance measurement value d j:
d j = 1 M Σ i = 1 M x j ( i )
Wherein: d jrepresent the distance recording between location node to be asked for and anchor node j.
Node to be positioned obtain successively and its 1 jumping within the scope of range information between anchor node, adopt maximal possibility estimation algorithm to obtain the position coordinates of node to be positioned.The detailed process of maximal possibility estimation is as follows:
If the coordinate of a known n anchor node is respectively (x 1, y 1), (x 2, y 2) ..., (x n, y n), the distance of they and node M to be positioned is respectively d 1, d 2..., d n.The coordinate of supposing node M is (x, y), has following relation:
( x 1 - x ) 2 + ( y 1 - y ) 2 = d 1 2 ( x 2 - x ) 2 + ( y 2 - y ) 2 = d 2 2 . . . ( x n - x ) 2 + ( y n - y ) 2 = d n 2
Above formula system of linear equations can be expressed as:
AX=d,
Wherein each several part is respectively:
A = 2 x 1 - x n y 1 - y n . . . . . . x n - 1 - x n y n - 1 - y n ,
d = x 1 2 - x n 2 + y 1 2 - y n 2 + d n 2 - d 1 2 x n - 1 2 - x n 2 + y n - 1 2 - y n 2 + d n 2 - d n - 1 2
X = x y
The coordinate that finally adopts the Minimum Mean Square Error estimation technique can calculate node M to be positioned is: X ^ = ( A T A ) - 1 A T d .
Fig. 2 is the structural system of wireless sensor network, and the architecture of a typical wireless sensor network comprises distributed wireless sensor node (group), receiver transmitter aggregation node, the Internet or communication satellite and task management node etc.
According to wireless signal attenuation model, simulate the relation of RSSI value and distance, as Fig. 3, from figure, can obviously find out, along with the increase of distance between node, RSSI value reduces gradually.
These embodiment are interpreted as only for the present invention is described, is not used in and limits the scope of the invention 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 (4)

1. the node positioning method based on filtering algorithm in wireless sensor network, is characterized in that comprising the following steps:
101, at random in the S of region random set n sensor network nodes/, described sensor network nodes comprises p anchor node and (n-p) individual node to be positioned;
102, under the S of region, set up rectangular coordinate system, obtain the positional information of anchor node in wireless sensor network, wherein, anchor node is the known node of self-position in wireless sensor network, node to be positioned obtains the ID of anchor node in network by distance vector exchange agreement, position coordinates and corresponding jumping figure, node to be positioned is set up anchor node information table according to the anchor node information corresponding with it;
103, the anchor node information table corresponding with himself of setting up in querying node step 102 to be positioned, when the anchor node number having within the scope of its 1 jumping is greater than or equal to 3, this node to be positioned starts the range finding of RSSI received signal strength indicator, obtains N range finding sample between node to be positioned and each anchor node;
104, adopt anti-impulse disturbances average value filtering algorithm to eliminate sampled value deviation processing to N range finding sample, eliminate the sampled value deviation causing due to impulse disturbances;
105, adopt ballot filtering algorithm to process remaining range finding sample after step 104 is eliminated sampled value deviation processing, reject the abnormal range finding of part sample;
106, the M finally remaining a range finding sample averaged to filtering and obtain distance measurement value;
107, adopt maximal possibility estimation algorithm obtain the position coordinates of node to be positioned/, complete the node locating of node to be positioned.
2. the node positioning method based on filtering algorithm in wireless sensor network according to claim 1, it is characterized in that: the RSSI received signal strength indicator range finding in step 103 is chosen Shadowing model as signal mode, and this Shadowing model formation is:
Here the each transmitted power of anchor node is identical, p r(d) expression is apart from the received power of the node to be measured of the position of anchor node d, p r(d 0) represent apart from anchor node d 0the node received power of position, X dBrepresent a Gaussian random variable that average is 0, d 0represent a reference distance, generally get 1m, d represents that node to be measured is to the distance of anchor node, and β is the path loss factor.
3. the node positioning method based on filtering algorithm in wireless sensor network according to claim 1, is characterized in that: the anti-impulse disturbances average value filtering algorithm in step 104 comprises step: A1, by the N obtaining a range finding sample { d j(k), 1≤k≤N} carries out sequence from small to large, removes maximum and minimum value wherein, and remaining N-2 range finding sample is designated as to { x j(i), 1≤i≤N-2}; A/2, then ask for the sample average μ of remaining N-2 the sample of finding range:
4. the node positioning method based on filtering algorithm in wireless sensor network according to claim 1, is characterized in that: the ballot filtering algorithm concrete steps in step 105 are as follows:
B1, range finding sample remaining after eliminating sampled value deviation processing in step 104 is asked for to standard deviation sigma:
B2, adopt gaussian probability distribution function Voting Model, calculate the ballot probability P (x of each range finding sample j(k) | μ):
B3, a threshold k of setting, 0.5≤K≤0.8, votes to range finding sample, as the ballot probability P (x of range finding sample j(k) | while μ) being less than threshold k, just abandon this range finding sample, otherwise just retain, the range finding sample number retaining represents with M.
CN201410386521.5A 2014-08-07 2014-08-07 Node positioning method based on filtering algorithm in wireless sensor network Pending CN104159295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410386521.5A CN104159295A (en) 2014-08-07 2014-08-07 Node positioning method based on filtering algorithm in wireless sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410386521.5A CN104159295A (en) 2014-08-07 2014-08-07 Node positioning method based on filtering algorithm in wireless sensor network

Publications (1)

Publication Number Publication Date
CN104159295A true CN104159295A (en) 2014-11-19

Family

ID=51884678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410386521.5A Pending CN104159295A (en) 2014-08-07 2014-08-07 Node positioning method based on filtering algorithm in wireless sensor network

Country Status (1)

Country Link
CN (1) CN104159295A (en)

Cited By (5)

* 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
CN105491562A (en) * 2015-11-30 2016-04-13 中北大学 Anti-attack encrypting positioning method and device of wireless sensor network
CN105871486A (en) * 2015-01-20 2016-08-17 中国科学院上海高等研究院 Channel model construction method and simulation method for wireless sensor network
CN106093854A (en) * 2016-06-14 2016-11-09 江南大学 A kind of method of air quality monitoring spot net location based on RSSI range finding
CN109633531A (en) * 2018-12-19 2019-04-16 中国人民解放军国防科技大学 Wireless sensor network node positioning system under composite noise condition

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152824A (en) * 2013-03-06 2013-06-12 中国电子科技集团公司第二十八研究所 Positioning method of node in wireless sensor network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152824A (en) * 2013-03-06 2013-06-12 中国电子科技集团公司第二十八研究所 Positioning method of node in wireless sensor network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾迪: "无线传感器网络节点定位算法研究", 《数字通信》 *
杨文静: "《中国优秀硕士论文全文数据库》", 15 January 2010 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871486A (en) * 2015-01-20 2016-08-17 中国科学院上海高等研究院 Channel model construction method and simulation method for wireless sensor network
CN105871486B (en) * 2015-01-20 2018-01-30 中国科学院上海高等研究院 The channel model construction method and emulation mode of wireless sensor network
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
CN105491562A (en) * 2015-11-30 2016-04-13 中北大学 Anti-attack encrypting positioning method and device of wireless sensor network
CN105491562B (en) * 2015-11-30 2018-09-04 中北大学 A kind of wireless sensor network attack resistance encryption localization method and device
CN106093854A (en) * 2016-06-14 2016-11-09 江南大学 A kind of method of air quality monitoring spot net location based on RSSI range finding
CN109633531A (en) * 2018-12-19 2019-04-16 中国人民解放军国防科技大学 Wireless sensor network node positioning system under composite noise condition

Similar Documents

Publication Publication Date Title
Lam et al. LoRa-based localization systems for noisy outdoor environment
CN101191832B (en) Wireless sensor network node position finding process based on range measurement
CN105813020A (en) RSSI corrected wireless sensor network positioning algorithm of self-adaptive environment
CN104159295A (en) Node positioning method based on filtering algorithm in wireless sensor network
CN106793087B (en) Array antenna indoor positioning method based on AOA and PDOA
CN102725648B (en) Apparatus and method for determining a correspondence of a position with a reference position
CN101938832A (en) Division and refinement-based node self-positioning method for wireless sensor network
CN103152824B (en) Positioning method of node in wireless sensor network
CN104507159A (en) A method for hybrid indoor positioning based on WiFi (Wireless Fidelity) received signal strength
CN103249144B (en) A kind of wireless sensor network node locating method based on C type
CN104469942A (en) Indoor positioning method based on hidden Markov model
CN102395200A (en) Node positioning method in wireless sensor network and apparatus thereof
CN112533163A (en) Indoor positioning method based on NB-IoT (NB-IoT) improved fusion ultra-wideband and Bluetooth
CN102905365A (en) Network node positioning method of wireless sensor
CN104066179A (en) Improved method for positioning WSN nodes through adaptive iterative UKF
CN101986757A (en) Positioning method and device for mobile terminal
CN105307266A (en) Sensor network compressive sensing accurate positioning method based on adaptive space lattices
CN102209379A (en) RSSI-based method for positioning wireless sensor network node
CN104507097A (en) Semi-supervised training method based on WiFi (wireless fidelity) position fingerprints
CN103458502B (en) The position error method of estimation of position-based fingerprint
Mahfouz et al. Kernel-based localization using fingerprinting in wireless sensor networks
Huang et al. Scout: Outdoor localization using active RFID technology
CN108732534A (en) A kind of multi-tag Cooperative Localization Method based on weighting MDS
CN103630876A (en) RSSI (received signal strength indicator) based ZigBee node positioning method
CN104080169A (en) Dynamic self-adaptation positioning method of underwater wireless sensor network

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: 20141119

RJ01 Rejection of invention patent application after publication