JP2011139407A - Reception circuit - Google Patents
Reception circuit Download PDFInfo
- Publication number
- JP2011139407A JP2011139407A JP2010000185A JP2010000185A JP2011139407A JP 2011139407 A JP2011139407 A JP 2011139407A JP 2010000185 A JP2010000185 A JP 2010000185A JP 2010000185 A JP2010000185 A JP 2010000185A JP 2011139407 A JP2011139407 A JP 2011139407A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- output
- circuit
- data
- clocks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
本発明は、シリアル通信において、奇数番目、偶数番目のデータ幅が異なるなど信号波形が理想的な波形からずれた場合でもエラーレートを低減することができる受信回路に関する。 The present invention relates to a receiving circuit capable of reducing an error rate even when a signal waveform deviates from an ideal waveform, for example, in an odd-numbered and even-numbered data width in serial communication.
近年の大規模集積回路(以下、大規模LSIと略記する)間を送受信する信号のデータレートを向上させるために、従来のパラレル信号ではなくシリアル信号で送受信しようという試みが増えている。しかしシリコン金属酸化膜半導体(MOS)トランジスタを使ってシリアル通信の通信回路を構成する場合、トランジスタのスレショルド電圧がランダムにばらつくという現象により、伝送波形が理想的な波形からずれてしまうことが観測される。この不具合は統計的に発生するため、特に多数のシリアル信号を持つ大規模LSIのエラーレートを改善したい場合に大きな問題となる。そこで伝送波形のずれがあってもエラーレートが悪化しにくい通信用受信回路が求められている。 In recent years, in order to improve the data rate of signals transmitted / received between large-scale integrated circuits (hereinafter abbreviated as large-scale LSIs), attempts to transmit / receive using serial signals instead of conventional parallel signals are increasing. However, when a serial communication circuit is configured using silicon metal oxide semiconductor (MOS) transistors, it is observed that the transmission waveform deviates from the ideal waveform due to the phenomenon that the threshold voltage of the transistor varies randomly. The Since this defect occurs statistically, it becomes a serious problem particularly when it is desired to improve the error rate of a large-scale LSI having a large number of serial signals. Therefore, there is a demand for a communication receiving circuit that does not easily deteriorate the error rate even if there is a shift in the transmission waveform.
これらの対策として特許文献1には、パラレルシリアル変換回路と、シリアルパラレル変換回路においてクロック周波数の周波数比を可変とし、クロックに同期させてデータ変換させる技術が開示されている。特許文献2には、マンチェスタ符号化データを正しく復号し、復号結果の誤答率を低下させる技術が開示されている。特許文献3には、データ信号とクロックとを並行する2つの伝送路で送信し、クロックを可変遅延回路で遅延調整し、エラーレートが最小となる最適遅延時間に設定する技術が開示されている。特許文献4には、クロックのタイミングを調整することで、エラーレートを最小化する技術が開示されている。 As countermeasures against these problems, Patent Document 1 discloses a parallel-serial conversion circuit and a technique of changing the frequency ratio of clock frequencies in the serial-parallel conversion circuit and performing data conversion in synchronization with the clock. Patent Document 2 discloses a technique for correctly decoding Manchester encoded data and reducing the error rate of decoding results. Patent Document 3 discloses a technique in which a data signal and a clock are transmitted through two parallel transmission lines, the clock is delay-adjusted with a variable delay circuit, and an optimum delay time that minimizes the error rate is set. . Patent Document 4 discloses a technique for minimizing the error rate by adjusting the clock timing.
上記したように大規模LSIにおいては、トランジスタのばらつきにより伝送波形が理想的な波形からずれ、エラーレートが悪化するという問題がある。 As described above, in a large-scale LSI, there is a problem that a transmission waveform is deviated from an ideal waveform due to variations in transistors and an error rate is deteriorated.
本発明の第1の目的は、大規模LSIの製造ばらつき、トランジスタのランダムばらつき、電源ノイズ、信号ノイズによって、送信回路の基準信号と受信回路の基準信号が固定的にずれた場合や、時間的に変動する場合でも期待通りの送受信を行うことができる通信回路を提供することにある。本発明の第2の目的は、あらかじめ取り決めたデータパターンをつかったトレーニングによってエラーレートを最小化する学習回路を備えた受信回路を提供することにある。本発明の第3の目的は、あらかじめ取り決めたパターンによるトレーニングではなく、通常のデータ通信中にもエラーレートが最小になるよう動作パラメータを調整する受信回路を提供することにある。 The first object of the present invention is when the reference signal of the transmitting circuit and the reference signal of the receiving circuit are fixedly shifted due to manufacturing variations of large-scale LSI, random variations of transistors, power supply noise, and signal noise, It is an object of the present invention to provide a communication circuit capable of performing transmission / reception as expected even when it fluctuates. A second object of the present invention is to provide a receiving circuit including a learning circuit that minimizes an error rate by training using a predetermined data pattern. A third object of the present invention is to provide a receiving circuit that adjusts an operation parameter so that an error rate is minimized even during normal data communication, instead of training by a predetermined pattern.
本発明の1つの観点によれば、入力されたシリアルデータ信号を増幅するアンプ回路と、クロックを発生する回路と、前記クロックを分配するクロック分配回路と、前記クロック分配回路の出力からN相クロック(Nは4以上の整数)を発生する回路と、前記N相クロックを入力とし、第1〜第M*2のクロック(Mは2以上の整数)を出力する第1のセレクタと、前記N相クロックを入力とし、第M*2+1〜第M*4のクロックを出力する第2のセレクタと、前記第1〜第M*2のクロックをクロック入力とし、前記アンプ回路の出力をデータ入力とする第1〜第M*2のエッジ検出ラッチと、前記第M*2+1〜第M*4のクロックをクロック入力とし、前記アンプ回路の出力をデータ入力とする第M*2+1〜第M*4のデータ検出ラッチと、前記第1〜第M*2のエッジ検出ラッチの出力と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力を入力とし、前記第1のセレクタを制御する信号を出力する第1のエッジ判定論理と、前記第1〜第M*2のエッジ検出ラッチの出力と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力を入力とし、前記第2のセレクタを制御する信号を出力する第2のエッジ判定論理と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力とが入力され、シリアルデータ出力信号を出力する整列回路と、からなることを特徴とするシリアル信号受信回路が得られる。 According to one aspect of the present invention, an amplifier circuit that amplifies an input serial data signal, a circuit that generates a clock, a clock distribution circuit that distributes the clock, and an N-phase clock from the output of the clock distribution circuit (N is an integer equal to or greater than 4), a first selector that receives the N-phase clock and outputs first to M * 2 clocks (M is an integer equal to or greater than 2); A second selector that outputs the M * 2 + 1 to M * 4 clocks with the phase clock as an input; the first to M * 2 clocks as a clock input; and the output of the amplifier circuit as a data input. First to M * 2 edge detection latches and M * 2 + 1 to M * 4 clocks as clock inputs and M * 2 + 1 to M * 4 outputs from the amplifier circuit as data inputs. Data detection The output of the first to M * 2 edge detection latches, the output of the M * 2 + 1 to M * 4 data detection latches, and the output of the clock distribution circuit. A first edge determination logic for outputting a signal for controlling one selector; outputs of the first to M * 2 edge detection latches; and outputs of the M * 2 + 1 to M * 4 data detection latches. A second edge determination logic that receives an output of the clock distribution circuit and outputs a signal for controlling the second selector; an output of the M * 2 + 1 to M * 4 data detection latches; The serial signal receiving circuit is characterized by comprising an alignment circuit that receives the output of the clock distribution circuit and outputs a serial data output signal.
本発明の他の観点によれば、アンプ回路が入力されたシリアルデータ信号を増幅し、アンプ出力として出力し、多相クロック発生回路が前記シリアルデータ信号の有効期間のM*2倍((Mは2以上の整数)の期間を等分割するN相クロック(Nは4以上の整数)を発生し、第1のエッジ判定論理が、第1〜第M*2のエッジ検出ラッチの出力と第M*2+1〜第M*4のデータ検出ラッチの出力から、エッジ検出用クロックのエッジがシリアルデータ信号のエッジより早かったか遅かったかを判定し、両者の差が最も少なくなるように前記N相クロックのうちから、それぞれ第1〜第M*2のエッジ検出用クロックとして選択し、第1のセレクタが前記第1〜第M*2のエッジ検出用クロックを前記第1〜第M*2のエッジ検出ラッチに出力し、前記第1〜第M*2のエッジ検出ラッチのそれぞれがが、入力された前記第1〜第M*2のエッジ検出用クロックを用いて前記アンプ出力を取り込み、第2のエッジ判定論理が、前記第1〜第M*2のエッジ検出ラッチの出力と前記第M*2+1〜第M*4のデータ検出ラッチの出力から、データ検出用クロックのエッジがシリアルデータ信号の中央より早かったか遅かったかを判定し、両者の差が最も少なくなるように前記N相クロックのうちから、それぞれ第M*2+1〜第M*4のデータ検出用クロックとして選択し、第2のセレクタが、前記第M*2+1〜第M*4のデータ検出用クロックを前記第M*2+1〜第M*4のデータ検出ラッチに出力し、前記第M*2+1〜第M*4のデータ検出ラッチのそれぞれがが、入力された前記第M*2+1〜第M*4のデータ検出用クロックを用いて前記アンプ出力を取り込み、整列回路が、前記第M*2+1〜第M*4のデータ検出ラッチからの出力を、前記シリアルデータ信号のデータレートに応じて整列させ、シリアルデータ出力信号として出力することを特徴とする受信方式が得られる。 According to another aspect of the present invention, an amplifier circuit amplifies the input serial data signal and outputs it as an amplifier output, and the multiphase clock generator circuit M * 2 times the effective period of the serial data signal ((M Is an N-phase clock (N is an integer greater than or equal to 4), and the first edge determination logic determines whether the first to (M * 2) edge detection latch outputs From the output of the M * 2 + 1 to M * 4 data detection latches, it is determined whether the edge of the edge detection clock is earlier or later than the edge of the serial data signal, and the N-phase clock is minimized so that the difference between the two is minimized. Are selected as the first to M * 2 edge detection clocks, respectively, and the first selector uses the first to M * 2 edge detection clocks as the first to M * 2 edge clocks. Output to detection latch Then, each of the first to M * 2 edge detection latches takes in the amplifier output using the inputted first to M * 2 edge detection clocks, and outputs a second edge determination logic. However, from the outputs of the first to M * 2 edge detection latches and the outputs of the M * 2 + 1 to M * 4 data detection latches, was the edge of the data detection clock earlier than the center of the serial data signal? It is determined whether it is late or not, and the M * 2 + 1 to M * 4 data detection clocks are selected from the N-phase clocks so that the difference between them is minimized. M * 2 + 1 to M * 4 data detection clocks are output to the M * 2 + 1 to M * 4 data detection latches, and each of the M * 2 + 1 to M * 4 data detection latches Enter The amplifier output is captured using the M * 2 + 1 to M * 4 data detection clocks, and the alignment circuit outputs the output from the M * 2 + 1 to M * 4 data detection latches to the serial number. A reception method is obtained in which the data signals are aligned according to the data rate and output as a serial data output signal.
さらに本発明の他の観点によれば、入力されたシリアルデータ信号を増幅するアンプ回路と、クロックを発生する回路と、前記クロックを分配するクロック分配回路と、前記クロック分配回路の出力からN相クロック(Nは4以上の整数)を発生する回路と、前記N相クロックを入力とし、第1〜第Mのクロック(Mは2以上の整数)を出力する第1のセレクタと、前記N相クロックを入力とし、第M*2+1〜第M*3のクロックを出力する第2のセレクタと、前記第1〜第Mのクロックを入力とし第M+1〜第M*2のクロックを出力する第1〜第Mのインバータと、前記第M*2+1〜第M*3のクロックを入力とし第M*3+1〜第M*4のクロックを出力する第M+1〜第M*2のインバータと、前記第1〜第M*2のクロックをクロック入力とし、前記アンプ回路の出力をデータ入力とする第1〜第M*2のエッジ検出ラッチと、前記第M*2+1〜第M*4のクロックをクロック入力とし、前記アンプ回路の出力をデータ入力とする第M*2+1〜第M*4のデータ検出ラッチと、前記第1〜第M*2のエッジ検出ラッチの出力と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力を入力とし、前記第1のセレクタを制御する信号を出力する第1のエッジ判定論理と、前記第1〜第M*2のエッジ検出ラッチの出力と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力を入力とし、前記第2のセレクタを制御する信号を出力する第2のエッジ判定論理と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力とが入力され、シリアルデータ出力信号を出力する整列回路と、からなることを特徴とするシリアル信号受信回路が得られる。 According to still another aspect of the present invention, an amplifier circuit that amplifies an input serial data signal, a circuit that generates a clock, a clock distribution circuit that distributes the clock, and an N-phase output from the output of the clock distribution circuit A circuit that generates a clock (N is an integer of 4 or more), a first selector that receives the N-phase clock and outputs first to M-th clocks (M is an integer of 2 or more), and the N-phase A second selector that receives the clock and outputs the M * 2 + 1 to M * 3 clocks, and a first selector that outputs the M + 1 to M * 2 clocks that receive the first to Mth clocks. An M + 1 inverter, an M + 1 to M * 2 inverter that receives the M * 2 + 1 to M * 3 clocks and outputs an M * 3 + 1 to M * 4 clock, and the first ~ M * 2 clock The first to M * 2th edge detection latches having the lock input and the output of the amplifier circuit as the data input, and the M * 2 + 1 to M * 4 clocks as the clock input and the output of the amplifier circuit as the clock input The M * 2 + 1 to M * 4 data detection latches used as data inputs, the outputs of the first to M * 2 edge detection latches, and the M * 2 + 1 to M * 4 data detection latches. An output, a first edge determination logic that outputs a signal for controlling the first selector, and an output of the first to M * 2 edge detection latches; A second edge determination logic that receives the output of the M * 2 + 1 to M * 4 data detection latches and the output of the clock distribution circuit and outputs a signal for controlling the second selector; and the Mth * 2 + 1 to M * 4th The output of the over data detection latch, the output and the clock distribution circuit is inputted, the serial signal reception circuit, wherein the alignment circuit for outputting the serial data output signal, in that it consists of is obtained.
さらに本発明の他の観点によれば、入力されたシリアルデータ信号を増幅するアンプ回路と、クロックを発生する回路と、前記クロックを分配するクロック分配回路と、前記クロック分配回路の出力からN相クロック(Nは4以上の整数)を発生する回路と、前記N相クロックを入力とし、第1〜第Mのクロック(Mは2以上の整数)を出力する第1のセレクタと、前記N相クロックを入力とし、第M*2+1〜第M*4のクロックを出力する第2のセレクタと、前記第1〜第Mのクロックを入力とし第M+1〜第M*2のクロックを出力する第1〜第Mのインバータと、前記第M*2+1〜第M*3のクロックを入力とし第M*3+1〜第M*4のクロックを出力する第M+1〜第M*2のインバータと、前記第1〜第M*2のクロックをクロック入力とし、前記アンプ回路の出力をデータ入力とする第1〜第M*2のエッジ検出ラッチと、前記第M*2+1〜第M*4のクロックをクロック入力とし、前記アンプ回路の出力をデータ入力とする第M*2+1〜第M*4のデータ検出ラッチと、前記第1〜第M*2のエッジ検出ラッチの出力と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力を入力とし、前記第1のセレクタを制御する信号を出力する第1のエッジ判定論理と、前記第1〜第M*2のエッジ検出ラッチの出力と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力を入力とし、前記第2のセレクタを制御する信号を出力する第2のエッジ判定論理と、前記第M*2+1〜第M*4のデータ検出ラッチの出力と、前記クロック分配回路の出力とが入力され、シリアルデータ出力信号を出力する整列回路と、からなることを特徴とするシリアル信号受信回路が得られる。 According to still another aspect of the present invention, an amplifier circuit that amplifies an input serial data signal, a circuit that generates a clock, a clock distribution circuit that distributes the clock, and an N-phase output from the output of the clock distribution circuit A circuit that generates a clock (N is an integer of 4 or more), a first selector that receives the N-phase clock and outputs first to M-th clocks (M is an integer of 2 or more), and the N-phase A second selector that receives the clock and outputs the M * 2 + 1 to M * 4 clocks, and a first selector that receives the M + 1 to M * 2 clocks and receives the first to Mth clocks. An M + 1 inverter, an M + 1 to M * 2 inverter that receives the M * 2 + 1 to M * 3 clocks and outputs an M * 3 + 1 to M * 4 clock, and the first ~ M * 2 clock The first to M * 2th edge detection latches having the lock input and the output of the amplifier circuit as the data input, and the M * 2 + 1 to M * 4 clocks as the clock input and the output of the amplifier circuit as the clock input The M * 2 + 1 to M * 4 data detection latches used as data inputs, the outputs of the first to M * 2 edge detection latches, and the M * 2 + 1 to M * 4 data detection latches. An output, a first edge determination logic that outputs a signal for controlling the first selector, and an output of the first to M * 2 edge detection latches; A second edge determination logic that receives the output of the M * 2 + 1 to M * 4 data detection latches and the output of the clock distribution circuit and outputs a signal for controlling the second selector; and the Mth * 2 + 1 to M * 4th The output of the over data detection latch, the output and the clock distribution circuit is inputted, the serial signal reception circuit, wherein the alignment circuit for outputting the serial data output signal, in that it consists of is obtained.
本発明の効果は、送信波形に規則的な波形のずれが生じても、受信回路のデータ用クロックの位相を最適化することによりエラーレートを最小化できることにある。 The effect of the present invention is that the error rate can be minimized by optimizing the phase of the data clock of the receiving circuit even if a regular waveform shift occurs in the transmission waveform.
本発明の実施の形態について、図面を参照して詳細に説明する。本発明は、シリアル通信において、受信したシリアルデータ信号のデータ幅が異なるなど信号波形が理想的な波形からずれた場合にも、エラーレートを低減することができる受信回路に関するものである。 Embodiments of the present invention will be described in detail with reference to the drawings. The present invention relates to a receiving circuit capable of reducing an error rate even when a signal waveform deviates from an ideal waveform, for example, in a serial communication in which the data width of a received serial data signal is different.
本発明のシリアル信号受信回路は、アンプ回路、エッジ検出ラッチ、データ検出ラッチ、クロック発生回路、多相クロック発生回路、第1および第2のセレクタ、第1および第2のエッジ判定論理、整列回路を備える。アンプ回路は、シリアルデータ入力信号を受け取り、シリアルデータ入力信号に帯域制限をかけたり、受信したシリアルデータ信号を増幅したりする。エッジ検出ラッチおよびデータ検出ラッチは複数設けられており、それぞれ入力されるクロックにあわせてアンプ回路の出力を取り込み、“0”あるいは“1”を判定し出力する。クロック発生回路はデータレートの整数倍または整数分の1のクロックを発生する。多相クロック発生回路はクロックから多相クロックを発生する。 A serial signal receiving circuit of the present invention includes an amplifier circuit, an edge detection latch, a data detection latch, a clock generation circuit, a multiphase clock generation circuit, first and second selectors, first and second edge determination logic, and an alignment circuit. Is provided. The amplifier circuit receives the serial data input signal, limits the bandwidth of the serial data input signal, and amplifies the received serial data signal. A plurality of edge detection latches and data detection latches are provided. The output of the amplifier circuit is fetched in accordance with each input clock, and “0” or “1” is determined and output. The clock generation circuit generates a clock that is an integral multiple of the data rate or a fraction of an integer. The multiphase clock generation circuit generates a multiphase clock from the clock.
第1および第2のセレクタは、エッジ検出ラッチおよびデータ検出ラッチのそれぞれに供給するラッチ用クロックを多相クロックから選択する。第1および第2のエッジ判定論理は第1および第2のセレクタが多相クロックのうちの最適な相を選択できるように制御する。整列回路はデータ検出ラッチの出力をシリアルデータ入力信号のデータレートに合わせて並び替えシリアルデータ出力信号を出力する。またさらにエラーレート検出回路を備えることができ、エラーレート検出回路は整列回路の出力または、データ検出ラッチおよびエッジ検出ラッチの出力を観測してエラーレートを計算する。 The first and second selectors select a latch clock to be supplied to each of the edge detection latch and the data detection latch from the multiphase clock. The first and second edge determination logic controls the first and second selectors so as to select the optimum phase of the multiphase clock. The alignment circuit rearranges the output of the data detection latch in accordance with the data rate of the serial data input signal and outputs a serial data output signal. Furthermore, an error rate detection circuit can be provided, and the error rate detection circuit calculates the error rate by observing the output of the alignment circuit or the output of the data detection latch and the edge detection latch.
その結果から第1および第2のエッジ判定論理は、エラーレートが最小になるように、多相クロックのうちの最適な相を選択することができる。このようにM*2個のデータ検出ラッチがM*2を周期としてデータを取り込むが、シリアル送信信号に現れる周期的なデータが有効な時間幅のずれに対してデータ検出の契機となるクロックをエラーレートが最小になるよう調整する。 As a result, the first and second edge determination logic can select the optimum phase of the multiphase clock so that the error rate is minimized. In this way, M * 2 data detection latches take in data with M * 2 as a cycle, but the clock that triggers data detection for the deviation of the effective time width of the periodic data that appears in the serial transmission signal. Adjust to minimize the error rate.
図9〜図12に、受信回路におけるシリアルデータ信号とそれを受信するエッジ検出ラッチ、データ検出ラッチのクロックの相関関係を示すタイミング図を示す。高速シリアルデータ信号を送信する場合、送信回路が持つクロックのデューティ比が50:50から変動することにより、図9のシリアルデータ信号のように奇数番目と偶数番目のデータ有効期間が異なる波形になる場合が多い。例えば受信回路は、多相クロックのうちから最適なクロックを選択し、4組のエッジ検出ラッチ、4組のデータ検出ラッチをつかって受信する。この場合、図9のようにエッジ検出ラッチのクロック70〜73が真のデータのエッジからずれていても、各ずれ量a0〜a3がa0=a1=a2=a3となるようにエッジ検出ラッチのクロックの位相を調整する。さらにデータ検出ラッチのクロック80〜83がエッジ検出ラッチのクロック70〜73の立ち上がりエッジから有効期間の1/2で立上るように調整する。このようにエッジ検出ラッチと、データ検出ラッチのクロックを調整することで、全てのデータ検出ラッチはシリアルデータ信号の有効期間の中央を取り込み、エラーレートが最適となる。
9 to 12 are timing charts showing the correlation between the serial data signal in the receiving circuit, the edge detection latch that receives the serial data signal, and the clock of the data detection latch. When transmitting a high-speed serial data signal, the clock duty ratio of the transmission circuit varies from 50:50, so that the odd-numbered and even-numbered data valid periods have different waveforms as in the serial data signal of FIG. There are many cases. For example, the receiving circuit selects an optimum clock from among the multiphase clocks, and receives it using four sets of edge detection latches and four sets of data detection latches. In this case, as shown in FIG. 9, even if the
さらに高速なシリアルデータ信号を送信するために、4相クロックを用いてシリアルデータ信号を送信することがあるが、この場合は図10のように4周期毎にデータの有効期間が広い場合と狭い場合が発生する。等間隔なエッジ検出ラッチのクロック70〜73の立ち上がりエッジと真のシリアルデータ信号のエッジのずれc0〜c3をc0=c1+c2+c3となるように調整する。さらにデータ検出ラッチのクロック80〜83の立ち上がりエッジと、エッジ検出ラッチのクロック70〜73の立ち上がりエッジとの差が有効期間の1/2になるように調整する。このようにエッジ検出ラッチと、データ検出ラッチのラッチ用クロックを調整したとしても、図10の「最悪マージン」のようにシリアルデータ信号のエッジとデータ検出ラッチのクロックエッジが最も接近した箇所が発生し、エラーレートが悪化する。
In order to transmit a higher-speed serial data signal, the serial data signal may be transmitted using a four-phase clock. In this case, as shown in FIG. A case occurs. The shifts c0 to c3 between the rising edges of the
このような場合には、図11のようにエッジ検出ラッチのクロック70〜73のエッジが、シリアルデータ信号の真のエッジと揃うように調整するようにする。後述する図5〜7に示す受信回路は、エッジ検出ラッチのクロック70〜73の位相が等間隔でなくてもよい構成であり、個々のエッジに対応できる調整の手段を備えているものである。エッジ検出ラッチのクロック70〜73がシリアルデータ信号の真のエッジと揃うように調整するためには、エッジ検出ラッチが直前のデータを取り込んだか、直後のデータを取り込んだかを判定し、両者の頻度が等しくなるように調整する。図12のように直前のデータ側の真のエッジの幅と直後のデータ側のエッジの幅が異なる場合がある。図12に示すデータ検出ラッチのクロック81のように、エッジ検出ラッチクロック71とクロック72のエッジの差分の中央から意図的にずらした方が、エラーレートが改善する場合がある。図7に示す受信回路は、データ検出ラッチのクロック80〜83をエッジ検出ラッチのクロック71〜73のエッジからどのくらいずらせばエラーレートが最適となるかを測定する。エラーレートが最適になるデータ検出ラッチのクロック80〜83の位相を決定する手段を備えているものである。
In such a case, as shown in FIG. 11, the edges of the
本発明においては、M*2個のエッジ検出ラッチと、データ検出ラッチとを備え、多相クロックとしてN相のクロックを用いることとする。またさらに、L個の冗長なデータ検出ラッチを備え、(M*2+L)個のデータ検出ラッチとすることができる。受信回路をこのように構成し、エッジ検出ラッチと、データ検出ラッチのクロックを調整することでエラーレートを最適とすることができる。 In the present invention, M * 2 edge detection latches and data detection latches are provided, and an N-phase clock is used as a multiphase clock. Furthermore, L redundant data detection latches are provided, and (M * 2 + L) data detection latches can be provided. By configuring the receiving circuit in this way and adjusting the clocks of the edge detection latch and the data detection latch, the error rate can be optimized.
以下に、具体的な実施例を用いて本発明を実施するための最良の形態の構成及び動作を、M=2、N=64、L=1として説明する。しかし、M、N、LはM≧2、N≧4、L≧1を満たす整数であればそれ以外の値でも構わない。 In the following, the configuration and operation of the best mode for carrying out the present invention will be described using specific embodiments, assuming that M = 2, N = 64, and L = 1. However, M, N, and L may be other values as long as they are integers satisfying M ≧ 2, N ≧ 4, and L ≧ 1.
(実施例1)
図1は、本発明の第1の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜37、アンプ回路29、整列回路26、インバータ12〜15を備える。1ビットの受信回路112〜115は、同一の構成であり、それぞれに入力されるシリアルデータ入力信号90〜93と、出力されるアル出力信号95〜98信号が異なるだけであることから、1ビットの受信回路112のみの構成を図示、説明するものとする。
(Example 1)
FIG. 1 is a block diagram showing the overall configuration of a receiving circuit according to the first embodiment of the present invention. The reception circuit includes a
クロック発生回路10は、シリアルデータ入力信号のデータレートの整数倍または整数分の1のクロックを発生する。本発明ではシリアルデータ入力信号のデータレートと同じレートのクロックを発生させる。クロック分配回路11は、クロック発生回路10からのクロック40を1ビットの受信回路112〜115のそれぞれに分配する。
The
1ビットの受信回路112は、シリアルデータ入力信号90が入力され、シリアルデータ出力信号95を出力する。アンプ回路29は、シリアルデータ信号90を受け取り、増幅したアンプ出力信号99を、エッジ検出ラッチ回路30〜33、データ検出ラッチ回路34〜37に出力する。クロック分配回路20は、クロック分配回路11からのクロック41を入力され、クロック50を多相クロック発生回路21、エッジ判定論理24、25、整列回路26へ出力する。多相クロック発生回路21は、入力されたクロック50からシリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜663)を発生する。周期4(M*2)×分割数16相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いることとした。本実施例1においては、セレクタの出力するクロックをインバータ回路12〜15で反転させることから、前者32相のみを生成し、後者の32相は生成しなくてもよい。従って、図1では、32相の多相クロック(600〜631)が生成され、生成された多相クロックがセレクタ22、23に出力されている。
The 1-
エッジ判定論理24、25は、エッジ検出ラッチからの出力75〜78と、データ検出ラッチからの出力85〜88と、クロック50とを入力され、最適な多相クロックを選択するように、セレクタ22、23を調整する。セレクタ22は、エッジ判定論理24からの制御信号51に基づいて最適な多相クロックを選択し、エッジ検出ラッチ30、31、インバータ12、13に対しエッジ検出ラッチのラッチ用クロック70、71を出力する。クロック70と71は、シリアルデータ信号の有効期間と同じ期間ずれるよう調整されている。インバータ12、13は、入力されたエッジ検出ラッチのクロック70、71のそれぞれを反転し、エッジ検出ラッチのラッチ用クロック72、73として、エッジ検出ラッチ32、33に出力する。
The edge determination logics 24 and 25 receive the
セレクタ23は、エッジ判定論理25からの制御信号52に基づいて最適な多相クロックを選択し、データ検出ラッチ34、35、インバータ14、15に対しデータ検出ラッチのラッチ用クロック80、81を出力する。インバータ14、15は、入力されたデータ検出ラッチのラッチ用クロック80、81のそれぞれを反転し、データ検出ラッチのラッチ用クロック82、83として、データ検出ラッチ36、37に出力する。ここでは、インバータ12〜15を用いて、クロック70、71、80、81を反転したクロック72、73、82、83を発生している。しかし、1つの信号を2本以上の配線で実現する多線式論理を用いる場合は、第1〜4のインバータ12〜15が生成する信号は、多線信号のいずれかで代用し第1〜4のインバータを省略することができる場合がある。
The
エッジ検出ラッチ30〜33は、エッジ検出ラッチのラッチ用クロック70、71、72、73に基づいて、アンプ出力信号99をラッチする。データ検出ラッチ34〜37は、データ検出ラッチのラッチ用クロック80、81、82、83に基づいて、アンプ出力信号99をラッチする。またデータ検出ラッチのクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間の1/2ずれるよう調整されている。整列回路26は、データ検出ラッチ34〜37からの出力85〜88をクロック50に合わせて整列し、シリアルデータ出力信号95を出力する。
The edge detection latches 30 to 33 latch the
上記した受信回路の動作について、受信回路の基本動作について図8のタイミング図を見ながら説明する。タイミング図には、クロック50、多相クロック600〜631、シリアルデータ信号のアンプ出力信号99、エッジ用クロック70〜73、そのエッジ検出ラッチの出力75〜78、データ用クロック80〜83、そのデータ検出ラッチの出力85〜88、シリアルデータ出力信号95を示している。
Regarding the operation of the receiving circuit described above, the basic operation of the receiving circuit will be described with reference to the timing chart of FIG. In the timing diagram, the
クロック50は、シリアルデータ信号のデータレートと同じデータレートであり、多相クロック600〜631は、シリアルデータ信号の有効期間の4(=M*2)倍を周期としている。多相クロック600〜631は、シリアルデータ信号の有効期間の4倍のうちの前半2倍分に相当するものであり、残り後半の多相クロック632〜663は前半の多相クロック600〜631の反転信号であることから、図示していない。
The
1ビット受信回路112に入力されたシリアルデータ信号90はアンプ回路29で増幅されアンプ出力信号99となる。4個のエッジ検出ラッチ31〜33は、それぞれクロック70〜73により駆動されている。クロック70〜73は、それぞれシリアルデータ信号の有効期間と同じ期間ずれるよう調整されている。エッジ検出ラッチ31〜33からの出力75〜78は、クロックの立ち上がりエッジで取り込まれることから、シリアルデータ信号の有効期間の4(=M*2)倍を周期としている。
The serial data signal 90 input to the 1-
4個のデータ検出ラッチ34〜37は、それぞれクロック80〜83により駆動されている。図に示すようにクロック70〜73及びクロック80〜83のそれぞれは、シリアルデータ信号の有効期間とほぼ同じ期間ずれ、クロック70〜73と、クロック80〜83とは、シリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されている。しかしクロック70〜73及びクロック80〜83のそれぞれは、その位相差を独立して設定することもできる。データ検出ラッチ34〜37からの出力85〜88は、クロックの立ち上がりエッジで取り込まれることから、シリアルデータ信号の有効期間の4(=M*2)倍を周期としている。データ整列回路はデータ検出ラッチの出力85〜88を整列し、シリアルデータ出力信号95を出力する。
The four data detection latches 34 to 37 are driven by
第1のエッジ判定論理24は、データ検出ラッチの出力85〜88を観測し有効なエッジを検出する。またエッジ有効期間のエッジ検出ラッチの出力75〜78とデータ検出ラッチの出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか、遅かったかを判定する。4つのエッジ検出ラッチのクロックに対して早かったか、遅かったかを一定期間判定し、早かった場合と遅かった場合が同数になるようにセレクタ22を調整し、適切な多相クロックを選ぶ。同様に第2のエッジ判定論理は、セレクタ23を調整しセレクタ22の出力とセレクタ23の出力がシリアルデータ信号の有効期間の1/2ずれるように設定する。つまりエッジ検出ラッチのクロックは、シリアルデータ信号のエッジに同期できるようにシリアルデータ信号の有効期間ずれるように設定する。データ検出ラッチのクロックは、シリアルデータ信号の有効期間の中央に同期できるように、ラッチ検出ラッチのクロックよりシリアルデータ信号の有効期間の1/2ずれるように設定する。
The first
図9は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとの相関関係を示すタイミング図である。ここで図9〜12に示すシリアルデータ信号は、例えばアンプ出力99とする。またエッジ検出ラッチのクロック70〜73、データ検出ラッチのクロック80〜83は、クロックの立ち上がりエッジの位置を示している。第1、3番目のエッジ検出ラッチ30、32のクロック70、72はそれぞれa0、a2だけシリアルデータ信号のエッジより早く到達し、第2、4番目のエッジ検出ラッチ31、33のクロック71、73はa1、a3だけシリアルデータ信号のエッジより遅く到達している。シリアルデータ信号の奇数番目、偶数番目のデータ有効期間が異なる場合、a0=a2、a1=a3であり、エッジ検出ラッチのクロックが早い場合と遅い場合の出現数が同数、すなわちa0=a2=a1=a3となるようにエッジ判定論理はセレクタ22、23を調整する。このときデータ検出ラッチのクロックは図9のようにシリアルデータ信号の有効期間の中央に位置しており、エラーレートが最小になる。
FIG. 9 is a timing diagram showing the correlation among the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. Here, the serial data signal shown in FIGS. The edge detection latch clocks 70 to 73 and the data detection latch clocks 80 to 83 indicate the positions of the rising edges of the clocks. The
本実施例においては、シリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロックを用いる。多相クロック発生回路は、リアルデータ信号の有効期間の前半2倍周期分の多相クロックを発生させ、発生させた前半2倍周期分の多相クロックを反転させることで有効期間の後半2倍周期分の多相クロックとする。エッジ検出ラッチおよびデータ検出ラッチのクロックとして前半2倍周期分の多相クロックから選択し、後半2倍周期分の多相クロックは前半2倍周期分の多相クロックのインバータで反転させた信号とする。エッジ検出ラッチのクロックとシリアルデータ信号のエッジを合わせて、データ検出ラッチのクロックのエッジをシリアルデータ信号の有効期間の中央に位置させて、シリアルデータ信号を取り込む。本実施例によれば、シリアルデータ信号のエラーレートを小さくできる受信回路が得られる。 In the present embodiment, a multi-phase clock that uses 4 (= M * 2) times as long as the effective period of the serial data signal and divides the effective period of the serial data signal into 16 equal parts is used. The multi-phase clock generation circuit generates a multi-phase clock for the first half of the effective period of the real data signal and inverts the generated multi-phase clock for the first half of the period to double the second half of the effective period. A multi-phase clock for a period is used. The clock of the edge detection latch and the data detection latch is selected from the multiphase clock for the first half cycle, and the multiphase clock for the second half cycle is a signal inverted by the inverter of the multiphase clock for the first half cycle. To do. The edge of the edge detection latch is aligned with the edge of the serial data signal, and the edge of the clock of the data detection latch is positioned at the center of the valid period of the serial data signal to capture the serial data signal. According to the present embodiment, a receiving circuit capable of reducing the error rate of the serial data signal can be obtained.
(実施例2)
図2は、本発明の第2の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜37、アンプ回路29、整列回路26、インバータ12〜13を備える。
(Example 2)
FIG. 2 is a block diagram showing an overall configuration of a receiving circuit according to the second embodiment of the present invention. The reception circuit includes a
図2の示す受信回路の構成は、実施例1における図1に対して、データ検出ラッチへのクロックの供給手段が異なっている。実施例2においては、データ検出ラッチ36、37へのクロック82、83を供給するインバータ14、15が省略され、データ検出ラッチ34〜37へのクロック80〜83は、全て、セレクタ23から供給されている。実施例1におけるクロック80と82、81と83は、インバータで反転させることから固定された位相差を有し、自由な位相差を有するクロックの関係ではなかった。
The configuration of the receiving circuit shown in FIG. 2 differs from that in FIG. 1 in the first embodiment in the means for supplying the clock to the data detection latch. In the second embodiment, the
しかし、本実施例の多相クロック発生回路21は64相の多相クロック600〜663を発生し、セレクタ22、23に供給する。セレクタ22は実施例1と同じく、32相の多相クロック600〜631のなかから、2つのクロック70、71を選択し、インバータで反転させ、クロック72、73とする。一方セレクタ23では、64相の多相クロック600〜663のなかから、4つのクロック80〜83を選択する。そのためクロック80〜83は、全て独立して自由な位相差を有するクロックとすることができる。その他の構成は実施例1(図1)と同じであることから、その説明を省略する。
However, the multiphase
図2に示すシリアル信号受信回路の基本動作について図8、図10のタイミング図を参照して説明する。多相クロック発生回路10はシリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜631)を発生する。周期4(M*2)×分割数16相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いて発生することとした。そのため図8においては、前半32相のみを図示している。
The basic operation of the serial signal receiving circuit shown in FIG. 2 will be described with reference to the timing diagrams of FIGS. The multiphase
4個のエッジ検出ラッチ30〜33を備え、それぞれクロック70〜73により駆動されている。セレクタ22は64相クロックからクロック70、71を選択し出力する。クロック72、73は、インバータ12、13によりクロック70〜71を反転したクロックである。またクロック70と71はシリアルデータ信号の有効期間と同じ期間ずれるよう調整されている。またデータ検出ラッチのクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されているが、位相差は独立に調整できる。データ整列回路はデータ検出ラッチの出力85〜88を整列し、シリアルデータ出力信号95を出力する。
Four edge detection latches 30 to 33 are provided and driven by
また第1のエッジ判定論理24は、データ検出ラッチの出力85〜88を観測し有効なエッジを検出する。またエッジ有効期間のエッジ検出ラッチの出力75〜78とデータ検出ラッチの出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか遅かったかを判定する。4つのエッジ検出ラッチのクロックに対して早かったか、遅かったかを一定期間判定し、早かった場合と遅かった場合が同数になるようにセレクタ22を調整し、適切な多相クロックを選ぶ。同様に第2のエッジ判定論理25は、セレクタ23を調整しセレクタ22の出力とセレクタ23の出力が一定値の位相差になるように設定するが、位相差はシリアルデータ信号の有効期間の1/2に固定せず自由に選べるようにする。
The first
図10は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとのタイミングの相関関係を示す図である。第1のエッジ検出ラッチのクロックはc0だけシリアルデータ信号のエッジより早く到達し、第2、3、4番目のエッジ検出ラッチのクロックはc1、c2、c3だけシリアルデータ信号のエッジより遅く到達している。エッジ検出ラッチのクロックが早い場合と遅い場合の出現数が同数、すなわちc0=c1+c2+c3となるようにエッジ判定論理24、25はセレクタ22、23を調整する。
FIG. 10 is a diagram showing a correlation among timings of the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. The clock of the first edge detection latch arrives earlier than the edge of the serial data signal by c0, and the clocks of the second, third, and fourth edge detection latches arrive later than the edge of the serial data signal by c1, c2, and c3. ing. The edge determination logics 24 and 25 adjust the
このとき仮に、図10のようにデータ検出ラッチのクロックをエッジ検出ラッチからシリアルデータ信号の有効期間の1/2ずれるように設定すると、図中の「最悪マージン」のタイミングでデータ検出ラッチのクロックとシリアルデータ入力信号のエッジが接近し、エラーレートが悪化する。そこで、データ検出ラッチのクロック80〜83とエッジ検出ラッチのクロックの位相差をシリアルデータ信号の有効期間の1/2と固定せず、可変とする。例えばデータ検出ラッチのクロック82の位相を有効期間の1/2より早くし、シリアルデータ信号をラッチしやすくする。このようにデータ検出ラッチのクロックを、独立して調整することで、シリアルデータを確実の取り込むことでエラーレートを小さくすることができる。
At this time, if the data detection latch clock is set to be shifted from the edge detection latch by a half of the valid period of the serial data signal as shown in FIG. 10, the data detection latch clock at the timing of “worst margin” in the figure. The edge of the serial data input signal approaches and the error rate gets worse. Therefore, the phase difference between the
本実施例においては、データ検出ラッチのクロックとして4倍周期分の多相クロックから独立して自由に選択できる。エッジ検出ラッチのクロックとシリアルデータ信号のエッジを合わせて、データ検出ラッチのクロックのエッジをシリアルデータ信号の有効期間内の自由な位置とし、シリアルデータ信号を取り込む。本実施例によれば、シリアルデータ信号のエラ−レートを小さくできる受信回路が得られる。 In this embodiment, the clock for the data detection latch can be freely selected independently from the multiphase clock for a period of 4 times. The edge of the edge detection latch and the edge of the serial data signal are combined, and the edge of the clock of the data detection latch is set to a free position within the valid period of the serial data signal to capture the serial data signal. According to the present embodiment, a receiving circuit capable of reducing the error rate of the serial data signal can be obtained.
(実施例3)
図3は、本発明の第3の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜37、アンプ回路29、整列回路26、インバータ12〜13、エラーレート検出回路27を備える。
(Example 3)
FIG. 3 is a block diagram showing an overall configuration of a receiving circuit according to the third embodiment of the present invention. The reception circuit includes a
図3に示す受信回路の構成は、実施例2(図2)に対して、エラーレート検出回路27が追加されている。実施例3のエラーレート検出回路27は、整列回路26からのシリアルデータ出力信号95とクロック分配回路20からのクロック50とを入力とし、エッジ判定論理24、25へ出力する。エラーレート検出回路27は、シリアルデータ出力信号95を入力とし、エラーレート検出回路が持つ期待値を比較することでエラーレートを算出する。このエラーレートをエッジ判定論理24、25にフィードバックし、エッジ判定論理24、25が最適なクロックを選択する。その他の構成は実施例2(図2)と同じであることから、その説明を省略する。
In the configuration of the receiving circuit shown in FIG. 3, an error
図3に示すシリアル信号受信回路の基本動作について図8、図10のタイミング図を参照して説明する。多相クロック発生回路10は、シリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜631)を発生する。周期4(M*2)×分割数16相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いて発生することとした。そのため図8においては、前半32相のみを図示している。
The basic operation of the serial signal receiving circuit shown in FIG. 3 will be described with reference to the timing charts of FIGS. The multi-phase
4個のエッジ検出ラッチ30〜33を備え、それぞれクロック70〜73により駆動されている。セレクタ22は、64相クロックからクロック70、71を出力するが、クロック72〜73は、インバータ12、13によるクロック70〜71の反転信号である。またクロック70と71はシリアルデータ信号の有効期間と同じ期間ずれるよう調整されている。またデータ検出ラッチのクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されているが、位相差は独立に調整できる。データ整列回路26はデータ検出ラッチの出力85〜88を、クロック50に従って整列し、シリアルデータ出力信号95を出力する。
Four edge detection latches 30 to 33 are provided and driven by
第1のエッジ判定論理24は、データ検出ラッチ34〜37の出力85〜88を観測し有効なエッジを検出する。またエッジ有効期間のエッジ検出ラッチ30〜33の出力75〜78とデータ検出ラッチ34〜37の出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか遅かったかを判定する。4つのエッジ検出ラッチのクロックに対して早かったか、遅かったかを一定期間判定し、早かった場合と遅かった場合が同数になるようにセレクタ22を調整し、適切な多相クロックを選ぶ。同様に第2のエッジ判定論理25は、エラーレート検出回路27がセレクタ23を調整しセレクタ22の出力とセレクタ23の出力が一定値の位相差になるように設定するが、位相差はシリアルデータ信号の有効期間の1/2に固定することなく、エラーレートが最小になるよう設定する。
The first
図10は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとの相関関係を示すタイミング図である。第1のエッジ検出ラッチ24のクロックはc0だけシリアルデータ信号のエッジより早く到達し、第2、3、4番目のエッジ検出ラッチのクロックはc1、c2、c3だけシリアルデータ信号のエッジより遅く到達している。エッジ検出ラッチのクロックが早い場合と遅い場合の出現数が同数、すなわちc0=c1+c2+c3となるようにエッジ判定論理はセレクタ22、23を調整する。このとき仮に、図10のようにデータ検出ラッチのクロックをエッジ検出ラッチのクロックからシリアルデータ信号の有効期間の1/2ずれるように設定すると、図中の「最悪マージン」のタイミングでデータ検出ラッチのクロックとシリアルデータ入力信号のエッジが接近し、エラーレートが悪化する。そこで、データ検出ラッチのクロック80〜83とエッジ検出ラッチのクロック70〜73の位相差をシリアルデータ信号の有効期間の1/2と固定せず、可変とする。
FIG. 10 is a timing diagram showing the correlation among the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. The clock of the first
エラーレートが最小となるデータ検出ラッチのクロック80〜83とエッジ検出ラッチのクロック70〜73の位相差を求めるには以下の手順を行う。あらかじめ取り決めた送信データ列を繰り返し受信し、整列回路の出力とエラーレート検出回路が持つ期待値を比較することでエラーレートを算出する。次にデータ検出ラッチのクロック80とエッジ検出ラッチのクロック70〜73の位相差を変化させエラーレートが最小になる点を探す。続いてクロック81、82、83に対して同様の処理を行い、更に信号80、81、82、83に対して同様の処理を1回以上繰り返す。ただしそれまでに測定したエラーレートが所望の特性を達成している場合は省略することができる。
In order to obtain the phase difference between the
本実施例においてはエラーレート検出回路を備え、受信回路はあらかじめ取り決めた送信データ列を繰り返し受信し、整列回路の出力とエラーレート検出回路が持つ期待値を比較することでエラーレートを算出する。次にそれぞれのデータ検出ラッチのクロックとエッジ検出ラッチのクロックの位相差を変化させエラーレートが最小になる点を探す。本実施例によれば、シリアルデータ信号のエラーレートを小さくできる受信回路が得られる。 In this embodiment, an error rate detection circuit is provided, and the reception circuit repeatedly receives a predetermined transmission data string and compares the output of the alignment circuit with the expected value of the error rate detection circuit to calculate the error rate. Next, the phase difference between the clock of each data detection latch and the clock of the edge detection latch is changed to search for a point where the error rate is minimized. According to the present embodiment, a receiving circuit capable of reducing the error rate of the serial data signal can be obtained.
(実施例4)
図4は、本発明の第4の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜38、アンプ回路29、整列回路26、インバータ12〜13、エラーレート検出回路27を備える。
Example 4
FIG. 4 is a block diagram showing an overall configuration of a receiving circuit according to the fourth embodiment of the present invention. The reception circuit includes a
図4の示す受信回路の構成は、実施例3におけるブロック図3に対して、データ検出ラッチ38が追加されている。セレクタ23からはデータ検出ラッチ38用のクロック84が追加出力される。データ検出ラッチ38は、クロック84によりアンプ出力信号99を取り込み、出力89をエラーレート検出回路27に出力する。データ検出ラッチ38は冗長なデータ検出ラッチであり、この冗長なデータ検出ラッチと、本来のデータ検出ラッチとの位相差によるエラーレートを判定し、エラーレートを小さくするように最適なクロックの位相を調整する。冗長なデータ検出ラッチは、それぞれのデータ検出ラッチと比較調整することで、エラーレートを小さくできる。その他の構成は実施例3(図3)と同じであることから、その説明を省略する。
In the configuration of the receiving circuit shown in FIG. 4, a
図4に示すシリアル信号受信回路の基本動作について、図8、図10のタイミング図を参照して説明する。多相クロック発生回路10は、シリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜631)を発生する。周期4(M*2)×分割数16相の合計64相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いることとした。そのため図8においては、前半の2倍周期分である32相のみを図示している。
The basic operation of the serial signal receiving circuit shown in FIG. 4 will be described with reference to the timing diagrams of FIGS. The multi-phase
4個のエッジ検出ラッチを備え、それぞれクロック70〜73により駆動されている。セレクタ22は64相クロックからクロック70、71を発生するが、クロック72〜73はクロック70〜71の反転信号である。またクロック70と71はシリアルデータ信号の有効期間と同じ期間ずれるよう調整されている。またデータ検出ラッチのクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されているが、位相差は独立に調整できる。データ整列回路26はデータ検出ラッチの出力85〜88を整列し、シリアルデータ出力信号95を出力する。
Four edge detection latches are provided and driven by
第1のエッジ判定論理24は、データ検出ラッチ34〜37の出力85〜88を観測し有効なエッジを検出する。またエッジ有効期間のエッジ検出ラッチ30〜33の出力75〜78とデータ検出ラッチの出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか、遅かったかを判定する。4つのエッジ検出ラッチのクロックに対して早かったか、遅かったかを一定期間判定し、早かった場合と遅かった場合が同数になるようにセレクタ22を調整し、適切な多相クロックを選ぶ。同様に第2のエッジ判定論理25は、エラーレート検出回路27がセレクタ23を調整しセレクタ22の出力とセレクタ23の出力が一定値の位相差になるように設定するが、位相差はシリアルデータ信号の有効期間の1/2に固定せず、エラーレートが最小になるよう設定する。
The first
図10は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとの相関関係を示すタイミング図である。第1のエッジ検出ラッチ24のクロック70はc0だけシリアルデータ信号のエッジより早く到達し、第2、3、4番目のエッジ検出ラッチのクロック71、72、73はc1、c2、c3だけシリアルデータ信号のエッジより遅く到達している。エッジ検出ラッチのクロックが早い場合と遅い場合の出現数が同数、すなわちc0=c1+c2+c3となるようにエッジ判定論理はセレクタ22、23を調整する。このとき仮に、図10のように、データ検出ラッチのクロックをエッジ検出ラッチからシリアルデータ信号の有効期間の1/2ずれるように設定すると、図中の「最悪マージン」のタイミングでデータ検出ラッチのクロックとシリアルデータ入力信号のエッジが接近し、エラーレートが悪化する。そこで、データ検出ラッチのクロック80〜83とエッジ検出ラッチのクロック70〜73の位相差をシリアルデータ信号の有効期間の1/2と固定せず、可変とする。
FIG. 10 is a timing diagram showing the correlation among the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. The
エラーレートが最小となるデータ検出ラッチのクロック80〜83とエッジ検出ラッチのクロック70〜73の位相差を求めるには以下の手順を行う。受信回路はデータ列(あらかじめ取り決めた送信データ列である必要はない)を受信する。エラーレート検出回路27は、第2のエッジ判定論理25、第2のセレクタ23を介して冗長なデータ検出ラッチ38を駆動するクロック84の位相を早く、または遅くする。クロック84の位相を調整し、データ検出ラッチ34と冗長なデータ検出ラッチ38が同じ値を取り込むクロック84の位相範囲を判定する。クロック84の位相範囲の平均値または予め取り決めた値または割合だけ平均値から早めた、あるいは遅らせた位相にクロック80の位相を合わせる。このために予め定めた期間を要する。
In order to obtain the phase difference between the
次に、データ検出ラッチ35のクロックに対し、同様な位相合わせを行い、クロック84の位相範囲を判定し、その平均値または予め取り決めた値または割合だけ平均値から早めた、あるいは遅らせた位相にクロック81の位相を合わせる。続いてクロック82、83に対して同様の処理を行いクロック82、83の位相を更新する。更に信号80、81、82、83に対して同様の処理を1回以上繰り返す。ただしそれまでに測定したエラーレートが所望の特性を達成している場合は省略することができる。
Next, the same phase adjustment is performed on the clock of the
クロック84と冗長なデータ検出ラッチ38は一定期間またはエラーレートが所望の特性を達成するまで動作させるが、その後は停止してもよい。もしくは連続的または断続的に前記の手順を行うことで温度変化、経年変化によって生じるエラーレート劣化を改善するようクロック80〜83の位相を更新することができる。
The
本実施例は、冗長なデータ検出ラッチを設け、冗長なデータ検出ラッチと、本来のデータ検出ラッチとの位相差を判定し、最適なクロックの位相を調整することで、エラーレートを小さくしている。 In this embodiment, a redundant data detection latch is provided, the phase difference between the redundant data detection latch and the original data detection latch is determined, and the optimum clock phase is adjusted to reduce the error rate. Yes.
(実施例5)
図5は、本発明の第5の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜37、アンプ回路29、整列回路26を備える。
(Example 5)
FIG. 5 is a block diagram showing an overall configuration of a receiving circuit according to the fifth embodiment of the present invention. The reception circuit includes a
図5の示す受信回路の構成は、実施例1における図1に対して、エッジ検出ラッチとデータ検出ラッチへのクロックの供給手段が異なっている。実施例5においては、クロック72、73、82、83を供給するインバータ12、13、14、15が省略され、エッジ検出ラッチ30〜33と、データ検出ラッチ34〜37への全てのクロックは、セレクタ22、23から直接供給されている。本実施例の多相クロック発生回路21は64相の多相クロック600〜663を発生し、セレクタ22、23に供給する。セレクタ22、23は、64相の多相クロック600〜663のなかから、それぞれ4つのクロック70〜73、80〜83を選択する。そのためクロック70〜73、80〜83は、全て独立して自由な位相差を有するクロックとすることができる。その他の構成は実施例1(図1)と同じであることから、その説明を省略する。
The configuration of the receiving circuit shown in FIG. 5 differs from that shown in FIG. 1 in the first embodiment in the means for supplying clocks to the edge detection latch and the data detection latch. In the fifth embodiment, the
本実施例のエッジ検出ラッチとデータ検出ラッチのクロックは、全てセレクタ22、23から出力されており、すべて位相差が異なるクロックとして独立して、選択することができる。その他の構成は実施例1(図1)と同じであることから、その説明を省略する。
The clocks of the edge detection latch and the data detection latch of this embodiment are all output from the
図5に示すシリアル信号受信回路の基本動作について図8、図10のタイミング図を参照して説明する。多相クロック発生回路10は、シリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜631)を発生する。周期4(M*2)×分割数16相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いて発生することとした。そのため図8においては、前半32相のみを図示している。
The basic operation of the serial signal receiving circuit shown in FIG. 5 will be described with reference to the timing charts of FIGS. The multi-phase
4個のエッジ検出ラッチ30〜33を備え、それぞれクロック70〜73により駆動されている。クロック70〜73はシリアルデータ信号の有効期間とほぼ同じ期間ずれるよう調整されているが、位相差を独立に調整することができる。またデータ検出ラッチのクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されているが、位相差は独立に調整できる。データ整列回路26はデータ検出ラッチの出力85〜88を整列し、シリアルデータ出力信号95を出力する。
Four edge detection latches 30 to 33 are provided and driven by
また第1のエッジ判定論理24は、データ検出ラッチ34〜37の出力85〜88を観測し有効なエッジを検出する。またエッジ有効期間のエッジ検出ラッチの出力75〜78とデータ検出ラッチの出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか遅かったかを判定する。第2のエッジ判定論理25は、データ検出ラッチのクロック80〜83が、エッジ検出ラッチのクロック70〜73の中央より早かったか遅かったかを判定する。
The first
図10は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとの相関関係を示すタイミング図である。エッジ検出ラッチのクロック70〜73の位相差がシリアルデータのデータ有効期間と同じ値で固定の場合、エッジ検出ラッチ24の第1のクロックはc0だけシリアルデータ信号のエッジより早く到達している。エッジ検出ラッチ24の第2、3、4番目のクロックはc1、c2、c3だけシリアルデータ信号のエッジより遅く到達している(図10)。ここでエッジ検出ラッチのクロックを独立に調整し、c0=0、c1=0、c2=0、c3=0とすることで、シリアルデータ信号のエッジを正しく認識する。
FIG. 10 is a timing diagram showing the correlation among the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. When the phase difference between the
第2のエッジ判定論理25は、セレクタ23を調整し、エラーレートを最小化できるようにデータ検出ラッチ34〜37のクロック80〜83を設定する。クロック80〜83と、エッジ検出ラッチのクロック70〜73との位相差を、シリアルデータ信号の有効期間の半分、またはその半分から一定値もしくは一定割合早めの値、あるいは遅めの値になるように設定する。データ検出ラッチ34〜37のクロック80〜83がシリアルデータ信号の有効期間のほぼ中央になるように設定することでエラーレートを最小化できる。
The second
また図10で「最悪マージン」と書いたエッジ検出ラッチのクロックとデータ検出ラッチのクロックの位相差の最小値によってエラーレートが決まるため、全てのデータ検出ラッチのクロックの位相を最適化する必要はなく、最小となる隣接するエッジ検出用クロック位相差に挟まれたデータ検出ラッチのクロックに注力して最適化すればよい。 Further, since the error rate is determined by the minimum value of the phase difference between the clock of the edge detection latch and the clock of the data detection latch written as “worst margin” in FIG. 10, it is necessary to optimize the phases of the clocks of all the data detection latches. Instead, the optimization may be performed by focusing on the clock of the data detection latch sandwiched between adjacent minimum edge detection clock phase differences.
本実施例において、エッジ検出ラッチとデータ検出ラッチのクロックは、64相の多相クロックから選択され、セレクタ22、23から供給される。そのためクロックの位相が自由に最適化できることから、シリアルデータ信号のエッジを正しく認識できる。またデータ検出ラッチのクロックも、エッジ検出ラッチのクロックに対して自由に最適化できることからエラーレートを最小化できる。
In the present embodiment, the clocks of the edge detection latch and the data detection latch are selected from 64-phase multiphase clocks and supplied from the
(実施例6)
図6は、本発明の第6の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜37、アンプ回路29、整列回路26、エラーレート検出回路27を備える。
(Example 6)
FIG. 6 is a block diagram showing an overall configuration of a receiving circuit according to the sixth embodiment of the present invention. The reception circuit includes a
図6の示す受信回路の構成は、実施例5における図5に対して、エラーレート検出回路27が追加されている。エラーレート検出回路27は、整列回路26からのシリアルデータ出力信号95とクロック分配回路20からのクロック50とエッジ検出ラッチの出力75〜78とを入力とし、出力信号55をエッジ判定論理24、25へ出力する。その他の構成は実施例5(図5)と同じであることから、その説明を省略する。
In the configuration of the receiving circuit shown in FIG. 6, an error
図5に示すシリアル信号受信回路の基本動作について図8、図10のタイミング図を参照して説明する。多相クロック発生回路10は、シリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜631)を発生する。周期4(M*2)×分割数16相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いることとした。そのため図8においては、前半32相のみを図示している。
The basic operation of the serial signal receiving circuit shown in FIG. 5 will be described with reference to the timing charts of FIGS. The multi-phase
4個のエッジ検出ラッチを備え、それぞれクロック70〜73により駆動されている。クロック70〜73はシリアルデータ信号の有効期間とほぼ同じ期間ずれるよう調整されているが、位相差を独立に調整することができる。またデータ検出ラッチのクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されているが、位相差は独立に調整できる。データ整列回路はデータ検出ラッチの出力85〜88を整列し、シリアルデータ出力信号95を出力する。
Four edge detection latches are provided and driven by
第1のエッジ判定論理24は、データ検出ラッチの出力85〜88を観測し有効なエッジを検出する。また第1のエッジ判定論理24は、エッジ有効期間のエッジ検出ラッチの出力75〜78とデータ検出ラッチの出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか遅かったかを判定する。
The first
図10は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとの相関関係を示すタイミング図である。エッジ検出ラッチのクロック70〜73の位相差がシリアルデータのデータ有効期間と同じ値で固定の場合、エッジ検出ラッチの第1のクロックはc0だけシリアルデータ信号のエッジより早く到達し、エッジ検出ラッチの第2、3、4番目のクロックはc1、c2、c3だけシリアルデータ信号のエッジより遅く到達している(図10)。ここでエッジ検出ラッチのクロックを独立に調整し、c0=0、c1=0、c2=0、c3=0とすることでシリアルデータ信号のエッジを正しく認識する。
FIG. 10 is a timing diagram showing the correlation among the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. When the phase difference between the
第2のエッジ判定論理25は、セレクタ23を調整し、エラーレートを最小化できるようにデータ検出ラッチ34〜37のクロック80〜83を設定する。クロック80〜83と、エッジ検出ラッチのクロック70〜73との位相差を、シリアルデータ信号の有効期間の半分、またはその半分から一定値もしくは一定割合早めの値、あるいは遅めの値になるように設定する。データ検出ラッチ34〜37のクロック80〜83がシリアルデータ信号の有効期間のほぼ中央になるように設定することでエラーレートを最小化できる。
The second
エラーレートが最小となるデータ検出ラッチのクロック80〜83、エッジ検出ラッチのクロック70〜73の位相を求めるには以下の手順を行う。あらかじめ取り決めた送信データ列を繰り返し受信し、エッジ検出ラッチ30が取り込んだ出力信号75が、クロックエッジの前である頻度とクロックエッジの後である頻度が同じになるように第1のエッジ判定論理24はクロック70の位相を調整する。クロックエッジの前であるか、後であるかは出力信号75とデータ検出ラッチの出力信号85〜88を比較することで判断する。またデータ検出ラッチの出力信号85〜88を観測し、着目するエッジの前後でデータが変化しない場合はカウントしない。同様にクロック71〜73を調整する。
In order to obtain the phases of the
次に第2のエッジ判定論理25は、第1エッジ判定論理24と同様に出力信号75〜78、85〜88を観測する。データ検出ラッチに配るクロック80〜83の位相差が、エッジ検出ラッチのクロック70〜73からシリアルデータ信号の有効期間の半分、またはその半分から一定値もしくは一定割合早めの値、あるいは遅めの値になるように設定する。続いて信号80、81、82、83に対して同様の処理を1回以上繰り返す。ただしそれまでに測定したエラーレートが所望の特性を達成している場合は省略することができる。
Next, similarly to the first
エラーレート検出回路は、整列回路の出力とエラーレート検出回路が持つ期待値を比較することでエラーレートを算出し、エッジ判定論理24、25を制御する。エッジ検出ラッチのクロック70〜73とクロック80〜83の位相差(一定値もしくは一定割合)を調整することでエラーレートを改善することができる。
The error rate detection circuit calculates the error rate by comparing the output of the alignment circuit and the expected value of the error rate detection circuit, and controls the edge determination logics 24 and 25. The error rate can be improved by adjusting the phase difference (a constant value or a constant ratio) between the
本実施例においてはエラーレート検出回路を備え、受信回路はあらかじめ取り決めた送信データ列を繰り返し受信し、整列回路の出力とエラーレート検出回路が持つ期待値を比較することでエラーレートを算出する。次にそれぞれのデータ検出ラッチのクロックとエッジ検出ラッチのクロックの位相差を変化させエラーレートが最小になる点を探す。本実施例によれば、シリアルデータ信号のエラーレートが小さな受信回路が得られる。 In this embodiment, an error rate detection circuit is provided, and the reception circuit repeatedly receives a predetermined transmission data string and compares the output of the alignment circuit with the expected value of the error rate detection circuit to calculate the error rate. Next, the phase difference between the clock of each data detection latch and the clock of the edge detection latch is changed to search for a point where the error rate is minimized. According to this embodiment, a receiving circuit with a low error rate of the serial data signal can be obtained.
(実施例7)
図7は、本発明の第7の実施形態による受信回路の全体構成を示すブロック図である。受信回路は、クロック発生回路10、クロック分配回路11、1ビットの受信回路112〜115、シリアルデータ入力信号90〜93、シリアルデータ出力信号95〜98を備える。1ビットの受信回路112は、クロック分配回路20、多相クロック発生回路21、セレクタ22、23、エッジ判定論理24、25、エッジ検出ラッチ30〜33、データ検出ラッチ34〜38、アンプ回路29、整列回路26、エラーレート検出回路27を備える。
(Example 7)
FIG. 7 is a block diagram showing an overall configuration of a receiving circuit according to the seventh embodiment of the present invention. The reception circuit includes a
図7の示す受信回路の構成は、実施例6における図6に対して、データ検出ラッチ38が追加されている。セレクタ23からはデータ検出ラッチ38用のクロック84が追加出力される。データ検出ラッチ38は、クロック84によりアンプ出力信号99を取り込み、出力89をエラーレート検出回路27に出力する。データ検出ラッチ38は冗長なデータ検出ラッチであり、この冗長なデータ検出ラッチと、本来のデータ検出ラッチとの位相差によるエラーレートを判定し、エラーレートを小さくするように最適なクロックの位相を調整する。冗長なデータ検出ラッチは、それぞれのデータ検出ラッチと比較調整することで、エラーレートを小さくできる。その他の構成は実施例6(図6)と同じであることから、その説明を省略する。
In the configuration of the receiving circuit shown in FIG. 7, a
図7に示すシリアル信号受信回路の基本動作について図8、図10のタイミング図を参照して説明する。多相クロック発生回路10は、シリアルデータ信号の有効期間の4(=M*2)倍を周期とし、シリアルデータ信号の有効期間を16等分する多相クロック(600〜631)を発生する。周期4(M*2)×分割数16相のクロックを発生する必要があるが、ここでは半分の32相を生成し、残りの32相は前者32相の反転論理を用いることとした。図8には前半の32相の多相クロック(600〜631)のみを示している。
The basic operation of the serial signal receiving circuit shown in FIG. 7 will be described with reference to the timing charts of FIGS. The multi-phase
4個のエッジ検出ラッチ30〜33を備え、それぞれクロック70〜73により駆動されている。クロック70〜73はシリアルデータ信号の有効期間とほぼ同じ期間ずれるよう調整されているが、位相差を独立に調整することができる。またデータ検出ラッチ34〜37のクロック80〜83はクロック70〜73とシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されているが、位相差は独立に調整できる。またデータ検出ラッチ38は、調整用のための冗長なデータ検出ラッチである。データ整列回路はデータ検出ラッチの出力85〜88を整列し、シリアルデータ出力信号95を出力する。
Four edge detection latches 30 to 33 are provided and driven by
第1のエッジ判定論理24は、データ検出ラッチ34〜37の出力85〜88を観測し有効なエッジを検出する。また第1のエッジ判定論理24は、エッジ有効期間のエッジ検出ラッチの出力75〜78とデータ検出ラッチの出力85〜88からエッジ検出用クロックがシリアルデータ信号のエッジより早かったか、遅かったかを判定する。
The first
図10は、シリアルデータ信号と、エッジ検出ラッチのクロックと、データ検出ラッチのクロックとの相関関係を示すタイミング図である。エッジ検出ラッチ30〜33のクロック70〜73の位相差がシリアルデータのデータ有効期間と同じ値で固定の場合、第1のエッジ検出ラッチのクロック70はc0だけシリアルデータ信号のエッジより早く到達している。第2、3、4番目のエッジ検出ラッチのクロック71、72、73はc1、c2、c3だけシリアルデータ信号のエッジより遅く到達している(図10)。ここでエッジ検出ラッチのクロックを独立に調整し、c0=0、c1=0、c2=0、c3=0とすることでシリアルデータ信号のエッジを正しく認識する。
FIG. 10 is a timing diagram showing the correlation among the serial data signal, the clock of the edge detection latch, and the clock of the data detection latch. When the phase difference between the
第2のエッジ判定論理25は、セレクタ23を調整し、エラーレートを最小化できるようにデータ検出ラッチ34〜37のクロック80〜83を設定する。クロック80〜83と、エッジ検出ラッチのクロック70〜73との位相差を、シリアルデータ信号の有効期間の半分、またはその半分から一定値もしくは一定割合早めの値、あるいは遅めの値になるように設定する。データ検出ラッチ34〜37のクロック80〜83がシリアルデータ信号の有効期間のほぼ中央になるように設定することでエラーレートを最小化できる。
The second
エラーレートが最小となるデータ検出ラッチのクロック80〜83とエッジ検出ラッチのクロック70〜73の位相差を求めるには以下の手順を行う。まずエッジ検出ラッチ30が取り込んだ出力75が、クロックの前である頻度とクロックの後である頻度が同じになるように第1のエッジ判定論理はクロック70の位相を調整する。クロックの前であるか、後であるかはエッジ検出ラッチの出力75とデータ検出ラッチの出力85〜88を比較することで判断する。また出力85〜88を観測し、着目するエッジの前後でデータが変化しない場合はカウントしない。同様にクロック71〜73を調整する。
In order to obtain the phase difference between the
次にデータ列(あらかじめ取り決めた送信データ列である必要はない)を受信する。最初にデータ検出ラッチ34と冗長なデータ検出ラッチ38が同じ値を取り込むクロック84の位相範囲を判定する。エラーレート検出回路27は、第2のエッジ判定論理25、第2のセレクタ23を介して冗長なデータ検出ラッチ38を駆動するクロック84の位相を早くしたり、あるいは遅くしたり調整する。このようにエラーレート検出回路27は、データ検出ラッチ34と冗長なデータ検出ラッチ38が同じ値を取り込むクロック84の位相範囲を判定する。その平均値または予め取り決めた値または割合だけ平均値から早くしたり、あるいは遅くしたりした位相にクロック80の位相を合わせる。このために予め定めた期間を要する。
Next, a data string (not necessarily a predetermined transmission data string) is received. First, the phase range of the
次に、データ検出ラッチ35と冗長なデータ検出ラッチ38が同じ値を取り込むクロック84の位相範囲を判定する。冗長なデータ検出ラッチ38を駆動するクロック84の位相を早くしたり、あるいは遅くしたりしてデータ検出ラッチ35と冗長なデータ検出ラッチ38が同じ値を取り込むクロック84の位相範囲を判定する。その平均値または予め取り決めた値または割合だけ平均値から早くしたり、あるいは遅くしたりした位相にクロック81の位相を合わせる。続いてクロック82、83に対して同様の処理を行いクロック82、83の位相を更新する。更にクロック80、81、82、83に対して同様の処理を1回以上繰り返す。ただしそれまでに測定したエラーレートが所望の特性を達成している場合は省略することができる。
Next, the phase range of the
クロック84と冗長なデータ検出ラッチ38は一定期間またはエラーレートが所望の特性を達成するまで動作させるが、その後は停止してもよい。もしくは連続的または断続的に前記の手順を行うことで温度変化、経年変化によって生じるエラーレート劣化を改善するようクロック80〜83の位相を更新することができる。
The
本実施例では、さらに冗長なデータ検出ラッチを設け、冗長なデータ検出ラッチと、本来のデータ検出ラッチとの位相差を判定し、最適なクロックの位相を調整することで、エラーレートを小さくできる。本実施例によれば、シリアルデータ信号のエラーレートを小さくできる受信回路が得られる。 In this embodiment, a redundant data detection latch is further provided, and the error rate can be reduced by determining the phase difference between the redundant data detection latch and the original data detection latch and adjusting the optimum clock phase. . According to the present embodiment, a receiving circuit capable of reducing the error rate of the serial data signal can be obtained.
本発明の受信回路は、クロックから多相クロックを生成し、エッジ検出ラッチおよびデータ検出ラッチのクロックを生成した多相クロックから選択する。エッジ検出ラッチのクロックはシリアルデータ信号の有効期間とほぼ同じ期間ずれるよう調整される。またデータ検出ラッチのクロックは、エッジ検出ラッチのクロックとシリアルデータ信号の有効期間のほぼ1/2ずれるよう調整されている。 The receiving circuit of the present invention generates a multi-phase clock from the clock, and selects the multi-phase clock generated from the clocks of the edge detection latch and the data detection latch. The clock of the edge detection latch is adjusted so as to be shifted by substantially the same period as the valid period of the serial data signal. Further, the clock of the data detection latch is adjusted so as to deviate from the clock of the edge detection latch by approximately ½ of the effective period of the serial data signal.
M*2個のエッジ検出ラッチでシリアルデータ信号のエッジに合わせ、M*2個のデータ検出ラッチでシリアルデータ信号の有効期間のほぼ1/2の位置でデータをラッチする。M*2個データ検出ラッチが、M*2を周期としてデータを取り込むが、シリアルデータ信号に現れる周期的なデータが有効な時間幅のずれに対してデータ検出の契機となるクロックをエラーレートが最小になるよう調整する。整列回路はデータ検出ラッチの出力を入力シリアルデータ信号のデータレートに合わせて並び替え出力データ信号を出力する。 The M * 2 edge detection latches align with the edges of the serial data signal, and the M * 2 data detection latches latch data at a position approximately half the effective period of the serial data signal. The M * 2 data detection latch fetches data with M * 2 as the cycle, but the error rate is the clock that triggers the data detection for the time gap in which the periodic data appearing in the serial data signal is valid. Adjust to a minimum. The alignment circuit outputs a rearranged output data signal by matching the output of the data detection latch with the data rate of the input serial data signal.
またさらにエラーレート検出回路を備えることができる。エラーレート検出回路は、整列回路の出力または、データ検出ラッチおよびエッジ検出ラッチの出力を観測してエラーレートを計算することができる。このように、少なくともM*2個のエッジ検出ラッチとデータ検出ラッチを備え、M*2を周期としてデータを取り込むクロックを、多相クロックのなかから最適なクロックを選択することで、データエラーレートが小さな受信回路が得られる。 Furthermore, an error rate detection circuit can be provided. The error rate detection circuit can calculate the error rate by observing the output of the alignment circuit or the output of the data detection latch and the edge detection latch. As described above, the data error rate is obtained by selecting at least M * 2 edge detection latches and data detection latches, and selecting an optimum clock from among the multi-phase clocks for capturing data with M * 2 as a cycle. A small receiving circuit can be obtained.
本発明の効果は、送信波形に規則的な波形のずれが生じても、受信回路のデータ用クロックの位相を最適化することによりエラーレートを最小化できることにある。本発明の第2のセレクタはデータ用クロックを発生するが、従来はエッジ用の第1のセレクタと位相が180度ずれた位相を供給していた。しかし本発明では第2のセレクタと第1のセレクタの位相を自由に設定できるため、エラーレートを最適化できる。 The effect of the present invention is that the error rate can be minimized by optimizing the phase of the data clock of the receiving circuit even if a regular waveform shift occurs in the transmission waveform. The second selector of the present invention generates a data clock, but conventionally, the phase is 180 degrees out of phase with the edge first selector. However, in the present invention, the phase of the second selector and the first selector can be freely set, so that the error rate can be optimized.
また本発明では、第2のセレクタはデータ用ラッチに供給する全てのクロックの位相を独立に調整することもできるため、送信信号の理想波形からのずれにおいて様々なずれに対応することが可能であり、エラーレートを最小化することができる。 In the present invention, since the second selector can also independently adjust the phases of all the clocks supplied to the data latch, it is possible to cope with various deviations in the deviation of the transmission signal from the ideal waveform. Yes, the error rate can be minimized.
さらに本発明では、あらかじめ取り決めたトレーニングパターンを用いてエラーレートが最小となるデータ用クロックのエッジを探す手段を提供することができる。また通常の通信を行いながら、冗長に設けたラッチでエラーレートが最小となるデータ用クロックのエッジを探す手段を提供することができる。 Furthermore, the present invention can provide means for searching for the edge of the data clock that minimizes the error rate using a predetermined training pattern. It is also possible to provide means for searching for the edge of the data clock that minimizes the error rate with redundant latches while performing normal communication.
本発明においては、エッジ検出ラッチの数より少ないクロックを出力し、インバータで作成した(2線論理の場合は正負反転した)信号をエッジ検出ラッチに配ることでクロック数を削減することができる。さらに、それぞれエッジ検出ラッチに配られる全クロックの位相を独立に調整する手段を備えることができる。さらに、それぞれエッジ検出ラッチに配られる全クロックの位相を独立に調整する手段と、エッジ検出ラッチの出力を考慮しながらエラーレート検出を行うエラーレート検出回路を備えることができる。 In the present invention, the number of clocks can be reduced by outputting a smaller number of clocks than the number of edge detection latches and distributing a signal generated by an inverter (inverted in the case of two-wire logic) to the edge detection latches. Furthermore, it is possible to provide means for independently adjusting the phases of all the clocks distributed to the edge detection latches. Furthermore, it is possible to provide means for independently adjusting the phases of all the clocks distributed to the edge detection latches, and an error rate detection circuit for detecting the error rate while considering the output of the edge detection latch.
以上、実施の形態例、実施例として本願発明を説明したが、本願発明は上記の実施形態例に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で様々な変更をすることができる。 As described above, the present invention has been described as the embodiments and examples, but the present invention is not limited to the above embodiments. Various changes can be made to the configuration and details of the present invention within the scope of the present invention.
10 クロック発生回路
11、20 クロック分配回路
12、13、14、15 インバータ
21 多相クロック発生回路
22、23 セレクタ
24、25 エッジ判定論理
26 整列回路
27 エラーレート検出回路
29 アンプ回路
30、31、32、33 エッジ検出ラッチ
34、35、36、37、38 データ検出ラッチ
40、41、50 クロック
51、52 セレクタの制御信号
55 エラーレート検出回路の出力信号
600〜631 多相クロック
70、71、72、73 エッジ検出ラッチのクロック
75、76、77、78 エッジ検出ラッチの出力
80、81、82、83、84 データ検出ラッチのクロック
85、86、87、88、89 データ検出ラッチの出力
90、91、92、93 シリアルデータ入力信号
99 アンプ出力信号
95、96、97、98 シリアルデータ出力信号
112、113、114、115 1ビットシリアルデータ受信回路
DESCRIPTION OF
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010000185A JP5522372B2 (en) | 2010-01-04 | 2010-01-04 | Receiver circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010000185A JP5522372B2 (en) | 2010-01-04 | 2010-01-04 | Receiver circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011139407A true JP2011139407A (en) | 2011-07-14 |
JP5522372B2 JP5522372B2 (en) | 2014-06-18 |
Family
ID=44350351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010000185A Expired - Fee Related JP5522372B2 (en) | 2010-01-04 | 2010-01-04 | Receiver circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5522372B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019525595A (en) * | 2016-07-22 | 2019-09-05 | ノースロップ グラマン システムズ コーポレイションNorthrop Grumman Systems Corporation | Reciprocal quantum logic (RQL) serial data receiver system |
US10848241B2 (en) | 2013-12-18 | 2020-11-24 | Northrop Grumman Systems Corporation | Optical transceiver with variable data rate and sensitivity control |
US11569976B2 (en) | 2021-06-07 | 2023-01-31 | Northrop Grumman Systems Corporation | Superconducting isochronous receiver system |
-
2010
- 2010-01-04 JP JP2010000185A patent/JP5522372B2/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10848241B2 (en) | 2013-12-18 | 2020-11-24 | Northrop Grumman Systems Corporation | Optical transceiver with variable data rate and sensitivity control |
US11601197B2 (en) | 2013-12-18 | 2023-03-07 | Northrop Grumman Systems Corporation | Optical transceiver with variable data rate and sensitivity control |
JP2019525595A (en) * | 2016-07-22 | 2019-09-05 | ノースロップ グラマン システムズ コーポレイションNorthrop Grumman Systems Corporation | Reciprocal quantum logic (RQL) serial data receiver system |
US11569976B2 (en) | 2021-06-07 | 2023-01-31 | Northrop Grumman Systems Corporation | Superconducting isochronous receiver system |
Also Published As
Publication number | Publication date |
---|---|
JP5522372B2 (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6294691B2 (en) | Semiconductor device | |
KR100679258B1 (en) | Delay Lock loop circuits and method for transmitter core clock signals therefore | |
US8169247B2 (en) | Multiphase clock generation circuit | |
TWI467919B (en) | Multi-phase clock signal generating circuit having improved phase difference and a controlling method thereof | |
US20070177700A1 (en) | Clock and data recovery circuit | |
US9800436B2 (en) | Receiver and control method for receiver | |
US7839196B2 (en) | Multi-phase clock generation circuit having a low skew imprecision | |
JP4893052B2 (en) | Receiver circuit and receiver circuit test method | |
KR20170112674A (en) | Device for correcting multi-phase clock signal | |
JP2011155411A (en) | Parallel-serial converter | |
US8565362B2 (en) | Clock recovery apparatus | |
JP5522372B2 (en) | Receiver circuit | |
JP2012065094A (en) | Phase adjustment circuit, receiver, and communication system | |
KR101655877B1 (en) | Time digital converter | |
US7817764B2 (en) | System and method for utilizing a phase interpolator to support a data transmission procedure | |
JP2015046715A (en) | Communication circuit and information processing device | |
CN105261382B (en) | Output circuit | |
JP2007228145A (en) | Semiconductor integrated circuit | |
JP2008067400A (en) | Signal transmission system | |
US10033525B2 (en) | Transmission device and signal processing method | |
US20120195153A1 (en) | Semiconductor system and semiconductor apparatus | |
JP5609287B2 (en) | Delay circuit | |
US8199036B2 (en) | Parallel-serial converter | |
JP5378765B2 (en) | Data transfer system | |
JP5495779B2 (en) | Transmitting apparatus and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121207 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131025 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131030 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131227 |
|
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: 20140312 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140325 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5522372 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |