JPH10163864A - Phase-locked loop control system - Google Patents

Phase-locked loop control system

Info

Publication number
JPH10163864A
JPH10163864A JP8321320A JP32132096A JPH10163864A JP H10163864 A JPH10163864 A JP H10163864A JP 8321320 A JP8321320 A JP 8321320A JP 32132096 A JP32132096 A JP 32132096A JP H10163864 A JPH10163864 A JP H10163864A
Authority
JP
Japan
Prior art keywords
signal
circuit
phase
output
output signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8321320A
Other languages
Japanese (ja)
Inventor
Tatsuya Yokoyama
達也 横山
Tatsushi Kijima
達志 木島
Eizo Hata
栄三 端
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.)
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Ltd
Hitachi Video and Information System Inc
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 Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Ltd
Priority to JP8321320A priority Critical patent/JPH10163864A/en
Publication of JPH10163864A publication Critical patent/JPH10163864A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure the synchronization with the input data without dividing a reference clock by performing a NAND operation between the output signal of an interval timer and the output signal of a set/reset flip-flop which is set by the signal obtained by delaying the output signal of the interval timer and then reset by an effective cell detection signal and producing a phase step-out detection signal. SOLUTION: A set/reset flip-flop 11 is set by the signal that is obtained by delaying the output signal of a prescribed cycle produced by an interval timer 8 by a delay circuit 10, and an output terminal Q of the flip-flop 11 is set at H. On the other hand, an effective cell detection signal 6 that is produced by a signal processing circuit 4 resets toe flip-flop 11 and sets the output of the flip-flop 11 at L. A NAND circuit 12 performs a NAND operation between an output signal 9 and the output signal of the flip-flop 11 and outputs a phase step-out detection signal 13. A PLL mode control circuit 19 secures again the synchronization of a PLL for a prescribed time by means of the signal 13. Thus, the phase step-out of the PLL can be recovered.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は位相同期ループ(以
下PLL)制御方式に関する。
The present invention relates to a phase locked loop (hereinafter, PLL) control system.

【0002】[0002]

【従来の技術】ディジタルデータ通信や、磁気ディスク
等の記録装置におけるデータ再生では、PLLにより再
生データに位相同期したクロックを生成し、このクロッ
クのタイミングによりデータの’1’、’0’を判別す
る。しかし、PLLは、入力データに大きなノイズやジ
ッタが生じた場合や、PLL発振周波数と入力データ周
波数の差が大きい場合には、位相同期状態を保持できな
くなる可能性がある。そこで、このような場合、位相同
期が外れたことを検出してPLLの位相同期を回復させ
る手段が必要となる。
2. Description of the Related Art In digital data communication and data reproduction in a recording device such as a magnetic disk, a clock which is phase-synchronized with reproduced data is generated by a PLL, and data "1" and "0" are discriminated based on the timing of the clock. I do. However, the PLL may not be able to maintain the phase synchronization state when large noise or jitter occurs in the input data or when the difference between the PLL oscillation frequency and the input data frequency is large. Therefore, in such a case, means for detecting the loss of phase synchronization and restoring the phase synchronization of the PLL is required.

【0003】例えば、特開平7ー15325号公報に示
される例では、同期外れ検出回路を、位相比較手段、大
小比較手段、記憶手段及びデータ処理手段より構成して
いる。位相比較手段は、PLLで生成するクロックと入
力データとの位相差を検出し基準クロックで計数する。
大小比較手段は、位相比較手段の出力データを所定の基
準値と比較し、その結果を出力する。記憶手段は、大小
比較手段の出力結果を時系列順に記憶する。データ処理
手段は、記憶手段で記憶した時系列順のデータを処理
し、基準値以上の位相差が所定の期間以上にわたって発
生した場合に位相同期外れ信号を出力する。
For example, in an example disclosed in Japanese Patent Application Laid-Open No. Hei 7-15325, an out-of-synchronization detecting circuit includes a phase comparing unit, a magnitude comparing unit, a storing unit, and a data processing unit. The phase comparing means detects the phase difference between the clock generated by the PLL and the input data, and counts the difference with the reference clock.
The magnitude comparing means compares the output data of the phase comparing means with a predetermined reference value and outputs the result. The storage means stores the output results of the magnitude comparison means in chronological order. The data processing means processes the data in chronological order stored in the storage means, and outputs a phase out-of-synchronization signal when a phase difference equal to or more than a reference value occurs for a predetermined period or more.

【0004】[0004]

【発明が解決しようとする課題】従来例では、所定の基
準値を超える位相差が一定期間以上にわたり連続した場
合に、位相同期外れと判定する。しかし、上記位相差を
基準クロックで計数し、その値と基準値との比較及び記
憶の各処理を行なうため、検出精度を高めるためには位
相同期対象となるクロックに対して十分高い周波数の基
準クロックが必要となる。即ち、基準クロックを分周し
たクロックと入力データとの位相同期を行なう場合に有
効な方式であり、基準クロックと入力データとの位相同
期を行なう系に対しては適用することが困難である。
In the prior art, when a phase difference exceeding a predetermined reference value continues for a certain period or more, it is determined that the phase is out of synchronization. However, since the above phase difference is counted by the reference clock, and each value is compared with the reference value and each process of storing is performed, a reference having a sufficiently high frequency with respect to the clock to be subjected to phase synchronization is required to improve detection accuracy. Requires a clock. That is, this method is effective when performing phase synchronization between a clock obtained by dividing the reference clock and input data, and is difficult to apply to a system that performs phase synchronization between the reference clock and input data.

