JP2017034383A - Transmission equipment and synchronization method - Google Patents

Transmission equipment and synchronization method Download PDF

Info

Publication number
JP2017034383A
JP2017034383A JP2015150563A JP2015150563A JP2017034383A JP 2017034383 A JP2017034383 A JP 2017034383A JP 2015150563 A JP2015150563 A JP 2015150563A JP 2015150563 A JP2015150563 A JP 2015150563A JP 2017034383 A JP2017034383 A JP 2017034383A
Authority
JP
Japan
Prior art keywords
transmission device
board
frame
time
reference clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015150563A
Other languages
Japanese (ja)
Inventor
木村 直人
Naoto Kimura
直人 木村
健二 福永
Kenji Fukunaga
健二 福永
池田 善尚
Yoshinao Ikeda
善尚 池田
小松 浩司
Koji Komatsu
浩司 小松
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2015150563A priority Critical patent/JP2017034383A/en
Publication of JP2017034383A publication Critical patent/JP2017034383A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To synchronize between devices with high accuracy without increasing a clock frequency.SOLUTION: A first board 110 receives time information by latching a frame, which is a frame transmitted from the self-device and returned before a second board 120 latches with a reference clock, using the reference clock of the self-device. Also, the first board 110 determines a phase difference between the latched frame and the reference clock of the self-device, on the basis of a plurality of clocks generated by delaying the reference clock of the self-device. Further, the first board 110 calculates a frame transmission delay amount between the self-device and the second board 120, on the basis of the reception time of the time information, the received time information and the determined phase difference. Then, the first board 110 corrects the time which is indicated by the time information included in the frame transmitted from the self-device to the second board 120, on the basis of the calculated transmission delay amount.SELECTED DRAWING: Figure 1

Description

本発明は、伝送装置および同期方法に関する。   The present invention relates to a transmission apparatus and a synchronization method.

従来、第1クロック信号を基準として、位相をずらしたk個のクロック信号を発生させ、それらの各々をラッチしてk個の1ビットの信号を得る技術が知られている(たとえば、下記特許文献1参照。)。また、時刻通知フレームを装置間で折り返すことによって伝送遅延時間を算出し、算出した遅延時間に基づいて時刻通知フレームを補正する技術が知られている(たとえば、下記特許文献2参照。)。   2. Description of the Related Art Conventionally, a technique is known in which k clock signals whose phases are shifted with respect to a first clock signal are generated and each of them is latched to obtain k 1-bit signals (for example, the following patent Reference 1). In addition, a technique is known in which a transmission delay time is calculated by turning back a time notification frame between devices, and the time notification frame is corrected based on the calculated delay time (see, for example, Patent Document 2 below).

また、伝送路遅延計測フレームを装置間で折り返すことによって伝送路遅延を計測する技術が知られている(たとえば、下記特許文献3参照。)。また、通信ネットワークに接続されたタイミング同期装置において、基準タイミングと受信タイミングとのズレ値に基づいて、サンプリングパルス発振回路の基準タイミングを補正する技術が知られている(たとえば、下記特許文献4参照。)。   In addition, a technique for measuring a transmission line delay by turning back a transmission line delay measurement frame between apparatuses is known (for example, see Patent Document 3 below). In addition, a technique for correcting the reference timing of the sampling pulse oscillation circuit based on a deviation value between the reference timing and the reception timing in a timing synchronization apparatus connected to a communication network is known (for example, see Patent Document 4 below). .)

特開2011−211346号公報JP 2011-2111346 A 特開2009−128174号公報JP 2009-128174 A 国際公開第2008/123272号International Publication No. 2008/123272 特開2009−182659号公報JP 2009-182659 A

しかしながら、上述した従来技術では、たとえば装置間の伝送遅延量を計測する際に、時刻情報を含む時刻フレームと、時刻フレームをラッチする装置内の基準クロックと、の間の位相差による誤差が発生する場合がある。このため、精度よく装置間の同期を取ることができないという問題がある。   However, in the above-described conventional technique, for example, when measuring a transmission delay amount between devices, an error due to a phase difference between a time frame including time information and a reference clock in the device that latches the time frame occurs. There is a case. For this reason, there exists a problem that it cannot synchronize between apparatuses accurately.

また、基準クロックの周波数を高くすることにより上述の誤差を小さくすることも考えられるが、そのためには高速伝送および高速処理に対応したデバイスを要するため、基準クロックの周波数を高くすることは困難である。   It is also possible to reduce the above-mentioned error by increasing the frequency of the reference clock, but this requires a device that supports high-speed transmission and high-speed processing, so it is difficult to increase the frequency of the reference clock. is there.

1つの側面では、本発明は、クロック周波数を高くしなくても精度よく装置間の同期を取ることができる伝送装置および同期方法を提供することを目的とする。   In one aspect, an object of the present invention is to provide a transmission apparatus and a synchronization method that can accurately synchronize apparatuses without increasing the clock frequency.

上述した課題を解決し、目的を達成するため、本発明の一側面によれば、第1伝送装置が、前記第1伝送装置の時計に基づく時刻情報を含むフレームを第2伝送装置へ送信し、前記第2伝送装置が、前記第1伝送装置によって送信された前記フレームであって、前記第2伝送装置の基準クロックでラッチする前のフレームを前記第1伝送装置へ返送し、前記第1伝送装置が、前記第2伝送装置によって返送された前記フレームを前記第1伝送装置の基準クロックでラッチすることにより前記時刻情報を受信し、前記第1伝送装置が、前記第1伝送装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記第1伝送装置がラッチした前記フレームと前記第1伝送装置の基準クロックとの間の位相差を判定し、前記第1伝送装置が、前記時刻情報を受信した時刻と、受信した前記時刻情報と、判定した前記位相差と、に基づいて前記第1伝送装置と前記第2伝送装置との間における前記フレームの伝送遅延量を計算し、前記第1伝送装置が、前記第2伝送装置へ送信する前記フレームに含まれる前記時刻情報が示す時刻を、計算した前記伝送遅延量に基づいて補正し、前記第2伝送装置が、前記第1伝送装置によって送信された前記フレームを前記第2伝送装置の基準クロックでラッチすることにより前記時刻情報を受信し、前記第2伝送装置が、前記第2伝送装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記第2伝送装置がラッチした前記フレームと前記第2伝送装置の基準クロックとの間の位相差を判定し、前記第2伝送装置が、受信した前記時刻情報と、判定した前記位相差と、に基づいて前記第2伝送装置の時計を前記第1伝送装置の時計と同期させる伝送装置および同期方法が提案される。   In order to solve the above-described problems and achieve the object, according to one aspect of the present invention, the first transmission device transmits a frame including time information based on the clock of the first transmission device to the second transmission device. The second transmission device returns the frame transmitted by the first transmission device before being latched by the reference clock of the second transmission device to the first transmission device, and the first transmission device returns the first transmission device to the first transmission device. A transmission device receives the time information by latching the frame returned by the second transmission device with a reference clock of the first transmission device, and the first transmission device receives a reference of the first transmission device. Determining a phase difference between the frame latched by the first transmission device and a reference clock of the first transmission device based on a plurality of clocks generated by delaying the clock; Transmission delay of the frame between the first transmission device and the second transmission device based on the time when the transmission device receives the time information, the received time information, and the determined phase difference The second transmission device corrects the time indicated by the time information included in the frame transmitted from the first transmission device to the second transmission device based on the calculated transmission delay amount. Receives the time information by latching the frame transmitted by the first transmission device with a reference clock of the second transmission device, and the second transmission device receives the reference clock of the second transmission device. Determining a phase difference between the frame latched by the second transmission device and a reference clock of the second transmission device based on a plurality of clocks generated by delaying; Transmission device, and the time information received, and the phase difference is determined, the transmission apparatus and synchronizing method of clocks of the second transmission device is synchronized with the clock of the first transmission device based on are proposed.

本発明の一側面によれば、クロック周波数を高くしなくても精度よく装置間の同期を取ることができるという効果を奏する。   According to one aspect of the present invention, there is an effect that synchronization between devices can be accurately performed without increasing the clock frequency.

図1は、実施の形態にかかる同期システムの一例を示す図である。FIG. 1 is a diagram illustrating an example of a synchronization system according to an embodiment. 図2は、実施の形態にかかる同期システムにおける時刻同期処理の一例を示すシーケンス図である。FIG. 2 is a sequence diagram illustrating an example of time synchronization processing in the synchronization system according to the embodiment. 図3は、実施の形態にかかる時刻フレームの一例を示す図である。FIG. 3 is a diagram illustrating an example of a time frame according to the embodiment. 図4は、実施の形態にかかる同期システムにおける時刻フレームの送受信タイミングの一例を示す図である。FIG. 4 is a diagram illustrating an example of transmission / reception timing of a time frame in the synchronization system according to the embodiment. 図5は、実施の形態にかかるクロックシフト回路および受信タイミング測定回路の一例を示す図である。FIG. 5 is a diagram illustrating an example of the clock shift circuit and the reception timing measurement circuit according to the embodiment. 図6は、実施の形態にかかる8段シフトレジスタにおけるシフトレジスタ値の一例を示す図である。FIG. 6 is a diagram illustrating an example of shift register values in the 8-stage shift register according to the embodiment. 図7は、実施の形態にかかるシフトレジスタ値に基づく位相判定の一例を示す図である。FIG. 7 is a diagram illustrating an example of the phase determination based on the shift register value according to the embodiment. 図8は、実施の形態にかかる第1ボードによる時刻情報の補正の一例を示す図である。FIG. 8 is a diagram illustrating an example of correction of time information by the first board according to the embodiment. 図9は、実施の形態にかかる各ボードの間の同期の一例を示す図である。FIG. 9 is a diagram illustrating an example of synchronization between the boards according to the embodiment. 図10は、実施の形態にかかる同期システムを適用した装置の一例を示す図である。FIG. 10 is a diagram illustrating an example of an apparatus to which the synchronization system according to the embodiment is applied.

以下に図面を参照して、本発明にかかる伝送装置および同期方法の実施の形態を詳細に説明する。   Embodiments of a transmission apparatus and a synchronization method according to the present invention will be described below in detail with reference to the drawings.

(実施の形態)
(実施の形態にかかる同期システム)
図1は、実施の形態にかかる同期システムの一例を示す図である。図1に示すように、実施の形態にかかる同期システム100は、第1ボード110および第2ボード120を含む。第1ボード110は、第1ボード110(自装置)の時計に基づく時刻を示す時刻情報を含む時刻フレームを第2ボード120(他の伝送装置)へ送信することにより、第2ボード120の時計を第1ボード110の時計と同期させる伝送装置である。時計は、たとえば現在時刻(一例としては年、月、日、時、分、秒、…)を示す時刻情報を生成する処理部である。
(Embodiment)
(Synchronization system according to the embodiment)
FIG. 1 is a diagram illustrating an example of a synchronization system according to an embodiment. As shown in FIG. 1, the synchronization system 100 according to the embodiment includes a first board 110 and a second board 120. The first board 110 transmits a time frame including time information indicating the time based on the clock of the first board 110 (self apparatus) to the second board 120 (other transmission apparatus), whereby the clock of the second board 120 is displayed. Is a transmission device that synchronizes with the clock of the first board 110. The clock is a processing unit that generates time information indicating the current time (for example, year, month, day, hour, minute, second,...).

第1ボード110と第2ボード120との間の信号の伝送は、たとえば、電気信号線を介した電気信号により行うことができる。ただし、第1ボード110と第2ボード120との間の信号の伝送は、電気信号線を介した電気信号に限らず、たとえば、光伝送路を介した光信号や、無線信号によって行うようにしてもよい。また、ここでは第1ボード110と第2ボード120との間の信号の伝送にかかる時間は、双方向で同じであるとする。   Transmission of signals between the first board 110 and the second board 120 can be performed by an electric signal via an electric signal line, for example. However, the transmission of signals between the first board 110 and the second board 120 is not limited to an electric signal via an electric signal line, and may be performed by, for example, an optical signal via a light transmission path or a radio signal. May be. Here, it is assumed that the time required for signal transmission between the first board 110 and the second board 120 is the same in both directions.

第1ボード110は、たとえば、基準クロック生成回路111と、カウンタ112と、補正回路113と、クロックシフト回路114と、受信タイミング測定回路115と、を備える。また、第1ボード110は、さらにバッファ119を備えてもよい。   The first board 110 includes, for example, a reference clock generation circuit 111, a counter 112, a correction circuit 113, a clock shift circuit 114, and a reception timing measurement circuit 115. Further, the first board 110 may further include a buffer 119.

基準クロック生成回路111は、第1ボード110における内部クロックである基準クロックを生成する。そして、基準クロック生成回路111は、生成した基準クロックを動作クロックとして第1ボード110の各部へ出力する。たとえば、カウンタ112、補正回路113およびクロックシフト回路114は、基準クロック生成回路111から出力された基準クロックを動作クロックとして用いて動作する。   The reference clock generation circuit 111 generates a reference clock that is an internal clock in the first board 110. Then, the reference clock generation circuit 111 outputs the generated reference clock to each part of the first board 110 as an operation clock. For example, the counter 112, the correction circuit 113, and the clock shift circuit 114 operate using the reference clock output from the reference clock generation circuit 111 as an operation clock.

カウンタ112は、基準クロック生成回路111から出力される基準クロックに基づくカウントアップを行うことにより、現在時刻を示す時刻情報を生成する時計である。たとえば、カウンタ112は、基準クロック生成回路111から出力される基準クロックが立ち上がるごとに、現在保持している時刻に対して所定時間(たとえば図4に示す例では8[ns])を加算することによって時刻情報を生成する。そして、カウンタ112は、生成した時刻情報を補正回路113へ出力する。   The counter 112 is a clock that generates time information indicating the current time by counting up based on the reference clock output from the reference clock generation circuit 111. For example, every time the reference clock output from the reference clock generation circuit 111 rises, the counter 112 adds a predetermined time (for example, 8 [ns] in the example shown in FIG. 4) to the currently held time. To generate time information. Then, the counter 112 outputs the generated time information to the correction circuit 113.

補正回路113は、基準クロック生成回路111から出力された時刻情報が示す時刻を、第1ボード110と第2ボード120との間の伝送遅延量や第1ボード110の内部における遅延量などに基づいて補正する。   The correction circuit 113 determines the time indicated by the time information output from the reference clock generation circuit 111 based on a transmission delay amount between the first board 110 and the second board 120, a delay amount in the first board 110, and the like. To correct.

たとえば、補正回路113は、基準クロック生成回路111からの時刻情報を直接的に補正する。または、補正回路113は、基準クロック生成回路111からの時刻情報が示す時刻と、その時刻に対する補正値と、をそれぞれ示す情報を補正後の時刻情報として生成することにより時刻情報を補正してもよい。   For example, the correction circuit 113 directly corrects the time information from the reference clock generation circuit 111. Alternatively, the correction circuit 113 may correct the time information by generating information indicating the time indicated by the time information from the reference clock generation circuit 111 and the correction value for the time as corrected time information. Good.

補正回路113によって補正された時刻情報は、時刻フレームに格納されて第2ボード120へ送信される。これにより、時刻情報が第2ボード120へ到達した時点で、その時刻情報が示す時刻が、第1ボード110における時刻と一致するようにすることができる。また、第1ボード110から第2ボード120へ送信する時刻フレームの信号パワーを確保するために、補正回路113と第1ボード110の送信端との間に設けたバッファ119によって時刻フレームを増幅する構成としてもよい。   The time information corrected by the correction circuit 113 is stored in a time frame and transmitted to the second board 120. Accordingly, when the time information reaches the second board 120, the time indicated by the time information can be made to coincide with the time in the first board 110. Further, in order to secure the signal power of the time frame transmitted from the first board 110 to the second board 120, the time frame is amplified by the buffer 119 provided between the correction circuit 113 and the transmission end of the first board 110. It is good also as a structure.

たとえば、補正回路113は、加算部116と、差分計算部117と、除算部118と、を備える。加算部116は、カウンタ112から出力された時刻情報に所定時間を加算することにより時刻情報を補正する補正部である。加算部116は、所定時間を加算した時刻情報を第2ボード120へ送信(送出)する。加算部116が時刻情報に加算する所定時間には、たとえば、除算部118から通知される、第1ボード110と第2ボード120との間の時刻フレームの伝送遅延量が含まれる。除算部118による伝送遅延量の計算については後述する。   For example, the correction circuit 113 includes an addition unit 116, a difference calculation unit 117, and a division unit 118. The adding unit 116 is a correcting unit that corrects the time information by adding a predetermined time to the time information output from the counter 112. The adder 116 transmits (sends) time information obtained by adding a predetermined time to the second board 120. The predetermined time that the addition unit 116 adds to the time information includes, for example, the transmission delay amount of the time frame between the first board 110 and the second board 120 that is notified from the division unit 118. The calculation of the transmission delay amount by the division unit 118 will be described later.

また、加算部116が時刻情報に加算する所定時間には、カウンタ112から時刻情報が送信されてから、その時刻情報が第2ボード120へ送出されるまでの、第1ボード110における処理時間が含まれていてもよい。この処理時間は、たとえば、実測結果、シミュレーション結果または理論値等に基づいて算出された固定値とすることができる。   In addition, the processing time in the first board 110 from when the time information is transmitted from the counter 112 to when the time information is transmitted to the second board 120 is the predetermined time that the adding unit 116 adds to the time information. It may be included. This processing time can be a fixed value calculated based on, for example, an actual measurement result, a simulation result, or a theoretical value.

クロックシフト回路114は、基準クロック生成回路111から出力された基準クロックをシフト(遅延)させることにより、タイミング(位相)の異なる複数のクロックを生成する。そして、クロックシフト回路114は、生成した複数のクロックを受信タイミング測定回路115へ出力する。   The clock shift circuit 114 generates a plurality of clocks having different timings (phases) by shifting (delaying) the reference clock output from the reference clock generation circuit 111. Then, the clock shift circuit 114 outputs the generated plurality of clocks to the reception timing measurement circuit 115.

受信タイミング測定回路115には、第1ボード110が第2ボード120へ送信し、第2ボード120が即時返送した時刻フレームが入力される。第2ボード120が即時返送した時刻フレームとは、第2ボード120が第2ボード120の基準クロックでラッチする前に第1ボード110へ返送した時刻フレームである。   The reception timing measurement circuit 115 receives a time frame transmitted from the first board 110 to the second board 120 and immediately returned by the second board 120. The time frame immediately returned by the second board 120 is a time frame returned to the first board 110 before the second board 120 latches with the reference clock of the second board 120.

受信タイミング測定回路115(受信部)は、入力された時刻フレームを第1ボード110の基準クロックでラッチすることにより、第1ボード110が第2ボード120へ時刻フレームによって送信した時刻情報を受信する。受信タイミング測定回路115が時刻フレームのラッチに用いる基準クロックは、たとえば、基準クロック生成回路111から出力された基準クロックである。または、受信タイミング測定回路115が時刻フレームのラッチに用いる基準クロックは、クロックシフト回路114から出力される複数のクロックのうちのシフト量が0[ns]のクロックであってもよい。   The reception timing measurement circuit 115 (reception unit) receives the time information transmitted from the first board 110 to the second board 120 by the time frame by latching the input time frame with the reference clock of the first board 110. . The reference clock used by the reception timing measurement circuit 115 for latching the time frame is, for example, the reference clock output from the reference clock generation circuit 111. Alternatively, the reference clock used by the reception timing measurement circuit 115 for latching the time frame may be a clock having a shift amount of 0 [ns] among a plurality of clocks output from the clock shift circuit 114.

また、受信タイミング測定回路115は、入力された時刻フレームと、クロックシフト回路114から出力された複数のクロックと、に基づいて、入力された時刻フレームと、基準クロック生成回路111からの基準クロックと、の間の位相差を判定する。そして、受信タイミング測定回路115は、受信した時刻フレームの時刻情報と、判定した位相差を示す位相差情報と、を補正回路113へ出力する。   The reception timing measurement circuit 115 also receives the input time frame and the reference clock from the reference clock generation circuit 111 based on the input time frame and the plurality of clocks output from the clock shift circuit 114. Determine the phase difference between. Then, the reception timing measurement circuit 115 outputs time information of the received time frame and phase difference information indicating the determined phase difference to the correction circuit 113.

補正回路113の差分計算部117は、受信タイミング測定回路115からの時刻情報および位相差情報と、カウンタ112からの時刻情報と、に基づいて、第1ボード110と第2ボード120との間の往復の伝送遅延量を計算する。たとえば、カウンタ112からの時刻情報の値をa、受信タイミング測定回路115からの時刻情報の値をb、受信タイミング測定回路115からの位相差情報の値をcとする。この場合に、aは時刻フレームの受信時刻を示し、bは時刻フレームの送信時刻を示し、cは時刻フレームと基準クロックとの位相差を示す。差分計算部117は、たとえばa−b+cを計算することにより、第1ボード110と第2ボード120との間の往復の伝送遅延量を計算することができる。そして、差分計算部117は、計算結果を除算部118へ出力する。   The difference calculation unit 117 of the correction circuit 113 is based on the time information and phase difference information from the reception timing measurement circuit 115 and the time information from the counter 112, between the first board 110 and the second board 120. Calculate the round trip transmission delay. For example, the time information value from the counter 112 is a, the time information value from the reception timing measurement circuit 115 is b, and the phase difference information value from the reception timing measurement circuit 115 is c. In this case, a indicates the time frame reception time, b indicates the time frame transmission time, and c indicates the phase difference between the time frame and the reference clock. The difference calculation unit 117 can calculate a round-trip transmission delay amount between the first board 110 and the second board 120 by calculating, for example, a−b + c. Then, the difference calculation unit 117 outputs the calculation result to the division unit 118.

除算部118は、差分計算部117から出力された計算結果を“2”で除算する。これにより、第1ボード110と第2ボード120との間の片道の伝送遅延量を精度よく計算することができる。除算部118は、計算した伝送遅延量を加算部116へ通知する。   The division unit 118 divides the calculation result output from the difference calculation unit 117 by “2”. Thereby, the one-way transmission delay amount between the first board 110 and the second board 120 can be accurately calculated. The division unit 118 notifies the addition unit 116 of the calculated transmission delay amount.

このように、差分計算部117および除算部118により、時刻情報が受信された時刻(a)と、受信された時刻情報(b)と、受信タイミング測定回路115によって判定された位相差(c)と、に基づいて伝送遅延量を計算することができる。   As described above, the time (a) when the time information is received by the difference calculation unit 117 and the division unit 118, the received time information (b), and the phase difference (c) determined by the reception timing measurement circuit 115. The transmission delay amount can be calculated based on the above.

第2ボード120は、たとえば、返送部121と、基準クロック生成回路122と、クロックシフト回路123と、受信タイミング測定回路124と、カウンタ125と、を備える。また、第2ボード120は、さらにバッファ126を備えてもよい。   The second board 120 includes, for example, a return unit 121, a reference clock generation circuit 122, a clock shift circuit 123, a reception timing measurement circuit 124, and a counter 125. The second board 120 may further include a buffer 126.

返送部121は、第1ボード110から送信されて第2ボード120へ入力された時刻フレームであって、受信タイミング測定回路124によって第2ボード120の基準クロックでラッチする前の時刻フレームを第1ボード110へ返送(即時返送)する。これにより、時刻フレームの往復の伝送遅延時間に対して、第2ボード120へ入力された時刻フレームと、第2ボード120の基準クロックと、の間の位相差が影響を与えないようにすることができる。このため、第1ボード110において、第1ボード110と第2ボード120との間の伝送遅延量を精度よく計算することが可能になる。   The return unit 121 is a time frame transmitted from the first board 110 and input to the second board 120, and the time frame before being latched by the reference clock of the second board 120 by the reception timing measurement circuit 124 is the first time frame. Return to board 110 (immediate return). This prevents the phase difference between the time frame input to the second board 120 and the reference clock of the second board 120 from affecting the round-trip transmission delay time of the time frame. Can do. Therefore, in the first board 110, it is possible to calculate the transmission delay amount between the first board 110 and the second board 120 with high accuracy.

返送部121は、一例としては、第2ボード120の受信端と受信タイミング測定回路124との間において信号を分岐し、分岐した信号を第2ボード120から第1ボード110への伝送路に接続する物理的な配線によって実現することができる。この物理的な配線は、たとえば、第1ボード110から第2ボード120への伝送に用いる配線と、第2ボード120から第1ボード110への伝送(返送)に用いる配線と、で長さが同じものとする。また、第2ボード120から第1ボード110へ返送する時刻フレームの信号パワーを確保するために、返送部121にバッファ126を設けて時刻フレームを増幅する構成としてもよい。   For example, the return unit 121 branches the signal between the reception end of the second board 120 and the reception timing measurement circuit 124 and connects the branched signal to the transmission path from the second board 120 to the first board 110. Can be realized by physical wiring. This physical wiring is, for example, a wiring used for transmission from the first board 110 to the second board 120 and a wiring used for transmission (return) from the second board 120 to the first board 110. Same thing. In order to secure the signal power of the time frame returned from the second board 120 to the first board 110, a buffer 126 may be provided in the return unit 121 to amplify the time frame.

基準クロック生成回路122は、第2ボード120における内部クロックである基準クロックを生成する。基準クロック生成回路122は、生成した基準クロックを動作クロックとして第2ボード120の各部へ出力する。たとえば、クロックシフト回路123および受信タイミング測定回路124は、基準クロック生成回路122から出力された基準クロックを動作クロックとして用いて動作する。   The reference clock generation circuit 122 generates a reference clock that is an internal clock in the second board 120. The reference clock generation circuit 122 outputs the generated reference clock to each unit of the second board 120 as an operation clock. For example, the clock shift circuit 123 and the reception timing measurement circuit 124 operate using the reference clock output from the reference clock generation circuit 122 as an operation clock.

基準クロック生成回路122が生成する第2ボード120の基準クロックは、第1ボード110の基準クロックとタイミング同期していなくてもよい。ただし、基準クロック生成回路122が生成する第2ボード120の基準クロックは、第1ボード110の基準クロックと周波数同期している。第1ボード110の基準クロックと第2ボード120の基準クロックとの間の周波数同期は、たとえば、第1ボード110が基準クロック生成回路111の基準クロックを第2ボード120へ送信することによって行うことができる。この場合は、第2ボード120は、基準クロック生成回路122の基準クロックの周波数を、第1ボード110から受信した基準クロックの周波数と同期させる。   The reference clock of the second board 120 generated by the reference clock generation circuit 122 may not be synchronized with the reference clock of the first board 110. However, the reference clock of the second board 120 generated by the reference clock generation circuit 122 is frequency-synchronized with the reference clock of the first board 110. The frequency synchronization between the reference clock of the first board 110 and the reference clock of the second board 120 is performed by the first board 110 transmitting the reference clock of the reference clock generation circuit 111 to the second board 120, for example. Can do. In this case, the second board 120 synchronizes the frequency of the reference clock of the reference clock generation circuit 122 with the frequency of the reference clock received from the first board 110.

また、第1ボード110の基準クロックと第2ボード120の基準クロックとの間の周波数同期の方法はこれに限らない。たとえば、第1ボード110の基準クロックと第2ボード120の基準クロックとの間の周波数同期には、第1ボード110と第2ボード120との間の伝送におけるCDR(Clock Data Recovery)を用いてもよい。この場合は、第2ボード120は、基準クロック生成回路122の基準クロックの周波数を、CDRにより再生したクロックの周波数(リカバリクロック)と同期させる。   The frequency synchronization method between the reference clock of the first board 110 and the reference clock of the second board 120 is not limited to this. For example, frequency synchronization between the reference clock of the first board 110 and the reference clock of the second board 120 is performed using CDR (Clock Data Recovery) in transmission between the first board 110 and the second board 120. Also good. In this case, the second board 120 synchronizes the frequency of the reference clock of the reference clock generation circuit 122 with the frequency of the clock recovered by the CDR (recovery clock).

クロックシフト回路123は、基準クロック生成回路122から出力された基準クロックをシフト(遅延)させることにより、タイミング(位相)の異なる複数のクロックを生成する。そして、クロックシフト回路123は、生成した複数のクロックを受信タイミング測定回路124へ出力する。   The clock shift circuit 123 generates a plurality of clocks having different timings (phases) by shifting (delaying) the reference clock output from the reference clock generation circuit 122. Then, the clock shift circuit 123 outputs the generated plurality of clocks to the reception timing measurement circuit 124.

受信タイミング測定回路124には、第1ボード110が第2ボード120へ送信した時刻フレームが入力される。受信タイミング測定回路124は、入力された時刻フレームを第2ボード120の基準クロックでラッチすることにより、第1ボード110が第2ボード120へ時刻フレームによって送信した時刻情報を受信する。受信タイミング測定回路124がラッチに用いる基準クロックは、たとえば、基準クロック生成回路122から出力された基準クロックでもよいし、クロックシフト回路123から出力される各クロックのうちのシフト量が0[ns]のクロックでもよい。   The time frame transmitted from the first board 110 to the second board 120 is input to the reception timing measurement circuit 124. The reception timing measurement circuit 124 receives the time information transmitted from the first board 110 to the second board 120 by the time frame by latching the input time frame with the reference clock of the second board 120. The reference clock used for latching by the reception timing measurement circuit 124 may be, for example, the reference clock output from the reference clock generation circuit 122, or the shift amount of each clock output from the clock shift circuit 123 is 0 [ns]. The clock may be.

また、受信タイミング測定回路124は、入力された時刻フレームと、クロックシフト回路123からの各クロックと、に基づいて、入力された時刻フレームと、基準クロック生成回路122からの基準クロックと、の間の位相差を判定する。そして、受信タイミング測定回路124は、受信した時刻フレームの時刻情報と、判定した位相差を示す位相差情報と、をカウンタ125へ出力する。   Further, the reception timing measurement circuit 124, based on the input time frame and each clock from the clock shift circuit 123, between the input time frame and the reference clock from the reference clock generation circuit 122. The phase difference is determined. Then, the reception timing measurement circuit 124 outputs time information of the received time frame and phase difference information indicating the determined phase difference to the counter 125.

カウンタ125は、基準クロック生成回路122から出力された基準クロックと、受信タイミング測定回路124から出力された時刻情報と、に基づいて時刻情報を生成する時計である。また、カウンタ125は、受信タイミング測定回路124から出力された位相差情報に基づいて、生成する時刻情報を補正することにより第2ボード120の時計を第1ボード110の時計に同期させる同期部としての機能を有する。これにより、第2ボード120へ入力された時刻フレームと、基準クロック生成回路122からの基準クロックと、の間の位相差があっても、第1ボード110の時刻情報と、第2ボード120の時刻情報と、を同期させることができる。カウンタ125によって生成される時刻情報は、第2ボード120において時刻情報を要する各機能部へ出力される。   The counter 125 is a clock that generates time information based on the reference clock output from the reference clock generation circuit 122 and the time information output from the reception timing measurement circuit 124. The counter 125 is a synchronization unit that synchronizes the clock of the second board 120 with the clock of the first board 110 by correcting the time information to be generated based on the phase difference information output from the reception timing measurement circuit 124. It has the function of. Thereby, even if there is a phase difference between the time frame input to the second board 120 and the reference clock from the reference clock generation circuit 122, the time information of the first board 110 and the second board 120 Time information can be synchronized. The time information generated by the counter 125 is output to each functional unit that requires time information in the second board 120.

(実施の形態にかかる同期システムにおける時刻同期処理)
図2は、実施の形態にかかる同期システムにおける時刻同期処理の一例を示すシーケンス図である。図1に示した同期システム100においては、時刻同期処理として、たとえば図2に示す各ステップが実行される。まず、第1ボード110が、第1ボード110の内部時刻における現在時刻を示す時刻情報を、第1ボード110の基準クロックによってラッチする(ステップS201)。ステップS201は、たとえば、補正回路113が、カウンタ112から出力される時刻情報を、基準クロック生成回路111から出力された基準クロックによってラッチすることにより行われる。
(Time synchronization processing in the synchronization system according to the embodiment)
FIG. 2 is a sequence diagram illustrating an example of time synchronization processing in the synchronization system according to the embodiment. In the synchronization system 100 shown in FIG. 1, for example, each step shown in FIG. 2 is executed as time synchronization processing. First, the first board 110 latches time information indicating the current time of the internal time of the first board 110 with the reference clock of the first board 110 (step S201). Step S201 is performed, for example, by the correction circuit 113 latching the time information output from the counter 112 with the reference clock output from the reference clock generation circuit 111.

つぎに、第1ボード110が、ステップS201によってラッチした時刻情報に、第1ボード110と第2ボード120との間の伝送遅延量と、所定の処理時間と、を加えた時刻情報を時刻フレームに格納する(ステップS202)。ステップS202は、たとえば補正回路113により行われる。   Next, the time information obtained by adding the transmission delay amount between the first board 110 and the second board 120 and the predetermined processing time to the time information latched by the first board 110 in step S201 is obtained as a time frame. (Step S202). Step S202 is performed by the correction circuit 113, for example.

ステップS202において時刻情報に加える伝送遅延量は、たとえば、初期状態においては“0”とし、ステップS206の後はステップS206によって計算した伝送遅延量とすることができる。ステップS202において時刻情報に加える処理時間は、たとえば、ステップS201によって時刻情報をラッチしてから、ステップS202によって時刻情報を時刻フレームに格納するまでにかかる時間である。また、ステップS202において時刻情報に加える処理時間には、後述のステップS203によって時刻フレームを送信するまでにかかる時間も含めてもよい。   The transmission delay amount added to the time information in step S202 can be, for example, “0” in the initial state, and the transmission delay amount calculated in step S206 after step S206. The processing time added to the time information in step S202 is, for example, the time taken from latching the time information in step S201 to storing the time information in the time frame in step S202. Further, the processing time added to the time information in step S202 may include the time taken until the time frame is transmitted in step S203 described later.

つぎに、第1ボード110が、ステップS202によって時刻情報を格納した時刻フレームを第2ボード120へ送信(送出)する(ステップS203)。ステップS203は、たとえば第1ボード110と第2ボード120との間の伝送路を介して行われる。   Next, the first board 110 transmits (sends) the time frame storing the time information in step S202 to the second board 120 (step S203). Step S203 is performed via a transmission path between the first board 110 and the second board 120, for example.

つぎに、第2ボード120が、ステップS203によって送信された時刻フレームを、第2ボード120の基準クロックによってラッチせずに返送する(ステップS204)。ステップS204は、たとえば返送部121によって、第1ボード110と第2ボード120との間の伝送路を介して行われる。   Next, the second board 120 returns the time frame transmitted in step S203 without being latched by the reference clock of the second board 120 (step S204). Step S <b> 204 is performed, for example, by the return unit 121 via the transmission path between the first board 110 and the second board 120.

つぎに、第1ボード110が、第1ボード110の基準クロックと、ステップS204によって第2ボード120から受信した時刻フレームと、の間の位相差を判定する(ステップS205)。ステップS205は、たとえばクロックシフト回路114および受信タイミング測定回路115によって行われる。   Next, the first board 110 determines the phase difference between the reference clock of the first board 110 and the time frame received from the second board 120 in step S204 (step S205). Step S205 is performed by, for example, the clock shift circuit 114 and the reception timing measurement circuit 115.

つぎに、第1ボード110が、第1ボード110および第2ボード120の間の伝送遅延量を計算し(ステップS206)、ステップS201へ戻る。これにより、第1ボード110および第2ボード120の間の伝送遅延量に基づいて補正した時刻情報が第1ボード110から第2ボード120へ送信される。ステップS206による伝送遅延量の計算は、ステップS204によって時刻フレームを受信した時刻と、ステップS204によって受信した時刻フレームの時刻情報と、ステップS205によって判定した位相差と、に基づいて行うことができる。ステップS206は、たとえば差分計算部117および除算部118により行われる。   Next, the first board 110 calculates the transmission delay amount between the first board 110 and the second board 120 (step S206), and returns to step S201. Thereby, the time information corrected based on the transmission delay amount between the first board 110 and the second board 120 is transmitted from the first board 110 to the second board 120. The calculation of the transmission delay amount in step S206 can be performed based on the time when the time frame is received in step S204, the time information of the time frame received in step S204, and the phase difference determined in step S205. Step S206 is performed by the difference calculation unit 117 and the division unit 118, for example.

また、第2ボード120が、第2ボード120の基準クロックと、ステップS203によって第1ボード110から受信した時刻フレームと、の間の位相差を判定する(ステップS207)。ステップS207は、たとえばクロックシフト回路123および受信タイミング測定回路124によって行われる。   Further, the second board 120 determines a phase difference between the reference clock of the second board 120 and the time frame received from the first board 110 in step S203 (step S207). Step S207 is performed by the clock shift circuit 123 and the reception timing measurement circuit 124, for example.

つぎに、第2ボード120は、ステップS203によって第1ボード110から受信した時刻フレームに格納された時刻情報と、ステップS207によって判定した位相差と、に基づいて現在の時刻を計算し(ステップS208)、一連の処理を終了する。また、第2ボード120は、ステップS203によって第1ボード110から時刻フレームを受信するごとに、ステップS207,S208によって、時刻フレームに格納された時刻情報に基づく現在の時刻を計算する。   Next, the second board 120 calculates the current time based on the time information stored in the time frame received from the first board 110 in step S203 and the phase difference determined in step S207 (step S208). ), A series of processing ends. Further, every time the second board 120 receives a time frame from the first board 110 in step S203, the second board 120 calculates the current time based on the time information stored in the time frame in steps S207 and S208.

ここで、第1ボード110から2回目以降に送信される時刻フレームに格納された時刻情報は、第1ボード110および第2ボード120の間の伝送遅延量に基づいて補正された時刻情報となる。したがって、第2ボード120は、第1ボード110および第2ボード120の間の伝送遅延量に基づいて補正された時刻情報に基づく現在の時刻を計算することにより、第1ボード110との間で精度よく同期を取ることができる。   Here, the time information stored in the time frame transmitted from the first board 110 on and after the second time becomes the time information corrected based on the transmission delay amount between the first board 110 and the second board 120. . Therefore, the second board 120 calculates the current time based on the time information corrected based on the transmission delay amount between the first board 110 and the second board 120, and thereby between the first board 110 and the second board 120. Synchronize with high accuracy.

