JPH10135821A - Clock generating circuit - Google Patents

Clock generating circuit

Info

Publication number
JPH10135821A
JPH10135821A JP8284221A JP28422196A JPH10135821A JP H10135821 A JPH10135821 A JP H10135821A JP 8284221 A JP8284221 A JP 8284221A JP 28422196 A JP28422196 A JP 28422196A JP H10135821 A JPH10135821 A JP H10135821A
Authority
JP
Japan
Prior art keywords
frequency
division ratio
frequency division
signal
ratio
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
JP8284221A
Other languages
Japanese (ja)
Inventor
Nobuyuki Nagafuji
延幸 長藤
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8284221A priority Critical patent/JPH10135821A/en
Publication of JPH10135821A publication Critical patent/JPH10135821A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain the clock generating circuit with less jitter and suitable for circuit integration by switching a frequency division ratio of integers before and after a non-integer at a prescribed switching ratio so as to realize frequency division of the noninteger. SOLUTION: This circuit is made up of a frequency divider circuit 3 that frequency-divides a reference clock signal REF at two frequency division ratios set by a frequency division ratio setting signal COPR to generate an output clock CKO, a frequency division ratio setting circuit 1 that generates a frequency division ratio setting signal denoting a frequency division ratio A and a frequency division ratio (A+1) when a frequency ratio of a basic clock signal REF and the clock signal CKO is A (integer) + b (a number below the decimal point), a frequency division ratio selector 2 that selects either of the two frequency division ratio setting signals based on a selection signal CAR 1 to provide an output of the frequency division ratio setting signal COPR, and a control section 4 that generates the selection signal CAR 1 by using a ratio of frequency division clock numbers of the frequency division ratios A, A+1 as a switching ratio for a period of a greatest common multiple of frequencies of the signals REF and CKO.

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, and more particularly to a clock generation circuit for obtaining a clock having a frequency whose division ratio is not an integer from a reference clock by digital processing.

【0002】[0002]

【従来の技術】従来、この種のクロック生成回路は集積
回路化を目的としVC0を使用しないでディジタル回路
で構成されている。図5はこの種の従来例として特開平
4−207524号公報に記載されたもののブロック図
である。
2. Description of the Related Art Conventionally, this kind of clock generation circuit is constituted by a digital circuit without using VC0 for the purpose of integration. FIG. 5 is a block diagram of a conventional example of this type described in Japanese Patent Application Laid-Open No. 4-207524.

【0003】図4において出力クロック信号CKTは、
基準クロック発生回路21から出力される基準クロック
CKSTをスイッチ回路22でパルスを所定数抜き取る
ことによって得られる。スイッチ回路22は、基準クロ
ック信号CKSTの導通/非導通をカウンター回路23
からの制御信号GSによってコントロールされる。
In FIG. 4, an output clock signal CKT is
The reference clock CKST output from the reference clock generation circuit 21 is obtained by extracting a predetermined number of pulses by the switch circuit 22. The switch circuit 22 determines whether the reference clock signal CKST is conductive or non-conductive by the counter circuit 23.
Is controlled by a control signal GS.

【0004】カウンター回路23はプリセットカウンタ
ーを有しており、基準クロック信号CKSTをカウント
クロックとして入力すると共に、分周回路24から出力
される分周クロック信号CKSTをプリセットのタイミ
ング信号として入力する。分周回路24はクロック信号
CKTを所定の分周比1/Nで分周するものである。ま
た、カウンター回路23のプリセット値は、プリセット
データ出力回路(マイクロプロセッサ等)25からのプ
リセットデータPSDによって設定される。
[0004] The counter circuit 23 has a preset counter. The counter circuit 23 receives the reference clock signal CKST as a count clock, and also receives the frequency-divided clock signal CKST output from the frequency divider circuit 24 as a preset timing signal. The frequency dividing circuit 24 divides the frequency of the clock signal CKT by a predetermined frequency dividing ratio 1 / N. The preset value of the counter circuit 23 is set by preset data PSD from a preset data output circuit (microprocessor or the like) 25.

【0005】そこで、カウンター回路23は、分周クロ
ック信号CKNを入力するとプリセットし、スイッチ回
路22に対して基準クロック信号CKSTを非導通状態
とする制御信号GSを出力し、この状態をカウンター値
が予め定められた値に達するまで継続する。それ以後は
再プリセットされるまで、スイッチ回路22に対して基
準クロック信号CKSTを導通状態とする制御信号GS
を出力する。また、分周回路24の分周比1/Nは、ク
ロック信号CKTを用いて処理されるデータの周波数に
対応した値である。
Therefore, the counter circuit 23 presets when the frequency-divided clock signal CKN is input, and outputs a control signal GS for turning off the reference clock signal CKST to the switch circuit 22. Continue until a predetermined value is reached. Thereafter, the control signal GS for turning on the reference clock signal CKST to the switch circuit 22 until it is reset again.
Is output. The frequency division ratio 1 / N of the frequency dividing circuit 24 is a value corresponding to the frequency of data processed using the clock signal CKT.

【0006】[0006]

【発明が解決しようとする課題】このように従来例で
は、得られる出力クロック信号は連続したパルス列の中
から周期的に所定数のパルスを抜き取るので間欠的なパ
ルス列のクロックとなる。従って連続したパルス列のク
ロックと比較した場合ジッタが大きくなるという問題が
ある。特に抜き取るパルス数が多くなるとジッタは更に
増大するという問題がある。
As described above, in the conventional example, the output clock signal obtained is a clock of an intermittent pulse train because a predetermined number of pulses are periodically extracted from the continuous pulse train. Therefore, there is a problem that the jitter becomes large when compared with the clock of the continuous pulse train. In particular, there is a problem that the jitter further increases as the number of extracted pulses increases.

【0007】[0007]

【課題を解決するための手段】本発明のクロック生成回
路は、基準クロック信号を分周比設定信号により設定さ
れた分周比で分周し出力クロック信号を発生する分周回
路と、前記基準クロック信号と前記出力クロック信号と
の周波数比即ち分周比がA(整数)+a(小数点以下の
数字)の時に分周比Aを設定する分周比設定信号Aと分
周比A+1を設定する分周比設定信号A+1とを発生す
る分周比設定回路と、前記分周比設定信号Aおよび前記
分周比設定信号A+1とを入力し選択信号により一方を
選択して前記分周比設定信号を出力する分周比セレクタ
と、前記基準クロック信号および前記出力クロック信号
の周波数条件から所定の切替比率を演算して前記選択信
号を出力する制御部とを備えている。
According to the present invention, there is provided a clock generation circuit which divides a reference clock signal by a division ratio set by a division ratio setting signal to generate an output clock signal; When the frequency ratio between the clock signal and the output clock signal, that is, the frequency division ratio is A (integer) + a (numerals after the decimal point), the frequency division ratio setting signal A and the frequency division ratio A + 1 are set. A frequency division ratio setting circuit for generating a frequency division ratio setting signal A + 1, and the frequency division ratio setting signal A and the frequency division ratio setting signal A + 1 are inputted, and one of them is selected by a selection signal to select the frequency division ratio setting signal. And a control unit that calculates a predetermined switching ratio from the frequency conditions of the reference clock signal and the output clock signal and outputs the selection signal.

【0008】[0008]

【発明の実施の形態】次に本発明の実施の形態について
図を参照して説明する。図1は本発明の実施の形態の原
理を説明するブロック図である。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating the principle of the embodiment of the present invention.

【0009】図1において、本ブロック生成回路は、基
準クロック信号REFを分周比設定信号C0PRにより
設定された分周比で分周し、出力クロック信号CK0を
発生する分周回路3と、基準クロック信号REFと出力
クロック信号CK0との周波数比がA(整数)+a(小
数点以下の数字)の時に分周比Aを設定する分周比設定
信号C0PR1と分周比A+1を設定する分周比設定信
号C0PR2とを発生する分周比設定回路1と、分周比
設定信号C0PR1および分周比設定信号C0PR2と
を入力し選択信号CAR1により一方を選択して分周比
設定信号C0PRを出力する分周比セレクタ2と、基準
クロック信号REFおよび出力クロック信号CK0の周
波数条件から所定の切替比率を演算して選択信号CAR
1を出力する制御部4から構成されている。
In FIG. 1, the block generation circuit divides a reference clock signal REF by a frequency division ratio set by a frequency division ratio setting signal C0PR to generate an output clock signal CK0; A division ratio setting signal C0PR1 for setting the division ratio A when the frequency ratio between the clock signal REF and the output clock signal CK0 is A (integer) + a (numerals after the decimal point) and a division ratio for setting the division ratio A + 1 A frequency division ratio setting circuit 1 for generating a setting signal C0PR2, a frequency division ratio setting signal C0PR1 and a frequency division ratio setting signal C0PR2 are input, and one of them is selected by a selection signal CAR1 to output a frequency division ratio setting signal C0PR. A predetermined switching ratio is calculated from the frequency division ratio selector 2 and the frequency conditions of the reference clock signal REF and the output clock signal CK0 to select the selection signal CAR.
1 is constituted by a control unit 4 for outputting the value "1".