【0005】本発明の目的は、基準クロックを分周する
ことなしに入力データとの位相同期を行なう系で有効
な、位相同期外れ検出方式を提供することにある。
An object of the present invention is to provide an out-of-phase detection method which is effective in a system for performing phase synchronization with input data without dividing a reference clock.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明による位相同期外れ検出回路は、インターバ
ルタイマ、遅延回路、セット/リセットフリップフロッ
プ(以下R−SFF)及びNAND回路を備える。イン
ターバルタイマは、所定の周期毎に出力信号を生成し、
遅延回路及びNAND回路へ供給する。R−SFFは、
遅延回路で遅延したインターバルタイマの出力信号によ
りセットされ、また、信号処理回路で生成した有効セル
検出信号によりリセットされる。NAND回路は、R−
SFFの出力信号とインターバルタイマの出力信号との
NAND演算を行ない、位相同期外れ検出信号を生成す
る。これにより、所定の期間にわたり有効セルが検出さ
れない、即ち正常なデータが受信できない場合に、位相
同期外れが生じていると判断し、位相同期外れ検出信号
を出力し、PLLの同期回復を行なう。
To achieve the above object, the out-of-phase detecting circuit according to the present invention comprises an interval timer, a delay circuit, a set / reset flip-flop (hereinafter, R-SFF) and a NAND circuit. The interval timer generates an output signal every predetermined period,
Supply to the delay circuit and the NAND circuit. R-SFF is
It is set by the output signal of the interval timer delayed by the delay circuit, and is reset by the valid cell detection signal generated by the signal processing circuit. The NAND circuit has an R-
A NAND operation is performed on the output signal of the SFF and the output signal of the interval timer to generate an out-of-phase detection signal. Thus, when no valid cell is detected for a predetermined period, that is, when normal data cannot be received, it is determined that phase synchronization has been lost, a phase loss detection signal is output, and PLL synchronization recovery is performed.

【0007】[0007]

【発明の実施の形態】以下、本発明を伝送速度25Mb
psのATM(AsynchronousTransf
er Mode)規格(以下AMT25)の信号処理回
路に適用した場合の一実施例について、図1、図2、図
3、図4、及び図5を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described with a transmission rate of 25 Mb.
ps ATM (Asynchronous Transf
An example in which the present invention is applied to a signal processing circuit of the er Mode (hereinafter, AMT25) standard will be described with reference to FIGS. 1, 2, 3, 4, and 5. FIG.

【0008】図1は一実施例のブロック図、図2は本実
施例の動作を示すタイミングチャート、図3はATM2
5におけるデータ転送の単位であるセルのフォーマット
を示す説明図、図4は図3に示すセルのHEADER部
分の説明図、また図5は図1に示す信号処理回路のブロ
ック図である。
FIG. 1 is a block diagram of one embodiment, FIG. 2 is a timing chart showing the operation of this embodiment, and FIG.
5 is an explanatory diagram showing a cell format as a unit of data transfer, FIG. 4 is an explanatory diagram of a HEADER portion of the cell shown in FIG. 3, and FIG. 5 is a block diagram of the signal processing circuit shown in FIG.

【0009】図1で、1は受信信号入力端子、2は等化
回路、3は上記等化回路2で波形等化された出力デー
タ、4は信号処理回路、5はデータ出力端子、6は有効
セル検出信号、7は位相同期外れ検出回路、8はインタ
ーバルタイマ、9はインターバルタイマ出力信号、10
は遅延回路、11はR−SFF、12はNAND回路、
13は位相同期外れ検出信号、14は水晶発振器、15
はPLL、16は位相比較回路、17は周波数比較回
路、18はセレクタ、19はPLLモード制御回路、2
0はチャージポンプ、21はループフィルタ、22は電
圧制御発振回路(以下VCO)、23はクロック信号で
ある。
In FIG. 1, 1 is a reception signal input terminal, 2 is an equalization circuit, 3 is output data whose waveform has been equalized by the equalization circuit 2, 4 is a signal processing circuit, 5 is a data output terminal, and 6 is a data output terminal. A valid cell detection signal, 7 is an out-of-phase detection circuit, 8 is an interval timer, 9 is an interval timer output signal, 10
Is a delay circuit, 11 is an R-SFF, 12 is a NAND circuit,
13 is an out-of-phase detection signal, 14 is a crystal oscillator, 15
Is a PLL, 16 is a phase comparison circuit, 17 is a frequency comparison circuit, 18 is a selector, 19 is a PLL mode control circuit, 2
Reference numeral 0 denotes a charge pump, reference numeral 21 denotes a loop filter, reference numeral 22 denotes a voltage-controlled oscillation circuit (hereinafter, VCO), and reference numeral 23 denotes a clock signal.

【0010】受信信号入力端子1より入力される受信信
号は、等化回路2で信号伝送路による波形劣化を補償さ
れ、また所定のしきい値判定処理により1/0の2値デ
ータに変換される。等化回路2の出力データ3は、信号
処理回路4及びPLL15へ供給される。
The received signal input from the received signal input terminal 1 is compensated for waveform deterioration due to the signal transmission path by the equalizing circuit 2, and is converted into 1/0 binary data by a predetermined threshold value judgment process. You. The output data 3 of the equalizer 2 is supplied to the signal processor 4 and the PLL 15.

【0011】信号処理回路4は、出力データ3に対し所
定のデータ復号処理を行ない、データ出力端子5へデー
タを出力する。またデータ復号処理の過程で有効セルの
検出を行ない、有効セル検出信号6を出力する。
The signal processing circuit 4 performs a predetermined data decoding process on the output data 3 and outputs the data to a data output terminal 5. In addition, a valid cell is detected in the course of data decoding, and a valid cell detection signal 6 is output.

【0012】PLL15は、等化回路の出力データ3及
び水晶発振器14の出力信号を入力として、クロック信
号23を生成する。位相比較回路16は、等化回路の出
力データ3とVCO22で生成するクロック信号23と
の位相差に応じた誤差信号を生成する。また、周波数比
較回路17は、水晶発振器14の出力信号とVCO22
で生成するクロック信号23との周波数差に応じた誤差
信号を生成する。セレクタ18は、PLLモード制御回
路19により切り替えられ、受信信号が入力されない場
合及び起動時の所定の期間、周波数比較回路17の出力
誤差信号を選択し、チャージポンプ20へ供給する。チ
ャージポンプ20は、電流源及びスイッチにより構成さ
れ、誤差信号に応じてループフィルタ21の充放電を行
なう。ループフィルタ21は、チャージポンプによる充
放電電流を電圧の変化に変換し、VCO22へ供給す
る。VCO22は、ループフィルタ21の出力電圧に応
じた発振周波数のクロック信号23を生成する。以上の
プロセスを繰り返すことにより、VCO22の発振周波
数と、水晶発振器の周波数とを一致させる。この、両者
の周波数を一致させるプロセスを、周波数比較モードと
呼ぶ。
The PLL 15 receives the output data 3 of the equalizer circuit and the output signal of the crystal oscillator 14 and generates a clock signal 23. The phase comparison circuit 16 generates an error signal corresponding to the phase difference between the output data 3 of the equalization circuit and the clock signal 23 generated by the VCO 22. Further, the frequency comparison circuit 17 outputs the output signal of the crystal oscillator 14 and the VCO 22
Generates an error signal corresponding to the frequency difference from the clock signal 23 generated in step (1). The selector 18 is switched by the PLL mode control circuit 19, selects an output error signal of the frequency comparison circuit 17 when a reception signal is not input, and during a predetermined period at the time of startup, and supplies the output error signal to the charge pump 20. The charge pump 20 includes a current source and a switch, and charges and discharges the loop filter 21 according to the error signal. The loop filter 21 converts the charge / discharge current by the charge pump into a change in voltage and supplies the change to the VCO 22. The VCO 22 generates a clock signal 23 having an oscillation frequency according to the output voltage of the loop filter 21. By repeating the above process, the oscillation frequency of the VCO 22 matches the frequency of the crystal oscillator. This process of matching the two frequencies is called a frequency comparison mode.

【0013】周波数比較モードにより水晶発振器14の
発振周波数とVCO22の発振周波数とを一致させた
後、セレクタ18を切り替え位相比較回路16の出力信
号を選択する。位相比較回路16の出力信号は、等化回
路の出力データ3とVCOで生成するクロック信号23
との位相差に対応しているため、PLLはVCOで生成
するクロック信号23の位相を等化回路の出力データ3
の位相に追従させる。この、両者の位相を一致させるプ
ロセスを、位相比較モードと呼ぶ。
After matching the oscillation frequency of the crystal oscillator 14 with the oscillation frequency of the VCO 22 in the frequency comparison mode, the selector 18 is switched to select the output signal of the phase comparison circuit 16. The output signal of the phase comparison circuit 16 is the output data 3 of the equalization circuit and the clock signal 23 generated by the VCO.
Corresponds to the phase difference between the clock signal 23 and the phase of the clock signal 23 generated by the VCO.
To follow the phase of This process of matching both phases is called a phase comparison mode.

【0014】ここで、入力信号にノイズなどがのり、P
LLの位相同期が外れた場合を考える。一般に磁気ディ
スクなどでは、データを所定のバイト数毎のセクタに分
割し、各セクタの先頭にPLLを同期させるための固定
パターンを記録しているため、PLLの位相同期が外れ
た場合でも、次のセクタの先頭で位相同期を回復するこ
とができる。それに対しATM25では、回線上を伝送
するデータ列は送信時の信号処理によりランダムデータ
に変換されるため、一旦位相同期が外れてしまうと、位
相比較の基準となるデータとクロック信号のエッジを規
定することができず、同期回復が困難となってしまい、
最悪の場合以後のデータが全く正常に復号されなくな
る。そこで、PLLの位相同期外れを検出し再同期を行
なうための手段が必要になる。
Here, noise or the like is added to the input signal, and P
Consider a case where the LL loses phase synchronization. In general, on a magnetic disk or the like, data is divided into sectors each having a predetermined number of bytes, and a fixed pattern for synchronizing the PLL is recorded at the beginning of each sector. Phase synchronization can be restored at the beginning of the sector. On the other hand, in the ATM 25, since the data sequence transmitted on the line is converted into random data by signal processing at the time of transmission, once the phase is out of synchronization, the data used as a reference for phase comparison and the edge of the clock signal are defined. And it becomes difficult to recover synchronization,
In the worst case, subsequent data will not be decoded normally. Therefore, means for detecting the loss of phase synchronization of the PLL and performing resynchronization is required.

【0015】位相同期外れ検出回路7は、データの受信
状況を監視することにより等価的にPLLの位相同期状
態を判断し、位相同期外れ検出信号13を生成する。以
下、位相同期外れ検出回路7の動作を説明する。
The out-of-phase detection circuit 7 equivalently determines the phase synchronization state of the PLL by monitoring the data reception status, and generates the out-of-phase detection signal 13. Hereinafter, the operation of the out-of-phase detection circuit 7 will be described.

【0016】インターバルタイマ8は、所定の周期で出
力信号9を生成し、遅延回路10及びNAND回路12
へ供給する。遅延回路10で所定の時間遅延された、イ
ンターバルタイマ出力信号9は、R−SFF11のセッ
ト端子へ供給され、R−SFFの出力をハイレベルにす
る。一方、信号処理回路4で生成された有効セル検出信
号6は、R−SFFのリセット端子へ供給され、R−S
FFの出力をローレベルにする。NAND回路12は、
インターバルタイマ出力信号9とR−SFF11の出力
信号とのNAND演算を行ない、位相同期外れ検出信号
13を生成する。PLLモード制御回路19は、位相同
期外れ検出信号13の入力により所定の時間PLLの動
作モードを周波数比較モードに切り替え、PLLの再同
期を行なう。
The interval timer 8 generates an output signal 9 at a predetermined cycle, and outputs a delay circuit 10 and a NAND circuit 12
Supply to The interval timer output signal 9 delayed for a predetermined time by the delay circuit 10 is supplied to the set terminal of the R-SFF 11, and changes the output of the R-SFF to a high level. On the other hand, the valid cell detection signal 6 generated by the signal processing circuit 4 is supplied to the reset terminal of the R-SFF,
Set the output of the FF to low level. The NAND circuit 12
The NAND operation of the interval timer output signal 9 and the output signal of the R-SFF 11 is performed, and the out-of-phase detection signal 13 is generated. The PLL mode control circuit 19 switches the operation mode of the PLL to the frequency comparison mode for a predetermined time in response to the input of the out-of-phase detection signal 13, and resynchronizes the PLL.

【0017】以上述べた動作を、図2に示すタイミング
チャートにより説明する。同図に示すように、インター
バルタイマ出力信号9は所定の周期(Tint)で生成
され、遅延回路10で所定の時間遅延された後にR−S
FF11をハイレベルにセットする。一方、信号処理回
路4により有効セル検出信号6が生成された場合、R−
SFFはローレベルにリセットされる。従って、Tin
t期間に有効セルが検出された場合は、次のインターバ
ルタイマ出力信号のタイミングにおけるR−SFF出力
がローレベルとなるため、NAND回路12の出力はハ
イレベルのままであり、位相同期外れ検出信号13は生
成されず、PLLモード制御回路19は引き続き位相比
較モードを選択する。また、Tint期間中に有効セル
が検出されなかった場合、R−SFF11はリセットさ
れず、次のインターバルタイマ出力信号のタイミングに
おけるR−SFF出力はハイレベルのままであるため、
NAND回路の出力はローとなり、位相同期外れ検出信
号13が生成される。位相同期外れ検出信号13が生成
された場合、PLLモード制御回路19は、PLLモー
ドを所定の期間周波数比較モードに切り替え、VCO2
2の発振周波数を水晶発振器14の発振周波数に一致さ
せる。その後、PLLモードを位相比較モードに切り替
え、VCO22が生成するクロック信号23の位相を等
化回路出力データ3の位相に一致させる。従って、デー
タ受信中にノイズなどの影響によりPLLの同期が外れ
た場合でも、最悪のケースでTintで規定される時間
後にはPLLの同期を回復することができる。
The operation described above will be described with reference to a timing chart shown in FIG. As shown in the figure, the interval timer output signal 9 is generated at a predetermined cycle (Tint), and after being delayed by a predetermined time by the delay circuit 10, the R-S
FF11 is set to high level. On the other hand, when the valid cell detection signal 6 is generated by the signal processing circuit 4, R-
SFF is reset to a low level. Therefore, Tin
When a valid cell is detected during the period t, the output of the NAND circuit 12 remains at the high level because the R-SFF output at the timing of the next interval timer output signal is at the low level. 13 is not generated, and the PLL mode control circuit 19 continues to select the phase comparison mode. If no valid cell is detected during the Tint period, the R-SFF 11 is not reset, and the R-SFF output at the timing of the next interval timer output signal remains at the high level.
The output of the NAND circuit becomes low, and the out-of-phase detection signal 13 is generated. When the out-of-phase detection signal 13 is generated, the PLL mode control circuit 19 switches the PLL mode to the frequency comparison mode for a predetermined period,
The oscillation frequency of No. 2 is made to match the oscillation frequency of the crystal oscillator 14. After that, the PLL mode is switched to the phase comparison mode, and the phase of the clock signal 23 generated by the VCO 22 is made to match the phase of the output data 3 of the equalizer circuit. Therefore, even if the PLL is out of synchronization due to the influence of noise or the like during data reception, in the worst case, the PLL can be restored after the time specified by Tint.

【0018】次に、信号処理回路4における有効セルの
検出方法について、図3、図4及び図5により説明す
る。
Next, a method of detecting a valid cell in the signal processing circuit 4 will be described with reference to FIGS. 3, 4 and 5. FIG.

【0019】図3は、ATM25におけるデータ転送単
位であるセルのフォーマットを示す説明図である。同図
に示すように、一つのセルは53バイトのデータにより
構成され、そのうち先頭の5バイトが各セルのIDなど
を表すHEADERであり、続く48バイトがPAYL
OADと呼ばれるユーザデータである。
FIG. 3 is an explanatory diagram showing the format of a cell as a data transfer unit in the ATM 25. As shown in the figure, one cell is composed of 53 bytes of data, of which the first 5 bytes are HEADER indicating the ID of each cell and the following 48 bytes are PAYL.
This is user data called OAD.

【0020】図4は、HEADERの説明図である。同
図に示すように、HEADERは主にセルのアドレスを
表すVPI、VCI及びHEADERの伝送エラー検出
に用いるHECにより構成される。HECは、5バイト
のHEADERデータのうちの先頭の4バイトに対する
CRCコードであり、送信側の信号処理で所定の生成多
項式に基づき生成される。
FIG. 4 is an explanatory diagram of HEADER. As shown in the figure, the HEADER is mainly composed of a VPI, a VCI indicating a cell address, and a HEC used for detecting a transmission error of the HEADER. HEC is a CRC code for the first 4 bytes of the 5-byte HEADER data, and is generated based on a predetermined generating polynomial in signal processing on the transmission side.

【0021】図5は、信号処理回路4のブロック構成を
示す図である。同図に示すように、信号処理回路4はN
RZI復調回路24、4B5B復号回路25、デ・スク
ランブル回路26及びHEC復号回路27により構成さ
れ、PLLで生成されるクロック信号23を基準クロッ
クとして動作する。
FIG. 5 is a diagram showing a block configuration of the signal processing circuit 4. As shown in FIG. As shown in FIG.
The circuit comprises an RZI demodulation circuit 24, a 4B5B decoding circuit 25, a descramble circuit 26 and an HEC decoding circuit 27, and operates using a clock signal 23 generated by a PLL as a reference clock.

【0022】等化回路出力データ3は、NRZI復調回
路24、4B5B復号回路25及びデ・スクランブル回
路26により所定の信号処理を施され、HEC復号回路
27へ供給される。HEC復号回路27は、各信号処理
を受けたセルのHEADERにエラーが生じたか否かを
検出する。エラーの検出は、HEC生成時に用いた生成
多項式と同一の生成多項式による5バイトのHEADE
Rデータに対する除算により行なわれる。除算の結果、
剰余が’0’であればHEADERデータにエラーは生
じていないことを示し、HEC復号回路27は有効セル
検出信号6を生成する。一方、除算の結果、剰余が’
0’でない場合では、HEADERデータにエラーが生
じたことを示すため、HEC復号回路27は有効セル検
出信号6を生成しない。
The equalizer circuit output data 3 is subjected to predetermined signal processing by an NRZI demodulator circuit 24, 4B5B decoder circuit 25 and descrambler circuit 26, and is supplied to an HEC decoder circuit 27. The HEC decoding circuit 27 detects whether an error has occurred in the HEADER of the cell subjected to each signal processing. Error detection is performed using a 5-byte HEADE using the same generator polynomial as the generator polynomial used when generating the HEC.
This is performed by dividing the R data. As a result of the division,
If the remainder is “0”, it indicates that no error has occurred in the HEADER data, and the HEC decoding circuit 27 generates a valid cell detection signal 6. On the other hand, as a result of division,
If it is not 0 ′, it indicates that an error has occurred in the HEADER data, and the HEC decoding circuit 27 does not generate the valid cell detection signal 6.

【0023】このように、所定の周期で有効セルが検出
されたか否かを監視することにより、等価的にPLLの
同期外れを検出し同期回復の処理を行なうことが可能と
なる。また、本実施例で説明したインターバルタイマと
しては、所定の周期で出力信号を生成するものであれば
その方式は特に問わず、例えばワンショット.マルチバ
イブレータ、或いは水晶発振器の出力クロックまたはそ
の1/n(nは整数)に分周したクロックで動作するカ
ウンタ等を用いても全く問題はなく、本発明の本質を損
なうものではない。
As described above, by monitoring whether or not a valid cell is detected at a predetermined cycle, it becomes possible to equivalently detect the loss of synchronization of the PLL and perform the synchronization recovery processing. The interval timer described in the present embodiment is not particularly limited as long as it generates an output signal at a predetermined cycle. The use of a multivibrator or a counter that operates with an output clock of a crystal oscillator or a clock divided by 1 / n (n is an integer) has no problem and does not impair the essence of the present invention.

【0024】次に、本発明における位相同期外れ検出回
路7として他の構成を用いた場合の例を、図6及び図7
により説明する。
Next, an example in which another configuration is used as the out-of-phase detection circuit 7 in the present invention will be described with reference to FIGS.
This will be described below.

【0025】図6は本実施例における位相同期外れ検出
回路7の構成を示す図、図7は位相同期外れ検出回路7
の動作の一例を示すタイミングチャートである。
FIG. 6 is a diagram showing the configuration of the out-of-phase detecting circuit 7 in this embodiment, and FIG.
6 is a timing chart showing an example of the operation of FIG.

【0026】図6で、28はシステムコントローラ、2
9はシステムコントローラ28とのデータインターフェ
ースを行なうレジスタ、30は立ち上がりエッジ検出回
路、31はR−SFF、32は3入力NAND回路、3
3はシステムコントローラ28の出力データ、34はデ
ータライトパルス、35はシステムコントローラ28の
出力信号に同期したクロック、36はレジスタ29の出
力データ、37は立ち上がりエッジ検出回路30の出力
信号、38はR−SFF31の出力信号である。
In FIG. 6, 28 is a system controller, 2
9 is a register for performing a data interface with the system controller 28, 30 is a rising edge detection circuit, 31 is an R-SFF, 32 is a 3-input NAND circuit, 3
3 is output data of the system controller 28, 34 is a data write pulse, 35 is a clock synchronized with the output signal of the system controller 28, 36 is output data of the register 29, 37 is an output signal of the rising edge detection circuit 30, and 38 is R -An output signal of the SFF 31.

【0027】システムコントローラ28は、クロック3
5に同期してデータ33及びデータライトパルス34を
生成し、所定の周期でレジスタ29に’1’をライトす
る。レジスタ29の初期値は’0’であるので、、レジ
スタ出力データ36はシステムコントローラより’1’
がライトされた場合に’1’に変化する。立ち上がりエ
ッジ検出回路30は、レジスタ出力信号36の立ち上が
りエッジを検出し、出力信号37を生成する。立ち上が
りエッジ検出回路の出力信号37は、レジスタ29及び
R−SFF31に供給される。レジスタ29は、立ち上
がりエッジ検出回路の出力信号37によりクリアされ
る。また、R−SFF31は立ち上がりエッジ検出回路
出力信号37によりセットされ、R−SFFの出力信号
38は’1’に変化する。
The system controller 28 controls the clock 3
5, the data 33 and the data write pulse 34 are generated, and "1" is written to the register 29 at a predetermined cycle. Since the initial value of the register 29 is "0", the register output data 36 is "1" from the system controller.
Changes to '1' when is written. The rising edge detection circuit 30 detects a rising edge of the register output signal 36 and generates an output signal 37. The output signal 37 of the rising edge detection circuit is supplied to the register 29 and the R-SFF 31. The register 29 is cleared by the output signal 37 of the rising edge detection circuit. The R-SFF 31 is set by the rising edge detection circuit output signal 37, and the output signal 38 of the R-SFF changes to "1".

【0028】ここで、まず信号処理回路4で有効セルが
受信され、有効セル検出信号6が生成された場合の動作
について説明する。有効セル検出信号6が入力された場
合、R−SFFがリセットされ、R−SFFの出力信号
38は’0’に変化する。この結果、所定期間後に、シ
ステムコントローラ28からレジスタ29に’1’をラ
イトする時点では、3入力NAND回路32の入力信号
の内R−SFFの出力信号38が’0’であるため、N
AND回路32の出力は’1’のままであり位相同期外
れ検出信号13は生成されない。
Here, the operation in the case where a valid cell is received by the signal processing circuit 4 and the valid cell detection signal 6 is generated will be described. When the valid cell detection signal 6 is input, the R-SFF is reset, and the output signal 38 of the R-SFF changes to “0”. As a result, when the system controller 28 writes “1” to the register 29 after a predetermined period, the output signal 38 of the R-SFF of the input signals of the three-input NAND circuit 32 is “0”.
The output of the AND circuit 32 remains “1” and the out-of-phase detection signal 13 is not generated.

【0029】次に、信号処理回路4で有効セルが受信さ
れず、有効セル検出信号6が生成されなかった場合の動
作について説明する。有効セル検出信号6が入力されな
い場合、R−SFFは立ち上がりエッジ検出回路の出力
信号37によりセットされたままになっており、R−S
FFの出力信号38は’1’を保持する。この結果、所
定期間後にシステムコントローラ28からレジスタ29
に’1’をライトする時点では、3入力NAND回路3
2の入力信号が全て’1’となるため、3入力NAND
回路32の出力は’0’に変化し、位相同期外れ検出信
号13が生成される。
Next, the operation when the valid cell is not received by the signal processing circuit 4 and the valid cell detection signal 6 is not generated will be described. When the valid cell detection signal 6 is not input, the R-SFF remains set by the output signal 37 of the rising edge detection circuit and the R-SFF
The output signal 38 of the FF holds “1”. As a result, after a predetermined period, the system controller 28 sends the register 29
At the time of writing “1” to the 3-input NAND circuit 3
Since all the input signals of 2 become “1”, a 3-input NAND
The output of the circuit 32 changes to '0', and the out-of-phase detection signal 13 is generated.

【0030】この動作を、図7に示すタイミングチャー
トを用いて説明する。図7(a)は、信号処理回路4で
有効セルが受信されず、有効セル検出信号6が生成され
なかった場合の動作を示し、また図7(b)は、信号処
理回路4で有効セルが受信され、有効セル検出信号6が
生成された場合の動作を示す。
This operation will be described with reference to the timing chart shown in FIG. FIG. 7A shows an operation in a case where a valid cell is not received by the signal processing circuit 4 and the valid cell detection signal 6 is not generated, and FIG. Are received and the valid cell detection signal 6 is generated.

【0031】図7(a)に示すように、時刻T1及びT
2で、システムコントローラ28はシステムコントロー
ラの出力データ33、データライトパルス34及びクロ
ック35により、レジスタ29へデータ’1’をライト
する。これにより、レジスタの出力信号36は、時刻T
1及びT2で’0’から’1’へ変化する。立ち上がり
エッジ検出回路30は、レジスタ出力信号36の立ち上
がりエッジを検出し、出力信号37を生成する。立ち上
がりエッジ検出回路の出力信号37は、レジスタ29及
びR−SFF31へ供給され、レジスタ29をクリアし
レジスタの出力信号36を’0’にすると共に、R−S
FF31をセットしR−SFFの出力信号38を’1’
に変化させる。ここで、時刻T1からT2までの間に有
効セルが受信されず、有効セル検出信号6が生成されな
いため、R−SFF31はリセットされずR−SFFの
出力信号38は’1’を保持する。この結果、時刻T2
で、システムコントローラ28からレジスタ29へデー
タ’1’をライトする時に、3入力NAND回路32の
入力信号が全て’1’となるため、3入力NAND回路
32の出力信号は’0’となり、位相同期外れ検出信号
13が生成される。
As shown in FIG. 7A, at times T1 and T
In step 2, the system controller 28 writes data '1' to the register 29 in accordance with the output data 33 of the system controller, the data write pulse 34, and the clock 35. Thus, the output signal 36 of the register becomes the time T
It changes from '0' to '1' at 1 and T2. The rising edge detection circuit 30 detects a rising edge of the register output signal 36 and generates an output signal 37. The output signal 37 of the rising edge detection circuit is supplied to the register 29 and the R-SFF 31 to clear the register 29 and set the output signal 36 of the register to "0",
Set the FF 31 and set the output signal 38 of the R-SFF to “1”.
To change. Here, no valid cell is received between time T1 and T2, and no valid cell detection signal 6 is generated, so that the R-SFF 31 is not reset and the output signal 38 of the R-SFF holds “1”. As a result, at time T2
Therefore, when data "1" is written from the system controller 28 to the register 29, all the input signals of the three-input NAND circuit 32 become "1", so that the output signal of the three-input NAND circuit 32 becomes "0", An out-of-sync detection signal 13 is generated.

【0032】一方、図7(b)に示すように時刻T1か
らT2までの間に有効セルが受信され、有効セル検出信
号6が生成された場合、R−SFF31は有効セル検出
信号6によりリセットされ、出力信号38は’0’にな
る。この結果、時刻T2でシステムコントローラ28か
らレジスタ29へデータ’1’をライトする時点では、
3入力NAND回路32の入力信号のうちR−SFFの
出力信号38が’0’になっているため、3入力NAN
D回路の出力信号は’1’のままであり、位相同期外れ
検出信号13は生成されない。
On the other hand, as shown in FIG. 7B, when a valid cell is received from time T1 to T2 and a valid cell detection signal 6 is generated, the R-SFF 31 is reset by the valid cell detection signal 6. And the output signal 38 becomes '0'. As a result, at the time point when data “1” is written from the system controller 28 to the register 29 at time T2,
Since the output signal 38 of the R-SFF among the input signals of the 3-input NAND circuit 32 is “0”, the 3-input NAN
The output signal of the D circuit remains “1”, and the out-of-phase detection signal 13 is not generated.

【0033】このように、システムコントローラ28よ
り所定の周期毎にレジスタ29にデータ’1’をライト
し、周期内に有効セルを受信した場合には位相同期外れ
検出信号13を生成せず、また、周期内に有効セルを検
出しなかった場合に位相同期外れ検出信号13を生成す
る。PLLモード制御回路19は、位相同期外れ検出信
号13が生成された場合にPLLの動作モードを一時的
に位相比較モードから周波数比較モードに切り替え、P
LLの引き込みが迅速に行なわれるように制御する。
As described above, data "1" is written to the register 29 by the system controller 28 at predetermined intervals, and when a valid cell is received within the period, the out-of-phase detection signal 13 is not generated. , When no valid cell is detected within the period, the out-of-phase detection signal 13 is generated. When the out-of-phase detection signal 13 is generated, the PLL mode control circuit 19 temporarily switches the operation mode of the PLL from the phase comparison mode to the frequency comparison mode.
Control is performed so that LL is pulled in quickly.

【0034】これにより、入力信号中のノイズやジッタ
などの外乱によりPLLの位相同期外れが生じた場合で
も、正常セルの受信状況を監視することにより等価的に
位相同期はずれを検出することが可能となり、PLLの
同期回復を行なうことができる。
Thus, even if the PLL loses phase synchronization due to disturbance such as noise or jitter in the input signal, phase loss can be detected equivalently by monitoring the reception status of the normal cell. , And PLL synchronization recovery can be performed.

【0035】なお、本実施例では、ATM25の信号処
理回路に本発明のPLL制御方式を適用した場合につい
て述べたが、もちろん他の規格のディジタルデータ処理
装置に適用した場合でも同様の効果を得ることができ、
本発明の本質を損なうものではない。
In this embodiment, the case where the PLL control system of the present invention is applied to the signal processing circuit of the ATM 25 has been described. Of course, the same effects can be obtained when the present invention is applied to a digital data processing device of another standard. It is possible,
It does not impair the essence of the invention.

【0036】[0036]

【発明の効果】本発明のPLL制御方式によれば、ラン
ダムデータに対して位相同期を行なうPLLで、受信信
号中のノイズやジッタなどの外乱により位相同期外れが
生じた場合でも、正常セルの受信状況を常に監視するこ
とにより位相同期外れを検出し、PLLの位相同期を回
復することができる。
According to the PLL control method of the present invention, in a PLL that performs phase synchronization with random data, even if the phase synchronization is lost due to disturbance such as noise or jitter in a received signal, the normal cell can be synchronized. Loss of phase synchronization can be detected by constantly monitoring the reception status, and PLL phase synchronization can be restored.

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

【図1】本発明の一実施例である位相同期外れ検出回路
及びPLL回路のブロック図。
FIG. 1 is a block diagram of an out-of-phase detection circuit and a PLL circuit according to an embodiment of the present invention.

【図2】図1に構成を示す実施例の動作の一例を示すタ
イミングチャート。
FIG. 2 is a timing chart showing an example of the operation of the embodiment whose configuration is shown in FIG.

【図3】ATM25におけるデータ転送の単位であるセ
ルの説明図。
FIG. 3 is an explanatory diagram of a cell which is a unit of data transfer in the ATM 25.

【図4】図3に示すセルのHEADER部の説明図。FIG. 4 is an explanatory diagram of a HEADER section of the cell shown in FIG. 3;

【図5】図1に示す信号処理回路のブロック図。FIG. 5 is a block diagram of the signal processing circuit shown in FIG. 1;

【図6】本発明の他の実施例における位相同期外れ検出
回路のブロック図。
FIG. 6 is a block diagram of an out-of-phase detection circuit according to another embodiment of the present invention.

【図7】図6に構成を示す位相同期外れ検出回路の動作
の一例を示すタイミングチャート。
7 is a timing chart showing an example of the operation of the out-of-phase detection circuit having the configuration shown in FIG. 6;

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

1…受信信号入力端子、 2…等化回路、 3…等化回路出力データ、 4…信号処理回路、 5…データ出力端子、 6…有効セル検出信号、 7…位相同期外れ検出回路、 8…インターバルタイマ、 9…インターバルタイマ出力信号、 10…遅延回路、 11…R−SFF、 12…NAND回路、 13…位相同期外れ検出信号、 14…水晶発振器、 15…PLL回路、 16…位相比較回路、 17…周波数比較回路、 18…セレクタ、 19…PLLモード制御回路、 20…チャージポンプ、 21…ループフィルタ、 22…VCO、 23…クロック信号。 DESCRIPTION OF SYMBOLS 1 ... Reception signal input terminal, 2 ... Equalization circuit, 3 ... Equalization circuit output data, 4 ... Signal processing circuit, 5 ... Data output terminal, 6 ... Effective cell detection signal, 7 ... Out of phase synchronization detection circuit, 8 ... Interval timer, 9: interval timer output signal, 10: delay circuit, 11: R-SFF, 12: NAND circuit, 13: out-of-phase detection signal, 14: crystal oscillator, 15: PLL circuit, 16: phase comparison circuit, 17: frequency comparison circuit, 18: selector, 19: PLL mode control circuit, 20: charge pump, 21: loop filter, 22: VCO, 23: clock signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 端 栄三 神奈川県海老名市下今泉810番地株式会社 日立製作所オフィスシステム事業部内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Eizo Hakata 810 Shimoimaizumi, Ebina-shi, Kanagawa Prefecture Hitachi Systems Office Systems Division

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】信号伝送路或いは信号記録媒体より信号を
再生する信号処理回路、及び再生信号に同期したクロッ
ク信号を生成する位相同期ループ回路よりなる信号処理
系において、位相同期ループモード制御回路、及び、イ
ンターバルタイマと、上記インターバルタイマの出力信
号を所定時間遅延する遅延回路と、セット/リセットフ
リップフロップと、NAND回路とからなる位相同期外
れ検出回路を設けたことを特徴とする位相同期ループ制
御方式。
A signal processing circuit for reproducing a signal from a signal transmission path or a signal recording medium; and a phase locked loop circuit for generating a clock signal synchronized with the reproduced signal. And a phase locked loop control circuit comprising an interval timer, a delay circuit for delaying an output signal of the interval timer for a predetermined time, a set / reset flip-flop, and a phase out-of-synchronization detection circuit comprising a NAND circuit. method.
【請求項2】上記インターバルタイマは所定の周期で出
力信号を生成し、上記セット/リセットフリップフロッ
プは上記遅延回路により所定の時間遅延された上記イン
ターバルタイマの出力信号により出力レベルをハイにセ
ット或いは上記信号処理回路より出力される有効セル検
出信号により出力レベルをローにリセットし、上記NA
ND回路は上記インターバルタイマの出力信号と上記セ
ット/リセットフリップフロップの出力信号とのNAN
D演算により位相同期外れ検出信号を生成する請求項1
に記載の位相同期ループ制御方式。
2. The interval timer generates an output signal at a predetermined cycle, and the set / reset flip-flop sets an output level to high or an output level according to an output signal of the interval timer delayed by a predetermined time by the delay circuit. The output level is reset to low by an effective cell detection signal output from the signal processing circuit,
The ND circuit is configured to output the NAN of the output signal of the interval timer and the output signal of the set / reset flip-flop.
2. A phase-out-of-phase detection signal is generated by a D operation.
3. The phase-locked loop control method according to 1.
【請求項3】上記位相同期ループモード制御回路は、上
記位相同期外れ検出信号により位相同期ループの動作モ
ードを所定の期間周波数比較モードに切り替える請求項
2に記載の位相同期ループ制御方式。
3. The phase-locked loop control method according to claim 2, wherein the phase-locked loop mode control circuit switches the operation mode of the phase-locked loop to a frequency comparison mode for a predetermined period according to the out-of-phase detection signal.
JP8321320A 1996-12-02 1996-12-02 Phase-locked loop control system Pending JPH10163864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8321320A JPH10163864A (en) 1996-12-02 1996-12-02 Phase-locked loop control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8321320A JPH10163864A (en) 1996-12-02 1996-12-02 Phase-locked loop control system

Publications (1)

Publication Number Publication Date
JPH10163864A true JPH10163864A (en) 1998-06-19

Family

ID=18131281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8321320A Pending JPH10163864A (en) 1996-12-02 1996-12-02 Phase-locked loop control system

Country Status (1)

Country Link
JP (1) JPH10163864A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442703B1 (en) 1998-08-12 2002-08-27 Nec Corporation Clock regenerator
KR100418017B1 (en) * 2001-05-24 2004-02-11 최우영 Data and clock recovery circuit
US6873669B2 (en) 2000-06-09 2005-03-29 Nec Corporation Clock signal reproduction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442703B1 (en) 1998-08-12 2002-08-27 Nec Corporation Clock regenerator
US6873669B2 (en) 2000-06-09 2005-03-29 Nec Corporation Clock signal reproduction device
KR100418017B1 (en) * 2001-05-24 2004-02-11 최우영 Data and clock recovery circuit

Similar Documents

Publication Publication Date Title
EP0661842A2 (en) Clock recovery using gated phase lock loop
EP0538867B1 (en) Decision-directed digital phase locked loop
JP3346445B2 (en) Identification / timing extraction circuit
US20010005164A1 (en) Clock recovery circuit
JPH10163864A (en) Phase-locked loop control system
JP4303888B2 (en) Recording of information signals on tracks of recording media and reproduction of recorded information signals
JP3090591B2 (en) Clock recovery device
JPH06203483A (en) Device and method for reproducing digital signal and integrated circuit used for it
JP4183535B2 (en) Optical signal transmission device for speed conversion processing of frame signal
JP2004112754A (en) Burst-mode clock signal regenerating apparatus and method
JP3340558B2 (en) Signal detection device and clock recovery device using the same
JPH1027433A (en) Decoding device of digital signals
JPH06303254A (en) Source clock reproducing circuit
KR0179114B1 (en) Reproduction method of dvcr with multi reproducing mode
JP2578693B2 (en) Interface circuit
JP2922605B2 (en) Data demodulator
JP4034131B2 (en) Digital PLL circuit
JPH07273648A (en) Pll circuit
JP3789063B2 (en) Symbol clock recovery circuit
JPH09135240A (en) Digital phase synchronizing circuit for multi-rate signal receiving circuit
JP2000260131A (en) Method and circuit for protecting detection of synchronizing signal
JP3031779B2 (en) Parallel staff synchronization method
JP3003471B2 (en) Clock switching circuit
JP2870502B2 (en) Digital data demodulator
JPH08195674A (en) Clock extraction circuit