JPH10322200A - Phase lock detecting circuit - Google Patents

Phase lock detecting circuit

Info

Publication number
JPH10322200A
JPH10322200A JP9130989A JP13098997A JPH10322200A JP H10322200 A JPH10322200 A JP H10322200A JP 9130989 A JP9130989 A JP 9130989A JP 13098997 A JP13098997 A JP 13098997A JP H10322200 A JPH10322200 A JP H10322200A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
frequency
count value
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
JP9130989A
Other languages
Japanese (ja)
Inventor
Terutaka Taniguchi
輝孝 谷口
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9130989A priority Critical patent/JPH10322200A/en
Publication of JPH10322200A publication Critical patent/JPH10322200A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To attain phase lock detection for a PLL circuit which is packaged into one from which the inside intermediate generation signal cannot be extracted. SOLUTION: An input reference signal 32 to an integrated PLL circuit 30 is inputted to a counting period generating circuit 42, and a counting period signal pulse having pulse length which is prescribed times as long as the cycle is generated synchronously with this. An output signal counter 44 uses this counting period signal pulse as an enable signal, and counts the number of waves of an output signal 34, outputted from the integrated PLL circuit 30 in the pulse period. A reference count value which is preliminarily decided based on the design values of the time length of the counting period signal pulse and a frequency conversion rate in the integrated PLL circuit 30 is set in a count value comparator circuit 48. A lock-judging circuit 46 judges the state of the phase lock between the input and output signals of the integrated PLL circuit 30 from the size of the reference count value and an output count value measured by the output signal counter 44.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力基準信号と異
なる周波数に変換された出力信号を出力する位相同期ル
ープ回路に用いられ、入力基準信号と出力信号との間の
位相同期のロックを検出する位相ロック検出回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a phase locked loop circuit for outputting an output signal converted to a frequency different from that of an input reference signal, and detects a lock of phase synchronization between the input reference signal and the output signal. And a phase lock detection circuit.

【0002】[0002]

【従来の技術】図3は、従来より知られた位相同期ルー
プ(PLL:Phase Locked Loop)回路2のブロック構
成図である。外部からの入力基準信号RCLK(周波数
Rとする。)は、M分周器4にて入力基準信号の1/
Mの周波数(周波数fMとする。)となるように分周さ
れる。このM分周信号MCLKは、位相比較器6への2
つの入力の1つである基準用の信号とされる。位相比較
器6へのもう1つの入力である比較用の信号は、PLL
回路2からの出力信号OCLK(周波数fOUTとす
る。)をN分周器8で1/Nの周波数に分周したN分周
信号NCLK(周波数fNとする。)である。
2. Description of the Related Art FIG. 3 is a block diagram of a conventionally known phase locked loop (PLL) circuit 2. As shown in FIG. An external input reference signal RCLK (hereinafter referred to as a frequency f R ) is divided by an M frequency divider 4 into 1/1 of the input reference signal.
The frequency is divided so that the frequency becomes M (frequency f M ). This M-divided signal MCLK is supplied to the phase comparator 6 by 2
One of the inputs is a reference signal. A signal for comparison, which is another input to the phase comparator 6, is a PLL.
(The frequency f OUT.) Output signal OCLK from the circuit 2 is the N divider 8 in 1 / N N divider signal NCLK obtained by dividing the frequency of (. To frequency f N).

【0003】位相比較器6は、PLL回路2に入力され
た基準信号に応じたM分周信号とPLL回路2からの出
力信号に応じたN分周信号とをそれぞれ基準、比較用の
信号として入力され、両信号の位相差を検出し、その位
相差に応じた誤差信号を出力する。チャージポンプ10
は、位相比較器6からの誤差信号を“H”レベル、
“L”レベル、及びハイインピーダンスの3つの値に変
換し出力する。ローパスフィルタ12は、チャージポン
プ10の出力信号を平滑化し直流成分にて電圧制御発振
器(VCO:Voltage Controlled Oscillator)14を
制御する。VCO14は、ローパスフィルタ12の出力
の直流電圧に応じて発振周波数を変えた信号を出力す
る。この信号がPLL回路2からの出力信号OCLKと
なる。また、この出力信号OCLKは上述したようにN
分周器8への入力にもなる。
[0003] The phase comparator 6 uses the M-divided signal corresponding to the reference signal input to the PLL circuit 2 and the N-divided signal corresponding to the output signal from the PLL circuit 2 as reference and comparison signals, respectively. The phase difference between the two signals is detected, and an error signal corresponding to the phase difference is output. Charge pump 10
Indicates that the error signal from the phase comparator 6 is at “H” level,
The signal is converted into three values of “L” level and high impedance and output. The low-pass filter 12 smoothes the output signal of the charge pump 10 and controls a voltage controlled oscillator (VCO) 14 with a DC component. The VCO 14 outputs a signal whose oscillation frequency has been changed according to the DC voltage of the output of the low-pass filter 12. This signal becomes the output signal OCLK from the PLL circuit 2. Further, as described above, this output signal OCLK
It also serves as an input to the frequency divider 8.

【0004】なお、M分周器、N分周器は、それぞれM
=1、N=1の場合には特に設ける必要がない。よっ
て、M分周器4又はN分周器8を有しないPLL回路2
の構成もあり得る。
Note that the M frequency divider and the N frequency divider are
= 1 and N = 1, there is no particular need to provide them. Therefore, the PLL circuit 2 having no M frequency divider 4 or N frequency divider 8
There may be a configuration of

【0005】図4は、従来の位相ロック検出回路を備え
たPLL回路のブロック構成図である。図4において図
3と同様の構成要素には同一の符号を付し説明を省略す
る。従来の構成では、位相比較器6に入力されるM分周
信号MCLKとN分周信号NCLKとをそれぞれ分岐
し、これら各信号を入力とする排他的論理和回路20が
設けられる。この排他的論理和回路20が位相がロック
状態にあるか、すなわちM分周信号MCLKとN分周信
号NCLKとの位相が揃っているかどうかを検出するた
めに用いられる。M分周信号MCLKとN分周信号NC
LKとの位相がずれている場合には、両信号の論理レベ
ルが異なる期間が生じる。排他的論理和回路20は、こ
の期間においては、“H”レベルの信号を出力し、一
方、両者の論理レベルが一致している期間には、“L”
レベルの信号を出力する。よって、従来は、排他的論理
和回路20からの“H”レベルの信号をもってロックオ
フを検出していた。さらに、従来は、この排他的論理和
回路20から出力される“H”レベルの信号期間、すな
わち位相ずれ量を、その期間に比べて小さな周期を有す
る外部クロックを用いて測り、PLL回路2の出力を利
用する回路やPLL回路2の制御に用いることも行われ
ていた。
FIG. 4 is a block diagram of a PLL circuit having a conventional phase lock detection circuit. 4, the same components as those in FIG. 3 are denoted by the same reference numerals, and description thereof will be omitted. In the conventional configuration, there is provided an exclusive OR circuit 20 that branches the M-divided signal MCLK and the N-divided signal NCLK input to the phase comparator 6 and inputs these signals. The exclusive OR circuit 20 is used to detect whether the phase is in a locked state, that is, whether the phases of the M-divided signal MCLK and the N-divided signal NCLK are aligned. M divided signal MCLK and N divided signal NC
When the phase with LK is shifted, a period occurs in which the logic levels of both signals are different. The exclusive OR circuit 20 outputs an "H" level signal during this period, while the "L" level signal is output during a period when the logic levels of both are coincident.
Output level signal. Therefore, conventionally, lock-off has been detected by using an "H" level signal from the exclusive OR circuit 20. Further, conventionally, the signal period of "H" level output from the exclusive OR circuit 20, that is, the amount of phase shift is measured by using an external clock having a smaller cycle than that period, and the PLL circuit 2 It has also been used to control a circuit using an output or the PLL circuit 2.

【0006】ちなみに、図3に示すPLL回路2は、位
相比較器6の両入力の周波数及び位相が一致するように
ループ制御が作用するので、ロック状態においてはfM
=fN、すなわちfR/M=fOUT/Nとなるように制御
される。つまり、出力信号OCLKはfOUT=N/M×
Rなる周波数となり、入力基準信号fRのN/M倍の周
波数に変換された信号がVCO14から出力される。こ
こで、N、Mを変えることにより様々な周波数の信号を
得ることができ、これを応用して周波数シンセサイザと
呼ばれる回路が実現される。
By the way, in the PLL circuit 2 shown in FIG. 3, since the loop control operates so that the frequency and the phase of both inputs of the phase comparator 6 coincide, f M in the locked state.
= F N, that is controlled to be f R / M = f OUT / N. That is, the output signal OCLK is f OUT = N / M ×
becomes f R becomes frequency-converted signal into N / M times the frequency of the input reference signal f R are outputted from the VCO 14. Here, signals of various frequencies can be obtained by changing N and M, and a circuit called a frequency synthesizer is realized by applying the signals.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の位相ロ
ック検出回路では、排他的論理和回路20に入力され比
較される2つの信号は、位相比較器6へ入力され比較さ
れる2つの信号となる。さて、PLL回路2を用いた装
置の小型化を図るため、PLL回路2の全体又は少なく
とも位相比較器6を含む部分が半導体基板上に集積化さ
れたり、1つのパッケージ内に収納された形態で提供さ
れ、これを装置を構成する部品として使用する場合が少
なくない。このようなPLL回路2の部品化において
は、用途に応じて位相ロック検出回路まで含めた範囲を
一部品とする場合もあるが、特に位相ロックを検出する
必要性が低い用途のため位相ロック検出回路を含まない
部分のみでより小型の部品として提供されるものもあ
る。しかし、この後者の位相ロック検出回路を含まない
ように構成されたPLL回路モジュールは、一般には、
位相比較器6へ入力される2つの信号を両方とも外部に
取り出すようには構成されていない。そのため、この位
相ロック検出回路を含まないPLL回路モジュールに対
しては、従来の位相ロック検出回路を外付けで設けるこ
ともできないことになりその利用範囲が限定されるとい
う問題があった。
In the above-described conventional phase lock detecting circuit, two signals inputted to the exclusive OR circuit 20 and compared are inputted to the phase comparator 6 and compared with two signals inputted to the phase comparator 6. Become. Now, in order to reduce the size of the device using the PLL circuit 2, the entire PLL circuit 2 or at least a portion including the phase comparator 6 is integrated on a semiconductor substrate or housed in one package. Provided, and this is often used as a component of a device. In such a component of the PLL circuit 2, the range including the phase lock detection circuit may be a single component depending on the application. However, the phase lock detection is particularly required for applications where the need to detect the phase lock is low. Some are provided as smaller components only with no circuitry. However, a PLL circuit module configured not to include the latter phase lock detection circuit generally includes:
It is not configured to take out both of the two signals input to the phase comparator 6 to the outside. Therefore, a conventional phase lock detection circuit cannot be externally provided for a PLL circuit module that does not include the phase lock detection circuit, and there is a problem that the use range is limited.

