patents.google.com

JP2004266699A - Clock reproducing pll circuit - Google Patents

  • ️Fri Sep 24 2004

JP2004266699A - Clock reproducing pll circuit - Google Patents

Clock reproducing pll circuit Download PDF

Info

Publication number
JP2004266699A
JP2004266699A JP2003056665A JP2003056665A JP2004266699A JP 2004266699 A JP2004266699 A JP 2004266699A JP 2003056665 A JP2003056665 A JP 2003056665A JP 2003056665 A JP2003056665 A JP 2003056665A JP 2004266699 A JP2004266699 A JP 2004266699A Authority
JP
Japan
Prior art keywords
signal
clock
circuit
data signal
synchronization
Prior art date
2003-03-04
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003056665A
Other languages
Japanese (ja)
Inventor
晴久 ▲高▼田
Haruhisa Takada
Kazuhiko Nishikawa
和彦 西川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
2003-03-04
Filing date
2003-03-04
Publication date
2004-09-24
2003-03-04 Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
2003-03-04 Priority to JP2003056665A priority Critical patent/JP2004266699A/en
2004-09-24 Publication of JP2004266699A publication Critical patent/JP2004266699A/en
Status Pending legal-status Critical Current

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a clock reproducing PLL circuit which can supply correct data to a subsequent digital signal processing circuit even if a frequency of a reproduction clock signal becomes high. <P>SOLUTION: A clock reproduction loop is composed by using a phase comparator 3 which generates a phase error signal at a rising edge of a reproduction clock signal CLOCK, and a synchronization circuit 8 which performs a data latch operation in synchronization with a falling edge of the reproduction clock signal CLOCK is provided at a preceding stage of the digital signal processing circuit. A phase offset between two inputs of the synchronization circuit 8 is detected by using a test data signal TDATA, and a control circuit 9 controls an operation of at least one of the phase comparator 3, a driving circuit 4, an oscillation circuit 6, and the synchronization circuit 8 according to the phase offset, thereby a sufficient setup time and a hold time are secured at an input of the synchronization circuit 8. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、データを表す信号からクロック信号を再生するためのクロック再生用PLL(phase−locked loop)回路に関するものである。
【0002】
【従来の技術】
一般にPLL回路は、位相比較器と、チャージポンプを有する駆動回路と、電圧制御型発振器(VCO:voltage−controlled oscillator)を有する発振回路とをループ状に結合してなるものである。
【0003】
クロック再生用の従来のPLL回路において、ロック時のデータ信号と再生クロック信号との間の位相オフセット、つまり位相比較器の2入力間の位相オフセットをループ内の情報に基づいて減少させる技術が知られている(特許文献1参照)。
【0004】
【特許文献1】
特開平6−104745号公報
【0005】
【発明が解決しようとする課題】
PLL回路からデータ信号と再生クロック信号とをデジタル信号処理回路へ伝送する場合には、デジタル信号処理回路の前段にDフリップフロップ等の同期化回路を設ける必要がある。
【0006】
ところが、PLL回路から同期化回路に至る伝送経路上でデータ信号と再生クロック信号との間にスキュー(時間的な「ずれ」)が生じると、位相比較器の2入力間に位相オフセットがなくても、同期化回路の2入力間に位相オフセットが生じてしまう。その結果、同期化回路において必要なセットアップ時間、ホールド時間のうちいずれかが確保されず、データのミスラッチが生じる可能性がある。特に、再生クロック信号の周波数が高い場合には、ミスラッチの発生確率が高くなる。
【0007】
本発明の目的は、再生クロック信号の周波数が高くなっても正しいデータを後段のデジタル信号処理回路へ供給することができるクロック再生用PLL回路を提供することにある。
【0008】
【課題を解決するための手段】
上記目的を達成するため、本発明は、同期化回路の2入力間の位相オフセットに応じて位相比較器と、駆動回路と、発振回路と、同期化回路とのうち少なくとも1つの動作を制御することにより、同期化回路において十分なセットアップ時間及びホールド時間を確保することとしたものである。
【0009】
具体的に説明すると、本発明に係るクロック再生用PLL回路は、テストモードにおけるテストデータ信号を供給するためのテスト信号源と、通常モードにおける入力データ信号と前記テストデータ信号とのうちいずれかをデータ信号として選択するためのセレクタと、再生クロック信号の立ち上がりエッジと立ち下がりエッジとのうち一方を第1のクロックエッジ、他方を第2のクロックエッジとするとき、前記データ信号のエッジと前記再生クロック信号の第1のクロックエッジとの位相を比較して位相誤差信号を生成するための位相比較器と、前記位相誤差信号から制御電圧を生成するための駆動回路と、前記制御電圧に応じた周波数を持つ信号を前記再生クロック信号として生成するための発振回路と、前記データ信号と前記再生クロック信号とを入力として受け取り、かつ前記再生クロック信号の第2のクロックエッジに同期するように前記データ信号をラッチして、同期化データ信号と、該同期化データ信号を取り込むべきタイミングを表す同期化クロック信号とを出力するための同期化回路と、前記入力データ信号から再生されるべきクロック信号の周期をTとするとき、前記テストモードにおける前記同期化回路の入力において、前記再生クロック信号の第2のクロックエッジに対する前記テストデータ信号のセットアップ時間及びホールド時間として各々最低限前記周期Tの半分が確保されるように、前記テストデータ信号のエッジと前記再生クロック信号の第1のクロックエッジとの間の位相オフセットに応じて前記位相比較器と、前記駆動回路と、前記発振回路と、前記同期化回路とのうち少なくとも1つを制御する調整信号を見出し、かつ該見出した調整信号を前記通常モードにおいて保持するための制御回路とを備えた構成を採用したものである。
【0010】
前記テスト信号源は、j、kをそれぞれ整数とするとき、ハイレベル期間(j+0.5)Tと、ローレベル期間(k+0.5)Tとを有する信号を前記テストデータ信号として供給する機能を有するものとする。前記制御回路は、前記テストデータ信号に対する前記同期化データ信号が、ハイレベル期間(j+1)Tと、ローレベル期間kTとを有する状態から、ハイレベル期間jTと、ローレベル期間(k+1)Tとを有する状態へ遷移した時点の前記調整信号を保持する機能を有する。
【0011】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を詳しく説明する。
【0012】
図1は、本発明に係るクロック再生用PLL回路の構成例を示している。図1に示すクロック再生用PLL回路は、テスト信号源1と、セレクタ2と、位相比較器3と、駆動回路4と、ループフィルタ5と、発振回路6と、分周器7と、同期化回路8と、制御回路9とを備えている。IDATAは入力データ信号、TDATAはテストデータ信号、DATAはデータ信号、UPI/DNIはループ内位相誤差信号、CNTVは制御電圧、ACLOCKは逓倍クロック信号、CLOCKは再生クロック信号、UPO/DNOはループ外位相誤差信号、ADJは調整信号、SDATAは同期化データ信号、SCLOCKは同期化クロック信号である。
【0013】
テスト信号源1は、テストモードにおいてテストデータ信号TDATAを供給するものである。このテスト信号源1は、テストデータ信号TDATAの周波数及びデューティを任意に設定できる機能を有し、通常モードにおいて入力データ信号IDATAから再生されるべきクロック信号の周期をTとするとき、例えばハイレベル期間4.5Tと、ローレベル期間3.5Tとを有する信号をテストデータ信号TDATAとして供給する。セレクタ2は、入力データ信号IDATAと、テスト信号源1からのテストデータ信号TDATAとのうちいずれかをデータ信号DATAとして選択する。
【0014】
位相比較器3は、通常モードではデータ信号DATA(=IDATA)の立ち上がり及び立ち下がりの両エッジと再生クロック信号CLOCKの立ち上がりエッジとの位相を比較し、テストモードではデータ信号DATA(=TDATA)の立ち上がりエッジのみと再生クロック信号CLOCKの立ち上がりエッジとの位相を比較して、ループ内位相誤差信号UPI/DNIを生成する。駆動回路4は、ループ内位相誤差信号UPI/DNIからチャージポンプにより制御電圧CNTVを生成する。ループフィルタ5は、制御電圧CNTVをコンデンサにより平滑化する。発振回路6は、平滑化された制御電圧CNTVに応じた周波数を持つ信号を、VCOにより逓倍クロック信号ACLOCKとして生成する。分周器7は、逓倍クロック信号ACLOCKを分周して得た信号を再生クロック信号CLOCKとして位相比較器3へフィードバックする。
【0015】
同期化回路8は、データ信号DATA(=IDATA又はTDATA)と再生クロック信号CLOCKとを入力として受け取り、かつ再生クロック信号CLOCKの立ち下がりエッジに同期するように当該データ信号DATAを例えばDフリップフロップでラッチして、同期化データ信号SDATAと、この同期化データ信号SDATAを取り込むべきタイミングを表す同期化クロック信号SCLOCKとを次段のデジタル信号処理回路へ出力するものである。この同期化回路8は、更にテストモードにおける入力、すなわちテストデータ信号TDATAと再生クロック信号CLOCKとについて、テストデータ信号TDATAの立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの間の位相オフセットを表すループ外位相誤差信号UPO/DNOを供給する機能をも有する。
【0016】
制御回路9は、テストモードにおけるロック時の同期化回路8の入力において、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのセットアップ時間及びホールド時間として各々最低限T/2が確保されるように、同期化回路8から供給されたループ外位相誤差信号UPO/DNOに応じて位相比較器3と、駆動回路4と、発振回路6と、同期化回路8とのうち少なくとも1つを制御する調整信号ADJを見出し、かつ該見出した調整信号ADJを通常モードにおいて保持する機能を有するものである。具体的には、上記テストデータ信号TDATAに対する同期化データ信号SDATAがハイレベル期間5Tと、ローレベル期間3Tとを有する状態(5T/3T状態という。)から、ハイレベル期間4Tと、ローレベル期間4Tとを有する状態(4T/4T状態という。)へ遷移した時点の調整信号ADJを保持する機能を、制御回路9は有する。
【0017】
図2、図3及び図4を用いて、テストモードにおける図1中の制御回路9の動作を説明する。制御回路9は、テストデータ信号TDATAの立ち上がりエッジに対する再生クロック信号CLOCKの立ち上がりエッジの位相を、進み方向に順次ずらすように制御する。図2〜図4では、これらの立ち上がりエッジが白い三角形で表されている。黒い三角形は、再生クロック信号CLOCKの立ち下がりエッジ、すなわち同期化回路8のラッチタイミングを表している。
【0018】
図2は、同期化回路8の入力において再生クロック信号CLOCKがテストデータ信号TDATAより進んでいる状態を示している。この状態は同期化データ信号SDATAの5T/3T状態であって、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのセットアップ時間がT/2より短くなっている。
【0019】
図3は、同期化回路8の入力において再生クロック信号CLOCKがテストデータ信号TDATAと同相である状態を示している。この状態は同期化データ信号SDATAの4T/4T状態であって、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのセットアップ時間及びホールド時間として各々最低限T/2が確保されている。したがって、この状態でテストデータ信号TDATAに代えて入力データ信号IDATAが供給された場合、同期化回路8におけるミスラッチの発生確率が最も低くなる。
【0020】
図4は、同期化回路8の入力において再生クロック信号CLOCKがテストデータ信号TDATAより遅れている状態を示している。この状態は同期化データ信号SDATAの4T/4T状態であって、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのホールド時間がT/2より短くなっている。
【0021】
したがって、制御回路9は上記テストデータ信号TDATAに対する同期化データ信号SDATAが5T/3T状態から4T/4T状態へと遷移した時点の調整信号ADJを見出し、かつ該見出した調整信号ADJを通常モードにおいて保持するのである。これにより、同期化回路8におけるミスラッチの発生確率が低減される。再生クロック信号CLOCKのジッタの影響で同期化データ信号SDATAが5T/3T状態と4T/4T状態との間を往復する場合には、当該往復の際の調整信号ADJの幅の中心点を採用すればよい。
【0022】
なお、上記と同様に同期化回路8が再生クロック信号CLOCKの立ち下がりエッジに同期してデータ信号DATAをラッチする限り、テストモードにおけるループ内位相誤差信号UPI/DNI及びループ外位相誤差信号UPO/DNOの各々の生成にあたり、テストデータ信号TDATAの立ち下がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相を比較することとしてもよい。
【0023】
また、同期化回路8が再生クロック信号CLOCKの立ち上がりエッジに同期してデータ信号DATAをラッチする場合には、テストモードにおけるループ内位相誤差信号UPI/DNI及びループ外位相誤差信号UPO/DNOの各々の生成にあたり、テストデータ信号TDATAの立ち上がりエッジと再生クロック信号CLOCKの立ち下がりエッジとの位相比較、又はテストデータ信号TDATAの立ち下がりエッジと再生クロック信号CLOCKの立ち下がりエッジとの位相比較のいずれをも採用可能である。
【0024】
以下、図1中の位相比較器3、駆動回路4、発振回路6、同期化回路8の各々における調整信号ADJの使用例を説明する。
【0025】
図5は、図1中の位相比較器3の内部構成例を示している。図5において、10は位相比較回路、11は遅延バッファ、12は遅延回路、DDATAは遅延データ信号、DCLOCKは遅延クロック信号である。遅延バッファ11は、データ信号DATA(=IDATA又はTDATA)を固定の遅延時間td1だけ遅延させた遅延データ信号DDATAを位相比較回路10へ供給する。遅延回路12は、再生クロック信号CLOCKを可変の遅延時間td2だけ遅延させた遅延クロック信号DCLOCKを位相比較回路10へ供給する。調整信号ADJは、この遅延時間td2を調整するための信号として使用される。位相比較回路10は、遅延データ信号DDATAの立ち上がりエッジと遅延クロック信号DCLOCKの立ち上がりエッジとの位相を比較するための第1の比較回路と、遅延データ信号DDATAの立ち下がりエッジと遅延クロック信号DCLOCKの立ち上がりエッジとの位相を比較するための第2の比較回路とを実装したものであり、通常モードでは第1及び第2の比較回路の双方が動作し、テストモードでは両比較回路のうちの一方のみが動作して、駆動回路4へループ内位相誤差信号UPI/DNIを供給するように構成されている。
【0026】
図6は、図5中の遅延回路12の内部構成例を示している。図6において、20〜25は各々遅延バッファ、26は調整信号ADJにより開閉が制御されるスイッチ列であって、再生クロック信号CLOCKの伝播経路上のバッファ数を変更することで遅延時間td2を数100psオーダーで調整できるようになっている。
【0027】
図7を用いて、テストモードにおける図5の位相比較器3の動作を説明する。
図5中の位相比較回路10は、遅延データ信号DDATAと遅延クロック信号DCLOCKとが同じタイミングで立ち上がるようにPLL制御する。したがって、一方の遅延時間td1を固定したまま他方の遅延時間td2を変化させると、位相比較器3の入力におけるデータ信号DATA(=TDATA)の立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相関係が変化する。つまり、調整信号ADJにより、同期化回路8の入力におけるデータ信号DATA(=TDATA)の立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相関係を調整することができる。なお、図5中の遅延バッファ11と遅延回路12との位置を交換した構成でもよい。
【0028】
位相比較器3において調整信号ADJを使用しない場合には、図5中の遅延バッファ11及び遅延回路12の配設を省略して、データ信号DATA(=IDATA又はTDATA)及び再生クロック信号CLOCKを位相比較回路10に直接入力する。この場合に位相比較回路10を構成する上記第1及び第2の比較回路のうちの一方の動作をテストモードで停止させる理由は、図2〜図4から明らかであろう。
【0029】
図8は、図1中の駆動回路(チャージポンプ)4の内部構成例を示している。
図8において、30は吐き出し側電流源、31は吸い込み側電流源、32及び33は第1、第2のスイッチである。吐き出し側電流源30は、第1のスイッチ32が閉じたときに制御電圧CNTVの信号線へ電流Ip(固定値)を吐き出す。
吸い込み側電流源31は、第2のスイッチ33が閉じたときに制御電圧CNTVの信号線から電流In(可変値)を吸い込む。調整信号ADJは、この電流Inの値を調整するための信号として使用される。ループ内位相誤差信号UPI/DNIのうちアップ信号UPIは第1のスイッチ32の開閉を、ダウン信号DNIは第2のスイッチ33の開閉をそれぞれ制御する信号である。
【0030】
図9、図10及び図11を用いて、テストモードにおける図8の駆動回路4の動作を説明する。図9〜図11では、アップ信号UPIのパルス幅をtp、ダウン信号DNIのパルス幅をtnとしている。
【0031】
図9は、位相比較器3の入力において再生クロック信号CLOCKがテストデータ信号TDATAと同相である状態を示している。図9に示すようにIp=Inならばtp=tnとなり、位相比較器3の入力においてテストデータ信号TDATAと再生クロック信号CLOCKとが同じタイミングで立ち上がるようにPLL制御が実行される。
【0032】
図10は、位相比較器3の入力において再生クロック信号CLOCKがテストデータ信号TDATAより進んでいる状態を示している。図10に示すようにIp>Inならばtp<tnとなり、位相比較器3の入力において再生クロック信号CLOCKの立ち上がりエッジがテストデータ信号TDATAの立ち上がりエッジより進み位相を有することとなる。
【0033】
図11は、位相比較器3の入力において再生クロック信号CLOCKがテストデータ信号TDATAより遅れている状態を示している。図11に示すようにIp<Inならばtp>tnとなり、位相比較器3の入力において再生クロック信号CLOCKの立ち上がりエッジがテストデータ信号TDATAの立ち上がりエッジより遅れ位相を有することとなる。
【0034】
以上のとおり、一方の電流値Ipを固定したまま他方の電流値Inを変化させると、位相比較器3の入力におけるデータ信号DATA(=TDATA)の立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相関係が変化する。つまり、調整信号ADJにより、同期化回路8の入力におけるデータ信号DATA(=TDATA)の立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相関係を調整することができる。
【0035】
なお、吐き出し側電流Ipを可変値とし、吸い込み側電流Inを固定値としてもよい。また、電流Ip及びInの双方を可変値とすることも可能である。駆動回路4において調整信号ADJを使用しない場合には、電流Ip及びInの双方を固定値とすればよい。
【0036】
図12は、図1中の発振回路6の内部構成例を示している。図12において、40はVCO、41はデューティ調整回路である。VCO40は、制御電圧CNTVに応じた周波数を持つ信号を生成する。デューティ調整回路41は、VCO40により生成された信号のデューティをパルス幅変調により調整し、その結果を逓倍クロック信号ACLOCKとして供給する。調整信号ADJは、このパルス幅変調においてデューティを調整するための信号として使用される。
【0037】
図13、図14及び図15を用いて、テストモードにおける図12の発振回路6の動作を説明する。この場合の制御回路9は、テストデータ信号TDATAの立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相関係を調整するのではなく、再生クロック信号CLOCKのデューティが次第に増大するように制御する。
【0038】
図13は、同期化回路8の入力において再生クロック信号CLOCKがテストデータ信号TDATAより進んでおり、かつ再生クロック信号CLOCKのデューティが12.5%である状態を示している。この状態では、同期化データ信号SDATAのハイレベル期間が4Tであり、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのホールド時間がT/2より短くなっている。
【0039】
図14は、同期化回路8の入力において再生クロック信号CLOCKがテストデータ信号TDATAより進んでおり、かつ再生クロック信号CLOCKのデューティが50%である状態を示している。この状態では、同期化データ信号SDATAのハイレベル期間が5Tであり、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのセットアップ時間がT/2より短くなっている。
【0040】
図15は、同期化回路8の入力において再生クロック信号CLOCKがテストデータ信号TDATAより進んでおり、かつ再生クロック信号CLOCKのデューティが87.5%である状態を示している。この状態では、同期化データ信号SDATAのハイレベル期間が4Tであり、再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのセットアップ時間及びホールド時間として各々最低限T/2が確保されている。したがって、この状態でテストデータ信号TDATAに代えて入力データ信号IDATAが供給された場合、同期化回路8におけるミスラッチの発生確率が最も低くなる。
【0041】
制御回路9は、上記テストデータ信号TDATAに対する同期化データ信号SDATAが5T/3T状態から4T/4T状態へと遷移した時点の調整信号ADJを見出し、かつ該見出した調整信号ADJを通常モードにおいて保持すればよい。これにより、同期化回路8におけるミスラッチの発生確率が低減される。
【0042】
発振回路6において調整信号ADJを使用しない場合には、図12中のデューティ調整回路41の配設を省略し、VCO40が逓倍クロック信号ACLOCKを供給するようにすればよい。
【0043】
図16は、図1中の同期化回路8の内部構成例を示している。図16において、50はDフリップフロップ、51は遅延バッファ、52は遅延回路、53はインバータ、54は位相オフセット検出回路、FDATAは正転データ信号、FCLOCKは反転クロック信号である。遅延バッファ51は、データ信号DATA(=IDATA又はTDATA)を固定の遅延時間だけ遅延させた正転データ信号FDATAをDフリップフロップ50のデータ入力端子Dへ供給する。遅延回路52は、再生クロック信号CLOCKを可変の遅延時間だけ遅延させた信号をインバータ53の入力端子へ供給する。調整信号ADJは、遅延回路52の遅延時間を調整するための信号として使用される。インバータ53は、遅延回路52の出力を反転させた反転クロック信号FCLOCKをDフリップフロップ50のクロック入力端子CKへ供給する。Dフリップフロップ50は、反転クロック信号FCLOCKの立ち上がりエッジに同期して正転データ信号FDATAをラッチする。Dフリップフロップ50のQ出力が同期化データ信号SDATAであり、遅延回路52の出力が同期化クロック信号SCLOCKである。位相オフセット検出回路54は、テストモードにおいて正転データ信号FDATAの立ち上がりエッジと同期化クロック信号SCLOCKの立ち上がりエッジとの間の位相オフセットを表すループ外位相誤差信号UPO/DNOを制御回路9へ供給する。
【0044】
図16の同期化回路8によれば、遅延バッファ51の遅延時間を固定したまま遅延回路52の遅延時間を調整信号ADJにより変化させることで、同期化回路8の入力におけるデータ信号DATAの立ち上がりエッジと再生クロック信号CLOCKの立ち上がりエッジとの位相関係を調整することができる。なお、図16中の遅延バッファ51と遅延回路52との位置を交換した構成でもよい。
【0045】
同期化回路8において調整信号ADJを使用しない場合には、図16中の遅延バッファ51及び遅延回路52の配設を省略し、データ信号DATA(=IDATA又はTDATA)をDフリップフロップ50のデータ入力端子Dへ、再生クロック信号CLOCKをインバータ53の入力端子へそれぞれ直接入力する。
【0046】
最後に、図17を用いて図1中の制御回路9の内部構成例を説明する。図17において、60はアップダウンカウンタ、61はデコード回路である。アップダウンカウンタ60は、アップ入力端子UPと、ダウン入力端子DOWNと、クロック入力端子CLKとを有し、ループ外位相誤差信号UPO/DNOのうちアップ信号UPOがアップ入力端子UPに、ダウン信号DNOがダウン入力端子DOWNに、固定クロック信号がクロック入力端子CLKにそれぞれ入力される。このアップダウンカウンタ60は、アップ信号UPOがハイレベルを示す期間に固定クロック信号をアップカウントし、ダウン信号DNOがハイレベルを示す期間に固定クロック信号をダウンカウントするものである。デコード回路61は、アップダウンカウンタ60のカウント値をデコードし、その結果を調整信号ADJとして供給する。
【0047】
同期化回路8からのアップ信号UPOとダウン信号DNOとの各々のハイレベル期間の長さに差がある間は、アップダウンカウンタ60のカウント値が上昇又は下降する。デコード回路61は、このカウント値が変動しなくなる調整信号ADJを見出し、かつ該見出した調整信号ADJを保持するのである。その結果、同期化回路8の入力において再生クロック信号CLOCKの立ち下がりエッジに対するテストデータ信号TDATAのセットアップ時間及びホールド時間として各々最低限T/2が確保されることとなる。
【0048】
【発明の効果】
以上説明してきたとおり、本発明によれば、同期化回路の2入力間の位相オフセットに応じて位相比較器と、駆動回路と、発振回路と、同期化回路とのうち少なくとも1つの動作を制御することにより、同期化回路において十分なセットアップ時間及びホールド時間を確保することとしたので、再生クロック信号の周波数が高くなっても正しいデータを後段のデジタル信号処理回路へ供給することができるクロック再生用PLL回路を提供できる。
【図面の簡単な説明】
【図1】本発明に係るクロック再生用PLL回路の構成例を示すブロック図である。
【図2】テストモードにおける図1中の制御回路の動作を説明するためのタイミングチャート図であって、同期化回路の入力において再生クロック信号がテストデータ信号より進んでいる状態を示す。
【図3】図2と同様の図であって、同期化回路の入力において再生クロック信号がテストデータ信号と同相である状態を示す。
【図4】図2と同様の図であって、同期化回路の入力において再生クロック信号がテストデータ信号より遅れている状態を示す。
【図5】図1中の位相比較器の内部構成例を示すブロック図である。
【図6】図5中の遅延回路の内部構成例を示す回路図である。
【図7】テストモードにおける図5の位相比較器の動作を説明するためのタイミングチャート図である。
【図8】図1中の駆動回路の内部構成例を示すブロック図である。
【図9】テストモードにおける図8の駆動回路の動作を説明するためのタイミングチャート図であって、位相比較器の入力において再生クロック信号がテストデータ信号と同相である状態を示す。
【図10】図9と同様の図であって、位相比較器の入力において再生クロック信号がテストデータ信号より進んでいる状態を示す。
【図11】図9と同様の図であって、位相比較器の入力において再生クロック信号がテストデータ信号より遅れている状態を示す。
【図12】図1中の発振回路の内部構成例を示すブロック図である。
【図13】テストモードにおける図12の発振回路の動作を説明するためのタイミングチャート図であって、同期化回路の入力において再生クロック信号のデューティが12.5%である状態を示す。
【図14】図13と同様の図であって、同期化回路の入力において再生クロック信号のデューティが50%である状態を示す。
【図15】図13と同様の図であって、同期化回路の入力において再生クロック信号のデューティが87.5%である状態を示す。
【図16】図1中の同期化回路の内部構成例を示すブロック図である。
【図17】図1中の制御回路の内部構成例を示すブロック図である。
【符号の説明】
1 テスト信号源
2 セレクタ
3 位相比較器
4 駆動回路
5 ループフィルタ
6 発振回路
7 分周器
8 同期化回路
9 制御回路
10 位相比較回路
11 遅延バッファ
12 遅延回路
20〜25 遅延バッファ
26 スイッチ列
30 吐き出し側電流源
31 吸い込み側電流源
32,33 スイッチ
40 電圧制御型発振器(VCO)
41 デューティ調整回路
50 Dフリップフロップ
51 遅延バッファ
52 遅延回路
53 インバータ
54 位相オフセット検出回路
60 アップダウンカウンタ
61 デコード回路
ACLOCK 逓倍クロック信号
ADJ 調整信号
CLOCK 再生クロック信号
CNTV 制御電圧
DATA データ信号
IDATA 入力データ信号
SCLOCK 同期化クロック信号
SDATA 同期化データ信号
TDATA テストデータ信号
UPI,DNI ループ内位相誤差信号
UPO,DNO ループ外位相誤差信号
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a clock recovery PLL (phase-locked loop) circuit for recovering a clock signal from a signal representing data.
[0002]
[Prior art]
Generally, a PLL circuit is formed by coupling a phase comparator, a drive circuit having a charge pump, and an oscillation circuit having a voltage-controlled oscillator (VCO) in a loop.
[0003]
In a conventional PLL circuit for clock recovery, there is known a technique for reducing a phase offset between a data signal at the time of locking and a recovered clock signal, that is, a phase offset between two inputs of a phase comparator, based on information in a loop. (See Patent Document 1).
[0004]
[Patent Document 1]
JP-A-6-104745
[0005]
[Problems to be solved by the invention]
When transmitting a data signal and a reproduced clock signal from a PLL circuit to a digital signal processing circuit, it is necessary to provide a synchronization circuit such as a D flip-flop at a stage preceding the digital signal processing circuit.
[0006]
However, when skew (time shift) occurs between the data signal and the reproduced clock signal on the transmission path from the PLL circuit to the synchronization circuit, there is no phase offset between the two inputs of the phase comparator. Also, a phase offset occurs between the two inputs of the synchronization circuit. As a result, either the setup time or the hold time required in the synchronization circuit is not ensured, and data may be latched. In particular, when the frequency of the reproduced clock signal is high, the probability of occurrence of mislatch increases.
[0007]
An object of the present invention is to provide a clock recovery PLL circuit that can supply correct data to a subsequent digital signal processing circuit even when the frequency of a recovered clock signal increases.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention controls at least one operation of a phase comparator, a driving circuit, an oscillation circuit, and a synchronization circuit according to a phase offset between two inputs of the synchronization circuit. As a result, sufficient setup time and hold time are ensured in the synchronization circuit.
[0009]
Specifically, the clock recovery PLL circuit according to the present invention includes a test signal source for supplying a test data signal in a test mode, and an input data signal in the normal mode and the test data signal. A selector for selecting a data signal; and when one of a rising edge and a falling edge of a reproduction clock signal is a first clock edge and the other is a second clock edge, the edge of the data signal and the reproduction clock signal are reproduced. A phase comparator for comparing a phase of the clock signal with a first clock edge to generate a phase error signal, a driving circuit for generating a control voltage from the phase error signal, and a control circuit responsive to the control voltage. An oscillation circuit for generating a signal having a frequency as the reproduced clock signal; Receiving the clock signal as an input and latching the data signal in synchronization with a second clock edge of the recovered clock signal to indicate a synchronization data signal and a timing at which the synchronization data signal should be captured. A synchronizing circuit for outputting a synchronizing clock signal; and a clock signal to be reproduced from the input data signal, where T is a period of the clock signal to be reproduced. Edge of the test data signal and the first clock edge of the reproduced clock signal so that at least a half of the period T is secured as the setup time and the hold time of the test data signal with respect to the second clock edge The phase comparator according to a phase offset between the driving circuit and the oscillation circuit. And road, heading an adjustment signal for controlling at least one of said synchronization circuit, and in which the adjustment signal issued 該見 employing the configuration and a control circuit for holding in the normal mode.
[0010]
The test signal source has a function of supplying a signal having a high-level period (j + 0.5) T and a low-level period (k + 0.5) T as the test data signal, where j and k are integers. Shall have. The control circuit changes the synchronization data signal for the test data signal from a state having a high level period (j + 1) T and a low level period kT to a high level period jT and a low level period (k + 1) T. The function of holding the adjustment signal at the time of transition to the state having
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0012]
FIG. 1 shows a configuration example of a clock recovery PLL circuit according to the present invention. 1 includes a test signal source 1, a selector 2, a phase comparator 3, a drive circuit 4, a loop filter 5, an oscillation circuit 6, a frequency divider 7, A circuit 8 and a control circuit 9 are provided. IDATA is an input data signal, TDATA is a test data signal, DATA is a data signal, UPI / DNI is a phase error signal in a loop, CNTV is a control voltage, ACLOCK is a multiplied clock signal, CLOCK is a reproduction clock signal, and UPO / DNO is out of a loop. A phase error signal, ADJ is an adjustment signal, SDATA is a synchronization data signal, and SCLOCK is a synchronization clock signal.
[0013]
The test signal source 1 supplies a test data signal TDATA in a test mode. This test signal source 1 has a function of arbitrarily setting the frequency and duty of the test data signal TDATA. When the period of a clock signal to be reproduced from the input data signal IDATA in the normal mode is T, A signal having a period 4.5T and a low-level period 3.5T is supplied as a test data signal TDATA. The selector 2 selects one of the input data signal IDATA and the test data signal TDATA from the test signal source 1 as the data signal DATA.
[0014]
The phase comparator 3 compares the rising edge and falling edge of the data signal DATA (= IDATA) with the rising edge of the recovered clock signal CLOCK in the normal mode, and compares the phase of the data signal DATA (= TDATA) in the test mode. The phase of only the rising edge is compared with the phase of the rising edge of the recovered clock signal CLOCK to generate the in-loop phase error signal UPI / DNI. The drive circuit 4 generates a control voltage CNTV by a charge pump from the in-loop phase error signal UPI / DNI. The loop filter 5 smoothes the control voltage CNTV using a capacitor. The oscillation circuit 6 generates a signal having a frequency corresponding to the smoothed control voltage CNTV as a multiplied clock signal ACLOCK by the VCO. The frequency divider 7 feeds back a signal obtained by dividing the frequency of the multiplied clock signal ACLOCK to the phase comparator 3 as a reproduced clock signal CLOCK.
[0015]
The synchronization circuit 8 receives the data signal DATA (= IDATA or TDATA) and the recovered clock signal CLOCK as inputs, and converts the data signal DATA by, for example, a D flip-flop so as to be synchronized with the falling edge of the recovered clock signal CLOCK. It latches and outputs the synchronization data signal SDATA and the synchronization clock signal SCLOCK indicating the timing at which the synchronization data signal SDATA is to be captured to the digital signal processing circuit at the next stage. The synchronization circuit 8 further includes a loop representing the phase offset between the rising edge of the test data signal TDATA and the rising edge of the recovered clock signal CLOCK for the input in the test mode, that is, the test data signal TDATA and the recovered clock signal CLOCK. It also has a function of supplying an external phase error signal UPO / DNO.
[0016]
The control circuit 9 secures at least T / 2 as the setup time and the hold time of the test data signal TDATA with respect to the falling edge of the reproduced clock signal CLOCK at the input of the synchronization circuit 8 at the time of locking in the test mode. Then, at least one of the phase comparator 3, the drive circuit 4, the oscillation circuit 6, and the synchronization circuit 8 is controlled in accordance with the out-of-loop phase error signal UPO / DNO supplied from the synchronization circuit 8. It has a function of finding the adjustment signal ADJ and holding the found adjustment signal ADJ in the normal mode. Specifically, the state in which the synchronization data signal SDATA for the test data signal TDATA has a high-level period 5T and a low-level period 3T (referred to as 5T / 3T state) is changed to a high-level period 4T and a low-level period. The control circuit 9 has a function of holding the adjustment signal ADJ at the time of transition to the state having 4T (referred to as 4T / 4T state).
[0017]
The operation of the control circuit 9 in FIG. 1 in the test mode will be described with reference to FIGS. 2, 3, and 4. The control circuit 9 controls the phase of the rising edge of the recovered clock signal CLOCK with respect to the rising edge of the test data signal TDATA so as to be sequentially shifted in the leading direction. 2 to 4, these rising edges are represented by white triangles. The black triangle indicates the falling edge of the recovered clock signal CLOCK, that is, the latch timing of the synchronization circuit 8.
[0018]
FIG. 2 shows a state where the reproduced clock signal CLOCK is ahead of the test data signal TDATA at the input of the synchronization circuit 8. This state is the 5T / 3T state of the synchronization data signal SDATA, and the setup time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK is shorter than T / 2.
[0019]
FIG. 3 shows a state in which the reproduced clock signal CLOCK has the same phase as the test data signal TDATA at the input of the synchronization circuit 8. This state is the 4T / 4T state of the synchronization data signal SDATA, and at least T / 2 is secured as the setup time and the hold time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK. Therefore, when the input data signal IDATA is supplied instead of the test data signal TDATA in this state, the occurrence probability of the mis-latch in the synchronization circuit 8 becomes the lowest.
[0020]
FIG. 4 shows a state where the reproduced clock signal CLOCK is delayed from the test data signal TDATA at the input of the synchronization circuit 8. This state is the 4T / 4T state of the synchronization data signal SDATA, and the hold time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK is shorter than T / 2.
[0021]
Therefore, the control circuit 9 finds the adjustment signal ADJ at the time when the synchronization data signal SDATA for the test data signal TDATA transitions from the 5T / 3T state to the 4T / 4T state, and applies the found adjustment signal ADJ in the normal mode. To keep. As a result, the probability of occurrence of mislatch in the synchronization circuit 8 is reduced. When the synchronized data signal SDATA reciprocates between the 5T / 3T state and the 4T / 4T state due to the influence of the jitter of the reproduction clock signal CLOCK, the center point of the width of the adjustment signal ADJ at the time of the reciprocation may be adopted. Just fine.
[0022]
As described above, as long as the synchronization circuit 8 latches the data signal DATA in synchronization with the falling edge of the recovered clock signal CLOCK, the in-loop phase error signal UPI / DNI and the out-of-loop phase error signal UPO / In generating each of the DNOs, the phase of the falling edge of the test data signal TDATA may be compared with the phase of the rising edge of the reproduced clock signal CLOCK.
[0023]
When the synchronization circuit 8 latches the data signal DATA in synchronization with the rising edge of the recovered clock signal CLOCK, each of the in-loop phase error signal UPI / DNI and the out-of-loop phase error signal UPO / DNO in the test mode is used. Is generated, the phase comparison between the rising edge of the test data signal TDATA and the falling edge of the reproduced clock signal CLOCK or the phase comparison between the falling edge of the test data signal TDATA and the falling edge of the reproduced clock signal CLOCK is performed. Can also be adopted.
[0024]
Hereinafter, an example of use of the adjustment signal ADJ in each of the phase comparator 3, drive circuit 4, oscillation circuit 6, and synchronization circuit 8 in FIG. 1 will be described.
[0025]
FIG. 5 shows an example of the internal configuration of the phase comparator 3 in FIG. 5, reference numeral 10 denotes a phase comparison circuit, 11 denotes a delay buffer, 12 denotes a delay circuit, DDATA denotes a delay data signal, and DCLOCK denotes a delay clock signal. The delay buffer 11 supplies the phase comparator 10 with a delayed data signal DDATA obtained by delaying the data signal DATA (= IDATA or TDATA) by a fixed delay time td1. The delay circuit 12 supplies the delayed clock signal DCLOCK obtained by delaying the reproduced clock signal CLOCK by a variable delay time td2 to the phase comparison circuit 10. The adjustment signal ADJ is used as a signal for adjusting the delay time td2. The phase comparison circuit 10 is a first comparison circuit for comparing the phase of the rising edge of the delayed data signal DDATA with the phase of the rising edge of the delayed clock signal DCLOCK. A second comparison circuit for comparing a phase with a rising edge, wherein both the first and second comparison circuits operate in the normal mode, and one of the two comparison circuits in the test mode. Only the operation is performed to supply the in-loop phase error signal UPI / DNI to the drive circuit 4.
[0026]
FIG. 6 shows an example of the internal configuration of the delay circuit 12 in FIG. In FIG. 6, reference numerals 20 to 25 denote delay buffers, and reference numeral 26 denotes a switch array whose opening and closing are controlled by the adjustment signal ADJ. The number of buffers on the propagation path of the reproduced clock signal CLOCK is changed to reduce the delay time td2. It can be adjusted in the order of 100ps.
[0027]
The operation of the phase comparator 3 in FIG. 5 in the test mode will be described with reference to FIG.
The phase comparison circuit 10 in FIG. 5 performs PLL control so that the delayed data signal DDATA and the delayed clock signal DCLOCK rise at the same timing. Therefore, when one delay time td1 is fixed and the other delay time td2 is changed, the phase relationship between the rising edge of the data signal DATA (= TDATA) and the rising edge of the recovered clock signal CLOCK at the input of the phase comparator 3 is obtained. Changes. That is, the phase relationship between the rising edge of the data signal DATA (= TDATA) at the input of the synchronization circuit 8 and the rising edge of the reproduced clock signal CLOCK can be adjusted by the adjustment signal ADJ. Note that a configuration in which the positions of the delay buffer 11 and the delay circuit 12 in FIG.
[0028]
When the adjustment signal ADJ is not used in the phase comparator 3, the arrangement of the delay buffer 11 and the delay circuit 12 in FIG. 5 is omitted, and the data signal DATA (= IDATA or TDATA) and the reproduced clock signal CLOCK are phase-shifted. It is directly input to the comparison circuit 10. The reason why one of the first and second comparison circuits constituting the phase comparison circuit 10 is stopped in the test mode in this case will be apparent from FIGS.
[0029]
FIG. 8 shows an example of the internal configuration of the drive circuit (charge pump) 4 in FIG.
In FIG. 8, reference numeral 30 denotes a discharge-side current source, 31 denotes a suction-side current source, and 32 and 33 denote first and second switches. The discharge side current source 30 discharges the current Ip (fixed value) to the signal line of the control voltage CNTV when the first switch 32 is closed.
The suction-side current source 31 sucks the current In (variable value) from the signal line of the control voltage CNTV when the second switch 33 is closed. The adjustment signal ADJ is used as a signal for adjusting the value of the current In. Of the in-loop phase error signals UPI / DNI, the up signal UPI is a signal for controlling the opening and closing of the first switch 32, and the down signal DNI is a signal for controlling the opening and closing of the second switch 33, respectively.
[0030]
The operation of the drive circuit 4 in FIG. 8 in the test mode will be described with reference to FIGS. 9, 10, and 11. 9 to 11, the pulse width of the up signal UPI is tp, and the pulse width of the down signal DNI is tn.
[0031]
FIG. 9 shows a state where the reproduced clock signal CLOCK is in phase with the test data signal TDATA at the input of the phase comparator 3. As shown in FIG. 9, if Ip = In, tp = tn, and the PLL control is executed so that the test data signal TDATA and the reproduced clock signal CLOCK rise at the same timing at the input of the phase comparator 3.
[0032]
FIG. 10 shows a state where the recovered clock signal CLOCK is ahead of the test data signal TDATA at the input of the phase comparator 3. As shown in FIG. 10, if Ip> In, tp <tn, and the rising edge of the recovered clock signal CLOCK has a phase leading the rising edge of the test data signal TDATA at the input of the phase comparator 3.
[0033]
FIG. 11 shows a state where the reproduced clock signal CLOCK is delayed from the test data signal TDATA at the input of the phase comparator 3. As shown in FIG. 11, if Ip <In, tp> tn, and the rising edge of the recovered clock signal CLOCK has a phase delayed from the rising edge of the test data signal TDATA at the input of the phase comparator 3.
[0034]
As described above, when one current value Ip is fixed and the other current value In is changed, the rising edge of the data signal DATA (= TDATA) at the input of the phase comparator 3 and the rising edge of the reproduced clock signal CLOCK are changed. The phase relationship changes. That is, the phase relationship between the rising edge of the data signal DATA (= TDATA) at the input of the synchronization circuit 8 and the rising edge of the reproduced clock signal CLOCK can be adjusted by the adjustment signal ADJ.
[0035]
Note that the discharge side current Ip may be a variable value, and the suction side current In may be a fixed value. It is also possible to make both the currents Ip and In variable. When the adjustment signal ADJ is not used in the drive circuit 4, both the currents Ip and In may be fixed values.
[0036]
FIG. 12 shows an example of the internal configuration of the oscillation circuit 6 in FIG. In FIG. 12, reference numeral 40 denotes a VCO, and 41 denotes a duty adjustment circuit. VCO 40 generates a signal having a frequency according to control voltage CNTV. The duty adjustment circuit 41 adjusts the duty of the signal generated by the VCO 40 by pulse width modulation, and supplies the result as a multiplied clock signal ACLOCK. The adjustment signal ADJ is used as a signal for adjusting the duty in the pulse width modulation.
[0037]
The operation of the oscillation circuit 6 in FIG. 12 in the test mode will be described with reference to FIGS. In this case, the control circuit 9 does not adjust the phase relationship between the rising edge of the test data signal TDATA and the rising edge of the recovered clock signal CLOCK, but controls the duty of the recovered clock signal CLOCK to gradually increase.
[0038]
FIG. 13 shows a state where the reproduced clock signal CLOCK is ahead of the test data signal TDATA at the input of the synchronization circuit 8, and the duty of the reproduced clock signal CLOCK is 12.5%. In this state, the high level period of the synchronization data signal SDATA is 4T, and the hold time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK is shorter than T / 2.
[0039]
FIG. 14 shows a state where the reproduced clock signal CLOCK is ahead of the test data signal TDATA at the input of the synchronization circuit 8 and the duty of the reproduced clock signal CLOCK is 50%. In this state, the high level period of the synchronization data signal SDATA is 5T, and the setup time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK is shorter than T / 2.
[0040]
FIG. 15 shows a state where the reproduced clock signal CLOCK is ahead of the test data signal TDATA at the input of the synchronization circuit 8, and the duty of the reproduced clock signal CLOCK is 87.5%. In this state, the high level period of the synchronization data signal SDATA is 4T, and at least T / 2 is secured as the setup time and the hold time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK. Therefore, when the input data signal IDATA is supplied instead of the test data signal TDATA in this state, the occurrence probability of the mis-latch in the synchronization circuit 8 becomes the lowest.
[0041]
The control circuit 9 finds the adjustment signal ADJ when the synchronization data signal SDATA for the test data signal TDATA transitions from the 5T / 3T state to the 4T / 4T state, and holds the found adjustment signal ADJ in the normal mode. do it. As a result, the probability of occurrence of mislatch in the synchronization circuit 8 is reduced.
[0042]
When the adjustment signal ADJ is not used in the oscillation circuit 6, the arrangement of the duty adjustment circuit 41 in FIG. 12 may be omitted, and the VCO 40 may supply the multiplied clock signal ACLOCK.
[0043]
FIG. 16 shows an example of the internal configuration of the synchronization circuit 8 in FIG. In FIG. 16, reference numeral 50 denotes a D flip-flop, 51 denotes a delay buffer, 52 denotes a delay circuit, 53 denotes an inverter, 54 denotes a phase offset detection circuit, FDATA denotes a normal data signal, and FCLOCK denotes an inverted clock signal. The delay buffer 51 supplies the non-inverted data signal FDATA obtained by delaying the data signal DATA (= IDATA or TDATA) by a fixed delay time to the data input terminal D of the D flip-flop 50. The delay circuit 52 supplies a signal obtained by delaying the reproduced clock signal CLOCK by a variable delay time to the input terminal of the inverter 53. The adjustment signal ADJ is used as a signal for adjusting the delay time of the delay circuit 52. The inverter 53 supplies an inverted clock signal FCLOCK obtained by inverting the output of the delay circuit 52 to the clock input terminal CK of the D flip-flop 50. The D flip-flop 50 latches the normal data signal FDATA in synchronization with the rising edge of the inverted clock signal FCLOCK. The Q output of the D flip-flop 50 is the synchronization data signal SDATA, and the output of the delay circuit 52 is the synchronization clock signal SCLOCK. The phase offset detection circuit 54 supplies the control circuit 9 with an out-of-loop phase error signal UPO / DNO indicating a phase offset between the rising edge of the normal data signal FDATA and the rising edge of the synchronization clock signal SCLOCK in the test mode. .
[0044]
According to the synchronization circuit 8 shown in FIG. 16, the delay time of the delay circuit 52 is changed by the adjustment signal ADJ while the delay time of the delay buffer 51 is fixed, so that the rising edge of the data signal DATA at the input of the synchronization circuit 8 is obtained. And the rising edge of the recovered clock signal CLOCK. Note that a configuration in which the positions of the delay buffer 51 and the delay circuit 52 in FIG. 16 are exchanged may be employed.
[0045]
When the adjustment signal ADJ is not used in the synchronization circuit 8, the arrangement of the delay buffer 51 and the delay circuit 52 in FIG. 16 is omitted, and the data signal DATA (= IDATA or TDATA) is input to the data input of the D flip-flop 50. The recovered clock signal CLOCK is directly input to the terminal D to the input terminal of the inverter 53.
[0046]
Finally, an example of the internal configuration of the control circuit 9 in FIG. 1 will be described with reference to FIG. In FIG. 17, reference numeral 60 denotes an up / down counter, and 61 denotes a decoding circuit. The up / down counter 60 has an up input terminal UP, a down input terminal DOWN, and a clock input terminal CLK. Of the out-of-loop phase error signals UPO / DNO, the up signal UPO is connected to the up input terminal UP, and the down signal DNO is set. Are input to the down input terminal DOWN, and the fixed clock signal is input to the clock input terminal CLK. The up / down counter 60 counts up the fixed clock signal while the up signal UPO indicates a high level, and counts down the fixed clock signal while the down signal DNO indicates a high level. The decode circuit 61 decodes the count value of the up / down counter 60 and supplies the result as an adjustment signal ADJ.
[0047]
While there is a difference between the lengths of the high level periods of the up signal UPO and the down signal DNO from the synchronization circuit 8, the count value of the up / down counter 60 increases or decreases. The decode circuit 61 finds the adjustment signal ADJ at which the count value does not change, and holds the found adjustment signal ADJ. As a result, at the input of the synchronization circuit 8, at least T / 2 is secured as the setup time and the hold time of the test data signal TDATA with respect to the falling edge of the recovered clock signal CLOCK.
[0048]
【The invention's effect】
As described above, according to the present invention, the operation of at least one of the phase comparator, the driving circuit, the oscillation circuit, and the synchronization circuit is controlled according to the phase offset between the two inputs of the synchronization circuit. As a result, a sufficient setup time and hold time are ensured in the synchronization circuit, so that even if the frequency of the reproduced clock signal increases, correct data can be supplied to the subsequent digital signal processing circuit. PLL circuit can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a PLL circuit for clock recovery according to the present invention.
FIG. 2 is a timing chart for explaining an operation of the control circuit in FIG. 1 in a test mode, showing a state where a reproduced clock signal is ahead of a test data signal at an input of a synchronization circuit.
FIG. 3 is a view similar to FIG. 2, but showing a state in which a reproduced clock signal is in phase with a test data signal at an input of a synchronization circuit.
FIG. 4 is a diagram similar to FIG. 2, showing a state where a reproduced clock signal is delayed from a test data signal at an input of a synchronization circuit.
FIG. 5 is a block diagram showing an example of an internal configuration of a phase comparator in FIG. 1;
FIG. 6 is a circuit diagram showing an example of an internal configuration of a delay circuit in FIG. 5;
FIG. 7 is a timing chart for explaining the operation of the phase comparator of FIG. 5 in a test mode.
FIG. 8 is a block diagram showing an example of an internal configuration of a drive circuit in FIG. 1;
9 is a timing chart for explaining the operation of the drive circuit of FIG. 8 in a test mode, and shows a state in which a reproduced clock signal at the input of a phase comparator is in phase with a test data signal.
FIG. 10 is a view similar to FIG. 9 and shows a state in which the reproduced clock signal is ahead of the test data signal at the input of the phase comparator.
FIG. 11 is a view similar to FIG. 9 and shows a state in which the reproduced clock signal is delayed from the test data signal at the input of the phase comparator.
FIG. 12 is a block diagram showing an example of an internal configuration of the oscillation circuit in FIG. 1;
13 is a timing chart for explaining the operation of the oscillation circuit of FIG. 12 in the test mode, and shows a state in which the duty of the reproduced clock signal is 12.5% at the input of the synchronization circuit.
FIG. 14 is a diagram similar to FIG. 13, showing a state in which the duty of the reproduced clock signal is 50% at the input of the synchronization circuit.
FIG. 15 is a view similar to FIG. 13 and shows a state in which the duty of the reproduced clock signal at the input of the synchronization circuit is 87.5%.
FIG. 16 is a block diagram showing an example of an internal configuration of a synchronization circuit in FIG. 1;
FIG. 17 is a block diagram showing an example of an internal configuration of a control circuit in FIG. 1;
[Explanation of symbols]
1 Test signal source
2 Selector
3 Phase comparator
4 Drive circuit
5 Loop filter
6. Oscillation circuit
7 divider
8 Synchronization circuit
9 Control circuit
10. Phase comparison circuit
11 Delay buffer
12 Delay circuit
20-25 delay buffer
26 Switch train
30 Current source on the discharge side
31 Sink side current source
32,33 switch
40 Voltage Controlled Oscillator (VCO)
41 Duty adjustment circuit
50 D flip-flop
51 Delay buffer
52 delay circuit
53 inverter
54 phase offset detection circuit
60 up / down counter
61 Decoding circuit
ACLOCK multiplied clock signal
ADJ adjustment signal
CLOCK Reproduction clock signal
CNTV control voltage
DATA data signal
IDATA input data signal
SCLOCK Synchronization clock signal
SDATA synchronization data signal
TDATA test data signal
UPI, DNI Phase error signal in loop
UPO, DNO Out-of-loop phase error signal

Claims (7)

データを表す信号からクロック信号を再生するためのクロック再生用PLL回路であって、
テストモードにおけるテストデータ信号を供給するためのテスト信号源と、
通常モードにおける入力データ信号と前記テストデータ信号とのうちいずれかをデータ信号として選択するためのセレクタと、
再生クロック信号の立ち上がりエッジと立ち下がりエッジとのうち一方を第1のクロックエッジ、他方を第2のクロックエッジとするとき、前記データ信号のエッジと前記再生クロック信号の第1のクロックエッジとの位相を比較して位相誤差信号を生成するための位相比較器と、
前記位相誤差信号から制御電圧を生成するための駆動回路と、
前記制御電圧に応じた周波数を持つ信号を前記再生クロック信号として生成するための発振回路と、
前記データ信号と前記再生クロック信号とを入力として受け取り、かつ前記再生クロック信号の第2のクロックエッジに同期するように前記データ信号をラッチして、同期化データ信号と、該同期化データ信号を取り込むべきタイミングを表す同期化クロック信号とを出力するための同期化回路と、
前記入力データ信号から再生されるべきクロック信号の周期をTとするとき、前記テストモードにおける前記同期化回路の入力において、前記再生クロック信号の第2のクロックエッジに対する前記テストデータ信号のセットアップ時間及びホールド時間として各々最低限前記周期Tの半分が確保されるように、前記テストデータ信号のエッジと前記再生クロック信号の第1のクロックエッジとの間の位相オフセットに応じて前記位相比較器と、前記駆動回路と、前記発振回路と、前記同期化回路とのうち少なくとも1つを制御する調整信号を見出し、かつ該見出した調整信号を前記通常モードにおいて保持するための制御回路とを備えたことを特徴とするクロック再生用PLL回路。
A clock regeneration PLL circuit for reproducing a clock signal from a signal representing data,
A test signal source for supplying a test data signal in a test mode;
A selector for selecting any of the input data signal and the test data signal in the normal mode as a data signal,
When one of the rising edge and the falling edge of the reproduced clock signal is a first clock edge and the other is a second clock edge, the edge of the data signal and the first clock edge of the reproduced clock signal are A phase comparator for comparing phases to generate a phase error signal;
A drive circuit for generating a control voltage from the phase error signal,
An oscillation circuit for generating a signal having a frequency corresponding to the control voltage as the reproduced clock signal;
Receiving the data signal and the recovered clock signal as inputs, and latching the data signal so as to be synchronized with a second clock edge of the recovered clock signal, and synchronizing the synchronized data signal with the synchronized data signal; A synchronization circuit for outputting a synchronization clock signal indicating a timing to be captured,
Assuming that the period of the clock signal to be reproduced from the input data signal is T, at the input of the synchronization circuit in the test mode, the setup time of the test data signal with respect to the second clock edge of the reproduced clock signal and The phase comparator according to a phase offset between an edge of the test data signal and a first clock edge of the reproduced clock signal so that at least a half of the period T is secured as a hold time, A control circuit for finding an adjustment signal for controlling at least one of the drive circuit, the oscillation circuit, and the synchronization circuit, and for holding the found adjustment signal in the normal mode. A PLL circuit for clock recovery, characterized in that:
請求項1記載のクロック再生用PLL回路において、
前記テスト信号源は、j、kをそれぞれ整数とするとき、ハイレベル期間(j+0.5)Tと、ローレベル期間(k+0.5)Tとを有する信号を前記テストデータ信号として供給する機能を有し、
前記制御回路は、前記テストデータ信号に対する前記同期化データ信号が、ハイレベル期間(j+1)Tと、ローレベル期間kTとを有する状態から、ハイレベル期間jTと、ローレベル期間(k+1)Tとを有する状態へ遷移した時点の前記調整信号を保持する機能を有することを特徴とするクロック再生用PLL回路。
2. The clock recovery PLL circuit according to claim 1,
The test signal source has a function of supplying a signal having a high-level period (j + 0.5) T and a low-level period (k + 0.5) T as the test data signal, where j and k are integers. Have
The control circuit changes the synchronization data signal for the test data signal from a state having a high level period (j + 1) T and a low level period kT to a high level period jT and a low level period (k + 1) T. A clock recovery PLL circuit having a function of holding the adjustment signal at the time of transition to a state having the following.
請求項1記載のクロック再生用PLL回路において、
前記位相比較器は、前記通常モードでは前記入力データ信号の立ち上がり及び立ち下がりの両エッジで、前記テストモードでは前記テストデータ信号の一方のエッジのみでそれぞれ位相比較を行うことを特徴とするクロック再生用PLL回路。
2. The clock recovery PLL circuit according to claim 1,
The clock recovery device according to claim 1, wherein the phase comparator performs a phase comparison on both rising and falling edges of the input data signal in the normal mode and a phase comparison on only one edge of the test data signal in the test mode. PLL circuit.
請求項1記載のクロック再生用PLL回路において、
前記制御回路は、前記位相比較器を構成する回路の一入力の遅延を調整するための信号を前記調整信号として供給する機能を有することを特徴とするクロック再生用PLL回路。
2. The clock recovery PLL circuit according to claim 1,
The PLL circuit for clock recovery, wherein the control circuit has a function of supplying a signal for adjusting a delay of one input of a circuit constituting the phase comparator as the adjustment signal.
請求項1記載のクロック再生用PLL回路において、
前記制御回路は、前記駆動回路を構成するチャージポンプが有する一電流源の電流値を調整するための信号を前記調整信号として供給する機能を有することを特徴とするクロック再生用PLL回路。
2. The clock recovery PLL circuit according to claim 1,
A clock regeneration PLL circuit, wherein the control circuit has a function of supplying, as the adjustment signal, a signal for adjusting a current value of one current source included in a charge pump included in the drive circuit.
請求項1記載のクロック再生用PLL回路において、
前記制御回路は、前記発振回路を構成する電圧制御型発振器の出力信号のデューティを調整するための信号を前記調整信号として供給する機能を有することを特徴とするクロック再生用PLL回路。
2. The clock recovery PLL circuit according to claim 1,
A PLL circuit for clock recovery, wherein the control circuit has a function of supplying a signal for adjusting a duty of an output signal of a voltage controlled oscillator constituting the oscillation circuit as the adjustment signal.
請求項1記載のクロック再生用PLL回路において、
前記制御回路は、前記同期化回路を構成するDフリップフロップの一入力の遅延を調整するための信号を前記調整信号として供給する機能を有することを特徴とするクロック再生用PLL回路。
2. The clock recovery PLL circuit according to claim 1,
A PLL circuit for clock recovery, wherein the control circuit has a function of supplying a signal for adjusting a delay of one input of a D flip-flop constituting the synchronization circuit as the adjustment signal.

JP2003056665A 2003-03-04 2003-03-04 Clock reproducing pll circuit Pending JP2004266699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003056665A JP2004266699A (en) 2003-03-04 2003-03-04 Clock reproducing pll circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003056665A JP2004266699A (en) 2003-03-04 2003-03-04 Clock reproducing pll circuit

Publications (1)

Publication Number Publication Date
JP2004266699A true JP2004266699A (en) 2004-09-24

Family

ID=33120280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003056665A Pending JP2004266699A (en) 2003-03-04 2003-03-04 Clock reproducing pll circuit

Country Status (1)

Country Link
JP (1) JP2004266699A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008515344A (en) * 2004-09-30 2008-05-08 ジーシーティー セミコンダクター インコーポレイテッド Sigma Delta-based phase-locked loop
JP2008530955A (en) * 2006-01-26 2008-08-07 アバゴ・テクノロジーズ・ユーエス・インコーポレイテッド Offset correction in feedback system for voltage controlled oscillator
KR100989282B1 (en) * 2005-01-20 2010-10-20 아바고 테크놀로지스 제너럴 아이피 (싱가포르) 피티이 리미티드 Operation method and phase locked loop system of feedback system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008515344A (en) * 2004-09-30 2008-05-08 ジーシーティー セミコンダクター インコーポレイテッド Sigma Delta-based phase-locked loop
KR100989282B1 (en) * 2005-01-20 2010-10-20 아바고 테크놀로지스 제너럴 아이피 (싱가포르) 피티이 리미티드 Operation method and phase locked loop system of feedback system
JP2008530955A (en) * 2006-01-26 2008-08-07 アバゴ・テクノロジーズ・ユーエス・インコーポレイテッド Offset correction in feedback system for voltage controlled oscillator
JP4686551B2 (en) * 2006-01-26 2011-05-25 アバゴ・テクノロジーズ・ジェネラル・アイピー(シンガポール)プライベート・リミテッド Offset correction in feedback system for voltage controlled oscillator

Similar Documents

Publication Publication Date Title
US5592125A (en) 1997-01-07 Modified bang-bang phase detector with ternary output
US5734301A (en) 1998-03-31 Dual phase-locked loop clock synthesizer
US20060255866A1 (en) 2006-11-16 Pulse width modulation circuit and multiphase clock generation circuit
JP2522413B2 (en) 1996-08-07 Phase frequency comparator
JP3649194B2 (en) 2005-05-18 PLL circuit and optical communication receiver
JP2000357964A (en) 2000-12-26 Clock recovery circuit and phase comparison method
EP1199805B1 (en) 2005-08-10 PLL circuit and optical communication reception apparatus
KR950008461B1 (en) 1995-07-31 Apparatus for synchronising nrz data bit
KR100973222B1 (en) 2010-07-30 Delay-locked loop for controlling timing
US20050031065A1 (en) 2005-02-10 System and method for automatically correcting duty cycle distortion
JP3779713B2 (en) 2006-05-31 Semiconductor integrated circuit
US20030214332A1 (en) 2003-11-20 Phase locked loop with low steady state phase errors and calibration circuit for the same
JP2704103B2 (en) 1998-01-26 Phase comparison circuit
US7109806B2 (en) 2006-09-19 Device and method for detecting phase difference and PLL using the same
US6545546B2 (en) 2003-04-08 PLL circuit and optical communication reception apparatus
JP3931477B2 (en) 2007-06-13 Clock regeneration / identification device
JP2004266699A (en) 2004-09-24 Clock reproducing pll circuit
JP2004356701A (en) 2004-12-16 Half rate cdr circuit
JP3926368B2 (en) 2007-06-06 Phase synchronization detection circuit
US7359461B2 (en) 2008-04-15 Apparatus and method for recovering clock signal from burst mode signal
JP3039526B2 (en) 2000-05-08 PLL circuit
JP3603071B2 (en) 2004-12-15 Clock recovery circuit
JP2015100017A (en) 2015-05-28 Phase comparison circuit and clock data recovery circuit
JP3513753B2 (en) 2004-03-31 Voltage controlled oscillator and multi-bit rate / timing extraction circuit using the same
KR940000942B1 (en) 1994-02-04 Bit synchronous circuit