JP2005020221A - Pll circuit - Google Patents
Pll circuit Download PDFInfo
- Publication number
- JP2005020221A JP2005020221A JP2003180471A JP2003180471A JP2005020221A JP 2005020221 A JP2005020221 A JP 2005020221A JP 2003180471 A JP2003180471 A JP 2003180471A JP 2003180471 A JP2003180471 A JP 2003180471A JP 2005020221 A JP2005020221 A JP 2005020221A
- Authority
- JP
- Japan
- Prior art keywords
- filter
- signal
- reference frame
- pll
- pll circuit
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、基準フレーム信号に同期したクロック信号を生成するためのPLL(phase−locked loop:位相同期ループ)回路に関するものである。
【0002】
【従来の技術】
近年、ビデオ信号やオーディオ信号をAV機器間で送受信する機会が増えており、AV機器間の同期をとるためにPLL回路が利用される。
【0003】
ある従来技術によれば、ディスク再生装置において、クロック抽出のためのPLL回路内でPWM(pulse width modulation:パルス幅変調)の技術を利用した電圧レベル変換が採用される(特許文献1参照)。
【0004】
PLL回路に温度センサを用いた温度・電圧変換部を設け、当該変換部からVCO(voltage controlled oscillator:電圧制御発振器)の入力に予め外部制御電圧を与えることにより、常にプルインレンジ内でVCOが発振するように制御する温度補償VCOの技術も知られている(特許文献2参照)。
【0005】
また、無線移動局で基準フレーム信号に同期したクロック信号を生成するためのPLL回路において、受信電波が弱くなって基準フレーム信号が途切れた場合でもVCOに正常時と同じ周波数で自走発振させる技術も知られている(特許文献3参照)。
【0006】
【特許文献1】
特開平9−22566号公報
【特許文献2】
特開2000−201072号公報
【特許文献3】
特開2000−299637号公報
【0007】
【発明が解決しようとする課題】
従来のPLL回路では、VCO自体のばらつきや、周囲温度、電源電圧等によってVCOの発振特性が変わると、一定のPLL特性が得られなくなるという課題があった。また、上記温度補償VCOの技術では、温度条件を認識するための温度センサが別に必要になるという課題があった。
【0008】
本発明の目的は、PWM技術を利用して基準フレーム信号に同期したクロック信号を生成するためのPLL回路において、VCO自体にばらつきがあったり、動作条件が変わったりしても一定のPLL特性を実現することにある。
【0009】
【課題を解決するための手段】
上記目的を達成するために、本発明は、基準フレーム信号と生成された同期フレーム信号との位相差を表す位相誤差信号を供給するための位相比較器と、当該位相誤差信号をフィルタリングするための第1フィルタと、当該第1フィルタの出力に応じたデューティを有するPWM信号を生成するためのPWM信号生成部と、当該PWM信号の平均電圧を制御電圧として供給するように当該PWM信号を積分するための第2フィルタと、当該制御電圧に応じた周波数を有する同期クロック信号を生成するためのVCOと、当該同期クロック信号を分周することにより前記同期フレーム信号を生成するための分周器とを備えたPLL回路の構成を採用し、PWM信号生成部はパルス幅制御情報を保持するためのレジスタを有し、当該レジスタに保持されたパルス幅制御情報に従いPWM信号のデューティを動作条件に応じてバイアスさせるように制御することとしたものである。
【0010】
例えば、標準動作条件では、位相ロック状態で第1フィルタの出力が0%になった場合に、VCO制御電圧が電源電圧の0.5倍の電圧になって当該VCOの発振周波数が目標ロック周波数になるように、PWM信号のデューティを50%とする。パルス幅制御情報は、位相ロック状態で第1フィルタの出力が0%になった場合に動作条件の如何にかかわらずVCO発振周波数が目標ロック周波数になるようなPWM信号のデューティバイアス値である。
【0011】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照しながら説明する。
【0012】
(第1の実施形態)
図1は、本発明の第1の実施形態に係るPLL回路の構成を示している。図1において、1は位相比較器(phase comparator:PC)、2はデジタルフィルタ(第1フィルタ)、3はPWM信号生成部、4はRCフィルタ(第2フィルタ)、5はVCO、6は分周器、7は基準クロックカウンタ、8は同期クロックカウンタ、9は周波数比較器である。
【0013】
位相比較器1は、基準フレーム信号と分周器6により生成された同期フレーム信号との位相差を表す位相誤差信号を、位相比較結果としてデジタルフィルタ2へ供給する。デジタルフィルタ2は、位相誤差信号をフィルタリングするようにLPF(low pass filter)特性を持つフィルタである。PWM信号生成部3は、デジタルフィルタ2の出力に応じたデューティを有するPWM信号を生成する。しかも、当該PWM信号生成部3は、パルス幅制御情報を保持するためのレジスタ3aを有し、このレジスタ3aに保持されたパルス幅制御情報に従い、PWM信号のデューティを動作条件に応じてバイアスさせるように制御する。RCフィルタ4は、PWM信号の平均電圧を制御電圧として供給するように、PWM信号を積分するための抵抗RとキャパシタCとで構成される。VCO5は、RCフィルタ4から与えられた制御電圧に応じた周波数を有する同期クロック信号を生成する。分周器6は、この同期クロック信号を分周することにより同期フレーム信号を生成する。
【0014】
基準クロックカウンタ7は、当該PLL回路の目標ロック周波数fと同じ周波数を有する基準クロック信号をカウントするためのカウンタである。同期クロックカウンタ8は、VCO5からの同期クロック信号をカウントするためのカウンタである。周波数比較器9は、一定期間内の基準クロックカウンタ7と同期クロックカウンタ8との各々のカウント値を比較することにより、基準クロック信号と同期クロック信号との各々の周波数を比較する。デジタルフィルタ2は、位相比較器1での位相比較結果に代えて周波数比較器9での周波数比較結果をフィルタリングすることもできる。
【0015】
まず、デジタルフィルタ2において周波数比較器9での比較結果をフィルタリングする場合の動作について説明する。目標ロック周波数fと同じ周波数の基準クロック信号が基準クロックカウンタ7に入力される。基準クロックカウンタ7は、一定期間内に入力された基準クロック信号を0からNまでカウントする。この間に同期クロックカウンタ8は、VCO5からの同期クロック信号を0からMまでカウントする。周波数比較器9では両カウンタ7,8のカウント値N,Mを比較し、両カウント値の差を周波数比較結果としてデジタルフィルタ2に送る。デジタルフィルタ2では、周波数比較器9から送られてきた比較結果がフィルタリングされ、PWM信号生成部3に送られる。PWM信号生成部3では、デジタルフィルタ2の出力に応じたデューティを有するPWM信号を生成する。生成されたPWM信号はRCフィルタ4に入力される。RCフィルタ4ではPWM信号が積分され、制御電圧に変換されてVCO5に入力される。VCO5は、入力電圧に応じた周波数の同期クロック信号を生成する。PLL動作の結果、周波数ロックがかかると、その時点でのPWM信号のパルス幅制御情報がパルス幅制御レジスタ3aに格納される。このパルス幅制御レジスタ3aに保持されている情報が、以後の動作におけるパルス幅制御情報となる。
【0016】
次に、デジタルフィルタ2において位相比較器1での比較結果をフィルタリングする場合について説明する。基準フレーム信号が位相比較器1に入力される一方、VCO5で発振した同期クロック信号が分周器6へ送られる。分周器6では基準フレーム信号と同期をとるための同期フレーム信号が生成され、位相比較器1に送られる。位相比較器1では基準フレーム信号と同期フレーム信号との位相差を計算し、デジタルフィルタ2に送られる。デジタルフィルタ2では、位相比較器1から送られてきた位相比較結果がフィルタリングされ、PWM信号生成部3に送られる。PWM信号生成部3では、レジスタ3aに保持されたパルス幅制御情報に従いPWM信号のデューティを動作条件に応じてバイアスさせながら、デジタルフィルタ2の出力に応じたデューティを有するPWM信号を生成する。生成されたPWM信号はRCフィルタ4に入力される。RCフィルタ4ではPWM信号が積分され、制御電圧に変換されてVCO5に入力される。VCO5は、入力電圧に応じた周波数の同期クロック信号を生成する。PLL動作の結果、位相ロックがかかると、その時点での同期クロック信号が利用可能となる。
【0017】
図2は、図1中のVCO5の入力電圧と発振周波数との関係を示している。ここで、上記PWM信号生成部3は、標準動作条件である条件Bでは、位相ロック状態でデジタルフィルタ2の出力が0%になった場合に、VCO5の制御電圧が電源電圧(VDD)の0.5倍の電圧になって当該VCO5の発振周波数が目標ロック周波数fになるように、PWM信号のデューティを50%とするものとする。VCO5は、図2に示すとおり、条件Bでは電源電圧の0.5倍の電圧で目標ロック周波数fを発振するが、条件Aで目標ロック周波数fを発振するのは電源電圧の0.45倍の電圧の場合であり、条件Cでは電源電圧の0.55倍の場合である。なお、ここにいう条件とは周囲温度、電源電圧等のことである。
【0018】
さて、条件A,B,Cの如何にかかわらずデジタルフィルタ2の出力とPWM信号のデューティとを1対1に対応させることとすると、一定のPLL特性が得られない。例えば、デジタルフィルタ2の出力が0%であるときにPWM信号のデューティが常に50%であるものとすると、条件Bではデジタルフィルタ2の出力が0%であるときに目標ロック周波数fが得られるものの、条件Aでは発振周波数がf+1%にずれ、条件Cでは発振周波数がf−1%にずれてしまう(図2参照)。
【0019】
これに対し、本発明の第1の実施形態によれば、条件Bではデジタルフィルタ2の出力が0%であるときにPWM信号のデューティを50%とすることでVCO5の入力電圧が電源電圧の0.5倍の電圧になるようにし、条件Aではデジタルフィルタ2の出力が0%であるときにPWM信号のデューティを45%とすることでVCO5の入力電圧が電源電圧の0.45倍の電圧になるようにし、条件Cではデジタルフィルタ2の出力が0%であるときにPWM信号のデューティを55%とすることでVCO5の入力電圧が電源電圧の0.55倍の電圧になるようにする。これにより、デジタルフィルタ2の出力が0%であるときには、条件A,B,Cの如何にかかわらず目標ロック周波数fが得られるようになる。
【0020】
図3は、図1のPLL回路におけるデジタルフィルタ2の出力と、PWM信号のデューティと、VCO5の発振周波数との関係を示している。条件Aにおいて、パルス幅制御情報として−5%という情報がパルス幅制御レジスタ3aにセットされると、デジタルフィルタ2の出力が0%の場合にPWM信号のデューティが45%になることで、条件Aでもデジタルフィルタ2の出力が0%の場合に目標ロック周波数fを発振させることができる。同様に条件Cではパルス幅制御情報として+5%がセットされると、デジタルフィルタ2の出力が0%の場合にPWM信号のデューティが55%になることで、条件Cでもデジタルフィルタ2の出力が0%の場合に目標ロック周波数fを発振させることができるようになる。この関係は、デジタルフィルタ2の出力が0%以外である場合も同様である。
【0021】
以上のように、本発明の第1の実施形態によれば、VCO5の発振特性がばらつきや温度によって変化しても、例えばデジタルフィルタ2の出力が0%の場合にPWM信号のデューティを50%以外にセットすることにより、VCO5の発振周波数を目標ロック周波数fにすることが可能となるので、動作条件が変わってもPLL特性を一定にすることができる。したがって、RCフィルタ4とVCO5との間に抵抗分圧回路等の調整回路を挿入する必要がない。
【0022】
しかも、目標ロック周波数fと同じ周波数の基準クロック信号とVCO5の発振クロック信号とを同期させることによって、中心電圧に対するVCO5の発振周波数のずれを自動検出することが可能となるので、VCO5の発振特性を容易に調整することができる。ただし、パルス幅制御レジスタ3aに保持すべきパルス幅制御情報を外部から与えることも可能である。
【0023】
以下、図1を用いて説明したPLL回路の変形例である第2〜第5の実施形態を説明する。
【0024】
(第2の実施形態)
本発明の第2の実施形態は、VCO5の発振特性が変化した場合に、デジタルフィルタ2の最適なフィルタ係数を見出してPLL特性の安定化を実現するものである。
【0025】
図4は、本発明の第2の実施形態に係るPLL回路の構成を示している。図4において、11はデジタルフィルタ2の出力を複数フレーム分保持しておくフィルタ出力保持レジスタ、12はフィルタ出力保持レジスタ11に保持されているデジタルフィルタ2の出力の振幅情報よりPLL減衰特性を判別するためのPLL減衰特性判別部、13はフィルタ出力保持レジスタ11に保持されているデジタルフィルタ2の出力が一定の値以下に減衰するまでの時間情報からPLL応答特性を判別するためのPLL応答特性判別部、14はPLL減衰特性とPLL応答特性とから最適なフィルタ係数を見出す最適フィルタ係数判断部、15は最適フィルタ係数判断部14で判断されたフィルタ係数A,Bを保持するためのフィルタ係数レジスタである。ここで、位相比較器1の出力をPとし、デジタルフィルタ2の出力をFとする。
【0026】
図5は、図4中のデジタルフィルタ2の内部構成を示している。図5において、21,24は乗算器、22,25は加算器、23は積分器である。位相比較器1より送られてくる基準フレーム信号と同期フレーム信号との位相差は、フィルタ係数Aと乗算される。乗算された結果は積分器23に蓄えられている積分値と加算され、加算された結果が積分器23に戻されることによって積分値が更新される。積分器23に蓄えられた積分値はフィルタ係数Bと乗算され、乗算された結果は、フィルタ係数Aと乗算された位相差と加算され、デジタルフィルタ2のフィルタリング結果として出力される。
【0027】
ある条件においてデジタルフィルタ2の最適なフィルタ係数を見出す動作について説明する。まず、フィルタ係数レジスタ15から1つのフィルタ係数のセットがデジタルフィルタ2に送られ、その係数を使用してPLL動作を開始する。デジタルフィルタ2の出力は、フィルタ出力保持レジスタ11に蓄えられていく。当該PLL回路がロックした後、フィルタ出力保持レジスタ11に蓄えられていたデジタルフィルタ2の出力情報は、PLL減衰特性判別部12とPLL応答特性判別部13とに送られる。PLL減衰特性判別部12では、デジタルフィルタ2の出力の振幅情報からPLL減衰特性を判断する。PLL応答特性判別部13では、デジタルフィルタ2の出力情報よりPLLがロックするまでの時間を見出すことにより、PLL応答特性を判別する。PLL減衰特性判別部12とPLL応答特性判別部13とで判別されたPLL特性の情報は、最適フィルタ係数判断部14に送られ、現在使用しているフィルタ係数セットの最適性が判断される。
【0028】
次に、フィルタ係数レジスタ15から別のフィルタ係数のセットが送られ、同様にPLL動作することで当該別のフィルタ係数のセットの最適性が判断される。複数のフィルタ係数のセットの最適性を判断することにより、現在の使用条件における最適なフィルタ係数を見出すことが可能となる。
【0029】
以上のように本発明の第2の実施形態によれば、PLL使用条件によってVCO5の発振特性が変化しても、デジタルフィルタ2の出力の遷移状況からPLL減衰特性とPLL応答特性とが分かるので、デジタルフィルタ2の最適なフィルタ係数を見出すことができ、常に安定したPLL特性が得られる。
【0030】
(第3の実施形態)
本発明の第3の実施形態は、基準フレーム信号の入力が開始されてからPLL回路がロックするまでの時間を短縮させるものである。
【0031】
図6は、本発明の第3の実施形態に係るPLL回路の構成を示している。図6において、31は基準フレーム信号の入力の有無を判断するための基準フレーム入力判断部、32はフィルタ積分値設定情報を保持するための積分値レジスタである。
【0032】
まず、基準フレーム信号が入力される前の動作について説明する。基準フレーム信号は基準フレーム入力判断部31へ送られ、基準フレーム信号が入力されているかいないかが判断される。一方、フィルタ積分値設定情報は積分値レジスタ32に保持される。フィルタ積分値設定情報とは、VCO5が目標ロック周波数を発振するためのデジタルフィルタ2中の積分器23の積分値のことである(図5参照)。基準フレーム入力判断部31で基準フレーム信号が入力される前の状態だと判断された場合、積分値レジスタ32に保持されているフィルタ積分値設定情報がデジタルフィルタ2中の積分器23にセットされ、その状態が保持される。
【0033】
次に、基準フレーム信号が入力された以降の動作について説明する。基準フレーム入力判断部31において基準フレーム信号が入力されたと判断されると、基準フレーム入力判断部31からデジタルフィルタ2にフィルタ積分値設定情報を積分値としてセットする状態を解除するように通知され、デジタルフィルタ2では位相比較器1から送られてくる基準フレーム信号と同期フレーム信号との位相差をフィルタリングする通常の動作に移行し、PLL動作が開始される。
【0034】
以上のように本発明の第3の実施形態によれば、基準フレーム信号の入力の有無を検出し、基準フレーム信号が入力されていない時点では、デジタルフィルタ2の積分値をVCO5が目標ロック周波数を発振する値にセットすることにより、基準フレーム信号が入力されてからの積分器23の充放電時間を短縮させることができるので、PLL回路がロックするまでの時間を短縮させることできる。
【0035】
(第4の実施形態)
本発明の第4の実施形態は、送信側のエラー等のために基準フレーム信号の入力が途切れてもPLL回路が不安定にならないようにしたものである。
【0036】
図7は、本発明の第4の実施形態に係るPLL回路の構成を示している。図7において、31は基準フレーム信号の入力の有無を判断するための基準フレーム入力判断部、33は基準フレーム入力判断部31からの基準フレーム入力情報から、基準フレームの入力間隔をカウントし保持するための基準フレーム入力間隔保持レジスタ、34は基準フレーム入力判断部31からの基準フレーム入力情報と基準フレーム入力間隔保持レジスタ33からの基準フレーム入力間隔とを元にデジタルフィルタ2の更新を制御するためのフィルタ更新制御部である。
【0037】
当該PLL回路の通常動作については説明を省略し、基準フレーム信号が途切れた場合の動作について説明する。基準フレーム入力間隔保持レジスタ33には、通常動作時における基準フレームの入力間隔が保持されており、基準フレーム入力判断部31へ送られる。基準フレーム入力判断部31では、基準フレームの間隔を超え更にPLL引き込み範囲を超えて基準フレーム信号が入力されなかった場合、フィルタ更新制御部34へ更新停止が通知される。デジタルフィルタ2では、フィルタ更新制御部34からの更新停止通知により積分器23の積分値の更新を停止させる(図5参照)。
【0038】
以上のように本発明の第4の実施形態によれば、基準フレーム信号の入力の有無を検出し、デジタルフィルタ2の積分値の更新を停止させることができるので、基準フレーム信号の入力が途切れた場合でも積分値が急激に変化することを防ぐことにより、PLL動作が不安定になることがない。
【0039】
(第5の実施形態)
本発明の第5の実施形態は、例えばオーディオの再生用クロック信号を生成するためのPLL回路において、あるサンプリング周波数のモードAから、別のサンプリング周波数のモードBへ移行する場合に、スムーズなモード移行を達成できるものである。
【0040】
図8は、本発明の第5の実施形態に係るPLL回路の構成を示している。図8において、41はモード選択信号からモード移行の有無を検出するためのモード移行検出部、42はデジタルフィルタ2に積分値をセットするためのフィルタ積分値設定情報としてモードA用の情報又はモードB用の情報のいずれかを選択するための積分値セレクタである。モードA用のフィルタ積分値設定情報とは、モードAの場合にVCO5が目標ロック周波数を発振するためのデジタルフィルタ2中の積分器23の積分値であり、モードB用のフィルタ積分値設定情報とは、モードBの場合にVCO5が目標ロック周波数を発振するためのデジタルフィルタ2中の積分器23の積分値である(図5参照)。
【0041】
当該PLL回路の通常動作については説明を省略し、モード移行動作について説明する。モード選択信号が入力され、モード移行検出部41ではモード移行の有無を検出する。モード移行が検出されると、モード移行検出部41からモードA、モードBのどちらのモードに移行したのかが積分値セレクタ42に通知される。積分値セレクタ42では、モード移行検出部41から通知されたモード移行情報より、モードA用のフィルタ積分値設定情報か又はモードB用のフィルタ積分値設定情報かを選択し、デジタルフィルタ2に送られる。一方、モード移行検出部41からのモード移行情報はデジタルフィルタ2に送られ、デジタルフィルタ2では積分値セレクタ42から送られてくるフィルタ積分値設定情報を積分器23の積分値へセットする。
【0042】
以上のように本発明の第5の実施形態によれば、モード移行時にデジタルフィルタ2の積分値をモードに合わせてセットすることができるので、モード移行後の目標ロック周波数を発振する状態に近い状態でPLL動作を開始させることにより、スムーズなモード移行を実現することができる。
【0043】
【発明の効果】
以上説明してきたとおり、本発明によれば、PWM技術を利用して基準フレーム信号に同期したクロック信号を生成するためのPLL回路において、VCO自体にばらつきがあったり、動作条件が変わったりしても一定のPLL特性を実現することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態に係るPLL回路の構成を示すブロック図である。
【図2】図1中のVCOの入力電圧と発振周波数との関係を示すグラフである。
【図3】図1のPLL回路におけるデジタルフィルタ出力と、PWM信号のデューティと、VCOの発振周波数との関係を示す図である。
【図4】本発明の第2の実施形態に係るPLL回路の構成を示すブロック図である。
【図5】図4中のデジタルフィルタの内部構成を示すブロック図である。
【図6】本発明の第3の実施形態に係るPLL回路の構成を示すブロック図である。
【図7】本発明の第4の実施形態に係るPLL回路の構成を示すブロック図である。
【図8】本発明の第5の実施形態に係るPLL回路の構成を示すブロック図である。
【符号の説明】
1 位相比較器(PC)
2 デジタルフィルタ(第1フィルタ)
3 PWM信号生成部
3a パルス幅制御レジスタ
4 RCフィルタ(第2フィルタ)
5 電圧制御発振器(VCO)
6 分周器
7 基準クロックカウンタ
8 同期クロックカウンタ
9 周波数比較器
11 フィルタ出力保持レジスタ
12 PLL減衰特性判別部
13 PLL応答特性判別部
14 最適フィルタ係数判断部
15 フィルタ係数レジスタ
21,24 乗算器
22,25 加算器
23 積分器
31 基準フレーム入力判断部
32 積分値レジスタ
33 基準フレーム入力間隔保持レジスタ
34 フィルタ更新制御部
41 モード移行検出部
42 積分値セレクタ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a PLL (phase-locked loop) circuit for generating a clock signal synchronized with a reference frame signal.
[0002]
[Prior art]
In recent years, opportunities to transmit and receive video signals and audio signals between AV devices are increasing, and PLL circuits are used to synchronize AV devices.
[0003]
According to a certain prior art, voltage level conversion using a PWM (Pulse Width Modulation) technique is employed in a PLL circuit for clock extraction in a disk reproducing device (see Patent Document 1).
[0004]
A temperature / voltage converter using a temperature sensor is provided in the PLL circuit, and an external control voltage is applied in advance from the converter to the input of a VCO (Voltage Controlled Oscillator) so that the VCO always oscillates within the pull-in range A technique of a temperature compensation VCO that performs control is also known (see Patent Document 2).
[0005]
Further, in a PLL circuit for generating a clock signal synchronized with a reference frame signal in a wireless mobile station, even when the received radio wave becomes weak and the reference frame signal is interrupted, the VCO is free-running at the same frequency as normal Is also known (see Patent Document 3).
[0006]
[Patent Document 1]
Japanese Patent Laid-Open No. 9-22566 [Patent Document 2]
JP 2000-201072 A [Patent Document 3]
Japanese Patent Laid-Open No. 2000-299637
[Problems to be solved by the invention]
The conventional PLL circuit has a problem that a constant PLL characteristic cannot be obtained if the oscillation characteristic of the VCO changes due to variations in the VCO itself, ambient temperature, power supply voltage, or the like. Further, the temperature compensation VCO technique has a problem that a temperature sensor for recognizing the temperature condition is required.
[0008]
An object of the present invention is to provide a PLL circuit for generating a clock signal synchronized with a reference frame signal by using a PWM technique, and has a constant PLL characteristic even if the VCO itself varies or the operating condition changes. It is to be realized.
[0009]
[Means for Solving the Problems]
To achieve the above object, the present invention provides a phase comparator for supplying a phase error signal representing a phase difference between a reference frame signal and a generated synchronization frame signal, and a filter for filtering the phase error signal. A first signal, a PWM signal generator for generating a PWM signal having a duty corresponding to the output of the first filter, and the PWM signal are integrated so as to supply an average voltage of the PWM signal as a control voltage. A second filter for generating the synchronous frame signal, a VCO for generating a synchronous clock signal having a frequency corresponding to the control voltage, and a frequency divider for generating the synchronous frame signal by dividing the synchronous clock signal. The PWM signal generator has a register for storing pulse width control information, and the register is stored in the register. Has been in accordance with the duty of the PWM signal to the operating conditions in accordance with the pulse width control information is obtained by the be controlled to the bias.
[0010]
For example, under standard operating conditions, when the output of the first filter becomes 0% in the phase locked state, the VCO control voltage becomes 0.5 times the power supply voltage, and the oscillation frequency of the VCO becomes the target lock frequency. Thus, the duty of the PWM signal is set to 50%. The pulse width control information is a duty bias value of the PWM signal such that the VCO oscillation frequency becomes the target lock frequency regardless of the operating condition when the output of the first filter becomes 0% in the phase locked state.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0012]
(First embodiment)
FIG. 1 shows a configuration of a PLL circuit according to the first embodiment of the present invention. In FIG. 1, 1 is a phase comparator (PC), 2 is a digital filter (first filter), 3 is a PWM signal generator, 4 is an RC filter (second filter), 5 is a VCO, and 6 is a minute. The reference numeral 7 is a reference clock counter, 8 is a synchronous clock counter, and 9 is a frequency comparator.
[0013]
The
[0014]
The reference clock counter 7 is a counter for counting a reference clock signal having the same frequency as the target lock frequency f of the PLL circuit. The
[0015]
First, the operation when the comparison result in the
[0016]
Next, the case where the
[0017]
FIG. 2 shows the relationship between the input voltage of the
[0018]
If the output of the
[0019]
On the other hand, according to the first embodiment of the present invention, under condition B, when the output of the
[0020]
FIG. 3 shows the relationship between the output of the
[0021]
As described above, according to the first embodiment of the present invention, even if the oscillation characteristic of the
[0022]
In addition, by synchronizing the reference clock signal having the same frequency as the target lock frequency f and the oscillation clock signal of the
[0023]
Hereinafter, second to fifth embodiments which are modifications of the PLL circuit described with reference to FIG. 1 will be described.
[0024]
(Second Embodiment)
In the second embodiment of the present invention, when the oscillation characteristic of the
[0025]
FIG. 4 shows a configuration of a PLL circuit according to the second embodiment of the present invention. In FIG. 4, 11 is a filter output holding register for holding the output of the
[0026]
FIG. 5 shows the internal configuration of the
[0027]
An operation for finding the optimum filter coefficient of the
[0028]
Next, another set of filter coefficients is sent from the
[0029]
As described above, according to the second embodiment of the present invention, even if the oscillation characteristic of the
[0030]
(Third embodiment)
The third embodiment of the present invention shortens the time from when the input of the reference frame signal is started until the PLL circuit is locked.
[0031]
FIG. 6 shows a configuration of a PLL circuit according to the third embodiment of the present invention. In FIG. 6,
[0032]
First, the operation before the reference frame signal is input will be described. The reference frame signal is sent to the reference frame
[0033]
Next, the operation after the reference frame signal is input will be described. When the reference frame
[0034]
As described above, according to the third embodiment of the present invention, the presence / absence of the input of the reference frame signal is detected, and when the reference frame signal is not input, the
[0035]
(Fourth embodiment)
The fourth embodiment of the present invention prevents the PLL circuit from becoming unstable even if the input of the reference frame signal is interrupted due to an error on the transmission side.
[0036]
FIG. 7 shows a configuration of a PLL circuit according to the fourth embodiment of the present invention. In FIG. 7,
[0037]
The description of the normal operation of the PLL circuit is omitted, and the operation when the reference frame signal is interrupted will be described. The reference frame input
[0038]
As described above, according to the fourth embodiment of the present invention, it is possible to detect whether or not the reference frame signal is input and to stop the update of the integral value of the
[0039]
(Fifth embodiment)
The fifth embodiment of the present invention is a smooth mode when, for example, a PLL circuit for generating an audio reproduction clock signal shifts from a mode A at a certain sampling frequency to a mode B at another sampling frequency. A transition can be achieved.
[0040]
FIG. 8 shows a configuration of a PLL circuit according to the fifth embodiment of the present invention. In FIG. 8, 41 is a mode transition detecting unit for detecting the presence or absence of mode transition from the mode selection signal, 42 is information for mode A or mode as filter integral value setting information for setting an integral value in the
[0041]
Description of the normal operation of the PLL circuit will be omitted, and the mode transition operation will be described. A mode selection signal is input, and the mode
[0042]
As described above, according to the fifth embodiment of the present invention, the integral value of the
[0043]
【The invention's effect】
As described above, according to the present invention, in the PLL circuit for generating the clock signal synchronized with the reference frame signal using the PWM technique, the VCO itself varies or the operating condition changes. Also, a constant PLL characteristic can be realized.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a PLL circuit according to a first embodiment of the present invention.
FIG. 2 is a graph showing the relationship between the input voltage of the VCO and the oscillation frequency in FIG.
3 is a diagram illustrating a relationship among a digital filter output, a duty of a PWM signal, and an oscillation frequency of a VCO in the PLL circuit of FIG.
FIG. 4 is a block diagram showing a configuration of a PLL circuit according to a second embodiment of the present invention.
5 is a block diagram showing an internal configuration of a digital filter in FIG. 4. FIG.
FIG. 6 is a block diagram showing a configuration of a PLL circuit according to a third embodiment of the present invention.
FIG. 7 is a block diagram showing a configuration of a PLL circuit according to a fourth embodiment of the present invention.
FIG. 8 is a block diagram showing a configuration of a PLL circuit according to a fifth embodiment of the present invention.
[Explanation of symbols]
1 Phase comparator (PC)
2 Digital filter (first filter)
3 PWM signal generator 3a Pulse
5 Voltage controlled oscillator (VCO)
6 Frequency divider 7
Claims (7)
前記基準フレーム信号と生成された同期フレーム信号との位相差を表す位相誤差信号を供給するための位相比較器と、
前記位相誤差信号をフィルタリングするための第1フィルタと、
前記第1フィルタの出力に応じたデューティを有するパルス幅変調(PWM)信号を生成するためのPWM信号生成部と、
前記PWM信号の平均電圧を制御電圧として供給するように前記PWM信号を積分するための第2フィルタと、
前記制御電圧に応じた周波数を有する同期クロック信号を生成するための電圧制御発振器(VCO)と、
前記同期クロック信号を分周することにより前記同期フレーム信号を生成するための分周器とを備え、
前記PWM信号生成部は、パルス幅制御情報を保持するためのレジスタを有し、当該レジスタに保持されたパルス幅制御情報に従い、前記PWM信号のデューティを動作条件に応じてバイアスさせるように制御することを特徴とするPLL回路。A PLL circuit for generating a clock signal synchronized with a reference frame signal,
A phase comparator for providing a phase error signal representing a phase difference between the reference frame signal and the generated synchronization frame signal;
A first filter for filtering the phase error signal;
A PWM signal generator for generating a pulse width modulation (PWM) signal having a duty according to the output of the first filter;
A second filter for integrating the PWM signal to supply an average voltage of the PWM signal as a control voltage;
A voltage controlled oscillator (VCO) for generating a synchronous clock signal having a frequency according to the control voltage;
A frequency divider for generating the synchronization frame signal by dividing the synchronization clock signal;
The PWM signal generation unit has a register for holding pulse width control information, and controls the duty of the PWM signal to be biased according to the operating condition according to the pulse width control information held in the register. A PLL circuit characterized by that.
前記PWM信号生成部は、標準動作条件では、位相ロック状態で前記第1フィルタの出力が0%になった場合に、前記制御電圧が電源電圧の0.5倍の電圧になって前記VCOの発振周波数が目標ロック周波数になるように、前記PWM信号のデューティを50%とする機能を有し、
前記レジスタに保持されるパルス幅制御情報は、位相ロック状態で前記第1フィルタの出力が0%になった場合に動作条件の如何にかかわらず前記VCOの発振周波数が目標ロック周波数になるような前記PWM信号のデューティバイアス値であることを特徴とするPLL回路。The PLL circuit according to claim 1,
When the output of the first filter becomes 0% in the phase locked state under the standard operating condition, the PWM signal generation unit is configured such that the control voltage becomes 0.5 times the power supply voltage and the VCO A function of setting the duty of the PWM signal to 50% so that the oscillation frequency becomes a target lock frequency;
The pulse width control information held in the register is such that when the output of the first filter becomes 0% in the phase locked state, the oscillation frequency of the VCO becomes the target lock frequency regardless of operating conditions. A PLL circuit having a duty bias value of the PWM signal.
目標ロック周波数と同じ周波数を有する基準クロック信号をカウントするための基準クロックカウンタと、
前記同期クロック信号をカウントするための同期クロックカウンタと、
一定期間内の前記基準クロックカウンタと前記同期クロックカウンタとの各々のカウント値を比較するための周波数比較器とを更に備え、
前記第1フィルタは、前記位相誤差信号に代えて前記周波数比較器での比較結果をフィルタリングする機能を更に有し、
前記PWM信号生成部は、前記周波数比較器での比較結果を前記第1フィルタでフィルタリングしている場合の周波数ロック状態における前記PWM信号のデューティバイアス値を前記パルス幅制御情報として前記レジスタに格納する機能を更に有することを特徴とするPLL回路。The PLL circuit according to claim 2, wherein
A reference clock counter for counting a reference clock signal having the same frequency as the target lock frequency;
A synchronous clock counter for counting the synchronous clock signal;
A frequency comparator for comparing the count values of the reference clock counter and the synchronous clock counter within a certain period,
The first filter further has a function of filtering a comparison result in the frequency comparator instead of the phase error signal,
The PWM signal generation unit stores the duty bias value of the PWM signal in the frequency lock state when the comparison result of the frequency comparator is filtered by the first filter as the pulse width control information in the register. A PLL circuit further having a function.
前記第1フィルタの出力を複数フレーム分保持するためのフィルタ出力保持レジスタと、
前記フィルタ出力保持レジスタに保持されている前記第1フィルタ出力の振幅情報よりPLL減衰特性を判別するためのPLL減衰特性判別部と、
前記フィルタ出力保持レジスタに保持されている前記第1フィルタ出力が減衰するまでの時間情報よりPLL応答特性を判別するためのPLL応答特性判別部と、
前記PLL減衰特性と前記PLL応答特性とから前記第1フィルタに最適なフィルタ係数を見出すための最適フィルタ係数判断部と、
前記最適フィルタ係数判断部で見出されたフィルタ係数を保持するためのフィルタ係数レジスタとを更に備え、
前記第1フィルタは、前記フィルタ係数レジスタからのフィルタ係数で動作することを特徴とするPLL回路。The PLL circuit according to claim 1,
A filter output holding register for holding the output of the first filter for a plurality of frames;
A PLL attenuation characteristic determination unit for determining a PLL attenuation characteristic from the amplitude information of the first filter output held in the filter output holding register;
A PLL response characteristic determining unit for determining a PLL response characteristic from time information until the first filter output held in the filter output holding register is attenuated;
An optimum filter coefficient determination unit for finding an optimum filter coefficient for the first filter from the PLL attenuation characteristic and the PLL response characteristic;
A filter coefficient register for holding the filter coefficient found by the optimum filter coefficient determination unit,
The first circuit operates with a filter coefficient from the filter coefficient register.
前記基準フレーム信号の入力の有無を判断するための基準フレーム入力判断部と、
フィルタ積分値設定情報を保持するための積分値レジスタとを更に備え、
前記第1フィルタは、前記基準フレーム入力判断部で前記基準フレーム信号が入力されていないと判断した場合には、前記積分値レジスタに保持されている前記フィルタ積分値設定情報を前記第1フィルタに積分値として強制的にセットし、前記基準フレーム入力判断部で前記基準フレーム信号が入力されたと判断した場合には、前記フィルタ積分値設定情報を強制的にセットする状態を解除して前記位相誤差信号をフィルタリングする通常の動作に移行することを特徴とするPLL回路。The PLL circuit according to claim 1,
A reference frame input determination unit for determining whether or not the reference frame signal is input;
An integral value register for holding filter integral value setting information;
When the reference frame input determination unit determines that the reference frame signal is not input, the first filter sends the filter integration value setting information held in the integration value register to the first filter. Forcibly set as an integral value, and when the reference frame input determination unit determines that the reference frame signal has been input, cancels the state in which the filter integral value setting information is forcibly set and releases the phase error A PLL circuit which is shifted to a normal operation for filtering a signal.
前記基準フレーム信号の入力の有無を判断するための基準フレーム入力判断部と、
前記基準フレーム入力判断部からの情報を元に基準フレームの入力間隔をカウントし保持するための基準フレーム入力間隔保持レジスタと、
前記第1フィルタの積分値の更新を制御するためのフィルタ更新制御部とを更に備え、
前記フィルタ更新制御部は、前記基準フレーム入力間隔保持レジスタに保持されている直前の基準フレーム入力間隔を超えて一定期間前記基準フレーム信号が入力されなかった場合には、前記第1フィルタの積分値更新を停止させ、前記第1フィルタの積分値更新が停止しているときに前記基準フレーム入力判断部から前記基準フレーム信号が入力されたことを通知された場合には、前記第1フィルタの積分値更新を再開させることを特徴とするPLL回路。The PLL circuit according to claim 1,
A reference frame input determination unit for determining whether or not the reference frame signal is input;
A reference frame input interval holding register for counting and holding an input interval of a reference frame based on information from the reference frame input determination unit;
A filter update control unit for controlling update of the integral value of the first filter;
The filter update control unit, when the reference frame signal is not input for a certain period of time exceeding the immediately preceding reference frame input interval held in the reference frame input interval holding register, the integrated value of the first filter When the update is stopped and the reference frame input determination unit notifies that the reference frame signal has been input when the integral value update of the first filter is stopped, the integration of the first filter A PLL circuit that restarts value updating.
モード選択信号からモード移行の有無を検出するためのモード移行検出部と、
複数のモードの各々に対応したフィルタ積分値設定情報のいずれかを選択するための積分値セレクタとを更に備え、
前記モード移行検出部は、前記モード選択信号よりモード移行を検出した場合には、前記積分値セレクタに移行後のモードに対応したフィルタ積分値設定情報を選択させ、かつ当該積分値セレクタが選択したフィルタ積分値設定情報を前記第1フィルタに積分値としてセットするように前記第1フィルタに通知することを特徴とするPLL回路。The PLL circuit according to claim 1,
A mode transition detection unit for detecting the presence or absence of mode transition from the mode selection signal;
An integral value selector for selecting any one of the filter integral value setting information corresponding to each of the plurality of modes;
When the mode transition detection unit detects a mode transition from the mode selection signal, the mode transition detection unit causes the integral value selector to select filter integral value setting information corresponding to the mode after transition, and the integral value selector selects A PLL circuit that notifies the first filter to set filter integral value setting information as an integral value in the first filter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003180471A JP2005020221A (en) | 2003-06-25 | 2003-06-25 | Pll circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003180471A JP2005020221A (en) | 2003-06-25 | 2003-06-25 | Pll circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005020221A true JP2005020221A (en) | 2005-01-20 |
Family
ID=34181447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003180471A Pending JP2005020221A (en) | 2003-06-25 | 2003-06-25 | Pll circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005020221A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007068081A (en) * | 2005-09-02 | 2007-03-15 | Fujitsu Ltd | Pll circuit |
CN101958711A (en) * | 2010-08-05 | 2011-01-26 | 香港应用科技研究院有限公司 | Digital phase-locking phase system with shake PDM keyer |
US8248104B2 (en) | 2007-09-14 | 2012-08-21 | Nec Corporation | Phase comparator and phase-locked loop |
WO2015011758A1 (en) | 2013-07-22 | 2015-01-29 | 株式会社 東芝 | Display system |
CN107306134A (en) * | 2016-04-25 | 2017-10-31 | 精工爱普生株式会社 | Circuit arrangement, oscillator, electronic equipment and moving body |
CN108562286A (en) * | 2018-06-13 | 2018-09-21 | 中国兵器工业集团第二四研究所苏州研发中心 | Digital PLL circuit in restructural MEMS gyro number TT&C system |
KR101945620B1 (en) | 2017-06-20 | 2019-02-07 | 울산대학교 산학협력단 | Apparatus and method for tracking maximum power point using compensated incremental conductance |
CN112187270A (en) * | 2020-09-30 | 2021-01-05 | 山东华科半导体研究院有限公司 | Temperature sensor circuit and temperature sensing analog-to-digital conversion method |
-
2003
- 2003-06-25 JP JP2003180471A patent/JP2005020221A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007068081A (en) * | 2005-09-02 | 2007-03-15 | Fujitsu Ltd | Pll circuit |
US8248104B2 (en) | 2007-09-14 | 2012-08-21 | Nec Corporation | Phase comparator and phase-locked loop |
CN101958711A (en) * | 2010-08-05 | 2011-01-26 | 香港应用科技研究院有限公司 | Digital phase-locking phase system with shake PDM keyer |
WO2015011758A1 (en) | 2013-07-22 | 2015-01-29 | 株式会社 東芝 | Display system |
CN107306134A (en) * | 2016-04-25 | 2017-10-31 | 精工爱普生株式会社 | Circuit arrangement, oscillator, electronic equipment and moving body |
CN107306134B (en) * | 2016-04-25 | 2022-09-09 | 精工爱普生株式会社 | Circuit device, oscillator, electronic apparatus, and moving object |
KR101945620B1 (en) | 2017-06-20 | 2019-02-07 | 울산대학교 산학협력단 | Apparatus and method for tracking maximum power point using compensated incremental conductance |
CN108562286A (en) * | 2018-06-13 | 2018-09-21 | 中国兵器工业集团第二四研究所苏州研发中心 | Digital PLL circuit in restructural MEMS gyro number TT&C system |
CN108562286B (en) * | 2018-06-13 | 2024-02-23 | 中国兵器工业集团第二一四研究所苏州研发中心 | Digital phase-locked loop circuit in reconfigurable MEMS gyroscope digital measurement and control system |
CN112187270A (en) * | 2020-09-30 | 2021-01-05 | 山东华科半导体研究院有限公司 | Temperature sensor circuit and temperature sensing analog-to-digital conversion method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7994867B2 (en) | Oscillator control apparatus | |
JP4355350B2 (en) | Oscillation frequency control circuit | |
JP2005020221A (en) | Pll circuit | |
US10644706B1 (en) | Data and clock recovery circuit | |
JPH08265140A (en) | Method and device for determining feedback frequency demultiplying ratio in phase-locked loop | |
KR20070015729A (en) | Frequency synthesizer having fast lock function | |
JP3356244B2 (en) | Television signal receiver | |
WO2001022593A1 (en) | Phase-locked loop | |
US7050520B2 (en) | PLL (Phase-Locked Loop) circuit | |
JP2008131122A (en) | Rubidium atomic oscillator | |
JP2008118522A (en) | Fm receiver | |
US20070178848A1 (en) | Generation of wideband frequencies in integrated frequency synthesizer | |
JP4610698B2 (en) | AFT circuit | |
JPH08195691A (en) | Receiving circuit | |
JPH09191247A (en) | Pll circuit | |
JP3677980B2 (en) | Receiver | |
JPS6356018A (en) | Pull in system by pll | |
JP2570748B2 (en) | Communication device | |
KR100987072B1 (en) | Apparatus and method for improving phase noise of phase locked loop | |
JP2002314411A (en) | Pll frequency synthesizer | |
JPH0470122A (en) | Pll controller | |
JPH08307256A (en) | Pll circuit | |
JPH07162272A (en) | Automatic frequency control circuit | |
JP2001257587A (en) | Locking detector and phase locked loop using the same | |
JPH0477070A (en) | Discrimination circuit |