JP2010124102A - Deadlock detection circuit and deadlock restoration circuit - Google Patents

Deadlock detection circuit and deadlock restoration circuit Download PDF

Info

Publication number
JP2010124102A
JP2010124102A JP2008294349A JP2008294349A JP2010124102A JP 2010124102 A JP2010124102 A JP 2010124102A JP 2008294349 A JP2008294349 A JP 2008294349A JP 2008294349 A JP2008294349 A JP 2008294349A JP 2010124102 A JP2010124102 A JP 2010124102A
Authority
JP
Japan
Prior art keywords
circuit
clock
frequency
deadlock
pll
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.)
Granted
Application number
JP2008294349A
Other languages
Japanese (ja)
Other versions
JP5139958B2 (en
JP2010124102A5 (en
Inventor
Shinya Yoshida
慎也 吉田
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.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
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 Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP2008294349A priority Critical patent/JP5139958B2/en
Publication of JP2010124102A publication Critical patent/JP2010124102A/en
Publication of JP2010124102A5 publication Critical patent/JP2010124102A5/ja
Application granted granted Critical
Publication of JP5139958B2 publication Critical patent/JP5139958B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a deadlock detection circuit for accurately detecting a deadlock state without erroneous detection. <P>SOLUTION: The deadlock detection circuit detects the deadlock state of a PLL circuit and includes: a PLL incorporated frequency divider for frequency-dividing the output signals of the voltage controlled oscillator of the PLL circuit and outputting a first frequency division clock; a feedback frequency divider for frequency-dividing the output signals of the voltage controlled oscillator and outputting a second frequency division clock to be a feedback clock to the phase comparator of the PLL circuit; and an erroneous lock detection circuit for outputting a determination signal indicating whether or not it is in the deadlock state on the basis of the clock number of the second frequency division clock included in a prescribed period determined by the cycle of the first frequency division clock. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、PLL回路(位相同期回路)のデッドロック状態を検出するデッドロック検出回路、および、デッドロック状態を検出してPLL回路を正常ロック状態に復帰させるデッドロック復帰回路に関するものである。   The present invention relates to a deadlock detection circuit that detects a deadlock state of a PLL circuit (phase synchronization circuit), and a deadlock recovery circuit that detects a deadlock state and returns the PLL circuit to a normal lock state.

PLL回路は、リファレンスクロックに位相同期した出力クロックを生成するものであり、一般的に、位相比較回路(PFD)、チャージポンプ回路(CP)、ループフィルタ(LF)、電圧制御発振器(VCO)等によって構成される。   The PLL circuit generates an output clock that is phase-synchronized with a reference clock, and is generally a phase comparison circuit (PFD), a charge pump circuit (CP), a loop filter (LF), a voltage controlled oscillator (VCO), and the like. Consists of.

PLL回路の1つの特徴である逓倍機能を実現するために、PFDへのフィードバッククロックを生成するために、フィードバック経路(FB経路)にフィードバック分周器(FB分周器)が設けられる。このFB分周器は、PLL回路内のVCOの発振周波数の全ての範囲で動作できることが望ましいが、多くの場合はロジック回路で構成されるため、その動作速度には限界がある。   In order to realize the multiplication function which is one characteristic of the PLL circuit, a feedback frequency divider (FB frequency divider) is provided in the feedback path (FB path) in order to generate a feedback clock to the PFD. The FB frequency divider is desirably operable in the entire range of the oscillation frequency of the VCO in the PLL circuit. However, in many cases, the FB frequency divider is configured by a logic circuit, so that the operation speed is limited.

そのため、FB分周器は、正常ロック状態の時に問題なく動作しても、例えば、リファレンスクロックに一時的に想定よりも高い周波数成分を持つパルスが入力された場合にVCOの発振周波数が高くなり、正常動作できない場合がある。通常、FB分周器は、動作上限を超える周波数が入力されると、まず正常時よりも長い周期の分周状態となる。具体的には、例えば、2分周器が見かけ上4分周器のような動作となる。   Therefore, even if the FB frequency divider operates without any problem in the normal lock state, for example, when a pulse having a frequency component higher than expected is temporarily input to the reference clock, the oscillation frequency of the VCO increases. , May not work properly. Usually, when a frequency exceeding the upper limit of operation is input, the FB frequency divider first enters a frequency-divided state with a longer period than normal. Specifically, for example, the 2 frequency divider apparently operates like a 4 frequency divider.

FB分周器への入力周波数がさらに高くなると、FB分周器から出力されるフィードバッククロックはハイレベル(H)あるいはローレベル(L)でスタックする。ただし、FB分周器の構成によっては、正常時よりも長い周期の分周状態は発生せず、いきなり出力がスタック状態となる場合もある。フィードバッククロックが正常時よりも長い周期の分周となったりスタックしたりすると、PLL回路はフィードバッククロックがリファレンスクロックよりも遅い、つまりVCOの発振周波数が低いと判断し、その発振周波数をさらに高くするような動作となり、ついにはVCOの発振周波数の上限に到達する。   When the input frequency to the FB divider is further increased, the feedback clock output from the FB divider is stacked at a high level (H) or a low level (L). However, depending on the configuration of the FB frequency divider, there is a case where the frequency division state having a longer period than that in the normal state does not occur, and the output suddenly becomes a stack state. When the feedback clock is divided or stacked with a longer period than normal, the PLL circuit determines that the feedback clock is slower than the reference clock, that is, the oscillation frequency of the VCO is low, and further increases the oscillation frequency. Finally, the upper limit of the oscillation frequency of the VCO is reached.

こうなると、その後、リファレンスクロックが正常に戻ってもその状態から抜け出せず、PLL回路はデッドロック状態となる。   In this case, even if the reference clock returns to normal after that, it does not exit from that state, and the PLL circuit enters a deadlock state.

デッドロック状態からの自動復帰方法は、これまでにも様々な提案がある。   There have been various proposals for an automatic recovery method from a deadlock state.

例えば、特許文献1は、デッドロック状態からの復帰方法として、図9(B)に示すように、VCOの制御電圧を初期状態に戻すことによって、VCOの周波数をデッドロック状態の周波数(最高動作周波数)から初期状態の0に戻している。しかし、この方法では、PLL回路が正常ロック状態に復帰する(VCOの周波数が正常ロック状態の周波数に復帰する)までに長い時間を必要とする。PLL回路が組み込まれるシステムの用途によってはなるべく素早い復帰を要求される。   For example, in Patent Document 1, as a method for returning from a deadlock state, as shown in FIG. 9B, the VCO frequency is returned to the initial state by returning the control voltage of the VCO (the maximum operation). Frequency) to 0 in the initial state. However, in this method, a long time is required until the PLL circuit returns to the normal lock state (the VCO frequency returns to the frequency of the normal lock state). Depending on the application of the system in which the PLL circuit is incorporated, a quick return as much as possible is required.

特許文献2は、復帰時間にも着目した提案である。しかし、この方法では、大規模なアナログ回路が必要な上、動作条件やプロセス条件によるアナログ的な電圧変動幅を考えた時、実回路上での最適なアナログ電圧値を見つけ出す設計は容易ではなく、適用可能な周波数範囲も限定される虞がある。   Patent Document 2 is a proposal that pays attention to the return time. However, this method requires a large-scale analog circuit, and it is not easy to find the optimum analog voltage value on the actual circuit when considering the analog voltage fluctuation range depending on the operating conditions and process conditions. The applicable frequency range may be limited.

特許文献3,4もデッドロックからの復帰あるいは防止に着目しているが、いずれもアナログ電圧検出を必要としている。   Patent Documents 3 and 4 also focus on recovery from deadlock or prevention, but both require analog voltage detection.

上記のように、デッドロックから自動復帰でき、しかも可能な限り早い再ロック時間(復帰時間)となるような方法はこれまでも提案されているが、アナログ回路を用いた検出方法は、動作条件やプロセス条件により変動を受けやすく、面積も大きくなる。一方、デジタル回路のみで構成された例では、再ロックまでの時間短縮が最適値になっているとは言えない。   As described above, there has been proposed a method that can automatically recover from a deadlock and achieve the fastest possible relock time (recovery time). However, the detection method using an analog circuit is based on operating conditions. It is susceptible to fluctuations depending on the process conditions and the area increases. On the other hand, in an example composed only of digital circuits, it cannot be said that the time reduction until re-locking is an optimum value.

また、多くの提案は、電源投入後、あるいは正常リセット状態から初期ロックまでの動作中をデッドロック状態であると間違って検出してしまう、デッドロックの誤検出については詳しく言及されていない。   In addition, many proposals do not mention in detail the erroneous detection of deadlock that erroneously detects the deadlock state after the power is turned on or during the operation from the normal reset state to the initial lock.

特開平11−122102号公報JP-A-11-122102 特開2003−18004号公報JP 2003-18004 A 特開2006−174358号公報JP 2006-174358 A 特開2007−104585号公報JP 2007-104585 A

本発明の第1の目的は、誤検出することなく、デッドロック状態を正確に検出することができるデッドロック検出回路を提供することにある。
また、本発明の第2の目的は、デッドロック状態を検出してから、可能な限り短時間で正常ロック状態に復帰させることができるデッドロック復帰回路を提供することにある。
A first object of the present invention is to provide a deadlock detection circuit capable of accurately detecting a deadlock state without erroneous detection.
A second object of the present invention is to provide a deadlock recovery circuit capable of returning to a normal lock state in the shortest possible time after detecting a deadlock state.

上記目的を達成するために、本発明は、PLL回路のデッドロック状態を検出するデッドロック検出回路であって、
前記PLL回路の電圧制御発振器の出力信号を分周して、第1の分周クロックを出力するPLL内蔵分周器と、
前記電圧制御発振器の出力信号を分周して、前記PLL回路の位相比較器へのフィードバッククロックとなる第2の分周クロックを出力するフィードバック分周器と、
前記第1の分周クロックの周期によって決定される所定の期間に含まれる、前記第2の分周クロックのクロック数に基づいて、デッドロック状態であるか否かを表す判定信号を出力する誤ロック検出回路とを備えたことを特徴とするデッドロック検出回路を提供するものである。
In order to achieve the above object, the present invention is a deadlock detection circuit for detecting a deadlock state of a PLL circuit,
A PLL built-in frequency divider that divides the output signal of the voltage controlled oscillator of the PLL circuit and outputs a first frequency-divided clock;
A feedback frequency divider that divides the output signal of the voltage controlled oscillator and outputs a second frequency-divided clock as a feedback clock to the phase comparator of the PLL circuit;
An error that outputs a determination signal indicating whether or not a deadlock state is present based on the number of clocks of the second divided clock included in a predetermined period determined by the period of the first divided clock. A deadlock detection circuit comprising a lock detection circuit is provided.

ここで、前記誤ロック検出回路は、前記第1の分周クロックを2m(mは正の整数)分周して、第3の分周クロックを出力する第3の分周器と、
前記第3の分周クロックのパルスが一方のレベルの期間、リセット状態となり、他方のレベルの期間、前記第2の分周クロックのクロック数をカウントして、該カウントしたカウント数を出力するカウンタと、
前記カウント数が、前記PLL内蔵分周器の分周数×前記第3の分周器の分周数の1/2÷前記フィードバック分周器の分周数により決定される値の小数点以下の値を切り捨てて得られる整数値ないし該整数値の±1の範囲の値ではない時にデッドロック状態であることを表す前記判定信号を出力する判定回路とを備え、
前記整数値は、2以上の値であることが好ましい。
Here, the erroneous lock detection circuit divides the first frequency-divided clock by 2m (m is a positive integer), and outputs a third frequency-divided clock.
A counter that resets the pulse of the third divided clock during one level, counts the number of clocks of the second divided clock during the other level, and outputs the counted number When,
The number of counts is equal to or less than the decimal point of a value determined by the frequency division number of the PLL built-in frequency divider × 1/2 of the frequency division number of the third frequency divider ÷ frequency division number of the feedback frequency divider. A determination circuit that outputs the determination signal indicating a deadlock state when the value is not an integer value obtained by rounding down the value or a value in a range of ± 1 of the integer value;
The integer value is preferably 2 or more.

また、本発明は、PLL回路のデッドロック状態を検出し、前記PLL回路を正常ロック状態に復帰させるデッドロック復帰回路であって、
上記のいずれかに記載のデッドロック検出回路と、
前記PLL回路に入力されるリファレンスクロックに基づいて、該リファレンスクロックよりも高い周波数成分を含むダミーパルスを生成するダミーパルス生成回路と、
前記判定信号に基づいて、前記第2の分周クロックと前記ダミーパルスとを切り替えて、前記位相比較器に入力するマルチプレクサとを備えていることを特徴とするデッドロック復帰回路を提供する。
Further, the present invention is a deadlock recovery circuit that detects a deadlock state of a PLL circuit and returns the PLL circuit to a normal lock state.
A deadlock detection circuit according to any of the above,
A dummy pulse generation circuit that generates a dummy pulse including a frequency component higher than the reference clock based on a reference clock input to the PLL circuit;
A deadlock recovery circuit comprising: a multiplexer that switches between the second frequency-divided clock and the dummy pulse based on the determination signal and inputs the clock to the phase comparator.

ここで、前記ダミーパルス生成回路は、前記リファレンスクロックからダブルクロックを生成するダブルクロック生成回路と、該ダブルクロック生成回路から出力されるダブルクロックのパルス数をn回(nは3以上の整数)に1回間引くパルス間引き回路とを備えていることが好ましい。   Here, the dummy pulse generation circuit includes a double clock generation circuit that generates a double clock from the reference clock, and the number of double clock pulses output from the double clock generation circuit n times (n is an integer of 3 or more) And a pulse thinning circuit that thins out once.

また、本発明は、PLL回路のデッドロック状態を検出し、前記PLL回路を正常ロック状態に復帰させるデッドロック復帰回路であって、
上記のいずれかに記載のデッドロック検出回路と、
前記PLL回路に入力されるリファレンスクロックに基づいて、該リファレンスクロックよりも低い周波数成分を含むダミーパルスを生成するダミーパルス生成回路と、
前記判定信号に基づいて、前記リファレンスクロックと前記ダミーパルスとを切り替えて、前記位相比較器に入力する第1のマルチプレクサと、
前記判定信号に基づいて、前記第2の分周クロックと前記リファレンスクロックとを切り替えて、前記位相比較器に入力する第2のマルチプレクサとを備えていることを特徴とするデッドロック復帰回路を提供する。
Further, the present invention is a deadlock recovery circuit that detects a deadlock state of a PLL circuit and returns the PLL circuit to a normal lock state.
A deadlock detection circuit according to any of the above,
A dummy pulse generation circuit that generates a dummy pulse including a frequency component lower than the reference clock based on a reference clock input to the PLL circuit;
A first multiplexer that switches between the reference clock and the dummy pulse based on the determination signal and inputs the reference clock to the phase comparator;
A deadlock recovery circuit comprising: a second multiplexer that switches between the second divided clock and the reference clock based on the determination signal and inputs the clock to the phase comparator To do.

ここで、前記ダミーパルス生成回路は、前記リファレンスクロックのパルス数をn回(nは2以上の整数)に1回間引くパルス間引き回路であることが好ましい。   Here, the dummy pulse generation circuit is preferably a pulse thinning circuit that thins out the number of pulses of the reference clock once every n times (n is an integer of 2 or more).

本発明では、電圧制御発振器の出力自身を異常動作状態の検出の基準として使う。そのため、本発明によれば、電源投入後等の初期ロック動作中に誤検出するリスクはほとんどなく、デッドロック状態を正確に検出できる。   In the present invention, the output of the voltage controlled oscillator itself is used as a reference for detecting an abnormal operation state. Therefore, according to the present invention, there is almost no risk of erroneous detection during the initial lock operation after power-on or the like, and the deadlock state can be accurately detected.

また、本発明では、PLL回路の異常動作状態を検出すると、フィードバッククロックをリファレンスクロックよりも高い周波数のダミーパルスに切り替えて、または、フィードバッククロックをリファレンスクロックに切り替えるとともに、リファレンスクロックを、該リファレンスクロックよりも低い周波数のダミーパルスに切り替えて電圧制御発振器の周波数を徐々に下げることにより、電圧制御発振器の周波数の下がり過ぎを防止するとともに、フィードバック分周器が正常動作状態に復帰したら、フィードバッククロックをフィードバック分周器の分周クロックに戻す。これにより、本発明によれば、再ロックまでの時間を短縮できる。   In the present invention, when an abnormal operation state of the PLL circuit is detected, the feedback clock is switched to a dummy pulse having a frequency higher than that of the reference clock, or the feedback clock is switched to the reference clock, and the reference clock is switched to the reference clock. By switching to a lower frequency dummy pulse and gradually decreasing the frequency of the voltage controlled oscillator, the frequency controlled oscillator frequency is prevented from dropping too much, and when the feedback divider returns to normal operation, the feedback clock is Return to the frequency divider clock of the feedback divider. Thereby, according to this invention, the time to re-lock can be shortened.

以下に、添付の図面に示す好適実施形態に基づいて、本発明のデッドロック検出回路およびデッドロック復帰回路を詳細に説明する。   Hereinafter, a deadlock detection circuit and a deadlock recovery circuit according to the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.

図1は、本発明を適用する半導体集積回路の構成を表す一実施形態のブロック図である。同図に示す半導体集積回路10は、PLL回路のデッドロック状態を検出し、自動的に正常ロック状態に復帰させるデッドロック復帰回路を有するものであり、PLL回路12と、フィードバック分周器(FBDIV)14と、誤ロック検出回路16と、ダミーパルス生成回路18と、マルチプレクサ(MUX)20とによって構成されている。   FIG. 1 is a block diagram of an embodiment showing a configuration of a semiconductor integrated circuit to which the present invention is applied. The semiconductor integrated circuit 10 shown in the figure has a deadlock recovery circuit that detects a deadlock state of the PLL circuit and automatically returns it to a normal lock state. The semiconductor integrated circuit 10 includes a PLL circuit 12 and a feedback frequency divider (FBDIV). ) 14, an erroneous lock detection circuit 16, a dummy pulse generation circuit 18, and a multiplexer (MUX) 20.

PLL回路12には、通常の構成要素であるPFD22、CP24、LF26、VCO28に加え、さらに、VCO28の出力クロックを分周するPLL内蔵分周器(ADIV)30が内蔵されており、これらの構成要素は、この順序で直列に接続されている。PFD22には、リファレンスクロックREFCLKと、MUX20から出力されるフィードバッククロックFBCLKが入力され、VCO28からは出力クロックOUTCLKが出力されている。   The PLL circuit 12 incorporates a PLL built-in frequency divider (ADIV) 30 that divides the output clock of the VCO 28 in addition to the normal components PFD22, CP24, LF26, and VCO28. The elements are connected in series in this order. A reference clock REFCLK and a feedback clock FBCLK output from the MUX 20 are input to the PFD 22, and an output clock OUTCLK is output from the VCO 28.

ADIV30は、PLL回路12の設計時に、VCO28の最高動作周波数まで正常に動作するように設計(保証)されている。通常、VCO28が高周波数まで安定した発振をするためには、ロジックHレベルを示す電源電圧VDDと、Lレベルを示すグランド電圧GNDの間をフル振幅する回路ではなく、それよりも小さい振幅で動作するアナログタイプの発振器が使われることが多い。ADIV30は、このアナログタイプの発振器の小振幅出力を直接受け取り、ADIV30自身もアナログ回路で構成されることにより、ロジック回路で設計された分周器よりもはるかに高い周波数での分周動作が可能となる。ADIV30がアナログ分周器に限定される必要はないが、以上のような工夫で、VCO28の最高動作周波数まで動作が保証される高速分周器を、PLL回路12内部に作り込むことは可能である。このADIV30は、VCO28が最高動作周波数で動作(発振)した時でも、誤ロック検出回路16を含む外部ロジック(PLL回路12外部のデジタル回路)が十分に余裕を持って正常に動作できるように、その分周数が設定されている。ADIV30からは、分周クロックVDCLKが出力される。   The ADIV 30 is designed (guaranteed) so as to operate normally up to the maximum operating frequency of the VCO 28 when the PLL circuit 12 is designed. Normally, in order for the VCO 28 to oscillate stably up to a high frequency, it is not a circuit that fully amplifies between the power supply voltage VDD indicating the logic H level and the ground voltage GND indicating the L level, but operates with an amplitude smaller than that. Analog type oscillators are often used. ADIV30 directly receives the small-amplitude output of this analog type oscillator, and ADIV30 itself is also composed of an analog circuit, so that it is possible to divide at a much higher frequency than the frequency divider designed by the logic circuit. It becomes. The ADIV 30 does not have to be limited to an analog divider, but with the above-described devices, it is possible to build a high-speed divider that guarantees operation up to the maximum operating frequency of the VCO 28 in the PLL circuit 12. is there. The ADIV 30 is configured so that even when the VCO 28 operates (oscillates) at the maximum operating frequency, the external logic including the erroneous lock detection circuit 16 (digital circuit outside the PLL circuit 12) can operate normally with sufficient margin. The frequency division number is set. The ADIV 30 outputs a frequency-divided clock VDCLK.

例えば、VCO28の最高動作周波数が2GHzであり、外部ロジックが2GHzでは動作できない場合であっても、これを8分周すれば250MHzとなり、近年の半導体プロセスであれば十分に動作可能な周波数になる。   For example, even when the maximum operating frequency of the VCO 28 is 2 GHz and the external logic cannot operate at 2 GHz, the frequency becomes 250 MHz if it is divided by 8 and becomes a sufficiently operable frequency in recent semiconductor processes. .

なお、出力クロックOUTCLKに関しては、VCO28の出力信号をそのまま出力(分周なし)してもよいし、PLL回路12内部でVCO28の出力信号を分周して出力(分周あり)してもよく、特に限定されない。   Regarding the output clock OUTCLK, the output signal of the VCO 28 may be output as it is (without frequency division), or the output signal of the VCO 28 may be divided and output (with frequency division) inside the PLL circuit 12. There is no particular limitation.

続いて、FBDIV14は、出力クロックOUTCLKを分周して、PFD22へのフィードバッククロックFBCLKとなる分周クロックOUTDIVを出力する。ここで、汎用的なPLL回路では、一般に出力クロックOUTCLKに対するフィードバッククロックFBCLKの分周数(つまり、FBDIV14の分周数)をある範囲内で任意に選択できる。そのため、FBDIV14の分周数は、ADIV30の分周数とは異なる分周数になる場合もあるし、偶然に同じ分数数になる場合もある。本実施形態においても同じである。   Subsequently, the FBDIV 14 divides the output clock OUTCLK and outputs a divided clock OUTDIV that becomes the feedback clock FBCLK to the PFD 22. Here, in a general-purpose PLL circuit, in general, the frequency division number of the feedback clock FBCLK with respect to the output clock OUTCLK (that is, the frequency division number of the FBDIV 14) can be arbitrarily selected within a certain range. For this reason, the frequency division number of the FBDIV 14 may be different from the frequency division number of the ADIV 30 or may be accidentally the same fraction number. The same applies to the present embodiment.

続いて、誤ロック検出回路16は、分周クロックVDCLKの周期によって決定される所定の期間に含まれる、分周クロックOUTDIVのクロック数に基づいて、デッドロック状態であるか否かを表す判定信号ERJDGを出力する。詳細は後述する。   Subsequently, the erroneous lock detection circuit 16 determines whether or not it is in a deadlock state based on the number of clocks of the divided clock OUTDIV included in a predetermined period determined by the cycle of the divided clock VDCLK. ERJDG is output. Details will be described later.

ダミーパルス生成回路18は、リファレンスクロックREFCLKに基づいて、リファレンスクロックREFCLKよりも僅かに高い周波数成分を含む(リファレンスクロックREFCLKよりも僅かにパルス頻度が高い)ダミーパルスDUMPLSを生成する。ここで、ダミーパルスDUMPLSがリファレンスクロックREFCLKよりも僅かに高い周波数成分を含むとは、PFD22からパルス状のダウン信号DNが出力されるが、出力され続ける状態にはならない状態をいう。詳細は後述する。   Based on the reference clock REFCLK, the dummy pulse generation circuit 18 generates a dummy pulse DUMPLS including a frequency component slightly higher than the reference clock REFCLK (a pulse frequency slightly higher than that of the reference clock REFCLK). Here, the fact that the dummy pulse DUMPLS includes a frequency component slightly higher than the reference clock REFCLK means that the pulsed down signal DN is output from the PFD 22, but does not continue to be output. Details will be described later.

MUX20の入力端子A0には分周クロックOUTDIVが入力され、A1にはダミーパルスDUMPLSが入力され、選択入力端子には判定信号ERJDGが入力される。従って、MUX20の経路選択は判定信号ERJDGに基づいて制御され、分周クロックOUTDIVとダミーパルスDUMPLSとの切り替えが行われる。つまり、MUX20からは、フィードバッククロックFBCLKとして、判定信号ERJDGがLの時には分周クロックOUTDIVが出力され、一方、判定信号ERJDGがHの時にはダミーパルスDUMPLSが出力され、PFD22に入力される。   The frequency division clock OUTDIV is input to the input terminal A0 of the MUX 20, the dummy pulse DUMPLS is input to the A1, and the determination signal ERJDG is input to the selection input terminal. Therefore, the route selection of the MUX 20 is controlled based on the determination signal ERJDG, and switching between the divided clock OUTDIV and the dummy pulse DUMPLS is performed. That is, the MUX 20 outputs the divided clock OUTDIV as the feedback clock FBCLK when the determination signal ERJDG is L, and outputs the dummy pulse DUMPLS when the determination signal ERJDG is H and is input to the PFD 22.

ここで、PLL回路12に内蔵されるADIV30と、FBDIV14と、誤ロック検出回路16は、本発明のデッドロック検出回路を構成する。なお、FBDIV14は、PLL回路12の逓倍機能を実現するために実装されるものである。また、本発明のデッドロック検出回路と、ダミーパルス生成回路18と、MUX20は、本発明のデッドロック復帰回路を構成する。   Here, the ADIV 30, the FBDIV 14, and the erroneous lock detection circuit 16 built in the PLL circuit 12 constitute a deadlock detection circuit of the present invention. The FBDIV 14 is mounted in order to realize the multiplication function of the PLL circuit 12. The deadlock detection circuit, dummy pulse generation circuit 18 and MUX 20 of the present invention constitute a deadlock recovery circuit of the present invention.

続いて、誤ロック検出回路16について説明する。   Next, the erroneous lock detection circuit 16 will be described.

図2は、図1に示す誤ロック検出回路の構成を表すブロック図である。同図に示す誤ロック検出回路16は、分周器VDDIV32と、カウンタ34と、判定回路36とによって構成されている。   FIG. 2 is a block diagram showing the configuration of the erroneous lock detection circuit shown in FIG. The erroneous lock detection circuit 16 shown in FIG. 1 includes a frequency divider VDDIV32, a counter 34, and a determination circuit 36.

ここで、誤ロック状態とは、デッドロック状態を含む異常動作状態であることを表す。つまり、正常ロック状態を含む正常動作状態ではない状態である。   Here, the erroneous lock state represents an abnormal operation state including a deadlock state. That is, it is a state that is not a normal operation state including a normal lock state.

VDDIV32は、分周クロックVDCLKを2m(mは正の整数)分周し、H期間とL期間が50:50である分周クロックERCHKを出力する。分周クロックERCHKは、カウンタ34のカウント及びリセットを制御するための信号となる。   The VDDIV 32 divides the frequency-divided clock VDCLK by 2 m (m is a positive integer) and outputs a frequency-divided clock ERCHK in which the H period and the L period are 50:50. The frequency-divided clock ERCHK is a signal for controlling the counting and resetting of the counter 34.

カウンタ34は、分周クロックERCHKのパルスが一方のレベルの期間、例えばLの期間、リセット状態となり、他方のレベルの期間、例えばHの期間、分周クロックOUTDIVのクロック数をカウントして、カウントしたカウント数(カウント値)を出力する。   The counter 34 is reset during the period of one level of the pulse of the divided clock ERCK, for example, the period of L, and counts the number of clocks of the divided clock OUTDIV during the period of the other level, for example, the period H. The counted number (count value) is output.

例えば、VDDIV32の分周数がFBDIVの分周数の2倍であり、カウンタ34は、分周クロックERCHKがHの期間、カウントする場合を考える。この場合、正常ロック状態の時のカウント数は、ADIV30の分周数と同じになるはずである。また、この関係はVCO28の発振周波数がどのような状態にあっても成り立つ。つまり、システムの電源投入後などに、PLL回路12が正常ロック状態に向かう途中であっても成り立つ。   For example, consider a case where the frequency division number of VDDIV32 is twice the frequency division number of FBDIV and the counter 34 counts while the frequency division clock ERCHK is H. In this case, the count number in the normal lock state should be the same as the frequency division number of ADIV30. This relationship is valid regardless of the oscillation frequency of the VCO 28. That is, even if the PLL circuit 12 is on the way to the normal lock state after the system is turned on.

判定回路36は、カウンタ34のカウント数が、ADIV30の分周数×VDDIV32の分周数の1/2÷FBDIV14の分周数により決定される値の小数点以下の値を切り捨てて得られる整数値ないしこの整数値の±1の範囲の値ではない時に、デッドロック状態であることを表す判定信号ERJDGを出力する。ここで、前述の整数値は、2以上(つまり、カウント数が1以上)の値である。   The determination circuit 36 is an integer value obtained by rounding off the value after the decimal point of the value determined by the division number of the ADIV30 × 1/2 of the division number of the VDDIV32 ÷ the division number of the FBDIV14. When the value is not in the range of ± 1 of the integer value, the determination signal ERJDG indicating the deadlock state is output. Here, the aforementioned integer value is a value of 2 or more (that is, the count number is 1 or more).

なお、ADIV30、VDDIV32、FBDIV14の分周数は、上記の通り、前述の整数値が2以上の値となる条件を満足している必要がある。   Note that the frequency division numbers of ADIV30, VDDIV32, and FBDIV14 need to satisfy the condition that the integer value is 2 or more as described above.

本実施形態の場合、判定信号ERJDGは、正常動作状態の時にLが出力され、MUX20は、A0の経路が選択される。一方、異常動作状態の時には判定信号ERJDGとしてHが出力され、MUX20は、A1の経路が選択される。   In the case of the present embodiment, the determination signal ERJDG is output as L when in a normal operation state, and the MUX 20 selects the route A0. On the other hand, in the abnormal operation state, H is output as the determination signal ERJDG, and the MUX 20 selects the route A1.

ここで、分周クロックERCHKと分周クロックOUTDIVは、これらの信号が発生されるまでの経路が異なっている。また、PLL回路12のFB経路には、半導体チップ内のCTS(クロックツリーシンセシス)による遅延をキャンセルするために大きな遅延(図1では省略)が挿入される場合もある。そのため、分周クロックERCHKと分周クロックOUTDIVのタイミング(位相関係)は、一定の関係にない(非同期である)ことがほとんどと言ってもよい。   Here, the divided clock ERCK and the divided clock OUTDIV have different paths until these signals are generated. Further, a large delay (not shown in FIG. 1) may be inserted into the FB path of the PLL circuit 12 in order to cancel the delay due to CTS (clock tree synthesis) in the semiconductor chip. Therefore, it can be said that the timing (phase relationship) between the divided clock ERCK and the divided clock OUTDIV is not in a fixed relationship (asynchronous).

