JP4849470B2 - Frequency / phase comparator - Google Patents

Frequency / phase comparator Download PDF

Info

Publication number
JP4849470B2
JP4849470B2 JP2007079398A JP2007079398A JP4849470B2 JP 4849470 B2 JP4849470 B2 JP 4849470B2 JP 2007079398 A JP2007079398 A JP 2007079398A JP 2007079398 A JP2007079398 A JP 2007079398A JP 4849470 B2 JP4849470 B2 JP 4849470B2
Authority
JP
Japan
Prior art keywords
clock signal
polarity
phase
input data
output
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.)
Active
Application number
JP2007079398A
Other languages
Japanese (ja)
Other versions
JP2008244605A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007079398A priority Critical patent/JP4849470B2/en
Publication of JP2008244605A publication Critical patent/JP2008244605A/en
Application granted granted Critical
Publication of JP4849470B2 publication Critical patent/JP4849470B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、入力データ信号とクロック信号との位相差を検出するための周波数/位相比較器に関する。   The present invention relates to a frequency / phase comparator for detecting a phase difference between an input data signal and a clock signal.

図10は、従来のPLL(Phase Locked Loop)回路の構成を示すブロック図である(例えば、非特許文献1参照)。この図10に示すPLL回路は、第1の位相比較器101、第2の位相比較器102、周波数比較器103、ローパスフィルタ(以下LPFと記載)104、電圧制御発振器(以下VCOと記載)105、および遅延発生器106を備えている。   FIG. 10 is a block diagram showing a configuration of a conventional PLL (Phase Locked Loop) circuit (see, for example, Non-Patent Document 1). The PLL circuit shown in FIG. 10 includes a first phase comparator 101, a second phase comparator 102, a frequency comparator 103, a low-pass filter (hereinafter referred to as LPF) 104, and a voltage controlled oscillator (hereinafter referred to as VCO) 105. , And a delay generator 106.

また、図10における第1の位相比較器101、第2の位相比較器102、および周波数比較器103で構成される部分は、従来の周波数/位相比較器に相当する。   Further, the portion constituted by the first phase comparator 101, the second phase comparator 102, and the frequency comparator 103 in FIG. 10 corresponds to a conventional frequency / phase comparator.

第1の位相比較器101は、VCO105で生成されたクロックCLK_IN1を、入力データDINでサンプルホールドし、ホールド値を信号Q1として、周波数比較器103およびLPF104に出力する。第2の位相比較器102は、遅延発生器106によって位相が1/4周期だけ遅延したCLK_IN1を、入力データDINでサンプルホールドし、ホールド値を信号Q2として、周波数比較器103に出力する。   The first phase comparator 101 samples and holds the clock CLK_IN1 generated by the VCO 105 with the input data DIN, and outputs the hold value as the signal Q1 to the frequency comparator 103 and the LPF 104. The second phase comparator 102 samples and holds CLK_IN1 whose phase is delayed by ¼ period by the delay generator 106 with the input data DIN, and outputs the hold value as the signal Q2 to the frequency comparator 103.

周波数比較器103は、信号Q2を信号Q1でサンプルホールドすることにより、DINのビットレートとCLK_IN1の周波数とを比較し、比較結果を信号Q3として、LPF104に出力する。   The frequency comparator 103 samples and holds the signal Q2 with the signal Q1, thereby comparing the bit rate of DIN with the frequency of CLK_IN1, and outputs the comparison result to the LPF 104 as a signal Q3.

LPF104は、信号Q1と信号Q3との和信号Q1+Q3に含まれる高周波成分を除去し、平滑化された和信号Q1+Q3を、電圧制御信号としてVCO105に出力する。そして、VCO105は、電圧制御信号に基づいて発振周波数を調整してクロックCLK_IN1を生成し、第1の位相比較器101と遅延発生器106とに出力する。   The LPF 104 removes the high frequency component contained in the sum signal Q1 + Q3 of the signal Q1 and the signal Q3, and outputs the smoothed sum signal Q1 + Q3 to the VCO 105 as a voltage control signal. The VCO 105 adjusts the oscillation frequency based on the voltage control signal to generate the clock CLK_IN1, and outputs the clock CLK_IN1 to the first phase comparator 101 and the delay generator 106.

次に、ブロック図およびタイミングチャートを参照して、周波数同期(位相比較モード)時における、従来の周波数/位相比較器の動作を説明する。
図11は、従来の位相比較器の構成を示すブロック図であり、図10における第1の位相比較器101および第2の位相比較器102の内部構成を示すものである。従来の位相比較器は、第1のサンプルホールド回路110、第2のサンプルホールド回路120、およびセレクタ130を備えている。
Next, the operation of a conventional frequency / phase comparator at the time of frequency synchronization (phase comparison mode) will be described with reference to a block diagram and a timing chart.
FIG. 11 is a block diagram showing the configuration of a conventional phase comparator, and shows the internal configuration of the first phase comparator 101 and the second phase comparator 102 in FIG. The conventional phase comparator includes a first sample and hold circuit 110, a second sample and hold circuit 120, and a selector 130.

また、図12は、従来の位相比較器の動作を示すタイミングチャートである。この図12のタイミングチャートでは、クロックCLK_IN1の周波数が入力データDINのビットレートと等しく、クロックCLK_IN1と入力データDINとの関係は、フルレートである。   FIG. 12 is a timing chart showing the operation of the conventional phase comparator. In the timing chart of FIG. 12, the frequency of the clock CLK_IN1 is equal to the bit rate of the input data DIN, and the relationship between the clock CLK_IN1 and the input data DIN is a full rate.

第1のサンプルホールド回路110は、入力データDINが「H」の期間にクロックCLK_IN1をサンプリングし、入力データDINの立下りタイミングでクロックCLK_IN1の振幅値をホールドする(図12の信号SHO1参照)。また、第2のサンプルホールド回路120は、入力データDINが「L」の期間にクロックCLK_IN1をサンプリングし、入力データDINの立ち上がりタイミングでクロックCLK_IN1の振幅値をホールドする(図12の信号SHO2参照)。   The first sample and hold circuit 110 samples the clock CLK_IN1 while the input data DIN is “H”, and holds the amplitude value of the clock CLK_IN1 at the falling timing of the input data DIN (see the signal SHO1 in FIG. 12). Further, the second sample and hold circuit 120 samples the clock CLK_IN1 during a period when the input data DIN is “L”, and holds the amplitude value of the clock CLK_IN1 at the rising timing of the input data DIN (see the signal SHO2 in FIG. 12). .

そして、セレクタ130は、入力データDINが「H」の場合には、第2のサンプルホールド回路120の出力SHO2を選択し、入力データDINが「L」の場合には、第1のサンプルホールド回路110の出力SHO1を選択し、選択した信号を位相差信号FEO1として出力する。   The selector 130 selects the output SHO2 of the second sample hold circuit 120 when the input data DIN is “H”, and the first sample hold circuit when the input data DIN is “L”. 110 output SHO1 is selected, and the selected signal is output as the phase difference signal FEO1.

図12に示すタイミングチャートは、クロックCLK_IN1の位相が入力データDINの位相よりもΔだけ遅れている場合を示している。入力データDINは、ノン・リターン・トゥ・ゼロ(Non Return-to−Zero:NRZ)形式で、「L」、「H」、「L」、「L」、「H」、「L」、「L」、「H」、「L」、「H」、「L」、すなわち、「0」、「1」、「0」、「0」、「1」、「0」、「0」、「1」、「0」、「1」、「0」の順に入力される場合を例示している。   The timing chart shown in FIG. 12 shows a case where the phase of the clock CLK_IN1 is delayed by Δ from the phase of the input data DIN. The input data DIN is in a non-return-to-zero (NRZ) format, “L”, “H”, “L”, “L”, “H”, “L”, “ L ”,“ H ”,“ L ”,“ H ”,“ L ”, ie,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”,“ 0 ”, The case where the numbers are input in the order of “1”, “0”, “1”, “0” is illustrated.

入力データDINが「L」から「H」に変化すると、第1のサンプルホールド回路110は、クロックCLK_IN1の振幅値のサンプリングを開始する。また、第2のサンプルホールド回路120は、入力データDINの立ち上がりタイミングでクロックCLK_IN1の振幅値をホードする。そして、入力データDINが「H」の期間、セレクタ130は、第2のサンプルホールド回路120の出力SHO2を選択して、位相差信号FEO1として出力する。   When the input data DIN changes from “L” to “H”, the first sample hold circuit 110 starts sampling the amplitude value of the clock CLK_IN1. In addition, the second sample hold circuit 120 holds the amplitude value of the clock CLK_IN1 at the rising timing of the input data DIN. During the period when the input data DIN is “H”, the selector 130 selects the output SHO2 of the second sample hold circuit 120 and outputs it as the phase difference signal FEO1.

入力データDINが「H」から「L」に変化すると、第1のサンプルホールド回路110は、入力データDINの立ち下がりタイミングでクロックCLK_IN1の振幅値をホードする。また、第2のサンプルホールド回路120は、クロックCLK_IN1の振幅値のサンプリングを開始する。そして、入力データDINが「L」の期間、セレクタ130は、第1のサンプルホールド回路110の出力SHO1を選択して、位相差信号FEO1として出力する。   When the input data DIN changes from “H” to “L”, the first sample hold circuit 110 holds the amplitude value of the clock CLK_IN1 at the falling timing of the input data DIN. Further, the second sample hold circuit 120 starts sampling the amplitude value of the clock CLK_IN1. During the period when the input data DIN is “L”, the selector 130 selects the output SHO1 of the first sample hold circuit 110 and outputs it as the phase difference signal FEO1.

このような一連の動作により、従来の周波数/位相比較器は、入力データDINの変化点(立ち上がりおよび立ち上がり)とクロックCLK_IN1の立ち上がりとの位相差を検出し、位相差に相当する一定のDC信号を出力する。なお、従来の周波数/位相比較器が出力するDC信号には、クロックCLK_IN1のバイアスレベルを基準とした極性があり、その極性により位相の遅れ・進みが検出される。このように、従来の周波数/位相比較器は、位相比較モード時、かつフルレート時に正常に動作する。   Through such a series of operations, the conventional frequency / phase comparator detects the phase difference between the change point (rise and rise) of the input data DIN and the rise of the clock CLK_IN1, and a constant DC signal corresponding to the phase difference. Is output. The DC signal output from the conventional frequency / phase comparator has a polarity based on the bias level of the clock CLK_IN1, and the phase delay / advance is detected based on the polarity. Thus, the conventional frequency / phase comparator operates normally in the phase comparison mode and at the full rate.

A. Pottbacker他「A Si Bipolar Phase and Frequency Detector IC for Clock Extraction up to 8Gb/s」、IEEE Journal of Solid State Circuits、 vol. SC-27 pp1747-1751、1992A. Pottbacker et al. “A Si Bipolar Phase and Frequency Detector IC for Clock Extraction up to 8Gb / s”, IEEE Journal of Solid State Circuits, vol. SC-27 pp1747-1751, 1992

しかしながら、従来技術には次のような課題がある。
図13は、従来の位相比較器の動作を示す別のタイミングチャートであり、正常に動作しない場合を例示している。図13に示すように、クロックCLK_IN1の周波数が入力データDINのビットレートの半分となるハーフレートで動作することが、周波数/位相比較器に求められることもある。そこで、この図13のタイミングチャートを参照して、位相比較モード時、かつハーフレート時における従来の周波数/位相比較器の動作を説明する。
However, the prior art has the following problems.
FIG. 13 is another timing chart showing the operation of the conventional phase comparator, and illustrates the case where it does not operate normally. As shown in FIG. 13, the frequency / phase comparator may be required to operate at a half rate at which the frequency of the clock CLK_IN1 is half the bit rate of the input data DIN. The operation of the conventional frequency / phase comparator in the phase comparison mode and at the half rate will be described with reference to the timing chart of FIG.

図13に示すタイミングチャートは、クロックCLK_IN1の位相が入力データDINの位相よりもΔだけ遅れている場合を示している。入力データDINは、先の図12と同様に、NRZ形式で、「L」、「H」、「L」、「L」、「H」、「L」、「L」、「H」、「L」、「H」、「L」、すなわち、「0」、「1」、「0」、「0」、「1」、「0」、「0」、「1」、「0」、「1」、「0」の順に入力される。   The timing chart shown in FIG. 13 shows a case where the phase of the clock CLK_IN1 is delayed by Δ from the phase of the input data DIN. Similarly to FIG. 12, the input data DIN is in the NRZ format and is “L”, “H”, “L”, “L”, “H”, “L”, “L”, “H”, “ L ”,“ H ”,“ L ”, ie,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”, It is input in the order of “1” and “0”.

第1のサンプルホールド回路110および第2のサンプルホールド回路120の動作は、先の図12の場合と同じである。第1のサンプルホールド回路110は、クロックCLK_IN1の立ち下がり状態の振幅値をホールドし、第2のサンプルホールド回路120は、クロックCLK_IN1の立ち上がり状態の振幅値をホールドする。このため、第1のサンプルホールド回路110の出力SHO1の極性と第2のサンプルホールド回路120の出力SHO2の極性とは反転の関係となる。   The operations of the first sample hold circuit 110 and the second sample hold circuit 120 are the same as those in FIG. The first sample and hold circuit 110 holds the amplitude value of the falling state of the clock CLK_IN1, and the second sample and hold circuit 120 holds the amplitude value of the rising state of the clock CLK_IN1. For this reason, the polarity of the output SHO1 of the first sample-and-hold circuit 110 and the polarity of the output SHO2 of the second sample-and-hold circuit 120 are inverted.

このような問題の対策としては、極性反転回路を設けることが考えられる。図14は、極性反転回路を備えた従来の位相比較器の構成を示すブロック図である。先の図12の構成と比較すると、図14の構成は、第1のサンプルホールド回路110とセレクタ130との間に、極性反転回路140をさらに備えている。   As a countermeasure against such a problem, it is conceivable to provide a polarity inversion circuit. FIG. 14 is a block diagram showing a configuration of a conventional phase comparator including a polarity inverting circuit. Compared to the previous configuration of FIG. 12, the configuration of FIG. 14 further includes a polarity inversion circuit 140 between the first sample hold circuit 110 and the selector 130.

極性反転回路140は、第1のサンプルホールド回路110の出力SHO1の極性と、第2のサンプルホールド回路120の出力SHO2の極性とを揃えることを目的として挿入されている。そして、図15は、図14の極性反転回路を備えた従来の位相比較器の動作を示すタイミングチャートである。   The polarity inversion circuit 140 is inserted for the purpose of aligning the polarity of the output SHO1 of the first sample hold circuit 110 with the polarity of the output SHO2 of the second sample hold circuit 120. FIG. 15 is a timing chart showing the operation of the conventional phase comparator provided with the polarity inversion circuit of FIG.

しかしながら、入力データの変化状態によっては、図15中の点線の楕円で示したように、極性反転回路140を挿入した場合にも、タイミングチャート上には極性の反転した部分が残ってしまい、セレクタ130の出力信号の極性は揃わない結果となる。   However, depending on the change state of the input data, as shown by the dotted-line ellipse in FIG. 15, even when the polarity inversion circuit 140 is inserted, the inverted part of the polarity remains on the timing chart, and the selector As a result, the polarities of the 130 output signals are not uniform.

上述のとおり、従来の周波数/位相比較器が出力するDC信号には極性がある。そして、この極性により、位相の遅れ・進みが検出されるため、セレクタ130の出力信号の極性を揃える必要がある。   As described above, the DC signal output from the conventional frequency / phase comparator has polarity. Since the phase delay / advance is detected by this polarity, it is necessary to make the polarity of the output signal of the selector 130 uniform.

しかしながら、従来の周波数/位相比較器を、位相比較モード時、かつハーフレート時に動作させる場合には、周波数/位相比較器の出力信号中に、極性の反転した部分が残るという問題点がある。   However, when the conventional frequency / phase comparator is operated in the phase comparison mode and at the half rate, there is a problem in that a portion with an inverted polarity remains in the output signal of the frequency / phase comparator.

次に、周波数非同期(周波数比較モード)時における、従来の周波数/位相比較器の動作を説明する。   Next, the operation of the conventional frequency / phase comparator at the time of frequency asynchronous (frequency comparison mode) will be described.

従来の周波数/位相比較器は、第2の位相比較器102の出力信号Q2を、第1の位相比較器101の出力信号Q1でサンプルホールドすることにより、DINのビットレートとCLK_IN1の周波数とを比較する。上述したように、従来の周波数/位相比較器は、フルレート時にはQ1およびQ2を正しく得ることが可能であるが、ハーフレート時にはQ1およびQ2を正しく得られない。   The conventional frequency / phase comparator samples and holds the output signal Q2 of the second phase comparator 102 with the output signal Q1 of the first phase comparator 101, so that the bit rate of DIN and the frequency of CLK_IN1 are obtained. Compare. As described above, the conventional frequency / phase comparator can obtain Q1 and Q2 correctly at the full rate, but cannot obtain Q1 and Q2 correctly at the half rate.

この結果、セレクタ130の出力信号の極性が揃うフルレート時には、従来の周波数/位相比較器は、正しく周波数比較を行える。しかしながら、セレクタ130の出力信号の極性が揃わないハーフレート時には、従来の周波数/位相比較器は、正しく周波数比較を行うことができない。従って、従来の周波数/位相比較器は、ハーフレート時において、周波数比較および位相比較を正しく行うことができないという問題点があった。   As a result, at the full rate at which the polarities of the output signals of the selector 130 are the same, the conventional frequency / phase comparator can correctly perform the frequency comparison. However, at the half rate when the polarity of the output signal of the selector 130 is not uniform, the conventional frequency / phase comparator cannot perform the frequency comparison correctly. Therefore, the conventional frequency / phase comparator has a problem that it cannot perform frequency comparison and phase comparison correctly at the half rate.

本発明は上述のような課題を解決するためになされたもので、フルレートとハーフレートの両方のレートに対応して、周波数比較モードおよび位相比較モードの両方のモードで正常動作を行うことのできる周波数/位相比較器を得ることを目的とする。   The present invention has been made to solve the above-described problems, and can perform normal operation in both the frequency comparison mode and the phase comparison mode in accordance with both the full rate and the half rate. The object is to obtain a frequency / phase comparator.

本発明に係る周波数/位相比較器は、入力データ信号および第1のクロック信号に基づいて、入力データ信号の立ち上がりタイミングおよび立ち下がりタイミングのそれぞれにおいて第1のクロック信号の振幅値を検出し、第1のクロック信号の傾き識別結果および入力データ信号の極性に応じてそれぞれの検出結果を反転/選択処理することにより第1のクロック信号の振幅値のアナログホールド値を出力するアナログホールド位相比較部と、第1のクロック信号よりも位相が1/8周期遅れた第2のクロック信号、および第1のクロック信号よりも位相が1/4周期遅れた第3のクロック信号に基づいて、入力データ信号の速度が第1のクロック信号の周波数の2倍となるハーフレートの場合には、入力データ信号の立ち上がりタイミングおよび立ち下がりタイミングのそれぞれにおいて第2のクロック信号の振幅を検出し、第2のクロック信号の傾き識別結果および入力データ信号の極性に応じてそれぞれの検出結果を反転/選択処理することにより第2のクロック信号の振幅のデジタルホールド値を出力し、入力データ信号の速度と第1のクロック信号の周波数が等しいフルレートの場合には、入力データ信号の立ち上がりタイミングおよび立ち下がりタイミングのそれぞれにおいて第3のクロック信号の振幅を検出し、入力データ信号の極性に応じてそれぞれの検出結果を選択処理することにより、第3のクロック信号の振幅のデジタルホールド値を出力するデジタルホールド位相比較部と、アナログホールド位相比較部から出力されるアナログホールド値、およびデジタルホールド位相比較部から出力されるデジタルホールド値に基づいて、入力データ信号と第1のクロック信号との周波数比較を行って比較結果を出力する周波数比較手段と、デジタルホールド位相比較部から出力されるデジタルホールド値の極性に応じて、アナログホールド位相比較部からの出力値または周波数比較手段からの出力値のいずれかを選択出力する最終出力信号選択手段とを備えるものである。   The frequency / phase comparator according to the present invention detects the amplitude value of the first clock signal at each of the rising timing and falling timing of the input data signal based on the input data signal and the first clock signal. An analog hold phase comparator that outputs an analog hold value of the amplitude value of the first clock signal by inverting / selecting each detection result in accordance with the inclination identification result of the clock signal of 1 and the polarity of the input data signal An input data signal based on a second clock signal whose phase is delayed by 1/8 cycle from the first clock signal and a third clock signal whose phase is delayed by 1/4 cycle from the first clock signal. When the half-rate is two times the frequency of the first clock signal, the rising timing of the input data signal The amplitude of the second clock signal is detected at each of the falling timings, and the second detection result is inverted / selected in accordance with the inclination identification result of the second clock signal and the polarity of the input data signal. In the case where the digital hold value of the amplitude of the clock signal is output and the speed of the input data signal and the frequency of the first clock signal are equal to each other at the full rate, A digital hold phase comparator that detects the amplitude of the clock signal and outputs a digital hold value of the amplitude of the third clock signal by selecting and processing each detection result according to the polarity of the input data signal; and an analog hold Analog hold value output from the phase comparator and digital A frequency comparison means for comparing the frequency of the input data signal and the first clock signal based on the digital hold value output from the digital hold phase comparison section and outputting a comparison result; and output from the digital hold phase comparison section And a final output signal selection unit that selectively outputs either the output value from the analog hold phase comparison unit or the output value from the frequency comparison unit according to the polarity of the digital hold value.

本発明によれば、フルレートおよびハーフレートのどちらに対してもクロック信号の振幅値をアナログホールド出力する位相比較器、フルレートにおける1/4周期遅れのクロック信号の振幅をデジタルホールド出力する位相比較器、およびハーフレートにおける1/8周期遅れのクロック信号の振幅をデジタルホールド出力する位相比較器を用い、これら3台の位相比較器の出力に基づいて周波数比較および信号選択を行うことにより、フルレートとハーフレートの両方のレートに対応して、周波数比較モードおよび位相比較モードの両方のモードで正常動作を行うことのできる周波数/位相比較器を得ることができる。   According to the present invention, a phase comparator for analog hold output of the amplitude value of the clock signal for both full rate and half rate, and a phase comparator for digital hold output of the amplitude of the clock signal delayed by ¼ period at the full rate. , And a phase comparator that digitally outputs the amplitude of the clock signal delayed by 1/8 period at half rate, and by performing frequency comparison and signal selection based on the outputs of these three phase comparators, Corresponding to both rates of the half rate, it is possible to obtain a frequency / phase comparator capable of performing normal operation in both the frequency comparison mode and the phase comparison mode.

以下、本発明の周波数/位相比較器の好適な実施の形態につき図面を用いて説明する。   Hereinafter, preferred embodiments of a frequency / phase comparator according to the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明の実施の形態1における周波数/位相比較器の構成を示すブロック図である。本実施の形態1の周波数/位相比較器は、第1の位相比較器10、第2の位相比較器20、第3の位相比較器30、第4の信号選択手段40、周波数比較手段50、および第5の信号選択手段60を備えている。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a frequency / phase comparator according to Embodiment 1 of the present invention. The frequency / phase comparator according to the first embodiment includes a first phase comparator 10, a second phase comparator 20, a third phase comparator 30, a fourth signal selection unit 40, a frequency comparison unit 50, And fifth signal selection means 60.

なお、本実施の形態1において、第1の位相比較器10は、アナログホールド位相比較部に相当する。また、第2の位相比較器20、第3の位相比較器30、および第4の信号選択手段40は、デジタルホールド位相比較部に相当する。さらに、第5の信号選択手段60は、最終出力信号選択手段に相当する。   In the first embodiment, the first phase comparator 10 corresponds to an analog hold phase comparison unit. The second phase comparator 20, the third phase comparator 30, and the fourth signal selection unit 40 correspond to a digital hold phase comparison unit. Further, the fifth signal selection means 60 corresponds to a final output signal selection means.

また、第1の位相比較器10は、第1の検出手段11、第2の検出手段12、第1の信号選択手段13、第1のエッジ比較手段14、第1の極性反転手段15、および第2の極性反転手段16で構成される。   The first phase comparator 10 includes a first detection unit 11, a second detection unit 12, a first signal selection unit 13, a first edge comparison unit 14, a first polarity inversion unit 15, and The second polarity inversion means 16 is configured.

また、第2の位相比較器20は、第3の検出手段21、第4の検出手段22、第2の信号選択手段23、第2のエッジ比較手段24、第3の極性反転手段25、および第4の極性反転手段26で構成される。さらに、第3の位相比較器30は、第5の検出手段31、第6の検出手段32、および第3の信号選択手段33で構成される。   The second phase comparator 20 includes a third detection unit 21, a fourth detection unit 22, a second signal selection unit 23, a second edge comparison unit 24, a third polarity inversion unit 25, and The fourth polarity inverting means 26 is configured. Further, the third phase comparator 30 includes a fifth detection unit 31, a sixth detection unit 32, and a third signal selection unit 33.

第1の位相比較器10へは、入力データDATA_INと、入力データDATA_INよりもΔだけ位相が遅れているクロックCLK_IN1(第1のクロック信号に相当)が入力される。また、第2の位相比較器20へは、入力データDATA_INと、入力データDATA_INよりもΔ+1/8周期(45°に相当)だけ位相が遅れているクロックCLK_IN2(第2のクロック信号に相当)が入力される。さらに、第3の位相比較器30へは、入力データDATA_INと、入力データDATA_INよりもΔ+1/4周期(90°に相当)だけ位相が遅れているクロックCLK_IN3(第3のクロック信号に相当)が入力される。   The first phase comparator 10 receives input data DATA_IN and a clock CLK_IN1 (corresponding to a first clock signal) whose phase is delayed by Δ from the input data DATA_IN. In addition, to the second phase comparator 20, there are input data DATA_IN and a clock CLK_IN2 (corresponding to a second clock signal) whose phase is delayed by Δ + 1/8 period (corresponding to 45 °) from the input data DATA_IN. Entered. Further, to the third phase comparator 30, there are input data DATA_IN and a clock CLK_IN3 (corresponding to a third clock signal) delayed in phase by Δ + 1/4 period (corresponding to 90 °) from the input data DATA_IN. Entered.

次に、タイミングチャートを参照して、周波数同期(位相比較モード)時、かつハーフレート時における第1の位相比較器10の動作を説明する。図2は、本発明の実施の形態1における第1の位相比較器10の動作を示すタイミングチャートである。   Next, the operation of the first phase comparator 10 at the time of frequency synchronization (phase comparison mode) and at the half rate will be described with reference to a timing chart. FIG. 2 is a timing chart showing the operation of the first phase comparator 10 according to the first embodiment of the present invention.

この図2のタイミングチャートは、クロックCLK_IN1の位相が入力データDATA_INの位相よりもΔだけ遅れている場合を示している。さらに、入力データDATA_INは、背景技術での説明と同様に、NRZ形式で、「L」、「H」、「L」、「L」、「H」、「L」、「L」、「H」、「L」、「H」、「L」、すなわち、「0」、「1」、「0」、「0」、「1」、「0」、「0」、「1」、「0」、「1」、「0」の順に入力される。   The timing chart of FIG. 2 shows a case where the phase of the clock CLK_IN1 is delayed by Δ from the phase of the input data DATA_IN. Further, the input data DATA_IN is in the NRZ format, as described in the background art, in “L”, “H”, “L”, “L”, “H”, “L”, “L”, “H” ”,“ L ”,“ H ”,“ L ”, ie,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”,“ 1 ”,“ 0 ”,“ 0 ”,“ 1 ”,“ 0 ” ”,“ 1 ”, and“ 0 ”.

入力データDATA_INが「L」から「H」に変化すると、第1の検出手段11は、クロックCLK_IN1の振幅値のサンプリングを開始する。また、第2の検出手段12は、入力データDATA_INの立ち上がりタイミングでクロックCLK_IN1の振幅値をアナログホールドする。   When the input data DATA_IN changes from “L” to “H”, the first detection unit 11 starts sampling the amplitude value of the clock CLK_IN1. The second detection means 12 analog-holds the amplitude value of the clock CLK_IN1 at the rising timing of the input data DATA_IN.

入力データDATA_INが「H」から「L」に変化すると、第1の検出手段11は、入力データDATA_INの立ち下がりタイミングでクロックCLK_IN1の振幅値をアナログホールドし、このアナログホールド値の極性を反転して出力する。また、第2の検出手段12は、クロックCLK_IN1の振幅値のサンプリングを開始する。   When the input data DATA_IN changes from “H” to “L”, the first detection means 11 analog-holds the amplitude value of the clock CLK_IN1 at the falling timing of the input data DATA_IN, and inverts the polarity of the analog hold value. Output. The second detection unit 12 starts sampling the amplitude value of the clock CLK_IN1.

第1のエッジ比較手段14は、第1の検出手段11において、入力データDATA_INが「H」から「L」に変化する時のクロックCLK_IN1の変化点が立ち下がり状態ならば「L」を、立ち上がり状態ならば「H」をEC1として出力する。そして、第1のエッジ比較手段14は、その出力を入力データDATA_INが次に「H」から「L」に変化する時まで保持する。   The first edge comparison means 14 rises to “L” if the change point of the clock CLK_IN1 when the input data DATA_IN changes from “H” to “L” in the first detection means 11 falls. If in the state, “H” is output as EC1. The first edge comparing means 14 holds the output until the next time when the input data DATA_IN changes from “H” to “L”.

また、第1のエッジ比較手段14は、第2の検出手段12において、入力データDATA_INが「L」から「H」に変化する時のクロックCLK_IN1の変化点が立ち上がり状態ならば”Lを”、立ち下がり状態ならば「H」をEC2として出力する。そして、第1のエッジ比較手段14は、その出力を入力データDATA_INが次に「L」から「H」に変化する時まで保持する。   Further, the first edge comparison unit 14 determines that the second detection unit 12 sets “L” if the change point of the clock CLK_IN1 when the input data DATA_IN changes from “L” to “H” is in the rising state. If falling, “H” is output as EC2. Then, the first edge comparing means 14 holds the output until the next time when the input data DATA_IN changes from “L” to “H”.

そして、第1の極性反転手段15は、EC1が「L」ならば極性を反転せず、「H」ならば極性を反転する。また、第2の極性反転手段16は、EC2が「L」ならば極性を反転せず、「H」ならば極性を反転する。   The first polarity inversion means 15 does not invert the polarity if EC1 is “L”, and inverts the polarity if “H”. The second polarity inversion means 16 does not invert the polarity if EC2 is “L”, and inverts the polarity if “H”.

そして、入力データDATA_INが「H」の期間、第1の信号選択手段13は、第2の極性反転手段16の出力を選択して、位相差信号FEO1として出力する。また、入力データDATA_INが「L」の期間、第1の信号選択手段13は、第1の極性反転手段15の出力を選択して、位相差信号FEO1として出力する。   Then, during the period when the input data DATA_IN is “H”, the first signal selecting unit 13 selects the output of the second polarity inverting unit 16 and outputs it as the phase difference signal FEO1. Further, during the period when the input data DATA_IN is “L”, the first signal selection unit 13 selects the output of the first polarity inversion unit 15 and outputs it as the phase difference signal FEO1.

このようにして、本実施の形態1における第1の位相比較器10は、第1の検出手段11および第2の検出手段12が、クロックCLK_IN1の立ち上がり状態の振幅値を検出しているのか、それとも立ち下がり状態の振幅値を検出しているのかを、第1のエッジ比較手段14によって判別する。   Thus, in the first phase comparator 10 according to the first embodiment, whether the first detection unit 11 and the second detection unit 12 detect the amplitude value of the rising state of the clock CLK_IN1. Alternatively, the first edge comparison means 14 determines whether or not the falling amplitude value is detected.

そして、この第1のエッジ比較手段14による判別結果を用いて、第1の極性反転手段15および第2の極性反転手段16の出力の極性の反転/非反転を決定することにより、位相差信号FEO1の極性を揃えることができる(図2参照)。また、第1の極性反転手段15を反転に固定し、かつ第2の極性反転手段16を非反転に固定することにより、フルレートにも対応可能となる。   The phase difference signal is determined by determining the inversion / non-inversion of the polarities of the outputs of the first polarity inversion unit 15 and the second polarity inversion unit 16 using the discrimination result by the first edge comparison unit 14. The polarity of FEO1 can be made uniform (see FIG. 2). Further, by fixing the first polarity inversion means 15 to inversion and fixing the second polarity inversion means 16 to non-inversion, it is possible to cope with the full rate.

次に、周波数同期(位相比較モード)時、かつハーフレート時における第2の位相比較器20の動作を説明する。第2の位相比較器20の構成は、第1の位相比較器10の構成と同じであるが、入力クロック位相および検出手段の機能が異なる。より具体的には、第2の位相比較器20に入力されるクロックCLK_IN2は、入力データDATA_INよりもΔ+1/8周期だけ位相が遅れており、さらに、第3の検出手段21および第4の検出手段22は、デジタルホールド機能を有している。   Next, the operation of the second phase comparator 20 at the time of frequency synchronization (phase comparison mode) and at the half rate will be described. The configuration of the second phase comparator 20 is the same as that of the first phase comparator 10, but the input clock phase and the function of the detection means are different. More specifically, the clock CLK_IN2 input to the second phase comparator 20 is delayed in phase by Δ + 1/8 period from the input data DATA_IN, and further, the third detection means 21 and the fourth detection are performed. The means 22 has a digital hold function.

すなわち、上述したように、第1の位相比較器10は、クロックCLK_IN1の振幅値を検出、つまりアナログホールドする。これに対して、第2の位相比較器20は、入力データDATA_INよりもΔ+1/8周期だけ位相が遅れているクロックCLK_IN2の振幅をデジタルホールドする。この結果、デジタルホールドされた値は、振幅が正か負かを判別するデジタル化された値となる。   That is, as described above, the first phase comparator 10 detects, that is, analog-holds, the amplitude value of the clock CLK_IN1. On the other hand, the second phase comparator 20 digitally holds the amplitude of the clock CLK_IN2 whose phase is delayed by Δ + 1/8 period from the input data DATA_IN. As a result, the digitally held value becomes a digitized value for determining whether the amplitude is positive or negative.

次に、タイミングチャートを参照して、周波数同期(位相比較モード)時、かつフルレート時における第3の位相比較器30の動作を説明する。この第3の位相比較器30の構成は、先の従来技術として説明した図11の構成と等価であり、その基本的な動作は、先の図12に示したタイミングチャートと同等である。ただし、第3の位相比較器30内の第5の検出手段31および第6の検出手段32は、デジタルホールド機能を有している。   Next, the operation of the third phase comparator 30 at the time of frequency synchronization (phase comparison mode) and at the full rate will be described with reference to a timing chart. The configuration of the third phase comparator 30 is equivalent to the configuration of FIG. 11 described as the prior art, and the basic operation is equivalent to the timing chart shown in FIG. However, the fifth detection means 31 and the sixth detection means 32 in the third phase comparator 30 have a digital hold function.

第3の位相比較器30は、入力データDATA_INと、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3を入力とする。そして、第5の検出手段31は、入力データDATA_INの立ち上がりタイミングでクロックCLK_IN3の振幅のサンプリングを開始し、入力データDATA_INの立ち下がりタイミングでクロックCLK_IN3の振幅をデジタルホールドし、第3の信号選択手段33に出力する。   The third phase comparator 30 receives the input data DATA_IN and the clock CLK_IN3 whose phase is delayed by Δ + 1/4 period from the input data DATA_IN. The fifth detection means 31 starts sampling the amplitude of the clock CLK_IN3 at the rising timing of the input data DATA_IN, digitally holds the amplitude of the clock CLK_IN3 at the falling timing of the input data DATA_IN, and the third signal selection means. To 33.

第6の検出手段32は、入力データDATA_INの立ち下がりタイミングでクロックCLK_IN3の振幅のサンプリングを開始し、入力データDATA_INの立ち上がりタイミングでクロックCLK_IN3の振幅をデジタルホールドし、第3の信号選択手段33に出力する。   The sixth detection means 32 starts sampling the amplitude of the clock CLK_IN3 at the falling timing of the input data DATA_IN, digitally holds the amplitude of the clock CLK_IN3 at the rising timing of the input data DATA_IN, and sends it to the third signal selection means 33. Output.

そして、第3の信号選択手段33は、入力データDATA_INの極性(HまたはL)に応じて、第5の検出手段31の出力値または第6の検出手段32の出力値のいずれかを選択し、出力する。このようにして、第3の位相比較器30は、クロックCLK_IN3の振幅をデジタルホールドして出力する。   Then, the third signal selection means 33 selects either the output value of the fifth detection means 31 or the output value of the sixth detection means 32 according to the polarity (H or L) of the input data DATA_IN. ,Output. In this way, the third phase comparator 30 digitally holds and outputs the amplitude of the clock CLK_IN3.

次に、第1の位相比較器10〜第3の位相比較器30の入出力特性について説明する。図3は、本発明の実施の形態1における位相比較器の入出力特性についてフルレートの場合とハーフレートの場合とを比較した図である。横軸は、入力クロックに対する入力データの遅延量であり、縦軸は、位相比較器からの出力値である。   Next, input / output characteristics of the first phase comparator 10 to the third phase comparator 30 will be described. FIG. 3 is a diagram comparing the input / output characteristics of the phase comparator according to the first embodiment of the present invention between the full rate case and the half rate case. The horizontal axis represents the delay amount of the input data with respect to the input clock, and the vertical axis represents the output value from the phase comparator.

入力データDATA_INとクロックCLK_IN1との関係がフルレートである場合には、第1の位相比較器10の入出力特性は、図3(a)の点線で示すPDI_OUTとなり、その形状は、クロックCLK_IN1と同等となる。   When the relationship between the input data DATA_IN and the clock CLK_IN1 is a full rate, the input / output characteristic of the first phase comparator 10 is PDI_OUT indicated by a dotted line in FIG. 3A, and the shape thereof is the same as that of the clock CLK_IN1. It becomes.

一方、入力データDATA_INとクロックCLK_IN1との関係がハーフレートである場合には、第1の位相比較器10の入出力特性は、図3(b)の点線で示すPDI_OUTとなり、クロックCLK_IN1周期の2倍となる。なお、図3(b)の点線で示すこのPDI_OUTに関しては、実施の形態2においても、図面を用いて説明する。   On the other hand, when the relationship between the input data DATA_IN and the clock CLK_IN1 is a half rate, the input / output characteristic of the first phase comparator 10 is PDI_OUT indicated by a dotted line in FIG. 3B, and is 2 in the period of the clock CLK_IN1. Doubled. The PDI_OUT indicated by the dotted line in FIG. 3B will be described with reference to the drawings also in the second embodiment.

また、第3の位相比較器30は、フルレートで正常動作し、クロックCLK_IN1から位相が1/4周期だけ遅れたクロックCLK_IN3の振幅をデジタルホールドする。したがって、入力データDATA_INとクロックCLK_IN3との関係がフルレートである場合には、振幅のデジタルホールドを出力する第3の位相比較器30の入出力特性は、図3(a)の実線で示すPDQ_OUTとなる。すなわち、第3の位相比較器30の入出力特性PDQ_OUTは、図3(a)の点線で示すPDI_OUTをデジタル化し、位相を1/4周期だけ遅らせたものとなる。   The third phase comparator 30 operates normally at the full rate, and digitally holds the amplitude of the clock CLK_IN3 whose phase is delayed by ¼ period from the clock CLK_IN1. Therefore, when the relationship between the input data DATA_IN and the clock CLK_IN3 is a full rate, the input / output characteristic of the third phase comparator 30 that outputs the digital hold of the amplitude is PDQ_OUT indicated by a solid line in FIG. Become. That is, the input / output characteristic PDQ_OUT of the third phase comparator 30 is obtained by digitizing PDI_OUT indicated by a dotted line in FIG. 3A and delaying the phase by a quarter period.

一方、第1の位相比較器10と同構成を有する第2の位相比較器20は、ハーフレートでも正常動作し、クロックCLK_IN1から位相が1/8周期だけ遅れたクロックCLK_IN2の振幅をデジタルホールドする。したがって、入力データDATA_INとクロックCLK_IN2との関係がハーフレートである場合には、振幅のデジタルホールドを出力する第2の位相比較器20の入出力特性は、図3(b)の実線で示すPDQ_OUTとなる。すなわち、第2の位相比較器20の入出力特性PDQ_OUTは、図3(b)の点線で示すPDI_OUTをデジタル化し、位相を1/8周期だけ遅らせたものとなる。   On the other hand, the second phase comparator 20 having the same configuration as the first phase comparator 10 operates normally even at a half rate, and digitally holds the amplitude of the clock CLK_IN2 whose phase is delayed by 1/8 cycle from the clock CLK_IN1. . Therefore, when the relationship between the input data DATA_IN and the clock CLK_IN2 is a half rate, the input / output characteristic of the second phase comparator 20 that outputs the digital hold of the amplitude is PDQ_OUT indicated by a solid line in FIG. It becomes. That is, the input / output characteristic PDQ_OUT of the second phase comparator 20 is obtained by digitizing PDI_OUT indicated by a dotted line in FIG. 3B and delaying the phase by 1/8 period.

次に、3個の位相比較器の後段に設けられた第4の信号選択手段40、周波数比較手段50、および第5の信号選択手段60のそれぞれの機能について説明する。まず、第4の信号選択手段40は、第2の位相比較器20の出力と、第3の位相比較器30の出力とを入力とし、外部から設定されるハーフレートあるいはフルレートの条件に応じて、どちらか1つを選択して出力する。   Next, functions of the fourth signal selection unit 40, the frequency comparison unit 50, and the fifth signal selection unit 60 provided in the subsequent stage of the three phase comparators will be described. First, the fourth signal selection means 40 receives the output of the second phase comparator 20 and the output of the third phase comparator 30 as input, depending on the half rate or full rate condition set from the outside. , Select one of them and output it.

具体的には、第4の信号選択手段40は、入力データDATA_INとクロックCLK_IN1との関係がフルレートである外部設定を受けた場合には、第3の位相比較器30の出力(すなわち、図3(a)の実線で示されたPDQ_OUTの入出力特性を有する出力)を選択する。一方、第4の信号選択手段40は、入力データDATA_INとクロックCLK_IN1との関係がハーフレートである外部設定を受けた場合には、第2の位相比較器20の出力(すなわち、図3(b)の実線で示されたPDQ_OUTの入出力特性を有する出力)を選択する。   Specifically, the fourth signal selection unit 40 receives the output of the third phase comparator 30 (that is, FIG. 3) when receiving an external setting in which the relationship between the input data DATA_IN and the clock CLK_IN1 is a full rate. (Output having PDQ_OUT input / output characteristics indicated by a solid line in (a)) is selected. On the other hand, when the fourth signal selection means 40 receives an external setting in which the relationship between the input data DATA_IN and the clock CLK_IN1 is a half rate, the output of the second phase comparator 20 (that is, FIG. ), An output having PDQ_OUT input / output characteristics indicated by a solid line.

次に、周波数比較手段50は、第1の位相比較器10の出力信号PDI_OUTと、第4の信号選択手段40の出力とから、入力データDATA_INとクロックCLK_IN1の周波数を比較し、比較結果であるFDを、第5の信号選択手段60に出力する。この第5の信号選択手段60による周波数の比較方法としては、従来技術であるビート検出などを用いることができる。   Next, the frequency comparison means 50 compares the frequency of the input data DATA_IN and the clock CLK_IN1 from the output signal PDI_OUT of the first phase comparator 10 and the output of the fourth signal selection means 40, and the comparison result is obtained. The FD is output to the fifth signal selection means 60. As a frequency comparison method by the fifth signal selection means 60, beat detection which is a conventional technique can be used.

そして、第5の信号選択手段60は、第1の位相比較器10の出力信号PDI_OUTと、周波数比較手段50の出力信号FDとを入力とし、第4の信号選択手段40の出力信号の論理により、第1の位相比較器10の出力信号PDI_OUTと、周波数比較手段50の出力信号FDを選択し、出力する。   The fifth signal selection unit 60 receives the output signal PDI_OUT of the first phase comparator 10 and the output signal FD of the frequency comparison unit 50 as input, and uses the logic of the output signal of the fourth signal selection unit 40. The output signal PDI_OUT of the first phase comparator 10 and the output signal FD of the frequency comparison means 50 are selected and output.

これにより、入力データ信号と入力クロック信号との関係がフルレートの場合には、第4の信号選択手段40にて、第3の位相比較器30を選択することにより、周波数/位相比較器の入出力特性は、先の図3(a)のようになる。例えば、第5の信号選択手段60は、第4の信号選択手段40の出力信号の論理が「L」の場合には、PDI_OUTを出力し、第4の信号選択手段40の出力信号の論理が「H」の場合には、FDを出力する。   As a result, when the relationship between the input data signal and the input clock signal is a full rate, the fourth signal selection means 40 selects the third phase comparator 30, so that the frequency / phase comparator is turned on. The output characteristics are as shown in FIG. For example, the fifth signal selection unit 60 outputs PDI_OUT when the logic of the output signal of the fourth signal selection unit 40 is “L”, and the logic of the output signal of the fourth signal selection unit 40 is In the case of “H”, FD is output.

この場合、図3(a)に示すように、第4の信号選択手段40の出力信号の論理がLの間、周波数/位相比較器は、第1の位相比較器10の出力PDI_OUTによる位相比較モードとなる。また、第4の信号選択手段40の出力信号の論理がHの間、周波数/位相比較器は、周波数比較手段50の出力FDによる周波数比較モードとなる。   In this case, as shown in FIG. 3A, while the logic of the output signal of the fourth signal selection means 40 is L, the frequency / phase comparator performs phase comparison based on the output PDI_OUT of the first phase comparator 10. It becomes a mode. Further, while the logic of the output signal of the fourth signal selection means 40 is H, the frequency / phase comparator is in a frequency comparison mode based on the output FD of the frequency comparison means 50.

なお、位相比較モード時のPDI_OUTの極性は、図3(a)に示すように、正負の両方を取り得る。つまり、図3(a)における第4の信号選択手段40の出力信号の論理が「L」の期間(すなわち、図3(a)の実線で示されたPDQ_OUTが「L」の期間)において、出力PDI_OUTは、正負の両方を取ることができ、クロックCLK_IN1に対する入力データDATA_INの位相の進み・遅れの両方を検出できる。   Note that the polarity of PDI_OUT in the phase comparison mode can be either positive or negative, as shown in FIG. That is, in the period in which the logic of the output signal of the fourth signal selection unit 40 in FIG. 3A is “L” (that is, the period in which PDQ_OUT indicated by the solid line in FIG. 3A is “L”), The output PDI_OUT can be both positive and negative, and can detect both the phase advance and delay of the input data DATA_IN with respect to the clock CLK_IN1.

一方、入力データ信号と入力クロック信号との関係がハーフレートの場合には、第4の信号選択手段40にて、第2の位相比較器20を選択することにより、周波数/位相比較器の入出力特性は、図3(b)のようになる。例えば、第5の信号選択手段60は、第4の信号選択手段40の出力信号の論理が「L」の場合には、PDI_OUTを出力し、第4の信号選択手段40の出力信号の論理が「H」の場合には、FDを出力する。   On the other hand, when the relationship between the input data signal and the input clock signal is a half rate, the fourth signal selection means 40 selects the second phase comparator 20 to input the frequency / phase comparator. The output characteristics are as shown in FIG. For example, the fifth signal selection unit 60 outputs PDI_OUT when the logic of the output signal of the fourth signal selection unit 40 is “L”, and the logic of the output signal of the fourth signal selection unit 40 is In the case of “H”, FD is output.

この場合、図3(b)に示すように、第4の信号選択手段40の出力信号の論理がLの間、周波数/位相比較器は、第1の位相比較器10の出力PDI_OUTによる位相比較モードとなる。また、第4の信号選択手段40の出力信号の論理がHの間、周波数/位相比較器は、周波数比較手段50の出力FDによる周波数比較モードとなる。   In this case, as shown in FIG. 3B, while the logic of the output signal of the fourth signal selection means 40 is L, the frequency / phase comparator performs phase comparison based on the output PDI_OUT of the first phase comparator 10. It becomes a mode. Further, while the logic of the output signal of the fourth signal selection means 40 is H, the frequency / phase comparator is in a frequency comparison mode based on the output FD of the frequency comparison means 50.

なお、位相比較モード時のPDI_OUTの極性は、図3(b)に示すように、正負の両方を取り得る。つまり、図3(b)における第4の信号選択手段40の出力信号の論理が「L」の期間(すなわち、図3(b)の実線で示されたPDQ_OUTが「L」の期間)において、出力PDI_OUTは、正負の両方を取ることができ、クロックCLK_IN1に対する入力データDATA_INの位相の進み・遅れの両方を検出できる。   Note that the polarity of PDI_OUT in the phase comparison mode can be either positive or negative, as shown in FIG. That is, in the period when the logic of the output signal of the fourth signal selection means 40 in FIG. 3B is “L” (that is, the period PDQ_OUT indicated by the solid line in FIG. 3B is “L”), The output PDI_OUT can be both positive and negative, and can detect both the phase advance and delay of the input data DATA_IN with respect to the clock CLK_IN1.

以上のように、実施の形態1によれば、入力データに対して位相がΔ遅れた第1のクロック信号の振幅値をアナログホールドする、ハーフレートに対応可能な第1の位相比較器と、入力データに対して位相がΔ+1/8周期遅れた第2のクロック信号の振幅をデジタルホールドする、ハーフレートに対応可能な第2の位相比較器と、入力データに対して位相がΔ+1/4周期遅れた第3のクロック信号の振幅をデジタルホールドする、フルレートに対応可能な第3の位相比較器の3台の位相比較器を用い、フルレートまたはハーフレートの設定に応じて、3台の位相比較器からの出力信号の選択処理および比較処理を行っている。この結果、フルレートとハーフレートの両方のレートに対して、位相比較モードおよび周波数比較モードの2種のモードによる比較動作を行うことのできる周波数/位相比較器を実現することができる。   As described above, according to the first embodiment, the first phase comparator capable of supporting the half rate, which analog-holds the amplitude value of the first clock signal whose phase is delayed by Δ with respect to the input data, A second phase comparator that can digitally hold the amplitude of the second clock signal whose phase is delayed by Δ + 1/8 cycle with respect to the input data, and a phase that is Δ + 1/4 cycle with respect to the input data. Uses three phase comparators, which are digital phase-holding of the delayed third clock signal and can support the full rate, and compare three phases according to the full rate or half rate setting. The selection process and the comparison process of the output signal from the device are performed. As a result, it is possible to realize a frequency / phase comparator capable of performing a comparison operation in two modes of the phase comparison mode and the frequency comparison mode for both the full rate and the half rate.

実施の形態2.
図4は、本発明の実施の形態2における周波数/位相比較器の構成を示すブロック図である。具体的には、先の実施の形態1における図1中の第1のエッジ比較手段14および第2のエッジ比較手段24を、位相遅延手段および識別手段で構成した一例を示している。
Embodiment 2. FIG.
FIG. 4 is a block diagram showing the configuration of the frequency / phase comparator according to Embodiment 2 of the present invention. Specifically, an example is shown in which the first edge comparison means 14 and the second edge comparison means 24 in FIG. 1 in the first embodiment are composed of phase delay means and identification means.

第1のエッジ比較手段14は、第1の位相遅延手段17、第1の識別手段18、および第2の識別手段19で構成される。ここで、第1の位相遅延手段17は、クロックCLK_IN1の位相を、例えば、1/4周期だけ遅らせることができる。同様に、第2のエッジ比較手段24は、第2の位相遅延手段27、第3の識別手段28、および第4の識別手段29で構成される。ここで、第2の位相遅延手段27は、クロックCLK_IN2の位相を、例えば、1/4周期だけ遅らせることができる。   The first edge comparison unit 14 includes a first phase delay unit 17, a first identification unit 18, and a second identification unit 19. Here, the first phase delay means 17 can delay the phase of the clock CLK_IN1 by, for example, a quarter cycle. Similarly, the second edge comparison unit 24 includes a second phase delay unit 27, a third identification unit 28, and a fourth identification unit 29. Here, the second phase delay means 27 can delay the phase of the clock CLK_IN2 by, for example, a quarter cycle.

次に、タイミングチャートを参照して、第1のエッジ比較手段14の動作を説明する。図5は、本発明の実施の形態2における第1の位相比較器10の動作を示すタイミングチャートである。   Next, the operation of the first edge comparison means 14 will be described with reference to the timing chart. FIG. 5 is a timing chart showing the operation of the first phase comparator 10 according to the second embodiment of the present invention.

この図5のタイミングチャートは、クロックCLK_IN1の位相が入力データDATA_INの位相よりもΔだけ遅れている場合を示している。さらに、入力データDATA_INは、先の実施の形態1と同様に、NRZ形式で、「L」、「H」、「L」、「L」、「H」、「L」、「L」、「H」、「L」、「H」、「L」、すなわち、「0」、「1」、「0」、「0」、「1」、「0」、「0」、「1」、「0」、「1」、「0」の順に入力される。   The timing chart of FIG. 5 shows a case where the phase of the clock CLK_IN1 is delayed by Δ from the phase of the input data DATA_IN. Further, as in the first embodiment, the input data DATA_IN is in the NRZ format and is “L”, “H”, “L”, “L”, “H”, “L”, “L”, “ “H”, “L”, “H”, “L”, ie, “0”, “1”, “0”, “0”, “1”, “0”, “0”, “1”, “ It is input in the order of “0”, “1”, “0”.

入力データDATA_INが「L」から「H」に変化すると、第1の検出手段11は、クロックCLK_IN1の振幅値のサンプリングを開始する。また、第2の検出手段12は、入力データDATA_INの立ち上がりタイミングでクロックCLK_IN1の振幅値をアナログホールドする。   When the input data DATA_IN changes from “L” to “H”, the first detection unit 11 starts sampling the amplitude value of the clock CLK_IN1. The second detection means 12 analog-holds the amplitude value of the clock CLK_IN1 at the rising timing of the input data DATA_IN.

入力データDATA_INが「H」から「L」に変化すると、第1の検出手段11は、入力データDATA_INの立ち下がりタイミングでクロックCLK_IN1の振幅値をアナログホールドする。また、第2の検出手段12は、クロックCLK_IN1の振幅値のサンプリングを開始する。   When the input data DATA_IN changes from “H” to “L”, the first detection unit 11 analog-holds the amplitude value of the clock CLK_IN1 at the falling timing of the input data DATA_IN. The second detection unit 12 starts sampling the amplitude value of the clock CLK_IN1.

第1のエッジ比較手段14を構成する第1の位相遅延手段17は、クロックCLK_IN1の位相を1/4周期だけ遅らせる(図5における上から2番目の点線で示されたクロック信号参照)。   The first phase delay means 17 constituting the first edge comparison means 14 delays the phase of the clock CLK_IN1 by ¼ period (refer to the clock signal indicated by the second dotted line from the top in FIG. 5).

第1のエッジ比較手段14を構成する第1の識別手段18は、第1の位相遅延手段17の出力クロックを、入力データDATA_INの立下りタイミングで識別する。このため、第1の識別手段18の出力は、図5中のEC1となる。極性を反転したいSH1の一部分が、EC1の「H」区間に入ることより、第1の極性反転手段15は、EC1が「H」の場合のみ、SH1の極性を反転することで、SH1の極性を揃えられる。   The first identifying means 18 constituting the first edge comparing means 14 identifies the output clock of the first phase delay means 17 at the falling timing of the input data DATA_IN. For this reason, the output of the 1st identification means 18 becomes EC1 in FIG. Since a part of SH1 whose polarity is to be inverted enters the “H” section of EC1, the first polarity inversion means 15 inverts the polarity of SH1 only when EC1 is “H”. Can be aligned.

同様に、第1のエッジ比較手段14を構成する第2の識別手段19は、第1の位相遅延手段17の出力クロックを、入力データDATA_INの立ち上がりタイミングで識別する。このため、第2の識別手段19の出力は、図5中のEC2となる。極性を反転したいSH2の一部分がEC2の「H」区間に入ることより、第2の極性反転手段16は、EC2が「H」の場合のみ、SH2の極性を反転することで、SH2の極性を揃えられる。   Similarly, the second identification unit 19 constituting the first edge comparison unit 14 identifies the output clock of the first phase delay unit 17 at the rising timing of the input data DATA_IN. For this reason, the output of the 2nd identification means 19 becomes EC2 in FIG. Since a part of SH2 whose polarity is to be inverted enters the “H” section of EC2, the second polarity inverting means 16 inverts the polarity of SH2 by inverting the polarity of SH2 only when EC2 is “H”. Aligned.

そして、第1の信号選択手段13は、入力データDATA_INが「H」の期間については、第2の極性反転手段16の出力を選択して、位相差信号FEO1として出力する。一方、第1の信号選択手段13は、入力データDATA_INが「L」の期間については、第1の極性反転手段15の出力を選択して、位相差信号FEO1として出力する。   The first signal selection unit 13 selects the output of the second polarity inversion unit 16 and outputs it as the phase difference signal FEO1 during the period when the input data DATA_IN is “H”. On the other hand, the first signal selection unit 13 selects the output of the first polarity inversion unit 15 and outputs it as the phase difference signal FEO1 during the period when the input data DATA_IN is “L”.

このようにして、本実施の形態2における第1のエッジ比較手段14は、クロックCLK_IN1の位相を1/4周期だけ遅延させ、そのクロックを入力データDATA_INの立ち上がりタイミングおよび立ち上がりタイミングで識別する。   In this way, the first edge comparison unit 14 in the second embodiment delays the phase of the clock CLK_IN1 by a ¼ period, and identifies the clock by the rising timing and the rising timing of the input data DATA_IN.

この結果、本実施の形態2における第1の位相比較器10は、第1の検出手段11および第2の検出手段12が、クロックCLK_IN1の立ち上がり状態の振幅値を検出しているのか、それとも立ち下がり状態を検出しているのかを、第1のエッジ比較手段14によって判別する。   As a result, in the first phase comparator 10 according to the second embodiment, whether or not the first detection unit 11 and the second detection unit 12 detect the amplitude value of the rising state of the clock CLK_IN1. Whether the falling state is detected is determined by the first edge comparison means 14.

そして、この第1のエッジ比較手段14による判別結果を用いて、第1の極性反転手段15および第2の極性反転手段16の出力の極性の反転/非反転を決定することにより、位相差信号FEO1の極性を揃えることができる(図5参照)。   The phase difference signal is determined by determining the inversion / non-inversion of the polarities of the outputs of the first polarity inversion unit 15 and the second polarity inversion unit 16 using the discrimination result by the first edge comparison unit 14. The polarity of FEO1 can be made uniform (see FIG. 5).

次に、タイミングチャートを参照して、ハーフレート時における第1の位相比較器10の入出力特性(第3(b)の点線で示すPDI_OUTに相当)を説明する。図6は、本発明の実施の形態2における1/4周期遅延させたクロックと入力データの遅れとの位相差の関係を説明するための図である。   Next, the input / output characteristics (corresponding to PDI_OUT indicated by the third (b) dotted line) of the first phase comparator 10 at the half rate will be described with reference to a timing chart. FIG. 6 is a diagram for explaining the relationship of the phase difference between the clock delayed by ¼ period and the delay of input data in the second embodiment of the present invention.

図6に示すように、入力データDINと第1の位相遅延手段17の出力クロック(最上段の実線で示されたクロック)との位相差が±1/4周期を超えた場合には、第1のエッジ比較手段14によるΔ+1/4周期遅れクロックの論理が変化する。そのため、第1のエッジ比較手段14の出力は、反転し、先の図3(b)の点線で示したPDI_OUTのように、第1の位相比較器10の入出力特性PDI_OUTは、入力クロック周期の2倍となる(図3(b)参照)。   As shown in FIG. 6, when the phase difference between the input data DIN and the output clock of the first phase delay means 17 (the clock indicated by the uppermost solid line) exceeds ± 1/4 cycle, The logic of the Δ + 1/4 period delayed clock by the one edge comparison means 14 changes. Therefore, the output of the first edge comparison means 14 is inverted, and the input / output characteristic PDI_OUT of the first phase comparator 10 is the input clock period as shown by the PDI_OUT indicated by the dotted line in FIG. (See FIG. 3B).

以上のように、実施の形態2によれば、エッジ比較手段を位相遅延手段および識別手段により構成することで、先の実施の形態1と同様の効果を実現できる。この結果、フルレートとハーフレートの両方のレートに対して、位相比較モードおよび周波数比較モードの2種のモードによる比較動作を行うことのできる周波数/位相比較器を実現することができる。   As described above, according to the second embodiment, the same effect as that of the first embodiment can be realized by configuring the edge comparison unit by the phase delay unit and the identification unit. As a result, it is possible to realize a frequency / phase comparator capable of performing a comparison operation in two modes of the phase comparison mode and the frequency comparison mode for both the full rate and the half rate.

実施の形態3.
図7は、本発明の実施の形態3における周波数/位相比較器の構成を示すブロック図である。先の実施の形態2における図4の構成と比較すると、本実施の形態3における図7の構成は、クロック信号の遅延を行うための構成として、次の3点が異なっている。
Embodiment 3 FIG.
FIG. 7 is a block diagram showing the configuration of the frequency / phase comparator according to Embodiment 3 of the present invention. Compared with the configuration of FIG. 4 in the second embodiment, the configuration of FIG. 7 in the third embodiment is different in the following three points as a configuration for delaying the clock signal.

まず、第1の相違点として、本実施の形態3の周波数/位相比較器は、リング発振器70をクロック発生源として備えている。また、第2の相違点として、本実施の形態3の周波数/位相比較器は、第1の位相遅延手段17および第2の位相遅延手段27を有していない。さらに、第3の相違点として、本実施の形態3の周波数/位相比較器は、入力クロック位相を1/8周期だけ遅らせる第3の位相遅延手段81、および入力クロック位相に対して1/4周期遅れたクロック位相を1/8周期だけ遅らせる第4の位相遅延手段82をさらに備えている。ここで、第4の位相遅延手段82から出力されるクロック信号は、入力クロック位相を3/8周期だけ遅らせた第4のクロック信号に相当する。   First, as a first difference, the frequency / phase comparator of the third embodiment includes a ring oscillator 70 as a clock generation source. Further, as a second difference, the frequency / phase comparator of the third embodiment does not have the first phase delay means 17 and the second phase delay means 27. Further, as a third difference, the frequency / phase comparator according to the third embodiment has a third phase delay means 81 that delays the input clock phase by 1/8 period, and a quarter of the input clock phase. A fourth phase delay means 82 is further provided to delay the clock phase delayed by a period by 1/8 period. Here, the clock signal output from the fourth phase delay means 82 corresponds to a fourth clock signal obtained by delaying the input clock phase by 3/8 period.

なお、本実施の形態3において、第1の位相比較器10は、アナログホールド位相比較部に相当する。また、第2の位相比較器20、第3の位相比較器30、第4の信号選択手段40、第3の位相遅延手段81、および第4の位相遅延手段82は、デジタルホールド位相比較部に相当する。さらに、第5の信号選択手段60は、最終出力信号選択手段に相当する。   In the third embodiment, the first phase comparator 10 corresponds to an analog hold phase comparison unit. Further, the second phase comparator 20, the third phase comparator 30, the fourth signal selection unit 40, the third phase delay unit 81, and the fourth phase delay unit 82 are included in the digital hold phase comparison unit. Equivalent to. Further, the fifth signal selection means 60 corresponds to a final output signal selection means.

リング発振器70は、回路遅延量が等しい偶数個の増幅器から構成されるため、位相が1/4周期だけ遅延したクロックも生成することが可能である。したがって、入力データDATA_INとの位相差がΔであるクロックCLK_IN1、および入力データDATA_INとの位相差がΔ+1/4周期であるCLK_IN3の2種類のクロックを出力できる。   Since the ring oscillator 70 is composed of an even number of amplifiers having the same circuit delay amount, it is also possible to generate a clock whose phase is delayed by ¼ period. Therefore, two types of clocks can be output: the clock CLK_IN1 whose phase difference from the input data DATA_IN is Δ and the CLK_IN3 whose phase difference from the input data DATA_IN is Δ + 1/4 cycle.

入力データDATA_INと、入力データDATA_INより位相がΔ遅れたクロックCLK_IN1と、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3とを入力とする第1の位相比較器10の動作は、先の実施の形態2で説明した動作と同じになる。   The operation of the first phase comparator 10 that receives the input data DATA_IN, the clock CLK_IN1 whose phase is delayed by Δ from the input data DATA_IN, and the clock CLK_IN3 whose phase is delayed by Δ + 1/4 period from the input data DATA_IN is as follows. The operation is the same as that described in the second embodiment.

第1の位相比較器10の入出力特性は、フルレートの場合には、図3(a)の点線で示したPDI_OUTとなり、ハーフレートの場合には、図3(b)の点線で示したPDI_OUTとなる。   The input / output characteristics of the first phase comparator 10 are PDI_OUT indicated by the dotted line in FIG. 3A in the case of the full rate, and PDI_OUT indicated by the dotted line in FIG. 3B in the case of the half rate. It becomes.

入力データDATA_INと、第3の位相遅延手段81により、入力データDATA_INに対し位相がΔ+1/8周期だけ遅れたクロックと、第4の位相遅延手段82により、入力データDATA_INに対し位相がΔ+3/8周期だけ遅れたクロックとを入力とする第2の位相比較器20の動作は、先の実施の形態2で説明した動作と同じある。そして、第2の位相比較器20の入出力特性は、先の図3(b)の実線で示したPDQ_OUTとなる。   The input data DATA_IN and the third phase delay means 81 cause the clock whose phase is delayed by Δ + 1/8 cycle from the input data DATA_IN, and the fourth phase delay means 82 causes the phase to be Δ + 3/8 with respect to the input data DATA_IN. The operation of the second phase comparator 20 that receives a clock delayed by a period is the same as the operation described in the second embodiment. The input / output characteristic of the second phase comparator 20 is PDQ_OUT indicated by the solid line in FIG.

入力データDATA_INと、入力データDATA_INに対し位相がΔ+1/4周期だけ遅れたクロックを入力とする第3の位相比較器30の動作は、先の実施の形態2で説明した動作と同じある。そして、第3の位相比較器30の入出力特性は、先の図3(a)の実線で示したPDQ_OUTとなる。   The operation of the third phase comparator 30 that receives the input data DATA_IN and a clock whose phase is delayed by Δ + 1/4 period with respect to the input data DATA_IN is the same as the operation described in the second embodiment. The input / output characteristic of the third phase comparator 30 is PDQ_OUT indicated by the solid line in FIG.

以上のように、実施の形態3によれば、クロック信号の遅延を行うための構成として、位相比較器の前段に、リング発振器および位相遅延手段を有する構成を備えることによっても、先の実施の形態1、2と同様の効果を実現できる。この結果、フルレートとハーフレートの両方のレートに対して、位相比較モードおよび周波数比較モードの2種のモードによる比較動作を行うことのできる周波数/位相比較器を実現することができる。   As described above, according to the third embodiment, as a configuration for delaying the clock signal, the configuration including the ring oscillator and the phase delay means is provided in the previous stage of the phase comparator. The same effect as in Embodiments 1 and 2 can be realized. As a result, it is possible to realize a frequency / phase comparator capable of performing a comparison operation in two modes of the phase comparison mode and the frequency comparison mode for both the full rate and the half rate.

実施の形態4.
図8は、本発明の実施の形態4における周波数/位相比較器の構成を示すブロック図である。先の実施の形態1における図1の構成と比較すると、本実施の形態4における図8の構成は、次の4点が異なっている。
Embodiment 4 FIG.
FIG. 8 is a block diagram showing the configuration of the frequency / phase comparator according to Embodiment 4 of the present invention. Compared with the configuration of FIG. 1 in the first embodiment, the configuration of FIG. 8 in the fourth embodiment is different in the following four points.

まず、第1の相違点として、本実施の形態4の周波数/位相比較器は、位相比較器の前段に、第5の位相遅延手段83を備えている。この第5の位相遅延手段83は、入力データDATA_INより位相がΔ遅れたクロックCLK_IN1と、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3とを入力とし、位相を1/8周期だけ遅らせることができる。   First, as a first difference, the frequency / phase comparator according to the fourth embodiment includes fifth phase delay means 83 in the preceding stage of the phase comparator. The fifth phase delay means 83 receives a clock CLK_IN1 whose phase is delayed by Δ from the input data DATA_IN and a clock CLK_IN3 whose phase is delayed by Δ + 1/4 cycle from the input data DATA_IN, and has a phase of 1/8 cycle. Can be delayed.

また、第2の相違点として、本実施の形態4の周波数/位相比較器は、位相比較器の前段に、第6の信号選択手段84を備えている。この第6の信号選択手段84は、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3と、第5の位相遅延手段83の出力クロックとを入力し、それらを選択して第5のクロック信号として出力することができる。   Further, as a second difference, the frequency / phase comparator according to the fourth embodiment is provided with sixth signal selection means 84 in the previous stage of the phase comparator. The sixth signal selection means 84 receives the clock CLK_IN3 whose phase is delayed by Δ + 1/4 period from the input data DATA_IN and the output clock of the fifth phase delay means 83, and selects them to select the fifth signal. It can be output as a clock signal.

また、第3の相違点として、本実施の形態4の周波数/位相比較器は、入力データDATA_INと、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3を入力とする第3の位相比較器30を備えていない。さらに、第4の相違点として、本実施の形態4の周波数/位相比較器は、第2の位相比較器20の出力と第3の位相比較器30の出力とを選択する第4の信号選択手段40を備えていない。   As a third difference, the frequency / phase comparator according to the fourth embodiment has a third phase in which the input data DATA_IN and the clock CLK_IN3 whose phase is delayed by Δ + 1/4 cycle from the input data DATA_IN are input. The comparator 30 is not provided. Furthermore, as a fourth difference, the frequency / phase comparator according to the fourth embodiment selects the fourth signal selection that selects the output of the second phase comparator 20 and the output of the third phase comparator 30. Means 40 are not provided.

なお、本実施の形態4において、第1の位相比較器10は、アナログホールド位相比較部に相当する。また、第2の位相比較器20、第5の位相遅延手段83、および第6の信号選択手段84は、デジタルホールド位相比較部に相当する。さらに、第5の信号選択手段60は、最終出力信号選択手段に相当する。   In the fourth embodiment, the first phase comparator 10 corresponds to an analog hold phase comparison unit. The second phase comparator 20, the fifth phase delay means 83, and the sixth signal selection means 84 correspond to a digital hold phase comparison unit. Further, the fifth signal selection means 60 corresponds to a final output signal selection means.

ここで、第5の位相遅延手段83の入力は、入力データDATA_INより位相がΔ遅れたクロックCLK_IN1と、入力データDATA_INより位相がΔ1/4周期だけ遅れたクロックCLK_IN3との2種類である必要は必ずしも無く、DATA_INに対し位相を1/8周期だけ遅らせることができれば、どちらか1種類でもよい。   Here, the input of the fifth phase delay means 83 needs to be two types, a clock CLK_IN1 whose phase is delayed by Δ from the input data DATA_IN and a clock CLK_IN3 whose phase is delayed by Δ1 / 4 cycle from the input data DATA_IN. Any one of them may be used as long as the phase can be delayed by 1/8 period with respect to DATA_IN.

フルレートの場合には、第6の信号選択手段84にて、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3を選択することにより、周波数/位相比較器の入出力特性は、先の図3(a)となる。また、ハーフレートの場合には、第6の信号選択手段84にて、第5の位相遅延手段83の出力(すなわち、入力データDATA_INより位相がΔ+1/8周期だけ遅れたクロック)を選択することにより、周波数/位相比較器の入出力特性は、先の図3(b)となる。   In the case of the full rate, by selecting the clock CLK_IN3 whose phase is delayed by Δ + 1/4 cycle from the input data DATA_IN by the sixth signal selection means 84, the input / output characteristics of the frequency / phase comparator are As shown in FIG. In the case of half rate, the sixth signal selection unit 84 selects the output of the fifth phase delay unit 83 (that is, a clock whose phase is delayed by Δ + 1/8 cycle from the input data DATA_IN). Thus, the input / output characteristics of the frequency / phase comparator are as shown in FIG.

以上のように、実施の形態4によれば、第2の位相比較器に入力されるクロック信号の遅延量を、ハーフレートおよびフルレートに応じて切り換える信号選択手段を、第2の位相比較器の前段に備える構成とすることにより、第3の位相比較器を不要とした上で、先の実施の形態1〜3と同様の効果を実現できる。この結果、フルレートとハーフレートの両方のレートに対して、位相比較モードおよび周波数比較モードの2種のモードによる比較動作を行うことのできる周波数/位相比較器を実現することができる。   As described above, according to the fourth embodiment, the signal selection means for switching the delay amount of the clock signal input to the second phase comparator according to the half rate and the full rate is provided in the second phase comparator. By employing the configuration provided in the preceding stage, the same effects as those of the first to third embodiments can be realized while eliminating the need for the third phase comparator. As a result, it is possible to realize a frequency / phase comparator capable of performing a comparison operation in two modes of the phase comparison mode and the frequency comparison mode for both the full rate and the half rate.

実施の形態5.
図9は、本発明の実施の形態5における周波数/位相比較器の構成を示すブロック図である。具体的には、先の実施の形態4における図8中の第1のエッジ比較手段14および第2のエッジ比較手段24を、先の実施の形態2で説明したのと同様に、位相遅延手段および識別手段で構成した一例を示している。
Embodiment 5 FIG.
FIG. 9 is a block diagram showing the configuration of the frequency / phase comparator according to the fifth embodiment of the present invention. Specifically, the first edge comparing means 14 and the second edge comparing means 24 in FIG. 8 in the previous embodiment 4 are replaced with the phase delay means as described in the previous embodiment 2. And an example constituted by identification means.

第1のエッジ比較手段14は、第1の位相遅延手段17、第1の識別手段18、および第2の識別手段19で構成される。ここで、第1の位相遅延手段17は、クロックCLK_IN1の位相を、例えば、1/4周期だけ遅らせることができる。同様に、第2のエッジ比較手段24は、第2の位相遅延手段27、第3の識別手段28、および第4の識別手段29で構成される。ここで、第2の位相遅延手段27は、クロックCLK_IN2の位相を、例えば、1/4周期だけ遅らせることができる。   The first edge comparison unit 14 includes a first phase delay unit 17, a first identification unit 18, and a second identification unit 19. Here, the first phase delay means 17 can delay the phase of the clock CLK_IN1 by, for example, a quarter cycle. Similarly, the second edge comparison unit 24 includes a second phase delay unit 27, a third identification unit 28, and a fourth identification unit 29. Here, the second phase delay means 27 can delay the phase of the clock CLK_IN2 by, for example, a quarter cycle.

フルレートの場合には、第6の信号選択手段84にて、入力データDATA_INより位相がΔ+1/4周期だけ遅れたクロックCLK_IN3を選択することにより、周波数/位相比較器の入出力特性は、先の図3(a)となる。また、ハーフレートの場合には、第6の信号選択手段84にて、第5の位相遅延手段83出力を選択することにより、周波数/位相比較器の入出力特性は、先の図3(b)となる。   In the case of the full rate, by selecting the clock CLK_IN3 whose phase is delayed by Δ + 1/4 cycle from the input data DATA_IN by the sixth signal selection means 84, the input / output characteristics of the frequency / phase comparator are As shown in FIG. In the case of the half rate, the sixth signal selection means 84 selects the output of the fifth phase delay means 83, so that the input / output characteristics of the frequency / phase comparator are as shown in FIG. )

以上のように、実施の形態5によれば、エッジ比較手段を位相遅延手段および識別手段により構成することで、先の実施の形態4と同様の効果を実現できる。この結果、フルレートとハーフレートの両方のレートに対して、位相比較モードおよび周波数比較モードの2種のモードによる比較動作を行うことのできる周波数/位相比較器を実現することができる。   As described above, according to the fifth embodiment, the same effect as in the fourth embodiment can be realized by configuring the edge comparison means by the phase delay means and the identification means. As a result, it is possible to realize a frequency / phase comparator capable of performing a comparison operation in two modes of the phase comparison mode and the frequency comparison mode for both the full rate and the half rate.

本発明の実施の形態1における周波数/位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the frequency / phase comparator in Embodiment 1 of this invention. 本発明の実施の形態1における第1の位相比較器の動作を示すタイミングチャートである。3 is a timing chart showing the operation of the first phase comparator in the first embodiment of the present invention. 本発明の実施の形態1における位相比較器の入出力特性についてフルレートの場合とハーフレートの場合とを比較した図である。It is the figure which compared the case of the full rate and the case of a half rate about the input / output characteristic of the phase comparator in Embodiment 1 of this invention. 本発明の実施の形態2における周波数/位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the frequency / phase comparator in Embodiment 2 of this invention. 本発明の実施の形態2における第1の位相比較器の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the 1st phase comparator in Embodiment 2 of this invention. 本発明の実施の形態2における1/4周期遅延させたクロックと入力データの遅れとの位相差の関係を説明するための図である。It is a figure for demonstrating the relationship of the phase difference of the clock and input data delay delayed by 1/4 period in Embodiment 2 of this invention. 本発明の実施の形態3における周波数/位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the frequency / phase comparator in Embodiment 3 of this invention. 本発明の実施の形態4における周波数/位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the frequency / phase comparator in Embodiment 4 of this invention. 本発明の実施の形態5における周波数/位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the frequency / phase comparator in Embodiment 5 of this invention. 従来のPLL回路の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional PLL circuit. 従来の位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional phase comparator. 従来の位相比較器の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the conventional phase comparator. 従来の位相比較器の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the conventional phase comparator. 極性反転回路を備えた従来の位相比較器の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional phase comparator provided with the polarity inversion circuit. 極性反転回路を備えた従来の位相比較器の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of the conventional phase comparator provided with the polarity inversion circuit.

符号の説明Explanation of symbols

10 第1の位相比較器(アナログホールド位相比較部)、11 第1の検出手段、12 第2の検出手段、13 第1の信号選択手段、14 第1のエッジ比較手段、15 第1の極性反転手段、16 第2の極性反転手段、17 第1の位相遅延手段、18 第1の識別手段、19 第2の識別手段、20 第2の位相比較器(デジタルホールド位相比較部)、21 第3の検出手段、22 第4の検出手段、23 第2の信号選択手段、24 第2のエッジ比較手段、25 第3の極性反転手段、26 第4の極性反転手段、27 第2の位相遅延手段、28 第3の識別手段、29 第4の識別手段、30 第3の位相比較器(デジタルホールド位相比較部)、31 第5の検出手段、32 第6の検出手段、33 第3の信号選択手段、40 第4の信号選択手段、50 周波数比較手段、60 第5の信号選択手段(最終出力信号選択手段)、70 リング発振器、81 第3の位相遅延手段、82 第4の位相遅延手段、83 第5の位相遅延手段、84 第6の信号選択手段。   DESCRIPTION OF SYMBOLS 10 1st phase comparator (analog hold phase comparison part), 11 1st detection means, 12 2nd detection means, 13 1st signal selection means, 14 1st edge comparison means, 15 1st polarity Inversion means, 16 Second polarity inversion means, 17 First phase delay means, 18 First identification means, 19 Second identification means, 20 Second phase comparator (digital hold phase comparison unit), 21 First 3 detection means, 22 4th detection means, 23 2nd signal selection means, 24 2nd edge comparison means, 25 3rd polarity inversion means, 26 4th polarity inversion means, 27 2nd phase delay Means, 28 third identification means, 29 fourth identification means, 30 third phase comparator (digital hold phase comparison section), 31 fifth detection means, 32 sixth detection means, 33 third signal Selection means, 40 fourth Signal selection means, 50 frequency comparison means, 60 fifth signal selection means (final output signal selection means), 70 ring oscillator, 81 third phase delay means, 82 fourth phase delay means, 83 fifth phase delay Means, 84 Sixth signal selection means.

Claims (6)

入力データ信号および第1のクロック信号に基づいて、前記入力データ信号の立ち上がりタイミングおよび立ち下がりタイミングのそれぞれにおいて前記第1のクロック信号の振幅値を検出し、前記第1のクロック信号の傾き識別結果および前記入力データ信号の極性に応じてそれぞれの検出結果を反転/選択処理することにより前記第1のクロック信号の振幅値のアナログホールド値を出力するアナログホールド位相比較部と、
前記第1のクロック信号よりも位相が1/8周期遅れた第2のクロック信号、および前記第1のクロック信号よりも位相が1/4周期遅れた第3のクロック信号に基づいて、前記入力データ信号の速度が前記第1のクロック信号の周波数の2倍となるハーフレートの場合には、前記入力データ信号の立ち上がりタイミングおよび立ち下がりタイミングのそれぞれにおいて前記第2のクロック信号の振幅を検出し、前記第2のクロック信号の傾き識別結果および前記入力データ信号の極性に応じてそれぞれの検出結果を反転/選択処理することにより前記第2のクロック信号の振幅のデジタルホールド値を出力し、前記入力データ信号の速度と前記第1のクロック信号の周波数が等しいフルレートの場合には、前記入力データ信号の立ち上がりタイミングおよび立ち下がりタイミングのそれぞれにおいて前記第3のクロック信号の振幅を検出し、前記入力データ信号の極性に応じてそれぞれの検出結果を選択処理することにより、前記第3のクロック信号の振幅のデジタルホールド値を出力するデジタルホールド位相比較部と、
前記アナログホールド位相比較部から出力されるアナログホールド値、および前記デジタルホールド位相比較部から出力されるデジタルホールド値に基づいて、前記入力データ信号と前記第1のクロック信号との周波数比較を行って比較結果を出力する周波数比較手段と、
前記デジタルホールド位相比較部から出力されるデジタルホールド値の極性に応じて、前記アナログホールド位相比較部からの出力値または前記周波数比較手段からの出力値のいずれかを選択出力する最終出力信号選択手段と
を備えることを特徴とする周波数/位相比較器。
Based on the input data signal and the first clock signal, the amplitude value of the first clock signal is detected at each of the rising timing and falling timing of the input data signal, and the inclination identification result of the first clock signal And an analog hold phase comparator that outputs an analog hold value of the amplitude value of the first clock signal by inverting / selecting each detection result according to the polarity of the input data signal,
The input is based on a second clock signal whose phase is delayed by 1/8 cycle from the first clock signal, and a third clock signal whose phase is delayed by 1/4 cycle from the first clock signal. When the data signal speed is a half rate that is twice the frequency of the first clock signal, the amplitude of the second clock signal is detected at each of the rising timing and falling timing of the input data signal. Output the digital hold value of the amplitude of the second clock signal by inverting / selecting each detection result according to the slope identification result of the second clock signal and the polarity of the input data signal, When the speed of the input data signal and the frequency of the first clock signal are equal to the full rate, the rising edge of the input data signal The amplitude of the third clock signal is detected at each of the timing and the fall timing, and each detection result is selected according to the polarity of the input data signal, thereby digitally calculating the amplitude of the third clock signal. A digital hold phase comparator that outputs a hold value;
Based on the analog hold value output from the analog hold phase comparison unit and the digital hold value output from the digital hold phase comparison unit, frequency comparison between the input data signal and the first clock signal is performed. A frequency comparison means for outputting a comparison result;
Final output signal selection means for selectively outputting either the output value from the analog hold phase comparison section or the output value from the frequency comparison section in accordance with the polarity of the digital hold value output from the digital hold phase comparison section And a frequency / phase comparator comprising:
請求項1に記載の周波数/位相比較器において、
前記アナログホールド位相比較部は、
前記入力データ信号の立ち下がりタイミングで前記第1のクロック信号の振幅値をアナログホールド値として検出する第1の検出手段と、
前記入力データ信号の立ち上がりタイミングで前記第1のクロック信号の振幅値をアナログホールド値として検出する第2の検出手段と、
前記第1の検出手段および前記第2の検出手段に入力される前記第1のクロック信号の傾きを識別する第1のエッジ比較手段と、
前記第1のエッジ比較手段の出力に応じて前記第1の検出手段の検出結果の極性を反転する第1の極性反転手段と、
前記第1のエッジ比較手段の出力に応じて前記第2の検出手段の検出結果の極性を反転する第2の極性反転手段と、
前記入力データ信号の極性に応じて前記第1の極性反転手段の出力値または前記第2の極性反転手段の出力値のいずれかを選択して前記第1のクロック信号の振幅値のアナログホールド値を出力する第1の信号選択手段と
を有する第1の位相比較器で構成され、
前記デジタルホールド位相比較部は、
前記入力データ信号の立ち下がりタイミングで前記第2のクロック信号の振幅をデジタルホールド値として検出する第3の検出手段と、
前記入力データ信号の立ち上がりタイミングで前記第2のクロック信号の振幅をデジタルホールド値として検出する第4の検出手段と、
前記第3の検出手段および前記第4の検出手段に入力される前記第2のクロック信号の傾きを識別する第2のエッジ比較手段と、
前記第2のエッジ比較手段の出力に応じて前記第3の検出手段の検出結果の極性を反転する第3の極性反転手段と、
前記第2のエッジ比較手段の出力に応じて前記第4の検出手段の検出結果の極性を反転する第4の極性反転手段と
前記入力データ信号の極性に応じて前記第3の極性反転手段の出力値または前記第4の極性反転手段の出力値のいずれかを選択して前記第2のクロック信号の振幅のデジタルホールド値を出力する第2の信号選択手段と
を有する第2の位相比較器と、
前記入力データ信号の立ち下がりタイミングで前記第3のクロック信号の振幅をデジタルホールド値として検出する第5の検出手段と、
前記入力データ信号の立ち上がりタイミングで前記第3のクロック信号の振幅をデジタルホールド値として検出する第6の検出手段と、
前記入力データ信号の極性に応じて前記第5の検出手段の出力値または前記第6の検出手段の出力値のいずれかを選択して前記第3のクロック信号の振幅のデジタルホールド値を出力する第3の信号選択手段と
を有する第3の位相比較器と
前記ハーフレートの場合には前記第2の位相比較器の出力値を選択出力し、前記フルレートの場合には前記第3の位相比較器の出力値を選択出力する第4の信号選択手段と
で構成される
ことを特徴とする周波数/位相比較器。
The frequency / phase comparator of claim 1.
The analog hold phase comparison unit is
First detection means for detecting an amplitude value of the first clock signal as an analog hold value at a falling timing of the input data signal;
Second detection means for detecting an amplitude value of the first clock signal as an analog hold value at a rising timing of the input data signal;
First edge comparison means for identifying a slope of the first clock signal input to the first detection means and the second detection means;
First polarity inversion means for inverting the polarity of the detection result of the first detection means in accordance with the output of the first edge comparison means;
A second polarity inversion means for inverting the polarity of the detection result of the second detection means in accordance with the output of the first edge comparison means;
An analog hold value of the amplitude value of the first clock signal by selecting either the output value of the first polarity inverting means or the output value of the second polarity inverting means according to the polarity of the input data signal And a first phase comparator having first signal selection means for outputting
The digital hold phase comparison unit
Third detection means for detecting the amplitude of the second clock signal as a digital hold value at the falling timing of the input data signal;
Fourth detection means for detecting the amplitude of the second clock signal as a digital hold value at the rising timing of the input data signal;
Second edge comparison means for identifying the slope of the second clock signal input to the third detection means and the fourth detection means;
Third polarity inverting means for inverting the polarity of the detection result of the third detecting means in accordance with the output of the second edge comparing means;
A fourth polarity inversion means for inverting the polarity of the detection result of the fourth detection means in accordance with the output of the second edge comparison means; and a third polarity inversion means in accordance with the polarity of the input data signal. A second phase comparator having second signal selection means for selecting either an output value or an output value of the fourth polarity inverting means and outputting a digital hold value of the amplitude of the second clock signal. When,
Fifth detection means for detecting the amplitude of the third clock signal as a digital hold value at the falling timing of the input data signal;
Sixth detection means for detecting an amplitude of the third clock signal as a digital hold value at a rising timing of the input data signal;
According to the polarity of the input data signal, either the output value of the fifth detection means or the output value of the sixth detection means is selected and the digital hold value of the amplitude of the third clock signal is output. A third phase comparator having a third signal selection means; and, in the case of the half rate, the output value of the second phase comparator is selectively output, and in the case of the full rate, the third phase comparator is selected. And a fourth signal selection means for selectively outputting the output value of the detector.
請求項2に記載の周波数/位相比較器において、
前記第1の位相比較器に含まれる前記第1のエッジ比較手段は、
前記第1のクロック信号の位相を遅延させる第1の位相遅延手段と、
前記入力データ信号の立ち下がりタイミングで前記第1の位相遅延手段の出力値を識別する第1の識別手段と、
前記入力データ信号の立ち上がりタイミングで前記第1の位相遅延手段の出力値を識別する第2の識別手段と
で構成され、
前記第1の位相比較器に含まれる前記第1の極性反転手段は、前記第1の識別手段の出力に応じて前記第1の検出手段の検出結果の極性を反転し、
前記第1の位相比較器に含まれる前記第2の極性反転手段は、前記第2の識別手段の出力に応じて前記第2の検出手段の検出結果の極性を反転し、
前記第2の位相比較器に含まれる前記第2のエッジ比較手段は、
前記第2のクロック信号の位相を遅延させる第2の位相遅延手段と、
前記入力データ信号の立ち下がりタイミングで前記第2の位相遅延手段の出力値を識別する第3の識別手段と、
前記入力データ信号の立ち上がりタイミングで前記第2の位相遅延手段の出力値を識別する第4の識別手段と
で構成され、
前記第2の位相比較器に含まれる前記第3の極性反転手段は、前記第3の識別手段の出力に応じて前記第3の検出手段の検出結果の極性を反転し、
前記第2の位相比較器に含まれる前記第4の極性反転手段は、前記第4の識別手段の出力に応じて前記第4の検出手段の検出結果の極性を反転する
ことを特徴とする周波数/位相比較器。
The frequency / phase comparator according to claim 2,
The first edge comparison means included in the first phase comparator includes:
First phase delay means for delaying the phase of the first clock signal;
First identification means for identifying an output value of the first phase delay means at a falling timing of the input data signal;
A second identification means for identifying the output value of the first phase delay means at the rising timing of the input data signal;
The first polarity inversion means included in the first phase comparator inverts the polarity of the detection result of the first detection means according to the output of the first identification means,
The second polarity inversion means included in the first phase comparator inverts the polarity of the detection result of the second detection means according to the output of the second identification means,
The second edge comparison means included in the second phase comparator includes:
Second phase delay means for delaying the phase of the second clock signal;
Third identifying means for identifying the output value of the second phase delay means at the falling timing of the input data signal;
And a fourth identification means for identifying the output value of the second phase delay means at the rising timing of the input data signal,
The third polarity inversion means included in the second phase comparator inverts the polarity of the detection result of the third detection means according to the output of the third identification means,
The fourth polarity inversion means included in the second phase comparator inverts the polarity of the detection result of the fourth detection means in accordance with the output of the fourth identification means. / Phase comparator.
請求項1に記載の周波数/位相比較器において、
前記第1のクロック信号および前記第3のクロック信号を生成するリング発振器をさらに備え、
前記アナログホールド位相比較部は、
前記入力データ信号の立ち下がりタイミングで前記第1のクロック信号の振幅値をアナログホールド値として検出する第1の検出手段と、
前記入力データ信号の立ち上がりタイミングで前記第1のクロック信号の振幅値をアナログホールド値として検出する第2の検出手段と、
前記入力データ信号の立ち下がりタイミングで、前記リング発生器で生成された前記第3のクロック信号を識別する第1の識別手段と、
前記入力データ信号の立ち上がりタイミングで、前記リング発生器で生成された前記第3のクロック信号を識別する第2の識別手段と、
前記第1の識別手段の出力に応じて前記第1の検出手段の検出結果の極性を反転する第1の極性反転手段と、
前記第2の識別手段の出力に応じて前記第2の検出手段の検出結果の極性を反転する第2の極性反転手段と、
前記入力データ信号の極性に応じて前記第1の極性反転手段の出力値または前記第2の極性反転手段の出力値のいずれかを選択して前記第1のクロック信号の振幅値のアナログホールド値を出力する第1の信号選択手段と
を有する第1の位相比較器で構成され、
前記デジタルホールド位相比較部は、
前記リング発生器で生成された前記第1のクロック信号の位相を1/8周期遅延させて第2のクロック信号を生成する第3の位相遅延回路と、
前記リング発生器で生成された前記第3のクロック信号の位相を1/8周期遅延させて前記第1のクロック信号よりも位相が3/8周期遅れた第4のクロック信号を生成する第4の位相遅延回路と、
前記入力データ信号の立ち下がりタイミングで、前記第3の位相遅延手段で生成された前記第2のクロック信号の振幅をデジタルホールド値として検出する第3の検出手段と、
前記入力データ信号の立ち上がりタイミングで、前記第3の位相遅延手段で生成された前記第2のクロック信号の振幅をデジタルホールド値として検出する第4の検出手段と、
前記入力データ信号の立ち下がりタイミングで、前記第4の位相遅延手段により生成された前記第4のクロック信号を識別する第3の識別手段と、
前記入力データ信号の立ち上がりタイミングで、前記第4の位相遅延手段により生成された前記第4のクロック信号を識別する第4の識別手段と
前記第3の識別手段の出力に応じて前記第3の検出手段の検出結果の極性を反転する第3の極性反転手段と、
前記第4の識別手段の出力に応じて前記第4の検出手段の検出結果の極性を反転する第4の極性反転手段と
前記入力データ信号の極性に応じて前記第3の極性反転手段の出力値または前記第4の極性反転手段の出力値のいずれかを選択して前記第2のクロック信号の振幅のデジタルホールド値を出力する第2の信号選択手段と
を有する第2の位相比較器と、
前記入力データ信号の立ち下がりタイミングで、前記リング発振器で生成された前記第3のクロック信号の振幅をデジタルホールド値として検出する第5の検出手段と、
前記入力データ信号の立ち上がりタイミングで、前記リング発振器で生成された前記第3のクロック信号の振幅をデジタルホールド値として検出する第6の検出手段と、
前記入力データ信号の極性に応じて前記第5の検出手段の出力値または前記第6の検出手段の出力値のいずれかを選択して前記第3のクロック信号の振幅のデジタルホールド値を出力する第3の信号選択手段と
を有する第3の位相比較器と
前記ハーフレートの場合には前記第2の位相比較器の出力値を選択出力し、前記フルレートの場合には前記第3の位相比較器の出力値を選択出力する第4の信号選択手段と
で構成される
ことを特徴とする周波数/位相比較器。
The frequency / phase comparator of claim 1.
A ring oscillator for generating the first clock signal and the third clock signal;
The analog hold phase comparison unit is
First detection means for detecting an amplitude value of the first clock signal as an analog hold value at a falling timing of the input data signal;
Second detection means for detecting an amplitude value of the first clock signal as an analog hold value at a rising timing of the input data signal;
First identification means for identifying the third clock signal generated by the ring generator at a falling timing of the input data signal;
Second identifying means for identifying the third clock signal generated by the ring generator at a rising timing of the input data signal;
First polarity inversion means for inverting the polarity of the detection result of the first detection means in accordance with the output of the first identification means;
A second polarity inversion means for inverting the polarity of the detection result of the second detection means according to the output of the second identification means;
An analog hold value of the amplitude value of the first clock signal by selecting either the output value of the first polarity inverting means or the output value of the second polarity inverting means according to the polarity of the input data signal And a first phase comparator having first signal selection means for outputting
The digital hold phase comparison unit
A third phase delay circuit that delays the phase of the first clock signal generated by the ring generator by 1 / period to generate a second clock signal;
A fourth clock signal is generated by delaying the phase of the third clock signal generated by the ring generator by 1/8 period to generate a fourth clock signal having a phase delayed by 3/8 period from the first clock signal. A phase delay circuit of
Third detection means for detecting, as a digital hold value, an amplitude of the second clock signal generated by the third phase delay means at a falling timing of the input data signal;
Fourth detection means for detecting, as a digital hold value, an amplitude of the second clock signal generated by the third phase delay means at a rising timing of the input data signal;
Third identifying means for identifying the fourth clock signal generated by the fourth phase delay means at the falling timing of the input data signal;
A fourth discriminating unit for discriminating the fourth clock signal generated by the fourth phase delay unit at the rising timing of the input data signal; and the third discriminating unit according to the output of the third discriminating unit Third polarity reversing means for reversing the polarity of the detection result of the detecting means;
A fourth polarity inversion means for inverting the polarity of the detection result of the fourth detection means in accordance with the output of the fourth identification means; and an output of the third polarity inversion means in accordance with the polarity of the input data signal A second phase comparator comprising: second signal selection means for selecting either a value or an output value of the fourth polarity inverting means and outputting a digital hold value of the amplitude of the second clock signal; ,
Fifth detection means for detecting, as a digital hold value, an amplitude of the third clock signal generated by the ring oscillator at a falling timing of the input data signal;
Sixth detection means for detecting, as a digital hold value, an amplitude of the third clock signal generated by the ring oscillator at a rising timing of the input data signal;
According to the polarity of the input data signal, either the output value of the fifth detection means or the output value of the sixth detection means is selected and the digital hold value of the amplitude of the third clock signal is output. A third phase comparator having a third signal selection means; and, in the case of the half rate, the output value of the second phase comparator is selectively output, and in the case of the full rate, the third phase comparator is selected. And a fourth signal selection means for selectively outputting the output value of the detector.
請求項1に記載の周波数/位相比較器において、
前記アナログホールド位相比較部は、
前記入力データ信号の立ち下がりタイミングで前記第1のクロック信号の振幅値をアナログホールド値として検出する第1の検出手段と、
前記入力データ信号の立ち上がりタイミングで前記第1のクロック信号の振幅値をアナログホールド値として検出する第2の検出手段と、
前記第1の検出手段および前記第2の検出手段に入力される前記第1のクロック信号の傾きを識別する第1のエッジ比較手段と、
前記第1のエッジ比較手段の出力に応じて前記第1の検出手段の検出結果の極性を反転する第1の極性反転手段と、
前記第1のエッジ比較手段の出力に応じて前記第2の検出手段の検出結果の極性を反転する第2の極性反転手段と、
前記入力データ信号の極性に応じて前記第1の極性反転手段の出力値または前記第2の極性反転手段の出力値のいずれかを選択して前記第1のクロック信号の振幅値のアナログホールド値を出力する第1の信号選択手段と
を有する第1の位相比較器で構成され、
前記デジタルホールド位相比較部は、
前記第1のクロック信号または前記第3のクロック信号の少なくとも一方のクロック信号を入力とし、前記入力データ信号よりも位相が1/8周期遅れた第2のクロック信号を生成する第5の位相遅延手段と、
前記フルレートの場合には前記第3のクロック信号を選択し、前記ハーフレートの場合には前記第5の位相遅延手段で生成された前記第2のクロック信号を選択し、第5のクロック信号として出力する第6の信号選択手段と、
前記入力データ信号の立ち下がりタイミングで前記第5のクロック信号の振幅をデジタルホールド値として検出する第3の検出手段と、
前記入力データ信号の立ち上がりタイミングで前記第5のクロック信号の振幅をデジタルホールド値として検出する第4の検出手段と、
前記第3の検出手段および前記第4の検出手段に入力される前記第5のクロック信号の傾きを識別する第2のエッジ比較手段と、
前記第2のエッジ比較手段の出力に応じて前記第3の検出手段の検出結果の極性を反転する第3の極性反転手段と、
前記第2のエッジ比較手段の出力に応じて前記第4の検出手段の検出結果の極性を反転する第4の極性反転手段と
前記入力データ信号の極性に応じて前記第3の極性反転手段の出力値または前記第4の極性反転手段の出力値のいずれかを選択して前記第5のクロック信号の振幅のデジタルホールド値を出力する第2の信号選択手段と
を有する第2の位相比較器で構成される
ことを特徴とする周波数/位相比較器。
The frequency / phase comparator of claim 1.
The analog hold phase comparison unit is
First detection means for detecting an amplitude value of the first clock signal as an analog hold value at a falling timing of the input data signal;
Second detection means for detecting an amplitude value of the first clock signal as an analog hold value at a rising timing of the input data signal;
First edge comparison means for identifying a slope of the first clock signal input to the first detection means and the second detection means;
First polarity inversion means for inverting the polarity of the detection result of the first detection means in accordance with the output of the first edge comparison means;
A second polarity inversion means for inverting the polarity of the detection result of the second detection means in accordance with the output of the first edge comparison means;
An analog hold value of the amplitude value of the first clock signal by selecting either the output value of the first polarity inverting means or the output value of the second polarity inverting means according to the polarity of the input data signal And a first phase comparator having first signal selection means for outputting
The digital hold phase comparison unit
A fifth phase delay that receives at least one of the first clock signal and the third clock signal as input and generates a second clock signal whose phase is delayed by 1/8 cycle from the input data signal. Means,
In the case of the full rate, the third clock signal is selected, and in the case of the half rate, the second clock signal generated by the fifth phase delay means is selected and used as a fifth clock signal. Sixth signal selection means for outputting;
Third detection means for detecting an amplitude of the fifth clock signal as a digital hold value at a falling timing of the input data signal;
Fourth detection means for detecting an amplitude of the fifth clock signal as a digital hold value at a rising timing of the input data signal;
Second edge comparison means for identifying the slope of the fifth clock signal input to the third detection means and the fourth detection means;
Third polarity inverting means for inverting the polarity of the detection result of the third detecting means in accordance with the output of the second edge comparing means;
A fourth polarity inversion means for inverting the polarity of the detection result of the fourth detection means in accordance with the output of the second edge comparison means; and a third polarity inversion means in accordance with the polarity of the input data signal. A second phase comparator having second signal selection means for selecting either an output value or an output value of the fourth polarity inverting means and outputting a digital hold value of the amplitude of the fifth clock signal A frequency / phase comparator comprising:
請求項5に記載の周波数/位相比較器において、
前記第1の位相比較器に含まれる前記第1のエッジ比較手段は、
前記第1のクロック信号の位相を遅延させる第1の位相遅延手段と、
前記入力データ信号の立ち下がりタイミングで前記第1の位相遅延手段の出力値を識別する第1の識別手段と、
前記入力データ信号の立ち上がりタイミングで前記第1の位相遅延手段の出力値を識別する第2の識別手段と
で構成され、
前記第1の位相比較器に含まれる前記第1の極性反転手段は、前記第1の識別手段の出力に応じて前記第1の検出手段の検出結果の極性を反転し、
前記第1の位相比較器に含まれる前記第2の極性反転手段は、前記第2の識別手段の出力に応じて前記第2の検出手段の検出結果の極性を反転し、
前記第2の位相比較器に含まれる前記第2のエッジ比較手段は、
前記第6の信号選択手段から出力された第5のクロック信号の位相を遅延させる第2の位相遅延手段と、
前記入力データ信号の立ち下がりタイミングで前記第2の位相遅延手段の出力値を識別する第3の識別手段と、
前記入力データ信号の立ち上がりタイミングで前記第2の位相遅延手段の出力値を識別する第4の識別手段と
で構成され、
前記第2の位相比較器に含まれる前記第3の極性反転手段は、前記第3の識別手段の出力に応じて前記第3の検出手段の検出結果の極性を反転し、
前記第2の位相比較器に含まれる前記第4の極性反転手段は、前記第4の識別手段の出力に応じて前記第4の検出手段の検出結果の極性を反転する
ことを特徴とする周波数/位相比較器。
The frequency / phase comparator according to claim 5,
The first edge comparison means included in the first phase comparator includes:
First phase delay means for delaying the phase of the first clock signal;
First identification means for identifying an output value of the first phase delay means at a falling timing of the input data signal;
A second identification means for identifying the output value of the first phase delay means at the rising timing of the input data signal;
The first polarity inversion means included in the first phase comparator inverts the polarity of the detection result of the first detection means according to the output of the first identification means,
The second polarity inversion means included in the first phase comparator inverts the polarity of the detection result of the second detection means according to the output of the second identification means,
The second edge comparison means included in the second phase comparator includes:
Second phase delay means for delaying the phase of the fifth clock signal output from the sixth signal selection means;
Third identifying means for identifying the output value of the second phase delay means at the falling timing of the input data signal;
And a fourth identification means for identifying the output value of the second phase delay means at the rising timing of the input data signal,
The third polarity inversion means included in the second phase comparator inverts the polarity of the detection result of the third detection means according to the output of the third identification means,
The fourth polarity inversion means included in the second phase comparator inverts the polarity of the detection result of the fourth detection means in accordance with the output of the fourth identification means. / Phase comparator.
JP2007079398A 2007-03-26 2007-03-26 Frequency / phase comparator Active JP4849470B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007079398A JP4849470B2 (en) 2007-03-26 2007-03-26 Frequency / phase comparator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007079398A JP4849470B2 (en) 2007-03-26 2007-03-26 Frequency / phase comparator

Publications (2)

Publication Number Publication Date
JP2008244605A JP2008244605A (en) 2008-10-09
JP4849470B2 true JP4849470B2 (en) 2012-01-11

Family

ID=39915438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007079398A Active JP4849470B2 (en) 2007-03-26 2007-03-26 Frequency / phase comparator

Country Status (1)

Country Link
JP (1) JP4849470B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001144607A (en) * 1999-11-12 2001-05-25 Anritsu Corp Signal generator
JP4007814B2 (en) * 2002-01-28 2007-11-14 三菱電機株式会社 Half-rate CDR circuit
JP4393111B2 (en) * 2003-05-27 2010-01-06 三菱電機株式会社 Half-rate CDR circuit
JP4708242B2 (en) * 2006-03-28 2011-06-22 三菱電機株式会社 Phase comparator

Also Published As

Publication number Publication date
JP2008244605A (en) 2008-10-09

Similar Documents

Publication Publication Date Title
US9520883B2 (en) Frequency detection circuit and reception circuit
JP4850473B2 (en) Digital phase detector
JP4163180B2 (en) Clock data recovery circuit
JP4077454B2 (en) Phase comparison circuit and clock recovery circuit
JP6839354B2 (en) CDR circuit and receiving circuit
US5297173A (en) Phase/frequency comparator for timing recovering circuit
JP4886276B2 (en) Clock data recovery device
JP2014187527A (en) Receiver circuit and control method therefor
JP2007067573A (en) Clock and data recovery circuit
KR20060125880A (en) Phase lock circuit and information reproduction device
US9225504B2 (en) Circuit and method for clock data recovery and circuit and method for analyzing equalized signal
US9455725B2 (en) Phase detector and associated phase detecting method
US20060120496A1 (en) Receiving apparatus
JP4708242B2 (en) Phase comparator
JP3623948B2 (en) Burst mode receiving apparatus resistant to noise and its clock signal and data recovery method
JP2013070323A (en) Cdr circuit and cdr method
JP6512011B2 (en) Receiver circuit
JP4849470B2 (en) Frequency / phase comparator
JP4331081B2 (en) Clock and data recovery circuit
JP6631117B2 (en) Semiconductor device, demultiplexer, semiconductor circuit, data processing method and inspection method
JP5097922B2 (en) Method for synchronous detection of amplitude modulation signal and rotation signal processor
JP6244722B2 (en) CDR circuit
JP6149594B2 (en) Receiver circuit
JP2005150890A (en) Phase comparator, phase locked loop circuit, and clock data recovery circuit
JP2008283539A (en) Clock reproducing device for multivalued signal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110901

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111012

R150 Certificate of patent or registration of utility model

Ref document number: 4849470

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250