JP3994545B2 - Data receiver - Google Patents

Data receiver Download PDF

Info

Publication number
JP3994545B2
JP3994545B2 JP28649698A JP28649698A JP3994545B2 JP 3994545 B2 JP3994545 B2 JP 3994545B2 JP 28649698 A JP28649698 A JP 28649698A JP 28649698 A JP28649698 A JP 28649698A JP 3994545 B2 JP3994545 B2 JP 3994545B2
Authority
JP
Japan
Prior art keywords
signal
phase
phase difference
terminal
clk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP28649698A
Other languages
Japanese (ja)
Other versions
JP2000115151A (en
Inventor
秀之 鳥山
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP28649698A priority Critical patent/JP3994545B2/en
Priority to US09/413,224 priority patent/US6563888B1/en
Publication of JP2000115151A publication Critical patent/JP2000115151A/en
Application granted granted Critical
Publication of JP3994545B2 publication Critical patent/JP3994545B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、送信装置から伝送されてくる同期信号を受信するとクロックパルスを生成し、このクロックパルスで前記同期信号に続いて送られてくる情報データをサンプリングするデータ受信装置に関する。
【0002】
【従来の技術】
データを高速伝送する方法の一つとして、ビットシリアルデータ伝送方式がある。
この方式では、1ビット毎に「0」、「1」を繰り返す同期信号とこれに続いて8ビット単位のビット列で文字情報や画像情報などを表した情報データとが1フレームとして構成されて送信側から送信データとして伝送される。受信側では、同期信号を受信すると、例えば同期信号と同周波数、同位相のクロックパルスをPLL(Phase−Locked Loop)制御により生成し、このクロックパルスを用いて同期信号に続いて送られてくる情報データをサンプリングする。
【0003】
このPLLは、主に電圧制御発振器(VCO)、位相比較器、およびローパスフィルタ(LPF)の閉ループ回路で構成される。VCOは、入力電圧に応じて所定の周波数のクロックパルスを出力するものである。位相比較器には、同期信号とVCOから出力されたクロックパルスとが入力され、当該位相比較器は、双方の信号の位相成分(位相差)を検出し、これをパルス信号(位相差信号)に変換してLPFに出力する。
【0004】
LPFは、主に抵抗とコンデンサとから構成され、位相差信号に含まれる不要な雑音成分を除去すると共に位相差信号を直流電圧に変換してVCOに出力する。VCOは、位相差のなくなる方向にクロックパルスの位相を変化させて、これを位相比較器に送る。この動作を繰り返し行うことにより、クロックパルスの位相が同期信号の位相に近づいていき、最終的に双方の位相が合うようになる(この動作を「位相合わせ」という。)。この位相合わせは、具体的には、同期信号とクロックパルスの立ち上がりエッジ(正エッジ)同士の同方向のエッジ間の位相差がなくなるように行われる。
【0005】
ところが、このように位相合わせを行っても、PLL制御回路内においてリーク電流が生じ、そのために一旦位相合わせしたクロックパルスの周波数と位相が、時間の経過と共に徐々に変化するので、情報データのサンプリングを正確に行うためには、この位相合わせを1フレーム毎に行うことが望ましい。
【0006】
【発明が解決しようとする課題】
しかしながら、上記のようにPLLを用いてシリアルデータを受信する場合には、伝送路が1本で済む一方で、同期信号を送信している間は、情報データを送信できないので、その分だけ伝送効率が悪いという問題があった。このようなデータ構成において伝送効率を向上させるためには、同期信号の送出時間をできるだけ短くすることが考えられる。ところが、上述したように、PLLは、検出された位相差の分だけVCOの発振周波数を可変させて位相差をなくしていく閉ループ回路で構成されるために、位相差が大きければその分位相合わせに要する時間が長くかかる。従って、同期信号の送出時間は、双方の信号間で最も位相差が大きくなった状態、すなわち180°位相がずれた状態からでも位相合わせが確実に行われるのに必要な時間に設定する必要がある。そうでなければ、同期信号受信中に、位相合わせを終了できず、異なった周波数のクロックパルスを用いて情報データをサンプリングすることになって、正確な情報が得られなくなり、結果として通信信頼性を確保できなくなるからである。
【0007】
このような問題は、PLLを用いてクロックパルスを生成する方法に限られず、受信した同期信号との間で位相合わせを行うことによってクロックパルスを生成するデータ受信装置であれば発生する。
本発明は、上述したような問題点に鑑みてされたものであって、受信した同期信号との間で位相合わせを行うことによって生成したクロックパルスで情報データをサンプリングするデータ受信装置において、位相合わせをできるだけ早く完了させることによって同期信号の送出時間を短縮せしめ、結果的に情報データの伝送効率を向上させることを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために本発明は、同期信号と情報データとを含む送信データを受信するデータ受信装置であって、クロックパルスを生成するパルス生成手段と、受信した同期信号と前記パルス生成手段によって生成されたクロックパルスとの同方向エッジ間および異方向エッジ間における位相差を求め、位相差の最も小さいエッジの組み合わせを選択する選択手段と、前記選択されたエッジ間の位相差がなくなるように、クロックパルスの位相を調整する位相調整手段と、前記位相調整後のクロックパルスに基づいて、前記情報データをサンプリングするサンプリング手段とを備えることを特徴とする。
【0009】
また、前記パルス生成手段によって生成されたクロックパルスを同一の分周比で分周すると共に、相互に位相の異なる複数の分周パルスを生成する分周パルス生成手段を有し、前記選択手段は、前記クロックパルスに代えて、生成された各分周パルスと、前記同期信号との同方向エッジ間および異方向エッジ間における位相差を求め、位相差の最も小さいエッジの組み合わせを選択することを特徴とする。
【0010】
また、前期サンプリング手段は、選択された分周パルスが、クロックパルスの立ち上がりエッジをトリガに分周されたパルスである場合には、前期情報データのサンプリングをクロックパルスの立ち下がりエッジで実行し、クロックパルスの立ち下がりエッジをトリガに分周されたパルスである場合には、情報データのサンプリングをクロックパルスの立ち上がりエッジで実行することを特徴とする。
【0011】
また、前期送信データは、同期信号と情報データとを交互に配列してなり、前期位相調整手段は、情報データ受信中には、クロックパルスの周波数および位相の調整を停止し、直前の同期状態を維持することを特徴とする。
【0012】
【発明の実施の形態】
以下、本発明に係るデータ受信装置の実施の形態を説明する。
図1は、データ受信装置の全体構成図であって、図2は、外部装置から本データ受信装置に伝送されてくる入力信号60の構成例を示した図である。
図1に示すように、このデータ受信装置は、大きく分けてPLL回路部20とデータ復調部35とからなる。また、入力信号60は、図2に示すように、1ビット毎に「0」「1」を繰り返すパルス列からなる同期信号61と、9ビットが連続して「1」となるスタートビット62と、文字や画像情報などを表わした8ビットの前に「0」を付加した9ビットから成るデータ列を複数個連ねて構成した情報データ63とが1フレームで構成され、これが繰り返し送信されるようになっている。
【0013】
データ復調部35は、PLL回路部20にて生成された受信CLK44で情報データ63をサンプリングする回路である。
PLL回路部20は、1フレーム毎に送られてくる同期信号61に基づいて受信CLK44を生成し、データ復調部35に送出する回路である。また、本PLL回路部20は、受信CLK44を生成するのに要する時間を従来よりも短縮するために、2つのPLL回路、すなわち、位相比較器30、LPF33、VCO34、2分周器36からなる第1PLL回路10と、位相比較器31、LPF33、VCO34、2分周器37からなる第2PLL回路11(LPF33とVCO34は、第1PLL回路10と共有である)とを選択的に切り換えるようにしている。以下、PLL回路部20の回路構成について説明する。
【0014】
VCO34は、印加電圧によって周波数を変化させる公知の電圧制御発振器であって、LPF33の出力電圧に応じて受信CLK44を生成し、これをデータ復調部35と2分周器36、37に出力する。
図3は、VCO34の入力電圧に対する受信CLK44の周波数特性を示すグラフである。同図から、このVCO34は、入力電圧が上昇すると、出力する受信CLK44の周波数が直線的に高くなる特性を有していることがわかる。また、上記の入力信号60の伝送速度(周波数)は一定なので、安定度が高く変化量が少ない水晶発振子を内蔵したものが使用される。
【0015】
図1に戻って、2分周器36は、VCO34にて生成された受信CLK44の立ち上がりエッジ(正エッジ)で動作するフリップフロップ回路で構成され、受信CLK44を2分周した2分周CLK47(図2参照)を生成し、これを位相比較器30および位相差検出器32に出力する。
2分周器37は、受信CLK44の立ち下がりエッジ(負エッジ)で動作するフリップフロップ回路で構成され、受信CLK44を2分周した2分周CLK48(図2参照)を生成し、これを位相比較器31及び位相差検出器32に出力する。この2分周CLK48は、受信CLK44の負エッジをトリガに分周されているので、2分周CLK47から90°遅れた位相になっている。
【0016】
位相比較器30は、受信した同期信号61と2分周CLK47の位相差に応じた位相差信号38を生成し、これをLPF33に出力する回路である。
また、チャージポンプ回路で構成されているので、位相差がないときには、出力端子がハイインピーダンスの状態になり、LPF33に電流を流さない。なお、位相比較器1は、位相比較器選択部50の出力端子が「0」になったときだけ動作し、「1」のときには、動作を停止して出力端子をハイインピーダンスの状態にする。
【0017】
ここで、位相比較器30は、ロック信号321を入力することができるようになっており、この信号が「0」のときには、同期信号61と2分周CLK47の同方向エッジ(正エッジ同士及び負エッジ同士)を同期させるように動作し(図4(a)参照)、「1」のときには、同期信号61と2分周CLK47との異方向エッジ(正エッジと負エッジ)を同期させるように動作する(図4(b)参照)。本実施の形態では、以下、同方向エッジ同士、もしくは異方向エッジ同士で同期をとって、双方の信号を図4(a)もしくは(b)の状態にすることを「位相合わせ」という。なお、同方向エッジで同期させても、異方向エッジで同期させても、同期信号61と受信CLK44との正エッジ同士が同期することに変わりはない。これは、2分周CLK47が、受信CLK44の正エッジで分周された信号であるからである。この位相比較器1の回路構成については、後述する。
【0018】
図1に戻って、位相比較器31は、位相比較器30と同様の構成であり、受信した同期信号61と2分周CLK48の位相差に応じた位相差信号40を生成し、これをLPF33に出力する。また、位相比較器選択部49の出力端子が「0」になったときだけ動作し、「1」のときには、動作を停止して出力端子をハイインピーダンスの状態にする。
【0019】
また、ロック信号322を入力することができるようになっており、この信号が「0」のときには、同期信号61と2分周CLK48の同方向エッジを同期させるように動作し、「1」のときには、異方向エッジを同期させるように動作する。この動作は、位相比較器30と同様である。
LPF33は、抵抗とコンデンサとから構成される公知のローパスフィルタ回路であって、位相差信号38もしくは位相差信号40を受信すると、高周波成分や雑音を除去すると共に、平滑して直流電圧に変換し、これを上記のVCO34に出力する。
【0020】
位相比較器選択部49、50は、それぞれORゲートで構成され、位相差検出器32からの位相差信号46とデータ復調部35からのホールド信号45とを受信している。
位相差検出器32は、同期信号61と2分周CLK47、及び同期信号61と2分周CLK48との位相差をそれぞれ検出し、その位相差の大きさに応じて、位相差信号46、ロック信号321、322を出力する回路である。
【0021】
データ復調部35からのホールド信号45が「0」の状態で、位相差信号46が「0」になると、位相比較器選択部50の出力端子が「0」になって、第1PLL回路10が構成され、位相差信号46が「1」になると、位相比較器選択部49の出力端子が「0」になって、第2PLL回路11が構成される。また、ロック信号321が「0」になると、上述したように位相比較器30において、同方向エッジで同期がとられ、「1」になると異方向エッジで同期がとられる。同じく、ロック信号322が「0」になると、位相比較器31において、同方向エッジで同期がとられ、「1」になると、異方向エッジで同期がとられる。位相差検出器32の回路構成については、後述する。
【0022】
このような構成のデータ受信装置において、データ復調部35は、同期信号61を受信すると、一定時間だけ「0」となるイネーブル信号42を位相差検出器32に出力する(図2)。位相差検出器32は、後述するように、この信号が「0」のときに、検出した位相差の大きさに応じて、位相差信号46、ロック信号321、322の出力レベル(「0」または「1」)を設定する。この時点では、ホールド信号45が「1」になっているので(図2)、位相比較器選択部49、50の出力信号が双方とも「1」となり、位相比較器30、31は、停止した状態である。
【0023】
データ復調部35は、イネーブル信号42を「0」から「1」にすると同時に、ホールド信号45を「0」にする(図2)。これにより、位相差信号46の出力レベルに応じて位相比較器30、31のいずれかが動作して、第1もしくは第2PLL回路10、11のいずれかが形成されると共に、ロック信号321、322の出力レベルに応じて位相合わせが行われる。
【0024】
データ復調部35は、受信した同期信号61のパルス数をカウントしており、これが所定カウント数に達すると、ホールド信号45を「0」から「1」に変化させる。この制御は、同期信号61の送出時間(パルス数)を予め決定しておけば容易に行える。ホールド信号45が「1」になると、位相比較器選択部49、50の出力が「1」となる。これにより、上記のように位相比較器30、31の出力端子がハイインピーダンスの状態となって、PLL閉ループ制御が停止する。このようになっても、LPF33のコンデンサに蓄積されている電荷が保持されているので、受信CLK44は、PLL制御が停止する直前の周波数で固定されることになる。
【0025】
データ復調部35は、この受信CLK44を用いて、スタートビット62と情報データ63をサンプリングする。スタートビット62は、上記のように9ビット連続して「1」となる信号であり、同期信号61と情報データ63との間に挿入される。これにより、データ受信装置側では、同期信号61と情報データ63とを明確に区別できるようになる。また、情報データ63は、文字情報などを示す8ビットのデータ列の前に「0」が1つ付加されたデータ構成になっているので、本データ受信装置は、この「0」の次の8ビットがデータ列であることを判別することができる。情報データ63の受信が終わって、次のフレームの同期信号61が送られてくると、データ復調部35はイネーブル信号42を「1」から「0」に変化させる。これ以降、上記の動作が繰り返し行われ、各フレームの情報データ63がサンプリングされていく。
【0026】
図5は、位相差検出器32の回路構成を示す図である。
位相差検出器32は、エクスクルーシブオアゲート(Ex.OR)51、90、コンパレータ54、57、93、DATAフリップフロップ(D−FF)55などから構成される。
Ex.OR51には、入力信号60と2分周CLK47が入力される。このEx.OR51は、入力信号60内の同期信号61と2分周CLK47との位相差に応じたパルス信号511を出力する。例えば、双方の信号に位相差がない状態では、図6(a)のようなパルス波形になる。また、位相差が非常に小さい場合には、図6(b)のような波形に、位相差が90°を越える程大きい場合には、図6(c)のような波形になる。
【0027】
このパルス信号511は、3ステートバッファ52に送られる。3ステートバッファ52の制御端子521には、データ復調部35からのイネーブル信号42が入力される。3ステートバッファ52は、イネーブル信号42が「0」のときだけ動作し、上記のパルス信号511をそのままLPF53に出力する。イネーブル信号42が「1」のときには、出力をハイインピーダンスの状態にして、電流を供給しないようにしている。
【0028】
LPF53は、抵抗とコンデンサとから成る公知のローパスフィルタ回路であって、パルス信号511を平滑して直流電圧にする。
図7は、LPF53の出力電圧特性を示すグラフである。縦軸は、LPF53の出力電圧値、横軸は、Ex.OR51に入力している同期信号61と2分周CLK47との正エッジ間における位相差を示している。同図から、位相差が180°のときに、出力電圧は最大電圧Vccとなり、0°と360°のときに最小電圧0となり、45°、および315°のときにVccの1/4倍の電圧のVTH1、135°および225°のときにVccの3/4倍の電圧VTH2になっている。ここで、位相差がプラスというのは、2分周CLK47が同期信号61から遅れている場合を示し、マイナスは、逆に進んでいる場合を示す。
【0029】
図5に戻って、LPF53の出力電圧は、コンパレータ54、57にそれぞれ出力される。このコンパレータ54は、入力端子541、542に入力する各信号の電圧値を比較して、電圧値の大きい方の入力端子の符号に応じた信号(「0」または「1」)を出力する公知の電圧比較器である。また、コンパレータ57についてもコンパレータ54と同様の比較器で構成される。
【0030】
なお、コンパレータ54の入力端子541には、基準電圧VTH1が印加され、コンパレータ57の入力端子572には、基準電圧VTH2が印加される。この基準電圧VTH1、VTH2は、図7のVTH1、VTH2と同一の電圧に設定される。
そして、各コンパレータ54、57の出力信号は、ANDゲート58に入力され、当該ANDゲート58の出力信号は、D−FF55のD0端子に出力される。
【0031】
D−FF55は、CLK端子の信号、すなわちイネーブル信号42が「0」から「1」に変化したときの立ち上がりエッジを検出したときの、D0端子の信号レベル(「0」または「1」)と同一の信号をQ端子から位相差信号46として出力する公知のフリップフロップ回路である。そして、D−FF55は、次にCLK端子に立ち上がりエッジが入力されるまで、すなわち次のフレームの同期信号61を受信するまで、Q端子の信号レベルを現在の状態で維持する。これにより、1フレーム内で位相差信号46を変化させないようにしている。すなわち、第1PLL回路10と第2PLL回路11とが切り替わらないようにしている。D−FF55のD1端子には、コンパレータ54の出力信号が入力されており、CLK端子に立ち上がりエッジが入力されると、その時点の信号がロック信号321としてQ1端子から出力され、位相比較器30に送られる。
【0032】
また、Ex.OR90には、入力信号60と2分周CLK48が入力される。このEx.OR90は、入力信号60の同期信号61と2分周CLK48との位相差に応じたパルス信号901を出力する。この信号901の波形は、上記のパルス信号511とほぼ同様である。
そして、このパルス信号901は、3ステートバッファ91に送られる。3ステートバッファ91の制御端子911には、イネーブル信号42が入力される。このイネーブル信号42が、「0」になると3ステートバッファ91が動作し、上記のパルス信号901は、そのままローパスフィルタ(LPF)92に出力される。イネーブル信号42が「0」のときには、出力端子をハイインピーダンスの状態にして、LPF92に電流を供給しないようにしている。
【0033】
LPF92は、上記のLPF53と同じローパスフィルタ回路で構成され、その出力電圧特性も同様(図7)である。LPF92の出力電圧は、コンパレータ93に出力される。このコンパレータ93は、上記のコンパレータ57と同様の公知の電圧比較器である。コンパレータ93の入力端子931には、基準電圧VTH3(図7のVccの1/2倍の電圧)が印可される。コンパレータ93の出力信号は、D−FF55のD2端子に出力される。そして、CLK端子に立ち上がりエッジが入力されると、その時点のD2端子の信号がロック信号322としてQ2端子から出力され、位相比較器31に送られる。
【0034】
このような構成において、Ex.OR51に入力する同期信号61と2分周CLK47との位相差が、0°から45°までの場合、45°から135°までの場合、135°から225°までの場合、225°から315°までの場合、315°から360°までの場合での位相差検出器32の動作について図8を参照しながら説明する。
【0035】
図8は、同期信号61と2分周CLK47、48との位相の関係を示した模式図である。
ここでは、同期信号61の隣接する正エッジ間を360°(1周期)として、同期信号61の正エッジを0°の位置に決めている。また、上述したように2分周CLK48は、2分周CLK47から位相が常に90°遅れた状態になっている。
【0036】
同期信号61と2分周CLK47との位相差が45°までの範囲内である場合には(図8(a))、図7よりLPF53の出力電圧はVTH1よりも小さくなるため、コンパレータ54の出力端子は「0」、ANDゲート58の出力端子は「0」となる。このとき、イネーブル信号42が「0」から「1」になると、CLK端子に立ち上がりエッジが入力されて、Q端子(位相差信号46)が「0」、Q1端子(ロック信号321)が「0」となってラッチされる。これにより、図1に示す第1PLL回路10が動作するとともに、位相比較器30にて同期信号61と2分周CLK47の同方向エッジで同期がとられることになる。すなわち、図8(a)で示すように、同期信号61と2分周CLK47、同期信号61と2分周CLK48の同方向エッジ間および異方向エッジ間の位相差の内、最も位相差の小さいエッジ間となる、同期信号61の正エッジと2分周CLK47の正エッジ間で同期がとられることになる。位相差が小さいということは、それだけ位相の調整量が少なくて済むので、位相合わせに要する時間を短縮できることになる。なお、この場合には、同期信号61と2分周CLK48の位相差が90°を越えるので、LPF92の出力電圧は、図7よりVth3よりも大きくなりQ2端子(ロック信号322)は「1」となる。しかし、このとき位相比較器31は動作していないので、第1PLL回路10には影響を与えない。
【0037】
続いて、同期信号61と2分周CLK47の位相差が、45°から135°までの範囲内にある場合には(図8(b))、図7からLPF53の出力電圧は、Vth1とVth2の間の電圧となるので、Q端子は「1」となり、第2PLL回路11が動作する。また、Q1端子は「1」となる。このとき、2分周CLK48と同期信号61との正エッジ間の位相差は90°を越えるので、LPF92の出力電圧はVth3よりも大きくなる。従って、Q2端子は「1」となる。これにより、位相比較器31は、異方向エッジを同期させるように動作する。すなわち、図8(b)に示すように、この場合に最も位相差の小さい、同期信号61の負エッジと2分周CLK48の正エッジ間で同期がとられるようになる。
【0038】
また、同期信号61と2分周CLK47の位相差が、135°から225°までの範囲内にある場合には(図8(c))、図7からLPF53の出力電圧は、Vth2を越えるので、Q端子は「0」となり、第1PLL回路10が動作する。また、Q1端子は「1」、Q2端子は「1」となる。これにより、位相比較器30は、異方向エッジを同期させるように動作する。すなわち、図8(c)に示すように、この場合に最も位相差の小さい、同期信号61の負エッジと2分周CLK47の正エッジ間で同期がとられるようになる。
【0039】
また、同期信号61と2分周CLK47の位相差が、225°から315°までの範囲内にある場合には(図8(d))、図7からLPF53の出力電圧は、Vth1とVth2の間の電圧となるので、Q端子は「1」となり、第2PLL回路11が動作する。また、Q1端子は「1」、Q2端子は「1」となる。これにより、位相比較器31は、同方向エッジを同期させるように動作する。すなわち、図8(d)に示すように、この場合に最も位相差の小さい、同期信号61の正エッジと2分周CLK48の正エッジ間で同期がとられるようになる。
【0040】
また、位相差が315°から360°の場合には、LPF53の出力電圧は、Vth1よりも小さくなるので、Q端子は「0」となり、第1PLL回路10が動作する。また、Q1端子は「0」、Q2端子は「0」となる。これにより、位相比較器30は、同方向エッジを同期させるように動作する。すなわち、図8(a)と同様に、この場合に最も位相差の小さい、同期信号61の正エッジと2分周CLK48の正エッジ間で同期がとられるようになる。
【0041】
このように、位相差検出器32は、位相差の最も小さいエッジ同士を同期させるように、位相差信号46、ロック信号321、322の出力レベル(「0」または「1」)を設定する回路構成になっているので、同期信号61と2分周CLK47、48間にいかなる位相差が生じていても、位相合わせを素早く行えるようになる。これにより、従来のように同方向エッジ同士を同期させる方法に比べて受信CLK44の生成に要する時間を短縮できるので、同期信号61の送出時間をその分だけ短縮できるようになり、結果として伝送効率を向上できることになる。
【0042】
また、上記図8では、2分周CLK47の位相が同期信号61の位相よりも遅れている場合について説明したが、逆に2分周CLK47の正エッジの位相が進んでいる場合についても、同じ結果となる。もちろん、2分周CLK47、48を基準にして同期信号61との位相差を考えるようにしても同様である。また、同図では、2分周CLK47と同期信号61の正エッジ間の位相差を基準としているが、2分周CLK48と同期信号61の正エッジ間の位相差を基準としても最も位相差の小さいエッジ同士を同期させるように、位相差信号46、ロック信号321、322の出力レベルを設定すれば、同様の結果となる。
【0043】
図9は、位相比較器30の回路構成を示す図であって、図10は、位相比較器30の回路内における信号波形を示したものである。まず、2分周CLK47の位相が同期信号61よりも45°までの範囲内で遅れている場合について、図10(a)の信号波形を参照しながら、回路動作を説明する。
位相比較器30は、D−FF70、微分回路71A、71B、セレクタ73、81、82などから構成される。
【0044】
D−FF70は、D端子に入力されている同期信号61をT端子に入力されている2分周CLK47の正エッジでラッチするフリップフロップである。図8(a)では、2分周CLK47の位相が同期信号61の位相よりも遅れているので、D−FF70のQ端子は、「1」となり、QB端子は「0」となる。
微分回路71Aは、入力した同期信号61の正エッジ及び負エッジを検出したとき、及び微分回路71Bは、入力した2分周CLK47の正エッジ及び負エッジを検出したときだけ、マイナスの微分パルスを出力する公知の微分回路である。各回路の出力信号80A、80Bは、非同期セットD−FF72に出力される。
【0045】
非同期セットD−FF72は、SB端子が「0」になると、Q端子を「1」に、QB端子を「0」にセットし、また、D端子を常時「0」としているので、TB端子に負エッジの信号が入ると、Q端子を「0」に、QB端子を「1」にセットするフロップフリップ回路である。
従って、Q端子には、図10(a)に示すようなパルス信号76が出力され、QB端子には、パルス信号76を反転させた状態のパルス信号77が出力される。
【0046】
セレクタ73は、S端子が「0」になると、A端子の信号をそのままY端子に出力し、「1」になると、B端子の信号をそのままY端子に出力する公知の切り替え回路である。他のセレクタ81、82も同様である。
D−FF70のQ端子は、上記から「1」になっているので、セレクタ73のY端子には、B端子の信号が出力される。さらに、2分周CLK47の位相が同期信号61よりも45°までの範囲内で遅れている場合には(図8(a)の場合)、上述のように位相差検出器32からのロック信号321は「0」となるので、セレクタ81は、A端子の信号をY端子に出力する。すなわち、非同期セットD−FF72のQB端子から出力されるパルス信号77が、セレクタ81のY端子から出力されることになる。位相比較器選択部50の出力信号39は、第1PLL回路10を動作させるための信号であり、ここでは、「0」となるので、ORゲート79の出力信号は、パルス信号77と同じ波形になる。一方、セレクタ82のS端子は、「0」となるので、Y端子の信号97は、「1」となる。3ステートバッファ74は、ORゲート79の出力が「0」になると動作して信号97をそのまま出力するので、出力信号(位相差信号)38は、図10(a)のように、パルス信号77を反転させたものと同じ波形(信号76と同じ波形)となる。つまり、位相差信号38が「1」のときだけ3ステートバッファ74が動作して、LPF33に電流が供給されることになり(充電)、これによりLPF33の出力電圧が上昇し、VCO34から出力される周波数が高くなり、2分周CLK47の位相が進むようになる。また、「0」のときは、3ステートバッファ74が動作しないので、出力端子がハイインピーダンスの状態となり、LPF33には、電流が供給されないことになる。
【0047】
次に、2分周CLK47の位相が同期信号61よりも、135°から180°の範囲内で遅れている場合の回路動作について、図10(b)を参照しながら説明する。
この場合は、D−FF70のQ端子は「1」になり、QB端子は「0」となる。従って、セレクタ73は、B端子の信号をそのままY端子に出力する。さらに、この場合のロック信号321は「1」となるので、セレクタ81のB端子に入力される信号、すなわちセレクタ73のY端子からの信号78がNOTゲート84で反転された信号が入力され、これがY端子から出力される。また、セレクタ82のS端子は「1」となるので、Y端子の信号97は、「0」となる。従って、図10(b)のように、位相差信号38は、パルス信号76と同様の波形となる。つまり、位相差信号38が「−1」のときだけ3ステートバッファ74が動作して、LPF33から電荷を引き込んで(放電させて)、LPF33の出力電圧を下降させる。これにより、VCO34から出力される周波数が低くなり、2分周CLK47の位相が遅れるようになる。また、「0」のときは、3ステートバッファ74が動作しないので、出力端子がハイインピーダンスの状態となり、LPF33には、電流が供給されないことになる。
【0048】
図10(c)は、2分周CLK47の位相が同期信号61よりも、180°から225°の範囲内で遅れている場合の波形図である。
この場合は、D−FF70のQ端子は「0」になり、QB端子は「1」となるので、セレクタ73は、A端子の信号をそのままY端子に出力する。また、ロック信号321が「1」となるので、セレクタ73のY端子からの信号78が反転された信号がセレクタ81のY端子から出力される。そして、セレクタ82のS端子は「1」となるので、Y端子の信号97は「1」となり、位相差信号38は、図10(a)と同様になるので、結果として2分周CLK47の位相が進むようになる。
【0049】
図10(d)は、2分周CLK47の位相が同期信号61よりも、315°から360°の範囲内で遅れている場合の波形図である。
この場合は、D−FF70のQ端子は「0」になり、QB端子は「1」となるので、セレクタ73は、A端子の信号をそのままY端子に出力する。また、ロック信号321が「0」となるので、セレクタ73のY端子からの信号78がそのままセレクタ81のY端子から出力される。そして、セレクタ82のS端子は「0」となるので、Y端子の信号97は「0」となり、位相差信号38は、図10(b)と同様になるので、結果として2分周CLK47の位相が遅れるようになる。
【0050】
以上、説明したように位相比較器30は、同方向エッジ間だけでなく、異方向エッジ間でも位相差の大きさに応じて位相差信号38を生成できるように回路構成されているので、ロック信号321の出力レベルの切り換えにより、第1PLL回路10において、同方向エッジ同士でも異方向エッジ同士でも同期をとることができる。
【0051】
また、図示していないが、位相比較器31も同様の構成にしているので、第2PLL回路11において、同期信号61と2分周CLK48の同方向エッジでも異方向エッジ同士でも同期がとれるようになっている。
このように、PLL回路部20は、同期信号61、2分周CLK47、48の位相差の大きさに基づいて第1PLL回路10と第2PLL回路11とを切り換えると共に、同方向エッジでも異方向エッジ同士でも同期をとれるように構成されているので、従来のように同方向エッジだけで同期をとる場合に比べて、同期を早くとれるようになる。従って、同期信号61の送出時間をその分だけ従来よりも短くすることができるようになるので、結果として信頼性を落とすことなく伝送効率を向上できる。
【0052】
なお、データ復調部35は、位相合わせが同期信号61と2分周CLK47との間で行われた場合(第1PLL回路10で行われた場合)には、同期信号61の次に送られてくるスタートビット62と情報データ63とを図2のように受信CLK44の負エッジのタイミングでラッチしてサンプリングする。
この場合、受信CLK44の負エッジが情報データ63の1ビットの中央の位置に現れるので、負エッジでラッチするようにしておけば、たとえ受信CLK44の位相がわずかにずれたとしても、信号のレベル(「0」または「1」)を誤って認識することがなくなり信頼性を向上できる。
【0053】
一方、位相合わせが第2PLL回路11で行われた場合には、受信CLK44の正エッジのタイミングでラッチする。これは、2分周CLK48が、受信CLK44の負エッジのタイミングで2分周されて生成された信号なので、受信CLK44の負エッジが情報データ63の正エッジ及び負エッジと同期していることになり、情報データ63の1ビットの中央の位置には正エッジが現れることになるからである。
【0054】
図11は、データ復調部35内のラッチ切り替え部351を示した図である。上記のように、第1PLL回路10が選択された場合には、位相差信号46が「0」になる。セレクタ352は、S端子に「0」が入力されると、A端子の信号を、「1」が入力されると、B端子の信号をY端子から出力する公知の切り換え回路であって、この場合、S端子が「0」になるので、受信CLK44がそのままの状態で、8ビットシフトレジスタに送られる。8ビットシフトレジスタは図示していないが、情報データ63を入力すると、ビット毎に受信CLK44の負エッジでラッチする。
【0055】
一方、第2PLL回路11が選択された場合には、位相差信号46が「1」になり、セレクタ352のS端子が「1」になるので、受信CLK44は、NOTゲート353で反転されてY端子から出力され、8ビットシフトレジスタに送られる。
8ビットシフトレジスタは、上記のように情報データ63を負エッジでラッチする回路なので、受信CLK44を8ビットシフトレジスタに入力する前に反転させておけば、実質的には受信CLK44の正エッジのタイミングで情報データ63をラッチさせたことと同じことになる。
【0056】
なお、本発明は、上記実施の形態に限定されないのは言うまでもなく、以下のような変形例を考えることができる。
(1)上記実施の形態では、第1、第2PLL回路10、11を選択的に切り替える構成としているが、第1PLL回路10だけで構成して受信CLK44を生成するようにしてもよい。この場合は、2分周CLK48が存在しないので、同期信号61と2分周CLK47との同方向エッジ間、もしく異方向エッジ間の内、位相差の小さい方のエッジ同士を同期させるようにロック信号321の出力レベルを設定する。このようにしても、従来のように同方向エッジ間でのみ同期をとることに比べると、位相合わせに要する時間を短縮できる。また、回路構成が簡易になりコストも軽減できる。なお、この場合は、受信CLK44の立ち下がりエッジで情報データ63をサンプリングするようにすればよい。
【0057】
(2)上記実施の形態では、受信CLK44を2分周した2分周CLK47、48を生成し、これらと同期信号61との間で位相合わせを行うようにしているが、2分周に限定されることはない。例えば、4分周した2つのパルス信号を90°位相をずらして生成し、これらと同期信号61との間で位相合わせを行うようにしても、上記同様に位相合わせに要する時間を短縮できるという効果を得ることができる。このことは、分周しない場合、すなわち2分周器36、37を取り除いた場合でも同じことがいえる。なお、分周しない場合は、受信CLK44と入力信号60の周波数が同一になるので、これらを同方向エッジもしくは異方向エッジ同士で同期させると、サンプリングエッジが情報データ63の立ち上がりエッジもしくは立ち下がりエッジと同タイミングになり、例えば受信CLK44の位相がわずかでもずれると信号レベルを誤って認識することになってしまう。そこで、このような場合は、上記のラッチ切り換え部351の代わりに、位相を例えば180度ずらすことができる公知の位相調整回路を構成しておけば、位相のずれた受信CLKの立ち上がりもしくは立ち下がりエッジが、情報データ63の1ビットのほぼ中央部に位置することになる。従って、いずれのエッジでサンプリングを行っても誤認識することがなくなり、信頼性を向上できる。
【0058】
また、相互に位相の異なる複数の分周パルスを生成し、これらと同期信号61との間で位相合わせを行うようにすれば、さらに位相合わせに要する時間を短縮できるという効果を得ることができる。例えば、上記の2分周CLK47から45°遅れた位相の2分周クロック471(図示せず)を生成すると共に、これと同期信号61とを位相合わせさせる第3のPLL回路を新たに設ける。そして、位相差検出器32では、2分周CLK47、48、471と同期信号61との間において最も位相差の小さいエッジ間を求め、そのエッジ同士を同期させるように、第1〜第3PLL回路のいずれかを動作させるようにする。このようにすれば、生成した3つの2分周CLK47、48、471との位相差により、動作させるPLL回路を選択できるので、上述よりも位相の調整量が少なくて済み、位相合わせに要する時間を短縮できる。
【0059】
(3)上記実施の形態では、第1、第2PLL回路10、11を用いて同期信号61から受信CLK44を生成するようにしているが、本発明はこれに限定されず、同期信号61と位相合わせを行って受信CLK44を生成することができる回路であれば適用できる。
【0060】
【発明の効果】
以上説明してきたように本発明によれば、受信した同期信号とパルス生成手段によって生成されたクロックパルスとの同方向エッジ間および異方向エッジ間における位相差を求め、位相差の最も小さいエッジの組み合わせを選択し、そのエッジ間の位相差がなくなるように、クロックパルスの位相を調整させるようにしたので、従来のように同方向エッジ間での位相差をなくすようにクロックパルスの位相を調整する方法に比べて、位相の調整量が少なくて済み、位相調整に要する時間を短縮できる。これにより、同期信号の送出時間をその分短縮できるようになるので、結果として伝送効率の向上を図れる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るデータ受信装置の全体構成図である。
【図2】外部装置から上記データ受信装置に伝送されてくる入力信号の構成例を示した図である。
【図3】上記データ受信装置内のVCOの入力電圧に対する受信CLKの周波数特性を示す図である。
【図4】(a)は、同期信号と2分周CLKの同方向エッジ(正エッジ同士及び負エッジ同士)を同期させた状態を示す図であって、(b)は、同期信号と2分周CLKとの異方向エッジ(正エッジと負エッジ)を同期させた状態を示す図である。
【図5】位相差検出器の回路構成を示す図である。
【図6】同期信号と2分周CLKとの位相差に応じて出力されたパルス信号の波形を示す図である。
【図7】LPFの出力電圧特性を示す図である。
【図8】位相差検出器に入力している同期信号と2分周CLKとの位相の関係を示した模式図である。
【図9】位相比較器の回路構成を示す図である。
【図10】位相比較器の回路内における信号波形を示した図である。
【図11】データ復調部内のラッチ切り替え部の構成を示した図である。
【符号の説明】
10 第1PLL回路
11 第2PLL回路
20 PLL回路部
30、31 位相比較器
32 位相差検出器
33、53、92 LPF
34 VCO
35 データ復調部
36、37 2分周器
38、40、46 位相差信号
42 イネーブル信号
44 受信CLK
45 ホールド信号
47、48 2分周CLK
49、50 位相比較器選択部
51、90 Ex.OR
52、74、91 3ステートバッファ
54、57、93 コンパレータ
55、70 D−FF
58 ANDゲート
60 入力信号
61 同期信号
62 スタートビット
63 情報データ
71A、71B 微分回路
72 非同期セットD−FF
73、81、82、352 セレクタ
79 ORゲート
84、353 NOTゲート
321、322 ロック信号
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data receiving apparatus that generates a clock pulse when a synchronization signal transmitted from a transmission apparatus is received, and samples information data transmitted following the synchronization signal using the clock pulse.
[0002]
[Prior art]
One method for transmitting data at high speed is a bit serial data transmission method.
In this method, a synchronization signal that repeats “0” and “1” for each bit and information data representing character information, image information, etc. in a bit string in units of 8 bits are configured and transmitted as one frame. It is transmitted as transmission data from the side. On the receiving side, when receiving the synchronization signal, for example, a clock pulse having the same frequency and the same phase as the synchronization signal is generated by PLL (Phase-Locked Loop) control, and is transmitted following the synchronization signal using this clock pulse. Sampling information data.
[0003]
This PLL is mainly composed of a closed loop circuit of a voltage controlled oscillator (VCO), a phase comparator, and a low pass filter (LPF). The VCO outputs a clock pulse having a predetermined frequency according to an input voltage. The synchronization signal and the clock pulse output from the VCO are input to the phase comparator, and the phase comparator detects the phase component (phase difference) of both signals and outputs this as a pulse signal (phase difference signal). And output to the LPF.
[0004]
The LPF is mainly composed of a resistor and a capacitor, removes unnecessary noise components contained in the phase difference signal, converts the phase difference signal into a DC voltage, and outputs it to the VCO. The VCO changes the phase of the clock pulse in such a direction that the phase difference disappears, and sends this to the phase comparator. By repeating this operation, the phase of the clock pulse approaches the phase of the synchronization signal, and eventually both phases are matched (this operation is referred to as “phase matching”). Specifically, this phase alignment is performed so that the phase difference between the edges in the same direction between the rising edges (positive edges) of the synchronization signal and the clock pulse is eliminated.
[0005]
However, even if phase adjustment is performed in this way, leakage current is generated in the PLL control circuit, and therefore the frequency and phase of the clock pulse once phase-adjusted gradually change over time, so that sampling of information data In order to perform accurately, it is desirable to perform this phase alignment every frame.
[0006]
[Problems to be solved by the invention]
However, when serial data is received using a PLL as described above, only one transmission path is required, but information data cannot be transmitted while a synchronization signal is being transmitted. There was a problem of inefficiency. In order to improve the transmission efficiency in such a data configuration, it is conceivable to shorten the transmission time of the synchronization signal as much as possible. However, as described above, the PLL is configured by a closed loop circuit that eliminates the phase difference by varying the oscillation frequency of the VCO by the detected phase difference. Therefore, if the phase difference is large, the phase adjustment is performed accordingly. It takes a long time to complete. Therefore, it is necessary to set the transmission time of the synchronization signal to a time necessary for surely performing the phase alignment even when the phase difference between the two signals is the largest, that is, even when the phase is shifted by 180 °. is there. Otherwise, during synchronization signal reception, phase alignment cannot be completed, and information data is sampled using clock pulses of different frequencies, so that accurate information cannot be obtained, resulting in communication reliability. It is because it becomes impossible to secure.
[0007]
Such a problem is not limited to a method of generating a clock pulse using a PLL, but occurs in a data receiving apparatus that generates a clock pulse by performing phase alignment with a received synchronization signal.
The present invention has been made in view of the above-described problems, and in a data receiving apparatus that samples information data with a clock pulse generated by performing phase alignment with a received synchronization signal, The purpose is to shorten the transmission time of the synchronization signal by completing the matching as soon as possible, and consequently improve the transmission efficiency of the information data.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a data receiving apparatus for receiving transmission data including a synchronization signal and information data, the pulse generation means for generating a clock pulse, the received synchronization signal, and the pulse generation means. A phase difference between the same-direction edges and different-direction edges with respect to the clock pulse generated by the step, and selecting means for selecting a combination of edges having the smallest phase difference, so that the phase difference between the selected edges is eliminated. And a phase adjusting means for adjusting the phase of the clock pulse, and a sampling means for sampling the information data based on the clock pulse after the phase adjustment.
[0009]
In addition, the clock pulse generated by the pulse generation means is divided by the same frequency division ratio, and has a frequency division pulse generation means for generating a plurality of frequency division pulses having different phases from each other, the selection means is In place of the clock pulse, a phase difference between the same-direction edge and the opposite-direction edge between each generated divided pulse and the synchronization signal is obtained, and a combination of edges having the smallest phase difference is selected. Features.
[0010]
Further, when the selected division pulse is a pulse divided by using the rising edge of the clock pulse as a trigger, the previous period sampling means executes sampling of the previous period information data at the falling edge of the clock pulse, When the pulse is divided by using the falling edge of the clock pulse as a trigger, the information data is sampled at the rising edge of the clock pulse.
[0011]
The previous transmission data consists of alternating synchronization signals and information data, and the previous phase adjustment means stops adjusting the frequency and phase of the clock pulse while receiving the information data, and the previous synchronization state It is characterized by maintaining.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a data receiving apparatus according to the present invention will be described below.
FIG. 1 is an overall configuration diagram of a data receiving apparatus, and FIG. 2 is a diagram illustrating an example configuration of an input signal 60 transmitted from an external apparatus to the data receiving apparatus.
As shown in FIG. 1, the data receiving apparatus is roughly composed of a PLL circuit unit 20 and a data demodulating unit 35. As shown in FIG. 2, the input signal 60 includes a synchronization signal 61 composed of a pulse train that repeats “0” and “1” for each bit, a start bit 62 in which 9 bits continuously become “1”, Information data 63 formed by connecting a plurality of 9-bit data strings in which “0” is added before 8 bits representing character, image information, etc. is composed of one frame, and is repeatedly transmitted. It has become.
[0013]
The data demodulator 35 is a circuit that samples the information data 63 using the reception CLK 44 generated by the PLL circuit unit 20.
The PLL circuit unit 20 is a circuit that generates a reception CLK 44 based on the synchronization signal 61 transmitted every frame and sends it to the data demodulation unit 35. The PLL circuit unit 20 includes two PLL circuits, that is, a phase comparator 30, an LPF 33, a VCO 34, and a frequency divider 36 in order to reduce the time required to generate the reception CLK 44 as compared with the conventional case. The first PLL circuit 10 and the second PLL circuit 11 comprising the phase comparator 31, LPF 33, VCO 34, and divide-by-37 37 are selectively switched (LPF 33 and VCO 34 are shared with the first PLL circuit 10). Yes. Hereinafter, the circuit configuration of the PLL circuit unit 20 will be described.
[0014]
The VCO 34 is a known voltage-controlled oscillator that changes the frequency according to the applied voltage. The VCO 34 generates a reception CLK 44 according to the output voltage of the LPF 33 and outputs the reception CLK 44 to the data demodulator 35 and the two frequency dividers 36 and 37.
FIG. 3 is a graph showing the frequency characteristics of the reception CLK 44 with respect to the input voltage of the VCO 34. From this figure, it can be seen that this VCO 34 has a characteristic that the frequency of the received reception CLK 44 increases linearly when the input voltage rises. In addition, since the transmission speed (frequency) of the input signal 60 is constant, a crystal oscillator having a high stability and a small amount of change is used.
[0015]
Returning to FIG. 1, the divide-by-two 36 is composed of a flip-flop circuit that operates at the rising edge (positive edge) of the reception CLK 44 generated by the VCO 34, and divides the reception CLK 44 by two by two. 2 is generated and output to the phase comparator 30 and the phase difference detector 32.
The divide-by-two 37 is composed of a flip-flop circuit that operates at the falling edge (negative edge) of the reception CLK 44, and generates a divide-by-two CLK 48 (see FIG. 2) obtained by dividing the reception CLK 44 by two. It outputs to the comparator 31 and the phase difference detector 32. Since the frequency-divided CLK 48 is divided by using the negative edge of the received CLK 44 as a trigger, the phase is delayed by 90 ° from the frequency-divided CLK 47.
[0016]
The phase comparator 30 is a circuit that generates a phase difference signal 38 corresponding to the phase difference between the received synchronization signal 61 and the half-divided CLK 47 and outputs this to the LPF 33.
Further, since it is constituted by a charge pump circuit, when there is no phase difference, the output terminal is in a high impedance state and no current flows through the LPF 33. The phase comparator 1 operates only when the output terminal of the phase comparator selector 50 becomes “0”, and when it is “1”, the operation is stopped and the output terminal is brought into a high impedance state.
[0017]
Here, the phase comparator 30 can receive the lock signal 321. When this signal is “0”, the synchronization signal 61 and the edge in the same direction of the frequency-divided CLK 47 (positive edges and The negative edges are synchronized (see FIG. 4A), and when “1”, the opposite edges (positive edge and negative edge) of the synchronization signal 61 and the frequency-divided CLK 47 are synchronized. (See FIG. 4B). In the present embodiment, hereinafter, synchronizing both the same direction edges or different direction edges to bring both signals into the state shown in FIG. 4A or 4B is referred to as “phase alignment”. In addition, even if it synchronizes with the same direction edge, it synchronizes with the edge of a different direction, and the positive edge of the synchronizing signal 61 and reception CLK44 does not change. This is because the frequency-divided CLK 47 is a signal divided by the positive edge of the reception CLK 44. The circuit configuration of the phase comparator 1 will be described later.
[0018]
Returning to FIG. 1, the phase comparator 31 has the same configuration as that of the phase comparator 30, and generates a phase difference signal 40 corresponding to the phase difference between the received synchronization signal 61 and the half-divided CLK 48, and outputs the phase difference signal 40 to the LPF 33. Output to. Further, the operation is performed only when the output terminal of the phase comparator selection unit 49 becomes “0”, and when it is “1”, the operation is stopped and the output terminal is brought into a high impedance state.
[0019]
Further, the lock signal 322 can be input. When this signal is “0”, it operates so as to synchronize the synchronization signal 61 and the edge in the same direction of the divide-by-two CLK 48, and “1”. Sometimes it operates to synchronize different direction edges. This operation is the same as that of the phase comparator 30.
The LPF 33 is a known low-pass filter circuit composed of a resistor and a capacitor. Upon receiving the phase difference signal 38 or the phase difference signal 40, the LPF 33 removes a high frequency component and noise and smoothes it to convert it into a DC voltage. This is output to the VCO 34 described above.
[0020]
The phase comparator selectors 49 and 50 are each composed of an OR gate, and receive the phase difference signal 46 from the phase difference detector 32 and the hold signal 45 from the data demodulator 35.
The phase difference detector 32 detects the phase difference between the synchronizing signal 61 and the half-divided CLK 47, and the synchronizing signal 61 and the half-divided CLK 48, respectively, and according to the magnitude of the phase difference, the phase difference signal 46, the lock This circuit outputs signals 321 and 322.
[0021]
When the hold signal 45 from the data demodulator 35 is “0” and the phase difference signal 46 becomes “0”, the output terminal of the phase comparator selector 50 becomes “0”, and the first PLL circuit 10 When the phase difference signal 46 becomes “1”, the output terminal of the phase comparator selector 49 becomes “0”, and the second PLL circuit 11 is configured. When the lock signal 321 becomes “0”, the phase comparator 30 synchronizes at the same direction edge as described above, and when it becomes “1”, synchronization occurs at the opposite direction edge. Similarly, when the lock signal 322 becomes “0”, the phase comparator 31 is synchronized at the same direction edge, and when it is “1”, it is synchronized at the opposite direction edge. The circuit configuration of the phase difference detector 32 will be described later.
[0022]
In the data receiving apparatus having such a configuration, when receiving the synchronization signal 61, the data demodulating unit 35 outputs an enable signal 42 that is “0” for a predetermined time to the phase difference detector 32 (FIG. 2). As will be described later, when the signal is “0”, the phase difference detector 32 outputs the output levels (“0”) of the phase difference signal 46 and the lock signals 321 and 322 according to the detected phase difference. Or “1”). At this time, since the hold signal 45 is “1” (FIG. 2), the output signals of the phase comparator selectors 49 and 50 are both “1”, and the phase comparators 30 and 31 are stopped. State.
[0023]
The data demodulator 35 changes the enable signal 42 from “0” to “1” and simultaneously sets the hold signal 45 to “0” (FIG. 2). As a result, one of the phase comparators 30 and 31 operates according to the output level of the phase difference signal 46 to form one of the first or second PLL circuits 10 and 11, and the lock signals 321 and 322. Phase matching is performed according to the output level.
[0024]
The data demodulator 35 counts the number of pulses of the received synchronization signal 61, and when this reaches a predetermined count, the hold signal 45 is changed from “0” to “1”. This control can be easily performed if the transmission time (number of pulses) of the synchronization signal 61 is determined in advance. When the hold signal 45 becomes “1”, the outputs of the phase comparator selectors 49 and 50 become “1”. As a result, the output terminals of the phase comparators 30 and 31 are in a high impedance state as described above, and the PLL closed loop control is stopped. Even in this case, since the charge accumulated in the capacitor of the LPF 33 is held, the reception CLK 44 is fixed at a frequency immediately before the PLL control is stopped.
[0025]
The data demodulator 35 samples the start bit 62 and the information data 63 using the reception CLK 44. The start bit 62 is a signal that is continuously “1” for 9 bits as described above, and is inserted between the synchronization signal 61 and the information data 63. As a result, the data receiving device side can clearly distinguish the synchronization signal 61 and the information data 63. Further, since the information data 63 has a data structure in which one “0” is added before an 8-bit data string indicating character information or the like, the data receiving apparatus has the next data “0”. It can be determined that 8 bits are a data string. When the reception of the information data 63 is completed and the synchronization signal 61 of the next frame is sent, the data demodulator 35 changes the enable signal 42 from “1” to “0”. Thereafter, the above operation is repeated, and the information data 63 of each frame is sampled.
[0026]
FIG. 5 is a diagram illustrating a circuit configuration of the phase difference detector 32.
The phase difference detector 32 includes exclusive OR gates (Ex. OR) 51 and 90, comparators 54, 57 and 93, a DATA flip-flop (D-FF) 55, and the like.
Ex. An input signal 60 and a divide-by-2 CLK 47 are input to the OR 51. This Ex. The OR 51 outputs a pulse signal 511 corresponding to the phase difference between the synchronization signal 61 in the input signal 60 and the divide-by-2 CLK 47. For example, in a state where there is no phase difference between both signals, a pulse waveform as shown in FIG. When the phase difference is very small, the waveform is as shown in FIG. 6B. When the phase difference is larger than 90 °, the waveform is as shown in FIG. 6C.
[0027]
This pulse signal 511 is sent to the 3-state buffer 52. The enable signal 42 from the data demodulator 35 is input to the control terminal 521 of the 3-state buffer 52. The 3-state buffer 52 operates only when the enable signal 42 is “0”, and outputs the pulse signal 511 to the LPF 53 as it is. When the enable signal 42 is “1”, the output is in a high impedance state so that no current is supplied.
[0028]
The LPF 53 is a known low-pass filter circuit including a resistor and a capacitor, and smoothes the pulse signal 511 into a DC voltage.
FIG. 7 is a graph showing the output voltage characteristics of the LPF 53. The vertical axis represents the output voltage value of the LPF 53, and the horizontal axis represents Ex. The phase difference between the positive edges of the synchronizing signal 61 input to the OR 51 and the divided by two CLK 47 is shown. From the figure, when the phase difference is 180 °, the output voltage is the maximum voltage Vcc, when the phase difference is 0 ° and 360 °, the minimum voltage is 0, and when it is 45 ° and 315 °, it is 1/4 times Vcc. When the voltage is VTH1, 135 ° and 225 °, the voltage VTH2 is 3/4 times Vcc. Here, a positive phase difference indicates a case where the half-divided CLK 47 is delayed from the synchronization signal 61, and a negative indicates a case where the phase difference is advanced.
[0029]
Returning to FIG. 5, the output voltage of the LPF 53 is output to the comparators 54 and 57, respectively. This comparator 54 compares the voltage values of the signals input to the input terminals 541 and 542 and outputs a signal (“0” or “1”) corresponding to the sign of the input terminal with the larger voltage value. This is a voltage comparator. The comparator 57 is also configured with a comparator similar to the comparator 54.
[0030]
The reference voltage VTH1 is applied to the input terminal 541 of the comparator 54, and the reference voltage VTH2 is applied to the input terminal 572 of the comparator 57. The reference voltages VTH1 and VTH2 are set to the same voltage as VTH1 and VTH2 in FIG.
The output signals of the comparators 54 and 57 are input to the AND gate 58, and the output signal of the AND gate 58 is output to the D0 terminal of the D-FF 55.
[0031]
The D-FF 55 detects the signal level (“0” or “1”) at the D0 terminal when the signal at the CLK terminal, that is, the rising edge when the enable signal 42 changes from “0” to “1” is detected. This is a known flip-flop circuit that outputs the same signal as a phase difference signal 46 from the Q terminal. The D-FF 55 maintains the signal level at the Q terminal in the current state until the next rising edge is input to the CLK terminal, that is, until the synchronization signal 61 of the next frame is received. Thus, the phase difference signal 46 is not changed within one frame. That is, the first PLL circuit 10 and the second PLL circuit 11 are not switched. The output signal of the comparator 54 is input to the D1 terminal of the D-FF 55. When a rising edge is input to the CLK terminal, the signal at that time is output from the Q1 terminal as the lock signal 321 and the phase comparator 30. Sent to.
[0032]
Ex. An input signal 60 and a divide-by-2 CLK 48 are input to the OR 90. This Ex. The OR 90 outputs a pulse signal 901 corresponding to the phase difference between the synchronization signal 61 of the input signal 60 and the frequency-divided CLK 48. The waveform of the signal 901 is almost the same as that of the pulse signal 511 described above.
This pulse signal 901 is sent to the 3-state buffer 91. The enable signal 42 is input to the control terminal 911 of the 3-state buffer 91. When the enable signal 42 becomes “0”, the three-state buffer 91 operates, and the pulse signal 901 is output to the low-pass filter (LPF) 92 as it is. When the enable signal 42 is “0”, the output terminal is set to a high impedance state so that no current is supplied to the LPF 92.
[0033]
The LPF 92 is composed of the same low-pass filter circuit as the LPF 53 described above, and the output voltage characteristics are the same (FIG. 7). The output voltage of the LPF 92 is output to the comparator 93. The comparator 93 is a known voltage comparator similar to the comparator 57 described above. A reference voltage VTH3 (a voltage that is ½ times Vcc in FIG. 7) is applied to the input terminal 931 of the comparator 93. The output signal of the comparator 93 is output to the D2 terminal of the D-FF 55. When the rising edge is input to the CLK terminal, the signal at the D2 terminal at that time is output from the Q2 terminal as the lock signal 322 and sent to the phase comparator 31.
[0034]
In such a configuration, Ex. When the phase difference between the synchronization signal 61 input to the OR 51 and the frequency-divided CLK 47 is 0 ° to 45 °, 45 ° to 135 °, 135 ° to 225 °, 225 ° to 315 ° The operation of the phase difference detector 32 in the case of 315 ° to 360 ° will be described with reference to FIG.
[0035]
FIG. 8 is a schematic diagram showing the phase relationship between the synchronization signal 61 and the half-divided CLKs 47 and 48.
Here, the interval between adjacent positive edges of the synchronization signal 61 is set to 360 ° (one cycle), and the positive edge of the synchronization signal 61 is determined at a position of 0 °. Further, as described above, the half-divided CLK 48 is in a state in which the phase is always delayed by 90 ° from the half-divided CLK 47.
[0036]
When the phase difference between the synchronization signal 61 and the half-divided CLK 47 is within a range up to 45 ° (FIG. 8A), the output voltage of the LPF 53 is smaller than VTH1 from FIG. The output terminal is “0”, and the output terminal of the AND gate 58 is “0”. At this time, when the enable signal 42 changes from “0” to “1”, a rising edge is input to the CLK terminal, the Q terminal (phase difference signal 46) is “0”, and the Q1 terminal (lock signal 321) is “0”. Is latched. As a result, the first PLL circuit 10 shown in FIG. 1 operates and the phase comparator 30 synchronizes at the same direction edge of the synchronization signal 61 and the divide-by-2 CLK 47. That is, as shown in FIG. 8A, the phase difference is the smallest among the phase differences between the same direction edges and the different direction edges of the synchronization signal 61 and the divided frequency CLK 47 and the synchronized signal 61 and the divided frequency CLK 48. Synchronization is established between the positive edge of the synchronization signal 61 and the positive edge of the divide-by-2 CLK 47, which are between the edges. If the phase difference is small, the amount of phase adjustment can be reduced accordingly, so that the time required for phase alignment can be shortened. In this case, since the phase difference between the synchronization signal 61 and the half-divided CLK 48 exceeds 90 °, the output voltage of the LPF 92 is larger than Vth3 from FIG. 7, and the Q2 terminal (lock signal 322) is “1”. It becomes. However, since the phase comparator 31 is not operating at this time, the first PLL circuit 10 is not affected.
[0037]
Subsequently, when the phase difference between the synchronizing signal 61 and the divide-by-2 CLK 47 is within the range of 45 ° to 135 ° (FIG. 8B), the output voltage of the LPF 53 is Vth1 and Vth2 from FIG. The Q terminal becomes “1” and the second PLL circuit 11 operates. Further, the Q1 terminal is “1”. At this time, since the phase difference between the positive edges of the divide-by-two CLK 48 and the synchronization signal 61 exceeds 90 °, the output voltage of the LPF 92 becomes larger than Vth3. Therefore, the Q2 terminal is “1”. Thereby, the phase comparator 31 operates so as to synchronize the different direction edges. That is, as shown in FIG. 8B, synchronization is established between the negative edge of the synchronizing signal 61 and the positive edge of the divided-by-two CLK 48 having the smallest phase difference in this case.
[0038]
Further, when the phase difference between the synchronizing signal 61 and the divide-by-2 CLK 47 is in the range from 135 ° to 225 ° (FIG. 8C), the output voltage of the LPF 53 exceeds Vth2 from FIG. , Q terminal becomes “0”, and the first PLL circuit 10 operates. The Q1 terminal is “1” and the Q2 terminal is “1”. Thereby, the phase comparator 30 operates so as to synchronize the different direction edges. That is, as shown in FIG. 8C, synchronization is established between the negative edge of the synchronizing signal 61 and the positive edge of the divided-by-2 CLK 47, which have the smallest phase difference in this case.
[0039]
Further, when the phase difference between the synchronizing signal 61 and the frequency-divided CLK 47 is within a range from 225 ° to 315 ° (FIG. 8 (d)), the output voltage of the LPF 53 is Vth1 and Vth2 from FIG. Therefore, the Q terminal becomes “1”, and the second PLL circuit 11 operates. The Q1 terminal is “1” and the Q2 terminal is “1”. Thereby, the phase comparator 31 operates so as to synchronize the same direction edges. In other words, as shown in FIG. 8D, synchronization is established between the positive edge of the synchronization signal 61 and the positive edge of the divide-by-two CLK 48, which have the smallest phase difference in this case.
[0040]
When the phase difference is from 315 ° to 360 °, the output voltage of the LPF 53 is smaller than Vth1, so that the Q terminal becomes “0” and the first PLL circuit 10 operates. The Q1 terminal is “0” and the Q2 terminal is “0”. Thereby, the phase comparator 30 operates so as to synchronize the same direction edges. That is, as in FIG. 8A, synchronization is established between the positive edge of the synchronization signal 61 and the positive edge of the divided-by-two CLK 48, which have the smallest phase difference in this case.
[0041]
As described above, the phase difference detector 32 sets the output level (“0” or “1”) of the phase difference signal 46 and the lock signals 321 and 322 so that the edges having the smallest phase difference are synchronized with each other. Since it is configured, phase alignment can be performed quickly regardless of any phase difference between the synchronization signal 61 and the half-divided CLKs 47 and 48. As a result, the time required to generate the reception CLK 44 can be shortened compared to the conventional method of synchronizing the edges in the same direction, so that the transmission time of the synchronization signal 61 can be shortened accordingly, resulting in transmission efficiency. Can be improved.
[0042]
Further, in FIG. 8, the case where the phase of the half-divided CLK 47 is delayed from the phase of the synchronization signal 61 has been described, but conversely, the same applies to the case where the phase of the positive edge of the half-divided CLK 47 is advanced. Result. Of course, the same applies to the case where the phase difference from the synchronization signal 61 is considered with reference to the two-divided CLKs 47 and 48. In addition, in the figure, the phase difference between the half-divided CLK 47 and the positive edge of the synchronizing signal 61 is used as a reference. However, the phase difference between the half-divided CLK 48 and the positive edge of the synchronizing signal 61 is also the reference. If the output levels of the phase difference signal 46 and the lock signals 321 and 322 are set so that the small edges are synchronized, the same result is obtained.
[0043]
FIG. 9 is a diagram showing a circuit configuration of the phase comparator 30, and FIG. 10 shows a signal waveform in the circuit of the phase comparator 30. First, the circuit operation will be described with reference to the signal waveform of FIG. 10A in the case where the phase of the half-divided CLK 47 is delayed within the range of 45 ° from the synchronization signal 61.
The phase comparator 30 includes a D-FF 70, differentiating circuits 71A and 71B, selectors 73, 81, and 82.
[0044]
The D-FF 70 is a flip-flop that latches the synchronization signal 61 input to the D terminal at the positive edge of the half-divided CLK 47 input to the T terminal. In FIG. 8A, since the phase of the divide-by-2 CLK 47 is delayed from the phase of the synchronization signal 61, the Q terminal of the D-FF 70 is “1” and the QB terminal is “0”.
Only when the differential circuit 71A detects the positive edge and the negative edge of the input synchronization signal 61, and the differential circuit 71B detects the positive edge and the negative edge of the input 2-divided CLK 47, the differential circuit 71A outputs a negative differential pulse. This is a known differentiation circuit for outputting. The output signals 80A and 80B of each circuit are output to the asynchronous set D-FF 72.
[0045]
Asynchronous set D-FF72 sets the Q terminal to “1”, the QB terminal to “0” when the SB terminal becomes “0”, and the D terminal is always “0”. When a negative edge signal is input, the flip-flop circuit sets the Q terminal to “0” and the QB terminal to “1”.
Accordingly, a pulse signal 76 as shown in FIG. 10A is output to the Q terminal, and a pulse signal 77 in a state where the pulse signal 76 is inverted is output to the QB terminal.
[0046]
The selector 73 is a known switching circuit that outputs the signal of the A terminal to the Y terminal as it is when the S terminal becomes “0”, and outputs the signal of the B terminal as it is to the Y terminal when it becomes “1”. The same applies to the other selectors 81 and 82.
Since the Q terminal of the D-FF 70 is “1” from the above, the signal of the B terminal is output to the Y terminal of the selector 73. Further, when the phase of the divide-by-2 CLK 47 is delayed within a range of 45 ° from the synchronization signal 61 (in the case of FIG. 8A), the lock signal from the phase difference detector 32 as described above. Since 321 becomes “0”, the selector 81 outputs the signal of the A terminal to the Y terminal. That is, the pulse signal 77 output from the QB terminal of the asynchronous set D-FF 72 is output from the Y terminal of the selector 81. The output signal 39 of the phase comparator selection unit 50 is a signal for operating the first PLL circuit 10 and is “0” here, so the output signal of the OR gate 79 has the same waveform as the pulse signal 77. Become. On the other hand, since the S terminal of the selector 82 is “0”, the signal 97 of the Y terminal is “1”. The 3-state buffer 74 operates when the output of the OR gate 79 becomes “0”, and outputs the signal 97 as it is, so that the output signal (phase difference signal) 38 is a pulse signal 77 as shown in FIG. Is the same waveform as that obtained by inverting (the same waveform as the signal 76). That is, the three-state buffer 74 operates only when the phase difference signal 38 is “1”, and current is supplied to the LPF 33 (charging). As a result, the output voltage of the LPF 33 rises and is output from the VCO 34. And the phase of the divide-by-2 CLK 47 advances. When “0”, the 3-state buffer 74 does not operate, so that the output terminal is in a high impedance state, and no current is supplied to the LPF 33.
[0047]
Next, a circuit operation in the case where the phase of the half-divided CLK 47 is delayed within the range of 135 ° to 180 ° with respect to the synchronization signal 61 will be described with reference to FIG.
In this case, the Q terminal of the D-FF 70 is “1” and the QB terminal is “0”. Accordingly, the selector 73 outputs the signal at the B terminal as it is to the Y terminal. Further, since the lock signal 321 in this case is “1”, a signal input to the B terminal of the selector 81, that is, a signal obtained by inverting the signal 78 from the Y terminal of the selector 73 at the NOT gate 84 is input. This is output from the Y terminal. Further, since the S terminal of the selector 82 is “1”, the signal 97 of the Y terminal is “0”. Therefore, as shown in FIG. 10B, the phase difference signal 38 has a waveform similar to that of the pulse signal 76. That is, the three-state buffer 74 operates only when the phase difference signal 38 is “−1”, draws electric charge from the LPF 33 (discharges it), and lowers the output voltage of the LPF 33. As a result, the frequency output from the VCO 34 is lowered, and the phase of the divide-by-two CLK 47 is delayed. When “0”, the three-state buffer 74 does not operate, so the output terminal is in a high impedance state, and no current is supplied to the LPF 33.
[0048]
FIG. 10C is a waveform diagram in the case where the phase of the half-divided CLK 47 is delayed within the range of 180 ° to 225 ° with respect to the synchronization signal 61.
In this case, since the Q terminal of the D-FF 70 is “0” and the QB terminal is “1”, the selector 73 outputs the signal of the A terminal as it is to the Y terminal. Since the lock signal 321 is “1”, a signal obtained by inverting the signal 78 from the Y terminal of the selector 73 is output from the Y terminal of the selector 81. Since the S terminal of the selector 82 is “1”, the signal 97 at the Y terminal is “1”, and the phase difference signal 38 is the same as in FIG. The phase will advance.
[0049]
FIG. 10D is a waveform diagram in the case where the phase of the divide-by-2 CLK 47 is delayed within the range of 315 ° to 360 ° with respect to the synchronization signal 61.
In this case, since the Q terminal of the D-FF 70 is “0” and the QB terminal is “1”, the selector 73 outputs the signal of the A terminal as it is to the Y terminal. Further, since the lock signal 321 becomes “0”, the signal 78 from the Y terminal of the selector 73 is output as it is from the Y terminal of the selector 81. Since the S terminal of the selector 82 is “0”, the signal 97 at the Y terminal is “0”, and the phase difference signal 38 is the same as in FIG. The phase is delayed.
[0050]
As described above, the phase comparator 30 is configured to generate the phase difference signal 38 according to the magnitude of the phase difference not only between the same direction edges but also between the different direction edges. By switching the output level of the signal 321, the first PLL circuit 10 can synchronize edges in the same direction or in different directions.
[0051]
Although not shown, since the phase comparator 31 has the same configuration, in the second PLL circuit 11, the synchronization signal 61 and the divide-by-two CLK 48 can be synchronized either in the same direction edge or in different direction edges. It has become.
As described above, the PLL circuit unit 20 switches between the first PLL circuit 10 and the second PLL circuit 11 based on the magnitude of the phase difference between the synchronization signal 61 and the divided CLKs 47 and 48, and at the same direction edge or the different direction edge. Since they are configured so that they can be synchronized with each other, synchronization can be achieved faster than in the conventional case where synchronization is achieved only with the edges in the same direction. Accordingly, the transmission time of the synchronization signal 61 can be made shorter than that in the prior art, and as a result, the transmission efficiency can be improved without degrading the reliability.
[0052]
The data demodulating unit 35 is sent next to the synchronization signal 61 when the phase alignment is performed between the synchronization signal 61 and the divide-by-2 CLK 47 (when performed by the first PLL circuit 10). The incoming start bit 62 and information data 63 are latched and sampled at the timing of the negative edge of the reception CLK 44 as shown in FIG.
In this case, since the negative edge of the reception CLK 44 appears at the center position of 1 bit of the information data 63, if the latch is performed at the negative edge, even if the phase of the reception CLK 44 is slightly shifted, the signal level (“0” or “1”) is not erroneously recognized and reliability can be improved.
[0053]
On the other hand, when the phase alignment is performed by the second PLL circuit 11, it is latched at the timing of the positive edge of the reception CLK 44. This is a signal generated by dividing the divide-by-two CLK 48 by two at the timing of the negative edge of the reception CLK 44, so that the negative edge of the reception CLK 44 is synchronized with the positive edge and the negative edge of the information data 63. This is because a positive edge appears at the center position of 1 bit of the information data 63.
[0054]
FIG. 11 is a diagram showing a latch switching unit 351 in the data demodulating unit 35. As described above, when the first PLL circuit 10 is selected, the phase difference signal 46 becomes “0”. The selector 352 is a known switching circuit that outputs a signal from the A terminal when “0” is input to the S terminal and a signal from the B terminal from the Y terminal when “1” is input. In this case, since the S terminal becomes “0”, the received CLK 44 is sent as it is to the 8-bit shift register. Although the 8-bit shift register is not shown, when the information data 63 is input, it is latched at the negative edge of the reception CLK 44 for each bit.
[0055]
On the other hand, when the second PLL circuit 11 is selected, the phase difference signal 46 becomes “1” and the S terminal of the selector 352 becomes “1”, so that the received CLK 44 is inverted by the NOT gate 353 and Y It is output from the terminal and sent to the 8-bit shift register.
Since the 8-bit shift register is a circuit that latches the information data 63 at the negative edge as described above, if the reception CLK 44 is inverted before being input to the 8-bit shift register, the positive edge of the reception CLK 44 is substantially reduced. This is the same as latching the information data 63 at the timing.
[0056]
Needless to say, the present invention is not limited to the above embodiment, and the following modifications can be considered.
(1) In the above-described embodiment, the first and second PLL circuits 10 and 11 are selectively switched. However, the reception CLK 44 may be generated only by the first PLL circuit 10. In this case, since there is no divide-by-two CLK 48, the edges having the smaller phase difference are synchronized between the same direction edges of the synchronization signal 61 and the divide-by-two CLK 47 or between the different direction edges. The output level of the lock signal 321 is set. Even in this case, the time required for phase alignment can be shortened as compared with the conventional case where synchronization is performed only between edges in the same direction. Further, the circuit configuration is simplified and the cost can be reduced. In this case, the information data 63 may be sampled at the falling edge of the reception CLK 44.
[0057]
(2) In the above embodiment, the half-divided CLKs 47 and 48 obtained by dividing the reception CLK 44 by two are generated, and phase matching is performed between them and the synchronization signal 61. It will never be done. For example, even if two pulse signals divided by four are generated by shifting the phase by 90 °, and phase alignment is performed between them and the synchronization signal 61, the time required for phase alignment can be shortened similarly to the above. An effect can be obtained. The same can be said even when the frequency division is not performed, that is, when the frequency dividers 36 and 37 are removed. If the frequency is not divided, the frequency of the reception CLK 44 and the input signal 60 are the same. Therefore, if these are synchronized between the same direction edges or different direction edges, the sampling edge becomes the rising edge or falling edge of the information data 63. For example, if the phase of the reception CLK 44 is slightly shifted, the signal level is erroneously recognized. Therefore, in such a case, if a known phase adjustment circuit capable of shifting the phase by, for example, 180 degrees is configured instead of the above-described latch switching unit 351, the rising or falling edge of the reception CLK having a shifted phase is configured. The edge is located at approximately the center of 1 bit of the information data 63. Therefore, no error is recognized even if sampling is performed at any edge, and reliability can be improved.
[0058]
Further, if a plurality of frequency-divided pulses having different phases are generated and phase alignment is performed between them and the synchronization signal 61, it is possible to obtain an effect that the time required for phase alignment can be further shortened. . For example, a third PLL circuit for generating a half-divided clock 471 (not shown) having a phase delayed by 45 ° from the above-mentioned half-divided CLK 47 and phase-synchronizing this with the synchronizing signal 61 is newly provided. Then, in the phase difference detector 32, the first to third PLL circuits are arranged so as to obtain the edge having the smallest phase difference between the two-divided CLKs 47, 48, 471 and the synchronization signal 61 and to synchronize the edges. One of them to work. In this way, the PLL circuit to be operated can be selected based on the phase difference between the three generated half-divided CLKs 47, 48, and 471. Therefore, the amount of phase adjustment is less than that described above, and the time required for phase alignment Can be shortened.
[0059]
(3) In the above embodiment, the reception CLK 44 is generated from the synchronization signal 61 using the first and second PLL circuits 10 and 11, but the present invention is not limited to this, and the synchronization signal 61 and the phase Any circuit that can generate the received CLK 44 by performing the matching can be applied.
[0060]
【The invention's effect】
As described above, according to the present invention, the phase difference between the same-direction edge and the different-direction edge between the received synchronization signal and the clock pulse generated by the pulse generation means is obtained, and the edge having the smallest phase difference is obtained. Since the combination is selected and the phase of the clock pulse is adjusted so that there is no phase difference between the edges, the phase of the clock pulse is adjusted to eliminate the phase difference between the edges in the same direction as before. Compared with this method, the amount of phase adjustment is small, and the time required for phase adjustment can be shortened. As a result, the transmission time of the synchronization signal can be shortened accordingly, and as a result, the transmission efficiency can be improved.
[Brief description of the drawings]
FIG. 1 is an overall configuration diagram of a data receiving apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing a configuration example of an input signal transmitted from an external device to the data receiving device.
FIG. 3 is a diagram illustrating frequency characteristics of a reception CLK with respect to an input voltage of a VCO in the data reception device.
FIG. 4A is a diagram showing a state in which the synchronization signal and the same direction edge (positive edges and negative edges) of the frequency-divided CLK are synchronized, and FIG. It is a figure which shows the state which synchronized the different direction edge (positive edge and negative edge) with frequency division CLK.
FIG. 5 is a diagram illustrating a circuit configuration of a phase difference detector.
FIG. 6 is a diagram illustrating a waveform of a pulse signal output in accordance with a phase difference between a synchronization signal and a half-divided CLK.
FIG. 7 is a diagram illustrating output voltage characteristics of an LPF.
FIG. 8 is a schematic diagram showing a phase relationship between a synchronization signal input to a phase difference detector and a divided CLK by two.
FIG. 9 is a diagram illustrating a circuit configuration of a phase comparator.
FIG. 10 is a diagram showing signal waveforms in the circuit of the phase comparator.
FIG. 11 is a diagram illustrating a configuration of a latch switching unit in the data demodulating unit.
[Explanation of symbols]
10 First PLL circuit
11 Second PLL circuit
20 PLL circuit
30, 31 Phase comparator
32 Phase detector
33, 53, 92 LPF
34 VCO
35 Data demodulator
36, 37 Divider
38, 40, 46 Phase difference signal
42 Enable signal
44 Receive CLK
45 Hold signal
47, 48 2 divided by CLK
49, 50 Phase comparator selector
51, 90 Ex. OR
52, 74, 91 3-state buffer
54, 57, 93 Comparator
55, 70 D-FF
58 AND gate
60 Input signal
61 Sync signal
62 Start bit
63 Information data
71A, 71B Differentiation circuit
72 Asynchronous Set D-FF
73, 81, 82, 352 selector
79 OR gate
84, 353 NOT gate
321, 322 Lock signal

Claims (4)

同期信号と情報データとを含む送信データを受信するデータ受信装置であって、
クロックパルスを生成するパルス生成手段と、
受信した同期信号と前記パルス生成手段によって生成されたクロックパルスとの同方向エッジ間および異方向エッジ間における位相差を求め、位相差の最も小さいエッジの組み合わせを選択する選択手段と、
前記選択されたエッジ間の位相差がなくなるように、クロックパルスの位相を調整する位相調整手段と、
前記位相調整後のクロックパルスに基づいて、前記情報データをサンプリングするサンプリング手段と
を備えることを特徴とするデータ受信装置。
A data receiving device for receiving transmission data including a synchronization signal and information data,
Pulse generation means for generating a clock pulse;
Selection means for obtaining a phase difference between the same direction edge and the opposite direction edge of the received synchronization signal and the clock pulse generated by the pulse generation means, and selecting a combination of edges having the smallest phase difference;
Phase adjusting means for adjusting the phase of the clock pulse so that the phase difference between the selected edges is eliminated;
A data receiving apparatus comprising: sampling means for sampling the information data based on the clock pulse after the phase adjustment.
前記パルス生成手段によって生成されたクロックパルスを同一の分周比で分周すると共に相互に位相の異なる複数の分周パルスを生成する分周パルス生成手段を有し、
前記選択手段は、前記クロックパルスに代えて、生成された各分周パルスと、前記同期信号との同方向エッジ間および異方向エッジ間における位相差を求め、位相差の最も小さいエッジの組み合わせを選択することを特徴とする請求項1に記載のデータ受信装置。
Dividing the clock pulse generated by the pulse generating means by the same frequency dividing ratio and generating a plurality of divided pulses having different phases from each other,
The selecting means obtains a phase difference between the same-direction edge and the different-direction edge of each of the generated divided pulses and the synchronization signal instead of the clock pulse, and determines a combination of edges having the smallest phase difference. The data receiving device according to claim 1, wherein the data receiving device is selected.
前期サンプリング手段は、選択された分周パルスが、クロックパルスの立ち上がりエッジをトリガに分周されたパルスである場合には、前期情報データのサンプリングをクロックパルスの立ち下がりエッジで実行し、クロックパルスの立ち下がりエッジをトリガに分周されたパルスである場合には、情報データのサンプリングをクロックパルスの立ち上がりエッジで実行することを特徴とする請求項2に記載のデータ受信装置。If the selected divided pulse is a pulse divided by using the rising edge of the clock pulse as a trigger, the previous period sampling means executes sampling of the previous period information data at the falling edge of the clock pulse, 3. The data receiving apparatus according to claim 2, wherein the data is sampled at the rising edge of the clock pulse when the pulse is divided by using the falling edge as a trigger. 前期送信データは、同期信号と情報データとを交互に配列してなり、前期位相調整手段は、情報データ受信中には、クロックパルスの周波数および位相の調整を停止し、直前の同期状態を維持することを特徴とする請求項1ないし3のいずれかに記載のデータ受信装置。Transmission data for the previous period consists of alternating synchronization signals and information data. During the reception of information data, the previous phase adjustment means stops adjusting the frequency and phase of the clock pulse and maintains the previous synchronization state. The data receiving device according to claim 1, wherein the data receiving device is a data receiving device.
JP28649698A 1998-10-06 1998-10-08 Data receiver Expired - Fee Related JP3994545B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP28649698A JP3994545B2 (en) 1998-10-08 1998-10-08 Data receiver
US09/413,224 US6563888B1 (en) 1998-10-06 1999-10-05 Data transmission/reception system and data reception device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28649698A JP3994545B2 (en) 1998-10-08 1998-10-08 Data receiver

Publications (2)

Publication Number Publication Date
JP2000115151A JP2000115151A (en) 2000-04-21
JP3994545B2 true JP3994545B2 (en) 2007-10-24

Family

ID=17705164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28649698A Expired - Fee Related JP3994545B2 (en) 1998-10-06 1998-10-08 Data receiver

Country Status (1)

Country Link
JP (1) JP3994545B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4497747B2 (en) * 2001-04-11 2010-07-07 キヤノン株式会社 Pixel modulation circuit and laser printing engine
WO2007113945A1 (en) 2006-04-05 2007-10-11 Panasonic Corporation Removable memory device, phase synchronizing method, phase synchronizing program, medium recording the same, and host terminal

Also Published As

Publication number Publication date
JP2000115151A (en) 2000-04-21

Similar Documents

Publication Publication Date Title
JP3974390B2 (en) Signal generation circuit
US5812619A (en) Digital phase lock loop and system for digital clock recovery
US8315349B2 (en) Bang-bang phase detector with sub-rate clock
US7450677B2 (en) Clock and data recovery apparatus and method thereof
JPS60227541A (en) Digital phase locked loop type decoder
US7170964B2 (en) Transition insensitive timing recovery method and apparatus
JP3630092B2 (en) Phase frequency comparison circuit
EP1199805B1 (en) PLL circuit and optical communication reception apparatus
JP3649194B2 (en) PLL circuit and optical communication receiver
JP2003526984A (en) Data clock recovery circuit
TWI555338B (en) Phase detector and associated phase detecting method
EP2804322A1 (en) Systems and methods for tracking a received data signal in a clock and data recovery circuit
EP1474900A2 (en) Cmi signal timing recovery
EP1199806B1 (en) PLL circuit and optical communication reception apparatus
JP3994545B2 (en) Data receiver
EP1336270B1 (en) An arrangement for capturing data
JP2002094494A (en) Clock-recovery circuit
EP2804321A1 (en) Systems and methods for acquiring a received data signal in a clock and data recovery circuit
US7023944B2 (en) Method and circuit for glitch-free changing of clocks having different phases
GB2336732A (en) Frequency comparator and PLL circuit using the same
JP3209188B2 (en) PLL circuit
TWI555337B (en) Phase detector, clock and data recovery circuit, and related control method
TW202426749A (en) Phase lock detector

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050920

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070704

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: 20070710

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070723

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

Free format text: PAYMENT UNTIL: 20100810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100810

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100810

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110810

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120810

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130810

Year of fee payment: 6

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

LAPS Cancellation because of no payment of annual fees