Technology > Systems: Network Autonomy > Timing Synchronization
The applications envisioned for ENS systems require collaborative execution of a distributed task amongst a large set of sensor nodes. The collaborative execution is realized by exchanging messages that are time-stamped using the local clocks on the nodes. To take examples from existing sensor network applications: precise time is needed to measure the time-of-flight of sound; distribute an acoustic beam forming array; form a low-power TDMA radio schedule; integrate a time-series of proximity detections into a velocity estimate; suppress redundant messages by recognizing duplicate detections of the same event by different sensors; or forming a basic building block for cryptographic techniques. Therefore, time synchronization becomes an indispensable piece of infrastructure in such distributed systems. For years, protocols such as NTP have kept the clocks of networked systems in perfect synchrony. However, this new class of wireless sensor networks has a large density of nodes and very limited energy resource at every node; this leads to scalability requirements while limiting the resources that can be used to achieve them. A new approach to time synchronization is needed for the wireless sensor networks.
Time synchronization is a critical piece of infrastructure in any distributed system. Time synchronization problem has been investigated thoroughly in Internet and LANs. Several technologies such as GPS, radio ranging etc have been used to provide global synchronization in networks. Complex protocols such as NTP [4] have been developed that have kept the Internet’s clocks ticking in phase. However, the time synchronization requirements differ drastically in the context of sensor networks. In general such networks are dense, consisting of a large number of sensor nodes. To operate in such large network densities, we need the time synchronization algorithm to be scalable with the number of nodes being deployed. Also, energy efficiency is a major concern in these networks due to the limited battery capacity of the sensor nodes. This eliminates the use of external energy-hungry equipments, such as GPS receivers. Moreover, the time synchronization requirements are much more stringent, often requiring synchronization of the order of microseconds among nodes involved in a task such as tracking a target. Furthermore, the diversity of requirements on timing synchronization accuracy makes it much more challenging to pertain to the different needs of applications. For example, acoustic applications require precision of several microseconds, while sensor tasking works on the timescale of hours or days. Local collaborations often require only a pair of neighbors to be synchronized, while global queries require global time.
One of the principle design guidelines for our time synchronization approach is that it should be multi-modal. The wide range of requirements across applications can not be satisfied by a single scheme – as no single scheme is optimal along all axes (e.g. scope, availability, precision, persistence of the timescale, and so forth). For example, GPS time is an attractive form of time synchronization and can often achieve a precision of 50 nanoseconds. However, it has drawbacks: it is not available ubiquitously (e.g., under foliage, indoors, underwater), and requires a relatively high-power receiver that is not feasible on the smallest, cheapest nodes. We have several approaches to in-network time synchronization.
Timing-sync Protocol for Sensor Networks (TPSN) works on the conventional approach of sender-receiver synchronization. This approach leverages the fact that the operating system has direct access to the underlying MAC layer of the radio: by time-stamping packets directly at the MAC layer, much of the normal non-determinism of channel access is eliminated, resulting in relatively high precision without a complex protocol.
A second approach based on receiver-receiver synchronization, termed as Reference Broadcast Synchronization (RBS) – does not require access to the MAC layer. Instead, this scheme recognizes that most of the unpredictable jitter in message delivery comes from the sender; by eliminating the sender from the critical path, error can be significantly reduced.
Both TPSN and RBS have been fully implemented on Berkeley motes. Recently, we have also been successful in developing standalone implementations for these protocols on Linux based sensor networking platforms such as Stargates and IPAQs. We have also integrated these protocols with the approach of post-facto synchronization to provide multi hop synchronization over a network of nodes. We have been able to extend these protocols to provide network-wide time synchronization in a sensor network. The algorithm works in two steps. In the first step, a hierarchical structure is established in the network and then a pair wise synchronization is performed along the edges of this structure to establish a global timescale throughout the network. Eventually all nodes in the network synchronize their clocks to a reference node. We have verified the efficacy of our approaches over large-scale networks through simulations in NESLsim, a PARSEC based simulation platform for sensor networks.
Our major accomplishments in time synchronization included new design, implementation, and characterization of new methods. We demonstrated three new methods to the palette of synchronization methods available to sensor network developers:
FACULTY
Prof. Deborah Estrin
Prof. Mani Srivastava
GRADUATE STUDENTS
Saurabh Ganeriwal
Deepak Ganesan
Ram Kumar
STAFF
Jeremy Elson