[go: up one dir, main page]

JP2007151155A - Clock duty detection and correction circuit - Google Patents

Clock duty detection and correction circuit Download PDF

Info

Publication number
JP2007151155A
JP2007151155A JP2007003156A JP2007003156A JP2007151155A JP 2007151155 A JP2007151155 A JP 2007151155A JP 2007003156 A JP2007003156 A JP 2007003156A JP 2007003156 A JP2007003156 A JP 2007003156A JP 2007151155 A JP2007151155 A JP 2007151155A
Authority
JP
Japan
Prior art keywords
clock
voltage
output
duty
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007003156A
Other languages
Japanese (ja)
Other versions
JP4398475B2 (en
Inventor
Akio Sasai
明夫 笹井
Takashi Shinohara
隆 篠原
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 JP2007003156A priority Critical patent/JP4398475B2/en
Publication of JP2007151155A publication Critical patent/JP2007151155A/en
Application granted granted Critical
Publication of JP4398475B2 publication Critical patent/JP4398475B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pulse Circuits (AREA)

Abstract

【課題】この発明は、クロックのデューティの変動を自動的に検出し、これを補正することを目的とし、さらにクロック波形に変動や歪み等が生じる場合においても正確に受信クロックのデューティを補正し良好なクロックを後段回路に供給するデューティ検出および補正回路を提供することを目的とする。
【解決手段】クロックの電圧レベルが第1の電圧レベルから第2の電圧レベルに遷移する第1の遷移点とクロックの電圧レベルが第2の電圧レベルから第1の電圧レベルに遷移する第2の遷移点とが略一致するような遅延量を与えてクロックを遅延させる遅延回路を設け、クロックの第2の遷移点と遅延量により遅延されたクロックの第1の遷移点との位相差に基づいてクロックのデューティの変動を検出し、上記位相差に基づいてクロック生成回路の基準電圧を調整してデューティの補正を行う。
【選択図】図5
An object of the present invention is to automatically detect and correct a clock duty variation, and to accurately correct a received clock duty even when a variation or distortion occurs in a clock waveform. An object of the present invention is to provide a duty detection and correction circuit that supplies a good clock to a subsequent circuit.
A first transition point at which a clock voltage level transits from a first voltage level to a second voltage level, and a second at which a clock voltage level transits from a second voltage level to a first voltage level. A delay circuit is provided that delays the clock by giving a delay amount that substantially matches the transition point of the clock, and a phase difference between the second transition point of the clock and the first transition point of the clock delayed by the delay amount is provided. Based on this, a variation in the duty of the clock is detected, and the reference voltage of the clock generation circuit is adjusted based on the phase difference to correct the duty.
[Selection] Figure 5

Description

この発明はクロックのデューティ検出及び補正技術に関するものである。   The present invention relates to a clock duty detection and correction technique.

図13は、一般的なクロックのデューティ補正回路である。1はクロックの送信部であり、基準周波数の電圧信号を発振する発振器2、後述する電圧比較器4に入力される基準電圧を発生する可変基準電圧発生回路3、発振器2の出力と可変基準電圧発生回路3から出力される基準電圧とを入力とする電圧比較器4、電圧比較器4の出力を入力とするバッファ5により構成される。6はクロックの受信部であり、バッファ5の出力を入力とするバッファ7、バッファ7から出力されるクロックを後段の回路へ出力する出力端子8により構成される。   FIG. 13 shows a general clock duty correction circuit. Reference numeral 1 denotes a clock transmission unit, which includes an oscillator 2 that oscillates a voltage signal of a reference frequency, a variable reference voltage generation circuit 3 that generates a reference voltage to be input to a voltage comparator 4 to be described later, and an output and a variable reference voltage The voltage comparator 4 is supplied with the reference voltage output from the generation circuit 3 and the buffer 5 is supplied with the output of the voltage comparator 4 as input. Reference numeral 6 denotes a clock receiver, which includes a buffer 7 that receives the output of the buffer 5 and an output terminal 8 that outputs a clock output from the buffer 7 to a subsequent circuit.

発振器2から発振される基準周波数の電圧信号は、電圧比較器4によって可変基準電圧発生回路3から出力される基準電圧と比較され2値のクロックに変換される。電圧比較器4から出力されるクロックはバッファ5を経由してクロックの送信部1から出力される。送信部1から出力されたクロックはクロック受信部6でバッファ7を経由して受信され、出力端子8から後段回路に供給される。
このとき後段回路に供給されるクロックには、発振器での歪み、電圧オフセット、送受信バッファにおける信号のハイレベルからローレベルへの遅延時間およびローレベルからハイレベルへの遅延時間の差、伝送路による歪み等の影響等によりデューティ比に変動が発生じる。後段回路に供給されるクロックのデューティが許容範囲を超えて変動すると後段回路の正常な動作に影響が生じるため、クロックの受信部6内にあるバッファ7から出力されるクロックをオシロスコープ等で観測し、可変基準電圧発生回路3から出力される基準電圧を調整することにより、クロックのデューティ比が補正される。この様子を図14に示す。図14に示すように、基準電圧の大きさを調整することにより電圧比較器4から出力されるクロックのデューティが調整される。
The voltage signal of the reference frequency oscillated from the oscillator 2 is compared with the reference voltage output from the variable reference voltage generating circuit 3 by the voltage comparator 4 and converted into a binary clock. The clock output from the voltage comparator 4 is output from the clock transmission unit 1 via the buffer 5. The clock output from the transmission unit 1 is received by the clock reception unit 6 via the buffer 7 and supplied from the output terminal 8 to the subsequent circuit.
At this time, the clock supplied to the subsequent circuit includes distortion in the oscillator, voltage offset, delay time from the high level to the low level of the signal in the transmission / reception buffer, the difference in delay time from the low level to the high level, and the transmission path. The duty ratio fluctuates due to the influence of distortion or the like. If the duty of the clock supplied to the post-stage circuit fluctuates beyond the allowable range, the normal operation of the post-stage circuit is affected. Therefore, the clock output from the buffer 7 in the clock receiver 6 is observed with an oscilloscope or the like. The clock duty ratio is corrected by adjusting the reference voltage output from the variable reference voltage generating circuit 3. This is shown in FIG. As shown in FIG. 14, the duty of the clock output from the voltage comparator 4 is adjusted by adjusting the magnitude of the reference voltage.

上記のようなクロックのデューティ補正回路では、クロックの受信部6内にあるバッファから出力される受信クロックをオシロスコープで観測し、受信クロックのデューティが所定値となるように可変基準電圧発生回路3から出力される基準電圧を調整しなければならず、調整作業には大きな工数を必要とする問題があった。また、クロックのデューティを上述のような方法で調整しても、発振器や送受信バッファ等の温度ドリフト、電源電圧の変動、伝送路の周辺条件の変化による信号の歪み及び遅延変動等の影響によりデューティに変動が生じる。また、クロックのデューティを先に述べた方法で調整しても、可変基準電圧発生回路3等の経年変化によってデューティがずれ、再調整を要する問題があった。   In the clock duty correction circuit as described above, the reception clock output from the buffer in the clock reception unit 6 is observed with an oscilloscope, and the variable reference voltage generation circuit 3 is configured so that the duty of the reception clock becomes a predetermined value. The output reference voltage has to be adjusted, and the adjustment work has a problem that requires a large number of man-hours. Even if the clock duty is adjusted by the method described above, the duty is affected by the effects of temperature drift of oscillators, transmission / reception buffers, etc., fluctuations in power supply voltage, signal distortion and delay fluctuations due to changes in peripheral conditions of the transmission line, etc. Variation occurs. Further, even if the clock duty is adjusted by the method described above, there is a problem that the duty is shifted due to aging of the variable reference voltage generating circuit 3 and the like, and readjustment is required.

こうした受信クロックのデューティの変動を自動的に補正する方法として、受信クロックとこの受信クロックを反転させた反転クロックをそれぞれローパスフィルタにより平滑化した電圧の差分値をクロックの送信部に帰還し、この差分が0になるように送信クロックを調整することによりデューティを補正する方法が紹介されている。(特許文献1参照)
特開平5−252007号公報
As a method for automatically correcting the fluctuation of the duty of the reception clock, a difference value between the reception clock and the inverted clock obtained by inverting the reception clock is smoothed by a low-pass filter and fed back to the clock transmission unit. A method of correcting the duty by adjusting the transmission clock so that the difference becomes 0 is introduced. (See Patent Document 1)
JP-A-5-252007

特許文献1に示す方法では、電源電圧の変動により受信クロックのハイレベルまたはローレベル電圧が変化した場合、また伝送路の周辺条件により受信クロック波形に歪みが生じた場合、クロックの送信部に帰還される差分値も変動するため検出精度が悪化し、正確に受信クロックのデューティの変動を補正することができないという問題があった。   In the method shown in Patent Document 1, when the high level or low level voltage of the reception clock changes due to fluctuations in the power supply voltage, or when the reception clock waveform is distorted due to the peripheral conditions of the transmission line, the feedback is sent back to the clock transmission unit. Since the difference value also fluctuates, the detection accuracy deteriorates, and there is a problem that the fluctuation of the duty of the reception clock cannot be corrected accurately.

この発明は、上述のような問題を解消するためになされたもので、クロックのデューティの変動を自動的に検出し、これを補正することを目的とし、さらにクロック波形に変動や歪み等が生じる場合においても正確に受信クロックのデューティを補正し良好なクロックを後段回路に供給するデューティ検出および補正回路を提供することを目的とする。   The present invention has been made to solve the above-described problems, and is intended to automatically detect and correct a variation in clock duty, and further causes variation and distortion in the clock waveform. Even in such a case, an object is to provide a duty detection and correction circuit that accurately corrects the duty of a reception clock and supplies a good clock to a subsequent circuit.

この発明によるクロックデューティ検出回路は、発振器から発振される電圧信号と前記電圧信号の振幅電圧の最大値から最小値の間に設定される基準電圧とを比較して第1の電圧レベルと第2の電圧レベルの両レベルを有するクロックを生成するクロック生成回路と、前記クロックの電圧レベルが前記第1の電圧レベルから前記第2の電圧レベルに遷移する第1の遷移点と前記クロックの電圧レベルが前記第2の電圧レベルから前記第1の電圧レベルに遷移する第2の遷移点とが略一致するような遅延量を与えて前記クロックを遅延させる遅延回路とを備え、前記クロックの第2の遷移点と前記遅延量により遅延された前記クロックの第1の遷移点との位相差に基づいて前記クロックのデューティの変動を検出するものである。   The clock duty detection circuit according to the present invention compares a voltage signal oscillated from an oscillator with a reference voltage set between the maximum value and the minimum value of the amplitude voltage of the voltage signal, and compares the first voltage level and the second voltage level. A clock generation circuit for generating a clock having both of the first voltage level, a first transition point at which the voltage level of the clock transitions from the first voltage level to the second voltage level, and a voltage level of the clock Includes a delay circuit that delays the clock by providing a delay amount that substantially matches a second transition point that transitions from the second voltage level to the first voltage level. Variation of the clock duty is detected based on the phase difference between the first transition point of the clock delayed by the delay amount and the first transition point of the clock.

この発明によるクロックデューティ補正回路は、クロックデューティ検出回路を含み、クロック生成回路から出力されるクロックの第1の遷移点と遅延回路により遅延される前記クロックの第2の遷移点とが略一致する点を始点として前記クロックの第2の遷移点に対する前記遅延回路により遅延された前記クロックの第1の遷移点の位相の遅れ量または進み量を表す電圧信号を出力する位相差検出回路を備え、前記位相差検出回路から出力される電圧信号に基づいて基準電圧を調整することにより前記クロックのデューティを補正するものである。   The clock duty correction circuit according to the present invention includes a clock duty detection circuit, and the first transition point of the clock output from the clock generation circuit substantially coincides with the second transition point of the clock delayed by the delay circuit. A phase difference detection circuit that outputs a voltage signal representing a phase delay amount or advance amount of the first transition point of the clock delayed by the delay circuit with respect to a second transition point of the clock from a point as a starting point; The duty of the clock is corrected by adjusting a reference voltage based on a voltage signal output from the phase difference detection circuit.

この発明によるクロックデューティ検出回路は、第1の電圧レベルと第2の電圧レベルの両レベルを有するクロックをその電圧レベルが第1の電圧レベルから第2の電圧レベルに遷移する第1の遷移点と第2の電圧レベルから第1の電圧レベルに遷移する第2の遷移点とが略一致するような遅延量を与えて遅延させ、クロックの第2の遷移点と遅延されたクロックの第1の遷移点との位相差に基づいてクロックのデューティの変動を検出する構成としたので、クロック電圧のレベル変動、信号波形の歪み等によるよる検出精度の悪化を低減することができる。   The clock duty detection circuit according to the present invention has a first transition point at which a clock having both a first voltage level and a second voltage level transitions from a first voltage level to a second voltage level. And a second transition point that makes a transition from the second voltage level to the first voltage level are delayed by giving a delay amount so that the second transition point substantially coincides with the second transition point. Since the clock duty variation is detected based on the phase difference from the transition point, the deterioration in detection accuracy due to clock voltage level variation, signal waveform distortion, and the like can be reduced.

また、この発明によるクロックデューティ補正回路は、発振器から発振される電圧信号とこの電圧信号の最大値から最小値の間に設定される基準電圧とを比較して生成される第1の電圧レベルと第2の電圧レベルの両レベルを有するクロックを、その電圧レベルが第1の電圧レベルから第2の電圧レベルに遷移する第1の遷移点と、第2の電圧レベルから第1の電圧レベルに遷移する第2の遷移点とが略一致するような遅延量を与えて遅延させ、クロックの第1の遷移点と遅延されたクロックの第2の遷移点とが略一致する点を始点として、クロックの第2の遷移点に対する遅延されたクロックの第1の遷移点の位相の遅れ量または進み量を表す電圧信号に基づいて基準電圧を調整するので、クロックのデューティの変動を自動的に補正することができる。   The clock duty correction circuit according to the present invention includes a first voltage level generated by comparing a voltage signal oscillated from an oscillator and a reference voltage set between a maximum value and a minimum value of the voltage signal. A clock having both levels of the second voltage level is shifted from the first voltage level to the second voltage level, and from the second voltage level to the first voltage level. Delaying by giving a delay amount that substantially matches the second transition point that makes the transition, and starting from the point that the first transition point of the clock and the second transition point of the delayed clock substantially match, The reference voltage is adjusted based on the voltage signal representing the phase lag or advance amount of the delayed first clock transition point relative to the second clock transition point, so that the clock duty variation is automatically corrected. Do Door can be.

以下、この発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1はこの発明の実施の形態1によるクロックのデューティ検出及び補正回路を示すものである。同図において、1はクロックの送信部であり、2は基準周波数の電圧信号を発振する発振器、4は発振器1の出力と後述する上下限回路18から出力される基準電圧を入力とする電圧比較器、5は電圧比較器4の出力を入力とするバッファにより構成される。6はクロックの受信部であり、7はバッファ5の出力を入力とするバッファ、8はバッファ7の出力であるクロックを後段の回路へ出力する出力端子、9はバッファ7の出力を遅延する遅延回路、10は遅延回路9の出力を入力とするドライバ、11はバッファ7の出力とドライバ10の非反転出力を入力とする第1のサンプルホールド回路、12はバッファ7の出力とドライバ10の反転出力を入力とする第2のサンプルホールド回路、13、14は第1のサンプルホールド回路と第2のサンプルホールド回路の出力を抵抗加算する抵抗、15はバッファ7の出力を入力とするローパスフィルタ、16は抵抗13,14の加算出力とローパスフィルタ15の出力を入力とする電圧比較器、17は電圧比較器16の出力を入力とする積分回路、18は積分回路17の出力を入力とする上下限回路である。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
Embodiment 1 FIG.
FIG. 1 shows a clock duty detection and correction circuit according to Embodiment 1 of the present invention. In the figure, 1 is a clock transmission unit, 2 is an oscillator that oscillates a voltage signal of a reference frequency, 4 is a voltage comparison using an output of the oscillator 1 and a reference voltage output from an upper / lower limit circuit 18 described later as inputs. The comparator 5 is constituted by a buffer that receives the output of the voltage comparator 4 as an input. Reference numeral 6 denotes a clock receiving unit, 7 is a buffer that receives the output of the buffer 5, 8 is an output terminal that outputs a clock that is the output of the buffer 7 to a subsequent circuit, and 9 is a delay that delays the output of the buffer 7. Circuit 10 is a driver that receives the output of delay circuit 9, 11 is a first sample hold circuit that receives the output of buffer 7 and the non-inverted output of driver 10, and 12 is the output of buffer 7 and the inverse of driver 10. A second sample-and-hold circuit that receives the output, 13 and 14 are resistors that add the outputs of the first and second sample-and-hold circuits, and 15 is a low-pass filter that receives the output of the buffer 7. Reference numeral 16 denotes a voltage comparator that receives the output of the resistors 13 and 14 and the output of the low-pass filter 15. Reference numeral 17 denotes an integration circuit that receives the output of the voltage comparator 16. 18 is a lower limit circuit over which receives the output of the integrating circuit 17.

発振器2で発振された基準周波数の電圧信号は、電圧比較器4により後述する上下限回路18から出力された基準電圧と電圧比較され、2値のクロックに変換される。電圧比較器4から出力されるクロックは、バッファ5を経由してクロックの送信部1から出力される。送信部1から出力されるクロックはクロック受信部6でバッファ7を経由して受信され、出力端子8から後段回路に供給される。遅延回路9はバッファ7から出力される受信クロックを後述する第1のサンプルホールド回路11及び第2のサンプルホールド回路12におけるホールドセットアップ時間より十分長くかつクロックのハイレベル期間あるいはローレベル期間より十分短い時間遅延させる。遅延回路9から出力される遅延クロックはドライバ10に入力され、ドライバ10は遅延クロックの反転出力および比反転出力をそれぞれ出力する。第1のサンプルホールド回路11及び第2のサンプルホールド回路12はそれぞれドライバ10から出力される遅延クロックの反転出力および非反転出力の立ち上がりタイミングで受信クロックの電圧レベルを保持する。この様子を図2に示す。これにより、受信クロックのハイレベル電圧とローレベル電圧が、第1のサンプルホールド回路および第2のサンプルホールド回路からそれぞれ出力される。   The voltage signal of the reference frequency oscillated by the oscillator 2 is compared with a reference voltage output from an upper / lower limit circuit 18 described later by the voltage comparator 4 and converted into a binary clock. The clock output from the voltage comparator 4 is output from the clock transmission unit 1 via the buffer 5. The clock output from the transmitter 1 is received by the clock receiver 6 via the buffer 7 and supplied from the output terminal 8 to the subsequent circuit. The delay circuit 9 has a reception clock output from the buffer 7 sufficiently longer than a hold setup time in a first sample hold circuit 11 and a second sample hold circuit 12 described later and sufficiently shorter than a high level period or a low level period of the clock. Delay time. The delayed clock output from the delay circuit 9 is input to the driver 10, and the driver 10 outputs an inverted output and a ratio inverted output of the delayed clock, respectively. The first sample hold circuit 11 and the second sample hold circuit 12 hold the voltage level of the reception clock at the rising timing of the inverted output and the non-inverted output of the delayed clock output from the driver 10, respectively. This is shown in FIG. As a result, the high level voltage and the low level voltage of the reception clock are output from the first sample hold circuit and the second sample hold circuit, respectively.

第1のサンプルホールド回路および第2のサンプルホールド回路から出力されるクロックのハイレベル及びローレベルの保持電圧は、抵抗13及び抵抗14により抵抗加算され、両電圧の平均又は重み付け平均された電圧(以下、平均電圧と称す)が電圧比較器16に入力される。ここで、クロックのハイレベル電圧とローレベル電圧の重み付け平均は後段回路において規定されたデューティに基づいて行う。例えば後段回路で規定されたクロックのデューティが50%より大きい場合はハイレベル電圧側に、50%より小さい場合はローレベル電圧側に重み付けされた平均値が出力されるように抵抗13,14を調整する。
ローパスフィルタ15からはバッファ7から出力される受信クロックを平滑化した電圧(以下、平滑電圧と称す)が電圧比較器16に入力される。電圧比較器16は、この平均電圧と平滑電圧とを比較し、平均電圧より平滑電圧の方が高い場合、つまり受信クロックのハイレベル期間が所定値より長ければHレベルの電圧を出力し、平均電圧より平滑電圧の方が低い場合、つまり受信クロックのハイレベル期間が所定値より短ければLレベルの電圧を出力する。
The high-level and low-level holding voltages of the clocks output from the first sample hold circuit and the second sample hold circuit are added by the resistors 13 and 14, and an average or weighted average of both voltages ( (Hereinafter referred to as the average voltage) is input to the voltage comparator 16. Here, the weighted average of the high level voltage and the low level voltage of the clock is performed based on the duty defined in the subsequent circuit. For example, the resistors 13 and 14 are set so that the weighted average value is output to the high level voltage side when the clock duty specified by the subsequent circuit is larger than 50%, and when the clock duty is smaller than 50%. adjust.
From the low-pass filter 15, a voltage obtained by smoothing the reception clock output from the buffer 7 (hereinafter referred to as a smoothed voltage) is input to the voltage comparator 16. The voltage comparator 16 compares the average voltage with the smoothed voltage. If the smoothed voltage is higher than the average voltage, that is, if the high level period of the reception clock is longer than a predetermined value, the voltage comparator 16 outputs an H level voltage. When the smoothing voltage is lower than the voltage, that is, when the high level period of the reception clock is shorter than the predetermined value, the L level voltage is output.

以上の動作により、受信クロックのハイレベル期間が所定値より長い場合、電圧比較器16からはHレベルの電圧が積分回路17に入力され、積分回路17から出力される基準電圧は上昇する。これにより、図3に示すように、基準電圧がaの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。また、受信クロックのハイレベル期間が所定値より短い場合、電圧比較器16からはLレベルの電圧が積分回路17に入力され、積分回路17から出力される基準電圧は下降する。これにより、図3に示すように、基準電圧がcの方へ導かれ、クロックのハイレベル期間が長くなるようにデューティが補正される。上下限回路18は、クロックが継続して出力されるように積分回路17の出力に基づいて設定される基準電圧の範囲を制限する。
以上のように実施の形態1によれば、受信クロックのハイレベルおよびローレベル電圧の平均電圧と受信クロックの平滑電圧とを比較し、その大小関係に基づいて基準電圧を調整することにより受信クロックのデューティを補正するので、クロック電圧にレベル変動が生じる場合においても平均電圧がレベル変動に追従するので、正確にデューティの変動を検出し、補正することができる。
With the above operation, when the high level period of the reception clock is longer than a predetermined value, the H level voltage is input from the voltage comparator 16 to the integration circuit 17, and the reference voltage output from the integration circuit 17 increases. Thereby, as shown in FIG. 3, the reference voltage is guided toward a, and the duty is corrected so that the high level period of the clock is shortened. When the high level period of the reception clock is shorter than a predetermined value, an L level voltage is input from the voltage comparator 16 to the integrating circuit 17, and the reference voltage output from the integrating circuit 17 decreases. Thereby, as shown in FIG. 3, the reference voltage is guided toward c, and the duty is corrected so that the high level period of the clock becomes longer. The upper / lower limit circuit 18 limits the range of the reference voltage set based on the output of the integration circuit 17 so that the clock is continuously output.
As described above, according to the first embodiment, the average voltage of the high level and low level voltages of the reception clock is compared with the smoothing voltage of the reception clock, and the reference voltage is adjusted based on the magnitude relationship thereof. Since the average voltage follows the level fluctuation even when the clock voltage has a level fluctuation, the duty fluctuation can be accurately detected and corrected.

実施の形態2.
図4はこの発明の実施の形態2によるクロックのデューティ検出及び補正回路を示すものである。同図において、19は後述するアップダウンカウンタ20に入力される初期値、20はバッファ5の出力と電圧比較器16の出力と初期値19を入力とするアップダウンカウンタ、21はアップダウンカウンタ20の出力が入力されるデジタル/アナログ変換器である。
Embodiment 2. FIG.
FIG. 4 shows a clock duty detection and correction circuit according to the second embodiment of the present invention. In the figure, 19 is an initial value input to an up / down counter 20 to be described later, 20 is an up / down counter that receives the output of the buffer 5, the output of the voltage comparator 16, and the initial value 19 and 21 is an up / down counter 20 This is a digital / analog converter to which the output is input.

アップダウンカウンタ20には、電源投入と同時に任意の初期値19が設定される。アップダウンカウンタ20は、電圧比較器16の出力電圧がHレベルの場合、バッファ5から出力される送信クロックをトリガとしてカウント値に所定の値例えば1を加算し、電圧比較器16の出力がLレベルの場合、バッファ5から出力される送信クロックをトリガとしてカウント値に所定の値例えば1を減算する。デジタル/アナログ変換器21は、アップダウンカウンタ20のカウント値をアナログ値に変換した電圧を基準電圧として電圧比較器4に出力する。電圧比較器4は、このデジタル/アナログ変換器21のから出力される基準電圧と発振器2で発振された基準周波数の電圧信号とを比較して2値信号のクロックに変換する。   An arbitrary initial value 19 is set in the up / down counter 20 at the same time when the power is turned on. When the output voltage of the voltage comparator 16 is at the H level, the up / down counter 20 adds a predetermined value, for example, 1 to the count value using the transmission clock output from the buffer 5 as a trigger, and the output of the voltage comparator 16 is L In the case of the level, a predetermined value, for example, 1 is subtracted from the count value, triggered by the transmission clock output from the buffer 5. The digital / analog converter 21 outputs the voltage obtained by converting the count value of the up / down counter 20 to an analog value to the voltage comparator 4 as a reference voltage. The voltage comparator 4 compares the reference voltage output from the digital / analog converter 21 with the voltage signal of the reference frequency oscillated by the oscillator 2 and converts it into a binary signal clock.

以上の動作により、バッファ7から出力される受信クロックのハイレベル期間が所定値より長い場合、アップダウンカウンタ20により受信クロック毎にカウント値が1づつ加算され、デジタル/アナログ変換器21から出力される基準電圧は上昇する。これにより、図3に示すように基準電圧がaの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。また、バッファ7から出力される受信クロックのハイレベル期間が所定値より短い場合、アップダウンカウンタ20により受信クロック毎にカウント値が1づつ減算され、デジタル/アナログ変換器21から出力される基準電圧は下降し、図3に示すように基準電圧がcの方へ導かれ、クロックのHレベル期間が長くなるようにデューティが補正される。   With the above operation, when the high level period of the reception clock output from the buffer 7 is longer than a predetermined value, the count value is incremented by 1 for each reception clock by the up / down counter 20 and output from the digital / analog converter 21. The reference voltage increases. Thereby, as shown in FIG. 3, the reference voltage is guided toward a, and the duty is corrected so that the high level period of the clock is shortened. When the high level period of the reception clock output from the buffer 7 is shorter than a predetermined value, the up / down counter 20 decrements the count value by 1 for each reception clock and outputs the reference voltage output from the digital / analog converter 21. As shown in FIG. 3, the reference voltage is led toward c, and the duty is corrected so that the H level period of the clock becomes longer.

実施の形態3.
図5はこの発明の実施の形態3によるクロックのデューティ検出及び補正回路を示すものである。同図において、22はバッファ7より出力される受信クロックを任意の微小時間ずつ遅延させ位相のずれた複数のクロックを出力するマルチ出力遅延回路、23は後述するアップダウンカウンタ29のカウント値に応じてマルチ遅延出力回路22から出力される位相のずれたクロックを選択する選択回路、24はバッファ7の出力を入力とする第1のドライバ、25は選択回路23の出力を入力とする第2のドライバ、26は第1のドライバ24の非反転出力と第2のドライバ25の反転出力を入力とする第1の位相比較器、27は第1のドライバ24の反転出力と第2のドライバ25の非反転出力を入力とする第2の位相比較器、28は後述するアップダウンカウンタに入力される初期値、29は第1の位相比較器の出力と初期値28が入力されるアップダウンカウンタ、30は第2の位相比較器の出力を入力とするチャージポンプである。
Embodiment 3 FIG.
FIG. 5 shows a clock duty detection and correction circuit according to the third embodiment of the present invention. In the figure, reference numeral 22 denotes a multi-output delay circuit which outputs a plurality of clocks whose phases are shifted by delaying the reception clock output from the buffer 7 by an arbitrary minute time, and 23 corresponds to a count value of an up / down counter 29 which will be described later. A selection circuit for selecting a clock having a phase shift output from the multi-delay output circuit 22, a first driver having the output of the buffer 7 as an input, and a second driver having an output of the selection circuit 23 as an input. The driver 26 is a first phase comparator that receives the non-inverted output of the first driver 24 and the inverted output of the second driver 25, and 27 is the inverted output of the first driver 24 and the second driver 25. A second phase comparator having a non-inverted output as an input, 28 is an initial value input to an up / down counter described later, 29 is an input of the first phase comparator and an initial value 28 It is the up-down counter, 30 is a charge pump that receives the output from the second phase comparator.

以下、図5に示すデューティ検出及び補正回路の動作を説明する。
バッファ7から出力される受信クロックは第1のドライバ24およびマルチ出力遅延回路22に入力される。第1のドライバ7は受信クロックの非反転出力および反転出力を、それぞれ第1の位相比較器26および第2の位相比較器27に入力する。マルチ出力遅延回路22は受信クロックを任意の微小時間ずつ遅延させ、位相のずれた複数の受信クロックをそれぞれ出力する。選択回路23は、後述するアップダウンカウンタ29のカウント値に応じてマルチ出力遅延回路22から出力された遅延クロックを選択する。選択回路23により選択 された遅延クロックは、第2のドライバ25に入力され、第2のドライバ25は、遅延クロックの反転出力および非反転出力を、それぞれ第1の位相比較器26および第2の位相比較器27に入力する。
The operation of the duty detection and correction circuit shown in FIG. 5 will be described below.
The reception clock output from the buffer 7 is input to the first driver 24 and the multi-output delay circuit 22. The first driver 7 inputs the non-inverted output and the inverted output of the received clock to the first phase comparator 26 and the second phase comparator 27, respectively. The multi-output delay circuit 22 delays the reception clock by an arbitrary minute time, and outputs a plurality of reception clocks whose phases are shifted. The selection circuit 23 selects the delay clock output from the multi-output delay circuit 22 according to the count value of an up / down counter 29 described later. The delayed clock selected by the selection circuit 23 is input to the second driver 25, and the second driver 25 outputs the inverted output and non-inverted output of the delayed clock to the first phase comparator 26 and the second output, respectively. Input to the phase comparator 27.

第1の位相比較器26には、受信クロックの非反転出力、および選択回路23により選択された遅延クロックの反転出力がそれぞれ第1および第2のドライバ24,25を介して入力される。ここで、第1および後述する第2の位相比較器26、27の一例として、パルスの立ち上がりに応答する位相比較器の一般的な構成を図6に示す。また、第1のドライバ24から出力される受信クロックの非反転出力、および第2のドライバ25から出力される遅延クロックの反転出力をそれぞれfp1,fr1とした場合の位相差信号Pu1,Pd1の入出力タイミングの一例を図7に示す。図6に示す位相比較器によれば第1の位相比較器は、図7に示すように、受信クロックの非反転出力fp1に対する遅延クロックfr1の立ち上がり位相差を検出し、その遅れ量または進み量を表す信号Pu1およびPd1をそれぞれ出力する。第1の位相比較器から出力されるこれらの位相差信号Pu1,Pd1はアップダウンカウンタ29に入力される。   The first phase comparator 26 receives the non-inverted output of the received clock and the inverted output of the delayed clock selected by the selection circuit 23 via the first and second drivers 24 and 25, respectively. Here, as an example of the first and second phase comparators 26 and 27 described later, FIG. 6 shows a general configuration of a phase comparator that responds to the rise of a pulse. Further, when the non-inverted output of the reception clock output from the first driver 24 and the inverted output of the delayed clock output from the second driver 25 are fp1 and fr1, respectively, the phase difference signals Pu1 and Pd1 are input. An example of the output timing is shown in FIG. According to the phase comparator shown in FIG. 6, the first phase comparator detects the rising phase difference of the delayed clock fr1 with respect to the non-inverted output fp1 of the received clock, as shown in FIG. Are output respectively as signals Pu1 and Pd1. These phase difference signals Pu 1 and Pd 1 output from the first phase comparator are input to the up / down counter 29.

アップダウンカウンタ29には、電源投入と同時に任意の初期値28が入力され、第1の位相比較器26から入力される位相差信号Pu1,Pd1に基づいてクロックをトリガとしてカウント値に1づつ加算または減算する。アップダウンカウンタ29のカウント値は選択回路23に入力され、選択回路23はこのカウント値に応じて、第1の位相比較器26において検出される位相差が小さくなるような遅延クロックをマルチ遅延回路22の出力から選択する。以上の動作により第1の位相比較器26に入力される受信クロックおよびこれを反転させた信号の立ち上がりは略一致する。つまり、選択回路23はマルチ出力遅延回路23の出力のうち、受信クロックの立ち上がりにその立ち下がりが一致する遅延クロックを選択し出力する。   An arbitrary initial value 28 is input to the up / down counter 29 at the same time as the power is turned on, and the count value is incremented by one using the clock as a trigger based on the phase difference signals Pu1 and Pd1 input from the first phase comparator 26. Or subtract. The count value of the up / down counter 29 is input to the selection circuit 23, and the selection circuit 23 generates a delay clock that reduces the phase difference detected by the first phase comparator 26 according to the count value. Select from 22 outputs. With the above operation, the rising of the reception clock input to the first phase comparator 26 and the signal obtained by inverting the reception clock are substantially the same. That is, the selection circuit 23 selects and outputs a delay clock whose falling edge coincides with the rising edge of the reception clock among the outputs of the multi-output delay circuit 23.

第2の位相比較器27には、受信クロックの反転出力、および選択回路23によって選択される遅延クロックの非反転出力がそれぞれ第1および第2のドライバ24,25を介して入力される。上述した第1の位相比較器26の作用により、第1の位相比較器27に入力される両者のクロック波形の立ち下がりは略一致している。第2の位相比較器は第1および第2のドライバ24,25から出力される受信クロックの反転出力および遅延クロックの立ち下がりを始点として受信クロックの反転出力の立ち上がりに対する遅延クロックの立ち上がりの位相を検出し、その遅れ量または進み量を表す位相差信号を出力する。ここで、受信クロックのハイレベル期間がローレベル期間より長い場合、第1のドライバ24から出力される受信クロックの反転出力の立ち上がりが、第2のドライバ25から出力される遅延クロックの非反転出力の立ち上がりに対して遅れ位相となり、その遅れ量を表す位相差信号が出力される。反対に、受信クロックのハイレベル期間がローレベル期間より短い場合、第1のドライバ24から出力される受信クロックの反転出力の立ち上がりが、第2のドライバ25から出力される遅延クロックの非反転出力の立ち上がりに対して進み位相となり、その進み量を表す位相誤差信号が出力される。   The second phase comparator 27 receives the inverted output of the received clock and the non-inverted output of the delayed clock selected by the selection circuit 23 via the first and second drivers 24 and 25, respectively. Due to the operation of the first phase comparator 26 described above, the falling edges of the two clock waveforms input to the first phase comparator 27 are substantially coincident. The second phase comparator determines the rising phase of the delay clock relative to the rising edge of the inverted output of the received clock, starting from the inverted output of the received clock and the falling edge of the delayed clock output from the first and second drivers 24 and 25. It detects and outputs a phase difference signal indicating the delay amount or the advance amount. Here, when the high level period of the reception clock is longer than the low level period, the rising edge of the inverted output of the reception clock output from the first driver 24 is the non-inverted output of the delayed clock output from the second driver 25. A phase difference signal indicating the amount of delay is output. In contrast, when the high level period of the reception clock is shorter than the low level period, the rising edge of the inverted output of the reception clock output from the first driver 24 is the non-inverted output of the delayed clock output from the second driver 25. A phase error signal representing the amount of advance is output.

第2の位相比較器27から出力されるこれらの位相差信号は、チャージポンプ30に入力される。チャージポンプ30はこれらの位相差信号が遅れ量である場合は正極性のパルスを出力し、進み量である場合は負極性のパルス信号を出力する。図8にチャージポンプ30の一構成例を示す。また、第1のドライバ24から出力される受信クロックの反転出力、および第2のドライバ25から出力される遅延クロックの非反転出力をそれぞれfp2,fr2とした場合の位相差信号Pu2,Pd2とチャージポンプ30により出力される制御信号Poutのタイミングチャートを図9に示す。   These phase difference signals output from the second phase comparator 27 are input to the charge pump 30. The charge pump 30 outputs a positive-polarity pulse when these phase difference signals are delayed amounts, and outputs a negative-polarity pulse signal when they are advance amounts. FIG. 8 shows a configuration example of the charge pump 30. Further, the phase difference signals Pu2 and Pd2 and the charge when the inverted output of the reception clock output from the first driver 24 and the non-inverted output of the delayed clock output from the second driver 25 are fp2 and fr2, respectively. A timing chart of the control signal Pout output by the pump 30 is shown in FIG.

以上の動作により、バッファ7から出力される受信クロックのハイレベル期間がローレベル期間より長い場合、チャージポンプからは正極性のパルスが積分回路17に入力され、このとき積分回路17から出力される基準電圧は上昇する。これにより、図3に示すように基準電圧がaの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。また、バッファ7から出力される受信クロックのハイレベル期間がローレベル期間より短い場合、チャージポンプからは負極性のパルスが積分回路17に入力され、このとき積分回路17から出力される基準電圧は下降する。これにより、図3に示すように基準電圧がcの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。   With the above operation, when the high level period of the reception clock output from the buffer 7 is longer than the low level period, a positive pulse is input from the charge pump to the integration circuit 17 and is output from the integration circuit 17 at this time. The reference voltage increases. Thereby, as shown in FIG. 3, the reference voltage is guided toward a, and the duty is corrected so that the high level period of the clock is shortened. When the high level period of the reception clock output from the buffer 7 is shorter than the low level period, a negative pulse is input to the integration circuit 17 from the charge pump. At this time, the reference voltage output from the integration circuit 17 is Descend. As a result, as shown in FIG. 3, the reference voltage is guided toward c, and the duty is corrected so that the high level period of the clock is shortened.

以上のように実施の形態3におけるクロックデューティ検出及び補正回路は、受信クロックをその立ち下がりが立ち上がりに一致するように遅延させた遅延クロックの立ち上がりと、受信クロックの立ち下がりの位相差に基づいて受信クロックのデューティの変動を検出するので、受信クロックの信号波形に歪み等が生じる場合においても正確にデューティの変動を検出し、これを補正することができる。
また、受信クロックを、その立ち上がりが立ち下がりに一致するように遅延させた遅延クロックの立ち下がりと、受信クロックの立ち上がりの位相差によっても同様にデューティの変動を検出することができる。
As described above, the clock duty detection and correction circuit according to the third embodiment is based on the phase difference between the rising edge of the delayed clock obtained by delaying the receiving clock so that the falling edge coincides with the rising edge and the falling edge of the receiving clock. Since the variation in the duty of the reception clock is detected, the variation in the duty can be accurately detected and corrected even when the signal waveform of the reception clock is distorted.
Further, the variation in duty can be detected in the same manner based on the phase difference between the falling edge of the delayed clock obtained by delaying the rising edge of the receiving clock so that the rising edge coincides with the falling edge.

実施の形態4.
図10はこの発明の実施の形態4によるクロックのデューティ検出及び補正回路を示すものである。同図において、31,32はそれぞれ第2の位相比較器から出力される位相差信号を入力とする反転回路、33は反転回路31及び32により反転された位相差信号を入力とするRSフリップフロップである。また図11は、第2の位相比較器27から出力される位相差信号Pu2,Pd2と、これらを反転回路31,32によって反転した出力Pu2’,Pd2’が入力されるRSフリップフロップ33の出力を表すタイミングチャートである。
図11に示すように、反転回路31,32は第2の位相比較器27から出力される位相差信号Pu2,Pd2を反転し出力する。RSフリップフロップ33は位相差信号Pu2が出力されたときRSフリップフロップをセットしてHレベル電圧を出力し、位相差信号Pd2が出力されたときRSフリップフロップをリセットしてLレベル電圧を出力する。
Embodiment 4 FIG.
FIG. 10 shows a clock duty detection and correction circuit according to the fourth embodiment of the present invention. In the figure, reference numerals 31 and 32 denote inverting circuits that receive the phase difference signal output from the second phase comparator, respectively, and 33 denotes an RS flip-flop that receives the phase difference signal inverted by the inverting circuits 31 and 32. It is. FIG. 11 shows the output of the RS flip-flop 33 to which the phase difference signals Pu2 and Pd2 output from the second phase comparator 27 and the outputs Pu2 ′ and Pd2 ′ obtained by inverting these signals by the inverting circuits 31 and 32 are input. It is a timing chart showing.
As shown in FIG. 11, the inverting circuits 31 and 32 invert the phase difference signals Pu2 and Pd2 output from the second phase comparator 27 and output them. The RS flip-flop 33 sets the RS flip-flop and outputs an H level voltage when the phase difference signal Pu2 is output, and resets the RS flip-flop and outputs an L level voltage when the phase difference signal Pd2 is output. .

これにより、位相差信号Pu2が出力される場合、すなわちバッファ7から出力される受信クロックのハイレベル期間がローレベル期間より長い場合、RSフリップフロップ33からはHレベル電圧が出力され、積分回路17から出力される基準電圧は上昇する。これにより、図3に示すように基準電圧がaの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。また、位相誤差信号Pd2が出力される場合、すなわちバッファ7から出力する受信クロックのハイレベル期間がローレベル期間より短い場合、RSフリップフロップ33からはLレベルの電圧が出力され、積分回路17から出力される基準電圧信号は下降する。これにより、図3に示すように基準電圧がcの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。   As a result, when the phase difference signal Pu2 is output, that is, when the high level period of the reception clock output from the buffer 7 is longer than the low level period, an H level voltage is output from the RS flip-flop 33, and the integration circuit 17 The reference voltage output from is increased. Thereby, as shown in FIG. 3, the reference voltage is guided toward a, and the duty is corrected so that the high level period of the clock is shortened. When the phase error signal Pd2 is output, that is, when the high level period of the reception clock output from the buffer 7 is shorter than the low level period, an L level voltage is output from the RS flip-flop 33, and the integration circuit 17 The output reference voltage signal falls. As a result, as shown in FIG. 3, the reference voltage is guided toward c, and the duty is corrected so that the high level period of the clock is shortened.

実施の形態5.
図12はこの発明の実施の形態5によるクロックのデューティ検出及び補正回路を示すものである。同図において、34は後述するアップダウンカウンタ35に入力される初期値、35は、初期値34を初期値とし、第2の位相比較器27から出力される位相差信号に基づいてカウント値に所定の値例えば1を加算または減算するアップダウンカウンタである。
Embodiment 5. FIG.
FIG. 12 shows a clock duty detection and correction circuit according to the fifth embodiment of the present invention. In this figure, 34 is an initial value input to an up / down counter 35 to be described later, 35 is an initial value 34, and is set to a count value based on a phase difference signal output from the second phase comparator 27. An up / down counter for adding or subtracting a predetermined value, for example, 1.

アップダウンカウンタ35には、電源投入と同時に任意の初期値34が設定される。アップダウンカウンタ35は、第2の位相比較器27から位相差信号Pu2が入力される場合、つまりバッファ7から出力される受信クロックのハイレベル期間がローレベル期間より長い場合、受信クロック周期でカウント値に1づつ加算し、位相差信号Pd2が入力される場合、すなわちバッファ7から出力される受信クロックのハイレベル期間がローレベル期間より短い場合、受信クロック周期でカウント値から1づつ減算する。デジタル/アナログ変換器21はアップダウンカウンタ35のカウント値をアナログ量に変換した電圧を基準電圧として電圧比較器4に出力する。電圧比較器4は発振器2で発振した基準周波数の電圧信号とデジタル/アナログ変換器21のから出力される基準電圧とを比較して2値信号のクロックに変換する。   An arbitrary initial value 34 is set in the up / down counter 35 at the same time when the power is turned on. The up / down counter 35 counts at the reception clock cycle when the phase difference signal Pu2 is input from the second phase comparator 27, that is, when the high level period of the reception clock output from the buffer 7 is longer than the low level period. When the phase difference signal Pd2 is input by one, that is, when the high level period of the reception clock output from the buffer 7 is shorter than the low level period, one is subtracted from the count value at the reception clock period. The digital / analog converter 21 outputs a voltage obtained by converting the count value of the up / down counter 35 into an analog quantity to the voltage comparator 4 as a reference voltage. The voltage comparator 4 compares the voltage signal of the reference frequency oscillated by the oscillator 2 with the reference voltage output from the digital / analog converter 21 and converts it into a binary signal clock.

以上の動作によりバッファ7から出力される受信クロックのハイレベル期間がローレベル期間より短い場合、デジタル/アナログ変換器21から出力される基準電圧は上昇する。これにより、図3に示すように基準電圧がaの方へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。また、バッファ7から出力される受信クロックのハイレベル期間がローレベル期間より短い場合、デジタル/アナログ変換器21から出力されるアナログの基準電圧は下降する。これにより、図3に示すように基準電圧がcの方向へ導かれ、クロックのハイレベル期間が短くなるようにデューティが補正される。   With the above operation, when the high level period of the reception clock output from the buffer 7 is shorter than the low level period, the reference voltage output from the digital / analog converter 21 increases. Thereby, as shown in FIG. 3, the reference voltage is guided toward a, and the duty is corrected so that the high level period of the clock is shortened. When the high level period of the reception clock output from the buffer 7 is shorter than the low level period, the analog reference voltage output from the digital / analog converter 21 decreases. As a result, the reference voltage is guided in the direction c as shown in FIG. 3, and the duty is corrected so that the high level period of the clock is shortened.

この発明の実施の形態1によるクロックのデューティ検出及び補正回路の構成を示すブロック図である。It is a block diagram which shows the structure of the duty detection and correction circuit of the clock by Embodiment 1 of this invention. この発明の実施の形態1における第1及び第2のサンプルホールド回路の動作を示す図である。It is a figure which shows operation | movement of the 1st and 2nd sample hold circuit in Embodiment 1 of this invention. この発明の実施の形態1におけるクロックのデューティの補正方法を示す図である。It is a figure which shows the correction method of the duty of the clock in Embodiment 1 of this invention. この発明の実施の形態2を示すクロックのデューティ検出及び補正回路の構成を示すブロック図である。It is a block diagram which shows the structure of the duty detection and correction circuit of the clock which shows Embodiment 2 of this invention. この発明の実施の形態3を示すクロックのデューティ検出及び補正回路の構成を示すブロック図である。It is a block diagram which shows the structure of the duty detection and correction circuit of the clock which shows Embodiment 3 of this invention. この発明の実施の形態3における第1及び第2の位相比較器の一構成例を示す図である。It is a figure which shows one structural example of the 1st and 2nd phase comparator in Embodiment 3 of this invention. この発明の実施の形態3における第1及び第2の位相比較器のタイミングチャートを示す図である。It is a figure which shows the timing chart of the 1st and 2nd phase comparator in Embodiment 3 of this invention. この発明の実施の形態3におけるチャージポンプの一構成例を示す図である。It is a figure which shows one structural example of the charge pump in Embodiment 3 of this invention. この発明の実施の形態3におけるチャージポンプのタイミングチャートを示す図である。It is a figure which shows the timing chart of the charge pump in Embodiment 3 of this invention. この発明の実施の形態4におけるクロックのデューティ検出及び補正回路の構成を示すブロック図である。It is a block diagram which shows the structure of the duty detection and correction circuit of the clock in Embodiment 4 of this invention. この発明の実施の形態4におけるRSフリップフロップのタイミングチャートを示す図である。It is a figure which shows the timing chart of RS flip-flop in Embodiment 4 of this invention. この発明の実施の形態5におけるクロックのデューティ検出及び補正回路の構成を示すブロック図である。It is a block diagram which shows the structure of the duty detection and correction circuit of the clock in Embodiment 5 of this invention. 従来のクロックのデューティ補正回路を示すブロック図である。It is a block diagram which shows the duty correction circuit of the conventional clock. 従来におけるクロックのデューティの補正方法を示す図である。It is a figure which shows the correction method of the duty of the clock in the past.

符号の説明Explanation of symbols

2:発振器、3:可変基準電圧発生回路、4:電圧比較器、9:遅延回路、
11:第1のサンプルホールド回路、12:第2のサンプルホールド回路、
13,14:加算抵抗、15:ローパスフィルタ、16:電圧比較器、
17:積分回路、18:上下限回路、19:初期値、
20:アップダウンカウンタ、21:デジタル/アナログ変換器、
22:マルチ出力遅延回路、23:選択回路、24:第1のドライバ、
25:第2のドライバ、26:第1の位相比較器、
27:第2の位相比較器、28:初期値、29:アップダウンカウンタ、
30:チャージポンプ、31:反転回路、32:反転回路、
33:RSフリップフロップ、34:初期値、
35:アップダウンカウンタ。
2: oscillator, 3: variable reference voltage generation circuit, 4: voltage comparator, 9: delay circuit,
11: first sample and hold circuit, 12: second sample and hold circuit,
13, 14: addition resistor, 15: low-pass filter, 16: voltage comparator,
17: integration circuit, 18: upper / lower limit circuit, 19: initial value,
20: Up / down counter, 21: Digital / analog converter,
22: multi-output delay circuit, 23: selection circuit, 24: first driver,
25: second driver, 26: first phase comparator,
27: second phase comparator, 28: initial value, 29: up / down counter,
30: charge pump, 31: inverting circuit, 32: inverting circuit,
33: RS flip-flop, 34: initial value,
35: Up / down counter.

Claims (6)

発振器から発振される電圧信号と前記電圧信号の振幅電圧の最大値から最小値の間に設定される基準電圧とを比較して第1の電圧レベルと第2の電圧レベルの両レベルを有するクロックを生成するクロック生成回路と、前記クロックの電圧レベルが前記第1の電圧レベルから前記第2の電圧レベルに遷移する第1の遷移点と前記クロックの電圧レベルが前記第2の電圧レベルから前記第1の電圧レベルに遷移する第2の遷移点とが略一致するような遅延量を与えて前記クロックを遅延させる遅延回路とを備え、前記クロックの第2の遷移点と前記遅延量により遅延された前記クロックの第1の遷移点との位相差に基づいて前記クロックのデューティの変動を検出するクロックのデューティ検出回路。   A clock having both a first voltage level and a second voltage level by comparing a voltage signal oscillated from an oscillator with a reference voltage set between a maximum value and a minimum value of an amplitude voltage of the voltage signal. A clock generation circuit for generating a first transition point at which the voltage level of the clock transitions from the first voltage level to the second voltage level, and a voltage level of the clock from the second voltage level. A delay circuit that delays the clock by giving a delay amount that substantially matches a second transition point that makes a transition to the first voltage level, and is delayed by the second transition point of the clock and the delay amount A clock duty detection circuit for detecting a variation in the duty of the clock based on a phase difference between the clock and the first transition point of the clock. 請求項1に記載のクロックのデューティ検出回路を含み、クロック生成回路から出力されるクロックの第1の遷移点と遅延回路により遅延される前記クロックの第2の遷移点とが略一致する点を始点として前記クロックの第2の遷移点に対する前記遅延回路により遅延された前記クロックの第1の遷移点の位相の遅れ量または進み量を表す電圧信号を出力する位相差検出回路を備え、前記位相差検出回路から出力される電圧信号に基づいて基準電圧を調整することにより前記クロックのデューティを補正することを特徴としたクロックのデューティ補正回路。   The clock duty detection circuit according to claim 1, wherein a first transition point of the clock output from the clock generation circuit substantially coincides with a second transition point of the clock delayed by the delay circuit. A phase difference detection circuit for outputting a voltage signal representing a phase delay amount or advance amount of the first transition point of the clock delayed by the delay circuit with respect to the second transition point of the clock as a starting point; A duty correction circuit for a clock, wherein the duty of the clock is corrected by adjusting a reference voltage based on a voltage signal output from a phase difference detection circuit. 請求項2に記載のクロックのデューティ補正回路を含み、位相差検出回路から出力される電圧信号に基づいて電圧値を発生保持する電圧保持回路を備え、前記電圧保持回路の出力に基づいて基準電圧を調整することにより前記クロックのデューティを補正することを特徴としたクロックのデューティ補正回路。   A voltage holding circuit that includes the clock duty correction circuit according to claim 2 and that generates and holds a voltage value based on a voltage signal output from the phase difference detection circuit, and a reference voltage based on the output of the voltage holding circuit A clock duty correction circuit for correcting the clock duty by adjusting the clock duty. 請求項1に記載のクロックのデューティ検出回路を含み、クロック生成回路から出力されるクロックの第1の遷移点と遅延回路により遅延される前記クロックの第2の遷移点とが略一致する点を始点として前記クロックの第2の遷移点に対する前記遅延回路により遅延される前記クロックの第1の遷移点の位相が遅れ位相あるいは進み位相であるかに基づいてそのカウント値を変更するカウンタと、前記カウンタのカウント値を電圧値に変換するD/A変換器とを備え、前記D/A変換器の出力電圧に基づいて基準電圧を調整することによりクロックのデューティを補正することを特徴とするクロックのデューティ補正回路。   The clock duty detection circuit according to claim 1, wherein a first transition point of the clock output from the clock generation circuit substantially coincides with a second transition point of the clock delayed by the delay circuit. A counter that changes its count value based on whether the phase of the first transition point of the clock delayed by the delay circuit with respect to the second transition point of the clock as a starting point is a delayed phase or an advanced phase; And a D / A converter for converting a count value of the counter into a voltage value, and correcting a clock duty by adjusting a reference voltage based on an output voltage of the D / A converter. Duty correction circuit. 請求項1に記載のクロックのデューティ検出回路において、第1の電圧レベルと第2の電圧レベルはそれぞれクロック生成回路から出力されるクロックのハイレベル電圧とローレベル電圧、またはハイレベル電圧とローレベル電圧のいずれかの組み合わせであることを特徴とするクロックのデューティ検出回路。   2. The clock duty detection circuit according to claim 1, wherein the first voltage level and the second voltage level are respectively a high level voltage and a low level voltage of a clock output from the clock generation circuit, or a high level voltage and a low level. A duty detection circuit for a clock, which is any combination of voltages. 請求項2〜4のいずれか1項に記載のクロックのデューティ補正回路において、位相差検出回路から出力される電圧信号は2値の電圧信号であることを特徴とするクロックのデューティ補正回路。   5. The clock duty correction circuit according to claim 2, wherein the voltage signal output from the phase difference detection circuit is a binary voltage signal. 6.
JP2007003156A 2007-01-11 2007-01-11 Clock duty correction circuit Expired - Fee Related JP4398475B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007003156A JP4398475B2 (en) 2007-01-11 2007-01-11 Clock duty correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007003156A JP4398475B2 (en) 2007-01-11 2007-01-11 Clock duty correction circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP32148999A Division JP3923693B2 (en) 1999-11-11 1999-11-11 Clock duty correction circuit

Publications (2)

Publication Number Publication Date
JP2007151155A true JP2007151155A (en) 2007-06-14
JP4398475B2 JP4398475B2 (en) 2010-01-13

Family

ID=38211915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007003156A Expired - Fee Related JP4398475B2 (en) 2007-01-11 2007-01-11 Clock duty correction circuit

Country Status (1)

Country Link
JP (1) JP4398475B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101024261B1 (en) 2008-11-10 2011-03-29 주식회사 하이닉스반도체 Duty ratio correction circuit and delay locked loop circuit including the same
JP2012010118A (en) * 2010-06-25 2012-01-12 Hitachi Ltd Duty compensation circuit
CN112087223A (en) * 2019-06-12 2020-12-15 三星电子株式会社 Clock monitoring circuit and integrated circuit including the same
CN113589013A (en) * 2021-08-12 2021-11-02 深圳市鼎阳科技股份有限公司 Signal excitation device of oscilloscope probe and oscilloscope calibration system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101024261B1 (en) 2008-11-10 2011-03-29 주식회사 하이닉스반도체 Duty ratio correction circuit and delay locked loop circuit including the same
JP2012010118A (en) * 2010-06-25 2012-01-12 Hitachi Ltd Duty compensation circuit
CN112087223A (en) * 2019-06-12 2020-12-15 三星电子株式会社 Clock monitoring circuit and integrated circuit including the same
CN113589013A (en) * 2021-08-12 2021-11-02 深圳市鼎阳科技股份有限公司 Signal excitation device of oscilloscope probe and oscilloscope calibration system

Also Published As

Publication number Publication date
JP4398475B2 (en) 2010-01-13

Similar Documents

Publication Publication Date Title
US20100142606A1 (en) Transmission line loss compensation circuit and transmission line loss compensation method
US8525713B2 (en) Voltage converter
KR100473813B1 (en) Digital duty cycle correction circuit for multi-phase clock and method thereof
US6975522B2 (en) Device and method for inhibiting power fluctuation
US7944262B2 (en) Duty correction circuit
US9800436B2 (en) Receiver and control method for receiver
US8289196B2 (en) Parallel-serial converter
KR101309465B1 (en) Apparatus for correcting duty cycle
JP4398475B2 (en) Clock duty correction circuit
US9077319B2 (en) Clock phase shift detector
US20150097605A1 (en) Duty correction circuit and method
US20130285757A1 (en) Control circuit for reducing electromagnetic interference
US7801211B2 (en) Communication system, receiver unit, and adaptive equalizer
JP3923693B2 (en) Clock duty correction circuit
US20050184778A1 (en) Apparatus and method for increasing the performance of a clock-based digital pulse width modulation generator
US7834794B2 (en) A/D converter
US7923868B2 (en) Method and apparatus for adjusting a power supply of an integrated circuit
US8466719B2 (en) Frequency doubler, signal generator, optical transmitter, and optical communication apparatus
US20140010336A1 (en) Phase correction circuit and phase correction method
US6680988B1 (en) Non-linear extraction circuit and clock extraction circuit
US10560292B1 (en) Transmission apparatus and communication system
JP2010021665A (en) Data receiver
US20080048742A1 (en) Phase comparison signal processing circuit
JP5546020B2 (en) AD converter
KR102041471B1 (en) Semiconductor apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090407

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090602

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

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

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

Free format text: PAYMENT UNTIL: 20121030

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131030

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees