TW201113664A - Method of clock synchronization and internet system using the same - Google Patents

Method of clock synchronization and internet system using the same Download PDF

Info

Publication number
TW201113664A
TW201113664A TW98133950A TW98133950A TW201113664A TW 201113664 A TW201113664 A TW 201113664A TW 98133950 A TW98133950 A TW 98133950A TW 98133950 A TW98133950 A TW 98133950A TW 201113664 A TW201113664 A TW 201113664A
Authority
TW
Taiwan
Prior art keywords
clock
slave
synchronization
time
node
Prior art date
Application number
TW98133950A
Other languages
Chinese (zh)
Other versions
TWI421667B (en
Inventor
Wen-Long Chin
Original Assignee
Univ Nat Cheng Kung
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Univ Nat Cheng Kung filed Critical Univ Nat Cheng Kung
Priority to TW98133950A priority Critical patent/TWI421667B/en
Publication of TW201113664A publication Critical patent/TW201113664A/en
Application granted granted Critical
Publication of TWI421667B publication Critical patent/TWI421667B/en

Links

Abstract

A method of clock synchronization provides for that a slave node gets a synchronization time from a master node to enable time of two nodes to be in synchronization in internet. The steps of the method includes: sending a synchronization message at a default rate from the master node to the slave node with only one-way time transfer; measuring the synchronization time of the master node sending the synchronization message by a master clock of the master node; measuring a first time and a second time of the slave node receiving the synchronization message respectively by two slave clocks of the slave node; setting two frequencies, two slave clocks running at, is unequal by a clock generation circuit; and estimating a maximum likelihood time estimate between the master clock and two slave clocks by said times and two frequencies to yield two precise slave clocks.

Description

201113664 六、發明說明: 【發明所屬之技術領域】 /本發明侧於-種時鐘同步之方法及應用該方法之網路 系統,特別賤於-種可應用於分散式量測與控制系統的時 鐘同步之方法。 【先前技術】 立近年來,網路節點的時鐘同步問題吸引了相當多的注 $,因而具有許多方法應用在分散於網路的時鐘同步上,最 苇見的包括了網路時間協定(netw〇rk time pr〇t〇c〇1,ΝΤρ)及其 簡化版本,即簡單網路時間協定(simple network time protocd', SNTP)。這㈣定廣泛應用在區域網路(local area networks, L ANs)及網際網路(intemet) + ’但這些協定僅可以達到毫秒的 準確度。 .因此目前將IEEE 1588所規範之準確時間協定扣挪⑽ t^me protocol,PTP)應用在分散於網路中的時鐘以解決同步問 通IEEE 1588所規範之準確時間協定可達到以下目的:同 步精準度可達到次微秒(sub_microsec〇nd);運算複雜度及網 ,寬需求最少,而能夠在簡單與低價裝置上實現;^管理 需求;以及使用在乙太網路但也可用於群體廣播(multicast) 網路t。 —IEEE 1588所規範之準確時間協定是一個主從式同步協 定。在主從階層建立後,時間戳記(time_stamped)訊息在主時 鐘及從時鐘之間交換,以讓從時鐘量測出主時鐘的時間。最 後,所有位於網路節點之從時鐘能跟主時鐘同步。 時鐘同步之方法需要考慮兩個_的效應:獨立的時鐘q 201113664 寺間2 ’因此會產生時鐘偏移(clock offset), 而舄要做偏移修正.$ •"止,另一方面,由於時鐘可能用不同的頻率 口此會產生時鐘偏斜(ck)ckskew),而需要做偏斜修正。 禮语女圖1所示,係為習知的時鐘同步之方法,以雙向訊息 傳f訊息之示4圖。—虛擬晴中具有複數節點1〇,並且i -郎點10具有一時鐘,而節點10之間相互傳送或是接收由 IEEE 1588所定義之時間同步訊息(time synchro-messages) 。201113664 VI. Description of the invention: [Technical field to which the invention pertains] / The invention relates to a method for clock synchronization and a network system using the same, and particularly to a clock applicable to a distributed measurement and control system The method of synchronization. [Prior Art] In recent years, the clock synchronization problem of network nodes has attracted quite a lot of money, so there are many methods for clock synchronization distributed over the network. The most obvious ones include the network time protocol (netw). 〇rk time pr〇t〇c〇1, ΝΤρ) and its simplified version, namely simple network time protocd' (SNTP). This (4) is widely used in local area networks (L ANs) and the Internet (intemet) + but these agreements can only achieve millisecond accuracy. Therefore, the accurate time agreement of IEEE 1588 is currently applied to (10) t^me protocol, PTP) applied to the clock dispersed in the network to solve the accurate time protocol specified by IEEE 1588. The following objectives can be achieved: Accuracy can reach sub-microsec〇 (sub_microsec〇nd); computational complexity and network, minimum requirements, and can be implemented on simple and low-cost devices; ^ management requirements; and use on Ethernet but also for groups Broadcast network t. - The exact time protocol specified by IEEE 1588 is a master-slave synchronization protocol. After the master-slave hierarchy is established, the time_stamped message is exchanged between the master clock and the slave clock to allow the slave clock to measure the master clock time. Finally, all slave clocks at the network node can be synchronized with the master clock. The method of clock synchronization needs to consider the effect of two _: independent clock q 201113664 between the temples 2 ' therefore will generate a clock offset (clock offset), and do offset correction. $ • " stop, on the other hand, Since the clock may use a different frequency port, this will cause a clock skew (ck) ckskew), and a skew correction is required. Figure 1 shows the method of clock synchronization, which is a four-way message. - Virtual Clear has a complex node 1 〇, and i - 朗点 10 has a clock, and nodes 10 transmit or receive time synchronization messages (time synchro-messages) defined by IEEE 1588.

根據準確時間協定進行第一次訊息傳遞過程,一主節點 10a具有一主時鐘2〇a (master d〇ck),主時鐘2〇&量測其初始 時間並紀錄為:Tw,〇,而主節點l〇a可以傳送一同步訊息 (synchronization message)且伴隨傳送一補充訊息22 (f〇llow-Up message)至一從節點1〇b,其中當主節點1〇a傳送 同步sfl息21時,主時鐘20a量測一傳送同步訊息21之時間 1並且利用補充sfL息22儲存該時間τ^· 1之數值。此外, 從節點10b具有一從時鐘20b (slave clock),從時鐘2〇b量測 其初始時間並紀錄為40 ’從節點l〇b接收到同步訊息21之 後’從節點10b之從時鐘20b量測並儲存同步訊息21到達之 時間7;‘ 1 ’並且計算同步訊息21到達之時間τ; 1以及補充訊 息22所紀錄之時間7^.1的差’此差為主節點1〇a傳遞訊息 至從節點10b所造成的傳遞延遲,記為主時鐘2〇a以及從時 鐘20b之間的傳遞延遲時間。 同樣地,為了修正傳遞延遲(propagationdelay),進行第 二次的訊息傳遞過程。從節點l〇b發送一請求延遲訊息 23(delay request message)至主節點l〇a ’並將從時鐘2〇b所量 201113664 測之發送時間紀錄為r j。接著,主節點1Qa收到請求延 遲讯息23後,主時鐘20a將所接收之時間記錄為1 ,並 將時間r w.i儲存於一響應延遲訊息24(dday __ message )内。然後,主節點10a回應該響應延遲訊息%至 從節點10b。從節點10b計算請求延遲訊息23的發送時間 Γ 以及儲存於響應延遲訊息24之接收時間1的差, 記為主時鐘20a以及從時鐘2〇b的傳遞延遲時間£) 2。The first message passing process is performed according to the exact time agreement. A master node 10a has a master clock 2〇a (master d〇ck), and the master clock 2〇& measures its initial time and records as: Tw, 〇, and The master node l〇a can transmit a synchronization message and accompany a supplementary message 22 (f〇llow-Up message) to a slave node 1〇b, wherein when the master node 1〇a transmits the synchronization sfl information 21 The master clock 20a measures a time 1 of the transmission of the synchronization message 21 and stores the value of the time τ^·1 using the supplementary sfL information 22. Further, the slave node 10b has a slave clock 20b (slave clock), and its initial time is measured from the clock 2〇b and recorded as 40 'after receiving the synchronization message 21 from the node l〇b', the slave clock 10b of the slave node 10b Measure and store the time 7 when the synchronization message 21 arrives; '1' and calculate the time τ when the synchronization message 21 arrives; 1 and the difference of the time recorded by the supplementary message 22 7^.1 'This difference is the message transmitted to the master node 1〇a The transfer delay caused by the slave node 10b is recorded as the transfer delay time between the master clock 2a and the slave clock 20b. Similarly, in order to correct the propagation delay (propagation delay), the second message passing process is performed. A delay request message is sent from the node l〇b to the master node l〇a ’ and the transmission time measured from the clock 2〇b 201113664 is recorded as r j . Next, after the master node 1Qa receives the request delay message 23, the master clock 20a records the received time as 1 and stores the time r w.i in a response delay message 24 (dday__ message). Then, the master node 10a should respond to the delay message % to the slave node 10b. The slave node 10b calculates the transmission time Γ of the request delay message 23 and the difference of the reception time 1 stored in the response delay message 24, and records the transmission delay time £2 of the master clock 20a and the slave clock 2〇b.

藉由時鐘同步的雙向訊息傳遞過程中,計算主時鐘2如 以及從時鐘2Gb之間的時縣異,其中包含偏:量 〇_以及傳遞延遲時間H。如此,從時鐘2〇b的修 正包含偏移量的修正和傳遞延遲時間的修正。因此,從時鐘 20b計算出主節點i〇a到從節點勘以及從節點他到 點l〇a的傳遞延遲時間I和^,計算得到單向延時乃 (one-way delay,OWD) ’其計算式⑴至⑶如下列所示:' ⑴ (2) (3)During the two-way message transmission by clock synchronization, the time difference between the master clock 2 and the slave clock 2Gb is calculated, including the offset: the quantity 〇_ and the transmission delay time H. Thus, the correction of the slave clock 2〇b includes the correction of the offset and the correction of the transmission delay time. Therefore, from the clock 20b, the transfer delay times I and ^ of the master node i〇a to the slave node and the slave node to the point l〇a are calculated, and the one-way delay (OWD) is calculated. Equations (1) to (3) are as follows: ' (1) (2) (3)

Dm2s = TsA - Tm.l Ds2m - T mA - Τ’ s.l £) — ^s2m w 2 接下來,進而估算出主時鐘施以及從時鐘咖於 量測時間時,兩者之間具有—時鐘之偏移量0,因此主靜 〜,而時鐘之偏移量θ的計算式(4)如Dm2s = TsA - Tm.l Ds2m - T mA - Τ' sl £) — ^s2m w 2 Next, and then estimate the master clock and the slave clock to measure the time, there is a -clock bias between the two The shift amount is 0, so the main static ~, and the offset of the clock θ is calculated (4)

~DW )m2s - Ds2m 2 2 (4) 6 201113664 :此,辦鐘2〇b能夠校正其時間 取小化,而與主時鐘20a同步。 偏里Θ 目前大部料鋼步之方法都是基 時〇mk propagati〇n dday)的 崎狀 偏斜,並且無法適=:= 的通= 賴_確時間協定 錯誤,例如數位=迴^=在非對稱鍵接環境下的同步 ’如何使得時鋼步之方絲_於非對稱通 ==:=::r時的假設下,能夠準確 量測出各鍵接的單向延時,更能 I! ^#(clock Skew)^^ ± m的攸時&,是本技術領域碰解決之問題。 【發明内容】 1自目的係在於提供雙重的從時鐘並且採用單向 =:^的=鐘同步之方法,能解確地測量出傳播延遲時 接傳遞===時鐘’並且能_用於對稱及非對稱鍵 徵中和優點可以從本發明所揭露的技術特 ,達上述之—或部份或全部目的或是其他目的,本發 - 一種時鐘同步之方法提供網路上之-從節點與 即』的日讀同步,其中主節點具有一主時鐘,而從節點 八有至少兩從時鐘’並且從節點由主節點取得—同步時間, 此方法包括:藉由單向傳遞之方式,使主節點每隔-週期時間… -·· j 7 201113664~DW ) m2s - Ds2m 2 2 (4) 6 201113664 : This, the clock 2 〇 b can correct its time to be small, and synchronized with the main clock 20a. The partial Θ Θ Θ Θ Θ Θ Θ Θ Θ Θ Θ Θ 大 大 大 大 大 大 k k k k k k k k k k k k k k k k k k k k : : : : : : : : : : : : : : : : : In the asymmetric keying environment, the synchronization 'how to make the square wire of the steel step _ under the assumption of asymmetric pass ==:=::r, can accurately measure the one-way delay of each bond, and more I! ^#(clock Skew)^^ ± m 攸 &&, is a problem solved in the technical field. SUMMARY OF THE INVENTION [1] The purpose is to provide a dual slave clock and adopt a one-way =: ^ = clock synchronization method, which can accurately measure the propagation delay when the transmission ===clock' and can be used for symmetry And the asymmetry keying neutralization advantage can be obtained from the technology disclosed in the present invention, up to the above-mentioned or some or all of the objectives or other purposes, the present invention - a method of clock synchronization to provide - slave nodes on the network The day-to-day synchronization, in which the master node has a master clock, and the slave node eight has at least two slave clocks 'and the slave node is obtained by the master node—the synchronization time, the method includes: making the master node by one-way transmission Every - cycle time... -·· j 7 201113664

