JP2002328743A - Clock signal generating circuit - Google Patents

Clock signal generating circuit

Info

Publication number
JP2002328743A
JP2002328743A JP2001135820A JP2001135820A JP2002328743A JP 2002328743 A JP2002328743 A JP 2002328743A JP 2001135820 A JP2001135820 A JP 2001135820A JP 2001135820 A JP2001135820 A JP 2001135820A JP 2002328743 A JP2002328743 A JP 2002328743A
Authority
JP
Japan
Prior art keywords
frequency
clock signal
circuit
clock
input
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
JP2001135820A
Other languages
Japanese (ja)
Inventor
Yoshihiko Kamata
義彦 鎌田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2001135820A priority Critical patent/JP2002328743A/en
Publication of JP2002328743A publication Critical patent/JP2002328743A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a clock signal whose frequency is close to a desired frequency from a reference clock signal. SOLUTION: A frequency of a clock signal CLK10 is divided into 1/2, 1/4, 1/8, 1/16, and 1/32 by a frequency-dividing circuit 10 to generate clock signals CLK12, CLK14, CLK16, CLK18, and CLK20. Frequency detecting circuits 12-20 compare the frequencies of the clock signals CLK12-CLK20 with a preliminarily set reference frequency fST, and when the frequencies are higher than the reference frequency fST, set the levels of detection signals C10-C18 so as to be H, and set them so as to be L in the other case. A frequency selecting circuit 22 selects the clock signal having a frequency close to the reference frequency fST from among the clock signals CLK10-CLK20 outputted from the frequency- dividing circuit 10 based on the pattern of the levels of the detection signals C10-C18.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電圧や温度の変動
に対して極めて安定な周波数を持つ基準クロック信号か
ら所望の周波数に近いクロック信号を得ることのできる
クロック信号発生回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock signal generating circuit capable of obtaining a clock signal close to a desired frequency from a reference clock signal having a frequency which is extremely stable against voltage and temperature fluctuations.

【0002】[0002]

【従来の技術】ディジタル装置では、通常、内部クロッ
ク信号により各種のタイミング信号を生成して装置内に
おける各回路に供給している。従来、この内部クロック
信号を発生するクロック信号発生源として、水晶振動子
を使用した水晶発振器や論理回路で構成されるリングオ
シレータ等が広く使用されていた。
2. Description of the Related Art In a digital device, various timing signals are generally generated by an internal clock signal and supplied to each circuit in the device. Conventionally, as a clock signal generation source for generating the internal clock signal, a crystal oscillator using a crystal oscillator, a ring oscillator configured with a logic circuit, and the like have been widely used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、水晶発
振器では、周囲温度の変化や電源電圧の変動に対して極
めて安定な周波数を持つクロック信号を発生することが
できるが、その発振周波数は水晶振動子によって固有で
あり、使用される水晶振動子の発振周波数はユーザがデ
ィジタル装置を動作させたい所望の周波数によってその
都度異なるため、ユーザが希望する周波数に応じて水晶
振動子を選択し、その水晶振動子を使用して水晶発振器
を構成するという煩わしさがあった。
However, a crystal oscillator can generate a clock signal having an extremely stable frequency with respect to a change in ambient temperature and a change in power supply voltage. Since the oscillation frequency of the crystal unit used depends on the desired frequency at which the user wants to operate the digital device, the user selects the crystal unit according to the desired frequency and selects the crystal unit. There is a trouble that the crystal oscillator is configured by using the crystal.

【0004】また、リングオシレータはインバータやNA
ND回路等の論理回路を使用して構成できるので、所望の
発振周波数を持つリングオシレータを実現することは比
較的容易であるが、周囲温度の変化や電源電圧の変動に
対する発振周波数の安定度が水晶発振器の場合に比べて
極めて低いため、温度補償や電圧補償を施す必要があっ
た。しかし、これらの補償により発振周波数の安定度を
所定の範囲内に収めることは困難であるという問題があ
った。
A ring oscillator is an inverter or NA
Since it can be configured using a logic circuit such as an ND circuit, it is relatively easy to realize a ring oscillator having a desired oscillation frequency, but the stability of the oscillation frequency against changes in ambient temperature and fluctuations in the power supply voltage is relatively low. Since it is extremely lower than that of a crystal oscillator, it was necessary to perform temperature compensation and voltage compensation. However, there is a problem that it is difficult to keep the oscillation frequency stability within a predetermined range by these compensations.

【0005】本発明は、このような従来の技術の課題を
解決するもので、極めて安定な周波数を持つ基準クロッ
ク信号から所望の周波数に近いクロック信号を得ること
ができるクロック信号生成回路を提供することを目的と
する。
The present invention solves the above-mentioned problems of the prior art, and provides a clock signal generation circuit capable of obtaining a clock signal close to a desired frequency from a reference clock signal having an extremely stable frequency. The purpose is to:

【0006】[0006]

【課題を解決するための手段】本発明は上記の問題を解
決するために、入力クロック信号を分周して複数のクロ
ック信号を生成する分周手段と、分周手段で生成された
複数のクロック信号の周波数と予め設定された基準周波
数とをクロック信号毎に比較する複数の周波数検知手段
と、複数の周波数検知手段で得られた比較結果に従って
複数のクロック信号の中から基準周波数に近い周波数を
持つクロック信号を選択する周波数選択手段とを含むこ
とを特徴とする。
In order to solve the above problems, the present invention provides a frequency dividing means for dividing an input clock signal to generate a plurality of clock signals, and a plurality of clock signals generated by the frequency dividing means. A plurality of frequency detecting means for comparing the frequency of the clock signal with a preset reference frequency for each clock signal; and a frequency close to the reference frequency from among the plurality of clock signals in accordance with a comparison result obtained by the plurality of frequency detecting means. Frequency selecting means for selecting a clock signal having the following.

【0007】また、本発明は、入力クロック信号を分周
して複数のクロック信号を生成する分周手段と、分周手
段で生成された複数のクロック信号を所定の順序に従っ
て順次選択する切替手段と、切替手段で選択されたクロ
ック信号の周波数と予め設定された基準周波数とを比較
する周波数検知手段と、周波数検知手段で得られた比較
結果に従って複数のクロック信号の中から基準周波数に
近い周波数を持つクロック信号を選択する周波数選択手
段とを含むことを特徴とする。
The present invention also provides frequency dividing means for dividing an input clock signal to generate a plurality of clock signals, and switching means for sequentially selecting a plurality of clock signals generated by the frequency dividing means in a predetermined order. And a frequency detecting means for comparing the frequency of the clock signal selected by the switching means with a preset reference frequency; and a frequency close to the reference frequency from the plurality of clock signals according to the comparison result obtained by the frequency detecting means. Frequency selecting means for selecting a clock signal having the following.

【0008】また、本発明は、入力クロック信号を逓倍
して複数のクロック信号を生成する逓倍手段と、逓倍手
段で生成された複数のクロック信号を所定の順序に従っ
て順次選択する切替手段と、切替手段で選択されたクロ
ック信号の周波数と予め設定された基準周波数とを比較
する周波数検知手段と、周波数検知手段で得られた比較
結果に従って複数のクロック信号の中から基準周波数に
近い周波数を持つクロック信号を選択する周波数選択手
段とを含むことを特徴とする。
Further, the present invention provides a multiplying means for multiplying an input clock signal to generate a plurality of clock signals, a switching means for sequentially selecting a plurality of clock signals generated by the multiplying means in a predetermined order, Frequency detecting means for comparing the frequency of the clock signal selected by the means with a preset reference frequency; and a clock having a frequency close to the reference frequency from among a plurality of clock signals in accordance with the comparison result obtained by the frequency detecting means. Frequency selecting means for selecting a signal.

【0009】さらに、本発明は、入力クロック信号を分
周して複数のクロック信号を生成する分周手段と、入力
クロック信号を逓倍して複数のクロック信号を生成する
逓倍手段と、分周手段および逓倍手段で生成された複数
のクロック信号を所定の順序に従って順次選択する切替
手段と、切替手段で選択されたクロック信号の周波数と
予め設定された基準周波数とを比較する周波数検知手段
と、周波数検知手段で得られた比較結果に従って分周手
段および逓倍手段で生成された複数のクロック信号の中
から基準周波数に近い周波数を持つクロック信号を選択
する周波数選択手段とを含むことを特徴とする。
Further, the present invention provides a frequency dividing means for dividing an input clock signal to generate a plurality of clock signals, a frequency multiplying means for multiplying the input clock signal to generate a plurality of clock signals, and a frequency dividing means. Switching means for sequentially selecting a plurality of clock signals generated by the multiplying means according to a predetermined order; frequency detecting means for comparing the frequency of the clock signal selected by the switching means with a preset reference frequency; Frequency selecting means for selecting a clock signal having a frequency close to a reference frequency from a plurality of clock signals generated by the frequency dividing means and the multiplying means in accordance with the comparison result obtained by the detecting means.

【0010】[0010]

【発明の実施の形態】次に添付図面を参照して本発明に
よるクロック信号発生回路の実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of a clock signal generating circuit according to the present invention will be described in detail with reference to the accompanying drawings.

【0011】図1は、本発明によるクロック信号発生回
路の第1の実施例を示すブロック図である。このクロッ
ク信号発生回路は、分周回路10、周波数検知回路12〜20
および周波数選択回路22から構成される。分周回路10に
は外部からクロック信号CLK10 が入力される。このクロ
ック信号CLK10 は、一般に水晶発振器から供給される基
準クロック信号であり、その周波数は周囲温度や電源電
圧の変動に対して極めて安定である。分周回路10は、入
力クロック信号CLK10 の周波数f10 を1/N (Nは整数)
に分周する分周回路であり、本実施例では、周波数f10
を1/2 、1/4 、1/8 、1/16および1/32に分周して、周波
数がそれぞれf10/2 、f10/4 、f10/8 、f10/16およびf1
0/32のクロック信号CLK12 、CLK14 、CLK16 、CLK18 お
よびCLK20 を生成する。なお、上記のN は任意の整数に
設定できる。
FIG. 1 is a block diagram showing a first embodiment of a clock signal generation circuit according to the present invention. This clock signal generating circuit includes a frequency dividing circuit 10, frequency detecting circuits 12 to 20.
And a frequency selection circuit 22. A clock signal CLK10 is input to the frequency dividing circuit 10 from outside. This clock signal CLK10 is a reference clock signal generally supplied from a crystal oscillator, and its frequency is extremely stable against fluctuations in ambient temperature and power supply voltage. The frequency divider 10 sets the frequency f10 of the input clock signal CLK10 to 1 / N (N is an integer)
In this embodiment, the frequency is divided by f10.
Is divided into 1/2, 1/4, 1/8, 1/16 and 1/32 so that the frequencies are f10 / 2, f10 / 4, f10 / 8, f10 / 16 and f1 respectively.
Generate 0/32 clock signals CLK12, CLK14, CLK16, CLK18 and CLK20. Note that the above N can be set to any integer.

【0012】図2は分周回路10の一例を示すブロック図
である。この分周回路10は縦続接続された5個のD 型フ
リップフロップ(D-FF)100 〜108 から構成される。図
2において、入力クロック信号CLK10 は、フリップフロ
ップ100 〜108 により順次1/2 分周され、フリップフロ
ップ100 〜108 からそれぞれ1/2 、1/4 、1/8 、1/16お
よび1/32分周されたクロック信号CLK12 〜CLK20 が取り
出される。なお、入力クロック信号CLK10 も出力され
る。図3は、分周回路10から出力されるクロック信号ク
ロック信号CLK10 〜CLK20 の概略波形を示す。
FIG. 2 is a block diagram showing an example of the frequency dividing circuit 10. The frequency dividing circuit 10 comprises five D-type flip-flops (D-FF) 100 to 108 connected in cascade. In FIG. 2, the input clock signal CLK10 is successively frequency-divided by 1/2 by flip-flops 100 to 108, and output from the flip-flops 100 to 108 respectively by 1/2, 1/4, 1/8, 1/16 and 1/32. The frequency-divided clock signals CLK12 to CLK20 are extracted. The input clock signal CLK10 is also output. FIG. 3 shows a schematic waveform of the clock signals CLK10 to CLK20 output from the frequency dividing circuit 10.

【0013】分周回路10は周波数検知回路12〜20と周波
数選択回路22とに接続され、クロック信号CLK12 〜CLK2
0 はそれぞれ周波数検知回路12〜20に入力され、さらに
クロック信号CLK10 〜CLK20 は周波数選択回路22に入力
される。周波数検知回路12〜20は、入力されるクロック
信号の周波数を検知する回路であり、本実施例では、ク
ロック信号の周波数と予め設定された基準周波数fsとを
比較してその判定結果を示す検知信号C10 〜C18 を出力
する。なお、周波数検知回路12〜20は同じ構成であり、
設定される基準周波数fsも同じ周波数である。周波数検
知回路12〜20の一例を図4に示す。
The frequency dividing circuit 10 is connected to frequency detecting circuits 12 to 20 and a frequency selecting circuit 22, and receives clock signals CLK12 to CLK2.
0 is input to the frequency detection circuits 12 to 20, respectively, and the clock signals CLK10 to CLK20 are input to the frequency selection circuit 22. The frequency detection circuits 12 to 20 are circuits for detecting the frequency of the input clock signal. In the present embodiment, the frequency detection circuits 12 to 20 compare the frequency of the clock signal with a preset reference frequency fs and indicate a determination result. The signals C10 to C18 are output. The frequency detection circuits 12 to 20 have the same configuration,
The set reference frequency fs is the same frequency. One example of the frequency detection circuits 12 to 20 is shown in FIG.

【0014】図4の周波数検知回路は、ダイオードD 、
抵抗R およびコンデンサCからなる充放電回路と、ノン
インバータ120 と、NANDゲート122 、124 からなるR-S
フリップフロップと、インバータ126 とから構成され
る。そして、充放電回路には外部からクロック信号CLK
が入力され、コンデンサC の一端は電圧V に接続され、
NANDゲート124 にはリセット信号RST が供給され、イン
バータ126 からは検知信号C が出力される。図5は、こ
のように構成された周波数検知回路の各部における概略
波形を示し、(a) はクロック信号CLK の周波数が基準周
波数fsより高い場合、(b) はクロック信号CLK の周波数
が基準周波数fsより低い場合の波形図である。なお、V
a、Vbはそれぞれノンインバータ120 、NANDゲート122
の入力電圧である。
The frequency detection circuit of FIG.
A charge / discharge circuit including a resistor R and a capacitor C, a non-inverter 120, and an RS including NAND gates 122 and 124.
It comprises a flip-flop and an inverter 126. Then, a clock signal CLK is externally supplied to the charge / discharge circuit.
Is input, one end of the capacitor C is connected to the voltage V,
The reset signal RST is supplied to the NAND gate 124, and the detection signal C is output from the inverter 126. FIGS. 5A and 5B show schematic waveforms at respective parts of the frequency detection circuit thus configured. FIG. 5A shows the case where the frequency of the clock signal CLK is higher than the reference frequency fs, and FIG. FIG. 9 is a waveform chart when the frequency is lower than fs. Note that V
a and Vb are non-inverter 120 and NAND gate 122, respectively.
Input voltage.

【0015】図5を参照して上記周波数検知回路の動作
を説明すると、周波数検知が開始される前、NANDゲート
124 に供給されるリセット信号RST はH(ハイレベル)
に設定される。このとき、クロック信号CLK は入力され
ていないのでノンインバータ120 の入力電圧VaはL(ロ
ーレベル)になる。これにより、NANDゲート122 の入力
電圧VbはLになる。したがって、フリップフロップはリ
セットされ、インバータ126 から出力される検知信号C
はLになる。
The operation of the above-described frequency detection circuit will be described with reference to FIG.
Reset signal RST supplied to 124 is H (high level)
Is set to At this time, since the clock signal CLK is not input, the input voltage Va of the non-inverter 120 becomes L (low level). As a result, the input voltage Vb of the NAND gate 122 becomes L. Therefore, the flip-flop is reset, and the detection signal C output from the inverter 126 is output.
Becomes L.

【0016】周波数検知が開始され、時間t1にクロック
信号CLK がLからHに変化すると、ダイオードD を介し
てコンデンサC に電流が流れ、ダイオードD がオンの状
態になるので、クロック信号CLK がノンインバータ120
に入力される。このため、ノンインバータ120 の入力電
圧Va、NANDゲート122 の入力電圧VbはそれぞれHにな
る。このとき、リセット信号RST は、時間t1にクロック
信号CLK の立ち上がりに同期して所定の期間だけLに設
定される。このため、フリップフロップはセットされ、
インバータ126 から出力される検知信号C はHになる。
なお、リセット信号RST は、時間t1からLに設定される
期間以外はHに設定されるものとする。
When the frequency detection is started and the clock signal CLK changes from L to H at time t1, a current flows through the capacitor C via the diode D, and the diode D is turned on. Inverter 120
Is input to Therefore, the input voltage Va of the non-inverter 120 and the input voltage Vb of the NAND gate 122 become H, respectively. At this time, the reset signal RST is set to L for a predetermined period in synchronization with the rise of the clock signal CLK at time t1. Therefore, the flip-flop is set,
The detection signal C output from the inverter 126 becomes H.
It is assumed that the reset signal RST is set to H except for the period set from time t1 to L.

【0017】次いで、時間t2にクロック信号CLK がHか
らLになると、ダイオードD はオフの状態になるのでコ
ンデンサC に充電されていた電荷が抵抗R を介して放電
され、ノンインバータ120 の入力電圧VaはコンデンサC
と抵抗R とによって定まる時定数に従って次第に低下し
ていく。クロック信号CLK の周波数が高い場合、図5
(a) に示すように、ノンインバータ120 の入力電圧Vaが
Lまで低下しないうちに、クロック信号CLK がHに転じ
る(時間t3)。このため、ノンインバータ120 の出力は
Hに保持され、NANDゲート122 の入力電圧VbはHのまま
である。このとき、リセット信号RST はHであるので、
フリップフロップのセット入力、リセット入力は共にH
となり、フリップフロップは前の状態に保持され、イン
バータ126から出力される検知信号C はHのままであ
る。以後クロック信号CLK が入力されても検知信号C は
Hに保持される。
Next, when the clock signal CLK changes from H to L at the time t2, the diode D is turned off, so that the charge charged in the capacitor C is discharged through the resistor R, and the input voltage of the non-inverter 120 is reduced. Va is the capacitor C
And the resistance R gradually decreases according to the time constant determined by the resistance R. When the frequency of the clock signal CLK is high, FIG.
As shown in (a), the clock signal CLK changes to H before the input voltage Va of the non-inverter 120 does not decrease to L (time t3). Therefore, the output of the non-inverter 120 is held at H, and the input voltage Vb of the NAND gate 122 remains at H. At this time, since the reset signal RST is H,
Both the set input and reset input of the flip-flop are H
And the flip-flop is held in the previous state, and the detection signal C output from the inverter 126 remains at H. Thereafter, even if the clock signal CLK is input, the detection signal C is held at H.

【0018】しかし、クロック信号CLK の周波数が低い
場合、図5(b) に示すように、ノンインバータ120 の入
力電圧Vaはクロック信号CLK がLからHに変化する前に
Lまで低下する。このため、ノンインバータ120 の出力
は、時間t3の前にLに変化し、NANDゲート122 の入力電
圧VbはLに変化する。このとき、リセット信号RST はH
であるので、フリップフロップのセット入力はL、リセ
ット入力はHになり、フリップフロップはリセットされ
る。これにより、インバータ126 から出力される検知信
号C はLに変化する。以後クロック信号CLK が入力され
ても検知信号CはLに保持される。このように、周波数
検知回路は、ある周波数を境として検知信号C をHまた
はLに設定するが、この周波数(以下、基準周波数fST
という)は、抵抗R 、コンデンサC からなる回路の時定
数により決まる。したがって、このコンデンサC と抵抗
R の値を選択することにより、基準周波数fST を所望の
周波数に設定することができる。
However, when the frequency of the clock signal CLK is low, the input voltage Va of the non-inverter 120 decreases to L before the clock signal CLK changes from L to H, as shown in FIG. Therefore, the output of the non-inverter 120 changes to L before time t3, and the input voltage Vb of the NAND gate 122 changes to L. At this time, the reset signal RST is H
Therefore, the set input of the flip-flop becomes L, the reset input becomes H, and the flip-flop is reset. As a result, the detection signal C output from the inverter 126 changes to L. Thereafter, even if the clock signal CLK is input, the detection signal C is held at L. As described above, the frequency detection circuit sets the detection signal C to H or L at a certain frequency, and this frequency (hereinafter referred to as a reference frequency fST).
Is determined by the time constant of the circuit consisting of the resistor R and the capacitor C. Therefore, this capacitor C and resistance
By selecting the value of R, the reference frequency fST can be set to a desired frequency.

【0019】ところで、図1の周波数検知回路12〜20に
入力されるクロック信号CLK12 〜CLK20 の周波数は、ク
ロック信号CLK10 の1/2 〜1/32であり、周波数検知回路
毎に異なる。周波数検知回路20を例にとると、入力され
るクロック信号CLK20 の周波数はクロック信号CLK10 の
周波数f10 の1/32であるので、クロック信号CLK10 の周
波数f10 が32*fST より高い場合には検知信号C18 をH
にし、低い場合にはLにする。また、周波数検知回路18
の場合には、入力されるクロック信号CLK18 の周波数は
クロック信号CLK10 の周波数f10 の1/16であるので、ク
ロック信号CLK10 の周波数f10 が16*fST より高い場合
には検知信号C16 をHにし、低い場合にはLにする。他
の周波数検知回路12〜16も同様にして検知信号C10 〜C1
4 のレベルを設定する。
Incidentally, the frequencies of the clock signals CLK12 to CLK20 input to the frequency detection circuits 12 to 20 in FIG. 1 are 1/2 to 1/32 of the clock signal CLK10, and differ for each frequency detection circuit. Taking the frequency detection circuit 20 as an example, since the frequency of the input clock signal CLK20 is 1/32 of the frequency f10 of the clock signal CLK10, if the frequency f10 of the clock signal CLK10 is higher than 32 * fST, the detection signal C18 to H
And L if low. The frequency detection circuit 18
In this case, the frequency of the input clock signal CLK18 is 1/16 of the frequency f10 of the clock signal CLK10. Therefore, when the frequency f10 of the clock signal CLK10 is higher than 16 * fST, the detection signal C16 is set to H, If low, L is set. The other frequency detection circuits 12 to 16 similarly perform detection signals C10 to C1.
Set level 4

【0020】入力クロック信号CLK10 の周波数f10 に対
する周波数検知回路12〜20の検知信号C10 〜C18 の変化
をまとめると図6のようになる。この図から、たとえ
ば、クロック信号CLK10 の周波数f10 が32*fST より低
い場合には、検知信号C10 〜C18 はすべてHになり、周
波数f10 が16*fST より高く32*fST より低い場合に
は、検知信号C10 〜C18 はそれぞれH、H、H、H、L
になり、周波数f10 が8 *fST より高く16*fST より低
い場合には、検知信号C10 〜C18 はそれぞれH、H、
H、L、Lになることが分る。
FIG. 6 summarizes changes in the detection signals C10 to C18 of the frequency detection circuits 12 to 20 with respect to the frequency f10 of the input clock signal CLK10. From this figure, for example, when the frequency f10 of the clock signal CLK10 is lower than 32 * fST, all the detection signals C10 to C18 become H, and when the frequency f10 is higher than 16 * fST and lower than 32 * fST, The detection signals C10 to C18 are H, H, H, H, L, respectively.
When the frequency f10 is higher than 8 * fST and lower than 16 * fST, the detection signals C10 to C18 are H, H,
It turns out that it becomes H, L, L.

【0021】このように、検知信号C10 〜C18 のレベル
はクロック信号CLK10 の周波数f10に応じて変化し、検
知信号C10 〜C18 のレベルのパターンは、周波数32*fS
T 、16*fST 、8 *fST 、4 *fST 、2 *fST をそれぞ
れ境界とする周波数範囲毎に変化する。本実施例では、
検知信号C10 〜C18 のレベルのパターンに基づいて、ク
ロック信号CLK10 の周波数f10 が存在する周波数範囲を
判定する。そして、判定で得た周波数範囲の上限または
下限のいずれかを選択し、選択した周波数(N*fST )
からN を求め、分周回路10から出力されるクロック信号
CLK10 〜CLK20の中から1/N 分周されたクロック信号を
選択する。これにより、基準周波数fSTに近い周波数を
持つクロック信号を得ることができる。
As described above, the levels of the detection signals C10 to C18 change according to the frequency f10 of the clock signal CLK10, and the pattern of the levels of the detection signals C10 to C18 has a frequency of 32 * fS
It changes for each frequency range bounded by T, 16 * fST, 8 * fST, 4 * fST, and 2 * fST. In this embodiment,
The frequency range in which the frequency f10 of the clock signal CLK10 exists is determined based on the level patterns of the detection signals C10 to C18. Then, either the upper limit or the lower limit of the frequency range obtained by the determination is selected, and the selected frequency (N * fST)
From the clock signal output from the frequency dividing circuit 10.
A clock signal divided by 1 / N is selected from CLK10 to CLK20. Thereby, a clock signal having a frequency close to the reference frequency fST can be obtained.

【0022】たとえば、検知信号C10 〜C18 のレベルが
すべてHである場合、クロック信号CLK10 の周波数f10
は32*fST より高い。したがって、本実施例では、基準
周波数fST に近い周波数をf10/32と判定し、分周回路10
で1/32分周されたクロック信号CLK20 を選択する。ま
た、検知信号C10 〜C18 のレベルがそれぞれH、H、
H、H、Lである場合、クロック信号CLK10 の周波数f1
0 は16*fST より高く32*fST より低い。したがって、
この場合、基準周波数fST に近い周波数はf10/16または
f10/32となるが、本実施例では、基準周波数fST に近い
周波数をf10/16と判定し、分周回路10で1/16分周された
クロック信号CLK18 を選択する。
For example, when the levels of the detection signals C10 to C18 are all H, if the frequency f10 of the clock signal CLK10 is
Is higher than 32 * fST. Therefore, in this embodiment, a frequency close to the reference frequency fST is determined as f10 / 32, and the frequency dividing circuit 10
Selects the clock signal CLK20 divided by 1/32. The levels of the detection signals C10 to C18 are H, H,
In the case of H, H, L, the frequency f1 of the clock signal CLK10
0 is higher than 16 * fST and lower than 32 * fST. Therefore,
In this case, the frequency close to the reference frequency fST is f10 / 16 or
In this embodiment, a frequency close to the reference frequency fST is determined as f10 / 16, and the clock signal CLK18 frequency-divided by 1/16 in the frequency dividing circuit 10 is selected.

【0023】図1に戻って、周波数検知回路12〜20はそ
れぞれ周波数選択回路22に接続され、検知信号C10 〜C1
8 は周波数選択回路22に入力される。周波数検知回路22
は、入力される検知信号C10 〜C18 に基づいて、分周回
路10から出力されるクロック信号CLK10 〜CLK20 の中か
ら、基準周波数fST に近い周波数を持つクロック信号を
前述した方法に従って選択し、これをクロック信号CLK2
2 として出力する回路である。このクロック信号CLK22
は内部クロック信号として使用される。
Returning to FIG. 1, the frequency detection circuits 12 to 20 are respectively connected to the frequency selection circuit 22, and the detection signals C10 to C1
8 is input to the frequency selection circuit 22. Frequency detection circuit 22
Selects a clock signal having a frequency close to the reference frequency fST from the clock signals CLK10 to CLK20 output from the frequency dividing circuit 10 based on the input detection signals C10 to C18 according to the method described above. The clock signal CLK2
It is a circuit that outputs as 2. This clock signal CLK22
Is used as an internal clock signal.

【0024】次に、このように構成されたクロック信号
生成回路の動作を説明すると、水晶発振器等から出力さ
れる基準クロック信号はクロック信号CLK10 として分周
回路10に入力される。分周回路10では、クロック信号CL
K10 を分周して周波数がf10/2 〜f10/32のクロック信号
CLK12 〜CLK20 を生成する。クロック信号CLK10 〜CLK2
0 は周波数選択回路22に入力され、クロック信号CLK12
〜CLK20 はさらに周波数検知回路12〜20にそれぞれ入力
される。
Next, the operation of the clock signal generating circuit thus configured will be described. A reference clock signal output from a crystal oscillator or the like is input to the frequency dividing circuit 10 as a clock signal CLK10. In the frequency divider 10, the clock signal CL
Clock signal whose frequency is f10 / 2 to f10 / 32 by dividing K10
Generate CLK12 to CLK20. Clock signals CLK10 to CLK2
0 is input to the frequency selection circuit 22 and the clock signal CLK12
.About.CLK20 are further input to the frequency detection circuits 12 to 20, respectively.

【0025】周波数検知回路12〜20では、クロック信号
CLK12 〜CLK20 の周波数を予め設定された基準周波数fS
T と比較し、クロック信号CLK12 〜CLK20 の周波数が基
準周波数fST より高い場合には検知信号C10 〜C18 のレ
ベルをHに設定し、低い場合にはLに設定する。周波数
検知回路12〜20で生成された検知信号C10 〜C18 は周波
数選択回路22に入力される。周波数選択回路22では、入
力される検知信号C10〜C18 のレベルのパターンに基づ
いて、分周回路10から出力されるクロック信号CLK10 〜
CLK20 の中から基準周波数fST に近い周波数を持つクロ
ック信号を選択し、これをクロック信号CLK22 として出
力する。
In the frequency detection circuits 12 to 20, a clock signal
The frequency of CLK12 to CLK20 is set to a preset reference frequency fS.
Compared with T, when the frequency of the clock signals CLK12 to CLK20 is higher than the reference frequency fST, the levels of the detection signals C10 to C18 are set to H, and when they are lower, they are set to L. The detection signals C10 to C18 generated by the frequency detection circuits 12 to 20 are input to the frequency selection circuit 22. In the frequency selection circuit 22, based on the level pattern of the input detection signals C10 to C18, the clock signals CLK10 to
A clock signal having a frequency close to the reference frequency fST is selected from the clock signals CLK20 and output as a clock signal CLK22.

【0026】このように第1の実施例によれば、周波数
の安定な入力クロック信号CLK10 を分周して周波数が異
なる複数のクロック信号CLK12 〜CLK20 を生成し、クロ
ック信号CLK12 〜CLK20 およびクロック信号CLK10 の中
から基準周波数fST に近い周波数のクロック信号を選択
しているので、基準周波数fST を所望の周波数に設定す
ることにより、クロック信号CLK10 と同じ周波数安定度
を有する所望の周波数の内部クロック信号を得ることが
できる。また、分周回路、周波数検知回路、周波数選択
回路は基本的な論理回路により構成できるので、位相同
期ループ(PLL)のようなアナログ回路を使用する場合
に比べて回路が簡単となり、温度、電圧、プロセス変動
等に対して従来のリングオシレータより安定となる。
As described above, according to the first embodiment, the frequency of the input clock signal CLK10 having a stable frequency is divided to generate a plurality of clock signals CLK12 to CLK20 having different frequencies, and the clock signals CLK12 to CLK20 and the clock signal CLK12 are output. Since a clock signal having a frequency close to the reference frequency fST is selected from CLK10, by setting the reference frequency fST to a desired frequency, an internal clock signal having a desired frequency having the same frequency stability as the clock signal CLK10 is set. Can be obtained. In addition, since the frequency divider, frequency detector, and frequency selector can be configured using basic logic circuits, the circuit becomes simpler than when using an analog circuit such as a phase-locked loop (PLL). It is more stable than conventional ring oscillators against process fluctuations.

【0027】図7は、本発明によるクロック信号発生回
路の第2の実施例を示すブロック図である。このクロッ
ク信号発生回路は、分周回路10、切替回路24、周波数検
知回路26および周波数選択回路28から構成され、分周回
路10で生成されたクロック信号CLK12 〜CLK20 を切替回
路24により一つずつ選択し、選択したクロック信号の周
波数を周波数選択回路26により検知するものである。こ
れにより、周波数検知回路を1個に削減している。な
お、分周回路10、周波数検知回路26は、図1に示す分周
回路10、周波数検知回路12〜20と同じものである。
FIG. 7 is a block diagram showing a second embodiment of the clock signal generation circuit according to the present invention. This clock signal generating circuit includes a frequency dividing circuit 10, a switching circuit 24, a frequency detecting circuit 26, and a frequency selecting circuit 28, and the clock signals CLK12 to CLK20 generated by the frequency dividing circuit 10 are switched one by one by the switching circuit 24. The frequency of the selected clock signal is detected by the frequency selection circuit 26. This reduces the number of frequency detection circuits to one. The frequency dividing circuit 10 and the frequency detecting circuit 26 are the same as the frequency dividing circuit 10 and the frequency detecting circuits 12 to 20 shown in FIG.

【0028】図7において、分周回路10は第1の実施例
の場合と同様にして入力クロック信号CLK10 を分周し
て、分周したクロック信号CLK12 〜CLK20 と入力クロッ
ク信号CLK10 とを出力する。分周回路10には切替回路24
と周波数選択回路28が接続される。切替回路24は、分周
回路10から出力されるクロック信号CLK12 〜CLK20 を所
定の順序に従って一つずつ選択する回路である。なお、
切替回路24は、切り替えのタイミングを示すタイミング
信号を周波数検知回路26および周波数選択回路28に送
る。
In FIG. 7, the frequency dividing circuit 10 divides the frequency of the input clock signal CLK10 in the same manner as in the first embodiment, and outputs the divided clock signals CLK12 to CLK20 and the input clock signal CLK10. . Switching circuit 24
And the frequency selection circuit 28 are connected. The switching circuit 24 is a circuit that selects the clock signals CLK12 to CLK20 output from the frequency dividing circuit 10 one by one in a predetermined order. In addition,
The switching circuit 24 sends a timing signal indicating a switching timing to the frequency detection circuit 26 and the frequency selection circuit 28.