(実施の形態にかかる時刻フレーム)
図3は、実施の形態にかかる時刻フレームの一例を示す図である。第1ボード110は、たとえば図3に示す時刻フレーム300を第2ボード120へ送信する。時刻フレーム300は、フレーム検出部310と、時刻情報320と、を含む。フレーム検出部310は、時刻フレーム300を検出するための、第1ボード110および第2ボード120において既知のパターン(プリアンブル)である。
(Time frame according to the embodiment)
FIG. 3 is a diagram illustrating an example of a time frame according to the embodiment. For example, the first board 110 transmits a time frame 300 shown in FIG. 3 to the second board 120. The time frame 300 includes a frame detection unit 310 and time information 320. The frame detection unit 310 is a known pattern (preamble) in the first board 110 and the second board 120 for detecting the time frame 300.

一例としては、フレーム検出部310は、“01010001”の1[Byte]のビット列とすることができる。この場合に、第2ボード120は、第1ボード110からの受信信号の中から“01010001”のビット列を検出することにより時刻フレーム300を検出し、時刻情報320を取得することができる。   As an example, the frame detection unit 310 may be a 1 [Byte] bit string of “01010001”. In this case, the second board 120 can detect the time frame 300 by detecting the bit string “01010001” from the received signal from the first board 110 and can acquire the time information 320.

時刻情報320は、第1ボード110の内部の時刻における現在時刻(一例としては年、月、日、時、分、秒、…)を示す情報である。一例としては、時刻情報320は、最下位ビットが500[psec]、最下位から2番目のビットが1[nsec]、…を表す10[byte]のビット列とすることができる。   The time information 320 is information indicating the current time (for example, year, month, day, hour, minute, second,...) At the time inside the first board 110. As an example, the time information 320 may be a 10 [byte] bit string in which the least significant bit is 500 [psec], the second least significant bit is 1 [nsec],.

第1ボード110は、たとえば図3に示す時刻フレーム300を周期的に送信する。ただし、第1ボード110による時刻フレームの送信方法はこれに限らない。たとえば、第1ボード110は、フレーム検出部310に続けて複数の時刻情報320を連続送信する動作を周期的に行ってもよい。   For example, the first board 110 periodically transmits a time frame 300 shown in FIG. However, the time frame transmission method by the first board 110 is not limited to this. For example, the first board 110 may periodically perform an operation of continuously transmitting a plurality of time information 320 following the frame detection unit 310.

(実施の形態にかかる同期システムにおける時刻フレームの送受信タイミング)
図4は、実施の形態にかかる同期システムにおける時刻フレームの送受信タイミングの一例を示す図である。図4において、横方向は時間を示す。時刻410は、第1ボード110の内部の時刻である。ただし、図4においては、時刻410は、8[ns]単位の桁の時刻(8[ns]、16[ns]、24[ns]、…)のみを示している。
(Time frame transmission / reception timing in the synchronization system according to the embodiment)
FIG. 4 is a diagram illustrating an example of transmission / reception timing of a time frame in the synchronization system according to the embodiment. In FIG. 4, the horizontal direction indicates time. Time 410 is the time inside the first board 110. However, in FIG. 4, the time 410 indicates only the time (8 [ns], 16 [ns], 24 [ns],...) In units of 8 [ns].

基準クロック420は、第1ボード110の内部の基準クロックである。たとえば、基準クロック420は、図1に示した基準クロック生成回路111によって生成される基準クロックである。   The reference clock 420 is a reference clock inside the first board 110. For example, the reference clock 420 is a reference clock generated by the reference clock generation circuit 111 shown in FIG.

時刻フレーム430は、第1ボード110が第2ボード120へ送信(送出)する時刻フレームである。図4に示す例では、時刻フレーム430は、時刻410の8[ns]において送信されている。このため、時刻フレーム430には、図3に示したフレーム検出部310に相当する“01010001”に続けて、時刻情報として8[ns]を示す情報が格納されている。ただし、図4に示す例では第1ボード110と第2ボード120との間の伝送遅延量等に基づく時刻情報の補正は行われていない。   The time frame 430 is a time frame that the first board 110 transmits (sends) to the second board 120. In the example illustrated in FIG. 4, the time frame 430 is transmitted at 8 [ns] at time 410. Therefore, in the time frame 430, information indicating 8 [ns] is stored as time information following “01010001” corresponding to the frame detection unit 310 illustrated in FIG. However, in the example illustrated in FIG. 4, the time information is not corrected based on the transmission delay amount between the first board 110 and the second board 120.

時刻フレーム440は、第2ボード120が第1ボード110から受信して第1ボード110へ返送する時刻フレームである。第2ボード120が受信する時刻フレーム440のタイミングは、第1ボード110が送信する時刻フレーム430のタイミングに対して、第1ボード110と第2ボード120との間の伝送遅延量だけ遅くなる。   The time frame 440 is a time frame that the second board 120 receives from the first board 110 and returns to the first board 110. The timing of the time frame 440 received by the second board 120 is delayed by the transmission delay amount between the first board 110 and the second board 120 with respect to the timing of the time frame 430 transmitted by the first board 110.

時刻フレーム450は、第1ボード110が第2ボード120から受信する時刻フレームである。往復伝送遅延量401は、第1ボード110が時刻フレーム430を送信してから第1ボード110が時刻フレーム450を受信するまでの時間、すなわち第1ボード110と第2ボード120との間の往復の伝送遅延量である。   The time frame 450 is a time frame that the first board 110 receives from the second board 120. The round trip transmission delay amount 401 is the time from when the first board 110 transmits the time frame 430 to when the first board 110 receives the time frame 450, that is, the round trip between the first board 110 and the second board 120. Transmission delay amount.

位相差402は、第1ボード110の基準クロック420と、第1ボード110が第2ボード120から受信する時刻フレーム450と、の間の位相差である。位相差402は、たとえば、時刻フレームの遅延量とクロック遅延とのずれにより発生する。また、たとえばCDRによりクロックを抽出する構成においても、データ位相とクロック位相は必ずしも一致せず、位相差402が発生する。これは、CDRにおいてはデータ変化に追従してクロックが再生されるが、クロックエッジはデータ変化点ではなく確実にデータを打ち抜ける位相で生成されるためである。このため、時刻フレームと、時刻フレームをラッチする基準クロックと、の間には位相差402が発生する。このような位相差は、第2ボード120が第1ボード110からの時刻フレームをラッチする場合にも同様に発生する。   The phase difference 402 is a phase difference between the reference clock 420 of the first board 110 and the time frame 450 received by the first board 110 from the second board 120. The phase difference 402 occurs due to, for example, a shift between the time frame delay amount and the clock delay. For example, even in a configuration in which a clock is extracted by CDR, the data phase and the clock phase do not necessarily match, and a phase difference 402 is generated. This is because, in the CDR, the clock is reproduced following the data change, but the clock edge is generated not at the data change point but at a phase that reliably penetrates the data. Therefore, a phase difference 402 occurs between the time frame and the reference clock that latches the time frame. Such a phase difference similarly occurs when the second board 120 latches the time frame from the first board 110.

第1ボード110は、時刻フレーム450を基準クロック420によりラッチして得られる時刻情報(8[ns])と、基準クロック420と時刻フレーム450との間の位相差402と、に基づいて、往復伝送遅延量401を精度よく計算することができる。   The first board 110 reciprocates based on time information (8 [ns]) obtained by latching the time frame 450 with the reference clock 420 and the phase difference 402 between the reference clock 420 and the time frame 450. The transmission delay amount 401 can be calculated with high accuracy.

(実施の形態にかかるクロックシフト回路および受信タイミング測定回路)
図5は、実施の形態にかかるクロックシフト回路および受信タイミング測定回路の一例を示す図である。たとえば図1に示したクロックシフト回路114および受信タイミング測定回路115は、たとえば図5に示すクロックシフト回路501および受信タイミング測定回路502により実現することができる。
(Clock shift circuit and reception timing measurement circuit according to the embodiment)
FIG. 5 is a diagram illustrating an example of the clock shift circuit and the reception timing measurement circuit according to the embodiment. For example, the clock shift circuit 114 and the reception timing measurement circuit 115 shown in FIG. 1 can be realized by the clock shift circuit 501 and the reception timing measurement circuit 502 shown in FIG.

クロックシフト回路501は、基準クロック生成回路111(たとえば図1参照)から入力された125[MHz]の基準クロックを0.5[ns]ずつ15回シフト(遅延)させる。これにより、それぞれ0[ns]シフト(シフトなし)、0.5[ns]シフト、1[ns]シフト、…7.5[ns]シフトさせた16本のクロックが生成される。クロックシフト回路501は、クロックシフトにより生成した16本のクロックを受信タイミング測定回路502へ出力する。   The clock shift circuit 501 shifts (delays) the 125 [MHz] reference clock input from the reference clock generation circuit 111 (see, for example, FIG. 1) 15 times by 0.5 [ns]. As a result, 16 clocks are generated, each shifted by 0 [ns] (no shift), 0.5 [ns], 1 [ns],... 7.5 [ns]. The clock shift circuit 501 outputs the 16 clocks generated by the clock shift to the reception timing measurement circuit 502.

受信タイミング測定回路502は、時刻情報受信回路510と、16個の8段シフトレジスタ(8段シフトレジスタ521〜536)と、16個のフレーム検出部(フレーム検出部541〜556)と、位相判定部560と、を備える。   The reception timing measurement circuit 502 includes a time information reception circuit 510, 16 8-stage shift registers (8-stage shift registers 521 to 536), 16 frame detection sections (frame detection sections 541 to 556), and a phase determination Part 560.

時刻情報受信回路510には、第2ボード120(たとえば図1参照)から返送された時刻フレームが入力される。また、時刻情報受信回路510には、クロックシフト回路501から出力された各クロックのうちの0[ns]シフトのクロック(すなわち基準クロック)が入力される。時刻情報受信回路510は、入力された時刻フレームを、入力された0[ns]シフトのクロックでラッチすることにより時刻情報を受信する。そして、時刻情報受信回路510は、受信した時刻情報を補正回路113(たとえば図1参照)へ出力する。   A time frame returned from the second board 120 (see, for example, FIG. 1) is input to the time information receiving circuit 510. The time information receiving circuit 510 receives a 0 [ns] -shifted clock (that is, a reference clock) among the clocks output from the clock shift circuit 501. The time information receiving circuit 510 receives time information by latching the input time frame with the input 0 [ns] shift clock. Then, the time information receiving circuit 510 outputs the received time information to the correction circuit 113 (see, for example, FIG. 1).

8段シフトレジスタ521〜536のそれぞれには、第2ボード120(たとえば図1参照)から返送された時刻フレームが入力される。また、8段シフトレジスタ521〜536にはそれぞれクロックシフト回路501から出力されたシフト量の異なる各クロックが入力される。たとえば、8段シフトレジスタ521には0[ns]シフトのクロックが入力される。8段シフトレジスタ522には0.5[ns]シフトのクロックが入力される。8段シフトレジスタ536には7.5[ns]シフトのクロックが入力される。   Each of the 8-stage shift registers 521 to 536 receives the time frame returned from the second board 120 (see, for example, FIG. 1). The 8-stage shift registers 521 to 536 receive clocks having different shift amounts output from the clock shift circuit 501. For example, a clock of 0 [ns] shift is input to the 8-stage shift register 521. The 8-stage shift register 522 receives a clock of 0.5 [ns] shift. The 8-stage shift register 536 receives a clock of 7.5 [ns] shift.

8段シフトレジスタ521は、8個のフリップフロップ(フリップフロップ571〜578)を備える。先頭のフリップフロップ571には時刻フレームが入力される。また、フリップフロップ571〜578は互いに直列に接続されている。たとえば、フリップフロップ571の出力はフリップフロップ572の入力に接続され、フリップフロップ572の出力はフリップフロップ573の入力に接続されている。   The 8-stage shift register 521 includes eight flip-flops (flip-flops 571 to 578). A time frame is input to the first flip-flop 571. The flip-flops 571 to 578 are connected in series with each other. For example, the output of the flip-flop 571 is connected to the input of the flip-flop 572, and the output of the flip-flop 572 is connected to the input of the flip-flop 573.

そして、フリップフロップ571〜578のそれぞれは、8段シフトレジスタ521へ入力された0[ns]シフトのクロックによって入力値をラッチする。これにより、フリップフロップ571〜578には、0[ns]シフトのクロックで時刻フレームをラッチした8ビットの値が保持される。8段シフトレジスタ521は、フリップフロップ571〜578によって保持された各値をフレーム検出部541へ出力する。   Each of the flip-flops 571 to 578 latches an input value by a clock of 0 [ns] shift input to the 8-stage shift register 521. Thereby, the flip-flops 571 to 578 hold an 8-bit value obtained by latching the time frame with a clock of 0 [ns] shift. The 8-stage shift register 521 outputs each value held by the flip-flops 571 to 578 to the frame detection unit 541.

8段シフトレジスタ521について説明したが、8段シフトレジスタ522〜536も同様に、それぞれ異なるシフト量のクロックで時刻フレームをラッチした8ビットの値を保持し、保持した各値をそれぞれフレーム検出部542〜556へ出力する。たとえば、フリップフロップ572は、時刻フレームを0.5[ns]シフトのクロックでラッチした8ビットの値を保持し、保持した各値をフレーム検出部542へ出力する。   Although the 8-stage shift register 521 has been described, the 8-stage shift registers 522 to 536 similarly hold 8-bit values obtained by latching the time frame with clocks having different shift amounts, and each of the held values is a frame detection unit. Output to 542 to 556. For example, the flip-flop 572 holds an 8-bit value obtained by latching the time frame with a clock of 0.5 [ns] shift, and outputs each held value to the frame detection unit 542.

フレーム検出部541は、8段シフトレジスタ521から出力された各値に基づいて時刻フレームを検出する。同様に、フレーム検出部542〜556は、それぞれ8段シフトレジスタ522〜536から出力された各値に基づいて時刻フレームを検出する。フレーム検出部541〜556による時刻フレームの検出については後述する(たとえば図6,図7参照)。フレーム検出部541〜556は、時刻フレームの検出結果を位相判定部560へ出力する。   The frame detection unit 541 detects a time frame based on each value output from the 8-stage shift register 521. Similarly, the frame detection units 542 to 556 detect time frames based on the values output from the 8-stage shift registers 522 to 536, respectively. The detection of the time frame by the frame detection units 541 to 556 will be described later (see, for example, FIGS. 6 and 7). Frame detection units 541 to 556 output the detection result of the time frame to phase determination unit 560.

位相判定部560は、フレーム検出部541〜556から出力された各検出結果に基づいて、基準クロックと時刻フレームとの間の位相差を判定する。位相判定部560による位相差の判定については後述する(たとえば図7参照)。位相判定部560は、判定した位相差を示す位相差情報を補正回路113(たとえば図1参照)へ出力する。   The phase determination unit 560 determines the phase difference between the reference clock and the time frame based on the detection results output from the frame detection units 541 to 556. The determination of the phase difference by the phase determination unit 560 will be described later (see, for example, FIG. 7). Phase determination unit 560 outputs phase difference information indicating the determined phase difference to correction circuit 113 (see, for example, FIG. 1).

図1に示した第1ボード110のクロックシフト回路114および受信タイミング測定回路115をそれぞれクロックシフト回路501および受信タイミング測定回路502により実現する場合について説明した。同様に、図1に示した第2ボード120のクロックシフト回路123および受信タイミング測定回路124をそれぞれクロックシフト回路501および受信タイミング測定回路502により実現することができる。   The case where the clock shift circuit 114 and the reception timing measurement circuit 115 of the first board 110 shown in FIG. 1 are realized by the clock shift circuit 501 and the reception timing measurement circuit 502 has been described. Similarly, the clock shift circuit 123 and the reception timing measurement circuit 124 of the second board 120 shown in FIG. 1 can be realized by the clock shift circuit 501 and the reception timing measurement circuit 502, respectively.

この場合に、クロックシフト回路501は、基準クロック生成回路122(たとえば図1参照)から入力された125[MHz]の基準クロックを0.5[ns]ずつ15回シフト(遅延)させる。時刻情報受信回路510および8段シフトレジスタ521〜536には、第1ボード110(たとえば図1参照)から送信された時刻フレームが入力される。また、時刻情報受信回路510は、受信した時刻情報をカウンタ125(たとえば図1参照)へ出力する。位相判定部560は、判定した位相差を示す位相差情報をカウンタ125(たとえば図1参照)へ出力する。   In this case, the clock shift circuit 501 shifts (delays) the 125 [MHz] reference clock input from the reference clock generation circuit 122 (see, for example, FIG. 1) 15 times by 0.5 [ns]. The time frame transmitted from the first board 110 (see, for example, FIG. 1) is input to the time information receiving circuit 510 and the 8-stage shift registers 521 to 536. Further, the time information receiving circuit 510 outputs the received time information to the counter 125 (for example, see FIG. 1). Phase determination unit 560 outputs phase difference information indicating the determined phase difference to counter 125 (see, for example, FIG. 1).

(実施の形態にかかる8段シフトレジスタにおけるシフトレジスタ値)
図6は、実施の形態にかかる8段シフトレジスタにおけるシフトレジスタ値の一例を示す図である。図6において、図3に示した部分と同様の部分については同一の符号を付して説明を省略する。また、図6において、横方向は時間を示す。
(Shift register value in the 8-stage shift register according to the embodiment)
FIG. 6 is a diagram illustrating an example of shift register values in the 8-stage shift register according to the embodiment. In FIG. 6, the same parts as those shown in FIG. In FIG. 6, the horizontal direction indicates time.

シフトレジスタ値601は、フレーム検出部310における末尾の“01”の付近において、0[ns]シフトのクロックに対応する8段シフトレジスタ521によって保持される各値を示す。同様に、シフトレジスタ値602〜616は、フレーム検出部310における末尾の“01”の付近において、それぞれ8段シフトレジスタ522〜536によって保持される各値を示している。   The shift register value 601 indicates each value held by the 8-stage shift register 521 corresponding to a clock of 0 [ns] shift in the vicinity of “01” at the end in the frame detection unit 310. Similarly, the shift register values 602 to 616 indicate the values held by the 8-stage shift registers 522 to 536 in the vicinity of “01” at the end in the frame detection unit 310, respectively.

すなわち、時刻フレームのフレーム検出部310の最終ビット付近において、シフトレジスタ値601〜616はたとえば図6のようになる。位相判定タイミング620は、位相判定部560が位相を判定するタイミングであって、フレーム検出部310における末尾の2ビット(“01”)の立ち上がりのタイミングである。   In other words, the shift register values 601 to 616 are as shown in FIG. The phase determination timing 620 is a timing at which the phase determination unit 560 determines a phase, and is a rising timing of the last two bits (“01”) in the frame detection unit 310.

(実施の形態にかかるシフトレジスタ値に基づく位相判定)
図7は、実施の形態にかかるシフトレジスタ値に基づく位相判定の一例を示す図である。図7に示すテーブル700は、図6に示した位相判定タイミング620におけるシフトレジスタ値601〜616と、シフトレジスタ値601〜616に基づくフレーム検出部541〜556によるフレーム検出結果(OK/NG)と、を示す。
(Phase determination based on shift register value according to embodiment)
FIG. 7 is a diagram illustrating an example of the phase determination based on the shift register value according to the embodiment. The table 700 illustrated in FIG. 7 includes shift register values 601 to 616 at the phase determination timing 620 illustrated in FIG. 6 and frame detection results (OK / NG) by the frame detection units 541 to 556 based on the shift register values 601 to 616. , Indicate.

フレーム検出部541〜556は、それぞれシフトレジスタ値601〜616がフレーム検出部310(“01010001”)と一致する場合に検出結果として“OK”を出力し、一致しない場合に検出結果として“NG”を出力する。図7に示す例では、フレーム検出部541〜548が検出結果として“NG”を出力し、フレーム検出部549〜556が検出結果として“OK”を出力している。   The frame detection units 541 to 556 output “OK” as the detection result when the shift register values 601 to 616 match the frame detection unit 310 (“01010001”), respectively, and “NG” as the detection result when they do not match. Is output. In the example illustrated in FIG. 7, the frame detection units 541 to 548 output “NG” as the detection result, and the frame detection units 549 to 556 output “OK” as the detection result.

位相判定部560は、たとえば対応するシフト量の小さい順にフレーム検出部541〜556の検出結果をチェックしていき、フレーム検出部541〜556のうちの最初に“OK”を出力しているフレーム検出部を特定する。図7に示す例では、位相判定部560は、4[ns]シフトに対応するフレーム検出部(フレーム検出部549)を特定する。   For example, the phase determination unit 560 checks the detection results of the frame detection units 541 to 556 in ascending order of the corresponding shift amount, and detects the frame that outputs “OK” at the beginning of the frame detection units 541 to 556. Specify the part. In the example illustrated in FIG. 7, the phase determination unit 560 identifies a frame detection unit (frame detection unit 549) corresponding to a 4 [ns] shift.

そして、位相判定部560は、特定したフレーム検出部に対応するシフト量を、基準クロックと時刻フレームとの間の位相差として判定する。図7に示す例では、位相判定部560は、特定したフレーム検出部に対応するシフト量である4[ns]を、基準クロックと時刻フレームとの間の位相差として判定し、4[ns]を示す位相差情報を補正回路113へ出力する。   Then, the phase determination unit 560 determines the shift amount corresponding to the identified frame detection unit as a phase difference between the reference clock and the time frame. In the example illustrated in FIG. 7, the phase determination unit 560 determines 4 [ns], which is a shift amount corresponding to the identified frame detection unit, as a phase difference between the reference clock and the time frame, and 4 [ns]. Is output to the correction circuit 113.

このように、受信タイミング測定回路502は、クロックシフト回路501で自装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、自装置がラッチした時刻フレームと自装置の基準クロックとの間の位相差を判定することができる。たとえば、受信タイミング測定回路502は、クロックシフト回路501から複数のクロックによる時刻フレームの各ラッチ結果と、時刻フレームに含まれる所定パターン(フレーム検出部310)と、の比較に基づいて位相差を判定することができる。   As described above, the reception timing measurement circuit 502 determines whether the time frame latched by the own device and the reference clock of the own device are based on a plurality of clocks generated by the clock shift circuit 501 delaying the reference clock of the own device. The phase difference between them can be determined. For example, the reception timing measurement circuit 502 determines a phase difference based on a comparison between each latch result of a time frame based on a plurality of clocks from the clock shift circuit 501 and a predetermined pattern (frame detection unit 310) included in the time frame. can do.

(伝送遅延量の計算)
つぎに、第1ボード110による伝送遅延量の計算について説明する。たとえば、図4に示したように、第2ボード120が返送して第1ボード110が受信した時刻フレームの時刻情報が8[ns]であり、第1ボード110がその時刻フレームを受信した時刻が16[ns]であったとする。また、図7に示したように、第1ボード110が判定した基準クロックと時刻フレームとの間の位相差が4[ns]であったとする。この場合は、第1ボード110は、第1ボード110と第2ボード120との間の伝送遅延量を、(16−8+4)÷2=6[ns]のように計算する。
(Calculation of transmission delay)
Next, calculation of the transmission delay amount by the first board 110 will be described. For example, as shown in FIG. 4, the time information of the time frame returned by the second board 120 and received by the first board 110 is 8 [ns], and the time at which the first board 110 received the time frame. Is 16 [ns]. Further, as shown in FIG. 7, it is assumed that the phase difference between the reference clock determined by the first board 110 and the time frame is 4 [ns]. In this case, the first board 110 calculates the transmission delay amount between the first board 110 and the second board 120 as (16−8 + 4) ÷ 2 = 6 [ns].

このように、第1ボード110は、第2ボード120から返送された時刻フレームから時刻情報が受信された時刻(16[ns])と、その時刻情報が示す時刻(8[ns])と、の差分に位相差の判定結果(4[ns])を加えた値の半分の値を算出する。これにより、第1ボード110と第2ボード120との間の伝送遅延量を精度よく計算することができる。   Thus, the first board 110 receives the time (16 [ns]) when the time information is received from the time frame returned from the second board 120, the time (8 [ns]) indicated by the time information, A value half the value obtained by adding the phase difference determination result (4 [ns]) to the difference is calculated. Thereby, the transmission delay amount between the first board 110 and the second board 120 can be calculated with high accuracy.

(実施の形態にかかる第1ボードによる時刻情報の補正)
図8は、実施の形態にかかる第1ボードによる時刻情報の補正の一例を示す図である。図8において、図4に示した部分と同様の部分については同一の符号を付して説明を省略する。図8に示す基準クロック810は、第2ボード120の基準クロックである。上述したように、第2ボード120の基準クロック810は、第1ボード110の基準クロック420と周波数同期しているものとする。
(Correction of time information by the first board according to the embodiment)
FIG. 8 is a diagram illustrating an example of correction of time information by the first board according to the embodiment. In FIG. 8, the same parts as those shown in FIG. A reference clock 810 shown in FIG. 8 is a reference clock for the second board 120. As described above, it is assumed that the reference clock 810 of the second board 120 is frequency-synchronized with the reference clock 420 of the first board 110.

第1ボード110は、第2ボード120から返送された時刻フレームに基づいて第1ボード110と第2ボード120との間の伝送遅延量を計算すると、第2ボード120へ送信する時刻情報が示す時刻を伝送遅延量により補正する。   When the first board 110 calculates the transmission delay amount between the first board 110 and the second board 120 based on the time frame returned from the second board 120, the time information transmitted to the second board 120 indicates The time is corrected by the transmission delay amount.

図8に示す例では、第1ボード110は、第1ボード110と第2ボード120との間の伝送遅延量として6[ns]を計算したとする。この場合は、第1ボード110は、第2ボード120へ送信する時刻フレーム430の時刻情報が示す時刻を、元の8[ns]から8+6=14[ns]に補正する。   In the example illustrated in FIG. 8, the first board 110 calculates 6 [ns] as a transmission delay amount between the first board 110 and the second board 120. In this case, the first board 110 corrects the time indicated by the time information in the time frame 430 transmitted to the second board 120 from the original 8 [ns] to 8 + 6 = 14 [ns].

これにより、第2ボード120は、第1ボード110と第2ボード120との間の伝送遅延量によって補正された時刻情報を含む時刻フレーム440を受信することができる。ただし、第2ボード120が時刻フレーム440を基準クロック810によりラッチして得た時刻情報が示す時刻と、第1ボード110における現在時刻と、の間には、時刻フレーム440と基準クロック810との間の位相差801に相当するずれが存在する。   Accordingly, the second board 120 can receive the time frame 440 including the time information corrected by the transmission delay amount between the first board 110 and the second board 120. However, between the time indicated by the time information obtained by the second board 120 latching the time frame 440 with the reference clock 810 and the current time in the first board 110, the time frame 440 and the reference clock 810 There is a shift corresponding to the phase difference 801 between them.

これに対して、第2ボード120は、第2ボード120の基準クロックを遅延させて生成した各クロックによって時刻フレーム440と基準クロック810との間の位相差801を判定し、時刻フレーム440から取得した時刻情報から位相差801を減算する。図8に示す例では、第2ボード120は、位相差801が2[ns]であると判定したとする。また、図8に示す例では、第2ボード120が時刻フレーム440から取得した時刻情報は14[ns]である。したがって、第2ボード120は、14−2=12[ns]を第1ボード110における現在時刻として計算する。   On the other hand, the second board 120 determines the phase difference 801 between the time frame 440 and the reference clock 810 based on each clock generated by delaying the reference clock of the second board 120, and obtains it from the time frame 440. The phase difference 801 is subtracted from the time information. In the example illustrated in FIG. 8, it is assumed that the second board 120 determines that the phase difference 801 is 2 [ns]. In the example illustrated in FIG. 8, the time information acquired from the time frame 440 by the second board 120 is 14 [ns]. Therefore, the second board 120 calculates 14-2 = 12 [ns] as the current time in the first board 110.

なお、第1ボード110は、第2ボード120へ送信する時刻フレーム430の時刻情報を直接補正するのではなく、補正前の時刻情報(たとえば8[ns])と、その時刻情報に対する補正値(たとえば6[ns])と、を時刻フレームによって送信してもよい。この場合も、第2ボード120は、時刻情報と補正値に基づく演算により補正後の時刻情報を得ることができる。   The first board 110 does not directly correct the time information of the time frame 430 transmitted to the second board 120, but the time information before correction (for example, 8 [ns]) and a correction value ( For example, 6 [ns]) may be transmitted by a time frame. Also in this case, the second board 120 can obtain the corrected time information by the calculation based on the time information and the correction value.

(実施の形態にかかる各ボードの間の同期)
図9は、実施の形態にかかる各ボードの間の同期の一例を示す図である。図9において、図8に示した部分と同様の部分については同一の符号を付して説明を省略する。第2ボード120は、計算した第1ボード110の現在時刻に基づいて、第2ボード120の基準クロック810に基づく時刻情報を生成する。図9に示す時刻910は、第2ボード120のカウンタ125が、第1ボード110の現在時刻に基づいて生成した時刻情報が示す時刻である。
(Synchronization between boards according to the embodiment)
FIG. 9 is a diagram illustrating an example of synchronization between the boards according to the embodiment. In FIG. 9, the same parts as those shown in FIG. The second board 120 generates time information based on the reference clock 810 of the second board 120 based on the calculated current time of the first board 110. A time 910 illustrated in FIG. 9 is a time indicated by the time information generated by the counter 125 of the second board 120 based on the current time of the first board 110.

図9に示すように、本実施の形態によれば、第1ボード110の基準クロック420と第2ボード120の基準クロック810との間のタイミングが同期していなくても、第1ボード110の時刻410と第2ボード120の時刻910を同期させることができる。   As shown in FIG. 9, according to the present embodiment, even if the timing between the reference clock 420 of the first board 110 and the reference clock 810 of the second board 120 is not synchronized, the first board 110 The time 410 and the time 910 of the second board 120 can be synchronized.

(実施の形態にかかる同期システムを適用した装置)
図10は、実施の形態にかかる同期システムを適用した装置の一例を示す図である。図1に示した同期システム100は、たとえば図10に示す装置システム1000に適用することができる。装置システム1000は、たとえば装置1010,1020を備える。装置1010,1020のそれぞれは、複数のカード型デバイスを接続可能なシェルフ構成である。装置1010は、マスタ処理カード1011と、スレーブ処理カード1012と、を備える。装置1020は、マスタ処理カード1021と、スレーブ処理カード1022と、を備える。
(Apparatus applying the synchronization system according to the embodiment)
FIG. 10 is a diagram illustrating an example of an apparatus to which the synchronization system according to the embodiment is applied. The synchronization system 100 shown in FIG. 1 can be applied to the apparatus system 1000 shown in FIG. 10, for example. The device system 1000 includes devices 1010 and 1020, for example. Each of the devices 1010 and 1020 has a shelf configuration capable of connecting a plurality of card-type devices. The apparatus 1010 includes a master processing card 1011 and a slave processing card 1012. The apparatus 1020 includes a master processing card 1021 and a slave processing card 1022.

ここでは、装置1010におけるカード間の同期に同期システム100を適用する場合について説明する。装置1010のスレーブ処理カード1012は、補正処理部1012aと、内部時計1012bと、PTP処理部1012cと、PKT処理部1012dと、を備える。   Here, a case where the synchronization system 100 is applied to synchronization between cards in the apparatus 1010 will be described. The slave processing card 1012 of the apparatus 1010 includes a correction processing unit 1012a, an internal clock 1012b, a PTP processing unit 1012c, and a PKT processing unit 1012d.

PKT処理部1012dは、スレーブ処理カード1012と接続された他装置との間でPTP(Precision Time Protocol:高精度時間プロトコル)パケットを送受信する。PTP処理部1012cは、PKT処理部1012dを介して、スレーブ処理カード1012と接続された他装置との間でPTPパケットを送受信することによりIEEE1588に基づくPTP処理を行い、内部時計1012bを他装置の内部時計と同期させる。内部時計1012bは、スレーブ処理カード1012において時刻を計時する時計である。   The PKT processing unit 1012d transmits and receives PTP (Precision Time Protocol) packets to and from other devices connected to the slave processing card 1012. The PTP processing unit 1012c performs PTP processing based on IEEE 1588 by transmitting and receiving PTP packets to and from other devices connected to the slave processing card 1012 via the PKT processing unit 1012d, and the internal clock 1012b Synchronize with the internal clock. The internal clock 1012b is a clock that measures time in the slave processing card 1012.

補正処理部1012aは、内部時計1012bに基づく時刻情報を格納した時刻フレームをマスタ処理カード1011へ送信することにより、マスタ処理カード1011の内部時計1011cを内部時計1012bと同期させる。これにより、スレーブ処理カード1012とマスタ処理カード1011との間の時刻同期を行うことができる。   The correction processing unit 1012a synchronizes the internal clock 1011c of the master processing card 1011 with the internal clock 1012b by transmitting a time frame storing time information based on the internal clock 1012b to the master processing card 1011. Thereby, the time synchronization between the slave processing card 1012 and the master processing card 1011 can be performed.

マスタ処理カード1011は、PKT処理部1011aと、PTP処理部1011bと、内部時計1011cと、補正処理部1011dと、を備える。補正処理部1011dは、スレーブ処理カード1012の補正処理部1012aから送信される時刻フレームに基づいて、内部時計1011cをスレーブ処理カード1012の内部時計1012bと同期させる。内部時計1011cは、マスタ処理カード1011において時刻を計時する時計である。   The master processing card 1011 includes a PKT processing unit 1011a, a PTP processing unit 1011b, an internal clock 1011c, and a correction processing unit 1011d. The correction processing unit 1011d synchronizes the internal clock 1011c with the internal clock 1012b of the slave processing card 1012 based on the time frame transmitted from the correction processing unit 1012a of the slave processing card 1012. The internal clock 1011c is a clock that measures time in the master processing card 1011.

PTP処理部1011bは、PKT処理部1011aを介して装置1010と接続された装置1020との間でPTPパケットを送受信することにより、IEEE1588に基づくPTP処理を行い、装置1020の内部時計を内部時計1011cと同期させる。PKT処理部1011aは、マスタ処理カード1011と接続された装置1020との間でPTPパケットを送受信する。   The PTP processing unit 1011b performs PTP processing based on IEEE 1588 by transmitting and receiving PTP packets to and from the device 1020 connected to the device 1010 via the PKT processing unit 1011a, and the internal clock of the device 1020 is set to the internal clock 1011c. Synchronize with. The PKT processing unit 1011a transmits and receives PTP packets to and from the device 1020 connected to the master processing card 1011.

装置システム1000に同期システム100を適用する場合に、たとえば、第1ボード110をスレーブ処理カード1012の内部時計1012bおよび補正処理部1012aに適用することができる。また、第2ボード120をマスタ処理カード1011の内部時計1011cおよび補正処理部1011dに適用することができる。これにより、内部時計1012bおよび補正処理部1012aをマスタとし、内部時計1011cおよび補正処理部1011dをスレーブとしてカード間の時刻同期を精度よく行うことができる。   When the synchronization system 100 is applied to the device system 1000, for example, the first board 110 can be applied to the internal clock 1012b and the correction processing unit 1012a of the slave processing card 1012. Further, the second board 120 can be applied to the internal clock 1011c and the correction processing unit 1011d of the master processing card 1011. Thus, time synchronization between the cards can be accurately performed with the internal clock 1012b and the correction processing unit 1012a as a master and the internal clock 1011c and the correction processing unit 1011d as a slave.

マスタ処理カード1011およびスレーブ処理カード1012の各部は、たとえばデジタル回路によって実現することができる。たとえば、マスタ処理カード1011のPKT処理部1011a、内部時計1011cおよび補正処理部1011dは、FPGA(Field Programmable Gate Array)などにより実現することができる。また、マスタ処理カード1011のPTP処理部1011bは、DSP(Digital Signal Processor)などにより実現することができる。   Each unit of the master processing card 1011 and the slave processing card 1012 can be realized by a digital circuit, for example. For example, the PKT processing unit 1011a, the internal clock 1011c, and the correction processing unit 1011d of the master processing card 1011 can be realized by an FPGA (Field Programmable Gate Array) or the like. The PTP processing unit 1011b of the master processing card 1011 can be realized by a DSP (Digital Signal Processor) or the like.

同様に、スレーブ処理カード1012のPKT処理部1012d、内部時計1012bおよび補正処理部1012aは、FPGAなどにより実現することができる。また、スレーブ処理カード1012のPTP処理部1012cは、DSPなどにより実現することができる。   Similarly, the PKT processing unit 1012d, the internal clock 1012b, and the correction processing unit 1012a of the slave processing card 1012 can be realized by an FPGA or the like. Further, the PTP processing unit 1012c of the slave processing card 1012 can be realized by a DSP or the like.

このように、実施の形態にかかる同期システム100によれば、装置間(第1ボード110と第2ボード120との間)で時刻フレームを往復させて求めた装置間の伝送遅延量により時刻フレームの情報を補正することで、装置間の同期を取ることができる。   As described above, according to the synchronization system 100 according to the embodiment, the time frame is determined based on the transmission delay amount between the devices obtained by reciprocating the time frame between the devices (between the first board 110 and the second board 120). By correcting this information, synchronization between devices can be achieved.

また、基準クロックを遅延させることにより生成した複数のクロックを用いて、受信した時刻フレームと、受信した時刻フレームをラッチする基準クロックと、の間の位相差を判定し、判定結果を用いて装置間の伝送遅延量を精度よく計算することができる。これにより、受信した時刻フレームと基準クロックとの間の位相差があっても、基準クロックの周波数より高い精度で装置間の伝送遅延量を計算し、精度よく装置間の同期を取ることができる。このため、基準クロックの周波数(クロック周波数)を高くしなくても精度よく装置間の同期を取ることができる。   In addition, a plurality of clocks generated by delaying the reference clock are used to determine a phase difference between the received time frame and a reference clock that latches the received time frame, and the determination result is used as an apparatus. The amount of transmission delay can be calculated with high accuracy. As a result, even if there is a phase difference between the received time frame and the reference clock, the transmission delay amount between the devices can be calculated with higher accuracy than the frequency of the reference clock, and synchronization between the devices can be accurately performed. . For this reason, it is possible to synchronize the devices accurately without increasing the frequency of the reference clock (clock frequency).

以上説明したように、伝送装置および同期方法によれば、クロック周波数を高くしなくても精度よく装置間の同期を取ることができる。   As described above, according to the transmission device and the synchronization method, synchronization between devices can be accurately performed without increasing the clock frequency.

たとえば、従来、時刻同期は、通信機器を始めとする様々な分野において、クリティカルなタイミングで装置を制御するために用いられる。ネットワークの分野においても、パケットベースによる時刻同期を実現するための方式がIEEE1588で規格化されている。このような時刻同期の方式として、たとえば時刻パケットの送受信で装置間の時刻を同期させる(一致させる)方式が考えられる。   For example, conventionally, time synchronization is used to control a device at a critical timing in various fields including communication equipment. Also in the field of networks, IEEE 1588 standardizes a method for realizing packet-based time synchronization. As such a time synchronization method, for example, a method of synchronizing (matching) the time between devices by transmitting and receiving time packets can be considered.

ここで、正確に時刻を一致させるには、装置間は当然ながら、同一装置内における複数ボード間についても伝送遅延を考慮することを要し、時刻を精度よく合わせるには、各ボードに搭載しているデバイスの伝搬遅延も計算して時刻補正を行うことが求められる。   Here, to match the time accurately, naturally it is necessary to consider transmission delays between multiple boards in the same device, and it is mounted on each board to set the time accurately. It is also required to correct the time by calculating the propagation delay of the device.

特に、半導体デバイスのようなミクロの時間の世界では、マイクロ秒やナノ秒の単位の時間管理が求められることがある。このような精度の高い時間管理を行うには精度の高い時刻同期を要し、伝送遅延やデバイス内の伝搬遅延などを正確に管理することが求められる。たとえば、時刻が厳密に合っていないと、同一装置内の複数のボード(たとえば図10に示したマスタ処理カード1011およびスレーブ処理カード1012)に障害が起こった際に、各ボードでの基準となる時刻が違っていることになる。このため、障害ログから障害の発生順序を正確に捉えることができないなどの問題が生じる。これが大きなシステムになると、何十台、何百台と装置が繋がるため、障害の解析がより困難になる。   In particular, in a micro time world such as a semiconductor device, time management in units of microseconds or nanoseconds may be required. In order to perform such time management with high accuracy, time synchronization with high accuracy is required, and it is required to accurately manage transmission delay, propagation delay in the device, and the like. For example, if the time is not exactly the same, when a failure occurs in a plurality of boards (for example, the master processing card 1011 and the slave processing card 1012 shown in FIG. 10) in the same apparatus, it becomes a reference for each board. The time will be different. For this reason, there arises a problem that the failure occurrence order cannot be accurately grasped from the failure log. If this is a large system, it will be more difficult to analyze the failure because tens or hundreds of devices are connected.

一般に、時刻の精度を上げる(補正誤差を小さくする)には、伝送速度を上げて伝搬遅延を小さくしたり、処理速度を上げたりすることが考えられる。しかしながら、伝送速度や処理速度を上げると、たとえば、装置の設計が複雑になり、消費電力アップ、信号減衰、ノイズ対策、高周波対策などの点で実現難易度が増すという問題がある。また、高速伝送、高速処理に対応した高価なデバイスを要するという問題がある。さらに、たとえば精密にナノ秒単位まで時刻を合わせるには1[GHz]で動作する装置を要する、現状の技術では1[GHz]で動作する装置を実現することは困難である。   In general, in order to increase the accuracy of time (to reduce the correction error), it is conceivable to increase the transmission speed to reduce the propagation delay or increase the processing speed. However, when the transmission speed and processing speed are increased, for example, the design of the apparatus becomes complicated, and there is a problem that the difficulty of realization increases in terms of increased power consumption, signal attenuation, noise countermeasures, and high-frequency countermeasures. There is also a problem that an expensive device corresponding to high-speed transmission and high-speed processing is required. Furthermore, for example, a device operating at 1 [GHz] is required to precisely adjust the time to the nanosecond unit, and it is difficult to realize a device operating at 1 [GHz] with the current technology.

また、従来技術では、各装置のクロック位相のずれについては考慮されていないため、最大でクロックサイクル分の補正誤差が生じる。すなわち、従来技術ではクロック周波数精度でしか時刻は同期せず、高精度な時刻同期を実現するためには高周波数のクロックを使うことを要する。しかしながら、高周波数のクロックを使用すると、上述のように装置の実現難易度が高くなり、実現できる時刻同期の精度にも限りがある。   Further, in the prior art, since a shift in the clock phase of each device is not taken into consideration, a correction error corresponding to a maximum of clock cycles occurs. That is, in the prior art, time is synchronized only with clock frequency accuracy, and it is necessary to use a high-frequency clock in order to realize highly accurate time synchronization. However, if a high-frequency clock is used, the degree of difficulty in realizing the device increases as described above, and the time synchronization accuracy that can be realized is limited.

これに対して、上述した実施の形態によれば、装置間で時刻フレームを往復させて求めた伝送遅延量により時刻フレームの情報を補正することによって時刻同期を行うことができる。また、受信した時刻フレームをラッチする基準クロックを遅延させて生成した複数のクロックを用いて、基準クロックと受信した時刻フレームとの間の位相差を判定し、伝送遅延量をクロック周波数より高い精度で求めることができる。これにより、クロック周波数を高くしなくても、精度よく装置間の同期を取ることができる。   In contrast, according to the above-described embodiment, time synchronization can be performed by correcting the information of the time frame based on the transmission delay amount obtained by reciprocating the time frame between the devices. Also, using multiple clocks generated by delaying the reference clock that latches the received time frame, the phase difference between the reference clock and the received time frame is determined, and the transmission delay amount is higher than the clock frequency. Can be obtained. As a result, the devices can be accurately synchronized without increasing the clock frequency.

上述した各実施の形態に関し、さらに以下の付記を開示する。   The following additional notes are disclosed with respect to the above-described embodiments.

(付記1)自装置の時計に基づく時刻情報を含むフレームを他の伝送装置へ送信することにより前記他の伝送装置の時計を前記自装置の時計と同期させる伝送装置において、
自装置が送信した前記フレームであって、前記他の伝送装置が前記他の伝送装置の基準クロックでラッチする前に自装置へ返送した前記フレームを自装置の基準クロックでラッチすることにより前記時刻情報を受信する受信部と、
前記自装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記受信部がラッチした前記フレームと前記自装置の基準クロックとの間の位相差を判定する判定部と、
前記受信部によって前記時刻情報が受信された時刻と、前記受信部によって受信された前記時刻情報と、前記判定部によって判定された前記位相差と、に基づいて自装置と前記他の伝送装置との間における前記フレームの伝送遅延量を計算する計算部と、
自装置が前記他の伝送装置へ送信する前記フレームに含まれる前記時刻情報が示す時刻を、前記計算部によって計算された前記伝送遅延量に基づいて補正する補正部と、
を備えることを特徴とする伝送装置。
(Supplementary Note 1) In a transmission apparatus that synchronizes a clock of the other transmission apparatus with a clock of the own apparatus by transmitting a frame including time information based on the clock of the own apparatus to another transmission apparatus.
The frame transmitted by the own device, which is returned by the other transmission device before being latched by the reference clock of the other transmission device before the frame is latched by the reference clock of the own device. A receiving unit for receiving information;
A determination unit for determining a phase difference between the frame latched by the reception unit and the reference clock of the own device based on a plurality of clocks generated by delaying the reference clock of the own device;
Based on the time when the time information was received by the receiving unit, the time information received by the receiving unit, and the phase difference determined by the determining unit, the own device and the other transmission device A calculation unit for calculating a transmission delay amount of the frame during
A correction unit that corrects the time indicated by the time information included in the frame transmitted from the own device to the other transmission device based on the transmission delay amount calculated by the calculation unit;
A transmission apparatus comprising:

(付記2)前記判定部は、前記複数のクロックによる前記フレームの各ラッチ結果と、前記フレームに含まれる所定パターンと、の比較によって前記位相差を判定することを特徴とする付記1に記載の伝送装置。 (Additional remark 2) The said determination part determines the said phase difference by comparing each latch result of the said flame | frame by these several clocks, and the predetermined pattern contained in the said flame | frame. Transmission equipment.

(付記3)前記計算部は、前記受信部によって前記時刻情報が受信された時刻と、前記受信部によって受信された前記時刻情報が示す時刻と、の差分に前記判定部によって判定された前記位相差を加えた値の半分の値を算出することによって前記伝送遅延量を計算することを特徴とする付記1または2に記載の伝送装置。 (Additional remark 3) The said calculation part is the said position determined by the said determination part to the difference of the time which the said time information was received by the said reception part, and the time which the said time information received by the said reception part shows. The transmission apparatus according to appendix 1 or 2, wherein the transmission delay amount is calculated by calculating a half value of a value obtained by adding a phase difference.

(付記4)前記補正部は、前記自装置の時計に基づく前記時刻情報が示す時刻から前記伝送遅延量だけ遅らせた時刻を示すように、自装置が前記他の伝送装置へ送信する前記フレームに含まれる前記時刻情報が示す時刻を補正することを特徴とする付記1〜3のいずれか一つに記載の伝送装置。 (Additional remark 4) The said correction | amendment part is added to the said frame which the own apparatus transmits to the said other transmission apparatus so that the time delayed by the said transmission delay amount may be shown from the time which the said time information based on the time clock of the said apparatus shows. The transmission apparatus according to any one of appendices 1 to 3, wherein the time indicated by the time information included is corrected.

(付記5)他の伝送装置から送信された、前記他の伝送装置の時計に基づく時刻情報を含むフレームであって、自装置の基準クロックでラッチする前のフレームを前記他の伝送装置へ返送する返送部と、
前記返送部によって返送された前記フレームに基づいて前記他の伝送装置が補正した時刻を示す前記時刻情報を含み前記他の伝送装置から送信された前記フレームを前記自装置の基準クロックでラッチすることにより前記時刻情報を受信する受信部と、
前記自装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記受信部がラッチした前記フレームと前記自装置の基準クロックとの間の位相差を判定する判定部と、
前記受信部によって受信された前記時刻情報と、前記判定部によって判定された前記位相差と、に基づいて前記自装置の時計を前記他の伝送装置の時計と同期させる同期部と、
を備えることを特徴とする伝送装置。
(Supplementary Note 5) A frame including time information based on the clock of the other transmission device transmitted from the other transmission device and before being latched by the reference clock of the own device is returned to the other transmission device. A return part to
Latching the frame transmitted from the other transmission device including the time information indicating the time corrected by the other transmission device based on the frame returned by the return unit with the reference clock of the own device. A receiving unit for receiving the time information by:
A determination unit for determining a phase difference between the frame latched by the reception unit and the reference clock of the own device based on a plurality of clocks generated by delaying the reference clock of the own device;
A synchronization unit that synchronizes the clock of the own device with the clock of the other transmission device based on the time information received by the reception unit and the phase difference determined by the determination unit;
A transmission apparatus comprising:

(付記6)第1伝送装置が、前記第1伝送装置の時計に基づく時刻情報を含むフレームを第2伝送装置へ送信し、
前記第2伝送装置が、前記第1伝送装置によって送信された前記フレームであって、前記第2伝送装置の基準クロックでラッチする前のフレームを前記第1伝送装置へ返送し、
前記第1伝送装置が、前記第2伝送装置によって返送された前記フレームを前記第1伝送装置の基準クロックでラッチすることにより前記時刻情報を受信し、
前記第1伝送装置が、前記第1伝送装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記第1伝送装置がラッチした前記フレームと前記第1伝送装置の基準クロックとの間の位相差を判定し、
前記第1伝送装置が、前記時刻情報を受信した時刻と、受信した前記時刻情報と、判定した前記位相差と、に基づいて前記第1伝送装置と前記第2伝送装置との間における前記フレームの伝送遅延量を計算し、
前記第1伝送装置が、前記第2伝送装置へ送信する前記フレームに含まれる前記時刻情報が示す時刻を、計算した前記伝送遅延量に基づいて補正し、
前記第2伝送装置が、前記第1伝送装置によって送信された前記フレームを前記第2伝送装置の基準クロックでラッチすることにより前記時刻情報を受信し、
前記第2伝送装置が、前記第2伝送装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記第2伝送装置がラッチした前記フレームと前記第2伝送装置の基準クロックとの間の位相差を判定し、
前記第2伝送装置が、受信した前記時刻情報と、判定した前記位相差と、に基づいて前記第2伝送装置の時計を前記第1伝送装置の時計と同期させる、
ことを特徴とする同期方法。
(Supplementary Note 6) The first transmission device transmits a frame including time information based on the clock of the first transmission device to the second transmission device,
The second transmission device returns the frame transmitted by the first transmission device before being latched by the reference clock of the second transmission device to the first transmission device;
The first transmission device receives the time information by latching the frame returned by the second transmission device with a reference clock of the first transmission device;
Based on a plurality of clocks generated by the first transmission device delaying a reference clock of the first transmission device, the frame latched by the first transmission device and a reference clock of the first transmission device Determine the phase difference between
The frame between the first transmission device and the second transmission device based on the time when the first transmission device received the time information, the received time information, and the determined phase difference. Calculate the transmission delay amount of
The first transmission device corrects the time indicated by the time information included in the frame transmitted to the second transmission device based on the calculated transmission delay amount,
The second transmission device receives the time information by latching the frame transmitted by the first transmission device with a reference clock of the second transmission device;
Based on a plurality of clocks generated by the second transmission device delaying the reference clock of the second transmission device, the frame latched by the second transmission device and the reference clock of the second transmission device Determine the phase difference between
The second transmission device synchronizes the clock of the second transmission device with the clock of the first transmission device based on the received time information and the determined phase difference;
A synchronization method characterized by the above.

100 同期システム
110 第1ボード
111,122 基準クロック生成回路
112,125 カウンタ
113 補正回路
114,123,501 クロックシフト回路
115,124,502 受信タイミング測定回路
116 加算部
117 差分計算部
118 除算部
120 第2ボード
121 返送部
119,126 バッファ
300,430,440,450 時刻フレーム
310,541〜556 フレーム検出部
320 時刻情報
401 往復伝送遅延量
402,801 位相差
410,910 時刻
420,810 基準クロック
510 時刻情報受信回路
521〜536 8段シフトレジスタ
560 位相判定部
571〜578 フリップフロップ
601〜616 シフトレジスタ値
620 位相判定タイミング
700 テーブル
1000 装置システム
1010,1020 装置
1011,1021 マスタ処理カード
1011a,1012d PKT処理部
1011b,1012c PTP処理部
1011c,1012b 内部時計
1011d,1012a 補正処理部
1012,1022 スレーブ処理カード
100 synchronization system 110 first board 111, 122 reference clock generation circuit 112, 125 counter 113 correction circuit 114, 123, 501 clock shift circuit 115, 124, 502 reception timing measurement circuit 116 addition unit 117 difference calculation unit 118 division unit 120 first 2-board 121 return unit 119, 126 buffer 300, 430, 440, 450 time frame 310, 541-556 frame detection unit 320 time information 401 round-trip transmission delay amount 402, 801 phase difference 410, 910 time 420, 810 reference clock 510 time Information receiving circuit 521 to 536 Eight stage shift register 560 Phase determination unit 571 to 578 Flip-flop 601 to 616 Shift register value 620 Phase determination timing 700 Table 1000 Device System 1010, 1020 Device 1011, 1021 Master Processing Card 1011a, 1012d PKT Processing Unit 1011b, 1012c PTP Processing Unit 1011c, 1012b Internal Clock 1011d, 1012a Correction Processing Unit 1012, 1022 Slave Processing Card

Claims (5)

自装置の時計に基づく時刻情報を含むフレームを他の伝送装置へ送信することにより前記他の伝送装置の時計を前記自装置の時計と同期させる伝送装置において、
自装置が送信した前記フレームであって、前記他の伝送装置が前記他の伝送装置の基準クロックでラッチする前に自装置へ返送した前記フレームを自装置の基準クロックでラッチすることにより前記時刻情報を受信する受信部と、
前記自装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記受信部がラッチした前記フレームと前記自装置の基準クロックとの間の位相差を判定する判定部と、
前記受信部によって前記時刻情報が受信された時刻と、前記受信部によって受信された前記時刻情報と、前記判定部によって判定された前記位相差と、に基づいて自装置と前記他の伝送装置との間における前記フレームの伝送遅延量を計算する計算部と、
自装置が前記他の伝送装置へ送信する前記フレームに含まれる前記時刻情報が示す時刻を、前記計算部によって計算された前記伝送遅延量に基づいて補正する補正部と、
を備えることを特徴とする伝送装置。
In the transmission apparatus that synchronizes the clock of the other transmission apparatus with the clock of the own apparatus by transmitting a frame including time information based on the clock of the own apparatus to the other transmission apparatus.
The frame transmitted by the own device, which is returned by the other transmission device before being latched by the reference clock of the other transmission device before the frame is latched by the reference clock of the own device. A receiving unit for receiving information;
A determination unit for determining a phase difference between the frame latched by the reception unit and the reference clock of the own device based on a plurality of clocks generated by delaying the reference clock of the own device;
Based on the time when the time information was received by the receiving unit, the time information received by the receiving unit, and the phase difference determined by the determining unit, the own device and the other transmission device A calculation unit for calculating a transmission delay amount of the frame during
A correction unit that corrects the time indicated by the time information included in the frame transmitted from the own device to the other transmission device based on the transmission delay amount calculated by the calculation unit;
A transmission apparatus comprising:
前記判定部は、前記複数のクロックによる前記フレームの各ラッチ結果と、前記フレームに含まれる所定パターンと、の比較によって前記位相差を判定することを特徴とする請求項1に記載の伝送装置。   The transmission apparatus according to claim 1, wherein the determination unit determines the phase difference by comparing each latch result of the frame based on the plurality of clocks with a predetermined pattern included in the frame. 前記計算部は、前記受信部によって前記時刻情報が受信された時刻と、前記受信部によって受信された前記時刻情報が示す時刻と、の差分に前記判定部によって判定された前記位相差を加えた値の半分の値を算出することによって前記伝送遅延量を計算することを特徴とする請求項1または2に記載の伝送装置。   The calculation unit adds the phase difference determined by the determination unit to a difference between the time when the time information is received by the reception unit and the time indicated by the time information received by the reception unit. The transmission apparatus according to claim 1, wherein the transmission delay amount is calculated by calculating a half value. 他の伝送装置から送信された、前記他の伝送装置の時計に基づく時刻情報を含むフレームであって、自装置の基準クロックでラッチする前のフレームを前記他の伝送装置へ返送する返送部と、
前記返送部によって返送された前記フレームに基づいて前記他の伝送装置が補正した時刻を示す前記時刻情報を含み前記他の伝送装置から送信された前記フレームを前記自装置の基準クロックでラッチすることにより前記時刻情報を受信する受信部と、
前記自装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記受信部がラッチした前記フレームと前記自装置の基準クロックとの間の位相差を判定する判定部と、
前記受信部によって受信された前記時刻情報と、前記判定部によって判定された前記位相差と、に基づいて前記自装置の時計を前記他の伝送装置の時計と同期させる同期部と、
を備えることを特徴とする伝送装置。
A frame that includes time information based on the clock of the other transmission device, transmitted from the other transmission device, and returns a frame before latching with the reference clock of the own device to the other transmission device; ,
Latching the frame transmitted from the other transmission device including the time information indicating the time corrected by the other transmission device based on the frame returned by the return unit with the reference clock of the own device. A receiving unit for receiving the time information by:
A determination unit for determining a phase difference between the frame latched by the reception unit and the reference clock of the own device based on a plurality of clocks generated by delaying the reference clock of the own device;
A synchronization unit that synchronizes the clock of the own device with the clock of the other transmission device based on the time information received by the reception unit and the phase difference determined by the determination unit;
A transmission apparatus comprising:
第1伝送装置が、前記第1伝送装置の時計に基づく時刻情報を含むフレームを第2伝送装置へ送信し、
前記第2伝送装置が、前記第1伝送装置によって送信された前記フレームであって、前記第2伝送装置の基準クロックでラッチする前のフレームを前記第1伝送装置へ返送し、
前記第1伝送装置が、前記第2伝送装置によって返送された前記フレームを前記第1伝送装置の基準クロックでラッチすることにより前記時刻情報を受信し、
前記第1伝送装置が、前記第1伝送装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記第1伝送装置がラッチした前記フレームと前記第1伝送装置の基準クロックとの間の位相差を判定し、
前記第1伝送装置が、前記時刻情報を受信した時刻と、受信した前記時刻情報と、判定した前記位相差と、に基づいて前記第1伝送装置と前記第2伝送装置との間における前記フレームの伝送遅延量を計算し、
前記第1伝送装置が、前記第2伝送装置へ送信する前記フレームに含まれる前記時刻情報が示す時刻を、計算した前記伝送遅延量に基づいて補正し、
前記第2伝送装置が、前記第1伝送装置によって送信された前記フレームを前記第2伝送装置の基準クロックでラッチすることにより前記時刻情報を受信し、
前記第2伝送装置が、前記第2伝送装置の基準クロックを遅延させることにより生成した複数のクロックに基づいて、前記第2伝送装置がラッチした前記フレームと前記第2伝送装置の基準クロックとの間の位相差を判定し、
前記第2伝送装置が、受信した前記時刻情報と、判定した前記位相差と、に基づいて前記第2伝送装置の時計を前記第1伝送装置の時計と同期させる、
ことを特徴とする同期方法。
The first transmission device transmits a frame including time information based on the clock of the first transmission device to the second transmission device;
The second transmission device returns the frame transmitted by the first transmission device before being latched by the reference clock of the second transmission device to the first transmission device;
The first transmission device receives the time information by latching the frame returned by the second transmission device with a reference clock of the first transmission device;
Based on a plurality of clocks generated by the first transmission device delaying a reference clock of the first transmission device, the frame latched by the first transmission device and a reference clock of the first transmission device Determine the phase difference between
The frame between the first transmission device and the second transmission device based on the time when the first transmission device received the time information, the received time information, and the determined phase difference. Calculate the transmission delay amount of
The first transmission device corrects the time indicated by the time information included in the frame transmitted to the second transmission device based on the calculated transmission delay amount,
The second transmission device receives the time information by latching the frame transmitted by the first transmission device with a reference clock of the second transmission device;
Based on a plurality of clocks generated by the second transmission device delaying the reference clock of the second transmission device, the frame latched by the second transmission device and the reference clock of the second transmission device Determine the phase difference between
The second transmission device synchronizes the clock of the second transmission device with the clock of the first transmission device based on the received time information and the determined phase difference;
A synchronization method characterized by the above.
JP2015150563A 2015-07-30 2015-07-30 Transmission equipment and synchronization method Pending JP2017034383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015150563A JP2017034383A (en) 2015-07-30 2015-07-30 Transmission equipment and synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015150563A JP2017034383A (en) 2015-07-30 2015-07-30 Transmission equipment and synchronization method

Publications (1)

Publication Number Publication Date
JP2017034383A true JP2017034383A (en) 2017-02-09

Family

ID=57989526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015150563A Pending JP2017034383A (en) 2015-07-30 2015-07-30 Transmission equipment and synchronization method

Country Status (1)

Country Link
JP (1) JP2017034383A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138487A (en) * 2018-02-09 2019-08-16 深圳市英特瑞半导体科技有限公司 A kind of temporal noise transmission characteristic measurement method and network node

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138487A (en) * 2018-02-09 2019-08-16 深圳市英特瑞半导体科技有限公司 A kind of temporal noise transmission characteristic measurement method and network node
CN110138487B (en) * 2018-02-09 2024-01-12 深圳市英特瑞半导体科技有限公司 Time noise transfer characteristic measurement method and network node

Similar Documents

Publication Publication Date Title
US11177896B2 (en) Time synchronization device and time synchronization method
CN110520815B (en) Method and system for accurate time stamping
CN101820500B (en) Slave device, time synchronization method in slave device, master device, and electronic equipment system
JP5068758B2 (en) Data recovery circuit
US11099599B2 (en) Communication device, cascaded network and internal synchronization method
US20070260906A1 (en) Clock synchronization method and apparatus
CN108023723B (en) Method for frequency synchronization and slave clock
CN111669244A (en) Maintaining correct time in transferring counter values between clock domains
US20160080138A1 (en) Method and apparatus for timing synchronization in a distributed timing system
CN111385051B (en) Clock synchronization method, device and storage medium
EP2657806B1 (en) Signal source synchronization circuit
US11424902B2 (en) System and method for synchronizing nodes in a network device
JP2014238357A (en) Reception device, time difference calculation method and program
WO2016045340A1 (en) Clock synchronization method, optical network unit and storage medium
CN115801175B (en) Time-frequency synchronization method, system, storage medium and electronic equipment
WO2016157097A1 (en) Method and apparatus for synchronization in a distributed network
CN111106894A (en) Time synchronization method and system
CN111092713A (en) Clock synchronization device and clock synchronization method
Kinali et al. Fault-tolerant clock synchronization with high precision
JP2017034383A (en) Transmission equipment and synchronization method
US9184904B2 (en) Communication system, receiver, and eye-opening measuring method
JP6413585B2 (en) Transmission circuit, integrated circuit, and parallel-serial conversion method
CN111181679A (en) IEEE 1588-based high-speed streaming media bus accurate clock synchronization system
US20190132112A1 (en) Phase caching for fast data recovery
Girela-Lopez et al. Precise network time monitoring: Picosecond-level packet timestamping for fintech networks