Luca Schenato Workshop on cooperative multi agent systems Pisa, 6/12/2007

Similar documents
A distributed consensus protocol for clock synchronization in wireless sensor network

The Flooding Time Synchronization Protocol

Getting multi-agent systems to cooperate. Luca Schenato University of Padova OptHySys 2017

Time Synchronization in Wireless Sensor Networks: CCTS

Reliable Time Synchronization Protocol for Wireless Sensor Networks

Wireless Sensor Networks: Clustering, Routing, Localization, Time Synchronization

RT-Link: A global time-synchronized link protocol for sensor networks Anthony Rowe, Rahul Mangharam, Raj Rajkumar

Time Synchronization in Wireless Networks

Comparison of Two Synchronization Protocol in Wireless Sensor Network

Wireless Control Systems: Scientific Challenges and Emerging Applications

Principles of Wireless Sensor Networks. Fast-Lipschitz Optimization

INTRODUCTION TO WIRELESS SENSOR NETWORKS. CHAPTER 7: TIME SYNCHRONIZATION Anna Förster

A Tale of Two Synchronizing Clocks

CS 455/555 Intro to Networks and Communications. Link Layer

Distributed Control over Wireless Networks

Distributed Fault Detection in Sensor Networks via Clustering and Consensus

Routing over Low Power and Lossy Networks

Robust Multi-Hop Time Synchronization in Sensor Networks

Synchronization in Sensor Networks

The Recursive Time Synchronization Protocol for Wireless Sensor Networks

Outline. CS5984 Mobile Computing. Dr. Ayman Abdel-Hamid, CS5984. Wireless Sensor Networks 1/2. Wireless Sensor Networks 2/2

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Experimental Demonstration of Super-TDMA: A MAC Protocol Exploiting Large Propagation Delays in Underwater Acoustic Networks

Outline. Multi-Channel Reliability and Spectrum Usage in Real Homes Empirical Studies for Home-Area Sensor Networks. Smart Grid

Chapter 5: Link layer

CS551 Ad-hoc Routing

Distributed Detection in Sensor Networks: Connectivity Graph and Small World Networks

Ad hoc and Sensor Networks Time Synchronization

Presented by: Murad Kaplan

Gradient Clock Synchronization in Wireless Sensor Networks

DISTRIBUTED REAL-TIME SYSTEMS

Distributed Control for Optimal Reactive Power Compensation in Smart Microgrid

Energy-aware Fault-tolerant and Real-time Wireless Sensor Network for Control System

Markov Chains and Multiaccess Protocols: An. Introduction

Data Link Layer: Multi Access Protocols

State Estimation for Continuous-Time Systems with Perspective Outputs from Discrete Noisy Time-Delayed Measurements

Using Structured System Theory to Identify Malicious Behavior in Distributed Systems

Maintenance of Time Synchronization in Wireless Adhoc Networks in Case of Node Destruction

PIP: A Connection-Oriented, Multi-Hop, Multi-Channel TDMA-based MAC for High Throughput Bulk Transfer

WSN Routing Protocols

Mobile Agent Driven Time Synchronized Energy Efficient WSN

CSC 401 Data and Computer Communications Networks

Sabareesan M, Srinivasan S*,John Deva Prasanna D S

Enhancement of CoAP Packet Delivery Performance for Internet of Things. Hang Liu

Part I. Wireless Communication

1-1. Switching Networks (Fall 2010) EE 586 Communication and. November 8, Lecture 30

Chapter 6 Time synchronization

The Link Layer and LANs. Chapter 6: Link layer and LANs

Enhanced Timing-Sync Protocol for Sensor Networks

A Low-Energy Adaptive and Distributed MAC Protocol for Wireless Sensor-Actuator Networks

Jeff Fletcher, Vivek Vichare, Chaitanya Ganoo, James Moyne {jgfletch vvichare caganoo November 4, 2009

Overview of Sensor Network Routing Protocols. WeeSan Lee 11/1/04

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 16

Degrees of Freedom in Cached Interference Networks with Limited Backhaul

Research Article MFT-MAC: A Duty-Cycle MAC Protocol Using Multiframe Transmission for Wireless Sensor Networks

Kun Sun, Peng Ning Cliff Wang An Liu, Yuzheng Zhou

Outline. Mate: A Tiny Virtual Machine for Sensor Networks Philip Levis and David Culler. Motivation. Applications. Mate.

Clock-Synchronisation

Delay Measurement Time Synchronization for Wireless Sensor Networks

A Low Latency Data Transmission Scheme for Smart Grid Condition Monitoring Applications 28/05/2012

Cooperative Control Design Strategies with Local Interactions

Time Synchronization in Wireless Sensor Network: Techniques, Issues and Recommendations

CS 268: Computer Networking. Taking Advantage of Broadcast

When does a digraph admit a doubly stochastic adjacency matrix?

Distributed Averaging on Asynchronous Communication Networks

A Spatio-temporal Access Network for Area Event Monitoring p.1

MAC Essentials for Wireless Sensor Networks

Wireless Sensor Networks

Towards Robust and Flexible Low-Power Wireless Networking

Greedy Gossip with Eavesdropping

CSC 4900 Computer Networks: The Link Layer

A Survey of Time Synchronization Protocols for Wireless Sensor Networks

Consensus on the Average on Arbitrary Strongly Connected Digraphs Based on Broadcast Gossip Algorithms

Application Specific Large Scale Sensor Networks

Delay Analysis of ML-MAC Algorithm For Wireless Sensor Networks

Study of RPL DODAG Version Attacks

Near Optimal Broadcast with Network Coding in Large Sensor Networks

Robust Data Dissemination in Sensor Networks

Institute for Software Integrated Systems Vanderbilt University Nashville Tennessee TECHNICAL REPORT

Computing Aggregate Functions in Sensor Networks

Time Synchronization of Cognitive Radio Networks

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Ad hoc and Sensor Networks Chapter 3: Network architecture

Data Gathering for Wireless Sensor Network using PEGASIS Protocol

Reservation Packet Medium Access Control for Wireless Sensor Networks

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

Chapter 5 Link Layer and LANs

Randomized User-Centric Clustering for Cloud Radio Access Network with PHY Caching

Chapter 6 Ti T me m s ynchronization

DATA FORWARDING IN OPPORTUNISTIC NETWORK USING MOBILE TRACES

Cooperation in Wireless Grids

TDMH-MAC: Real-time and multi-hop in the same wireless MAC

Principles of Wireless Sensor Networks

Comparison of TDMA based Routing Protocols for Wireless Sensor Networks-A Survey

Fast-Lipschitz Optimization

Mobile Element Scheduling for Efficient Data Collection in Wireless Sensor Networks: A Survey

Detection and Mitigation of Cyber-Attacks using Game Theory

4/22 A Wireless Sensor Network for Structural Health Monitoring. Gregory Peaker

Energy-Efficient Communication Protocol for Wireless Micro-sensor Networks

Z-MAC: a Hybrid MAC for Wireless Sensor Networks

Transcription:

Distributed consensus protocols for clock synchronization in sensor networks Luca Schenato Workshop on cooperative multi agent systems Pisa, 6/12/2007

Outline Motivations Intro to consensus algorithms Average Time Synch Protocol Algorithm Experimental results Conclusions

Outline Motivations Intro to consensus algorithms Average Time Synch Protocol Algorithm Experimental results Conclusions

Wireless Sensor Actuator Networks (WSANs) Small devices μcontroller, Memory Wireless radio Sensors & Actuators Batteries Inexpensive Multi-hop communication Programmable (micro-pc) sensor node BASE STATION

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

Measurement delivery 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

Synch 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

Outline Motivations Intro to consensus algorithms Average Time Synch Protocol Algorithm Experimental results Conclusions

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/Estimation: 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 transmitting agent i listening agents j s (ROW) STOCHASTIC MATRIX Convex hull always shrinks. If communication graph sufficiently connected, then shrinks to a point

A robotics example: the rendezvous problem & x DOUBLY STOCHASTIC MATRIX Convergence to mean of initial conditions, i.e. center of mass

Convergence conditions Static: x(t+1)=px(t) Markov chains (60 s), (Perron-Frobenious theorem) Time-varying (worst case): x(t+1)=p(t)x(t) Tsitsiklis s Ph.D. thesis M. Cao, A. Morse, and B. Anderson, Reaching a consensus in a dynamically changing environment: a graphical approach submitted to SIAM Journal on Control and Optimization. Non-linear: x(t+1)=p(x,t)x(t) L. Moreau, Stability of multiagent systems with time-dependent communication links, IEEE Transactions on Automatic Control, vol. 50, no. 2, pp. 169 182, Feb. 2005. Stochastic: x(t+1)=p(t)x(t), P(t)~pdf(P) Gossip algorithms: CS community, Xiao-Boyd F. Fagnani and S. Zampieri, Randomized consensus algorithms over large scale networks, to appear in IEEE Trans. on Selected areas in communication, 2007 Survey of its applications to control problems: R. Olfati Saber and J.A. Fax and R.M. Murray, Consensus and Cooperation in Multi- Agent Networked Systems, vol. 95, no.1, pp. 215-233 Proceedings of IEEE, 2007

Outline Motivations Intro to consensus algorithms Average Time Synch Protocol Algorithm Experimental results Conclusions

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

Implementation

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 Details: L. Schenato, G. Gamba, A distributed consensus protocol for clock synchronization in wireless sensor network, to appear in CDC 07

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 Even simpler consensus algorithms? R. Carli, A. Chiuso, L. Schenato, S. Zampieri: A PI Consensus Controller for Networked Clocks Synchronization, submitted to IFAC 08