36
Time synchronization for UWSN

Time synchronization for UWSN

  • Upload
    buffy

  • View
    35

  • Download
    0

Embed Size (px)

DESCRIPTION

Time synchronization for UWSN. Outline. Time synchronization knowledge Typical time sync protocol Time sync in UWSN Discussion. Time Synchronization. Clock Offset Clock skew T(t)= at + b. Skew and offset. offset causes constant error independent of time - PowerPoint PPT Presentation

Citation preview

Page 1: Time synchronization for UWSN

Time synchronization for UWSN

Page 2: Time synchronization for UWSN

Outline

• Time synchronization knowledge

• Typical time sync protocol

• Time sync in UWSN

• Discussion

Page 3: Time synchronization for UWSN

Time Synchronization

• Clock Offset • Clock skew

T(t)= at + b

Page 4: Time synchronization for UWSN

• offset causes constant error independent of time

• skew causes increasing error as time progresses.

• To avoid the need for frequent resynchronization, the synchronization algorithm should accurately estimate both the clock skew and offset.

Skew and offset

Page 5: Time synchronization for UWSN

Sources of error in estimating message latency

Page 6: Time synchronization for UWSN

Synchronization Methods

• Sender-Receiver Synchronization

• Receiver-Receiver Synchronization

Page 7: Time synchronization for UWSN

Sender-Receiver Synchronization

Page 8: Time synchronization for UWSN

Receiver-Receiver Synchronization

Page 9: Time synchronization for UWSN

Outline

• Time synchronization knowledge

• Typical time sync protocol

• Time sync in UWSN

• Discussion

Page 10: Time synchronization for UWSN

Typical Time sync protocol

• Network Time Protocol (NTP)

• Reference Broadcast Synchronization (RBS)

• Timing-sync Protocol for Sensor Networks (TPSN)

• Flooding Time Synchronization Protocol (FTSP)

Page 11: Time synchronization for UWSN

Not match with UWSN

• It is impractical for a wireless device with a an atomic clock like NTP

• RBS’ central algorithm is built on the simultaneous reception of reference broadcasts at all nearby nodes

• TPSH does not model skew and not robust with topology change.

• FTSP requires calibration on the hardware actually used in the deployment and suffers from the same problem as RBS, in that it assumes near instantaneous message propagation

Page 12: Time synchronization for UWSN

Outline

• Knowledge related to time synchronization

• Typical time sync protocol for WSN

• Time sync in UWSN

• Discussion

Page 13: Time synchronization for UWSN

Change for time sync in UWSN

Acoustic Channel• long propagation delay

• Synchronization overhead

• Time-varying delay

Time sync protocol• TSHL• MU-SYNC

Page 14: Time synchronization for UWSN

TSHL and MU-Sync

• Both TSHL and MU-SYNC try to minimize the synchronization error by estimating and compensating both the clock skew and offset, utilizing MAC-layer time stamping and bidirectional message exchange.

• TSHL is designed for static underwater sensor networks, which assume long but constant propagation delay

• MU-Sync has a higher overhead than the TSHL

• TSHL perform linear regression only once to retrieve the estimated skew, while the MU-Sync performs it twice.

• For MU-SYNC, cluster head broadcasts its neighboring nodes’ estimated skew and offset, every node learns the estimated skew and offset of all other nodes in the same cluster, instead of just the relative parameters between the cluster head and a particular node.

Page 15: Time synchronization for UWSN

TSHL

Two phases:

• Skew synchronization

• Offset synchronization

Page 16: Time synchronization for UWSN

Skew Synchronization

Page 17: Time synchronization for UWSN

Offset Synchronization

Page 18: Time synchronization for UWSN

• Using a two-phase operation

• Skew and offset acquisition phase

• synchronization phase

MU-Sync

Page 19: Time synchronization for UWSN

• The clock skew and offset is estimated by applying linear regression twice over a set of n reference beacons.

• The first regression:–Obtain its first estimated skew – Estimate propagation delay

• The second regression:– Extract the amount of propagation delay that each

REF packet encounters– Calculate final estimated skew and offset

Skew and offset acquisition phase:

Page 20: Time synchronization for UWSN
Page 21: Time synchronization for UWSN

• Obtain first estimated skew , (Fig.3)

• The value of first estimated skew then used to compute the amount of one-way propagation delay that each REF packet has encountered

The first linear regression

Page 22: Time synchronization for UWSN
Page 23: Time synchronization for UWSN

• Subtract the estimated propagation delay corresponding to each of the data points to obtain a new set of data points.

• The cluster head then runs the second linear regression to obtain the final estimated skew and offset of neighboring node y.

Second linear regression

Page 24: Time synchronization for UWSN

• Cluster head broadcasts all neighbors’ clock skew and offset, so that every neighbor can keep track of these parameters.

• When every node in the cluster knows the skew and offset of every other node in the cluster, cluster-wide synchronization has been achieved.

Synchronization phase

Page 25: Time synchronization for UWSN

Synchronization phase

Page 26: Time synchronization for UWSN
Page 27: Time synchronization for UWSN

Error Analysis of Propagation Delay

is an average of the propagation delay obtained from t4 −t3 and t2 −t1

actual delay is t4 − t3

the error of propagation delay estimation:

Page 28: Time synchronization for UWSN

Error Analysis of Propagation Delay

Page 29: Time synchronization for UWSN
Page 30: Time synchronization for UWSN
Page 31: Time synchronization for UWSN
Page 32: Time synchronization for UWSN
Page 33: Time synchronization for UWSN

• Fig. 8 (the worst-case) shows that the MU-Sync cannot cope when the duration of t3 − t2 is longer than approximately

25 s.

• Reason: currently using half of the round trip time to estimate the

one-way propagation delay, the estimation error depends on the value of

Discussion

Page 34: Time synchronization for UWSN

• MU-Sync takes into account both long and time-varying propagation delays.

• The accuracy of the MU-Sync is highly dependent on the accuracy of the propagation delay estimation, as it is a major contributor to synchronization error UWSN.

Discussion

Page 35: Time synchronization for UWSN

• currently using half of the round-trip time as an estimation of the one-way propagation delay.

• This may result in low accuracy if the propagation delay varies significantly within the round trip message exchange.

• Future work will concentrate on how the varying propagation delay can be estimated more accurately, while maintaining low overhead.

Open issue

Page 36: Time synchronization for UWSN

Q&A