日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

IEEE 1588 Ordinary clocks

發布時間:2023/12/15 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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系統。

總結

以上是生活随笔為你收集整理的IEEE 1588 Ordinary clocks的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。