【0008】また、従来の排他的論理和回路20を用い
た位相ロック検出回路の構成では、ロックオフを定量的
に評価する必要がある場合には、周波数の安定した外部
クロックが、PLL回路2自体の動作のためのクロック
とは別に必要になるという問題もあった。
In the configuration of the conventional phase lock detecting circuit using the exclusive OR circuit 20, when the lock-off needs to be quantitatively evaluated, an external clock having a stable frequency is supplied to the PLL circuit 2. There is also a problem that it is necessary separately from a clock for its own operation.

【0009】本発明は上記問題点を解消するためになさ
れたもので、位相ロック検出回路を含まないPLL回路
部品に対しても、位相ロック検出を行うことを可能と
し、しかも別途の外部クロックを必要としない位相ロッ
ク検出回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and it has been made possible to perform phase lock detection even for a PLL circuit component not including a phase lock detection circuit. It is an object of the present invention to provide a phase lock detection circuit that does not need to be provided.

【0010】[0010]

【課題を解決するための手段】本発明に係る位相ロック
検出回路は、入力基準信号の周波数に対し所定の周波数
変換比を有する周波数の出力信号を生成する位相同期ル
ープ回路に用いられ、当該位相同期ループ回路の位相ロ
ックを検出する位相ロック検出回路であって、前記位相
同期ループ回路から出力される前記出力信号の波数を計
数する出力信号カウンタと、前記出力信号カウンタの計
数期間を定める計数期間信号を前記入力基準信号に基づ
いて生成する計数期間生成回路と、前記周波数変換比と
前記計数期間とに基づいて予め定められる基準カウント
値と前記出力信号カウンタの出力カウント値との差異に
基づいて前記位相ロックを判定するロック判定回路とを
有するものである。
A phase lock detection circuit according to the present invention is used in a phase locked loop circuit for generating an output signal having a frequency having a predetermined frequency conversion ratio with respect to the frequency of an input reference signal. What is claimed is: 1. A phase lock detection circuit for detecting phase lock of a synchronous loop circuit, comprising: an output signal counter for counting the number of waves of the output signal output from the phase locked loop circuit; and a counting period for determining a counting period of the output signal counter. A counting period generating circuit that generates a signal based on the input reference signal, and a difference between a reference count value determined in advance based on the frequency conversion ratio and the counting period and an output count value of the output signal counter. A lock determination circuit for determining the phase lock.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施形態について
図面を参照して説明する。図1は、本発明の実施の形態
であるPLLを用いた周波数シンセサイザの概略のブロ
ック図である。PLL回路2を含んで構成される集積化
PLL回路30は、入力基準信号RCLK32を入力さ
れ、この周波数fRをN/M倍した周波数fOUTを有する
出力信号OCLK34を出力する。この集積化PLL回
路30は、その内部における信号を取り出すための端子
を有している必要はない。本発明に係る位相ロック検出
回路40は、計数期間生成回路42、出力信号カウンタ
44、ロック検出回路46を含んで構成される。ロック
判定回路46は、予め設定される基準カウント値と、出
力信号カウンタ44から出力される出力カウント値とを
比較するカウント値比較回路48を含んでいる。動作の
詳細についてはより詳しい図を用いて後述する。ここで
は図1を用いて、本位相ロック検出回路の大きな特徴の
みを説明する。位相ロック検出回路40の大きな特徴
は、集積化PLL回路30へ入力される入力基準信号R
CLK32と、集積化PLL回路30により最終的に生
成され出力される出力信号OCLK34を主たる入力信
号として用い、集積化PLL回路30内部で中間的に生
成される信号は必要としない点にある。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic block diagram of a frequency synthesizer using a PLL according to an embodiment of the present invention. The integrated PLL circuit 30 including the PLL circuit 2 receives the input reference signal RCLK32, and outputs an output signal OCLK34 having a frequency f OUT obtained by multiplying the frequency f R by N / M. The integrated PLL circuit 30 does not need to have a terminal for extracting a signal inside the integrated PLL circuit 30. The phase lock detection circuit 40 according to the present invention includes a count period generation circuit 42, an output signal counter 44, and a lock detection circuit 46. The lock determination circuit 46 includes a count value comparison circuit 48 that compares a preset reference count value with an output count value output from the output signal counter 44. Details of the operation will be described later using a more detailed diagram. Here, only the major features of the present phase lock detection circuit will be described with reference to FIG. A major feature of the phase lock detection circuit 40 is that the input reference signal R input to the integrated PLL circuit 30 is
CLK32 and an output signal OCLK34 finally generated and output by the integrated PLL circuit 30 are used as main input signals, and a signal generated intermediately inside the integrated PLL circuit 30 is not required.

【0012】図2は、本実施の形態の動作を説明するた
めに、集積化PLL回路30の内部のブロック構成まで
示したブロック図である。外部からの周波数fRの入力
基準信号RCLK32はM分周器64にて分周され、入
力基準信号の1/Mの周波数fMを有するM分周信号M
CLK66が生成される。
FIG. 2 is a block diagram showing up to the internal block configuration of the integrated PLL circuit 30 for explaining the operation of the present embodiment. An input reference signal RCLK 32 having an external frequency f R is frequency-divided by an M frequency divider 64 and has a frequency f M of 1 / M of the input reference signal.
CLK66 is generated.

【0013】また集積化PLL回路30からは最終的に
周波数fOUTを有する出力信号OCLK34が出力され
るが、このOCLK34は集積化PLL回路30内部で
分岐され、その一つがN分周器68へ入力される。N分
周器68はOCLKを分周し、その1/Nの周波数fN
を有するN分周信号NCLK70を生成する。
An output signal OCLK 34 having a frequency f OUT is finally output from the integrated PLL circuit 30. The OCLK 34 is branched inside the integrated PLL circuit 30, and one of the OCLK 34 is supplied to the N frequency divider 68. Is entered. An N divider 68 divides the frequency of OCLK and generates a 1 / N frequency f N
Is generated.

【0014】位相比較器72へは、このように生成され
たM分周信号MCLK66とN分周信号NCLK70と
が入力される。PLLはこの位相比較器72への2つの
入力信号の位相が揃うように制御を行う。ちなみに、上
述した従来の位相ロック検出回路は、この位相比較器7
2への2つの入力が同じ周波数及び位相を有するように
制御されるというこのPLLの性質を利用したものであ
った。これに対し位相ロック検出回路40はこの性質を
利用するものではないので、集積化PLL回路30がそ
の内部で生成するMCLK66又はNCLK70を出力
するものである必要はない。
The M-divided signal MCLK 66 and the N-divided signal NCLK 70 thus generated are input to the phase comparator 72. The PLL performs control so that the phases of the two input signals to the phase comparator 72 are aligned. Incidentally, the above-described conventional phase lock detection circuit includes the phase comparator 7
The advantage of this PLL was that the two inputs to 2 were controlled to have the same frequency and phase. On the other hand, since the phase lock detection circuit 40 does not utilize this property, the integrated PLL circuit 30 does not need to output the MCLK 66 or NCLK 70 generated therein.

【0015】位相比較器72は、入力されたMCLK6
6とNCLK70との位相差を検出し、その位相差に応
じた誤差信号を出力する。チャージポンプ74は、位相
比較器72からの誤差信号を“H”レベル、“L”レベ
ル、及びハイインピーダンスの3つの値に変換し出力す
る。ローパスフィルタ76は、チャージポンプ74の出
力信号を平滑化し直流成分にてVCO78を制御する。
VCO78は、ローパスフィルタ76の出力の直流電圧
に応じた発振周波数fOUTを有する出力信号OCLKを
出力する。
The phase comparator 72 receives the input MCLK 6
6 and NCLK 70, and outputs an error signal corresponding to the phase difference. The charge pump 74 converts the error signal from the phase comparator 72 into three values of “H” level, “L” level, and high impedance, and outputs the three values. The low-pass filter 76 smoothes the output signal of the charge pump 74 and controls the VCO 78 with a DC component.
The VCO 78 outputs an output signal OCLK having an oscillation frequency f OUT according to the DC voltage output from the low-pass filter 76.

【0016】すでに述べたように、位相比較器72の両
入力の周波数fM、fNが一致するようにループ制御が作
用するので、fOUT=(N/M)・fRとなる。つまり入
力基準信号fRのN/M倍の周波数に変換された信号が
VCO78から出力され、N、Mを変えることにより様
々な周波数の信号を得ることができる周波数シンセサイ
ザが実現される。
As described above, since the loop control operates so that the frequencies f M and f N of both inputs of the phase comparator 72 coincide, f OUT = (N / M) · f R. That is, a signal converted to a frequency N / M times the input reference signal f R is output from the VCO 78, and a frequency synthesizer that can obtain signals of various frequencies by changing N and M is realized.

【0017】さて、次に位相ロック検出回路40の動作
を説明する。集積化PLL回路30へ入力されるRCL
K32は分岐され、位相ロック検出回路40の計数期間
生成回路42へ入力される。計数期間生成回路42はカ
ウンタを含んで構成され、RCLKに基づいて、例えば
その周期の所定倍に相当する時間長WREFを有する計測
期間信号パルスを生成する。例えば、fR=14MHzに対
して、WREF=1sec程度に設定することができる。この
計測期間信号パルスは、出力信号カウンタ44にイネー
ブル信号として供給される。
Next, the operation of the phase lock detection circuit 40 will be described. RCL input to integrated PLL circuit 30
K32 is branched and input to the count period generation circuit 42 of the phase lock detection circuit 40. The counting period generating circuit 42 includes a counter, and generates a measuring period signal pulse having a time length W REF corresponding to, for example, a predetermined multiple of the period, based on RCLK. For example, W REF = 1 sec can be set for f R = 14 MHz. This measurement period signal pulse is supplied to the output signal counter 44 as an enable signal.

【0018】時間幅WREFは、出力信号OCLKの周期
τOUTより大きく設定される。すなわちkOUTを比例定数
としてWREF=kOUT・τOUT(kOUT>1)となるように
設定される。ここで、τOUTの位相ずれの測定精度はお
およそ2π/kOUT〔rad〕となるので、kOUTが大きい
ほど、つまりWREFが大きいほど測定精度は向上する。
The time width W REF is set larger than the period τ OUT of the output signal OCLK. That is, it is set so that W REF = k OUT · τ OUT (k OUT > 1) using k OUT as a proportional constant. Here, the measurement accuracy of the phase shift of τ OUT is approximately 2π / k OUT [rad], so that the larger k OUT , that is, the larger W REF , the higher the measurement accuracy.

【0019】出力信号カウンタ44は、計測期間信号パ
ルスがイネーブル状態にあるとき、集積化PLL回路3
0から入力される出力信号OCLKの波数をカウント
し、そのカウント値(出力カウント値COUT)を出力す
る。
When the signal pulse is in the enable state during the measurement period, the output signal counter 44 controls the integrated PLL circuit 3
It counts the number of waves of the output signal OCLK input from 0, and outputs the count value (output count value C OUT ).

【0020】ロック判定回路46中のカウント値比較回
路48は、出力信号カウンタ44がカウントした出力カ
ウント値COUTを入力される。カウント値比較回路48
には、この集積化PLL回路30の位相ロック状態にお
いて計測期間信号パルス幅WREFの間に発生する出力信
号の波数が予め基準カウント値CREFとして設定されて
いる。カウント値比較回路48は、この基準カウント値
REFと実際に出力信号カウンタ44により計測された
出力カウント値COUTとを比較する。
The count value comparison circuit 48 in the lock determination circuit 46 receives the output count value C OUT counted by the output signal counter 44. Count value comparison circuit 48
The wave number of the output signal generated during the measurement period signal pulse width W REF in the phase locked state of the integrated PLL circuit 30 is set in advance as the reference count value C REF . The count value comparison circuit 48 compares the reference count value C REF with the output count value C OUT actually measured by the output signal counter 44.

【0021】COUT>CREFの場合は、OCLKの周波数
とRCLKの周波数の比fOUT/fRがN/Mより大きい
場合に相当し、つまりOCLKの位相がRCLKに対し
て進むことを表す。一方、COUT<CREFの場合は、OC
LKの位相がRCLKに対して遅れることを表す。位相
ロック状態においては、周波数比fOUT/fR=N/Mが
実現され、これはCOUT=CREFとなることから判別され
る。このように、カウント値比較回路48がCOUTとC
REFとの大小関係を判定し、ロック判定回路46はその
判定結果に基づいて、RCLKとOCLKとの位相ずれ
の有無を検出することができる。この位相のずれは常時
生じ得るが、PLLによるループ制御により少々のずれ
は容易に修正される。ロック判定回路46は、COUT
REFとの差異がどの程度以上となったらロックオフと
判定するかの条件を設定され、その判定基準に基づいて
位相ロック状態かロックオフ状態かの判定を行い、その
結果を出力する。
The case of C OUT > C REF corresponds to the case where the ratio f OUT / f R of the frequency of OCLK to the frequency of RCLK is larger than N / M, that is, the phase of OCLK advances with respect to RCLK. . On the other hand, if C OUT <C REF , OC
This indicates that the phase of LK lags behind RCLK. In the phase locked state, a frequency ratio f OUT / f R = N / M is realized, which is determined from C OUT = C REF . As described above, the count value comparison circuit 48 determines that C OUT and C OUT
The magnitude relationship between REF and REF is determined, and the lock determination circuit 46 can detect the presence or absence of a phase shift between RCLK and OCLK based on the determination result. Although this phase shift can always occur, a slight shift can be easily corrected by loop control by the PLL. The lock determination circuit 46 sets a condition for determining a lock-off condition when the difference between C OUT and C REF becomes greater than or equal to the value, and determines a phase lock state or a lock-off state based on the determination criteria. And output the result.

【0022】カウント値比較回路48に設定されるC
REFは、周波数比N/Mが一定であれば、所定の固定値
でよい。しかし、集積化PLL回路30のM分周器6
4、N分周器68の分周比M、Nのいずれかが可変に構
成され、周波数比N/Mが可変である場合には、CREF
もそれに応じて変更される。この変更は、例えば位相ロ
ック検出回路40の外部からユーザ操作や集積化PLL
回路30の周波数比切替動作に連動して自動的に行われ
るように構成することができる。
C set in the count value comparison circuit 48
REF may be a predetermined fixed value as long as the frequency ratio N / M is constant. However, the M frequency divider 6 of the integrated PLL circuit 30
4. If any one of the dividing ratios M and N of the N divider 68 is configured to be variable and the frequency ratio N / M is variable, C REF
Will be changed accordingly. This change can be performed, for example, by a user operation or an integrated PLL from outside the phase lock detection circuit 40.
It can be configured to be performed automatically in conjunction with the frequency ratio switching operation of the circuit 30.

【0023】カウント値比較回路48に設定されるC
REFの値はWREF・fOUTで与えられる。但し、この式に
表れるfOUTは、集積化PLL回路30から出力される
OCLKの実際の周波数ではなく、その目標値である。
つまり、ここでのfOUTは(N/M)・fRに相当する。
表1は、カウント値比較回路48へ設定されるCREF
例を示す表である。表において左欄は上述した出力信号
OCLKの目標周波数としてのfOUTであり、右欄はW
REF=1secである場合における各fOUTに対応するCREF
である周波数設定値である。この周波数設定値C
REFは、カウント値比較回路48に備えられるメモリ上
でのデータ形式に対応して16進数で表現されている。
C set in the count value comparison circuit 48
The value of the REF is given by W REF · f OUT. However, f OUT expressed in this equation is not the actual frequency of OCLK output from the integrated PLL circuit 30, but its target value.
That is, f OUT here corresponds to (N / M) · f R.
Table 1 is a table showing an example of C REF set to the count value comparison circuit 48. In the table, the left column is f OUT as the target frequency of the output signal OCLK described above, and the right column is W
C REF corresponding to each f OUT when REF = 1 sec
Is a frequency setting value. This frequency set value C
REF is expressed in hexadecimal notation corresponding to the data format on the memory provided in the count value comparison circuit 48.

【表1】 [Table 1]

【0024】さて、計数期間生成回路42はRCLKに
同期して動作するカウンタを用いて時間幅WREFを決定
するので、RCLKの周波数が変動するとWREFもそれ
に連動して変化する。ここで、τREFをRCLKの変動
し得る実際の周期、kREFを比例定数とすれば、現実の
計数期間信号パルスの時間幅は次式で表すことができ
る。
Since the counting period generation circuit 42 determines the time width W REF using a counter that operates in synchronization with RCLK, when the frequency of RCLK changes, W REF also changes in conjunction therewith. Here, assuming that τ REF is an actual period in which RCLK can fluctuate, and k REF is a proportional constant, the actual pulse width of the counting period signal pulse can be expressed by the following equation.

【0025】 WREF=kREF・τREF …………(1) 一方、上述したようにCREFの値を与えるWREF・fOUT
は、次式に相当する。
W REF = k REF · τ REF (1) On the other hand, as described above, W REF · f OUT giving the value of C REF
Corresponds to the following equation.

【0026】 (N/M)WREF・fR …………(2) (2)式においてWREF、fRはそれぞれ実際の変動し得
る値である。(2)式に(1)式を代入してWREFを消
去し、fR=1/τREFであることを考慮すると、CREF
は、次式のように、RCLKの変動の影響を受けない形
式で表現されることがわかる。
(N / M) W REF · f R (2) In the equation (2), W REF and f R are values that can actually vary. Substituting equation (1) into equation (2) to eliminate W REF and considering that f R = 1 / τ REF , C REF
Is expressed in a form that is not affected by the fluctuation of RCLK as in the following equation.

【0027】 CREF=(N/M)・kREF …………(3) つまり、このことからカウント値比較回路48に設定さ
れるCREFの値は実測値に依存せず、回路の設計パラメ
ータから求められる定数でよいことがわかる。すなわ
ち、本装置は、RCLKの変動の影響を受けないCREF
を予めカウント値比較回路48に設定すればよい点で構
成が簡単であり、しかもそのような簡単な構成によって
も位相ロックの状態の判定の精度が確保される。
C REF = (N / M) · k REF (3) That is, the value of C REF set in the count value comparison circuit 48 does not depend on the actually measured value, and the circuit design It is understood that a constant obtained from the parameter is sufficient. In other words, the present device has a C REF which is not affected by the fluctuation of RCLK.
Can be set in the count value comparison circuit 48 in advance, and the accuracy of the phase lock state determination can be ensured even with such a simple configuration.

【0028】[0028]

【発明の効果】本発明の位相ロック検出回路によれば、
計数期間生成回路がPLL回路への入力基準信号に基づ
いて計数期間信号を生成し、出力信号カウンタが計数期
間信号により定められる計数期間にPLL回路から出力
される出力信号の波数をカウントする。この出力カウン
ト値をロック判定回路が基準カウント値と比較して位相
ロック状態か否かを判定する。つまり本位相ロック検出
回路は、PLL回路への入力基準信号とPLL回路から
最終結果として出力される出力信号とを用い、なんらP
LL回路内部での中間的に生成される信号を用いない。
これにより、本発明の位相ロック検出回路は集積化され
たPLL回路に対しても適用でき、特に内部に位相ロッ
ク検出手段を含まない構成にて集積化されたPLL回路
に対して精度よい位相ロック検出手段を提供し、そのP
LL回路の利用範囲を拡大するという効果をもたらす。
According to the phase lock detection circuit of the present invention,
The counting period generating circuit generates a counting period signal based on the reference signal input to the PLL circuit, and the output signal counter counts the number of waves of the output signal output from the PLL circuit during the counting period determined by the counting period signal. The lock count circuit compares the output count value with the reference count value to determine whether or not the phase is locked. That is, the present phase lock detection circuit uses the input reference signal to the PLL circuit and the output signal output as the final result from the PLL circuit,
No intermediately generated signal is used inside the LL circuit.
As a result, the phase lock detection circuit of the present invention can be applied to an integrated PLL circuit, and in particular, a phase lock detection circuit with high accuracy can be applied to an integrated PLL circuit having no internal phase lock detection means. Providing a means for detecting the P
This has the effect of expanding the range of use of the LL circuit.

【0029】また、本発明の位相ロック検出回路は、そ
の動作において周波数の安定した外部クロックを必要と
しないこと、及び基準カウント値はPLL回路の設計パ
ラメータ等に基づいて予め定められ、入力基準信号の安
定性に依存しないことにより、構成が極めて簡単でしか
も安定で精度がよい位相ロック検出回路が提供されると
いう効果がある。
The operation of the phase lock detection circuit of the present invention does not require an external clock having a stable frequency, and the reference count value is predetermined based on design parameters of the PLL circuit. Does not depend on the stability of the phase lock detection circuit, there is an effect that a stable and accurate phase lock detection circuit having a very simple configuration is provided.

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

【図1】 本発明の実施の形態であるPLLを用いた周
波数シンセサイザの概略のブロック図である。
FIG. 1 is a schematic block diagram of a frequency synthesizer using a PLL according to an embodiment of the present invention.

【図2】 本発明の実施の形態である周波数シンセサイ
ザのブロック図であって、集積化PLL回路の内部の構
成まで示したブロック図である。
FIG. 2 is a block diagram of a frequency synthesizer according to an embodiment of the present invention, and is a block diagram showing an internal configuration of an integrated PLL circuit;

【図3】 従来より知られた位相同期ループ回路のブロ
ック構成図である。
FIG. 3 is a block diagram of a conventionally known phase locked loop circuit.

【図4】 従来の位相ロック検出回路を備えたPLL回
路のブロック構成図である。
FIG. 4 is a block diagram of a PLL circuit including a conventional phase lock detection circuit.

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

30 集積化PLL回路、32 入力基準信号、34
出力信号、40 位相ロック検出回路、42 計数期間
生成回路、44 出力信号カウンタ、46 ロック判定
回路、48 カウント値比較回路、64 M分周器、6
6 M分周信号、68 N分周器、70 N分周信号、
72 位相比較器、74 チャージポンプ、76 ロー
パスフィルタ、78 電圧制御発振器。
30 integrated PLL circuit, 32 input reference signal, 34
Output signal, 40 phase lock detection circuit, 42 count period generation circuit, 44 output signal counter, 46 lock determination circuit, 48 count value comparison circuit, 64M frequency divider, 6
6M frequency-divided signal, 68N frequency divider, 70N frequency-divided signal,
72 phase comparator, 74 charge pump, 76 low pass filter, 78 voltage controlled oscillator.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力基準信号の周波数に対し所定の周波
数変換比を有する周波数の出力信号を生成する位相同期
ループ回路に用いられ、当該位相同期ループ回路の位相
ロックを検出する位相ロック検出回路であって、 前記位相同期ループ回路から出力される前記出力信号の
波数を計数する出力信号カウンタと、 前記出力信号カウンタの計数期間を定める計数期間信号
を前記入力基準信号に基づいて生成する計数期間生成回
路と、 前記周波数変換比と前記計数期間とに基づいて予め定め
られる基準カウント値と前記出力信号カウンタの出力カ
ウント値との差異に基づいて前記位相ロックを判定する
ロック判定回路と、 を有することを特徴とする位相ロック検出回路。
1. A phase lock detection circuit used in a phase locked loop circuit for generating an output signal having a frequency having a predetermined frequency conversion ratio with respect to the frequency of an input reference signal, and detecting a phase lock of the phase locked loop circuit. An output signal counter that counts the number of waves of the output signal output from the phase locked loop circuit; and a count period generation that generates a count period signal that defines a count period of the output signal counter based on the input reference signal. A lock determination circuit that determines the phase lock based on a difference between a reference count value predetermined based on the frequency conversion ratio and the count period and an output count value of the output signal counter. A phase lock detection circuit.
JP9130989A 1997-05-21 1997-05-21 Phase lock detecting circuit Pending JPH10322200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9130989A JPH10322200A (en) 1997-05-21 1997-05-21 Phase lock detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9130989A JPH10322200A (en) 1997-05-21 1997-05-21 Phase lock detecting circuit

