JP2006254041A - Clock recovery information forming circuit and clock recovery circuit - Google Patents

Clock recovery information forming circuit and clock recovery circuit Download PDF

Info

Publication number
JP2006254041A
JP2006254041A JP2005067059A JP2005067059A JP2006254041A JP 2006254041 A JP2006254041 A JP 2006254041A JP 2005067059 A JP2005067059 A JP 2005067059A JP 2005067059 A JP2005067059 A JP 2005067059A JP 2006254041 A JP2006254041 A JP 2006254041A
Authority
JP
Japan
Prior art keywords
clock
value
carry
video
remainder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005067059A
Other languages
Japanese (ja)
Other versions
JP4613080B2 (en
Inventor
Nobuhiko Igame
信彦 井亀
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.)
Ikegami Tsushinki Co Ltd
Original Assignee
Ikegami Tsushinki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ikegami Tsushinki Co Ltd filed Critical Ikegami Tsushinki Co Ltd
Priority to JP2005067059A priority Critical patent/JP4613080B2/en
Publication of JP2006254041A publication Critical patent/JP2006254041A/en
Application granted granted Critical
Publication of JP4613080B2 publication Critical patent/JP4613080B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a clock recovery information generating circuit and a clock recovery circuit wherein clock information transmitted from a transmission side can be made small in volume while making the total cumulative value of video image clocks serve as a control input. <P>SOLUTION: A clock recovery information generating circuit on a transmission side is equipped with a counter 1 which forms reference term pulses from the transmission clocks, a counter 2 which counts the video image clocks from zero to a natural number C-1 or I-1, a register 3 which holds values of the counter 2 for each reference term pulse, a selector 4 which switches the value of C or I through control pulses, a clearing unit 5 which returns the reading of the counter 2 to zero comparing its count values, and a pulse generator 6 which outputs control pulses. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、例えばHDTV方式やSDTV方式のシステムで利用され、映像信号をサンプリングしてデジタル信号に変換し、映像信号のサンプリングクロック(以下、「映像クロック」という。)とは非同期の伝送路の同期クロック(以下、「伝送クロック」という。)を用いた同期伝送路で映像を伝送する伝送装置において、送信側では受信側で映像クロックを再生するときに使用するクロック再生情報を生成するクロック再生情報生成回路及び受信側でPLLを用いて映像クロックを再生するクロック再生回路に関する。   The present invention is used in, for example, an HDTV system or an SDTV system, samples a video signal and converts it into a digital signal, and is a transmission path asynchronous with a video signal sampling clock (hereinafter referred to as “video clock”). In a transmission apparatus that transmits video on a synchronous transmission line using a synchronous clock (hereinafter referred to as “transmission clock”), clock transmission that generates clock recovery information used when the video clock is recovered on the reception side on the transmission side The present invention relates to an information generation circuit and a clock recovery circuit that recovers a video clock using a PLL on the receiving side.

このような伝送装置では、映像クロックを受信側で再生する必要がある。受信側において、映像データは、FIFOなどの映像バッファメモリを介してクロック変換されるが、送信側に入力された映像クロックの完全な再生が行われていない場合には、映像バッファがオーバーフロー又はアンダーフローし、映像の乱れが生じる。   In such a transmission apparatus, it is necessary to reproduce the video clock on the receiving side. On the receiving side, the video data is clock-converted through a video buffer memory such as FIFO, but if the video clock input to the transmitting side is not completely reproduced, the video buffer overflows or underflows. Flow and video distortion occurs.

したがって、映像クロックを再生するための情報(以下、「クロック再生情報」という。)を映像とともに受信側に送信する必要があるが、伝送路のビットレートの制約からクロック再生情報をできるだけ小さくするのが好ましい。一方、出力する映像信号におけるジッタが規格を満足する必要があるので、クロック再生情報の精度を所定の値以上にする必要がある。   Therefore, it is necessary to transmit information for reproducing the video clock (hereinafter referred to as “clock reproduction information”) to the receiving side together with the video, but the clock reproduction information should be made as small as possible due to the bit rate limitation of the transmission path. Is preferred. On the other hand, since the jitter in the output video signal needs to satisfy the standard, the accuracy of the clock reproduction information needs to be equal to or higher than a predetermined value.

クロック再生情報は、一般に、PLLのサンプリング期間(以下、「基準期間」という。)におけるクロック数そのもの、すなわち、その期間に連続して動作するカウンタの値である。これは、基準期間が短ければ値としては小さいものの送る回数が多くなり、基準期間が長ければ送る回数が少なくなるが値が大きくなる。   The clock recovery information is generally the number of clocks in the PLL sampling period (hereinafter referred to as “reference period”), that is, the value of a counter that operates continuously during that period. If the reference period is short, the value is small, but the number of times of sending increases. If the reference period is long, the number of times of sending decreases, but the value increases.

PLLは、クロック再生情報を制御の目標値として入力(以下、「制御入力」という。)し、それに相対するフイードバック量との差分を制御偏差(以下、「制御量」という。)として、制御量が0になるように出力を変化させ、入力された目標値と一致する出力として、再生された映像クロックを得るものである。   The PLL inputs the clock recovery information as a control target value (hereinafter referred to as “control input”), and uses the difference from the feedback amount relative thereto as a control deviation (hereinafter referred to as “control amount”). The output is changed so that becomes 0, and a reproduced video clock is obtained as an output that matches the input target value.

映像クロックを受信側で再生する際の入力量をデジタルで扱うPLLにおいては、通常、一基準期間に存在するクロック数(以下、「デルタ値」という。)のみを制御入力としている(例えば、特許文献1参照)。デルタ値をクロック再生情報とした場合、伝送するビット数を減少するに際し、入力映像クロックの周波数偏差が限定されているために上位ビットが変化しないので、例えば、本来のデルタ値のうちの下位数ビットのみを伝送し、受信側で既知の上位ビットを付け加えればデルタ値を再生することができる。
特許2594666号公報
In a PLL that digitally handles an input amount when a video clock is reproduced on the receiving side, usually only the number of clocks (hereinafter referred to as “delta value”) existing in one reference period is used as a control input (for example, a patent). Reference 1). When the delta value is used as clock recovery information, when the number of bits to be transmitted is reduced, the upper bit does not change because the frequency deviation of the input video clock is limited. For example, the lower number of the original delta value The delta value can be recovered by transmitting only the bits and adding the known higher bits on the receiving side.
Japanese Patent No. 2594666

しかしながら、映像クロックを受信側で再生する際のPLLの制御入力をデルタ値とする場合、再生されるクロックの低域のジッタを抑制するためにPLLの応答を遅くすると、映像バッファのデータ占有量が変動し、長期間には映像バッファのオーバーフロー又はアンダーフローにより映像の乱れが生じる不都合がある。この不都合を解決するには、PLLの制御入力をデルタ値ではなく、映像が流れ始めてからのクロックの総数(以下、「総累積値」という。)とすればよいが、基準期間ごとにほぼ一定の範囲の値を示すデルタ値と違い、総累積値は時間経過とともに値が大きくなるので、クロック再生情報として伝送するにも、PLLの回路を構成するにも、扱いにくい。   However, if the control input of the PLL when reproducing the video clock on the receiving side is a delta value, if the response of the PLL is delayed in order to suppress the low-frequency jitter of the reproduced clock, the data occupancy of the video buffer There is a disadvantage that the video is disturbed due to overflow or underflow of the video buffer over a long period of time. In order to solve this inconvenience, the PLL control input is not the delta value, but the total number of clocks after the video starts to flow (hereinafter referred to as “total accumulated value”), but is almost constant for each reference period. Unlike the delta value indicating the value in the range, the total cumulative value increases with time, so that it is difficult to handle as a clock reproduction information or to configure a PLL circuit.

本発明の目的は、映像クロックの総累積値をPLLの制御入力としながら、送信側から伝送するクロック再生情報を小さくすることができるクロック再生情報生成回路及びクロック再生回路を提供することである。   An object of the present invention is to provide a clock recovery information generation circuit and a clock recovery circuit capable of reducing the clock recovery information transmitted from the transmission side while using the total accumulated value of the video clock as the control input of the PLL.

本発明によるクロック再生情報生成回路は、
映像信号をサンプリングしてデジタル信号に変換し、映像信号のサンプリングクロックとは非同期の伝送路の同期クロックを用いた同期伝送路で映像を伝送する際に、受信側でPLLを用いて映像クロックを再生するときに使用するクロック再生情報を生成するクロック再生情報生成回路であって、
映像伝送開始時点からの前記映像信号のサンプリングクロックの累積値から、前記同期クロックをカウントして得られる基準期間ごとに第1の自然数を少なくても1回減算し、前記減算した残余を第2の自然数で除算したときの剰余を出力する手段を具え、
前記剰余をクロック再生情報として生成することを特徴とする。
A clock recovery information generation circuit according to the present invention includes:
When a video signal is sampled and converted to a digital signal, and the video is transmitted via a synchronous transmission line using a synchronous clock that is asynchronous with the video signal sampling clock, the video clock is generated using a PLL on the receiving side. A clock reproduction information generation circuit for generating clock reproduction information used for reproduction,
The first natural number is subtracted at least once for each reference period obtained by counting the synchronous clock from the cumulative value of the sampling clock of the video signal from the video transmission start time, and the subtracted residual is calculated as a second value. Means to output the remainder when dividing by the natural number of
The remainder is generated as clock reproduction information.

本発明によるクロック再生回路は、
映像信号をサンプリングしてデジタル信号に変換し、映像信号のサンプリングクロックとは非同期の伝送路の同期クロックを用いた同期伝送路で映像を伝送する際に、受信側でPLLを用いて映像クロックを再生するクロック再生回路であって、
映像伝送開始時点からの前記映像信号のサンプリングクロックの累積値から、前記同期クロックをカウントして得られる基準期間ごとに第1の自然数を少なくても1回減算し、前記減算した残余を第2の自然数で除算したときの剰余を受信する手段と、
その剰余から前記サンプリングクロックの周波数偏差の累積値を算出する手段と、
前記周波数偏差の累積値を、前記PLLの制御量に用いたことを特徴とする。
A clock recovery circuit according to the present invention includes:
When a video signal is sampled and converted into a digital signal, and the video is transmitted through a synchronous transmission line using a synchronous clock that is asynchronous with the video signal sampling clock, the video clock is generated using a PLL on the receiving side. A clock recovery circuit for reproducing,
The first natural number is subtracted at least once for each reference period obtained by counting the synchronous clock from the accumulated value of the sampling clock of the video signal from the video transmission start time, and the subtracted residual is set to the second Means for receiving a remainder when dividing by a natural number of
Means for calculating a cumulative value of the frequency deviation of the sampling clock from the remainder;
The cumulative value of the frequency deviation is used as the control amount of the PLL.

映像データは、連続データであり、途切れることはない。映像が送信側に入力され、受信側から出力されるまでの間の全てを一つの大きな映像バッファとして見た場合、一度映像が流れ始めると、映像バッファでは常に書込みと読出しが行われる。   The video data is continuous data and is not interrupted. When all the time from when video is input to the transmission side to when it is output from the reception side is viewed as one large video buffer, once video starts to flow, writing and reading are always performed in the video buffer.

ある時点での映像バッファのデータ占有量は、映像が流れ始めてからその時点までの「総書込み量」から「総読出し量」を減算したものとなる。したがって、バッファがオーバーフロー又はアンダーフローしない(すなわち、映像が乱れない)ようにする制御とは、「総書込み量」から「総読出し量」を減算したものが一定となるようにすることである。   The data occupancy amount of the video buffer at a certain time is obtained by subtracting the “total read amount” from the “total write amount” until the time when the video starts to flow. Therefore, the control for preventing the buffer from overflowing or underflowing (that is, the image is not disturbed) is to make the value obtained by subtracting the “total read amount” from the “total write amount” constant.

このことは、映像クロックを再生するPLLとして見れば、「映像が流れ始めてからの映像クロックの総数」から「映像が流れ始めてからのPLLの発振器クロックの総数」を減算したものを制御量(制御入力とフイードバック量の差分)とすることに他ならない。このことから、映像クロックを再生するPLLは、映像クロックの総累積値を制御入力とするのが好ましい。   This can be seen as a PLL that reproduces the video clock, by subtracting the “total number of PLL oscillator clocks since the start of video” from the “total number of video clocks since the start of video”. The difference between the input and the feedback amount). For this reason, the PLL that reproduces the video clock preferably uses the total accumulated value of the video clock as a control input.

上記特許文献1に記載された回路では、デルタ値をクロック再生情報としているので、総累積値を伝送することができない。また、デルタ値を受信側で累積して総累積値を求めようとする場合、一度でもクロック再生情報の伝送を失敗すると、それ以降は総累積値の正確な再現ができなくなり、伝送の失敗が生じる度に誤差が蓄積される。   In the circuit described in Patent Document 1, since the delta value is used as the clock reproduction information, the total accumulated value cannot be transmitted. In addition, when trying to calculate the total accumulated value by accumulating the delta value on the receiving side, if transmission of the clock recovery information fails even once, the total accumulated value cannot be accurately reproduced thereafter, and transmission failure occurs. Errors are accumulated as they occur.

PLLの制御入力をクロックの総累積値とする場合、例えば、MPEGにおけるPCRはクロックの総累積値そのものであるが、データ量が比較的大きく(42ビット)、カウンタが一周して零に戻ったときの更なる処理が必要となる。   When the PLL control input is set to the total cumulative value of the clock, for example, the PCR in MPEG is the total cumulative value of the clock itself, but the data amount is relatively large (42 bits), and the counter goes round and returns to zero. Sometimes further processing is required.

さらに、PLLでロックさせるクロックの周波数を高くすると、そのクロックの総累積値をカウントするカウンタの桁数も動作速度も上がるので、クロック再生情報のビット数が更に増加し、カウンタ回路の実現が困難になる。   Furthermore, if the frequency of the clock locked by the PLL is increased, the number of digits of the counter that counts the total accumulated value of the clock and the operation speed are increased, so that the number of bits of the clock reproduction information further increases and it is difficult to realize the counter circuit. become.

本発明によれば、映像の伝送開始時点からの映像信号のサンプリングクロックの累積値と等価となる、第1の自然数で減算し、かつ、第2の自然数で除算したときの剰余から得られる周波数偏差の累積値を、PLLの制御入力に用いるので、再生されるクロックの低域のジッタを抑制するためにPLLの応答を遅くしても映像バッファのデータ占有量が変動せず、その結果、映像が乱れることのない映像クロック再生が実現できる。   According to the present invention, the frequency obtained from the remainder when subtracted by the first natural number and divided by the second natural number is equivalent to the accumulated value of the sampling clock of the video signal from the video transmission start time. Since the accumulated value of the deviation is used as the control input of the PLL, even if the response of the PLL is delayed in order to suppress the low-frequency jitter of the reproduced clock, the data occupancy of the video buffer does not fluctuate. It is possible to realize video clock reproduction without disturbing the video.

また、総累積値を直接伝送する代わりに、総累積値を第1の自然数で減算し、かつ、第2の自然数で除算したときの剰余を用いることによって、クロック再生情報を少ないビット数で構成することができるので、伝送のオーバーヘッドを低減することができる。   Further, instead of directly transmitting the total accumulated value, the clock reproduction information is configured with a small number of bits by using the remainder when the total accumulated value is subtracted by the first natural number and divided by the second natural number. Transmission overhead can be reduced.

また、クロック再生情報を伝送しない場合でも、周波数偏差の累積値をPLLの制御入力に用いているため扱うビット数が小さいので、クロック周波数を高くしても、カウンタの実現が可能になり、高い周波数のクロックを同期させるPLLを実現することができる。   Even when the clock recovery information is not transmitted, the number of bits to be handled is small because the accumulated value of the frequency deviation is used for the control input of the PLL. A PLL that synchronizes frequency clocks can be realized.

さらに、第1の自然数及び第1の自然数とは異なる第2の自然数の2種類の自然数を、映像信号のサンプリングクロック(映像クロック)と伝送路の同期クロック(伝送クロック)との周波数偏差に応じて設定することによって、映像クロックを再生するための情報(クロック再生情報)の値の変化量を小さくすることができ、その結果、伝送エラーによる情報の欠落があったとしても、受信側で欠落した値の推定が容易にできるため、PLL回路への伝送エラーによる影響が小さくなる。   Further, two kinds of natural numbers, ie, a first natural number and a second natural number different from the first natural number, are set in accordance with a frequency deviation between a video signal sampling clock (video clock) and a transmission path synchronization clock (transmission clock). Setting, it is possible to reduce the amount of change in the value of the information for reproducing the video clock (clock recovery information). As a result, even if there is a lack of information due to a transmission error, it is missing on the receiving side. Since the estimated value can be easily estimated, the influence of a transmission error on the PLL circuit is reduced.

周波数偏差の累積値を得るためには、クロック再生情報の他に、後で説明する桁上がり・桁下がりの情報を別途伝送する必要がある。好適には、受信側に前記剰余から桁上がり及び桁下がりを判定する手段を具えることで、桁上がり及び桁下がり情報を伝送する必要がない。また、前記桁上がり及び桁下がりの累積回数を計数する手段を具え、周波数偏差の累積値を算出する際に桁上がり・桁下がり成分と伝送される剰余の成分とに分けて計算することによって、大きなビット数のカウンタを必要としないので、少ないビット数で回路を構成することができ、クロック再生情報を伝送しない場合でも、回路規模を小さくすることができる。   In order to obtain the cumulative value of the frequency deviation, it is necessary to separately transmit carry / carry information described later, in addition to the clock reproduction information. Preferably, the receiving side is provided with means for determining carry and carry from the remainder, so that it is not necessary to transmit carry and carry information. Also, comprising means for counting the number of times the carry and carry are accumulated, by calculating separately the carry / carry component and the transmitted remainder component when calculating the cumulative value of the frequency deviation, Since a counter having a large number of bits is not required, a circuit can be configured with a small number of bits, and the circuit scale can be reduced even when clock recovery information is not transmitted.

本発明によるクロック再生情報生成回路及びクロック再生回路の実施の形態を、図面を参照して詳細に説明する。
図1は、クロック再生情報生成回路を含む伝送装置の送信側の構成を示す図である。なお、この伝送装置には、例えばHDTV方式やSDTV方式のシステムで利用され、後で説明するように、本発明によるクロック再生回路を受信側に具える。
Embodiments of a clock recovery information generation circuit and a clock recovery circuit according to the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a transmission side of a transmission apparatus including a clock reproduction information generation circuit. This transmission apparatus is used in, for example, an HDTV system or an SDTV system, and includes a clock recovery circuit according to the present invention on the receiving side, as will be described later.

送信側は、カウンタ1,2と、レジスタ3と、セレクタ4と、クリア部5と、パルス発生器6と、多重化器7と、出力端子8とを具える。カウンタ1は、伝送クロックにより動作し、基準期間に1度ずつ等間隔のパルス(以下、「基準期間パルス」という。)を発生する。カウンタ2は、映像クロックにより連続して動作し、セレクタ4によって決まる数をカウントする。   The transmission side includes counters 1 and 2, a register 3, a selector 4, a clear unit 5, a pulse generator 6, a multiplexer 7, and an output terminal 8. The counter 1 operates in accordance with the transmission clock and generates pulses at equal intervals (hereinafter referred to as “reference period pulses”) once every reference period. The counter 2 operates continuously by the video clock and counts the number determined by the selector 4.

レジスタ3は、カウンタ1によって生成された基準期間パルスによりカウンタ2の値を保持し、レジスタ3によって保持された値は、クロック再生情報となる。セレクタ4は、第1の自然数(Cとする。)と第2の自然数(Iとする。)のうちのいずれか一方を選択し、クリア部5は、カウンタ2の出力がI又はCと等しくなったときにカウンタ2の値を0に戻す。すなわち、カウンタ2の取り得る値は、I個又はC個に切り替えられることができる。パルス発生器6は、カウンタ1によって生成された基準期間パルスを入力し、それを基に次に基準期間パルスが到達するまでの間に、セレクタ4で切り替える値をCとしたい回数と同数のコントロールパルスを発生し、セレクタ4に付与する。多重化器7は、クロック再生情報と映像データを多重化する。出力端子8は、多重化されたデータを伝送路に出力する。   The register 3 holds the value of the counter 2 by the reference period pulse generated by the counter 1, and the value held by the register 3 becomes clock reproduction information. The selector 4 selects one of the first natural number (C) and the second natural number (I), and the clear unit 5 outputs the counter 2 equal to I or C. When this happens, the value of counter 2 is reset to zero. That is, the possible value of the counter 2 can be switched to I or C. The pulse generator 6 inputs the reference period pulse generated by the counter 1, and controls the same number of times as the number of times that the value to be switched by the selector 4 is C until the next reference period pulse arrives. A pulse is generated and applied to the selector 4. The multiplexer 7 multiplexes clock reproduction information and video data. The output terminal 8 outputs the multiplexed data to the transmission line.

セレクタ4は、通常、カウンタ2が0からI−1までカウントするように選択するが、パルス発生器6からのコントロールパルスを1個付与される度に1度だけ、カウンタ2が0からC−1までカウントするように切り替える。   The selector 4 normally selects the counter 2 to count from 0 to I-1, but the counter 2 changes from 0 to C− only once every time one control pulse from the pulse generator 6 is applied. Switch to count to 1.

図2は、本発明によるクロック再生回路を含む伝送装置の受信側の構成を示す図である。受信側は、カウンタ11,12と、レジスタ13と、セレクタ14と、クリア部15と、パルス発生器16と、入力端子17と、分離器18と、レジスタ19と、初期レジスタ20と、桁上がり・桁下がり判定器21,22と、アップダウンカウンタ23と、乗算器24と、加算器25と、PLL積分器26と、D/Aコンバータ27と、電圧制御水晶発振器(VCOX)28とを具える。   FIG. 2 is a diagram showing a configuration on the receiving side of a transmission apparatus including a clock recovery circuit according to the present invention. On the receiving side, the counters 11 and 12, the register 13, the selector 14, the clear unit 15, the pulse generator 16, the input terminal 17, the separator 18, the register 19, the initial register 20, and the carry Carry-out determining units 21 and 22, an up / down counter 23, a multiplier 24, an adder 25, a PLL integrator 26, a D / A converter 27, and a voltage controlled crystal oscillator (VCOX) 28 Yeah.

入力端子17には、伝送路からの信号が入力される。分離器18は、図1の多重化器7とは逆の動作を行うものであり、映像データとクロック再生情報とを分離する。レジスタ19は、伝送されたクロック再生情報を一時蓄積する。初期値レジスタ20は、最初にPLLの制御に使用するクロック再生情報を保持する。   A signal from the transmission line is input to the input terminal 17. The separator 18 performs the reverse operation of the multiplexer 7 in FIG. 1, and separates video data and clock reproduction information. The register 19 temporarily stores the transmitted clock recovery information. The initial value register 20 holds clock reproduction information used for the control of the PLL first.

カウンタ11は、図1のカウンタ1と同一構成を有し、受信側の基準期間パルスを生成する。カウンタ12は、図1のカウンタ2と同一構成を有し、初期値レジスタ20に保持されたクロック再生情報が初期値として与えられ、VCXO28の出力クロックによって動作する。レジスタ13は、図1のレジスタ3と同一構成を有し、カウンタ11が生成する基準期間パルスによりカウンタ12の値を保持する。セレクタ14、クリア部15及びパルス発生器16はそれぞれ、図1のセレクタ4、クリア部5及びパルス発生器6と同一構成を有し及び同一動作を行う。   The counter 11 has the same configuration as the counter 1 of FIG. 1 and generates a receiving-side reference period pulse. The counter 12 has the same configuration as the counter 2 of FIG. 1, is provided with the clock reproduction information held in the initial value register 20 as an initial value, and operates according to the output clock of the VCXO 28. The register 13 has the same configuration as the register 3 in FIG. 1 and holds the value of the counter 12 by the reference period pulse generated by the counter 11. The selector 14, the clear unit 15 and the pulse generator 16 have the same configuration and perform the same operations as the selector 4, the clear unit 5 and the pulse generator 6 of FIG.

桁上がり・桁下がり判定器21は、レジスタ19の値から桁上がり又は桁下がりが発生したか否かを判定し、桁上がり・桁下がり判定器22は、レジスタ13の値から桁上がり又は桁下がりが発生したか否かを判定する。なお、桁上がり・桁下がりについては、後に詳細に説明する。アップダウンカウンタ23は、桁上がり・桁下がり判定器21,22の桁上がり又は桁下がりの回数に応じて値を増減する。   A carry / carry determination unit 21 determines whether a carry or a carry has occurred from the value of the register 19, and a carry / carry determination unit 22 carries a carry or a carry from the value of the register 13. Whether or not has occurred is determined. The carry / carry will be described in detail later. The up / down counter 23 increases / decreases the value in accordance with the number of carry or carry of the carry / carry determination units 21 and 22.

乗算器24は、アップダウンカウンタ23からの出力をI倍(I倍する理由は後に説明する。)する。加算器25は、レジスタ19の値とレジスタ13の値との差分値を乗算器24の出力に加算する。加算器25の出力は、PLL積分器26の入力となり、PLL積分器26を通過した後、D/Aコンバータ27でアナログ化された電圧によりVCXO28を制御する。   The multiplier 24 multiplies the output from the up / down counter 23 by I (the reason will be described later). The adder 25 adds the difference value between the value of the register 19 and the value of the register 13 to the output of the multiplier 24. The output of the adder 25 becomes an input of the PLL integrator 26, and after passing through the PLL integrator 26, the VCXO 28 is controlled by the voltage analogized by the D / A converter 27.

図3は、図1のパルス発生器6及び図2のパルス発生器16の構成を示す図である。これは、入力端子31と、カウンタ32,33と、比較器34と、出力端子35とを有する。   FIG. 3 is a diagram showing the configuration of the pulse generator 6 of FIG. 1 and the pulse generator 16 of FIG. This has an input terminal 31, counters 32 and 33, a comparator 34, and an output terminal 35.

カウンタ32は、入力端子31から入力された基準期間パルスによってカウントを開始し、図1のカウンタ2又は図2のカウンタ12がCをカウントし終わるため必要な間隔で、パルスを繰り返し出力するカウンタである。カウンタ33は、コントロールパルスのパルス数を計数するカウンタである。比較器34は、カウンタ33のカウント値とカウンタ2又はカウンタ12にCをカウントさせる回数とを比較し、これらが一致したときにはカウンタ32及びカウンタ33に対してリセットパルスを出力する。リセットパルスにより、カウンタ32及びカウンタ33は、カウント値を0に戻すとともに動作を停止する。出力端子35は、カウンタ2又はカウンタ12にCをカウントさせる回数と等しい数のカウンタ32の出力パルスをコントロールパルスとして出力する。   The counter 32 is a counter that starts counting by a reference period pulse input from the input terminal 31 and repeatedly outputs a pulse at a necessary interval because the counter 2 in FIG. 1 or the counter 12 in FIG. 2 finishes counting C. is there. The counter 33 is a counter that counts the number of control pulses. The comparator 34 compares the count value of the counter 33 with the number of times the counter 2 or the counter 12 counts C, and outputs a reset pulse to the counter 32 and the counter 33 when they match. By the reset pulse, the counter 32 and the counter 33 return the count value to 0 and stop the operation. The output terminal 35 outputs the number of output pulses of the counter 32 equal to the number of times the counter 2 or the counter 12 counts C as control pulses.

ここで、先ず、I=Cの場合についての動作を説明する。図1のセレクタ4又は図2のセレクタ14は、I=Cの場合にはどちらを選択していても変化はない。   Here, first, the operation in the case of I = C will be described. The selector 4 in FIG. 1 or the selector 14 in FIG. 2 does not change regardless of which is selected when I = C.

例として、映像クロックをSDTV方式のシステムにおいて一般的である270MHzとし、伝送クロックにより生成される基準期間を1/8kHz=125μsとした場合についての動作を説明する。先ず、送信側のクロック再生情報の生成について説明すると、カウンタ2は、270MHzで常にカウントアップし、取り得る値がI(=C)個である。基準期間パルスが示すタイミングでのカウンタ2の値すなわちクロック再生情報は、1/8kHzの基準期間の累積を270MHzのクロックの個数で表し、それをIで除算したときの剰余(rとする。)と見ることができる。すなわち、1/8kHzの1期間125μsを270MHzでカウントすれば、270000000÷8000=33750個のクロックとなり、I=10と設定すれば、33750÷10=3375となって割り切れ、剰余r=0となる。クロック再生情報は、基準期間ごとに更新されて伝送されるが、この場合、映像を伝送する期間がどれだけ長くても、クロック再生情報(剰余r)の値は毎回0となる。   As an example, the operation when the video clock is 270 MHz, which is common in SDTV systems, and the reference period generated by the transmission clock is 1/8 kHz = 125 μs will be described. First, the generation of clock reproduction information on the transmission side will be described. The counter 2 always counts up at 270 MHz, and I (= C) values can be taken. The value of the counter 2 at the timing indicated by the reference period pulse, that is, the clock reproduction information, represents the accumulation of the 1/8 kHz reference period by the number of 270 MHz clocks, and the remainder when it is divided by I (referred to as r). Can be seen. That is, if 125 μs of 1/8 kHz period is counted at 270 MHz, it becomes 270000000 ÷ 8000 = 33750 clocks. If I = 10, 33750 ÷ 10 = 3375 is divisible and the remainder r = 0. . The clock reproduction information is updated and transmitted every reference period. In this case, the value of the clock reproduction information (remainder r) is 0 every time, no matter how long the video transmission period is.

一般に、定常状態において、映像クロックの270MHzと基準期間1/8kHzを作る基となる伝送クロックのいずれか一方又は両方に周波数の偏差〈僅かなズレ〉があるため、剰余rは0とならず、I−1を最大値として、値が更新されるごとに一定の速度(変化量)で増加又は減少する。   In general, in a steady state, there is a frequency deviation (slight deviation) in one or both of the transmission clocks that make up the 270 MHz of the video clock and the reference period 1/8 kHz, so the remainder r is not 0, With I-1 as the maximum value, it increases or decreases at a constant speed (change amount) each time the value is updated.

このことを、基準時間ごとにサンプルされるクロック総累積値の数列で表現する。一つ目のクロック再生情報をr1とし、二つ目のクロック再生情報をr2とし、{r1,r2,...}のように表す。今、伝送クロックを基準とすると、映像クロック270MHzが伝送クロックに同期している場合、基準期間ごとに示される総累算値は、
{270000000÷8000=33750,270000000÷8000×2=33750×2,270000000÷8000×3=33750×3,...}
={33750,67500,101250}・・・(1)
となり、それに対して、基準期間ごとに計算される剰余rは、
{33750÷10=3375剰余0,33750×2÷10=3375×2剰余0,33750×3÷10=3375×3剰余0,...}
={0,0,0,・・・}・・・(2)
となる。
This is expressed by a sequence of total clock accumulated values sampled every reference time. The first clock recovery information is r1, the second clock recovery information is r2, and {r1, r2,. . . } If the transmission clock is used as a reference now, when the video clock 270 MHz is synchronized with the transmission clock, the total accumulated value shown for each reference period is:
{270000000 ÷ 8000 = 33750, 270000000 ÷ 8000 × 2 = 33750 × 2,270000000 ÷ 8000 × 3 = 33750 × 3,. . . }
= {33750, 67500, 101250} (1)
On the other hand, the remainder r calculated for each reference period is
{33750 ÷ 10 = 3375 residue 0, 33750 × 2 ÷ 10 = 3375 × 2 residue 0, 33750 × 3 ÷ 10 = 3375 × 3 residue 0,. . . }
= {0,0,0, ...} (2)
It becomes.

伝送クロックと映像クロックが同期していない場合、映像クロックが偏差を持ち270008000Hzであるとすると、基準期間ごとに示される総累積値は、
{270008000÷8000=33751,270008000÷8000×2=33751×2,270008000÷8000×3=33751×3,...}
={33751,67502,101253}・・・(3)
であり、基準期間ごとに計算される剰余rは、
{33751÷10=3375剰余1,33751×2÷10=3375×2剰余2,33751×3÷10=3375×3剰余3,...}
={1,2,3,・・・}・・・(4)
となる。すなわち、映像クロックの周波数偏差によって発生した総累積値の変化量は、数列(3)から数列(1)を減算したものであり、これは、数列(4)と(厳密にはI−1項までは)一致する。
If the transmission clock and the video clock are not synchronized, and the video clock has a deviation of 28008000 Hz, the total accumulated value shown for each reference period is
{2708000/8000 = 33751,2700008000 / 8000 × 2 = 33751 × 2,2700008000 ÷ 8000 × 3 = 33751 × 3,. . . }
= {33751, 67502, 101253} (3)
And the remainder r calculated for each reference period is
{33751 ÷ 10 = 3375 remainder 1,33751 × 2 ÷ 10 = 3375 × 2 remainder 2,33751 × 3 ÷ 10 = 3375 × 3 remainder 3,. . . }
= {1, 2, 3, ...} (4)
It becomes. That is, the amount of change in the total accumulated value caused by the frequency deviation of the video clock is obtained by subtracting the number sequence (1) from the number sequence (3). Match)

PLLは、「映像クロックの総累積値からPLLが持つ発振器(VCXO28)クロックの総累積値を減算したものを制御量とする」が、これら両者に共通して含まれる数列(1)の結果の分は、差を取ることによって0となるために、「映像クロックの周波数偏差によって生じるクロック数の増加分(又は減少分)の総累積値から発振器クロックの周波数偏差によって生じるクロック数の増加分(又は減少分)の総累積値を減算したものを制御量とする」と等価である。すなわち、剰余rのみを総累積値として伝送すればよいこととなる。   The PLL is “the amount of control obtained by subtracting the total accumulated value of the oscillator (VCXO28) clock possessed by the PLL from the total accumulated value of the video clock”, but the result of the sequence (1) included in both of them is Since the minute becomes 0 by taking the difference, “the increase in the clock number caused by the frequency deviation of the oscillator clock from the total accumulated value of the increase (or decrease) in the clock number caused by the frequency deviation of the video clock ( Or the amount obtained by subtracting the total accumulated value of the decrease) is the control amount. That is, only the remainder r needs to be transmitted as a total accumulated value.

しかしながら、数列(3)から数列(1)を減算したものが{・・・,8,9,10,11,・・・}と増加し続けるのに対して、数列(4)は{・・・,8,9,0,1,・・・}のように最大値I−1を境にして0に戻る。このことは、I進数の桁上がりが発生した(10進数であれば、十の位が1増えたことを表す。以下、「桁上がり」という。同様に、桁下がりとは、10進数であれば、十の位が1減ったことを表す。)ということである。したがって、総累積値を得るには、桁上がり及び桁下がりの情報を伝送し又は受信側で桁上がり・桁下がりを検出する必要がある。   However, the value obtained by subtracting the number sequence (1) from the number sequence (3) continues to increase as {..., 8, 9, 10, 11,. .., 8, 9, 0, 1,...} And returns to 0 at the maximum value I-1. This indicates that a carry of an I-digit has occurred (if a decimal number, the tens place is incremented by 1. Hereinafter, it will be referred to as “carry”. Similarly, a carry may be a decimal number. This means that the tens place has decreased by one.) Therefore, to obtain the total accumulated value, it is necessary to transmit carry and carry information or to detect carry or carry on the receiving side.

受信側での桁上がり・桁下がりの検出は、次のように行うことができる。
剰余rの前回の値と今回の値の差(以下、「一度の変化量」という。)が比較的小さい場合、剰余rの一度の変化量が一定量以上急速に変化すると、桁上がり・桁下がりが発生したと判定できる。すなわち、前回の剰余rから今回の剰余rを減算したものが桁上がり・桁下がり判定のしきい値(Sとする。SはIより小さい自然数となる。)以上である場合には桁上がりであり、今回の剰余rから前回の剰余rを減算したものがしきい値S以上である場合には桁下がりである。このような桁上がり・桁下がりの判定を、受信側の桁上がり・桁下がり判定器21,22で行う。
Detection of carry or carry on the receiving side can be performed as follows.
When the difference between the previous value of the remainder r and the current value (hereinafter referred to as “amount of change once”) is relatively small, if the amount of change of the residue r changes rapidly more than a certain amount, a carry / carry It can be determined that a fall has occurred. In other words, if the value obtained by subtracting the present remainder r from the previous remainder r is equal to or greater than the carry / decay threshold (S is a natural number smaller than I), a carry is generated. Yes, if the value obtained by subtracting the previous remainder r from the current remainder r is equal to or greater than the threshold value S, a carry is generated. Such a carry / carry determination is performed by the carry / carry determinators 21 and 22 on the receiving side.

また、総累積値を扱うため、桁上がり・桁下がりの発生した回数を累積する必要がある。この累積値にIを乗算したものと、最新の剰余rのみを加算すれば、「映像クロックの周波数偏差の総累積値」(又は「発振器クロックの周波数偏差の総累積値」)が算出できる。   In addition, since the total accumulated value is handled, it is necessary to accumulate the number of times the carry or carry has occurred. If this accumulated value is multiplied by I and only the latest remainder r is added, the “total accumulated value of the frequency deviation of the video clock” (or “total accumulated value of the frequency deviation of the oscillator clock”) can be calculated.

剰余rは±1の計測誤差を伴うが、桁上がり・桁下がりの発生回数は、桁上がり・桁下がりの判定を誤らない限り誤差を含まず、求められる周波数偏差の総累積値には、常に±1の誤差しか含まないことになる。   The remainder r has a measurement error of ± 1, but the number of occurrences of carry / carry does not include an error unless the carry / carry judgment is wrong, and the total accumulated value of the obtained frequency deviation is always It contains only ± 1 error.

図4は、図2の桁上がり・桁下がり判定器21,22の構成を示す図である。桁上がり・桁下がり判定器21,22は、レジスタ41,42と、減算器43と、比較器44,45,46と、ANDゲート47,48とを有する。   FIG. 4 is a diagram showing a configuration of the carry / carry-down determiners 21 and 22 of FIG. The carry / carry determination units 21 and 22 include registers 41 and 42, a subtracter 43, comparators 44, 45 and 46, and AND gates 47 and 48.

レジスタ41は、今回のクロック再生情報を保持するレジスタであり、レジスタ42は、前回のクロック再生情報を保持するレジスタである。減算器43は、レジスタ41の値とレジスタ42の値のうち、値が大きい方から値が小さい方を減算する。その減算結果がしきい値Sより大きい場合、比較器44は、桁上がり・桁下がりが生じたことを示す。前回大きかった値がしきい値Sを超えて急速に減少した場合、桁上がりが生じたと判断でき、前回小さかった値がしきい値Sを超えて急速に増加した場合、桁下がりが生じたと判断できる。   The register 41 is a register that holds the current clock recovery information, and the register 42 is a register that holds the previous clock recovery information. The subtracter 43 subtracts the smaller one of the values of the register 41 and the register 42 from the larger value. When the subtraction result is larger than the threshold value S, the comparator 44 indicates that a carry or a carry has occurred. It can be determined that a carry has occurred if the previous large value has rapidly decreased beyond the threshold S, and a carry has been determined if the previous small value has rapidly increased beyond the threshold S. it can.

数列(3)に対して、映像クロックの偏差が2倍に増えて2700016000Hzになったとすると、基準期間ごとに示される総累積値は、
{270016000÷8000=33752,270016000÷8000×3=33752×2,270016000÷8000×3=33752×3,...}
={33752,67504,101256}・・・(5)
であり、基準期間ごとに計算される剰余rは、
{33752÷10=3375剰余2,33752×2÷10=3375×2剰余4,33752×3÷10=3375×3剰余6,...}
={2,4,6,・・・}・・・(6)
となり、数列(4)に対して剰余rが増加する速度が高くなる。(すなわち、一度の変化量が大きくなる。)。
Assuming that the deviation of the video clock is doubled to 2700016000 Hz with respect to the sequence (3), the total accumulated value shown for each reference period is
{27016000 ÷ 8000 = 33752, 27006000 ÷ 8000 × 3 = 33752 × 2,27000000 ÷ 8000 × 3 = 33752 × 3,. . . }
= {33752, 67504, 101256} (5)
And the remainder r calculated for each reference period is
{33752 ÷ 10 = 3375 remainder 2,33752 × 2 ÷ 10 = 3375 × 2 remainder 4,33752 × 3 ÷ 10 = 3375 × 3 remainder 6,. . . }
= {2, 4, 6, ...} ... (6)
Thus, the rate at which the remainder r increases with respect to the sequence (4) is increased. (In other words, the amount of change at a time becomes larger.)

さらに、偏差が増大した映像クロックが270040000Hzとなると、剰余rが{0,5,0,5,・・・}のように変化し、桁上がり・桁下がりが発生したか否かの区別が不可能になる。したがって、映像クロックと伝送クロックの最大偏差によって決定される剰余rの一度の変化量がI/2未満となるようにIの値を選択する必要があり、しきい値SはI/2となる。   Further, when the video clock with the increased deviation becomes 200400000 Hz, the remainder r changes as {0, 5, 0, 5,...}, And it is not possible to distinguish whether a carry or a carry has occurred. It becomes possible. Therefore, it is necessary to select the value of I so that the amount of change in the remainder r determined by the maximum deviation between the video clock and the transmission clock is less than I / 2, and the threshold value S is I / 2. .

I=10の場合、I/2未満の最大の自然数は4であるが、剰余rに±1の計測誤差があるので、レジスタ41,42がそれぞれ±1の誤差を有するために、許容される剰余rの一度の変化量が2であり、(33750+2)×8000=270016000Hzとなるから、偏差が約±59ppm以内であれば、桁上がり・桁下がり判定を正しく判定できることになる。このときの剰余rの最大値がI−1=9であるので、クロック再生情報として伝送するのに必要なビット数は4ビットである。   When I = 10, the maximum natural number less than I / 2 is 4, but since the remainder r has a measurement error of ± 1, the registers 41 and 42 are allowed to have an error of ± 1, respectively. Since the change amount of the remainder r at one time is 2, and (33750 + 2) × 8000 = 2700016000 Hz, if the deviation is within about ± 59 ppm, the carry / carry-down determination can be correctly determined. Since the maximum value of the remainder r at this time is I-1 = 9, the number of bits necessary for transmission as clock recovery information is 4 bits.

上記例のように映像クロックが270MHzであるとともに伝送クロックによって作られる基準期間が1/8kHzである関係においては、数列(2)に示すように映像クロックと基準期間が割り切れる関係にあるが、映像クロックと基準期間が割り切れない関係にある場合は、割り切れない剰余がクロック再生情報の一度の変化量として加算され、周波数偏差が増加した場合と同様に考えて、剰余rの一度の変化量の最大値がI/2未満となるようにIを選択する。すなわち、映像クロックと基準期間の周波数の関係、映像クロックと伝送クロックの周波数偏差の組合せによっては、剰余rの一度の変化量が増えるためにクロック再生情報のビット数を増やす必要がある。   In the relationship where the video clock is 270 MHz and the reference period created by the transmission clock is 1/8 kHz as in the above example, the video clock and the reference period are divisible as shown in the sequence (2). When the relationship between the clock and the reference period is not divisible, the remainder that is not divisible is added as a single change amount of the clock reproduction information, and the maximum change amount of the single change of the residue r is considered in the same way as when the frequency deviation increases. Select I so that the value is less than I / 2. That is, depending on the relationship between the frequency of the video clock and the reference period, and the combination of the frequency deviation between the video clock and the transmission clock, the amount of change in the remainder r increases, so it is necessary to increase the number of bits of the clock reproduction information.

