【24h】

A Tale of Two Synchronizing Clocks

机译:两个同步时钟的故事

获取原文

摘要

A specific application for wastewater monitoring and actuation, called CSOnet, deployed city-wide in a mid-sized US city, South Bend, Indiana, posed some challenges to a time synchronization protocol. The nodes in CSOnet have a low duty cycle (2% in current deployment) and use an external clock, called the Real Time Clock (RTC), for triggering the sleep and the wake-up. The RTC has a very low drift (2 ppm) over the wide range of temperature fluctuations that the CSOnet nodes have, while having a low power consumption (0.66 mW). However, these clocks will still have to be synchronized occasionally during the long lifetime of the CSOnet nodes and this was the problem we confronted with our time synchronization protocol. The RTC to fit within the power and the cost constraints makes the tradeoff of having a coarse time granularity of only 1 second. Therefore, it is not sufficient to synchronize the RTC itself-that would mean a synchronization error of up to 1 second would be possible even with a perfect synchronization protocol. This would be unacceptable for the low duty cycle operation-each node stays awake for only 6 seconds in a 5 minute time window. This was the first of three challenges for time synchronization. The second challenge is that the synchronization has to be extremely fast since ideally the entire network should be synchronized during the 6 second wake-up period. Third, the long range radio used for the metropolitan-scale CSOnet does not make its radio stack software available, as is seen with several other radios for long-range ISM band RF communication. Therefore, a common technique for time synchronization-MAC layer time-stamping-cannot be used. Additionally, MAC layer time-stamping is known to be problematic with high speed radios (even at 250 kbps).We solve these challenges and design a synchronization protocol called Harmonia. It has three design innovations. First, it uses the finely granular microcontroller clockto achieve synchronization of the RTC, such that the synchronization error, despite the coarse granularity of the RTC, is in the microsecond range. Second, Harmonia pipelines the synchronization messages through the network resulting in fast synchronization of the entire network. Third, Harmonia provides failure handling for transient node and link failures such that the network is not overburdened with synchronization messages and the recovery is done locally. We evaluate Harmonia on CSOnet nodes and compare the two metrics of synchronization error and synchronization speed with FTSP. It performs slightly worse in the former and significantly better in the latter.
机译:在美国中型城市印第安纳州南本德市,在整个城市范围内部署了一种名为CSOnet的废水监测和驱动特定应用,这给时间同步协议带来了一些挑战。 CSOnet中的节点具有低占空比(当前部署中为2%),并使用称为实时时钟(RTC)的外部时钟来触发睡眠和唤醒。 RTC在CSOnet节点所具有的宽温度波动范围内具有非常低的漂移(2 ppm),同时具有低功耗(0.66 mW)。但是,在CSOnet节点的长寿命内,这些时钟有时仍必须偶尔进行同步,这就是我们的时间同步协议所面临的问题。适应功率和成本约束的RTC只能在1秒的粗粒度范围内进行权衡。因此,仅同步RTC本身是不够的,这意味着即使使用完美的同步协议,也可能会出现高达1秒的同步错误。对于低占空比操作,这将是不可接受的-每个节点在5分钟的时间窗口内仅保持唤醒状态6秒钟。这是时间同步的三个挑战中的第一个。第二个挑战是同步必须非常快,因为理想情况下,整个网络应在6秒唤醒周期内进行同步。第三,用于大城市CSOnet的远程无线电无法使用其无线电堆栈软件,这与其他用于远程ISM波段RF通信的其他无线电一样。因此,不能使用用于时间同步的通用技术-MAC层时间戳。另外,已知MAC层的时间戳对于高速无线电(甚至在250 kbps时)也是有问题的。 我们解决了这些挑战,并设计了一个称为Harmonia的同步协议。它具有三项设计创新。首先,它使用精细的微控制器时钟 为了实现RTC的同步,使得尽管RTC的粒度较粗,同步误差仍在微秒范围内。其次,Harmonia通过网络通过管道传递同步消息,从而实现整个网络的快速同步。第三,Harmonia为瞬态节点和链路故障提供故障处理,以使网络不会因同步消息而负担过多,并且恢复是在本地完成的。我们评估CSOnet节点上的Harmonia,并比较FTSP的同步误差和同步速度这两个指标。前者的性能稍差,后者则明显更好。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号