Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Location Discovery Lecture 6 September 20, 2005 EENG 460a / CPSC 436 / ENAS 960 Networked Embedded Systems & Sensor Networks Andreas Savvides.

Similar presentations


Presentation on theme: "Introduction to Location Discovery Lecture 6 September 20, 2005 EENG 460a / CPSC 436 / ENAS 960 Networked Embedded Systems & Sensor Networks Andreas Savvides."— Presentation transcript:

1 Introduction to Location Discovery Lecture 6 September 20, 2005 EENG 460a / CPSC 436 / ENAS 960 Networked Embedded Systems & Sensor Networks Andreas Savvides andreas.savvides@yale.edu Office: AKW 212 Tel 432-1275 Course Website http://www.eng.yale.edu/enalab/courses/2005f/eeng460a

2 Lecture Outline  Recap from last lecture, Kalman Filters & time update phase  The SCAAT Kalman Filter  Programming project overview  Computing locations using multidimensional scaling (MDS)

3 Kalman Filter Equations From Greg Welch http://www.cs.unc.edu/~welch/media/pdf/kalman_intro.pdf

4 KF, EKF & SCAAT “A Kalman Filter(KF) is a recursive mathematical procedure for least-squares estimation of a linear system”  Follows a predictor-corrector model  An Extended Kalman Filter is a KF variant of non-linear systems  A SCAAT Kalman Filter operates on a single measurement at a time.

5 SCAAT Kalman Filter Proposed by Greg Welsh and Gary Bishop at UNC in 1997 Used in Hi-Ball Optoelectronic Tracker System [Slide created from Welsh & Bishop, “SCAAT: Incremental Tracking with Incomplete Information”, Sigraph 97]

6 SCAAT Kalman Filter Single-constraint-at-a-time(SCAAT) Process one measurement at a time C- # of independent constraints for a unique solution N – # of constraints used to derive an estimate N ind - # of independent constraints [Slide from Welsh & Bishop, “SCAAT: Incremental Tracking with Incomplete Information”, Sigraph 97]

7 SCAAT Aims at Temporal Improvements  Computation is faster  KF matrices H, x and z are smaller  The state prediction model described by matrix A needs to change Example system that uses all measurements at once 

8 Programming Project  Implement a SCAAT filter in SOS  Need to worry about 1.Correctness of implementation 2.Layering & modules (See project handout)

9 Back to Distance Based Localization… What if the distances between nodes are know? Can we compute a coordinate system without beacons (or anchors)? Yes, one possible way is to use MDS…

10 Obtaining a Coordinate System from Distance Measurements: Introduction to MDS MDS maps objects from a high-dimensional space to a low-dimensional space, while preserving distances between objects. similarity between objects coordinates of points Classical metric MDS: The simplest MDS: the proximities are treated as distances in an Euclidean space Optimality: LSE sense. Exact reconstruction if the proximity data are from an Euclidean space Efficiency: singular value decomposition, O(n 3 )

11 The basic MDS-MAP algorithm: 1.Given connectivity or local distance measurement, compute shortest paths between all pairs of nodes. 2.Apply multidimentional scaling (MDS) to construct a relative map containing the positions of nodes in a local coordinate system. 3.Given sufficient anchors (nodes with known positions), e.g, 3 for 2-D or 4 for 3-D networks, transform the relative map and determine the absolute the positions of the nodes. It works for any n-dimensional networks, e.g., 2-D or 3-D. LOCALIZATION USING MDS-MAP (Shang, et al., Mobihoc’03)

12 Applying Classical MDS 1.Create a proximity matrix of distances D 2.Convert into a double-centered matrix B 3.Take the Singular Value Decomposition of B 4.Compute the coordinate matrix X (2D coordinates will be in the first 2 columns) NxN matrix of 1s NxN identity matrix

13 The basic MDS-MAP algorithm: 1.Compute shortest paths between all pairs of nodes. 2.Apply classical MDS and use its result to construct a relative map. 3.Given sufficient anchor nodes, transform the relative map to an absolute map. Example: Localization Using Multidimensional Scaling (MDS) (Yi Shang et. al)

14 MDS-MAP ALGORITHM 1. Compute all-pair shortest paths. O(n 3 ) Assigning values to the edges in the connectivity graph: Known connectivity only: all edges have value 1 (or R/2) Known neighbor distances: the edges have the distance values 2. Apply classical MDS and use its result to construct a 2-D (or 3-D) relative map. O(n 3 ) 3. Given sufficient anchor nodes, convert the relative map to an absolute map via a linear transformation. O(n+m 3 ) Compute the LSE transformation based on the positions of anchors. O(m 3 ), m is the number of anchors Apply the transformation to the other unknown nodes. O(n)

