IEEE 1588 Ordinary clocks

6.5.2 Ordinary clocks
The model of an ordinary clock is illustrated in Figure 2.
Figure 2 ⎯Model of an ordinary clock

ordinary clocks通过基于单个物理端口的两个逻辑接口与网络通信。 Event interface用于发送和接收事件消息,这些消息由时间戳生成模块根据本地时钟的值加上时间戳。general interface 用于发送和接收general messagels。

An ordinary clock in a domain supports a single copy of the protocol and has a single PTP state. The ordinary clock can be the grandmaster clock in a system, or it can be a slave clock in the master−slave hierarchy.

Ordinary clock maintain 两个类型的data sets,分别是clock data sets 和port data sets

clock data sets 如下:

a) defaultDS: Attributes describing the ordinary clock. (描述ordinary clock属性)
b) currentDS: Attributes related to synchronization.(与同步相关的属性)
c) parentDS: Attributes describing the parent (the clock to which the ordinary clock synchronizes) and the grandmaster (the clock at the root of the master−slave hierarchy).(描述parent 和grandmaster 属性)
d) timePropertiesDS: Attributes of the timescale.(timescale 的属性)

The port data sets contain attributes of the port, including the PTP state.
The protocol engine:
⎯ Sends and receives PTP messages.(发送和接收PTP message)
⎯ Maintains the data sets.(maintain 数据集)
⎯ Executes the state machine associated with the port.(执行与port关联的状态机)
⎯ If the port is in the slave state (synchronizes to a master), it computes the master’s time based on the received PTP timing messages and timestamps that were generated.(如果port是slave port,则通过接收到的PTP timing message以及timestamps计算 master的timing)

如果ordinary clock处于slave 状态, 则locol clock中的control loop会调整clock,使其与master的time一致。如果port是master state,则local clock是free running的,或者和外部时钟一致,比如GPS。如果port 是master state,而ordinary clock是domain的grandmaster clock,则通常将local clock同步到可追溯到TAI和UTC的外部时间源,例如GPS系统。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值