JP2531805B2 - Digital PLL circuit - Google Patents
Digital PLL circuitInfo
- Publication number
- JP2531805B2 JP2531805B2 JP1281036A JP28103689A JP2531805B2 JP 2531805 B2 JP2531805 B2 JP 2531805B2 JP 1281036 A JP1281036 A JP 1281036A JP 28103689 A JP28103689 A JP 28103689A JP 2531805 B2 JP2531805 B2 JP 2531805B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- frequency
- reference signal
- input signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 13
- 230000001360 synchronised effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデジタルPLL回路に係わり、特に半導体集積
回路からなるデジタルPLLに関する。The present invention relates to a digital PLL circuit, and more particularly to a digital PLL including a semiconductor integrated circuit.
従来、この種のデジタルPLL回路は、第3図で示すよ
うに、可変分周回路20がマイコン21にてコード信号3に
より制御され、入力信号1を基準信号6と同等の周波数
に分周する。基準信号発生回路23は、内部あるいは外部
に発振器をもっており、これより得られるクロックにて
基準信号6を作り位相比較回路22へ出力し、入力信号1
と同期のとれたシステムクロック8を外部へ出力する。
マイコン21は、周波数設定信号9により、可変分周回路
20へのコードを判定し、コード信号3を可変分周回路へ
出力する。位相比較回路22は、前記可変分周回路20の出
力信号2と基準信号6との位相を比較し、その結果同期
不確立の場合補正回路24へ進み・遅れの信号5を出力
し、同期確立の場合同期確立信号4を外部へ出力する。
補正回路24は、前記可変分周回路20の出力信号2の進み
・遅れの結果より、補正信号7を基準信号発生回路23へ
出力する。以上の回路構成で、基準信号6の周波数と可
変分周回路20の分周比より、入力信号1にロック可能な
周波数範囲を得ていた。例えば、基準信号6を1KHzと
し、可変分周回路20の分周比を1/1〜1/64とした場合、
入力信号1のロック可能な周波数範囲は、1KHz〜64KHz
となる。Conventionally, in this type of digital PLL circuit, as shown in FIG. 3, a variable frequency dividing circuit 20 is controlled by a microcomputer 21 by a code signal 3 to divide an input signal 1 into a frequency equivalent to a reference signal 6. . The reference signal generation circuit 23 has an internal or external oscillator, generates a reference signal 6 with a clock obtained from this, and outputs it to the phase comparison circuit 22.
The system clock 8 synchronized with is output to the outside.
The microcomputer 21 uses the frequency setting signal 9 to change the frequency divider circuit.
The code to 20 is determined, and the code signal 3 is output to the variable frequency dividing circuit. The phase comparison circuit 22 compares the phases of the output signal 2 of the variable frequency dividing circuit 20 and the reference signal 6 with each other, and when the synchronization is not established, outputs the advance / delay signal 5 to the correction circuit 24 to establish the synchronization. In this case, the synchronization establishment signal 4 is output to the outside.
The correction circuit 24 outputs the correction signal 7 to the reference signal generation circuit 23 based on the result of the lead / lag of the output signal 2 of the variable frequency dividing circuit 20. With the above circuit configuration, the frequency range in which the input signal 1 can be locked is obtained from the frequency of the reference signal 6 and the frequency division ratio of the variable frequency dividing circuit 20. For example, when the reference signal 6 is 1 KHz and the frequency dividing ratio of the variable frequency dividing circuit 20 is 1/1 to 1/64,
The lockable frequency range of input signal 1 is 1KHz to 64KHz
Becomes
前述した従来のデジタルPLL回路は、可変分周回路20
を必要とするので、制御プログラムを使用しなければな
らない欠点がある。また、入力信号の周波数が高くなれ
ば、分周比が大きくなるため、可変分周回路20が複雑に
なり、制御プログラムの規模が大きくなるという欠点が
ある。さらに、入力信号の周波数を、基準信号の周波数
と同じ周波数に分周できるように、入力信号の周波数が
変わるたびに、外部から制御しなければならない欠点が
ある。The conventional digital PLL circuit described above is a variable frequency divider circuit 20.
Therefore, there is a drawback in that a control program must be used. Further, as the frequency of the input signal becomes higher, the frequency division ratio becomes larger, so that the variable frequency divider circuit 20 becomes complicated and the scale of the control program becomes large. Further, there is a drawback that the frequency of the input signal must be externally controlled each time the frequency of the input signal changes so that the frequency of the input signal can be divided into the same frequency.
本発明の目的は、前記欠点が解決され、可変分周回路
を必要とせず、制御プログラムの規模を小さく抑え、外
部から分周制御する必要がないようにしたデジタルPLL
回路を提供することにある。An object of the present invention is to solve the above-mentioned drawbacks, to eliminate the need for a variable frequency dividing circuit, to reduce the scale of a control program, and to eliminate the need for external frequency division control.
To provide a circuit.
本発明の構成は、入力信号に同期すべき基準信号を発
生する基準信号発生回路と、前期入力信号と前記基準信
号との位相を比較して、進み・遅れ信号を出力する位相
比較回路と、前記基準信号の同期を確立するように、前
記進み・遅れ信号に基いて補正信号を前記基準信号発生
回路に印加する補正回路とを備えたデジタルPLL回路に
おいて、前記入力信号の周波数を判定して判定信号を出
力する周波数判定回路と、前記判定信号に基いて特定ク
ロック信号を出力するクロック発生回路とを備え、前記
特定クロック信号に基いて前記基準信号発生回路の基準
信号を発生させることにより、前記入力信号に同期可能
な周波数範囲が得られるようになしたことを特徴とす
る。The configuration of the present invention is a reference signal generation circuit that generates a reference signal to be synchronized with an input signal, a phase comparison circuit that compares the phases of the input signal and the reference signal, and outputs a lead / lag signal. In a digital PLL circuit including a correction circuit that applies a correction signal to the reference signal generation circuit based on the lead / lag signal so as to establish synchronization of the reference signal, the frequency of the input signal is determined. A frequency determination circuit that outputs a determination signal, and a clock generation circuit that outputs a specific clock signal based on the determination signal, by generating a reference signal of the reference signal generation circuit based on the specific clock signal, It is characterized in that a frequency range that can be synchronized with the input signal is obtained.
次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のデジタルPLL回路を示す
論理ブロック図である。第1図において、本デジタルPL
L回路では、入力信号1は、周波数判定回路31に入力さ
れ、さらに位相比較回路30に入力される。前記周波数判
定回路31の判定信号4は、クロック発生回路32に入力さ
れる。前記クロック発生回路32より発生された特定クロ
ックは基準信号発生回路33に入力される。前記基準信号
発生回路33により発生される基準信号6は、前記位相比
較回路30に入力され、さらに、入力信号1と同期のとれ
たシステムクロック8を外部に出力している。前記位相
比較回路30により出力される同期不確立信号3は、補正
回路34に入力され、同期確立信号2を外部へ出力する。
前記補正回路34より出力される補正信号7は、前記基準
信号発生回路33に入力される構成である。FIG. 1 is a logic block diagram showing a digital PLL circuit according to an embodiment of the present invention. In Figure 1, this digital PL
In the L circuit, the input signal 1 is input to the frequency determination circuit 31 and further to the phase comparison circuit 30. The determination signal 4 of the frequency determination circuit 31 is input to the clock generation circuit 32. The specific clock generated by the clock generation circuit 32 is input to the reference signal generation circuit 33. The reference signal 6 generated by the reference signal generation circuit 33 is input to the phase comparison circuit 30 and further outputs a system clock 8 synchronized with the input signal 1 to the outside. The synchronization non-establishment signal 3 output from the phase comparison circuit 30 is input to the correction circuit 34 and the synchronization establishment signal 2 is output to the outside.
The correction signal 7 output from the correction circuit 34 is input to the reference signal generation circuit 33.
周波数判定回路31は、入力信号1の周波数を判定し、
判定信号4をクロック発生回路32へ出力する。The frequency determination circuit 31 determines the frequency of the input signal 1,
The determination signal 4 is output to the clock generation circuit 32.
この周波数判定回路31は、第4図(a)に示したよう
に、入力信号1が入力され、カウンタ数出力線57,58,5
9,60が出力され、Dフリップフロップ(F/F)52と、リ
セット付きF/F53と4個のインバータ61と、2入力AND回
路62とを備え、ここで、F/F52,F/F53は、クロック発生
回路32内の基本クロック11からの信号によって、動作す
る。第4図(b)において、第4図(a)の回路カウン
タ5段の時のタイミング図が示されており、DタイプF/
F52,AND回路62,リセット付F/F53の各出力波形は出力信
号72,73,74,75,76のようになる。例えば第4図(a)の
ように構成することにより、半周期中のカウント数にて
入力信号1の周波数が判定できる。この回路にて、クロ
ックを1MHzとし、カウント数つまり第1図の判定信号4
が10進で〔100〕の時、入力信号の周波数は1MHz/(100
×2)=5KHzと判定できる。クロック発生回路32は、周
波数判定回路31の判定信号4により、前記入力信号1に
対して、特定クロック5を発生させる。第5図に示すよ
うに、前記特定クロック5とは、基準信号6の基本クロ
ックとなるので、同期確立のための分解能となる。例え
ば、前記入力信号1の1周期の10%を1分解能とすれ
ば、前記特定クロック5の周波数は、前記入力信号1の
10倍となる。言い換えれば、周期は1/10倍となる。基準
信号発生回路33は、前記特定クロック5を入力し、前記
入力信号1と同等の周波数の基準信号6を前記特定クロ
ック5より分周して作り、位相比較回路30へ出力し、入
力信号1と同期のとれたシステムクロック8を外部に出
力する。位相比較回路30は、前記入力信号1と基準信号
6との位相を比較し、その結果同期不確立の場合には補
正回路34へ進み・遅れの信号3を出力し、同期確立の場
合には同期確立信号2を外部へ出力する。補正回路34
は、前記入力信号1の進み・遅れの結果より、補正信号
7を基準信号発生回路33へ出力する。以上の回路構成
で、入力信号1の周波数から特定クロック5を発生さ
せ、基準信号6の周波数を入力信号1の周波数と等しく
することにより、入力信号1にクロック周波数の範囲を
得られ、又特定クロック5の周波数を高くすることによ
り、補正幅を小さくすることができ、簡単に分解能を高
めることができる。さらに、選択された入力信号1の周
波数がロック周波数範囲内であれば、入力信号1の周波
数が変わるだけで、その周波数にて同期を取ることがで
きる。As shown in FIG. 4 (a), the frequency determination circuit 31 receives the input signal 1 and receives the counter number output lines 57, 58, 5
9,60 are output, and a D flip-flop (F / F) 52, a reset F / F 53, four inverters 61, and a two-input AND circuit 62 are provided, where F / F52, F / F53 Operates by a signal from the basic clock 11 in the clock generation circuit 32. FIG. 4B shows a timing chart when the circuit counter has five stages in FIG.
The output waveforms of the F52, the AND circuit 62, and the F / F53 with reset are output signals 72, 73, 74, 75, 76. For example, by configuring as shown in FIG. 4A, the frequency of the input signal 1 can be determined by the number of counts in a half cycle. In this circuit, the clock is set to 1 MHz and the count number, that is, the judgment signal 4 in FIG.
When the decimal is [100], the frequency of the input signal is 1MHz / (100
X2) = 5 KHz can be determined. The clock generation circuit 32 generates a specific clock 5 for the input signal 1 according to the determination signal 4 of the frequency determination circuit 31. As shown in FIG. 5, the specific clock 5 is the basic clock of the reference signal 6, and therefore has a resolution for establishing synchronization. For example, assuming that 10% of one cycle of the input signal 1 is one resolution, the frequency of the specific clock 5 is the frequency of the input signal 1.
10 times. In other words, the cycle is 1/10 times. The reference signal generation circuit 33 inputs the specific clock 5, generates a reference signal 6 having a frequency equivalent to that of the input signal 1 by dividing the specific clock 5 and outputs the reference signal 6 to the phase comparison circuit 30. The system clock 8 synchronized with is output to the outside. The phase comparison circuit 30 compares the phases of the input signal 1 and the reference signal 6 with each other, and outputs a lead / lag signal 3 to the correction circuit 34 when the synchronization is not established, and when the synchronization is established. The synchronization establishment signal 2 is output to the outside. Correction circuit 34
Outputs the correction signal 7 to the reference signal generating circuit 33 based on the result of the advance / delay of the input signal 1. With the above circuit configuration, by generating the specific clock 5 from the frequency of the input signal 1 and making the frequency of the reference signal 6 equal to the frequency of the input signal 1, the range of the clock frequency can be obtained for the input signal 1 and the specific frequency can be specified. By increasing the frequency of the clock 5, the correction width can be reduced and the resolution can be easily increased. Furthermore, if the frequency of the selected input signal 1 is within the lock frequency range, it is possible to synchronize at that frequency simply by changing the frequency of the input signal 1.
第2図は本発明に関連したデジタルPLL回路を示す回
路図である。FIG. 2 is a circuit diagram showing a digital PLL circuit related to the present invention.
第2図において、このデジタルPLL回路は、第1図の
周波数判定回路31が省略されており、その他の回路ブロ
ック部分は第1図とほぼ同様である。第2図では、周波
数判定を位相比較回路30にて、位相にて判定することに
より代用している。つまり、入力信号1と基準信号6の
位相差を検出し、前記位相差があらかじめ定めた許容範
囲内であれば、基準信号6の周波数は入力信号1の周波
数と判定でき、クロック発生回路32と特別クロック5の
周波数を変える必要はなくなる。前記位相差が大きけれ
ば、クロック発生回路32の特別クロック5の周波数を変
え、前記位相差を許容範囲内と判定できるようにするこ
とにより、第1図と同様に入力信号にロック可能な周波
数範囲を得ることができる。In FIG. 2, the frequency determining circuit 31 of FIG. 1 is omitted in this digital PLL circuit, and the other circuit block parts are almost the same as in FIG. In FIG. 2, the frequency judgment is performed by the phase comparison circuit 30 by judging the phase. That is, the phase difference between the input signal 1 and the reference signal 6 is detected, and if the phase difference is within a predetermined allowable range, the frequency of the reference signal 6 can be determined to be the frequency of the input signal 1 and the clock generation circuit 32 There is no need to change the frequency of the special clock 5. If the phase difference is large, by changing the frequency of the special clock 5 of the clock generation circuit 32 so that the phase difference can be determined to be within the allowable range, the frequency range in which the input signal can be locked, as in FIG. Can be obtained.
以上説明したように、本発明は、入力信号の周波数を
判定する手段と、前記手段の結果より、基準信号発生回
路の動作クロックを作るクロック発生回路を有すること
により、可変分周回路,制御プログラムは不必要とな
り、また選択さた入力信号の周波数が、ロック周波数範
囲内であれば、入力信号の周波数が変わるだけでその周
波数にて同期をとれ、さらに同期確立のための分解能が
あがる等の効果がある。As described above, the present invention has the means for determining the frequency of the input signal and the clock generation circuit for producing the operation clock of the reference signal generation circuit based on the result of the means, thereby providing the variable frequency dividing circuit and the control program. Is unnecessary, and if the frequency of the selected input signal is within the lock frequency range, synchronization can be achieved at that frequency simply by changing the frequency of the input signal, and the resolution for establishing synchronization increases. effective.
第1図は本発明の一実施例のデジタルPLL回路のブロッ
ク図、第2図は本発明に関連したブロック図、第3図は
従来のデジタルPLL回路のブロック図、第4図(a)は
第1図の周波数判定回路の一回路例を示す回路図、第4
図(b)は第4図(a)の動作波形を示すタイミング
図、第5図は第1図の論理ブロック間のクロックによる
動作波形を示すタイミング図である。 1……入力信号、2……同期確立信号、8……システム
クロック、9……周波数設定信号、11……クロック発生
回路内部の基本クロック、20……可変分周回路、21……
マイコン、22,30……位相比較回路、23,33……基準信号
発生回路、2,34……補正回路、32……クロック発生回
路、31……周波数判定回路、52……Dタイプフリップフ
ロップ、53……リセット付フリップフロップ、61……イ
ンバータ、62……AND回路。FIG. 1 is a block diagram of a digital PLL circuit according to an embodiment of the present invention, FIG. 2 is a block diagram relating to the present invention, FIG. 3 is a block diagram of a conventional digital PLL circuit, and FIG. FIG. 4 is a circuit diagram showing a circuit example of the frequency determination circuit of FIG.
4B is a timing diagram showing the operation waveforms of FIG. 4A, and FIG. 5 is a timing diagram showing the operation waveforms of the clocks between the logic blocks of FIG. 1 ... Input signal, 2 ... Synchronization establishment signal, 8 ... System clock, 9 ... Frequency setting signal, 11 ... Basic clock inside clock generation circuit, 20 ... Variable frequency dividing circuit, 21 ...
Microcomputer, 22,30 ... Phase comparison circuit, 23, 33 ... Reference signal generation circuit, 2, 34 ... Correction circuit, 32 ... Clock generation circuit, 31 ... Frequency determination circuit, 52 ... D type flip-flop , 53 …… Flip-flop with reset, 61 …… Inverter, 62 …… AND circuit.
Claims (1)
基準信号発生回路と、前記入力信号と前記基準信号との
位相を比較して、進み・遅れ信号を出力する位相比較回
路と、前記基準信号の同期を確立するように、前記進み
・遅れ信号に基いて補正信号を前記基準信号発生回路に
印加する補正回路とを備えたデジタルPLL回路におい
て、前記入力信号の周波数を判定して判定信号を出力す
る周波数判定回路と、前記判定信号に基いて特定クロッ
ク信号を出力するクロック発生回路とを備え、前記特定
クロック信号に基いて前記基準信号発生回路の基準信号
を発生させることにより、前記入力信号に同期可能な周
波数範囲が得られるようになしたことを特徴とするデジ
タルPLL回路。1. A reference signal generation circuit for generating a reference signal to be synchronized with an input signal, a phase comparison circuit for comparing the phases of the input signal and the reference signal and outputting a lead / lag signal, In a digital PLL circuit including a correction circuit that applies a correction signal to the reference signal generation circuit based on the lead / lag signal so as to establish synchronization of the reference signal, the frequency of the input signal is determined and determined. A frequency determining circuit that outputs a signal, and a clock generating circuit that outputs a specific clock signal based on the determination signal, by generating a reference signal of the reference signal generating circuit based on the specific clock signal, A digital PLL circuit characterized in that a frequency range that can be synchronized with an input signal is obtained.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1281036A JP2531805B2 (en) | 1989-10-27 | 1989-10-27 | Digital PLL circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1281036A JP2531805B2 (en) | 1989-10-27 | 1989-10-27 | Digital PLL circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03143020A JPH03143020A (en) | 1991-06-18 |
| JP2531805B2 true JP2531805B2 (en) | 1996-09-04 |
Family
ID=17633401
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1281036A Expired - Lifetime JP2531805B2 (en) | 1989-10-27 | 1989-10-27 | Digital PLL circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2531805B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63197118A (en) * | 1987-02-10 | 1988-08-16 | Sharp Corp | Phase locked loop |
-
1989
- 1989-10-27 JP JP1281036A patent/JP2531805B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03143020A (en) | 1991-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5687202A (en) | Programmable phase shift clock generator | |
| US5781054A (en) | Digital phase correcting apparatus | |
| EP0766403B1 (en) | Variable frequency divider | |
| KR0138220B1 (en) | Clock delay compensation and duty control apparatus | |
| JPH0292021A (en) | Digital PLL circuit | |
| JPH0789615B2 (en) | Frequency synthesizer circuit | |
| JPH09261048A (en) | Variable frequency devider | |
| JP2531805B2 (en) | Digital PLL circuit | |
| US4942595A (en) | Circuit for dividing the frequency of a digital clock signal by two and one-half | |
| CA2192881C (en) | Pll circuit and noise reduction means for pll circuit | |
| EP1005164B1 (en) | Variable frequency divider | |
| JPH09502594A (en) | Digital phase-locked loop | |
| JP3415534B2 (en) | Digital DLL circuit and method | |
| JP3090790B2 (en) | Phase locked oscillator | |
| JPS61140221A (en) | Timing generating circuit | |
| JPH10135826A (en) | Pll frequency synthesizer | |
| JPS63304720A (en) | Phase synchronizing loop circuit | |
| JP2979811B2 (en) | Clock output circuit | |
| JPS62110320A (en) | Digital pll circuit | |
| JPS6141226A (en) | Slaved synchronizing frequency divider | |
| JPH0316317A (en) | Digital vco of frequency division value switching system | |
| JPH0342737B2 (en) | ||
| JPH07111452A (en) | Phase locked loop circuit | |
| JPH07120941B2 (en) | Digital PLL circuit | |
| JPH07122998A (en) | Frequency synthesizer |