次に、I=Cの場合の受信側の動作を説明する。PLLのVCXO28のクロックに対しても、送信側と同様に剰余rを用いて周波数偏差の総累積値を求める。カウンタ11によって、送信側と同一の伝送クロックから受信側での基準期間パルスを生成する。   Next, the operation on the receiving side when I = C will be described. Also for the clock of the VCXO 28 of the PLL, the total accumulated value of the frequency deviation is obtained using the remainder r as in the transmission side. The counter 11 generates a reference period pulse on the receiving side from the same transmission clock as that on the transmitting side.

カウンタ12で剰余rをカウントし、基準期間パルスにより値をレジスタ13に保持する。この際、送られてきたクロック再生情報のうちのPLLの制御を開始するときに使用する最初のクロック再生情報の値を保持したレジスタ20によって、カウンタ12の動作開始時の初期値を与え、受信側のカウンタ11で生成する基準期間パルスが到来するとカウントを開始する。これによって、受信側のカウンタ11で生成される基準期間パルスが到来したときのカウンタ12の値が、送信側のカウンタ1で生成される基準期間パルスが到来したときのカウンタ2の値(使用する最初のクロック再生情報)と一致する。PLLの最初の制御量は必ず0となるので、使用する最初のクロック再生情報の値にもかかわらず、PLLは動作を開始することができる。   The counter 12 counts the remainder r and holds the value in the register 13 by the reference period pulse. At this time, the initial value at the start of the operation of the counter 12 is given by the register 20 holding the value of the first clock recovery information used when starting the control of the PLL among the clock recovery information sent, and received. When the reference period pulse generated by the counter 11 on the side arrives, the counting starts. Thus, the value of the counter 12 when the reference period pulse generated by the counter 11 on the reception side arrives is the value of the counter 2 when the reference period pulse generated by the counter 1 on the transmission side arrives (used) Matches the first clock recovery information). Since the initial control amount of the PLL is always 0, the PLL can start operation regardless of the value of the first clock recovery information to be used.

また、送信側と受信側の二つの基準期間パルスの位相は必ずしも一致しないが、送信側の基準期間パルスから受信側の基準期間パルスまでの遅延は、クロック再生情報の伝送の固定遅延とみなすことができる。この遅延の量によって、使用する最初のクロック再生情報の値やカウンタ12の初期値が変化することはないので,PLLの制御量は変わらない。単に受信側の基準期間パルスによってPLLが動作を開始できる時点が、1基準期間以内すなわちPLLの1サンプリング以内で遅延するだけであり、PLLの動作上の問題とはならない。   In addition, the phase of the two reference period pulses on the transmitting side and the receiving side are not necessarily the same, but the delay from the reference period pulse on the transmitting side to the reference period pulse on the receiving side is regarded as a fixed delay in the transmission of the clock recovery information. Can do. The value of the first clock reproduction information to be used and the initial value of the counter 12 do not change depending on the amount of delay, so the control amount of the PLL does not change. The point in time at which the PLL can start operation simply by the reference period pulse on the receiving side is delayed within one reference period, that is, within one sampling of the PLL, and does not constitute a problem in the operation of the PLL.

PLLは、伝送クロックを基準とした「映像クロックの周波数偏差の総累積値」と「発振器クロックの周波数偏差の総累積値」との差を制御量とするが、「映像クロックの周波数偏差の総累積値」は、レジスタ13で示される剰余r(すなわち、10進数での一の位)と桁上がり・桁下がり判定器21による桁上がり・桁下がり累積回数(すなわち、10進数での十以上の位)の二つの要素の和であり、「発振器クロックの周波数偏差の総累積値」も同様にして二つの要素に分けられるので、「映像クロックの周波数偏差の桁上がり・桁下がりの累積回数」から「発振器クロックの周波数偏差の桁上がり・桁下がりの累積回数」を減算したものを先に計算してもよく、これをアップダウンカウンタ23で行っている。すなわち、クロック再生情報の桁上がり・桁下がり判定の結果と、レジスタ13の値による桁上がり・桁下がり判定の結果から、桁上がり・桁下がり回数の累積差分値をアップダウンカウンタ23に保持する。なお、アップダウンカウンタ23の増分方法を、以下の表1に示す。   The PLL uses the difference between the “total accumulated frequency deviation of the video clock” and the “total accumulated frequency deviation of the oscillator clock” based on the transmission clock as the control amount. The “cumulative value” is the remainder r (that is, one digit in decimal number) indicated by the register 13 and the number of carry / carry-down accumulations by the carry / carry determination unit 21 (that is, more than ten in decimal number). The total accumulated value of the oscillator clock frequency deviation is also divided into two elements in the same way, so "the cumulative number of carry and carry of the video clock frequency deviation" May be calculated first by subtracting “the accumulated number of carry / carry of frequency deviation of the oscillator clock”, and this is performed by the up / down counter 23. That is, the accumulated difference value of the number of carry / carry times is held in the up / down counter 23 from the result of carry / carry-down judgment of the clock reproduction information and the result of carry / carry-down judgment by the value of the register 13. The increment method of the up / down counter 23 is shown in Table 1 below.

Figure 2006254041
Figure 2006254041

表1における「伝送されたクロック再生情報」とは、レジスタ19の値であり、その「桁上がり」、「桁下がり」及び「桁変化なし」とは、桁上がり・桁下がり判定器21の結果である。同様に、「VCXOクロックでの剰余r」とは、レジスタ13の値であり、その「桁上がり」「桁下がり」及び「桁変化なし」とは、桁上がり・桁下がり判定器22の結果である。   The “transmitted clock recovery information” in Table 1 is the value of the register 19, and the “carry”, “carry”, and “no change” are the results of the carry / carry determination unit 21. It is. Similarly, the “remainder r in the VCXO clock” is the value of the register 13, and the “carry”, “carry” and “no change” are the results of the carry / carry determination unit 22. is there.

PLLがロックした定常状態では、アップダウンカウンタ23は、常に0近辺の値をとり、総累積値を扱っているものの、実際には、累積値をカウントするための大きなビット数のカウンタを一つも必要としない。アップダウンカウンタ23の値は、I進数のI位以上を表すので、I倍し、レジスタ19で示される剰余rからレジスタ13で示される剰余rを減算したものとともに加算器25で加算される。   In the steady state in which the PLL is locked, the up / down counter 23 always takes a value near 0 and handles the total accumulated value. However, in reality, there is no counter with a large number of bits for counting the accumulated value. do not need. Since the value of the up / down counter 23 represents the I-th or higher place of the I-adic number, it is multiplied by I and added by the adder 25 together with the remainder r indicated by the register 19 subtracted from the remainder r indicated by the register 13.

次に、I≠Cの場合について説明する。既に説明したように映像クロックが270008000Hzの場合、I=C=10としたときの剰余rの変化は、数列(4)で示したように{1,2,3,・・・}のようになるが、ここで、C=11,I=10とし、一基準期間の33751クロックに対して1回だけ0からC−1までをカウントし、それ以外はすべてI−1までをカウントするものとすれば、レジスタ3(図1)の値rは、基準期間の累積を表すクロック数から基準期間ごとにCを減算しそれをIで除算したときの剰余と見ることができる。したがって、(33751−11)÷10=3374剰余0となって割り切れるので、レジスタ3の値rを常に0とすることができる。同様に、映像クロックが270016000Hzの場合、I=C=10としたときの剰余rの変化は{2,4,6,・・・}のようになるが、C=11,I=10とし、一基準期間の33752クロックに対して2回だけ0からC−1までをカウントしそれ以外は全てI−1までをカウントするものとすれば、(33752−11×2)÷10=3373剰余0となって割り切れるので、レジスタ3の値rは常に0とすることができる。又は、C=12として一基準期間に1回だけ0からC−1までをカウントしても、(33752−12)÷10=3374剰余0となって、同じ結果となる。つまり、クロック再生情報生成回路は、基準期間の累積を表すクロック敷から基準期間ごとに自然数Cを少なくとも1回減算し、それを自然数Iで除算したときの剰余を求める回路であり、自然数Cの値とCを減算する回数及び自然数Iの値は、求められる剰余rの一度の変化量が最小となるように設定されるものである。クロック再生情報は、Iで除算したときの剰余として伝送される。   Next, the case where I ≠ C will be described. As described above, when the video clock is 270,8000 Hz, the change of the remainder r when I = C = 10 is as {1, 2, 3,...} As shown in the sequence (4). However, here, C = 11, I = 10, 0 to C-1 is counted only once for 33751 clocks in one reference period, and all other times are counted up to I-1. In this case, the value r of the register 3 (FIG. 1) can be regarded as a remainder when C is subtracted for each reference period from the number of clocks representing the accumulation of the reference period and divided by I. Therefore, since (33751-11) ÷ 10 = 3374 remainder 0 is divisible, the value r of the register 3 can always be 0. Similarly, when the video clock is 2,700,000 Hz, the change of the remainder r when I = C = 10 is {2, 4, 6,...}, But C = 11, I = 10, Assuming that 0 to C-1 is counted only twice with respect to the 33752 clock of one reference period and all other times are counted to I-1, (33752-11 × 2) ÷ 10 = 3373 remainder 0 Therefore, the value r of the register 3 can always be 0. Alternatively, even if 0 to C-1 is counted only once in one reference period with C = 12, (33752-12) / 10 = 3374 remainder 0 and the same result is obtained. In other words, the clock reproduction information generation circuit is a circuit for subtracting the natural number C at least once for each reference period from the clock base representing the accumulation of the reference period, and obtaining a remainder when the natural number C is divided by the natural number I. The number of times the value and C are subtracted and the value of the natural number I are set so that the amount of change of the obtained remainder r once is minimized. The clock recovery information is transmitted as a remainder when dividing by I.

図5において、カウンタ2(図1)が0から取り得る最大値まで一通りカウントしたことをボックスで表現し、カウントしたクロック数をボックスの中に表示する。例えば、カウンタ2(図1)が0から15(I=16又はC=16のとき)までをカウントしたことを、16と表記された四角で表している。   In FIG. 5, the fact that the counter 2 (FIG. 1) has counted all the way from 0 to the maximum possible value is represented by a box, and the counted number of clocks is displayed in the box. For example, the fact that the counter 2 (FIG. 1) has counted from 0 to 15 (when I = 16 or C = 16) is represented by a square represented by 16.

図5に示すように基準期間パルスの位置を基準にして見ると、レジスタ3(図1)の値は、基準を跨ぐボックスのみに注目したときの基準に対するボックスの位置であり、基準を跨ぐボックスが隣のボックスに移ったときに桁上がり・桁下がりが生じたことになる。ここで、基準を跨ぐボックスが必ずIのボックスだとすると、周波数偏差によって発生するクロック数の総累積値を得るためのクロック再生情報xは、Iのボックスにおけるカウント値を基準期間パルスで保持した値とすることができる。その理由は、xの値の増減が基準を超えたクロック数を示しており、基準を超えたクロック数の累積が周波数偏差によって発生するクロック数の総累積値に他ならないからである。xは、基準を超えたクロックの総累積値をI進数で表した時の、一の位を示す。すなわち、基準期間パルスに対するIのボックスの位置(クロック再生情報)及び基準を超えたIのボックスの累積個数(桁上がり・桁下がりの累積回数)がわかれば、周波数偏差によって発生するクロック数の総累積値が算出できる。   As shown in FIG. 5, when the position of the reference period pulse is used as a reference, the value of the register 3 (FIG. 1) is the position of the box with respect to the reference when only the box crossing the reference is focused. When the moves to the next box, a carry or a carry occurs. Here, assuming that the box straddling the reference is necessarily an I box, the clock reproduction information x for obtaining the total cumulative number of clocks generated due to the frequency deviation is a value obtained by holding the count value in the I box with a reference period pulse. can do. The reason is that the increase / decrease in the value of x indicates the number of clocks exceeding the reference, and the accumulation of the number of clocks exceeding the reference is nothing but the total accumulated value of the number of clocks generated by the frequency deviation. x represents the first place when the total accumulated value of clocks exceeding the reference is expressed in I-base. That is, if the position of the I box relative to the reference period pulse (clock recovery information) and the cumulative number of I boxes exceeding the reference (the cumulative number of carry / carry down) are known, the total number of clocks generated by the frequency deviation is determined. Cumulative value can be calculated.

したがって、基準を跨がない位置に挿入されるCのボックスのサイズ(Cの値)又はCのボックスが一基準期間に挿入される個数は、基準を跨ぐIのボックスの位置ができるだけずれないように(すなわち、xの一度の変化量が小さくなるように)設定されればよい。   Therefore, the size of the C box inserted at a position that does not cross the reference (the value of C) or the number of C boxes that are inserted in one reference period does not shift the position of the I box that crosses the reference as much as possible. (That is, the amount of change in x once is small).

実際に基準を跨ぐボックスが必ずIのボックスになるようにするには、Cのボックスが基準を跨ぐボックスとならないような位置に挿入され、それ以外は全てIのボックスであればよい。パルス発生器6によってCのボックスの挿入の個数とタイミングをコントロールするが、パルス発生器6に基準期間パルスを入力し、基準期間パルスに同期した定遅延のパルスを出力するものとすれば、Cのボックスが基準を跨ぐボックスとならないようにすることは、容易である。   In order to ensure that the box that actually crosses the reference is always an I box, the C box is inserted at a position that does not become the box that crosses the reference, and all other boxes may be I boxes. The number and timing of C box insertions are controlled by the pulse generator 6. If a reference period pulse is input to the pulse generator 6 and a constant delay pulse synchronized with the reference period pulse is output, C It is easy to prevent the box from becoming a box straddling the standard.

上記例と同様に、映像クロックを270MHzとし、伝送クロックにより生成される基準期間を1/8kHz=125μsとした場合についての動作を説明する。先ず、送信側でのクロック再生情報の生成について説明すると、パルス発生器6は、カウンタ1が出力する基準期間パルスを入力し、次に基準期間パルスが到達するまでの間の位置(Cのボックスが基準期間パルスを跨がない位置)で、Cのボックスを挿入する所定の個数のパルスを発生させる。セレクタ4は、パルス発生器のパルスが到達する度にCをセレクトし、カウンタ2が0からC−1をカウントする。Cのボックスが挿入される位置は、基準期間パルスを跨がない位置であるから、基準期間パルスを跨ぐ位置のボックスはIのボックスである。   As in the above example, the operation when the video clock is 270 MHz and the reference period generated by the transmission clock is 1/8 kHz = 125 μs will be described. First, the generation of the clock recovery information on the transmission side will be described. The pulse generator 6 inputs the reference period pulse output from the counter 1 and then the position (C box) until the reference period pulse arrives. At a position that does not cross the reference period pulse), a predetermined number of pulses for inserting the C box are generated. The selector 4 selects C every time the pulse of the pulse generator arrives, and the counter 2 counts from 0 to C-1. Since the position at which the C box is inserted is a position that does not straddle the reference period pulse, the box at the position that straddles the reference period pulse is the I box.

Cの値をI±αと設定するものとすると、一基準期間における映像クロックと伝送クロックの周波数の関係及び各周波数偏差に応じて生じる増加分(又は減少分)を1の単位で設定できるαによって補正することができるので、クロック再生情報の一度の変化量は0.5以下に抑えられる。映像クロックと伝送クロックの周波数の関係及び各周波数偏差に応じたCとIの値とCの挿入回数を選択し、クロック再生情報の一度の変化量が0.5以下となるように設定することで、クロック再生情報のビット数を増やす必要がなく、また、伝送エラーによりクロック再生情報を受信できなかった場合でも値の推測が容易となる(値の一度の変化量を0か1に限定して推測しても大きな誤差とならない)。   If the value of C is set to I ± α, the relationship between the frequency of the video clock and the transmission clock in one reference period and the increase (or decrease) that occurs according to each frequency deviation can be set in units of 1. Therefore, the amount of change in the clock reproduction information at a time can be suppressed to 0.5 or less. Select the relationship between the frequency of the video clock and the transmission clock, the value of C and I according to each frequency deviation, and the number of insertions of C, and set the amount of change in the clock recovery information to be 0.5 or less Therefore, it is not necessary to increase the number of bits of the clock recovery information, and even if the clock recovery information cannot be received due to a transmission error, it is easy to estimate the value (the change amount of the value once is limited to 0 or 1). Guessing will not cause a large error).

Cの値とCのボックスの挿入回数の設定により、クロック再生情報の一度の変化量が0.5以下に抑えられることを説明する。
今、伝送クロックを基準として、映像クロックが偏差を持ち270008000Hzだとすると、基準期間ごとに示される総累積値は、上記数列(3)より、
{33751,67502,101253,・・・}
であり、I=C=10としたときには、基準期間ごとに計算される剰余rは、前述の数列(4)より
{1,2,3,・・・}
であるが、ここで、C=11,I=10とし、Cのボックスを挿入する個数を1とすると、クロック再生情報は、一基準期間ごとに11を一つ減じたものを10で除算するときの剰余であるから、
{(33751−11)÷10=3374剰余0,(33751−11)×2÷10=3374×2剰余0,(33751−11)×3÷10=3374×3剰余0,・・・}
={0,0,0,・・・}・・・(10)
となる。
It will be described that the amount of change in the clock reproduction information can be suppressed to 0.5 or less by setting the C value and the number of insertions of the C box.
Now, assuming that the video clock has a deviation of 2,800,000 Hz with reference to the transmission clock, the total accumulated value shown for each reference period is from the above sequence (3):
{33751, 67502, 101253, ...}
When I = C = 10, the remainder r calculated for each reference period is obtained from the above-described sequence (4).
{1, 2, 3, ...}
However, assuming that C = 11, I = 10 and the number of C boxes to be inserted is 1, the clock reproduction information is obtained by dividing one subtracted 11 by 10 for each reference period. Because it is a surplus of time,
{(33751-11) ÷ 10 = 3374 remainder 0, (33751-11) × 2 ÷ 10 = 3374 × 2 remainder 0, (33751-11) × 3 ÷ 3 = 3374 × 3 remainder 0,.
= {0,0,0, ...} (10)
It becomes.

同様に、映像クロックの偏差が2倍に増え270016000Hzであるとすると、基準期間ごとに示される総累積値は、数列(5)から
{33752,67504,101256,・・・}
であり、I=C=10としたときには、基準期間ごとに計算される剰余rは、数列(6)から
{2,4,6,・・・}
となるが、C=12,I=10とすれば、
{(33752−12)÷10=3374剰余0,(33752−12)×2÷10=3374×2剰余0,(33752−12)×3÷10=3374×3剰余0,・・・}
={0,0,0,・・・}・・・(11)
となる。又は、C=11,I=10とし、Cのボックスを挿入する個数を2とすると、
{(33752−(11×2))÷10=3373剰余0,(33752−(11×2))×2÷10=3373×2剰余0,(33752−(11−2))×3÷10=3373×3剰余0,・・・}
={0,0,0,・・・}・・・(12)
となる。
Similarly, assuming that the deviation of the video clock doubles to 27006,000 Hz, the total accumulated value shown for each reference period is from the sequence (5).
{33752, 67504, 101256, ...}
When I = C = 10, the remainder r calculated for each reference period is obtained from the sequence (6).
{2, 4, 6, ...}
However, if C = 12, I = 10,
{(33752-12) ÷ 10 = 3374 residue 0, (33752-12) × 2 ÷ 10 = 3374 × 2 residue 0, (33752-12) × 3 ÷ 3 = 3374 × 3 residue 0,.
= {0,0,0, ...} (11)
It becomes. Or, if C = 11, I = 10 and the number of C boxes to be inserted is 2,
{(337752- (11 × 2)) ÷ 10 = 3373 remainder 0, (337752- (11 × 2)) × 2 ÷ 10 = 3373 × 2 remainder 0, (33752- (11-2)) × 3 ÷ 10 = 3373 × 3 remainder 0,.
= {0,0,0, ...} (12)
It becomes.

すなわち、伝送クロックを基準として、映像クロックの持つ偏差が8000Hz(基準期間の周波数)増えるごとにCによる調整量を1増やせばクロック再生情報は0となる。このことから、映像クロックの持つ偏差が8000Hz,16000Hz,・・・の中間である4000Hz,12000Hz,・・・のとき、クロック再生情報の一度の変化量が最大となる。例えば、映像クロックが270012000Hzだとすると、基準期間ごとに示される総累積値は
{270012000÷8000=33751.5,270012000÷8000×2=33751.5×2,270012000÷8000×3=33751.5×3,・・・}
={33751.5,67503,101254.5,・・・}・・・(13)
であり、C=11,I=10とし、Cのボックスを挿入する個数を1とすると、基準期間ごとに計算されるクロック再生情報は、
{(33751.5−11)÷10=3374剰余0.5,(33751.5−11)×2÷10=3374×2剰余1,(33751.5−11)×3÷10=3374×3剰余1.5,・・・}
={0.5,1,1.5,・・・}・・・(14)
と一度の変化量が0.5となるが、クロック再生情報は、カウンタ2が示す自然数であるから、実際には
={0,1,1,2,2,・・・}・・・(54)
のように、2回に1回ずつ値が増える場合が一度の変化量の最大となる。
That is, the clock reproduction information becomes 0 if the adjustment amount by C is increased by 1 every time the deviation of the video clock increases by 8000 Hz (frequency of the reference period) with reference to the transmission clock. From this, when the deviation of the video clock is 4000 Hz, 12000 Hz,... Which is the middle of 8000 Hz, 16000 Hz,. For example, if the video clock is 27003,000 Hz, the total accumulated value shown for each reference period is
{270001000/8000 = 33751.5, 27003000/8000 × 2 = 33751.5 × 2, 200123000/8000 × 3 = 33751.5 × 3,.
= {33751.5, 67503, 101254.5, ...} (13)
And C = 11, I = 10, and the number of C boxes to be inserted is 1, the clock recovery information calculated for each reference period is
{(33751.5-11) ÷ 10 = 3374 remainder 0.5, (33751.5-11) × 2 ÷ 10 = 3374 × 2 remainder 1, (33751.5-11) × 3 ÷ 10 = 3374 × 3 Remainder 1.5, ...}
= {0.5, 1, 1.5, ...} (14)
Although the amount of change at one time is 0.5, since the clock reproduction information is a natural number indicated by the counter 2, in reality, = {0, 1, 1, 2, 2,. 54)
As in the case where the value increases once every two times, the amount of change at one time is the maximum.

したがって、Cの値とCのボックスの個数が適切に設定されれば、クロック再生情報が伝送エラーにより伝達されなくても、受信側では受信できなかったクロック再生情報が前回と同値であると推測しても最大誤差は1であり、PLL動作上の大きな影響とはならない。   Therefore, if the value of C and the number of boxes of C are set appropriately, even if the clock recovery information is not transmitted due to a transmission error, it is assumed that the clock recovery information that could not be received on the receiving side is the same value as the previous time. Even so, the maximum error is 1, which does not have a great influence on the PLL operation.

また、伝送エラーの後に正常なクロック再生情報が得られれば、総累積値が最新のクロック再生情報によって算出されるので、桁上がり・桁下がりの判定を誤らない限りこの推測による誤差は以降には含まれない。桁上がり・桁下がりの判定は、伝送エラーによってクロック再生情報が得られない場合が連続し、伝送エラーとなる直前のクロック再生情報の値と伝送エラーが終わった直後のクロック再生情報の値との差が桁上がり・桁下がり判定のしきい値Sに達しない限り、誤らない。   In addition, if normal clock recovery information is obtained after a transmission error, the total accumulated value is calculated from the latest clock recovery information. Not included. The determination of carry or carry is continued when the clock recovery information cannot be obtained due to a transmission error, and the value of the clock recovery information immediately before the transmission error occurs and the value of the clock recovery information immediately after the transmission error ends. As long as the difference does not reach the carry / decay threshold value S, no error occurs.

逆に、Cの値とCのボックスの個数が適切であるか否かは、出力されるクロック再生情報の一度の変化量を見れば分かる。すなわち、出力されるクロック再生情報の一度の変化量が0.5を超える場合は適切でない。クロック再生情報の一度の変化量を観察し、変化量が適切でない場合は、Cの値及びCのボックスの個数により増減する数を±1変化させ、一度の変化量が0.5以下になるまで繰り返せば適切な設定を行うことができる。   Conversely, whether or not the value of C and the number of boxes of C are appropriate can be determined by looking at the amount of change in the output clock recovery information at one time. In other words, it is not appropriate if the amount of change in the output clock recovery information once exceeds 0.5. Observe the amount of change in the clock reproduction information at one time. If the amount of change is not appropriate, change the number to be increased or decreased by ± 1 depending on the value of C and the number of boxes in C, and the amount of change at a time becomes 0.5 or less. Repeat until you can make the appropriate settings.

映像クロックと伝送クロックによって生成される基準期間が割り切れない関係である場合、その割り切れない剰余は、クロック再生情報の一度の変化量として重畳される。Cの値とCのボックスの個数を選定することにより、映像クロックと基準期間が割り切れない関係であっても、クロック再生情報の一度の変化量を低減することができる。   In the case where the reference period generated by the video clock and the transmission clock is not divisible, the non-divisible remainder is superimposed as a single change in the clock reproduction information. By selecting the value of C and the number of boxes of C, even if the relationship between the video clock and the reference period is not divisible, it is possible to reduce the amount of change in the clock reproduction information at one time.

運用上の設定方法として、Iは固定値とし、周波数偏差に応じてCの値及び挿入されるCのボックスの個数を設定し、それをPLL動作前に予め受信側に通達する場合が考えられる。このとき、例えば、Iのボックスを10とし、Cのボックスを17(5bit必要)とすると、カウンタのビット数を増やす必要があり、カウンタ回路の動作速度が下がるので、ビット数が増えない範囲でCの値をI+1又はI−1に調整し、後はCのボックスの個数で調整するのが適切である。   As an operational setting method, I is assumed to be a fixed value, the value of C and the number of C boxes to be inserted are set according to the frequency deviation, and this is notified in advance to the receiving side before the PLL operation. . At this time, for example, if the I box is 10 and the C box is 17 (5 bits are required), it is necessary to increase the number of bits of the counter, and the operation speed of the counter circuit decreases, so that the number of bits does not increase. It is appropriate to adjust the value of C to I + 1 or I-1, and then adjust the number of C boxes.

次に、図2における受信側のクロック再生回路の動作について説明する。
送信側から伝送されるクロック再生情報は、Iのボックスにおいて図5での基準を超えたクロック数を表しており、桁上がり・桁下がり判定器21によりIのボックスにおける桁上がり・桁下がり判定を行えば「周波数偏差によって生じるクロック数の増加分の総累積値」が求まるので、これを直接PLLの制御入力とすることができる。
Next, the operation of the receiving clock recovery circuit in FIG. 2 will be described.
The clock recovery information transmitted from the transmission side represents the number of clocks exceeding the reference in FIG. 5 in the box I, and the carry / carry determination unit 21 performs carry / carry determination in the I box. If this is done, the “total cumulative value of the increase in the number of clocks caused by the frequency deviation” can be obtained, and this can be directly used as the control input of the PLL.

受信側でも、VCOX28の出力をクロックとして送信側と同じクロック再生情報生成回路をもち、送信側で設定したCの値とCのボックスの個数(カウンタ12が0からC−1までをカウントする回数)を用い、送信側と同様に剰余を求めるが、それ以外の桁上がり・桁下がり判定器21,22、アップダウンカウンタ23、乗算器24、加算器25、D/Aコンバータ27及びVCXO28は、回路構成及び動作ともにI=Cの場合と同一である。初期レジスタ20は、最初に制御に使用するクロック再生情報を初期値としてカウンタ12に与える。   The receiving side also has the same clock reproduction information generation circuit as the transmitting side using the output of the VCOX 28 as a clock, and the value of C set on the transmitting side and the number of C boxes (the number of times the counter 12 counts from 0 to C-1). ), The remainder is obtained in the same manner as on the transmission side, but the other carry / carry-down decision units 21, 22, up / down counter 23, multiplier 24, adder 25, D / A converter 27 and VCXO 28 are The circuit configuration and operation are the same as in the case of I = C. The initial register 20 provides clock recovery information used for control first to the counter 12 as an initial value.

受信側においても、送信側のクロック再生情報生成回路で設定したCの値とCのボックスの個数により、送信側と同じ値を発振器クロックの総累積値から減算している。今、映像クロックの総累積値をX、発振器クロックの総累積値をY、送信側のクロック再生情報生成回路で設定したCの値とCのボックスの個数により減算する総量をAとすると、PLLの制御量すなわち映像クロックの総累積値と発振器クロックの総累積値との差分値は、
X−Y
であり、Xの代わりにX−A、Yの代わりにY−Aを用いても、
(X−A)−(Y−A)=X−Y−A+A=(X一Y)
であるから、PLLの制御量は同一になる。すなわち、Cの値とCのボックスの個数は、PLLの制御量とは関係がなく、独立している。
Also on the reception side, the same value as that on the transmission side is subtracted from the total accumulated value of the oscillator clocks depending on the value of C set by the clock recovery information generation circuit on the transmission side and the number of C boxes. Now, if the total accumulated value of the video clock is X, the total accumulated value of the oscillator clock is Y, and the total amount to be subtracted by the value of C and the number of boxes of C set by the clock reproduction information generation circuit on the transmission side is A, the PLL Control amount, that is, the difference value between the total accumulated value of the video clock and the total accumulated value of the oscillator clock is
XY
Even if X-A is used instead of X and YA is used instead of Y,
(X−A) − (Y−A) = X−Y−A + A = (X 1 Y)
Therefore, the control amount of the PLL is the same. In other words, the value of C and the number of C boxes are independent of the control amount of the PLL and are independent.

クロック再生情報は、既に説明したように、X−AをIで除算したときの剰余であり、X−AをI進数で表したときの一の位と見ることができるから、桁上がり・桁下がり判定器21,22はIにおける桁上がり・桁下がりを判定するものであり、判定のしきい値SはI/2となる。アップダウンカウンタ23は、桁上がり・桁下がり判定器21,22のIにおける桁上がり・桁下がりの回数を累積するものであるから、乗算器24はI倍し、加算器25はX−AとY−Aとの差分値すなわちX−Yを求める。   As described above, the clock reproduction information is a remainder when X-A is divided by I, and can be regarded as one place when X-A is represented by an I-ary number. The fall judging devices 21 and 22 judge carry or carry in I, and the judgment threshold value S is I / 2. Since the up / down counter 23 accumulates the number of carry / carry times in I of the carry / carry determination units 21 and 22, the multiplier 24 multiplies I, and the adder 25 uses X−A. A difference value from YA, that is, XY is obtained.

本実施の形態では、映像クロックと伝送クロックの周波数偏差に応じてIとC(Iを任意の自然数とし、CとIとは、互いに相違する任意の自然数とする。)を選択することによって、映像クロックと伝送クロックの周波数偏差に対して、クロック再生情報がカバーできる範囲を適切に設定することができる。また、映像クロックと伝送クロックの周波数偏差に応じてIとCを適切に設定することによって、クロック再生情報の変化量が少なくなり、伝送するクロック再生情報が大きく変化しないということは、クロック再生情報が欠落しても値を容易に推定できることを意味し、その結果、桁上がり・桁下がりの判定を誤らないので、欠落以降も誤差±1の累積値を得ることができる。   In this embodiment, by selecting I and C (I is an arbitrary natural number, and C and I are arbitrary natural numbers different from each other) according to the frequency deviation between the video clock and the transmission clock, With respect to the frequency deviation between the video clock and the transmission clock, the range that can be covered by the clock recovery information can be set appropriately. Further, by appropriately setting I and C according to the frequency deviation between the video clock and the transmission clock, the amount of change in the clock reproduction information is reduced, and the clock reproduction information to be transmitted does not change greatly. This means that even if missing, the value can be easily estimated, and as a result, determination of carry or carry is not made erroneously, so that a cumulative value of error ± 1 can be obtained even after missing.

本発明は、上記実施の形態に限定されるものではなく、幾多の変更及び変形が可能である。
例えば、上記実施の形態において、説明の簡単のために、映像クロックをSDTV方式のシステムにおいて一般的である270MHzとし、伝送クロックにより生成される基準期間を1/8kHz=125μsとした場合についての動作を説明したが、HDTV方式のシステムで採用されるような他の映像クロック及び基準期間を用いることもできる。
The present invention is not limited to the above-described embodiment, and many changes and modifications can be made.
For example, in the above embodiment, for simplicity of explanation, the operation when the video clock is 270 MHz, which is common in SDTV systems, and the reference period generated by the transmission clock is 1/8 kHz = 125 μs. However, other video clocks and reference periods such as those employed in HDTV systems can also be used.

本発明によるクロック再生情報生成回路を含む伝送装置の送信側の構成を示す図である。It is a figure which shows the structure of the transmission side of the transmission apparatus containing the clock reproduction | regeneration information generation circuit by this invention. 本発明によるクロック再生回路を含む伝送装置の受信側の構成を示す図である。It is a figure which shows the structure of the receiving side of the transmission apparatus containing the clock reproduction circuit by this invention. パルス発生器の構成を示す図である。It is a figure which shows the structure of a pulse generator. 桁上がり・桁下がり判定器の構成を示す図である。It is a figure which shows the structure of a carry / carry-down determination device. 本発明によるクロック再生情報生成回路及びクロック再生回路の動作を説明するための図である。It is a figure for demonstrating operation | movement of the clock reproduction information generation circuit by this invention, and a clock reproduction circuit.

符号の説明Explanation of symbols

1,2,11,12,32,33 カウンタ
3,13,19,41,42 レジスタ
4,14 セレクタ
5,15 クリア部
6,16 パルス発生器
7 多重化器
8 出力端子
17,31 入力端子
18 分離器
20 初期値レジスタ
21,22 桁上がり・桁下がり判定器
23 アップダウンカウンタ
24 乗算器
25 加算器
26 PLL積分器
27 D/Aコンバータ
28 電圧制御水晶発振器
35 出力端子
43 減算器
34,44,45,46 比較器
47,48 ANDゲート

1, 2, 11, 12, 32, 33 Counter 3, 13, 19, 41, 42 Register 4, 14 Selector 5, 15 Clear unit 6, 16 Pulse generator 7 Multiplexer 8 Output terminal 17, 31 Input terminal 18 Separator 20 Initial value register 21, 22 Carry / carry determination unit 23 Up / down counter 24 Multiplier 25 Adder 26 PLL integrator 27 D / A converter 28 Voltage control crystal oscillator 35 Output terminal 43 Subtractor 34, 44, 45, 46 Comparator 47, 48 AND gate

Claims (3)

映像信号をサンプリングしてデジタル信号に変換し、映像信号のサンプリングクロックとは非同期の伝送路の同期クロックを用いた同期伝送路で映像を伝送する際に、受信側でPLLを用いて映像クロックを再生するときに使用するクロック再生情報を生成するクロック再生情報生成回路であって、
映像伝送開始時点からの前記映像信号のサンプリングクロックの累積値から、前記同期クロックをカウントして得られる基準期間ごとに第1の自然数を少なくとも1回減算し、前記減算した残余を第2の自然数で除算したときの剰余を出力する手段を具え、
前記剰余をクロック再生情報として生成することを特徴とするクロック再生情報生成回路。
When a video signal is sampled and converted into a digital signal, and the video is transmitted through a synchronous transmission line using a synchronous clock that is asynchronous with the video signal sampling clock, the video clock is generated using a PLL on the receiving side. A clock reproduction information generation circuit for generating clock reproduction information used for reproduction,
The first natural number is subtracted at least once for each reference period obtained by counting the synchronous clock from the accumulated value of the sampling clock of the video signal from the video transmission start time, and the subtracted residue is used as the second natural number. With a means to output the remainder when dividing by
A clock reproduction information generation circuit generating the remainder as clock reproduction information.
映像信号をサンプリングしてデジタル信号に変換し、映像信号のサンプリングクロックとは非同期の伝送路の同期クロックを用いた同期伝送路で映像を伝送する際に、受信側でPLLを用いて映像クロックを再生するクロック再生回路であって、
映像伝送開始時点からの前記映像信号のサンプリングクロックの累積値から、前記同期クロックをカウントして得られる基準期間ごとに第1の自然数を少なくとも1回減算し、前記減算した残余を第2の自然数で除算したときの剰余を受信する手段と、
その剰余から前記サンプリングクロックの周波数偏差の累積値を算出する手段と、
前記周波数偏差の累積値を、前記PLLの制御量に用いたことを特徴とするクロック再生回路。
When a video signal is sampled and converted into a digital signal, and the video is transmitted through a synchronous transmission line using a synchronous clock that is asynchronous with the video signal sampling clock, the video clock is generated using a PLL on the receiving side. A clock recovery circuit for reproducing,
The first natural number is subtracted at least once for each reference period obtained by counting the synchronous clock from the accumulated value of the sampling clock of the video signal from the video transmission start time, and the subtracted residue is used as the second natural number. Means for receiving the remainder when divided by
Means for calculating a cumulative value of the frequency deviation of the sampling clock from the remainder;
A clock recovery circuit using the accumulated value of the frequency deviation as a control amount of the PLL.
前記周波数偏差の累積値を算出する手段が
前記剰余から桁上がり及び桁下がりを判定する手段と
前記桁上がり及び桁下がりの累積回数を計数する手段とを具え、
前記桁上がり及び桁下がりの累積回数と、前記剰余とを用いて前記周波数偏差の累積値を算出することを特徴とする請求項2記載のクロック再生回路

Means for calculating the cumulative value of the frequency deviation comprises means for determining a carry and a carry from the remainder; and a means for counting the cumulative number of carry and carry.
3. The clock recovery circuit according to claim 2, wherein a cumulative value of the frequency deviation is calculated using the accumulated number of carry and carry and the remainder.

JP2005067059A 2005-03-10 2005-03-10 Clock reproduction information generation circuit and clock reproduction circuit Expired - Fee Related JP4613080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005067059A JP4613080B2 (en) 2005-03-10 2005-03-10 Clock reproduction information generation circuit and clock reproduction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005067059A JP4613080B2 (en) 2005-03-10 2005-03-10 Clock reproduction information generation circuit and clock reproduction circuit

Publications (2)

Publication Number Publication Date
JP2006254041A true JP2006254041A (en) 2006-09-21
JP4613080B2 JP4613080B2 (en) 2011-01-12

Family

ID=37094055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005067059A Expired - Fee Related JP4613080B2 (en) 2005-03-10 2005-03-10 Clock reproduction information generation circuit and clock reproduction circuit

Country Status (1)

Country Link
JP (1) JP4613080B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267889A (en) * 2008-04-28 2009-11-12 Nippon Hoso Kyokai <Nhk> Video signal transmitting apparatus, receiving apparatus and video transmitter
CN101807913A (en) * 2010-03-26 2010-08-18 华为技术有限公司 Enabling signal generating method, device and equipment of low-speed clock
CN110061827A (en) * 2018-01-19 2019-07-26 中电普瑞电力工程有限公司 A kind of collecting method at equal intervals and device based on synchronised clock

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03101329A (en) * 1989-09-13 1991-04-26 Fujitsu Ltd Clock synchronizing system
JPH04207883A (en) * 1990-11-30 1992-07-29 Fujitsu Ltd Clock synchronizing system
JPH088918A (en) * 1994-06-16 1996-01-12 Matsushita Electric Ind Co Ltd Method and circuit for clock recovery
JPH09182100A (en) * 1995-12-21 1997-07-11 Fujitsu Ltd Pll circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03101329A (en) * 1989-09-13 1991-04-26 Fujitsu Ltd Clock synchronizing system
JPH04207883A (en) * 1990-11-30 1992-07-29 Fujitsu Ltd Clock synchronizing system
JPH088918A (en) * 1994-06-16 1996-01-12 Matsushita Electric Ind Co Ltd Method and circuit for clock recovery
JPH09182100A (en) * 1995-12-21 1997-07-11 Fujitsu Ltd Pll circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267889A (en) * 2008-04-28 2009-11-12 Nippon Hoso Kyokai <Nhk> Video signal transmitting apparatus, receiving apparatus and video transmitter
CN101807913A (en) * 2010-03-26 2010-08-18 华为技术有限公司 Enabling signal generating method, device and equipment of low-speed clock
CN110061827A (en) * 2018-01-19 2019-07-26 中电普瑞电力工程有限公司 A kind of collecting method at equal intervals and device based on synchronised clock
CN110061827B (en) * 2018-01-19 2023-07-18 中电普瑞电力工程有限公司 Equidistant data acquisition method and device based on synchronous clock

Also Published As

Publication number Publication date
JP4613080B2 (en) 2011-01-12

Similar Documents

Publication Publication Date Title
JP4468196B2 (en) Digital PLL circuit
KR100564057B1 (en) Encoding system and method, decoding system and method, encoding data recording device and method, encoding data transmission device and method
US6493832B1 (en) Communication apparatus which handles a time stamp
CN1669290B (en) Jitter compensation method for systems having wall clocks
JP4905060B2 (en) Reception device and data reproduction method
US6347119B2 (en) Communication apparatus, communication method and storage medium
US20080304599A1 (en) Interface Circuit As Well As Method For Receiving And/Or For Decoding Data Signals
US7817765B2 (en) Digital transmission apparatus and methods
JP4613080B2 (en) Clock reproduction information generation circuit and clock reproduction circuit
US7379479B2 (en) Communication apparatus, communication method and program
JP4425115B2 (en) Clock synchronization apparatus and program
JP5375021B2 (en) Clock recovery system and method
JP4700370B2 (en) Clock reproduction information generation circuit and clock reproduction circuit
JP5105072B2 (en) Timing information collection device
JP4644504B2 (en) Clock recovery circuit
JP4476034B2 (en) Receiver
JP3886392B2 (en) Clock recovery circuit
JPH06152579A (en) Jitter control circuit
JP3612465B2 (en) Image coding / decoding device
KR0179507B1 (en) Method of generating up and down signals in the apparatus of restoring system time clock
CN101395839B (en) Receiver scheme for synchronous digital transmission
JP2006101029A (en) Data receiver
US5568488A (en) Pointer re-setting method and apparatus thereof
JP2001103502A (en) Phase information detection circuit and phase synchronization sampling clock recovery circuit
JP2009094982A (en) Receiver device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100910

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: 20100921

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101018

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

Free format text: PAYMENT UNTIL: 20131022

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4613080

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees