JP2000013365A - Clock transfer circuit - Google Patents

Clock transfer circuit

Info

Publication number
JP2000013365A
JP2000013365A JP10171092A JP17109298A JP2000013365A JP 2000013365 A JP2000013365 A JP 2000013365A JP 10171092 A JP10171092 A JP 10171092A JP 17109298 A JP17109298 A JP 17109298A JP 2000013365 A JP2000013365 A JP 2000013365A
Authority
JP
Japan
Prior art keywords
slip
writing
read
reading
clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10171092A
Other languages
Japanese (ja)
Other versions
JP3241663B2 (en
Inventor
Haruo Suwa
陽夫 諏訪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIPPON DENKI MUSEN DENSHI KK
Original Assignee
NIPPON DENKI MUSEN DENSHI KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIPPON DENKI MUSEN DENSHI KK filed Critical NIPPON DENKI MUSEN DENSHI KK
Priority to JP17109298A priority Critical patent/JP3241663B2/en
Publication of JP2000013365A publication Critical patent/JP2000013365A/en
Application granted granted Critical
Publication of JP3241663B2 publication Critical patent/JP3241663B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent a long time slip due to jitter in a clock in the vicinity of a slip point. SOLUTION: When a read address of a buffer memory 2 is being deviated from, e.g. a central initially set area and enters a slip point detection area, a detection signal is outputted and the read address is automatically switched to an address in excess of a write address in a deviating direction from the detected address, that is, a point A or C at a lower end address of the area. Or the read address is switched to an area midpoint, that is, a point B at the detection of a first slip point, and switched to the point A or C in the same deviating direction at detection of 2nd slip point. Since the points A, C are selected with a margin to absorb phase jitter in a clock or the like with respect to the write address respectively, that is, to provide a hysteresis, the slip takes place only once and production of a long time slip is prevented.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はクロック乗替回路に
関し、特にクロック周波数あるいはクロック精度が異な
る2つのデータ信号間を接続するためのクロック乗替回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock transfer circuit, and more particularly to a clock transfer circuit for connecting two data signals having different clock frequencies or different clock accuracies.

【0002】[0002]

【従来の技術】一般に音声データなどデジタル信号用の
伝送路と伝送機器あるいは交換機とを接続する場合は、
双方のクロック周波数あるいはクロック精度の差を吸収
するためにクロック乗替回路を使用する。このクロック
乗替回路は同時書込読出が可能なバッファメモリを用い
て、例えば伝送路側のデータ信号を伝送路側のクロック
を用いて書込み、伝送機器側のクロックを用いて所定の
遅れ位相で書き込んだデータ信号を読出して伝送機器側
へ出力するものである。このバッファメモリはエラステ
ィックメモリとも呼称されるものである。
2. Description of the Related Art Generally, when a transmission line for digital signals such as voice data is connected to a transmission device or an exchange,
A clock transfer circuit is used to absorb a difference between both clock frequencies or clock precision. This clock transfer circuit uses a buffer memory capable of simultaneous writing and reading, and writes, for example, a data signal on the transmission line using a clock on the transmission line, and writes the data signal with a predetermined delay phase using a clock on the transmission device side. The data signal is read and output to the transmission device. This buffer memory is also called an elastic memory.

【0003】図4はこの従来例を示すブロック図であ
る。図4において、通常データ信号の伝送は双方向であ
るが一方向を代表して説明する。伝送路側からの入力デ
ータ信号をシリアル/パラレル変換するシリアル/パラ
レル変換回路21と、入力データ信号から抽出した(図
示せず)入力クロックを入力し、この入力クロックに同
期した書込アドレス信号を発生し、パラレル変換された
入力データ信号を順次バッファメモリ22へ書き込んで
行く書込アドレス発生回路24と、入力データ信号を一
時記憶するためのバッファメモリ22と、バッファメモ
リ22から読み出された入力データ信号をパラレル/シ
リアル変換して伝送機器側へ出力データ信号として出力
するパラレル/シリアル変換回路23と、伝送機器側の
出力クロックを入力しこの出力クロックに同期した読出
アドレス信号を出力し、バッファメモリ22から入力デ
ータ信号を順次読み出して行く読出アドレス発生回路2
5と、入力フレーム信号と出力フレーム信号と各クロッ
クとを入力し、書込アドレス信号発生回路24と読出ア
ドレス信号発生回路25とのアドレス信号のタイミング
設定およびスリップの検出などを行う制御回路26とか
ら構成されている。
FIG. 4 is a block diagram showing this conventional example. In FIG. 4, transmission of a normal data signal is bidirectional, but one direction will be described as a representative. A serial / parallel conversion circuit 21 for serial / parallel conversion of an input data signal from a transmission path side, and an input clock (not shown) extracted from the input data signal are input, and a write address signal synchronized with the input clock is generated. A write address generating circuit 24 for sequentially writing the parallel-converted input data signals to the buffer memory 22, a buffer memory 22 for temporarily storing the input data signals, and an input data read from the buffer memory 22. A parallel / serial conversion circuit 23 for converting the signal from parallel to serial and outputting the output data signal to the transmission device side; a transmission device side input clock; a read address signal synchronized with the output clock; Read address generation time for sequentially reading input data signals from 22 2
5, a control circuit 26 which receives an input frame signal, an output frame signal, and each clock, and performs timing setting of address signals of the write address signal generating circuit 24 and read address signal generating circuit 25, detection of slip, and the like. It is composed of

【0004】この従来例の動作は次の通りである。バッ
ファメモリ22は、クロック精度、許容されるスリップ
時間あるいはスリップ回数などからその記憶容量が決め
られるが、通常入力データ信号の2フレーム分のビット
を記憶する容量を持つように設計されている。書込アド
レス発生回路24および読出アドレス発生回路25はそ
れぞれリングカウンタで構成されており、アドレス信号
はバッファメモリ22のアドレスエリアの始点から終点
をエンドレスに巡回している。
The operation of this conventional example is as follows. The storage capacity of the buffer memory 22 is determined by the clock accuracy, the allowable slip time, the number of slips, and the like, but is usually designed to have a capacity to store bits for two frames of the input data signal. Each of the write address generation circuit 24 and the read address generation circuit 25 is composed of a ring counter, and the address signal circulates endlessly from the start point to the end point of the address area of the buffer memory 22.

【0005】入力データ信号はシリアル/パラレル変換
され書込アドレス信号によりバイト単位でバッファメモ
リ22の指定アドレスエリアの順次メモリされる。初期
設定時において、読出アドレスの読出タイミングは書込
アドレス信号の指定位置から1フレーム分遅れ位相位置
から書込と同時に読み出される。このタイミング設定は
制御回路26の制御により行われる。バッファメモリ2
2からは読出タイミング信号により1フレーム遅れでメ
モリされた入力データ信号が読み出され、出力データ信
号として伝送機器側に出力される。このようにして入出
力間のブロックの乗替えが行われる。
The input data signal is serial / parallel converted and sequentially stored in a designated address area of the buffer memory 22 in byte units by a write address signal. At the time of the initial setting, the read timing of the read address is read simultaneously with the writing from the phase position delayed by one frame from the designated position of the write address signal. This timing setting is performed under the control of the control circuit 26. Buffer memory 2
2, the input data signal stored in the memory with a delay of one frame by the read timing signal is read and output to the transmission device as an output data signal. In this way, the transfer of blocks between input and output is performed.

【0006】このように読出アドレス信号の読出タイミ
ングは1フレーム分の遅れ位相の読出位置でスタートす
るが、時間の経過と共にクロック間の位相変動などで書
込位置と読出位置とが重なるときがあり、このときスリ
ップが発生する。
As described above, the read timing of the read address signal starts at the read position with a delay phase of one frame, but the write position and the read position may overlap with time due to phase fluctuation between clocks and the like. At this time, slip occurs.

【0007】[0007]

【発明が解決しようとする課題】このように従来例にお
いては、入出力クロック間の位相あるいは周波数変動で
読出アドレス信号の読出位置が書込アドレス信号書込位
置と重なった時点でスリップが発生する。このスリップ
は読出アドレス信号の読出位置が初期設定の位置から進
み方向(書込位置に向かって)にづれてい行きそして重
なった場合は読出データはは2フレーム分の2度読出
し、また遅れ位相で重なった場合は2フレーム分の抜け
読出となる。このスリップは出力データ信号のデータ誤
りとなり受信側に支障を与える。
As described above, in the conventional example, slip occurs when the read position of the read address signal overlaps the write position of the write address signal due to the phase or frequency fluctuation between the input and output clocks. . This slip occurs when the read position of the read address signal is deviated from the initially set position in the advance direction (toward the write position), and when they overlap, the read data is read twice for two frames and with a lag phase. If they overlap, skip reading for two frames is performed. This slip becomes a data error of the output data signal, and hinders the receiving side.

【0008】このスリップは読出アドレス信号の読出位
置が連続的に同一方向に変化していく場合(入出力クロ
ックに周波数差がある場合など)は2フレーム分のづれ
に対し1回の割で発生するが、この程度であれば受信側
の伝送機器によっては大きな障害とならない場合もあ
る。しかし、読出アドレス信号の読出位置がスリップ点
で前後に変動する場合(入出力クロックの位相がジッタ
などの原因で一時的に前後に位相変動する場合)は、こ
の変動の間スリップが連続して発生する。即ちこの原因
でスリップ時間が非常に長くなる場合があり、特に入出
力のクロックの精度が共に高い場合にこのスリップが長
くなりかつ発生確率が高くなる。この時受信側の伝送機
器に重大な支障を与えるという問題がある。
When the read position of the read address signal continuously changes in the same direction (for example, when there is a frequency difference between input and output clocks), this slip occurs once for every two frames. However, such an amount may not be a major obstacle depending on the transmission equipment on the receiving side. However, when the read position of the read address signal fluctuates back and forth at the slip point (when the phase of the input / output clock temporarily fluctuates back and forth due to jitter or the like), the slip continues during this fluctuation. appear. That is, the slip time may be extremely long due to this cause. Particularly, when the accuracy of both input and output clocks is high, the slip becomes long and the probability of occurrence becomes high. At this time, there is a problem that the transmission equipment on the receiving side is seriously affected.

【0009】本発明はスリップ発生を事前に検出し、読
出アドレス信号の読出位置をづれ方向に書込位置を越え
かつ書込位置から近接した位置(入出力クロックの一時
的位相変動を吸収するヒステリヒス分をとった位置)に
自動的に切替えるか、あるいはスリップ発生を検出し、
初期設定位置にリセットし、この切替が同一づれ方向で
複数回発生した後に、書込位置に近接した位置に自動的
に切り替えるようにすることにより位相ジッタなどによ
る長時間スリップの発生を防止するものである。
According to the present invention, the occurrence of slip is detected in advance, and the read position of the read address signal is shifted beyond the write position in the deviating direction and close to the write position (the hysteresis for absorbing the temporary phase fluctuation of the input / output clock). Automatically switch to the position where you took the minute) or detect the occurrence of slip,
After resetting to the initial setting position, this switching occurs multiple times in the same direction, and then automatically switches to a position close to the writing position, thereby preventing long-term slip due to phase jitter etc. It is.

【0010】尚、読出位置が同方向に連続的に変化する
場合の1回限りのスリップ発生は、受信側では信号の復
元に大きな支障を与えることは少なく、例えば音声デー
タ信号ではアナログの音声に復調する際に若干のノイズ
として表れるに過ぎない。
The occurrence of a one-time slip when the readout position continuously changes in the same direction rarely causes a great hindrance to signal restoration on the receiving side. It only appears as slight noise during demodulation.

【0011】[0011]

【課題を解決するための手段】本発明のクロック切り替
え回路は、書込み読出しを同時に行うバッファメモリ
と、入力データ信号をこの入力データ信号のクロックに
同期して前記バッファメモリに書込んで行くリングカウ
ンタを用いた書込手段と、出力側のクロックに同期して
前記書込手段の書込位置から所定の遅れ位相をとり前記
バッファメモリから出力データ信号を読出していくリン
グカウンタを用いた読出手段と、前記読出手段の読出位
置がづれて前記書込手段の書込位置に接近したこと即ち
スリップ発生の接近を検出して前記読出手段の読出位置
をづれ方向にかつ前記書込手段の書込位置を越えた所定
の位置に自動的に切り替える読出位置切替手段とを備え
ている。
A clock switching circuit according to the present invention comprises a buffer memory for simultaneously performing writing and reading, and a ring counter for writing an input data signal to the buffer memory in synchronization with a clock of the input data signal. A read means using a ring counter which takes a predetermined delay phase from a write position of the write means and reads an output data signal from the buffer memory in synchronization with a clock on the output side. Detecting that the reading position of the reading means has shifted and approaching the writing position of the writing means, that is, detecting the approach of the occurrence of slip, shifting the reading position of the reading means in the shifting direction and changing the writing position of the writing means. Reading position switching means for automatically switching to a predetermined position beyond the predetermined position.

【0012】また、前記読出位置切替手段は、スリップ
発生の接近を検出して前記読出手段の読出位置をそのづ
れ方向に前記書込手段の書込位置を越えかつ書込位置に
近接した位置に自動的に切替えるようにしても良い。
Further, the reading position switching means detects the approach of the occurrence of slip and shifts the reading position of the reading means to a position beyond the writing position of the writing means in the direction of the slip and close to the writing position. The switching may be performed automatically.

【0013】また、前記読出位置切替手段は、スリップ
発生の接近を検出し前記読出手段の読出位置をそのづれ
方向に前記書込手段の書込位置を越えた前記バッファメ
モリのリングアドレス中央の位置に自動的に切替えさら
にこの同一づれ方向の切替が連続して複数回行われた場
合は次にスリップ発生の接近を検出した時に前記読出手
段の読出位置をそのづれ方向に前記書込手段の書込位置
を越えかつ書込位置に近接した位置に自動的に切替える
ようにしても良い。
The read position switching means detects the approach of the occurrence of a slip, and shifts the read position of the read means to the center of the ring address of the buffer memory beyond the write position of the write means in the direction of the slip. If the switching in the same shear direction is performed a plurality of times in succession, the next time the approach of slip occurs is detected, the read position of the reading means is changed in the writing direction by the writing means. The position may be automatically switched to a position exceeding the insertion position and close to the writing position.

【0014】また、前記読出位置切替手段の切替動作を
監視し切替動作に伴い発生するスリップに同期して前記
読出手段の読出位置のづれ方向別にスリップ信号を出力
するスリップ監視手段を備えても良い。
[0014] Further, there may be provided a slip monitoring means for monitoring a switching operation of the reading position switching means and outputting a slip signal for each direction of the reading position of the reading means in synchronism with a slip generated by the switching operation. .

【0015】また、前記スリップ監視手段は、前記スリ
ップ信号の発生をカウントし異常回数に達したときにア
ラームを発生する手段を備えても良い。
The slip monitoring means may include means for counting the number of occurrences of the slip signal and generating an alarm when the number of occurrences of the slip signal is reached.

【0016】更に、前記スリップ監視手段は、前記スリ
ップ信号を視認する表示手段を備えても良い。
Further, the slip monitoring means may include a display means for visually recognizing the slip signal.

【0017】[0017]

【発明の実施の形態】次に発明の実施の形態を図面を参
照して説明する。図1は発明の実施の形態例を示すブロ
ック図、図2は図1の読出位置切替制御回路の動作を説
明するブロック図、図3は図1の読出位置切替制御回路
の動作を説明するフローチャートである。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the invention, FIG. 2 is a block diagram illustrating the operation of the read position switching control circuit of FIG. 1, and FIG. 3 is a flowchart illustrating the operation of the read position switching control circuit of FIG. It is.

【0018】図1において、本図は音声データ信号など
が用いる伝送路と伝送機器とを接続するためのクロック
乗替回路で、双方向の伝送路のうち一方向のみを代表し
て示したものである。
In FIG. 1, this figure shows a clock transfer circuit for connecting a transmission line used for audio data signals and the like to a transmission device, and shows only one of the bidirectional transmission lines as a representative. It is.

【0019】伝送路側からの入力データ信号をシリアル
/パラレル変換するシリアル/パラレル変換回路1と、
入力データ信号から抽出した(図示せず)入力クロック
を入力し、この入力クロックに同期した書込アドレス信
号を発生し、パラレル変換された入力データ信号を順次
バッファメモリ2へ書き込んで行く書込アドレス発生回
路4と、入力データ信号を一時記憶するためのバッファ
メモリ2と、バッファメモリ2から読み出された入力デ
ータ信号をパラレル/シリアル変換して伝送機器側へ出
力データ信号として出力するパラレル/シリアル変換回
路3と、伝送機器側の出力クロックを入力しこの出力ク
ロックに同期した読出アドレス信号を出力し、バッファ
メモリ2から入力データ信号を順次読み出して行く読出
アドレス発生回路5と、入力フレーム信号と出力フレー
ム信号と各クロックとを入力し、書込アドレス信号発生
回路4と読出アドレス信号発生回路5とのアドレス信号
の初期設定時のタイミング設定およびスリップ点の接近
を検出し、読出アドレス信号の読出位置を切り替える読
出位置切替制御回路6と、読出位置切替制御回路6の切
替信号を入力しスリップアラームおよびスリップ時の表
示を行うスリップ監視回路7とから構成されている。
A serial / parallel conversion circuit 1 for serial / parallel conversion of an input data signal from the transmission path side;
An input clock (not shown) extracted from the input data signal is input, a write address signal synchronized with the input clock is generated, and a write address for sequentially writing the parallel-converted input data signals to the buffer memory 2 is written. A generating circuit 4, a buffer memory 2 for temporarily storing an input data signal, and a parallel / serial for converting the input data signal read from the buffer memory 2 from parallel to serial and outputting the output data signal to the transmission device side A conversion circuit 3, a readout address generation circuit 5 which receives an output clock on the transmission device side, outputs a readout address signal synchronized with the output clock, and sequentially reads out input data signals from the buffer memory 2, and an input frame signal; An output frame signal and each clock are input, and a write address signal generation circuit 4 and a read address Read position switching control circuit 6 for detecting the timing setting at the time of initial setting of the address signal with the read signal generating circuit 5 and the approach of the slip point, and switching the read position of the read address signal; , And a slip monitoring circuit 7 for displaying a slip alarm and a display at the time of slip.

【0020】次に図2および図3を参照して図1の動作
について説明する。バッファメモリ2は、クロック精
度、許容されるスリップ時間あるいはスリップ回数など
から、通常入力データ信号の2フレーム分のビットを記
憶する容量を持っている。
Next, the operation of FIG. 1 will be described with reference to FIGS. The buffer memory 2 has a capacity to store bits for two frames of the normal input data signal in consideration of the clock accuracy, the allowable slip time or the number of slips.

【0021】書込アドレス発生回路4および読出アドレ
ス発生回路5はそれぞれリングカウンタで構成されてお
り、アドレス信号はバッファメモリ2のアドレスエリア
の始点から終点をエンドレスに巡回している。
Each of the write address generation circuit 4 and the read address generation circuit 5 is constituted by a ring counter, and the address signal circulates endlessly from the start point to the end point of the address area of the buffer memory 2.

【0022】入力データ信号はシリアル/パラレル変換
され書込アドレス信号によりバイト単位でバッファメモ
リ22の指定アドレスエリアに順次メモリされる。初期
設定時において、読出アドレスの読出タイミングは書込
アドレス信号の指定位置から1フレーム分遅れ位相の位
置から書込と同時に読み出される。このタイミング設定
は読出位置切替制御回路6の制御により行われる。バッ
ファメモリ2からは読出タイミング信号により1フレー
ム遅れでメモリされた入力データ信号が読み出され、出
力データ信号として伝送機器側に出力される。このよう
にして入出力間のクロックの乗せ替えが行われる。
The input data signal is serial / parallel converted and sequentially stored in a designated address area of the buffer memory 22 in byte units by a write address signal. At the time of initialization, the read timing of the read address is read simultaneously with writing from a position delayed by one frame from the position specified by the write address signal. This timing setting is performed under the control of the reading position switching control circuit 6. The input data signal stored in the buffer memory 2 with a delay of one frame in accordance with the read timing signal is read and output to the transmission device as an output data signal. In this manner, the clock transfer between the input and the output is performed.

【0023】このように読出アドレス信号の読出タイミ
ングは1フレーム分の遅れ位相の読出位置でスータトす
るが、時間の経過と共にクロック間の位相変動などで書
込位置と読出位置とが重なる時があり、この時スリップ
が発生する。
As described above, the read timing of the read address signal is started at the read position with a delay phase of one frame. However, the write position and the read position may overlap with time due to phase fluctuation between clocks or the like. At this time, slip occurs.

【0024】図2および図3を参照してこのスリップ発
生点における読出位置切替制御回路6の動作を説明す
る。図2において、バッファメモリ2は2フレーム分の
アドレスエリアを有しており、初期設定時はアドレスエ
リアの下端位置から書込がスタートし、順次インクリメ
ントを繰り返して上端位置に達したならまた下端位置に
戻りリングカウントを継続する。一方読出は書込がスタ
ートして1フレーム分、即ちアドレスエリアの中央位置
に達したときに下端位置からスタートし、書込と同様に
順次インクリメントを繰り替えしリングカウントを継続
する。この書込読出のタイミング設定は読出位置切替制
御回路6の制御信号により書込アドレス発生回路4およ
び読出アドレス発生回路5の出力タイミングを制御する
ことにより行われる。
The operation of the read position switching control circuit 6 at the slip occurrence point will be described with reference to FIGS. In FIG. 2, the buffer memory 2 has an address area for two frames. At the time of initial setting, writing starts from the lower end position of the address area. Return to and continue the ring count. On the other hand, reading is started from the lower end position when writing is started and reaches one frame, that is, when it reaches the center position of the address area, and increments are repeated sequentially in the same manner as writing to continue ring counting. This write / read timing setting is performed by controlling the output timing of the write address generation circuit 4 and the read address generation circuit 5 by the control signal of the read position switching control circuit 6.

【0025】図2に示すように読出位置が中央の初期設
定点から進み方向にづれて行き、例えばエリア上端位置
で書込位置に接近して斜線で示したスリップ点検出領域
に入った時スリップ点接近を表す検出信号が出力され読
出位置が検出点から進み方向に書込位置を越えた位置、
即ちエリア下端位置のA点に自動的に切り替わる。ま
た、読出位置が初期設定点から点線で示した遅れ方向に
づれて行き、例えばエリア下端位置でスリップ点検出領
域に入った時は、読出位置が検出点から遅れ方向に着込
み位置を越えた位置、即ちエリア上端のC点に自動的に
切り替わる。
As shown in FIG. 2, when the read position moves from the center initial set point in the advancing direction, for example, approaches the write position at the upper end position of the area and enters the slip point detection area shown by oblique lines. A detection signal indicating the approach is output, and the read position is beyond the write position in the leading direction from the detection point;
That is, it automatically switches to the point A at the lower end of the area. Also, when the reading position is shifted from the initial setting point in the delay direction indicated by the dotted line, and enters the slip point detection area at the lower end position of the area, for example, the position where the reading position exceeds the arrival position in the delay direction from the detection point, That is, it automatically switches to the point C at the upper end of the area.

【0026】A点およびC点はそれぞれ書込位置に対し
クロックの位相ジッタなどの一時的変動を吸収できる
分、即ちヒステリヒスを与えるように分離して設定され
ているので、位相ジッタなどがあってもスリップ点にお
けるスリップは1回限りで長時間スリップの発生が防止
できる。
The points A and C are separately set so as to absorb temporal fluctuations such as clock phase jitter with respect to the write position, that is, to provide hysteresis. Also, the slip at the slip point can be prevented only once and the occurrence of the slip for a long time can be prevented.

【0027】この読出位置の切替は読出位置切替制御回
路6の制御により行われる。即ち読出位置切替制御回路
6は入出力データ信号のフレーム信号およびクロックを
入力し、2つのフレーム信号の位相比較とクロック周期
とにより読出位置のづれ方向およびスリップ点の接近の
検出を行い、検出時点のA,C点のアドレス位置をCP
Uで演算し、読出アドレス発生回路5へ制御信号を出力
している。
The switching of the reading position is performed under the control of the reading position switching control circuit 6. That is, the reading position switching control circuit 6 inputs the frame signal and the clock of the input / output data signal, detects the deviation of the reading position and the approach of the slip point based on the phase comparison of the two frame signals and the clock cycle. The address position of point A and C of
The operation is performed by U and a control signal is output to the read address generation circuit 5.

【0028】尚、バッファメモリ2の容量は、例えば入
出力のデータ信号の1フレーム分として40バイト容量
のものを用いた場合2フレーム分80バイト容量となる
が、例えばスリップ点検出領域として5バイト分、また
切替点ヒステリヒス分として10バイト分程度とすれば
都合95バイト容量のものが必要となる。
The buffer memory 2 has a capacity of 80 bytes for two frames when a 40-byte capacity is used for one frame of an input / output data signal. If the switching point hysteresis is about 10 bytes, a capacity of 95 bytes is required.

【0029】次に図3を参照して他の実施の形態例を説
明する。先に説明した実施の形態例においては、読出位
置をスリップ点検出によりA点あるいはC点へ切り替え
ているが、他の実施の形態例では読出位置を最初のスリ
ップ点検出によりエリア中央位置、即ちB点へ切り替
え、2回目にスリップ点検出があった時に同一づれ方向
のA点あるいはC点に切り替える。即ち図3に示すよう
にスリップ点検出があった時、先ずづれ方向が進み方向
か遅れ方向かを識別し、若し進み方向であればこの検出
が2回以上連続した時は切り替え位置をA点とし1回目
であればB点とする。また遅れ方向のものであれば、こ
の検出が2回以上連続した時はC点に、1回目であれば
B点に切り替えるものである。
Next, another embodiment will be described with reference to FIG. In the above-described embodiment, the reading position is switched to the point A or the point C by detecting the slip point. However, in other embodiments, the reading position is changed to the center position of the area by detecting the first slip point, that is, Switch to point B, and switch to point A or point C in the same direction when the slip point is detected for the second time. That is, as shown in FIG. 3, when a slip point is detected, it is first discriminated whether the slip direction is a leading direction or a lagging direction. It is point B if it is the first time. If the detection is in the lag direction, the detection is switched to the point C when the detection is performed two or more times, and to the point B if the detection is performed for the first time.

【0030】この切り替え処理は読出位置切替制御回路
6のCPUにより演算処理され、読出アドレス発生回路
5の制御信号により実行される。このように読出位置の
づれ方向の連続性を確認してからA点あるいはC点に切
り替えることにより入出力データ信号のクロックの位相
変動が連続する同一方向(周波数差)でなく、温度変動
などの要因で時間的に前後して変動する場合にスリップ
が変動しない保証時間を短くすることなく長時間スリッ
プの発生を防止する効果がある。
This switching process is performed by the CPU of the read position switching control circuit 6 and is executed by the control signal of the read address generation circuit 5. As described above, by confirming the continuity of the read position in the deviation direction and then switching to the point A or the point C, the phase fluctuation of the clock of the input / output data signal is not continuous in the same direction (frequency difference) but is caused by temperature fluctuation or the like. This has the effect of preventing the occurrence of a long-term slip without shortening the guaranteed time during which the slip does not fluctuate when it fluctuates back and forth in time due to factors.

【0031】尚、スリップ監視回路7は読出切り替え制
御回路6の切替動作を監視し、読出位置のづれ方向別に
読出位置の切替に伴うスリップ時間に同期してスリップ
信号を出力する。このスリップ信号は受信側でデータ誤
り訂正処理などに用いられる。また、このスリップ信号
の出力回数をカウントし、単位時間当たり多数の異常回
数をカウントした場合はアラームを発生する。更にスリ
ップ信号の発生中は表示灯が点灯するのでスリップを視
認することができる。
The slip monitoring circuit 7 monitors the switching operation of the read switching control circuit 6, and outputs a slip signal in synchronism with the slip time accompanying the switching of the reading position for each direction of displacement of the reading position. This slip signal is used for data error correction processing on the receiving side. Also, the number of times of output of the slip signal is counted, and an alarm is generated when a large number of abnormalities are counted per unit time. Further, the indicator light is turned on while the slip signal is being generated, so that the slip can be visually recognized.

【0032】[0032]

【発明の効果】以上説明したように本発明のクロック乗
替回路は、スリップ発生が接近したことを読出位置、即
ちクロックのづれ方向別に検出し、読出位置をづれ方向
に書き込み位置を越えた位置に自動的に切り替えている
のでスリップ発生点近傍においてクロックの位相ジッタ
などにより発生する長時間のスリップの発生を防止する
効果がある。
As described above, the clock transfer circuit of the present invention detects the approach of the occurrence of the slip by the reading position, that is, by the direction of the clock deviation, and detects the position where the reading position exceeds the writing position in the deviation direction. Since the switching is automatically performed, the effect of preventing the occurrence of a long-time slip caused by the clock phase jitter or the like near the slip occurrence point is obtained.

【0033】特に読出位置のづれ方向の連続性を確認し
てから前記切替を行うようにすればクロックのづれ方向
が一方でなく前後する場合もスリップ発生のないスリッ
プ保証時間を短くすることなく長時間内スリップの発生
を防止する効果がある。
In particular, if the switching is performed after confirming the continuity of the read position in the deviation direction, the slip guarantee time without slip is reduced without shortening the slip even if the clock deviation direction is not one direction but goes back and forth. This has the effect of preventing the occurrence of slips in time.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1における読出位置切替制御回路の動作を説
明するブロック図である。
FIG. 2 is a block diagram illustrating an operation of a read position switching control circuit in FIG. 1;

【図3】図1における読出位置切替制御回路の他の実施
の形態例を説明するフローチャートである。
FIG. 3 is a flowchart for explaining another embodiment of the read position switching control circuit in FIG. 1;

【図4】従来例を示すブロック図である。FIG. 4 is a block diagram showing a conventional example.

【符号の説明】[Explanation of symbols]

1 シリアル/パラレル変換回路 2 バッファメモリ 3 パラレル/シリアル変換回路 4 書込アドレス発生回路 5 読出アドレス発生回路 6 読出位置切替制御回路 7 スリップ監視回路 DESCRIPTION OF SYMBOLS 1 Serial / parallel conversion circuit 2 Buffer memory 3 Parallel / serial conversion circuit 4 Write address generation circuit 5 Read address generation circuit 6 Read position switching control circuit 7 Slip monitoring circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 書込み読出しを同時に行うバッファメモ
リと、入力データ信号をこの入力データ信号のクロック
に同期して前記バッファメモリに書込んで行くリングカ
ウンタを用いた書込手段と、出力側のクロックに同期し
て前記書込手段の書込位置から所定の遅れ位相をとり前
記バッファメモリから出力データ信号を読出していくリ
ングカウンタを用いた読出手段と、前記読出手段の読出
位置がづれて前記書込手段の書込位置に接近したこと即
ちスリップ発生の接近を検出して前記読出手段の読出位
置をづれ方向にかつ前記書込手段の書込位置を越えた所
定の位置に自動的に切り替える読出位置切替手段とを備
えることを特徴とするクロック乗替回路。
1. A buffer memory for simultaneously performing writing and reading, writing means using a ring counter for writing an input data signal to the buffer memory in synchronization with a clock of the input data signal, and a clock on an output side. A reading means using a ring counter for taking a predetermined delay phase from a writing position of the writing means and reading an output data signal from the buffer memory in synchronism with the writing means; A read position for automatically switching the read position of the read means to a predetermined position beyond the write position of the write means by detecting the approach of the write means, that is, the approach of the occurrence of slip; A clock transfer circuit comprising switching means.
【請求項2】 前記読出位置切替手段は、スリップ発生
の接近を検出して前記読出手段の読出位置をそのづれ方
向に前記書込手段の書込位置を越えかつ書込位置に近接
した位置に自動的に切替えることを特徴とした請求項1
記載のクロック乗替回路
2. The reading position switching means detects the approach of the occurrence of slip and shifts the reading position of the reading means to a position beyond the writing position of the writing means in the direction of the slip and close to the writing position. 2. The method according to claim 1, wherein the switching is performed automatically.
Clock transfer circuit described
【請求項3】 前記読出位置切替手段は、スリップ発生
の接近を検出し前記読出手段の読出位置をそのづれ方向
に前記書込手段の書込位置を越えた前記バッファメモリ
のリングアドレス中央の位置に自動的に切替えさらにこ
の同一づれ方向の切替が連続して複数回行われた場合は
次にスリップ発生の接近を検出した時に前記読出手段の
読出位置をそのづれ方向に前記書込手段の書込位置を越
えかつ書込位置に近接した位置に自動的に切替えること
を特徴とした請求項1記載のクロック乗替回路。
3. The read position switching means detects the approach of the occurrence of slip, and shifts the read position of the read means to the center of the ring address of the buffer memory beyond the write position of the write means in the direction of the slip. If the switching in the same shear direction is performed a plurality of times in succession, the next time the approach of slip occurs is detected, the read position of the reading means is changed in the writing direction by the writing means. 2. The clock transfer circuit according to claim 1, wherein the clock switching circuit automatically switches to a position exceeding the insertion position and close to the writing position.
【請求項4】 前記読出位置切替手段の切替動作を監視
し切替動作に伴い発生するスリップに同期して前記読出
手段の読出位置のづれ方向別にスリップ信号を出力する
スリップ監視手段を備えることを特徴とする請求項1,
2あるいは3記載のクロック乗替回路。
4. A slip monitoring means for monitoring a switching operation of the reading position switching means and outputting a slip signal for each direction of a shift of a reading position of the reading means in synchronization with a slip generated by the switching operation. Claim 1,
2. The clock transfer circuit according to 2 or 3.
【請求項5】 前記スリップ監視手段は、前記スリップ
信号の発生をカウントし異常回数に達したときにアラー
ムを発生する手段を備えることを特徴とする請求項4記
載のクロック乗替回路。
5. The clock transfer circuit according to claim 4, wherein said slip monitoring means includes means for counting the number of occurrences of said slip signal and generating an alarm when the number of occurrences of said slip signal reaches an abnormal number.
【請求項6】 前記スリップ監視手段は、前記スリップ
信号を視認する表示手段を備えることを特徴とする請求
項4あるいは5記載のクロック乗替回路。
6. The clock transfer circuit according to claim 4, wherein said slip monitoring means includes display means for visually recognizing said slip signal.
JP17109298A 1998-06-18 1998-06-18 Clock transfer circuit Expired - Lifetime JP3241663B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17109298A JP3241663B2 (en) 1998-06-18 1998-06-18 Clock transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17109298A JP3241663B2 (en) 1998-06-18 1998-06-18 Clock transfer circuit

Publications (2)

Publication Number Publication Date
JP2000013365A true JP2000013365A (en) 2000-01-14
JP3241663B2 JP3241663B2 (en) 2001-12-25

Family

ID=15916849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17109298A Expired - Lifetime JP3241663B2 (en) 1998-06-18 1998-06-18 Clock transfer circuit

Country Status (1)

Country Link
JP (1) JP3241663B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123482B (en) * 2007-09-14 2010-07-14 中兴通讯股份有限公司 A device and method for testing sliding index in digital communication network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123482B (en) * 2007-09-14 2010-07-14 中兴通讯股份有限公司 A device and method for testing sliding index in digital communication network

Also Published As

Publication number Publication date
JP3241663B2 (en) 2001-12-25

Similar Documents

Publication Publication Date Title
CA1090888A (en) Data buffer retiming circuit
JP3241663B2 (en) Clock transfer circuit
JPS5833737B2 (en) doukikahoushiki
JP3034561B2 (en) Frame phase synchronization circuit
JP3199418B2 (en) Data rate converter
JP2617575B2 (en) Data rate conversion circuit
JP3017213B1 (en) FIFO memory monitoring device
JP3421715B2 (en) Transmission equipment
JP2590688B2 (en) Frame phase matching circuit
JP3161795B2 (en) Phase controller
JP2713009B2 (en) Delay time difference absorption device
SU1113790A1 (en) Interface for linking computer with communication channels
KR900005144B1 (en) Slip-preventing circuit
JPH07250101A (en) Elastic storage circuit
JP2960761B2 (en) Elastic buffer for TDMA signal
JP3868047B2 (en) Buffer circuit
JPH0430234A (en) Error detection circuit
JPH04369133A (en) Phase fluctuation absorbing system
SU1133625A1 (en) Dynamic storage with error correction
JPS6245299A (en) Network synchronous circuit
JPS60200631A (en) Code error detecting circuit
JPH01183934A (en) Transmission buffer circuit for transmitting asynchronizing data
JPH10145344A (en) Bit phase synchronizing circuit
JPS61101139A (en) Synchronizing signal detector
JPH03174837A (en) Timing matching circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010911

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 12

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term