JP2007306497A - Clock synchronization method and circuit in packet transmission - Google Patents
Clock synchronization method and circuit in packet transmission Download PDFInfo
- Publication number
- JP2007306497A JP2007306497A JP2006135337A JP2006135337A JP2007306497A JP 2007306497 A JP2007306497 A JP 2007306497A JP 2006135337 A JP2006135337 A JP 2006135337A JP 2006135337 A JP2006135337 A JP 2006135337A JP 2007306497 A JP2007306497 A JP 2007306497A
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- reception
- packet
- value
- time stamp
- 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
Links
Images
Abstract
Description
本発明は、クロック信号に従って処理されるべき映像データや音声データの如きデータを含むパケットを伝送網を介して伝送するパケット伝送システムにおける、送信側クロック信号と受信側クロック信号との間の同期をなすクロック同期方法及び回路に関する。 The present invention provides synchronization between a transmission side clock signal and a reception side clock signal in a packet transmission system that transmits a packet including data such as video data and audio data to be processed according to a clock signal via a transmission network. The present invention relates to a clock synchronization method and circuit.
図1は、公知のパケット伝送装置を示している。このパケット伝送装置においては、マスター装置1からスレーブ装置3に向けて例えば映像データの如き主データがパケットに乗せられてIP網2を介して伝送される。IP網2の如き非同期パケット伝送網を介した通信では、マスター装置1とスレーブ装置3との間で時刻すなわちクロックの同期がなされて、受信パケットに乗せられていた主データに対して適切なパケットデータ処理がなされる必要がある。そこで、基準となるマスタークロック信号を有するマスター装置1は、IP網2を介してスレーブ装置3へ送信されるべき送信パケットの送信時に、マスタークロック信号に従った送信時刻情報、すなわち、送信タイムスタンプを当該送信パケットに付加する。一方、スレーブ装置3は、マスタークロック信号に従属させるべきスレーブクロック信号を生成する。スレーブ装置3は、マスター装置1からの送信パケットを受信パケットとして受信する度に、スレーブクロック信号に従った受信時刻情報、すなわち、受信タイムスタンプを当該受信パケットに付加する。次いで、スレーブ装置3は、この受信タイムスタンプと当該受信パケットから抽出される送信タイムスタンプとを比較することにより、スレーブクロック信号とマスタークロック信号との間の周波数のズレを検出し、スレーブクロック信号の周波数がマスタークロック信号の周波数と一致するように調整を行う。これにより、マスター装置1とスレーブ装置3との間でクロック同期が実現される。
FIG. 1 shows a known packet transmission apparatus. In this packet transmission apparatus, main data such as video data is transmitted in a packet from the
クロック同期の具体的な方法としては、特許文献1及び特許文献2に開示される技術が公知である。前者の技術は、送信及び受信タイムススタンプ値間の差に比例する周波数を、例えばPLL(Phase Locked Loop)を用いて生成している(段落[0014]参照)。また、後者の技術は、ネットワーク上の連続した時間間隔の各々における最短のパケット伝達時間を計算し、計算されたこの最短パケット伝達時間という一定値を維持するように第二(受信)クロックの周波数を変え、これによって第一(送信)クロックと第二クロックの位相及び周波数について両者の同期をとっている(段落[0008]参照)。
しかしながら、IP網上でのパケット到達遅延時間は一定でも緩慢に変化するものでもなく、時々刻々に変化するジッタが存在する。微視的に見れば、送信タイムスタンプの間隔と受信タイムスタンプの間隔は必ずしも常に同じにはならず、むしろ一致することはほとんどない。さらには、マスタークロック信号とスレーブクロック信号の周波数が完全に一致している場合にさえ、送信タイムスタンプ間隔と受信タイムスタンプ間隔とが一致することなく周波数不一致として検知されてしまう場合がある。パケット到達遅延時間のジッタに精確に追従してスレーブクロック信号の周波数調整を行うと、かえて不適切な調整を行って、結果としてスレーブ装置で再生されるクロック信号の出力ジッタをさらに大きくしてしまうことになる。特に、図2に示される如く、パケットのバースト遅延や到達順序の逆転が発生した場合はその影響が大きい。 However, the packet arrival delay time on the IP network is not constant or slowly changes, and there is jitter that changes from moment to moment. From a microscopic viewpoint, the interval between the transmission time stamp and the interval between the reception time stamps is not always the same. Further, even when the frequencies of the master clock signal and the slave clock signal completely match, there may be a case where the transmission time stamp interval and the reception time stamp interval do not match and a frequency mismatch is detected. If the frequency of the slave clock signal is adjusted accurately following the jitter of the packet arrival delay time, an inappropriate adjustment is performed, resulting in a larger output jitter of the clock signal reproduced by the slave device. Will end up. In particular, as shown in FIG. 2, when the burst delay of packets or the arrival order is reversed, the influence is large.
本発明の目的は、受信側における出力ジッタを適切に抑制し得るクロック同期方法及び回路を提供することである。 An object of the present invention is to provide a clock synchronization method and circuit capable of appropriately suppressing output jitter on the receiving side.
本発明によるクロック同期方法は、クロック信号に従って処理されるべきデータを含むパケットを伝送網を介して伝送するパケット伝送システムにおける、送信側クロック信号と受信側クロック信号との間の同期をなすクロック同期方法であり、該伝送網に供給される送信パケットに、該送信側クロック信号に同期して変化し且つ該伝送網への供給タイミングを示す時刻情報を含む送信タイムスタンプを付加する送信タイムスタンプ付加ステップと、該伝送網から受信パケットとして取り込まれる該送信パケットに、該受信側クロック信号に同期して変化し且つ該伝送網からの取込タイミングを示す時刻情報を含む受信タイムスタンプを付加する受信タイムスタンプ付加ステップと、該受信パケットをその送信タイムスタンプの時刻順に並べて得られる一連の受信パケットから所定時間長の累積期間の1つ毎に、これに含まれる受信パケットを抽出し、抽出して得られる一連の抽出受信パケットの各々について、その前または後の抽出受信パケットとの間で定まる送信タイムスタンプ間隔と受信タイムスタンプ間隔との間の差分値を算出し、これを該抽出受信パケット毎に累積して差分累積値を算出する差分累積値算出ステップと、該差分累積値に応じて該受信クロック信号の周波数を調整する調整動作をなす周波数調整ステップとを含むことを特徴とする。 The clock synchronization method according to the present invention is a clock synchronization that synchronizes a transmission side clock signal and a reception side clock signal in a packet transmission system that transmits a packet including data to be processed according to the clock signal via a transmission network. A method of adding a transmission time stamp to a transmission packet supplied to the transmission network and adding a transmission time stamp that includes time information that changes in synchronization with the transmission side clock signal and indicates a supply timing to the transmission network A reception time stamp that includes time information that changes in synchronization with the reception-side clock signal and that indicates timing of capture from the transmission network, to the transmission packet that is captured as a reception packet from the transmission network A time stamp addition step, and the received packets are arranged in the order of the time of the transmission time stamp. Extracting received packets included in the received packets included in the accumulated time period of a predetermined time length from the obtained received packets and extracting the received packets before or after the extracted extracted received packets. A difference accumulation value calculating step of calculating a difference value between a transmission time stamp interval and a reception time stamp interval determined between the packets, and accumulating the difference value for each extracted reception packet; And a frequency adjustment step for performing an adjustment operation for adjusting the frequency of the received clock signal in accordance with the accumulated difference value.
本発明によるクロック同期回路は、クロック信号に従って処理されるべきデータを含む送信パケットを伝送網を介して受信し、該送信パケットの送信側クロック信号に同期した受信側クロック信号を生成するクロック同期回路であり、該伝送網から取り込んだ受信パケットに、該受信側クロック信号に同期して変化し且つ該伝送網からの取込タイミングを示す時刻情報を含む受信タイムスタンプを付加する受信タイムスタンプ付加手段と、該受信パケットから、該送信側クロック信号に同期して変化し且つ該伝送網に供給された供給タイミングを示す時刻情報を含む送信タイムスタンプを抽出する送信タイムスタンプ抽出手段と、該受信パケットをその送信タイムスタンプの時刻順に並べて得られる一連の受信パケットから所定時間長の累積期間の1つ毎に、これに含まれる受信パケットを抽出し、抽出して得られる一連の抽出受信パケットの各々について、その前または後の抽出受信パケットとの間で定まる送信タイムスタンプ間隔と受信タイムスタンプ間隔との間の差分値を算出し、これを該抽出受信パケット毎に累積して差分累積値を算出する差分累積値算出手段と、該差分累積値に応じて該受信クロック信号の周波数を調整する調整動作をなす周波数調整手段とを含むことを特徴とする。 A clock synchronization circuit according to the present invention receives a transmission packet including data to be processed according to a clock signal via a transmission network, and generates a reception side clock signal synchronized with the transmission side clock signal of the transmission packet. A reception time stamp adding means for adding a reception time stamp that includes time information that changes in synchronization with the reception side clock signal and that indicates a capture timing from the transmission network, to the received packet that is captured from the transmission network A transmission time stamp extracting means for extracting from the received packet a transmission time stamp that includes time information that changes in synchronization with the transmission side clock signal and indicates a supply timing supplied to the transmission network; and the received packet Accumulate a predetermined time length from a series of received packets obtained by arranging them in the order of their transmission time stamps For each of the intervals, the received packet included in this is extracted, and for each of a series of extracted received packets obtained by extraction, the transmission time stamp interval and reception determined between the previous and subsequent extracted received packets are received. A difference accumulated value calculating means for calculating a difference value between the time stamp intervals and accumulating the difference value for each extracted received packet to calculate a difference accumulated value; and a frequency of the received clock signal according to the difference accumulated value And frequency adjusting means for adjusting the frequency.
本発明によるクロック同期方法及び回路によれば、送信側クロック信号と受信側クロック信号との周波数がずれている場合のみならず一致してい場合にも適切な調整がなされて、受信側における出力ジッタが適切に抑制される。 According to the clock synchronization method and circuit of the present invention, an appropriate adjustment is made not only when the frequency of the transmission side clock signal is different from the frequency of the reception side clock signal but also when they coincide with each other. Is appropriately suppressed.
本発明の実施例について添付の図面を参照しつつ詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the accompanying drawings.
図3は、本発明の実施例を示し、伝送システムの全体の構成を示している。伝送システムは、マスター装置100と、IP網200と、スレーブ装置300から構成される。マスター装置100からスレーブ装置300に向けて例えば映像データの如き主データがパケットに乗せられてIP網200を介して伝送される。マスター装置100における送信クロック信号すなわちマスタークロック信号とスレーブ装置300における受信側クロック信号すなわちスレーブクロック信号との同期がなされて、伝送されるパケットに格納される主データが適切にデータ処理される必要がある。
FIG. 3 shows an embodiment of the present invention and shows the overall configuration of the transmission system. The transmission system includes a
スレーブ装置300は、IP網200から供給されるパケットに基づいてクロック同期をなすクロック同期回路10と、IP網200から供給されるパケットを受信して、クロック同期回路10から供給されるクロック信号に従って、該パケットのペイロードとしての主データに対して任意のデータ処理をなす主データ処理部20とからなる。主データ処理部20の行うデータ処理としては、例えば、主データとしての映像信号に対する復号伸張処理等のデータ処理が有り得る。
The
IP網200から到来する受信パケットには、目的となる主データが格納されていると共に、送信側のマスタ装置100により、パケット生成順に振られるシーケンス番号と、送信時に振られる送信タイムスタンプが設定すなわち打刻されている。送信タイムスタンプの作成方法は、通常、マスター装置100おいてマスタークロック信号を基に一定の規則で生成する連続した数列であれば良く、通常、マスタークロック信号により駆動される数十ビットのカウンタ出力が用いられる。
In the received packet arriving from the
クロック同期回路10は、スレーブクロック11と、受信タイムスタップ生成部12と、受信タイムスタップ打刻部13と、送信タイムスタップ抽出部14と、送受信タイムスタンプ差分算出部15と、差分蓄積部16と、調整動作判定部17と、差分繰越部18と、利得調整部19とからなる。
The
スレーブクロック11は、利得調整部19からの制御信号に応じて発振周波数の値が変化するクロック信号を生成し、これを主データ処理部20に供給する共に、受信タイムスタップ生成部12に供給する。受信タイムスタップ生成部12は、スレーブクロック11から供給されるクロック信号のクロックをカウンタによりカウントすることにより受信タイムスタンプを生成して、これを受信タイムスタップ打刻部13に供給する。受信タイムスタンプの生成方法は、マスタ装置の送信タイムスタンプの生成方法と同一の方法で生成されるのが好ましいが、マスタ装置と異なる方法で生成しても良い。例えば、スレーブクロック信号の周波数がマスタークロック信号の周波数の逓倍若しくは分周した関係にあっても良い。この場合、受信タイムスタンプの生成において両者の違いを吸収する適切な換算処理が必要となる。
The slave clock 11 generates a clock signal whose oscillation frequency value changes in accordance with a control signal from the
受信タイムスタップ打刻部13は、受信パケットの各々に、受信タイムスタップ生成部12から供給される受信タイムスタンプを打刻し、打刻された受信パケットを送信タイムスタップ抽出部14に供給する。送信タイムスタップ抽出部14は、受信タイムスタップ打刻部13から供給される受信パケットからシーケンス番号と送信タイムスタンプを抽出し、シーケンス番号に基づいて受信パケットの正しい順序と、受信タイムスタンプ及び送信タイムスタンプとを認識する。パケット間隔算出部15は、該パケットの順序と受信タイムスタンプ及び送信タイムスタンプとに基づいて、受信タイムスタンプ間隔及び送信タイムスタンプ間隔を受信パケット毎に算出する。すなわち、受信パケットをその送信タイムスタンプの時刻順に並べて得られる一連の受信パケットから所定時間長の累積期間の1つ毎に、これに含まれる受信パケットが抽出され、得られる一連の抽出受信パケットの各々について、その前または後の抽出受信パケットとの間で定まる一対の送信タイムスタンプ間隔と受信タイムスタンプ間隔とが算出される。
The reception time stamp stamping unit 13 stamps each reception packet with the reception time stamp supplied from the reception time
差分累積部16は、一対の受信タイムスタンプ間隔と送信タイムスタンプ間隔との差分を受信パケット毎に算出し、これを該累積期間の全体にわたって累積して差分累積値を得る。例えば、送信側におけるマスタークロック信号の周波数を10MHzとし、パケットの送信間隔を10msecとする。この場合、送信タイムスタンプがマスタークロック信号の単純なカウント数により生成されるとすると、送信タイムスタンプは0、10000、20000と振られることになる。そして、受信タイムスタンプは、ジッタのない理想的に条件下では、やはり10000ずつ増加するはずである。この場合、累積期間を10secすなわち10000個のパケットがサンプリングされ得る累積期間とすると、該累積期間にわたって10000個の差分が求められ、これが累積されて差分累積値が得られる。 The difference accumulating unit 16 calculates the difference between the pair of reception time stamp intervals and the transmission time stamp interval for each received packet, and accumulates the difference over the entire accumulation period to obtain a difference accumulation value. For example, the frequency of the master clock signal on the transmission side is 10 MHz, and the packet transmission interval is 10 msec. In this case, if the transmission time stamp is generated by a simple count number of the master clock signal, the transmission time stamp is set to 0, 10000, and 20000. The reception time stamp should also increase by 10,000 under ideal conditions without jitter. In this case, assuming that the accumulation period is 10 seconds, that is, an accumulation period in which 10,000 packets can be sampled, 10,000 differences are obtained over the accumulation period, and these are accumulated to obtain a difference accumulated value.
調整動作判定部17は、該累積期間の完了毎に、該累積期間全体にわたって累積された差分累積値と、後述する差分繰越部18から得られる繰越値を基にして、スレーブクロック信号の調整動作をなすか否かを差分繰越テーブル30に規定された条件で判定し、調整動作をなすと判定した場合にどの程度の調整をなすかの調整量を算定し、これを利得調整部19に供給する。差分繰越部18は、調整動作判定部17が調整量の算定に加えなかった分の差分累積値を、次回すなわち次の累積期間の調整量の算定に繰り越すために保持する。利得調整部19は、調整動作判定部17から得られる調整量に応じて、スレーブクロック11の周波数を適切に変換せしめるための利得調整を施してスレーブクロック11の周波数を調整する。調整量は、連続した値のみならず、例えば、調整しない場合を“0”とし、周波数をプラスに調整する場合を“+1”とし、周波数をマイナスに調整する場合を“−1”とする離散的な数値であっても良い。
The adjustment operation determination unit 17 adjusts the slave clock signal every time the accumulation period is completed, based on the accumulated difference value accumulated over the entire accumulation period and the carry-over value obtained from the difference carry-
図4は、図3に示された差分繰越テーブル30の設定例を示している。ここでは、「差分累積値+繰越値」と、「利得調整分への出力」と、「繰越値」との対応関係が設定されている。「差分累積値+繰越値」が“|差分累積値+繰越値|<調整閾値”の場合には、「利得調整分への出力」を“0(調整を行なわない)”とし、「繰越値」を“ 差分累積値+繰越値”とする。「差分累積値+繰越値」が“(差分累積値+繰越値)≧調整閾値”の場合には、「利得調整分への出力」を“1(+方向に調整)”とし、「繰越値」を“差分累積値+繰越値−調整閾値”とする。「差分累積値+繰越値」が“−(差分累積値+繰越値)≧調整閾値”の場合には、「利得調整分への出力」を“−1(−方向に調整)”とし、「繰越値」を“差分累積値+繰越値+調整閾値”とする。本図における差分繰越テーブル30は、1つの設定例であり、複数の閾値を組み合わせた多様な条件を設定することも可能である。 FIG. 4 shows a setting example of the difference carry-over table 30 shown in FIG. Here, the correspondence relationship between “difference accumulated value + carry-over value”, “output to gain adjustment”, and “carry-over value” is set. When “difference accumulated value + carry-over value” is “| difference accumulated value + carry-over value | <adjustment threshold”, “output to gain adjustment” is set to “0 (no adjustment)” and “carry-over value” "Is" difference accumulated value + carry forward value ". When “difference accumulated value + carry over value” is “(difference accumulated value + carry over value) ≧ adjustment threshold”, “output to gain adjustment” is set to “1 (adjusted in + direction)” and “carry over value” Is “difference accumulated value + carried over value−adjustment threshold”. When “difference accumulated value + carrying value” is “− (difference accumulated value + carrying value) ≧ adjustment threshold”, “output to gain adjustment” is set to “−1 (adjusted in the − direction)”, and “ “Carry forward value” is defined as “difference accumulated value + carry forward value + adjustment threshold”. The difference carry-over table 30 in this figure is one setting example, and various conditions combining a plurality of threshold values can be set.
図5は、本発明によるクロック同期方法及び回路の動作を説明している。前提として、マスタークロック信号の周波数を10MHz、パケット送信間隔を1ms、累積期間を10000パケットをサンプリングし得る期間である10sとしている。また、送信タイムスタンプのパケット毎の増分量が10000であることから、調整閾値を10μsのジッタに相当する“100”としている。 FIG. 5 illustrates the operation of the clock synchronization method and circuit according to the present invention. As a premise, the frequency of the master clock signal is 10 MHz, the packet transmission interval is 1 ms, and the cumulative period is 10 s, which is a period during which 10000 packets can be sampled. Further, since the increment amount of each transmission time stamp for each packet is 10,000, the adjustment threshold is set to “100” corresponding to a jitter of 10 μs.
ここで、シーケンス番号が0〜10000のパケットにおける送受信タイムスタンプの差分累積値は“−40”であり且つ差分の繰越値が“0”であることから、差分累積値と繰越値との合計値が“−40”であり合計値の絶対値が調整閾値未満である。この場合、調整は行われず、差分の繰越値に“−40”が設定される。シーケンス番号が10000〜20000のパケットについては、差分累積値と繰越値の合計値が“−80”である。この場合も、調整は行われず、差分の繰越値に“−80”が設定される。次に、シーケンス番号が20000〜30000のパケットについては、送受信タイムスタンプの差分累積値が“−40”であり且つ繰越値が“−80”であることから合計値が“−120”となって、合計値の絶対値が調整閾値以上となっている。この場合は調整が行われ、さらに、調整閾値分の“−100”が既に周波数調整に有効に働いているものと認められることから残りの端数である“−20”が繰越値として次回へ繰り越される。
Here, since the accumulated difference value of the transmission / reception time stamps in the packets having the
尚、以上の例では調整閾値を“100”としたが、かかる条件では10μs程度を超えるジッタの影響を抑制することができないため、10ms程度の大きなジッタに対しては、調整閾値を1000倍にする対応がなされる必要がある。 In the above example, the adjustment threshold is set to “100”. However, under such conditions, the influence of jitter exceeding about 10 μs cannot be suppressed. Therefore, the adjustment threshold is increased 1000 times for large jitter of about 10 ms. There is a need to take action.
以上の実施例において、本発明によるクロック同期方法及び回路を用いることにより、送受信タイムスタンプ差分の平均値で調整を行うことなく、差分累積値を用い且つこれを次の累積期間に繰り越す繰越方法を用いて調整が行われる。平均値を算出して受信側クロック周波数を調整する構成においては、クロック同期回路を実現するレジスタ等のハードウェア上の制約から、平均値の切り上げ、切り下げあるいは丸め誤差に起因して出力ジッタがむしろ拡大する虞がある。本発明による構成においては、累積値をそのまま用いて周波数を調整することから、かかる不都合が回避されている。 In the above embodiment, by using the clock synchronization method and circuit according to the present invention, there is provided a carry-over method that uses a difference accumulated value and carries it over to the next accumulation period without adjusting the average value of the transmission / reception time stamp difference. Adjustments are made. In a configuration that calculates the average value and adjusts the clock frequency on the receiving side, the output jitter is rather increased due to round-off error due to rounding up / down of the average value due to hardware restrictions such as registers that implement the clock synchronization circuit. There is a risk of doing. In the configuration according to the present invention, since the frequency is adjusted using the accumulated value as it is, such inconvenience is avoided.
尚、以上の実施例において、タイムスタンプ及びシーケンス番号を利用してIP網を介したクロック同期方法及び回路が説明されたが、マスター装置からのパケット送信間隔を一定とすることで、送信タイムスタンプ間隔に代えて、該パケット送信間隔と受信タイムスタンプ間隔との差分値を算出することによりクロック同期を実現することも可能である。 In the above embodiment, the clock synchronization method and circuit via the IP network using the time stamp and the sequence number have been described. However, the transmission time stamp can be set by keeping the packet transmission interval from the master device constant. Instead of the interval, clock synchronization can be realized by calculating a difference value between the packet transmission interval and the reception timestamp interval.
10 クロック同期回路
11 スレーブクロック
12 受信タイムスタンプ生成部
13 受信タイムスタンプ打刻部
14 送信タイムスタンプ抽出部
15 スタンプ間隔算出部
16 差分累積部
17 調整動作判定部
18 差分繰越部
19 利得調整部
20 主データ処理部
30 差分繰越テーブル
100 マスター装置
200 IP網
300 スレーブ装置
DESCRIPTION OF
Claims (6)
前記伝送網に供給される送信パケットに、前記送信側クロック信号に同期して変化し且つ前記伝送網への供給タイミングを示す時刻情報を含む送信タイムスタンプを付加する送信タイムスタンプ付加ステップと、
前記伝送網から受信パケットとして取り込まれる前記送信パケットに、前記受信側クロック信号に同期して変化し且つ前記伝送網からの取込タイミングを示す時刻情報を含む受信タイムスタンプを付加する受信タイムスタンプ付加ステップと、
前記受信パケットをその送信タイムスタンプの時刻順に並べて得られる一連の受信パケットから所定時間長の累積期間の1つ毎に、これに含まれる受信パケットを抽出し、抽出して得られる一連の抽出受信パケットの各々について、その前または後の抽出受信パケットとの間で定まる送信タイムスタンプ間隔と受信タイムスタンプ間隔との間の差分値を算出し、これを前記抽出受信パケット毎に累積して差分累積値を算出する差分累積値算出ステップと、
前記差分累積値に応じて前記受信クロック信号の周波数を調整する調整動作をなす周波数調整ステップと、
を含むことを特徴とするクロック同期方法。 A clock synchronization method for synchronizing between a transmission side clock signal and a reception side clock signal in a packet transmission system for transmitting a packet including data to be processed according to a clock signal via a transmission network,
A transmission time stamp adding step for adding to the transmission packet supplied to the transmission network a transmission time stamp that includes time information that changes in synchronization with the transmission side clock signal and indicates the supply timing to the transmission network;
A reception time stamp addition for adding a reception time stamp that includes time information that changes in synchronization with the reception side clock signal and indicates a capture timing from the transmission network to the transmission packet that is captured as a reception packet from the transmission network Steps,
A series of extracted receptions obtained by extracting and extracting the received packets included in each of the accumulated periods of a predetermined time length from the series of received packets obtained by arranging the received packets in the order of the time of the transmission timestamps. For each packet, a difference value between a transmission time stamp interval and a reception time stamp interval determined between the previous and subsequent extracted reception packets is calculated, and this is accumulated for each extracted reception packet. A difference accumulated value calculating step for calculating a value;
A frequency adjustment step of performing an adjustment operation of adjusting the frequency of the reception clock signal according to the difference accumulated value;
Including a clock synchronization method.
前記伝送網から取り込んだ受信パケットに、前記受信側クロック信号に同期して変化し且つ前記伝送網からの取込タイミングを示す時刻情報を含む受信タイムスタンプを付加する受信タイムスタンプ付加手段と、
前記受信パケットから、前記送信側クロック信号に同期して変化し且つ前記伝送網に供給された供給タイミングを示す時刻情報を含む送信タイムスタンプを抽出する送信タイムスタンプ抽出手段と、
前記受信パケットをその送信タイムスタンプの時刻順に並べて得られる一連の受信パケットから所定時間長の累積期間の1つ毎に、これに含まれる受信パケットを抽出し、抽出して得られる一連の抽出受信パケットの各々について、その前または後の抽出受信パケットとの間で定まる送信タイムスタンプ間隔と受信タイムスタンプ間隔との間の差分値を算出し、これを前記抽出受信パケット毎に累積して差分累積値を算出する差分累積値算出手段と、
前記差分累積値に応じて前記受信クロック信号の周波数を調整する調整動作をなす周波数調整手段と、
を含むことを特徴とするクロック同期回路。 A clock synchronization circuit that receives a transmission packet including data to be processed according to a clock signal via a transmission network and generates a reception side clock signal synchronized with a transmission side clock signal of the transmission packet;
A reception time stamp adding means for adding a reception time stamp that includes time information that changes in synchronization with the reception side clock signal and that indicates a capture timing from the transmission network, to the reception packet captured from the transmission network;
A transmission time stamp extraction means for extracting from the received packet a transmission time stamp that includes time information that changes in synchronization with the transmission side clock signal and indicates a supply timing supplied to the transmission network;
A series of extracted receptions obtained by extracting and extracting the received packets included in each of the accumulated periods of a predetermined time length from the series of received packets obtained by arranging the received packets in the order of the time of the transmission timestamps. For each packet, a difference value between a transmission time stamp interval and a reception time stamp interval determined between the previous and subsequent extracted reception packets is calculated, and this is accumulated for each extracted reception packet. Difference accumulated value calculating means for calculating a value;
Frequency adjusting means for performing an adjusting operation of adjusting the frequency of the reception clock signal in accordance with the accumulated difference value;
A clock synchronization circuit comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006135337A JP2007306497A (en) | 2006-05-15 | 2006-05-15 | Clock synchronization method and circuit in packet transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006135337A JP2007306497A (en) | 2006-05-15 | 2006-05-15 | Clock synchronization method and circuit in packet transmission |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007306497A true JP2007306497A (en) | 2007-11-22 |
Family
ID=38840028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006135337A Pending JP2007306497A (en) | 2006-05-15 | 2006-05-15 | Clock synchronization method and circuit in packet transmission |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007306497A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009225173A (en) * | 2008-03-17 | 2009-10-01 | Sony Corp | Receiving device, clock synchronization method and computer program |
JP2010103845A (en) * | 2008-10-24 | 2010-05-06 | Nec Corp | Ts signal delay detecting and adjusting method and apparatus |
JP2010212945A (en) * | 2009-03-10 | 2010-09-24 | Nec Corp | Receiving-side node for clock synchronization, method thereof and program thereof |
JP2014086857A (en) * | 2012-10-23 | 2014-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Frequency synchronization precision monitoring method, frequency synchronization precision monitoring device, communication method and communication system |
US9161003B2 (en) | 2012-05-02 | 2015-10-13 | Hanwha Techwin Co., Ltd. | Time synchronization apparatus and method |
WO2023273601A1 (en) * | 2021-06-29 | 2023-01-05 | Oppo广东移动通信有限公司 | Audio synchronization method, audio playback device, audio source, and storage medium |
-
2006
- 2006-05-15 JP JP2006135337A patent/JP2007306497A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009225173A (en) * | 2008-03-17 | 2009-10-01 | Sony Corp | Receiving device, clock synchronization method and computer program |
JP2010103845A (en) * | 2008-10-24 | 2010-05-06 | Nec Corp | Ts signal delay detecting and adjusting method and apparatus |
JP2010212945A (en) * | 2009-03-10 | 2010-09-24 | Nec Corp | Receiving-side node for clock synchronization, method thereof and program thereof |
US9161003B2 (en) | 2012-05-02 | 2015-10-13 | Hanwha Techwin Co., Ltd. | Time synchronization apparatus and method |
JP2014086857A (en) * | 2012-10-23 | 2014-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Frequency synchronization precision monitoring method, frequency synchronization precision monitoring device, communication method and communication system |
WO2023273601A1 (en) * | 2021-06-29 | 2023-01-05 | Oppo广东移动通信有限公司 | Audio synchronization method, audio playback device, audio source, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8018968B2 (en) | System and method for high precision clock recovery over packet networks | |
TWI410101B (en) | Message synchronization over a stochastic network | |
US8731036B2 (en) | Packet filter-based clock synchronization system, apparatus, and method, and program thereof | |
WO2014083725A1 (en) | Synchronization apparatus, synchronization system, wireless communication apparatus and synchronization method | |
EP2882120B1 (en) | A method and apparatus for mitigation of packet delay variation | |
US8416814B2 (en) | System and method for high precision clock recovery over packet networks | |
CN101171789A (en) | Time synchronizing method and apparatus based on time stamp | |
WO2005076513A1 (en) | Jitter correcting apparatus capable of ensuring synchronism between transmitter apparatus and receiver apparatus | |
US8223772B2 (en) | Clock supply device and transmission device | |
JP2007306497A (en) | Clock synchronization method and circuit in packet transmission | |
JP2014238357A (en) | Reception device, time difference calculation method and program | |
CN106712885B (en) | Clock synchronizing method, the network equipment and network system | |
JP2007282093A (en) | Apparatus and method for clock signal generation | |
WO2005002100A1 (en) | High accuracy network clock synchronization | |
US7684413B2 (en) | System and method for rate agile adaptive clocking in a packet-based network | |
JP2008177913A (en) | Communication equipment and clock reproduction method therefor | |
KR100688091B1 (en) | Frame Synchronization Method in Synchronous Ethernet and Clock Generation Apparatus | |
JP2003179662A5 (en) | ||
US10134442B2 (en) | Method for synchronising and rendering multimedia streams | |
US11343007B2 (en) | Time synchronization method and device | |
JP4156451B2 (en) | Synchronization method and communication apparatus | |
EP2341649A1 (en) | Frequency synchronization method and system in a communication network | |
US10374735B2 (en) | Communication system, communication system control method, transmission device, and reception device | |
JP7234343B2 (en) | Broadcast control device, broadcast control method and program | |
JP4023350B2 (en) | Network connection device and time stamp processing method used therefor |