Luca Schenato joint work with: A. Basso, G. Gamba

Similar documents
Distributed estimation and consensus. Luca Schenato University of Padova WIDE 09 7 July 2009, Siena

Some results on optimal estimation and control for lossy NCS. Luca Schenato

Optimal Clock Synchronization in Networks. Christoph Lenzen Philipp Sommer Roger Wattenhofer

CS649 Sensor Networks IP Lecture 9: Synchronization

Chapter 2 Distributed Consensus Estimation of Wireless Sensor Networks

Distributed Consensus and Cooperative Estimation

Implicit Network Timing Synchronization With Phase-Only Updates

Reduced Overhead Distributed Consensus-Based Estimation Algorithm

Simple, Optimal, Fast, and Robust Wireless Random Medium Access Control

Clock Synchronization

arxiv: v1 [cs.dc] 29 Oct 2014

Multiple Receiver Strategies for Minimizing Packet Loss in Dense Sensor Networks

Decentralized and distributed control

Introduction. Introduction ROBUST SENSOR POSITIONING IN WIRELESS AD HOC SENSOR NETWORKS. Smart Wireless Sensor Systems 1

Security in Sensor Networks. Written by: Prof. Srdjan Capkun & Others Presented By : Siddharth Malhotra Mentor: Roland Flury

FTSP Power Characterization

Design of an energy efficient Medium Access Control protocol for wireless sensor networks. Thesis Committee

Wireless Network Security Spring 2014

Clock Synchronization

Cognitive Wireless Network : Computer Networking. Overview. Cognitive Wireless Networks

Agenda. A short overview of the CITI lab. Wireless Sensor Networks : Key applications & constraints. Energy consumption and network lifetime

Wireless Internet Routing. IEEE s

Infrastructure Establishment in Sensor Networks

Connectivity Management in Mobile Robot Teams

AS-MAC: An Asynchronous Scheduled MAC Protocol for Wireless Sensor Networks

Resource Allocation Challenges in Future Wireless Networks

A New Control Theory for Dynamic Data Driven Systems

Swarm Robotics. Communication and Cooperation over the Internet. Will Ferenc, Hannah Kastein, Lauren Lieu, Ryan Wilson Mentor: Jérôme Gilles

Infrastructure Establishment

Utilization Based Duty Cycle Tuning MAC Protocol for Wireless Sensor Networks

Transactions on Wireless Communication, Aug 2013

Chapter 2 Overview. Duplexing, Multiple Access - 1 -

Increasing Broadcast Reliability for Vehicular Ad Hoc Networks. Nathan Balon and Jinhua Guo University of Michigan - Dearborn

Networked and Distributed Control Systems Lecture 1. Tamas Keviczky and Nathan van de Wouw

IN4181 Lecture 2. Ad-hoc and Sensor Networks. Koen Langendoen Muneeb Ali, Aline Baggio Gertjan Halkes

Ultra-Low Duty Cycle MAC with Scheduled Channel Polling

Mathematical Problems in Networked Embedded Systems

Closing the loop around Sensor Networks

IOT GEOLOCATION NEW TECHNICAL AND ECONOMICAL OPPORTUNITIES

Distributed Power Allocation For OFDM Wireless Ad-Hoc Networks Based On Average Consensus

How (Information Theoretically) Optimal Are Distributed Decisions?

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Achieving Network Consistency. Octav Chipara

Politecnico di Milano Advanced Network Technologies Laboratory. Beyond Standard MAC Sublayer

Design of Parallel Algorithms. Communication Algorithms

INTRODUCTION TO WIRELESS SENSOR NETWORKS. CHAPTER 3: RADIO COMMUNICATIONS Anna Förster

T. Yoo, E. Setton, X. Zhu, Pr. Goldsmith and Pr. Girod Department of Electrical Engineering Stanford University

Estimating the Transmission Probability in Wireless Networks with Configuration Models

Cooperative Compressed Sensing for Decentralized Networks

Wireless Sensor Network based Shooter Localization

Optimizing Client Association in 60 GHz Wireless Access Networks

On Flow-Aware CSMA. in Multi-Channel Wireless Networks. Mathieu Feuillet. Joint work with Thomas Bonald CISS 2011

Chalmers Publication Library

ADAPTIVE CONSENSUS-BASED DISTRIBUTED DETECTION IN WSN WITH UNRELIABLE LINKS

Supervisory Control for Cost-Effective Redistribution of Robotic Swarms

Structure and Synthesis of Robot Motion

WisperNet: Anti-Jamming for Wireless Sensor Networks

A Location-Aware Routing Metric (ALARM) for Multi-Hop, Multi-Channel Wireless Mesh Networks

Collaborative transmission in wireless sensor networks

INTELLIGENT SPECTRUM MOBILITY AND RESOURCE MANAGEMENT IN COGNITIVE RADIO AD HOC NETWORKS. A Dissertation by. Dan Wang

Internet of Things Cognitive Radio Technologies

ActSee: Activity-Aware Radio Duty Cycling for Sensor Networks in Smart Environments

ROUTING PROTOCOLS. Dr. Ahmed Khattab. EECE Department Cairo University Fall 2012 ELC 659/ELC724

Cellular systems 02/10/06

Spectrum Sensing Brief Overview of the Research at WINLAB

Distributed Control-as-a-Service with Wireless Swarm Systems"

Efficient time synchronization for structural health monitoring using wireless smart sensor networks

Topology Control. Chapter 3. Ad Hoc and Sensor Networks. Roger Wattenhofer 3/1

Mobility Tolerant Broadcast in Mobile Ad Hoc Networks

Dependable Wireless Control

Data Gathering. Chapter 4. Ad Hoc and Sensor Networks Roger Wattenhofer 4/1

ARCH: Prac+cal Channel Hopping for Reliable Home- Area Sensor Networks. Chenyang Lu

ENGI 128 INTRODUCTION TO ENGINEERING SYSTEMS

Low-Power Interoperability for the IPv6 Internet of Things

Interference-Aware Joint Routing and TDMA Link Scheduling for Static Wireless Networks

Medium Access Control via Nearest-Neighbor Interactions for Regular Wireless Networks

Energy Consumption Reduction of Clustering Communication Based on Number of Neighbors for Wireless Sensor Networks

arxiv: v1 [cs.ni] 30 Jan 2016

Color of Interference and Joint Encoding and Medium Access in Large Wireless Networks

Adversarial Search. Rob Platt Northeastern University. Some images and slides are used from: AIMA CS188 UC Berkeley

Multi-user Space Time Scheduling for Wireless Systems with Multiple Antenna

CS 457 Lecture 16 Routing Continued. Spring 2010

Connectivity in a UAV Multi-static Radar Network

Traffic Control for a Swarm of Robots: Avoiding Target Congestion

From. Power Control for Reliable M2M Communication. Ling Wang Wayne State University. Hongwei Zhang Wayne State University CONTENTS

WirelessHART Modeling and Performance Evaluation

Access Methods and Spectral Efficiency

EasyChair Preprint. A User-Centric Cluster Resource Allocation Scheme for Ultra-Dense Network

Adversarial Search. Robert Platt Northeastern University. Some images and slides are used from: 1. CS188 UC Berkeley 2. RN, AIMA

March 20 th Sensor Web Architecture and Protocols

Heterogenous Quorum-based Wakeup Scheduling for Duty-Cycled Wireless Sensor Networks

SourceSync. Exploiting Sender Diversity

A Location-Based Algorithm for Multi-hopping State Estimates within a Distributed Robot Team

Data Collection in Population Protocols with Non-uniformly Random Scheduler

M2M massive wireless access: challenges, research issues, and ways forward

Evaluation of the 6TiSCH Network Formation

Decentralized Coordinated Motion for a Large Team of Robots Preserving Connectivity and Avoiding Collisions

Frequency and Power Allocation for Low Complexity Energy Efficient OFDMA Systems with Proportional Rate Constraints

for Vehicular Ad Hoc Networks

Physical layer authentication of Internet of Things wireless devices through permutation and dispersion entropy

Transcription:

Distributed consensus protocols for clock synchronization in sensor networks Luca Schenato joint work with: A. Basso, G. Gamba

Networked Control Systems Drive-by-wire systems Swarm robotics Smart structures: adaptive space telescope Wireless Sensor Networks Traffic Control: Internet and transportation Smart materials: sheets of sensors and actuators NCSs: physically distributed dynamical systems interconnected by a communication network

NCSs: what s new for control? Classical architecture: Centralized structure Actuators Plant Sensors Controller

NCSs: what s new for control? NCSs: Large scale distributed structure A A Plant S S A S Interference Packet loss Connectivity COMMUNICATION Random delay Limited capacity NETWORK Quantization Congestion C C C C C

Interdisciplinary research needed COMMUNICATIONS ENGINEERING Comm. protocols for RT apps Packet loss and random delay Wireless Sensor Networks Bit rate and Inf. Theory NETWORKED CONTROL SYSTEMS COMPUTER SCIENCE Graph theory Distributed computation Complexity theory Consensus algorithms SOFTWARE ENGINEERING Embedded software design Middleware for NCS RT Operating Systems Layering abstraction for interoperability

Interdisciplinary research needed COMMUNICATIONS ENGINEERING Comm. protocols for RT apps Packet loss and random delay Wireless Sensor Networks Bit rate and Inf. Theory NETWORKED CONTROL SYSTEMS COMPUTER SCIENCE Graph theory Distributed computation Complexity theory Consensus algorithms SOFTWARE ENGINEERING Embedded software design Middleware for NCS RT Operating Systems Layering abstraction for interoperability

Main idea The consensus problem Having a set of agents to agree upon a certain value using only local information exchange (local interaction) Also known as: Agreement algorithms (economics, signal processing) Gossip algorithms (CS & communications) Synchronization ( statistical mechanics) Rendezvous (robotics) Suitable for (noisy) sensor networks Clock synchronization: all clocks gives the same time Signal Processing: mean temperature in a room Target detection: do we agree there is target? Fault detection: is that sensor properly functioning? Attack detection: is that sensor being tampered?

A robotics example: the rendezvous problem GOAL: a set of N vehicles should converge to a common location using only local communication Vehicle dynamics Control law j Closed loop dynamics i (ROW) STOCHASTIC MATRIX

A robotics example: the rendezvous problem P=... 1-.... j 0 000 0001-0 0 0 i (ROW) STOCHASTIC MATRIX Convex hull always shrinks. If communication graph sufficiently connected, then shrinks to a point

A robotics example: the rendezvous problem & Center of mass is constant i P= j.. 1-.... 0 0 000 001-0 0 0 0 i j x DOUBLY STOCHASTIC MATRIX

A signal processing example: the average consensus GOAL: Compute best estimate of random variable Wireless communication j i

Graphs & stochastic matrices Wireless communication j i Self loops P= * 0 * 0 0 0 * 0 0 0 * 0 * 0 0 ** 0 0 0 **0 0 ** 0 0 0 * 0 * 0 * 0 * Given G When P that achieves consensus? When P that achieves average consensus? How to design P for fastest convergence? How to compute optimal P ij using local communication (distributed)? How does performance scale with # nodes? What about time-varying or state-dependent graph & matrices, i.e. P=P(t,x)?

When P that achieves consensus? Wireless communication j i P= 1/3 0 1/3 0 0 0 1/3 0 0 0 1/4 0 1/4 0 0 1/4 1/4 0 0 0 1/4 1/4 0 0 1/4 1/4 0 0 0 0 0 0 0 1/2 0 1/2 Iff graph is connected, i.e. path i j or j i & and the graph formed by maximally strongly connected subgraphs has only one sink (suboptimal) P is where in-degree=sum of non-zero entry in the row, i.e. incoming links Can be computed in distributed fashion If graph not sufficiently connected, agents converge to convex hull of some anchor points Analysis of coordination in multiple agents formations through partial difference equations, G Ferrari-Trecate, A Buffa, M Gati, submitted for pub.

When P that achieves average consensus? Wireless communication j i Iff graph of strongly connected, i.e. there is path i j and j i Not easy to find P, in fact does not work If graph is undirected, then P=P T, can be computed in distributed fashion (SUBOPTIMAL) Consensus and Cooperation in Networked Multi-Agent Systems, R Olfati-Saber, JA Fax, RM Murray, PIEEE Jan 07

How to design P for fastest convergence? Stochastic matrix P can be seen as a Markov Chain. λ i (P ) 1, σ = λ 2 1 x x x 1-σ = spectral gap x x 1 x x x Very hard problem (centralized) in general. Some fast convex algorithm if G undirected Fastest mixing Markov chain on a graph, S. Boyd, P Diaconis, L. Xiao, SIAM Review 2004 G has symmetries (Cayley graphs & circulant matrices) Communication constraints in the average consensus problem, R.Carli F. Fagnani, A. Speranzon, S. Zampieri, to apper Automatica

Time-varying communication algorithms If union of sub-graphs within a sufficiently long time-window, are strongly connected, then P(t) that guarantee convergence Coordination of groups of mobile autonomous agents using nearest neighbor rules A. Jadbabaie, J. Lin, and A. S. Morse, TAC 03 If pairwise update guarantees average consensus, P ij (t)=p ji (t)

Randomized communication algorithms i i i j, j Neighbors(i), at random with probability p i j Do averaging when link established, i.e. p ij can be determined by sensor network (packet loss prob.) p ij can be designed (comm. protocol) to increase convergence speed For geometric random graphs, random walk is close to optimal choice Randomized Gossip Algorithms, S. Boyd, A. Ghosh, B. Prabhakar, D. Shah, IEE TIF 03

Optimal Randomized communication algorithms Underlying communication graph Given underlying communication graph (with possibly lossy links) Average update equation How should I select a randomized scheduling policy for node broadcast selection?

Time synchronization in sensor networks sensor node Node i ON OFF Node j BASE STATION transmission Why time-synch? Spatio-temporal correlation of events such as tracking Communication scheduling TDMA to reduce interference Power management Problems: Every node has own clock Different offsets Different speeds (skew) Random transmission delay

Communication delay sender node i send access transmission receiver node j propagation reception receive MAC layer time-stamping Read local clock t MAC 1 at node i when start sending first bit Write t MAC 1 on leaving packet Read and store local clock t MAC 2 at node j when start receiving first bit data header

Clock characteristics & standard clock pair sych Node 1 skew Offset: instantaneous time difference Skew: clock speed Drift: derivative of clock speed offset Node 2 synchronizing node Offset synch: periodically remove offset with respect to reference clock Skew compensation: estimate relative speed with respect to reference clock synch. period Reference node

Sych topologies for sensor networks Tree-based sync Cluster-based sync comm. links nodes root single-hop clusters gateways nodes i j PROS Straightforward extension of pair synch CONS Links may disappear Root or gateways might temporarily disappear or die New nodes might appear Can be made adaptive but high protocol overhead

Ideal protocol features Distributed: each sensor runs the same code Asynchronous: Non-uniform updating period Adaptive: should handle dying nodes, appearing nodes, moving nodes Simple to implement Robust to packet loss Long synch periods distrib. skew comp. MAC timestamp Time-synch Prot. for Sensor Networks no no no Lightweight Time Synch. no no no Flooding Time Synch Prot. no yes yes Reference Broadcast Synchronization no yes yes Reachback FireflyAlgorithm yes no yes Distributed Time Synch Prot. yes yes yes Average Time Synch Prot. yes yes yes

Modeling (1) Local clocks τ i (t) =α i t + β i τ j (t) =α j t + β j τ j = α j α i τ i +(β j α j α i β i ) = α ij τ i + β ij (α j, β j,t) cannot be measured directly Relative skew CAN be measured

Modeling (2) Local clocks Virtual reference clock i =1,...,N Local clock estimate i =1,...,N

Averaging for skew compensation & Graph sufficiently connected

Averaging for offset compensation After skew compensation:

Average Time Synchronization Protocol (ATSP) Relative Skew Estimation Skew Compensation Offset Compensation

Numerical considerations ˆτ j (t) =ˆα j τ i +ô j

Implementation (1) Local variables of node i m j k i in-node h i Send packet NOTE: do NOT send

Implementation (2) Local variables of node i k j k i in-node h i Send packet

The testbed Motion Capture System (virtual GPS) Wireless Sensor Networks (Moteiv Tmote Sky) Mobile vehicles (EPFL e-puck)

Experimental results (1) Skew compensation + Offset compensation Offset compensation 4 Nodes Synch. period = 3min 1 tic = 30μs (32kHz clock)

Experimental results (2)

Experimental results (3)

Conclusions Time-synch in sensor network is natural example of consensus algorithms Average Time Sych Protocol Purely distributed Robust to packet loss, time-varying network topology Asynchronous Minimal memory and computational requirements Preliminary results are promising Still software issues with MAC layer time-stamping

Future work How to compute optimal weights ρ? Can estimate mean error as function of network size, i.e. #nodes & #links/node, and noise? Test on a 8x8 network grid and compare with state-of-art time-synch protocols Use it for TDMA scheduling and power saving