JP2009077207A - Client device and synchronization system - Google Patents

Client device and synchronization system Download PDF

Info

Publication number
JP2009077207A
JP2009077207A JP2007244873A JP2007244873A JP2009077207A JP 2009077207 A JP2009077207 A JP 2009077207A JP 2007244873 A JP2007244873 A JP 2007244873A JP 2007244873 A JP2007244873 A JP 2007244873A JP 2009077207 A JP2009077207 A JP 2009077207A
Authority
JP
Japan
Prior art keywords
rtt
time
synchronization
prev
offset
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.)
Granted
Application number
JP2007244873A
Other languages
Japanese (ja)
Other versions
JP4810520B2 (en
Inventor
Yoshiro Yamada
義朗 山田
Kenji Kudome
賢治 久留
Masahiro Kobayashi
正啓 小林
Mitsuhiro Tejima
光啓 手島
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2007244873A priority Critical patent/JP4810520B2/en
Publication of JP2009077207A publication Critical patent/JP2009077207A/en
Application granted granted Critical
Publication of JP4810520B2 publication Critical patent/JP4810520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve stable frequency-time synchronization even under a network environment having fluctuation in transmission delay and path switching. <P>SOLUTION: An RTT (round trip time) is filtered to remove packets largely deviated from a mean value of a delay time, client time is controlled by using only the data approximate to the mean value of the delay time. Alternatively, an RTT is filtered, and the client time is controlled by using only the data within an error range estimated from the previous RTT. Alternatively, when an RTT or a one-side delay time suddenly changes, it is considered that path switching is caused, and the process shifts to a hold-over operation. Further, an offset value is donated so as to cancel a change amount at that time. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、基準時刻を発生するサーバに対し、周波数または時刻を同期するクライアント装置に関する。以下の説明では、基準時刻を発生するサーバを同期サーバと呼び、この同期サーバに周波数または時刻を同期するクライアント装置を同期クライアントと呼ぶことにする。   The present invention relates to a client device that synchronizes frequency or time with a server that generates a reference time. In the following description, a server that generates a reference time is referred to as a synchronization server, and a client device that synchronizes frequency or time with the synchronization server is referred to as a synchronization client.

パケット網における同期方式として標準的に用いられているNTP(Network
Time Protocol:非特許文献1参照)やSNTP(Simple Network Time Protocol:非特許文献2参照)の基本原理を図1に示す。
NTP (Network that is used as a standard synchronization method in packet networks)
The basic principles of Time Protocol (see Non-Patent Document 1) and SNTP (Simple Network Time Protocol: see Non-Patent Document 2) are shown in FIG.

同期クライアントは送信時刻T1を書き込んだ同期要求パケットを同期サーバに送信する。同期サーバは同期要求パケットを受信し、同期応答パケットを同期クライアントに送信する。同期応答パケットには送信時刻T1の他に、同期要求パケットを受信した時刻T2と同期応答パケットを送信した時刻T3とが書き込まれている。   The synchronization client transmits a synchronization request packet in which the transmission time T1 is written to the synchronization server. The synchronization server receives the synchronization request packet and transmits a synchronization response packet to the synchronization client. In addition to the transmission time T1, the synchronization response packet includes a time T2 when the synchronization request packet is received and a time T3 when the synchronization response packet is transmitted.

同期クライアントが同期応答パケットを受信した時刻をT4とする。ここで、T1およびT4はクライアント時刻発生部で測った時刻、T2とT3はサーバ時刻発生部で測った時刻である。同期クライアントと同期サーバとの間でパケットが往復するのに要した実効的な往復遅延時間RTT(Round Trip Time)は
RTT=(T4−T1)−(T3−T2)=T4−T3+T2−T1
で与えられる。また、同期要求パケットの遅延時間をD1、同期応答パケットの遅延時間をD2とすると、
D1+D2=RTT
となる。同期要求パケットの遅延時間と同期応答パケットの遅延時間とが等しいと仮定すると、
D1=D2=RTT/2
となる。この場合には、クライアント時刻発生部とサーバ時刻発生部との誤差は、
dT=T4−(T3+D2)=(T1−T2−T3+T4)/2
と推定できる。dTの値が0になるようにクライアント時刻発生部を制御することにより、時刻同期が確立できる。
The time when the synchronization client receives the synchronization response packet is T4. Here, T1 and T4 are times measured by the client time generation unit, and T2 and T3 are times measured by the server time generation unit. The effective round trip time RTT (Round Trip Time) required for the packet to reciprocate between the synchronous client and the synchronous server is RTT = (T4-T1)-(T3-T2) = T4-T3 + T2-T1
Given in. If the delay time of the synchronization request packet is D1, and the delay time of the synchronization response packet is D2,
D1 + D2 = RTT
It becomes. Assuming that the delay time of the sync request packet is equal to the delay time of the sync response packet,
D1 = D2 = RTT / 2
It becomes. In this case, the error between the client time generation unit and the server time generation unit is
dT = T4- (T3 + D2) = (T1-T2-T3 + T4) / 2
Can be estimated. By controlling the client time generation unit so that the value of dT becomes 0, time synchronization can be established.

D.W.Mills:“Network Time Protocol(Version3)Specification,Implementation and Analysis”,RFC1305,IETF.D. W. Mills: “Network Time Protocol (Version 3) Specification, Implementation and Analysis”, RFC 1305, IETF. D.Mills:“Simple Network Time Protocol(SNTP)Version4 for IPv4,IPv6 and OSI”,RFC2030,IETF.D. Mills: “Simple Network Time Protocol (SNTP) Version 4 for IPv4, IPv6 and OSI”, RFC2030, IETF.

ネットワーク内のジッタや経路切替により同期要求パケットの遅延時間と同期応答パケットの遅延時間がそれぞれΔD1、ΔD2だけ変化すると、クライアント時刻発生部とサーバ時刻発生部との時間差は
dT=(T1−T2−T3+T4)/2+(ΔD2−ΔD1)/2
すなわち、(ΔD2−ΔD1)/2だけ変化が生じたように見える。これをそのまま用いてクライアント時刻発生部を制御すると、クライアント時刻発生部もその影響を受けて揺らいでしまう。
When the delay time of the synchronization request packet and the delay time of the synchronization response packet change by ΔD1 and ΔD2 due to jitter in the network and path switching, respectively, the time difference between the client time generation unit and the server time generation unit is dT = (T1-T2- T3 + T4) / 2 + (ΔD2-ΔD1) / 2
That is, it appears that a change has occurred by (ΔD2−ΔD1) / 2. If this is used as it is and the client time generating unit is controlled, the client time generating unit will also be affected and fluctuate.

本発明は、このような背景の下に行われたものであって、上記パケット伝搬遅延時間が変化したときの影響を取り除くことができる同期クライアントおよび同期システムを提供することを目的とする。   The present invention has been made under such a background, and an object thereof is to provide a synchronization client and a synchronization system capable of removing the influence when the packet propagation delay time changes.

本発明では、上記課題を解決するために、RTTに対するフィルタリングを行い、遅延時間の平均値から大きく外れるパケットを除去し、遅延時間の平均値の近傍のデータだけを用いてクライアント時刻発生部の制御を行う。   In the present invention, in order to solve the above-mentioned problem, filtering for RTT is performed, packets that deviate significantly from the average value of delay time are removed, and control of the client time generation unit is performed using only data in the vicinity of the average value of delay time I do.

あるいは、RTTに対するフィルタリングを行い、前回のRTTから推定される誤差範囲に収まるデータだけを用いてクライアント時刻発生部の制御を行う。   Alternatively, RTT filtering is performed, and the client time generation unit is controlled using only data that falls within the error range estimated from the previous RTT.

あるいは、RTTまたは片側遅延時間が急激に変化した場合は経路切替が発生したとみなして、ホールドオーバ動作に遷移する。すなわち、伝搬遅延時間の平均値の近傍のデータだけを用いてクライアント時刻発生部の制御を行うことにより、クライアント時刻発生部の揺らぎを小さくすることができる。   Alternatively, when the RTT or the one-side delay time changes abruptly, it is considered that path switching has occurred, and a transition is made to the holdover operation. That is, by controlling the client time generating unit using only data in the vicinity of the average value of the propagation delay time, fluctuations in the client time generating unit can be reduced.

あるいは、前回のRTTから推定される誤差範囲に収まるデータだけを用いてクライアント時刻発生部の制御を行うことにより、クライアント時刻発生部の揺らぎを小さくすることができる。   Alternatively, the fluctuation of the client time generation unit can be reduced by controlling the client time generation unit using only data that falls within the error range estimated from the previous RTT.

あるいは、RTTが急激に変化した場合は経路切替が発生したとみなしてホールドオーバ動作に遷移することにより、経路切替によるクライアント時刻発生部の出力信号の急激な位相および周波数変動を防ぐことができる。   Alternatively, when the RTT changes abruptly, it is considered that the path switching has occurred, and the transition to the holdover operation can be performed to prevent a sudden phase and frequency fluctuation of the output signal of the client time generation unit due to the path switching.

あるいは、RTTまたは片側遅延時間が急激に変化した場合は経路切替が発生したとみなし、そのときのdTの変化分(前述した(ΔD2−ΔD1)/2に相当する量)をキャンセルするようにdTに対するオフセット値を与えることにより、経路切替によるクライアント時刻発生部の出力信号の急激な位相および周波数変動を防ぐことができる。   Alternatively, if the RTT or the one-side delay time changes drastically, it is considered that path switching has occurred, and the change in dT at that time (the amount corresponding to (ΔD2−ΔD1) / 2 described above) is cancelled. By providing an offset value for, it is possible to prevent sudden phase and frequency fluctuations in the output signal of the client time generation unit due to path switching.

すなわち、本発明は、基準時刻を発生する同期サーバに対して同期要求信号を送信する手段と、同期サーバからの当該同期要求信号に応答する同期応答信号を受信する手段と、受信した当該同期応答信号に基づき基準時刻に同期した周波数または時刻を発生する手段(上記クライアント時刻発生部に相当する)とを備えた同期クライアントである。   That is, the present invention includes means for transmitting a synchronization request signal to a synchronization server that generates a reference time, means for receiving a synchronization response signal in response to the synchronization request signal from the synchronization server, and the received synchronization response. It is a synchronous client provided with a means (corresponding to the client time generator) that generates a frequency or time synchronized with a reference time based on a signal.

ここで、本発明の特徴とするところは、自同期クライアントが同期サーバに対して同期要求信号を送信した時刻をT1とし、同期サーバが当該同期要求信号を受信した時刻をT2とし、同期サーバが当該同期要求信号に応答する同期応答信号を送信した時刻をT3とし、自同期クライアントが当該同期応答信号を受信した時刻をT4としたときに、基準時刻を参照して自同期クライアント内の周波数または時刻を設定する際に適用する時刻差dTは
dT=(T1−T2−T3+T4)/2
であり、自同期クライアントと同期サーバとの間で同期要求信号を往路信号とし同期応答信号を復路信号とするときの往復遅延時間RTTを
RTT=T4−T3+T2−T1
としたときに、当該RTTの値が所定の値となる場合の時刻差dTに限定して時刻差dTを自同期クライアント内の周波数または時刻の設定に適用する手段(上記クライアント時刻発生部の有する手段)を備え、所定の値は、同期応答信号を受信する以前のRTTの平均値RTT_meanを算出し、予め設定したジッタ許容値をδとしたときに、
RTT_lim1=RTT_mean+δ
RTT_lim2=RTT_mean−δ
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値であるところにある。
Here, the feature of the present invention is that the time when the synchronization client transmits the synchronization request signal to the synchronization server is T1, the time when the synchronization server receives the synchronization request signal is T2, and the synchronization server When the time at which the synchronization response signal in response to the synchronization request signal is transmitted is T3 and the time at which the own synchronization client receives the synchronization response signal is T4, the frequency in the own synchronization client or the reference time is referred to The time difference dT applied when setting the time is dT = (T1-T2-T3 + T4) / 2.
The round-trip delay time RTT between the synchronization client and the synchronization server when the synchronization request signal is the forward signal and the synchronization response signal is the return signal is RTT = T4-T3 + T2-T1
Means for applying the time difference dT to the frequency or time setting in the own synchronization client only for the time difference dT when the value of the RTT becomes a predetermined value (the client time generation unit has The predetermined value is calculated by calculating an average value RTT_mean of the RTT before receiving the synchronization response signal, and setting a preset jitter tolerance value as δ,
RTT_lim1 = RTT_mean + δ
RTT_lim2 = RTT_mean-δ
RTT_lim2 <RTT <RTT_lim1
There is a value of RTT that satisfies the above.

あるいは、所定の値は、同期応答信号を受信する直前にRTTが所定の値となった同期応答信号のRTTをRTT_prevとし、予め設定した許容規格化周波数差をyとし、同期応答信号を受信する直前の時刻差dTの適用時刻からの経過時間をTとして、
RTT_lim=RTT_prev+y×T
RTT<RTT_lim
を満たすRTTの値である。
Alternatively, the predetermined value is the RTT of the synchronous response signal in which the RTT has reached the predetermined value immediately before receiving the synchronous response signal, RTT_prev, the preset allowable normalized frequency difference is y, and the synchronous response signal is received. The elapsed time from the application time of the immediately preceding time difference dT is T,
RTT_lim = RTT_prev + y × T
RTT <RTT_lim
RTT value satisfying

あるいは、所定の値は、同期応答信号を受信する直前にRTTが所定の値となった同期応答信号のRTTをRTT_prevとし、予め設定した許容規格化周波数差をy1およびy2とし、同期応答信号を受信する直前の時刻差dTの適用時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev−y2×T
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値である。
Alternatively, the predetermined value may be set such that the RTT of the synchronous response signal at which the RTT has reached the predetermined value immediately before receiving the synchronous response signal is RTT_prev, the preset allowable normalized frequency difference is y1 and y2, and the synchronous response signal is The elapsed time from the application time of the time difference dT immediately before reception is T,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev−y2 × T
RTT_lim2 <RTT <RTT_lim1
RTT value satisfying

あるいは、所定の値は、同期応答信号を受信する直前にRTTが所定の値となった同期応答信号のRTTをRTT_prevとし、予め設定した許容規格化周波数差をy1およびy2とし、予め設定した定数をγ(0<γ<1)とし、同期応答信号を受信する直前の時刻差dTの適用時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev×(1−γ)−y2×T
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値である。
Alternatively, the predetermined value is a constant that is set in advance, with RTT_prev being the RTT of the synchronous response signal whose RTT has reached the predetermined value immediately before receiving the synchronous response signal, y1 and y2 being a preset allowable normalized frequency difference Is γ (0 <γ <1), and T is the elapsed time from the application time of the time difference dT immediately before receiving the synchronization response signal.
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev × (1-γ) −y2 × T
RTT_lim2 <RTT <RTT_lim1
RTT value satisfying

また、本発明を同期システムとしての観点から観ることもできる。すなわち、本発明は、基準時刻を発生する同期サーバと、本発明の同期クライアントとを備えた同期システムである。   The present invention can also be viewed from the viewpoint of a synchronization system. That is, the present invention is a synchronization system including a synchronization server that generates a reference time and the synchronization client of the present invention.

また、本発明をプログラムとしての観点から観ることもできる。すなわち、本発明は、汎用の情報処理装置にインストールすることにより、その汎用の情報処理装置に、本発明の同期クライアントの少なくとも一部の機能に相応する機能を実現させるプログラムである。   The present invention can also be viewed from the viewpoint of a program. That is, the present invention is a program that, when installed in a general-purpose information processing apparatus, causes the general-purpose information processing apparatus to realize functions corresponding to at least some of the functions of the synchronous client of the present invention.

本発明のプログラムは記録媒体に記録されることにより、前記汎用の情報処理装置は、この記録媒体を用いて本発明のプログラムをインストールすることができる。あるいは、本発明のプログラムを保持するサーバからネットワークを介して直接前記汎用の情報処理装置に本発明のプログラムをインストールすることもできる。   By recording the program of the present invention on a recording medium, the general-purpose information processing apparatus can install the program of the present invention using this recording medium. Alternatively, the program of the present invention can be directly installed on the general-purpose information processing apparatus via a network from a server that holds the program of the present invention.

これにより、汎用の情報処理装置を用いて、本発明の同期クライアントの少なくとも一部の機能に相応する機能を実現することができる。   Thereby, the function corresponding to the function of at least one part of the synchronous client of this invention is realizable using a general purpose information processing apparatus.

なお、本発明のプログラムは、汎用の情報処理装置によって直接実行可能なものだけでなく、ハードディスクなどにインストールすることによって実行可能となるものも含む。また、圧縮されたり、暗号化されたりしたものも含む。   The program of the present invention includes not only a program that can be directly executed by a general-purpose information processing apparatus but also a program that can be executed by installing it on a hard disk or the like. Also included are those that are compressed or encrypted.

本発明によれば、伝送遅延揺らぎや経路切替のあるネットワーク環境でも安定した周波数・時刻同期を実現できる。   According to the present invention, stable frequency / time synchronization can be realized even in a network environment where transmission delay fluctuations and path switching occur.

(第一実施例)
本発明における同期クライアントを用いた周波数・時刻同期システムの構成を図2に示す。同期クライアント10は、同期要求パケット送信部2から送信時刻T1を書き込んだ同期要求パケットを同期サーバ20に送信する。
(First Example)
FIG. 2 shows the configuration of a frequency / time synchronization system using a synchronization client according to the present invention. The synchronization client 10 transmits the synchronization request packet in which the transmission time T1 is written from the synchronization request packet transmission unit 2 to the synchronization server 20.

同期サーバ20は、同期要求パケット受信部13で同期要求パケットを受信し、同期応答パケット送信部12から同期応答パケットを同期クライアント10に送信する。   The synchronization server 20 receives the synchronization request packet at the synchronization request packet receiver 13 and transmits the synchronization response packet from the synchronization response packet transmitter 12 to the synchronization client 10.

同期応答パケットには前記のT1の他、同期要求パケット受信部13が同期要求パケットを受信した時刻T2と同期応答パケット送信部12が同期応答パケットを送信した時刻T3とが書き込まれている。   In addition to T1, the synchronization response packet includes time T2 when the synchronization request packet receiver 13 receives the synchronization request packet and time T3 when the synchronization response packet transmitter 12 transmits the synchronization response packet.

同期クライアント10が同期応答パケット受信部3で同期応答パケットを受信した時刻をT4とする。ここで、T1およびT4はクライアント時刻発生部1で発生させた時刻であり、T2およびT3はサーバ時刻発生部11で発生させた時刻である。   The time when the synchronization client 10 receives the synchronization response packet at the synchronization response packet receiver 3 is T4. Here, T1 and T4 are times generated by the client time generating unit 1, and T2 and T3 are times generated by the server time generating unit 11.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、以前の往復遅延時間の平均値RTT_meanを算出し、予め設定したジッタ許容値をδとして、
RTTlim1=RTTmean+δ
RTTlim2=RTTmean−δ
RTTlim2<RTT<RTTlim1
の条件を満足する同期応答信号の時刻差dTだけを透過させ、この時刻差dTに限定して同期クライアントの周波数または時刻の設定に適用するためのRTTフィルタリング処理を行う。
The client time control unit 4 calculates the average value RTT_mean of the previous round-trip delay time based on T1, T2, T3, and T4, and sets a preset jitter tolerance value as δ.
RTTlim1 = RTTmean + δ
RTTlim2 = RTTmean−δ
RTTlim2 <RTT <RTTlim1
Only the time difference dT of the synchronization response signal satisfying the above condition is transmitted, and the RTT filtering process for applying the setting to the frequency or time of the synchronization client is performed only for the time difference dT.

以上のアルゴリズムを詳述すると、以下のようになる。
S1 RTT_mean={RTT[i−1]+RTT[i−2]+…+RTT[i−M]}/M
S2 RTT_lim1=RTT_mean+δ
RTT_lim2=RTT_mean−δ
S3 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S4 if(RTT_mean−δ<RTT[i]<RTT_mean+δ)then S5 else S8
S5 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S6 i++
S7 →S1
S8 i++
S9 →S3
δとしては、例えばジッタの標準偏差の1/10といった値を用いる。
The above algorithm is described in detail as follows.
S1 RTT_mean = {RTT [i-1] + RTT [i-2] + ... + RTT [i-M]} / M
S2 RTT_lim1 = RTT_mean + δ
RTT_lim2 = RTT_mean-δ
S3 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S4 if (RTT_mean-δ <RTT [i] <RTT_mean + δ) then S5 else S8
S5 dT [i] = (T1 [i] -T2 [i] -T3 [i] + T4 [i]) / 2
S6 i ++
S7 → S1
S8 i ++
S9 → S3
For example, a value such as 1/10 of the standard deviation of jitter is used as δ.

以上のRTTフィルタリングの動作の様子を図3に示す。なお、図3から図13における黒丸はRTTフィルタを透過(制御に使う)したRTTを示し、白丸はRTTフィルタを非透過(制御に使わない)のRTTを示す。   The state of the above RTT filtering operation is shown in FIG. In FIG. 3 to FIG. 13, black circles indicate RTTs that are transmitted through the RTT filter (used for control), and white circles indicate RTTs that are not transmitted through the RTT filter (not used for control).

クライアント時刻制御部4はdTの値が目標値に近づくようにクライアント時刻発生部1の位相および周波数を制御する。   The client time control unit 4 controls the phase and frequency of the client time generation unit 1 so that the value of dT approaches the target value.

なお、dTの目標値としては0(時刻同期の場合)も有り得るし、0以外の値(周波数同期の場合)も有り得る。これは、以下の実施例においても同様である。   Note that the target value of dT may be 0 (in the case of time synchronization), and may be a value other than 0 (in the case of frequency synchronization). The same applies to the following embodiments.

(第二実施例)
第二実施例における同期クライアントを用いた周波数および時刻同期システムの構成は第一実施例と同様である。
(Second embodiment)
The configuration of the frequency and time synchronization system using the synchronization client in the second embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、予め設定した許容規格化周波数差をy、直前に同期応答信号の時間差dTを透過させた時刻からの経過時間をTとして、
RTT_lim=RTT_prev+y×T
RTT<RTT_lim
の条件を満足する同期応答信号の時刻差dTだけを透過させるRTTフィルタリング処理を行う。発振器の周波数分解能は0ではないので、瞬時的には常に周波数誤差が存在する。従って、その周波数誤差(規格化周波数誤差)×経過時間分の位相誤差も発生する。このように推定される位相誤差よりもジッタが小さければ、そのデータは有効と判定することを意味する。
Based on T1, T2, T3, and T4, the client time control unit 4 sets RTT_prev as the round-trip delay time of the synchronization response signal transmitted immediately before, y as the preset allowable normalized frequency difference, and time difference dT as the synchronization response signal immediately before. The elapsed time from the time at which the
RTT_lim = RTT_prev + y × T
RTT <RTT_lim
RTT filtering processing for transmitting only the time difference dT of the synchronous response signal satisfying the above condition is performed. Since the frequency resolution of the oscillator is not zero, there is always a frequency error instantaneously. Therefore, a phase error corresponding to the frequency error (normalized frequency error) × elapsed time also occurs. If the jitter is smaller than the estimated phase error, it means that the data is determined to be valid.

以上のアルゴリズムを詳述すると、以下のようになる。
S11 RTT_prev=RTT[i−1]
S12 T4_prev=T4[i−1]
S13 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S14 RTT_lim=RTT_prev+y×(T4[i]−T4_prev)
S15 if(RTT[i]<RTT_lim)then S16 else S19
S16 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S17 i++
S18 →S11
S19 i++
S20 →S13
yとしては、例えばクライアント時刻発生部で使用している発振器の規格化周波数分解能(周波数分解能を公称周波数で規格化した値)といった値を用いる。
The above algorithm is described in detail as follows.
S11 RTT_prev = RTT [i-1]
S12 T4_prev = T4 [i-1]
S13 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S14 RTT_lim = RTT_prev + y × (T4 [i] −T4_prev)
S15 if (RTT [i] <RTT_lim) then S16 else S19
S16 dT [i] = (T1 [i] -T2 [i] -T3 [i] + T4 [i]) / 2
S17 i ++
S18 → S11
S19 i ++
S20 → S13
As y, for example, a value such as a normalized frequency resolution of the oscillator used in the client time generation unit (a value obtained by normalizing the frequency resolution with the nominal frequency) is used.

以上のRTTフィルタリングの動作の様子を図4に示す。   The state of the above RTT filtering operation is shown in FIG.

(第三実施例)
第三実施例における同期クライアントを用いた周波数および時刻同期システムの構成は第一実施例と同様である。
(Third embodiment)
The configuration of the frequency and time synchronization system using the synchronization client in the third embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、予め設定した許容規格化周波数差をy1およびy2、直前に同期応答信号の時間差dTを透過させた時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev−y2×T
RTT_lim2<RTT<RTT_lim1
の条件を満足する同期応答信号の時刻差dTだけを透過させるRTTフィルタリング処理を行う。発振器の周波数分解能は0ではないので、瞬時的には常に周波数誤差が存在する。従って、その周波数誤差(規格化周波数誤差)×経過時間分の位相誤差も発生する。
Based on T1, T2, T3, and T4, the client time control unit 4 sets the round-trip delay time of the synchronization response signal transmitted immediately before to RTT_prev, the preset allowable normalized frequency difference to y1 and y2, and immediately before the synchronization response signal The elapsed time from the time when the time difference dT is transmitted is T,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev−y2 × T
RTT_lim2 <RTT <RTT_lim1
RTT filtering processing for transmitting only the time difference dT of the synchronous response signal satisfying the above condition is performed. Since the frequency resolution of the oscillator is not zero, there is always a frequency error instantaneously. Therefore, a phase error corresponding to the frequency error (normalized frequency error) × elapsed time also occurs.

このように推定される位相誤差よりもジッタが小さければ、そのデータは有効と判定することを意味する。   If the jitter is smaller than the estimated phase error, it means that the data is determined to be valid.

以上のアルゴリズムを詳述すると、以下のようになる。
S21 RTT_prev=RTT[i−1]
S22 T4_prev=T4[i−1]
S23 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S24 RTT_lim1=RTT_prev+y1×(T4[i]−T4_p rev)
RTT_lim2=RTT_prev−y2×(T4[i]−T4_prev)
S25 if(RTT_lim2<RTT[i]<RTT_lim1)then S26 else S29
S26 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S27 i++
S28 →S21
S29 i++
S30 →S23
y1およびy2としては、例えばクライアント時刻発生部で使用している発振器の規格化周波数分解能(周波数分解能を公称周波数で規格化した値)といった値を用いる。
The above algorithm is described in detail as follows.
S21 RTT_prev = RTT [i-1]
S22 T4_prev = T4 [i-1]
S23 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S24 RTT_lim1 = RTT_prev + y1 × (T4 [i] −T4_p rev)
RTT_lim2 = RTT_prev−y2 × (T4 [i] −T4_prev)
S25 if (RTT_lim2 <RTT [i] <RTT_lim1) then S26 else S29
S26 dT [i] = (T1 [i] -T2 [i] -T3 [i] + T4 [i]) / 2
S27 i ++
S28 → S21
S29 i ++
S30 → S23
As y1 and y2, for example, a value such as a normalized frequency resolution of the oscillator used in the client time generation unit (a value obtained by normalizing the frequency resolution with a nominal frequency) is used.

本実施例では、瞬時的にRTTが小さくなった場合に、その後、長期間RTTフィルタを透過するdT値が無くなり、動作が不安定になることを防ぐために、極端に小さいRTTのパケットを無視するようにしている。   In this embodiment, when the RTT decreases instantaneously, the dT value that passes through the RTT filter for a long period of time disappears, and an extremely small RTT packet is ignored in order to prevent the operation from becoming unstable. Like that.

透過RTT値の確率的平衡点は、平衡点よりもRTTが小さい方の平均ウィンドウのRTTの確率密度関数の積分値(面積)と、RTTが大きい方の平均ウィンドウの面積とが等しいと考えられる。ガウス分布のような単一ピークを持つ確率密度関数の場合には、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev−y2×T
y2>y1
としてRTTが小さい方のウィンドウが大きくなるようにしておけば、平衡点はピークよりもRTTが小さくなる方向に制御することができる。
The stochastic equilibrium point of the transmission RTT value is considered that the integral value (area) of the probability density function of the RTT of the average window having the smaller RTT than the equilibrium point is equal to the area of the average window having the larger RTT. . For a probability density function with a single peak, such as a Gaussian distribution,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev−y2 × T
y2> y1
If the window with the smaller RTT is made larger, the equilibrium point can be controlled so that the RTT becomes smaller than the peak.

以上のRTTフィルタリングの動作の様子を図5に示す。   The state of the above RTT filtering operation is shown in FIG.

クライアント時刻制御部4はdTの値が目標値に近づくようにクライアント時刻発生部1の位相および周波数を制御する。   The client time control unit 4 controls the phase and frequency of the client time generation unit 1 so that the value of dT approaches the target value.

(第四実施例)
第四実施例における同期クライアントを用いた周波数および時刻同期システムの構成は第一実施例と同様である。
(Fourth embodiment)
The configuration of the frequency and time synchronization system using the synchronization client in the fourth embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、予め設定した許容規格化周波数差をy1およびy2、予め設定した定数をγ(0<γ<1)、直前に同期応答信号の時刻差dTを透過させた時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev×(1−γ)−y2×T
RTT_lim2<RTT<RTT_lim1
の条件を満足する同期応答信号の時刻差dTだけを透過させるRTTフィルタリング処理を行う。
Based on T1, T2, T3, and T4, the client time control unit 4 sets RTT_prev as the round-trip delay time of the synchronization response signal transmitted immediately before, y1 and y2 as the preset allowable normalized frequency difference, and γ as the preset constant. (0 <γ <1), where T is the time elapsed since the time when the time difference dT of the synchronization response signal was transmitted immediately before,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev × (1-γ) −y2 × T
RTT_lim2 <RTT <RTT_lim1
RTT filtering processing for transmitting only the time difference dT of the synchronous response signal satisfying the above condition is performed.

発振器の周波数分解能は0ではないので、瞬時的には常に周波数誤差が存在する。従って、その周波数誤差(規格化周波数誤差)×経過時間分の位相誤差も発生する。このように推定される位相誤差よりもジッタが小さければ、そのデータは有効と判定することを意味する。   Since the frequency resolution of the oscillator is not zero, there is always a frequency error instantaneously. Therefore, a phase error corresponding to the frequency error (normalized frequency error) × elapsed time also occurs. If the jitter is smaller than the estimated phase error, it means that the data is determined to be valid.

以上のアルゴリズムを詳述すると、以下のようになる。
S41 RTT_prev=RTT[i−1]
S42 T4_prev=T4[i−1]
S43 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S44 RTT_lim1=RTT_prev+y1×(T4[i]−T4_prev)
S45
S46 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S47 i++
S48 →S41
S49 i++
S50 →S43
y1およびy2としては、例えばクライアント時刻発生部で使用している発振器の規格化周波数分解能(周波数分解能を公称周波数で規格化した値)といった値を用いる。また、y1とy2とが同程度でも、
RTT[i]>RTT_prev
となる確率より
RTT[i]<RTT_prev
となる確率を大きくし、RTTが小さくなる方向に制御することができる。
The above algorithm is described in detail as follows.
S41 RTT_prev = RTT [i-1]
S42 T4_prev = T4 [i-1]
S43 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S44 RTT_lim1 = RTT_prev + y1 × (T4 [i] −T4_prev)
S45
S46 dT [i] = (T1 [i] -T2 [i] -T3 [i] + T4 [i]) / 2
S47 i ++
S48 → S41
S49 i ++
S50 → S43
As y1 and y2, for example, a value such as a normalized frequency resolution of the oscillator used in the client time generation unit (a value obtained by normalizing the frequency resolution with a nominal frequency) is used. Moreover, even if y1 and y2 are about the same,
RTT [i]> RTT_prev
RTT [i] <RTT_prev
Can be controlled so that the RTT becomes smaller.

本実施例では、瞬時的にRTTが小さくなった場合には、その後、長期間RTTフィルタを透過するdT値が無くなり、動作が不安定になることを防ぐために、極端に小さいRTTのパケットを無視するようにしている。透過RTT値の確率的平衡点は、平衡点よりもRTTが小さい方の平均ウィンドウのRTTの確率密度関数の積分値(面積)と、RTTが大きい方の平均ウィンドウの面積とが等しいと考えられる。ガウス分布のような単一ピークを持つ確率密度関数の場合には、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev×(1−γ)−y2×T
(γは1よりも十分小さい正の値)
としてRTTが小さい方のウィンドウが大きくなるようにしておけば、平衡点はピークよりもRTTが小さくなる方向に制御することができる。
In this embodiment, when the RTT instantaneously decreases, the dT value that passes through the RTT filter for a long period of time disappears, and an extremely small RTT packet is ignored in order to prevent the operation from becoming unstable. Like to do. The stochastic equilibrium point of the transmission RTT value is considered that the integral value (area) of the probability density function of the RTT of the average window having the smaller RTT than the equilibrium point is equal to the area of the average window having the larger RTT. . For a probability density function with a single peak, such as a Gaussian distribution,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev × (1-γ) −y2 × T
(Γ is a positive value sufficiently smaller than 1)
If the window with the smaller RTT is made larger, the equilibrium point can be controlled so that the RTT becomes smaller than the peak.

以上のRTTフィルタリングの動作の様子を図6に示す。   The state of the above RTT filtering operation is shown in FIG.

(第五実施例)
第五実施例における同期クライアントを用いた周波数・時刻同期システムの構成は第一実施例と同じである。
(Fifth embodiment)
The configuration of the frequency / time synchronization system using the synchronization client in the fifth embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加えて、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
がN回(Nは突発的な大きなジッタに対する保護段数)以上継続した場合に、ネットワークの経路切替に伴う往復遅延時間の変化が生じたと判定し、ホールドオーバ動作を行う。また、ホールドオーバ状態に遷移する前の往復遅延時間をRTT_prev、予め設定した許容規格化周波数差をy1およびy2、ホールドオーバ状態に遷移した時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev−y2×T
RTT_lim2<RTT<RTT_lim1
の条件を満足したときに、ネットワークの経路が元に戻ったと判定し、ホールドオーバ動作からクライアント時刻制御動作に遷移する。
Based on T1, T2, T3, and T4, the client time control unit 4 adds the round-trip delay time of the synchronous response signal transmitted immediately before to RTT_prev and the threshold value RTT_th in addition to the processing steps described in the first to fourth embodiments. As
| RTT-RTT_prev |> RTT_th
Is continued N times or more (N is the number of protection stages for sudden large jitter) or more, it is determined that a change in the round-trip delay time due to network path switching has occurred, and a holdover operation is performed. Also, let RTT_prev be the round-trip delay time before transition to the holdover state, y1 and y2 be a preset allowable normalized frequency difference, and T be the elapsed time from the transition to the holdover state.
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev−y2 × T
RTT_lim2 <RTT <RTT_lim1
When the above condition is satisfied, it is determined that the network path has returned to its original state, and a transition is made from the holdover operation to the client time control operation.

以上のアルゴリズムを詳述すると、以下のようになる。
S51 RTT_prev=RTT[i−1]
S52 T4_prev=T4[i−1]
S53 RTT[i]=T4[i]−T3[i]+T2[i]−T[i]
S54 if(|RTT[i]−RTT_prev|≦RTT_th)then S55 else S58
S55 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S56 i++
S57 →S1
S58 K=0
S59 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S60 if(|RTT[i]−RTT_prev|≦RTT_th)then S55 else S61
S61 K++
S62 if(K<N)then S63 else S65
S63 i++
S64 →S69
S65 ホールドオーバ状態に遷移
S66 T_ho_start=T4[i]
S67 i++
S68 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S69 RTT_lim1=RTT_prev+y1×(T4[i]−T_ho_start)
RTT_lim2=RTT_prev−y2×(T4[i]−T_ho_start)
S70 if(RTT_lim2<RTT[i]<RTT_lim1)then S55 else S67
RTT_thとしては、例えばジッタの標準偏差×3といった値を用いる。なお、S51において直前の瞬時値RTT[i−1]ではなく、平均値を使うこともできる。
S51’ RTT_prev={RTT[i−M]+RTT[i−(M−1)]+…+RTT[i−1]}/M
以上のホールドオーバの動作の様子を図7に示す。
The above algorithm is described in detail as follows.
S51 RTT_prev = RTT [i-1]
S52 T4_prev = T4 [i-1]
S53 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T [i]
S54 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S55 else S58
S55 dT [i] = (T1 [i] -T2 [i] -T3 [i] + T4 [i]) / 2
S56 i ++
S57 → S1
S58 K = 0
S59 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S60 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S55 else S61
S61 K ++
S62 if (K <N) then S63 else S65
S63 i ++
S64 → S69
S65 Transition to holdover state S66 T_ho_start = T4 [i]
S67 i ++
S68 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S69 RTT_lim1 = RTT_prev + y1 × (T4 [i] −T_ho_start)
RTT_lim2 = RTT_prev−y2 × (T4 [i] −T_ho_start)
S70 if (RTT_lim2 <RTT [i] <RTT_lim1) then S55 else S67
As RTT_th, for example, a value of standard deviation of jitter × 3 is used. In S51, an average value can be used instead of the immediately preceding instantaneous value RTT [i-1].
S51 ′ RTT_prev = {RTT [i−M] + RTT [i− (M−1)] +... + RTT [i−1]} / M
The state of the above holdover operation is shown in FIG.

(第六実施例)
第六実施例における同期クライアントを用いた周波数・時刻同期システムの構成は第一実施例と同様である。
(Sixth embodiment)
The configuration of the frequency / time synchronization system using the synchronization client in the sixth embodiment is the same as that of the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加え、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、同期サーバと同期クライアントの時刻差をdT_prev、閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
がN回(Nは突発的な大きなジッタに対する保護段数)以上継続した場合に、ネットワークの経路切替に伴う往復遅延時間の変化が生じたと判定し、時刻差dTを
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる。ここで、
dT_offset=dT_offset+dT_prev−dT
である。
Based on T1, T2, T3, and T4, the client time control unit 4 synchronizes the round-trip delay time of the synchronization response signal transmitted immediately before with the RTT_prev and the synchronization server in addition to the processing steps described in the first to fourth embodiments. Assuming that the client time difference is dT_prev and the threshold is RTT_th,
| RTT-RTT_prev |> RTT_th
Is continued N times or more (N is the number of protection steps against sudden large jitter), it is determined that a change in the round-trip delay time caused by network path switching has occurred, and the time difference dT is set to dT = (T1−T2−T3 + T4) ) / 2 + dT_offset
And offset. here,
dT_offset = dT_offset + dT_prev−dT
It is.

以上のアルゴリズムを詳述すると、以下のようになる。
S81 dT_offset=0
S82 RTT_prev=RTT[i−1]
S83 dT_prev=dT[i−1]
S84 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S85 if(|RTT[i]−RTT_prev|≦RTT_th)then S86 else S89
S86 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2+dT_offset
S87 i++
S88 →S82
S89 K=0
S90 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S91 if(|RTT[i]−RTT_prev|≦RTT_th)then S86 else S92
S92 K++
S93 if(K<N)then S94 else S96
S94 i++
S95 →S90
S96 dT_offset=dT_offset+dT_prev−dT[i]
S97 →S86
RTT_thとしては、例えばジッタの標準偏差×3といった値を用いる。なお、S82およびS83において直前の瞬時値RTT[i−1]およびdT[i−1]ではなく、平均値を使うこともできる。
S82’ RTT_prev={RTT[i−M]+RTT[i−(M−1)]+…+RTT[i−1]}/M
S83’ dT_prev={dT[i−M]+dT[i−(M−1)]+…+dT[i−1]}/M
以上のオフセット制御の動作の様子を図8に示す。なお、図8から図13におけるハッチングを施した丸はオフセット補正前のRTTであることを示す。
The above algorithm is described in detail as follows.
S81 dT_offset = 0
S82 RTT_prev = RTT [i-1]
S83 dT_prev = dT [i-1]
S84 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S85 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S86 else S89
S86 dT [i] = (T1 [i] -T2 [i] -T3 [i] + T4 [i]) / 2 + dT_offset
S87 i ++
S88 → S82
S89 K = 0
S90 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S91 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S86 else S92
S92 K ++
S93 if (K <N) then S94 else S96
S94 i ++
S95 → S90
S96 dT_offset = dT_offset + dT_prev−dT [i]
S97 → S86
As RTT_th, for example, a value of standard deviation of jitter × 3 is used. In S82 and S83, an average value can be used instead of the immediately preceding instantaneous values RTT [i-1] and dT [i-1].
S82′RTT_prev = {RTT [i−M] + RTT [i− (M−1)] +... + RTT [i−1]} / M
S83 ′ dT_prev = {dT [i−M] + dT [i− (M−1)] +... + DT [i−1]} / M
The state of the above offset control operation is shown in FIG. The hatched circles in FIGS. 8 to 13 indicate the RTT before the offset correction.

(第七実施例)
第七実施例における同期クライアントを用いた周波数・時刻同期システムの構成は第一実施例と同様である。
(Seventh embodiment)
The configuration of the frequency / time synchronization system using the synchronization client in the seventh embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加えて、第一〜第四実施例で述べた処理ステップに加えて、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、同期サーバと同期クライアントとの時刻差をdT_prev、閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
がN回(Nは突発的な大きなジッタに対する保護段数)以上継続した場合に、ネットワークの経路切替に伴う往復遅延時間の変化が生じたと判定し、時刻差dTを
dT=(T1−T2−T3+T4)/2+max{min(dT_offset,dT_offset_max),dT_offset_min}
とオフセットさせる。ここで、
dT_offset=dT_offset+dT_prev−dT
である。
In addition to the processing steps described in the first to fourth embodiments, the client time control unit 4 immediately before the processing steps described in the first to fourth embodiments based on T1, T2, T3, and T4. The round-trip delay time of the transmitted synchronization response signal is RTT_prev, the time difference between the synchronization server and the synchronization client is dT_prev, and the threshold is RTT_th.
| RTT-RTT_prev |> RTT_th
Is continued N times or more (N is the number of protection steps against sudden large jitter), it is determined that a change in the round-trip delay time caused by network path switching has occurred, and the time difference dT is set to dT = (T1−T2−T3 + T4) ) / 2 + max {min (dT_offset, dT_offset_max), dT_offset_min}
And offset. here,
dT_offset = dT_offset + dT_prev−dT
It is.

以上のアルゴリズムを詳述すると、以下のようになる。
S101 dT_offset=0
S102 RTT_prev=RTT[i−1]
S103 dT_prev=dT[i−1]
S104 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S105 if(|RTT[i]−RTT_prev|≦RTT_th)then S106 else S109
S106 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2+max{min(dT_offset,dT_offset_max),dT_offset_min}
S107 i++
S108 →S102
S109 K=0
S110 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S111 if(|RTT[i]−RTT_prev|≦RTT_th)then S106 else S112
S112 K++
S113 if(K<N)then S114 else S116
S114 i++
S115 →S110
S116 dT_offset=dT_offset+dT_prev−dT[i]
S117 →S106
RTT_thとしては、例えばジッタの標準偏差×3といった値を用いる。
The above algorithm is described in detail as follows.
S101 dT_offset = 0
S102 RTT_prev = RTT [i-1]
S103 dT_prev = dT [i−1]
S104 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S105 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S106 else S109
S106 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2 + max {min (dT_offset, dT_offset_max), dT_offset_min}
S107 i ++
S108 → S102
S109 K = 0
S110 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S111 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S106 else S112
S112 K ++
S113 if (K <N) then S114 else S116
S114 i ++
S115 → S110
S116 dT_offset = dT_offset + dT_prev−dT [i]
S117 → S106
As RTT_th, for example, a value of standard deviation of jitter × 3 is used.

dT_offset_maxとしては、想定される最大の経路切替に伴う遅延時間差、dT_offset_min=dT_offset_maxといった値を用いることにより、誤った経路切替検出によってオフセット値が過大になることを防止できる。   As dT_offset_max, by using a value such as a delay time difference associated with the assumed maximum path switching, dT_offset_min = dT_offset_max, it is possible to prevent an offset value from becoming excessive due to erroneous path switching detection.

なお、S102およびS103において直前の瞬時値RTT[i−1]およびdT[i−1]ではなく、平均値を使うこともできる。
S102’ RTT_prev={RTT[i−M]+RTT[i−(M−1)]+…+RTT[i−1]}/M
S103’ dT_prev={dT[i−M]+dT[i−(M−1)]+…+dT[i−1]}/M
以上のオフセット制御の動作の様子を図9に示す。
In S102 and S103, an average value can be used instead of the immediately preceding instantaneous values RTT [i-1] and dT [i-1].
S102′RTT_prev = {RTT [i−M] + RTT [i− (M−1)] +... + RTT [i−1]} / M
S103 ′ dT_prev = {dT [i−M] + dT [i− (M−1)] +... + DT [i−1]} / M
The state of the above offset control operation is shown in FIG.

(第八実施例)
第八実施例における同期クライアントを用いた周波数・時刻同期システムの構成は第一実施例と同様である。
(Eighth Example)
The configuration of the frequency / time synchronization system using the synchronization client in the eighth embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加えて、直前に透過させた同期応答信号の往復遅延時間をRTT_prev、同期サーバと同期クライアントとの時刻差をdT_prev、閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
がN回(Nは突発的な大きなジッタに対する保護段数)以上継続した場合に、ネットワークの経路切替に伴う往復遅延時間の変化が生じたと判定し、閾値をdT_offset_thとして、
|dT_offset|>dT_offset_th
の場合に、当該時刻差dTを
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる。ここで、
dT_offset=dT_offset+dT_prev−dT
である。
Based on T1, T2, T3, and T4, the client time control unit 4 adds the round-trip delay time of the synchronization response signal transmitted immediately before to the RTT_prev, the synchronization server, in addition to the processing steps described in the first to fourth embodiments. The time difference from the synchronous client is dT_prev and the threshold is RTT_th.
| RTT-RTT_prev |> RTT_th
Is continued N times or more (N is the number of protection stages for sudden large jitter) or more, it is determined that a change in the round-trip delay time associated with the network path switching has occurred, and the threshold is set as dT_offset_th,
| DT_offset |> dT_offset_th
In this case, the time difference dT is expressed as dT = (T1-T2-T3 + T4) / 2 + dT_offset
And offset. here,
dT_offset = dT_offset + dT_prev−dT
It is.

以上のアルゴリズムを詳述すると、以下のようになる。
S121 dT_offset=0
S122 RTT_prev=RTT[i−1]
S123 dT_prev=dT[i−1]
S124 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S125 if(|RTT[i]−RTT_prev|≦RTT_th)then S126 else S132
S126 if(|dT_offset|<dT_offset_th)then S127 else S129
S127 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S128 →S130
S129 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2+dT_offset
S130 i++
S131 →S122
S132 K=0
S133 RTT[i]=T4[i]−T3[i]+T2[i]−T1[i]
S134 if(|RTT[i]−RTT_prev|≦RTT_th)then S126 else S135
S135 K++
S136 if(K<N)then S137 else S139
S137 i++
S138 →S130
S139 dT_offset=dT_offset+dT_prev−dT[i]
S140 →S126
RTT_thとしては、例えばジッタの標準偏差×3といった値を用いる。
The above algorithm is described in detail as follows.
S121 dT_offset = 0
S122 RTT_prev = RTT [i-1]
S123 dT_prev = dT [i-1]
S124 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S125 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S126 else S132
S126 if (| dT_offset | <dT_offset_th) then S127 else S129
S127 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2
S128 → S130
S129 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2 + dT_offset
S130 i ++
S131 → S122
S132 K = 0
S133 RTT [i] = T4 [i] -T3 [i] + T2 [i] -T1 [i]
S134 if (| RTT [i] −RTT_prev | ≦ RTT_th) then S126 else S135
S135 K ++
S136 if (K <N) then S137 else S139
S137 i ++
S138 → S130
S139 dT_offset = dT_offset + dT_prev−dT [i]
S140 → S126
As RTT_th, for example, a value of standard deviation of jitter × 3 is used.

dT_offset_thとしては、例えばジッタの標準偏差程度の値を用いる。   As dT_offset_th, for example, a value about the standard deviation of jitter is used.

なお、S122およびS123において直前の瞬時値RTT[i−1]およびdT[i−1]ではなく、平均値を使うこともできる。
S122’ RTT_prev={RTT[i−M]+RTT[i−(M−1)]+…+RTT[i−1]}/M
S123’ dT_prev={dT[i−M]+dT[i−(M−1)]+…+dT[i−1]}/M
以上のオフセット制御の動作の様子を図10に示す。
In S122 and S123, an average value can be used instead of the immediately preceding instantaneous values RTT [i-1] and dT [i-1].
S122′RTT_prev = {RTT [i−M] + RTT [i− (M−1)] +... + RTT [i−1]} / M
S123 ′ dT_prev = {dT [i−M] + dT [i− (M−1)] +... + DT [i−1]} / M
The state of the above offset control operation is shown in FIG.

(第九実施例)
第九実施例における同期クライアントを用いた周波数・時刻同期システムの構成は第一実施例と同様である。
(Ninth Example)
The configuration of the frequency / time synchronization system using the synchronization client in the ninth embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加えて、直前に透過させた同期応答信号に対する片側遅延時間をΔTq_prevおよびΔTr_prev、そのときの同期サーバと同期クライアントとの時刻差をdT_prev、閾値をΔT_thとして、
|ΔTq−ΔTq_prev|>ΔT_th
または
|ΔTr−ΔTr_prev|>ΔT_th
がN回(Nは突発的な大きなジッタに対する保護段数)以上継続した場合に、ネットワークの経路切替に伴う片側遅延時間の変化が生じたと判定して、時刻差dTを
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる。ここで、
dT_offset=dT_offset+dT_prev−dT
である。
Based on T1, T2, T3, and T4, the client time control unit 4 sets the one-side delay times for the synchronous response signal transmitted immediately before to ΔTq_prev and ΔTr_prev, in addition to the processing steps described in the first to fourth embodiments. When the time difference between the synchronization server and the synchronization client is dT_prev and the threshold is ΔT_th,
| ΔTq−ΔTq_prev |> ΔT_th
Or | ΔTr−ΔTr_prev |> ΔT_th
Is continued N times (N is the number of protection stages for sudden large jitter) or more, it is determined that a change in one-side delay time due to network path switching has occurred, and the time difference dT is set to dT = (T1-T2- T3 + T4) / 2 + dT_offset
And offset. here,
dT_offset = dT_offset + dT_prev−dT
It is.

以上のアルゴリズムを詳述すると、以下のようになる。
S151 dT_offset=0
S152 ΔTq_prev=ΔTq[i−1]
ΔTr_prev=ΔTr[i−1]
S153 dT_prev=dT[i−1]
S154 ΔTq[i]=T2[i]−T1[i]
ΔTr[i]=T4[i]−T3[i]
S155 if{(|ΔTq[i]−ΔTq_prev|≦ΔT_th)and(|ΔTr[i]−ΔTr_prev|≦ΔT_th)}then S156 else S159
S156 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2+dT_offset
S157 i++
S158 →S152
S159 K=0
S160 ΔTq[i]=T2[i]−T1[i]
ΔTr[i]=T4[i]−T3[i]
S161 if{(|ΔTq[i]−ΔTq_prev|≦ΔT_th)and(|ΔTr[i]−ΔTr_prev|≦ΔT_th)}then S156 else S162
S162 K++
S163 if(K<N)then S164 else S166
S164 i++
S165 →S160
S166 dT_offset=dT_offset+dT_prev−dT[i]
S167 →S156
ΔT_thとしては、例えばジッタの標準偏差×3といった値を用いる。
The above algorithm is described in detail as follows.
S151 dT_offset = 0
S152 ΔTq_prev = ΔTq [i−1]
ΔTr_prev = ΔTr [i−1]
S153 dT_prev = dT [i−1]
S154 ΔTq [i] = T2 [i] −T1 [i]
ΔTr [i] = T4 [i] −T3 [i]
S155 if {(| ΔTq [i] −ΔTq_prev | ≦ ΔT_th) and (| ΔTr [i] −ΔTr_prev | ≦ ΔT_th)} then S156 else S159
S156 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2 + dT_offset
S157 i ++
S158 → S152
S159 K = 0
S160 ΔTq [i] = T2 [i] −T1 [i]
ΔTr [i] = T4 [i] −T3 [i]
S161 if {(| ΔTq [i] −ΔTq_prev | ≦ ΔT_th) and (| ΔTr [i] −ΔTr_prev | ≦ ΔT_th)} then S156 else S162
S162 K ++
S163 if (K <N) then S164 else S166
S164 i ++
S165 → S160
S166 dT_offset = dT_offset + dT_prev−dT [i]
S167 → S156
As ΔT_th, for example, a value of standard deviation of jitter × 3 is used.

なお、S152およびS153において直前の瞬時値ΔTq[i−1]、ΔTr[i−1]およびdT[i−1]ではなく、平均値を使うこともできる。
S152’ ΔTq_prev={ΔTq[i−M]+ΔTq[i−(M−1)]+…+ΔTq[i−1]}/M
ΔTr_prev={ΔTr[i−M]+ΔTr[i−(M−1)]+…+ΔTr[i−1]}/M
S153’ dT_prev={dT[i−M]+dT[i−(M−1)]+…+dT[i−1]}/M
以上のオフセット制御の動作の様子を図11に示す。
In S152 and S153, an average value can be used instead of the immediately preceding instantaneous values ΔTq [i-1], ΔTr [i-1], and dT [i-1].
S152 ′ ΔTq_prev = {ΔTq [i−M] + ΔTq [i− (M−1)] +... + ΔTq [i−1]} / M
ΔTr_prev = {ΔTr [i−M] + ΔTr [i− (M−1)] +... + ΔTr [i−1]} / M
S153 ′ dT_prev = {dT [i−M] + dT [i− (M−1)] +... + DT [i−1]} / M
The state of the above offset control operation is shown in FIG.

(第十実施例)
第十実施例における同期クライアントを用いた周波数・時刻同期システムの構成は第一実施例と同様である。
(Tenth embodiment)
The configuration of the frequency / time synchronization system using the synchronization client in the tenth embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加えて、直前に透過させた同期応答信号に対する片側遅延時間をΔTq_prevおよびΔTr_prev、そのときの同期サーバと同期クライアントとの時刻差をdT_prev、閾値をΔT_thとして、
|ΔTq−ΔTq_prev|>ΔT_th
または
|ΔTr−ΔTr_prev|>ΔT_th
がN回(Nは突発的な大きなジッタに対する保護段数)以上継続した場合に、ネットワークの経路切替に伴う往復遅延時間の変化が生じたと判定して、時刻差dTを
dT=(T1−T2−T3+T4)/2+max{min(dT_offset,dT_offset_max),dT_offset_min}
とオフセットさせる。ここで、
dT_offset=dT_offset+dT_prev−dT
である。
Based on T1, T2, T3, and T4, the client time control unit 4 sets the one-side delay times for the synchronous response signal transmitted immediately before to ΔTq_prev and ΔTr_prev, in addition to the processing steps described in the first to fourth embodiments. When the time difference between the synchronization server and the synchronization client is dT_prev and the threshold is ΔT_th,
| ΔTq−ΔTq_prev |> ΔT_th
Or | ΔTr−ΔTr_prev |> ΔT_th
Is continued N times (where N is the number of protection stages for sudden large jitter) or more, it is determined that a change in the round-trip delay time associated with network path switching has occurred, and the time difference dT is set to dT = (T1−T2−). T3 + T4) / 2 + max {min (dT_offset, dT_offset_max), dT_offset_min}
And offset. here,
dT_offset = dT_offset + dT_prev−dT
It is.

以上のアルゴリズムを詳述すると、以下のようになる。
S171 dT_offset=0
S172 ΔTq_prev=ΔTq[i−1]
ΔTr_prev=ΔTr[i−1]
S173 dT_prev=dT[i−1]
S174 ΔTq[i]=T2[i]−T1[i]
ΔTr[i]=T4[i]−T3[i]
S175 if{(|ΔTq[i]−ΔTq_prev|≦ΔT_th)and(|ΔTr[i]−ΔTr_prev|≦ΔT_th)}then S176 else S179
S176 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2+max{min(dT_offset,dT_offset_max),dT_offset_min}
S177 i++
S178 →S172
S179 K=0
S180 ΔTq[i]=T2[i]−T1[i]
ΔTr[i]=T4[i]−T3[i]
S181 if{(|ΔTq[i]−ΔTq_prev|≦ΔT_th)and(|ΔTr[i]−ΔTr_prev|≦ΔT_th)}then S176 else S182
S182 K++
S183 if(K<N)then S184 else S186
S184 i++
S185 →S180
S186 dT_offset=dT_offset+dT_prev−dT[i]
S187 →S176
ΔT_thとしては、例えばジッタの標準偏差×3といった値を用いる。
The above algorithm is described in detail as follows.
S171 dT_offset = 0
S172 ΔTq_prev = ΔTq [i−1]
ΔTr_prev = ΔTr [i−1]
S173 dT_prev = dT [i−1]
S174 ΔTq [i] = T2 [i] −T1 [i]
ΔTr [i] = T4 [i] −T3 [i]
S175 if {(| ΔTq [i] −ΔTq_prev | ≦ ΔT_th) and (| ΔTr [i] −ΔTr_prev | ≦ ΔT_th)} then S176 else S179
S176 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2 + max {min (dT_offset, dT_offset_max), dT_offset_min}
S177 i ++
S178 → S172
S179 K = 0
S180 ΔTq [i] = T2 [i] −T1 [i]
ΔTr [i] = T4 [i] −T3 [i]
S181 if {(| ΔTq [i] −ΔTq_prev | ≦ ΔT_th) and (| ΔTr [i] −ΔTr_prev | ≦ ΔT_th)} then S176 else S182
S182 K ++
S183 if (K <N) then S184 else S186
S184 i ++
S185 → S180
S186 dT_offset = dT_offset + dT_prev−dT [i]
S187 → S176
As ΔT_th, for example, a value of standard deviation of jitter × 3 is used.

dT_offset_maxとしては、想定される最大の経路切替に伴う遅延時間差、dT_offset_min=dT_offset_maxといった値を用いることにより、誤った経路切替検出によってオフセット値が過大になることを防止できる。   As dT_offset_max, by using a value such as a delay time difference associated with the assumed maximum path switching, dT_offset_min = dT_offset_max, it is possible to prevent an offset value from becoming excessive due to erroneous path switching detection.

なお、S172およびS173において直前の瞬時値ΔTq[i−1]、ΔTr[i−1]およびdT[i−1]ではなく、平均値を使うこともできる。
S172’ ΔTq_prev={ΔTq[i−M]+ΔTq[i−(M−1)]+…+ΔTq[i−1]}/M
ΔTr_prev={ΔTr[i−M]+ΔTr[i−(M−1)]+…+ΔTr[i−1]}/M
S173’ dT_prev={dT[i−M]+dT[i−(M−1)]+…+dT[i−1]}/M
以上のオフセット制御の動作の様子を図12に示す。
In S172 and S173, an average value can be used instead of the immediately preceding instantaneous values ΔTq [i−1], ΔTr [i−1], and dT [i−1].
S172 ′ ΔTq_prev = {ΔTq [i−M] + ΔTq [i− (M−1)] +... + ΔTq [i−1]} / M
ΔTr_prev = {ΔTr [i−M] + ΔTr [i− (M−1)] +... + ΔTr [i−1]} / M
S173 ′ dT_prev = {dT [i−M] + dT [i− (M−1)] +... + DT [i−1]} / M
The state of the above offset control operation is shown in FIG.

(第十一実施例)
第十一実施例における同期クライアントを用いて周波数・時刻同期システムの構成は第一実施例と同様である。
(Eleventh Example)
The configuration of the frequency / time synchronization system using the synchronization client in the eleventh embodiment is the same as that in the first embodiment.

クライアント時刻制御部4はT1、T2、T3、T4に基づき、第一〜第四実施例で述べた処理ステップに加えて、直前に透過させた同期応答信号に対する片側遅延時間をΔTq_prevおよびΔTr_prev、そのときの同期サーバと同期クライアントとの時刻差をdT_prev、閾値をΔT_thとして、
|ΔTq−ΔTq_prev|>ΔT_th
または
|ΔTr−ΔTr_prev|>ΔT_th
が一定期間以上継続した場合に、ネットワークの経路切替に伴う往復遅延時間の変化が生じたと判定し、閾値をdT_offset_thとして、
|dT_offset|>dT_offset_th
の場合に、当該時刻差dTを
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる。ここで、
dT_offset=dT_offset+dT_prev−dT
である。
Based on T1, T2, T3, and T4, the client time control unit 4 sets the one-side delay times for the synchronous response signal transmitted immediately before to ΔTq_prev and ΔTr_prev, in addition to the processing steps described in the first to fourth embodiments. When the time difference between the synchronization server and the synchronization client is dT_prev and the threshold is ΔT_th,
| ΔTq−ΔTq_prev |> ΔT_th
Or | ΔTr−ΔTr_prev |> ΔT_th
Is determined to have occurred in the round-trip delay time associated with the network path switching, and the threshold is dT_offset_th,
| DT_offset |> dT_offset_th
In this case, the time difference dT is expressed as dT = (T1-T2-T3 + T4) / 2 + dT_offset
And offset. here,
dT_offset = dT_offset + dT_prev−dT
It is.

以上のアルゴリズムを詳述すると、以下のようになる。
S191 dT_offset=0
S192 ΔTq_prev=ΔTq[i−1]
ΔTr_prev=ΔTr[i−1]
S193 dT_prev=dT[i−1]
S194 ΔTq[i]=T2[i]−T1[i]
ΔTr[i]=T4[i]−T3[i]
S195 if{(|ΔTq[i]−ΔTq_prev|≦ΔT_th)and(|ΔTr[i]−ΔTr_prev|≦ΔT_th)}then S196 else S202
S196 if(|dT_offset|<dT_offset_th)then S197 else S199
S197 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2
S198 →S200
S199 dT[i]=(T1[i]−T2[i]−T3[i]+T4[i])/2+dT_offset
S200 i++
S201 →S192
S202 K=0
S203 ΔTq[i]=T2[i]−T1[i]
ΔTr[i]=T4[i]−T3[i]
S204 if{(|ΔTq[i]−ΔTq_prev|≦ΔT_th)and(|ΔTr[i]−ΔTr_prev|≦ΔT_th)}then S196 else S205
S205 K++
S206 if(K<N)then S207 else S209
S207 i++
S208 →S200
S209 dT_offset=dT_offset+dT_prev−dT[i]
S210 →S196
ΔT_thとしては、例えばジッタの標準偏差×3といった値を用いる。
The above algorithm is described in detail as follows.
S191 dT_offset = 0
S192 ΔTq_prev = ΔTq [i−1]
ΔTr_prev = ΔTr [i−1]
S193 dT_prev = dT [i−1]
S194 ΔTq [i] = T2 [i] −T1 [i]
ΔTr [i] = T4 [i] −T3 [i]
S195 if {(| ΔTq [i] −ΔTq_prev | ≦ ΔT_th) and (| ΔTr [i] −ΔTr_prev | ≦ ΔT_th)} then S196 else S202
S196 if (| dT_offset | <dT_offset_th) then S197 else S199
S197 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2
S198 → S200
S199 dT [i] = (T1 [i] −T2 [i] −T3 [i] + T4 [i]) / 2 + dT_offset
S200 i ++
S201 → S192
S202 K = 0
S203 ΔTq [i] = T2 [i] −T1 [i]
ΔTr [i] = T4 [i] −T3 [i]
S204 if {(| ΔTq [i] −ΔTq_prev | ≦ ΔT_th) and (| ΔTr [i] −ΔTr_prev | ≦ ΔT_th)} then S196 else S205
S205 K ++
S206 if (K <N) then S207 else S209
S207 i ++
S208 → S200
S209 dT_offset = dT_offset + dT_prev−dT [i]
S210 → S196
As ΔT_th, for example, a value of standard deviation of jitter × 3 is used.

dT_offset_thとしては、例えばジッタの標準偏差程度の値を用いる。   As dT_offset_th, for example, a value about the standard deviation of jitter is used.

なお、S192およびS193において直前の瞬時値ΔTq[i−1]、ΔTr[i−1]およびdT[i−1]ではなく、平均値を使うこともできる。
S192’ ΔTq_prev={ΔTq[i−M]+ΔTq[i−(M−1)]+…+ΔTq[i−1]}/M
ΔTr_prev={ΔTr[i−M]+ΔTr[i−(M−1)]+…+ΔTr[i−1]}/M
S193’ dT_prev={dT[i−M]+dT[i−(M−1)]+…+dT[i−1]}/M
以上のオフセット制御の動作の様子を図13に示す。
In S192 and S193, an average value can be used instead of the immediately preceding instantaneous values ΔTq [i−1], ΔTr [i−1], and dT [i−1].
S192 ′ ΔTq_prev = {ΔTq [i−M] + ΔTq [i− (M−1)] +... + ΔTq [i−1]} / M
ΔTr_prev = {ΔTr [i−M] + ΔTr [i− (M−1)] +... + ΔTr [i−1]} / M
S193 ′ dT_prev = {dT [i−M] + dT [i− (M−1)] +... + DT [i−1]} / M
FIG. 13 shows the state of the above offset control operation.

(第十二実施例)
第十二実施例におけるクライアント時刻発生部の構成を図14に示す。
(Twelfth embodiment)
FIG. 14 shows the configuration of the client time generation unit in the twelfth embodiment.

数値制御発振器30は電圧制御発振器31の出力クロックを累積加算する。その累積加算された値をdTによって数値的に制御することにより、数値制御発振器30の出力位相を可変にできる。   The numerically controlled oscillator 30 cumulatively adds the output clocks of the voltage controlled oscillator 31. The output phase of the numerically controlled oscillator 30 can be made variable by numerically controlling the accumulated value by dT.

数値制御発振器30の出力は時刻生成部32において時刻データに変換して出力される。この時刻データは同期要求パケットの送信時刻T1および同期応答パケットの受信時刻T4として用いる他、時刻を利用したアプリケーション(時刻認証サービスなど)に用いることができる。   The output of the numerically controlled oscillator 30 is converted into time data by the time generator 32 and output. The time data can be used as a transmission time T1 of the synchronization request packet and a reception time T4 of the synchronization response packet, or can be used for an application (time authentication service or the like) using time.

数値制御発振器30の出力および電圧制御発振器31の出力はそれぞれ分周器33および分周器34によって分周され、位相比較器35で位相比較され、ローパスフィルタ36で高い周波数成分を除去されて、電圧制御発振器31の周波数制御信号としてフィードバックされる。電圧制御発振器31の出力は高安定クロックとして用いることができる。   The output of the numerically controlled oscillator 30 and the output of the voltage controlled oscillator 31 are respectively divided by a frequency divider 33 and a frequency divider 34, phase-compared by a phase comparator 35, and a high frequency component removed by a low-pass filter 36. It is fed back as a frequency control signal of the voltage controlled oscillator 31. The output of the voltage controlled oscillator 31 can be used as a highly stable clock.

数値制御発振器30はdTの早い変動に対して高速応答可能である。一方、電圧制御発振器31として温度補償水晶発振器や恒温槽付き温度安定化水晶発振器といった周波数安定性に優れた発振器を用い、ローパスフィルタ36の遮断周波数を低く設定すれば、dTの中長期的変動に対する安定な動作が可能である。   The numerically controlled oscillator 30 can respond at high speed to a fast fluctuation of dT. On the other hand, if an oscillator having excellent frequency stability such as a temperature-compensated crystal oscillator or a temperature-stabilized crystal oscillator with a thermostatic chamber is used as the voltage-controlled oscillator 31, and the cut-off frequency of the low-pass filter 36 is set to a low value, dT can cope with medium- to long-term fluctuations. Stable operation is possible.

このように、応答特性の異なる複数の制御手段を組み合わせることにより、短期および中長期にわたる安定した動作を実現できる。   In this way, by combining a plurality of control means having different response characteristics, stable operation over a short period and a medium to long period can be realized.

(第十三実施例)
第十三実施例における同期システムの構成は図2に示されている。ここで、クライアント時刻制御部4の動作は第一〜第十一実施例のいずれかで述べたものを使用する。また、クライアント時刻発生部1として、第十二実施例で述べたものを使用することもできる。
(Thirteenth embodiment)
The configuration of the synchronization system in the thirteenth embodiment is shown in FIG. Here, the operation of the client time control unit 4 uses the one described in any of the first to eleventh embodiments. As the client time generation unit 1, the one described in the twelfth embodiment can be used.

(第十四実施例)
汎用の情報処理装置にインストールすることにより、その汎用の情報処理装置に、本実施例の同期クライアント10の少なくとも一部の機能に相応する機能を実現させるプログラムの実施例を説明する。
(14th embodiment)
An embodiment of a program that, when installed in a general-purpose information processing apparatus, causes the general-purpose information processing apparatus to realize functions corresponding to at least some of the functions of the synchronization client 10 of the present embodiment will be described.

本実施例のプログラムは記録媒体に記録されることにより、前記汎用の情報処理装置は、この記録媒体を用いて本実施例のプログラムをインストールすることができる。あるいは、本実施例のプログラムを保持するサーバからネットワークを介して直接前記汎用の情報処理装置に本実施例のプログラムをインストールすることもできる。   By recording the program of this embodiment on a recording medium, the general-purpose information processing apparatus can install the program of this embodiment using this recording medium. Alternatively, the program of this embodiment can be installed directly on the general-purpose information processing apparatus via a network from a server holding the program of this embodiment.

これにより、汎用の情報処理装置を用いて、本実施例の同期クライアント10の機能の少なくとも一部に相応する機能を実現することができる。   Thereby, a function corresponding to at least a part of the function of the synchronous client 10 of the present embodiment can be realized using a general-purpose information processing apparatus.

なお、本実施例のプログラムは、汎用の情報処理装置によって直接実行可能なものだけでなく、ハードディスクなどにインストールすることによって実行可能となるものも含む。また、圧縮されたり、暗号化されたりしたものも含む。   The program of this embodiment includes not only a program that can be directly executed by a general-purpose information processing apparatus but also a program that can be executed by installing it on a hard disk or the like. Also included are those that are compressed or encrypted.

本発明によれば、ネットワークの遅延時間に揺らぎがある場合であっても、同期クライアントにおける周波数または時刻の同期を実現できるので、クライアント装置相互間の同期が必要となるネットワーク・システムの動作精度を向上させることができる。   According to the present invention, even if there is a fluctuation in the delay time of the network, the synchronization of the frequency or time in the synchronization client can be realized, so that the operation accuracy of the network system that requires synchronization between the client devices is improved. Can be improved.

NTPあるいはSNTPの時刻同期の原理を説明する図。The figure explaining the principle of the time synchronization of NTP or SNTP. 本発明における周波数・時刻同期システムの構成を示す図。The figure which shows the structure of the frequency and time synchronous system in this invention. 第一実施例におけるRTTフィルタリングの動作を説明する図。The figure explaining the operation | movement of RTT filtering in a 1st Example. 第二実施例におけるRTTフィルタリングの動作を説明する図。The figure explaining the operation | movement of RTT filtering in a 2nd Example. 第三実施例におけるRTTフィルタリングの動作を説明する図。The figure explaining the operation | movement of RTT filtering in a 3rd Example. 第四実施例におけるRTTフィルタリングの動作を説明する図。The figure explaining the operation | movement of RTT filtering in 4th Example. 第五実施例におけるホールドオーバの動作を説明する図。The figure explaining operation | movement of the holdover in 5th Example. 第六実施例におけるオフセット制御の動作を説明する図。The figure explaining operation | movement of the offset control in a 6th Example. 第七実施例におけるオフセット制御の動作を説明する図。The figure explaining operation | movement of the offset control in a 7th Example. 第八実施例におけるオフセット制御の動作を説明する。The operation of offset control in the eighth embodiment will be described. 第九実施例におけるオフセット制御の動作を説明する図。The figure explaining operation | movement of the offset control in a 9th Example. 第十実施例におけるオフセット制御の動作を説明する図。The figure explaining operation | movement of the offset control in a 10th Example. 第十一実施例におけるオフセット制御の動作を説明する図。The figure explaining the operation | movement of the offset control in 11th Example. 第十二実施例におけるクライアント時刻発生部の構成を示す図。The figure which shows the structure of the client time generation part in 12th Example.

符号の説明Explanation of symbols

T1 同期要求パケット送信時刻
T2 同期要求パケット受信時刻
T3 同期応答パケット送信時刻
T4 同期応答パケット受信時刻
D1 同期要求パケット遅延時間
D2 同期応答パケット遅延時間
1 クライアント時刻発生部
2 同期要求パケット送信部
3 同期応答パケット受信部
4 クライアント時刻制御部
10 同期クライアント
11 サーバ時刻発生部
12 同期応答パケット送信部
13 同期要求パケット受信部
20 同期サーバ
30 数値制御発振器
31 電圧制御発振器
32 時刻生成部
33、34 分周器
35 位相比較器
36 ローパスフィルタ
T1 synchronization request packet transmission time T2 synchronization request packet reception time T3 synchronization response packet transmission time T4 synchronization response packet reception time D1 synchronization request packet delay time D2 synchronization response packet delay time 1 client time generation unit 2 synchronization request packet transmission unit 3 synchronization response Packet receiver 4 Client time controller 10 Sync client 11 Server time generator 12 Sync response packet transmitter 13 Sync request packet receiver 20 Sync server 30 Numerically controlled oscillator 31 Voltage controlled oscillator 32 Time generators 33 and 34 Frequency divider 35 Phase comparator 36 Low pass filter

Claims (15)

基準時刻を発生する同期サーバに対して同期要求信号を送信する手段と、前記同期サーバからの当該同期要求信号に応答する同期応答信号を受信する手段と、受信した当該同期応答信号に基づき前記基準時刻に同期した周波数または時刻を発生する手段とを備えたクライアント装置において、
自クライアント装置が前記同期サーバに対して前記同期要求信号を送信した時刻をT1とし、前記同期サーバが当該同期要求信号を受信した時刻をT2とし、前記同期サーバが当該同期要求信号に応答する同期応答信号を送信した時刻をT3とし、自クライアント装置が当該同期応答信号を受信した時刻をT4としたときに、前記基準時刻を参照して自クライアント装置内の周波数または時刻を設定する際に適用する時刻差dTは
dT=(T1−T2−T3+T4)/2
であり、自クライアント装置と前記同期サーバとの間で前記同期要求信号を往路信号とし前記同期応答信号を復路信号とするときの往復遅延時間RTTを
RTT=T4−T3+T2−T1
としたときに、当該RTTの値が所定の値となる場合の時刻差dTに限定して前記時刻差dTを自クライアント装置内の周波数または時刻の設定に適用する手段を備え、
前記所定の値は、前記同期応答信号を受信する以前のRTTの平均値RTT_meanを算出し、予め設定したジッタ許容値をδとしたときに、
RTT_lim1=RTT_mean+δ
RTT_lim2=RTT_mean−δ
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値である
ことを特徴とするクライアント装置。
Means for transmitting a synchronization request signal to a synchronization server for generating a reference time, means for receiving a synchronization response signal in response to the synchronization request signal from the synchronization server, and the reference based on the received synchronization response signal In a client device comprising a frequency synchronized with time or means for generating time,
The time when the client device transmits the synchronization request signal to the synchronization server is T1, the time when the synchronization server receives the synchronization request signal is T2, and the synchronization server responds to the synchronization request signal. Applied when setting the frequency or time in the client device with reference to the reference time when the time when the response signal is transmitted is T3 and the time when the client device receives the synchronization response signal is T4 The time difference dT is dT = (T1-T2-T3 + T4) / 2
The round-trip delay time RTT between the client device and the synchronization server when the synchronization request signal is an outbound signal and the synchronization response signal is a return signal is RTT = T4-T3 + T2-T1
The time difference dT is limited to the time difference dT when the RTT value is a predetermined value.
The predetermined value is calculated when an average value RTT_mean of RTT before receiving the synchronization response signal is calculated and a preset jitter allowable value is δ,
RTT_lim1 = RTT_mean + δ
RTT_lim2 = RTT_mean-δ
RTT_lim2 <RTT <RTT_lim1
An RTT value satisfying the requirement: A client device characterized by:
基準時刻を発生する同期サーバに対して同期要求信号を送信する手段と、前記同期サーバからの当該同期要求信号に応答する同期応答信号を受信する手段と、受信した当該同期応答信号に基づき前記基準時刻に同期した周波数または時刻を発生する手段とを備えたクライアント装置において、
自クライアント装置が前記同期サーバに対して前記同期要求信号を送信した時刻をT1とし、前記同期サーバが当該同期要求信号を受信した時刻をT2とし、前記同期サーバが当該同期要求信号に応答する同期応答信号を送信した時刻をT3とし、自クライアント装置が当該同期応答信号を受信した時刻をT4としたときに、前記基準時刻を参照して自クライアント装置内の周波数または時刻を設定する際に適用する時刻差dTは
dT=(T1−T2−T3+T4)/2
であり、自クライアント装置と前記同期サーバとの間で前記同期要求信号を往路信号とし前記同期応答信号を復路信号とするときの往復遅延時間RTTを
RTT=T4−T3+T2−T1
としたときに、当該RTTの値が所定の値となる場合の時刻差dTに限定して前記時刻差dTを自クライアント装置内の周波数または時刻の設定に適用する手段を備え、
前記所定の値は、前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号のRTTをRTT_prevとし、予め設定した許容規格化周波数差をyとし、前記同期応答信号を受信する直前の時刻差dTの適用時刻からの経過時間をTとして、
RTT_lim=RTT_prev+y×T
RTT<RTT_lim
を満たすRTTの値である
ことを特徴とするクライアント装置。
Means for transmitting a synchronization request signal to a synchronization server for generating a reference time, means for receiving a synchronization response signal in response to the synchronization request signal from the synchronization server, and the reference based on the received synchronization response signal In a client device comprising a frequency synchronized with time or means for generating time,
The time when the client device transmits the synchronization request signal to the synchronization server is T1, the time when the synchronization server receives the synchronization request signal is T2, and the synchronization server responds to the synchronization request signal. Applied when setting the frequency or time in the client device with reference to the reference time when the time when the response signal is transmitted is T3 and the time when the client device receives the synchronization response signal is T4 The time difference dT is dT = (T1-T2-T3 + T4) / 2
The round-trip delay time RTT between the client device and the synchronization server when the synchronization request signal is an outbound signal and the synchronization response signal is a return signal is RTT = T4-T3 + T2-T1
The time difference dT is limited to the time difference dT when the RTT value is a predetermined value.
The predetermined value is defined as RTT_prev, where RTT of the synchronous response signal at which the RTT has reached the predetermined value immediately before receiving the synchronous response signal, y is a preset allowable normalized frequency difference, and the synchronous response signal is The elapsed time from the application time of the time difference dT immediately before reception is T,
RTT_lim = RTT_prev + y × T
RTT <RTT_lim
An RTT value satisfying the requirement: A client device characterized by:
基準時刻を発生する同期サーバに対して同期要求信号を送信する手段と、前記同期サーバからの当該同期要求信号に応答する同期応答信号を受信する手段と、受信した当該同期応答信号に基づき前記基準時刻に同期した周波数または時刻を発生する手段とを備えたクライアント装置において、
自クライアント装置が前記同期サーバに対して前記同期要求信号を送信した時刻をT1とし、前記同期サーバが当該同期要求信号を受信した時刻をT2とし、前記同期サーバが当該同期要求信号に応答する同期応答信号を送信した時刻をT3とし、自クライアント装置が当該同期応答信号を受信した時刻をT4としたときに、前記基準時刻を参照して自クライアント装置内の周波数または時刻を設定する際に適用する時刻差dTは
dT=(T1−T2−T3+T4)/2
であり、自クライアント装置と前記同期サーバとの間で前記同期要求信号を往路信号とし前記同期応答信号を復路信号とするときの往復遅延時間RTTを
RTT=T4−T3+T2−T1
としたときに、当該RTTの値が所定の値となる場合の時刻差dTに限定して前記時刻差dTを自クライアント装置内の周波数または時刻の設定に適用する手段を備え、
前記所定の値は、前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号のRTTをRTT_prevとし、予め設定した許容規格化周波数差をy1およびy2とし、前記同期応答信号を受信する直前の時刻差dTの適用時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev−y2×T
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値である
ことを特徴とするクライアント装置。
Means for transmitting a synchronization request signal to a synchronization server for generating a reference time, means for receiving a synchronization response signal in response to the synchronization request signal from the synchronization server, and the reference based on the received synchronization response signal In a client device comprising a frequency synchronized with time or means for generating time,
The time when the client device transmits the synchronization request signal to the synchronization server is T1, the time when the synchronization server receives the synchronization request signal is T2, and the synchronization server responds to the synchronization request signal. Applied when setting the frequency or time in the client device with reference to the reference time when the time when the response signal is transmitted is T3 and the time when the client device receives the synchronization response signal is T4 The time difference dT is dT = (T1-T2-T3 + T4) / 2
The round-trip delay time RTT between the client device and the synchronization server when the synchronization request signal is an outbound signal and the synchronization response signal is a return signal is RTT = T4-T3 + T2-T1
The time difference dT is limited to the time difference dT when the RTT value is a predetermined value.
The predetermined value is defined as RTT_prev, RTT_prev of the synchronous response signal in which RTT has reached the predetermined value immediately before receiving the synchronous response signal, y1 and y2 being a preset allowable normalized frequency difference, and the synchronous response signal. The elapsed time from the application time of the time difference dT immediately before receiving the signal is T,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev−y2 × T
RTT_lim2 <RTT <RTT_lim1
An RTT value satisfying the requirement: A client device characterized by:
基準時刻を発生する同期サーバに対して同期要求信号を送信する手段と、前記同期サーバからの当該同期要求信号に応答する同期応答信号を受信する手段と、受信した当該同期応答信号に基づき前記基準時刻に同期した周波数または時刻を発生する手段とを備えたクライアント装置において、
自クライアント装置が前記同期サーバに対して前記同期要求信号を送信した時刻をT1とし、前記同期サーバが当該同期要求信号を受信した時刻をT2とし、前記同期サーバが当該同期要求信号に応答する同期応答信号を送信した時刻をT3とし、自クライアント装置が当該同期応答信号を受信した時刻をT4としたときに、前記基準時刻を参照して自クライアント装置内の周波数または時刻を設定する際に適用する時刻差dTは
dT=(T1−T2−T3+T4)/2
であり、自クライアント装置と前記同期サーバとの間で前記同期要求信号を往路信号とし前記同期応答信号を復路信号とするときの往復遅延時間RTTを
RTT=T4−T3+T2−T1
としたときに、当該RTTの値が所定の値となる場合の時刻差dTに限定して前記時刻差dTを自クライアント装置内の周波数または時刻の設定に適用する手段を備え、
前記所定の値は、前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号のRTTをRTT_prevとし、予め設定した許容規格化周波数差をy1およびy2とし、予め設定した定数をγ(0<γ<1)とし、前記同期応答信号を受信する直前の時刻差dTの適用時刻からの経過時間をTとして、
RTT_lim1=RTT_prev+y1×T
RTT_lim2=RTT_prev×(1−γ)−y2×T
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値である
ことを特徴とするクライアント装置。
Means for transmitting a synchronization request signal to a synchronization server for generating a reference time, means for receiving a synchronization response signal in response to the synchronization request signal from the synchronization server, and the reference based on the received synchronization response signal In a client device comprising a frequency synchronized with time or means for generating time,
The time when the client device transmits the synchronization request signal to the synchronization server is T1, the time when the synchronization server receives the synchronization request signal is T2, and the synchronization server responds to the synchronization request signal. Applied when setting the frequency or time in the client device with reference to the reference time when the time when the response signal is transmitted is T3 and the time when the client device receives the synchronization response signal is T4 The time difference dT is dT = (T1-T2-T3 + T4) / 2
The round-trip delay time RTT between the client device and the synchronization server when the synchronization request signal is an outbound signal and the synchronization response signal is a return signal is RTT = T4-T3 + T2-T1
The time difference dT is limited to the time difference dT when the RTT value is a predetermined value.
The predetermined value is set in advance by setting RTT_prev as the RTT of the synchronous response signal in which the RTT becomes the predetermined value immediately before receiving the synchronous response signal, and y1 and y2 as the preset allowable normalized frequency difference. The constant is γ (0 <γ <1), and the elapsed time from the application time of the time difference dT immediately before receiving the synchronization response signal is T,
RTT_lim1 = RTT_prev + y1 × T
RTT_lim2 = RTT_prev × (1-γ) −y2 × T
RTT_lim2 <RTT <RTT_lim1
An RTT value satisfying the requirement: A client device characterized by:
閾値をRTT_thとしたときに、
|RTT−RTT_prev|>RTT_th
が一定期間以上継続したときに、自クライアント装置における周波数を一定に保持するホールドオーバ状態に遷移する手段を備えた
請求項1から4のいずれか1項に記載のクライアント装置。
When the threshold is RTT_th,
| RTT-RTT_prev |> RTT_th
5. The client device according to claim 1, further comprising a unit that transitions to a holdover state in which the frequency of the local client device is held constant when the frequency continues for a certain period or more.
ホールドオーバ状態に遷移する以前のRTTをRTT_prev’とし、予め設定した許容規格化周波数差をy1およびy2とし、ホールドオーバ状態に遷移した時刻からの経過時間をT’として、
RTT_lim1=RTT_prev’+y1×T’
RTT_lim2=RTT_prev’−y2×T’
RTT_lim2<RTT<RTT_lim1
を満たすRTTの値となったときに当該ホールドオーバ状態を解除する
請求項5記載のクライアント装置。
The RTT before transition to the holdover state is RTT_prev ′, the preset allowable normalized frequency difference is y1 and y2, and the elapsed time from the transition to the holdover state is T ′.
RTT_lim1 = RTT_prev ′ + y1 × T ′
RTT_lim2 = RTT_prev′−y2 × T ′
RTT_lim2 <RTT <RTT_lim1
The client apparatus according to claim 5, wherein the holdover state is canceled when the RTT value satisfying the condition is satisfied.
前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号のRTTをRTT_prevとし、そのときの時刻差dTをdT_prevとし、閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
が一定期間以上継続したときに、現在の時刻差dTを
dT_offset=dT_offset+dT_prev−dT
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる
請求項1から4のいずれか1項に記載のクライアント装置。
Immediately before receiving the synchronization response signal, the RTT of the synchronization response signal at which the RTT becomes the predetermined value is RTT_prev, the time difference dT at that time is dT_prev, and the threshold is RTT_th.
| RTT-RTT_prev |> RTT_th
Is continued for a certain period or longer, the current time difference dT is set to dT_offset = dT_offset + dT_prev−dT
dT = (T1-T2-T3 + T4) / 2 + dT_offset
The client device according to claim 1, wherein the client device is offset.
前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号のRTTをRTT_prevとし、そのときの時刻差dTをdT_prevとし、閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
が一定期間以上継続したときに、現在の時刻差dTを
dT_offset=dT_offset+dT_prev−dT
dT=(T1−T2−T3+T4)/2+max{min(dT_offset,dT_offset_max),dT_offset_min}
とオフセットさせる
請求項1から4のいずれか1項に記載のクライアント装置。
Immediately before receiving the synchronization response signal, the RTT of the synchronization response signal at which the RTT becomes the predetermined value is RTT_prev, the time difference dT at that time is dT_prev, and the threshold is RTT_th.
| RTT-RTT_prev |> RTT_th
Is continued for a certain period or longer, the current time difference dT is set to dT_offset = dT_offset + dT_prev−dT
dT = (T1-T2-T3 + T4) / 2 + max {min (dT_offset, dT_offset_max), dT_offset_min}
The client device according to claim 1, wherein the client device is offset.
前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号のRTTをRTT_prevとし、そのときの時刻差dTをdT_prevとし、第一の閾値をRTT_thとして、
|RTT−RTT_prev|>RTT_th
が一定期間以上継続したときに、現在の時刻差dTを
dT_offset=dT_offset+dT_prev−dT
とし、第二の閾値をdT_offset_thとして、
|dT_offset|>dT_offset_th
の場合に、当該時刻差dTを
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる
請求項1から4のいずれか1項に記載のクライアント装置。
Immediately before receiving the synchronization response signal, the RTT of the synchronization response signal whose RTT has reached the predetermined value is RTT_prev, the time difference dT at that time is dT_prev, and the first threshold is RTT_th,
| RTT-RTT_prev |> RTT_th
Is continued for a certain period or longer, the current time difference dT is set to dT_offset = dT_offset + dT_prev−dT
And the second threshold is dT_offset_th,
| DT_offset |> dT_offset_th
In this case, the time difference dT is expressed as dT = (T1-T2-T3 + T4) / 2 + dT_offset
The client device according to claim 1, wherein the client device is offset.
片側遅延時間として
ΔTq=T2−T1
ΔTr=T4−T3
を算出し、前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号の片側遅延時間をΔTq_prevおよびΔTr_prevとし、そのときの時刻差dTをdT_prevとし、閾値をΔT_thとして、
|ΔTq−ΔTq_prev|>ΔT_th
または
|ΔTr−ΔTr_prev|>ΔT_th
が一定期間以上継続したときに、現在の時刻差dTを
dT_offset=dT_offset+dT_prev−dT
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる
請求項1から4のいずれか1項に記載のクライアント装置。
ΔTq = T2-T1 as one-side delay time
ΔTr = T4-T3
The one-side delay time of the synchronization response signal in which RTT has reached the predetermined value immediately before receiving the synchronization response signal is ΔTq_prev and ΔTr_prev, the time difference dT at that time is dT_prev, and the threshold is ΔT_th,
| ΔTq−ΔTq_prev |> ΔT_th
Or | ΔTr−ΔTr_prev |> ΔT_th
Is continued for a certain period or longer, the current time difference dT is set to dT_offset = dT_offset + dT_prev−dT
dT = (T1-T2-T3 + T4) / 2 + dT_offset
The client device according to claim 1, wherein the client device is offset.
片側遅延時間として
ΔTq=T2−T1
ΔTr=T4−T3
を算出し、前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号の片側遅延時間をΔTq_prevおよびΔTr_prevとし、そのときの時刻差dTをdT_prevとし、閾値をΔT_thとして、
|ΔTq−ΔTq_prev|>ΔT_th
または
|ΔTr−ΔTr_prev|>ΔT_th
が一定期間以上継続したときに、現在の時刻差dTを
dT_offset=max{min(dT_prev−dT,dT_offset_max),dT_offset_min}
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる
請求項1から4のいずれか1項に記載のクライアント装置。
ΔTq = T2-T1 as one-side delay time
ΔTr = T4-T3
The one-side delay time of the synchronization response signal in which RTT has reached the predetermined value immediately before receiving the synchronization response signal is ΔTq_prev and ΔTr_prev, the time difference dT at that time is dT_prev, and the threshold is ΔT_th,
| ΔTq−ΔTq_prev |> ΔT_th
Or | ΔTr−ΔTr_prev |> ΔT_th
, The current time difference dT is changed to dT_offset = max {min (dT_prev−dT, dT_offset_max), dT_offset_min}
dT = (T1-T2-T3 + T4) / 2 + dT_offset
The client device according to claim 1, wherein the client device is offset.
片側遅延時間として
ΔTq=T2−T1
ΔTr=T4−T3
を算出し、前記同期応答信号を受信する直前にRTTが前記所定の値となった同期応答信号の片側遅延時間をΔTq_prevおよびΔTr_prevとし、そのときの時刻差dTをdT_prevとし、第一の閾値をΔT_thとして、
|ΔTq−ΔTq_prev|>ΔT_th
または
|ΔTr−ΔTr_prev|>ΔT_th
が一定期間以上継続したときに、
dT_offset=dT_offset+dT_prev−dT
とし、第二の閾値をdT_offset_thとして、
|dT_offset|>dT_offset_th
の場合に、現在の時刻差dTを
dT=(T1−T2−T3+T4)/2+dT_offset
とオフセットさせる
請求項1から4のいずれか1項に記載のクライアント装置。
ΔTq = T2-T1 as one-side delay time
ΔTr = T4-T3
ΔTq_prev and ΔTr_prev are the one-side delay times of the synchronization response signal in which the RTT has reached the predetermined value immediately before receiving the synchronization response signal, the time difference dT at that time is dT_prev, and the first threshold is As ΔT_th,
| ΔTq−ΔTq_prev |> ΔT_th
Or | ΔTr−ΔTr_prev |> ΔT_th
Is continued for a certain period of time,
dT_offset = dT_offset + dT_prev−dT
And the second threshold is dT_offset_th,
| DT_offset |> dT_offset_th
In this case, the current time difference dT is set to dT = (T1−T2−T3 + T4) / 2 + dT_offset
The client device according to claim 1, wherein the client device is offset.
時刻差dTによって位相を制御可能な数値制御発振器と周波数可変発振器とを備え、
前記数値制御発振器の出力と前記周波数可変発振器の出力との位相差を検出し、当該位相差が一定値になるように前記周波数可変発振器の周波数を制御する手段を備えた
請求項1から12のいずれか1項に記載のクライアント装置。
A numerically controlled oscillator capable of controlling the phase by the time difference dT and a variable frequency oscillator;
The phase difference between the output of the numerically controlled oscillator and the output of the frequency variable oscillator is detected, and means for controlling the frequency of the frequency variable oscillator so that the phase difference becomes a constant value is provided. The client device according to claim 1.
基準時刻を発生する同期サーバと、請求項1から13のいずれか1項に記載のクライアント装置とを備えた同期システム。   A synchronization system comprising: a synchronization server that generates a reference time; and the client device according to claim 1. 汎用の情報処理装置にインストールすることにより、その汎用の情報処理装置に、請求項1から13のいずれか1項に記載のクライアント装置の少なくとも一部の機能に相応する機能を実現させるプログラム。   14. A program that, when installed in a general-purpose information processing device, causes the general-purpose information processing device to realize functions corresponding to at least some of the functions of the client device according to any one of claims 1 to 13.
JP2007244873A 2007-09-21 2007-09-21 Client device and synchronization system Active JP4810520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007244873A JP4810520B2 (en) 2007-09-21 2007-09-21 Client device and synchronization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007244873A JP4810520B2 (en) 2007-09-21 2007-09-21 Client device and synchronization system

Publications (2)

Publication Number Publication Date
JP2009077207A true JP2009077207A (en) 2009-04-09
JP4810520B2 JP4810520B2 (en) 2011-11-09

Family

ID=40611753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007244873A Active JP4810520B2 (en) 2007-09-21 2007-09-21 Client device and synchronization system

Country Status (1)

Country Link
JP (1) JP4810520B2 (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011029918A (en) * 2009-07-24 2011-02-10 Nec Corp Clock synchronization system, communication apparatus, method and program
JP2011071735A (en) * 2009-09-25 2011-04-07 Mitsubishi Electric Corp Radio base station device
JP2011071869A (en) * 2009-09-28 2011-04-07 Oki Electric Industry Co Ltd Clock synchronizing method and packet communication system
JP2011151530A (en) * 2010-01-20 2011-08-04 Fuji Electric Co Ltd Synchronization method of communication system, communication system, and master station
JP2011525308A (en) * 2008-05-02 2011-09-15 ノーテル・ネットワークス・リミテッド Timing system and method for time synchronization over a packet network
JP2013121014A (en) * 2011-12-06 2013-06-17 Nippon Telegr & Teleph Corp <Ntt> Time synchronization device and method
JP2014027381A (en) * 2012-07-25 2014-02-06 Nec Commun Syst Ltd Time synchronization device, time synchronization method, and time synchronization program
WO2014073293A1 (en) * 2012-11-08 2014-05-15 ソニー株式会社 Communication apparatus, communication system, synchronization method, and program
JP2014165581A (en) * 2013-02-22 2014-09-08 Nippon Telegraph & Telephone East Corp Time synchronization system, time synchronization method, slave node and computer program
JP2015039131A (en) * 2013-08-19 2015-02-26 株式会社東芝 Measurement device and method
WO2015122027A1 (en) * 2014-02-13 2015-08-20 三菱電機株式会社 Time synchronization device
JP2015180001A (en) * 2014-03-19 2015-10-08 Kddi株式会社 Transmission device and receiving device
JP2015207872A (en) * 2014-04-18 2015-11-19 パナソニックIpマネジメント株式会社 Communication device, communication system, and network condition determination method
WO2015177923A1 (en) * 2014-05-23 2015-11-26 三菱電機株式会社 Communication device, communication method and program
WO2016043193A1 (en) * 2014-09-16 2016-03-24 三菱電機株式会社 Delay measurement device, measurement subject device, and communication system
JP2016046767A (en) * 2014-08-26 2016-04-04 株式会社東芝 Communication device and communication system
JP2017005382A (en) * 2015-06-05 2017-01-05 株式会社東芝 Communication device, communication system, estimation method and program
US9608753B2 (en) 2011-12-28 2017-03-28 Hitachi, Ltd. Time synchronization system, management node, and time synchronization method
JP2018063171A (en) * 2016-10-13 2018-04-19 株式会社リコー Electronic apparatus, display system, time synchronization method, and program
JP2018523416A (en) * 2015-08-10 2018-08-16 クゥアルコム・インコーポレイテッドQualcomm Incorporated Partial timing synchronization function (TSF) synchronization in fine timing measurement (FTM) protocol
JP2020017940A (en) * 2018-07-13 2020-01-30 株式会社明電舎 Time synchronization system, communication device, time synchronization method
KR102287793B1 (en) * 2021-04-14 2021-08-09 세종대학교산학협력단 Iterative time synchronization algorithm and system for unmanned aerial vehicle network

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0964860A (en) * 1995-08-25 1997-03-07 Pioneer Electron Corp Clock recovery device
JPH10142361A (en) * 1996-11-07 1998-05-29 Nec Corp Time synchronization system of transmission network
JP2000307559A (en) * 1999-03-19 2000-11-02 Koninkl Philips Electronics Nv Radio network using user clock synchronization
JP2002359629A (en) * 2001-06-01 2002-12-13 Nec Corp Distance measurement method and program in atm-pon system
JP2003152752A (en) * 2001-08-29 2003-05-23 Matsushita Electric Ind Co Ltd Data transmission/reception method
JP2004336354A (en) * 2003-05-07 2004-11-25 Mitsubishi Electric Corp Method to use uplink band in optical burst transmission/reception network
JP2005136548A (en) * 2003-10-29 2005-05-26 Sony Corp Transmission apparatus and method, recording medium, and program
JP2007178226A (en) * 2005-12-27 2007-07-12 Hitachi Ltd Time control device, method, and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0964860A (en) * 1995-08-25 1997-03-07 Pioneer Electron Corp Clock recovery device
JPH10142361A (en) * 1996-11-07 1998-05-29 Nec Corp Time synchronization system of transmission network
JP2000307559A (en) * 1999-03-19 2000-11-02 Koninkl Philips Electronics Nv Radio network using user clock synchronization
JP2002359629A (en) * 2001-06-01 2002-12-13 Nec Corp Distance measurement method and program in atm-pon system
JP2003152752A (en) * 2001-08-29 2003-05-23 Matsushita Electric Ind Co Ltd Data transmission/reception method
JP2004336354A (en) * 2003-05-07 2004-11-25 Mitsubishi Electric Corp Method to use uplink band in optical burst transmission/reception network
JP2005136548A (en) * 2003-10-29 2005-05-26 Sony Corp Transmission apparatus and method, recording medium, and program
JP2007178226A (en) * 2005-12-27 2007-07-12 Hitachi Ltd Time control device, method, and system

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014147105A (en) * 2008-05-02 2014-08-14 Nortel Networks Ltd Timing system and method for time synchronization through packet network
JP2011525308A (en) * 2008-05-02 2011-09-15 ノーテル・ネットワークス・リミテッド Timing system and method for time synchronization over a packet network
JP2011029918A (en) * 2009-07-24 2011-02-10 Nec Corp Clock synchronization system, communication apparatus, method and program
JP2011071735A (en) * 2009-09-25 2011-04-07 Mitsubishi Electric Corp Radio base station device
JP2011071869A (en) * 2009-09-28 2011-04-07 Oki Electric Industry Co Ltd Clock synchronizing method and packet communication system
JP2011151530A (en) * 2010-01-20 2011-08-04 Fuji Electric Co Ltd Synchronization method of communication system, communication system, and master station
JP2013121014A (en) * 2011-12-06 2013-06-17 Nippon Telegr & Teleph Corp <Ntt> Time synchronization device and method
US9608753B2 (en) 2011-12-28 2017-03-28 Hitachi, Ltd. Time synchronization system, management node, and time synchronization method
JP2014027381A (en) * 2012-07-25 2014-02-06 Nec Commun Syst Ltd Time synchronization device, time synchronization method, and time synchronization program
WO2014073293A1 (en) * 2012-11-08 2014-05-15 ソニー株式会社 Communication apparatus, communication system, synchronization method, and program
JP2014165581A (en) * 2013-02-22 2014-09-08 Nippon Telegraph & Telephone East Corp Time synchronization system, time synchronization method, slave node and computer program
JP2015039131A (en) * 2013-08-19 2015-02-26 株式会社東芝 Measurement device and method
WO2015122027A1 (en) * 2014-02-13 2015-08-20 三菱電機株式会社 Time synchronization device
JP2015180001A (en) * 2014-03-19 2015-10-08 Kddi株式会社 Transmission device and receiving device
JP2015207872A (en) * 2014-04-18 2015-11-19 パナソニックIpマネジメント株式会社 Communication device, communication system, and network condition determination method
WO2015177923A1 (en) * 2014-05-23 2015-11-26 三菱電機株式会社 Communication device, communication method and program
JPWO2015177923A1 (en) * 2014-05-23 2017-04-20 三菱電機株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP5933147B2 (en) * 2014-05-23 2016-06-08 三菱電機株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US9882705B2 (en) 2014-05-23 2018-01-30 Mitsubishi Electric Corporation Communication apparatus, communication method, and computer readable medium using propagation delay for time synchronization
JP2016046767A (en) * 2014-08-26 2016-04-04 株式会社東芝 Communication device and communication system
WO2016043193A1 (en) * 2014-09-16 2016-03-24 三菱電機株式会社 Delay measurement device, measurement subject device, and communication system
JPWO2016043193A1 (en) * 2014-09-16 2017-04-27 三菱電機株式会社 Delay measurement device, measurement target device, and communication system
US10057149B2 (en) 2014-09-16 2018-08-21 Mitsubishi Electric Corporation Delay measuring device, measurement object device and communication system
JP2017005382A (en) * 2015-06-05 2017-01-05 株式会社東芝 Communication device, communication system, estimation method and program
JP2018523416A (en) * 2015-08-10 2018-08-16 クゥアルコム・インコーポレイテッドQualcomm Incorporated Partial timing synchronization function (TSF) synchronization in fine timing measurement (FTM) protocol
JP2018063171A (en) * 2016-10-13 2018-04-19 株式会社リコー Electronic apparatus, display system, time synchronization method, and program
JP2020017940A (en) * 2018-07-13 2020-01-30 株式会社明電舎 Time synchronization system, communication device, time synchronization method
JP7143798B2 (en) 2018-07-13 2022-09-29 株式会社明電舎 Time synchronization method, communication device, time synchronization method
KR102287793B1 (en) * 2021-04-14 2021-08-09 세종대학교산학협력단 Iterative time synchronization algorithm and system for unmanned aerial vehicle network

Also Published As

Publication number Publication date
JP4810520B2 (en) 2011-11-09

Similar Documents

Publication Publication Date Title
JP4810520B2 (en) Client device and synchronization system
Mahmood et al. Clock synchronization over IEEE 802.11—A survey of methodologies and protocols
US9882666B2 (en) Time synchronization for network testing equipment
US9763207B2 (en) Timing synchronization device and timing synchronization control method
US9167545B2 (en) Receiver, method of calculating time difference, and program
EP2528255B1 (en) A method and a device for controlling frequency synchronization
JP5359314B2 (en) Transmission equipment
KR20160078893A (en) Semiconductor device, electronic device module and network system
US20160087738A1 (en) Time synchronization slave apparatus capable of adjusting time synchronization period, and method of determining time synchronization period
US7440474B1 (en) Method and apparatus for synchronizing clocks on packet-switched networks
JP4295316B2 (en) Clock adjustment through multiple packet networks
JP2018125813A (en) Clock generating circuit, serial/parallel conversion circuit, and information processing device
JP2010028684A (en) Client device and program
US20100074254A1 (en) Communication system, transmitting apparatus, receiving apparatus, communication method, and record medium
JP2008005123A (en) Video data transmission device, video data receiving device, and video data transmission system
US9356767B1 (en) Hybrid analog/digital clock recovery system
Al-Araji et al. Adaptive zero-crossing digital phase-locked loop for packet synchronization
WO2021256206A1 (en) Data transfer circuit and communication device
US20190132112A1 (en) Phase caching for fast data recovery
JP6198075B2 (en) Time synchronization apparatus, time synchronization method, and time synchronization program
KR20100048124A (en) Time synchronization method in bridged local area network
JP2010212945A (en) Receiving-side node for clock synchronization, method thereof and program thereof
US20100054274A1 (en) Method for clock synchronization in a communication network, and communication network
JP2014082599A (en) Communication device, time control method, and program
JP6052877B2 (en) Phase synchronization circuit, time synchronization device, phase synchronization method, and phase synchronization program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20090525

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090525

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110809

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110822

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140826

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4810520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350