• No results found

Time Synchronization for Data Communication in the Wireless Network Systems Ali T. Al-khwaldeh

N/A
N/A
Protected

Academic year: 2022

Share "Time Synchronization for Data Communication in the Wireless Network Systems Ali T. Al-khwaldeh"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

259

© MEACSE Publications http://www.meacse.org/ijcar

Time Synchronization for Data Communication in the Wireless Network Systems

Ali T. Al-khwaldeh

The Jordanian Senate, P.O. Box: 72, 11101 Amman, Jordan

Abstract

Time synchronization is very important for the data communication in the wireless network systems.

Time synchronization is the main factor which has to be considered in wireless networking. The problem of time synchronization often results in delay of data transmission and reception. The synchronization problem occurs during the signal propagation time, sending time, receiving time and accessing time. The two main wireless sync protocols are Timing-sync Protocol for Sensor Networks (TPSN) and Reference Broadcast Synchronization (RBS). This paper focuses on the synchronization problems that occur in wireless data communication and analysis between the two synchronization protocols. This paper will also provide the solutions for the delay in data communication.

Keywords: Medium Access Control (MAC), Timing-sync Protocol for Sensor Networks (TPSN), Reference Broadcast Synchronization (RBS), Wireless Sensor Networks (WSN).

1. Introduction

It has been observed that time synchronization in wireless networks is very important ‎[1].

This results in the successful communication between the devices on the network.

Synchronous communications are of so much importance in today’s world where high speed and reliable signal transmission is the key requirement of every communication process. The Time

synchronization has got a primary role in Medium Access Control (MAC) protocol. In a network there are certain applications that are needed to be synchronized. Some important applications that require synchronization are: tracking of mobile object, environmental monitoring, data fashioning, (TDMA) time division multiple access radio scheduling, satellite and GPS tracking and radio transmissions.

The location of the various nodes and devices in the sensor networks is determined with the help of time synchronization. To determine the comparative proximities between the nodes, the time stamped messages are transmitted among them. Time synchronization is used to save energy. Energy efficient protocols are the requirements of the wireless nodes as they are battery powered.

2. Discussion

2.1 General Clock Model

(2)

260

Time Synchronization is important for all the networks whether the system is wired or wireless.

Time division multiple access (TDMA) is the main algorithm for a multi-hop networks. Several applications require wireless synchronization ‎[4]. Time synchronization method also saves the energy of the system. This allows the devices to sleep for the given time period and then wakes up if there is a signal at the receiving side.

Crystal oscillators work as a clock in computer that gives a local time information for the network node. The computer consists of counter that is incremented by crystal oscillators of each pulse and it is consider as software clock. As interrupt occurs, the software clock is incremented by one value by the interrupt handler.

2.2 Decomposition of packet delay

1. Sending time: time required for the construction of the message. This time includes all the protocols delay in the operating system as well as other variable delays.

2. Accessing time: the packet after arriving at the MAC layer waits for some time to access the channel. The packets wait for the empty transmission channel and sends immediately when the channel is free. This time delay is variable in nature and has a least deterministic part in WSN message delivery ‎[3]. Access time can vary from microseconds to few of seconds.

3. Propagation time: the time required for the data packet to travel from source to destination is the propagation time. If the sender and receiver belong to the same medium then the

propagation time will be very less because it is just the access time through the medium.

However, the propagation time in wide area networks is high because of the switching and delays at each device router as the message travels through the network.

4. Receiving time: the time of the message arrival at the receiver side and the receiver will send an acknowledgment to the host of its arrival (Maroti et.al, 2004).

Fig 1: message delay decomposition over a wireless network

2.3 Delays in the message exchange

(3)

261

1. Interrupt handling time: The time when the signal is sent to the microcontroller and the microcontroller respond to that interrupt.

2. Encode time: the time taken takes by the radio antenna to encode the signal to electromagnetic waves.

3. Decode time: the time duration during which the radio antenna on the receiving side receives and transforms the signal in to binary data.

4. Byte alignment time: the sending and receiving data structures have a different byte alignment.

This delay occurs in adjusting the byte alignment.

The delay in the transmission also occurs due to the obstructions in the communication

channel, unavailability of line of sight (LOS) and electrical interference from transmission towers.

2.4 RBS Protocol

RBS is a different time synchronization protocol unlike others that uses synchronization based on sender to receiver. RBS uses receiver to receiver synchronization ‎[2]. The set of receivers are synchronized with one another. The principle of RBS is that, third party transmits a beacon signal to each and every receiver with no timing information. The relative phase offset of the receivers is calculated by comparing the clock with the other receivers. The reference beacon is transmitted between all the nodes if there are more than 2 receivers. At the reception of the beacon, the receivers record their current time and swap the time information with their adjacent nodes. RBS is applicable for both single hop and multi hop networks.

Fig 2: RBS system

(Source: http://openi.nlm.nih.gov/detailedresult.php?img=3280734_sensors-09-00056f3&req=4)

(4)

262 Advantages of RBS

The significant benefit of RBS is that it removes the uncertainty of sending time; therefore, the only uncertainty that remains in the network is propagation and the receiving time. In small range networks, the propagation time is negligible, so, the only uncertainty that remains is the receiving time.

Other advantages include:

 It is energy efficient and conservative

 Does not require coupling between network interfaces and covers large area.

 Applicable in both wire and wireless networks

 Resources of latency removed from critical path and allow tighter synchronization.

Limitations of RBS

 Supports only broadband communication

 Does not support point-to-point communication 2.5 TPSN Protocol

It is based on transmitter-receiver synchronization ‎[5]. This protocol comprises of two phases:

1. Level discovery phase: in this phase, each node is assigned a level. One node is selected as root node and is labeled as level zero. It is based on tree diagram structure. The level – discovery nodes are broadcasted by the root nodes. Level one node receives those packets and retransmits them and this process goes through the network.

2. Synchronization phase: level one node begins the communication and sets up two way message exchange channel. Every level node sends an acknowledgement after it is synchronized with higher level node. Lower level node hears this message exchange and after some time initiates two way message exchanges with neighboring higher level nodes.

Advantages of TPSN: It minimizes the sender uncertainty but does not completely eliminate it.

As it is designed for multi hop networks, the transmission range does not matter in TPSN. It is better than receiver to receiver synchronization has superior precision than RBS. It is designed for long range communication and timing information propagates through the network

accurately.

3. Solution

The uncertainty in the time delays causes the communication processes to slow down and the consequences can be critical on the business or the process. Energy consumption is an important issue in the wireless sensor networks and has great impact on data sensing synchronization and the network time period. The combined use of RBS and TPSN in wireless networking can result in efficient signal transmission with minimal or negligible delays. The interrupt handling time can be minimized by using efficient and high performance microcontroller.

(5)

263

Clock synchronization for wireless network protocols is also an important factor that results in better and timely communications ‎[6]. The encode time and decode time depends on the processing power and the specifications of the radio antenna. Jitter is also an important factor that plays a key role in generating a timing error which directly leads to errors in the data conversion. Jitter can be

minimized by using phase locked loops (LLP). These devices are used to align the phase of a generated clock to an input reference clock. Higher data rates in communication often requires faster clock signals. For faster clock signals, the jitter must be reduced. This can be achieved by using the jitter attenuation circuit (Srinivasan et.al, 2014).

4. Conclusion

Time synchronization is an elementary need for wireless sensor networks. This paper highlighted the two main time synchronization protocols, the RBS and TPSN. RBS was based on receiver – receiver synchronization and resulted in reduced time delays. TPSN was based on sender – receiver synchronization model. This model supports multi hop networks and long range

communications. TPSN gives 2 times better performance than RBS. The propagation delay can be reduced by using the communication path with minimum obstructions or more preferably the clear line of sight (LOS) path. Clock synchronization is an essential requirement for high speed signal

transmissions and even a minor deviation in clock signals can cause the data loss. Synchronized clocks will result in better data transmissions and will improve the uncertainties in the whole network process.

References

[1] Ding. H., (2010) Time-sync Protocol for Sensor Network, data retrieved from

http://www.cs.gsu.edu/yli/teaching/Fall10/sensor/Slides/hp.pdf, on 22nd February, 2015.

[2] Lee. H., Yu. W., & Kwon. Y., (2009) Efficient RBS in Sensor Networks, IEEE The

Computer Society, data retrieved fromhttp://www.eecis.udel.edu/~mismith/papers/lee_rbs.pdf, on 22nd February, 2015.

[3] Maroti. M., Kusy. B., Simon. G., & AkosLedeczi (2004) The Flooding Time

Synchronization Protocol, Institute for Software Integrated Systems Vanderbilt University, http://w3.isis.vanderbilt.edu/projects/nest/documentation/Vanderbilt_NEST_ TimeSynch.pdf, on 22nd February, 2015.

[4] Ranganathan. P., &Nygard. K., (2010) time synchronization in wireless sensor networks, International journal of UbiComp, Vol. 1. pp. 92-102, data retrieved from

http://www.airccse.org/journal/iju/papers/0410iju6, on 22nd February, 2015.

[5] Roche. M., (2006) Time Synchronization in Wireless Networks, data retrieved from

http://www.cs.wustl.edu/~jain/cse574-06/ftp/time_sync/index.html, on 22nd February, 2015.

(6)

264

[6] Srinivasan. B., &Mallikadevi. R., (2014) Improving Scalability and Energy Efficiency using Clock Synchronization for wireless sensor networks, International Journal of Advance Research in Computer Science and Management Studies, vol. 2, data retrieved from http://ijarcsms.com/docs/paper/volume2/issue10/V2I10-0024.pdf, on 22nd February, 2015.

References

Related documents

The research method is fundamental in terms of purpose and in terms of data collection it is descriptive- casual comparative and it is in terms of method of study is

Bilingual Lexicon Extraction at the Morpheme Level Using Distributional Analysis Amir HAZEM and Be?atrice DAILLE LINA, Universite? de Nantes 2 rue de la houssinie?re 44000 Nantes, France

We established that our method is guaranteed to recover the underlying community memberships correctly, when the communities are drawn from a mixed membership stochastic block

This article is published under the terms of the Creative Commons Attribution License 4.0 Author(s) retain the copyright of this article. Publication rights with Alkhaer

Coercive Control and Physical Violence at the Onset of Dating Coercive Control and Physical Violence at the Onset of Dating Relationships: A Prospective Longitudinal

High fixation can be achieved through the use of high affinity dyes, low bath ratio, sufficient time for fixation, optimal temperature, optimal alkali levels, and optimal salt

Fig. 2: Tautology attack. Piggy-backed Query : Piggy-backed queries is a type of attack that compromises a database using a query delimiter, such as " ; ", to