Publications (1)

Publication Number Publication Date
JPH10322200A true JPH10322200A (en) 1998-12-04

Family

ID=15047330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9130989A Pending JPH10322200A (en) 1997-05-21 1997-05-21 Phase lock detecting circuit

Country Status (1)

Country Link
JP (1) JPH10322200A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100431485B1 (en) * 2001-04-10 2004-05-13 엔이씨 일렉트로닉스 코포레이션 Lock detection circuit
US7065169B2 (en) * 2000-08-31 2006-06-20 Hewlett-Packard Development Company, L.P. Detection of added or missing forwarding data clock signals
JP2008147967A (en) * 2006-12-08 2008-06-26 Toshiba Mitsubishi-Electric Industrial System Corp Pll out-of-synchronism detection circuit
JP2008205601A (en) * 2007-02-16 2008-09-04 Matsushita Electric Ind Co Ltd Pll circuit and radio device provided with the same
WO2010088016A3 (en) * 2009-01-31 2011-03-10 Xilinx, Inc. Method and apparatus for detecting and correcting errors in a parallel to serial circuit
US9252788B1 (en) 2014-09-11 2016-02-02 International Business Machines Corporation Phase error detection in phase lock loop and delay lock loop devices

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7065169B2 (en) * 2000-08-31 2006-06-20 Hewlett-Packard Development Company, L.P. Detection of added or missing forwarding data clock signals
KR100431485B1 (en) * 2001-04-10 2004-05-13 엔이씨 일렉트로닉스 코포레이션 Lock detection circuit
US6794944B2 (en) 2001-04-10 2004-09-21 Nec Electronics Corporation Lock detection circuit
JP2008147967A (en) * 2006-12-08 2008-06-26 Toshiba Mitsubishi-Electric Industrial System Corp Pll out-of-synchronism detection circuit
JP2008205601A (en) * 2007-02-16 2008-09-04 Matsushita Electric Ind Co Ltd Pll circuit and radio device provided with the same
WO2010088016A3 (en) * 2009-01-31 2011-03-10 Xilinx, Inc. Method and apparatus for detecting and correcting errors in a parallel to serial circuit
US7971115B2 (en) 2009-01-31 2011-06-28 Xilinx, Inc. Method and apparatus for detecting and correcting errors in a parallel to serial circuit
JP2012516642A (en) * 2009-01-31 2012-07-19 ザイリンクス インコーポレイテッド Method and apparatus for detecting and correcting errors in parallel-serial circuits
US9252788B1 (en) 2014-09-11 2016-02-02 International Business Machines Corporation Phase error detection in phase lock loop and delay lock loop devices
US9590643B2 (en) 2014-09-11 2017-03-07 International Business Machines Corporation Phase error detection in phase lock loop and delay lock loop devices
US9735789B2 (en) 2014-09-11 2017-08-15 International Business Machines Corporation Phase error detection in phase lock loop and delay lock loop devices
US10164648B2 (en) 2014-09-11 2018-12-25 International Business Machines Corporation Phase error detection in phase lock loop and delay lock loop devices

Similar Documents

Publication Publication Date Title
JP3532861B2 (en) PLL circuit
US5719510A (en) Software configurable digital clock generator
KR100500925B1 (en) Low jitter dll using 2 coarse half delay line with digital phase mixer
KR0138220B1 (en) Clock delay compensation and duty control apparatus
US7250803B2 (en) PLL output clock stabilization circuit
JP2006119123A (en) Phase difference detection device
US6525612B2 (en) Mode control of PLL circuit
US6686803B1 (en) Integrated circuit incorporating circuitry for determining which of at least two possible frequencies is present on an externally provided reference signal and method therefor
US7675333B2 (en) Multi-phase delay locked loop with equally-spaced phases over a wide frequency range and method thereof
KR100594297B1 (en) Delay locked loop using an oscillator obeying an external clock signal frequency and method thereof
JPH10322200A (en) Phase lock detecting circuit
JP2003101410A (en) Method and device for reducing cycle slip of frequency synthesizer
JP2001127598A (en) Frequency multiplying circuit
JPH11355107A (en) High frequency clock generation circuit
US6628153B2 (en) PLL circuit and frequency division method reducing spurious noise
KR102435183B1 (en) Frequency Locked Loops, Electronic Devices, and Frequency Generation Methods
US7157942B2 (en) Digital frequency difference detector with inherent low pass filtering and lock detection
JP2003018001A (en) Phase-lock detection circuit and power measurement device
JPH1070457A (en) Pll circuit
JP3527593B2 (en) Phased locked loop circuit
KR200157927Y1 (en) Pll by the prescaler in multi-path
JP3883812B2 (en) PLL circuit
KR200291191Y1 (en) Variable clock generator
JP3857878B2 (en) PLL circuit
KR960015938B1 (en) Frequency synthesizer using digital pll