【0010】制御部4は、基準クロック信号REFと出
力クロック信号CK0との周波数の最大公約数の周期期
間において分周回路が分周比Aで分周した時の出力クロ
ック数と分周比A+1で分周した時の出力クロック数と
の比がB(整数)+b(小数点以下の数)であった時に
分周比BおよびB+1をそれぞれ設定するための分周比
設定信号C1PR1,C1PR2と、次に出力クロック
信号CK0をB+bの比で分周するために分周比Bで分
周した時の出力クロック数と分周比B+1で分周した時
の出力クロック数との比がC(整数)+c(小数点以下
の数)であった時に分周比Cおよび分周比C+1をそれ
ぞれ設定するための分周比設定信号C2PR1,C2P
R2と、以下同様に出力クロック数の比が整数となるま
で計算して設定されたN組みの分周比設定信号C1PR
〜CNPRおよび整数となった時の分周比設定信号CN
+1PR2とを発生する分周比設定回路41と、各分周
比設定信号を入力しそれぞれ対応する選択信号CARに
より各々一方の分周比設定信号を選択して出力する分周
比セレクタ421〜42Nと、出力クロック信号CK0
を分周比セレクタ421の出力信号C1PRが設定する
分周比で分周し選択信号CAR1および分周クロック信
号CK1を出力する分周回路431と、分周クロック信
号CK1を分周比セレクタ422の出力信号C2PRの
分周比で分周し分周比セレクタ421への選択信号CA
R2および分周クロック信号CK2を出力する分周回路
432と、以下同様に前方の分周回路の出力クロック信
号を対応する分周比セレクタの出力信号の分周比で分周
し、前方の分周比セレクタへの選択信号と分周クロック
信号とを出力する分周回路431〜43Nおよび分周回
路43Nの分周クロック信号CKNを分周比設定信号C
N+1PRの分周比で分周し分周比セレクタ42Nへの
選択信号CARN+1を出力する分周回路43N+1と
で構成している。
The control unit 4 controls the number of output clocks and the dividing ratio A + 1 when the dividing circuit divides by the dividing ratio A during the period of the greatest common divisor of the frequency of the reference clock signal REF and the output clock signal CK0. When the ratio to the number of output clocks when the frequency is divided by B is (integer) + b (number after the decimal point), frequency dividing ratio setting signals C1PR1 and C1PR2 for setting the frequency dividing ratios B and B + 1, respectively; Next, in order to divide the output clock signal CK0 by the ratio of B + b, the ratio of the number of output clocks when dividing by the dividing ratio B to the number of output clocks when dividing by the dividing ratio B + 1 is C (integer). ) + C (number after the decimal point), the division ratio setting signals C2PR1 and C2P for setting the division ratio C and the division ratio C + 1, respectively.
R2, and N sets of frequency division ratio setting signals C1PR similarly calculated and set until the ratio of the number of output clocks becomes an integer.
To CNPR and the frequency division ratio setting signal CN when it becomes an integer
A division ratio setting circuit 41 for generating + 1PR2, and division ratio selectors 421 to 42N for inputting each division ratio setting signal and selecting and outputting one of the division ratio setting signals by a corresponding selection signal CAR. And the output clock signal CK0
Is divided by the division ratio set by the output signal C1PR of the division ratio selector 421 to output the selection signal CAR1 and the divided clock signal CK1, and the divided clock signal CK1 is divided by the division ratio selector 422. The output signal C2PR is divided by the division ratio and the selection signal CA to the division ratio selector 421
A frequency dividing circuit 432 for outputting R2 and a frequency-divided clock signal CK2, and similarly dividing the output clock signal of the front frequency dividing circuit by the frequency dividing ratio of the output signal of the corresponding frequency dividing selector, and Frequency dividing circuits 431 to 43N for outputting a selection signal to the frequency ratio selector and a frequency divided clock signal, and the frequency divided clock signal CKN of the frequency dividing circuit 43N are divided into frequency division ratio setting signals C
A frequency dividing circuit 43N + 1 that divides the frequency by the frequency dividing ratio of N + 1PR and outputs a selection signal CARN + 1 to the frequency dividing ratio selector 42N.

【0011】尚、分周比設定回路41は基準クロック信
号REFおよび出力クロック信号CK0の周波数条件を
入力し各分周比を自動的に演算し、分周比設定信号C1
PR〜CN+1PRを出力する所要プログラムを含むC
PUで構成しても良い。
The frequency division ratio setting circuit 41 inputs the frequency conditions of the reference clock signal REF and the output clock signal CK0, automatically calculates each frequency division ratio, and generates the frequency division ratio setting signal C1.
C including the required program that outputs PR to CN + 1PR
A PU may be used.

【0012】次に図2および図3を用いて本発明の実施
の形態例を説明する。図2は構成を示すブロック図、図
3は図2の動作を説明するタイムチャートである。図2
は図1においてN=4とした場合の構成を示すものであ
る。図2において具体的な動作原理と構成とを以下に説
明する。
Next, an embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a block diagram showing the configuration, and FIG. 3 is a time chart for explaining the operation of FIG. FIG.
Shows a configuration when N = 4 in FIG. The specific operation principle and configuration in FIG. 2 will be described below.

【0013】ここでは、基準クロック信号REFを1
7.734475MHz,出力クロック信号CK0を7
68KHz,つまりPALのサブキャリア周波数の4倍
の周波数よりオーディオ・サンプリングクロックの16
倍の周波数を生成する例である。基準クロック信号RE
Fと出力クロックCK0の最大公約数は25(HZ)で
あり、1/25=40(ms)周期期間(即ち、両者の
パルス列のパルスが同位置に並ぶ時の周期期間)に基準
クロック信号REFが17734475/25=709
379クロック,出力クロック信号CK0が76800
0/25=30720クロック存在することになる。ま
た、基準クロック信号REFと出力クロック信号CK0
の周波数比は17734475/768000=23.
091…であり、分周回路3では23または24の分周
がおこなわれる。
Here, the reference clock signal REF is set to 1
7.73475 MHz, output clock signal CK0 is 7
68 kHz, that is, 16 times the audio sampling clock from the frequency four times the PAL subcarrier frequency
This is an example of generating a double frequency. Reference clock signal RE
The greatest common divisor of F and the output clock CK0 is 25 (HZ), and the reference clock signal REF is set to a period of 1/25 = 40 (ms) (that is, a period when the pulses of both pulse trains are arranged at the same position). 177344475/25 = 709
379 clocks, output clock signal CK0 is 76800
0/25 = 30720 clocks will be present. Further, the reference clock signal REF and the output clock signal CK0
Is 173744475/768000 = 23.
091..., And the frequency dividing circuit 3 divides the frequency by 23 or 24.

【0014】分周回路3は分周カウンタ31とアドレス
デコーダ32とで構成され、分周カウンタ31は5bi
tのプリセッタブルカウンタであり、ここではプリセッ
ト値を変えることによってカウンタの分周比が変化する
構成にしているため、23分周の場合,プリセット値を
“9”,24分周の場合、プリセット値を“8”と設定
する。したがって分周比設定回路1は分周比セレクタ2
に対して“8”と“9”の値を出力し、これらのセレク
タ出力C0PRが分周カウンタ31にプリセット入力さ
れ、23分周、もしくは24分周される。分周カウンタ
31のアドレス出力C0ADRはアドレスデコーダ32
にてデューティー調整された出力クロック信号CK0と
して出力される。
The frequency dividing circuit 3 is composed of a frequency dividing counter 31 and an address decoder 32.
t is a presettable counter. In this case, the frequency division ratio of the counter is changed by changing the preset value. Set the value to “8”. Therefore, the dividing ratio setting circuit 1 is provided with a dividing ratio selector 2
, The values of “8” and “9” are output, and these selector outputs C0PR are preset input to the frequency division counter 31 and are frequency-divided by 23 or 24. The address output C0ADR of the frequency division counter 31 is
Is output as the output clock signal CK0 whose duty has been adjusted.

【0015】次に分周比セレクタ2のセレクト制御を行
うキャリー出力CARIを供給する制御部4について説
明する。40ms周期期間に23分周された出力クロッ
クCK0がXa 個,24分周された出力クロックCK0
がXa+1 個存在するとした場合、以下の連立2次方程式
が成り立つ。
Next, the control section 4 for supplying the carry output CARI for controlling the selection of the frequency division ratio selector 2 will be described. 40ms cycle 23 divided output clock CK0 is X a number in the period, the output clock is peripheral 24 minutes CK0
If there are X a + 1 , the following simultaneous quadratic equations hold.

【0016】709379=23×Xa +24×Xa+1 30720=Xa +Xa+1a =27901,Xa+1 =2819となり、またXa
とXa+1 との比は27901/2819=9、897…
…であり、この比の分周を行うために分周回路431で
は分周比9または10の分周を切替えておこなう。分周
カウンタ441は4bitのプリセッタブルカウンタで
あるため、9分周の場合、プリセット値を“6”,10
分周の場合プリセット値を“5”と設定する。したがっ
て分周比設定回路41は分周比セレクタ421に対して
“5”と“6”の値を出力し、これらのセレクタ出力C
1PRが分周カウンタ441にプリセット入力され、C
K0を入力クロックとして、9分周もしくは10分周さ
れる。分周カウンタ441のアドレス出力C1ADRは
アドレスデコーダ451でデコードされ、分周1クロッ
クCK1を出力する。また、分周カウンタ441のキャ
リー出力CAR1によって分周比セレクタ2のセレクト
制御がおこなわれる。
709379 = 23 × X a + 24 × X a + 1 30720 = X a + X a + 1 X a = 27901, X a + 1 = 2819, and X a
And the ratio of X a + 1 are 27901/2819 = 9, 897 ...
In order to perform the frequency division of this ratio, the frequency dividing circuit 431 switches the frequency division of the frequency dividing ratio of 9 or 10. Since the frequency division counter 441 is a 4-bit presettable counter, in the case of frequency division by 9, the preset value is “6”, 10
In the case of frequency division, the preset value is set to “5”. Therefore, the frequency division ratio setting circuit 41 outputs values “5” and “6” to the frequency division ratio selector 421, and these selector outputs C
1PR is preset input to the frequency division counter 441, and C
The frequency is divided by 9 or 10 using K0 as an input clock. The address output C1ADR of the frequency division counter 441 is decoded by the address decoder 451 and outputs a frequency-divided one clock CK1. Further, select control of the frequency division ratio selector 2 is performed by the carry output CAR1 of the frequency division counter 441.

【0017】次に40ms周期期間に9分周された分周
クロックCK1がXb 個、10分周されたCK1がX
b+1 個存在するとした場合、以下の連立2次方程式が成
り立つ。
Next, the divided clock CK1 divided by 9 in the period of 40 ms is Xb , and the CK1 divided by 10 is X
If there are b + 1 , the following simultaneous quadratic equations hold.

【0018】 Xa =27901=9×Xb +10×Xb+1a+1 =2819=Xb +Xb+1b =289,Xb+1 =2530となり、Xb+1 とXb
の比は2530/289=8.754…であり、分周回
路432では分周比8または9の分周がおこなわれる。
分周カウンタ442はセレクタ出力C2PRがプリセッ
ト入力され、分周クロック信号CK1を8分周,もしく
は9分周する。また、キャリー出力CAR2によって分
周比セレクタ441のセレクト制御を行う。
X a = 27901 = 9 × X b + 10 × X b + 1 X a + 1 = 2819 = X b + X b + 1 X b = 289, X b + 1 = 2530, and X b + 1 and X b
Is 2530/289 = 8.754..., And the frequency dividing circuit 432 divides the frequency by the dividing ratio 8 or 9.
The frequency division counter 442 receives the selector output C2PR as a preset input and frequency-divides the frequency-divided clock signal CK1 by eight or nine. Further, select control of the frequency division ratio selector 441 is performed by the carry output CAR2.

【0019】次に、40ms周期期間に8分周された分
周クロックCK2がXc 個、9分周された分周クロック
CK2がXc+1 個存在するとした場合,以下の連立2次
方程式が成り立つ。
Next, the divided clock CK2 is X c number which is divided by 8 to 40ms cycle duration, if the ninth frequency division has been divided clock CK2 is set to X c + 1 pieces exist, following simultaneous quadratic equations Holds.

【0020】Xb+1 =2530=8×Xc +9×Xc+1b =289=Xc +Xc+1c =71,Xc+1 =218となり、Xc+1 とXc の比
は218/71=3.070…であり、分周回路433
では3または4分周がおこなわれる。分周カウンタ44
3はセレクト出力C3PRがプリセット入力され、出力
クロックCK2を入力クロックとして、3分周、もしく
は4分周される。分周カウンタ443のアドレス出力C
3ADRはアドレスデコーダ453でデコードされ、分
周クロックCK3を出力する。また、キャリー出力CA
R3によって、分周比セレクタ422のセレクタ制御を
行う。
X b + 1 = 2530 = 8 × X c + 9 × X c + 1 X b = 289 = X c + X c + 1 X c = 71, X c + 1 = 218, and X c + 1 and X c The ratio of c is 218/71 = 3.070...
Then, frequency division by 3 or 4 is performed. Dividing counter 44
Reference numeral 3 designates a preset output of the select output C3PR, and is divided by 3 or 4 by using the output clock CK2 as an input clock. Address output C of frequency dividing counter 443
The 3ADR is decoded by the address decoder 453, and outputs a frequency-divided clock CK3. Also, carry output CA
The selector control of the frequency division ratio selector 422 is performed by R3.

【0021】次に40ms周期期間に3分周された分周
クロックCK3がXd 個,4分周された分周クロックC
K3がXd+1 個存在するとした場合、以下の連立2次方
程式が成り立つ。
Next, Xd frequency-divided clocks CK3 divided by 3 during a period of 40 ms, and frequency-divided clocks C divided by 4
If there are X d + 1 K3s, the following simultaneous quadratic equations hold.

【0022】Xc+1 =218=3×Xd +4×Xd+1c =71=Xd +Xd+1d =66,Xd+1 =5となり、Xd とXd+1 の日は6
6/5=13.2であり、分周回路434では13また
は14分周がおこなわれる。分周カウンタ444はセレ
クト出力C4PRがプリセット入力され分周クロックC
K3を入力クロックとして、13分周,もしくは14分
周される。分周カウンタ444のアドレス出力C4AD
Rはアドレスデコーダ454でデコードされ、分周クロ
ックCK4を出力する。また、キャリー出力CARによ
って、分周比セレクタ423のセレクと制御を行う。
X c + 1 = 218 = 3 × X d + 4 × X d + 1 X c = 71 = X d + X d + 1 X d = 66, X d + 1 = 5, and X d and X d + 1st day is 6
6/5 = 13.2, and the frequency dividing circuit 434 performs frequency division of 13 or 14. The division counter 444 receives the preset output of the select output C4PR and outputs the divided clock C
The frequency is divided by 13 or 14 using K3 as an input clock. Address output C4AD of frequency division counter 444
R is decoded by the address decoder 454 and outputs a frequency-divided clock CK4. Further, selection and control of the frequency division ratio selector 423 are performed by the carry output CAR.

【0023】次に40ms周期期間に14分周された分
周クロックCK4がXe 個,14分周された分周クロッ
クCK4がXe+1 個存在するとした場合,以下連立2次
方程式が成り立つ。
[0023] Next 40ms period duration in 14 divided-divided clock CK4 is X e number were, if 14 divided-by dividing clock CK4 is the X e + 1 or present, simultaneous quadratic equations below is established .

【0024】Xd =66=13×Xe +14×Xe+1d+1 =5=Xe +Xe+1e =4,Xe+1 =1となり、Xe とXe+1 の比は4/
1=4であり、分周回路435では4分周のみおこなわ
れることになる。分周カウンタ445はセレクト出力C
5PRを直接プリセット入力し、分周カウンタ445は
分周クロックCK4を入力クロックとして4分周する。
また、分周カウンタ445のキャリー出力CAR5によ
って、分周比セレクタ424のセレクト制御がおこなわ
れる。
Xd = 66 = 13 × Xe + 14 × Xe + 1 Xd + 1 = 5 = Xe + Xe + 1 Xe = 4, Xe + 1 = 1, and Xe and Xe + The ratio of 1 is 4 /
1 = 4, and the frequency dividing circuit 435 performs only frequency division by 4. The frequency division counter 445 has the select output C
5PR is directly preset input, and the frequency dividing counter 445 divides the frequency by 4 using the frequency divided clock CK4 as an input clock.
Further, select control of the frequency division ratio selector 424 is performed by the carry output CAR5 of the frequency division counter 445.