傳送一同步訊息至從節點;當主節點傳送同步訊息時,主時 鐘提供其同步時間;當從節點接㈣同步訊息 分別量測同步訊息到達之一第一時間以及一第二時= 時知產生n電路設定兩從時鐘所運轉之兩解的比率不相 等其中㈣率之其—為另—的整數倍或分數倍;以及藉由 亡述時間及兩頻率之_,估算主時鐘與兩從時鐘的誤』之 敢大可月b估測值’以校正兩從時鐘。其巾最大可能估測值包 括時間偏移里之估測值、一傳遞延遲時間㈣卿故丨⑽制ay) 之估測值或一時鐘偏斜(cl〇ckskew)之估測值。其中網路為分 散式量測與控_統’纽具有對稱鱗對稱鏈接傳遞延時 的環境。 在貫^例中,主郎點傳送同步訊息至從節點之步驟, 更〇括主卽點長1供一補充訊息(仿110^_叩1^5§呢6),其伴隨 同步訊息而傳送至從節點,概訊息用以紀錄主節點之主時 鐘所量測之同步時間。 〇〇在一實施例中,時鐘產生器電路包括一致能端、一正反 器(Flip-Flop)以及兩及閘(and gate),並且致能端電性連接兩及 ^ ’正反器電性連接兩及閘,以及兩及閘分別電性連接兩從 時鐘。其中正反器為一D型正反器。 ,在一實施例中,時鐘產生器電路包括一致能端、 一相位 鎖定迴路(Phase Locked Loop,PLL)以及兩及閘,並且致能端 電性連接兩及閘’相位敏迴路·連接献閘,以及兩及 閘分別電性連接兩從時鐘。由時鐘產生器電路之致能端輸入 一觸發訊號至兩從時鐘,以及兩從時鐘藉由觸發訊號之觸發 而同時地啟動,使得兩從時鐘具有相同之一時間偏移量。 201113664 為達上述之一或部份或全部目的或是其他目的,本發明 之另厂實施例的-種時鐘同步之網路系統包括一從節點及一 主即點。從即點包括第—從時鐘、第二從時鐘及時鐘產生器 電ΐ,其中第—從時鐘與第二從時鐘分別電性連接於時鐘產 生器電路,時鐘產生器電路用以調整第一從時鐘 率之間的比率不為一。主節點提供—同= =同士步訊息單向地傳遞至從節點,其中當從節點接收同步 ❿ 同觸發訊號’觸發訊號同時致能第 二數r,鐘之頻率為第二從時 之同知:本發明之實施例能夠達到比次微秒更精準 鐘。蝴出時鐘偏斜,以達到準確的同步時 低運息傳遞,不但可以降 對稱鏈接傳遞環境中。 心了以適用於非 【實施方式】 ==:較佳實施例的詳細說明中,將可清= 二7二所提到的方向用語,例如:上、下、Γ、 刖或後等,僅是參考附加圖 工 向用語是用來說明並_來_本發明。° ° m ’使用的方 稱鏈結的環境中’協:::二:::之時鐘同步之方法於對 訊息的方•算其偏移量 201113664 傳遞延糊㈣p蝴Gn dei㈣將會造成無法 、’’ /、s、差’取_兩個從時鐘齡對稱鏈結的假設。 照圖2 ’係、為本發明之時鐘同步之方法採用一主時 ’’里' 叫鐘以單向傳遞訊息之示意圖。特別地是,本發 =述法藉由單向傳遞訊息的方式可得到多個方程式來 =异複數未知之參數,因而求得時鐘之偏移量(dGMset)、 J遞延遲㈣㈣卿―ddays)以及時鐘偏斜(CM skew),以得到準確的同步時鐘。 ,々曰路中具有複數節點’並且每一節點之間用以相互傳 ,接收時間同步訊息(time麵〇——職詩1 為分散式量猶控⑽統,並且具__對稱鏈 接傳遞延時的環境。 一"上°又即點中傳达訊息者為一主節,點池,接收訊息者為 二、即點1% ’並且主節點衞具有一主時鐘20a (master dock) ’從節點廳具有第一從時鐘勘及第二從時鐘通 (I ve士clock)。其中& z代表當第i個同步訊息被傳送時所量 」π門忍1J以及分別代表第一從時鐘以及第二從時 鐘接收到第i個同步訊息時所量測之時間。 —根據準確時間協定進行多次的單向訊息傳遞,主節點池 ^| 3i (synchronization message) 專送補充δ凡息32 (f〇ll〇w-up message)至從節點 l〇b ’其中當主節點1〇a傳送同步訊息w時主時鐘施量 ,一傳运第i個同步訊息31之同步時間^,並且該補充訊 w 32儲存該同步時間& ζ·之數值為心卜此外,從節點 肠接收到第丨個同步訊息31之後,從節點動之第一從時” Γ ·Transmitting a synchronization message to the slave node; when the master node transmits the synchronization message, the master clock provides its synchronization time; when the slave node receives the (four) synchronization message, respectively, the synchronization message arrives at one of the first time and a second time = The n circuit sets the ratio of the two solutions operated by the two slave clocks to be unequal, wherein the (four) rate is an integer multiple or fractional multiple of the other; and the master clock and the two slave clocks are estimated by the dead time and the two frequencies. The mistake of the daring can be estimated by the monthly estimate b to correct the two slave clocks. The maximum estimated value of the towel includes the estimated value in the time offset, the estimated delay value of a transmission delay time (4), and the estimated value of a clock skew (cl〇ckskew). The network is a distributed measurement and control system that has a symmetric scale-symmetric link transmission delay environment. In the example, the main point transmits the synchronization message to the slave node, and further includes the main point length 1 for a supplementary message (like 110^_叩1^5§6), which is transmitted along with the synchronization message. To the slave node, the summary message is used to record the synchronization time measured by the master clock of the master node. In one embodiment, the clock generator circuit includes a uniform energy terminal, a flip-flop (Flip-Flop), and two AND gates, and the enable terminal is electrically connected to the two terminals. The two connections and the two gates are electrically connected to the two slave clocks. The flip-flop is a D-type flip-flop. In one embodiment, the clock generator circuit includes a uniform energy end, a phase locked loop (PLL), and two AND gates, and the enable terminal is electrically connected to the two gates and the 'phase sensitive loop> connection is provided. And the two gates are electrically connected to the two slave clocks. A trigger signal is input from the enable terminal of the clock generator circuit to the two slave clocks, and the two slave clocks are simultaneously activated by the trigger of the trigger signal, so that the two slave clocks have the same one time offset. 201113664 A clock synchronization network system of another embodiment of the present invention includes a slave node and a master point for one or a portion or all of the above or other purposes. The slave point includes a first slave clock, a second slave clock, and a clock generator, wherein the first slave clock and the second slave clock are electrically connected to the clock generator circuit, respectively, and the clock generator circuit is used to adjust the first slave The ratio between clock rates is not one. The master node provides - the same == the same step message is unidirectionally transmitted to the slave node, wherein when the slave node receives the synchronization ❿ and the trigger signal 'trigger signal' simultaneously enables the second number r, the frequency of the clock is the second slave Embodiments of the present invention are capable of achieving a more precise clock than sub-microseconds. Butterfly clock skew is achieved to achieve accurate synchronization when low-speed transmission, not only can reduce the symmetrical link delivery environment. In order to apply to non-embodiment ==: In the detailed description of the preferred embodiment, the directional term mentioned in the following paragraphs can be cleared, for example: up, down, Γ, 刖 or after, only It is a reference to the additional drawing work term is used to explain and _ to the present invention. ° ° m 'Use the name of the chain in the environment of 'Co-::: Two::: The method of clock synchronization in the side of the message ・ Calculate its offset 201113664 Passing the paste (four) p butterfly Gn dei (four) will cause no , '' /, s, difference' take _ two assumptions from the clock-wise symmetric link. According to FIG. 2, the clock synchronization method of the present invention adopts a schematic diagram in which a clock is transmitted in one main direction. In particular, the method of the present invention can obtain a plurality of equations by means of one-way transmission of signals, and the parameters of the unknown and complex numbers are unknown, and thus the offset of the clock (dGMset), J-delay (four) (four)-ddays) And CM skew to get an accurate synchronous clock. There are multiple nodes in the road, and each node is used to transmit each other and receive time synchronization messages (time face 〇 - job poem 1 is decentralized quantity control (10) system, and __ symmetric link transmission delay The environment of "1" is the main node, the point pool, the receiver is two, that is, 1% 'and the main node has a master clock 20a (master dock) 'from The node hall has a first slave clock and a second slave clock, where &z represents the amount when the ith sync message is transmitted, and the first slave clock and The time measured by the second slave clock when the i-th sync message is received. — The one-way message transmission is performed multiple times according to the accurate time protocol. The master node pool ^| 3i (synchronization message) is dedicated to supplement the delta of interest 32 ( F〇ll〇w-up message) to the slave node l〇b 'where the master clock 1〇a transmits the synchronization message w when the master clock is applied, and the synchronization time of the i-th sync message 31 is transmitted, and the supplement讯 w32 stores the synchronization time & ζ· value for the heart, in addition, from the festival After 31, from the first time from "Γ · intestinal receives the first synchronization message nodes move Shu

• * J 201113664 鐘勘以及第二從時鐘3〇b分別量㈣步訊息31到 時間乃I.Z·以及第二時間心/。 第 r 時Γ之關係,計算同步訊息31到達之第一時間 補充訊息32所紀錄之同步時間仏⑽差為主時鐘^ 從時鐘20b的時間偏移量,以及第二時間^ =息32所紀錄之同步時吼调差為主時鐘第^ 參• * J 201113664 The clock survey and the second slave clock 3〇b respectively (four) step message 31 to the time is I.Z· and the second time heart/. At the rth time, the synchronization time 仏(10) recorded by the first time supplementary message 32 at which the synchronization message 31 arrives is calculated as the time offset of the master clock ^ slave clock 20b, and the second time ^= interest 32 record When synchronizing, the difference is the main clock.

==轉气。以及分別計算同步訊息MS ,W以及弟一時間T;2 z與主時鐘2〇== Turn off. And separately calculate the synchronization message MS, W and the younger one time T; 2 z and the main clock 2〇

個同步訊息31之同祕 J , W•,的差’此差為主節點咖傳遞 I至從㈣勘所造成的傳遞延遲,記為主時鐘 兩個從時鐘勘,30b的傳遞延遲時間&。 及 藉由時鐘同步的多次單向訊息傳遞過 從時鐘通或主時鐘施與“ 延遲時_異’其+包含時間偏移量、時鐘偏斜以及傳遞 祕τ二t。如此,第—從時鐘施以及第二從時鐘30b 夕匕3蚪間偏移量、時鐘偏斜和傳遞延遲時間的修正。 配口參照圖3八’係為本發明實施例之電路示意圖。假設 =從時鐘3%所運轉之頻率输^,並且經由主時鐘之 Z頻率標準化’其中ε代表主時鐘與第二從時鐘通之頻 率差,也就是時鐘偏斜。 圖3Α之電路係為一時鐘產生器電路職,此時鐘產生 ° 〇a例如疋—除法器(frequency divider),時鐘產生器 職電性連接第一從時鐘2〇b卩及第二從時鐘皿,並 產生益電路100a包括兩及閘40,41(andgate)、- D型 反器50a (D-type Fiip_F1〇p)、一輸入端51以及一致能辦” 201113664 60’而及間40及41可作為開關(switch)且分別具有兩輸入端 40a,40b及41a,41b與一輸出端4〇c,41c,D型正反器50a具有 一時脈(Clockrate ’也就是時鐘之頻率)輸入端Ck、一資料輸 入端D以及一暫存資料輸出端QB。The synchronization of the same message J, W,, the difference 'this difference is the main node coffee delivery I to the transfer delay caused by (4) survey, recorded as the main clock two slave clock survey, 30b transfer delay time & And multiple times of one-way message transmission by clock synchronization, the slave clock or master clock applies "delay _ different", its + contains time offset, clock skew and transfer secret τ two t. Thus, the first - slave Correction of the clock and the second slave clock 30b offset, clock skew and transfer delay time. The port is referred to as a circuit diagram of the embodiment of the present invention. Assume = slave clock 3% The frequency of operation is converted and normalized by the Z frequency of the main clock, where ε represents the frequency difference between the main clock and the second slave clock, that is, the clock skew. The circuit of Figure 3 is a clock generator circuit. The clock generates a 〇a such as a frequency divider, the clock generator is electrically connected to the first slave clock 2〇b卩 and the second slave clock, and the generating circuit 100a includes two gates 40, 41 (andgate), - D-type inverter 50a (D-type Fiip_F1〇p), an input terminal 51 and the same can be done "201113664 60" and the 40 and 41 can be used as switches and respectively have two input terminals 40a , 40b and 41a, 41b and an output terminal 4〇c, 41c, D type positive and negative 50a has a clock (Clockrate 'i.e. the clock frequency) input terminal Ck, a data input terminal D and a temporary data output terminal QB.

此時鐘產生器電路卿a之電性連接關係如下:輸入端 51 p性連接D型正反器5〇a之時脈輸入端c與及間41之輸 入鈿4lb ’ D型正反器5〇a之資料輸入端D電性連接盆暫存 資料輸出端QB與及閘4〇之輸入端術;以及致能端6〇、電性 連接及閘40之輸入端働與及閘41之輸入端41a,及閘4〇 之輸出端40c f性連接第二從時鐘獅,且及間4ι之輸 41c電性連接第一從時鐘2此。 /本賞施例中,第一從時鐘2〇b之頻率稱為「第一頻率 而弟二從時鐘3〇b之頻率稱為「第二頻率」。時鐘產生器電路 a奴第一從時鐘勘所運轉之第一頻率與第二從時鐘 時鐘之比率為二,因此,由上述假設可知第二從 !。。二為則時鐘產生器電路 從日、轉換之第一週期一分為二;因此,第二 -頻二T運轉之第二頻率為第一從時鐘2〇b戶斤運轉之第 -頻之—倍’因此’第一從時鐘勘所運轉之-第 輸入觸t 並由輸入端51輸入。此外,由致能端60 觸發訊號用以同時致能第—從時鐘滿以 得兩個從時鐘施娜同時開始啟動,因此,兩 記為θ、Γ b,30b具有相同的時間偏移量,其時間偏《被 請參照圖 3B ’係為本發明之另—實施例之時鐘產生器電 201113664 路100b。時鐘產生器電路丨00b包括兩及閘40及41、一相位 鎖定迴路50b (Phase-Locked Loop, PLL)以及一致能端60,並 且及閘40及41可作為開關(switch)且分別具有兩輸入端 40a,40b及41a,41b與一輸出端4〇c,41c ’而相位鎖定迴路5〇b 具有一輸入端In及一輪出端〇ut。輸入端5丨電性連接相位鎖 定迴路50b之輸入端In與及閘41之輸入端41b;相位鎖定迴 路50b之輸出端〇ut電性連接及閘4〇之輸入端4〇a ;以及致 能端60電性連接及閘4〇之輸入端4〇b與及閘41之輸入端 為#分之M’其中V、从皆為整數。因此, 鐘 30b 所運Μ夕 __ 策-& 、 因此,若假設第二從時The electrical connection relationship of the clock generator circuit is as follows: the input terminal 51 is p-connected to the clock input terminal c of the D-type flip-flop 5〇a and the input of the room 41 lb 4lb 'D-type flip-flop 5〇 a data input terminal D electrically connected to the basin temporary storage data output terminal QB and the input terminal of the gate 4; and the enable terminal 6〇, the electrical connection and the input terminal of the gate 40 and the input of the gate 41 41a, and the output terminal 40c of the gate 4 is f-connected to the second slave clock lion, and the 4c input 41c is electrically connected to the first slave clock 2 . In the present embodiment, the frequency of the first slave clock 2〇b is called “the first frequency and the frequency of the second slave clock 3〇b is called the “second frequency”. The clock generator circuit a slave first slave clock survey operates at a ratio of the first frequency to the second slave clock clock, so the second slave is known from the above assumptions. . Second, the clock generator circuit is divided into two from the first cycle of the day and the conversion; therefore, the second frequency of the second-frequency two-T operation is the first frequency of the first slave clock 2〇b The 'first' is first operated from the clock survey - the first input t and input by the input 51. In addition, the enable terminal 60 triggers the signal to simultaneously enable the first-slave clock to be full, and the two slave clocks start simultaneously. Therefore, the two records are θ, Γ b, and 30b have the same time offset. The time offset is referred to as FIG. 3B as another embodiment of the present invention. The clock generator circuit 201113664 is 100b. The clock generator circuit 丨00b includes two gates 40 and 41, a phase-locked loop 50b (PLL) and a uniform energy terminal 60, and the gates 40 and 41 can function as switches and have two inputs respectively. The ends 40a, 40b and 41a, 41b and an output terminal 4〇c, 41c' and the phase locking loop 5〇b have an input terminal In and a wheel terminal utut. The input terminal 5 is electrically connected to the input terminal In of the phase lock loop 50b and the input terminal 41b of the AND gate 41; the output terminal 〇ut of the phase lock loop 50b is electrically connected and the input terminal 4〇a of the gate 4〇; The input terminal 4〇b of the terminal 60 and the input terminal of the gate 41 and the input terminal of the gate 41 are M minutes, where V and slave are integers. Therefore, the clock 30b is shipped __ policy-&, therefore, if the second slave is assumed

• 41a ’及閘40之輸出端4〇c電性連接第二從時鐘30b,且及 閘41之輸出端41c電性連接第一從時鐘2〇b。 於此實施例中,時鐘產生器電路腿設定第-從時鐘 2〇b所運轉之第一頻率與第二從時鐘通之第二頻率之比率The output terminal 41c of the gate 40 is electrically connected to the second slave clock 30b, and the output terminal 41c of the gate 41 is electrically connected to the first slave clock 2〇b. In this embodiment, the clock generator circuit legs set the ratio of the first frequency of the first-slave clock 2〇b to the second frequency of the second slave clock.

>二從時鐘20b以及主時鐘2〇a之間 《二從時鐘20b接收到由主時鐘2〇a 201113664 所傳送之第i個同步訊息,因為時鐘偏斜的關係,使得第二 從時鐘20b與主時鐘20a之間產生一時間差 同樣地,第-從時鐘以及主時鐘之間的時間關係:同圖^所 示。因此,第i個同步訊息被第—從時鐘以及第二從時鐘接 收後,再藉由圖3A之時鐘產生器電路1〇〇&所假設之第二… 日夺鐘30b所運轉之一第二頻率為以幻,而第一從時鐘^ 所運轉之-第-頻率為职可得到下列兩個方程式⑶> Two slave clocks 20b and the master clock 2〇a "the second slave clock 20b receives the ith sync message transmitted by the master clock 2〇a 201113664, because of the clock skew relationship, the second slave clock 20b Similarly to the time difference generated between the master clock 20a, the time relationship between the first slave clock and the master clock is as shown in FIG. Therefore, after the ith synchronization message is received by the first slave clock and the second slave clock, the clock generator circuit 1 of FIG. 3A is assumed to be the second one of the clocks 30b. The second frequency is illusory, and the first two frequencies from the clock-operated - the first frequency can get the following two equations (3)

