...1 What?...2 Why?...3 How? ( ) IEEE / 23

Similar documents
Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft PowerPoint - STU_EC_Ch08.ppt

財金資訊-80期.indd

Chap6.ppt

EC51/52 GSM /GPRS MODEN

工程师培训

穨control.PDF

穨japhkesch.PDF

一、

标题

中文朗科AirTrackTM T600 迷你无线路由器用户手册.doc

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

VoIP Make a Rtp Call VoIP Abstract... 2 VoIP RTP...3 Socket IP...9 Config Two Voice-hub

編輯要旨 一 教育部為了協助本國失學民眾 新住民及 其他國外朋友 有系統的學習華語文的 聽 說 讀 寫 算等識字能力及跨文化 適應 以培養具有基本公民素養的終身學 習者 特別委託新北市政府教育局新住民 文教輔導科團隊編輯本教材 二 依據上述目的 本教材共有六冊 並分為 六級 分級及單元名稱詳如下表

目 彔 1. 准 备 工 作 登 彔 设 置 功 能 说 明 实 时 监 控 基 本 控 制 功 能 设 置 画 质 调 节 彔 像 与 抓 拍

AL-M200 Series


Chapter #

Bus Hound 5

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

Microsoft PowerPoint - 数据通信-ch1.ppt

SAPIDO GR-1733 無線寬頻分享器

计算机网络

Edge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11

跨 境 犯 罪 案 例 報 告 擄 人 勒 贖 案 件 檢 座 約 晚 上 12 點 半 在 辦 公 室 可 以 嗎? 24 日 清 晨 見 過 證 據 資 料 後, 同 意 緊 急 上 線, 並 立 即 製 作 聲 請 書, 並 獲 得 法 院 准 許, 此 後 一 路 積 極 續 線 及 擴 線

ebook140-11

计算机网络概论

(Microsoft Word - 11\244T\246\342\277\337\260l\302\334.doc)

<4D F736F F F696E74202D20312EB9FEB6FBB1F5B9A4D2B5B4F3D1A7D5E7C1BCA3BAC3E6CFF2D1D0BEBFC9FAB8B4CAD4B5C4BDE1B9B9BBAFC3E6CAD4BFBCBACBCCBDCBF7D3EBCAB5BCF92E BBCE6C8DDC4A3CABD5D>

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 计 算 机 网 络 在

涓浗鏂囧寲

解 除 身 份 验 证 机 密 性 Wep 等 一 些 加 密 机 制 MSDU 传 递 (MAC Service Data Unit) 负 责 将 数 据 传 送 给 实 际 的 接 收 端 传 输 功 率 控 制 (Transmit Power Control 简 称 TPC) 欧 洲 标 准

计算机网络

MAN- Metropolitan Area Network Resilient Packet Ring a : 5GHz 54Mbps b : 2.4GHz 11Mbps c : MAC Bridge 802.1D 80

Master Thesis_專門用來製作目錄.doc

,, [8 ] (p. 666),, [8 ] (p. 544), (1643 ), 30,,,,,,,,,,,,,,,,,,,,,,,, [9 ] (),, [8 ] (p. 306),,, [8 ] (p. 1052),, [8 ] (p. 1070),,,,, (1640 ),, [10 ]

11N 无线宽带路由器

RAQMON Context Setting MG PDA Applications RTP / FTP/ HTTP TCP/UDP S ignaling control plane (e.g. RS VP, NS IS) Streaming Media, Transaction, Bulk dat

[ 13 年 12 月 06 日, 下 午 6 点 24 分 ] Intel Hosts 新 加 入 的 同 学 们, 快 去 听 听 在 线 宣 讲 会 哦, 同 时 完 成 页 面 下 方 有 奖 调 查, 就 有 资 格 参 与 大 奖 抽 取 啦! [ 13 年 12 月 06 日, 下 午

<4D F736F F D AB4FA5C0A448ADFBA4FEAFC5C0B3C0CBB8EAAEC6B2C4A447B3A1A5F E646F63>

ch_code_infoaccess

<31362DBDC3A5CDA7BDB9EAAC49AD70B5652E786C7378>

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

Microsoft Word - 3圓來如此.doc

第3章 计算机网络体系结构

2012 年 4 月 至 6 月 活 動 一 覽 月 份 計 劃 / 項 目 活 動 4 月 竹 園 中 心 活 動 竹 園 中 心 開 放 日 暨 沒 有 巴 掌 日 嘉 年 華 :4 月 28 日 v 迎 新 會 :4 月 21 日 童 歡 部 落 v 義 工 服 務 :5 月 27 日 v 小

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

lan03_yen

ebook140-8

Microsoft Word - 論文封面 修.doc

目 錄 壹 青 輔 會 結 案 附 件 貳 活 動 計 劃 書 參 執 行 內 容 一 教 學 內 容 二 與 當 地 教 師 教 學 交 流 三 服 務 執 行 進 度 肆 執 行 成 效 一 教 學 課 程 二 與 當 地 教 師 教 學 交 流 三 服 務 滿 意 度 調 查 伍 服 務 檢

WDM Tbit/s decoupling IP Burst control packet BCP ATM IP

Aquasnap Junior 30RH/RA RH/RA

Product Type Batteries (only) Circuit Breatkers & Load Protection Connection Devices Contactors Ethernet Switches, Stratix Switches I/O Modules; PLC N

Prasenjit Duara 3 nation state Northwestern Journal of Ethnology 4 1. A C M J M M

10-下-网络规划上午试卷

綠色產業、生活風格與健康論述:有機食品消費之社會文化分析

2/80 2

穨電子公文交換期末報告noconclusion.PDF

國立中山大學學位論文典藏

PowerPoint 簡報

Product Type Batteries (only) Circuit Breakers & Load Protection Connection Devices Contactors Ethernet Switches, Stratix Switches I/O Modules; PLC Ne

網路安全:理論與實務 第二版

第 7 章 下 一 代 网 际 协 议 IPv6 141 足 的 措 施 只 能 是 权 宜 之 计 (3) 路 由 表 膨 胀 早 期 IPv4 的 地 址 结 构 也 造 成 了 路 由 表 的 容 量 过 大 IPv4 地 址 早 期 为 网 络 号 + 主 机 号 结 构, 后 来 引 入

Microsoft PowerPoint ARIS_Platform_en.ppt

IP505SM_manual_cn.doc

f2.eps

一.NETGEAR VPN防火墙产品介绍

Microsoft PowerPoint - Performance Analysis of Video Streaming over LTE using.pptx

A API Application Programming Interface 见 应 用 程 序 编 程 接 口 ARP Address Resolution Protocol 地 址 解 析 协 议 为 IP 地 址 到 对 应 的 硬 件 地 址 之 间 提 供 动 态 映 射 阿 里 云 内

Microsoft Word - 生活禮儀柯友惠981

: ( ),,

TCP/IP LAN : : IPv4 NGI, NGN, GENI, AGN, Veno II 2

PS PS GMM SM.zte.com.


Microsoft PowerPoint - Lecture2

Support All Industrial Ethernet Standards on Your Next "Drive" Design White Paper

ebook20-8

<4D F736F F D20312D3120D5D0B9C9CBB5C3F7CAE9A3A8C9EAB1A8B8E5A3A92E646F63>

A dissertation for Master s degree Metro Indoor Coverage Systems Analysis And Design Author s Name: Sheng Hailiang speciality: Supervisor:Prof.Li Hui,

WTO

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

UDP 8.2 TCP/IP OSI OSI 3 OSI TCP/IP IP TCP/IP TCP/IP Transport Control Protocol TCP User Datagram Protocol UDP TCP TCP/IP IP TCP TCP/IP TC

第 一 屆 香 港 嬰 幼 兒 產 業 及 嬰 幼 兒 教 育 及 護 理 分 享 會 目 標 : 增 加 各 專 業 及 商 家 對 嬰 幼 兒 早 教 及 護 理 的 認 識 及 交 流, 發 掘 嬰 幼 兒 早 教 產 業 機 會 增 進 嬰 幼 兒 產 業 的 發 展 簡 介 : 香 港 的

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

<4D F736F F F696E74202D20A1B6CFEEC4BFD2BB20B3F5CAB6BCC6CBE3BBFACDF8C2E7A1B7C8CECEF1C8FD20CAECCFA A1A24950D0ADD2E9BACD4950B5D8D6B72E707074>

目 录 第 一 章 电 力 行 业 内 部 控 制 操 作 指 南 概 述... 1 第 二 章 内 部 控 制 规 范 体 系 建 设 与 运 行 第 三 章 内 部 环 境 建 设 第 一 节 组 织 架 构 第 二 节 发 展 战 略 第 三 节

碩士論文封面.doc

NNM_Advance_DS_FNL.qxd

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

C3_ppt.PDF

Microsoft PowerPoint - E1zigbee ppt

同步网络中的高性能线卡时钟解决方案

<4D F736F F F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E BBCE6C8DDC4A3CABD5D>

Microsoft Word - 1-招股说明书.doc

保母人員丙級應檢資料第二部份 doc

<4D F736F F D C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

DaoCiDi2003TC ct-P293L02-R

基于泛在网的智能交通应用系统总体框架

ebook70-11

Transcription:

.... IEEE 1588 2010 7 8 ( ) IEEE 1588 2010 7 8 1 / 23

...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 2 / 23

...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 3 / 23

IEEE 1588 ( ) IEEE 1588 2010 7 8 3 / 23

IEEE 1588 IEEE 1588 ( ) IEEE 1588 2010 7 8 3 / 23

IEEE 1588 IEEE 1588 IEEE 1588 ( ) IEEE 1588 2010 7 8 3 / 23

...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 4 / 23

: SNTP RFC2030 50ms-150ms NTP RFC1305 500us-50ms PTP IEEE 1588 ( ) IEEE 1588 2010 7 8 4 / 23

1588 ( ) IEEE 1588 2010 7 8 5 / 23

1588 <1us ( ) IEEE 1588 2010 7 8 5 / 23

1588 <1us GPS IRIG-B ( ) IEEE 1588 2010 7 8 5 / 23

1588 <1us GPS IRIG-B BMC ( ) IEEE 1588 2010 7 8 5 / 23

1588 <1us GPS IRIG-B BMC ( ) IEEE 1588 2010 7 8 5 / 23

1588 <1us GPS IRIG-B BMC GPS ( ) IEEE 1588 2010 7 8 5 / 23

...1 What?...2 Why?...3 How? ( ) IEEE 1588 2010 7 8 6 / 23

IEEE 1588 v2 : PTP Ordinary/Slave Clock Grandmaster Clock Boundary Clock Transparent Clock BMC sync Message follow-up Message announce message one step operation two step operation delay-req/resp msg pdelay-req/resp msg point to point (P2P) 1588 OC OC MC MC->OC MC(s) advertise capabilities to enable BMC On the fly manipulation of 1588 packets by MC and TC ( ) IEEE 1588 2010 7 8 6 / 23

IEEE 1588 ( ) IEEE 1588 2010 7 8 7 / 23

( ) IEEE 1588 2010 7 8 8 / 23

( ) IEEE 1588 2010 7 8 8 / 23

Qos ( ) IEEE 1588 2010 7 8 8 / 23

Qos 100Mbps 64 5us ( ) IEEE 1588 2010 7 8 8 / 23

Qos 100Mbps 64 5us 100Mbps 1500 120us ( ) IEEE 1588 2010 7 8 8 / 23

Qos 100Mbps 64 5us 100Mbps 1500 120us OC ( ) IEEE 1588 2010 7 8 8 / 23

Qos 100Mbps 64 5us 100Mbps 1500 120us OC 1588 v2 --- --- ( ) IEEE 1588 2010 7 8 8 / 23

( ) IEEE 1588 2010 7 8 9 / 23

100 102 104 106 108 110 Estimated Send Time (100) Precise Send Time (101) B Precise Receive Time (108) Master Clock PTP Appl. G/MII t 0 SYNC(100??) FOLLOW_UP(101!) DELAY_REQ t 3 t 2 DELAY_RESP(108) Slave Clock G/MII PTP Appl. t 1 A Precise Receive Time (106) Offset Computation Precise Send Time (111) 104 106 108 110 112 114 112 Key Equations: A = t 1 t 0 = Delay + Offset B = t 3 -t 2 = Delay Offset Delay = (A+B) / 2 Offset = (A-B) / 2 Example: A = 106 101 = 5 B = 108 111 = -3 Delay = (5-3) / 2 = 1 Offset = (5+3) / 2 = 4 IEEE 1588 Synchronization Message Sequence 116 UDP port 319: Sync and Delay_Req UDP port 320: Follow_up, Delay_Resp, and Mgmt ( ) IEEE 1588 2010 7 8 10 / 23

( ) IEEE 1588 2010 7 8 11 / 23

End-to-End Master Transparent Clock Slave T1 Sync Follow_up Sync Follow_up T2 Delay_Req T3 Delay_Req T4 Delay_Resp Delay_Resp End to End residence time correction model Delay request-response path length measurement ( ) IEEE 1588 2010 7 8 12 / 23

Peer-to-Peer Master Transparent Clock Slave T1 Sync Follow_up Sync Follow_up T2 T4 T5 PDelay_Req S-TC PDelay_Resp TC-S T3 T6 PDelay_Req TC-M PDelay_Resp_Follow_Up TC-S PDelay_Resp M-TC PDelay_Resp_Follow_Up M-TC Peer to Peer residence time and link delay correction model S-TC : Slave to Transparent Clock M-TC : Master to Transparent Clock Peer delay link measurement ( ) IEEE 1588 2010 7 8 13 / 23

Peer-to-Peer Residence time = t r1 Residence time = t r2 GM Ordinary Clock-0 P2P TC Propagation time = t p0 S Ordinary Clock-1 P2P TC Propagation time = t p1 S Ordinary Clock-2 P2P TC Link 1 Link 2 Link 3 Propagation time = t p2 S Ordinary Clock-3 P2P TC N 1 Sync correction field + Follow Up correction field = (t ri + t pi ) (1) N 1 N total propagation plus residence time = t ri + t pi (2) i=1 i=1 i=1 slave offset = t 2 t 1 total propagation plus residence time (3) ( ) IEEE 1588 2010 7 8 14 / 23

E2E vs. P2P + Scale poorly with the number of devices (master sees all slaves) + Good for linear systems (eliminates cascaded servos) Can introduce 1:N topology + + Scale well with the number of devices + Good for linear systems (large number of daisy chained clocks) + Rapid recovery with changes in network topology Cannot resolve 1:N introduced by ordinary switches, wireless, or end-to-end TC Must maintain per port path length state and measuring mechanisms. Only used in homogeneous P2P systems. Requires a boundary clock at the edges. 6 (vs. 4) measurements ( ) IEEE 1588 2010 7 8 15 / 23

IEEE 1588 Now, it's 9:28! Milliseconds of delay and variation introduced by protocol stack Master Clock PTP UDP IP MAC PHY Variable delay introduced by the Network due to the topology: Hundreds of nanoseconds to microseconds for repeaters & switches Milliseconds for routers Network Slave Clock PTP UDP IP MAC PHY OK, thanks 9:28! Milliseconds of delay and variation introduced by protocol stack PTP Packet Now it's 9:28 Software Timestamp Implementation ( ) IEEE 1588 2010 7 8 16 / 23

IEEE 1588 Master Clock Slave Clock Now, it's PTP PTP OK, thanks 9:28! UDP UDP IP IP MAC MAC PHY Network PHY 9:28! PTP Packet Now it's 9:28 Hardware Timestamp Implementation ( ) IEEE 1588 2010 7 8 17 / 23

PTP Message Header PTP Message Header Bits 7 6 5 4 3 2 1 transportspecific messagetype reserved versionptp messagelength domainnumber reserved flagfield correctionfield reserved sourceportidentity sequenceid controlfield logmessageinterval 0 Octets Offset 1 0 1 1 2 2 1 4 1 5 2 6 8 8 4 16 10 20 2 30 1 32 1 33 ( ) IEEE 1588 2010 7 8 18 / 23

: Message Type Message Type Message Class Value Sync Event 0 Delay Req Event 1 Pdelay Req Event 2 Pdelay Resp Event 3 Reserved 4 7 Follow Up General 8 Delay Resp General 9 Pdelay Resp Follow Up General A Announce General B Signaling General C Management General D Reserved E F ( ) IEEE 1588 2010 7 8 19 / 23

Value of flagfield : Value of flagfield Octet Bit Message types Name 0 0 Announce,Sync,Follow Up,Delay Respon alternatemasterflag ( ) IEEE 1588 2010 7 8 20 / 23

Announce Message Annouce Message 7 6 5 4 Bits 3 2 1 0 Octets Offset header 34 0 origintimestamp 10 44 currentutcoffset 2 46 reserved 1 47 grandmasterpriority1 1 48 grandmasterclockquality 4 40 grandmasterpriority2 1 52 grandmasteridentity 8 53 stepsremoved 2 61 timesource 1 63 ( ) IEEE 1588 2010 7 8 21 / 23

Sync and Delay Req messages Sync and Delay_ReqmessagesMessage 7 6 5 4 Bits 3 2 1 0 Octets Offset header 34 0 origintimestamp 10 44 ( ) IEEE 1588 2010 7 8 22 / 23

Thank you! Author: Address: Email: Zheng Xiao-jun No.11 Phoenix Road of Jiangning Development Zone Guodian Nanjing Automation CO.,LTD Nanjing, 211100, China zxj@sac-china.com ( ) IEEE 1588 2010 7 8 23 / 23