【0025】次に動作について図3,4を参照しながら
補足説明する。基準クロック入力信号REFは23もし
くは24分周され、出力クロック信号CK0が生成され
る。このとき、分周比の切り換えは分周カウンタ441
のキャリー出力CAR1で制御される。すなわち、CA
R1が“L”のとき分周比セレクタ2のセレクタ出力C
0PRが“8”となり、分周カウンタ31で24分周さ
れ、またCAR1が“H”のときセレクタ出力C0PR
は“9”となり、23分周される。同様に、出力クロッ
ク信号CK0は分周カウンタ441で9もしくは10分
周され、分周回路431の分周クロック信号CK1が生
成される。このとき、分周比の切り換えは分周カウンタ
442のキャリー出力CAR2で制御される。すなわち
CAR2が“L”のとき分周比セレクタ421のセレク
タ出力C1PRが“5”となり、10分周され、またC
AR2が“H”のときセレクタ出力C1PRが“6”と
なり、9分周される。
Next, the operation will be supplementarily described with reference to FIGS. The reference clock input signal REF is divided by 23 or 24 to generate an output clock signal CK0. At this time, the division ratio is switched by the division counter 441.
Is controlled by the carry output CAR1. That is, CA
When R1 is "L", the selector output C of the frequency division ratio selector 2
When 0PR becomes "8", the frequency is divided by 24 by the frequency dividing counter 31, and when CAR1 is "H", the selector output C0PR is output.
Becomes "9" and is divided by 23. Similarly, the output clock signal CK0 is frequency-divided by 9 or 10 by the frequency division counter 441, and the frequency-divided clock signal CK1 of the frequency division circuit 431 is generated. At this time, the switching of the dividing ratio is controlled by the carry output CAR2 of the dividing counter 442. That is, when CAR2 is "L", the selector output C1PR of the frequency division ratio selector 421 becomes "5", the frequency is divided by 10, and
When AR2 is "H", the selector output C1PR becomes "6", and the frequency is divided by nine.

【0026】同様に、分周回路431の分周クロック信
号CK1は8もしくは9分周され、分周回路432の分
周クロック信号CK2が生成される。このとき、分周比
の切り換えは分周カウンタ443のキャリー出力CAR
3で制御される。すなわち、CAR3が“L”のとき、
分周比セレクタ422のセレクタ出力C2PRが“6”
となり、9分周され、また、CAR3が“H”のときセ
レクタ出力C2PRが“7”となり、8分周される。
Similarly, the frequency-divided clock signal CK1 of the frequency-divider circuit 431 is frequency-divided by 8 or 9 to generate the frequency-divided clock signal CK2 of the frequency-divider circuit 432. At this time, the division ratio is switched by the carry output CAR of the division counter 443.
3 is controlled. That is, when CAR3 is “L”,
The selector output C2PR of the frequency division ratio selector 422 is "6"
The frequency is divided by 9, and when CAR3 is at "H", the selector output C2PR becomes "7" and the frequency is divided by 8.

【0027】同様に、分周回路432の分周クロック信
号CK2は3もしくは4分周され、分周回路433の分
周クロック信号CK3が生成される。このとき、分周比
の切り換えは、分周カウンタ444のキャリー出力CA
R4で制御される。すなわち、CAR4が“L”のと
き、分周比セレクタ423のセレクタ出力C3PRが
“4”となり、3分周され、また、CAR4が“H”の
ときセレクタ出力C3PRが“3”となり、4分周され
る。
Similarly, the frequency-divided clock signal CK 2 of the frequency divider 432 is frequency-divided by three or four to generate a frequency-divided clock signal CK 3 of the frequency divider 433. At this time, the division ratio is switched by the carry output CA of the division counter 444.
Controlled by R4. That is, when CAR4 is "L", the selector output C3PR of the frequency division ratio selector 423 becomes "4" and is divided by three. When CAR4 is "H", the selector output C3PR becomes "3" and becomes four times. Be circulated.

【0028】同様に、分周回路433の分周クロック信
号CK3は13もしくは14分周され、分周回路434
の分周クロック信号CK4が生成される。このとき、分
周比の切り換えは、分周比カウンタ425のキャリー出
力CAR5で制御される。すなわち、CAR5が“L”
のとき、分周比セレクタのセレクタ出力C4PRが
“2”となり、13分周され、また、CAR5が“H”
のときセレクタ出力C4PRが“1”となり、14分周
される。分周回路434の分周クロック信号CK4は4
分周のみおこなわれる。
Similarly, the frequency-divided clock signal CK 3 of the frequency dividing circuit 433 is frequency-divided by 13 or 14, and the frequency dividing circuit 434
CK4 is generated. At this time, the switching of the division ratio is controlled by the carry output CAR5 of the division ratio counter 425. That is, CAR5 is “L”
, The selector output C4PR of the frequency division ratio selector becomes “2”, the frequency is divided by 13, and the CAR5 becomes “H”.
In this case, the selector output C4PR becomes "1" and the frequency is divided by 14. The frequency-divided clock signal CK4 of the frequency divider 434 is 4
Only frequency division is performed.

【0029】[0029]

【発明の効果】以上説明したように本発明のクロック生
成回路は、非整数の分周比の分周を連続する2つの分周
比を所定の比率で切替えて分周することにより実現して
いるので、出力クロック信号のジッタを入力基準クロッ
ク信号の1クロック分以内におさえることができる効果
がある。
As described above, the clock generation circuit of the present invention is realized by switching the frequency of a non-integer frequency dividing ratio by switching two consecutive frequency dividing ratios at a predetermined ratio. Therefore, there is an effect that the jitter of the output clock signal can be suppressed within one clock of the input reference clock signal.

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

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

【図2】図1の具体的な実施の形態例を示す回路図であ
る。
FIG. 2 is a circuit diagram showing a specific embodiment of FIG.

【図3】図2の動作を示すタイチャートである。FIG. 3 is a tie chart showing the operation of FIG. 2;

【図4】図2の動作を示す図3に続くタイチャートであ
る。
FIG. 4 is a tie chart following FIG. 3 showing the operation of FIG. 2;

【図5】従来のクロック生成回路の構成を示すブロック
図である。
FIG. 5 is a block diagram showing a configuration of a conventional clock generation circuit.

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

1 分周比設定回路 2 分周比セレクタ 3 分周回路 4 制御部 41 分周比設定回路 421〜42N 分周比セレクタ 431〜43N,43N+1 分周回路 441〜445 分周カウンタ 451〜454 アドレスカウンタ 1 division ratio setting circuit 2 division ratio selector 3 division circuit 4 control unit 41 division ratio setting circuit 421 to 42N division ratio selector 431 to 43N, 43N + 1 division circuit 441 to 445 division counter 451 to 454 address counter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 基準クロック信号を分周比設定信号によ
り設定された分周比で分周し出力クロック信号を発生す
る分周回路と、前記基準クロック信号と前記出力クロッ
ク信号との周波数比即ち分周比がA(整数)+a(小数
点以下の数字)の時に分周比Aを設定する分周比設定信
号Aと分周比A+1を設定する分周比設定信号A+1と
を発生する分周比設定回路と、前記分周比設定信号Aお
よび前記分周比設定信号A+1とを入力し選択信号によ
り一方を選択して前記分周比設定信号として出力する分
周比セレクタと、前記基準クロック信号および前記出力
クロック信号の各周波数条件から所定の切替比率を演算
して前記選択信号を出力する制御部とを備えることを特
徴とするクロック生成回路。
A frequency dividing circuit that divides a reference clock signal by a frequency dividing ratio set by a frequency dividing ratio setting signal to generate an output clock signal; and a frequency ratio between the reference clock signal and the output clock signal. When the frequency division ratio is A (integer) + a (numerals after the decimal point), frequency division for generating a frequency division ratio setting signal A for setting the frequency division ratio A and a frequency division ratio setting signal A + 1 for setting the frequency division ratio A + 1 A ratio setting circuit, a frequency division ratio selector that receives the frequency division ratio setting signal A and the frequency division ratio setting signal A + 1, selects one of the signals by a selection signal, and outputs the selected signal as the frequency division ratio setting signal, A clock generation circuit comprising: a control unit that calculates a predetermined switching ratio from each frequency condition of a signal and the output clock signal and outputs the selection signal.
【請求項2】 前記制御部は、前記基準クロック信号と
前記出力クロック信号との周波数の最大公約数の周期期
間において前記分周回路が前記分周比Aで分周した時の
出力クロック数と前記分周比A+1で分周した時の出力
クロック数との比がB(整数)+b(小数点以下の数)
であった時に分周比BおよびB+1をそれぞれ設定する
ための第1の分周比設定信号と次に前記基準クロック信
号を前記分周比A+aで分周した前記出力クロック信号
を前記B+bの比で分周するために前記分周比Bで分周
した時の出力クロック数と前記分周比B+1で分周した
時の出力クロック数との比がC(整数)+c(小数点以
下の数)であった時に分周比Cおよび分周比C+1をそ
れぞれ設定するための第2の分周比設定信号と次に前記
出力クロック信号を前記分周比B+bで分周した第1の
分周クロック信号についても以下同様に計算して行き前
記出力クロック数の比が整数となるまで計算して設定さ
れた第1〜第NのN組みの分周比設定信号および整数と
なった時の第N+1の分周比設定信号とを発生する制御
部分周比設定回路と、前記第1〜第Nの分周比設定信号
を入力しそれぞれ対応する選択信号により各々一方の分
周比設定信号を選択して出力する第1〜第Nの分周比セ
レクタと、前記出力クロック信号を前記第1の分周比セ
レクタの出力信号の分周比で分周し前記選択信号および
前記第1の分周クロック信号を出力する第1の分周回路
と前記第1の分周クロック信号を前記第2の分周比セレ
クタの出力信号の分周比で分周し前記第1の分周比セレ
クタへの選択信号および第2の分周クロック信号を出力
する第2の分周回路と以下同様に前方の分周回路の出力
クロック信号を対応する分周比セレクタの出力信号の分
周比で分周し前方の分周比セレクタへの選択信号と分周
クロック信号とを出力する第1〜第Nの分周回路および
第Nの分周回路の分周クロック信号を前記第N+1の分
周比設定信号の分周比で分周し第Nの分周比セレクタへ
の選択信号を出力する第N+1の分周回路とを備えるこ
とを特徴とする請求項1記載のクロック生成回路。
2. The control unit according to claim 2, wherein the number of output clocks when the frequency divider divides the frequency by the frequency division ratio A in a period of the greatest common divisor of the frequencies of the reference clock signal and the output clock signal. The ratio to the number of output clocks when dividing by the dividing ratio A + 1 is B (integer) + b (number after decimal point)
The first division ratio setting signal for setting the division ratios B and B + 1, respectively, and the output clock signal obtained by dividing the reference clock signal by the division ratio A + a are then divided by the ratio of B + b. The ratio of the number of output clocks when dividing by the dividing ratio B to the number of output clocks when dividing by the dividing ratio B + 1 is C (integer) + c (the number after the decimal point). A second frequency division setting signal for setting the frequency division ratio C and the frequency division ratio C + 1, respectively, and a first frequency division clock obtained by dividing the output clock signal by the frequency division ratio B + b. Similarly, the signals are calculated in the same manner, and the first to N-th N sets of frequency division ratio setting signals calculated and set until the ratio of the number of output clocks becomes an integer and the (N + 1) th division ratio when the integer is reached. Division ratio setting circuit for generating the division ratio setting signal A first to an N-th division ratio selector, which receives the first to N-th division ratio setting signals, selects and outputs one of the division ratio setting signals by a corresponding selection signal, and A first frequency dividing circuit for dividing a clock signal by a frequency dividing ratio of an output signal of the first frequency dividing selector and outputting the selection signal and the first frequency divided clock signal; and the first frequency dividing circuit A second frequency divider for dividing a clock signal by a frequency division ratio of an output signal of the second frequency division ratio selector and outputting a selection signal to the first frequency division ratio selector and a second frequency divided clock signal Similarly to the circuit, the output clock signal of the front frequency dividing circuit is frequency-divided by the frequency division ratio of the output signal of the corresponding frequency dividing ratio selector, and the selection signal to the front frequency dividing ratio selector and the frequency-divided clock signal are output. To N-th divider circuit and divided clock signal of N-th divider circuit 2. The (N + 1) th frequency divider circuit for dividing the frequency by the frequency division ratio of the (N + 1) th frequency division ratio setting signal and outputting a selection signal to the Nth frequency division ratio selector. Clock generation circuit.
【請求項3】 前記分周比設定回路は前記基準クロック
信号および前記出力クロック信号の各周波数条件を入力
し自動的に演算し前記第1〜N+1の分周比設定信号を
出力する所要プログラムとCPUとを備えることを特徴
とする請求項3記載のクロック生成回路。
3. A required program for inputting frequency conditions of the reference clock signal and the output clock signal, automatically calculating the frequency conditions of the reference clock signal and the output clock signal, and outputting the first to N + 1 frequency division ratio setting signals. The clock generation circuit according to claim 3, further comprising a CPU.
JP8284221A 1996-10-25 1996-10-25 Clock generating circuit Pending JPH10135821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8284221A JPH10135821A (en) 1996-10-25 1996-10-25 Clock generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8284221A JPH10135821A (en) 1996-10-25 1996-10-25 Clock generating circuit

Publications (1)

Publication Number Publication Date
JPH10135821A true JPH10135821A (en) 1998-05-22

Family

ID=17675748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8284221A Pending JPH10135821A (en) 1996-10-25 1996-10-25 Clock generating circuit

Country Status (1)

Country Link
JP (1) JPH10135821A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006165931A (en) * 2004-12-07 2006-06-22 Renesas Technology Corp Frequency-dividing circuit and communication equipment
JP2008301488A (en) * 2007-05-31 2008-12-11 Seiko Epson Corp Circuits and method for dividing frequency

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006165931A (en) * 2004-12-07 2006-06-22 Renesas Technology Corp Frequency-dividing circuit and communication equipment
JP2008301488A (en) * 2007-05-31 2008-12-11 Seiko Epson Corp Circuits and method for dividing frequency

Similar Documents

Publication Publication Date Title
JP2577134B2 (en) Programmable high-speed divider
US4068178A (en) Variable frequency waveform synthesizer
US5587691A (en) Digital trimming for frequency adjustment
JPH06237149A (en) Narrow band pass filter
JPH10135821A (en) Clock generating circuit
JPH04258023A (en) High-speed counter/divider and method for using said counter/divider as swallower counter
US4382694A (en) Timepiece circuit for compensating time lag joined with reset releasing
JPH0622556A (en) Pwm pattern generator circuit
US4117407A (en) Frequency synthesizer tuner
JPH1198007A (en) Frequency divider
JPH05276775A (en) Circuit for counting revolution number of servo motor
JPS5880723A (en) Clock signal generator
JP2723545B2 (en) Frequency divider and capstan servo device
JP2565248B2 (en) Divider circuit
JP3049582B2 (en) Pattern generation circuit
EP0609778A1 (en) Counter circuit for controlling the operation of a quartz clock with "one touch" or "fast" electrical resetting of the time
JPH06338792A (en) Pll
JP3435751B2 (en) Divider
JPS6030135B2 (en) A/D/D/A converter of PCM transmission equipment
JP2002185310A (en) Pre-scaler device and dividing method
JPH0599947A (en) Frequency division circuit
JPH08161286A (en) Microprocessor system
JPH0548436A (en) Clock generating circuit
JPH04273612A (en) Pulse width adjusting circuit
JPH0221718A (en) Pulse generator

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990323