Localization in Sensor Networks Rahul Jain ETH Z urich May 5, - - PowerPoint PPT Presentation

localization in sensor networks
SMART_READER_LITE
LIVE PREVIEW

Localization in Sensor Networks Rahul Jain ETH Z urich May 5, - - PowerPoint PPT Presentation

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Localization in Sensor Networks Rahul Jain ETH Z urich May 5, 2010 Rahul Jain Localization in Sensor Networks Introduction Countersniper System Localization


slide-1
SLIDE 1

Introduction Countersniper System PinPtr Radio Interferometry Conclusions

Localization in Sensor Networks

Rahul Jain

ETH Z¨ urich

May 5, 2010

Rahul Jain Localization in Sensor Networks

slide-2
SLIDE 2

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Localization Motivation

Localization

Active Localization

System sends signals to localize target

  • eg. Radar(non-cooperative), GPS(cooperative)

Passive Localization

System deduces location from observation of signals that are already present

  • eg. Signals normally emitted by the target (eg. birdcalls)

Rahul Jain Localization in Sensor Networks

slide-3
SLIDE 3

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Localization Motivation

Motivation

Many applications of WSN require the knowledge of where the individual nodes are located Motivating examples: Countersniper systems, Animal Tracking and Logistics We now look at an example of countersniper systems

Rahul Jain Localization in Sensor Networks

slide-4
SLIDE 4

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Problem Solution Acoustic Signals

Problem and Challenges

To locate snipers in an urban environment Challenges of an urban terrain

Multipath effects Poor coverage due to shading effect of buildings

Limitations of existing systems

Require direct line of sight Rely on muzzle flash that can be suppressed Centralized, thus not robust to sensor failure

Cost effectiveness

Rahul Jain Localization in Sensor Networks

slide-5
SLIDE 5

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Problem Solution Acoustic Signals

Solution

Use an ad-hoc wireless sensor network-based system Utilize many cheap sensors for

good coverage of direct signal tolerance to failures

Detect via acoustic signals like muzzle blasts and shockwaves

Rahul Jain Localization in Sensor Networks

slide-6
SLIDE 6

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Problem Solution Acoustic Signals

Acoustic Signals

B S

v v M = = Θ 1 sin S A X Θ vS vB Muzzle wave Shock wave front Figure 1: Acoustic events generated by a shot. The muzzle blast produces a spherical wave front, traveling at the speed of sound (vS ) from the muzzle (A) to the sensor (S). The shock wave is generated in every point of the trajectory of the supersonic projectile producing a cone-shaped wave front, assuming the speed of the projectile is constant vB . The shockwave reaching sensor S was generated in point X. The angle of the shockwave cone is determined by the Mach number (M) of the projectile. Rahul Jain Localization in Sensor Networks

slide-7
SLIDE 7

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

PinPtr

Ad-hoc wireless network of inexpensive sensors Sensors can

detect muzzle blasts and acoustic shockwaves measure their time of arrival (TOA)

Message routing service delivers TOA to a base station User Interface through base stations or PDAs System field tested at the US Army McKenna MOUT (Military Operations in Urban Terrain) facility at Fort Nenning, GA

Rahul Jain Localization in Sensor Networks

slide-8
SLIDE 8

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

System Architecture

= = Θ Θ Figure 2. System architecture

Figure 2: System Architecture Rahul Jain Localization in Sensor Networks

slide-9
SLIDE 9

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Middleware Services

Time Synchronization

Flooding Time Synchronization Protocol All nodes synchronized with a root node

Message Routing

Gradient-based best effort converge-cast protocol All data routed to a root node

Sensor Localization

Estimate the sensor position using shots Current implementation places sensors by hand

Rahul Jain Localization in Sensor Networks

slide-10
SLIDE 10

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Sensor Fusion

Consistency Function Cτ(x, y, z, t) = count(| ti(x, y, z, t) − ti |≤ τ) Search Algorithm General Bisection method Maximum 105 steps required

Rahul Jain Localization in Sensor Networks

slide-11
SLIDE 11

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Setup

