Timing-sync Protocol for Sensor Networks (TPSN) Presenter: Ke Gao Instructor: Yingshu Li.

Slides:



Advertisements
Similar presentations
The Flooding Time Synchronization Protocol
Advertisements

Secure Time Synchronization Service for Sensor Networks S. Ganeriwal, R. Kumar, M. B. Sirvastava Presented by: Kaiqi Xiong 11/28/2005 Computer Science.
Distributed Assignment of Encoded MAC Addresses in Sensor Networks By Curt Schcurgers Gautam Kulkarni Mani Srivastava Presented By Charuka Silva.
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Wireless Sensor Networks Clock Synchronization Professor Jack Stankovic University of Virginia.
Tufts Wireless Laboratory Tufts University School Of Engineering Energy-Efficient Structuralized Clustering for Sensor-based Cyber Physical Systems Jierui.
DSR The Dynamic Source Routing Protocol Students: Mirko Gilioli Mohammed El Allali.
Max-Min D-Cluster Formation in Wireless Ad Hoc Networks - Alan Amis, Ravi Prakash, Thai Vuong, Dung Huynh Presenter: Nirav Shah.
A Novel Cluster-based Routing Protocol with Extending Lifetime for Wireless Sensor Networks Slides by Alex Papadimitriou.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
1 Complexity of Network Synchronization Raeda Naamnieh.
PEDS September 18, 2006 Power Efficient System for Sensor Networks1 S. Coleri, A. Puri and P. Varaiya UC Berkeley Eighth IEEE International Symposium on.
Time Synchronization (RBS, Elson et al.) Presenter: Peter Sibley.
He Huang Introduction:The Flooding Time Synchronization Protocol.
On the Construction of Energy- Efficient Broadcast Tree with Hitch-hiking in Wireless Networks Source: 2004 International Performance Computing and Communications.
The Flooding Time Synchronization Protocol
Time Synchronization Murat Demirbas SUNY Buffalo.
Mobility Increases Capacity In Ad-Hoc Wireless Networks Lecture 17 October 28, 2004 EENG 460a / CPSC 436 / ENAS 960 Networked Embedded Systems & Sensor.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
Medium Access Control Sublayer
Election Algorithms and Distributed Processing Section 6.5.
Computer Communication & Networks
Ad Hoc Wireless Routing COS 461: Computer Networks
8/18/2015 Mobile Ad hoc Networks COE 549 Synchronization Tarek Sheltami KFUPM CCSE COE 1.
Energy-Aware Synchronization in Wireless Sensor Networks Yanos Saravanos Major Advisor: Dr. Robert Akl Department of Computer Science and Engineering.
Vinod Kulathumani West Virginia University
1 Y-MAC: An Energy-efficient Multi-channel MAC Protocol for Dense Wireless Sensor Networks Youngmin Kim, Hyojeong Shin, and Hojung Cha International Conference.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Dynamic Clustering for Acoustic Target Tracking in Wireless Sensor Network Wei-Peng Chen, Jennifer C. Hou, Lui Sha.
An efficient secure distributed anonymous routing protocol for mobile and wireless ad hoc networks Authors: A. Boukerche, K. El-Khatib, L. Xu, L. Korba.
Mobile Adhoc Network: Routing Protocol:AODV
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
Why Visual Sensor Network & SMAC Implementation Group Presentation Raghul Gunasekaran.
Link Estimation, CTP and MultiHopLQI. Learning Objectives Understand the motivation of link estimation protocols – the time varying nature of a wireless.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
November 4, 2003APOC 2003 Wuhan, China 1/14 Demand Based Bandwidth Assignment MAC Protocol for Wireless LANs Presented by Ruibiao Qiu Department of Computer.
Demand Based Bandwidth Assignment MAC Protocol for Wireless LANs K.Murugan, B.Dushyanth, E.Gunasekaran S.Arivuthokai, RS.Bhuvaneswaran, S.Shanmugavel.
Medium Access Control With Coordinated Adaptive Sleeping for Wireless Sensor Networks Instructor : Dr Yingshu Li Presented By : D M Rasanjalee Himali Paper.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
Rushing Attacks and Defense in Wireless Ad Hoc Network Routing Protocols ► Acts as denial of service by disrupting the flow of data between a source and.
Presenter: Abhishek Gupta Dept. of Electrical and Computer Engineering
1 Clock Synchronization for Wireless Sensor Networks: A Survey Bharath Sundararaman, Ugo Buy, and Ajay D. Kshemkalyani Department of Computer Science University.
Collision-free Time Slot Reuse in Multi-hop Wireless Sensor Networks
DSR: Introduction Reference: D. B. Johnson, D. A. Maltz, Y.-C. Hu, and J. G. Jetcheva, “The Dynamic Source Routing Protocol for Mobile Ad Hoc Networks,”
Energy and Latency Control in Low Duty Cycle MAC Protocols Yuan Li, Wei Ye, John Heidemann Information Sciences Institute, University of Southern California.
Data Collection and Dissemination. Learning Objectives Understand Trickle – an data dissemination protocol for WSNs Understand data collection protocols.
A Reservation-based TDMA Protocol Using Directional Antennas (RTDMA-DA) For Wireless Mesh Networks Amitabha Das and Tingliang Zhu, Nanyang Technological.
Time synchronization for UWSN. Outline Time synchronization knowledge Typical time sync protocol Time sync in UWSN Discussion.
Topic 2: Communications (Short Lecture) Jorge J. Gómez.
TIMING-SYNC PROTOCOL FOR SENSOR NETWORKS Presented by: Shet, Deepak Rajput, Rajiv.
Computer Science 1 TinySeRSync: Secure and Resilient Time Synchronization in Wireless Sensor Networks Speaker: Sangwon Hyun Acknowledgement: Slides were.
Fine-Grained Network Time Synchronization using Reference Broadcasts Jeremy Elson, Lew Girod, and Deborah Estrin OSDI Boston, MA Speaker : hsiwei-Chen.
Copyright © 2011, Scalable and Energy-Efficient Broadcasting in Multi-hop Cluster-Based Wireless Sensor Networks Long Cheng ∗ †, Sajal K. Das†,
Multi-channel Wireless Sensor Network MAC protocol based on dynamic route.
Time Synchronization Protocols in Wireless Sensor Networks.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
A Multi-Channel Cooperative MIMO MAC Protocol for Wireless Sensor Networks(MCCMIMO) MASS 2010.
An Energy-Efficient MAC Protocol for Wireless Sensor Networks Speaker: hsiwei Wei Ye, John Heidemann and Deborah Estrin. IEEE INFOCOM 2002 Page
Energy-Efficient Wake-Up Scheduling for Data Collection and Aggregation Yanwei Wu, Member, IEEE, Xiang-Yang Li, Senior Member, IEEE, YunHao Liu, Senior.
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
CS541 Advanced Networking 1 Contention-based MAC Protocol for Wireless Sensor Networks Neil Tang 4/20/2009.
1 Routing security against Threat models CSCI 5931 Wireless & Sensor Networks CSCI 5931 Wireless & Sensor Networks Darshan Chipade.
Remote Deployment of Sensor Networks Presentation 3: Providing connectivity between sensor nodes and uplinks.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
Oregon Graduate Institute1 Sensor and energy-efficient networking CSE 525: Advanced Networking Computer Science and Engineering Department Winter 2004.
Net 435: Wireless sensor network (WSN)
Mobile and Wireless Networking
Overview: Chapter 4 Infrastructure Establishment
Routing in Mobile Wireless Networks Neil Tang 11/14/2008
Presentation transcript:

Timing-sync Protocol for Sensor Networks (TPSN) Presenter: Ke Gao Instructor: Yingshu Li

Does timesync matter? Internet Time Synchronization Internet Time Synchronization Critical in some contexts (e.g. crypto, distributed packet traces)Critical in some contexts (e.g. crypto, distributed packet traces) A convenience in many other contextsA convenience in many other contexts Sensor Network Synchronization Sensor Network Synchronization Fundamental to its purpose: data fusionFundamental to its purpose: data fusion Physical time needed to relate events in the physical worldPhysical time needed to relate events in the physical world

Basic Concepts & Assumptions Hierarchical topology in the network: Every node is assigned a level in this hierarchical structure. Hierarchical topology in the network: Every node is assigned a level in this hierarchical structure. A node belonging to level i can communicate with at least one node belonging to level i-1. A node belonging to level i can communicate with at least one node belonging to level i-1. Only one node is assigned to level 0, which we call the “ root node ”. Only one node is assigned to level 0, which we call the “ root node ”. Each sensor nodes have unique identifiers. TPSN uses only bi-directional links to do pair wise synchronization between a set of nodes.

TIMING-SYNC PROTOCOL FOR SENSOR NETWORKS (TPSN) Level Discovery Phase Level Discovery Phase Synchronization Phase Synchronization Phase

Level Discovery Phase The root node is assigned a level 0 and it initiates this phase by broadcasting a level_discovery packet. The level_discovery packet contains the identity and the level of the sender. The root node is assigned a level 0 and it initiates this phase by broadcasting a level_discovery packet. The level_discovery packet contains the identity and the level of the sender. The immediate neighbors of the root node receive this packet and assign themselves a level, one greater than the level they have received i.e., level 1. The immediate neighbors of the root node receive this packet and assign themselves a level, one greater than the level they have received i.e., level 1. After establishing their own level, they broadcast a new level_discovery packet containing their own level. After establishing their own level, they broadcast a new level_discovery packet containing their own level. This process is continued and eventually every node in the network is assigned a level. This process is continued and eventually every node in the network is assigned a level.

Synchronization Phase ‘ A ’ sends a synchronization_pulse packet to ‘ B ’. The synchronization_pulse packet contains the level number of ‘ A ’ and the time value of T1. ‘ A ’ sends a synchronization_pulse packet to ‘ B ’. The synchronization_pulse packet contains the level number of ‘ A ’ and the time value of T1. Node B receives this packet at time, T2, where T2 is equal to T1 + Δ + d. Here Δ and d represents the clock drift between the two nodes and propagation delay respectively. Node B receives this packet at time, T2, where T2 is equal to T1 + Δ + d. Here Δ and d represents the clock drift between the two nodes and propagation delay respectively. At time T3, ‘ B ’ sends back an acknowledgement packet to ‘ A ’. At time T3, ‘ B ’ sends back an acknowledgement packet to ‘ A ’. The acknowledgement packet contains the level number of ‘ B ’ and the values of T1, T2 and T3. The acknowledgement packet contains the level number of ‘ B ’ and the values of T1, T2 and T3.

This message exchange at the network level begins with the root node initiating the phase by broadcasting a time_sync packet. This message exchange at the network level begins with the root node initiating the phase by broadcasting a time_sync packet. On receiving this packet, nodes belonging to level 1 wait for some random time before they initiate the two-way message exchange with the root node. On receiving this packet, nodes belonging to level 1 wait for some random time before they initiate the two-way message exchange with the root node. This randomization is to avoid the contention in medium access. This randomization is to avoid the contention in medium access.

Special Provisions 1. When a new node join the network, it waits for some time to be assigned a level. If it is not assigned a level within that period, it timeouts and broadcasts a level_request message. The neighbors reply to this request by sending their own level. This could be seen as a local level discovery phase. 2. If a node dies, the node would not get back an acknowledgement to its synchronization_pulse. It would retransmit the synchronization_pulse after some random amount of time. After retransmitting the synchronization_pulse a fixed number of times, the node broadcasts a level_ request message. On getting back a reply, the node is assigned a new level. 3. If an elected root node dies, the level 1 nodes run a leader election algorithm and the elected leader takes over the functionality of the root node. This new root node starts from the beginning and reruns the level discovery phase.

Error analysis of TPSN Decomposition of Packet Delay Decomposition of Packet Delay 1.Send time: time spent in actually constructing the packet at the application layer. 2.Access time: After reaching the MAC layer, the packet waits until it can access the channel 3.Transmission time: This refers to the time when a packet is transmitted bit by bit at the physical layer over the wireless link. 4.Propagation time: time taken by the packet to traverse the wireless link from the sender to the receiver. 5.Reception time: time taken in receiving the bits and passing them to the MAC layer. 6.Receive time: time when packet is passed on to the application layer where it ’ s decoded.

S UC, R UC and P UC stand for the uncertainty at sender, at receiver and in propagation time respectively. S UC, R UC and P UC stand for the uncertainty at sender, at receiver and in propagation time respectively. RD A->B refers to the relative drift between the nodes A and B from time t1 to t4. RD A->B refers to the relative drift between the nodes A and B from time t1 to t4.

Variation in packet delays – How to improve them? Uncertainty at the sender (S UC ): Paper proposes to reduce this source of error by time stamping the packet at the MAC layer. Uncertainty at the sender (S UC ): Paper proposes to reduce this source of error by time stamping the packet at the MAC layer. Uncertainty in propagation time (P UC ): TPSN uses only symmetric links and on such links, the variation in delay is going to be negligible. Uncertainty in propagation time (P UC ): TPSN uses only symmetric links and on such links, the variation in delay is going to be negligible. Uncertainty at the receiver (R UC ): By time stamping the packet at the MAC layer, TPSN removes the receive time completely comparing to the traditional time ( reception + receive time ) Uncertainty at the receiver (R UC ): By time stamping the packet at the MAC layer, TPSN removes the receive time completely comparing to the traditional time ( reception + receive time ) As can be seen from the above analysis, TPSN would give roughly a better performance comparing the traditional method. As can be seen from the above analysis, TPSN would give roughly a better performance comparing the traditional method.

Multihop Results It seems that error almost becomes a constant beyond 3-hop distance. This is because synchronization error between any pair of motes will probabilistically take different values from the normal distribution obtained in the earlier section. The randomness in the sign as well as the magnitude of the synchronization error and drift prevents the error from blowing up. It seems that error almost becomes a constant beyond 3-hop distance. This is because synchronization error between any pair of motes will probabilistically take different values from the normal distribution obtained in the earlier section. The randomness in the sign as well as the magnitude of the synchronization error and drift prevents the error from blowing up.

Auxiliary Benefits of TPSN TPSN comes with an auxiliary benefit of improving the performance of localization service in sensor networks. A common approach of doing localization in sensor networks is to use ultrasonic ranging. The distance between two nodes is calculated by measuring the time of flight of sound. The traditional accuracy is around of 2cm. TPSN comes with an auxiliary benefit of improving the performance of localization service in sensor networks. A common approach of doing localization in sensor networks is to use ultrasonic ranging. The distance between two nodes is calculated by measuring the time of flight of sound. The traditional accuracy is around of 2cm. But instead, in TPSN the sender mote first synchronizes with the receiver mote using TPSN and then sends the ultrasonic signal, we can synchronize a pair of motes to an average accuracy of less than 20 us But instead, in TPSN the sender mote first synchronizes with the receiver mote using TPSN and then sends the ultrasonic signal, we can synchronize a pair of motes to an average accuracy of less than 20 us

Q & A