また、分周クロックERCHKと分周クロックOUTDIVが非同期であるため、カウンタ34によるカウント数は必ずしも一定しないかもしれないので、上記のように、±1の範囲であっても正常動作と見なす構成にすることが望ましい。FBDIV14が異常動作状態となる場合は、分周クロックOUTDIVのパルス数が僅かに少なくなるような動作にはならず、パルス数は大幅に減少するからである。   Also, since the frequency-divided clock ERCK and the frequency-divided clock OUTDIV are asynchronous, the number of counts by the counter 34 may not always be constant. Therefore, as described above, the configuration is regarded as normal operation even within the range of ± 1. It is desirable to do. This is because when the FBDIV 14 is in an abnormal operation state, the operation is not performed such that the number of pulses of the divided clock OUTDIV is slightly reduced, and the number of pulses is significantly reduced.

また、誤ロック検出回路16のカウンタ34のリセットやカウント数の読み取りには、グレーコードカウンタ(デコーダ)を使ったり、メタステーブル対策のクロック載せ替えを行う回路(2段構成のシフトレジスタ)を設けたりするような非同期信号対策を施すことが望ましい。この非同期信号対策回路そのものは各種構成のものが公知であり、本発明においても一般的なものでよく、その構成に限定はない。   Also, for resetting the counter 34 of the erroneous lock detection circuit 16 and reading the count number, a gray code counter (decoder) is used, or a circuit (two-stage shift register) for changing the clock to prevent metastable is provided. It is desirable to take measures against asynchronous signals. The asynchronous signal countermeasure circuit itself has various configurations, and may be general in the present invention, and the configuration is not limited.

続いて、ダミーパルス生成回路18について説明する。   Next, the dummy pulse generation circuit 18 will be described.

図3は、図1に示すダミーパルス生成回路の構成を表すブロック図である。同図に示すダミーパルス生成回路18は、ダブルクロック生成回路38と、パルス間引き回路40とによって構成されている。   FIG. 3 is a block diagram showing the configuration of the dummy pulse generation circuit shown in FIG. The dummy pulse generation circuit 18 shown in FIG. 1 includes a double clock generation circuit 38 and a pulse thinning circuit 40.

ダブルクロック生成回路38は、リファレンスクロックREFCLKからダブルクロック(リファレンスクロックREFCLKの2倍のパルス数を持つクロック)REFX2を生成する。ダブルクロック生成回路38は、遅延回路38aと、EORゲート38bとによって構成されている。EORゲート38bには、リファレンスクロックREFCLKと、遅延回路38aによって遅延されたリファレンスクロックREFCLKが入力される。EORゲート38bからは、リファレンスクロックREFCLKの立上りと立下りから遅延回路38aの遅延時間に相当するパルス幅を持つダブルクロックREFX2が出力される。   The double clock generation circuit 38 generates a double clock (a clock having a pulse number twice that of the reference clock REFCLK) REFX2 from the reference clock REFCLK. The double clock generation circuit 38 includes a delay circuit 38a and an EOR gate 38b. The EOR gate 38b receives the reference clock REFCLK and the reference clock REFCLK delayed by the delay circuit 38a. The EOR gate 38b outputs a double clock REFX2 having a pulse width corresponding to the delay time of the delay circuit 38a from the rise and fall of the reference clock REFCLK.

上記のダブルクロック生成回路38の構成は一般的なものである。ダミーパルスDUMPLSは、リファレンスクロックREFCLKよりも高い周波数成分、好ましくは僅かに高い周波数成分を持っていることが理想的であり、例えば、2倍の周波数でよい場合もある(パルス間引き回路40なし)。   The configuration of the double clock generation circuit 38 is general. It is ideal that the dummy pulse DUMPLS has a frequency component higher than the reference clock REFCLK, preferably a slightly higher frequency component. For example, the dummy pulse DUMPLS may have a frequency twice as high (without the pulse thinning circuit 40). .

パルス間引き回路40は、ダブルクロックREFX2のパルス数をn回(nは3以上の整数)に1回、後に示す本実施形態の具体例の場合、4回に1回間引いて、異常動作状態の時に、フィードバッククロックFBCLKとして分周クロックOUTDIVの代わりに使用されるダミーパルスDUMPLSを生成する。   The pulse thinning circuit 40 thins out the number of pulses of the double clock REFX2 once every n times (n is an integer of 3 or more), and in the case of the specific example of this embodiment described later, once every four times, Sometimes, a dummy pulse DUMPLS used as a feedback clock FBCLK instead of the divided clock OUTDIV is generated.

ダブルクロックREFX2のパルス頻度を下げるために、ダブルクロックREFX2のパルス数を4回に1回間引くことにより、リファレンスクロックREFCLKに対して1.5倍のパルス数のダミーパルスDUMPLSを作ることができる。こうして生成された1.5倍のダミーパルスDUMPLSは、平均周期がリファレンスクロックREFCLKの1/1.5であるが、定期的なクロック形状(クロック波形)にはなっていない。しかし、本発明の目的達成のためにはその形状で十分である。   In order to reduce the pulse frequency of the double clock REFX2, a dummy pulse DUMPLS having a pulse number 1.5 times that of the reference clock REFCLK can be generated by thinning out the number of pulses of the double clock REFX2 once every four times. The 1.5-fold dummy pulse DUMPLS generated in this way has an average period that is 1 / 1.5 of the reference clock REFCLK, but does not have a regular clock shape (clock waveform). However, that shape is sufficient for the purposes of the present invention.

リファレンスクロックREFCLKに対するダミーパルスDUMPLSのパルス頻度を上げることによって、異常動作状態の時に、VCO28の発振周波数を下げることができる。しかし、ダミーパルスDUMPLSのパルス頻度を上げ過ぎるとダウン信号DNが出続け、VCO28の発振周波数が急激に下がるために下がり過ぎ、正常ロック状態となるまでに長時間を必要とすることになる。そのため、ダミーパルスDUMPLSのパルス頻度は、リファレンスクロックREFCLKの1倍以上、2倍以下程度とすることが望ましい。   By increasing the pulse frequency of the dummy pulse DUMPLS with respect to the reference clock REFCLK, the oscillation frequency of the VCO 28 can be decreased during an abnormal operation state. However, if the pulse frequency of the dummy pulse DUMPLS is increased too much, the down signal DN continues to be output, and since the oscillation frequency of the VCO 28 decreases rapidly, it is too low, and a long time is required until a normal lock state is achieved. Therefore, the pulse frequency of the dummy pulse DUMPLS is desirably about 1 to 2 times the reference clock REFCLK.

次に、図1に示す半導体集積回路10の動作を説明する。   Next, the operation of the semiconductor integrated circuit 10 shown in FIG. 1 will be described.

誤ロック検出回路16において、正常動作状態の時、判定信号ERJDGはLであり、MUX20の経路はA0側が選択される。   When the erroneous lock detection circuit 16 is in a normal operation state, the determination signal ERJDG is L, and the route of the MUX 20 is selected on the A0 side.

正常動作状態の時、PLL回路12では、PFD22によって、リファレンスクロックREFCLKとフィードバッククロックFBCLKとの位相差が検出され、その検出結果となるアップ信号UPまたはダウン信号DNが出力される。例えば、PFD22は、リファレンスクロックREFCLKとフィードバッククロックFBCLKの立上りの位相を比較し、リファレンスクロックREFCLKの位相の方がフィードバッククロックFBCLKの位相よりも早い場合にはアップ信号UPを出力し、その逆の場合にはダウン信号DNを出力する。   In the normal operation state, in the PLL circuit 12, the phase difference between the reference clock REFCLK and the feedback clock FBCLK is detected by the PFD 22, and the up signal UP or the down signal DN that is the detection result is output. For example, the PFD 22 compares the rising phases of the reference clock REFCLK and the feedback clock FBCLK, and outputs the up signal UP when the phase of the reference clock REFCLK is earlier than the phase of the feedback clock FBCLK, and vice versa. Outputs a down signal DN.

続いて、CP24により、アップ信号UPまたはダウン信号DNに応じて、その出力信号のパルス幅が変更され、さらにLP26によって、CP24の出力信号のパルス幅に応じた制御電圧(アナログ電圧)に変換される。VCO28では、制御電圧に応じて出力クロックOUTCLKの発振周波数が変更され、PLL回路12の出力クロックとして出力されるとともに、FBDIV14に入力される。   Subsequently, the pulse width of the output signal is changed according to the up signal UP or the down signal DN by the CP 24, and further converted into a control voltage (analog voltage) according to the pulse width of the output signal of the CP 24 by the LP 26. The In the VCO 28, the oscillation frequency of the output clock OUTCLK is changed according to the control voltage, and is output as the output clock of the PLL circuit 12 and also input to the FBDIV 14.

FBDIV14では、設定された逓倍数に応じて、出力クロックOUTCLKが分周される。分周クロックOUTDIVは、判定信号ERJDGがLの場合(正常動作状態の時)、MUX20を介してPFD22にフィードバッククロックFBCLKとして入力される。以後同様にして、リファレンスクロックREFCLKとフィードバッククロックFBCLKとの位相差を検出し、出力クロックOUTCLKの発振周波数を変更することを繰り返すことによって、リファレンスクロックREFCLKとフィードバッククロックFBCLKの位相が同期(ロック)される。   In the FBDIV 14, the output clock OUTCLK is divided according to the set multiplication number. The divided clock OUTDIV is input as a feedback clock FBCLK to the PFD 22 via the MUX 20 when the determination signal ERJDG is L (in a normal operation state). Thereafter, similarly, the phase difference between the reference clock REFCLK and the feedback clock FBCLK is synchronized (locked) by repeatedly detecting the phase difference between the reference clock REFCLK and the feedback clock FBCLK and changing the oscillation frequency of the output clock OUTCLK. The

また、誤ロック検出回路16では、分周クロックVDCLKがVDDIV32によって分周され、分周クロックERCHKが出力される。カウンタ34は、分周クロックERCHKがHの期間、分周クロックOUTDIVのクロック数をカウントし、カウントしたカウント数は判定回路36によって判定される。正常動作状態の時には、カウント数が、前述の整数値±1の範囲となって判定信号ERJDGはLとなり、前述の通り、MUX20の経路としてA0が選択される。   In the erroneous lock detection circuit 16, the divided clock VDCLK is divided by VDDIV32 and the divided clock ERCHK is output. The counter 34 counts the number of clocks of the frequency-divided clock OUTDIV while the frequency-divided clock ERCK is H, and the counted number is determined by the determination circuit 36. In the normal operation state, the count number is in the range of the above-described integer value ± 1, and the determination signal ERJDG becomes L, and A0 is selected as the path of the MUX 20 as described above.

一方、例えば、VCO28の周波数が高くなり、FBDIV14が正常動作できなくなると、誤ロック検出回路16は、異常動作状態、すなわち誤ロック状態と見なして判定信号ERJDGがHとなり、MUX20の経路はA1に切り替えられる。   On the other hand, for example, when the frequency of the VCO 28 becomes high and the FBDIV 14 cannot operate normally, the erroneous lock detection circuit 16 assumes that it is in an abnormal operation state, that is, an erroneous lock state, the determination signal ERJDG becomes H, and the path of the MUX 20 is A1. Can be switched.

この場合、フィードバッククロックFBCLKとしてダミーパルスDUMPLSが出力され、フィードバッククロックFBCLKの周波数がリファレンスクロックREFCLKよりも高くなるので、PLL回路12は、VCO28の発振周波数が高いと見なして周波数を下げるためにダウン信号DNを出力する。出力クロックOUTCLKの周波数が下がってFBDIV14が正常動作状態に戻ると、それを誤ロック検出回路16が検出して判定信号ERJDGがLとなり、MUXの経路がA0側に戻る。これ以後は通常のPLL動作で正常ロック状態に向かう。   In this case, the dummy pulse DUMPLS is output as the feedback clock FBCLK, and the frequency of the feedback clock FBCLK becomes higher than that of the reference clock REFCLK. Therefore, the PLL circuit 12 considers that the oscillation frequency of the VCO 28 is high and reduces the frequency to reduce the frequency. DN is output. When the frequency of the output clock OUTCLK decreases and the FBDIV 14 returns to the normal operation state, the erroneous lock detection circuit 16 detects this and the determination signal ERJDG becomes L, and the MUX path returns to the A0 side. Thereafter, the normal lock operation is performed in a normal PLL operation.

以下、具体例を挙げて説明する。   Hereinafter, a specific example will be described.

図4は、図1に示す半導体集積回路の具体例を表すブロック図である。同図に示す半導体集積回路50は、基本的に、図1に示す半導体集積回路10において、図2に示す構成の誤ロック検出回路16と図3に示す構成のダミーパルス生成回路18を組み込んだ構成となっている。半導体集積回路50では、PLL回路12のADIV30の分周数を8分周とし、FBDIV14の分周数を5分周としている。   FIG. 4 is a block diagram showing a specific example of the semiconductor integrated circuit shown in FIG. The semiconductor integrated circuit 50 shown in the figure basically includes the erroneous lock detection circuit 16 having the configuration shown in FIG. 2 and the dummy pulse generating circuit 18 having the configuration shown in FIG. 3 in the semiconductor integrated circuit 10 shown in FIG. It has a configuration. In the semiconductor integrated circuit 50, the frequency division number of the ADIV 30 of the PLL circuit 12 is divided by 8, and the frequency division number of the FBDIV 14 is divided by 5.

誤ロック検出回路16において、VDDIV32は、2つの分周器32a、32bを備えている。なお、ここでは、理解を容易にするために、2つの分周器に分けているが、1つの分周器でも実現できることは言うまでもない。   In the erroneous lock detection circuit 16, the VDDIV 32 includes two frequency dividers 32a and 32b. Here, in order to facilitate understanding, the frequency divider is divided into two frequency dividers, but needless to say, it can be realized with one frequency divider.

図5のタイミングチャートに示すように、分周クロックVDCLKは、分周器32aによって5分周され、分周クロックVDCLK5として出力される。この例では、分周クロックVDCLK5は、分周クロックVDCLKの3クロック分の期間がHとなり、2クロック分の期間がLとなる(H:L=3:2)。なお、分周クロックVDCLK5のHとLの配分は何ら限定されず、例えば、2:3でもよいし、1:4でも4:1でもよいし、分周クロックVDCLKの立下りを利用して2.5:2.5としてもよい。   As shown in the timing chart of FIG. 5, the frequency-divided clock VDCLK is divided by 5 by the frequency divider 32a and output as the frequency-divided clock VDCLK5. In this example, the divided clock VDCLK5 has a period of 3 clocks of the divided clock VDCLK as H and a period of 2 clocks as L (H: L = 3: 2). The distribution of H and L of the divided clock VDCLK5 is not limited at all. For example, it may be 2: 3, 1: 4 or 4: 1, or 2 using the falling edge of the divided clock VDCLK. .5: 2.5.

また、分周クロックVDCLK5は、分周器32bによって2分周され、分周クロックERCHKとして出力される。分周器32bで分周クロックVDCLK5を2分周することによって、分周クロックERCHKのHとLの配分が5:5となる。   The frequency-divided clock VDCLK5 is frequency-divided by 2 by the frequency divider 32b and output as the frequency-divided clock ERCK. By dividing the divided clock VDCLK5 by 2 by the frequency divider 32b, the distribution of H and L of the divided clock ERCK becomes 5: 5.

カウンタ34は、表1に示すように、分周クロックERCHKのパルスがLの期間、分周クロックOUTDIVの状態に関わらず(分周クロックOUTDIV=X)、リセット状態(カウンタ出力=0)となって待機する。一方、分周クロックERCHKがHの期間、分周クロックOUTDIVの立上りエッジ(↑)のタイミングで0からカウントアップし、カウントしたカウント数(カウンタ出力)を出力する。表1の例では、カウンタ34は、カウント数が10に到達するとカウントアップをやめ、その後分周クロックOUTDIVの立上りエッジが来ても10を保持する。   As shown in Table 1, the counter 34 is in a reset state (counter output = 0) regardless of the state of the divided clock OUTDIV (the divided clock OUTDIV = X) while the pulse of the divided clock ERCK is L. And wait. On the other hand, while the frequency-divided clock ERCHK is H, it counts up from 0 at the timing of the rising edge (↑) of the frequency-divided clock OUTDIV, and outputs the counted number (counter output). In the example of Table 1, the counter 34 stops counting up when the count number reaches 10, and holds 10 even when the rising edge of the divided clock OUTDIV comes thereafter.

Figure 2010124102
Figure 2010124102

なお、カウンタ34のカウント数が10でカウントアップを停止している理由は、カウント数が10以上となったら、これ以後は、カウント数がどれだけ増えても正常動作状態ではないと判定回路36が判定できるからである。なお、これに限定されず、カウント数を10で停止させずにカウントアップを続行させてもよい。   The reason why the count up of the counter 34 is stopped when the count number is 10 is that when the count number becomes 10 or more, the determination circuit 36 indicates that the normal operation state is not reached no matter how much the count number thereafter increases. This is because it can be determined. However, the present invention is not limited to this, and the count-up may be continued without stopping the count number at 10.

前述のように、ADIV30の分周数(=8)×VDDIV32の分周数(=5×2=10)×1/2÷FBDIV14の分周数(=5)=8であるから、正常動作状態の時、カウンタ34のカウント数は常に8±1(7〜9)の範囲となる。   As described above, the frequency division number of ADIV30 (= 8) × the frequency division number of VDDIV32 (= 5 × 2 = 10) × 1/2 ÷ the frequency division number of FBDIV14 (= 5) = 8. In the state, the count number of the counter 34 is always in the range of 8 ± 1 (7-9).

判定回路36は、表2に示すように、カウンタ34のカウント数が8±1の範囲か否かを判定し、判定信号ERJDGを出力する。判定信号ERJDGは、カウント数(カウンタ出力)が8±1の範囲の時にLとなり、8±1の範囲ではない時にHとなる。   As shown in Table 2, the determination circuit 36 determines whether or not the count number of the counter 34 is in the range of 8 ± 1, and outputs a determination signal ERJDG. The determination signal ERJDG becomes L when the count number (counter output) is in the range of 8 ± 1, and becomes H when not in the range of 8 ± 1.

Figure 2010124102
Figure 2010124102

続いて、ダミーパルス生成回路18において、ダブルクロック生成回路38の構成は図2に示すものと同じである。   Subsequently, in the dummy pulse generation circuit 18, the configuration of the double clock generation circuit 38 is the same as that shown in FIG.

パルス間引き回路40は、表3に示すように、ダブルクロック生成回路38で生成されたダブルクロックREFX2のHパルスを4回に1回間引き、ダミーパルスDUMPLSとして出力する。   As shown in Table 3, the pulse decimation circuit 40 decimates the H pulse of the double clock REFX2 generated by the double clock generation circuit 38 once every four times, and outputs it as a dummy pulse DUMPLS.

Figure 2010124102
Figure 2010124102

この例では、パルス間引き回路40は、内部に0〜3まで繰り返しカウントするカウンタを備えている。図6のタイミングチャートに示すように、この内部カウンタは、ダブルクロックREFX2の立下りエッジ(↓)のタイミングでカウントアップする。パルス間引き回路40では、内部カウンタのカウント値が0,1,3の時はダブルクロックREFX2をそのままダミーパルスDUMPLSとして出力するが、カウント値が2の時はダブルクロックREFX2のHパルスをマスクしてLを出力する。これにより、ダブルクロックREFX2の4回に1回だけパルスの間引きを行うことができる。   In this example, the pulse thinning circuit 40 includes a counter that repeatedly counts from 0 to 3 inside. As shown in the timing chart of FIG. 6, this internal counter counts up at the falling edge (↓) timing of the double clock REFX2. In the pulse thinning circuit 40, when the count value of the internal counter is 0, 1, 3, the double clock REFX2 is output as a dummy pulse DUMPLS as it is, but when the count value is 2, the H pulse of the double clock REFX2 is masked. L is output. As a result, it is possible to perform pulse thinning only once every four times of the double clock REFX2.

なお、内部カウンタをダブルクロックREFX2の立下りエッジのタイミングでカウントアップさせるのは、この例ではダブルクロックREFX2のHパルス(H区間)をマスクする仕様としたため、図6のタイミングチャートに示すように、マスクするタイミング設計が容易になるからである。ただし、マスクするタイミングを適宜調整することによって内部カウンタをダブルクロックREFX2の立上りエッジでカウントアップさせることもできるし、さらには、ダブルクロックREFX2のLパルス(L区間)をマスクしてHを出力する構成としてもよい。   Note that the internal counter is counted up at the falling edge timing of the double clock REFX2, because in this example, the specification is such that the H pulse (H section) of the double clock REFX2 is masked, as shown in the timing chart of FIG. This is because the timing design for masking is facilitated. However, the internal counter can be counted up at the rising edge of the double clock REFX2 by appropriately adjusting the masking timing. Further, the L pulse (L section) of the double clock REFX2 is masked and H is output. It is good also as a structure.

なお、上記カウンタ34、判定回路36、パルス間引き回路40の具体的な回路構成は何ら限定されない。これらの回路は、例えば、表1〜3(真理値表)に基づいて回路記述言語で記述し、論理合成することで容易に実現できる。   The specific circuit configurations of the counter 34, the determination circuit 36, and the pulse thinning circuit 40 are not limited at all. These circuits can be easily realized by describing them in a circuit description language based on Tables 1 to 3 (truth table) and logically synthesizing them.

また、ここで示した回路及び仕様(分周数や間引き等の設定)は一例であり、例えば、分周クロックERCHKの生成方法、カウンタ34、判定回路36、パルス間引き回路40の具体的仕様を限定するものではない。さらには、ステートマシンの無限ループ突入を回避する工夫などは、デジタル回路設計では一般的に考慮されるものであり、本発明の骨子には関係がないため、この例では具体的な仕様は示していない。   The circuits and specifications shown here (settings such as the frequency division number and decimation) are merely examples. For example, the specific specifications of the method of generating the frequency division clock ERCHK, the counter 34, the determination circuit 36, and the pulse decimation circuit 40 are shown. It is not limited. Furthermore, the idea to avoid the infinite loop entry of the state machine is generally considered in digital circuit design and has nothing to do with the gist of the present invention. Not.

半導体集積回路50の動作は、具体的に、カウンタ34のカウント数が8±1の範囲の値であるか否かによって、フィードバッククロックFBCLKとして、分周クロックOUTDIVもしくはダミーパルスDUMPLSを出力する点を除いて半導体集積回路10と同様である。つまり、カウント数が8±1の範囲の場合は正常動作状態となり、カウント数がそれ以外の数値である場合には異常動作状態となる。また、異常動作状態であることが検出されると(判定信号ERJDG=H)、フィードバッククロックFBCLKとして、ダブルクロックREFX2のHパルスが4回に1回マスクされたダミーパルスDUMPLSが出力される。   Specifically, the operation of the semiconductor integrated circuit 50 is such that the frequency-divided clock OUTDIV or the dummy pulse DUMPLS is output as the feedback clock FBCLK depending on whether or not the count number of the counter 34 is in the range of 8 ± 1. Except for this, it is the same as the semiconductor integrated circuit 10. That is, when the count number is in the range of 8 ± 1, the normal operation state is obtained, and when the count number is any other value, the abnormal operation state is obtained. When an abnormal operation state is detected (determination signal ERJDG = H), a dummy pulse DUMPLS in which the H pulse of the double clock REFX2 is masked once every four times is output as the feedback clock FBCLK.

ここで、PFD22として、広く採用されているPFD方式を想定する。このPFD22は、図7のタイミングチャートに示すように、リセット状態(リファレンスクロックREFCLKとフィードバッククロックFBCLKがLの状態)からフィードバッククロックFBCLK(ダミーパルスDUMPLS)よりもリファレンスクロックREFCLKの立上りが先に来るとアップ信号UPをHとし、次のフィードバッククロックFBCLKの立上りでLに戻す。アップ信号UPがHの期間中はCP24でVCO28の制御電圧がチャージアップされ、VCO28の周波数が上がる。   Here, a widely adopted PFD system is assumed as the PFD 22. As shown in the timing chart of FIG. 7, when the reference clock REFCLK rises earlier than the feedback clock FBCLK (dummy pulse DUMPLS) from the reset state (the state where the reference clock REFCLK and the feedback clock FBCLK are L). The up signal UP is set to H, and is returned to L at the rise of the next feedback clock FBCLK. While the up signal UP is H, the control voltage of the VCO 28 is charged up by the CP 24 and the frequency of the VCO 28 is increased.

逆に、PFD22は、リセット状態からリファレンスクロックREFCLKよりもフィードバッククロックFBCLK(ダミーパルスDUMPLS)の立上りが先に来るとダウン信号DNをHとし、次のリファレンスクロックREFCLKの立上りでLに戻す。ダウン信号DNがHの期間中はCP24で制御電圧がディスチャージされ、VCO28の周波数が下がる。   Conversely, the PFD 22 sets the down signal DN to H when the feedback clock FBCLK (dummy pulse DUMPLS) rises earlier than the reference clock REFCLK from the reset state, and returns it to L at the next rise of the reference clock REFCLK. While the down signal DN is H, the control voltage is discharged at CP24, and the frequency of the VCO 28 is lowered.

図7のタイミングチャートに示すように、半導体集積回路50ではダウン信号DNが断続的に発せられるため、VCO28の周波数を徐々に下げることが可能となる。図示していないが、半導体集積回路50の場合、ダミーパルスDUMPLSを間引かずダブルパルスのままで使用すると、ダウン信号DNがほぼHの状態を保持し、VCO28の周波数が急激に下がって下がり過ぎる場合がある。従って、パルスの間引きは、PLL回路12の特性に応じて適切なものを選ぶことが望ましい。   As shown in the timing chart of FIG. 7, since the down signal DN is intermittently generated in the semiconductor integrated circuit 50, the frequency of the VCO 28 can be gradually lowered. Although not shown in the figure, in the case of the semiconductor integrated circuit 50, if the dummy pulse DUMPLS is used without being thinned out and left as it is, the down signal DN is maintained in the almost H state, and the frequency of the VCO 28 is drastically lowered and excessively lowered. There is a case. Therefore, it is desirable to select an appropriate pulse thinning according to the characteristics of the PLL circuit 12.

続いて、誤ロック検出回路16のさらなる工夫について言及する。特に、FBDIV14が正常動作状態に復帰したことを検出するタイミングは、正常動作状態に復帰後できるだけ早い方が望ましい。図4の例では、出力クロックOUTCLKの80クロック分の時間の後に検出される。しかし、これでは遅い場合は、正常動作状態の時のカウンタ34でのカウント数を考慮しつつ、分周クロックVDCLKの誤ロック検出回路16内での分周数を適宜減らしてもよい。   Subsequently, a further idea of the erroneous lock detection circuit 16 will be described. In particular, the timing for detecting that the FBDIV 14 has returned to the normal operating state is preferably as early as possible after returning to the normal operating state. In the example of FIG. 4, it is detected after a time corresponding to 80 clocks of the output clock OUTCLK. However, if this is late, the frequency division number of the frequency division clock VDCLK in the erroneous lock detection circuit 16 may be appropriately reduced while taking into account the number of counts in the counter 34 in the normal operation state.

例えば、VDDIV32の分周数が6の場合を考える。誤ロック検出回路16による検出は、出力クロックOUTCLKで8×6=48クロック毎の頻度で行われる。このタイミングでのカウント数は、48×1/2÷5=4.8であるが、カウント数は小数点以下の値を切り捨てた整数値になるので4となる。あるいはタイミングの関係では3または5となる場合もあるが、4±1(3〜5)の範囲のいずれを正常動作と捉えても、検出精度としては問題ない。   For example, consider a case where the frequency division number of VDDIV32 is 6. Detection by the erroneous lock detection circuit 16 is performed at a frequency of every 8 × 6 = 48 clocks with the output clock OUTCLK. The count number at this timing is 48 × 1/2 ÷ 5 = 4.8, but the count number is 4 because it is an integer value obtained by rounding down values after the decimal point. Alternatively, the timing may be 3 or 5, but there is no problem in detection accuracy even if any of the range of 4 ± 1 (3 to 5) is regarded as a normal operation.

さらに、誤ロック検出回路16のもう1つ別の特徴を説明する。これまでのデジタル的な誤ロック検出回路は、リファレンスクロックREFCLKを誤動作検出の基準として用いることが多かった。これでうまくいく場合もあるが、そもそも誤ロック状態に陥る原因の多くは、リファレンスクロックREFCLKの一時的な乱れである。乱れの動作は一般的には定義できない不明なものなので、その間、誤ロック検出回路がどういう状態になっているのか予測できない。   Furthermore, another feature of the erroneous lock detection circuit 16 will be described. Conventional digital erroneous lock detection circuits often use the reference clock REFCLK as a reference for detecting malfunction. In some cases, this may work, but in the first place, most of the causes of the erroneous lock state are temporary disturbances of the reference clock REFCLK. Since the disturbance operation is generally unknown and cannot be defined, it is impossible to predict the state of the erroneous lock detection circuit during that time.

もう1つの問題は、電源投入後などの初期ロックに向かう時の誤検出である。PLL回路12がロックするまでの間はVCO28の発振周波数が低く、リファレンスクロックREFCLKに比べてフィードバッククロックFBCLKパルス数が少ないのは当然である。しかし、これは、FBDIV14が正常動作できなくなって所定のパルス数が戻ってこない場合と外観は同じであり、両者をどう区別するかも工夫が必要である。   Another problem is false detection when going to the initial lock after power-on. Naturally, the oscillation frequency of the VCO 28 is low until the PLL circuit 12 is locked, and the number of feedback clock FBCLK pulses is smaller than that of the reference clock REFCLK. However, this is the same appearance as when the FBDIV 14 cannot operate normally and the predetermined number of pulses does not return, and it is necessary to devise how to distinguish between the two.

本発明では、誤動作状態の検出のための基準としてVCO28の出力クロックそのものを使用している。そのため、本発明に関わるデッドロック検出回路とデッドロック復帰回路では、上記の問題を全て解消している。   In the present invention, the output clock of the VCO 28 itself is used as a reference for detecting a malfunction state. Therefore, the deadlock detection circuit and the deadlock recovery circuit according to the present invention all solve the above problems.

なお、デッドロック検出回路は、PLL回路12のデッドロック状態を検出して判定信号ERJDGを出力するものであって、この判定信号ERJDGを用いてPLL回路12を正常ロック状態に復帰させるための回路(例えば、図1に示すダミーパルス生成回路18と、MUX20)は各種構成のものを利用することができる。   The deadlock detection circuit detects a deadlock state of the PLL circuit 12 and outputs a determination signal ERJDG. The circuit for returning the PLL circuit 12 to a normal lock state using the determination signal ERJDG. (For example, the dummy pulse generation circuit 18 and the MUX 20 shown in FIG. 1) having various configurations can be used.

図8は、図1に示すダミーパルス生成回路の別の構成を表すブロック図である。同図に示すダミーパルス生成回路18は、PLL回路12に入力されるリファレンスクロックREFCLKに基づいて、リファレンスクロックREFCLKよりも低い周波数成分を含むダミーパルスを発生するものである。同図に示すダミーパルス生成回路18は、パルス間引き回路42と、MUX44とによって構成されている。   FIG. 8 is a block diagram showing another configuration of the dummy pulse generation circuit shown in FIG. The dummy pulse generation circuit 18 shown in the figure generates a dummy pulse including a frequency component lower than the reference clock REFCLK based on the reference clock REFCLK input to the PLL circuit 12. The dummy pulse generation circuit 18 shown in the figure is constituted by a pulse thinning circuit 42 and a MUX 44.

パルス間引き回路42は、リファレンスクロックREFCLKのHパルスを4回に1回間引いて間引きクロックとして出力する。   The pulse thinning circuit 42 thins out the H pulse of the reference clock REFCLK once every four times and outputs it as a thinning clock.

MUX44の入力端子A0にはリファレンスクロックREFCLKが入力され、A1にはパルス間引き回路42から出力される間引きクロックが入力され、選択入力端子には判定信号ERJDGが入力される。MUX44の経路選択は判定信号ERJDGに基づいて制御され、MUX44からは、判定信号ERJDGがLの時にリファレンスクロックREFCLKが出力され、一方、判定信号ERJDGがHの時には間引きクロックが出力され、PFD22の本来のリファレンスクロックREFCLKの入力端子にPLL回路12のリファレンスクロックとして入力される。   The reference clock REFCLK is input to the input terminal A0 of the MUX 44, the decimation clock output from the pulse decimation circuit 42 is input to A1, and the determination signal ERJDG is input to the selection input terminal. The route selection of the MUX 44 is controlled based on the determination signal ERJDG. The reference clock REFCLK is output from the MUX 44 when the determination signal ERJDG is L. On the other hand, when the determination signal ERJDG is H, a decimation clock is output. Is input to the input terminal of the reference clock REFCLK as the reference clock of the PLL circuit 12.

また、MUX20の入力端子A1にはリファレンスクロックREFCLKが入力される。   The reference clock REFCLK is input to the input terminal A1 of the MUX 20.

同図に示すダミーパルス生成回路18では、異常動作状態の時(判定信号ERJDG=H)に、リファレンスクロックとして間引きクロックを入力し、フィードバッククロックとしてリファレンスクロックそのものを入力する。従って、リファレンスクロック(=間引きクロック)は、フィードバッククロック(=REFCLK)よりも僅かに低い周波数成分を持っているので、図8に示すダミーパルス生成回路18は、図4に示すものと同様の効果を得ることができる。   In the dummy pulse generation circuit 18 shown in the figure, in the abnormal operation state (determination signal ERJDG = H), the thinning clock is input as the reference clock, and the reference clock itself is input as the feedback clock. Therefore, since the reference clock (= decimation clock) has a frequency component slightly lower than the feedback clock (= REFCLK), the dummy pulse generation circuit 18 shown in FIG. 8 has the same effect as that shown in FIG. Can be obtained.

ところで、本発明の目的の1つに、なるべく早い再ロックがある。誤ロック検出回路16の検出頻度を高くしたいのは、FBDIV14が正常動作状態に復帰しているにも関わらず、さらにDN命令が出て周波数を下げ過ぎてしまうことを防ぐためである。ダミーパルス生成回路18により僅かにダウン信号DNが出力される期間を多くして徐々にVCO周波数を下げるのも、やはり、VCO28の周波数を一気に下げ過ぎるのを防ぐためである。   Incidentally, one of the objects of the present invention is to relock as soon as possible. The purpose of increasing the detection frequency of the erroneous lock detection circuit 16 is to prevent the DN command from being issued and the frequency being lowered excessively even though the FBDIV 14 has returned to the normal operation state. The reason why the VCO frequency is gradually lowered by slightly increasing the period during which the down signal DN is output by the dummy pulse generation circuit 18 is also to prevent the frequency of the VCO 28 from being lowered too much.

なお、もしもVCO28が動作周波数レンジ内の非常に周波数が低いところで安定するPLL条件であった場合、上記のようにVCO28の周波数を徐々に下げるよりも、一気に初期状態(=0)まで下げて再ロックさせる方が結果的に早い場合もあり得る。このように、PLL条件があらかじめ分かっている(決定されている)場合には、そのPLL条件に応じた構成にすることが望ましい。   If the VCO 28 is in a PLL condition that is stable at a very low frequency within the operating frequency range, rather than gradually lowering the frequency of the VCO 28 as described above, the VCO 28 may be lowered to the initial state (= 0) at once. It may be faster to lock. As described above, when the PLL condition is known (determined) in advance, it is desirable to adopt a configuration according to the PLL condition.

異常動作状態となったPLL回路12を正常動作状態に復帰させて再び正常ロック状態とするためには、最終的には正常なFB経路によって自然に収束させる必要がある。そのため、本発明は、可能な限り早くその状態に切り替える(分周クロックOUTDIVとダミーパルスDUMPLSを切り替える)ことを目指している。従って、本発明は、限定されるわけではないが、ロックする周波数が比較的高い場合に有効である。   In order to return the PLL circuit 12 that has entered the abnormal operation state to the normal operation state and to return to the normal lock state, it is necessary to eventually converge naturally through the normal FB path. Therefore, the present invention aims to switch to that state as soon as possible (switch the divided clock OUTDIV and the dummy pulse DUMPLS). Therefore, the present invention is not limited, but is effective when the locking frequency is relatively high.

図9(A)および(B)は、それぞれ、本発明に関わるデッドロック復帰回路および従来のデッドロック復帰回路の再ロックまでの遷移状態を表すタイミングチャートである。同図(A)に示すように、本発明に関わるデッドロック復帰回路では、VCOの周波数は、デッドロック状態のVCOの周波数(最高動作周波数)から正常ロック状態のVCOの周波数まで徐々に下がり、同図(B)に示す従来のデッドロック復帰回路と比べてVCOの周波数が下がり過ぎることなく、短時間で正常ロック状態に復帰できる。   FIGS. 9A and 9B are timing charts showing transition states up to relocking of the deadlock recovery circuit according to the present invention and the conventional deadlock recovery circuit, respectively. As shown in FIG. 4A, in the deadlock recovery circuit according to the present invention, the frequency of the VCO gradually decreases from the frequency of the VCO in the deadlock state (maximum operating frequency) to the frequency of the VCO in the normal lock state, Compared with the conventional deadlock recovery circuit shown in FIG. 4B, the normal lock state can be recovered in a short time without the VCO frequency being excessively lowered.

上記のように、本発明では、PLL回路の異常動作状態を検出すると、フィードバッククロックFBCLKをダミーパルスDUMPLSに切り替え、VCOの周波数を一気に下げ過ぎず、徐々に下げることにより、VCOの周波数の下がり過ぎを防止するとともに、FBDIVが正常動作状態に復帰したら、フィードバッククロックFBCLKを分周クロックOUTDIVに素早く戻す。これにより、再ロックまでの時間を短縮できる。また、誤ロック検出手法としては、VCOの出力自身を基準として使っているため、電源投入後等の初期ロック動作中に誤検出するリスクもほとんどない。   As described above, in the present invention, when the abnormal operation state of the PLL circuit is detected, the feedback clock FBCLK is switched to the dummy pulse DUMPLS, and the VCO frequency is not lowered too much, but gradually lowered, so that the VCO frequency is lowered too much. When the FBDIV returns to the normal operation state, the feedback clock FBCLK is quickly returned to the divided clock OUTDIV. Thereby, the time until re-locking can be shortened. Further, since the false lock detection method uses the output of the VCO itself as a reference, there is almost no risk of false detection during the initial lock operation such as after power-on.

本発明は、基本的に以上のようなものである。
以上、本発明について詳細に説明したが、本発明は上記実施形態に限定されず、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよいのはもちろんである。
The present invention is basically as described above.
Although the present invention has been described in detail above, the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications may be made without departing from the gist of the present invention.

本発明を適用する半導体集積回路の構成を表す一実施形態のブロック図である。It is a block diagram of one embodiment showing the composition of the semiconductor integrated circuit to which the present invention is applied. 図1に示す誤ロック検出回路の構成を表すブロック図である。FIG. 2 is a block diagram illustrating a configuration of an erroneous lock detection circuit illustrated in FIG. 1. 図1に示すダミーパルス生成回路の構成を表すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a dummy pulse generation circuit illustrated in FIG. 1. 図1に示す半導体集積回路の具体例を表すブロック図である。FIG. 2 is a block diagram illustrating a specific example of the semiconductor integrated circuit illustrated in FIG. 1. 分周クロックVDCLK、分周クロックVDCLK5、分周クロックERCHKの関係を表すタイミングチャートである。It is a timing chart showing the relationship between the divided clock VDCLK, the divided clock VDCLK5, and the divided clock ERCK. 間引き回路40の内部状態を表すタイミングチャートである。3 is a timing chart showing an internal state of a thinning circuit 40. リファレンスクロックREFCLK、ダブルクロックREFX2、ダミーパルスDUMPLS、アップ信号UP、ダウン信号DNの関係を表すタイミングチャートである。6 is a timing chart showing a relationship among a reference clock REFCLK, a double clock REFX2, a dummy pulse DUMPLS, an up signal UP, and a down signal DN. 図1に示すダミーパルス生成回路の別の構成を表すブロック図である。FIG. 6 is a block diagram illustrating another configuration of the dummy pulse generation circuit illustrated in FIG. 1. (A)および(B)は、それぞれ、本発明に関わるデッドロック復帰回路および従来のデッドロック復帰回路の再ロックまでの遷移状態を表すタイミングチャートである。(A) And (B) is a timing chart showing the transition state until the relock of the deadlock return circuit concerning this invention and the conventional deadlock return circuit, respectively.

符号の説明Explanation of symbols

10、50 半導体集積回路
12 PLL回路
14 フィードバック分周器(FBDIV)
16 誤ロック検出回路
18 ダミーパルス生成回路
20、44 マルチプレクサ(MUX)
22 位相比較回路(PFD)
24 チャージポンプ回路(CP)
26 ループフィルタ(LF)
28 電圧制御発振器(VCO)
30 アナログ分周器(ADIV)
32、32a、32b 分周器
34 カウンタ
36 判定回路
38 ダブルクロック生成回路
38a 遅延回路
38b EORゲート
40、42 パルス間引き回路
10, 50 Semiconductor integrated circuit 12 PLL circuit 14 Feedback frequency divider (FBDIV)
16 False lock detection circuit 18 Dummy pulse generation circuit 20, 44 Multiplexer (MUX)
22 Phase comparison circuit (PFD)
24 Charge pump circuit (CP)
26 Loop filter (LF)
28 Voltage controlled oscillator (VCO)
30 Analog divider (ADIV)
32, 32a, 32b Frequency divider 34 Counter 36 Determination circuit 38 Double clock generation circuit 38a Delay circuit 38b EOR gate 40, 42 Pulse decimation circuit

Claims (6)

PLL回路のデッドロック状態を検出するデッドロック検出回路であって、
前記PLL回路の電圧制御発振器の出力信号を分周して、第1の分周クロックを出力するPLL内蔵分周器と、
前記電圧制御発振器の出力信号を分周して、前記PLL回路の位相比較器へのフィードバッククロックとなる第2の分周クロックを出力するフィードバック分周器と、
前記第1の分周クロックの周期によって決定される所定の期間に含まれる、前記第2の分周クロックのクロック数に基づいて、デッドロック状態であるか否かを表す判定信号を出力する誤ロック検出回路とを備えたことを特徴とするデッドロック検出回路。
A deadlock detection circuit for detecting a deadlock state of a PLL circuit,
A PLL built-in frequency divider that divides the output signal of the voltage controlled oscillator of the PLL circuit and outputs a first frequency-divided clock;
A feedback frequency divider that divides the output signal of the voltage controlled oscillator and outputs a second frequency-divided clock as a feedback clock to the phase comparator of the PLL circuit;
An error that outputs a determination signal indicating whether or not a deadlock state is present based on the number of clocks of the second divided clock included in a predetermined period determined by the period of the first divided clock. A deadlock detection circuit comprising a lock detection circuit.
前記誤ロック検出回路は、前記第1の分周クロックを2m(mは正の整数)分周して、第3の分周クロックを出力する第3の分周器と、
前記第3の分周クロックのパルスが一方のレベルの期間、リセット状態となり、他方のレベルの期間、前記第2の分周クロックのクロック数をカウントして、該カウントしたカウント数を出力するカウンタと、
前記カウント数が、前記PLL内蔵分周器の分周数×前記第3の分周器の分周数の1/2÷前記フィードバック分周器の分周数により決定される値の小数点以下の値を切り捨てて得られる整数値ないし該整数値の±1の範囲の値ではない時にデッドロック状態であることを表す前記判定信号を出力する判定回路とを備え、
前記整数値は、2以上の値であることを特徴とする請求項1に記載のデッドロック検出回路。
The erroneous lock detection circuit divides the first frequency-divided clock by 2 m (m is a positive integer), and outputs a third frequency-divided clock.
A counter that resets the pulse of the third divided clock during one level, counts the number of clocks of the second divided clock during the other level, and outputs the counted number When,
The number of counts is equal to or less than the decimal point of a value determined by the frequency division number of the PLL built-in frequency divider × 1/2 of the frequency division number of the third frequency divider ÷ frequency division number of the feedback frequency divider. A determination circuit that outputs the determination signal indicating a deadlock state when the value is not an integer value obtained by rounding down the value or a value in a range of ± 1 of the integer value;
The deadlock detection circuit according to claim 1, wherein the integer value is 2 or more.
PLL回路のデッドロック状態を検出し、前記PLL回路を正常ロック状態に復帰させるデッドロック復帰回路であって、
請求項1または2に記載のデッドロック検出回路と、
前記PLL回路に入力されるリファレンスクロックに基づいて、該リファレンスクロックよりも高い周波数成分を含むダミーパルスを生成するダミーパルス生成回路と、
前記判定信号に基づいて、前記第2の分周クロックと前記ダミーパルスとを切り替えて、前記位相比較器に入力するマルチプレクサとを備えていることを特徴とするデッドロック復帰回路。
A deadlock return circuit for detecting a deadlock state of the PLL circuit and returning the PLL circuit to a normal lock state;
A deadlock detection circuit according to claim 1 or 2,
A dummy pulse generation circuit that generates a dummy pulse including a frequency component higher than the reference clock based on a reference clock input to the PLL circuit;
A deadlock recovery circuit, comprising: a multiplexer that switches between the second frequency-divided clock and the dummy pulse based on the determination signal and inputs the clock to the phase comparator.
前記ダミーパルス生成回路は、前記リファレンスクロックからダブルクロックを生成するダブルクロック生成回路と、該ダブルクロック生成回路から出力されるダブルクロックのパルス数をn回(nは3以上の整数)に1回間引くパルス間引き回路とを備えていることを特徴とする請求項3に記載のデッドロック復帰回路。   The dummy pulse generation circuit includes a double clock generation circuit that generates a double clock from the reference clock, and a double clock pulse output from the double clock generation circuit once every n times (n is an integer of 3 or more). The deadlock recovery circuit according to claim 3, further comprising a thinning-out pulse thinning circuit. PLL回路のデッドロック状態を検出し、前記PLL回路を正常ロック状態に復帰させるデッドロック復帰回路であって、
請求項1または2に記載のデッドロック検出回路と、
前記PLL回路に入力されるリファレンスクロックに基づいて、該リファレンスクロックよりも低い周波数成分を含むダミーパルスを生成するダミーパルス生成回路と、
前記判定信号に基づいて、前記リファレンスクロックと前記ダミーパルスとを切り替えて、前記位相比較器に入力する第1のマルチプレクサと、
前記判定信号に基づいて、前記第2の分周クロックと前記リファレンスクロックとを切り替えて、前記位相比較器に入力する第2のマルチプレクサとを備えていることを特徴とするデッドロック復帰回路。
A deadlock return circuit for detecting a deadlock state of the PLL circuit and returning the PLL circuit to a normal lock state;
A deadlock detection circuit according to claim 1 or 2,
A dummy pulse generation circuit that generates a dummy pulse including a frequency component lower than the reference clock based on a reference clock input to the PLL circuit;
A first multiplexer that switches between the reference clock and the dummy pulse based on the determination signal and inputs the reference clock to the phase comparator;
A deadlock recovery circuit comprising: a second multiplexer that switches between the second frequency-divided clock and the reference clock based on the determination signal and inputs the clock to the phase comparator.
前記ダミーパルス生成回路は、前記リファレンスクロックのパルス数をn回(nは2以上の整数)に1回間引くパルス間引き回路であることを特徴とする請求項5に記載のデッドロック復帰回路。   6. The deadlock recovery circuit according to claim 5, wherein the dummy pulse generation circuit is a pulse thinning circuit that thins out the number of pulses of the reference clock once every n times (n is an integer of 2 or more).
JP2008294349A 2008-11-18 2008-11-18 Deadlock detection circuit and deadlock recovery circuit Expired - Fee Related JP5139958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008294349A JP5139958B2 (en) 2008-11-18 2008-11-18 Deadlock detection circuit and deadlock recovery circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008294349A JP5139958B2 (en) 2008-11-18 2008-11-18 Deadlock detection circuit and deadlock recovery circuit

Publications (3)

Publication Number Publication Date
JP2010124102A true JP2010124102A (en) 2010-06-03
JP2010124102A5 JP2010124102A5 (en) 2011-12-22
JP5139958B2 JP5139958B2 (en) 2013-02-06

Family

ID=42325060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008294349A Expired - Fee Related JP5139958B2 (en) 2008-11-18 2008-11-18 Deadlock detection circuit and deadlock recovery circuit

Country Status (1)

Country Link
JP (1) JP5139958B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017539160A (en) * 2014-11-21 2017-12-28 ザイリンクス インコーポレイテッドXilinx Incorporated Fast lock CDR for burst mode
CN112305413A (en) * 2019-12-17 2021-02-02 成都华微电子科技有限公司 Reference clock loss detection circuit and detection method
TWI739556B (en) * 2020-08-19 2021-09-11 瑞昱半導體股份有限公司 Clock deadlock detection system, method, and non-transitory computer readable medium thereof
CN114578153A (en) * 2022-01-26 2022-06-03 奉加微电子(上海)有限公司 Crystal oscillation detection circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306557A (en) * 2007-06-08 2008-12-18 Panasonic Corp Phase lock circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306557A (en) * 2007-06-08 2008-12-18 Panasonic Corp Phase lock circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017539160A (en) * 2014-11-21 2017-12-28 ザイリンクス インコーポレイテッドXilinx Incorporated Fast lock CDR for burst mode
CN112305413A (en) * 2019-12-17 2021-02-02 成都华微电子科技有限公司 Reference clock loss detection circuit and detection method
CN112305413B (en) * 2019-12-17 2023-05-30 成都华微电子科技股份有限公司 Reference clock loss detection circuit and detection method
TWI739556B (en) * 2020-08-19 2021-09-11 瑞昱半導體股份有限公司 Clock deadlock detection system, method, and non-transitory computer readable medium thereof
CN114578153A (en) * 2022-01-26 2022-06-03 奉加微电子(上海)有限公司 Crystal oscillation detection circuit

Also Published As

Publication number Publication date
JP5139958B2 (en) 2013-02-06

Similar Documents

Publication Publication Date Title
US9614534B1 (en) Digital delay-locked loop and locking method thereof
US8471614B2 (en) Digital phase locked loop system and method
US7759990B2 (en) Clock switching circuit
US8698527B2 (en) Circuit and method for preventing false lock and delay locked loop using the same
US7994828B2 (en) Frequency divider, frequency dividing method thereof, and phase locked loop utilizing the frequency divider
US6150889A (en) Circuit and method for minimizing recovery time
US20110074514A1 (en) Frequency measurement circuit and pll synthesizer provided therewith
US11962314B2 (en) Digital phase locked loop circuit, digitally-controlled oscillator, and digital-to-time converter
US10924125B2 (en) Frequency divider circuit, method and compensation circuit for frequency divider circuit
JPWO2012127637A1 (en) Clock generation circuit and clock generation circuit control method
JP2006119123A (en) Phase difference detection device
JP5139958B2 (en) Deadlock detection circuit and deadlock recovery circuit
US9374038B2 (en) Phase frequency detector circuit
US7319350B2 (en) Lock-detection circuit and PLL circuit using same
US8901974B2 (en) Phase locked loop and method for operating the same
JP2006174459A (en) Phase synchronization loop circuit provided with deadlock prevention circuit, and deadlock prevention method therefor
EP1662663B1 (en) PLL circuit
JP2008060895A (en) Phase-locked circuit
JP2011166232A (en) Phase detection circuit and pll circuit
WO2012104933A1 (en) Phase locking circuit
US11984901B2 (en) Compensation circuit and method for frequency divider circuit
US20080106310A1 (en) Phase locked loop utilizing frequency folding
JP5159424B2 (en) PLL phase matching circuit
KR102205037B1 (en) A multi-modulus frequency divider for removing glitch and an electronic device including the multi-modulus frequency divider
JP2006074580A (en) Dll circuit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111104

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111104

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121116

R150 Certificate of patent or registration of utility model

Ref document number: 5139958

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151122

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees