130
Chapter 7 Localization & Positioning

Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7

Localization & PositioningLocalization & Positioning

Page 2: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Means for a node to determine its physical

position with respect to some coordinate system

(50, 27) or symbolic location (in a living room)

� Using the help of

Goals of this chapter

� Using the help of � Anchor nodes that know their position

� Directly adjacent

� Over multiple hops

� Using different means to determine

distances/angles locally

Page 3: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� 7.1 Properties of localization and positioning

procedures

� 7.2 Possible approaches

� 7.3 Mathematical basics for the lateration problem

Outline

� 7.3 Mathematical basics for the lateration problem

� 7.4 Single-hop localization

� 7.5 Positioning in multihop environments

� 7.6 Positioning assisted by mobile anchors

Page 4: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7.1

Properties of localization and

positioning procedures

Page 5: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Outline

� Properties of localization and positioning

procedures

� The Components of Localization Systems

Page 6: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Physical position or logical location� Coordinate system: position

� Symbolic reference: location

� Absolute coordinate: anchors are required

Properties of localization and positioning

procedures

� Absolute coordinate: anchors are required

� Centralized or distributed computation

� Scale (indoors, outdoors, global, …)

� Limitations: GPS for example, does not work

indoors

Page 7: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Metrics� Accuracy

� how close is an estimated position to the real position?

� Precision

� for repeated position determinations, how often is a given

Properties of localization and positioning

procedures (cont.)

� for repeated position determinations, how often is a given

accuracy achieved?

� Costs, energy consumption, …

Page 8: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Distance/angle estimation

� Is responsible for estimating information about the distances

and/or angles between two nodes

� Position computation

� Is responsible for computing a node’s position based on

The Components of Localization Systems

� Is responsible for computing a node’s position based on

available information concerning distances/angles and

positions of reference nodes

� Localization algorithm

� Is the main component of a localization system

Page 9: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

The Components of Localization Systems (cont.)Distance/angle estimation

� Such estimates constitute an important

component of localization systems, because they

are used by both the position computation and

localization algorithm componentslocalization algorithm components

� These methods include received signal strength

indication (RSSI), time of arrival/time difference

of arrival (ToA/TDoA), angle of arrival (AoA),

and communication range

Page 10: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

The Components of Localization Systems (cont.)Position computation

� When a node has enough information about

distances and/or angles and positions, it can

compute its own position

Several methods can be used to compute the � Several methods can be used to compute the

position of a node

� Such methods include trilateration,

multilateration, triangulation, and the bounding

box

Page 11: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

The Components of Localization Systems (cont.)Localization algorithm

� This component determines how the information

concerning distances and positions is manipulated in

order to allow most or all of the nodes of a WSN to

estimate their positions

� Localization algorithms can be classified into a few

categories: distributed or centralized position

computation; with or without an infrastructure; relative

or absolute positioning; designed for indoor or outdoor

scenarios; and one-hop or multi-hop

Page 12: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

References

� J. Hightower and G. Borriello. “Location Systems for

Ubiquitous Computing,” IEEE Computer, 34(8): 57–66,

2001.

� J. Hightower and G. Borriello. “A Survey and Taxonomy

of Location Systems for Ubiquitous Computing,” of Location Systems for Ubiquitous Computing,”

Technical Report UW-CSE 01-08-03, University of

Washington, Computer Science and Engineering, Seattle,

WA, August 2001.

� A. Boukerche, H. Oliveira, E. Nakamura, and A. Loureiro.

“Localization systems for wireless sensor networks”.

IEEE Wireless Communications, December 2007.

Page 13: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7.2

Possible approachesPossible approaches

Page 14: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Outline

� Proximity

� Trilateration and triangulation

� Scene analysis� Scene analysis

� Bounding box

Page 15: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Proximity

� a node wants to determine its position or location in the proximity of an anchor

� (Tri-/Multi-) lateration and angulation

� Lateration : when distances between nodes are used

Possible approaches

� Lateration : when distances between nodes are used

� Angulation: when angles between nodes are used

� Scene analysis

� the most evident form of it is to analyze pictures taken by a

camera

� Bounding box

� to bound the possible positions of a node

Page 16: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Using information about a node’s neighborhood

� Exploit finite range of wireless communication

� E.g.: easy to determine location in a room with infrared (room

Proximity

� E.g.: easy to determine location in a room with infrared (room number announcements)

Page 17: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� (Tri-/Multi-)lateration and angulation� Using geometric properties

� Lateration: distances between entities are used

� Angulation: angle between nodes are used

Trilateration and triangulation

(x = 2, y = 1)

(x = 8, y = 2)

(x = 5, y = 4)

r1

r2

r3

Page 18: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� To use (multi-)lateration, estimates of distances to

anchor nodes are required.

� This ranging process ideally leverages the facilities

Trilateration and triangulation (cont.)Determining distances

This ranging process ideally leverages the facilities

already present on a wireless node, in particular, the

radio communication device.

� The most important characteristics are Received

Signal Strength Indicator (RSSI), Time of Arrival

(ToA), and Time Difference of Arrival (TDoA).

Page 19: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Send out signal of known strength, use received

signal strength and path loss coefficient to estimate

distance

Distance estimation RSSI (Received Signal Strength Indicator)

Page 20: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Problem: Highly error-prone process :

� Caused by fast fading, mobility of the environment

� Solution: repeated measurement and filtering out incorrect

values by statistical techniques

Distance estimationRSSI (cont.)

Page 21: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Problem: Highly error-prone process: � Cheap radio transceivers are often not calibrated

� Same signal strength result in different RSSI

� Actual transmission power different from the intended power

� Combination with multipath fading

Distance estimation

RSSI (cont.)

� Combination with multipath fading

� Signal attenuation along an indirect path is higher than along a direct path

� Solution: No!

Page 22: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Distance estimationRSSI (cont.)

PD

F

PD

F

DistanceDistance Signal strength

PDF of distances in a given RSSI value

Page 23: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Use � time of transmission,

� propagation speed

� Problem: Exact time synchronization

� Usually, sound wave is used

Distance estimationToA (Time of arrival )

� Usually, sound wave is used

� But propagation speed of sound depends on temperature or humidity

Page 24: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Use two different signals with different propagation speeds

� Compute difference between arrival times to compute distance

� Example: ultrasound and radio signal (Cricket System)

Propagation time of radio negligible compared to

Distance estimationTDoA (Time Difference of Arrival )

� Propagation time of radio negligible compared to ultrasound

� Problem: expensive/energy-intensive hardware

Page 25: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Determining angles

� Directional antennas

� Node mount a directional antennas

� Supporting infrastructure anchors

� Multiple antennas mounted on a device at known separation

� Measuring the time difference between a signal’s arrival at the different antennas

Page 26: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Trilateration and triangulation (cont.)Triangulation

� The unknown node estimates

its angle to each of the three

reference nodes and, based on

these angles and the positions

of the reference nodes (which

Angle φ1

of the reference nodes (which

form a triangle)

� Computes its own position

using simple trigonometrical

relationships

Length knownAngle φ2

Page 27: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Analyze characteristic properties of the position of a nods in comparison with premeasured properties

� Radio environment has characteristic “fingerprints”

Scene analysis

Page 28: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Bounding Box

� The bounding box method proposed in uses squares instead of circles as in tri-lateration

� to bound the possible positions of a node.

� For each reference node i, a bounding box is defined

as a square with its center at the position of this node

(xi, yi), with sides of size 2di (where d is the estimated

distance) and with coordinates (xi –di, yi–di) and (xi+di,

yi+di).

Page 29: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Bounding Box (cont.)

� Using range to anchors to determine a bounding box

� Use center of box as

position estimate Bposition estimate

C

A

B

d

Page 30: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

References

� N. Bulusu, J. Heidemann, and D. Estrin. “GPS-Less Low Cost Outdoor Localization For Very Small Devices,” IEEE Personal Communications Magazine, 7(5): 28–34, 2000.

� C. Savarese, J. Rabay, and K. Langendoen. “Robust Positioning Algorithms for Distributed Ad-Hoc Wireless Sensor Networks,” In Proceedings of the Annual USENIX Technical Conference, Monterey, CA, 2002.CA, 2002.

� A. Savvides, C.-C. Han, and M. Srivastava. “Dynamic Fine-Grained Localization in Ad-Hoc Networks of Sensors,” Proceedings of the 7th Annual International Conference on Mobile Computing and Networking, pages 166–179. ACM press, Rome, Italy, July 2001.

� S. Simic and S. Sastry, “Distributed localization in wireless ad hoc networks,” UC Berkeley, Tech. rep. UCB/ERL M02/26, 2002.

Page 31: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7.3

Mathematical basics for the

lateration problemlateration problem

Page 32: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Outline

� Solution with three anchors and correct

distance values

� Solving with distance errors

Page 33: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Solution with three anchors and correct distance

values

� Assuming distances to three points with known location are exactly given

� Solve system of equations (Pythagoras!)

� (xi , yi) : coordinates of anchor point i,

� ri distance to anchor i

� (xu, yu) : unknown coordinates of node

Page 34: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Solution with three anchors and correct distance

values (cont.)

= 3

Page 35: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� We get

� Rewriting as a matrix equation:

Trilateration as matrix equation

=3

Page 36: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� What if only distance estimation ri0 = ri + εi available?

� Use multiple anchors, overdetermined system of equations

Solving with distance errors

� Use (xu, yu) that minimize mean square error,

� i.e,

Page 37: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Look at square of the of Euclidean norm

expression � (note that for all vectors v)

Minimize mean square error

� Look at derivative with respect to x, set it equal to

0

Page 38: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7.4

Single-hop localizationSingle-hop localization

Page 39: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Outline

� Active Badge

� Active office

� RADAR

� Cricket� Cricket

� Overlapping connectivity

� Using angle of arrival information

Page 40: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Uses diffused infrared as transmission medium

� Exploits the natural limitation of infrared

waves by walls as a delimiter for its location

granularity

Active Badge

granularity

� A badge periodically sends a globally unique

identifier via infrared to receivers, at least one

of which is installed in every room

Page 41: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Use ultrasound

� With receivers placed at well-known

position, mounted in array at the ceiling of a

room

Active office

room

� Devices for which the position is to be

determined act as ultrasound senders

Page 42: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Active office (cont.)

� Process: � Central controller sends a radio containing the devices ‘s

address

� The devices upon receiving this radio message, sends out a

short ultrasound pulse

� The receiver array compute the difference of the arrival time

of the radio and ultrasound pulse

Page 43: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Scene analysis techniques

� Both the anchors and the mobile device can be used to send the signal, which is then measured by the counterpart device(s)

RADAR

by the counterpart device(s)

� Uses RF signal strength (SS) from multiple receiver locations to triangulate the user’s coordinates

� Can be used for location aware applications

Page 44: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Cricket

� Combines radio wave and ultrasound pulses to

allow measuring of the TDoA

� Objectives:� User privacy� User privacy

� Decentralized administration

� Low cost

� Granularity

Page 45: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Without any numeric range measurement

� Use connectivity to a set of anchors

� The underlying assumption is that transmissions from an

anchor can be received within a circular area of known

Overlapping connectivity

anchor can be received within a circular area of known

radius

Page 46: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Overlapping connectivity (cont.)

Positioning using connectivity information to multiple anchors

Page 47: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Process: � Anchor nodes periodically send out transmissions identifying

themselves

� A node has received these announcements, it can determine that it is in the intersection of the circles

Overlapping connectivity (cont.)

that it is in the intersection of the circles

� Suppose node knows about all the anchors� Anchor announcements are not received implies that the node is

outside the respective circles

� Problem:� accuracy depends on the number of anchors

Page 48: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Using angle of arrival information

� Idea: Use antenna array to

measure direction of

neighbors

� Special landmarks have

compass + GPS, broadcast compass + GPS, broadcast

location and bearing

� Flood beacons, update

bearing along the way

� Once bearing of three

landmarks is known,

calculate position

Page 49: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

References

� R. Want, A. Hopper, V. Fal˜ao, and J. Gibbons. The Active Badge Location System. ACM Transactions on Information Systems, 10(1): 91–102, 1992.

� A. Ward, A. Jones, and A. Hopper. A New Location Technique for the Active Office. IEEE Personal Communications, 4(5): 42–47, 1997.

� P. Bahl and V. N. Padmanabhan. RADAR: An In-Building RF-Based � P. Bahl and V. N. Padmanabhan. RADAR: An In-Building RF-Based User Location and Tracking System. In Proceedings of the IEEE INFOCOM, pages 775–784, Tel-Aviv, Israel, April 2000.

� N. B. Priyantha, A. Chakraborty, and H. Balakrishnan. The Cricket Location-Support System. In Proceedings of the 6th International Conference on Mobile Computing and Networking (ACM Mobicom), Boston, MA, 2000.

� N. Bulusu, J. Heidemann, and D. Estrin. GPS-Less Low Cost Outdoor Localization For Very Small Devices. IEEE Personal Communications Magazine, 7(5): 28–34, 2000.

Page 50: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7.5

Positioning in multihop

environmentsenvironments

Page 51: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Outline

� Connectivity in a multihop network

� Multihop range estimation

� Iterative and collaborative multilateration

� Probabilistic positioning description and � Probabilistic positioning description and

propagation

Page 52: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Assume that the positions of n anchors are known and

the positions of m nodes is to be determined, that

connectivity between any two nodes is only possible if

nodes are at most R distance units apart, and that the

connectivity between any two nodes is also known

Connectivity in a multihop network

connectivity between any two nodes is also known

� The fact that two nodes are connected introduces a

constraint to the feasibility problem – for two

connected nodes, it is impossible to choose positions

that would place them further than R away

Page 53: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Multihop range estimation

� How to estimate range to a node to which no

direct radio communication exists?

� No RSSI, TDoA, …

� But: Multi-hop communication is possible

Page 54: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Multihop range estimation (cont.)

� Idea 1: Count number of hops, assume length of one

hop is known (DV-Hop)

� Start by counting hops between anchors, divide known

distance

� Idea 2:

If range estimates between neighbors exist, use them

to improve total length of route estimation in previous

method (DV-Distance)

Page 55: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

• Must work in a network which is dense enough DV-

hop approach used the hop of the shortest path to

approximately estimate the distance between a pair of

nodes

• Drawback: Requires lots of communications

Multihop range estimation (cont.) DV-Based Scheme

• Drawback: Requires lots of communications

anchor

anchor

Page 56: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Number of anchors� Euclidean method increase accuracy as the number of

anchors goes up

� The “distance vector”-like methods are better suited for a

low ratio for anchors

Discussion

� Uniformly distributed network� Distance vector methods perform less well in anisotropic

networks

� Euclidean method is not very sensitive to this effect

Page 57: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(?,?)

(?,?)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(?,?)

(?,?)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(?,?)

(?,?)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(?,?)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(?,?)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(?,?)

(12,14)

A B

C

I: II:

Iterative multilateration

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(30,12)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(30,12)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(?,?)

(30,12)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(22,2)

(30,12)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(22,2)

(30,12)

(12,14)

A B

C

(2,10)

(8,0)

(18,20)

(38,5)

(22,2)

(30,12)

(12,14)

A B

C

III: IV:

Page 58: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Assume some nodes can hear at least three

anchors (to perform triangulation), but not all

� Idea:� let more and more nodes compute position estimates,

spread position knowledge in the network

Iterative multilateration

� spread position knowledge in the network

� Problem:� Errors accumulate

� When not all nodes in the network will have three nodes with

position estimates

Page 59: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Collaborative multilateration

� Defining participating

nodes

� nodes that have at least three

anchors or other participating

nodes as neighbors, making

nodes A and B participating nodes A and B participating

nodes

� For such participating

nodes, positioning can be

solved

Page 60: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Collaborative multilateration

� Needs at least three independent references to anchor

nodes

� Such nodes are called sound

� nodes A, B, and C are all sound

� Soundness can be detected during the initial position

estimation

Page 61: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Solution 1: Participating nodes� Have at least three anchors or other participating nodes as

neighbors

� Solution 2: Sound� Have at least three independent references to anchor nodes

Iterative multilateration

� Have at least three independent references to anchor nodes

� The path to the anchors have to be edge-disjoint.

� Discussion:� solution 2 is suited to low anchor ratios

Page 62: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Similar idea to previous one, but accept problem that position of nodes is only probabilistically known� Represent this probability explicitly, use it to compute

probabilities for further nodes

Probabilistic position description

DistanceP

DF

Page 63: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Probabilistic position description

2010/5/2463

(a) Probability density

function of a node

positions after receiving

a distance estimate from

one anchor

(b) Probability density

functions of two

distance measurements

from two independent

anchors

(c) Probability density

function of a node

after intersecting two

anchor’s distance

measurements

Page 64: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

References

� D. Niculescu and B. Nath. “Ad Hoc Positioning System (APS)”. In Proceedings of IEEE GlobeCom, San Antonio, AZ, November 2001.

� C. Savarese, J. M. Rabaey, and J. Beutel. “Locationing in Distributed Ad-Hoc Wireless Sensor Networks”. In Proceedings of the International Conference on Acoustics, Speech and Signal Processing (ICASSP 2001), Salt Lake City, Utah, May 2001.

� C. Savarese, J. Rabay, and K. Langendoen. “Robust Positioning Algorithms for Distributed Ad-Hoc Wireless Sensor Networks”. In Proceedings of the Annual Distributed Ad-Hoc Wireless Sensor Networks”. In Proceedings of the Annual USENIX Technical Conference, Monterey, CA, 2002.

� A. Savvides, C.-C. Han, and M. Srivastava. “Dynamic Fine-Grained Localization in Ad-Hoc Networks of Sensors”. Proceedings of the 7th Annual International Conference on Mobile Computing and Networking, pages 166–179. ACM press, Rome, Italy, July 2001.

� V. Ramadurai and M. L. Sichitiu. “Localization in Wireless Sensor Networks: A Probabilistic Approach”. In Proceedings of 2003 International Conference on Wireless Networks (ICWN 2003), pages 300–305, Las Vegas, NV, June 2003.

Page 65: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Chapter 7.6

Positioning assisted by mobile

anchorsanchors

Page 66: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Outline

� Localization with a Mobile Beacon

� Mobile-assisted Localization

� APIT

� MCL� MCL

� MSL

� DRLS

� IMCL

Page 67: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Localization with a Mobile Beacon

� Some recent work has proposed the use of mobile beacons to assist the nodes of a WSN in estimating their positions

� The mobile beacon travels through the sensor field broadcasting messages that contain its

2010/5/24 67

field broadcasting messages that contain its current coordinates

� When a free node receives more than three messages from the mobile beacon it computes its position, using a probabilistic approach, based on the received coordinates and RSSI distance estimations

Page 68: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Localization with a Mobile Beacon (cont.)Mobile beacon trajectory

2010/5/24 68

Page 69: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Localization with a Mobile Beacon (cont.)

� Corresponding to the RSSI measurement

and the position of the beacon (xB, yB)

(included in the beacon packet), each node

receiving the beacon constructs a constraint

on its position estimate:

2010/5/24 69

on its position estimate:

Page 70: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Localization with a Mobile Beacon (cont.)

� Once the constraint is computed, each node

applies Bayesian inference to compute its new

position estimate NewPosEst from its old

position estimate OldPosEst and the new

constraint Cons:

2010/5/24 70

constraint Cons:

Page 71: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Localization with a Mobile Beacon (cont.)

� The initial position estimate is initialized to a

constant value, as in the beginning, all

positions in the deployment area are equally

likely

2010/5/24 71

� The beacon sends beacon packets at each of

the positions marked on the trajectory

Page 72: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Localization with a Mobile Beacon (cont.)

2010/5/24 72

Page 73: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� M. L. Sichitiu and V. Ramadurai, “Localization of

Wireless Sensor Networks with A Mobile Beacon,” Proc.

1st IEEE Int’l. Conf. Mobile Ad Hoc and Sensor Sys., FL,

Oct. 2004, pp. 174–83.

Page 74: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Mobile-assisted Localization (MAL)

� Obstructions, especially in indoor

environments

� Sparse node deployments

� Geometric dilution of precision (GDOP)� Geometric dilution of precision (GDOP)

� Hence, finding 4 reference points for each

node for localization is difficult

Page 75: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.)

� Find four stationary nodes

� Using Specific MAL Movement Strategy To

Construct A Rigid Graph And Compute Inter-

node Distancenode Distance

� Using Anchor-Free Localization (AFL) to

Compute Coordinates and Optimize Solution

Page 76: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.) Movement Strategy

� Calculating distances among 4 (or more) nodes

To compute the pairwise distances between

j>=4 nodes n1,n2,….,nj

� We require at least [(3j-5)/(j-3)] mobile � We require at least [(3j-5)/(j-3)] mobile

positions (to reduce the degree of freedom to 0)

When j=4, the [(3j-5)/(j-3)]=7

Page 77: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.) Movement Strategy

Initialize:a. Find Four Stationary Nodes that are visible (distance

are measurable) to mobile location

s

s

s

s

v

Page 78: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.) Movement Strategy

Initialize:b. Move the mobile to at least seven nearby locations and measure

distances

v

v

v

s

s

s

s

v

v

v

v v

Page 79: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.) Movement Strategy

Initialize:c. Compute the pairwise distances between the four

stationary nodes

v

v

v

s

s

s

s

v

v

v

v v

Page 80: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.) Movement Strategy

Initialize:d. Localize the resulting tetrahedron using Rigidity

Theorem

v

v

v

s

s

s

s

v

v

v

v v

Page 81: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MAL (cont.) Movement Strategy

Loop:

a. Pick a stationary node that has been localized but has not yet examined by this loop

b. Move the mobile around the stationary node and search for non-localized stationary node and 0,1 or 2 additional localized nodeslocalized nodes

c. For each such mobile position: Compute the distance between those 2,3,or 4 stationary nodes and localize the node if it has 4 know distances.

d. Terminates the loop if every stationary node has been localized or no more progress can be made.

Page 82: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� N.Bodhi Priyantha, H. Balakrishnan, E. Demaine, S.

Teller,”Mobile-Assisted Localization in Sensor Network”, IEEE INFOCOM 2005, Miami, FL, March 2005.

Page 83: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� By pure connectivity information

� Idea: decide whether a node is within or outside of a triangle

formed by any three anchors

� However, moving a sender node to determine its position is

hardly practical !

APIT (Approximate point in triangle)

hardly practical !

� Solution:

� inquire all its neighbors about their distance to the given

three corner anchors

Page 84: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

APIT (cont.)

� Inside a triangle

� irrespective of the direction of

the movement, the node must be

closed to at least one of the

corners of the triangle

A

corners of the triangle

CB

M

Page 85: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

APIT (cont.)

� Outside a triangle:

� There is at least one direction

for which the node’s distance

to all corners increases

AM

CB

Page 86: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Approximation: Normal nodes test only

directions towards neighbors

APIT (cont.)

Page 87: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Grid-Based Aggregation� Narrow down the area where the normal node can potentially reside

APIT (cont.)

anchor node

normal node

1

2

Page 88: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� T. He, C. Huang, B. M. Blum, J. A. Stankovic, and T.

Abdelzaher. Range-Free Localization Schemes for Large

Scale Sensor Networks. Proceedings of the 9th Annual

International Conference on Mobile Computing and

Networking, pages 81–95. ACM Press, 2003.

Page 89: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (Monte-Carlo Localization)

� Assumptions� Time is divided into several time slots

� Moving distance in each time slot is randomly chosen from

[0 , Vmax ]

� Each anchor node periodically forwards its location to two-

hop neighbors

2010/5/24 89

hop neighbors

� Notation� R - communication range

Page 90: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)

� Each normal node maintains 50 samples in

each time slot� Samples represent the possible locations

� The sample selection is based on previous samples

� Sample (x , y) must satisfy some constraints

2010/5/24 90

� Sample (x , y) must satisfy some constraints

� Located in the anchor constraints

Page 91: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)

� Anchor constraints� Near anchor constraint

� The communication region

of one-hop anchor node

( near anchor )

Farther anchor constraint

Near anchor constraint

R

A1 N1

2010/5/24 91

� Farther anchor constraint

� The region within ( R , 2R ]

centered on two-hop anchor

( farther anchor ) RR

Farther anchor constraint

A1

N1N2

Page 92: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)Environment

Anchor node

Normal node

A4

2010/5/24 92

A1

A2

A3

N1

Page 93: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)Initial Phase

A4

Anchor node

Normal node

Sample in the last time slot

2010/5/24 93

N1

A1

A2

A3

Page 94: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)Prediction Phase & Filtering

Phase

A4

Vmax

Anchor node

Normal node

Sample in the last time slot

Sample in this time slot

2010/5/24 94

R

RR

N1

A1

A2

A3

Page 95: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)Prediction Phase & Filtering

Phase

A4

Vmax

Anchor node

Normal node

Sample in the last time slot

Sample in this time slot

2010/5/24 95

R

N1

A1

A2

A3

Vmax

Vmax

R

R

Page 96: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.)Estimative Location

A4

� the average of samplesAnchor node

Normal node

Estimative position

Sample in this time slot

2010/5/24 96

N1

A1

A2

A3

EN1

Page 97: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MCL (cont.) Repeated Prediction Phase

& Filter Phase

Vmax A4

In the next time slot

Anchor node

Normal node

Sample in the last time slot

Sample in this time slot

2010/5/24 97

N1A1

A2

A3

R

Page 98: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� F. Dellaert, D. Fox, W. Burgard, and S. Thrun, "Monte Carlo

Localization for Mobile Robots", IEEE International

Conference on Robotics and Automation (ICRA), 1999

Page 99: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MSL Mobile and Static sensor network Localization

� In MSL, we assign a weight to each node. Every node uses the weights of its neighbors (rather than weights of samples of neighbors) to weight its samples.

After the weights are computed, MSL computes a a

2010/5/24 99

� After the weights are computed, MSL computes a a single location estimate (the weighted mean of samples) and a closeness value.

� Each node broadcasts to its neighbors this estimate and its closeness value (but not its samples). Thus, the communication cost drops significantly.

Page 100: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

MSL (cont.)

Differences with MCL

� Improve on MCL and generalize it in several ways.� First, modify the sampling procedure in MCL to

allow our algorithm to work in static networks.

� Second, each node uses information from only

2010/5/24 100

� Second, each node uses information from only those neighbors that have better location estimates (measured using the closeness parameter) than it.

� Third, modify the sampling procedure and allow samples to have weights greater than a threshold value, β.

Page 101: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� L. Hu and D. Evans, "Localization for Mobile Sensor

Networks," Proc. ACM MobiCom, pp. 45-47, Sept. 2004.

2010/5/24 101

Page 102: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� There are three phases in the DRLS algorithm.

� Phase 1 – Beacon exchange

� Phase 2 – Using improved grid-scan algorithm to get initial estimative location

DRLS Distributed RangeDistributed Range--Free Localization SchemeFree Localization Scheme

� Phase 3 – Refinement

Page 103: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Beacon exchange via two-hop flooding

Normal nodeA4

DRLS (cont.)DRLS (cont.)Beacon ExchangeBeacon Exchange

N1

Near anchor

Normal node

A1

A2

A3

A4

N2

N3 Farther anchor

Page 104: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

DRLS (cont.)DRLS (cont.)Improved GridImproved Grid--Scan AlgorithmScan Algorithm

up side

� Calculate the overlapping rectangle

A2

A3

A1

N

Normal node

Anchor node

right sideleft side down side

Page 105: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

DRLS (cont.)DRLS (cont.)Improved GridImproved Grid--Scan AlgorithmScan Algorithm

� Divide the ER into small grids

� The initial value of the grid is 0

0

0

0

0

00

0 0

0

A2

A3

A1

0 0

0

0

0

0

N

0

Anchor node

Normal node

Estimative location

Page 106: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

DRLS (cont.)DRLS (cont.)Improved GridImproved Grid--Scan AlgorithmScan Algorithm

� Initial estimative location

� Apply centroid formula to grids with the maximum grid value

2

2

2

3

33

3 3

3

A2

A3

A1

1 1

2

2

2

2

N

N’

2

Anchor node

Normal node

Estimative location

Page 107: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Repulsive virtual force (VF)

� Induced by farther anchor nodes

� Dinvasion : the maximum distance that the farther

anchor invades the estimative region along the

direction from the farther anchor towards the initial

DRLS (cont.)DRLS (cont.)RefinementRefinement

direction from the farther anchor towards the initial

estimative location

Page 108: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� VFi : virtual force induced by farther anchor i

� Dinvasioni : the maximum distance that

the farther anchor i invades the estimative

region along the direction from i towards

the initial estimative location

V : the unit vector in the

A4

DRLS (cont.)DRLS (cont.)RefinementRefinement

estimative region

VFA3

VFA4

DinvasionA4

VFA5

DinvasionA5

� Vi,j : the unit vector in the

direction from the farther anchor

i towards the initial estimative

location j

� VFi = Vi,j˙Dinvasioni

A5

A1

A2

NN’

A3

Page 109: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Resultant Virtual Force (RVF)

� RVF = ΣVFi

A4

DRLS (cont.)DRLS (cont.)RefinementRefinement

estimative region

RVF

A5

A1

A2

NN’

A3

N’

Page 110: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Dimax : the maximum moving

� Di : the moving distance caused by the farther anchor i

A4DinvasionA3max

DRLS (cont.)DRLS (cont.)RefinementRefinement

DA3max

distance caused by the farther

anchor i

estimative region

A5

A1

A2

NN’

A3

L3

ab

c

de f

DinvasionA3

Di

Dimax

=Dinvasioni

Dinvasionimax

Page 111: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Dmovei : the moving vector caused by the

farther anchor i

� Vi,j : the unit vector in the

direction from the farther anchor

i towards the initial estimative

A4

DRLS (cont.)DRLS (cont.)RefinementRefinement

i towards the initial estimative

location j

� Dmovei = Vi,j˙Di

estimative region

DmoveA3

DmoveA4

DinvasionA4

DmoveA5

DinvasionA5

A5

A1

A2

NN’

A3

Page 112: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Dmove: the final moving vector

Dmove = Σ Dmovei

A4

DRLS (cont.)DRLS (cont.)RefinementRefinement

estimative region

Dmove

A5

A1

A2

NN’

A3

N’

Page 113: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� J.-P. Sheu, P.-C. Chen, and C.-S. Hsu, “A Distributed

Localization Scheme for Wireless Sensor Networks

with Improved Grid-Scan and Vector-Based

Refinement,” IEEE Trans. on Mobile Computing, vol. 7,

no. 9, pp. 1110-1123, Sept. 2008.

Page 114: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Improvements� Dynamic number of samples

� According to the overlapping region of anchor constraints

� Restricted samples

� Anchor constraints

IMCL Improved MCL Localization Scheme

� Anchor constraints

� The estimative locations of neighboring normal nodes

� Predicted moving direction of the normal node

� Be used to increase the localization accuracy

Page 115: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Phase 1- Sample Selection Phase

� Phase 2- Neighbor Constraints Exchange

Phase

IMCL (cont.)

� Phase 3- Refinement Phase

Page 116: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Dynamic sample number� Sampling Region

� The overlapping region

of anchor constraints R

R

IMCL (cont.)Sample Selection Phase

of anchor constraints

� Difficult to calculate

� Estimative Region (ER)

� A rectangle surrounding

the sampling regionA1

A2

A3R

ER

N

Page 117: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.)Sample Selection Phase

� The number of samples ( k )

k =

× Area

ER

ERNumMax _

k≦ Max_Num

A1A

A3

R

R

RN

k =

• ERArea — the area of ER

• ERThreshold — the threshold value

• Max_Num — the upper bound of sample number

In our simulations, ERThreshold = 4R2

ThresholdER

A1A2

ER

Page 118: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.)Sample Selection Phase

� Using the prediction and filtering phase of

MCL� Samples are randomly selected from the region

extended Vmax from previous samples

� Filter new samples� Filter new samples

� Near anchor constraints

� Farther anchor constraints

Page 119: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.) Effect of Estimative Locations on Location Estimation

� An additional constraint� Samples must locate on the communication region of

neighboring normal nodes

� The localization error may increase

N2

N1

N3

Send the possible location

region to neighbors instead

of the estimative position

EN1

EN2

Page 120: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� The possible location region� The distribution of samples are selected in phase I

IMCL (cont.)Neighbor Constraints Exchange Phase

45°135°90°

Step 1: Sensor A constructs a coordinate

axis and uses (Cx ,Cy) as origin

Step 2: The coordinate axis is separated

into eight directions

Central position in phase 1

225° 315°270°

180° 0°(Cx ,Cy)

Page 121: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

45°90°

135°

IMCL (cont.)Neighbor Constraints Exchange Phase

Step 3: The samples are also divided

into eight groups according to

the angle θ with (Cx , Cy)

(Sx ,Sy)

)(tan 1

xx

yy

CS

CS

−= −θ

θ180° 0°

225°270°

315°

(Cx ,Cy)

(Sx ,Sy)

Sample in the this time slot

Central position in phase 1

Page 122: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

45°90°

135°

IMCL (cont.) Neighbor Constraints Exchange Phase

Step 4: Using the longest distance within

group as radius to perform sector

180° 0°

225°270°

315°

the possible location region described by

eight sectors and (Cx , Cy)

Sample in the this time slot

Central position in phase 1

Page 123: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Neighbor constraint� Extend R from the possible located region

90°

45°135°

IMCL (cont.) Neighbor Constraints Exchange Phase

Neighbor constraint

45°135°

180° 0°

225°

270°

315°

(Cx ,Cy)

R Each sensor broadcasts it’s neighbor

constraint region once

Page 124: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.) Refinement Phase

� Samples are filtered � Neighbor constraints

� Receive from neighboring normal nodes

� Moving constraint

� Predict the possible moving direction

� When sample is not satisfy the constraints� When sample is not satisfy the constraints� Normal node generates a valid sample

to replace it

Page 125: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.) Refinement Phase

S

� Neighbor constraints� Sample S1 is a valid sample

� Satisfied both neighbor

constraints of N2 and N3

� Sample S2 is a invalid sample

� Only satisfied the neighbor

S1

S2constraint of N3

Page 126: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.) Refinement Phase

In time slot t

� Moving constraint� The prediction of nodes moving direction

is [θ±∆Φ ]

Et-2

Et-1

θ∆ Φ

∆ Φ(Cx , Cy)

(Cx , Cy)

if (Cx , Cy) is located in {θ±∆Φ}

from Et-2 Prediction is right

if (Cx , Cy) is located outside of

{θ±∆Φ} from Et-2

Prediction is wrong

Page 127: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.) Refinement Phase

� If prediction is right, sample

must be located in {θ±∆Φ}

from Et-2

Et-2

Et-1

θ∆ Φ

∆ Φ (Cx , Cy)

Sample 1 satisfies moving

constraint

Sample 2 does not satisfy

moving constraint

Sample 1

Sample 2

Page 128: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

IMCL (cont.) Estimative Position

� Normal node calculates the estimative position

Et (Ex , Ey) of samples

� Ex =

� E =

ixk

i

∑=1

sample of coordinate � Ey =

k

i=1

k

iyk

i

∑=1

sample of coordinate

number sample , =k

Page 129: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

Reference

� Jang-Ping Sheu, Wei-Kai Hu, and Jen-Chiao Lin,

"Distributed Localization Scheme for Mobile Sensor

Networks," IEEE Transactions on Mobile Computing

(accepted).

Page 130: Chapter 7 Localization & Positioninghscc.cs.nthu.edu.tw/~sheujp/lecture_note/10wsn/wsn07.pdf · connectivity between any two nodes is only possible if nodes are at most R distance

� Determining location or position is a vitally

important function in WSN, but fraught with

many errors and shortcomings

� Range estimates often not sufficiently accurate

Conclusions

� Many anchors are needed for acceptable results

� Anchors might need external position sources (GPS)

� Multilateration problematic (convergence, accuracy)