1 Modeling Clock Synchronization in the Chess gMAC WSN Protocol Mathijs Schuts Feng Zhu Faranak Heidarian Frits Vaandrager QFM’09.

Slides:



Advertisements
Similar presentations
Energy-efficient distributed algorithms for wireless ad hoc networks Ramki Gummadi (MIT)
Advertisements

1 Data Link Protocols By Erik Reeber. 2 Goals Use SPIN to model-check successively more complex protocols Using the protocols in Tannenbaums 3 rd Edition.
Chris Karlof and David Wagner
Analog Network Coding Sachin Katti Shyamnath Gollakota and Dina Katabi.
A 2 -MAC: An Adaptive, Anycast MAC Protocol for Wireless Sensor Networks Hwee-Xian TAN and Mun Choon CHAN Department of Computer Science, School of Computing.
Min Song 1, Yanxiao Zhao 1, Jun Wang 1, E. K. Park 2 1 Old Dominion University, USA 2 University of Missouri at Kansas City, USA IEEE ICC 2009 A High Throughput.
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Transmission Power Control in Wireless Sensor Networks CS577 Project by Andrew Keating 1.
Decentralized Reactive Clustering in Sensor Networks Yingyue Xu April 26, 2015.
1 Modeling Clock Synchronization in the Chess gMAC WSN Protocol Mathijs Schuts Feng Zhu Faranak Heidarian Julien Schmaltz Frits Vaandrager QFM’09 FM’09.
1 Modeling Clock Synchronization in the Chess gMAC WSN Protocol Mathijs Schuts Feng Zhu Faranak Heidarian Frits Vaandrager To appear in Proceedings QFM’09.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Time Synchronization for Wireless Sensor Networks
Investigating Mac Power Consumption in Wireless Sensor Network
Analysis of a Clock Synchronization Protocol for Wireless Sensor Networks Faranak Heidarian Julien Schmaltz Frits Vaandrager.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 11th Lecture Christian Schindelhauer.
1 Cross-Layer Scheduling for Power Efficiency in Wireless Sensor Networks Mihail L. Sichitiu Department of Electrical and Computer Engineering North Carolina.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Verification of Chess TDMA for a Simple Fully Connected Wireless Sensor Network Faranak Heydarian Frits Vaandrager Radboud University Nijmegen.
Sensor Node Architecture Issues Stefan Dulman
1 O-MAC: A Receiver Centric Power Management Protocol Hui Cao, *Kenneth W. Parker, Anish Arora The Ohio State University, *The Samraksh Company.
Slotted Programming for Sensor Networks Roland Flury Roger Wattenhofer Distributed Computing Group ETH Zurich, Switzerland D ISTRIBUTED C OMPUTING.
Introduction To Wireless Sensor Networks Wireless Sensor Networks A wireless sensor network (WSN) is a wireless network consisting of spatially distributed.
Hardware implementation and Demonstration. Synapse RF26X We started off with Synapse RF26X 10-bit ADC Up to 2 Mbps Data Rate 4K internal EEPROM 128k flash.
Energy-Aware Synchronization in Wireless Sensor Networks Yanos Saravanos Major Advisor: Dr. Robert Akl Department of Computer Science and Engineering.
1 Y-MAC: An Energy-efficient Multi-channel MAC Protocol for Dense Wireless Sensor Networks Youngmin Kim, Hyojeong Shin, and Hojung Cha International Conference.
By : Himali Saxena. Outline Introduction DE-MAC Protocol Simulation Environment & Results Conclusion.
Project Introduction 이 상 신 Korea Electronics Technology Institute.
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
1 Adaptive QoS Framework for Wireless Sensor Networks Lucy He Honeywell Technology & Solutions Lab No. 430 Guo Li Bin Road, Pudong New Area, Shanghai,
ECE 256, Spring 2008 Multi-Channel MAC for Ad Hoc Networks: Handling Multi-Channel Hidden Terminals Using A Single Transceiver Jungmin So & Nitin Vaidya.
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
RT-Link: A Time-Synchronized Link Protocol for Energy-Constrained Multi- hop Wireless Networks Anthony Rowe, Rahul Mangharam and Raj Rajkumar CMU SECON.
Mobile Relay Configuration in Data-Intensive Wireless Sensor Networks.
Security Patterns in Wireless Sensor Networks By Y. Serge Joseph October 8 th, 2009 Part I.
Improving Capacity and Flexibility of Wireless Mesh Networks by Interface Switching Yunxia Feng, Minglu Li and Min-You Wu Presented by: Yunxia Feng Dept.
Advanced Computer Networks Fall 2013
Lan F.Akyildiz,Weilian Su, Erdal Cayirci,and Yogesh sankarasubramaniam IEEE Communications Magazine 2002 Speaker:earl A Survey on Sensor Networks.
Computer Networks Group Universität Paderborn TANDEM project meeting Protocols, oversimplification, and cooperation or: Putting wireless back into WSNs.
Secure Routing in Wireless Sensor Networks: Attacks and Countermeasures Chris Karlof and David Wagner (modified by Sarjana Singh)
Minimizing Energy Consumption in Sensor Networks Using a Wakeup Radio Matthew J. Miller and Nitin H. Vaidya IEEE WCNC March 25, 2004.
Time synchronization for UWSN. Outline Time synchronization knowledge Typical time sync protocol Time sync in UWSN Discussion.
Fasika Assegei Segal’s Law A man with a watch knows what time it is. A man with two watches is never sure.
KAIS T Distributed cross-layer scheduling for In-network sensor query processing PERCOM (THU) Lee Cheol-Ki Network & Security Lab.
1 Segal’s Law A man with a watch knows what time it is. A man with two watches is never sure.
Analyzing wireless sensor network data under suppression and failure in transmission Alan E. Gelfand Institute of Statistics and Decision Sciences Duke.
Fast Join and Synchronization Schema in the IEEE e MAC
A New Link Scheduling Algorithm for Concurrent Tx/Rx Wireless Mesh Networks Author: Kwan-Wu Chin University of Wollongong, Australia From: ICC 2008 Speaker:
KAIS T Medium Access Control with Coordinated Adaptive Sleeping for Wireless Sensor Network Wei Ye, John Heidemann, Deborah Estrin 2003 IEEE/ACM TRANSACTIONS.
Energy-Efficient Wake-Up Scheduling for Data Collection and Aggregation Yanwei Wu, Member, IEEE, Xiang-Yang Li, Senior Member, IEEE, YunHao Liu, Senior.
Link Layer Support for Unified Radio Power Management in Wireless Sensor Networks IPSN 2007 Kevin Klues, Guoliang Xing and Chenyang Lu Database Lab.
Global Clock Synchronization in Sensor Networks Qun Li, Member, IEEE, and Daniela Rus, Member, IEEE IEEE Transactions on Computers 2006 Chien-Ku Lai.
Cross-Layer Scheduling for Power Efficiency in Wireless Sensor Networks Mihail L. Sichitiu Department of Electrical and Computer Engineering North Carolina.
Energy-Efficient, Application-Aware Medium Access for Sensor Networks Venkatesh Rajenfran, J. J. Garcia-Luna-Aceves, and Katia Obraczka Computer Engineering.
Energy-Efficient Protocol for Cooperative Networks.
Ben Miller.   A distributed algorithm is a type of parallel algorithm  They are designed to run on multiple interconnected processors  Separate parts.
AUTO-ADAPTIVE MAC FOR ENERGY-EFfiCIENT BURST TRANSMISSIONS IN WIRELESS SENSOR NETWORKS Romain Kuntz, Antoine Gallais and Thomas No¨el IEEE WCNC 2011 Speaker.
Oregon Graduate Institute1 Sensor and energy-efficient networking CSE 525: Advanced Networking Computer Science and Engineering Department Winter 2004.
Source : 2014 IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP) Auther : Nacer Khalil, Mohamed.
AN EFFICIENT TDMA SCHEME WITH DYNAMIC SLOT ASSIGNMENT IN CLUSTERED WIRELESS SENSOR NETWORKS Shafiq U. Hashmi, Jahangir H. Sarker, Hussein T. Mouftah and.
MAC Protocols for Sensor Networks
1 Power-efficient Clustering Routing Protocol Based on Applications in Wireless Sensor Network Authors: Tao Liu and Feng Li Form:International Conferecnce.
INTRODUCTION TO WIRELESS SENSOR NETWORKS
MAC Protocols for Sensor Networks
Data Collection and Dissemination
Wireless Sensor Networks 5th Lecture
Ultra-Low Duty Cycle MAC with Scheduled Channel Polling
Data Collection and Dissemination
Presented By: Muhammad Mostafa Monowar Networking Lab
Investigating Mac Power Consumption in Wireless Sensor Network
Presentation transcript:

1 Modeling Clock Synchronization in the Chess gMAC WSN Protocol Mathijs Schuts Feng Zhu Faranak Heidarian Frits Vaandrager QFM’09

2 Plan Intro to WSN and Chess case study Recap of previous results Our new model Results Conclusions

3 Chess 2.4 Ghz WSN

4 Sensor Network Interface electronics, radio and microcontroller Soil moisture probe Mote Antenna Gateway Server Internet Communications barrier Sensor field

5 Sensor Network Gateway Server Internet Sensor field Watershed

6 Case Study for EU Quasimodo Project Model and analyze Chess WSN, based on 1.informal specification in deliverable 2.discussions with experts

7 Our Focus: Clock Synchronization TXRX idle Time is considered as a sequence of Time Frames. A time frame is composed of a fixed number (C) of Time Slots. In a time slot the hardware clock of the sensor node ticks a fixed number (k 0 ) of times. A Time Frame tsn

8 Goal: Minimalize Energy Consumption RX Time Slot TX Time Slot Guard Time

9 Related Work: Our FM Paper Full parametric analysis for clique networks Parameter constraints found using Uppaal Proof fully checked using Isabelle/Hol (> 5000 lines) Correctness also studied for line topologies

10 Related Work: Our FM Paper Full parametric analysis for clique networks Parameter constraints found using Uppaal Proof fully checked using Isabelle/Hol (> 5000 lines) Correctness also studied for line topologies Model does not correspond to Chess implementation!

11 How Current Implementation Works Clocks only synchronized once per frame Implementation computes median of phase errors of all messages received in frame Offset = median * gain Radio switching time is relevant

12 Structure of Uppaal Model

13 Clock

14 Sender

15 Receiver

16 Controller

17 Synchronizer

18 compute_phase_correction() if (number of received messages == 0) offset = 0; else if (number of received messages <= 2) offset = the phase error of the first received message * gain; else offset = the median of all phase errors * gain

19 Invariants for Correctness “Whenever I send all my neighbors listen” INV1 : A[] forall (i: Nodes) forall (j : Nodes) SENDER(i).Sending && neighbor(i,j)imply RECEIVER(j).Receiving “My neighbors never send simultaneously” INV2 : A[] forall (i:Nodes) forall (j:Nodes) forall (k:Nodes) SENDER(i).Sending && neighbor(i,k) && SENDER(j).Sending && neighbor(j,k) imply i == j “There’s no deadlock” INV3 : A[] not deadlock

20 Counterexample found by Uppaal

21 Protocol fails for any network that contains 2 clans! Gateway Server Internet Sensor field Watershed Slow nodes Fast nodes

22 How to Fix the Problem? Assegei (2008) proposed use of Kalman filter instead of median algorithm Our FM2009 algorithm, possibly with gain factor Algorithm of Lenzen, Lochen & Wattenhofer (2008) Adaptation of algorithm Pussente & Barbosa (2009) It should be easy to adapt our Uppaal model

23 Probabilistic Challenges Probabilistic model of message loss Probabilistic algorithms for (dynamic) slot allocation Probabilistic leaving/joining of nodes/networks Probabilistic algorithms for gossiping … Key design issue: independence of layers?!?!!

24 Conclusions Our contribution: Uppaal model of clock synchronization in Chess WSN; serious bug found Never trust your model! Demo in preparation Model checking useful, even if one can only handle trivial instances Models are imperfect approximations of reality (“Physicists approach to modeling”)

25 Questions?