15 MDS-MAP (P) – The Distributed Version 1. Set-up the range for local maps R lm (# of hops to consider in a map) 2.Compute maps of individual nodes 1.Compute shortest paths between all pairs of nodes 2.Apply MDS 3.Least-squares refinement 3.Patch the maps together Randomly pick a node and build a local map, then merge the neighbors and continue until the whole network is completed 4.If sufficient anchor nodes are present, transform the relative map to an absolute map MDS-MAP(P,R) – Same as MDS-MAP(P) followed by a refinement phase

16 The basic MDS-MAP works well on regularly shaped networks, but not on irregularly shaped networks. MDS-MAP(P) (or MDS-MAP based on patches of local maps) 1.For each node, compute a local relative map using MDS 2.Merge/align local maps to form a big relative map 3.Refine the relative map based on the relative positions (optional). (When used, referred to as MDS-MAP(P,R) ) 4.Given sufficient anchors, compute absolute positions 5.Refine the positions of individual nodes based on the absolution positions (optional) MDS-MAP(P) (Shang and Ruml, Infocom’04)

17 1.For each node, compute a local relative map using MDS Size of local maps: fixed or adaptive 2.Merge/align local maps to form a big relative map Sequential or distributed; scaling or not 3.Refine the relative map based on the relative positions Least squares minimization: what information to use 4.Given sufficient anchors, compute absolute positions Anchor selection; centralized or distributed 5.Refine the positions of individual nodes based on the absolution positions Minimizing squared errors or absolute errors SOME IMPLEMENTATION DETAILS OF MDS-MAP(P)

18 AN EXAMPLE OF C-SHAPE GRID NETWORKS MDS-MAP(P) without both optional refinement steps. Known 1-hop distances with 5% range error Connectivity information only

19 RANDOM UNIFORM PLACEMENT 200 nodes; 4 random anchors Connectivity information onlyKnown 1-hop distances with 5% range error

20 RANDOM C-SHAPE PLACEMENT 160 nodes; 4 random anchors Connectivity information onlyKnown 1-hop distances with 5% range error

21 Where is the challenge?  The results are numerically correct based on the used measurement model  Two main assumptions Hops are proportional to distance Error represented as a function of distance  Is that the case in practice?

22 Back to the Physical Layer: RSSI In Node Localization Ultrasound ToARSSI in football field Max range 3m, accuracy 2cmMax range 20m, accuracy 7m Power levels: 7,10

23 RSSI Characterization Study (D.Lymberopoulos et. al. based on Chipcon 2420 radio)

24 RSSI: The Log Normal Shadowing Model Problem with indoor environments: Path loss exponent varies in different areas Significantly affected by reflections at higher power levels Antenna factor dominates

25 Transmit Power Levels in Chipcon CC2420 = 1mW= 43.5mW Radio supply voltage= 2.5V And Power = I*V

26 Going from Watts to dBm +20dBm=100mW +10dBm=10mW +7dBm=5mW +6dBm = 4mW +4dBm=2.5mW +3dBm=2mW 0dBm=1mW -3dBm=.5mW -10dBm=.1mW

27 Sources of RSSI Variability  Intrinsic Radio receiver and transmitter calibration  Extrinsic Relative antenna orientation for Receiver/Transmitter Multipath and shadowing effects

28 Indoor Path Loss Measurements Floor measurements in a 24 x 20 lounge – no obstacles Same power level using suboptimal antenna η=3

29 RSSI Measurement Configuration: RSSI vs Distance  Data cannot be fitted to the widely used log-normal shadowing signal propagation model  Reflections  Antenna Orientation

30 Antenna Radiation Pattern Side ViewTop View Communication range Symmetric Region Antenna orientation independent regions Communication range

31 Interesting Properties of RSSI Moving away from the antenna active region

32 Link Asymmetry in 3D-scenarios % of one-way links

33 RSSI Study Results & Conclusions  The RX/TX radio calibration issues have minimal effect on localization If you were using the log normal shadowing model, that would result in approximately 0.5m of error  Antenna orientation is a major source of variability  There is a small region around the antenna, that is less susceptible to orientation effects This allows to say when 2 radios are in close proximity to each other  Interesting radio property There are some signal strength measurements that can only be obtained if two antennas(& radios) are very close to each other!

34 Understanding Fundamental Behaviors What is the fundamental error behavior? Measurement technology perspective Acoustic vs. RF ToF (2cm – 1.5m measurement accuracy) Distances vs. Angules Deployment - what density? Scalability How does error propagate? Beacon density & beacon position uncertainty Intrinsic vs. Extrinsic Error Component

35 Estimated Location Error Decomposition Position Error Channel Effects Computation Error Setup Error Induced by intrinsic measurement error

36 Cramer Rao Bound Analysis  Cramer-Rao Bound Analysis on carefully controlled scenarios Classical result from statistics that gives a lower bound on the error covariance matrix of an unbiased estimate  Assuming White Gaussian Measurement Error  Related work N. Patwari et. al, “Relative Location Estimation in Wireless Sensor Networks”

37 Density Effects Density (node/m 2 ) RMS Location Error 20mm distance measurement certainty == 0.27 angular certainty Range Error Scaling Factor RMS Location Error/sigma Range Tangential Error Results from Cramer-Rao Bound Simulations based on White Gaussian Error m/rad m/m

38 Density Effects with Different Ranging Technologies RMS Error(m) 6 neighbors 12 neighbors

39 Network Scalability x-coordinate(m) y-coordinate(m) RMS Location Error x 10 Error propagation on a hexagon scenario (angle measurement) Rate of error propagation faster with distance measurements but Much smaller magnitude than angles

40 More Observations on Network Scalability…  Performance degrades gracefully as the number of unknown nodes increases.  Increasing the number of beacon nodes does not make a significant improvement  Error in beacons results in an overall translation of the network  Error due to geometry is the major component in propagated error


Download ppt "Introduction to Location Discovery Lecture 6 September 20, 2005 EENG 460a / CPSC 436 / ENAS 960 Networked Embedded Systems & Sensor Networks Andreas Savvides."

Similar presentations


Ads by Google