56 nodes 20 known shooter positions 171 shots

Figure 3: PinPtr: Field Setup Rahul Jain Localization in Sensor Networks

slide-12
SLIDE 12

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Shooter Localization Errors

10 20 30 40 50 60 70 80 90 1 2 3 4 5 localization error in meters percentage of shots 2D error 3D error

Figure 4: Localization Errors in 2D and 3D Rahul Jain Localization in Sensor Networks

slide-13
SLIDE 13

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Error Sources

0.5 1 1.5 2 2.5 3 3.5 4 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 timesynch error (millisec) avgerage localization accuracy (meter) 2D error 3D error

Figure 5: Localization accuarcy vs. time synch error Rahul Jain Localization in Sensor Networks

slide-14
SLIDE 14

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Sensor Density

20 40 60 80 100 120 56 52 48 44 40 36 32 28 24 20 16 12 8 Number of motes used Detection percentage

Figure 6: Detection rate vs. number of sensors used ≤

1 2 3 4 5 6 7 8 9 56 52 48 44 40 36 32 28 24 20 16 12 8 Number of motes used Accuracy (meter) 2D error 3D error

Figure 7: Localization accuarcy vs. number of sensor used Rahul Jain Localization in Sensor Networks

slide-15
SLIDE 15

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Sensor Fusion Accuracy

2 4 6 8 10 12 14 16 18 20 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 localization error (m) frequency (%) Fusion algorithm Analytical solution

Figure 8: Error comparison with filtered readings

5 10 15 20 25 30 5 10 15 20 25 30 35 40 45 50 ratio of bad measurements (% ) average localization error (m) Fusion algorithm Analytical solution

Figure 9: Error comparison with unfiltered readings Rahul Jain Localization in Sensor Networks

slide-16
SLIDE 16

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Overview System Architecture Middleware Services Sensor Fusion Results Remarks

Remarks

Deployment of sensors in an urban environment is not trivial No power management Can not detect multiple shots Silencers?

Rahul Jain Localization in Sensor Networks

slide-17
SLIDE 17

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Radio Interferometry

Pair of nodes emitting radio waves simultaneously at slightly different frequencies Carrier frequency of the composite signal is between the two frequencies Neighbouring nodes can measure the energy of the envelope signal as the signal strength

Rahul Jain Localization in Sensor Networks

slide-18
SLIDE 18

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Model

D A B C dAC dBC dAD dBD

) 2 mod ( 2

  • ffset

phase

carrier AC BC BD AD

π λ π d d d d − + − =

Figure 10: Radio Interferometric Ranging Technique Rahul Jain Localization in Sensor Networks

slide-19
SLIDE 19

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Filtered RSSI Signal

Theorem 1: Let f2 < f1 be two close carrier frequencies with δ = (f1 − f2)/2, δ << f2, and 2δ < fcut. Furthermore, assume that a node receives the radio signal s(t) = a1cos(2πf1t + ϕ1) + a2cos(2πf2t + ϕ2) + n(t), where n(t) is the Gaussian noise.Then the filtered RSSI signal r(t) is periodic with fundamental frequency f1 − f2 and absolute phase

  • ffset ϕ1 − ϕ2.

Rahul Jain Localization in Sensor Networks

slide-20
SLIDE 20

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Relative Phase Offset

Theorem 2: Assume that the two nodes A and B transmit pure sine waves at two close frequncies fA > fB such that fA − fB < fcut, and two other nodes C and D measure the filtered RSSI signal. Then the relative phase offset of rC(t) and rD(t) is 2π( dAD − dAC

c/fA

+ dBC − dBD

c/fB

) (mod2π)

Rahul Jain Localization in Sensor Networks

slide-21
SLIDE 21

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Relative Phase Offset

Theorem 3: Assume that the two nodes A and B trasmit pure sine waves at two close frequencies fA > fB, and two other nodes C and D measure the filtered RSSI signal. If fA − fB < 2kHz, and dAC, dAD, dBC, dBD ≤ 1km, then the relative phase offset of rC(t) and rD(t) is 2π( dAD − dBD + dBC − dAC

c/f

) (mod2π) where f = (fA + fB)/2.

Rahul Jain Localization in Sensor Networks

slide-22
SLIDE 22

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Scheduling

At most n(n − 3)/2 choices for the independent interference measurements In the current implementation, the base station selects all possible pairs of transmitters while all other nodes within their range act as receivers

Rahul Jain Localization in Sensor Networks

slide-23
SLIDE 23

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Tuning

f1(i) = f1 + i.325Hz, i = −15, −14, ..., 15 f2 constant Receiver analyzes | f1(i) − f2 | which is the interference frequency Determine i for which the interference frequency is 0

Rahul Jain Localization in Sensor Networks

slide-24
SLIDE 24

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Time Synchronization

Nodes need to synchronize and measure absolute phase offsets relative to a common time instant for calculating the relative phase offset The master broadcasts a radio message identifying the other sensor node, type of measurement, transmit power and the time to start the measurement.

Rahul Jain Localization in Sensor Networks

slide-25
SLIDE 25

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Frequency and Phase Estimation

Peak detection performed on line in the ADC Post processing works exlusively on the obtained peak indexes Phase of the RSSI signal is estimated by the average phase of the filtered peaks

0.005 0.005 0.01 0.01 0.015 0.015 0.02 0.02 0.025 0.025 0.03 0.03 120 120 140 140 160 160 180 180 200 200 220 220 240 240 260 260 Time (s) Time (s) Amplitude Amplitude RSSI raw signal RSSI raw signal Filtered signal Filtered signal Minimum Minimum Maximum Maximum Low threshold Low threshold High threshold High threshold False peaks False peaks Filtered peaks Filtered peaks

Figure 11: Peak detection and filtering Rahul Jain Localization in Sensor Networks

slide-26
SLIDE 26

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Localization

Generate an initial population of populationSize random solutions Select subpopulationSize solutions randomly from the population Evaluate each solution in the selected subset using the error function Sort the subset according to error Remove the worst 20% of the individuals in the sub-set, then generate new individuals by selecting random parents from the best 20% and applying genetic operators on the parents Go to step (2)

Rahul Jain Localization in Sensor Networks

slide-27
SLIDE 27

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Error Sources

Carrier frequency inaccuracy Carrier frequency drift and phase noise Multipath effects Time synchronization error

Rahul Jain Localization in Sensor Networks

slide-28
SLIDE 28

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Effective Range

Interferometric Radio Range (r) is twice the range of digital communication −2r ≤ dABCD ≤ 2r

Rahul Jain Localization in Sensor Networks

slide-29
SLIDE 29

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Range Accuracy

100 200 300 400 500 600 700

  • 0.20
  • 0.16
  • 0.12
  • 0.08
  • 0.04

0.00 0.04 0.08 0.12 0.16 0.20 error (m) number of range measurements

Figure 12: Central portion of the error distribution of the filtered ranges Rahul Jain Localization in Sensor Networks

slide-30
SLIDE 30

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Localization Accuracy

1 2 3 4 5 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 error (m) number of nodes 0.1

Figure 13: Error distribution of localization Rahul Jain Localization in Sensor Networks

slide-31
SLIDE 31

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Latency

In a 16 node network, there are approx. 32000 measurements carried out This entire process takes about 80 minutes. If we use one-fifth of the transmitter pairs, we reduce the time to 20 minutes. For small scale networks, the entire process can be completed in under 5 minutes.

Rahul Jain Localization in Sensor Networks

slide-32
SLIDE 32

Introduction Countersniper System PinPtr Radio Interferometry Conclusions Theory Implementation Evaluation Remarks

Remarks

High accuracy and long range Supports 3D localization Does not require extra hardware or calibration High Latency Applications?

Rahul Jain Localization in Sensor Networks

slide-33
SLIDE 33

Introduction Countersniper System PinPtr Radio Interferometry Conclusions

Questions

Questions?

Rahul Jain Localization in Sensor Networks