Tsl.i = 2^(J+ ^(Tm.i+Dm2J+ φχΑ (5) TS2-i -(7+ £')*(Tm.i+Dm2s)+ Θλ- φ2ι (6) 其中Α,/以及yd分別代表於—特定期間中第— 鐘以及第二從時鐘之隨機的第―縣以及第二誤差細此: 卿rs)。倾第-誤差心的組柄—高崎機變數之函數 α2。 何卞岣值以 因為第二從時鐘之第二頻率係為第一從時鐘之第 的二分之—倍,可知第二從時鐘所運轉之第二 一 ε與第一 時鐘所運轉之-第-週期的兩倍,因為第二從時鐘^第二= 期的正緣(positive edge)為第-從時鐘之第—週期的兩件了伟 二從時鐘之第二誤差〜具有第—從時鐘的 值仏。利用方程式⑹減去絲式⑺可得時鐘騎㈣ 誤差pbz·及第二誤差的關係式: (7+ £)^(Tm.HDm2s) = TsX.i-Ts2.i-¥ φ2^ ^ 再將方程式⑺插入方程式(6): 201113664 ⑻ ^~2*Ts2.i - Ts\.i + φνι. 2* φ2.\ 因為第-誤差~•以及第二誤差〜為高斯隨機變數, 因此5心〜·也是高斯隨機變數,在第 從時鐘接受侧步訊息後,時間偏繼之:最里二第: 測值(maximum iikelih〇〇d)可利用方程式(8)計算得到:此 ΘTsl.i = 2^(J+ ^(Tm.i+Dm2J+ φχΑ (5) TS2-i -(7+ £')*(Tm.i+Dm2s)+ Θλ- φ2ι (6) where Α, / and yd Representing the first-time and the second error of the first clock in the specific period and the second slave clock: Qing rs). The handle of the tilt-error heart-function of the Takasaki machine variable α2. The 岣 value is because the second frequency of the second slave clock is the second of the first slave clock, and the second ε of the second slave clock is operated with the first-cycle of the first clock. Twice, because the positive edge of the second slave clock ^ second = period is the first of the first-slave clock - the second of the period of the second clock from the second error of the clock ~ has the value of the first - slave clock 仏Use Equation (6) minus the wire type (7) to get the clock ride (4) The relationship between the error pbz· and the second error: (7+ £)^(Tm.HDm2s) = TsX.i-Ts2.i-¥ φ2^ ^ Insert equation (7) into equation (6): 201113664 (8) ^~2*Ts2.i - Ts\.i + φνι. 2* φ2.\ Because the first-error~• and the second error~ are Gaussian random variables, so 5 hearts ~· is also a Gaussian random variable, which is connected to the slave clock. After receiving the side-step message, the time is reversed: the most second: the measured value (maximum iikelih〇〇d) can be calculated using equation (8): this Θ

N /=1 /=1 (9) 利用方程式⑺,將主時鐘傳送帛i個 程式中減去主時鐘傳送第W個同步訊息^=斤= 列方程式: 餘$ ’可侍下 r;+ r^;>rri2,,rs,r/.7;; +(^2·ΐ- φ 1.(1-1))- (φ\Λ- φν(ΐ.η\ (10) …因為⑷/ π㈣切_也是高斯隨機變數,方 程式(10)得出一時鐘偏斜ε之最大可能估測值: εN /=1 /=1 (9) Using equation (7), transfer the master clock to 帛i programs minus the master clock to transmit the Wth sync message ^=jin = column equation: the remaining $ ' can serve r; + r ^;>rri2,,rs,r/.7;; +(^2·ΐ- φ 1.(1-1))- (φ\Λ- φν(ΐ.η\ (10) ... because (4)/ π(four)cut_ is also a Gaussian random variable, and equation (10) yields the maximum possible estimate of a clock skew ε: ε

Zt2 ^Λ ~ii£li))^f=2 (Ts2 d - ts2 .〇· -1}) ΣΝ -------- yJ /=2 ~ Tm.(/ - 1)) ~ 1 =ffi usL· l) - (r。.n-t\ .n ^~TmA) 一1 (11: 可能=:由方程式(7)可得出-傳遞延遲時間“ m2sZt2 ^Λ ~ii£li))^f=2 (Ts2 d - ts2 .〇· -1}) ΣΝ -------- yJ /=2 ~ Tm.(/ - 1)) ~ 1 = Ffi usL· l) - (r..nt\ .n ^~TmA) A 1 (11: Possible =: can be derived from equation (7) - transfer delay time " m2s

D (12) 在-實施例中’上述方程式亦可藉由圖3B之時鐘產生 r r^- 15 201113664 器電路100b的關係式寫出。 因此’本發明利用雙重從時鐘的方式來能遵從IEEE i588 之規範而達到更優於準確時間協定之效能,利用兩個從時鐘 的頻率為鲨數倍數或一分數倍數之關係,提出時間偏移量 0、時鐘偏斜ε以及傳遞延遲時間4之最大可能估測值里 使得兩嫩時鐘2〇b,3〇b能夠校正其時間,而與主時鐘施 同步,而且也能延長同步訊息的傳送間隔,進而降低運管旦 及網路頻寬的需求。 开里D (12) In the embodiment, the above equation can also be written by the relationship of the clock generation r r^- 15 201113664 circuit 100b of Fig. 3B. Therefore, the present invention utilizes a dual slave clock to comply with the IEEE i588 specification to achieve better performance than an accurate time protocol, and utilizes the relationship between the frequency of the two slave clocks as a multiple of a shark or a fractional multiple to propose a time offset. The maximum possible estimate of the amount 0, the clock skew ε, and the transfer delay time 4 allows the two tender clocks 2〇b, 3〇b to correct their time, synchronize with the master clock, and also extend the transmission of the synchronization message. Interval, which in turn reduces the need for transport and network bandwidth. Kaili

此外’本發明可適用於對稱及非對稱鏈接傳遞延時的環 境中,非龍鏈接傳遞延時的魏例如為分散式量測鮮制 系統,達成通訊鏈接的單向延時(〇ne_way _,〇 測’因而能夠使得即時控制及量測系統達到較佳的控制,不 =以降低運算量,更可以減少網路贼的需求 ;!低價的裝置上’以及使用於乙太網路或是群體廣播' (multicast)網路中。 ’货 上所述者,僅為本發明之較佳實施例而已,當不能 == 月實施之?,即大凡依本發明申請專利範圍 明i利^所作之料的等效變化與修飾,皆仍屬本發 範圍不須達成本發明所揭露實?:戈,專利 卜摘要心和標題僅以來辅助專利文件搜 用來限制本發明之權利範圍。 、’隹 【圖式簡單說明】 遞之=係為__時鐘同步之方法呈現雙向訊息傳 201113664 圖 择係為^明之時個步之方法採用雙重從時鐘呈 現單向傳遞之示意圖 圖3A,係為本發明實施例之電路示意圖 圖3B,係為本發明另一實施例之電雖示 圖4’係為從時鐘以及主時鐘之間的時 【主要元件符號說明】 關係之示意圖 意圖; 以及In addition, the invention can be applied to the environment of symmetric and asymmetric link transmission delay, and the Wei of the non-dragon link transmission delay is, for example, a decentralized measurement fresh system, and the one-way delay of the communication link is reached (〇ne_way _, speculation) Therefore, it is possible to achieve better control of the instant control and measurement system, not to reduce the amount of calculation, and to reduce the demand of the network thief; low-cost device 'and use for Ethernet or group broadcast' (multicast) in the network. 'The goods mentioned above are only the preferred embodiment of the present invention, when it can not be implemented == month, that is, according to the material of the invention patent application scope Equivalent changes and modifications are still within the scope of the present invention. The invention is not limited to the scope of the present invention. Brief description of the method] The method of the __clock synchronization method presents a two-way message transmission 201113664 The method of the method is a schematic diagram of the method of unidirectional transmission using a dual slave clock. Figure 3A is the implementation of the present invention. Electrical circuit schematic of the embodiment of Figure 3B, the system of the present invention, although a further embodiment shown in FIG. 4 'from between the lines when the master clock and the symbol clock DESCRIPTION The main components of the schematic Intention; and

主節點10a 從節點10bMaster node 10a slave node 10b

主時鐘20a (第一)從時鐘20b 弟一從時鐘30b 同步訊息21 補充訊息22 請求延遲訊息23 響應延遲訊息24 時鐘產生器電路l〇〇a,l〇〇b 兩及閘40,41 D型正反器50a 相位鎖定迴路5〇b 輪入端51 致能端60 輸入端 40a,40b,41a,41b 201113664 輸出端40c,41c (主時鐘之)初始時間 (從時鐘之)初始時間Master clock 20a (first) slave clock 20b slave one slave clock 30b sync message 21 supplemental message 22 request delay message 23 response delay message 24 clock generator circuit l〇〇a, l〇〇b two and gate 40, 41 type D Positive and negative device 50a phase lock circuit 5〇b wheel input terminal 51 enable terminal 60 input terminal 40a, 40b, 41a, 41b 201113664 output terminal 40c, 41c (main clock) initial time (from the clock) initial time

(主節點傳送第i個同步訊息同步訊息之)時間rw.z· (第i個同步訊息到達從節點)之時間7;./, L.z: 7;2./ (從節點傳送請求延遲訊息之)發送時間Γ J (請求延遲訊息到達主節點之)接收時間广; 傳遞延遲時間D m2s,Ds2m 〇 偏移量β 單向延時 時鐘偏斜£ 時脈輸入端Ck 資料輸入端D 暫存資料輸出端QB 第一誤差%,/ 第二誤差内,/ 18(Time at which the master node transmits the i-th sync message synchronization message) rw.z· (the i-th sync message arrives at the slave node) 7;./, Lz: 7; 2./ (Transfer request delay message from the node) ) Transmission time Γ J (request delay message arrives at the master node) Receive time is wide; Transfer delay time D m2s, Ds2m 〇 Offset β One-way delay clock skew £ Clock input Ck Data input D Temporary data output End QB first error %, / second error, / 18

Claims (1)

201113664 七、申請專利範圍: 種時鐘同步之方法,提供—網路上之—從節點與一 即點的時鐘同步’射該主節點具有—主時鐘,而該 時^有至少兩從時鐘,並且該從節點由該主節點取得-同步 時間,該方法包括: ^ 從節點 藉由單向傳遞之方式,使該主節點傳送—同步訊息至該201113664 VII. Patent application scope: A method for synchronizing clocks, providing - on the network - synchronizing the slave node with a point clock - the master node has a master clock, and at this time ^ has at least two slave clocks, and the The slave node obtains the synchronization time by the master node, and the method includes: ^ the slave node transmits the synchronization message to the node by means of one-way transmission 間;當該⑽轉送該同步訊息時,該辦鐘提供該同步時 當該㈣點接㈣辆步訊息之後,該^從時鐘分別量 通》亥同步H到達之—第—時間以及—第二時間; 利用-時鐘產生|g電路設定該兩從時鐘所運轉之兩頻 準,使得該兩頻率不相等;以及 藉由該同步時間、該第—時間、該第二時間及該兩頻率 =運算_,估算該主時鐘與該兩從時鐘的誤差之一最大可 能估測值,以校正該兩從時鐘。 t如申請專利範圍第i項所述之時鐘同步之方法,其中該主 卽點傳送一同步訊息至該從節點之步驟,更包括·· 郎..-έ知:供一補充5孔息(制ow_Up message),其伴隨該同步 況心而傳送至賴點’該補充訊息用以紀錄該主節點之該 主時鐘所量測之該同步時間。 3.如申請專利細第1項所述之時鐘同步之方法,其中該時 鐘產生器電路包括-致能端、一正反器(Flip F1〇p)以及兩及閘 (and gate),並且該致旎端電性連接該兩及閘’該正反器電性 201113664 連接S亥兩及閘,以及該兩及閘分別電性連接該兩從時鐘。 4. 如申請專利範圍第3項所述之時鐘同步之方法,其中該正 反器係為一 D型正反器。 5. 如申s青專利|巳圍第1項所述之時鐘同步之方法,其中該時 知產生减路包括-致能端、-她鎖定祕(phase_L〇cked Loop,PLL)以及兩及閘(and gate),並且該致能端電性連接該When the (10) forwards the synchronization message, when the clock provides the synchronization, when the (four) point is connected to the (four) step message, the ^ slave clock is separately measured, and the second synchronization H arrives - the first time and the second Using the -clock generation |g circuit to set the two frequencies at which the two slave clocks are operated such that the two frequencies are not equal; and by the synchronization time, the first time, the second time, and the two frequencies = operation _, estimating the maximum possible estimate of the error between the master clock and the two slave clocks to correct the two slave clocks. The method of clock synchronization as described in claim i, wherein the main point transmits a synchronization message to the slave node, and further includes: · Lang.. - know: for a supplement of 5 holes ( The ow_Up message is transmitted to the point of attachment with the synchronization condition. The supplementary message is used to record the synchronization time measured by the master clock of the master node. 3. The method of clock synchronization as described in claim 1, wherein the clock generator circuit comprises an enable terminal, a flip-flop (Flip F1〇p), and two gates (and gates), and The two terminals are electrically connected to the two gates. The flip-flop device 201113664 is connected to the two gates, and the two gates are electrically connected to the two slave clocks. 4. The method of clock synchronization as described in claim 3, wherein the flip-flop is a D-type flip-flop. 5. The method of clock synchronization as described in claim 1 of the patent application, wherein the generation of the subtraction includes - enabling, - locking phase (PLL) and two gates And gate, and the enable terminal is electrically connected to the 兩及閘位鎖定迴路概連接該兩及閘,以及該兩及間 分別電性連接該兩從時鐘。 6. 如申請專利範圍第3或5項所述之時鐘同步之法,更包括: 由撕缝生$電路之該致能人—觸發峨至該兩從時 鐘;以及 二兩;^日彳鐘藉由δ細發讯號之觸發關時地啟動,使得該兩 從時鐘具有相同之一時間偏移量。 7.如申請專利範圍第i項所述之時鐘同步之方法,其中 大可能估測值包括-時間偏移量之估測值、—傳遞延遲時間 =pa_〇n delay)之估測值或一時鐘偏_〇冰洗㈣之估測 ^如申請專利顧第丨項所述之時鋼步之方法,1中 路係為一分散式量測與控制系統。 4 11申__第1項所述之時鐘同步之方法,1忖網 路具有-對稱或一非對稱鏈接傳遞延時的環境。…、周 :如申請專利範圍第〗項所述之 t時鐘所運轉之該_率之其—為其另—的整數倍=數亥 Γ Γ:· 20 201113664 一種時鐘同步之網路系統,包括: 一從節點’包括一第一從時 產生器電路,j:令今當/M '第一攸時鐘及一時鐘 接於該時鐘Μ 2第一攸時鐘與該第二從時鐘分別電性連 恢仏邊日封里產生态電路,該時 從時鐘之醉μ 產㈣路用簡整該第一 及之頻革與δ亥第二從時鐘的頻率之間的比率不為一;以 -主節點,提供—同步訊息 至該從節點, 步汛息係早向地傳遞The two gates are connected to the two gates, and the two slaves are electrically connected to the two slave clocks. 6. The method of clock synchronization as described in claim 3 or 5 of the patent application, further includes: the enabler of the circuit by the tear seam-triggering to the two slave clocks; and two two; The triggering of the delta fine signal is turned off, so that the two slave clocks have the same one time offset. 7. The method of clock synchronization as described in claim i, wherein the most probable estimate comprises an estimate of the time offset, a transfer delay time = pa_〇n delay, or Estimation of a clock bias _ 〇 洗 ( (4) ^ As for the method of applying the steel step as described in the patent Gu Diyu, the middle road system is a decentralized measurement and control system. 4 11 __ The method of clock synchronization described in item 1, the 1 忖 network has a symmetric or an asymmetric link transfer delay environment. ..., week: as the t-clock described in the application for patent scope, the t-clock is operated as its other integer multiple = several times Γ: · 20 201113664 A clock-synchronized network system, including : a slave node 'includes a first slave generator circuit, j: so that the first clock and a clock are connected to the clock Μ 2 the first clock is electrically connected to the second slave clock Recovering the state circuit in the day-to-day seal, at which time the ratio between the frequency of the first and the frequency and the frequency of the second slave clock is not one; Node, providing - synchronizing messages to the slave node, the step message is passed early 其中,當該從節點接收該同步訊息時,該 二,虎,該觸發訊號同時致能該第-從時鐘與該第二 12.如申請專利範圍第n項所述之時鐘同步之網路系統,里 鐘経n電路包括—魏端、—正反器以及兩及閉: 端電性連接該兩及問,該正反器電性連接該兩及 閘,以及③兩及閘分職輯接該兩從時鐘。 13:如申轉利減第12項所述之時鐘同步之網路系統,其 中s亥正反器係為一 d型正反器。 H.如申請專利範圍第U項所述之時鐘 時鐘產生ϋ電路包括-賴端一她較迴路从兩中及亥 閘’亚且紐能端電性連接該兩及閘,該她鎖定迴路電性 連接該兩及閘,以及該兩及閘相紐連接該兩從時鐘。 15.如申請專利範圍第卩項所述之時鐘同步之網路系統,盆 中該第-從時鐘之頻率為該第二從時鐘之頻率的整數 數倍。When the slave node receives the synchronization message, the trigger signal simultaneously enables the first slave clock to be synchronized with the second clock system as described in claim n. , Zhong Zhonghao n circuit includes - Wei end, - forward and reverse device and two and closed: the terminal is electrically connected to the two and the question, the flip-flop is electrically connected to the two gates, and the two two gates and the gates are connected The two slave clocks. 13: If the clock synchronization network system described in Item 12 is applied, the shai positive and negative device is a d-type flip-flop. H. The clock clock generating circuit as described in the U of the patent application scope includes: - the terminal is connected to the two gates, and the circuit is electrically connected to the two gates. The two gates are connected, and the two slave gates are connected to the two slave clocks. 15. The network system for clock synchronization as described in claim 2, wherein the frequency of the first-slave clock is a multiple of an integer multiple of the frequency of the second slave clock.
TW98133950A 2009-10-07 2009-10-07 Method of clock synchronization and internet system using the same TWI421667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98133950A TWI421667B (en) 2009-10-07 2009-10-07 Method of clock synchronization and internet system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98133950A TWI421667B (en) 2009-10-07 2009-10-07 Method of clock synchronization and internet system using the same

Publications (2)

Publication Number Publication Date
TW201113664A true TW201113664A (en) 2011-04-16
TWI421667B TWI421667B (en) 2014-01-01

Family

ID=44909714

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98133950A TWI421667B (en) 2009-10-07 2009-10-07 Method of clock synchronization and internet system using the same

Country Status (1)

Country Link
TW (1) TWI421667B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI456920B (en) * 2012-02-01 2014-10-11
TWI469072B (en) * 2013-01-08 2015-01-11 Chi Ching Liu Managing method for time management and application program for the same
TWI484811B (en) * 2012-09-11 2015-05-11 Mitsubishi Electric Corp Correction parameter calculation device and correction parameter calculation system and correction parameter calculation method and computer program product

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6121816A (en) * 1999-04-23 2000-09-19 Semtech Corporation Slave clock generation system and method for synchronous telecommunications networks
GB9930132D0 (en) * 1999-12-22 2000-02-09 Ericsson Telefon Ab L M Telecommunication network synchronisation
DE10232988B4 (en) * 2002-07-19 2007-11-22 Infineon Technologies Ag Method and device for the clocked output of asynchronously received digital signals
US7483448B2 (en) * 2004-03-10 2009-01-27 Alcatel-Lucent Usa Inc. Method and system for the clock synchronization of network terminals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI456920B (en) * 2012-02-01 2014-10-11
TWI484811B (en) * 2012-09-11 2015-05-11 Mitsubishi Electric Corp Correction parameter calculation device and correction parameter calculation system and correction parameter calculation method and computer program product
US10197974B2 (en) 2012-09-11 2019-02-05 Mitsubishi Electric Corporation Correction parameter calculation system and method
US10353346B2 (en) 2012-09-11 2019-07-16 Mitsubishi Electric Corporation Correction parameter calculation device, system, correction parameter calculation method, and computer program
TWI469072B (en) * 2013-01-08 2015-01-11 Chi Ching Liu Managing method for time management and application program for the same

Also Published As

Publication number Publication date
TWI421667B (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN102104475B (en) IEEE 1588-based synchronization system and synchronization method thereof
US8355476B2 (en) Timestamping method and apparatus for precise network synchronization
US10432336B2 (en) System and method of synchronizing a distributed clock in a packet-compatible network
CN103929293B (en) Asymmetrically-delayed time synchronization method and system
CN104737490B (en) Communicator, communication system and method for synchronizing time
CN102013931B (en) Time synchronization method and system, salve timing device and main timing device
CN104836630B (en) IEEE1588 clock synchronization system and implementation method therefor
US11588568B2 (en) Packet processing method and network device
CN110324889A (en) Clock synchronizing method, communication device and communication equipment
WO2018082665A1 (en) Frequency synchronization method and slave clock
JP2002185489A (en) Synchronizing method and synchronizer
WO2013020499A1 (en) Method and device for implementing automatic compensation for asymmetric delay of 1588 link
CN107579793A (en) The optimization method of time synchronized, device and equipment between a kind of communication network device
CN104158647A (en) Clock synchronizing method for wireless sensing network
CN102983927B (en) Time compensation method for master-slave clock timing based on IEEE 1588 protocol
CN104754722B (en) A kind of method for synchronizing time towards stratification heterogeneous network
WO2012065334A1 (en) Method, device and system for realizing time synchronization in time division multiplexing network
TW201603493A (en) Clock generator, communication device and sequential clock gating circuit
CA3098553A1 (en) Timing synchronization over cable networks
WO2014117489A1 (en) Clock synchronization method and device
WO2008098450A1 (en) A method, a system and a device for implementing time synchronization in communication network
CN109565772A (en) Method for synchronizing time, equipment and storage medium
EP1649623A1 (en) Network node
Exel et al. Asymmetry mitigation in IEEE 802.3 Ethernet for high-accuracy clock synchronization
TW201113664A (en) Method of clock synchronization and internet system using the same

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees