JP5406148B2 - Clock reproduction apparatus, clock reproduction method, and control program - Google Patents

Clock reproduction apparatus, clock reproduction method, and control program Download PDF

Info

Publication number
JP5406148B2
JP5406148B2 JP2010197346A JP2010197346A JP5406148B2 JP 5406148 B2 JP5406148 B2 JP 5406148B2 JP 2010197346 A JP2010197346 A JP 2010197346A JP 2010197346 A JP2010197346 A JP 2010197346A JP 5406148 B2 JP5406148 B2 JP 5406148B2
Authority
JP
Japan
Prior art keywords
delay
clock
buffer
packet
amount
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.)
Active
Application number
JP2010197346A
Other languages
Japanese (ja)
Other versions
JP2012054847A (en
Inventor
新 加藤
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.)
NEC AccessTechnica Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2010197346A priority Critical patent/JP5406148B2/en
Publication of JP2012054847A publication Critical patent/JP2012054847A/en
Application granted granted Critical
Publication of JP5406148B2 publication Critical patent/JP5406148B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、クロック再生装置に関する。特に、TDM(Time Division Multiplexer)信号の送受信において、送受信装置間のクロック同期にアダプティブクロック再生法を用いるクロック再生装置に関する。   The present invention relates to a clock recovery device. In particular, the present invention relates to a clock recovery apparatus that uses an adaptive clock recovery method for clock synchronization between transmitting and receiving apparatuses in transmission and reception of TDM (Time Division Multiplexer) signals.

CESoPSN(Circuit Emulation Service over Packet Switched Network)やSAToP(Structure-Agnostic Time Division Multiplexing over Packet)を代表とするTDM信号を、パケット網において送受信する時に、送信端末と受信端末との間の同期を確立する手法の一つにアダプティブクロック再生法がある。アダプティブクロック再生法では、受信装置のバッファへの書込み速度と読出し速度とが一致するように、受信装置の基準クロックの周波数を調整する。受信装置のバッファへの書込み速度は送信装置の基準クロックの周波数に依存し、バッファからの読出し速度は受信装置の基準クロックの周波数に依存することから、書込み速度と読出し速度とを一致させることにより、送信端末と受信端末とを同期させることができる。   Establish synchronization between transmitting and receiving terminals when transmitting and receiving TDM signals represented by CESoPSN (Circuit Emulation Service over Packet Switched Network) and SAToP (Structure-Agnostic Time Division Multiplexing over Packet) in the packet network One method is an adaptive clock recovery method. In the adaptive clock recovery method, the frequency of the reference clock of the receiving device is adjusted so that the writing speed to the buffer of the receiving device matches the reading speed. The writing speed to the buffer of the receiving device depends on the frequency of the reference clock of the transmitting device, and the reading speed from the buffer depends on the frequency of the reference clock of the receiving device. The transmitting terminal and the receiving terminal can be synchronized.

アダプティブクロック再生法を用いて同期を得る方法について、図6を用いて説明する。読出し速度と書込み速度とが一致している状態を、図6(a)に示す。この場合、バッファ蓄積量は中心値付近で安定し、バッファへの書込み速度の基準となる送信側クロックと、バッファからの読出し速度の基準となる受信側クロックとは同期している。   A method of obtaining synchronization using the adaptive clock recovery method will be described with reference to FIG. FIG. 6A shows a state where the reading speed and the writing speed match. In this case, the buffer accumulation amount is stable near the center value, and the transmission-side clock that is a reference for the writing speed to the buffer and the reception-side clock that is the reference for the reading speed from the buffer are synchronized.

また、読出し速度が書込み速度よりも速い状態を図6(b)に示す。この場合、バッファ蓄積量は徐々に減少する。そして、バッファ蓄積量が下位閾値を下回った場合、受信装置の基準クロックの周波数を調整し、読出し速度を下げる。そして、受信装置のバッファへの書込み速度と読出し速度とが再び一致した時、受信装置の基準クロックの周波数と送受信装置間の基準クロックの周波数とが同期する。   Further, FIG. 6B shows a state where the reading speed is faster than the writing speed. In this case, the buffer accumulation amount gradually decreases. When the buffer accumulation amount falls below the lower threshold value, the frequency of the reference clock of the receiving device is adjusted to reduce the reading speed. When the writing speed to the buffer of the receiving apparatus and the reading speed again match, the frequency of the reference clock of the receiving apparatus and the frequency of the reference clock between the transmitting and receiving apparatuses are synchronized.

さらに、読出し速度が書込み速度よりも遅い状態を図6(c)に示す。この場合、バッファ蓄積量は徐々に増加する。そして、バッファ蓄積量が上位閾値を上回った場合、受信装置の基準クロックの周波数を調整し、読出し速度を上げる。そして、受信装置のバッファへの書込み速度と読出し速度とが再び一致した時、受信装置の基準クロックの周波数と送受信装置間の基準クロックの周波数とが同期する。   Further, FIG. 6C shows a state where the reading speed is slower than the writing speed. In this case, the buffer accumulation amount gradually increases. When the buffer accumulation amount exceeds the upper threshold, the frequency of the reference clock of the receiving device is adjusted to increase the reading speed. When the writing speed to the buffer of the receiving apparatus and the reading speed again match, the frequency of the reference clock of the receiving apparatus and the frequency of the reference clock between the transmitting and receiving apparatuses are synchronized.

アダプティブクロック再生法を用いて同期を得る技術は、例えば、特許文献1に開示されている。特許文献1では、バッファ蓄積量が上位閾値を上回った場合、通常よりも早い読出し速度を適用することにより、送信端末と受信端末とを同期させる。   A technique for obtaining synchronization using an adaptive clock recovery method is disclosed in Patent Document 1, for example. In Patent Document 1, when the buffer accumulation amount exceeds the upper threshold, the transmitting terminal and the receiving terminal are synchronized by applying a reading speed faster than usual.

しかし、バッファ蓄積量は、IP(Internet Protocol)網におけるルートスイッチ等で生じるパケットの固定遅延によっても大きく変化する。この場合、受信装置の基準クロックの周波数と送受信装置間の基準クロックの周波数とが同期しているにも関わらず、受信装置の基準クロックの周波数は誤調整される。パケットの固定遅延に起因する受信装置の基準クロックの周波数の誤調整について、図7を用いて説明する。   However, the buffer storage amount also varies greatly due to a fixed delay of a packet generated by a route switch or the like in an IP (Internet Protocol) network. In this case, although the frequency of the reference clock of the receiving device is synchronized with the frequency of the reference clock between the transmitting and receiving devices, the frequency of the reference clock of the receiving device is erroneously adjusted. An erroneous adjustment of the frequency of the reference clock of the receiving apparatus due to the fixed delay of the packet will be described with reference to FIG.

図7(a)において、時刻t1にパケット固定遅延がAms減少するパケットを受信することにより、バッファ蓄積量が固定遅延Amsに相当するデータ量分、増加する。すなわち、図7(b)において、バッファ蓄積量が中心値からAms増加する。   In FIG. 7A, by receiving a packet whose packet fixed delay is reduced by Ams at time t1, the buffer accumulation amount is increased by the data amount corresponding to the fixed delay Ams. That is, in FIG. 7B, the buffer accumulation amount increases from the central value by Ams.

アダプティブクロック再生法が適用された装置が、バッファ蓄積量から一定期間Ta単位に平均値を算出して該バッファ蓄積量の平均を周波数の調整に用いている場合、図7(c)に示すように、時刻t1を含む期間Ta3の平均値が適用される時刻t2(期間Ta4)の時に、バッファ蓄積量の平均値が増加する。バッファ蓄積量の平均値に基づいて受信装置の基準クロックの周波数を調整している場合、図7(d)に示すように、バッファ蓄積量の平均値が増加することにより、受信装置の基準クロックの周波数が誤調整される。   When an apparatus to which the adaptive clock recovery method is applied calculates an average value for each period Ta from the buffer accumulation amount and uses the average of the buffer accumulation amount for frequency adjustment, as shown in FIG. In addition, at the time t2 (period Ta4) when the average value of the period Ta3 including the time t1 is applied, the average value of the buffer accumulation amount increases. When the frequency of the reference clock of the receiving device is adjusted based on the average value of the buffer accumulation amount, the average value of the buffer accumulation amount increases as shown in FIG. Is incorrectly adjusted.

そこで、パケット固定遅延に起因する基準クロックの周波数の誤調整を抑制する技術として、例えば、特許文献2には、パケット固定遅延が発生した場合、周波数を過度補正した後で一定に保ち、バッファ蓄積量が基準値まで戻った後、周波数を元に戻す技術が開示されている。また、特許文献3には、パケット固定遅延が発生した場合、バッファ蓄積量の中心値をパケット固定遅延に合わせて変更する技術が開示されている。   Therefore, as a technique for suppressing erroneous adjustment of the frequency of the reference clock due to the packet fixed delay, for example, in Patent Document 2, when a packet fixed delay occurs, the frequency is excessively corrected and then kept constant, and the buffer is stored. A technique for restoring the frequency after the amount returns to the reference value is disclosed. Patent Document 3 discloses a technique for changing the central value of the buffer accumulation amount according to the packet fixed delay when the packet fixed delay occurs.

特開2006−49941号公報JP 2006-49941 A 特開平7-46257号公報JP 7-46257 A 特開2002−344433号公報JP 2002-344433 A

しかし、特許文献2に開示されている技術を適用する場合、周波数が過度補正される期間は、送信端末と受信端末との同期を保つことが困難である。また、特許文献3に開示されている技術を適用する場合、短期間の間に基準となる中心値が複数回変更されることになり、制御が不安定になる場合がある。   However, when applying the technique disclosed in Patent Document 2, it is difficult to maintain synchronization between the transmission terminal and the reception terminal during a period in which the frequency is excessively corrected. Further, when applying the technique disclosed in Patent Document 3, the central value serving as a reference is changed a plurality of times in a short period of time, and the control may become unstable.

本発明の目的は、上記課題に鑑み、アダプティブクロック再生法を用いて同期を取っている時にパケット固定遅延が発生した場合でも、安定して送信端末と受信端末との同期を取ることが可能なクロック再生装置、クロック再生方法および制御プログラムを提供することにある。   In view of the above problems, an object of the present invention is to stably synchronize a transmission terminal and a reception terminal even when a packet fixed delay occurs when synchronization is performed using the adaptive clock recovery method. The object is to provide a clock recovery device, a clock recovery method, and a control program.

上記目的を達成するために本発明に係るクロック再生装置は、パケットを受信してバッファに書き込み、クロック出力手段から受信したクロックに同期させてバッファからパケットを出力させると共に、蓄積量を出力するバッファ制御手段と、遅延の有無を監視し、遅延を検出した場合、遅延量を算出して出力する遅延検出手段と、前記バッファ制御手段から受信した蓄積量に基づいてクロック制御値を生成して出力するクロック制御手段と、前記クロック制御手段から受信したクロック制御値に基づいてクロックを生成して出力するクロック出力手段と、を備え、前記バッファ制御手段は、前記遅延検出手段が遅延を検出しない場合、前記バッファの蓄積量を計測して出力し、前記遅延検出手段が遅延を検出した場合、前記遅延量に対応する期間についてパケットの受信またはパケットの出力を停止すると共に所定の蓄積量を出力するIn order to achieve the above object, a clock recovery device according to the present invention receives a packet, writes it in a buffer, outputs the packet from the buffer in synchronization with the clock received from the clock output means, and outputs the accumulated amount The control means monitors the presence or absence of a delay, and if a delay is detected, the delay detection means calculates and outputs a delay amount, and generates and outputs a clock control value based on the accumulated amount received from the buffer control means comprising a to torque lock control means, and a clock output means for generating and outputting a clock based on the clock control value received from the clock control unit, wherein the buffer control means, the delay detecting means detects a delay If not, the accumulated amount of the buffer is measured and output, and when the delay detecting means detects a delay, it corresponds to the delay amount. And it outputs the predetermined accumulation amount stops the output of the receiving or packet of the packet for the period.

上記目的を達成するために本発明に係るクロック再生方法は、パケットを受信してバッファに書き込み、出力されたクロックに同期させて前記バッファからパケットを出力し、遅延の有無を監視し、遅延が検出されない場合、前記バッファの蓄積量を計測して出力し、遅延を検出した場合、遅延量を算出して該遅延量に対応する期間、パケットの受信またはパケットの出力を停止すると共に所定の蓄積量を出力し、前記出力された蓄積量に基づいてクロック制御値を生成して出力し、前記出力されたクロック制御値に基づいて前記クロックを生成して出力するIn order to achieve the above object, the clock recovery method according to the present invention receives a packet, writes it to a buffer, outputs the packet from the buffer in synchronization with the output clock, monitors whether there is a delay, If it is not detected, the accumulated amount of the buffer is measured and output, and if a delay is detected, the delay amount is calculated and the reception of the packet or the output of the packet is stopped for a period corresponding to the delay amount and the predetermined accumulation is performed. A clock control value is generated and output based on the output accumulated amount, and the clock is generated and output based on the output clock control value .

上記目的を達成するために本発明に係る制御プログラムは、クロックに同期させてバッファからパケットを出力する装置のコンピュータが実行可能な制御プログラムであって、パケットを受信してバッファに書き込む機能と、遅延の有無を監視し、遅延が検出されない場合、前記バッファの蓄積量を計測して出力し、遅延を検出した場合、遅延量を算出して該遅延量に対応する期間、パケットの受信またはパケットの出力を停止すると共に所定の蓄積量を出力する機能と、前記出力された蓄積量に基づいてクロック制御値を生成して出力する機能と、前記出力されたクロック制御値に基づいて前記クロックを生成して出力する機能と、を装置のコンピュータに実行させる。
In order to achieve the above object, a control program according to the present invention is a control program that can be executed by a computer of a device that outputs a packet from a buffer in synchronization with a clock . Monitors the presence or absence of a delay, and if the delay is not detected, measures and outputs the accumulated amount of the buffer. If the delay is detected, calculates the delay amount and receives a packet or packet during a period corresponding to the delay amount. The output of a predetermined accumulation amount, a function of generating and outputting a clock control value based on the output accumulation amount, and the clock based on the output clock control value. The function of generating and outputting is executed by the computer of the apparatus.

通常は、計測したバッファの蓄積量に基づいて生成したクロック制御値を用いてクロックを生成し、パケット固定遅延による影響がある期間は、所定のクロック制御値を用いてクロックを生成することにより、アダプティブクロック再生法を用いて同期を取っている時にパケット固定遅延が発生した場合でも、送信端末と受信端末との同期を安定して取ることができる。   Normally, a clock is generated using a clock control value generated based on the measured buffer storage amount, and during a period affected by a packet fixed delay, a clock is generated using a predetermined clock control value. Even when a fixed packet delay occurs when synchronization is performed using the adaptive clock recovery method, the transmission terminal and the reception terminal can be stably synchronized.

本発明の第1の実施形態に係るクロック再生装置10のブロック図の一例である。1 is an example of a block diagram of a clock recovery device 10 according to a first embodiment of the present invention. 本発明の第2の実施形態に係るクロック再生装置100のブロック図の一例である。It is an example of the block diagram of the clock reproduction apparatus 100 which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るクロック再生装置100の、(a)パケット固定遅延、(b)パケットの蓄積量、(c)第1の蓄積量平均値の、タイムチャートの一例である。It is an example of a time chart of (a) packet fixed delay, (b) packet accumulation amount, and (c) first accumulation amount average value of the clock recovery device 100 according to the second embodiment of the present invention. 本発明の第2の実施形態に係るクロック再生装置100の、(a)パケット固定遅延、(b)パケットの蓄積量、(c)第1の蓄積量平均値、(d)第2の蓄積量平均値、(e)出力周波数の、タイムチャートの一例である。In the clock recovery apparatus 100 according to the second embodiment of the present invention, (a) packet fixed delay, (b) packet accumulation amount, (c) first accumulation amount average value, (d) second accumulation amount It is an example of a time chart of an average value and (e) output frequency. 本発明の第3の実施形態に係るクロック再生装置200のブロック図の一例である。It is an example of the block diagram of the clock reproduction apparatus 200 which concerns on the 3rd Embodiment of this invention. アダプティブクロック再生法を説明するためのバッファの蓄積量の一例を示した図である。It is the figure which showed an example of the accumulation amount of the buffer for demonstrating an adaptive clock reproduction | regeneration method. アダプティブクロック再生法を説明するための、(a)パケット固定遅延、(b)パケットの蓄積量、(c)蓄積量平均値、(d)周波数調整値の、タイムチャートの一例である。It is an example of a time chart for explaining an adaptive clock regeneration method, (a) packet fixed delay, (b) packet accumulation amount, (c) accumulation amount average value, and (d) frequency adjustment value.

(第1の実施形態)
本発明の第1の実施形態に係るクロック再生装置について説明する。本実施形態に係るクロック再生装置のブロック図の一例を図1に示す。図1において、本実施形態に係るクロック再生装置10は、バッファ制御手段20、遅延検出手段30、クロック制御手段40およびクロック出力手段50を備える。
(First embodiment)
A clock recovery device according to a first embodiment of the present invention will be described. An example of a block diagram of the clock recovery apparatus according to the present embodiment is shown in FIG. In FIG. 1, the clock recovery apparatus 10 according to the present embodiment includes a buffer control unit 20, a delay detection unit 30, a clock control unit 40, and a clock output unit 50.

バッファ制御手段20は、クロック出力手段50から受信したクロックに同期させてバッファ60からパケットを出力させる。また、バッファ制御手段20は、バッファ60の蓄積量を計測して遅延検出手段30とクロック制御手段40とへ出力する。   The buffer control unit 20 outputs the packet from the buffer 60 in synchronization with the clock received from the clock output unit 50. Further, the buffer control unit 20 measures the accumulation amount of the buffer 60 and outputs it to the delay detection unit 30 and the clock control unit 40.

遅延検出手段30は、遅延の有無を監視し、遅延を検出した場合、遅延量を算出してクロック制御手段40へ出力する、
クロック制御手段40は、バッファ制御手段20から受信したバッファ60の蓄積量に基づいてクロック制御値を生成してクロック出力手段50へ出力する。また、クロック制御手段40は、遅延検出手段30から遅延量を受信した場合、該遅延量に対応する期間、所定のクロック制御値をクロック出力手段50へ出力する。
The delay detection unit 30 monitors the presence or absence of a delay, and when a delay is detected, calculates a delay amount and outputs the delay amount to the clock control unit 40.
The clock control means 40 generates a clock control value based on the accumulated amount of the buffer 60 received from the buffer control means 20 and outputs it to the clock output means 50. Further, when receiving a delay amount from the delay detection unit 30, the clock control unit 40 outputs a predetermined clock control value to the clock output unit 50 for a period corresponding to the delay amount.

クロック出力手段50は、クロック制御手段40から受信したクロック制御値に基づいてクロックを生成し、バッファ制御手段20へ出力する。   The clock output means 50 generates a clock based on the clock control value received from the clock control means 40 and outputs it to the buffer control means 20.

遅延が発生した場合、該遅延量に対応する期間については、所定のクロック制御値に基づいてクロックが生成されることにより、送信端末と受信端末との同期を安定して取ることができる。   When a delay occurs, a clock is generated based on a predetermined clock control value for a period corresponding to the delay amount, so that the transmission terminal and the reception terminal can be stably synchronized.

(第2の実施形態)
本発明の第2の実施形態に係るクロック再生装置について説明する。本実施形態に係るクロック再生装置のブロック図の一例を図2に示す。図2において、本実施形態に係るクロック再生装置100は、バッファ制御部101、バッファ蓄積量観測部102、遅延変化検出部105、周波数制御部106および電圧制御発振器107を備える。
(Second Embodiment)
A clock recovery apparatus according to the second embodiment of the present invention will be described. An example of a block diagram of the clock recovery apparatus according to the present embodiment is shown in FIG. 2, the clock recovery device 100 according to this embodiment includes a buffer control unit 101, a buffer accumulation amount observation unit 102, a delay change detection unit 105, a frequency control unit 106, and a voltage controlled oscillator 107.

バッファ制御部101は、バッファ110を備える。バッファ制御部101は、受信したパケット104をバッファ110に書き込む。また、書き込んだパケット104の蓄積量がバッファ110の中心値まで到達した場合、電圧制御発振器107が生成したクロック108に同期させて、バッファ110からTDM信号109を出力させる。また、バッファ制御部101は、遅延変化検出部105からパケット固定遅延変化通知と遅延変化量とを受信した場合、該遅延変化量に応じてパケット104の受信、または、TDM信号109の出力を停止し、バッファ110の蓄積量を中心値に戻す。   The buffer control unit 101 includes a buffer 110. The buffer control unit 101 writes the received packet 104 into the buffer 110. When the accumulated amount of the written packet 104 reaches the center value of the buffer 110, the TDM signal 109 is output from the buffer 110 in synchronization with the clock 108 generated by the voltage controlled oscillator 107. In addition, when receiving a packet fixed delay change notification and a delay change amount from the delay change detection unit 105, the buffer control unit 101 stops receiving the packet 104 or outputting the TDM signal 109 according to the delay change amount. Then, the accumulated amount of the buffer 110 is returned to the center value.

バッファ蓄積量観測部102は、バッファ110に書き込まれたパケット104の蓄積量を常時観測し、観測した蓄積量を遅延変化検出部105と周波数制御部106とへ出力する。さらに、バッファ蓄積量観測部102は、蓄積量のアンダーランまたはオーバーランを検出した場合、該アンダーランまたはオーバーランに関する通知を周波数制御部106へ出力する。   The buffer accumulation amount observation unit 102 constantly observes the accumulation amount of the packet 104 written in the buffer 110 and outputs the observed accumulation amount to the delay change detection unit 105 and the frequency control unit 106. Furthermore, when the buffer accumulation amount observation unit 102 detects an underrun or overrun of the accumulation amount, the buffer accumulation amount observation unit 102 outputs a notification regarding the underrun or overrun to the frequency control unit 106.

遅延変化検出部105は、バッファ蓄積量観測部102から受信した蓄積量から所定期間Tp単位に第1の蓄積量平均値を算出し、算出した第1の蓄積量平均値を用いてパケット固定遅延変化を検出する。そして、遅延変化検出部105は、パケット固定遅延変化を検出した場合、パケット固定遅延変化通知と遅延変化量を、バッファ制御部101および周波数制御部106へ出力する。なお、パケット固定遅延の検出方法および遅延変化量の取得方法については、後述する。   The delay change detection unit 105 calculates a first accumulation amount average value for each predetermined period Tp from the accumulation amount received from the buffer accumulation amount observation unit 102, and uses the calculated first accumulation amount average value to fix the packet fixed delay. Detect changes. Then, when detecting a packet fixed delay change, the delay change detection unit 105 outputs a packet fixed delay change notification and a delay change amount to the buffer control unit 101 and the frequency control unit 106. Note that a packet fixed delay detection method and a delay change amount acquisition method will be described later.

周波数制御部106は、バッファ蓄積量観測部102から受信した蓄積量から所定期間Ta単位に第2の蓄積量平均値を算出し、電圧制御発振器107へ出力する。また、バッファ蓄積量観測部102から蓄積量のアンダーランまたはオーバーランに関する通知を受信した場合、アダプティブクロック再生法を適用して、送信端末と受信端末とが同期するように、電圧制御発振器107を制御する。また、周波数制御部106は、遅延変化検出部105からパケット固定遅延変化通知と遅延変化量とを受信した場合、遅延変化量に応じた期間、第2の蓄積量平均値として第2の中心値を電圧制御発振器107へ出力する。   The frequency control unit 106 calculates a second accumulation amount average value for each predetermined period Ta from the accumulation amount received from the buffer accumulation amount observation unit 102, and outputs the second accumulation amount average value to the voltage controlled oscillator 107. In addition, when the notification about the underrun or overrun of the storage amount is received from the buffer storage amount observation unit 102, the voltage controlled oscillator 107 is set so that the transmitting terminal and the receiving terminal are synchronized by applying the adaptive clock recovery method. Control. When the frequency control unit 106 receives the packet fixed delay change notification and the delay change amount from the delay change detection unit 105, the frequency control unit 106 sets the second central value as the second accumulated amount average value for a period corresponding to the delay change amount. Is output to the voltage controlled oscillator 107.

電圧制御発振器107は、周波数制御部106から受信した第2の蓄積量平均値に基づいてクロック108を生成してバッファ制御部101へ出力する。第2の蓄積量平均値に基づいて生成されたクロック108を用いることにより、受信端末の周波数が所望の周波数に調整され、受信端末と送信端末とが同期する。   The voltage controlled oscillator 107 generates a clock 108 based on the second accumulated amount average value received from the frequency control unit 106 and outputs the clock 108 to the buffer control unit 101. By using the clock 108 generated based on the second accumulated amount average value, the frequency of the receiving terminal is adjusted to a desired frequency, and the receiving terminal and the transmitting terminal are synchronized.

次に、パケット固定遅延変化の検出方法および遅延変化量の取得方法について説明する。図3(a)にパケット104の固定遅延を、図3(b)にバッファ110の蓄積量を、図3(c)に遅延変化検出部105が算出した第1の蓄積量平均値を示す。   Next, a method for detecting a packet fixed delay change and a method for acquiring a delay change amount will be described. FIG. 3A shows the fixed delay of the packet 104, FIG. 3B shows the accumulated amount of the buffer 110, and FIG. 3C shows the first accumulated amount average value calculated by the delay change detecting unit 105.

図3(a)において、パケット固定遅延がAms減少するパケット104を、時刻t1に受信することにより、バッファ110の蓄積量が固定遅延Amsに相当するデータ量分、増加する。(図3(b))。   In FIG. 3A, when the packet 104 whose packet fixed delay is reduced by Ams is received at time t1, the accumulated amount of the buffer 110 is increased by the data amount corresponding to the fixed delay Ams. (FIG. 3 (b)).

図3(c)において、遅延変化検出部105が時刻t1を含む期間Tp3について算出した第1の蓄積量平均値C2(時刻t2)はその前の第1の蓄積量平均値C1(中心値)から増加する。さらに、その次の期間Tp4について算出した第1の蓄積量平均値C3(時刻t3)は、時刻t2の時の第1の蓄積量平均値C2からさらに増加する。そして、期間Tp5について算出した第1の蓄積量平均値C4(時刻t4)は、時刻t3の時の第1の蓄積量平均値C3と一致する。   In FIG. 3C, the first accumulation amount average value C2 (time t2) calculated by the delay change detection unit 105 for the period Tp3 including time t1 is the first accumulation amount average value C1 (center value) before that. Increase from. Furthermore, the first accumulation amount average value C3 (time t3) calculated for the next period Tp4 further increases from the first accumulation amount average value C2 at time t2. Then, the first accumulation amount average value C4 (time t4) calculated for the period Tp5 coincides with the first accumulation amount average value C3 at time t3.

遅延変化検出部105は、第1の蓄積量平均値が変化した後で安定した時、パケット固定遅延が変動したと判定する。すなわち、遅延変化検出部105は、パケット固定遅延が変動してから3期間(期間Tp×3)以内に、パケット固定遅延の変動を検出することができる。そして、パケット固定遅延の変動を検出した場合、遅延変化検出部105は、安定後の第1の蓄積量平均値C4(時刻t4)と変化前の第1の蓄積量平均値C1(中心値)との差分を算出し、遅延変化量とする。ここで、遅延変化量は固定遅延Amsに相当するデータ量を有する。   The delay change detection unit 105 determines that the packet fixed delay has changed when the first accumulation amount average value has stabilized after the change. That is, the delay change detection unit 105 can detect the change in the packet fixed delay within three periods (period Tp × 3) after the packet fixed delay fluctuates. When detecting a variation in the packet fixed delay, the delay change detecting unit 105 detects the first accumulated amount average value C4 after stabilization (time t4) and the first accumulated amount average value C1 before the change (center value). Is calculated as a delay change amount. Here, the delay change amount has a data amount corresponding to the fixed delay Ams.

次に、本実施形態に係るクロック再生装置100の動作について説明する。図4(a)にパケット104の固定遅延を、図4(b)にバッファ110の蓄積量を、図4(c)に遅延変化検出部105が算出した第1の蓄積量平均値を、図4(d)に周波数制御部106が算出した第2の蓄積量平均値を、図4(e)に出力周波数を示す。なお、図4において、時刻tおよび期間Tpの番号は、図3と同じ番号を付した。また、本実施形態では、クロック再生装置100の遅延変化検出部105は、パケット固定遅延変化を検出した場合、遅延変化量に応じた期間について第1の蓄積量平均値の算出を停止し、第1の蓄積量平均値として第1の中心値を設定する。また、周波数制御部106は、遅延変化量を受信した場合、遅延変化量に応じた期間について第2の蓄積量平均値の算出を停止し、第2の蓄積量平均値として第2の中心値を設定する。パケット固定遅延が変化した時、遅延変化量に応じた期間について第1の蓄積量平均値と第2の蓄積量平均値の算出を停止することにより、不要な処理を軽減することができる。   Next, the operation of the clock recovery device 100 according to the present embodiment will be described. 4A shows the fixed delay of the packet 104, FIG. 4B shows the accumulated amount of the buffer 110, and FIG. 4C shows the first accumulated amount average value calculated by the delay change detecting unit 105. 4 (d) shows the second accumulated amount average value calculated by the frequency control unit 106, and FIG. 4 (e) shows the output frequency. In FIG. 4, the numbers of time t and period Tp are the same as those in FIG. Further, in the present embodiment, when detecting a packet fixed delay change, the delay change detection unit 105 of the clock recovery device 100 stops calculating the first accumulation amount average value for a period corresponding to the delay change amount, and The first central value is set as the accumulated amount average value of one. Further, when receiving the delay change amount, the frequency control unit 106 stops calculating the second accumulation amount average value for the period corresponding to the delay change amount, and the second central value as the second accumulation amount average value. Set. When the packet fixed delay changes, unnecessary processing can be reduced by stopping the calculation of the first accumulation amount average value and the second accumulation amount average value for the period corresponding to the delay variation amount.

図4(a)において、パケット固定遅延がAms減少するパケット104を、時刻t1に受信する。図4(b)において、時刻t1の時、蓄積量が中心値から固定遅延Amsに相当するデータ量分、増加する。さらに、時刻t4の時、バッファ制御部101は遅延変化検出部105から固定遅延変化通知と遅延変化量とを受信し、遅延変化量と対応する期間、すなわち、固定遅延Amsと一致する期間、TDM信号109を出力したままパケット104の受信を停止する。この結果、時刻t4から遅延変化量と対応する期間(固定遅延Ams)が経過した時(時刻t6)、蓄積量が固定遅延Amsに相当するデータ量分減少し、中心値に戻る。   In FIG. 4A, a packet 104 whose packet fixed delay is reduced by Ams is received at time t1. In FIG. 4B, at time t1, the accumulation amount increases from the center value by a data amount corresponding to the fixed delay Ams. Further, at time t4, the buffer control unit 101 receives the fixed delay change notification and the delay change amount from the delay change detection unit 105, and corresponds to the delay change amount, that is, a period that matches the fixed delay Ams, TDM. Reception of the packet 104 is stopped while the signal 109 is output. As a result, when the period (fixed delay Ams) corresponding to the delay change amount has elapsed from time t4 (time t6), the accumulation amount decreases by the data amount corresponding to the fixed delay Ams and returns to the center value.

図4(c)において、遅延変化検出部105は、期間Tp単位に第1の蓄積量平均値を算出している。そして、遅延変化検出部105は、パケット固定遅延が変動した時刻t1を含む期間Tp3を含めて3期間が経過した時(時刻t4)、図3で説明した方法によりパケット固定遅延が変化したことを検出し、パケット固定遅延変化通知と遅延変化量とをバッファ制御部101および周波数制御部106へ通知する。さらに、本実施形態において、遅延変化検出部105は、算出した遅延変化量と対応する期間、すなわち、固定遅延Amsと一致する期間が経過するまでの期間(期間Tp6〜期間Tp8)について、第1の蓄積量平均値の算出を停止し、第1の蓄積量平均値として第1の中心値を設定する。そして、遅延変化検出部105は、固定遅延Amsと一致する期間経過後の期間Tp9から、第1の蓄積量平均値の算出を再開する。   In FIG. 4C, the delay change detecting unit 105 calculates the first accumulated amount average value for each period Tp. Then, the delay change detecting unit 105 detects that the packet fixed delay has changed by the method described with reference to FIG. 3 when three periods have elapsed (time t4) including the period Tp3 including the time t1 when the packet fixed delay fluctuates. It detects and notifies the buffer control unit 101 and the frequency control unit 106 of the packet fixed delay change notification and the delay change amount. Furthermore, in the present embodiment, the delay change detection unit 105 performs the first operation for the period corresponding to the calculated delay change amount, that is, the period until the period that coincides with the fixed delay Ams (period Tp6 to period Tp8). Is stopped, and the first central value is set as the first accumulated amount average value. Then, the delay change detection unit 105 restarts the calculation of the first accumulation amount average value from the period Tp9 after the lapse of the period that coincides with the fixed delay Ams.

さらに、図4(d)において、周波数制御部106は、期間Ta単位に第2の蓄積量平均値を算出している。そして、周波数制御部106は、時刻t4においてパケット固定遅延変化通知と遅延変化量とを受信した場合、遅延変化量と対応する期間(固定遅延Ams)を含む期間(期間Ta2、Ta3)について、第2の蓄積量平均値の算出を停止し、第2の蓄積量平均値として第2の中心値を設定する。そして、周波数制御部106は、固定遅延Amsと一致する期間経過後の期間Ta4から、第2の蓄積量平均値の算出を再開する。   Further, in FIG. 4D, the frequency control unit 106 calculates the second accumulation amount average value for each period Ta. Then, when the frequency control unit 106 receives the packet fixed delay change notification and the delay change amount at time t4, the frequency control unit 106 determines the period (periods Ta2 and Ta3) including the period (fixed delay Ams) corresponding to the delay change amount. The calculation of the accumulated amount average value of 2 is stopped, and the second central value is set as the second accumulated amount average value. Then, the frequency control unit 106 resumes the calculation of the second accumulated amount average value from the period Ta4 after the lapse of the period that coincides with the fixed delay Ams.

ここで、周波数制御部106がパケット固定遅延変化通知と遅延変化量とを受信した時に第2の蓄積量平均値として第2の中心値を設定するのは、時刻t6においてバッファ蓄積量が中心値へ戻っても、第2の蓄積量平均値が第2の中心値に戻らない場合があるからである。この場合、周波数制御部106が時刻t7からアダプティブクロック再生法による制御を再開した時に、バッファ蓄積量の中心値から増加したバッファ蓄積量の平均値に従った制御がなされ、その結果、不正な周波数の調整が行われてしまう。従って、本実施形態では、周波数制御部106は遅延変化検出部105からパケット固定遅延の変化の通知を受信したときに第2の蓄積量平均値として第2の中心値を設定する。   Here, when the frequency control unit 106 receives the packet fixed delay change notification and the delay change amount, the second center value is set as the second storage amount average value because the buffer storage amount is the center value at time t6. This is because the second accumulated amount average value may not return to the second central value even if the process returns to step S2. In this case, when the frequency control unit 106 resumes the control by the adaptive clock regeneration method from time t7, the control is performed according to the average value of the buffer accumulation amount increased from the central value of the buffer accumulation amount. Will be adjusted. Therefore, in the present embodiment, the frequency control unit 106 sets the second central value as the second accumulated amount average value when the notification of the change in the packet fixed delay is received from the delay change detection unit 105.

さらに、図4(e)において、時刻t5、t7の時に、周波数制御部106から電圧制御発振器107へ第2の蓄積量平均値として第2の中心値が出力されることにより、電圧制御発振器107は、第2の中心値に基づいて受信端末の周波数を調整する。さらに、周波数制御部106が期間Ta4から第2の蓄積量平均値の算出を再開することにより、時刻t8からアダプティブクロック再生法に基づく調整が再開される。   Further, in FIG. 4 (e), the second central value is output as the second accumulated amount average value from the frequency control unit 106 to the voltage controlled oscillator 107 at times t5 and t7, whereby the voltage controlled oscillator 107 is output. Adjusts the frequency of the receiving terminal based on the second center value. Further, the frequency control unit 106 resumes the calculation of the second accumulated amount average value from the period Ta4, so that the adjustment based on the adaptive clock regeneration method is resumed from the time t8.

上記のように、本実施形態において、パケット固定遅延の検知(時刻t4)後、固定遅延Amsと一致する期間が経過(時刻t6)するまでの期間(期間Ta2、Ta3)は、第2の蓄積量平均値が第2の中心値に設定されていることから、不要な周波数の調整が行われることが抑制される。なお、期間Ta4以降は、アダプティブクロック再生法に基づく調整が再開されるが、パケット固定遅延に関する遅延変化量が解消されていることから、アダプティブクロック再生法が適切に適用される。   As described above, in this embodiment, after the detection of the packet fixed delay (time t4), the period (period Ta2, Ta3) until the period matching the fixed delay Ams has elapsed (time t6) is the second accumulation. Since the quantity average value is set to the second center value, unnecessary frequency adjustment is suppressed. Note that, after the period Ta4, the adjustment based on the adaptive clock regeneration method is resumed, but the adaptive clock regeneration method is appropriately applied because the delay variation related to the packet fixed delay has been eliminated.

さらに、本実施形態において、パケット固定遅延は、第1の蓄積量平均値の算出期間である期間Tpの3期間以内に検出される。従って、第2の蓄積量平均値の算出期間である期間Taを、第1の蓄積量平均値の算出期間である期間Tpの3期間よりも長く設定することにより、パケット固定遅延の変動(時刻t1)からパケット固定遅延の検知(時刻t4)までの間に不要な周波数の調整が行われることを抑制することができる。   Further, in the present embodiment, the packet fixed delay is detected within three periods of the period Tp, which is the calculation period of the first accumulation amount average value. Accordingly, by setting the period Ta, which is the calculation period of the second accumulation amount average value, to be longer than the three periods of the period Tp, which is the calculation period of the first accumulation amount average value, It is possible to suppress unnecessary frequency adjustment from t1) to detection of packet fixed delay (time t4).

なお、上述の実施形態では、パケット固定遅延がAms減少するパケット104を受信した場合について説明したが、パケット固定遅延が増加するパケットを受信した場合は以下のように処理される。すなわち、パケット固定遅延がA’ms増加するパケットを受信した場合、蓄積量が中心値から固定遅延A’msに相当するデータ量分、減少する。そして、バッファ制御部101は、遅延変化検出部105からパケット固定遅延変化通知と遅延変化量とを受信した時、パケットを受信したままTDM信号の出力を停止する。この結果、バッファ110内のパケットは増加し、蓄積量が増加してパケット固定遅延の変化前の蓄積量へ戻る。また、固定遅延A‘msと一致する期間が経過するまでの期間は第2の蓄積量平均値が第2の中心値に設定され、その後、アダプティブクロック再生法に基づく調整が再開されることにより、不要な周波数の調整が行われることを抑制される。   In the above-described embodiment, the case where the packet 104 whose packet fixed delay is reduced by Ams has been described. However, when a packet whose packet fixed delay is increased is received, processing is performed as follows. That is, when receiving a packet whose packet fixed delay increases by A ′ ms, the accumulation amount decreases from the center value by a data amount corresponding to the fixed delay A ′ ms. When the buffer control unit 101 receives the packet fixed delay change notification and the delay change amount from the delay change detection unit 105, the buffer control unit 101 stops outputting the TDM signal while receiving the packet. As a result, the number of packets in the buffer 110 increases, the storage amount increases, and the storage amount before the change of the packet fixed delay is restored. In addition, the second accumulated amount average value is set to the second central value until the period that coincides with the fixed delay A'ms elapses, and then the adjustment based on the adaptive clock regeneration method is resumed. Unnecessary frequency adjustment is suppressed.

以上のように、本実施形態に係るクロック再生装置100は、パケット固定遅延の変動による影響がある期間について、受信端末の周波数を調整するための第2の蓄積量平均値を第2の中心値に設定することにより、周波数は所定の設定値に固定される。従って、パケット固定遅延が変動した場合でも、安定して送信端末と受信端末との同期を取ることができる。さらに、本実施形態に係るクロック再生装置100は、周波数の調整の基準となる期間Taをパケット固定遅延の検出の基準となる期間Tpの3期間よりも長く設定することにより、パケット固定遅延の変動による影響を適切に除くことができる。   As described above, the clock recovery device 100 according to the present embodiment uses the second accumulated amount average value for adjusting the frequency of the receiving terminal as the second central value for the period that is affected by the variation of the packet fixed delay. By setting to, the frequency is fixed to a predetermined set value. Therefore, even when the packet fixed delay fluctuates, the transmission terminal and the reception terminal can be stably synchronized. Furthermore, the clock recovery device 100 according to the present embodiment sets the period Ta that serves as a reference for frequency adjustment to be longer than the three periods Tp that serves as a reference for detecting the packet fixed delay, thereby changing the packet fixed delay. Can be removed appropriately.

(第3の実施形態)
第3の実施形態について説明する。第2の実施形態では、バッファ110の蓄積量を観測することにより、パケット固定遅延の変動を検出した。これに対して、本実施形態では、受信する各パケット204の到達時間を観測することにより、パケット固定遅延の変動を検出する。
(Third embodiment)
A third embodiment will be described. In the second embodiment, the fluctuation of the packet fixed delay is detected by observing the accumulated amount of the buffer 110. On the other hand, in this embodiment, the fluctuation of the packet fixed delay is detected by observing the arrival time of each received packet 204.

本実施形態に係るクロック再生装置のブロック図の一例を図5に示す。図5において、本実施形態に係るクロック再生装置200は、バッファ制御部201、バッファ蓄積量観測部202、パケット到達時間観測部203、遅延変化検出部205、周波数制御部206および電圧制御発振器207を備える。   An example of a block diagram of the clock recovery apparatus according to the present embodiment is shown in FIG. In FIG. 5, the clock recovery apparatus 200 according to the present embodiment includes a buffer control unit 201, a buffer accumulation amount observation unit 202, a packet arrival time observation unit 203, a delay change detection unit 205, a frequency control unit 206, and a voltage control oscillator 207. Prepare.

本実施形態に係るクロック再生装置200は、図2に示した第2の実施形態に係るクロック再生装置100にパケット到達時間観測部203を追加したものである。本実施形態に係るバッファ制御部201、バッファ蓄積量観測部202、周波数制御部206および電圧制御発振器207の動作は、第2の実施形態のバッファ制御部101、バッファ蓄積量観測部102、周波数制御部106および電圧制御発振器107とほぼ同様である。すなわち、バッファ蓄積量観測部202は、バッファ210のパケット204の蓄積量を観測して周波数制御部206へ出力する。周波数制御部206は、受信した蓄積量から所定の期間Ta単位に蓄積量平均値を算出して電圧制御発振器207へ出力する。電圧制御発振器207は、受信した蓄積量平均値に基づいてクロック208を生成し、バッファ制御部201へ出力する。バッファ制御部201は受信したクロック208に同期させて、バッファ210からTDM信号209を出力する。蓄積量平均値に基づいて生成したクロック208を用いることにより、受信端末が送信端末に同期する。   The clock recovery device 200 according to the present embodiment is obtained by adding a packet arrival time observation unit 203 to the clock recovery device 100 according to the second embodiment shown in FIG. The operations of the buffer control unit 201, the buffer accumulation amount observation unit 202, the frequency control unit 206, and the voltage control oscillator 207 according to the present embodiment are the same as the buffer control unit 101, the buffer accumulation amount observation unit 102, and the frequency control of the second embodiment. This is almost the same as the unit 106 and the voltage controlled oscillator 107. That is, the buffer accumulation amount observation unit 202 observes the accumulation amount of the packet 204 in the buffer 210 and outputs it to the frequency control unit 206. The frequency control unit 206 calculates an accumulated amount average value for each predetermined period Ta from the received accumulated amount, and outputs it to the voltage controlled oscillator 207. The voltage controlled oscillator 207 generates a clock 208 based on the received accumulated amount average value and outputs the clock 208 to the buffer control unit 201. The buffer control unit 201 outputs a TDM signal 209 from the buffer 210 in synchronization with the received clock 208. By using the clock 208 generated based on the accumulated amount average value, the receiving terminal synchronizes with the transmitting terminal.

ここで、本実施形態において、パケット到達時間観測部203は、受信する各パケット204の到達時間を常時観測し、観測した到達時間を遅延変化検出部205へ出力する。   Here, in the present embodiment, the packet arrival time observation unit 203 constantly observes the arrival times of the received packets 204 and outputs the observed arrival times to the delay change detection unit 205.

遅延変化検出部205は、パケット到達時間観測部203から受信した到達時間を用いて、所定の期間Tq単位に、ある時点におけるパケット到達時間とある時点の所定時間前のパケット到達時間との差分を算出する。そして、算出した差分が大きく変化した場合、パケット固定遅延が変動したと判断する。そして、パケット固定遅延変化通知と、遅延変化量として到達時間の差分とを、バッファ制御部201および周波数制御部206へ出力する。   The delay change detection unit 205 uses the arrival time received from the packet arrival time observation unit 203 to calculate the difference between the packet arrival time at a certain time point and the packet arrival time before the certain time point in a predetermined period Tq. calculate. When the calculated difference changes greatly, it is determined that the packet fixed delay has changed. Then, the packet fixed delay change notification and the difference in arrival time as the delay change amount are output to the buffer control unit 201 and the frequency control unit 206.

なお、パケット固定遅延変化通知と遅延変化量とを受信した場合のバッファ制御部201と周波数制御部206の動作は、第2の実施形態で説明したバッファ制御部101と周波数制御部106の動作と同様であり、詳細な説明は省略する。   The operations of the buffer control unit 201 and the frequency control unit 206 when receiving the packet fixed delay change notification and the delay change amount are the same as the operations of the buffer control unit 101 and the frequency control unit 106 described in the second embodiment. It is the same and detailed description is omitted.

本実施形態において、蓄積量平均値の算出する間隔である期間Taを、パケット到達時間の差分を算出する間隔である期間Tqの3期間分より長くすることにより、パケット固定遅延の変動による影響を適切に除くことができる。   In the present embodiment, the period Ta, which is the interval for calculating the accumulated amount average value, is set longer than the three periods of the period Tq, which is the interval for calculating the difference in packet arrival time, so that the influence of fluctuations in the packet fixed delay can be reduced. Can be removed appropriately.

さらに、本実施形態では、受信する各パケット204の到達時間からパケット固定遅延を検出する。この場合、バッファ蓄積量に関する処理(アダプティブクロック再生法に関する処理)と、パケット固定遅延の検出処理とを分けることができ、バッファ蓄積量に関する処理が煩雑になることを避けることができる。   Furthermore, in this embodiment, a packet fixed delay is detected from the arrival time of each received packet 204. In this case, the processing related to the buffer accumulation amount (processing related to the adaptive clock regeneration method) and the packet fixed delay detection processing can be separated, and the processing related to the buffer accumulation amount can be avoided from being complicated.

10 クロック再生装置
20 バッファ制御手段
30 遅延検出手段
40 クロック制御手段
50 クロック出力手段
60 バッファ
100、200 クロック再生装置
101、201 バッファ制御部
102、202 バッファ蓄積量観測部
203 パケット到達時間観測部
104、204 パケット
105、205 遅延変化検出部
106、206 周波数制御部
107、207 電圧制御発振器
108、208 クロック
109、209 TDM信号
110、210 バッファ
DESCRIPTION OF SYMBOLS 10 Clock reproduction | regeneration apparatus 20 Buffer control means 30 Delay detection means 40 Clock control means 50 Clock output means 60 Buffer 100, 200 Clock reproduction apparatus 101, 201 Buffer control part 102, 202 Buffer accumulation amount observation part 203 Packet arrival time observation part 104, 204 packet 105, 205 delay change detection unit 106, 206 frequency control unit 107, 207 voltage controlled oscillator 108, 208 clock 109, 209 TDM signal 110, 210 buffer

Claims (8)

パケットを受信してバッファに書き込み、クロック出力手段から受信したクロックに同期させてバッファからパケットを出力させると共に、蓄積量を出力するバッファ制御手段と、
遅延の有無を監視し、遅延を検出した場合、遅延量を算出して出力する遅延検出手段と、
前記バッファ制御手段から受信した蓄積量に基づいてクロック制御値を生成して出力するクロック制御手段と、
前記クロック制御手段から受信したクロック制御値に基づいてクロックを生成して出力するクロック出力手段と、
を備え
前記バッファ制御手段は、前記遅延検出手段が遅延を検出しない場合、前記バッファの蓄積量を計測して出力し、前記遅延検出手段が遅延を検出した場合、前記遅延量に対応する期間についてパケットの受信またはパケットの出力を停止すると共に所定の蓄積量を出力する、
クロック再生装置。
Buffer control means for receiving a packet and writing to the buffer, outputting the packet from the buffer in synchronization with the clock received from the clock output means, and outputting the accumulated amount;
Delay detection means for monitoring the presence or absence of a delay and detecting and calculating a delay amount; and
A torque lock control means to generate and output a clock control value based on the accumulated amount received from the buffer control unit,
Clock output means for generating and outputting a clock based on the clock control value received from the clock control means;
Equipped with a,
When the delay detection unit does not detect a delay, the buffer control unit measures and outputs the accumulated amount of the buffer. When the delay detection unit detects a delay, the buffer control unit outputs a packet for a period corresponding to the delay amount. Stop receiving or outputting packets, and output a specified amount of accumulation,
Clock recovery device.
前記遅延検出手段は、第1の期間ごとに、遅延の有無を判定し、
前記クロック制御手段は、前記第1の期間よりも長い第2の期間ごとに、前記クロック制御値を生成する、
請求項1記載のクロック再生装置。
The delay detection means determines the presence or absence of a delay for each first period,
The clock control means generates the clock control value every second period longer than the first period;
The clock recovery device according to claim 1.
前記遅延検出手段は、前記バッファ制御手段から受信した蓄積量について第1の期間ごとに平均値を算出し、該算出した蓄積量の平均値が変化した後で一定になった場合、遅延が発生したと判定する、
請求項2記載のクロック再生装置。
The delay detection unit calculates an average value for the accumulated amount received from the buffer control unit for each first period, and a delay occurs when the average value of the calculated accumulation amount becomes constant after the change. It is determined that
The clock recovery device according to claim 2.
受信するパケットの到達時間を計測するパケット到達時間計測手段を備え、
前記遅延検出手段は、第1の期間ごとにパケットの到達時間の変化の有無を判定し、パケットの到達時間が変化した場合、遅延が発生したと判定する、
請求項2記載のクロック再生装置。
Provided with a packet arrival time measuring means for measuring the arrival time of the received packet,
The delay detection means determines whether there is a change in the arrival time of the packet for each first period, and determines that a delay has occurred when the arrival time of the packet changes.
The clock recovery device according to claim 2.
前記クロック制御値は、前記第2の期間内の前記遅延量の平均値である、請求項2乃至4のいずれか1項記載のクロック再生装置。 5. The clock recovery device according to claim 2, wherein the clock control value is an average value of the delay amount in the second period. 6. 前記バッファ制御手段は、前記蓄積量のアンダーランまたはオーバーランを検出した場合、該アンダーランまたはオーバーランに関する通知を出力し、When the buffer control means detects an underrun or overrun of the accumulated amount, it outputs a notification regarding the underrun or overrun,
前記クロック制御手段は、前記バッファ制御手段からアンダーランまたはオーバーランに関する通知を受信した場合、前記アンダーランまたはオーバーランを解消するクロック制御値を生成して出力する、When the clock control means receives a notification about underrun or overrun from the buffer control means, it generates and outputs a clock control value for eliminating the underrun or overrun.
請求項1乃至5のいずれか1項記載のクロック再生装置。The clock recovery device according to claim 1.
パケットを受信してバッファに書き込み、Receive the packet, write it to the buffer,
出力されたクロックに同期させて前記バッファからパケットを出力し、Output the packet from the buffer in synchronization with the output clock,
遅延の有無を監視し、遅延が検出されない場合、前記バッファの蓄積量を計測して出力し、遅延を検出した場合、遅延量を算出して該遅延量に対応する期間、パケットの受信またはパケットの出力を停止すると共に所定の蓄積量を出力し、Monitors the presence or absence of a delay, and if the delay is not detected, measures and outputs the accumulated amount of the buffer. If the delay is detected, calculates the delay amount and receives a packet or packet during a period corresponding to the delay amount. And output a predetermined accumulation amount,
前記出力された蓄積量に基づいてクロック制御値を生成して出力し、Generate and output a clock control value based on the output accumulated amount,
前記出力されたクロック制御値に基づいて前記クロックを生成して出力する、Generating and outputting the clock based on the output clock control value;
クロック再生方法。Clock recovery method.
クロックに同期させてバッファからパケットを出力する装置のコンピュータが実行可能な制御プログラムであって、A control program executable by a computer of a device that outputs packets from a buffer in synchronization with a clock,
パケットを受信してバッファに書き込む機能と、The ability to receive packets and write them to a buffer;
遅延の有無を監視し、遅延が検出されない場合、前記バッファの蓄積量を計測して出力し、遅延を検出した場合、遅延量を算出して該遅延量に対応する期間、パケットの受信またはパケットの出力を停止すると共に所定の蓄積量を出力する機能と、Monitors the presence or absence of a delay, and if the delay is not detected, measures and outputs the accumulated amount of the buffer. If the delay is detected, calculates the delay amount and receives a packet or packet during a period corresponding to the delay amount. A function to stop the output of and output a predetermined accumulation amount,
前記出力された蓄積量に基づいてクロック制御値を生成して出力する機能と、A function of generating and outputting a clock control value based on the output accumulated amount;
前記出力されたクロック制御値に基づいて前記クロックを生成して出力する機能と、A function of generating and outputting the clock based on the output clock control value;
を前記装置のコンピュータに実行させるための制御プログラム。A control program for causing a computer of the apparatus to execute the above.
JP2010197346A 2010-09-03 2010-09-03 Clock reproduction apparatus, clock reproduction method, and control program Active JP5406148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010197346A JP5406148B2 (en) 2010-09-03 2010-09-03 Clock reproduction apparatus, clock reproduction method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010197346A JP5406148B2 (en) 2010-09-03 2010-09-03 Clock reproduction apparatus, clock reproduction method, and control program

Publications (2)

Publication Number Publication Date
JP2012054847A JP2012054847A (en) 2012-03-15
JP5406148B2 true JP5406148B2 (en) 2014-02-05

Family

ID=45907704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010197346A Active JP5406148B2 (en) 2010-09-03 2010-09-03 Clock reproduction apparatus, clock reproduction method, and control program

Country Status (1)

Country Link
JP (1) JP5406148B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57184354A (en) * 1981-05-08 1982-11-13 Nec Corp Digital transmitter
JP3169335B2 (en) * 1996-03-06 2001-05-21 三菱電機株式会社 Line connection device
JP2002344433A (en) * 2001-05-21 2002-11-29 Matsushita Electric Ind Co Ltd Clock recovery method and clock recovery device
JP3655249B2 (en) * 2002-03-05 2005-06-02 松下電器産業株式会社 Data receiving / reproducing method and data communication apparatus
JP2009200787A (en) * 2008-02-21 2009-09-03 Nippon Telegr & Teleph Corp <Ntt> Clock frequency stabilizing method and data receiver

Also Published As

Publication number Publication date
JP2012054847A (en) 2012-03-15

Similar Documents

Publication Publication Date Title
JP5440880B2 (en) Clock synchronization system, apparatus, method, and program using packet filter
US20150134764A1 (en) Method for synchronizing clocks in nodes of a vehicle network and node designed to perform the method
JP5223427B2 (en) Clock synchronization system
US9763207B2 (en) Timing synchronization device and timing synchronization control method
JP5359314B2 (en) Transmission equipment
US10594424B2 (en) Time synchronization slave apparatus capable of adjusting time synchronization period, and method of determining time synchronization period
EP2749968A1 (en) Time control device, time control method, and program
US20140233590A1 (en) Time control device, time control method, and program
JP6452427B2 (en) Time synchronization monitoring method, communication system, and master device
US20140241479A1 (en) Frequency difference detection device, frequency difference detection method, and program
US10069583B2 (en) Faster synchronization time and better master selection based on dynamic accuracy information in a network of IEEE 1588 clocks
KR101847366B1 (en) Time synchronization device and time synchronization system
JP5406148B2 (en) Clock reproduction apparatus, clock reproduction method, and control program
JP5391964B2 (en) Clock synchronization method and packet communication system
JP5534548B2 (en) Receiving side node for clock synchronization, method and program thereof
JP4711345B2 (en) Clock regeneration method and apparatus
JP4923701B2 (en) Streaming data receiving apparatus and jitter removal circuit
EP2566078A1 (en) Determining a quality of a clock signal
JP4183535B2 (en) Optical signal transmission device for speed conversion processing of frame signal
JP2009200787A (en) Clock frequency stabilizing method and data receiver
US20230076889A1 (en) System and method of clock recovery in a packet-compatible network
JP7394804B2 (en) Information communication system and information communication device
CN103227707A (en) Synchronization processing apparatus, synchronization processing method and program
JP2005348021A (en) Data receiver and data receiving method
JP2003037620A (en) Method, equipment and system for data communication

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131008

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131031

R150 Certificate of patent or registration of utility model

Ref document number: 5406148

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350