JPH0951267A - Phase synchronization circuit - Google Patents
Phase synchronization circuitInfo
- Publication number
- JPH0951267A JPH0951267A JP7202180A JP20218095A JPH0951267A JP H0951267 A JPH0951267 A JP H0951267A JP 7202180 A JP7202180 A JP 7202180A JP 20218095 A JP20218095 A JP 20218095A JP H0951267 A JPH0951267 A JP H0951267A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- reference clock
- phase
- period
- rin
- 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
Links
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
(57)【要約】
【課題】 位相同期回路において基準クロックの断によ
る誤動作を防止する。
【解決手段】 歯抜けクロック検出回路5は、基準クロ
ックRinが高レベル(以下、“H”という)の期間
に、該基準クロックよりも高い周波数の検出クロックDE
TCK のパルス数をカウントし、そのカウント数が基準ク
ロックRinの“H”の定常時の期間よりも長い期間に
対応して設定されたカウント数に達したとき、又は基準
クロックRinが低レベル(以下、“L”という)の期
間に、検出クロックDETCK のパルスをカウントし、その
カウント数が基準クロックRinの“L”の定常時の期
間よりも長い期間に対応して設定されたカウント数に達
したとき、位相比較器1をリセット状態に固定し、その
後基準クロックRinのレベルが遷移したとき位相比較
器1のリセット状態を解除する。
(57) Abstract: A phase locked loop circuit is prevented from malfunctioning due to disconnection of a reference clock. A missing tooth clock detection circuit (5) detects a detection clock (DE) having a frequency higher than that of the reference clock (Rin) during a high level period (hereinafter referred to as "H").
The number of pulses of TCK is counted, and when the count reaches a count set for a period longer than the steady-state period of “H” of the reference clock Rin, or the reference clock Rin is at a low level ( (Hereinafter referred to as “L”), the number of pulses of the detection clock DETCK is counted, and the count number is set to correspond to a period longer than the “L” steady state period of the reference clock Rin. When it reaches, the phase comparator 1 is fixed to the reset state, and when the level of the reference clock Rin transits thereafter, the reset state of the phase comparator 1 is released.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えば電話局にお
ける局内回線終端盤等のようなディジタル伝送装置のク
ロック供給装置に用いられる位相同期(Phase-Locked L
oop 、以下、PLLという)回路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase-locked L (Phase-Locked L) used for a clock supply device of a digital transmission device such as an intra-station line termination board in a telephone office.
oop (hereinafter referred to as PLL) circuit.
【0002】[0002]
【従来の技術】図2は、従来のPLL回路の一構成例を
示す回路図である。このPLL回路は基準クロックRi
nを入力する入力端子INを有し、該入力端子INが位
相比較器1の基準クロック入力端子RINに接続されて
いる。位相比較器1の進み情報S1uの出力端子Uou
t及び遅れ情報S1dの出力端子Doutは、チャージ
ポンプ2の進み情報入力端子及び遅れ情報入力端子にそ
れぞれ接続されている。チャージポンプ2の出力端子
は、ループフィルタ3の入力端子に接続され、該ループ
フィルタ3の出力端子が電圧制御発振器(Voltage Cont
roled Oscillator、以下、VCOという)4の入力端子
に接続されている。VCO4の出力端子は、出力端子O
UTに接続されると共に、位相比較器1の帰還クロック
入力端子VINに接続されている。図3は、図2中の位
相比較器1の一構成例を示す回路図である。2. Description of the Related Art FIG. 2 is a circuit diagram showing a configuration example of a conventional PLL circuit. This PLL circuit uses the reference clock Ri
It has an input terminal IN for inputting n, and the input terminal IN is connected to the reference clock input terminal RIN of the phase comparator 1. Output terminal Uou of lead information S1u of phase comparator 1
The output terminal Dout of t and the delay information S1d is connected to the lead information input terminal and the delay information input terminal of the charge pump 2, respectively. The output terminal of the charge pump 2 is connected to the input terminal of the loop filter 3, and the output terminal of the loop filter 3 has a voltage controlled oscillator (Voltage Cont.
It is connected to the input terminal of a roled oscillator (hereinafter referred to as VCO) 4. The output terminal of VCO4 is output terminal O
It is connected to the UT and also to the feedback clock input terminal VIN of the phase comparator 1. FIG. 3 is a circuit diagram showing a configuration example of the phase comparator 1 in FIG.
【0003】基準クロック入力端子RINは遅延フリッ
プフロップ(以下、D−FFという)1aのクロック入
力端子CKに接続され、帰還クロック入力端子VINが
D−FF1bのクロック入力端子CKに接続されてい
る。D−FF1aのデータ入力端子D及びセット入力端
子PRNは電源電位Vccに接続され、同様にD−FF
1bのデータ入力端子D及びセット入力端子PRNが電
源電位Vccに接続されている。D−FF1aの出力端
子Qは、インバータ1cの入力端子に接続されると共
に、2入力NAND回路1dの第1の入力端子に接続さ
れている。インバータ1cの出力端子は、2入力NOR
回路1eの第1の入力端子に接続されている。D−FF
1bの出力端子Qは、インバータ1fの入力端子に接続
されると共に、2入力NAND回路1gの第1の入力端
子に接続されている。インバータ1fの出力端子は、2
入力NOR回路1hの第1の入力端子に接続されてい
る。NAND回路1dの出力端子は3入力AND回路1
iの第1の入力端子に接続され、NAND回路1gの出
力端子はAND回路1iの第2の入力端子に接続されて
いる。リセット入力端子DRSTは、AND回路1iの
第3の入力端子に接続されている。The reference clock input terminal RIN is connected to the clock input terminal CK of the delay flip-flop (hereinafter referred to as D-FF) 1a, and the feedback clock input terminal VIN is connected to the clock input terminal CK of the D-FF 1b. The data input terminal D and the set input terminal PRN of the D-FF 1a are connected to the power supply potential Vcc, and similarly the D-FF 1a.
The data input terminal D and the set input terminal PRN of 1b are connected to the power supply potential Vcc. The output terminal Q of the D-FF 1a is connected to the input terminal of the inverter 1c and the first input terminal of the 2-input NAND circuit 1d. The output terminal of the inverter 1c is a 2-input NOR
It is connected to the first input terminal of the circuit 1e. D-FF
The output terminal Q of 1b is connected to the input terminal of the inverter 1f and is also connected to the first input terminal of the 2-input NAND circuit 1g. The output terminal of the inverter 1f is 2
It is connected to the first input terminal of the input NOR circuit 1h. The output terminal of the NAND circuit 1d is a 3-input AND circuit 1
i is connected to the first input terminal of the NAND circuit 1g, and the output terminal of the NAND circuit 1g is connected to the second input terminal of the AND circuit 1i. The reset input terminal DRST is connected to the third input terminal of the AND circuit 1i.
【0004】AND回路1iの出力端子は、D−FF1
a,1bの各リセット入力端子CLRNに接続されてい
る。NOR回路1eの出力端子は、NOR回路1hの第
2の入力端子及びNAND回路1gの第2の入力端子に
接続されると共に、進み情報出力端子UOUTに接続さ
れている。NOR回路1hの出力端子は、NOR回路1
eの第2の入力端子及びNAND回路1dの第2の入力
端子に接続されると共に、インバータ1jを介して遅れ
情報出力端子DOUTに接続されている。尚、たすきが
け接続されたNOR回路1e,1hでセット/リセット
型フリップフロップ(以下、SR−FFという)が構成
されている。次に、図2の動作を説明する。位相比較器
1は、基準クロックRinの位相とVCO4からの帰還
クロックS4の位相とを比較し、帰還クロックS4の位
相が基準クロックRinの位相よりも遅れている場合に
進み情報S1uを出力し、帰還クロックの位相が前記基
準クロックの位相よりも進んでいる場合に遅れ情報S1
dを出力する。チャージポンプ2は、進み情報S1u又
は遅れ情報S1dを入力し、それらを直流電圧レベルに
変換して出力信号S2を出力する。ループフィルタ3は
出力信号S2に含まれる高周波成分を除去して直流電圧
の出力信号S3を出力する。VCO4は、ループフィル
タ3からの出力信号S3に基づいた周波数の出力信号で
ある前記帰還クロックS4を出力する。The output terminal of the AND circuit 1i is D-FF1.
The reset input terminals CLRN of a and 1b are connected. The output terminal of the NOR circuit 1e is connected to the second input terminal of the NOR circuit 1h and the second input terminal of the NAND circuit 1g, and is also connected to the advance information output terminal UOUT. The output terminal of the NOR circuit 1h is the NOR circuit 1
It is connected to the second input terminal of e and the second input terminal of the NAND circuit 1d, and is also connected to the delay information output terminal DOUT via the inverter 1j. The NOR circuits 1e and 1h connected in a stack form a set / reset type flip-flop (hereinafter referred to as SR-FF). Next, the operation of FIG. 2 will be described. The phase comparator 1 compares the phase of the reference clock Rin with the phase of the feedback clock S4 from the VCO 4, and outputs the advance information S1u when the phase of the feedback clock S4 is behind the phase of the reference clock Rin, Delay information S1 when the phase of the feedback clock is ahead of the phase of the reference clock
Output d. The charge pump 2 inputs the advance information S1u or the delay information S1d, converts them into a DC voltage level, and outputs an output signal S2. The loop filter 3 removes a high frequency component included in the output signal S2 and outputs a DC voltage output signal S3. The VCO 4 outputs the feedback clock S4 which is an output signal having a frequency based on the output signal S3 from the loop filter 3.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、図2の
PLL回路では、次のような課題があった。即ち、図2
中の位相比較器1が図3に示す構成の場合、基準クロッ
クRinが該基準クロックRinの周波数よりも低い周
波数のクロック、つまり歯抜け状のクロックが入力した
場合、該位相比較器1が誤動作を起こす可能性があっ
た。図4は、図3の動作を説明するためのタイムチャー
トであり、縦軸に論理レベル、及び横軸に時間がとられ
ている。この図を参照しつつ、従来の位相比較器におい
て、基準クロックRinに歯抜け(即ち、クロックが断
になる状態) が起こった時の動作を説明する。期間T1
において、SR−FFは基準クロックRinの立上がり
エッジに基づきセットし、該基準クロックRinの位相
よりも遅れている帰還クロックS4の立上がりエッジに
基づきリセットすることにより進み情報S1uを生成す
る。期間TBにおいて、基準クロックRinに歯抜けが
起こる。However, the PLL circuit of FIG. 2 has the following problems. That is, FIG.
In the case where the internal phase comparator 1 has the configuration shown in FIG. 3, when the reference clock Rin has a frequency lower than the frequency of the reference clock Rin, that is, a toothless clock is input, the phase comparator 1 malfunctions. There was a possibility of causing. FIG. 4 is a time chart for explaining the operation of FIG. 3, in which the vertical axis represents the logic level and the horizontal axis represents time. The operation of the conventional phase comparator when the reference clock Rin has a missing tooth (that is, a state where the clock is disconnected) will be described with reference to this figure. Period T1
In SR, the advance information S1u is generated by setting the SR-FF based on the rising edge of the reference clock Rin and resetting based on the rising edge of the feedback clock S4 which is delayed from the phase of the reference clock Rin. In the period TB, missing teeth occur in the reference clock Rin.
【0006】期間T2において、SR−FFは帰還クロ
ックS4の立上がりエッジに基づきセットし、該帰還ク
ロックS4の後に入力する基準クロックRinの立上が
りエッジに基づきリセットすることにより遅れ情報S1
dの反転信号を生成する。つまり、期間TBにおいて基
準クロックRinに歯抜けが起ったため、本来進み情報
S1uを生成すべき期間T2において、遅れ情報S1d
の反転信号を生成するので、出力信号S4の周波数の制
御方向が反転し、位相はずれが起きてしまうことにな
る。これは本来PLL回路では起こってはならないこと
である。この位相比較器が正常に動作するためには、基
準クロックRinの立上がり又は立ち下がりのエッジの
後では必ず帰還クロックS4のエッジの変化が必要であ
り、帰還クロックS4の立上がり又は立ち下がりのエッ
ジの後では、必ず基準クロックRinのエッジの変化が
必要である。In the period T2, the SR-FF is set based on the rising edge of the feedback clock S4 and is reset based on the rising edge of the reference clock Rin input after the feedback clock S4, thereby delay information S1.
An inverted signal of d is generated. That is, since the reference clock Rin is missing in the period TB, the delay information S1d is generated in the period T2 in which the advance information S1u should be generated.
Since the inversion signal is generated, the control direction of the frequency of the output signal S4 is inverted and the phase shift occurs. This is essentially what should not happen in a PLL circuit. In order for this phase comparator to operate normally, it is necessary to change the edge of the feedback clock S4 after the rising edge or the falling edge of the reference clock Rin, and the rising edge or the falling edge of the feedback clock S4 must be changed. After that, it is necessary to change the edge of the reference clock Rin.
【0007】[0007]
【課題を解決するための手段】本発明は、前記課題を解
決するために、帰還クロックの位相が基準クロックの位
相よりも遅れている場合、該基準クロックのエッジに基
づきセットし、かつ該帰還クロックのエッジに基づきリ
セットすることにより進み情報を生成し、前記帰還クロ
ックの位相が前記基準クロックの位相よりも進んでいる
場合、該帰還クロックのエッジに基づきセットし、かつ
該基準クロックのエッジに基づきリセットすることによ
り遅れ情報を生成するSR−FFを有する位相比較回路
と、前記進み情報又は前記遅れ情報を入力し、該進み情
報又は該遅れ情報に対応した直流電圧を出力するチャー
ジポンプと、前記チャージポンプの出力信号に含まれる
高周波成分を除去するフィルタと、前記フィルタの出力
信号に応じた周波数の前記帰還クロックを出力するVC
Oとを、備えた位相同期回路において、次のような手段
を設けている。即ち、前記基準クロックが高レベル(以
下、“H”という)の期間に、該基準クロックよりも高
い周波数の検出クロックのパルス数をカウントし、その
カウント数が該基準クロックの“H”の定常時の期間よ
りも長い期間に対応して設定されたカウント数に達した
とき、又は前記基準クロックが低レベル(以下、“L”
という)の期間に、前記検出クロックのパルスをカウン
トし、そのカウント数が該基準クロックの“L”の定常
時の期間よりも長い期間に対応して設定されたカウント
数に達したとき、前記SR−FFをリセット状態に固定
し、その後前記基準クロックのレベルが遷移したとき前
記リセット状態を解除する歯抜けクロック検出回路を設
けている。According to the present invention, in order to solve the above-mentioned problems, when the phase of the feedback clock is behind the phase of the reference clock, the feedback clock is set based on the edge of the reference clock and the feedback is set. Advance information is generated by resetting based on the edge of the clock, and when the phase of the feedback clock is ahead of the phase of the reference clock, set based on the edge of the feedback clock, and set to the edge of the reference clock. A phase comparison circuit having an SR-FF that generates delay information by resetting based on the charge information, a charge pump that inputs the advance information or the delay information, and outputs a DC voltage corresponding to the advance information or the delay information, A filter for removing high frequency components contained in the output signal of the charge pump, and a frequency corresponding to the output signal of the filter. VC to output of the feedback clock
The following means is provided in the phase synchronization circuit including O and. That is, while the reference clock is at a high level (hereinafter referred to as "H"), the number of pulses of the detection clock having a frequency higher than that of the reference clock is counted, and the count number is set to "H" of the reference clock. When the count number set for a period longer than the normal period is reached, or the reference clock is at a low level (hereinafter, "L").
During the period), the number of pulses of the detection clock is counted, and when the count number reaches the count number set corresponding to the period longer than the steady state period of “L” of the reference clock, A missing tooth clock detection circuit is provided that fixes the SR-FF in the reset state and then releases the reset state when the level of the reference clock changes.
【0008】本発明によれば、以上のように位相同期回
路を構成したので、定常時において、位相比較回路中の
SR−FFは、帰還クロックの位相が基準クロックの位
相よりも遅れている場合、該基準クロックのエッジに基
づきセットし、かつ該帰還クロックのエッジに基づきリ
セットすることにより進み情報を生成し、前記帰還クロ
ックの位相が前記基準クロックの位相よりも進んでいる
場合、該帰還クロックのエッジに基づきセットし、かつ
該基準クロックのエッジに基づきリセットすることによ
り遅れ情報を生成する。次に、基準クロックに歯抜けが
発生した場合、歯抜けクロック検出回路は、基準クロッ
クが“H”の期間に、検出クロックのパルス数をカウン
トし、そのカウント数が該基準クロックの“H”の定常
時の期間よりも長い期間に対応して設定されたカウント
数に達したとき、SR−FFをリセット状態に固定し、
その後基準クロックのレベルが“H”から“L”へ遷移
したとき前記リセット状態を解除する。その後、前記S
R−FFは、定常時と同様の動作を行う。同様に、歯抜
けクロック検出回路は、前記基準クロックが“L”の期
間に、前記検出クロックのパルスをカウントし、そのカ
ウント数が該基準クロックの“L”の定常時の期間より
も長い期間に対応して設定されたカウント数に達したと
き、SR−FFをリセット状態に固定し、その後基準ク
ロックのレベルが“L”から“H”へ遷移したとき前記
リセット状態を解除する。その後、前記SR−FFは、
定常時と同様の動作を行い、進み情報又は遅れ情報を出
力する。チャージポンプは、進み情報又は遅れ情報を入
力し、それらを直流電圧レベルに変換してフィルタへ出
力する。フィルタはチャージポンプの出力信号に含まれ
る高周波成分を除去して直流電圧の出力信号を出力す
る。VCOは、フィルタの出力信号に基づいた周波数の
出力信号である前記帰還クロックを出力する。そのた
め、この位相同期回路では、基準クロックに歯抜けが発
生しても、従来のような位相はずれが起こらない。従っ
て、前記課題を解決できるのである。According to the present invention, since the phase locked loop circuit is constructed as described above, in the steady state, the SR-FF in the phase comparison circuit is used when the phase of the feedback clock is delayed from the phase of the reference clock. , Advance information is generated by setting based on the edge of the reference clock and resetting based on the edge of the feedback clock, and if the phase of the feedback clock leads the phase of the reference clock, the feedback clock The delay information is generated by setting the delay information based on the edge of the reference clock and resetting based on the edge of the reference clock. Next, when a missing tooth occurs in the reference clock, the missing tooth clock detection circuit counts the number of pulses of the detection clock during the period when the reference clock is "H", and the counted number is "H" of the reference clock. When the count number set for a period longer than the steady state period of is reached, the SR-FF is fixed to the reset state,
After that, when the level of the reference clock changes from "H" to "L", the reset state is released. Then, S
The R-FF performs the same operation as in the steady state. Similarly, the missing clock detection circuit counts the pulses of the detection clock during the period when the reference clock is "L", and the count number is longer than the steady state period when the reference clock is "L". The SR-FF is fixed in the reset state when the count number set corresponding to the above is reached, and then the reset state is released when the level of the reference clock transits from "L" to "H". Then, the SR-FF
The same operation as the regular operation is performed, and lead information or delay information is output. The charge pump inputs advance information or delay information, converts them into a DC voltage level, and outputs them to the filter. The filter removes a high frequency component contained in the output signal of the charge pump and outputs a DC voltage output signal. The VCO outputs the feedback clock, which is an output signal having a frequency based on the output signal of the filter. Therefore, in this phase locked loop, even if the reference clock has a missing tooth, the conventional phase shift does not occur. Therefore, the above problem can be solved.
【0009】[0009]
【発明の実施の形態】図1は、本発明の実施形態を示す
位相比較器の構成ブロック図である。この位相比較器
は、従来の図2中の位相比較器1に歯抜けクロック検出
回路5を接続したものである。歯抜けクロック検出回路
5は、基準クロックRinの入力端子RIN及び該基準
クロックRinよりも高速なクロックである検出クロッ
クDETCK の入力端子DINを備えている。又、図1で
は、位相比較器1は、リセット入力端子DRSTから歯
抜けクロック検出回路5の出力信号S5を入力したと
き、初期状態(即ち、進み情報S1uが“L”、かつ遅
れ情報S1dが“H”の状態)ヘ戻る構成である。更
に、図示しないが図2と同様に、位相比較器1の進み情
報S1uの出力端子Uout及び遅れ情報S1dの出力
端子Doutは、チャージポンプ2の進み情報入力端子
及び遅れ情報入力端子にそれぞれ接続されている。チャ
ージポンプ2の出力端子は、ループフィルタ3の入力端
子に接続され、該ループフィルタ3の出力端子がVCO
4の入力端子に接続されている。VCO4の出力端子
は、出力端子OUTに接続されると共に、位相比較器1
の帰還クロック入力端子VINに接続されている。1 is a block diagram of a phase comparator showing an embodiment of the present invention. In this phase comparator, a missing clock detection circuit 5 is connected to the conventional phase comparator 1 shown in FIG. The tooth drop clock detection circuit 5 includes an input terminal RIN for the reference clock Rin and an input terminal DIN for the detection clock DETCK which is a clock faster than the reference clock Rin. Further, in FIG. 1, when the phase comparator 1 receives the output signal S5 of the missing clock detection circuit 5 from the reset input terminal DRST, it is in an initial state (that is, the advance information S1u is “L” and the delay information S1d is The configuration returns to the "H" state). Further, although not shown, similarly to FIG. 2, the output terminal Uout of the advance information S1u and the output terminal Dout of the delay information S1d of the phase comparator 1 are connected to the advance information input terminal and the delay information input terminal of the charge pump 2, respectively. ing. The output terminal of the charge pump 2 is connected to the input terminal of the loop filter 3, and the output terminal of the loop filter 3 is VCO.
4 input terminals. The output terminal of the VCO 4 is connected to the output terminal OUT, and the phase comparator 1
Is connected to the feedback clock input terminal VIN.
【0010】図5は、図1中の歯抜けクロック検出回路
の一構成例を示す回路図である。入力端子RINは、D
−FF5A1〜5A8の各リセット端子CLRNに共通
に接続されると共に、インバータ5cを介してD−FF
5B1〜5B8の各リセット端子CLRNに共通に接続
されている。入力端子DETCKは、D−FF5A1〜
5A8,5B1〜5B8の各クロック入力端子ckに共
通に接続されている。D−FF5A1のデータ入力端子
D及びD−FF5A1〜5A8の各セット入力端子PR
Nは、電源電位Vccに接続されている。D−FF5A
1の出力端子Qは、D−FF5A2のデータ入力端子D
に接続されている。D−FF5A2の出力端子Qは、D
−FF5A3のデータ入力端子Dに接続されている。D
−FF5A3の出力端子Qは、D−FF5A4のデータ
入力端子Dに接続されている。D−FF5A4の出力端
子Qは、D−FF5A5のデータ入力端子Dに接続され
ている。D−FF5A5の出力端子Qは、D−FF5A
6のデータ入力端子Dに接続されている。D−FF5A
6の出力端子Qは、D−FF5A7のデータ入力端子D
に接続されている。D−FF5A7の出力端子Qは、D
−FF5A8のデータ入力端子Dに接続されている。D
−FF5A8の出力端子Qは、2入力NOR回路5Dの
第1の入力端子に接続されている。尚、D−FF5A1
〜5A8で、基準クロックRinが“H”の期間に、検
出クロックDETCK のパルス数をカウントするシフトレジ
スタ5Aが構成されている。FIG. 5 is a circuit diagram showing a configuration example of the missing tooth clock detection circuit in FIG. Input terminal RIN is D
-D-FF connected in common to each reset terminal CLRN of FFs 5A1 to 5A8 and via the inverter 5c
The reset terminals CLRN of 5B1 to 5B8 are commonly connected. The input terminal DETCK is D-FF5A1 ~
The clock input terminals ck of 5A8 and 5B1 to 5B8 are commonly connected. Data input terminal D of D-FF5A1 and each set input terminal PR of D-FF5A1-5A8
N is connected to the power supply potential Vcc. D-FF5A
The output terminal Q of 1 is the data input terminal D of D-FF5A2.
It is connected to the. The output terminal Q of the D-FF5A2 is D
-Connected to the data input terminal D of FF5A3. D
The output terminal Q of -FF5A3 is connected to the data input terminal D of D-FF5A4. The output terminal Q of the D-FF 5A4 is connected to the data input terminal D of the D-FF 5A5. The output terminal Q of the D-FF5A5 is the D-FF5A
6 data input terminals D. D-FF5A
The output terminal Q of 6 is the data input terminal D of D-FF5A7.
It is connected to the. The output terminal Q of the D-FF5A7 is D
-It is connected to the data input terminal D of FF5A8. D
The output terminal Q of the -FF5A8 is connected to the first input terminal of the 2-input NOR circuit 5D. In addition, D-FF5A1
5A8, the shift register 5A is configured to count the number of pulses of the detection clock DETCK while the reference clock Rin is "H".
【0011】同様に、D−FF5B1のデータ入力端子
D及びD−FF5B1〜5B8の各セット入力端子PR
Nは、電源電位Vccに接続されている。D−FF5B
1の出力端子Qは、D−FF5B2のデータ入力端子D
に接続されている。D−FF5B2の出力端子Qは、D
−FF5B3のデータ入力端子Dに接続されている。D
−FF5B3の出力端子Qは、D−FF5B4のデータ
入力端子Dに接続されている。D−FF5B4の出力端
子Qは、D−FF5B5のデータ入力端子Dに接続され
ている。D−FF5B5の出力端子Qは、D−FF5B
6のデータ入力端子Dに接続されている。D−FF5B
6の出力端子Qは、D−FF5B7のデータ入力端子D
に接続されている。D−FF5B7の出力端子Qは、D
−FF5B8のデータ入力端子Dに接続されている。D
−FF5B8の出力端子Qは、NOR回路5Dの第2の
入力端子に接続されている。尚、D−FF5B1〜5B
8及びインバータ5Cで、基準クロックRinが“L”
の期間に、検出クロックDETCK のパルス数をカウントす
るシフトレジスタ5Bが構成されている。NOR回路5
Dの出力端子は、出力端子DRSTに接続されている。Similarly, the data input terminal D of the D-FF 5B1 and each set input terminal PR of the D-FFs 5B1 to 5B8.
N is connected to the power supply potential Vcc. D-FF5B
The output terminal Q of 1 is the data input terminal D of the D-FF5B2.
It is connected to the. The output terminal Q of the D-FF5B2 is D
-Connected to the data input terminal D of FF5B3. D
The output terminal Q of -FF5B3 is connected to the data input terminal D of D-FF5B4. The output terminal Q of the D-FF 5B4 is connected to the data input terminal D of the D-FF 5B5. The output terminal Q of the D-FF5B5 is the D-FF5B
6 data input terminals D. D-FF5B
The output terminal Q of 6 is the data input terminal D of D-FF5B7.
It is connected to the. The output terminal Q of the D-FF5B7 is D
-Connected to the data input terminal D of FF5B8. D
The output terminal Q of the -FF5B8 is connected to the second input terminal of the NOR circuit 5D. In addition, D-FF5B1-5B
8 and the inverter 5C, the reference clock Rin is "L"
The shift register 5B is configured to count the number of pulses of the detection clock DETCK during the period. NOR circuit 5
The output terminal of D is connected to the output terminal DRST.
【0012】図6は、図1の動作を説明するためのタイ
ムチャートであり、縦軸に論理レベル、及び横軸に時間
がとられている。この図を参照しつつ、図1の動作を説
明する。期間T1において、従来の図2と同様に、SR
−FFは基準クロックRinの立上がりエッジに基づき
セットし、該基準クロックRinの位相よりも遅れてい
る帰還クロックS4の立上がりエッジに基づきリセット
することにより進み情報S1uを生成する。期間TAに
おいて、歯抜けクロック検出回路5は、基準クロックR
inが“H”の期間に、該基準クロックRinよりも高
い周波数の検出クロックDETCKのパルス数をカウン
トし、そのカウント数が該基準クロックRinの“H”
の定常時の期間よりも長い期間に対応して設定されたカ
ウント数(本実施形態では8)に達したとき、つまり、
基準クロックRinに歯抜けTbが発生したとき、
“L”の出力信号S5を出力する。FIG. 6 is a time chart for explaining the operation of FIG. 1, in which the vertical axis represents the logic level and the horizontal axis represents time. The operation of FIG. 1 will be described with reference to FIG. In the period T1, as in the case of FIG.
The -FF is set based on the rising edge of the reference clock Rin, and is reset based on the rising edge of the feedback clock S4 that is delayed from the phase of the reference clock Rin to generate advance information S1u. In the period TA, the missing clock detection circuit 5 determines that the reference clock R
The number of pulses of the detection clock DETCK having a frequency higher than that of the reference clock Rin is counted while in is “H”, and the counted number is “H” of the reference clock Rin.
When the count number (8 in this embodiment) set for a period longer than the steady-state period is reached, that is,
When a missing tooth Tb occurs in the reference clock Rin,
The output signal S5 of "L" is output.
【0013】位相比較器1は、リセット入力端子DRS
Tから出力信号S5を入力したとき、初期状態ヘ戻り、
進み情報S1uが“L”、かつ遅れ情報S1dが“H”
の状態になる。尚、検出クロックDETCK の周波数fh(H
Z)と基準クロックRinの周波数fR(HZ)との間に、fh
=m・fR (mは、一般に、8〜16を選ぶが、整数で
ある必要はない。)なる関係がある場合の検出クロック
DETCKのカウント数nはm/2<n<mと設定すれ
ばよい。期間T2において、基準クロックRinが
“H”から“L”へ遷移したとき、出力信号S5が
“H”になり、再び期間T1と同様に、SR−FFは基
準クロックRinの立上がりエッジに基づきセットし、
該基準クロックRinの位相よりも遅れている帰還クロ
ックS4の立上がりエッジに基づきリセットすることに
より、進み情報S1uを生成する。そして、チャージポ
ンプ2は、進み情報S1uを入力し、それを直流電圧レ
ベルに変換して出力信号S2を出力する。ループフィル
タ3は出力信号S2に含まれる高周波成分を除去して直
流電圧の出力信号S3を出力する。VCO4は、ループ
フィルタ3からの出力信号S3に基づいた周波数の出力
信号である前記帰還クロックS4を出力する。The phase comparator 1 has a reset input terminal DRS.
When the output signal S5 is input from T, it returns to the initial state,
Lead information S1u is “L” and delay information S1d is “H”
State. The frequency fh (H of the detection clock DETCK
Z) and the frequency fR (HZ) of the reference clock Rin, fh
= M · fR (m is generally selected from 8 to 16, but need not be an integer.) If the count number n of the detection clock DETCK is set as m / 2 <n <m Good. In the period T2, when the reference clock Rin transits from "H" to "L", the output signal S5 becomes "H", and the SR-FF is set again based on the rising edge of the reference clock Rin as in the period T1. Then
The advance information S1u is generated by resetting based on the rising edge of the feedback clock S4 which is delayed from the phase of the reference clock Rin. Then, the charge pump 2 inputs the advance information S1u, converts it into a DC voltage level, and outputs an output signal S2. The loop filter 3 removes a high frequency component included in the output signal S2 and outputs a DC voltage output signal S3. The VCO 4 outputs the feedback clock S4 which is an output signal having a frequency based on the output signal S3 from the loop filter 3.
【0014】以上のように、本実施形態では、期間TA
のように、基準クロックRinに歯抜けTBが発生した
とき、歯抜けクロック検出回路5は“L”の出力信号S
5を出力する。位相比較器1は、リセット入力端子DR
STから“L”の出力信号S5を入力して初期状態ヘ戻
り、進み情報S1uが“L”、かつ遅れ情報S1dが
“H”の状態になる。そのため、期間T2において、基
準クロックRinが“H”から“L”へ遷移しても、位
相比較器1は、誤動作することなく、正常に動作する。
尚、本発明は上記実施形態に限定されず、種々の変形が
可能である。その変形例としては、例えば次のようなも
のがある。As described above, in this embodiment, the period TA
When the missing tooth TB occurs in the reference clock Rin, the missing tooth clock detection circuit 5 outputs the output signal S of "L".
5 is output. The phase comparator 1 has a reset input terminal DR
The output signal S5 of "L" is input from ST to return to the initial state, and the advance information S1u becomes "L" and the delay information S1d becomes "H". Therefore, in the period T2, even if the reference clock Rin changes from “H” to “L”, the phase comparator 1 operates normally without malfunctioning.
The present invention is not limited to the above embodiment, and various modifications can be made. For example, there are the following modifications.
【0015】(a) 実施形態では、基準クロックRi
nが“H”の期間において歯抜けTBが発生する例を説
明したが、該基準クロックRinが“L”の期間におい
て歯抜けが発生した場合でも本発明が同様に適用され
る。 (b) 本発明は、ディジタル伝送装置において、用い
られることのある高速クロック(a(Hz))に、それよ
りも低速な低速クロック(b(Hz))(この時、aとb
にはa=n・bなる関係が成立していることが必要であ
り、nは整数)を時分割的に多重されたものから、高速
クロック成分のみを抽出し、PLL回路を高速クロック
に同期させることが可能になる。(A) In the embodiment, the reference clock Ri
Although the example in which tooth loss TB occurs during the period when n is “H” has been described, the present invention is similarly applied even when the tooth loss occurs during the period when the reference clock Rin is “L”. (B) The present invention provides a high-speed clock (a (Hz)) that may be used in a digital transmission device, and a low-speed clock (b (Hz)) that is slower than the high-speed clock (a and b).
Requires a relationship of a = n · b to be established, where n is an integer) and only the high-speed clock component is extracted from the multiplexed signal, and the PLL circuit is synchronized with the high-speed clock. It is possible to let
【0016】[0016]
【発明の効果】以上詳細に説明したように、本発明によ
れば、帰還クロックの位相が基準クロックの位相よりも
遅れている場合、該基準クロックのエッジに基づきセッ
トし、該帰還クロックのエッジに基づきリセットするこ
とにより進み情報を生成し、前記帰還クロックの位相が
前記基準クロックの位相よりも進んでいる場合、該帰還
クロックのエッジに基づきセットし、該基準クロックの
エッジに基づきリセットすることにより遅れ情報を生成
するセット/リセット型フリップフロップを有する位相
比較回路を用いている場合、基準クロックに歯抜け(即
ち、断)が発生しても、前記位相比較回路に対してリセ
ットを掛けて初期状態に戻す歯抜けクロック検出回路を
設けたので、該位相比較回路が誤動作することを防止で
きる。更に、この歯抜けクロック検出回路を設けること
によって、該位相比較回路を用いたPLL回路が基準ク
ロックの歯抜けにより擾乱することなく、安定に動作で
きる。As described above in detail, according to the present invention, when the phase of the feedback clock lags behind the phase of the reference clock, it is set based on the edge of the reference clock and the edge of the feedback clock is set. When the phase of the feedback clock is ahead of the phase of the reference clock, the lead information is generated by resetting the feedback clock based on the edge of the feedback clock, and reset based on the edge of the reference clock. When a phase comparison circuit having a set / reset type flip-flop that generates delay information is used, the phase comparison circuit is reset even if a missing clock (ie, disconnection) occurs in the reference clock. Since the missing tooth clock detection circuit for returning to the initial state is provided, it is possible to prevent the phase comparison circuit from malfunctioning. Further, by providing this missing tooth clock detection circuit, the PLL circuit using the phase comparison circuit can operate stably without being disturbed by missing teeth of the reference clock.
【図1】本発明の実施形態の位相比較器の回路図であ
る。FIG. 1 is a circuit diagram of a phase comparator according to an embodiment of the present invention.
【図2】従来のPLL回路の構成ブロック図である。FIG. 2 is a configuration block diagram of a conventional PLL circuit.
【図3】図2中の位相比較器の回路図である。FIG. 3 is a circuit diagram of the phase comparator in FIG.
【図4】図3のタイムチャートである。FIG. 4 is a time chart of FIG. 3;
【図5】図1中の歯抜けクロック検出回路の回路図であ
る。5 is a circuit diagram of a missing tooth clock detection circuit in FIG.
【図6】図1のタイムチャートである。FIG. 6 is a time chart of FIG. 1;
1 位相比較回路 2 チャージポンプ 3 ループフィルタ 4 電圧制御発振器 5 歯抜けクロック検出
回路 1e,1h NOR回路1 phase comparison circuit 2 charge pump 3 loop filter 4 voltage controlled oscillator 5 missing clock detection circuit 1e, 1h NOR circuit
Claims (1)
相よりも遅れている場合、該基準クロックのエッジに基
づきセットし、かつ該帰還クロックのエッジに基づきリ
セットすることにより進み情報を生成し、前記帰還クロ
ックの位相が前記基準クロックの位相よりも進んでいる
場合、該帰還クロックのエッジに基づきセットし、かつ
該基準クロックのエッジに基づきリセットすることによ
り遅れ情報を生成するセット/リセット型フリップフロ
ップを有する位相比較回路と、 前記進み情報又は前記遅れ情報を入力し、該進み情報又
は該遅れ情報に対応した直流電圧を出力するチャージポ
ンプと、 前記チャージポンプの出力信号に含まれる高周波成分を
除去するフィルタと、 前記フィルタの出力信号に応じた周波数の前記帰還クロ
ックを出力する電圧制御発振器とを、 備えた位相同期回路において、 前記基準クロックが高レベルの期間に、該基準クロック
よりも高い周波数の検出クロックのパルス数をカウント
し、そのカウント数が該基準クロックの高レベルの定常
時の期間よりも長い期間に対応して設定されたカウント
数に達したとき、又は前記基準クロックが低レベルの期
間に、前記検出クロックのパルスをカウントし、そのカ
ウント数が該基準クロックの低レベルの定常時の期間よ
りも長い期間に対応して設定されたカウント数に達した
とき、前記セット/リセット型フリップフロップをリセ
ット状態に固定し、その後前記基準クロックのレベルが
遷移したとき前記リセット状態を解除する歯抜けクロッ
ク検出回路を、 設けたことを特徴とする位相同期回路。1. When the phase of the feedback clock is behind the phase of the reference clock, the advance information is generated by setting based on the edge of the reference clock and resetting based on the edge of the feedback clock. A set / reset flip-flop that generates delay information by setting based on the edge of the feedback clock and resetting based on the edge of the reference clock when the phase of the feedback clock leads the phase of the reference clock. A phase comparison circuit having: a charge pump that inputs the advance information or the delay information and outputs a DC voltage corresponding to the advance information or the delay information; and a high frequency component included in the output signal of the charge pump. And a feedback clock having a frequency corresponding to the output signal of the filter A phase-locked loop circuit including a voltage-controlled oscillator that counts the number of pulses of a detection clock having a frequency higher than that of the reference clock during a period when the reference clock is at a high level, and the count number is higher than that of the reference clock. When the count number set corresponding to a period longer than the steady-state period of the level is reached or the reference clock is at a low level period, the pulses of the detection clock are counted, and the count number is the reference number. The set / reset type flip-flop is fixed to the reset state when the count number set for a period longer than the steady state of the low level of the clock is reached, and then the level of the reference clock transits. A phase-locked loop circuit, characterized in that a missing tooth clock detection circuit for releasing the reset state is provided.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20218095A JP3181814B2 (en) | 1995-08-08 | 1995-08-08 | Phase locked loop |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20218095A JP3181814B2 (en) | 1995-08-08 | 1995-08-08 | Phase locked loop |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0951267A true JPH0951267A (en) | 1997-02-18 |
| JP3181814B2 JP3181814B2 (en) | 2001-07-03 |
Family
ID=16453291
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20218095A Expired - Fee Related JP3181814B2 (en) | 1995-08-08 | 1995-08-08 | Phase locked loop |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3181814B2 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008078512A1 (en) * | 2006-12-22 | 2008-07-03 | Nec Corporation | Pll circuit, and disk device |
| JP2008300901A (en) * | 2007-05-29 | 2008-12-11 | Fujitsu Ltd | CP output type phase comparator control method and CP output type phase comparator |
| JP2011009965A (en) * | 2009-06-24 | 2011-01-13 | Advantest Corp | Pll circuit |
| US8669797B2 (en) | 2012-03-19 | 2014-03-11 | Fujitsu Limited | Phase locked loop and phase comparison method |
-
1995
- 1995-08-08 JP JP20218095A patent/JP3181814B2/en not_active Expired - Fee Related
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008078512A1 (en) * | 2006-12-22 | 2008-07-03 | Nec Corporation | Pll circuit, and disk device |
| US8693296B2 (en) | 2006-12-22 | 2014-04-08 | Nec Corporation | PLL circuit and disk drive |
| JP2008300901A (en) * | 2007-05-29 | 2008-12-11 | Fujitsu Ltd | CP output type phase comparator control method and CP output type phase comparator |
| JP2011009965A (en) * | 2009-06-24 | 2011-01-13 | Advantest Corp | Pll circuit |
| US8669797B2 (en) | 2012-03-19 | 2014-03-11 | Fujitsu Limited | Phase locked loop and phase comparison method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3181814B2 (en) | 2001-07-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW449956B (en) | Digital phase locked loop capable of suppressing jitter | |
| US6667643B2 (en) | Delay locked loop with multi-phases | |
| US6873669B2 (en) | Clock signal reproduction device | |
| US6150889A (en) | Circuit and method for minimizing recovery time | |
| JP3084151B2 (en) | Information processing system | |
| US6111442A (en) | Phase-locked loop circuit with dynamic backup | |
| US7459964B2 (en) | Switched capacitor filter and feedback system | |
| JP3278546B2 (en) | Synchronous signal generation circuit | |
| US4797575A (en) | Flip-flop with identical propagation delay in clock pass through mode and in normal operation | |
| JP4015254B2 (en) | Lock detection circuit and PLL frequency synthesizer | |
| JPH0255970B2 (en) | ||
| JPH0951267A (en) | Phase synchronization circuit | |
| US5898640A (en) | Even bus clock circuit | |
| US7256635B2 (en) | Low lock time delay locked loops using time cycle suppressor | |
| US6081905A (en) | Method and apparatus for generating a clock signal from a plurality of clock phases | |
| JPH0964731A (en) | Phase locked loop circuit | |
| JP3375770B2 (en) | Prescaler and PLL frequency synthesizer circuit | |
| JP3132657B2 (en) | Clock switching circuit | |
| JP3408921B2 (en) | Phase locked loop | |
| JP2002176343A (en) | Semiconductor integrated circuit device | |
| JP2795008B2 (en) | Input clock cutoff circuit method for phase-locked oscillation circuit | |
| JP2806661B2 (en) | Double loop type PLL circuit | |
| JPH09130235A (en) | Digital PLL circuit | |
| JPH10150361A (en) | Frequency divider and PLL circuit | |
| JPH05304468A (en) | Phase locked loop 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: 20010410 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080420 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090420 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |