JP2011023788A - Network synchronization method and synchronization circuit - Google Patents

Network synchronization method and synchronization circuit Download PDF

Info

Publication number
JP2011023788A
JP2011023788A JP2009164504A JP2009164504A JP2011023788A JP 2011023788 A JP2011023788 A JP 2011023788A JP 2009164504 A JP2009164504 A JP 2009164504A JP 2009164504 A JP2009164504 A JP 2009164504A JP 2011023788 A JP2011023788 A JP 2011023788A
Authority
JP
Japan
Prior art keywords
slave
master
path
history
counter value
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2009164504A
Other languages
Japanese (ja)
Other versions
JP2011023788A5 (en
Inventor
Yuji Fukami
裕二 深見
Kazuhiro Mima
和大 美馬
Naoki Suzuki
直樹 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi ULSI Systems Co Ltd
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 Hitachi ULSI Systems Co Ltd filed Critical Hitachi ULSI Systems Co Ltd
Priority to JP2009164504A priority Critical patent/JP2011023788A/en
Publication of JP2011023788A publication Critical patent/JP2011023788A/en
Publication of JP2011023788A5 publication Critical patent/JP2011023788A5/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network synchronization method and a synchronization circuit which achieve high responsiveness by a simple configuration. <P>SOLUTION: A path jitter is calculated from a master count value of a synchronizing packet and a slave counter value at this timing. A plurality of path jitters including the latest one are stored. A minimum path jitter out of the plurality of stored path jitters is extracted. A predictive path jitter is formed from differences between respective path jitters and the minimum path jitter. The predictive path jitter is added to the slave counter value to calculate a corrected slave counter value. A plurality of corrected slave counter values including the latest one are stored. Master counter value of a plurality of synchronizing packets including the latest one are stored. A frequency shift is calculated from a ratio of the difference between two stored corrected slave counter values and the difference between two master counter values corresponding to the corrected slave counter values, to perform network synchronization. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、ネットワーク同期方法と同期化回路に関し、例えばネットワークを通して周期的に受信された同期パケットに対応したクロックを生成するネットワーク同期方法と同期化回路に利用して有効な技術に関するものである。   The present invention relates to a network synchronization method and a synchronization circuit, for example, a technique effective for use in a network synchronization method and a synchronization circuit for generating a clock corresponding to a synchronization packet periodically received through a network.

通信網に接続された各通信端末等における時刻を管理する通信装置間の時刻管理方式として特許文献1がある。この特許文献1においては、通信網での遅延による要求局、応答局双方で生じる時刻誤差を低減させるために、応答局から送信された時刻データに時刻通知の要求送信から応答受信までの経過時間の半分の時間を加えて、新たに自局で管理する時刻データとする。また、過去に得られた前記補正済の時刻データの複数個と、これらの時刻データを受信した時の自局での時刻データの関係から時刻算出関数を導出して、この時刻算出関数に自局での現在時刻データを入力することにより正しいと予測される時刻データを得るというものである。   Patent Document 1 discloses a time management method between communication devices that manages time in each communication terminal connected to a communication network. In Patent Document 1, in order to reduce the time error generated in both the request station and the response station due to delay in the communication network, the elapsed time from the request transmission of the time notification to the response reception in the time data transmitted from the response station The time data to be newly managed by the own station is added. In addition, a time calculation function is derived from the relationship between a plurality of corrected time data obtained in the past and the time data at the local station when these time data are received, and the time calculation function is automatically included in the time calculation function. Time data that is predicted to be correct is obtained by inputting the current time data at the station.

特開平04−281639号公報Japanese Patent Laid-Open No. 04-281439

図6には、本願発明に先立って検討された同期システムの概略ブロック図が示されている。同図において、想定したイーサネット(登録商標)又はEthernet(登録商標)同期システム条件は、以下のようなものとする。上記ネットワークに接続される装置は、1台のマスタ装置と1台以上のスレーブ装置である。マスタ装置とスレーブ装置それぞれにクロック発振器をもち、それぞれのクロック発振器の出力するクロックで動作する。システムのクロックマスタとなる装置をマスタ装置とする。マスタ装置は、入力するクロックで動作するマスタカウンタを持つ。スレーブ装置は、入力クロックで動作するスレーブカウンタと同期カウンタを持つ。スレーブ装置は、マスタ装置のクロックに追従するための同期機構を持つ。同期機構はマスタカウンタとスレーブカウンタの差を計り、同期カウンタを補正し、マスタカウンタに同期カウンタを追従させ、マスタカウンタと同期カウンタ間で同期を取る。   FIG. 6 shows a schematic block diagram of a synchronization system examined prior to the present invention. In the figure, the assumed Ethernet (registered trademark) or Ethernet (registered trademark) synchronization system conditions are as follows. The devices connected to the network are one master device and one or more slave devices. Each of the master device and the slave device has a clock oscillator, and operates with a clock output from each clock oscillator. A device that becomes a clock master of the system is a master device. The master device has a master counter that operates with an input clock. The slave device has a slave counter and a synchronous counter that operate with an input clock. The slave device has a synchronization mechanism for following the clock of the master device. The synchronization mechanism measures the difference between the master counter and the slave counter, corrects the synchronization counter, causes the master counter to follow the synchronization counter, and synchronizes between the master counter and the synchronization counter.

上記発振器はそれぞれの装置毎に個体差があり、周波数は一致していない。例えば、周波数偏差0〜100ppm程度である。上記ネットワークは、パケット中継器で装置間をつないでいる。パケット中継器は同期パケット(以下、SYNCパケットという)や通常パケットを中継する。SYNCパケットはマスタ装置から定期的に発行し、スレーブ装置に送る。例えば、SYNCパケット送信間隔は、10μs〜60s である。スレーブ装置はSYNCパケットからマスタ装置との位相差や周波数偏差を計る。SYNCパケット内に、マスタ装置のタイムスタンプ(マスタカウンタのカウント値)を含む。上記システム同期で同期が取れている状態とは、マスタ装置のマスタカウンタとスレーブ装置の同期カウンタのカウント値の差が予め想定した範囲に収まっている状態を言う。すなわち、マスタカウンタに同期カウンタが追従し、カウント値の差分が小さい状態を言う。   The oscillators have individual differences for each device, and the frequencies do not match. For example, the frequency deviation is about 0 to 100 ppm. The network connects devices with a packet relay. The packet relay relays synchronous packets (hereinafter referred to as SYNC packets) and normal packets. The SYNC packet is periodically issued from the master device and sent to the slave device. For example, the SYNC packet transmission interval is 10 μs to 60 s. The slave device measures the phase difference and frequency deviation from the master device from the SYNC packet. The time stamp of the master device (the count value of the master counter) is included in the SYNC packet. The state in which synchronization is achieved by the system synchronization refers to a state in which the difference between the count values of the master counter of the master device and the synchronization counter of the slave device is within a previously assumed range. That is, it means a state in which the synchronous counter follows the master counter and the difference between the count values is small.

スレーブ装置がマスタクロックに同期するには、マスタカウンタとスレーブカウンタの関係をSYNCパケットを通じて必要な情報1〜3を収集する。情報1は、マスタクロックとスレーブクロックの周波数偏差、情報2はマスタカウンタとスレーブカウンタの位相差(カウント値の差分)及び情報3はSYNCパケットの経路ディレイである。本願発明では、上記情報1〜3のうち主として上記情報1である周波数偏差を求める手法に関するものである。   In order for the slave device to synchronize with the master clock, necessary information 1 to 3 is collected through the SYNC packet for the relationship between the master counter and the slave counter. Information 1 is a frequency deviation between the master clock and the slave clock, information 2 is a phase difference (count value difference) between the master counter and the slave counter, and information 3 is a path delay of the SYNC packet. The present invention relates to a method for obtaining a frequency deviation which is mainly the information 1 among the information 1 to 3 described above.

スレーブ装置がマスタクロックの周波数を知る手順は以下の通りである。手順1として、マスタ装置から定期的にSYNCパケットを送信し、スレーブ装置が受信する。手順2として、スレーブ装置はSYNCパケット内に含むマスタ装置のタイムスタンプと自装置の同期カウンタと比較する。手順3として、スレーブ装置は比較した結果、マスタ装置のタイムスタンプが進んでいれば、スレーブ装置の同期カウンタを進め、遅れていれば、スレーブ装置の同期カウンタを遅らす補正をする。   The procedure for the slave device to know the frequency of the master clock is as follows. As procedure 1, a SYNC packet is periodically transmitted from the master device, and the slave device receives it. As a procedure 2, the slave device compares the time stamp of the master device included in the SYNC packet with the synchronization counter of its own device. As a procedure 3, as a result of comparison, if the time stamp of the master device is advanced, the slave device advances the synchronization counter of the slave device, and if it is delayed, the slave device corrects to delay the synchronization counter of the slave device.

上記手順1〜3にあるカウンタ補正について、ネットワーク同期をする上でカウンタ補正の考慮すべき点は、急激なカウンタ補正は避けることである。急激な補正を行うと、カウンタ値に従って動作している周辺回路の誤動作につながるので、緩やかなカウンタ補正が求められる。緩やかな補正を行うためには、小さい補正を定期的に行う必要がある。定期的な補正はマスタカウンタとスレーブカウンタ間の周波数偏差がわかれば、偏差に合わせた小さい補正を定期的に行うことができる。   Regarding the counter correction in the above procedures 1 to 3, a point that should be considered when performing network synchronization is to avoid abrupt counter correction. If abrupt correction is performed, it leads to a malfunction of the peripheral circuit operating according to the counter value, so that gradual counter correction is required. In order to perform a gradual correction, it is necessary to periodically perform a small correction. If the frequency correction between the master counter and the slave counter is known, the periodic correction can be periodically performed in accordance with the deviation.

図7には、経路遅延一定の場合のマスタカウンタとスレーブカウンタの関係の説明図が示されている。上記ネットワーク同期を理解する上で必要なマスタカウンタとスレーブカウンタの関係を検証する。同図のように経路遅延一定(SYNCパケットの揺らぎ無し)ケースでは、マスタ装置から先頭のSYNCパケット(s0)を送信する。s0のマスタカウント値は‘0’とし、スレーブ装置はs0のパケット(先頭パケット)受信した時だけスレーブカウンタ値にセットする。SYNCパケット(s0〜s5)を送信した時のマスタ装置とスレーブ装置のカウンタの関係は同図に示したようになる。同図では、SYNCパケット中継経路の通過時間は一定としている。   FIG. 7 shows an explanatory diagram of the relationship between the master counter and the slave counter when the path delay is constant. The relationship between the master counter and the slave counter necessary for understanding the network synchronization is verified. In the case where the path delay is constant (no SYNC packet fluctuation) as shown in the figure, the first SYNC packet (s0) is transmitted from the master device. The master count value of s0 is set to “0”, and the slave device sets the slave counter value only when receiving the packet (head packet) of s0. The relationship between the counters of the master device and the slave device when the SYNC packet (s0 to s5) is transmitted is as shown in FIG. In the figure, the transit time of the SYNC packet relay route is constant.

図7から、マスタ装置のマスタカウンタとスレーブ装置のスレーブカウンタ関係を式で表すと(式1)のようになる。(式1)で、a はマスタ装置入力周波数とスレーブ装置入力周波数の比であり、b はマスタ装置からスレーブ装置までの経路遅延である。
Y = aX + b ・・・・・(式1)
From FIG. 7, the relationship between the master counter of the master device and the slave counter of the slave device can be expressed as (Equation 1). In (Equation 1), a is the ratio of the master device input frequency to the slave device input frequency, and b is the path delay from the master device to the slave device.
Y = aX + b (Formula 1)

上記a の値から、スレーブ装置の入力クロックを基準にして、マスタクロックとスレーブクロックの周波数偏差は、(式2)のようになる。(式2)からマスタ装置とスレーブ装置の周波数が等しければa は1 になり、偏差 =0 になる。
周波数偏差= a-1 ・・・・・(式2)
Based on the value a, the frequency deviation between the master clock and the slave clock is expressed by (Equation 2) with reference to the input clock of the slave device. From (Equation 2), if the frequency of the master device is equal to that of the slave device, a is 1 and the deviation is 0.
Frequency deviation = a-1 (Formula 2)

実際には、SYNCパケットに揺らぎを含む。上記ネットワークシステムで、SYNCパケットの中継時間に揺らぎが発生する。揺らぎの原因は、図8に示したようにパケット中継器で一般パケットとSYNCパケットが競合した場合、SYNCパケットがパケット中継器で一般パケットの処理が終了するまで待たせることにある。また、SYNCパケットの中継経路中の回路中に同期回路を含むため、同期化タイミングによって遅れることがある。上記2つ原因のうち主要因は一般パケットとSYNCパケットが競合である。本願明細書では、SYNCパケットの中継時間の揺らぎ分を経路ジッタとする。   In practice, fluctuations are included in the SYNC packet. In the above network system, fluctuation occurs in the SYNC packet relay time. The cause of the fluctuation is that when the general packet and the SYNC packet compete with each other in the packet relay as shown in FIG. 8, the SYNC packet is made to wait until the processing of the general packet is completed in the packet relay. In addition, since a circuit in the relay path of the SYNC packet includes a synchronization circuit, it may be delayed depending on the synchronization timing. Of the above two causes, the main cause is contention between general packets and SYNC packets. In this specification, the fluctuation of the relay time of the SYNC packet is defined as path jitter.

図9には、基本的な周波数偏差の求め方(基本偏差検出法)の説明図である。マスタクカウンタとスレーブクカウンタの周波数偏差を求めるには2点のSYNCパケット情報から傾きを計算する。SYNCパケット情報とはSyncパケット内に含むタイムスタンプとSYNCパケット受信時のスレーブクカウント値である。図9において、SYNCパケットS2とS5それぞれのx座標、y座標をS2 : (x2 , y2)とS5 : (x5 , y5)とする。2点のX方向の距離(w) , Y方向の距離(h) は、(式3)及び(式4)で求められる。
w = x5 - x2 ・・・・・(式3)
h = y5 - y2 ・・・・・(式4)
FIG. 9 is an explanatory diagram of a basic method for obtaining a frequency deviation (basic deviation detection method). In order to obtain the frequency deviation between the master counter and the slave counter, the inclination is calculated from the two SYNC packet information. The SYNC packet information is a time stamp included in the Sync packet and a slave count value when the SYNC packet is received. In FIG. 9, the x and y coordinates of the SYNC packets S2 and S5 are S2: (x2, y2) and S5: (x5, y5), respectively. The distance (w) between the two points in the X direction and the distance (h) in the Y direction can be obtained by (Expression 3) and (Expression 4).
w = x5-x2 (Formula 3)
h = y5-y2 (Formula 4)

この結果から、傾きと、偏差は(式5)及び(式6)で計算できる。
傾き = a = h / w ・・・・・(式5)
偏差 = a - 1 = (h / w ) - 1・・・・・(式6)
From this result, the slope and deviation can be calculated by (Equation 5) and (Equation 6).
Inclination = a = h / w (Formula 5)
Deviation = a-1 = (h / w)-1 (Formula 6)

マスタクロックとスレーブクロックそれぞれに周囲温度の変化や経年変化があり、周波数が変化するので、偏差計算は定期的に行う必要がある。上記基本偏差検出法には経路ジッタによるゆらぎを考慮していない。よって、次のように経路ジッタを含むとマスタクロックとスレーブクロックの周波数偏差と計算で求めた値に差が生じる。結果として、同期精度が落ちるという問題を有する。   Since the master clock and slave clock each have a change in ambient temperature or aging, and the frequency changes, deviation calculation must be performed periodically. The basic deviation detection method does not consider fluctuation due to path jitter. Therefore, when the path jitter is included as follows, there is a difference between the frequency deviation between the master clock and the slave clock and the value obtained by calculation. As a result, there is a problem that the synchronization accuracy is lowered.

図10には、SYNCパケットに経路ジッタ発生した場合のマスタカウンタとスレーブカウンタの関係の説明図が示されている。同図において○で示したs1〜s5は、経路ジッタがないときのSYNCパケット到着時のタイムスタンプとスレーブカウンタのカウンタをプロットしたものであり、●で示したd1〜d5は、経路ジッタが有るときのSYNCパケット到着時のタイムスタンプとスレーブカウンタのカウンタをプロットしたものである。経路ジッタが発生すると、スレーブ装置でSYNCパケットの受信タイミングが遅れ、スレーブカウンタ値が大きくなり、SYNCパケットのプロット位置は右に移動することがわかる。   FIG. 10 shows an explanatory diagram of the relationship between the master counter and the slave counter when path jitter occurs in the SYNC packet. In the figure, s1 to s5 indicated by ◯ are plots of the time stamp when the SYNC packet arrives when there is no path jitter and the counter of the slave counter, and d1 to d5 indicated by ● have path jitter. The time stamp when the SYNC packet arrives and the counter of the slave counter are plotted. When path jitter occurs, the slave device receives the SYNC packet at a delayed timing, the slave counter value increases, and the plot position of the SYNC packet moves to the right.

図11には、経路ジッタがある場合の上記基本偏差検出法での問題説明図である。上記同様に○で示したs1〜s5は、経路ジッタがないときのSYNCパケット到着時のタイムスタンプとスレーブカウンタのカウンタをプロットしたものであり、●で示したd1〜d5は、経路ジッタが有るときのSYNCパケット到着時のタイムスタンプとスレーブカウンタのカウンタをプロットしたものである。マスタ装置からSYNCパケットS2とS5間を送信し、スレーブ装置到達までに経路ジッタが発生するとs2とs5のSYNCパケットをd2,d5で受信する。d2とd5から二点間の傾きがa'になり、a = a'になる。   FIG. 11 is a diagram for explaining the problem in the basic deviation detection method when there is path jitter. As above, s1 to s5 indicated by ◯ are plots of the time stamp when the SYNC packet arrives when there is no path jitter and the counter of the slave counter, and d1 to d5 indicated by ● have path jitter. The time stamp when the SYNC packet arrives and the counter of the slave counter are plotted. When the master device transmits SYNC packets S2 and S5 and path jitter occurs until the slave device arrives, the SYNC packets of s2 and s5 are received by d2 and d5. The slope between the two points from d2 and d5 is a ', and a = a'.

図12には、経路ジッタを含む事も考慮した2点間拡張法の原理説明図である。この2点間距離拡張法は、経路ジッタの影響力を小さくするために、2つのSYNCパケット間を十分空ける方法である。同図の例では偏差計算する二点の距離を経路ジッタより十分大きな距離(時間)をあけたd2とdnで計算し、傾きa''を求める。求めた傾きa''は同図のようにw,hが経路ジッタに対して十分大きいのでa ≒ a''になる。   FIG. 12 is a diagram illustrating the principle of the point-to-point extension method that also considers including path jitter. This point-to-point distance extension method is a method of sufficiently separating two SYNC packets in order to reduce the influence of path jitter. In the example in the figure, the distance between two points for calculating the deviation is calculated by d2 and dn that are sufficiently larger than the path jitter (time), and the slope a ″ is obtained. The obtained slope a ″ is a≈a ″ since w and h are sufficiently large with respect to the path jitter as shown in FIG.

図13には、経路ジッタを含む事も考慮した統計処理法(最小二乗法)である。つまり、前記特許文献1にも採用されている統計処理法(最小二乗法)を利用するものである。つまり、経路ジッタを含んだSYNCパケット情報から統計的手法を用いて傾きを求める方法である。求め方は各ポイントSYNCパケットと距離が最小になる直線y'''= a'''x+ b''' を求める。統計処理するポイントが多ければ、y=ax+bとy'''=a'''x+b''' が平行に近づきa=a'''と扱える。y'''= a'''x+b'''を求める計算は最小二乗法を利用できる。   FIG. 13 shows a statistical processing method (least square method) in consideration of including path jitter. That is, the statistical processing method (least square method) also used in Patent Document 1 is used. In other words, this is a method of obtaining a slope from SYNC packet information including path jitter using a statistical method. The method is to find a straight line y ′ ″ = a ′ ″ x + b ′ ″ that minimizes the distance from each point SYNC packet. If there are many points to be statistically processed, y = ax + b and y '' '= a' '' x + b '' 'approach parallel and can be handled as a = a' ''. The calculation for obtaining y '' '= a' '' x + b '' 'can use the least square method.

しかしながら、前記図12で説明した2点間距離拡張法は、経路ジッタが大きいネットワーク環境ではSYNCパケットの2点間の距離(時間)あけなければならないことから、SYNCパケット送信開始から同期確立するまでの時間が長くなるという問題を有する。前記図13で説明した統計処理手法は、平均値と各ポイントの差分が必要になる。つまり、前記基本偏差検出法や前記2点間距離拡張法比べて偏差を算出する計算量が多くなる。計算量が多いことから、第1に偏差出力に時間を要する。第2に、スレーブ装置に搭載される同期機構の回路規模(LSI)のゲート規模を大きくなり、それに伴い消費電力も増えるという問題を有する。   However, since the point-to-point distance extension method described with reference to FIG. 12 requires a distance (time) between two points of the SYNC packet in a network environment where the path jitter is large, from the start of SYNC packet transmission until synchronization is established. The problem is that the time of the process becomes longer. The statistical processing method described in FIG. 13 requires an average value and a difference between each point. That is, the amount of calculation for calculating the deviation is larger than that of the basic deviation detection method or the two-point distance extension method. Because of the large amount of calculation, first, it takes time to output the deviation. Secondly, there is a problem that the circuit scale (LSI) of the synchronization mechanism mounted on the slave device is increased, and the power consumption is increased accordingly.

この発明の目的は、簡単な構成で高応答性を実現したネットワーク同期方法と同期化回路を提供することにある。この発明の前記ならびにそのほかの目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   An object of the present invention is to provide a network synchronization method and a synchronization circuit that realize high response with a simple configuration. The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される1つの実施例は、以下の通りである。受信したSYNCパケットのタイムスタンプと、その受信タイミングでのスレーブカウンタ値の差分に対応した経路ジッタを算出する。直近のものを含めた複数個の経路ジッタを第1履歴部に記憶する。複数個の経路ジッタのうち最小経路ジッタを抽出する。上記経路ジッタと上記最小経路ジッタの差分に対応した予測経路ジッタを算出する。スレーブカウンタ値に上記予測経路ジッタを加えた補正後スレーブカウンタ値を形成する。直近のものを含めた複数個の上記補正後スレーブカウンタ値を第2履歴部に記憶する。スレーブカウンタ値に対応し、上記直近のものを含めた複数個の同期パケットのマスタカウン値を第3履歴部に記憶する。上記第2履歴部から取り出した2つの補正後スレーブカウン値の差分と、それに対応し上記第3履歴部から取り出した2つのマスタカウンタ値の差分との比から周波数偏差を算出してネットワーク同期を行う。   One embodiment disclosed in the present application is as follows. The path jitter corresponding to the difference between the time stamp of the received SYNC packet and the slave counter value at the reception timing is calculated. A plurality of path jitters including the latest one are stored in the first history section. The minimum path jitter is extracted from a plurality of path jitters. A predicted path jitter corresponding to the difference between the path jitter and the minimum path jitter is calculated. A corrected slave counter value is formed by adding the predicted path jitter to the slave counter value. A plurality of corrected slave counter values including the latest one are stored in the second history section. Corresponding to the slave counter value, the master count value of a plurality of synchronization packets including the most recent one is stored in the third history section. The network synchronization is calculated by calculating the frequency deviation from the ratio between the difference between the two corrected slave count values extracted from the second history section and the corresponding difference between the two master counter values extracted from the third history section. Do.

本願において開示される他の1つの実施例は、以下の通りである。同期化回路は、ネットワークを介してマスタ装置から送信された同期パケットを受けるプロトコル処理部とスレーブカウンタとを有するスレーブ装置に搭載可能にされて経路ジッタ算出部、周波数偏差算出部を有する。経路ジッタ算出部の第1演算部は、ネットワークを介して受信された同期パケットのマスタカウンタ値と、上記同期パケットの受信タイミングでのスレーブカウンタ値の差分に対応した経路ジッタを算出する。経路ジッタ算出部の第1履歴部は、直近のものを含めた複数個の経路ジッタを記憶する。経路ジッタ算出部の最小値算出部は、第1履歴部に記憶されている複数個の経路ジッタのうち最小経路ジッタを抽出する。経路ジッタ算出部の第2演算部は、経路ジッタと最小経路ジッタの差分に対応した予測経路ジッタを形成する。周波数偏差算出部の第3演算部は、スレーブカウンタ値に上記予測経路ジッタを加えた補正後スレーブカウンタ値を算出する。周波数偏差算出部の第2履歴部は、直近のものを含めた複数個の補正後スレーブカウンタ値を記憶する。周波数偏差算出部の第3履歴部は、直近のものを含めた複数個の同期パケットのマスタカウン値を記憶する。第4演算部は、2つの補正後スレーブカウンタの差分と、それに対応し上記第3履歴部から取り出したマスタカウン値の差分との比から周波数偏差を算出する。   Another embodiment disclosed in the present application is as follows. The synchronization circuit can be mounted on a slave device having a protocol processing unit that receives a synchronization packet transmitted from a master device via a network and a slave counter, and has a path jitter calculation unit and a frequency deviation calculation unit. The first calculation unit of the path jitter calculation unit calculates path jitter corresponding to the difference between the master counter value of the synchronization packet received via the network and the slave counter value at the reception timing of the synchronization packet. The first history unit of the path jitter calculation unit stores a plurality of path jitters including the latest one. The minimum value calculation unit of the path jitter calculation unit extracts the minimum path jitter from the plurality of path jitters stored in the first history unit. The second calculation unit of the path jitter calculation unit forms a predicted path jitter corresponding to the difference between the path jitter and the minimum path jitter. The third calculation unit of the frequency deviation calculation unit calculates a corrected slave counter value obtained by adding the predicted path jitter to the slave counter value. The second history unit of the frequency deviation calculation unit stores a plurality of corrected slave counter values including the latest one. The third history unit of the frequency deviation calculation unit stores master count values of a plurality of synchronization packets including the latest one. The fourth calculation unit calculates the frequency deviation from the ratio between the difference between the two corrected slave counters and the corresponding difference between the master count values extracted from the third history unit.

前記2点間距離拡張法と比較し、偏差計算で使用する2点間の距離(時間)をあけなくていいので周波数偏差を早期に計算できることからSYNCパケット送信開始から同期確立までを短くできる。統計的な手法である最小二乗法を使わないことから計算回数が少なくなり、偏差出力を短時間に出力可能になる。計算方法が単純であるので同期化回路のゲート規模を小さくでき、消費電力を抑えることができる。   Compared with the two-point distance extension method, since it is not necessary to make a distance (time) between two points used in deviation calculation, the frequency deviation can be calculated at an early stage, so that the time from the start of SYNC packet transmission to the establishment of synchronization can be shortened. Since the least square method, which is a statistical method, is not used, the number of calculations is reduced, and the deviation output can be output in a short time. Since the calculation method is simple, the gate scale of the synchronization circuit can be reduced and power consumption can be suppressed.

この発明が適用されるネットワークのシステム構成図である。1 is a system configuration diagram of a network to which the present invention is applied. この発明に係る同期化回路の一実施例のブロック図である。1 is a block diagram of an embodiment of a synchronization circuit according to the present invention. FIG. この発明に係るマスタカウンタとスレーブカウンタの関係の説明図である。It is explanatory drawing of the relationship between the master counter which concerns on this invention, and a slave counter. この発明に係るマスタカウンタとスレーブカウンタの関係の説明図である。It is explanatory drawing of the relationship between the master counter which concerns on this invention, and a slave counter. この発明を説明するためのマスタカウンタとスレーブカウンタの関係の説明図である。It is explanatory drawing of the relationship between the master counter and slave counter for demonstrating this invention. 本願発明に先立って検討された同期システムの概略ブロック図である。It is a schematic block diagram of the synchronous system examined prior to this invention. 経路遅延一定の場合のマスタカウンタとスレーブカウンタの関係の説明図である。It is explanatory drawing of the relationship between a master counter and a slave counter in case path | route delay is constant. パケット競合による経路遅延の発生を表す概略図である。It is the schematic showing generation | occurrence | production of the path | route delay by packet competition. 基本的な周波数偏差の求め方(基本偏差検出法)の説明図であるIt is explanatory drawing of how to obtain basic frequency deviation (basic deviation detection method) SYNCパケットに経路ジッタ発生した場合のマスタカウンタとスレーブカウンタの関係の説明図である。It is explanatory drawing of the relationship between a master counter when a path jitter occurs in a SYNC packet. 経路ジッタがある場合の基本偏差検出法での問題説明図である。It is problem explanatory drawing in the basic deviation detection method in case there exists path jitter. 経路ジッタを含む事も考慮した2点間拡張法の原理説明図である。It is a principle explanatory view of the point-to-point extension method that also considers including path jitter. 経路ジッタを含む事も考慮した統計処理法(最小二乗法)の説明図である。It is explanatory drawing of the statistical processing method (least-squares method) which considered also including path | route jitter.

添付の図面に沿って、この発明の好ましい実施の形態について詳細に説明する。   A preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

図1には、この発明が適用されるネットワークシステム構成図が示されている。同図は、時刻のマスタとなるマスタ装置M0、マスタ装置に時刻を同期させるスレーブ装置S1〜S31、スイッチングハブH0,H1から構成される。マスタ装置M0とスレーブ装置S1〜S15は、スイッチングハブH0を介して接続される。マスタ装置M0とスレーブ装置S16〜S31は、スイッチングハブH0及びH1を介して接続される。マスタ装置M0の時刻を生成するマスタカウンタを動作させるクロック(マスタクロック)は、例えば200MHzであり、本ネットワークシステムのマスタ時刻となる。スレーブ装置S1〜S31のローカル時刻を生成するスレーブカウンタを動作させるクロック(スレーブクロック)は、例えば約200MHzであり、マスタクロックに対して最大100ppm程度の誤差を持つ。   FIG. 1 shows a network system configuration diagram to which the present invention is applied. The figure includes a master device M0 that is a master of time, slave devices S1 to S31 that synchronize time with the master device, and switching hubs H0 and H1. Master device M0 and slave devices S1 to S15 are connected via switching hub H0. Master device M0 and slave devices S16 to S31 are connected via switching hubs H0 and H1. The clock (master clock) for operating the master counter that generates the time of the master device M0 is, for example, 200 MHz, which is the master time of the present network system. The clock (slave clock) for operating the slave counter that generates the local time of the slave devices S1 to S31 is about 200 MHz, for example, and has an error of about 100 ppm at maximum with respect to the master clock.

マスタ装置M0は、クロック発信器を含むマスタカウンタと同期パケット生成部を有する。同期パケット生成部は、タイムスタンプとなるマスタカウンタ値<mc>iを含む同期パケットを生成する。例えば10ms毎に生成されたタイムスタンプを同期パケットとして、スレーブ装置S1〜S31にブロードキャスト送信する。スレーブ装置S1〜S31のそれぞれは、代表としてS31に示されているように、同様なクロック発信器を含むスレーブカウンタ、同期パケットを受けるプロトコル処理部及び同期化回路を有している。スレーブ装置S1〜S31は、同期パケットの受信をトリガとして、同期パケットに含まれるタイムスタンプと、スレーブカウンタで生成された自己のタイムスタンプであるスレーブカウンタ値<sc>iとを比較する。同期化回路では、マスタ装置とスレーブ装置との間の時刻同期に必要なマスタクロックとスレーブクロック間の周波数偏差の算出を行う。   The master apparatus M0 has a master counter including a clock generator and a synchronization packet generator. The synchronization packet generation unit generates a synchronization packet including a master counter value <mc> i serving as a time stamp. For example, a time stamp generated every 10 ms is broadcasted to the slave devices S1 to S31 as a synchronization packet. Each of the slave devices S1 to S31 includes a slave counter including a similar clock generator, a protocol processing unit that receives a synchronization packet, and a synchronization circuit, as shown in S31 as a representative. The slave devices S1 to S31 use the reception of the synchronization packet as a trigger, and compare the time stamp included in the synchronization packet with the slave counter value <sc> i that is its own time stamp generated by the slave counter. The synchronization circuit calculates a frequency deviation between the master clock and the slave clock necessary for time synchronization between the master device and the slave device.

プロトコル処理部は、マスタ装置M0からのSYNCパケットを受信し、同期パケットに含まれる時刻を示すマスタカウンタ値<mc>iを生成する。同期化回路は、上記マスタカウンタ値<mc>iと、上記スレーブカウンタ値<sc>iとを比較して、周波数偏差の算出を行う。スイッチングハブH0及びH1では、同期パケット及び通常パケットの中継により、通信遅延時間が生じる。スイッチングハブH0及びH1での同期パケットの中継遅延時間は、例えば固定遅延20us、変動遅延最大123.04us程度のような範囲で大きく変動する。このため、本願に係る同期化回路により、高速応答性を持った高い精度の同期動作が行われる。   The protocol processing unit receives the SYNC packet from the master device M0 and generates a master counter value <mc> i indicating the time included in the synchronization packet. The synchronization circuit compares the master counter value <mc> i with the slave counter value <sc> i to calculate a frequency deviation. In the switching hubs H0 and H1, a communication delay time occurs due to the relay of the synchronization packet and the normal packet. The relay delay time of the synchronization packet in the switching hubs H0 and H1 varies greatly within a range of, for example, a fixed delay of 20 us and a variable delay of about 123.04 us. For this reason, the synchronization circuit according to the present application performs a highly accurate synchronization operation with high-speed response.

図2には、この発明に係る同期化回路の一実施例のブロック図が示されている。同図は、スレーブ装置がマスタ装置からネットワークを介して取得したSYNCパケットの情報を利用して周波数偏差を算出する。同図の同期化回路は、プロトコル処理部、経路ジッタ算出部、周波数偏差算出部を有している。   FIG. 2 is a block diagram showing an embodiment of the synchronization circuit according to the present invention. In the figure, the frequency deviation is calculated using the information of the SYNC packet acquired by the slave device from the master device via the network. The synchronization circuit shown in the figure includes a protocol processing unit, a path jitter calculation unit, and a frequency deviation calculation unit.

プロトコル処理部は、SYNCパケットを受信して、マスタカウンタ値であるデータ値1を生成する。スレーブカウンタは、自己の発信器で形成されたスレーブクロックにより、スレーブカウンタ値であるデータ値2を生成する。上記データ値1は、マスタカウンタ値<mc>iとして上記経路ジッタ算出部内の演算部AU1に供給される。上記データ値2は、スレーブカウンタ値<sc>iとして上記経路ジッタ算出部内の演算部AU1及び上記周波数偏差算出部内の演算部AU3に供給される。   The protocol processing unit receives the SYNC packet and generates a data value 1 that is a master counter value. The slave counter generates a data value 2 that is a slave counter value by a slave clock formed by its own transmitter. The data value 1 is supplied as a master counter value <mc> i to the calculation unit AU1 in the path jitter calculation unit. The data value 2 is supplied as a slave counter value <sc> i to the calculation unit AU1 in the path jitter calculation unit and the calculation unit AU3 in the frequency deviation calculation unit.

上記演算部AU1は、供給された上記マスタカウント値<mc>i及びそのときの上記スレーブカウンタ値<sc>iのカウンタ差分<dc>iを生成し、上記カウンタ差分履歴部TBL1及び演算部AU2に供給する。上記最小値算出部MINは、上記カウンタ差分履歴部TBL1に記憶されたカウンタ差分の中から、最も小さいものであるmin<dc>を抽出して、上記演算部AU2に供給する。上記演算部AU2は、上記演算部AU1から供給されたカウント差分<dc>i及び上記最小値算出部MINから供給された最小値に基づいて、予測経路ジッタ<pdj>iを生成し、上記周波数偏差算出部内の上記演算部AU3に供給する。   The arithmetic unit AU1 generates a counter difference <dc> i of the supplied master count value <mc> i and the slave counter value <sc> i at that time, and the counter difference history unit TBL1 and the arithmetic unit AU2 To supply. The minimum value calculation unit MIN extracts min <dc> which is the smallest from the counter differences stored in the counter difference history unit TBL1, and supplies the extracted min <dc> to the calculation unit AU2. The calculation unit AU2 generates a predicted path jitter <pdj> i based on the count difference <dc> i supplied from the calculation unit AU1 and the minimum value supplied from the minimum value calculation unit MIN, and the frequency This is supplied to the calculation unit AU3 in the deviation calculation unit.

上記演算部AU3は、減算により経路ジッタ成分を除去し、補正されたスレーブカウンタ値<sc'>iを生成する。補正されたスレーブカウンタ値<sc'>iは、スレーブカウンタ値履歴部TBL2に記憶される。補正されたスレーブカウンタ値<sc'>iに対応した上記マスタカウンタ値<mc>iは、マスタカウンタ値履歴部TBL3に記憶される。演算部AU4は、上記スレーブカウンタ値履歴部TBL2、上記マスタカウンタ値履歴部TBL3により、周波数偏差であるデータ値3を算出する。   The arithmetic unit AU3 removes the path jitter component by subtraction and generates a corrected slave counter value <sc ′> i. The corrected slave counter value <sc ′> i is stored in the slave counter value history unit TBL2. The master counter value <mc> i corresponding to the corrected slave counter value <sc ′> i is stored in the master counter value history unit TBL3. The arithmetic unit AU4 calculates a data value 3 which is a frequency deviation by the slave counter value history unit TBL2 and the master counter value history unit TBL3.

上記同期化回路の動作は、以下のように説明できる。上記演算部AU1においては、i番目に受信したSYNCパケットのマスタカウンタ値<mc>iと、上記i番目のSYNCパケットの受信タイミングにおけるスレーブカウンタ値<sc>iの差分<dc>iを、(式7)により算出する動作(1)が行われる。
<dc>i = <sc>i - <dc>i・・・・・(式7)
The operation of the synchronization circuit can be described as follows. The arithmetic unit AU1 obtains the difference <dc> i between the master counter value <mc> i of the i-th received SYNC packet and the slave counter value <sc> i at the reception timing of the i-th SYNC packet ( The operation (1) calculated by equation (7) is performed.
<dc> i = <sc>i-<dc> i (Equation 7)

カウンタ差分履歴部TBL1には、レジスタREG1により設定されたエントリ数N個の上記カウンタ差分<dc>を保持する動作(2)が行われる。上記カウンタ差分履歴部TBL1のエントリ数Nは、この実施例のようにレジスタREG1を用いたソフトウェア的な設定の他に固定値としてもよい。上記カウンタ差分履歴部TBL1には、直近のものを含んで、N個のカウンタ差分<dc>が記憶される。すなわち、上記カウンタ差分履歴部TBL1には、N個以上のカウンタ差分<dc>が入力されると、直近のものが記憶され、それに代わって最も古いものが破棄される。   In the counter difference history part TBL1, an operation (2) for holding the counter difference <dc> of the number N of entries set by the register REG1 is performed. The number N of entries in the counter difference history part TBL1 may be a fixed value in addition to the software setting using the register REG1 as in this embodiment. The counter difference history part TBL1 stores N counter differences <dc> including the latest one. That is, when N or more counter differences <dc> are input to the counter difference history part TBL1, the latest one is stored, and the oldest one is discarded instead.

上記最小値算出部MINは、カウンタ差分履歴部TBL1に記憶されたN個のカウンタ差分<dc>のうち最小値min<dc>のものを経路ジッタが最も小さい値のものと推測して抽出する動作(3)を行う。   The minimum value calculation unit MIN estimates and extracts the minimum value min <dc> of the N counter differences <dc> stored in the counter difference history unit TBL1 as the value having the smallest path jitter. Operation (3) is performed.

上記演算部AU2においては、上記最小値min<dc>が抽出された後のi番目のSYNCパケットの通信の予測経路ジッタ<pdj>iを(式8)により求める動作(4)が行われる。ここで、カウンタ差分履歴部TBL1への保持期間が、当該履歴中の値が含む周波数差成分が十分無視できるレベルになるように、SYNCパケット送信間隔またはカウンタ差分履歴部TBL1のエントリ数Nが決定される。
<pdj>i = <dc>i - min<dc>・・・・・(式8)
The arithmetic unit AU2 performs an operation (4) for obtaining a predicted path jitter <pdj> i of communication of the i-th SYNC packet after the minimum value min <dc> is extracted by (Equation 8). Here, the SYNC packet transmission interval or the number N of entries in the counter difference history part TBL1 is determined so that the holding period in the counter difference history part TBL1 becomes a level at which the frequency difference component included in the value in the history can be sufficiently ignored. Is done.
<pdj> i = <dc> i-min <dc> (Equation 8)

上記演算部AU3においては、経路ジッタ成分除去後のスレーブカウンタ値<sc'>iを生成するために、(式9)に従ってスレーブカウンタ値<sc>iから経路ジッタ成分を除去する動作(5)が行われる。
<sc'>i = <sc>i - <pdj>i・・・・・(式9)
The arithmetic unit AU3 removes the path jitter component from the slave counter value <sc> i according to (Equation 9) in order to generate the slave counter value <sc ′> i after the path jitter component is removed (5). Is done.
<sc '> i = <sc>i-<pdj> i (Equation 9)

上記スレーブカウンタ値履歴部TBL2においては、上記(式9)で算出したスレーブカウンタ値除去後のスレーブカウンタ値<sc'>iが、レジスタREG2により設定されたエントリ数M個分だけ記憶するという動作(6)が行われる。この履歴部TBL2においても、上記カウンタ差分履歴部TBL1の動作と同様に、直近のものを含んだM個が順次更新される。   In the slave counter value history unit TBL2, the slave counter value <sc ′> i after the slave counter value removal calculated in (Equation 9) is stored for the number M of entries set by the register REG2. (6) is performed. Also in the history part TBL2, M pieces including the latest one are sequentially updated in the same manner as the operation of the counter difference history part TBL1.

上記マスタカウンタ値履歴部TBL3においては、上記スレーブカウンタ値<sc'>iに対応したマスタカウンタ値<mc>iが、エントリ数M個分だけ記憶するという動作(7)が行われる。これにより、マスタ/スレーブカウンタ値履歴部TBL3,TBL2には、直近のM個のマスタカウンタ値<mc>i、経路ジッタ成分除去後のスレーブカウンタ値<sc'>iがそれぞれ保持される。周波数偏差を高精度に算出するためには、予測経路ジッタ<pdj>iと真の経路ジッタとの誤差を十分無視できるように、マスタ/スレーブカウンタ値履歴部TBL3,TBL2への保持期間が長くされる必要がある。例えば、マスタ/スレーブカウンタ値履歴部TBL3,TBL2へのエントリ数Mを大きくする、または、SYNCパケット間隔を大きくすることが必要である。   In the master counter value history section TBL3, an operation (7) is performed in which the master counter value <mc> i corresponding to the slave counter value <sc '> i is stored for the number M of entries. As a result, the master / slave counter value history sections TBL3 and TBL2 hold the M most recent master counter values <mc> i and the slave counter values <sc ′> i after removal of the path jitter component, respectively. In order to calculate the frequency deviation with high accuracy, the holding period in the master / slave counter value history sections TBL3 and TBL2 is long so that the error between the predicted path jitter <pdj> i and the true path jitter can be sufficiently ignored. Need to be done. For example, it is necessary to increase the number of entries M to the master / slave counter value history parts TBL3 and TBL2, or to increase the SYNC packet interval.

上記演算部AU4において、データ値3である周波数偏差<fa>jを、(式10)により求める動作(8)が行われる。(式10)の<mc>k, <sc'>kは、マスタカウンタ値、スレーブカウンタ値履歴部TBL3,TBL2に保持されている値である。経路ジッタ成分除去後のスレーブカウンタ値<sc'> iには、予測の固定遅延成分が含まれているが、上記(式10)の分母[<sc'>(M-1) - <sc'>0] が予測値の差分を取るものであることにより相殺され、影響を受けない。ここで、<mc>(M-1)は、マスタカウンタ履歴部TBL3の(M-1)番目に記憶された値であり、<mc>0は、マスタカウンタ履歴部TBL3の0番目に記憶された値である。<sc'>(M-1),<sc'>0も前期同様である。
<fa>j = [<mc>(M-1) - <mc>0] / [<sc'>(M-1) - <sc'>0] − 1・・・・・(式10)
In the arithmetic unit AU4, the operation (8) for obtaining the frequency deviation <fa> j which is the data value 3 by (Equation 10) is performed. <Mc> k, <sc ′> k in (Expression 10) are values held in the master counter value and slave counter value history sections TBL3 and TBL2. The slave counter value <sc '> i after removal of the path jitter component includes a fixed delay component of prediction, but the denominator [<sc'>(M-1)-<sc'> 0] is offset by the difference between the predicted values and is not affected. Here, <mc> (M-1) is the value stored in the (M-1) th of the master counter history part TBL3, and <mc> 0 is stored in the 0th of the master counter history part TBL3. Value. The same applies to <sc '> (M-1) and <sc'> 0.
<fa> j = [<mc>(M-1)-<mc> 0] / [<sc '>(M-1)-<sc'> 0]-1 (Equation 10)

上記の動作(1)〜(8)により高精度に周波数偏差を算出することが可能である。上記の周波数偏差算出の方法を示す数式は、その説明に用いたものであり、実装を考慮して展開・簡単化をしたものを用いても良い。2点間距離拡張法や統計処理法は経路ジッタ対策であるが、この実施例のように経路ジッタを検出し、補正して取り除く方法(回路)により、上記2つの2点間距離拡張法や統計処理法を使わなくとも、単純な基本偏差検出法で高い精度の偏差検出が可能になる。スレーブ装置がマスタクロックに同期するには、上記算出された周波数偏差 <fa>j を用いて前記(式1)からスレーブ装置の時刻とするものである。   It is possible to calculate the frequency deviation with high accuracy by the above operations (1) to (8). The above mathematical formulas indicating the method of calculating the frequency deviation are used for the description thereof, and may be developed and simplified in consideration of mounting. The point-to-point distance extension method and the statistical processing method are countermeasures against path jitter. However, as in this embodiment, the above-described two point-to-point distance extension methods and Even without using a statistical processing method, a simple basic deviation detection method enables highly accurate deviation detection. In order for the slave device to synchronize with the master clock, the time of the slave device is obtained from (Equation 1) using the calculated frequency deviation <fa> j.

図3には、この発明に係るマスタカウンタとスレーブカウンタの関係の説明図が示されている。経路ジッタが発生する場合、マスタカウンタ値(Y軸)に変化は無く、スレーブカウンタ(X軸)だけ大きくなる(片側遅延)という特徴がある。また、マスタカウンタとスレーブカウンタの関係は(式1)であり、このときの傾きはa ≒1であるという特徴もある。これらの特徴を、マスタカウンタとスレーブカウンタは短期間であれば周波数偏差による影響は小さいとして、(式1)における係数a = 1と扱うことができる。また、経路ジッタはマスタカウンタ値とスレーブカウンタ値の差分を(カウント差)計算し、差分が小さければ経路ジッタは小さく、大きければ、経路ジッタは大きいと捉えることができる。上記考察より、上記同期化回路により経路ジッタが計算でき、経路ジッタを取り除くことが可能になる。   FIG. 3 is an explanatory diagram showing the relationship between the master counter and the slave counter according to the present invention. When path jitter occurs, the master counter value (Y axis) does not change and only the slave counter (X axis) increases (one-side delay). Further, the relationship between the master counter and the slave counter is (Equation 1), and the slope at this time is characterized by a≈1. These characteristics can be treated as the coefficient a = 1 in (Equation 1), assuming that the influence of the frequency deviation is small if the master counter and the slave counter are short. The path jitter calculates the difference between the master counter value and the slave counter value (count difference). If the difference is small, the path jitter is small, and if the difference is large, the path jitter is large. From the above consideration, the path jitter can be calculated by the synchronization circuit, and the path jitter can be removed.

同図では、例えば、s4の経路ジッタ(pd4)を直近のd2及びd3を用いて経路ジッタを求め、補正する方法を説明する。ここで、d3の経路ジッタは0、すなわち、s3=d4とする。まず、補正の基点となるポイント(以降、基点ポイントとする)をd2とd3から選択するには、タイムスタンプとスレーブカウントの差分を計算し、差分が小さいd3を選択する。d3と経路ジッタを含むSYNCパケットd4の間においては、(式1)における傾きaを1とすることから、s4の経路ジッタ(pd4)を求める式は(式11)となる。
pd4 = d4カウンタ差分 - s3 カウンタ差分
= (d4スレーブカウンタ−d4タイムスタンプ)
−(d3スレーブカウンタ−d3タイムスタンプ)
= (x4 - y4) - (x3 - y3) ・・・・(式11)
In the figure, for example, a method for correcting and correcting the path jitter (pd4) of s4 using the latest d2 and d3 will be described. Here, the path jitter of d3 is 0, that is, s3 = d4. First, in order to select a point serving as a correction base point (hereinafter referred to as a base point) from d2 and d3, a difference between the time stamp and the slave count is calculated, and d3 having a small difference is selected. Since the slope a in (Equation 1) is 1 between d3 and the SYNC packet d4 including path jitter, the equation for obtaining the path jitter (pd4) of s4 is (Equation 11).
pd4 = d4 counter difference-s3 counter difference
= (D4 slave counter-d4 time stamp)
-(D3 slave counter-d3 time stamp)
= (x4-y4)-(x3-y3) ... (Formula 11)

経路ジッタが求まれば、d4から経路ジッタを取り除いた(補正した)ポイントs'4は(x4-pd4 , y4)となる。補正したポイントを結べば、ほぼ直線になり、基本的な2点間から周波数偏差を求める式を用いることができる。   When the path jitter is obtained, the point s′4 obtained by removing (correcting) the path jitter from d4 is (x4-pd4, y4). If the corrected points are connected, it becomes almost a straight line, and an equation for obtaining a frequency deviation from two basic points can be used.

図4には、この発明に係るマスタカウンタとスレーブカウンタの関係の説明図が示されている。上記図3の説明は2点から基点ポイントを選択しているが、実動作は複数のSYNCパケットから選択する。これは、SYNCパケットの経路ジッタの主要因は一般パケットとの競合であり、複数回受信することで、一般パケットによる影響の少ないパケットを受信できる確立を高くする。   FIG. 4 is an explanatory diagram showing the relationship between the master counter and the slave counter according to the present invention. In the description of FIG. 3, the base point is selected from two points, but the actual operation is selected from a plurality of SYNC packets. This is because the main factor of the path jitter of the SYNC packet is contention with the general packet, and by receiving a plurality of times, the probability of receiving a packet that is less affected by the general packet is increased.

以上説明した実施例においては、前記図12で説明したような2点間距離拡張法と比較し、偏差計算で使用する2点間の距離(時間)をあけなくていいので周波数偏差を早期に計算できるため、SYNCパケット送信開始から同期確立までを短くできる。また、前記図13で説明したような統計的な手法である最小二乗法を使わないことから計算回数が少なくなり、偏差出力を短時間に出力可能になる。そして、計算方法が単純であるのでLSIのゲート規模を小さくし、消費電力も抑えることができる。   In the embodiment described above, compared with the point-to-point distance extension method as described in FIG. 12, it is not necessary to open the distance (time) between the two points used in the deviation calculation. Since it can be calculated, the time from the start of SYNC packet transmission to the establishment of synchronization can be shortened. Further, since the least square method which is a statistical method as described with reference to FIG. 13 is not used, the number of calculations is reduced, and a deviation output can be output in a short time. Since the calculation method is simple, the LSI gate scale can be reduced and the power consumption can be suppressed.

図5には、この発明を説明するためのマスタカウンタとスレーブカウンタの関係の説明図が示されている。同図では、前記2点間距離拡張法で周波数偏差に必要な二点間の距離と本願発明で必要な距離の関係が示されている。前記2点間距離拡張法で求める偏差を求める始点をs1とし、経路ジッタを含んだポイントをd1とする。2点間距離拡張法で求める偏差を求める終点をsnとする。snは経路ジッタ=0とする。本願発明で求める偏差の始点をs1とするが、経路ジッタを補正するのでs1に近いd1'とする。本願発明で求める偏差の終点をsn'とする。sn'は経路ジッタ=0とする。この条件からマスタカウンタとスレーブカウンタの周波数偏差は、送信ジッタが無いs1とsnを結ぶ直線L2の傾き(以下傾きAとする)から求まる。2点間距離拡張法で周波数偏差を求めるにはd1とsnを結ぶ直線L1の傾き(以下傾きBとする)から求まる。2点間距離拡張法で求めた周波数偏差の精度は、傾きAと傾きBの差分である。   FIG. 5 is an explanatory diagram showing the relationship between the master counter and the slave counter for explaining the present invention. This figure shows the relationship between the distance between two points required for frequency deviation and the distance necessary for the present invention in the above-described two-point distance expansion method. Let s1 be the starting point for obtaining the deviation obtained by the two-point distance expansion method, and let d1 be the point including the path jitter. Let sn be the end point for obtaining the deviation obtained by the distance expansion method between two points. sn is a path jitter = 0. The starting point of the deviation obtained in the present invention is s1, but since the path jitter is corrected, d1 'close to s1 is set. Let sn ′ be the end point of the deviation obtained in the present invention. sn ′ is assumed to have path jitter = 0. From this condition, the frequency deviation between the master counter and the slave counter is obtained from the slope (hereinafter referred to as slope A) of the straight line L2 connecting s1 and sn with no transmission jitter. In order to obtain the frequency deviation by the two-point distance expansion method, it is obtained from the slope of the straight line L1 connecting d1 and sn (hereinafter referred to as slope B). The accuracy of the frequency deviation obtained by the two-point distance expansion method is the difference between the slope A and the slope B.

上記条件を踏まえて、本願発明で前記2点間距離拡張法と同じ精度の偏差を求めるのに必要な始点と終点について考察する。始点はd1'であり、終点sn'はsnからs1方向に近づけた位置になる。sn'はd1'とsn'を結ぶ直線L3の傾きと上記傾きBが同じになるまでs1に近づけることができる。また、傾きを同じにするとs1,d1,snを結ぶ三角形1(辺をs1d1,d1sn,sns1とする)とs1,d1',sn'を結ぶ三角形2(辺をs1d1',d1'sn',sn's1とする)は相似になる。以上から、本願発明で経路ジッタを辺s1d1から補正して辺s1d1'に縮めることができれば、同じ比率で辺s1snから辺s1sn'に短くできる。すなわち、sn'をs1に近づけても同じ精度の周波数偏差を求めることができる。つまり、前記2点間距離拡張法と同じ精度の周波数偏差を、より短い時間で求めることができる。   Based on the above conditions, the starting point and the ending point necessary for obtaining a deviation with the same accuracy as the above-described two-point distance expansion method in the present invention will be considered. The start point is d1 ′, and the end point sn ′ is a position closer to the s1 direction from sn. sn ′ can be brought close to s1 until the inclination B of the straight line L3 connecting d1 ′ and sn ′ is the same. If the slopes are the same, triangle 1 connecting s1, d1, sn (sides are s1d1, d1sn, sns1) and triangle 2 connecting s1, d1 ', sn' (sides are s1d1 ', d1'sn', sn's1) is similar. From the above, if the path jitter can be corrected from the side s1d1 and reduced to the side s1d1 ′ in the present invention, it can be shortened from the side s1sn to the side s1sn ′ at the same ratio. That is, a frequency deviation with the same accuracy can be obtained even if sn ′ is brought close to s1. That is, a frequency deviation with the same accuracy as that of the two-point distance extension method can be obtained in a shorter time.

本願発明で必要な計算量と前記最小二乗法で必要な計算量を比較すると、次のようになる。本願発明で必要な計算は、(式3)、(式4)、(式5)、(式6)、(式11)、基点ポイント選択である。これに対して、最小二乗法で求める式は、特許文献1の(数式4)のように計算量が多い。2つの方式ともにSYNCパケット受け取るたびに計算を行う。計算量を比較するに当たって、2つ方式で同じ精度の周波数偏差を出すには、同期システム条件であるSYNCパケット送信間隔、周波数偏差、ネットワーク構成などさまざまな条件よって変わる。そこで、同じ入力データ量で2つ計算を比較する。入力データは、本願発明で行う基点ポイント選択に用いる直近のSYNCパケット数がn個とし、最小二乗法で偏差を求めるSYNCポイント数がm個として、n= mとする。本願発明で必要な計算はすべて単純計算である。これに対し、前記最小二乗法で用いる特許文献1の(数式4)の計算量は、平均値を計算や平均値との差分計算があることから計算量が圧倒的に多いことは明らかである。   Comparing the amount of calculation required for the present invention with the amount of calculation required for the least-squares method is as follows. The calculations required in the present invention are (Expression 3), (Expression 4), (Expression 5), (Expression 6), (Expression 11), and base point selection. On the other hand, the expression obtained by the least square method has a large amount of calculation like (Expression 4) of Patent Document 1. Both methods calculate each time a SYNC packet is received. In comparing the calculation amounts, the frequency deviation with the same accuracy can be obtained by the two methods depending on various conditions such as the SYNC packet transmission interval, the frequency deviation, and the network configuration which are the synchronization system conditions. Therefore, two calculations are compared with the same input data amount. In the input data, n = m, where the number of the latest SYNC packets used for base point selection performed in the present invention is n, and the number of SYNC points for which a deviation is obtained by the least square method is m. All the calculations required in the present invention are simple calculations. On the other hand, the amount of calculation of (Formula 4) of Patent Document 1 used in the least square method is obviously large because the average value is calculated and there is a difference calculation from the average value. .

製品全体からみた効果及びその効果が得られる理由として、前記のように簡単な構成で高応答性を持って周波数偏差が求められるから、短時間でマスタ装置とスレーブ装置との同期確立ができ、スレーブ装置での計算回数が少ないことから消費電力を抑えたコンパクトなLSIの実現が可能になることが挙げられる。   As an effect seen from the whole product and the reason that the effect can be obtained, since the frequency deviation is obtained with high response with a simple configuration as described above, synchronization between the master device and the slave device can be established in a short time, For example, since the number of calculations in the slave device is small, it is possible to realize a compact LSI with reduced power consumption.

例えば、前記図1のスレーブ装置S31において、図2に示したマスタカウンタ値<mc>iとスレーブカウンタ値<sc>iの差分を保持するカウンタ差分履歴部TBL1のエントリ数Nを64とする。マスタ/スレーブカウンタ値履歴部TBL3,2の数Mを400とする。すなわち、周波数差計算には、4秒間でのマスタとスレーブカウンタのカウントアップ量の差分で行う。評価目的として、スレーブクロック周波数は、マスタクロックに対して100ppmの誤差を付加するものとする。   For example, in the slave device S31 of FIG. 1, the number N of entries in the counter difference history part TBL1 that holds the difference between the master counter value <mc> i and the slave counter value <sc> i shown in FIG. The number M of the master / slave counter value history parts TBL3, 2 is set to 400. That is, the frequency difference calculation is performed by the difference between the count-up amounts of the master and slave counters in 4 seconds. For evaluation purposes, the slave clock frequency adds an error of 100 ppm to the master clock.

スレーブ装置S31において、前記2点間拡張法により算出した周波数差と、前記図 1に示す周波数差算出部を用いた周波数差<fa>は、次のように算出できる。期待値100ppmに対して、前記2点間拡張法では40〜160ppmの±60ppmの算出誤差であるのに対して、前記実施例では、95〜105ppmの誤差±5ppmの算出誤差となる。前記2点間距離拡張法の場合、2点間の時間である4秒に対して、通信遅延ジッタ246.08usを含むため、この通信遅延ジッタによって生じる周波数差算出誤差は、246.08us / 4s = 61.52ppmとなる。これに対して、前記実施例では、前記2点間距離拡張法と比較して約12.3倍(61.52 / 5)の精度改善が期待できる。つまり、周波数差算出の2点間の時間を12.3分の1である0.33秒に短縮しても、本発明を用いた場合、前記のような2点間距離拡張法と同等の精度を期待できることとなる。   In the slave device S31, the frequency difference calculated by the two-point expansion method and the frequency difference <fa> using the frequency difference calculation unit shown in FIG. 1 can be calculated as follows. In contrast to the expected value of 100 ppm, the two-point expansion method has a calculation error of ± 60 ppm of 40 to 160 ppm, whereas in the embodiment, the calculation error of 95 to 105 ppm is ± 5 ppm. In the case of the two-point distance extension method, since communication delay jitter 246.08 us is included for 4 seconds which is the time between two points, the frequency difference calculation error caused by this communication delay jitter is 246.08 us / 4s = 61.52. ppm. On the other hand, in the embodiment, an accuracy improvement of about 12.3 times (61.52 / 5) can be expected as compared with the two-point distance extension method. In other words, even if the time between two points for frequency difference calculation is shortened to 0.33 seconds, which is a factor of 12.3, the present invention can be used to expect the same accuracy as the two-point distance extension method as described above. It becomes.

以上本発明者によってなされた発明を、上記実施形態に基づき具体的に説明したが、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。マスタカウンタ値<mc>iは及びスレーブカウンタ値<sc>iは、本願発明による補正の前にプロトコル等によって事前に通信遅延成分などを補正した値であっても構わない。経路ジッタ<pdj>i算出は、周波数偏差が十分無視できることを前提(a=1) として行っているが、より精度を向上させるために、求められた周波数偏差<fa>を用いて補正を行っても良い。例えば、前記(式8)に周波数補正分K を加えた(式12)としてもよい。K は、K=<fa>*Tであり、T は周波数偏差<fa>を求めた起点(最小値) からi 番目までの間隔である。
<pdj>i = <dc>i - min<dc> - K ・・・・・(式12)
Although the invention made by the present inventors has been specifically described based on the above embodiment, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention. The master counter value <mc> i and the slave counter value <sc> i may be values obtained by correcting communication delay components in advance by a protocol or the like before correction according to the present invention. Path jitter <pdj> i is calculated on the assumption that the frequency deviation is sufficiently negligible (a = 1) .To improve the accuracy, correction is performed using the obtained frequency deviation <fa>. May be. For example, (Expression 12) may be obtained by adding the frequency correction amount K to (Expression 8). K is K = <fa> * T, and T is the interval from the starting point (minimum value) from which the frequency deviation <fa> is obtained to the i-th.
<pdj> i = <dc> i-min <dc>-K (Equation 12)

スレーブ装置がマイクロコンピュータ機能を持つ場合、同期化回路の各演算部、最小値算出部の動作は、マイクロコンピュータに含まれる演算器を用いてソフトウェアにより実現してもよい。この場合、履歴部やレジスタは、メモリ回路に置き替えられる。   When the slave device has a microcomputer function, the operations of the calculation units and the minimum value calculation unit of the synchronization circuit may be realized by software using a calculation unit included in the microcomputer. In this case, the history section and the register are replaced with a memory circuit.

この発明は、ネットワークを介した同期が必要なFAシステム、リアルタイム画像/音声転送装置のような各種システムにおけるネットワーク同期方法と同期化回路に広く利用できる。   The present invention can be widely used in a network synchronization method and a synchronization circuit in various systems such as an FA system and a real-time image / sound transfer apparatus that require synchronization via a network.

M0…マスタ装置、H0,H1…スイッチングハブ、S1〜S31…スレーブ装置、AU1〜AU4…演算部、TBL1…カウンタ差分履歴部、TBL2…スレーブカウンタ履歴部、TBL3…マスタカウンタ履歴部、REG1,REG2…レジスタ、MIN…最小値算出部。   M0 ... Master device, H0, H1 ... Switching hub, S1-S31 ... Slave device, AU1-AU4 ... Calculation unit, TBL1 ... Counter difference history unit, TBL2 ... Slave counter history unit, TBL3 ... Master counter history unit, REG1, REG2 ... Register, MIN ... Minimum value calculator.

Claims (5)

ネットワークを介して受信された同期パケットのマスタカウンタ値と、上記同期パケットの受信タイミングでのスレーブカウンタ値の差分に対応した経路ジッタを算出する第1手順と、
上記第1演算部で形成され、直近のものを含めた複数個の経路ジッタを第1履歴部に記憶する第2手順と、
上記第1履歴部に記憶されている複数個の経路ジッタのうち最小経路ジッタを抽出する第3手順と、
上記第1演算部で形成された経路ジッタと上記最小経路ジッタとの差分に対応した予測経路ジッタを算出する第4手順と、
上記スレーブカウンタ値と上記予測経路ジッタとの差分に対応した補正後スレーブカウンタ値を算出する第5手順と、
直近のものを含めた複数個の上記補正後スレーブカウンタ値を第2履歴部に記憶する第6手順と、
上記スレーブカウンタ値に対応し、上記直近のものを含めた複数個の同期パケットのマスタカウン値を第3履歴部に記憶する第7手順と、
上記第2履歴部から取り出した2つの補正後スレーブカウン値の差分と、それに対応し上記第3履歴部から取り出した2つのマスタカウンタ値の差分との比から周波数偏差を算出する第8手順と、
上記算出された周波数偏差を用いて上記スレーブカウンタ値の補正を行う第9手順とを有する、
ネットワーク同期方法。
A first procedure for calculating a path jitter corresponding to a difference between a master counter value of a synchronization packet received via a network and a slave counter value at the reception timing of the synchronization packet;
A second procedure for storing a plurality of path jitters including the most recent one in the first history unit formed in the first calculation unit;
A third procedure for extracting a minimum path jitter from a plurality of path jitters stored in the first history section;
A fourth procedure for calculating a predicted path jitter corresponding to a difference between the path jitter formed by the first calculation unit and the minimum path jitter;
A fifth procedure for calculating a corrected slave counter value corresponding to the difference between the slave counter value and the predicted path jitter;
A sixth procedure for storing a plurality of corrected slave counter values including the latest one in the second history section;
A seventh procedure for storing a master count value of a plurality of synchronization packets including the most recent one corresponding to the slave counter value in a third history section;
An eighth procedure for calculating a frequency deviation from a ratio between a difference between the two corrected slave count values extracted from the second history part and a difference between two corresponding master counter values extracted from the third history part; ,
A ninth procedure for correcting the slave counter value using the calculated frequency deviation,
Network synchronization method.
請求項1において、
上記マスタカウンタ値及びスレーブカウンタ値は、予め適用されたネットワークの通信プロトコルに対応して通信遅延成分が補正される、
ネットワーク同期方法。
In claim 1,
In the master counter value and the slave counter value, a communication delay component is corrected in accordance with a network communication protocol applied in advance.
Network synchronization method.
請求項1又は2において、
上記予測経路ジッタは、上記算出された周波数偏差を用いて補正される、
ネットワーク同期方法。
In claim 1 or 2,
The predicted path jitter is corrected using the calculated frequency deviation.
Network synchronization method.
ネットワークを介してマスタ装置と接続可能にされ、かかるマスタ装置から送信された同期パケットを受けるプロトコル処理部とスレーブカウンタとを有するスレーブ装置に搭載可能にされ、
経路ジッタ算出部と、
周波数偏差算出部とを有し、
上記経路ジッタ算出部は、
第1演算部と、
第1履歴部と、
最小値算出部と、
第2演算部とを有し、
上記第1演算部は、ネットワークを介して受信された同期パケットのマスタカウンタ値と、上記同期パケットの受信タイミングでのスレーブカウンタ値との差分に対応した経路ジッタを算出し、
上記第1履歴部は、上記第1演算部で形成され、直近のものを含めた複数個の経路ジッタを記憶し、
上記最小値算出部は、上記第1履歴部に記憶されている複数個の経路ジッタのうち最小経路ジッタを抽出し、
上記第2演算部は、上記第1演算部で形成された経路ジッタと上記最小経路ジッタの差分に対応した予測経路ジッタを算出し、
上記周波数偏差算出部は、
第3演算部と、
第2履歴部と、
第3履歴部と、
第4演算部とを有し、
上記第3演算部は、上記スレーブカウンタ値と上記予測経路ジッタの差分である補正後スレーブカウンタ値を算出し、
上記第2履歴部は、直近のものを含めた複数個の上記補正後スレーブカウンタ値を記憶し、
上記第3履歴部は、上記スレーブカウンタ値に対応し、上記直近のものを含めた複数個の同期パケットのマスタカウン値を記憶し、
上記第4演算部は、上記第2履歴部から取り出した2つの補正後スレーブカウンタの差分と、それに対応し上記第3履歴部から取り出したマスタカウン値の差分との比から周波数偏差を算出し、
上記算出された周波数偏差を用いて上記スレーブカウンタ値の補正を行う、
同期化回路。
It can be connected to the master device via a network, and can be mounted on a slave device having a protocol processing unit that receives a synchronization packet transmitted from the master device and a slave counter.
A path jitter calculator,
A frequency deviation calculator,
The path jitter calculation unit
A first calculation unit;
A first history part;
A minimum value calculator,
A second arithmetic unit,
The first calculation unit calculates a path jitter corresponding to a difference between a master counter value of a synchronization packet received via a network and a slave counter value at a reception timing of the synchronization packet;
The first history unit is formed by the first calculation unit, stores a plurality of path jitters including the latest one,
The minimum value calculation unit extracts a minimum path jitter from a plurality of path jitters stored in the first history unit,
The second calculation unit calculates a predicted path jitter corresponding to a difference between the path jitter formed by the first calculation unit and the minimum path jitter,
The frequency deviation calculator is
A third computing unit;
A second history section;
A third history section;
A fourth arithmetic unit,
The third calculation unit calculates a corrected slave counter value that is a difference between the slave counter value and the predicted path jitter,
The second history unit stores a plurality of corrected slave counter values including the latest one,
The third history unit corresponds to the slave counter value, stores a master count value of a plurality of synchronization packets including the latest one,
The fourth calculation unit calculates a frequency deviation from a ratio between a difference between the two corrected slave counters extracted from the second history unit and a difference between the corresponding master count values extracted from the third history unit,
The slave counter value is corrected using the calculated frequency deviation.
Synchronization circuit.
請求項4において、
上記第1履歴部は、第1レジスタにより変更可能にされたN個分の経路ジッタの記憶が行われ、
上記第2履歴部及び第3履歴部は、第2レジスタにより変更可能にされたM個分の補正後スレーブカウンタ値と、マスタカウンタ値の記憶がそれぞれ行われる、
同期化回路。
In claim 4,
The first history unit stores N path jitters that can be changed by the first register,
The second history unit and the third history unit store M corrected slave counter values and master counter values that can be changed by the second register, respectively.
Synchronization circuit.
JP2009164504A 2009-07-13 2009-07-13 Network synchronization method and synchronization circuit Pending JP2011023788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009164504A JP2011023788A (en) 2009-07-13 2009-07-13 Network synchronization method and synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009164504A JP2011023788A (en) 2009-07-13 2009-07-13 Network synchronization method and synchronization circuit

Publications (2)

Publication Number Publication Date
JP2011023788A true JP2011023788A (en) 2011-02-03
JP2011023788A5 JP2011023788A5 (en) 2012-03-22

Family

ID=43633515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009164504A Pending JP2011023788A (en) 2009-07-13 2009-07-13 Network synchronization method and synchronization circuit

Country Status (1)

Country Link
JP (1) JP2011023788A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012249040A (en) * 2011-05-27 2012-12-13 Hitachi Ulsi Systems Co Ltd Network connection reception side device and time synchronization system
JP2013104772A (en) * 2011-11-14 2013-05-30 Fujitsu Ltd Frame transmission device and synchronization method
KR20150038294A (en) 2012-09-11 2015-04-08 미쓰비시덴키 가부시키가이샤 Correction parameter calculation device and system, correction parameter calculation method, and computer program
JP2015171014A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Time synchronization method, network system, cpu, relay apparatus, and user apparatus
JP2020195056A (en) * 2019-05-28 2020-12-03 富士通株式会社 Time synchronization program, information processing device and time synchronization method
US11831402B2 (en) 2019-03-11 2023-11-28 Mitsubishi Electric Corporation Slave equipment, computer readable medium, and embedded system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186180A (en) * 1999-12-24 2001-07-06 Oki Electric Ind Co Ltd Ip terminal device, method for estimating frequency error range, method of estimating frequency difference and method of calculating estimated required time
JP2004179807A (en) * 2002-11-26 2004-06-24 Mitsubishi Electric Corp Clock reproducing apparatus, data communication device, and clock reproducing method
JP2010232845A (en) * 2009-03-26 2010-10-14 Sony Corp Receiving apparatus, and time correction method for the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186180A (en) * 1999-12-24 2001-07-06 Oki Electric Ind Co Ltd Ip terminal device, method for estimating frequency error range, method of estimating frequency difference and method of calculating estimated required time
JP2004179807A (en) * 2002-11-26 2004-06-24 Mitsubishi Electric Corp Clock reproducing apparatus, data communication device, and clock reproducing method
JP2010232845A (en) * 2009-03-26 2010-10-14 Sony Corp Receiving apparatus, and time correction method for the same

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012249040A (en) * 2011-05-27 2012-12-13 Hitachi Ulsi Systems Co Ltd Network connection reception side device and time synchronization system
JP2013104772A (en) * 2011-11-14 2013-05-30 Fujitsu Ltd Frame transmission device and synchronization method
US8837532B2 (en) 2011-11-14 2014-09-16 Fujitsu Limited Frame transmission device and synchronization method
CN104641589B (en) * 2012-09-11 2018-10-16 三菱电机株式会社 Correction parameter computing device and time synchronization system and correction parameter computational methods
CN104641589A (en) * 2012-09-11 2015-05-20 三菱电机株式会社 Correction parameter calculation device and system, correction parameter calculation method, and computer program
KR20150038294A (en) 2012-09-11 2015-04-08 미쓰비시덴키 가부시키가이샤 Correction parameter calculation device and system, correction parameter calculation method, and computer program
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
DE112012006890B4 (en) * 2012-09-11 2020-03-26 Mitsubishi Electric Corporation Correction parameter calculation device, system, correction parameter calculation method, and computer program
JP2015171014A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Time synchronization method, network system, cpu, relay apparatus, and user apparatus
US11831402B2 (en) 2019-03-11 2023-11-28 Mitsubishi Electric Corporation Slave equipment, computer readable medium, and embedded system
JP2020195056A (en) * 2019-05-28 2020-12-03 富士通株式会社 Time synchronization program, information processing device and time synchronization method
JP7230690B2 (en) 2019-05-28 2023-03-01 富士通株式会社 Time synchronization program, information processing device and time synchronization method

Similar Documents

Publication Publication Date Title
JP5260408B2 (en) Time synchronization network and communication device
JP5458719B2 (en) Clock synchronization system, communication apparatus, method and program
JP3993508B2 (en) Wireless access network system, wireless communication method, synchronization server, and node device
US9258073B2 (en) Network element for a packet-switched network
KR100735230B1 (en) Time synchronization in distributed system
JP3845114B2 (en) System with preset timing relationship between data input / output and transmitter and receiver of such system
JP2011023788A (en) Network synchronization method and synchronization circuit
US20200127752A1 (en) Time synchronization device and time synchronization method
WO2017063450A1 (en) Timestamp filtering method and apparatus
KR101636496B1 (en) Signal synchronization system, node synchronization system, signal synchronization method, and node synchronization method
JPWO2012118178A1 (en) Synchronization system, synchronization method, first synchronization device, second synchronization device, and computer program
JP2012023654A (en) Time synchronization device via network
JP2014238357A (en) Reception device, time difference calculation method and program
US20200382233A1 (en) Information processing apparatus and time synchronization method
JP2012195840A (en) Communication apparatus and communication control method
WO2021240783A1 (en) Time correction device, time correction method, and time correction program
JP2011071869A (en) Clock synchronizing method and packet communication system
JP2012119782A (en) Node system and monitoring node
JP2014165581A (en) Time synchronization system, time synchronization method, slave node and computer program
WO2017033416A1 (en) Relay device, communication system, and fault detection method
CN110492966B (en) Time synchronization method of distributed relay protection device
JP6010803B2 (en) Time synchronization system, time synchronization method, slave node, and computer program
JP2024011842A (en) Information communication system and information communication device
CN114513273A (en) Method and device for realizing PTP chip clock module
Hajikhani Bias Estimation in Asymmetric Packet-based Networks

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120208

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131009