133a6aabb5f2b0c70e29d269c10e471f.ppt
- Количество слайдов: 27
Wireless Localization using Self. Organizing Maps S. K. S. Gupta School of Computing and Informatics Arizona State University Tempe, AZ Joint work with G. Giorgetti and G. Manes – U. of Frienza IMPACT Lab Sandeep K. S. Gupta
Localization Location awareness: Problem: to assign coordinates • Enable Context-Aware Apps • Resource & Services Discovery to the network nodes • Tracking (People, Equipment, . . . ) 4 6 • Navigation Support 9 • Security (Location-based access) Fire! 7 2 10 3 8 1 Remote user IMPACT Lab 5 0 Quick solutions: • Manual Configuration: not feasible for large networks. • GPS: accurate, but powerhungry and not cost-effective Need of Localization Algorithms for Wireless Sensor Networks Sandeep K. S. Gupta
Single-Hop Localization In the simplest case, localization consists in computing the position of a single node based on measurements from nodes at fixed positions. Range-Free: Proximity IMPACT Lab Range-Based: Scene Analysis: Angulation, Multilateration, Triangulation Wi. Fi and GPS fingerprinting Sandeep K. S. Gupta
Multi-hop Localization In general, solving the localization problem requires to compute the positions of a set of nodes. • Scene analysis is not applicable if the coverage of anchor nodes is partial. • Range-free and range-based techniques are still applicable, but the problem become more complex (see next…) • Anchor-Free localization can be used to derive relative positions of node in absence of reference points (still useful, see next…). IMPACT Lab Sandeep K. S. Gupta
Virtual Coordinates If no anchor information is used, the map produced by the localization algorithm will be arbitrarily rotated, translated or flipped. Node positions are expressed in terms of Virtual Coordinates. Note that although the true positions are not known, nodes with similar virtual coordinates are close in space. Geo. Routing: at each step, forward the packet to the node with virtual coordinates closer to the destination point. Service Discovery: locate the service (e. g. a printer) closer to the user. IMPACT Lab Sandeep K. S. Gupta
The problem: locating the nodes Inputs: 1) A set of nodes: 6 8 1 3 10 9 2 5 0 7 4 2) A set of measurements: e. g. Range measurements: d(p 1, p 2) = Z 12 e. g. Connectivity constraints d(p 3, p 4) ≤ Z 34 IMPACT Lab Output: a set of node coordinates Sandeep K. S. Gupta
Graph Embedding in Euclidean Spaces 2 1 8 7 4 5 3 WSN represented as a undirected graph G=(V, E) 6 GRAPH EMBEDDING: find a mapping : V Rd such that the computed coordinates satisfy constraints (e. g. graph planar, or edge have specific lengths ) The problem has been extensively studied due to its application to molecular conformation, structural analysis, graph drawing. IMPACT Lab Sandeep K. S. Gupta
d(1, 3) d(3, 4) , 6) 6 Translation 5 d(3 7 , 5) d(5 , 7) d(5 d(1, 2) , 8) d(4 , 6) Rotation 2 d(3 , 4) d(2, 4) 3 7 Original graph 8 , 4) 4 1 6 d(5, 6) d(3, 4) d(3, 8) d(3, 6) d(2 , 3) 4 8 3 d(1 d(4, 5) d(1, 3) 5 d(5, 7) d(5, 6) d(5, 7) d(3, 4) 2 d(1, 3) d(4, 5) 3 4 , 2) 8 1 1 d(3, 8) 7 d(2, 4) 6 d(3, 6) 2 d(3, 6) d(3, 8) 6 d(1, 2) d(1 5 5 8 3 d(5, 6) Uniqueness of the Solution Reflection If we use inter-node distances, the solution is correct up to global translation, rotation or reflection. We need to fix the relative position of 3 non collinear nodes (2 D). These ambiguities arise with anchor-free localization (only the relative positions are computed). IMPACT Lab Sandeep K. S. Gupta
Embedding with known edge lengths d(1, 2) 1 d(1, 3) 8 2 d(2, 4) d(3, 4) 3 4 d(4, 5) 5 d(3, 6) d(3, 8) We assume that inter-node distances can be measured. Note: this is feasible only if nodes have dedicated hardware (e. g. ultrasound). 7 d(5, 7) d(5, 6) 6 Problem: find an embedding such that d(p 1, p 2)=d( (1), (2)) Fundamental Questions: 1. Computational complexity 2. Uniqueness of solution IMPACT Lab Answer 1: • Graph Embedding is NPcomplete in 1 D and NP-hard in 2 D [Saxe 79] Sandeep K. S. Gupta
Uniqueness of the Solution (cntd) Considering N nodes there are 2 N degree of freedom in the 2 D space. Each measurement set a constraint. If we don’t have enough constraints the solution is not unique. 2 1 8 7 6 4 5 3 7 2 1 4 7 6 7 8 Flexible framework 5 3 6 Flipping ambiguities IMPACT Lab Sandeep K. S. Gupta
Condition for unique realization in 2 D d(1, 2) 1 d(1, 3) 8 2 d(2, 4) d(3, 4) 3 4 d(4, 5) 5 d(3, 6) d(3, 8) 7 d(5, 7) d(5, 6) 6 • The graph need to have 2 N-3 well distributed edges [2] • The graph need to be triconnected and reduntantly ridig [3] • Condition are testable in polynomial time (peeble game) [5] • This conditions were proved to be necessary and sufficient [4] • No such characterization exists for dimension greater than 2 IMPACT Lab Sandeep K. S. Gupta
Connectivity information only Assuming an idealized radio model: • d(a, b) ≤ R a, b neighbors • d(a, c) > R a, c non neighbors Network can be represented by an Unit Disk Graph (UDG) R 2 1 8 7 4 5 3 6 NB(3)={1, 2, 4, 6, 8) Theoretical Results on Unit Disk Graphs: • Embedding NP-Complete in 1 D and NP-hard in 2 D [6] • Problem is APX-hard (no Polynomial Time Approximation) [7] Finding exact nodes position is not just hard algorithmically, but impossible since the lack of information IMPACT Lab Sandeep K. S. Gupta
Spring-Mass Model The network is modelled as a mesh of masses connected by spring with a given length. The springs push or pull the nodes until the internode distance are correct. Localization code is simple to implement, but it only works if initial position are estimated with sufficient accuracy (otherwise the relaxation algorithm will get stuck in one of the many local minima). See videos. IMPACT Lab Sandeep K. S. Gupta
SOM Localization (anchor-free/anchor-based, range-free/range based) The unknown node positions are stored as weights of a neural networks known as Self-Organizing Maps (SOM) - Connections between neurons are created match the radio links in the sensor networks (two neurons are connected, if the corresponding sensor nodes are neighbors) - Can work with any combination of anchor and range information. - No attempt to estimate the actual range from RSSI, therefore no need of calibration parameters. - Lightweight implementation (in term of memory and execution time). 9 3 7 2 4 1 Sensor Network IMPACT Lab 9 3 7 4 2 1 SOM Sandeep K. S. Gupta Training phase
Self-Organizing Map (SOM) 2 D SOM with hexagonal Lattice Î Rd 7 x 5 hexagonal SOM Weight Vector Introduced in 1982 by T. Kohonen, it has some resemblance to the cerebral cortex, where similar stimuli are processed in adjacent areas (to minimize the length of synapses connections) SOM learning algorithm is UNSUPERVISED IMPACT Lab Sandeep K. S. Gupta
BLUE Example GREEN RED Input Space SOM before training SOM after training Properties of the SOM technique: • • SOMs are able to learn the underlying features of the input space (e. g. a uniform color distribution). Final weights are topologically ordered (adjacent neurons converge to similar values). IMPACT Lab Sandeep K. S. Gupta
Learning Algorithm Training Set 1 1) Sampling: a sample x is extracted from the input set and compared with the map weights. BMU 2) Competition: the neuron whose weights are more similar to the input is the Best Matching Unit (BMU) 3) Adaptation: the SOM weights are updated. Adaptation is regulated by a Gaussian shaped neighborhood function. 2 Neighborhood funct. h(·) Weight changes 3 IMPACT Lab Sandeep K. S. Gupta
Anisotropic Networks “W” layout MDS – avg. err. 1. 32 R SOM – avg. err. 0. 38 R “C” layout MDS – avg. err. 1. 56 R SOM – avg. err. 0. 33 R ~ 75% accuracy improvement over MDS. IMPACT Lab Sandeep K. S. Gupta
Indoor Localization using SOM and RSSI Average Error ~= 1. 3 m Results are comparable (even better) to those obtained using methods that relies on RSSI range estimates (and require parameters calibration) IMPACT Lab Sandeep K. S. Gupta
Switched Beam Directional Antenna Four Beam Directional Antenna Patch 1 Patch 3 IMPACT Lab Sandeep K. S. Gupta Patch 2 Patch 4
2 D Range Based Localization Trilateration IMPACT Lab Triangulation Sandeep K. S. Gupta Range + Angle
Angle of Arrival Estimation Patch 2 d 2 2 Patch 1 1 1 r 1 Friis’ free space equations r 2 0 target IMPACT Lab Sandeep K. S. Gupta
Angle of Arrival estimation using MUSIC = “MUltiple SIgnal Classification” steering vector IMPACT Lab Sandeep K. S. Gupta
MUSIC algorithm 1) 2) 3) 4) Collect a sequence of power readings on face 1, 2, 3, 4 Convert values from d. Bm to volts Compute the correlation matrix Use SVD to separate the signal eigenvector (one signal source one signal eigenvector) from the noise eigenvector (3). 5) Compute the MUSIC spectrum: Orthogonal projection of the steering vector A(θ) on the space spanned by the noise eigenvectors. IMPACT Lab Sandeep K. S. Gupta
Examples of MUSIC spectrums IMPACT Lab Sandeep K. S. Gupta
Real-Time Target Tracking IMPACT Lab Sandeep K. S. Gupta
References [1]. J. B. Saxe. Embeddability of weighted graphs in k-space is strongly NP-hard. In Proc. 17 th Allerton Conf. Commun. Control Comput. , pages 480 -489, 1979. [2] Laman, G. On graphs and rigidity of plane skeletal structures. Journal of Engineering, Mathematics, 4: 331340, 2002. [3] Hendrickson, B. Conditions for unique graph realizations. SIAM J. Comput. , 21(1): 6584, February 1992. [4] Jackson, B. and Jordan, T. Connected rigidity matroids and unique realizations of graphs. Manuscript, March 2003. [5] D. Jacobs and B. Hendrickson. An algorithm for two dimensional rigidity percolation: The pebble game. J. Computational Physics, 137(2): 346365, 1997. [6] H. Breu and D. G. Kirkpatrick. Unit Disk Graph Recognition is NP-hard. Computational Geometry. Theory and Applications, 9(1 -2): 324, 1998. [7] F. Kuhn , T. Moscibroda , R. Wattenhofer, Unit disk graph approximation, Proceedings of the 2004 joint workshop on Foundations of mobile computing, October 01 -01, 2004, Philadelphia, PA, USA [8] Kohonen T. , Self-organized formation of topologically correct features maps, Biological Cybernetics 43, 1982, pp. 59 -69 [9] Shang Y. , Ruml, W. , Zhang, Y. , Fromherz, M. P. J. , Localization from mere connectivity, Proceedings of the 4 th ACM international symposium on Mobile ad hoc networking & computing, June 01 -03, 2003, Annapolis, Maryland, USA [10] He, T. , Huang, C. , Blum, B. M. , Stankovic, J. A. , and Abdelzaher, T. 2003. Range-free localization schemes for large scale sensor networks. In Proceedings of the 9 th Annual international Conference on Mobile Computing and Networking (San Diego, CA, USA, September 14 - 19, 2003). Mobi. Com Õ 03. ACM Press, New York, NY, 81 -95 IMPACT Lab Sandeep K. S. Gupta