JPH09307411A - Clock generation circuit - Google Patents

Clock generation circuit

Info

Publication number
JPH09307411A
JPH09307411A JP8116576A JP11657696A JPH09307411A JP H09307411 A JPH09307411 A JP H09307411A JP 8116576 A JP8116576 A JP 8116576A JP 11657696 A JP11657696 A JP 11657696A JP H09307411 A JPH09307411 A JP H09307411A
Authority
JP
Japan
Prior art keywords
signal
circuit
clock signal
frequency
generation circuit
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
JP8116576A
Other languages
Japanese (ja)
Inventor
Hiroshi Yanagiuchi
弘 柳内
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP8116576A priority Critical patent/JPH09307411A/en
Publication of JPH09307411A publication Critical patent/JPH09307411A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a clock single generation circuit of high procession which can produce an optional phase-shifter clock signal against a reference clock signal and also has high follow-up performance to the reference clock signal. SOLUTION: The delay signals S1 , S2 ...Sk-2 and Sk-1 which are switched to the logical high levels from trailing edges of the 1st, 2nd...(k-1)-th clock signals by the delay circuits W1 , W2 ...Wk-2 and Wk-1 are produced against a clock signal dlo which is obtained by supplying the (L×M) multiplication (L, M = integers) to a reference clock signal. The ANDs are generated between the delay singles and the signal dlo by AND gates AGT1 , AGT2 ...AGTk-2 and AGTk-1 , undergo the M-multiplication by a programmable division circuit 41 and are selectively outputted by a selection circuit 42. As a result, a phase shift can be optionally set to the signal dlo and therefore a highly precise clock signal having high follow-up performance can be obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、クロック信号の位
相ずれを任意に設定可能なクロック発生回路に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock generation circuit capable of arbitrarily setting a phase shift of a clock signal.

【0002】[0002]

【従来の技術】ある基準クロック信号に対して、πN/
2の位相ずれのクロック信号を生成することがしばしば
ある。ここで、N=1,2,3である。一般的に、π/
2の位相分の遅延を遅延回路で生成し、そして遅延回路
の組み合わせにより、πN/2の位相ずれのクロック信
号を生成する方法が用いられている。
2. Description of the Related Art For a certain reference clock signal, πN /
Often, two clock signals that are out of phase are generated. Here, N = 1, 2, and 3. Generally, π /
A method is used in which a delay of two phases is generated by a delay circuit, and a clock signal having a phase shift of πN / 2 is generated by combining the delay circuits.

【0003】図5はこのように基準クロック信号に対し
て、π/2、πおよび3π/2の位相ずれのクロック信
号を発生する場合の一例を示す波形図である。図5に示
すように、基準クロック信号(Sref)に対して、π
/2の位相ずれに相当する時間TD の遅延を発生する遅
延回路により、π/2位相ずれのクロック信号が発生さ
れる。そして、同じ遅延時間TD を発生する遅延回路を
二つまたは三つ直列接続することにより、π、3π/2
の位相ずれのクロック信号がそれぞれ生成される。
FIG. 5 is a waveform diagram showing an example of a case where a clock signal having a phase shift of π / 2, π and 3π / 2 with respect to the reference clock signal is generated in this way. As shown in FIG. 5, with respect to the reference clock signal (Sref), π
A clock circuit with a phase shift of π / 2 is generated by a delay circuit that generates a delay of time T D corresponding to a phase shift of / 2. Then, by connecting two or three delay circuits that generate the same delay time T D in series, π, 3π / 2
The clock signals with the phase shift of 1 are generated respectively.

【0004】[0004]

【発明が解決しようとする課題】ところで、上述した従
来の位相ずれのクロック信号の生成方法では、その精度
には限界がある。たとえば、生成された位相ずれのクロ
ック信号の精度は、遅延回路の精度で決まり、遅延回路
を多用することによりさらに精度が低下する。また、遅
延回路による生成方法では、基準クロック信号の周波数
変化に対する追従性が悪い。追従性を向上しようとすれ
ば、遅延時間TD を発生するためのみにPLL(Pha
se Locked Loop)回路などを必要とし、
効率が悪い。さらに、遅延時間TD の生成方法では、決
まった範囲での位相ずれクロック信号しか生成できない
という問題がある。
By the way, the accuracy of the above-described conventional method of generating a clock signal with a phase shift is limited. For example, the accuracy of the generated phase-shifted clock signal is determined by the accuracy of the delay circuit, and the accuracy is further reduced by using many delay circuits. In addition, the delay circuit generation method has a poor trackability with respect to the frequency change of the reference clock signal. If an attempt improve the capability, only PLL for generating the delay time T D (Pha
se Locked Loop) circuit, etc.
ineffective. Further, the method of generating the delay time T D has a problem that only the phase-shifted clock signal in a fixed range can be generated.

【0005】本発明は、かかる事情に鑑みてなされたも
のであり、その目的は、基準クロック信号に対して精度
の高い位相ずれクロック信号を発生でき、かつ基準クロ
ック信号の周波数の変動に追従性が良く、位相ずれを任
意に設定できるクロック発生回路を提供することにあ
る。
The present invention has been made in view of the above circumstances, and an object thereof is to generate a highly accurate phase-shifted clock signal with respect to a reference clock signal and to follow the fluctuation of the frequency of the reference clock signal. It is an object of the present invention to provide a clock generation circuit that is good and can set the phase shift arbitrarily.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、入力信号と基準クロック信号との位相を
比較し、比較結果に応じた制御信号を出力する位相比較
回路と、上記制御信号を受けて、実数Mで規定された逓
倍数をもって周波数逓倍した逓倍信号を出力する周波数
逓倍回路と、上記逓倍信号を受けて、当該逓倍信号をM
分周した分周信号を上記位相比較回路に出力し、かつ、
上記逓倍信号を予め設定した遅延時間をもって遅延させ
て少なくとも一つの遅延信号を生成し、当該遅延信号を
任意の分周比をもって分周した信号を生成する信号生成
回路とを有する。
In order to achieve the above object, the present invention relates to a phase comparison circuit for comparing the phases of an input signal and a reference clock signal and outputting a control signal according to the comparison result, and the above control. A frequency multiplication circuit that receives a signal and outputs a frequency-multiplied signal that is frequency-multiplied by a frequency-multiplied number defined by a real number M;
Output the divided signal to the above phase comparison circuit, and
A signal generation circuit for generating at least one delay signal by delaying the multiplied signal with a preset delay time, and generating a signal obtained by dividing the delay signal with an arbitrary frequency division ratio.

【0007】また、本発明では、好適には上記実数Mは
外部からの入力信号に応じて設定されている。さらに、
生成された分周信号の中から選択制御信号に基づき選択
して出力する選択回路を有する。
In the present invention, the real number M is preferably set according to an input signal from the outside. further,
A selection circuit is provided which selects from the generated divided signals based on the selection control signal and outputs the selected signal.

【0008】本発明によれば、位相比較回路により、基
準クロック信号とM分周回路からの分周信号との位相が
比較され、比較結果に応じて、周波数逓倍回路により基
準クロック信号の周波数がMで規定された逓倍率をもっ
て逓倍された逓倍信号が発生される。そして、信号生成
回路により、逓倍信号をM分周された分周信号が発生さ
れて位相比較回路に帰還される。これにより、基準クロ
ック信号に追従し、常にに基準クロック信号に位相同期
した逓倍信号が得られる。さらに、クロック生成回路に
おいて、例えば遅延回路により、逓倍信号が任意の周期
分遅延した後、分周回路により任意に設定された実数に
基づき分周され、分周された信号の中から選択制御信号
に応じて、少なくとも一つの分周信号が選択して出力さ
れる。
According to the present invention, the phase comparison circuit compares the phases of the reference clock signal and the frequency-divided signal from the M frequency division circuit, and the frequency multiplication circuit determines the frequency of the reference clock signal according to the comparison result. A multiplication signal multiplied by the multiplication factor defined by M is generated. Then, the signal generation circuit generates a divided signal obtained by dividing the multiplied signal by M and feeds it back to the phase comparison circuit. As a result, a multiplied signal that follows the reference clock signal and is always in phase with the reference clock signal is obtained. Further, in the clock generation circuit, the multiplied signal is delayed by an arbitrary period, for example, by a delay circuit, and then divided based on a real number arbitrarily set by the frequency dividing circuit, and a selection control signal is selected from among the divided signals. In accordance with the above, at least one divided signal is selected and output.

【0009】この結果、基準信号に対して、任意に設定
された位相ずれのクロック信号を発生でき、かつ発生し
たクロック信号の精度が高く、基準信号に対する追従性
が良い。
As a result, it is possible to generate a clock signal having a phase shift arbitrarily set with respect to the reference signal, the generated clock signal has high accuracy, and the followability to the reference signal is good.

【0010】[0010]

【発明の実施の形態】図1は本発明に係るクロック発生
回路の一実施形態を示す回路図である。図1において、
10は位相比較器、20はカウンタ、30は周波数逓倍
器、40はプログラマブルマスク生成回路、50はプロ
グラマブル分周器、Tfin は基準クロック信号finの
入力端子をそれぞれ示している。
1 is a circuit diagram showing an embodiment of a clock generation circuit according to the present invention. In FIG.
10 is a phase comparator, 20 is a counter, 30 is a frequency multiplier, 40 is a programmable mask generation circuit, 50 is a programmable frequency divider, and T fin is an input terminal of the reference clock signal fin.

【0011】位相比較器10は入力端子Tfin から入力
された基準クロック信号finとプログラマブル分周器
50からの分周信号S50との位相を比較し、比較結果
に応じたアップ/ダウン制御信号S10をカウンタ20
に出力する。例えば、基準クロック信号finに対して
分周信号S50の位相が進んでいる場合にはカウントダ
ウンを指示する制御信号S10をカウンタ20に出力
し、その逆の場合にはカウントアップを指示する制御信
号S10をカウンタ20に出力する。
The phase comparator 10 compares the phases of the reference clock signal fin input from the input terminal T fin and the frequency-divided signal S50 from the programmable frequency divider 50, and the up / down control signal S10 corresponding to the comparison result. Counter 20
Output to For example, when the phase of the divided signal S50 is advanced with respect to the reference clock signal fin, the control signal S10 instructing the countdown is output to the counter 20, and in the opposite case, the control signal S10 instructing the countup is output. Is output to the counter 20.

【0012】カウンタ20は位相比較器10からのアッ
プ/ダウン制御信号S10に応じて、カウンタ値をカウ
ントアップまたはカウントダウンし、例えば、(l+
m)ビットのカウンタ値S20を設定し、周波数逓倍器
30に出力する。
The counter 20 counts up or counts down the counter value according to the up / down control signal S10 from the phase comparator 10, for example, (l +
The m) bit counter value S20 is set and output to the frequency multiplier 30.

【0013】周波数逓倍器30はカウンタ20からのカ
ウンタ値S20に基づき、発振周波数を決定し、入力さ
れた基準クロック信号finに対して、L×M(ただ
し、L,Mは実数)逓倍したクロック信号dloを発生
し、プログラマブルマスク生成回路40に出力する。な
お、ここで、実数Lはプログラマブル分周器50に入力
されたlビットの分周制御信号SLにより設定され、実
数Mはプログラマブルマスク生成回路40に入力された
mビットの分周制御信号SMにより設定されている。
The frequency multiplier 30 determines the oscillation frequency based on the counter value S20 from the counter 20, and multiplies the input reference clock signal fin by L × M (where L and M are real numbers). The signal dlo is generated and output to the programmable mask generation circuit 40. Here, the real number L is set by the 1-bit frequency division control signal SL input to the programmable frequency divider 50, and the real number M is set by the m-bit frequency division control signal SM input to the programmable mask generation circuit 40. It is set.

【0014】プログラマブルマスク生成回路40は周波
数逓倍器30からのクロック信号dloを受けて、M分
周してクロック信号f0 を生成してプログラマブル分周
器50に出力するとともに、クロック信号dloを予め
設定した時間ずつ遅延させた複数のクロック信号f01
〜f0k-1’を発生し、外部から入力された分周制御信号
SMに応じて、これらのクロック信号f01’〜f0k-1
をM分周し、さらに外部から入力されたnビットの選択
制御信号SNに応じて、M分周されたクロック信号
01’〜f0k-1’の中から一つまたは複数を選択して出
力する。なお、ここで、kの値は選択制御信号SNに応
じて設定され、(k=2n )である。
The programmable mask generation circuit 40 receives the clock signal dlo from the frequency multiplier 30, divides it by M to generate a clock signal f 0 , outputs it to the programmable frequency divider 50, and outputs the clock signal dlo in advance. Multiple clock signals delayed by the set time f 01 '
˜f 0k-1 ′ are generated, and these clock signals f 01 ′ to f 0k-1 ′ are generated according to the frequency division control signal SM input from the outside.
Of the clock signals f 01 'to f 0k-1 ' divided by M according to the n-bit selection control signal SN input from the outside. Output. Here, the value of k is set according to the selection control signal SN and is (k = 2 n ).

【0015】プログラマブル分周器50はプログラマブ
ルマスク生成回路40からのクロック信号f0 を受け
て、外部からのlビットの分周制御信号SLに応じて、
プログラマブルマスク生成回路40からのクロック信号
0 を分周制御信号SLにより設定された実数Lに基づ
いてL分周して、分周信号S50を発生し、位相比較器
10に出力する。
The programmable frequency divider 50 receives the clock signal f 0 from the programmable mask generation circuit 40, and in response to an external 1-bit frequency division control signal SL.
The clock signal f 0 from the programmable mask generation circuit 40 is divided by L based on the real number L set by the division control signal SL to generate a divided signal S50, which is output to the phase comparator 10.

【0016】図示のように、位相比較器10、カウンタ
20、周波数逓倍器30、プログラマブルマスク生成回
路40およびプログラマブル分周器50により、PLL
回路が構成され、このPLL回路により、入力された基
準クロック信号に対して、2πN/M位相ずれクロック
信号が発生され、プログラマブルマスク生成回路40に
より選択的に出力される。
As shown, the phase comparator 10, the counter 20, the frequency multiplier 30, the programmable mask generation circuit 40, and the programmable frequency divider 50 allow the PLL to
A circuit is configured, and this PLL circuit generates a 2πN / M phase-shifted clock signal with respect to the input reference clock signal, and the programmable mask generation circuit 40 selectively outputs it.

【0017】図2はプログラマブルマスク生成回路40
の一構成例を示す回路図である。図示のように、プログ
ラマブルマスク生成回路40はk個のANDゲートAG
0 ,AGT1 ,AGT2 ,…,AGTk-2 ,AGT
k-1 、(k−1)個の遅延回路W1 ,W2 ,W3 ,…,
k-2 ,Wk-1 、プログラマブル分周回路41、選択回
路42とにより構成されている。
FIG. 2 shows a programmable mask generation circuit 40.
It is a circuit diagram which shows one structural example. As shown in the figure, the programmable mask generation circuit 40 has k AND gates AG
T 0 , AGT 1 , AGT 2 , ..., AGT k-2 , AGT
k−1 , (k−1) delay circuits W 1 , W 2 , W 3 , ...,
It comprises W k-2 and W k-1 , a programmable frequency dividing circuit 41, and a selecting circuit 42.

【0018】ANDゲートAGT0 ,AGT1 ,AGT
2 ,…,AGTk-2 ,AGTk-1 は二入力のANDゲー
トであり、これらのANDゲートの一方の入力端子がク
ロック信号dloの入力端子Tdlo に接続されている。
ANDゲートAGT0 の他方の入力端子が電源電圧VCC
の供給線1に接続され、ANDゲートAGT1 ,AGT
2 ,…,AGTk-2 ,AGTk-1 の他方の入力端子がそ
れぞれ遅延回路W1 ,W2 ,…,Wk-2 ,Wk-1 の遅延
信号S1 ,S2 ,…,Sk-2 ,Sk-1 の出力端子sel
に接続されている。
AND gates AGT 0 , AGT 1 , AGT
2 , ..., AGT k-2 , AGT k-1 are two-input AND gates, and one input terminal of these AND gates is connected to the input terminal T dlo of the clock signal dlo.
The other input terminal of the AND gate AGT 0 is connected to the power supply voltage V CC.
Of the AND gates AGT 1 and AGT
2, ..., AGT k-2 , AGT k-1 of the other input terminal is the delay circuits of W 1, W 2, ..., W k-2, W k-1 of the delayed signal S 1, S 2, ..., Output terminals sel of S k-2 and S k-1
It is connected to the.

【0019】そして、ANDゲートAGT0 の出力信号
がプログラマブル分周回路41を介してM分周され、ク
ロック信号f0 として出力される。クロック信号f0
プログラマブルマスク生成回路40に入力されたクロッ
ク信号dloと位相同期している。このクロック信号f
0 は図1に示すように、プログラマブル分周器50に出
力される。
Then, the output signal of the AND gate AGT 0 is frequency-divided by M via the programmable frequency dividing circuit 41 and output as the clock signal f 0 . The clock signal f 0 is in phase synchronization with the clock signal dlo input to the programmable mask generation circuit 40. This clock signal f
0 is output to the programmable frequency divider 50 as shown in FIG.

【0020】ANDゲートAGT1 ,AGT2 ,…,A
GTk-2 ,AGTk-1 の出力信号がプログラマブル分周
器50によってM分周され、さらに選択回路42によ
り、外部から入力された選択制御信号SNに応じて選択
されて出力される。
AND gates AGT 1 , AGT 2 , ..., A
The output signals of GT k-2 and AGT k-1 are frequency - divided by the programmable frequency divider 50, and further selected by the selection circuit 42 according to the selection control signal SN input from the outside and output.

【0021】図3は遅延回路の一構成例を示す回路図で
ある。なお、図2に示す遅延回路W 1 ,W2 ,…,W
k-2 ,Wk-1 はすべて同様な構成を有するので、ここ
で、遅延回路Wi を例として図示する。
FIG. 3 is a circuit diagram showing an example of the configuration of the delay circuit.
is there. The delay circuit W shown in FIG. 1, WTwo,…, W
k-2, Wk-1All have similar configurations, so here
Then, the delay circuit WiIs illustrated as an example.

【0022】図3に示すように、遅延回路Wi はインバ
ータINV1 、ANDゲートAGT W1,AGTW2,RS
フリップフロップRSFW1,RSFW2 によって構成さ
れている。inはクロック信号の入力端子、reset
はリセット信号の入力端子、selは遅延信号Si の出
力端子、clkはクロック信号の入力端子、outは遅
延したクロック信号の出力端子をそれぞれ示している。
As shown in FIG. 3, the delay circuit WiIs Inva
Data INV1, AND gate AGT W1, AGTW2, RS
Flip-flop RSFW1, RSFW2 Composed by
Have been. in is a clock signal input terminal, reset
Is a reset signal input terminal, and sel is a delayed signal SiOut of
Input terminal, clk is a clock signal input terminal, and out is a delay
The output terminals of the extended clock signal are shown respectively.

【0023】クロック信号の入力端子inはインバータ
INV1 の入力端子およびRSフリップフロップRSF
W1のセット信号入力端子Sに接続され、インバータIN
1の出力端子とRSフリップフロップRSFW1の出力
端子QはそれぞれANDゲートAGTW1の各入力端子に
接続され、ANDゲートAGTW1の出力端子はRSフリ
ップフロップRSFW2のセット信号入力端子Sに接続さ
れている。
The input terminal in of the clock signal is the input terminal of the inverter INV 1 and the RS flip-flop RSF.
Connected to the set signal input terminal S of W1 and connected to the inverter IN
The output terminal Q of the output terminal and the RS flip-flop RSF W1 of V 1 was being respectively connected to the input terminals of the AND gates AGT W1, the output terminal of the AND gate AGT W1 is connected to the set signal input terminal S of the RS flip-flop RSF W2 Has been done.

【0024】RSフリップフロップRSFW1,RSFW2
のリセット信号入力端子Rはリセット信号入力端子re
setに共通に接続されている。また、RSフリップフ
ロップRSFW2の出力端子Qは遅延信号Si の出力端子
selに接続され、さらにANDゲートAGTW2の一方
の入力端子に接続されている。ANDゲートAGTW2
他方の入力端子はクロック信号入力端子clkに接続さ
れている。
RS flip-flops RSF W1 , RSF W2
Reset signal input terminal R of the reset signal input terminal re
It is commonly connected to set. The output terminal Q of the RS flip-flop RSF W2 is connected to the output terminal sel of the delay signal S i , and further connected to one input terminal of the AND gate AGT W2 . The other input terminal of the AND gate AGT W2 is connected to the clock signal input terminal clk.

【0025】以下、遅延回路Wi の動作を説明する。遅
延回路Wi が動作開始前に、リセット信号入力端子re
setに外部から、例えば、ハイレベルのリセット信号
が入力される。これに応じて、RSフリップフロップR
SFW1,RSFW2がリセットされ、出力端子Qにローレ
ベル、例えば、接地電位GNDレベルの信号が出力され
る。
The operation of the delay circuit W i will be described below. Before the delay circuit W i starts its operation, the reset signal input terminal re
For example, a high-level reset signal is input to the set from the outside. In response to this, the RS flip-flop R
SF W1 and RS F W2 are reset, and a low level signal, for example, a ground potential GND level signal is output to the output terminal Q.

【0026】そして、リセット信号がローレベルに切り
換わった後、遅延回路Wi は動作し始める。入力端子i
nに入力されたクロック信号の立ち上がりエッジにおい
て、RSフリップフロップRSFW1の出力端子Qの出力
信号がハイレベル、例えば、電源電圧VCCレベルに切り
換えられる。また、入力端子inに入力されたクロック
信号がインバータINV1 により反転され、ANDゲー
トAGTW1により、RSフリップフロップRSFW1の出
力端子Qに出力された信号との論理積が発生され、RS
フリップフロップRSFW2に出力される。すなわち、A
NDゲートAGTW1により、入力端子inに入力された
クロック信号より半周期遅れたクロック信号(反転信
号)が出力される。
After the reset signal is switched to the low level, the delay circuit W i starts operating. Input terminal i
At the rising edge of the clock signal input to n, the output signal of the output terminal Q of the RS flip-flop RSF W1 is switched to the high level, for example, the power supply voltage V CC level. In addition, the clock signal input to the input terminal in is inverted by the inverter INV 1 , and the AND gate AGT W1 generates a logical product with the signal output to the output terminal Q of the RS flip-flop RSF W1.
It is output to the flip-flop RSF W2 . That is, A
The ND gate AGT W1 outputs a clock signal (inversion signal) delayed by a half cycle from the clock signal input to the input terminal in.

