State-Based Synchronization Protocol in Sensor Networks

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

Chapter 6 Time synchronization

Time Synchronization in Wireless Sensor Networks: CCTS

Reliable Time Synchronization Protocol for Wireless Sensor Networks

Chapter 6 Ti T me m s ynchronization

ViTAMin: A Virtual Backbone Tree Algorithm for Minimal Energy Consumption in Wireless Sensor Network Routing

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

Low Energy Adaptive Clustering Hierarchy based routing Protocols Comparison for Wireless Sensor Networks

Energy-Efficient Communication Protocol for Wireless Micro-sensor Networks

Routing protocols in WSN

Time Synchronization Strategies in Wireless Sensor Network: A Review

AN EFFICIENT MAC PROTOCOL FOR SUPPORTING QOS IN WIRELESS SENSOR NETWORKS

Time Synchronization in Wireless Networks

An Optimized Lifetime Model using Energy Holes Reduction near Sink's Locality of WSN s

Event Driven Routing Protocols For Wireless Sensor Networks

ENERGY SAVING IN WIRELESS SENSOR NETWORK WITH SPIN PROTOCOL

Enhanced Timing-Sync Protocol for Sensor Networks

MTSF: A Timing Synchronization Protocol to Support Synchronous Operations in Multihop Wireless Networks

Tree Based Energy and Congestion Aware Routing Protocol for Wireless Sensor Networks

Mobile Agent Driven Time Synchronized Energy Efficient WSN

Adaptive Protocols for Information Dissemination in Wireless Sensor Networks 1999

WSN Routing Protocols

Nodes Energy Conserving Algorithms to prevent Partitioning in Wireless Sensor Networks

Novel Cluster Based Routing Protocol in Wireless Sensor Networks

Design and Implementation of detecting the failure of sensor node based on RTT time and RTPs in WSNs

Lecture 8 Wireless Sensor Networks: Overview

Energy Efficient Collection Tree Protocol in Wireless Sensor Networks

Synchronization in Sensor Networks

An Improved- SPIN Protocol for Wireless Sensor Networks

Prianka.P 1, Thenral 2

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Routing in Ad-Hoc Networks

Fig. 2: Architecture of sensor node

Impact of Black Hole and Sink Hole Attacks on Routing Protocols for WSN

Study on Wireless Sensor Networks Challenges and Routing Protocols

An Energy-Efficient Hierarchical Routing for Wireless Sensor Networks

Z-SEP: Zonal-Stable Election Protocol for Wireless Sensor Networks

Energy-efficient Data Dissemination in Wireless Sensor Networks

Data Centric Routing Protocols in Wireless Sensor Networks: A Survey

A Location-based Directional Route Discovery (LDRD) Protocol in Mobile Ad-hoc Networks

Tri-Message: A Lightweight Time Synchronization Protocol for High Latency and Resource-Constrained Networks

Connected Point Coverage in Wireless Sensor Networks using Robust Spanning Trees

ROUTING ALGORITHMS Part 1: Data centric and hierarchical protocols

Comparison of Two Synchronization Protocol in Wireless Sensor Network

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

Proceedings of the 6th WSEAS International Conference on Applications of Electrical Engineering, Istanbul, Turkey, May 27-29,

A Novel Protocol for Better Energy-Efficiency, Latency and Fault Tolerance in Wireless Sensor Network

Balanced Load Sharing Protocol for Wireless Sensor Networks

Ameliorate Threshold Distributed Energy Efficient Clustering Algorithm for Heterogeneous Wireless Sensor Networks

Energy Aware Data-Centric Routing in Wireless Sensor Network

Energy Aware Optimal Routing for Wireless Sensor Networks

Hierarchical Routing Protocols for Mobile Wireless Sensor Networks

Data-Centric Routing Mechanism Using Hash-Value in Wireless Sensor Network

Available online at ScienceDirect. Procedia Computer Science 54 (2015 ) 7 13

The Recursive Time Synchronization Protocol for Wireless Sensor Networks

Analysis of Cluster-Based Energy-Dynamic Routing Protocols in WSN

HIERARCHICAL ROUTING PROTOCOLS IN WIRELESS SENSOR NETWORK

A Survey of Time Synchronization Protocols for Wireless Sensor Networks

ScienceDirect. Analogy between immune system and sensor replacement using mobile robots on wireless sensor networks

Proposition and evaluation of a novel routing protocol for wireless sensor networks

A Review on Efficient Opportunistic Forwarding Techniques used to Handle Communication Voids in Underwater Wireless Sensor Networks

Scalable Distributed Diagnosis Algorithm for Wireless Sensor Networks

Enhanced Energy-Balanced Lifetime Enhancing Clustering for WSN (EEBLEC)

CROSS LAYER PROTOCOL (APTEEN) USING WSN FOR REAL TIME APPLICATION

MultiHop Routing for Delay Minimization in WSN

Mitigating Hot Spot Problems in Wireless Sensor Networks Using Tier-Based Quantification Algorithm

SCH-BASED LEACH ALGORITHM TO ENHANCE THE NETWORK LIFE TIME IN WIRELESS SENSOR NETWORK (WSN)

FUZZY LOGIC APPROACH TO IMPROVING STABLE ELECTION PROTOCOL FOR CLUSTERED HETEROGENEOUS WIRELESS SENSOR NETWORKS

Mobility of sink using hexagon architecture in highly data centric Wireless Sensor Networks

WIRELESS sensor networks have received a lot of attention

An Energy Efficient Data Dissemination Algorithm for Wireless Sensor Networks

Heterogeneous LEACH Protocol for Wireless Sensor Networks

Enhanced Precision Time Synchronization for Wireless Sensor Networks

A Time Synchronized Wireless Sensor Tree Network using SimpliciTI

Data-Centric Routing in Sensor Networks: Single-hop Broadcast or Multi-hop Unicast?

Time Synchronization of Cognitive Radio Networks

CACHING IN WIRELESS SENSOR NETWORKS BASED ON GRIDS

CHAPTER 2 WIRELESS SENSOR NETWORKS AND NEED OF TOPOLOGY CONTROL

A Test-Bed for Power Consumption Performance Evaluation of AODV and DSDV Routing Protocols in Mobile Ad-hoc Networks

Cross-Layer Interference Avoidance MAC Protocol for Dense Wireless Sensor Networks

Geographical Routing Algorithms In Asynchronous Wireless Sensor Network

An Efficient Data-Centric Routing Approach for Wireless Sensor Networks using Edrina

Zonal Rumor Routing for. Wireless Sensor Networks

Modified Low Energy Adaptive Clustering Hierarchy for Heterogeneous Wireless Sensor Network

Resource Aware Information Collection (RAIC) in Ad hoc Networks

Model and Algorithms for the Density, Coverage and Connectivity Control Problem in Flat WSNs

Ad hoc and Sensor Networks Time Synchronization

AN MMSE BASED WEIGHTED AGGREGATION SCHEME FOR EVENT DETECTION USING WIRELESS SENSOR NETWORK

Evaluation of Communication Overheads in Wireless Sensor Networks

SPIN: A Data Centric Protocol For Wireless Sensor Networks

The Impact of Clustering on the Average Path Length in Wireless Sensor Networks

FERMA: An Efficient Geocasting Protocol for Wireless Sensor Networks with Multiple Target Regions

An Energy Efficient Clustering in Wireless Sensor Networks

AN ENERGY EFFICIENT AND RELIABLE TWO TIER ROUTING PROTOCOL FOR TOPOLOGY CONTROL IN WIRELESS SENSOR NETWORKS

Energy-efficient routing algorithms for Wireless Sensor Networks

A REVIEW ON LEACH-BASED HIERARCHICAL ROUTING PROTOCOLS IN WIRELESS SENSOR NETWORK

Effect Of Grouping Cluster Based on Overlapping FOV In Wireless Multimedia Sensor Network

An Adaptive MAC Protocol for Efficient Group Communications in Sensor Networks

Performance and Comparison of Energy Efficient MAC Protocol in Wireless Sensor Network

Intra and Inter Cluster Synchronization Scheme for Cluster Based Sensor Network

Transcription:

State-Based Synchronization Protocol in Sensor Networks Shang-Chih Hsu Wei Yen 1 1 Department of Computer Science and Engineering, Tatung University, Taipei, Taiwan, ROC shanzihsu@yahoo.com.tw, wyen@ttu.edu.tw Abstract Some applications of the sensor network require precise time synchronization among local clocks of the sensors. Due to the limited resource in the sensor network, it is not trivial to maintain the said synchronization. In this paper, we propose a novel method, referred to as the state-based synchronization protocol (SBSP) to solve this issue. We create a finite state machine in the SBSP to describe the synchronization actions at each sensor node. Specifically, the SBSP makes use of the ADV, REQ and SYNC packets and the finite state machine to achieve synchronization. We will compare the performance of the proposed protocol against the popular timing-sync protocol for sensor networks (TPSN) and lightweight tree-based synchronization (LTS) through simulations. The SBSP reduces the redundant message exchanges in the TPSN. It is shown that the SBSP saves power with less message exchanges while maintaining better synchronization error. The coverage of the sensor node is the circular area within which the metric can be collected by the sensor. In general, each sensor has its own local clock with limited accuracy. Without proper synchronization, the sensors will definitely be out of synchronization in the long run. The sink is a focal point in the sensor network. It is the bridge between the sensor network and the external networks. The user can retrieve data from the sensor network or perform other tasks by giving instructions to the sink. It is usually assumed that the sink is more powerful than the average sensor node. In order for two sensors to communicate with each other, it is evident that they must fall into each other s communication range. In Figure 1, we show that the sensor nodes A, B and C are cooperative with one another and relay the data they collected to the sink [1]. Internet sink Sensing range A Keywords: Drift, Sensor Networks, Synchronization Period, Time Synchronization Sensor nodes B 1. Introduction laptop Sensing field C Recently sensor networks have found applications in many areas such as battle field surveillance, healthcare, environmental observation and applications for real time tracking. Yet, it is still not easy to construct or operate a sensor network for various applications. For example, energy conservation, time synchronization, and efficient routing, all impose great challenges to the sensor network [1]. Conceptually, the sensor network is a self-organizing and cooperative network. Hundreds of thousands of sensors may be deployed in a sensing field. Each sensor exhibits limited computing and transmitting capability and cooperate with others to carry out requested tasks. Figure 1 shows the architecture of a typical sensor network. Here every sensor node is responsible of measuring the metric of interest from its proximity. Figure 1: Sensor Network Architecture. Existing Works.1. Timing-sync Protocol for Sensor Networks Ganeriwal et al. [3] proposed a time synchronization protocol, which they called the timing-sync protocol for sensor networks (TPSN). The TPSN can be divided into two phases. The initial phase is known as the level discovery phase (LDP) while the second one is called the synchronization phase (SP). The LDP starts at the root node that may be any sensor node or the sink. The root node is assigned as level 0 and

broadcast a level_discovery packet to its neighbor nodes. This packet contains the identity and the level number of its sender. When the neighbor nodes receive this packet, they will increase the level number by 1 and assign it as their own level number. Each neighbor node, then, forwards the packets with its own ID and level number. However, a sensor ignores the level_discover packet whose level number is smaller than that of the sensor. The LDP continues until all nodes in this sensing field obtain their respective level numbers. It will then terminate automatically because the level_discover packets broadcast at the end of the LDP will be ignored by all nodes in the sensor network. After the LDP, the synchronization phase (SP) will begin at the root node. In the LDP, a hierarchical tree structure is established. Hence, the classical approach of sender-receiver synchronization can be readily applied to perform handshakes between nodes and their children nodes in the tree. Next, we describe how to use the two-way exchange to achieve time synchronization in the SP [3, 4]. Node B T Figure : Two-way Message Exchange between a Pair of Node A Figure shows T 1 the time sequence chart T 4 of the two-way exchange between nodes A and B. T 1 and T 4 are the measured by the local clock of A while T and T 3 are measured by that of B. At the time T 1, node A sends a synchronization_pulse packet to node B. This synchronization_pulse packet contains two pieces of information, (i) the level number of A and (ii) the value of T 1. At the time T, node B receives the packet and records the receiving time locally. T, of the clock of node B, is equal to T 1 + Δ + d, where Δ and d represent the clock drift between the pair of nodes and the propagation delay, respectively. It should be noted that Δ may not be time invariant. However, it is considered constant for the short period of the twoway exchange process. At the time T 3, node B finishes processing the synchronization_pulse packet and sends back an acknowledgement packet to node A. This acknowledgement packet contains the level number of B and the values of T 1, T, and T 3. At the time T 4, node A receives the packet. Similarly, T 4, of the clock of node A, is equal to T 3 - Δ + d. Finally, these T 3 parameters are used by node A to calculate Δ and d in the following equations. ( T! T1 )! ( T4! T3 ) " = Eq (1) ( T! T1 ) + ( T4! T3 ) d = Eq ().. Lightweight Time Synchronization for Sensor Networks Greunen and Rabaey [4] proposed another scheme for time synchronization, called lightweight tree-based synchronization (LTS). The LTS has two main variations. One is known as the centralized multi-hop LTS (CLTS) and the other the distributed multi-hop LTS (DLTS). Next, we give brief introduction to the CLTS and DLTS. In the CLTS, it works in two phases. First, it relies on the tree structure for synchronization as well. It makes use of the spanning tree algorithm which is called distributed depth-first search (DDFS) []. However, it does not use the level number for ordered synchronization. Another phase, the CLTS operates like the SP of the TPSN. The CLTS invokes the twoway exchange handshake between the parent and children nodes. In the DLTS, it focuses on the resynchronization issue. Figure 3 gives a snapshot of the operations of the DLTS. When a particular node j needs resynchronization, it will send a request to the closest reference node. Along the routing path from the reference node to the node j, each node on this path cooperates with each other to relay the resynchronization request message. Reference node Node j Request for resynchronization Figure 3: Distributed multi-hop Synchronization 3. State-Based Synchronization Protocol (SBSP) In general, two smaller sub-problems are associated with the synchronization issue in the sensor

network. One is to design an efficient synchronization process [3, 4, 5, 6] while the other is to optimize the resynchronization rate [4]. In this paper, we will concentrate on the first problem and propose the statebased synchronization protocol (SBSP). Next, we introduce the three messages used in the proposed protocol. Our protocol uses three types of messages to synchronize the network. They are briefly described in the following. ADV (advertisement) This message sent by the initiator urges the neighbor nodes to check their synchronization states. REQ (request) Upon receiving the ADV packet, if a node is in the unsynchronized state, it will request synchronization to the initiator. SYNC (synchronization) When the initiator receives the REQ packet, it will calculate the delay time d and clock drift,, between the initiator and its neighbor. The computed result is, then, sent in the SYNC message to instruct clock adjustment in the neighbor node. Receiving ADV Initial state State = unsync State = sync Timer expiration Figure 4: State Diagram Unsync state SYNC process Sync state Broadcast ADV Receiving REQ Send SYNC The SBSP works as follow. In the beginning, all nodes in the network do not know their state except the root node. The root node starts synchronization by broadcasting an ADV packet to its neighbor nodes. As Figure 4 shows, when a neighbor node receives the ADV packet, the node determines its state. When the node finds that it is in the synchronized state, then it ignores the ADV packet and only processes REQ packet in the future. If the node is unsynchronized, it will initiate the SYNC process with the root. Specifically, it will send a REQ packet to the root node. Note that when each node sends back REQ packet to the root node, it will wait for some random time to avoid packets collision. When receiving the REQ packet, the root node (or reference nodes) will calculate the propagation delay time and drift clock as Eq (1) and () definition. When the root node obtains the result, it will send it in the SYNC packet including the propagation delay and clock drift to the neighbor node for synchronizing. After receiving the SYNC packet, the neighbor node will adjust its clock to achieve time synchronization. Once the handshake process is completed, the neighbor node becomes the reference node and acts as the role of the root node. The process of SBSP will repeat above operations until all nodes in the sensing field are synchronized. 4. Performance Evaluation In this section, we compare the performance of the TPSN, CLTS, and SBSP through simulations. In particular, we examine three performance metrics, i.e., time efficiency, the number of message exchanges and synchronization error. Figure 5: Sensor Configuration Figure 5 shows the node distribution in four of the experiments we conducted. The red dots with circle are the root nodes. We build a 600*600 square plane and scatter 100, 300, 500, 700 and 1000 sensor nodes in the plane uniformly. Average Time (ms ) 16 14 1 10 8 6 4 0 Average convergence time for different protocls Figure 6: Average Convergence Time for Different Protocols Figure 6 shows the convergence time that each protocol can achieve with various numbers of sensor nodes. According to Figure 6, the performance of the TPSN is the worst. And, the CLTS is slightly better than the TPSN. As we pointed out previously, both the TPSN and CLTS have two phases for synchronization. However, the spanning tree algorithm establishes the structure that is more efficient for its synchronization phase. Therefore, the

whole synchronization process of the CLTS is better than the TPSN. Number of Messages (times) 180K 160K 140K 10K 100K 80K 60K 40K 0K 0K Average number of message exchanges for different protocols Figure 7: Average Number of Message Exchanges for Different Protocols Figure 7 shows the simulation result for the total number of message exchanges in various synchronization protocols. The average number of message exchanges is an important performance indicator because it closely related to the power consumption demand by the synchronization. Because the TPSN may generate the duplicated packets in some occasions, the number of required message exchanges is higher. Although the CLTS has two phases to construct its synchronization process as well, it does not need the same amount of packets as the TPSN does. Because the spanning tree algorithm used by the CLTS can construct a better hierarchical tree, it will result in less message exchanges when compared with the TPSN. The SBSP makes use of the three types of packets for synchronization and reduces the duplicated packets. It is expected to save about 67% and 51% of the average amount of the message exchanges when compared with the TPSN and the CLTS protocols, respectively. Average Error (_s ) 10 100 80 60 40 0 0 Average synchronization error for different protocols Figure 8: Average Synchronization Error for Different Protocols Figure 8 demonstrates the synchronization error of the compared protocols. The TPSN is again the worst performance with the maximum error. It is close to 110µs. It is realized that the synchronization error is related to message exchanges issue. With the given data, we conclude that the SBSP is most accurate synchronization protocol among those examined. In summary, the SBSP is the best protocol in three metrics we investigate. Therefore, we believe the SBSP is the best among the three protocols discussed in this paper. 5. Conclusions and Future Works Time synchronization is an important issue in sensor networks. In this paper, we have introduced the statebased synchronization protocol (SBSP). It is based on the negotiation mechanism and the finite state machine to achieve synchronization in the sensor network. Through simulations, we show the SBSP is the best when compared with the existing TPSN and CLTS. The resynchronization rate is another critical issue when network synchronization is concerned. We suspect the optimal resynchronization rate may depend on the synchronization error. A possible research direction is to identify this relationship. Furthermore, we also find it is interesting to consider synchronization in a hostile environment where there are malicious nodes try to sabotage the synchronization effort. 6. References [1] Ian F. Akyildiz, Weilian Su, Yogesh Sankarasubramaniam, and Erdal Cayirci, A Survey on Sensor Networks, IEEE Communication Magazine, Vol.40, No.8, p 10-116, August, 00. [] B. Awerbuch, A New distributed depth first search algorithm, Inf. Proc. Lett. 0 (1985), 147-150. [3] Saurabh Ganeriwal, Ram Kumar, and Mani B. Srivastava, Timing-sync Protocol for Sensor Networks, Proceedings of the 1 st international conference on Embedded networked sensor systems, November 5-7, ACM 003, Los Angels, California, USA. [4] Jana van Greunen and Jan Rabaey, Lightweight Time Synchronization for Sensor Networks, Proceedings of the nd ACM international conference on Wireless sensor networks and applications, September 19, 003, San Diego, California, USA. [5] Wendi Rabiner Heinzelman, Joanna Kulik and Hari Balakrishnan, Adaptive Protocol for Information Dissemination in Wireless Sensor Networks, Proceedings of the Annual International Conference on Mobile Computing and Networking, MOB/COM, 1998, p 174-185. [6] Yao-Win Hong and Anna Scaglione, A Scalable Synchronization Protocol for Large Scale Sensor Networks and Its Applications, IEEE Journal on Selected Areas in

Communications, v 3,n 5, May, 005, p 1085-1099.