【0029】切替回路24には周波数検知回路26が接続さ
れる。周波数検知回路26は、切替回路24から入力される
クロック信号の周波数と基準周波数fST とを比較し、ク
ロック信号の周波数が基準周波数fST より高い場合には
Hとなり、低い場合にはLとなる検知信号C20 を生成す
る回路である。なお、周波数検知回路26は、切替回路24
からのタイミング信号に従ってクロック信号が入力され
る毎に周波数検知を実行する。
A frequency detecting circuit 26 is connected to the switching circuit 24. The frequency detection circuit 26 compares the frequency of the clock signal input from the switching circuit 24 with the reference frequency fST. When the frequency of the clock signal is higher than the reference frequency fST, the frequency becomes H, and when the frequency is lower, the detection becomes L. This is a circuit for generating the signal C20. Note that the frequency detection circuit 26 is
Every time a clock signal is input according to the timing signal from the CPU.

【0030】周波数検知回路26には周波数選択回路28が
接続される。周波数選択回路28は、周波数検知回路26か
らの検知信号C20 に基づいて、分周回路10から出力され
るクロック信号CLK10 〜CLK20 の中から基準周波数fST
に近い周波数を持つクロック信号を選択し、これをクロ
ック信号CLK22 として出力する回路である。このため、
周波数選択回路28は、切替回路24からのタイミング信号
に基づいて、入力される検知信号C20 がクロック信号CL
K10 〜CLK20 の何れに対応するかを判断する機能を備え
ている。
A frequency selection circuit 28 is connected to the frequency detection circuit 26. Based on the detection signal C20 from the frequency detection circuit 26, the frequency selection circuit 28 selects the reference frequency fST from the clock signals CLK10 to CLK20 output from the frequency division circuit 10.
Is a circuit that selects a clock signal having a frequency close to the above and outputs this as a clock signal CLK22. For this reason,
Based on the timing signal from the switching circuit 24, the frequency selection circuit 28 converts the input detection signal C20 into a clock signal CL.
It has a function of determining which of K10 to CLK20 it corresponds to.

【0031】次に、このように構成されたクロック信号
発生回路の動作を説明すると、分周回路10では、入力ク
ロック信号CLK10 を分周して周波数がそれぞれf10 /2〜
f10/32 のクロック信号CLK12 〜CLK20 を生成する。分
周回路10からクロック信号CLK10 〜CLK20 が出力され、
クロック信号CLK12 〜CLK20 は切替回路24と周波数選択
回路28とに入力され、クロック信号CLK10 は周波数選択
回路28に入力される。切替回路24では、入力されるクロ
ック信号CLK12 〜CLK20 を所定の順序に従って一つずつ
選択し、これを周波数検知回路26へ出力する。
Next, the operation of the clock signal generating circuit thus configured will be described. In the frequency dividing circuit 10, the frequency of the input clock signal CLK10 is divided by f10 / 2 to f10 / 2.
Generate clock signals CLK12 to CLK20 of f10 / 32. Clock signals CLK10 to CLK20 are output from the frequency divider 10,
The clock signals CLK12 to CLK20 are input to the switching circuit 24 and the frequency selection circuit 28, and the clock signal CLK10 is input to the frequency selection circuit 28. The switching circuit 24 selects the input clock signals CLK12 to CLK20 one by one according to a predetermined order, and outputs this to the frequency detection circuit 26.

【0032】周波数検知回路26では、切替回路24からク
ロック信号が入力される毎にその周波数を予め設定され
た基準周波数fST と比較し、基準周波数fST より高い場
合には検知信号C20 をHに設定し、低い場合にはLに設
定する。周波数検知回路26により生成された検知信号C2
0 は周波数選択回路28に入力される。したがって、周波
数選択回路28には各クロック信号CLK12 〜CLK20 に対応
する検知信号C20-12〜C20-20が入力される。周波数選択
回路28では、検知信号C20-12〜C20-20がすべて入力され
たとき、そのレベルのパターンに基づいて、分周回路10
から出力されるクロック信号CLK10 〜CLK20 の中から基
準周波数fST に近い周波数を持つクロック信号を選択
し、これをクロック信号CLK22 として出力する。
The frequency detection circuit 26 compares the frequency with a preset reference frequency fST every time a clock signal is input from the switching circuit 24, and sets the detection signal C20 to H when the frequency is higher than the reference frequency fST. If it is low, it is set to L. Detection signal C2 generated by frequency detection circuit 26
0 is input to the frequency selection circuit 28. Therefore, detection signals C20-12 to C20-20 corresponding to the respective clock signals CLK12 to CLK20 are input to the frequency selection circuit 28. In the frequency selection circuit 28, when all of the detection signals C20-12 to C20-20 are input, the frequency division circuit 10
A clock signal having a frequency close to the reference frequency fST is selected from among the clock signals CLK10 to CLK20 output from the CPU and output as a clock signal CLK22.

【0033】このように第2の実施例によれば、第1の
実施例の場合と同様な効果を得ることができると共に、
周波数検知回路を1個に削減できるので回路規模を小さ
くすることができる。なお、図7に示す分周回路10に替
えて、入力クロック信号CLK10 を逓倍して複数のクロッ
ク信号を生成する逓倍回路を使用してもよい。この場
合、基準周波数fST をクロック信号CLK10 の周波数より
高く設定することができる。
As described above, according to the second embodiment, the same effect as that of the first embodiment can be obtained.
Since the number of frequency detection circuits can be reduced to one, the circuit scale can be reduced. Instead of the frequency dividing circuit 10 shown in FIG. 7, a multiplying circuit for multiplying the input clock signal CLK10 to generate a plurality of clock signals may be used. In this case, the reference frequency fST can be set higher than the frequency of the clock signal CLK10.

【0034】図8は、本発明によるクロック信号発生回
路の第3の実施例を示すブロック図である。このクロッ
ク信号発生回路は、分周回路30、逓倍回路32、切替回路
34、周波数検知回路26および周波数選択回路36から構成
され、入力クロック信号CLK10 の周波数f10 より高い周
波数のクロック信号を逓倍回路32により生成する点に特
徴がある。本実施例では、これにより、周波数検知回路
26において設定する基準周波数fST の周波数範囲を拡大
することができる。
FIG. 8 is a block diagram showing a third embodiment of the clock signal generation circuit according to the present invention. This clock signal generating circuit includes a frequency dividing circuit 30, a multiplying circuit 32, a switching circuit
34, a frequency detection circuit 26 and a frequency selection circuit 36, and is characterized in that a clock signal having a frequency higher than the frequency f10 of the input clock signal CLK10 is generated by the multiplication circuit 32. In this embodiment, the frequency detection circuit
The frequency range of the reference frequency fST set in 26 can be expanded.

【0035】図8において、外部からのクロック信号CL
K10 は分周回路30と逓倍回路32とに入力される。分周回
路30は、クロック信号CLK10 を1/N 分周する回路であ
り、図2に示す分周回路と同様にD-FF型フリップフロッ
プを用いて構成できる。この分周回路30は、本実施例で
は、周波数がクロック信号CLK10 の周波数f10 の1/2 〜
1/16となるクロック信号CLK12 〜CLK18 を生成する。一
方、逓倍回路32は、クロック信号CLK10 をN 逓倍する回
路であり、たとえば非直線性素子を用いて高調波を発生
し、フィルタにより必要とする周波数を選択する。この
逓倍回路32は、本実施例では、周波数がロック信号CLK1
0 の周波数f10 の2 倍〜16倍のクロック信号CLK24 〜CL
K30 を生成する。
In FIG. 8, an external clock signal CL
K10 is input to the frequency dividing circuit 30 and the multiplying circuit 32. The frequency dividing circuit 30 is a circuit that divides the clock signal CLK10 by 1 / N, and can be configured using a D-FF type flip-flop similarly to the frequency dividing circuit shown in FIG. In this embodiment, the frequency dividing circuit 30 has a frequency that is 1/2 to the frequency f10 of the clock signal CLK10.
1/16 clock signals CLK12 to CLK18 are generated. On the other hand, the multiplying circuit 32 is a circuit for multiplying the clock signal CLK10 by N. For example, a harmonic is generated by using a non-linear element, and a required frequency is selected by a filter. In this embodiment, the frequency of the multiplication circuit 32 is equal to the frequency of the lock signal CLK1.
Clock signal CLK24 to CL twice to 16 times the frequency f10 of 0
Generate K30.

【0036】分周回路30および逓倍回路32には切替回路
34が接続され、分周回路30で生成されたクロック信号CL
K12 〜CLK18 とクロック信号CLK10 は切替回路34および
周波数選択回路36にそれぞれ入力される。また、逓倍回
路32で生成されたクロック信号CLK24 〜CLK30 は周波数
選択回路38に入力され、クロック信号CLK26 〜CLK30は
さらに切替回路34に入力される。切替回路34は、分周回
路30および逓倍回路32から出力されるクロック信号CLK1
0 〜CLK18 およびCLK26 〜CLK30 を所定の順序に従って
一つずつ選択し、これをクロック信号CLK32 として出力
する回路である。なお、切替回路34は、切り替えのタイ
ミングを示すタイミング信号を周波数検知回路26および
周波数選択回路36に送る。
Switching circuits are provided in the frequency dividing circuit 30 and the multiplying circuit 32.
34 is connected to the clock signal CL generated by the frequency divider 30.
K12 to CLK18 and the clock signal CLK10 are input to the switching circuit 34 and the frequency selection circuit 36, respectively. The clock signals CLK24 to CLK30 generated by the multiplying circuit 32 are input to the frequency selection circuit 38, and the clock signals CLK26 to CLK30 are further input to the switching circuit 34. The switching circuit 34 includes a clock signal CLK1 output from the frequency dividing circuit 30 and the multiplying circuit 32.
This circuit selects 0 to CLK18 and CLK26 to CLK30 one by one according to a predetermined order, and outputs this as a clock signal CLK32. The switching circuit 34 sends a timing signal indicating a switching timing to the frequency detection circuit 26 and the frequency selection circuit 36.

【0037】切替回路34には周波数検知回路26が接続さ
れる。周波数検知回路26は、図7に示す周波数検知回路
26と同じものであり、クロック信号CLK32 が入力される
毎にその周波数と予め設定されている基準周波数fST と
を比較し、基準周波数fST より高い場合にはHとなり、
低い場合にはLとなる検知信号C20 を生成する。たとえ
ば、逓倍回路32から出力されるクロック信号CLK24 が切
替回路34を介して周波数検知回路26に入力された場合、
周波数検知回路26は、その周波数(2 *f10 )が基準周
波数fST より高い場合には検知信号C20 をHにし、基準
周波数fST より低い場合には検知信号C20 をLにする。
The switching circuit 34 is connected to the frequency detection circuit 26. The frequency detection circuit 26 is a frequency detection circuit shown in FIG.
Each time the clock signal CLK32 is input, the frequency is compared with a preset reference frequency fST. When the frequency is higher than the reference frequency fST, the frequency becomes H,
When it is low, a detection signal C20 which becomes L is generated. For example, when the clock signal CLK24 output from the multiplication circuit 32 is input to the frequency detection circuit 26 via the switching circuit 34,
The frequency detection circuit 26 sets the detection signal C20 to H when the frequency (2 * f10) is higher than the reference frequency fST, and sets the detection signal C20 to L when the frequency (2 * f10) is lower than the reference frequency fST.

【0038】図9は、入力クロック信号CLK10 の周波数
f10 に対する周波数検知回路26から出力される検知信号
C20-10〜C20-18、C20-24〜C20-28の変化を示す。なお、
C20-10〜C20-18は周波数検知回路26にクロック信号CLK1
0 〜CLK18 が入力された場合の検知信号C20 を示し、C2
0-24〜C20-28は周波数検知回路26にクロック信号CLK24
〜CLK28 が入力された場合の検知信号C20 を示す。図9
において、たとえば、クロック信号CLK10 の周波数f10
が16*fST より高い場合、検知信号C20-18〜C20-10、C2
0-24〜C20-28はすべてHになり、クロック信号CLK10 の
周波数f10 が8*fST より高く16*fST より低い場合、
検知信号C20-18のみがLになり、クロック信号CLK10 の
周波数f10 が4 *fST より高く8 *fST より低い場合、
検知信号C20-18とC20-16とがLになる。
FIG. 9 shows the frequency of the input clock signal CLK10.
Detection signal output from the frequency detection circuit 26 for f10
Changes in C20-10 to C20-18 and C20-24 to C20-28 are shown. In addition,
C20-10 to C20-18 supply the clock signal CLK1 to the frequency detection circuit 26.
0 to CLK18 indicate the detection signal C20 when input, and C2
0-24 to C20-28 output the clock signal CLK24 to the frequency detection circuit 26.
7 shows the detection signal C20 when .about.CLK28 is input. FIG.
In, for example, the frequency f10 of the clock signal CLK10
Is higher than 16 * fST, the detection signals C20-18 to C20-10, C2
0-24 to C20-28 all become H, and when the frequency f10 of the clock signal CLK10 is higher than 8 * fST and lower than 16 * fST,
When only the detection signal C20-18 becomes L and the frequency f10 of the clock signal CLK10 is higher than 4 * fST and lower than 8 * fST,
The detection signals C20-18 and C20-16 become L.

【0039】したがって、周波数選択回路36では、第1
の実施例の場合と同様にして、検知信号C20-18〜C20-1
0、C20-24〜C20-28のレベルのパターンに基づいて、ク
ロック信号CLK10 の周波数f10 が存在する範囲を判定
し、分周回路30および逓倍回路32から出力されるクロッ
ク信号CLK10 〜CLK18 、CLK24 〜CLK30 の中から基準周
波数fST に近い周波数を持つクロック信号を選択するこ
とができる。たとえば、検知信号C20-18〜C20-10、C20-
24〜C20-28がすべてHである場合、クロック信号CLK10
の周波数f10 は16*fST より高いので、本実施例では、
基準周波数fST に近い周波数をf10/16と判定し、分周回
路30で1/16分周されたクロック信号CLK18 を選択する。
Therefore, in the frequency selection circuit 36, the first
In the same manner as in the embodiment, the detection signals C20-18 to C20-1
0, the range in which the frequency f10 of the clock signal CLK10 exists is determined based on the pattern of the levels of C20-24 to C20-28, and the clock signals CLK10 to CLK18, CLK24 output from the frequency divider 30 and the multiplier 32 are determined. To CLK30, a clock signal having a frequency close to the reference frequency fST can be selected. For example, detection signals C20-18 to C20-10, C20-
When all of C24-C20-28 are H, the clock signal CLK10
Is higher than 16 * fST, so in this embodiment,
The frequency close to the reference frequency fST is determined as f10 / 16, and the clock signal CLK18 frequency-divided by 1/16 by the frequency divider 30 is selected.

【0040】また、たとえば、検知信号C20-18〜C20-12
がLで、C20-10およびC20-24〜C20-28がHである場合、
クロック信号CLK10 の周波数f10 はfST より高く2 *fS
T より低いので、本実施例では、基準周波数fST に近い
周波数をf10 と判定し、分周回路30から出力されるクロ
ック信号CLK10 を選択する。また、たとえば、検知信号
C20-18〜C20-10、C20-24〜C20-28がすべてLである場
合、クロック信号CLK10の周波数f10 はfST/8 より低い
ので、本実施例では、基準周波数fST に近い周波数を16
*f10 と判定し、逓倍回路32で16逓倍されたクロック信
号CLK30 を選択する。
Further, for example, detection signals C20-18 to C20-12
Is L and C20-10 and C20-24 to C20-28 are H;
The frequency f10 of the clock signal CLK10 is higher than fST2 * fS
Since it is lower than T, in the present embodiment, a frequency close to the reference frequency fST is determined as f10, and the clock signal CLK10 output from the frequency dividing circuit 30 is selected. Also, for example, the detection signal
When C20-18 to C20-10 and C20-24 to C20-28 are all L, the frequency f10 of the clock signal CLK10 is lower than fST / 8.
* F10 is determined, and the clock signal CLK30 multiplied by 16 by the multiplication circuit 32 is selected.

【0041】図8に戻って、周波数検知回路26には周波
数選択回路36が接続される。周波数選択回路36は、図7
における周波数選択回路28と同様にして、周波数検知回
路26からの検知信号C20 (C20-18〜C20-10、C20-24〜C2
0-28)に基づいて、分周回路30および逓倍回路32から出
力されるクロック信号CLK10 〜CLK18 、CLK24 〜CLK30
の中から基準周波数fST に近い周波数を有するクロック
信号を前述した方法により選択し、これをクロック信号
CLK22 として出力する。なお、周波数選択回路36では、
検知信号C20 が検知信号C20-18〜C20-10、C20-24〜C20-
28の何れに該当するかを切替回路34から与えられるタイ
ミング信号に基づいて判定する。
Returning to FIG. 8, a frequency selection circuit 36 is connected to the frequency detection circuit 26. The frequency selection circuit 36 is shown in FIG.
In the same manner as the frequency selection circuit 28 in the above, the detection signal C20 (C20-18 to C20-10, C20-24 to C2) from the frequency detection circuit 26
0-28), the clock signals CLK10 to CLK18, CLK24 to CLK30 output from the frequency dividing circuit 30 and the multiplying circuit 32
From among the clock signals having a frequency close to the reference frequency fST, a clock signal having a frequency close to the reference frequency
Output as CLK22. In the frequency selection circuit 36,
The detection signal C20 is the detection signal C20-18 to C20-10, C20-24 to C20-
28 is determined based on a timing signal provided from the switching circuit 34.

【0042】次に、このように構成されたクロック信号
生成回路の動作を説明すると、外部から入力されたクロ
ック信号CLK10 は分周回路30および逓倍回路32に入力さ
れる。分周回路30では、クロック信号CLK10 を分周して
周波数がf10/2 〜f10/16のクロック信号CLK12 〜CLK18
を生成する。クロック信号CLK10 〜CLK18 は切替回路36
および周波数選択回路38に入力される。一方、逓倍回路
32では、クロック信号CLK10 を逓倍し、周波数が2 *f1
0〜16*f10のクロック信号CLK24 〜CLK30 を生成する。
クロック信号CLK24 〜CLK28 は切替回路34および周波数
選択回路36に入力され、クロック信号CLK30 は周波数選
択回路36に入力される。
Next, the operation of the clock signal generation circuit configured as described above will be described. The clock signal CLK10 input from the outside is input to the frequency dividing circuit 30 and the multiplying circuit 32. The frequency dividing circuit 30 divides the frequency of the clock signal CLK10 to generate clock signals CLK12 to CLK18 having frequencies of f10 / 2 to f10 / 16.
Generate The clock signals CLK10 to CLK18 are switched by the switching circuit 36.
And the frequency selection circuit 38. On the other hand, a multiplication circuit
At 32, the clock signal CLK10 is multiplied and the frequency is 2 * f1
Generate clock signals CLK24 to CLK30 of 0 to 16 * f10.
The clock signals CLK24 to CLK28 are input to the switching circuit 34 and the frequency selection circuit 36, and the clock signal CLK30 is input to the frequency selection circuit 36.

【0043】切替回路34では、入力されるクロック信号
CLK10 〜CLK18 、CLK24 〜CLK28 を所定の順序で1クロ
ック信号ずつ選択し、これをクロック信号CLK32 として
周波数検知回路26へ出力する。周波数検知回路26では、
クロック信号CLK32 が入力される毎にその周波数と基準
周波数fST とを比較し、基準周波数fST より高い場合に
は検知信号C20 をHに設定し、低い場合にはLに設定す
る。周波数検知回路26で生成された検知信号C20 は周波
数選択回路36に入力される。周波数選択回路36では、検
知信号C20 (C20-10〜C20-18、C20-24〜C20-28)に基づ
いて、分周回路30および逓倍回路32から出力されるクロ
ック信号CLK10 〜CLK18 、CLK24 〜CLK30 の中から基準
周波数fST に近い周波数を持つクロック信号を選択し、
これをクロック信号CLK22 として出力する。
In the switching circuit 34, the input clock signal
CLK10 to CLK18 and CLK24 to CLK28 are selected one clock signal at a time in a predetermined order and output to the frequency detection circuit 26 as a clock signal CLK32. In the frequency detection circuit 26,
Each time the clock signal CLK32 is input, its frequency is compared with the reference frequency fST. If the frequency is higher than the reference frequency fST, the detection signal C20 is set to H, and if it is lower, it is set to L. The detection signal C20 generated by the frequency detection circuit 26 is input to the frequency selection circuit 36. In the frequency selection circuit 36, based on the detection signals C20 (C20-10 to C20-18, C20-24 to C20-28), the clock signals CLK10 to CLK18, CLK24 to Select a clock signal with a frequency close to the reference frequency fST from CLK30,
This is output as a clock signal CLK22.

【0044】このように第3の実施例によれば、第2の
実施例に入力クロック信号CLK10 を逓倍する逓倍回路32
を追加し、クロック信号CLK10 より周波数の高い複数の
クロック信号を生成しているので、入力クロック信号の
周波数が所望の周波数よりも低い場合においても、所望
の周波数を有するクロック信号を得ることができる。
As described above, according to the third embodiment, the multiplying circuit 32 for multiplying the input clock signal CLK10 is added to the second embodiment.
And a plurality of clock signals having a higher frequency than the clock signal CLK10 are generated, so that a clock signal having a desired frequency can be obtained even when the frequency of the input clock signal is lower than the desired frequency. .

【0045】[0045]

【発明の効果】以上、説明したように本発明によるクロ
ック信号発生回路によれば、周波数の安定な基準クロッ
ク信号を分周手段により分周して複数のクロック信号を
生成し、周波数検知手段により各クロック信号の周波数
と基準周波数とを比較し、基準周波数に近いクロック信
号を選択しているので、周波数の安定な所望の周波数を
有するクロック信号を得ることができる。
As described above, according to the clock signal generating circuit of the present invention, the frequency of the reference clock signal having a stable frequency is divided by the frequency dividing means to generate a plurality of clock signals, and the frequency detecting means Since the frequency of each clock signal is compared with the reference frequency and a clock signal close to the reference frequency is selected, a clock signal having a desired frequency with stable frequency can be obtained.

【0046】この場合、分周手段により生成した複数の
クロック信号を一つずつ選択する切替手段を設けること
により周波数検知手段を削減し、回路規模を縮小するこ
とができる。さらに、基準クロック信号から複数のクロ
ック信号を生成する逓倍手段を設けることにより、基準
クロック信号の周波数より周波数が高いクロック信号を
得ることができる。
In this case, by providing switching means for selecting a plurality of clock signals generated by the frequency dividing means one by one, the frequency detecting means can be reduced and the circuit scale can be reduced. Furthermore, by providing a multiplying means for generating a plurality of clock signals from the reference clock signal, a clock signal having a frequency higher than the frequency of the reference clock signal can be obtained.

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

【図1】本発明によるクロック信号発生回路の第1の実
施例を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a clock signal generation circuit according to the present invention.

【図2】図1に示すクロック信号発生回路における分周
回路の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a frequency dividing circuit in the clock signal generating circuit shown in FIG.

【図3】図2に示す分周回路の各部における概略波形を
示す図である。
FIG. 3 is a diagram showing a schematic waveform in each section of the frequency dividing circuit shown in FIG. 2;

【図4】図1に示すクロック信号発生回路における周波
数検知回路の一例を示すブロック図である。
FIG. 4 is a block diagram showing an example of a frequency detection circuit in the clock signal generation circuit shown in FIG.

【図5】図4に示す周波数検知回路各部における概略波
形を示す図であり、(a) は入力クロック信号の周波数が
基準周波数より高い場合の概略波形、(b) は入力クロッ
ク信号の周波数が基準周波数より低い場合の概略波形で
ある。
5A and 5B are diagrams showing schematic waveforms at various parts of the frequency detection circuit shown in FIG. 4, wherein FIG. 5A is a schematic waveform when the frequency of the input clock signal is higher than a reference frequency, and FIG. 5 is a schematic waveform when the frequency is lower than a reference frequency.

【図6】図1に示すクロック信号発生回路における各周
波数検知回路から出力される検知信号の変化を示す図で
ある。
FIG. 6 is a diagram showing changes in detection signals output from each frequency detection circuit in the clock signal generation circuit shown in FIG.

【図7】本発明によるクロック信号発生回路の第2の実
施例を示すブロック図である。
FIG. 7 is a block diagram showing a second embodiment of the clock signal generation circuit according to the present invention.

【図8】本発明によるクロック信号発生回路の第3の実
施例を示すブロック図である。
FIG. 8 is a block diagram showing a third embodiment of the clock signal generation circuit according to the present invention.

【図9】図8に示すクロック信号発生回路における周波
数検知回路から出力される検知信号の変化を示す図であ
る。
9 is a diagram showing a change in a detection signal output from a frequency detection circuit in the clock signal generation circuit shown in FIG.

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

10、30 分周回路 12〜20、26 周波数検知回路 22、28、36 周波数選択回路 24、34 切替回路 32 逓倍回路 10, 30 divider circuit 12 to 20, 26 Frequency detection circuit 22, 28, 36 Frequency selection circuit 24, 34 Switching circuit 32 Multiplier circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力クロック信号を分周して複数のクロ
ック信号を生成する分周手段と、 該分周手段で生成された複数のクロック信号の周波数と
予め設定された基準周波数とをクロック信号毎に比較す
る複数の周波数検知手段と、 該複数の周波数検知手段で得られた比較結果に従って前
記複数のクロック信号の中から前記基準周波数に近い周
波数を持つクロック信号を選択する周波数選択手段とを
含むことを特徴とするクロック信号発生回路。
A frequency dividing means for dividing a frequency of an input clock signal to generate a plurality of clock signals; and a clock signal for dividing a frequency of the plurality of clock signals generated by the frequency dividing means and a preset reference frequency. A plurality of frequency detecting means for comparing each time, and a frequency selecting means for selecting a clock signal having a frequency close to the reference frequency from the plurality of clock signals in accordance with a comparison result obtained by the plurality of frequency detecting means. A clock signal generation circuit characterized by including:
【請求項2】 入力クロック信号を分周して複数のクロ
ック信号を生成する分周手段と、 該分周手段で生成された複数のクロック信号を所定の順
序に従って順次選択する切替手段と、 該切替手段で選択されたクロック信号の周波数と予め設
定された基準周波数とを比較する周波数検知手段と、 該周波数検知手段で得られた比較結果に従って前記複数
のクロック信号の中から前記基準周波数に近い周波数を
持つクロック信号を選択する周波数選択手段とを含むこ
とを特徴とするクロック信号発生回路。
2. Dividing means for dividing an input clock signal to generate a plurality of clock signals, switching means for sequentially selecting a plurality of clock signals generated by the dividing means in a predetermined order, Frequency detecting means for comparing a frequency of the clock signal selected by the switching means with a preset reference frequency; and a frequency close to the reference frequency from among the plurality of clock signals according to a comparison result obtained by the frequency detecting means. Frequency selection means for selecting a clock signal having a frequency.
【請求項3】 入力クロック信号を逓倍して複数のクロ
ック信号を生成する逓倍手段と、 該逓倍手段で生成された複数のクロック信号を所定の順
序に従って順次選択する切替手段と、 該切替手段で選択されたクロック信号の周波数と予め設
定された基準周波数とを比較する周波数検知手段と、 該周波数検知手段で得られた比較結果に従って前記複数
のクロック信号の中から前記基準周波数に近い周波数を
持つクロック信号を選択する周波数選択手段とを含むこ
とを特徴とするクロック信号発生回路。
3. Multiplying means for multiplying an input clock signal to generate a plurality of clock signals; switching means for sequentially selecting a plurality of clock signals generated by the multiplying means in a predetermined order; Frequency detecting means for comparing the frequency of the selected clock signal with a preset reference frequency; and having a frequency close to the reference frequency from the plurality of clock signals according to the comparison result obtained by the frequency detecting means. A clock selection circuit for selecting a clock signal.
【請求項4】 入力クロック信号を分周して複数のクロ
ック信号を生成する分周手段と、 前記入力クロック信号を逓倍して複数のクロック信号を
生成する逓倍手段と、 前記分周手段および逓倍手段で生成された複数のクロッ
ク信号を所定の順序に従って順次選択する切替手段と、 該切替手段で選択されたクロック信号の周波数と予め設
定された基準周波数とを比較する周波数検知手段と、 該周波数検知手段で得られた比較結果に従って前記分周
手段および逓倍手段で生成された複数のクロック信号の
中から前記基準周波数に近い周波数を持つクロック信号
を選択する周波数選択手段とを含むことを特徴とするク
ロック信号発生回路。
4. A frequency dividing means for dividing an input clock signal to generate a plurality of clock signals; a frequency multiplying means for multiplying the input clock signal to generate a plurality of clock signals; Switching means for sequentially selecting a plurality of clock signals generated by the means in accordance with a predetermined order; frequency detecting means for comparing a frequency of the clock signal selected by the switching means with a preset reference frequency; Frequency selecting means for selecting a clock signal having a frequency close to the reference frequency from a plurality of clock signals generated by the frequency dividing means and the multiplying means according to the comparison result obtained by the detecting means. Clock signal generation circuit.
JP2001135820A 2001-05-07 2001-05-07 Clock signal generating circuit Pending JP2002328743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001135820A JP2002328743A (en) 2001-05-07 2001-05-07 Clock signal generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001135820A JP2002328743A (en) 2001-05-07 2001-05-07 Clock signal generating circuit

Publications (1)

Publication Number Publication Date
JP2002328743A true JP2002328743A (en) 2002-11-15

Family

ID=18983218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001135820A Pending JP2002328743A (en) 2001-05-07 2001-05-07 Clock signal generating circuit

Country Status (1)

Country Link
JP (1) JP2002328743A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101912033B1 (en) * 2017-02-13 2018-10-25 연세대학교 산학협력단 Apparatus and method of the same of sensing temperature based on field-programmable gate array

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0897750A (en) * 1994-09-22 1996-04-12 Nec Commun Syst Ltd Clock reception distribution system
JPH0983356A (en) * 1995-09-08 1997-03-28 Kawasaki Steel Corp Clock generating circuit
JPH09218670A (en) * 1996-02-14 1997-08-19 Fujitsu Ltd Display device with display mode discrimination function and display mode discriminating method
JPH11161362A (en) * 1997-11-27 1999-06-18 Fuji Electric Co Ltd Information processor
JPH11184555A (en) * 1997-12-12 1999-07-09 Advanced Micro Devices Inc Clock signal genereator and method for generating reference clock signal having reference frequency for electronic device from base clock signal having base frequency

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0897750A (en) * 1994-09-22 1996-04-12 Nec Commun Syst Ltd Clock reception distribution system
JPH0983356A (en) * 1995-09-08 1997-03-28 Kawasaki Steel Corp Clock generating circuit
JPH09218670A (en) * 1996-02-14 1997-08-19 Fujitsu Ltd Display device with display mode discrimination function and display mode discriminating method
JPH11161362A (en) * 1997-11-27 1999-06-18 Fuji Electric Co Ltd Information processor
JPH11184555A (en) * 1997-12-12 1999-07-09 Advanced Micro Devices Inc Clock signal genereator and method for generating reference clock signal having reference frequency for electronic device from base clock signal having base frequency

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101912033B1 (en) * 2017-02-13 2018-10-25 연세대학교 산학협력단 Apparatus and method of the same of sensing temperature based on field-programmable gate array

Similar Documents

Publication Publication Date Title
JP4850473B2 (en) Digital phase detector
TWI404073B (en) Digital-to-time converter and digital-to-time converting method
JP4649362B2 (en) Oscillator control device
KR100337998B1 (en) Phase locked loop circuit
US7394299B2 (en) Digital clock frequency multiplier
US9647642B2 (en) Clock phase adjustment mechanism of a ring oscillator using a phase control signal
US7323942B2 (en) Dual loop PLL, and multiplication clock generator using dual loop PLL
WO2021036805A1 (en) Signal generating circuit and method therefor, and digital time conversion circuit and method therefor
US6567490B1 (en) Pulse signal delay circuit
JP3995552B2 (en) Clock multiplier circuit
US7424087B2 (en) Clock divider
JPH06252747A (en) Digital phase locked loop circuit
WO2021036775A1 (en) Signal generation circuit and method, and digital-to-time conversion circuit and method
US20040027181A1 (en) Clock multiplying PLL circuit
JP3523362B2 (en) Clock circuit and processor using the same
JPH11234100A (en) Phase comparator
JP2005252447A (en) Lock detection circuit and method
JP2002328743A (en) Clock signal generating circuit
JP2001127598A (en) Frequency multiplying circuit
JPH11355107A (en) High frequency clock generation circuit
EP0949760A1 (en) Pulse delay circuit with variable delay time
TWI530102B (en) Digital phase-locked loop and phase-frequency detector module thereof
CN113193868A (en) Phase-locked detection device, phase-locked detection method and phase-locked loop
JPH08274629A (en) Digital pll circuit
JPH10322200A (en) Phase lock detecting circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080201

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20081119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081125

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101207