【0027】RSフリップフロップRSFW2において、
ANDゲートAGTW1からのクロック信号の立ち上がり
エッジから出力端子Qにハイレベルの信号が出力され
る。このため、入力端子inに入力されたクロック信号
よりクロック信号の半周期分遅延してハイレベルに切り
換わる遅延信号Si が出力端子selに出力される。さ
らに、ANDゲートAGTW2により、遅延信号とクロッ
ク信号入力端子clkからのクロック信号の論理積が発
生され、出力端子outに出力される。
In the RS flip-flop RSF W2 ,
A high level signal is output to the output terminal Q from the rising edge of the clock signal from the AND gate AGT W1 . Therefore, the delay signal S i that switches to the high level after being delayed by a half cycle of the clock signal from the clock signal input to the input terminal in is output to the output terminal sel. Further, the AND gate AGT W2 generates a logical product of the delayed signal and the clock signal from the clock signal input terminal clk, and outputs the logical product to the output terminal out.

【0028】図2に示すプログラマブルマスク生成回路
40の回路図においては、遅延回路W1 のクロック信号
入力端子inはクロック信号dloの入力端子Tdlo
接続されている。また、遅延回路W1 ,W2 ,…,W
k-2 ,Wk-1 のクロック信号入力端子clkがすべてク
ロック信号dloの入力端子Tdlo に接続され、リセッ
ト信号入力端子resetはすべてシステムリセット信
号RSTの入力端子TRS T に接続されている。さらに、
前段の遅延回路Wi の出力端子outは後段の遅延回路
i+1 のクロック信号入力端子inに接続されている。
In the circuit diagram of the programmable mask generation circuit 40 shown in FIG. 2, the clock signal input terminal in of the delay circuit W 1 is connected to the input terminal T dlo of the clock signal dlo. Also, the delay circuits W 1 , W 2 , ..., W
The clock signal input terminals clk of k-2 and W k-1 are all connected to the input terminal T dlo of the clock signal dlo, and the reset signal input terminals reset are all connected to the input terminal T RS T of the system reset signal RST. . further,
The output terminal out of the delay circuit W i in the front stage is connected to the clock signal input terminal in of the delay circuit W i + 1 in the rear stage.

【0029】以下、このような構成を有するプログラマ
ブルマスク生成回路40の動作について、図4に示す波
形図を参照しながら説明する。なお、図4はプログラマ
ブルマスク生成回路40の一動作例、例えば、L=1,
M=4,N=3の場合の出力信号の波形を示している。
The operation of the programmable mask generation circuit 40 having such a configuration will be described below with reference to the waveform chart shown in FIG. Note that FIG. 4 shows an operation example of the programmable mask generation circuit 40, for example, L = 1,
The waveform of the output signal in the case of M = 4 and N = 3 is shown.

【0030】クロック発生回路が動作開始前に、例え
ば、ハイレベルのシステムリセット信号RSTが発生さ
れ、これに応じて、各遅延回路W1 ,W2 ,…,
k-2 ,Wk- 1 がリセットされ、これらの遅延回路によ
り、ローレベル、例えば、接地電位GNDレベルの遅延
信号S1 ,S2 ,…,Sk-2 ,Sk-1 が出力される。
Before the clock generation circuit starts operating, for example, a high level system reset signal RST is generated, and in response to this, each delay circuit W 1 , W 2 , ...,
W k-2 and W k- 1 are reset, and these delay circuits output delay signals S 1 , S 2 , ..., S k-2 , S k-1 of low level, for example, the ground potential GND level. To be done.

【0031】システムリセット信号RSTが解除された
後、例えば、ローレベルに切り換わった後、入力端子T
dlo からクロック信号dloが入力される。図4の波形
図に示すように、基準クロック信号finと位相同期し
て、4逓倍されたクロック信号dloが周波数逓倍器3
0により発生され、プログラマブルマスク生成回路40
に入力される。プログラマブルマスク生成回路40にお
いて、入力されたクロック信号dloがANDゲートA
GT0 により、それと同相のクロック信号f0 ’が出力
される。クロック信号f0 ’がプログラマブル分周回路
41によりM分周され、クロック信号f0 として、図1
に示すプログラマブル分周器50に出力される。
After the system reset signal RST is released, for example, after switching to the low level, the input terminal T
The clock signal dlo is input from dlo. As shown in the waveform diagram of FIG. 4, the clock signal dlo multiplied by 4 is phase-synchronized with the reference clock signal fin and the frequency multiplier 3
0, and the programmable mask generation circuit 40
Is input to In the programmable mask generation circuit 40, the input clock signal dlo has the AND gate A
The GT 0 outputs the clock signal f 0 ′ in phase with the GT 0 . The clock signal f 0 'is frequency-divided by M by the programmable frequency dividing circuit 41 to obtain the clock signal f 0 as shown in FIG.
It is output to the programmable frequency divider 50 shown in.

【0032】遅延回路W1 ,W2 ,…,Wk-2 ,Wk-1
により、それぞれのクロック信号入力端子inに入力さ
れたクロック信号に対して、最初のクロック信号の立ち
下がりエッジでハイレベルに切り換わる遅延信号S1
2 ,…,Sk-2 ,Sk-1 が出力される。これらの遅延
信号がそれぞれANDゲートAGT1 ,AGT2 ,…,
AGTk-2 ,AGTk-1 に入力される。
Delay circuits W 1 , W 2 , ..., W k-2 , W k-1
Thus, with respect to the clock signals input to the respective clock signal input terminals in, the delay signal S 1 , which switches to the high level at the falling edge of the first clock signal,
S 2 , ..., S k-2 , S k-1 are output. These delayed signals are respectively AND gates AGT 1 , AGT 2 ,.
It is input to AGT k-2 and AGT k-1 .

【0033】このため、ANDゲートAGTi により、
クロック信号dlo対して、i(i=1,2,…,k−
1,k−2)周期分遅れてクロック信号dloと同期の
クロック信号f0i’が出力される。そして、プログラマ
ブル分周回路41により、これらのクロック信号f01
〜f0k-1’がM分周、例えば、4分周される。選択回路
42により、4分周されたクロック信号f01,f02
…,f0k-2,f0k-1の中から、入力された選択制御信号
SNに応じて選択して出力される。このため、選択され
たクロック信号f0iはクロック信号f0 に対して、i/
M周期分の位相ずれをもつ。
Therefore, the AND gate AGT i
For the clock signal dlo, i (i = 1, 2, ..., K-
The clock signal f 0i ′ synchronized with the clock signal dlo is output with a delay of 1, k−2) cycles. Then, by the programmable frequency dividing circuit 41, these clock signals f 01 '
~ F 0k-1 'is divided by M, for example, 4. Clock signals f 01 , f 02 , which are divided by four by the selection circuit 42,
, F 0k-2 , f 0k-1 are selected and output according to the input selection control signal SN. Therefore, the clock signal f 0i clock signal f 0, which is selected, i /
It has a phase shift of M cycles.

【0034】このように、プログラマブルマスク生成回
路40により、基準クロック信号に対して、1周期の0
〜(M−1)/M分位相ずれしたクロック信号が発生さ
れる。さらに、選択制御信号SNに応じて、2πN/M
位相ずれクロック信号が選択して出力される。
As described above, the programmable mask generation circuit 40 sets 0 for one cycle to the reference clock signal.
A clock signal whose phase is shifted by (M-1) / M is generated. Further, depending on the selection control signal SN, 2πN / M
The phase-shifted clock signal is selected and output.

【0035】以下、図1に示すクロック発生回路全体の
動作について説明する。前述したように、このクロック
発生回路はPLL回路により構成されている。クロック
信号発生回路において、動作開始前にシステムリセット
信号RSTが発生され、これにより回路全体がリセット
される。そして、プログラマブルマスク生成回路40に
mビットの分周制御信号SMおよびnビットの選択制御
信号SNが入力され、さらにプログラマブル分周器50
にlビットの分周制御信号SLが入力される。
The operation of the entire clock generation circuit shown in FIG. 1 will be described below. As described above, this clock generation circuit is composed of the PLL circuit. In the clock signal generation circuit, the system reset signal RST is generated before the operation is started, whereby the entire circuit is reset. Then, the m-bit frequency division control signal SM and the n-bit selection control signal SN are input to the programmable mask generation circuit 40, and the programmable frequency divider 50 is further input.
The 1-bit frequency division control signal SL is input to.

【0036】システムリセット信号RSTが解除された
後、クロック発生回路は動作し始める。位相比較器10
により、入力端子Tfin から入力された基準クロック信
号finとプログラマブル分周器50からの分周信号S
50の位相が比較され、比較結果に応じて、アップ/ダ
ウン制御信号S10がカウンタ20に出力される。そし
て、カウンタ20により、位相比較器10からのアップ
/ダウン制御信号S10に応じて、カウンタ値が設定さ
れ、周波数逓倍器30に出力される。
After the system reset signal RST is released, the clock generation circuit starts operating. Phase comparator 10
As a result, the reference clock signal fin input from the input terminal T fin and the frequency-divided signal S from the programmable frequency divider 50 are input.
The phases of 50 are compared, and the up / down control signal S10 is output to the counter 20 according to the comparison result. Then, the counter value is set by the counter 20 according to the up / down control signal S10 from the phase comparator 10, and is output to the frequency multiplier 30.

【0037】周波数逓倍器30において、カウンタ20
からのカウンタ値に応じて、基準クロック信号finに
対してL×M逓倍したクロック信号dloが発生され、
プログラマブルマスク生成回路40に出力される。プロ
グラマブルマスク生成回路40において、クロック信号
dloに基づき、基準クロック信号finと同相のクロ
ック信号f0 が発生され、プログラマブル分周器50に
出力される。また、基準クロック信号finに対して、
2πN/M位相ずれのクロック信号が発生され、選択制
御信号に応じて、一つまたは複数が選択して出力され
る。
In the frequency multiplier 30, the counter 20
A clock signal dlo that is L × M multiplied with respect to the reference clock signal fin is generated according to the counter value from
It is output to the programmable mask generation circuit 40. In the programmable mask generation circuit 40, a clock signal f 0 in phase with the reference clock signal fin is generated based on the clock signal dlo and output to the programmable frequency divider 50. Also, with respect to the reference clock signal fin,
A clock signal with a phase shift of 2πN / M is generated, and one or more clock signals are selected and output according to the selection control signal.

【0038】そして、プログラマブルマスク生成回路4
0からのクロック信号f0 に応じて、プログラマブル分
周器50により、L分周した分周信号S50が発生さ
れ、位相比較器10に出力される。このように、周波数
逓倍器30からのクロック信号dloが分周して、位相
比較器10に帰還することにより、周波数逓倍器30に
より出力されたクロック信号dloが基準クロック信号
finに追従し、常に位相同期が保持される。この結
果、プログラマブルマスク生成回路40により発生され
た位相ずれクロック信号が基準クロック信号finの周
波数変動に追従する。
Then, the programmable mask generation circuit 4
In response to the clock signal f 0 from 0 , the programmable frequency divider 50 generates a frequency-divided signal S50 divided by L, and outputs the frequency-divided signal S50 to the phase comparator 10. In this way, the clock signal dlo from the frequency multiplier 30 is frequency-divided and fed back to the phase comparator 10, so that the clock signal dlo output by the frequency multiplier 30 follows the reference clock signal fin and is always Phase synchronization is maintained. As a result, the phase-shifted clock signal generated by the programmable mask generation circuit 40 follows the frequency fluctuation of the reference clock signal fin.

【0039】なお、本例においては、ディジタルPLL
回路によりクロック発生回路が構成されているが、これ
に限定されるものではなく、例えば、アナログPLL回
路によりクロック発生回路を構成することもできる。す
なわち、位相比較器10の代わりに、アナログ位相比較
器、カウンタ20の代わりにローパスフィルタ、周波数
逓倍器30の代わりにVCO(電圧制御発振)回路を用
いて、アナログ位相比較器により位相差信号を出力し、
ローパスフィルタにより低周波成分を取り出し、VCO
回路に出力し、VCO回路の発振周波数を制御する。V
CO回路によりクロック信号dloを発生し、これに応
じて本実施形態と同様なプログラマブルマスク生成回路
40を用いて、基準クロック信号finに対して任意に
設定された位相ずれのクロック信号が生成される。
In this example, the digital PLL
Although the clock generating circuit is configured by the circuit, the present invention is not limited to this, and the clock generating circuit may be configured by an analog PLL circuit, for example. That is, an analog phase comparator is used instead of the phase comparator 10, a low-pass filter is used instead of the counter 20, and a VCO (voltage controlled oscillation) circuit is used instead of the frequency multiplier 30, and a phase difference signal is obtained by the analog phase comparator. Output,
The low frequency component is extracted by the low pass filter and
Output to the circuit to control the oscillation frequency of the VCO circuit. V
The CO circuit generates the clock signal dlo, and in response to this, the programmable mask generation circuit 40 similar to that of the present embodiment is used to generate a clock signal having a phase shift arbitrarily set with respect to the reference clock signal fin. .

【0040】以上説明したように、本実施形態によれ
ば、基準クロック信号をL×M逓倍したクロック信号d
loに基づき、遅延回路W1 ,W2 ,…,Wk-2 ,W
k-1 により、1,2,…,k−1番目のクロック信号の
立ち下がりエッジからハイレベルに切り換わる遅延信号
1 ,S2 ,…,Sk-2 ,Sk-1 を発生し、ANDゲー
トAGT1 ,AGT2 ,…,AGTk-2 ,AGTk-1
より、遅延信号とクロック信号dloの論理積を生成
し、プログラマブル分周回路41によりM分周し、選択
回路42により選択して出力するので、基準クロック信
号に対して、2πN/M位相ずれのクロック信号を生成
でき、かつ、基準クロック信号に追従性が良く、精度の
高い位相ずれクロック信号が得られる。
As described above, according to this embodiment, the clock signal d obtained by multiplying the reference clock signal by L × M is used.
Based on lo, delay circuits W 1 , W 2 , ..., W k-2 , W
By k-1 , delay signals S 1 , S 2 , ..., S k-2 , S k-1 that switch from the falling edge of the 1, 2, ..., K-1th clock signal to the high level are generated. , AND gates AGT 1 , AGT 2 , ..., AGT k-2 , AGT k-1 generate a logical product of the delay signal and the clock signal dlo, and the programmable frequency dividing circuit 41 divides it by M, and the selecting circuit 42 Since they are selected and output, it is possible to generate a clock signal having a phase shift of 2πN / M with respect to the reference clock signal, and to follow the reference clock signal well, and to obtain a highly accurate phase shift clock signal.

【0041】[0041]

【発明の効果】以上説明したように、本発明のクロック
発生回路によれば、基準クロック信号に対して精度の高
い位相ずれクロック信号を発生でき、かつ基準クロック
信号の周波数の変動に追従性が良く、位相ずれを任意に
設定できる利点がある。
As described above, according to the clock generation circuit of the present invention, it is possible to generate a phase-shifted clock signal with high accuracy with respect to the reference clock signal and to follow the fluctuation of the frequency of the reference clock signal. Good, there is an advantage that the phase shift can be set arbitrarily.

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

【図1】本発明に係るクロック発生回路の一実施形態を
示す回路図である。
FIG. 1 is a circuit diagram showing an embodiment of a clock generation circuit according to the present invention.

【図2】プログラマブルマスク生成回路40の構成を示
す回路図である。
FIG. 2 is a circuit diagram showing a configuration of a programmable mask generation circuit 40.

【図3】遅延回路の構成を示す回路図である。FIG. 3 is a circuit diagram showing a configuration of a delay circuit.

【図4】クロック発生回路の波形図である。FIG. 4 is a waveform diagram of a clock generation circuit.

【図5】一般的な位相ずれのクロック発生回路の波形図
である。
FIG. 5 is a waveform diagram of a general phase-shifted clock generation circuit.

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

10…位相比較器、20…カウンタ、30…周波数逓倍
器、40…プログラマブルマスク生成回路、50…プロ
グラマブル分周器、Tfin …基準クロック信号の入力端
子、AGT0 ,AGT1 ,AGT2 ,…,AGTk-2
AGTk-1 …ANDゲート、W1 ,W2 ,W3 ,…,W
k-2 ,Wk-1 …遅延回路、41…プログラマブル分周回
路、42…選択回路、VCC…電源電圧、1…電源電圧V
CCの供給線、GND…接地電位。
10 ... Phase comparator, 20 ... Counter, 30 ... Frequency multiplier, 40 ... Programmable mask generation circuit, 50 ... Programmable frequency divider, T fin ... Reference clock signal input terminal, AGT 0 , AGT 1 , AGT 2 , , AGT k-2 ,
AGT k-1 ... AND gate, W 1 , W 2 , W 3 , ..., W
k-2 , W k-1 ... Delay circuit, 41 ... Programmable frequency dividing circuit, 42 ... Selection circuit, V CC ... Power supply voltage, 1 ... Power supply voltage V
CC supply line, GND ... Ground potential.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 被比較信号と基準クロック信号との位相
を比較し、比較結果に応じた制御信号を出力する位相比
較回路と、 上記制御信号を受けて、実数Mで規定された逓倍数をも
って周波数逓倍した逓倍信号を出力する周波数逓倍回路
と、 上記逓倍信号を受けて、当該逓倍信号をM分周した分周
信号を上記被比較信号として上記位相比較回路に出力
し、かつ、上記逓倍信号を予め設定した異なる時間をも
って遅延させて少なくとも一つの遅延信号を生成し、当
該遅延信号を任意の分周比をもって分周した信号を生成
する信号生成回路とを有するクロック発生回路。
1. A phase comparison circuit for comparing the phases of a signal to be compared with a reference clock signal and outputting a control signal according to the comparison result; and a phase comparison circuit which receives the control signal and has a multiplication factor defined by a real number M. A frequency multiplication circuit that outputs a frequency-multiplied signal and a frequency-divided signal that receives the frequency-multiplied signal and frequency-divides the frequency-multiplied signal by M and outputs the frequency-compensated signal to the phase comparison circuit as the compared signal. And a signal generation circuit that generates at least one delayed signal by delaying the delayed signal at different preset times and generates a signal obtained by dividing the delayed signal with an arbitrary frequency division ratio.
【請求項2】 上記実数Mは外部からの入力信号に応じ
て設定される請求項1記載のクロック発生回路。
2. The clock generation circuit according to claim 1, wherein the real number M is set according to an input signal from the outside.
【請求項3】 上記信号生成回路と上記位相比較回路と
の間に、上記信号生成回路のM分周信号を実数Lで規定
された分周比で分周して、上記被比較信号として上記位
相比較回路に入力させる第2の分周回路が設けられてい
る請求項1記載のクロック発生回路。
3. The M divided signal of the signal generating circuit is divided between the signal generating circuit and the phase comparing circuit by a dividing ratio defined by a real number L, and the divided signal is used as the compared signal. 2. The clock generation circuit according to claim 1, further comprising a second frequency dividing circuit for inputting to the phase comparison circuit.
【請求項4】 上記実数Lは外部からの入力信号に応じ
て設定される請求項3記載のクロック発生回路。
4. The clock generation circuit according to claim 3, wherein the real number L is set according to an input signal from the outside.
【請求項5】 上記信号生成回路は、選択制御信号に基
づき生成された分周信号の中から少なくとも一つの分周
信号を選択して出力する選択回路を有する請求項1記載
のクロック発生回路。
5. The clock generation circuit according to claim 1, wherein the signal generation circuit includes a selection circuit which selects and outputs at least one frequency division signal from the frequency division signals generated based on the selection control signal.
【請求項6】 上記信号生成回路は、入力信号を所定周
期分遅延させて出力する遅延回路を少なくとも一段以上
を有し、一段目の遅延回路には上記逓倍信号が入力さ
れ、2段目以降の遅延回路には前段の出力信号が入力さ
れる請求項1記載のクロック発生回路。
6. The signal generation circuit includes at least one delay circuit for delaying an input signal by a predetermined period and outputting the delayed signal, wherein the first stage delay circuit receives the multiplied signal and the second and subsequent stages. 2. The clock generation circuit according to claim 1, wherein the output signal of the preceding stage is input to the delay circuit.
JP8116576A 1996-05-10 1996-05-10 Clock generation circuit Pending JPH09307411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8116576A JPH09307411A (en) 1996-05-10 1996-05-10 Clock generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8116576A JPH09307411A (en) 1996-05-10 1996-05-10 Clock generation circuit

Publications (1)

Publication Number Publication Date
JPH09307411A true JPH09307411A (en) 1997-11-28

Family

ID=14690544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8116576A Pending JPH09307411A (en) 1996-05-10 1996-05-10 Clock generation circuit

Country Status (1)

Country Link
JP (1) JPH09307411A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016187893A1 (en) * 2015-05-27 2016-12-01 深圳市华星光电技术有限公司 Multi-phase clock generating circuit and liquid crystal display panel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016187893A1 (en) * 2015-05-27 2016-12-01 深圳市华星光电技术有限公司 Multi-phase clock generating circuit and liquid crystal display panel

Similar Documents

Publication Publication Date Title
CA1173917A (en) Digital frequency divider suitable for a frequency synthesizer
JPH0993100A (en) Phase comparator
US7323942B2 (en) Dual loop PLL, and multiplication clock generator using dual loop PLL
WO2003061129A1 (en) Clock generating circuit
JP2020136824A (en) Fractional frequency divider and frequency synthesizer
US7157953B1 (en) Circuit for and method of employing a clock signal
JP3538994B2 (en) Digital counter and digital PLL circuit
US20060119408A1 (en) Method and apparatus for generating multiphase clocks
JPH09321617A (en) Pll frequency synthesizer
JPH1022822A (en) Digital pll circuit
US6798266B1 (en) Universal clock generator using delay lock loop
JPH0946226A (en) Pll frequency synthesizer
US6198326B1 (en) Delay time compensation circuit for clock buffer
US10700669B2 (en) Avoiding very low duty cycles in a divided clock generated by a frequency divider
US20040027181A1 (en) Clock multiplying PLL circuit
US4942595A (en) Circuit for dividing the frequency of a digital clock signal by two and one-half
JPH09307411A (en) Clock generation circuit
TW200803178A (en) Phase offset control phase-frequency detector
JP3109550B2 (en) Phase locked oscillator
JP2009152886A (en) Clock generating circuit and method of utilizing the same
EP0223812A1 (en) Phase modulators
JPH1013395A (en) Phase synchronization circuit
JPH09312566A (en) Clock generating circuit
JPH0951255A (en) Delay clock generating circuit
JPH06334491A (en) Clock generating circuit