JP2003198342A - Voltage comparison circuit - Google Patents
Voltage comparison circuitInfo
- Publication number
- JP2003198342A JP2003198342A JP2001394431A JP2001394431A JP2003198342A JP 2003198342 A JP2003198342 A JP 2003198342A JP 2001394431 A JP2001394431 A JP 2001394431A JP 2001394431 A JP2001394431 A JP 2001394431A JP 2003198342 A JP2003198342 A JP 2003198342A
- Authority
- JP
- Japan
- Prior art keywords
- time
- change point
- voltage
- unit
- 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.)
- Pending
Links
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ヒステリシス特性
を有する電圧比較回路に関するものであり、特にCD−
R/RWの信号処理におけるウォブル信号やRF信号を
扱う回路等に使用され、信号の変化点からの時間帯によ
ってヒステリシス特性を変化させることにより雑音によ
る誤動作を低減させることができる電圧比較回路に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voltage comparison circuit having a hysteresis characteristic, and particularly to a CD-
The present invention relates to a voltage comparison circuit that is used in a circuit that handles a wobble signal or an RF signal in R / RW signal processing, and that can reduce malfunction due to noise by changing the hysteresis characteristic according to the time zone from the change point of the signal.
【0002】[0002]
【従来の技術】図10は、一般的なヒステリシス特性を
有する電圧比較回路の例を示した回路図である。図10
において、電圧比較回路100は、コンパレータ10
1、所定の基準電圧Vrを生成して出力する基準電圧発
生回路102、フィードバック抵抗103及びヒステリ
シス幅を設定するための抵抗104で構成されている。
電圧比較回路100は、入力信号Siの立ち上がり時に
は、入力電圧Viが基準電圧Vrにヒステリシス電圧V
hを加算した電圧よりも高くなるとハイ(High)レ
ベルの信号を出力し、入力信号の立ち下がり時には、入
力電圧Viが基準電圧Vrにヒステリシス電圧Vhを差
し引いた電圧よりも低くなるとロー(Low)レベルの
信号を出力する。2. Description of the Related Art FIG. 10 is a circuit diagram showing an example of a voltage comparison circuit having a general hysteresis characteristic. Figure 10
In the voltage comparison circuit 100,
1. A reference voltage generation circuit 102 for generating and outputting a predetermined reference voltage Vr, a feedback resistor 103, and a resistor 104 for setting a hysteresis width.
In the voltage comparison circuit 100, when the input signal Si rises, the input voltage Vi becomes the reference voltage Vr and the hysteresis voltage V.
When it becomes higher than the voltage obtained by adding h, a high level signal is output, and when the input signal falls, it becomes low when the input voltage Vi becomes lower than the reference voltage Vr minus the hysteresis voltage Vh. Output level signal.
【0003】一方、耐雑音特性の向上を目的とした電圧
比較回路の特性改善に関する従来技術として、特開平1
1−248761号公報で、一定期間コンパレータの不
感時間帯を設けるようにしたものが開示されており、特
開平11−340801号公報で、入力信号の立ち上が
り時と立ち下がり時とでヒステリシス特性を選択的に設
定できるものが開示されている。On the other hand, as a prior art relating to the characteristic improvement of a voltage comparison circuit for the purpose of improving the noise resistance characteristic, Japanese Patent Application Laid-Open No. HEI-1 is proposed.
Japanese Patent Application Laid-Open No. 1-248761 discloses that a dead time zone of a comparator is provided for a certain period of time. In Japanese Patent Laid-Open No. 11-340801, a hysteresis characteristic is selected depending on whether the input signal is rising or falling. Those that can be set selectively are disclosed.
【0004】[0004]
【発明が解決しようとする課題】しかし、微小な振幅の
信号を電圧比較回路で扱う場合、該信号を処理する上で
大きなゲインをかける必要があり、その際にLSIの周
辺及びLSI自身から発生する雑音成分も同様に増幅し
てしまうという問題があった。このような雑音の大きい
信号を電圧比較回路でデジタル信号に2値化すると、電
圧比較回路は、該雑音成分によって、図11で示すよう
に発振を起こしてしまうことがあった。また、入力信号
に対して電圧比較回路が正確に電圧比較を行うために、
電圧比較回路のヒステリシス幅を大きく設定することも
できなかった。なお、図11では、aの波形は入力信号
Siを、bの波形がコンパレータ101の出力信号の波
形を示している。However, when a signal with a small amplitude is handled by the voltage comparison circuit, it is necessary to apply a large gain in processing the signal, and at that time, it is generated from the periphery of the LSI and the LSI itself. There is also a problem that the noise component that is also amplified. When such a signal with large noise is binarized into a digital signal by the voltage comparison circuit, the voltage comparison circuit may oscillate as shown in FIG. 11 due to the noise component. In addition, in order for the voltage comparison circuit to accurately perform voltage comparison on the input signal,
It was also not possible to set the hysteresis width of the voltage comparison circuit large. In FIG. 11, the waveform of a shows the input signal Si, and the waveform of b shows the waveform of the output signal of the comparator 101.
【0005】図11において、入力信号Siは2.1V
を中心にした正弦波であり、該入力信号Siには雑音が
乗っているものとしている。図10の電圧比較回路10
0ではヒステリシス幅を例えば20mVに固定している
ため、図11において、入力信号Siが2.1V付近で
は、コンパレータ101の出力信号が発振していること
が分かる。これは、入力信号Siの雑音成分が時折ヒス
テリシス幅を超えているためであるが、ヒステリシス幅
を一律に大きくしてしまうと、コンパレータ101にお
ける出力信号の信号レベルの変化点が、ヒステリシス幅
が小さいときよりも遅くなるという問題が発生する。In FIG. 11, the input signal Si is 2.1V.
It is assumed that the input signal Si has noise on it. The voltage comparison circuit 10 of FIG.
At 0, the hysteresis width is fixed at 20 mV, for example, and thus it can be seen from FIG. 11 that the output signal of the comparator 101 oscillates when the input signal Si is around 2.1 V. This is because the noise component of the input signal Si sometimes exceeds the hysteresis width. However, if the hysteresis width is uniformly increased, the change point of the signal level of the output signal in the comparator 101 has a small hysteresis width. There is a problem that it will be slower than time.
【0006】一方、電圧比較回路で電圧比較を行う信号
は、周波数fの範囲に、ある程度の幅を持っていること
が多く、このような場合、電圧比較回路の出力変化にお
いても同様であり、電圧比較回路から出力された信号に
おける信号レベルの変化点と変化点との間隔は1/fに
なる。すなわち、電圧比較回路の出力信号における次の
信号レベルの変化点はある程度予測することができる。
このようなことから、電圧比較回路からの出力信号に変
化点がないと思われる期間、マスク又はスレッショルド
電圧を電源電圧VCC又は接地電圧GNDにすること
で、電圧比較回路を不感状態にする方法等が考えられて
いた。On the other hand, the signal for voltage comparison in the voltage comparison circuit often has a certain width within the range of the frequency f. In such a case, the same applies to the output change of the voltage comparison circuit. The interval between the signal level change points in the signal output from the voltage comparison circuit is 1 / f. That is, the next change point of the signal level in the output signal of the voltage comparison circuit can be predicted to some extent.
For this reason, a method of making the voltage comparison circuit insensitive by setting the mask or threshold voltage to the power supply voltage VCC or the ground voltage GND during the period when the output signal from the voltage comparison circuit is considered to have no change point, etc. Was being considered.
【0007】しかし、このように電圧比較回路が不感状
態である時間帯が存在すると、電圧比較回路の出力信号
が本来の変化する時点が不感の時間帯になると、電圧比
較回路の出力信号において、本来あるべき変化点が欠落
してしまい、その影響が後段の回路に現れるという問題
があった。However, if there is a time zone in which the voltage comparison circuit is insensitive as described above, the output signal of the voltage comparison circuit is There was a problem that the originally desired change point was missing and the effect appeared in the circuit in the subsequent stage.
【0008】本発明は、前記のような問題を解決するた
めになされたものであり、入力信号の変化点がないと思
われる時間帯においてはヒステリシス幅を大きくし、入
力信号の変化点付近ではヒステリシス幅を通常の低い状
態に戻すようにして、耐雑音特性を向上させ、所望の動
作を実現することができる電圧比較回路を得ることを目
的とする。The present invention has been made in order to solve the above-mentioned problems. The hysteresis width is increased in a time zone in which it is considered that there is no change point of the input signal, and near the change point of the input signal. It is an object of the present invention to obtain a voltage comparison circuit capable of improving a noise resistance characteristic and realizing a desired operation by returning the hysteresis width to a normal low state.
【0009】[0009]
【課題を解決するための手段】この発明に係る電圧比較
回路は、所定の基準電圧と入力信号の電圧とを比較し、
該比較結果を示す2値の信号を出力する、ヒステリシス
特性を有した電圧比較回路において、前記基準電圧と入
力信号の電圧とを比較して、該比較結果を示す2値の信
号を出力する電圧比較部と、入力される制御信号に応じ
て該電圧比較部におけるヒステリシス幅の切り替えを行
うヒステリシス幅切替部と、前記電圧比較部の出力信号
レベルの変化点を検知する変化点検知部と、該変化点検
知部が変化点を検知するたびに、該変化点からの経過時
間を測定して順次出力する経過時間測定部と、所定の時
間が設定された時間設定部と、前記経過時間測定部から
の経過時間が該時間設定部に設定された所定の時間以上
になると、ヒステリシス幅切替部に対して所定の制御信
号を出力して前記ヒステリシス幅を切り替えさせる時間
比較部とを備えるものである。A voltage comparison circuit according to the present invention compares a predetermined reference voltage with a voltage of an input signal,
A voltage comparing circuit that outputs a binary signal indicating the comparison result and has a hysteresis characteristic, compares the reference voltage with the voltage of the input signal, and outputs a binary signal indicating the comparison result. A comparison unit, a hysteresis width switching unit that switches the hysteresis width in the voltage comparison unit according to an input control signal, a change point detection unit that detects a change point of the output signal level of the voltage comparison unit, Each time the change point detection unit detects a change point, an elapsed time measurement unit that measures and sequentially outputs an elapsed time from the change point, a time setting unit in which a predetermined time is set, and the elapsed time measurement unit And a time comparison unit for switching the hysteresis width by outputting a predetermined control signal to the hysteresis width switching unit when the elapsed time from is equal to or longer than the predetermined time set in the time setting unit. Than it is.
【0010】具体的には、前記ヒステリシス幅切替部
は、時間比較部から所定の制御信号が入力されている
間、ヒステリシス幅が小さくなるように切り替えるよう
にした。Specifically, the hysteresis width switching unit is configured to switch so that the hysteresis width becomes small while a predetermined control signal is being input from the time comparison unit.
【0011】また、前記経過時間測定部から出力される
経過時間から前記電圧比較部における出力信号レベルの
変化点間の周期を検出する変化点周期検出部を備え、該
変化点周期検出部は、該検出した変化点間の各周期の平
均値から所定の方法で算出した時間を、変化点検知部が
前記変化点を検出するたびに前記時間設定部に更新して
設定するようにしてもよい。Further, there is provided a changing point cycle detecting section for detecting a cycle between the changing points of the output signal level in the voltage comparing section from the elapsed time output from the elapsed time measuring section, and the changing point cycle detecting section comprises: The time calculated by a predetermined method from the average value of each cycle between the detected change points may be updated and set in the time setting unit each time the change point detection unit detects the change point. .
【0012】また、この発明に係る電圧比較回路は、所
定の基準電圧と入力信号の電圧とを比較し、該比較結果
を示す2値の信号を出力する、ヒステリシス特性を有し
た電圧比較回路において、前記基準電圧と入力信号の電
圧とを比較して、該比較結果を示す2値の信号を出力す
る電圧比較部と、入力される制御信号に応じて該電圧比
較部におけるヒステリシス幅の切り替えを行うヒステリ
シス幅切替部と、前記電圧比較部の出力信号レベルの変
化点を検知する変化点検知部と、該変化点検知部が変化
点を検知するたびに、該変化点からの経過時間を測定し
て順次出力する経過時間測定部と、異なる所定の時間が
それぞれ設定された複数の時間設定部と、前記経過時間
測定部からの経過時間が対応する時間設定部に設定され
た所定の時間になると、ヒステリシス幅切替部に対して
それぞれ所定の制御信号を出力して前記ヒステリシス幅
の切り替えを行わせる複数の時間比較部とを備えるもの
である。The voltage comparison circuit according to the present invention is a voltage comparison circuit having a hysteresis characteristic, which compares a predetermined reference voltage with the voltage of an input signal and outputs a binary signal indicating the comparison result. , Comparing the reference voltage with the voltage of the input signal and outputting a binary signal indicating the comparison result, and switching the hysteresis width in the voltage comparison unit in accordance with the input control signal. Hysteresis width switching unit, change point detection unit that detects a change point of the output signal level of the voltage comparison unit, and each time the change point detection unit detects a change point, measures the elapsed time from the change point Then, the elapsed time measuring section that sequentially outputs, a plurality of time setting sections each having a different predetermined time set, and the predetermined time set in the corresponding time setting section from the elapsed time measuring section Na When, in which each and a plurality of time comparison unit to perform the switching of the hysteresis width by outputting a predetermined control signal to the hysteresis switch unit.
【0013】具体的には、前記ヒステリシス幅切替部
は、各時間比較部から入力される各制御信号に応じて、
ヒステリシス幅を段階的に小さくなるように切り替える
ようにした。More specifically, the hysteresis width switching section responds to each control signal input from each time comparison section,
The hysteresis width is switched so as to be gradually reduced.
【0014】また、前記経過時間測定部から出力される
経過時間から対応する電圧比較部の出力信号レベルにお
ける変化点間の周期をそれぞれ検出する各変化点周期検
出部を備え、該各変化点周期検出部は、該検出した変化
点間の各周期の平均値からそれぞれ所定の方法で算出し
た時間を対応する前記各時間設定部にそれぞれ設定する
ようにしてもよい。Further, each change point cycle detecting section for detecting a cycle between change points in the output signal level of the corresponding voltage comparing section from the elapsed time output from the elapsed time measuring section is provided. The detection unit may set the time calculated by a predetermined method from the average value of each cycle between the detected change points in each corresponding time setting unit.
【0015】一方、電圧比較部の出力信号を遅延させて
出力する信号遅延部を備えるようにしてもよい。On the other hand, a signal delay unit for delaying and outputting the output signal of the voltage comparison unit may be provided.
【0016】[0016]
【発明の実施の形態】次に、図面に示す実施の形態に基
づいて、本発明を詳細に説明する。
第1の実施の形態.図1は、本発明の第1の実施の形態
における電圧比較回路の例を示したブロック図である。
図1の電圧比較回路1は、入力端子INから入力された
入力信号Siの電圧と所定の基準電圧Vrとの電圧比較
を行い、該比較結果を示す2値の信号を内部回路(図示
せず)に出力すると共に、I/Oセルをなすバッファ回
路12を介して出力端子OUTに出力するものである。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail based on the embodiments shown in the drawings. First embodiment. FIG. 1 is a block diagram showing an example of a voltage comparison circuit according to the first embodiment of the present invention.
The voltage comparison circuit 1 of FIG. 1 compares the voltage of the input signal Si input from the input terminal IN with a predetermined reference voltage Vr, and outputs a binary signal indicating the comparison result to an internal circuit (not shown). ) And output to the output terminal OUT via the buffer circuit 12 forming an I / O cell.
【0017】図1において、電圧比較回路1は、コンパ
レータ2と、所定の基準電圧Vrを生成して出力する基
準電圧発生回路3と、コンパレータ2に対してフィード
バック回路を形成する抵抗4と、入力された制御信号に
応じて抵抗値を切り替える、ヒステリシス幅の調整を行
うための可変抵抗回路5とを備えている。更に、電圧比
較回路1は、コンパレータ2の出力信号における信号レ
ベルの変化点を検知する変化点検知回路6と、タイマー
回路7と、所定の時間情報が設定された時間設定レジス
タ8と、タイマー回路7からの出力される経過時間情報
と時間設定レジスタ8に設定された時間情報とを比較し
て該比較結果を出力する時間比較回路9と、コンパレー
タ2の出力信号を遅延して出力する遅延回路10とを備
えている。なお、コンパレータ2は電圧比較部を、可変
抵抗回路5(厳密には抵抗4も含む)はヒステリシス幅
切替部を、タイマー回路7は経過時間測定部を、時間設
定レジスタ8は時間設定部をそれぞれなしている。In FIG. 1, the voltage comparison circuit 1 includes a comparator 2, a reference voltage generation circuit 3 for generating and outputting a predetermined reference voltage Vr, a resistor 4 forming a feedback circuit for the comparator 2, and an input. And a variable resistance circuit 5 for adjusting the hysteresis width, which switches the resistance value in accordance with the generated control signal. Further, the voltage comparison circuit 1 includes a change point detection circuit 6 that detects a change point of the signal level in the output signal of the comparator 2, a timer circuit 7, a time setting register 8 in which predetermined time information is set, and a timer circuit. 7, a time comparison circuit 9 that compares the elapsed time information output from 7 with the time information set in the time setting register 8 and outputs the comparison result, and a delay circuit that delays and outputs the output signal of the comparator 2. 10 and 10. The comparator 2 is a voltage comparison unit, the variable resistance circuit 5 (strictly including the resistor 4) is a hysteresis width switching unit, the timer circuit 7 is an elapsed time measuring unit, and the time setting register 8 is a time setting unit. I am doing it.
【0018】入力信号Siは、可変抵抗回路5を介して
コンパレータ2の非反転入力端に入力され、コンパレー
タ2の出力端と非反転入力端との間に抵抗4が接続され
ている。また、コンパレータ2の反転入力端には、基準
電圧発生回路3からの基準電圧Vrが入力され、コンパ
レータ2は、非反転入力端に入力された電圧Viと基準
電圧Vrとの電圧比較を行い、該比較結果に応じた2値
の信号を出力する。変化点検知回路6は、コンパレータ
2の出力信号の信号レベルが変化したことを検知すると
所定の変化点検知信号Saをタイマー回路7に出力す
る。The input signal Si is input to the non-inverting input terminal of the comparator 2 via the variable resistance circuit 5, and the resistor 4 is connected between the output terminal and the non-inverting input terminal of the comparator 2. The reference voltage Vr from the reference voltage generation circuit 3 is input to the inverting input terminal of the comparator 2, and the comparator 2 compares the voltage Vi input to the non-inverting input terminal with the reference voltage Vr. A binary signal corresponding to the comparison result is output. When the change point detection circuit 6 detects that the signal level of the output signal of the comparator 2 has changed, the change point detection circuit 6 outputs a predetermined change point detection signal Sa to the timer circuit 7.
【0019】一方、コンパレータ2の出力信号を変化点
検知回路6の入力信号としているのに対して、その他の
内部回路やバッファ回路12等には遅延素子等によって
構成された遅延回路10で信号の変化点を故意に遅らせ
ている。このようにすることにより、コンパレータ2自
身の出力信号レベルの変化によって発生するデジタル雑
音に対して、可変抵抗回路5による抵抗値の切り替えの
方を早く行うようにし、該デジタル雑音が発生する時間
帯におけるコンパレータ2のヒステリシス幅を大きくす
ることで誤動作を回避することができる。On the other hand, while the output signal of the comparator 2 is used as the input signal of the change point detection circuit 6, the other internal circuits, the buffer circuit 12 and the like are provided with the delay circuit 10 including delay elements and the like. The point of change is intentionally delayed. By doing so, the resistance value is switched by the variable resistance circuit 5 earlier than the digital noise generated by the change in the output signal level of the comparator 2 itself, and the time zone in which the digital noise occurs A malfunction can be avoided by increasing the hysteresis width of the comparator 2 at.
【0020】次に、タイマー回路7は、カウンタで構成
されており、該変化点検知信号Saが入力されると、経
過時間情報を示したカウンタのカウント値を初期値、例
えば0にリセットした後、カウントを開始する。タイマ
ー回路7は、カウント値を時間比較回路9に常時出力し
ており、時間比較回路9は、タイマー回路7からのカウ
ント値が時間設定レジスタ8に格納されている値になる
と、所定の制御信号SCを可変抵抗回路5に出力する。
可変抵抗回路5は、入力された制御信号SCに応じて抵
抗値を変え、コンパレータ2のヒステリシス幅を変化さ
せる。Next, the timer circuit 7 is composed of a counter, and when the change point detection signal Sa is input, after resetting the count value of the counter indicating the elapsed time information to an initial value, for example, 0. , Start counting. The timer circuit 7 constantly outputs the count value to the time comparison circuit 9, and when the count value from the timer circuit 7 reaches the value stored in the time setting register 8, the time comparison circuit 9 outputs a predetermined control signal. The SC is output to the variable resistance circuit 5.
The variable resistance circuit 5 changes the resistance value according to the input control signal SC and changes the hysteresis width of the comparator 2.
【0021】図2は、可変抵抗回路5の回路例を示した
図である。図2において、可変抵抗回路5は、スイッチ
15及び抵抗16,17で形成されており、スイッチ1
5と抵抗16の直列回路と抵抗17が並列に接続されて
おり、該並列回路は、入力端子INとコンパレータ2の
非反転入力端との間に接続されている。スイッチ15
は、オンすると導通状態になりオフすると遮断状態にな
る。例えば、抵抗16の抵抗値がRaであり、抵抗17
の抵抗値が9×Raとすると、スイッチ15のオン又は
オフによってコンパレータ2のヒステリシスの幅を10
倍に変化させることができる。FIG. 2 is a diagram showing a circuit example of the variable resistance circuit 5. In FIG. 2, the variable resistance circuit 5 includes a switch 15 and resistors 16 and 17, and
A series circuit of the resistor 5 and the resistor 16 and the resistor 17 are connected in parallel, and the parallel circuit is connected between the input terminal IN and the non-inverting input terminal of the comparator 2. Switch 15
Turns on and turns off, and turns off. For example, the resistance value of the resistor 16 is Ra and the resistance value of the resistor 17 is
When the resistance value of 9 is Ra, the hysteresis width of the comparator 2 is set to 10 by turning the switch 15 on or off.
It can be doubled.
【0022】このような構成において、コンパレータ2
は、基準電圧Vrに対して入力電圧Viが大きいとハイ
(High)レベルの信号を、基準電圧Vrに対して入
力電圧Viが小さいとロー(Low)レベルの信号を出
力する。次に、変化点検知回路6は、コンパレータ2の
出力信号がローレベルからハイレベルへ、又はハイレベ
ルからローレベルへ信号レベルが変化したかどうかを検
出する。In such a configuration, the comparator 2
Outputs a high level signal when the input voltage Vi is higher than the reference voltage Vr, and outputs a low level signal when the input voltage Vi is lower than the reference voltage Vr. Next, the change point detection circuit 6 detects whether the output signal of the comparator 2 has changed from low level to high level or from high level to low level.
【0023】変化点検知回路6は、コンパレータ2の出
力信号の変化点を検知するとタイマー回路7に対して所
定の変化点検知信号Saを出力する。タイマー回路7
は、該変化点検知信号Saが入力されるとカウンタをリ
セットして0に戻してからカウントアップを開始する。
なお、タイマー回路7において、動作の基準となるのは
所定の周波数のクロック信号、又は入力信号Siに対し
て正比例の関係にあるクロック信号であり、設定値も含
めて時間情報とは基準となるクロックを単位とする値で
ある。When the change point detection circuit 6 detects the change point of the output signal of the comparator 2, it outputs a predetermined change point detection signal Sa to the timer circuit 7. Timer circuit 7
When the change point detection signal Sa is input, the counter resets the counter to 0 and then starts counting up.
In the timer circuit 7, the reference of the operation is a clock signal of a predetermined frequency or a clock signal which is in direct proportion to the input signal Si, and the time information including the set value serves as a reference. This is a value in units of clocks.
【0024】時間設定レジスタ8は、時間情報設定を外
部のCPU(図示せず)等から任意に行うことができ、
コンパレータ2のヒステリシス幅の変更タイミングが設
定される。時間比較回路9においては、タイマー回路7
から出力されるコンパレータ2の出力信号レベルの変化
からの経過時間Tを示す時間情報と、時間設定レジスタ
8に設定された時間Tsを示す時間情報とを比較し、該
経過時間Tが設定時間Tsになると、可変抵抗回路5に
所定の制御信号SCを出力する。可変抵抗回路5は、該
制御信号SCが入力されると、スイッチ15がオンして
導通状態となり、抵抗17に抵抗16が並列に接続され
る。このため、図2の場合、可変抵抗回路5の抵抗値が
1/10となり、コンパレータ2のヒステリシス幅は1
0倍になる。The time setting register 8 can arbitrarily set time information from an external CPU (not shown) or the like.
The timing of changing the hysteresis width of the comparator 2 is set. In the time comparison circuit 9, the timer circuit 7
The time information indicating the elapsed time T from the change in the output signal level of the comparator 2 output from the time information is compared with the time information indicating the time Ts set in the time setting register 8, and the elapsed time T is set to the set time Ts. Then, a predetermined control signal SC is output to the variable resistance circuit 5. When the control signal SC is input to the variable resistance circuit 5, the switch 15 is turned on to be in a conductive state, and the resistance 16 and the resistance 16 are connected in parallel. Therefore, in the case of FIG. 2, the resistance value of the variable resistance circuit 5 becomes 1/10, and the hysteresis width of the comparator 2 is 1
It becomes 0 times.
【0025】図3は、図1及び図2で示した電圧比較回
路1の動作例を示した図であり、実線で示したaの波形
が入力信号Siを、実線で示したbの波形がコンパレー
タ2の出力波形を、1点鎖線で示したcの波形がコンパ
レータ2のヒステリシス幅の変化をそれぞれ示してい
る。図3では、入力信号Siは2.1Vを中心にした正
弦波であり、該入力信号Siには雑音が乗っているもの
とし、ヒステリシス幅は20mVと200mVの2通り
にしている。FIG. 3 is a diagram showing an operation example of the voltage comparison circuit 1 shown in FIGS. 1 and 2. The waveform of a shown by the solid line is the input signal Si, and the waveform of b shown by the solid line is the waveform. An output waveform of the comparator 2 is indicated by a one-dot chain line, and a waveform of c indicates a change in the hysteresis width of the comparator 2. In FIG. 3, the input signal Si is a sine wave centered on 2.1 V, noise is added to the input signal Si, and there are two hysteresis widths, 20 mV and 200 mV.
【0026】図3から分かるように、コンパレータ2の
出力信号レベルが変化すると、直ちにヒステリシス幅が
200mVに切り替わり、耐雑音特性を向上させてコン
パレータ2の出力信号の発振を防止している。コンパレ
ータ2の出力信号レベル変化点からタイマー回路7によ
る経過時間のカウントが行われ、所定の時間経過すると
ヒステリシス幅を20mVに戻して次の信号レベルの変
化点に備える。このように、ヒステリシス幅を20mV
に固定した図11の従来の電圧比較回路における各波形
と比較して、コンパレータ2の出力信号が発振しておら
ず、信号レベルの変化点が遅れることなく耐雑音特性が
向上していることが分かる。As can be seen from FIG. 3, when the output signal level of the comparator 2 changes, the hysteresis width is immediately switched to 200 mV, the noise resistance characteristic is improved, and the oscillation of the output signal of the comparator 2 is prevented. The elapsed time is counted by the timer circuit 7 from the output signal level change point of the comparator 2, and after a predetermined time elapses, the hysteresis width is returned to 20 mV to prepare for the next signal level change point. In this way, the hysteresis width is 20 mV
Compared with each waveform in the conventional voltage comparison circuit of FIG. 11 fixed to FIG. 11, the output signal of the comparator 2 does not oscillate, and the noise resistance characteristic is improved without delaying the change point of the signal level. I understand.
【0027】ここで、前記説明では、時間設定レジスタ
8及び時間比較回路9を1つずつ備えた場合を例にして
して説明したが、図4で示すように、時間設定レジスタ
及び時間比較回路をそれぞれ複数設けるようにしてもよ
い。なお、図4では、時間設定レジスタ及び時間比較回
路を3つずつ備えた場合を例にして示しており、図1と
同じものは同じ符号で示し、ここではその説明を省略す
ると共に図1との相違点のみ説明する。図4における図
1との相違点は、図1の時間設定レジスタ8の代わりに
3つの時間設定レジスタ8a〜8cを、図1の時間比較
回路9の代わりに3つの時間比較回路9a〜9cを備え
ると共に、これに伴って図1の可変抵抗回路5の回路構
成を変えて可変抵抗回路5aとしたことにある。なお、
可変抵抗回路5aはヒステリシス幅切替部をなし、時間
設定レジスタ8a〜8cはそれぞれ時間設定部をなす。In the above description, the case where the time setting register 8 and the time comparison circuit 9 are provided one by one has been described as an example, but as shown in FIG. 4, the time setting register and the time comparison circuit 9 are provided. You may make it each provide a plurality. In addition, in FIG. 4, the case where three time setting registers and three time comparison circuits are provided is shown as an example, and the same components as those in FIG. Only the differences will be described. 4 is different from FIG. 1 in that three time setting registers 8a to 8c are used instead of the time setting register 8 in FIG. 1, and three time comparison circuits 9a to 9c are used in place of the time comparing circuit 9 in FIG. In addition to the above, the circuit configuration of the variable resistance circuit 5 in FIG. 1 is changed accordingly to form the variable resistance circuit 5a. In addition,
The variable resistance circuit 5a forms a hysteresis width switching unit, and the time setting registers 8a to 8c form a time setting unit.
【0028】図4における電圧比較回路1は、コンパレ
ータ2と、基準電圧発生回路3と、抵抗4と、入力され
た制御信号に応じて抵抗値を変える、ヒステリシス幅の
調整を行うための可変抵抗回路5aと、変化点検知回路
6と、タイマー回路7と、それぞれ所定の時間情報が設
定された時間設定レジスタ8a〜8cと、タイマー回路
7から出力される経過時間情報と対応する時間設定レジ
スタ8a〜8cに設定された時間情報とを比較して該比
較結果を出力する時間比較回路9a〜9cと、遅延回路
10とを備えている。The voltage comparison circuit 1 in FIG. 4 includes a comparator 2, a reference voltage generation circuit 3, a resistor 4, and a variable resistor for adjusting the hysteresis width, which changes the resistance value according to the input control signal. The circuit 5a, the change point detection circuit 6, the timer circuit 7, the time setting registers 8a to 8c in which predetermined time information is set, respectively, and the time setting register 8a corresponding to the elapsed time information output from the timer circuit 7. Time comparison circuits 9a to 9c that compare the time information set to 8c to output the comparison result, and a delay circuit 10.
【0029】タイマー回路7は、カウント値を時間比較
回路9a〜9cにそれぞれ常時出力しており、各時間比
較回路9a〜9cは、タイマー回路7からのカウント値
が対応する時間設定レジスタ8a〜8cに格納されてい
る値になると、所定の制御信号SCa〜SCcを可変抵
抗回路5aにそれぞれ出力する。可変抵抗回路5aは、
入力された制御信号SCa〜SCcに応じて抵抗値を変
え、コンパレータ2のヒステリシスを変化させる。The timer circuit 7 constantly outputs the count value to the time comparison circuits 9a to 9c, respectively, and the time comparison circuits 9a to 9c respectively correspond to the time setting registers 8a to 8c to which the count value from the timer circuit 7 corresponds. When the value stored in the variable resistance circuit 5a is reached, predetermined control signals SCa to SCc are output to the variable resistance circuit 5a, respectively. The variable resistance circuit 5a is
The resistance value is changed according to the input control signals SCa to SCc to change the hysteresis of the comparator 2.
【0030】図5は、可変抵抗回路5aの回路例を示し
た図である。図5において、可変抵抗回路5aは、スイ
ッチ21〜23及び抵抗24〜27で形成されており、
スイッチ21と抵抗25の直列回路、スイッチ22と抵
抗26の直列回路、スイッチ23と抵抗27の直列回
路、及び抵抗24がそれぞれ並列に接続されており、該
並列回路は、入力端子INとコンパレータ2の非反転入
力端との間に接続されている。スイッチ21〜23は、
オンすると導通状態になりオフすると遮断状態になる。FIG. 5 is a diagram showing a circuit example of the variable resistance circuit 5a. In FIG. 5, the variable resistance circuit 5a includes switches 21 to 23 and resistors 24 to 27,
A series circuit of a switch 21 and a resistor 25, a series circuit of a switch 22 and a resistor 26, a series circuit of a switch 23 and a resistor 27, and a resistor 24 are connected in parallel, and the parallel circuit includes an input terminal IN and a comparator 2. It is connected to the non-inverting input terminal of. The switches 21 to 23 are
When turned on, it becomes conductive, and when turned off, it becomes cutoff.
【0031】例えば、抵抗24及び25の抵抗値をそれ
ぞれ8×Rにし、抵抗26の抵抗値を4×Rとし、抵抗
27の抵抗値を2×Rとし、スイッチ21、22及び2
3の順にスイッチをオンすることにより、8R、4R、
2R、1Rの4通りの抵抗値を選択することができる。
また、このように順にスイッチをオンさせることによ
り、同時にスイッチをオン又はオフさせる回数を最小に
することができ、抵抗値を変更するときに、可変抵抗回
路5aの抵抗値が乱れることを防止できコンパレータ2
のヒステリシス幅の乱れを防止できるという利点があ
る。このように可変抵抗回路5aにおける抵抗の選択を
行うことにより、可変抵抗回路5aの抵抗値が1Rのと
きを基準にすると、コンパレータ2のヒステリシス幅を
時間帯ごとに1倍、2倍、4倍、8倍に変化させること
ができる。For example, the resistance values of the resistors 24 and 25 are 8 × R, the resistance value of the resistor 26 is 4 × R, the resistance value of the resistor 27 is 2 × R, and the switches 21, 22 and 2 are used.
By turning on the switches in the order of 3, 8R, 4R,
It is possible to select four resistance values of 2R and 1R.
Further, by sequentially turning on the switches in this way, the number of times the switches are turned on or off at the same time can be minimized, and the resistance value of the variable resistance circuit 5a can be prevented from being disturbed when the resistance value is changed. Comparator 2
There is an advantage that disturbance of the hysteresis width of can be prevented. When the resistance value of the variable resistance circuit 5a is set to 1R by selecting the resistance in the variable resistance circuit 5a as described above, the hysteresis width of the comparator 2 is 1 time, 2 times, 4 times at each time zone. , Can be changed eight times.
【0032】ここで、時間設定レジスタ8aには所定時
間T1を示す時間情報が、時間設定レジスタ8bには所
定時間T2を示す時間情報が、時間設定レジスタ8cに
は所定時間T3を示す時間情報がそれぞれ設定されてお
り、所定時間T1〜T3の関係は、T1<T2<T3で
あるとする。この場合、まず、時間比較回路9aは、タ
イマー回路7からの時間情報が所定時間T1を示すと、
スイッチ21をオンさせて導通状態にする。次に時間比
較回路9bは、タイマー回路7からの時間情報が所定時
間T2を示すと、スイッチ22をオンさせて導通状態に
する。次に、時間比較回路9cは、タイマー回路7から
の時間情報が所定時間T3を示すと、スイッチ23をオ
ンさせて導通状態にする。Here, the time setting register 8a has time information indicating the predetermined time T1, the time setting register 8b has time information indicating the predetermined time T2, and the time setting register 8c has time information indicating the predetermined time T3. These are respectively set, and the relationship between the predetermined times T1 to T3 is T1 <T2 <T3. In this case, first, the time comparison circuit 9a determines that the time information from the timer circuit 7 indicates the predetermined time T1.
The switch 21 is turned on to make it conductive. Next, when the time information from the timer circuit 7 indicates the predetermined time T2, the time comparison circuit 9b turns on the switch 22 to make it conductive. Next, when the time information from the timer circuit 7 indicates the predetermined time T3, the time comparison circuit 9c turns on the switch 23 to make it conductive.
【0033】図6は、図4及び図5で示した電圧比較回
路1の動作例を示した図であり、実線で示したaの波形
が入力信号Siを、実線で示したbの波形がコンパレー
タ2の出力波形を、1点鎖線で示したcの波形がコンパ
レータ2のヒステリシス幅の変化をそれぞれ示してい
る。図6では、入力信号Siは2.1Vを中心にした正
弦波であり、該入力信号Siには中心値2.1V付近に
雑音が乗るものとし、ヒステリシス幅は50mV、10
0mV、200mV及び400mVの4通りにしてい
る。FIG. 6 is a diagram showing an operation example of the voltage comparison circuit 1 shown in FIGS. 4 and 5, in which the waveform of a shown by the solid line is the input signal Si and the waveform of b shown by the solid line is. An output waveform of the comparator 2 is indicated by a one-dot chain line, and a waveform of c indicates a change in the hysteresis width of the comparator 2. In FIG. 6, the input signal Si is a sine wave centered on 2.1 V, noise is added to the input signal Si near the center value 2.1 V, and the hysteresis width is 50 mV.
There are four types of 0 mV, 200 mV, and 400 mV.
【0034】図6において、タイマー回路7からの時間
情報が所定時間T1を示すまでは、可変抵抗回路5aの
スイッチ21〜23はそれぞれオフして遮断状態であ
り、このときのヒステリシス幅は400mVである。次
に、タイマー回路7からの時間情報が所定時間T1を示
すと、時間比較回路9aは、スイッチ21をオンさせて
導通状態にすることから、ヒステリシス幅は200mV
に低下する。次に、タイマー回路7からの時間情報が所
定時間T2を示すと、更に時間比較回路9bがスイッチ
22をオンさせて導通状態にすることから、ヒステリシ
ス幅は100mVに低下する。In FIG. 6, until the time information from the timer circuit 7 indicates the predetermined time T1, the switches 21 to 23 of the variable resistance circuit 5a are off and cut off, and the hysteresis width at this time is 400 mV. is there. Next, when the time information from the timer circuit 7 indicates the predetermined time T1, the time comparison circuit 9a turns on the switch 21 to bring it into a conductive state, so that the hysteresis width is 200 mV.
Fall to. Next, when the time information from the timer circuit 7 indicates the predetermined time T2, the time comparison circuit 9b further turns on the switch 22 to bring it into a conductive state, so that the hysteresis width is reduced to 100 mV.
【0035】次に、タイマー回路7からの時間情報が所
定時間T3を示すと、更に時間比較回路9cがスイッチ
23をオンさせて導通状態にすることから、ヒステリシ
ス幅は50mVに低下する。コンパレータ2の出力信号
レベルが変化すると、タイマー回路7からの時間情報が
0にリセットされるため、時間比較回路9a〜9cは、
対応するスイッチ21〜23をオフさせて遮断状態にす
ることから、ヒステリシス幅は再び400mVになり、
前記のような動作が繰り返される。このように、図6に
おいて、ヒステリシス幅を固定した図11の従来の電圧
比較回路における各波形と比較すると、入力信号Siの
中心値付近で大きな雑音が乗っている場合においても、
コンパレータ2の出力信号が発振せず、信号レベルの変
化点が遅れることなく耐雑音特性が向上していることが
分かる。Next, when the time information from the timer circuit 7 indicates the predetermined time T3, the time comparison circuit 9c further turns on the switch 23 to bring it into a conductive state, so that the hysteresis width is reduced to 50 mV. When the output signal level of the comparator 2 changes, the time information from the timer circuit 7 is reset to 0, so that the time comparison circuits 9a to 9c
Since the corresponding switches 21 to 23 are turned off to be in the cutoff state, the hysteresis width becomes 400 mV again,
The above operation is repeated. As described above, in FIG. 6, when compared with each waveform in the conventional voltage comparison circuit of FIG. 11 in which the hysteresis width is fixed, even when a large noise is present near the center value of the input signal Si,
It can be seen that the output signal of the comparator 2 does not oscillate and the noise resistance characteristic is improved without delaying the change point of the signal level.
【0036】このように、本第1の実施の形態における
電圧比較回路は、コンパレータ2の出力信号の信号レベ
ル変化点から所定の時間が経過するまではコンパレータ
2のヒステリシス幅を大きくし、該所定の時間が経過し
た後はコンパレータ2のヒステリシス幅が小さくなるよ
うにした。このため、コンパレータ2の出力信号レベル
が変化しないと思われる期間は、コンパレータ2のヒス
テリシス幅を大きくすることができると共に、コンパレ
ータ2の出力信号レベルが変化すると思われる期間は、
コンパレータ2のヒステリシス幅を小さくすることがで
き、出力信号レベルの変化点が遅れることなく耐雑音特
性を向上させることができる。As described above, the voltage comparison circuit according to the first embodiment increases the hysteresis width of the comparator 2 until a predetermined time elapses from the signal level change point of the output signal of the comparator 2, and the predetermined width. After the lapse of time, the hysteresis width of the comparator 2 is reduced. Therefore, the hysteresis width of the comparator 2 can be increased during the period in which the output signal level of the comparator 2 does not seem to change, and the period in which the output signal level of the comparator 2 seems to change is
The hysteresis width of the comparator 2 can be reduced, and the noise resistance characteristic can be improved without delaying the change point of the output signal level.
【0037】第2の実施の形態.前記第1の実施の形態
では、時間設定レジスタにあらかじめ所定時間を示す時
間情報を設定するようにしたが、コンパレータ2の出力
信号レベルが変化する周期を所定の回数測定して平均値
を算出し、該算出した周期を示す時間情報を期間設定レ
ジスタに更新設定するようにしてもよく、このようにし
たものを本発明の第2の実施の形態とする。Second Embodiment. In the first embodiment, the time information indicating the predetermined time is set in advance in the time setting register. However, the cycle in which the output signal level of the comparator 2 changes is measured a predetermined number of times to calculate the average value. The time information indicating the calculated cycle may be updated and set in the period setting register, and such a configuration is the second embodiment of the present invention.
【0038】図7は、本発明の第2の実施の形態におけ
る電圧比較回路の例を示したブロック図である。なお、
図7では、図1と同じものは同じ符号で示しており、こ
こではその説明を省略すると共に図1との相違点のみ説
明する。図7における図1との相違点は、図1の時間設
定レジスタ8を時間情報の設定が自由に行うことができ
る時間設定レジスタ51に置き換えると共に、タイマー
回路7から出力される経過時間情報が0にリセットされ
る周期を所定の回数検出して記憶し、該検出した各周期
の平均値から所定の方法で算出した時間情報を期間設定
レジスタ51に設定する変化点周期検出回路52を備え
たことにあり、これに伴って、図1の電圧比較回路1を
電圧比較回路50にしたことにある。FIG. 7 is a block diagram showing an example of the voltage comparison circuit according to the second embodiment of the present invention. In addition,
7, the same components as those in FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted and only the differences from FIG. 1 will be described. The difference between FIG. 7 and FIG. 1 is that the time setting register 8 of FIG. 1 is replaced with a time setting register 51 that can freely set time information, and the elapsed time information output from the timer circuit 7 is 0. A change-point cycle detection circuit 52 for detecting and storing a cycle to be reset to a predetermined number of times and storing it, and setting time information calculated by a predetermined method from an average value of each detected cycle in the period setting register 51. Therefore, the voltage comparison circuit 1 in FIG. 1 is replaced by the voltage comparison circuit 50.
【0039】図7の電圧比較回路50は、コンパレータ
2と、基準電圧発生回路3と、抵抗4と、可変抵抗回路
5と、変化点検知回路6と、タイマー回路7と、時間情
報の設定を行うことができる時間設定レジスタ51とを
備えている。更に、図7の電圧比較回路50は、タイマ
ー回路7から出力される経過時間情報が0にリセットさ
れる周期を所定の回数検出して記憶し、該検出した各周
期の平均値を算出し更に該平均値から所定の方法で算出
した時間情報を時間設定レジスタ51に設定する変化点
周期検出回路52と、タイマー回路7からの出力される
経過時間情報と時間設定レジスタ51に設定された時間
情報とを比較して該比較結果を示す制御信号SCを出力
する時間比較回路9と、遅延回路10とを備えている。The voltage comparison circuit 50 of FIG. 7 sets a comparator 2, a reference voltage generation circuit 3, a resistor 4, a variable resistance circuit 5, a change point detection circuit 6, a timer circuit 7, and time information. It has a time setting register 51 that can be set. Further, the voltage comparison circuit 50 of FIG. 7 detects and stores a predetermined number of cycles in which the elapsed time information output from the timer circuit 7 is reset, and stores the detected cycle, and calculates an average value of each detected cycle. A transition point period detection circuit 52 that sets time information calculated by a predetermined method from the average value in the time setting register 51, elapsed time information output from the timer circuit 7, and time information set in the time setting register 51. The delay circuit 10 is provided with a time comparison circuit 9 for comparing the control signals SC and the control signal SC indicating the comparison result.
【0040】変化点検知回路6は、コンパレータ2の出
力信号の変化点を検出するとタイマー回路7、時間設定
レジスタ51及び変化点周期検出回路52に対してそれ
ぞれ所定の変化点検知信号Saを出力する。変化点周期
検出回路52は、該変化点検知信号Saが入力される
と、内蔵するシフトレジスタをシフトさせると共に、該
シフトレジスタに格納された各周期の平均値を算出し更
に該平均値から所定の方法で算出した時間情報を時間設
定レジスタ51に常時出力する。時間設定レジスタ51
は、該変化点検出信号Saが入力されると、変化点周期
検出回路52から出力された該時間情報が設定される。When the change point detection circuit 6 detects a change point of the output signal of the comparator 2, it outputs a predetermined change point detection signal Sa to the timer circuit 7, the time setting register 51 and the change point period detection circuit 52. . When the change point detection signal Sa is input, the change point cycle detection circuit 52 shifts the built-in shift register, calculates the average value of each cycle stored in the shift register, and further determines a predetermined value from the average value. The time information calculated by the above method is always output to the time setting register 51. Time setting register 51
When the change point detection signal Sa is input, the time information output from the change point period detection circuit 52 is set.
【0041】タイマー回路7は、経過時間を示したカウ
ント値を時間比較回路9及び変化点周期検出回路52に
それぞれ常時出力しており、変化点周期検出回路52
は、タイマー回路7から出力されるカウント値が初期値
にリセットされる間隔、すなわちコンパレータ2の出力
信号レベルが変化する周期を検出して格納し、所定の回
数格納した該周期の平均値を算出し、該平均値から所定
の方法で算出した時間情報を時間設定レジスタ51に設
定する。時間比較回路9は、タイマー回路7からの経過
時間情報を示すカウント値が時間設定レジスタ51に格
納されている値になると、所定の制御信号SCを可変抵
抗回路5に出力する。The timer circuit 7 constantly outputs the count value indicating the elapsed time to the time comparison circuit 9 and the change point cycle detection circuit 52, respectively.
Detects and stores the interval at which the count value output from the timer circuit 7 is reset to the initial value, that is, the cycle in which the output signal level of the comparator 2 changes, and stores the average value of the cycle stored a predetermined number of times. Then, the time information calculated from the average value by a predetermined method is set in the time setting register 51. When the count value indicating the elapsed time information from the timer circuit 7 reaches the value stored in the time setting register 51, the time comparison circuit 9 outputs a predetermined control signal SC to the variable resistance circuit 5.
【0042】図8は、変化点周期検出回路52の内部構
成例を示したブロック図である。なお、図8では、変化
点周期検出回路52は、コンパレータ2からの出力信号
レベルが変化する周期を4回記憶し、該記憶した4回の
周期を平均した値を時間設定レジスタ51に設定する場
合を例にして示している。図8において、変化点周期検
出回路52は、タイマー回路7から出力されるカウント
値が初期値にリセットされる間隔を示す時間情報、すな
わち、タイマー回路7から出力されるカウント値を格納
して出力するシフトレジスタを形成する4つのフリップ
フロップFF1〜FF4と、各フリップフロップFF1
〜FF4から出力された各カウント値の平均値を算出
し、更に該平均値から所定の方法で算出した時間情報を
時間設定レジスタ51に出力する演算回路55とで構成
されている。FIG. 8 is a block diagram showing an example of the internal configuration of the change point period detection circuit 52. In FIG. 8, the change point cycle detection circuit 52 stores the cycle in which the output signal level from the comparator 2 changes four times, and sets a value obtained by averaging the stored four cycles in the time setting register 51. The case is shown as an example. In FIG. 8, the change point cycle detection circuit 52 stores and outputs time information indicating an interval at which the count value output from the timer circuit 7 is reset to an initial value, that is, the count value output from the timer circuit 7. And four flip-flops FF1 to FF4 that form a shift register
.About.FF4, the arithmetic circuit 55 calculates the average value of the count values and outputs the time information calculated from the average value by a predetermined method to the time setting register 51.
【0043】変化点検知回路6からの変化点検知信号S
aが入力されると、フリップフロップFF1は、タイマ
ー回路7から入力されるカウント値を格納し、フリップ
フロップFF2は、フリップフロップFF1に格納され
ているカウント値を格納する。同様に、フリップフロッ
プFF3は、フリップフロップFF2に格納されている
カウント値を格納し、フリップフロップFF4は、フリ
ップフロップFF3に格納されているカウント値を格納
する。このようにして、シフトレジスタをなす各フリッ
プフロップFF1〜FF4は、格納するカウント値をシ
フトさせる。一方、フリップフロップFF1〜FF4に
格納されている各カウント値は、演算回路55にそれぞ
れ常時出力され、演算回路55は、入力された各カウン
ト値から算出した時間情報を時間設定レジスタ51に常
時出力する。Change point detection signal S from the change point detection circuit 6
When a is input, the flip-flop FF1 stores the count value input from the timer circuit 7, and the flip-flop FF2 stores the count value stored in the flip-flop FF1. Similarly, the flip-flop FF3 stores the count value stored in the flip-flop FF2, and the flip-flop FF4 stores the count value stored in the flip-flop FF3. In this way, the flip-flops FF1 to FF4 forming the shift register shift the stored count value. On the other hand, each count value stored in the flip-flops FF1 to FF4 is always output to the arithmetic circuit 55, and the arithmetic circuit 55 constantly outputs the time information calculated from each input count value to the time setting register 51. To do.
【0044】時間設定レジスタ51は、変化点検知回路
6からの変化点検知信号Saが入力されると、演算回路
55からの時間情報を格納し、コンパレータ2のヒステ
リシス幅の変更タイミングが設定される。時間比較回路
9においては、タイマー回路7から出力されるコンパレ
ータ2の出力信号レベルの変化からの経過時間Tを示す
時間情報と、時間設定レジスタ8に設定された時間Ts
を示した時間情報とを比較し、該経過時間Tが設定時間
Tsになると、可変抵抗回路5に所定の制御信号SCを
出力する。図7及び図8で示した電圧比較回路50の動
作例を示した図は、図3と同様であり、図11の従来の
電圧比較回路における各波形と比較して、コンパレータ
2の出力信号が発振しておらず、入力信号Siの周波数
が変化した場合においても、信号レベルの変化点が遅れ
ることなく耐雑音特性を向上させることができる。When the change point detection signal Sa from the change point detection circuit 6 is input, the time setting register 51 stores the time information from the arithmetic circuit 55 and sets the timing for changing the hysteresis width of the comparator 2. . In the time comparison circuit 9, time information indicating the elapsed time T from the change in the output signal level of the comparator 2 output from the timer circuit 7 and the time Ts set in the time setting register 8 are set.
When the elapsed time T reaches the set time Ts, a predetermined control signal SC is output to the variable resistance circuit 5. The diagram showing the operation example of the voltage comparison circuit 50 shown in FIG. 7 and FIG. 8 is similar to FIG. 3, and the output signal of the comparator 2 is compared with each waveform in the conventional voltage comparison circuit of FIG. Even when the oscillation does not occur and the frequency of the input signal Si changes, the noise resistance characteristic can be improved without delaying the change point of the signal level.
【0045】ここで、前記説明では、時間設定レジスタ
51及び時間比較回路9を1つずつ備えた場合を例にし
てして説明したが、本第2の実施の形態においても、図
9で示すように、時間設定レジスタ及び時間比較回路を
それぞれ複数設けるようにしてもよい。なお、図9で
は、時間設定レジスタ及び時間比較回路を3つずつ備え
た場合を例にして示しており、図3又は図7と同じもの
は同じ符号で示し、ここではその説明を省略すると共に
図7との相違点のみ説明する。In the above description, the case where the time setting register 51 and the time comparison circuit 9 are provided one by one has been described as an example, but in the second embodiment as well, it is shown in FIG. As described above, a plurality of time setting registers and a plurality of time comparison circuits may be provided. Note that FIG. 9 shows an example in which three time setting registers and three time comparison circuits are provided. The same components as those in FIG. 3 or 7 are designated by the same reference numerals, and the description thereof will be omitted here. Only differences from FIG. 7 will be described.
【0046】図9における図7との相違点は、図7の時
間設定レジスタ51の代わりに3つの時間設定レジスタ
51a〜51cを、図7の変化点周期検出回路52の代
わりに3つの変化点周期検出回路52a〜52cを、図
7の時間比較回路9の代わりに3つの時間比較回路9a
〜9cを備えると共に、これに伴って図7の可変抵抗回
路5を図5の可変抵抗回路5aに置き換えたことにあ
る。The difference between FIG. 9 and FIG. 7 is that the time setting register 51 of FIG. 7 is replaced by three time setting registers 51a to 51c, and the change point period detection circuit 52 of FIG. The period detection circuits 52a to 52c have three time comparison circuits 9a instead of the time comparison circuit 9 of FIG.
.About.9c, and accordingly, the variable resistance circuit 5 of FIG. 7 is replaced with the variable resistance circuit 5a of FIG.
【0047】図9における電圧比較回路50は、コンパ
レータ2と、基準電圧発生回路3と、抵抗4と、可変抵
抗回路5aと、変化点検知回路6と、タイマー回路7
と、それぞれ所定の時間情報が設定された時間設定レジ
スタ51a〜51cと、タイマー回路7から出力される
経過時間情報が0にリセットされる周期を所定の回数検
出して記憶し、該検出した各周期の平均値を算出し更に
該平均値から所定の方法で算出した時間情報を対応する
時間設定レジスタ51a〜51cに設定する変化点周期
検出回路52a〜52cとを備えている。更に、電圧比
較回路50は、タイマー回路7から出力される経過時間
情報と対応する時間設定レジスタ51a〜51cに設定
された時間情報とを比較して該比較結果を出力する時間
比較回路9a〜9cと、遅延回路10とを備えている。The voltage comparison circuit 50 in FIG. 9 includes a comparator 2, a reference voltage generation circuit 3, a resistor 4, a variable resistance circuit 5a, a change point detection circuit 6, and a timer circuit 7.
And a time setting register 51a to 51c in which predetermined time information is set, respectively, and a cycle in which the elapsed time information output from the timer circuit 7 is reset to 0 is detected and stored a predetermined number of times, and each detected cycle is detected. Change point cycle detection circuits 52a to 52c are provided for calculating the average value of the cycles and setting the time information calculated from the average value by a predetermined method in the corresponding time setting registers 51a to 51c. Further, the voltage comparison circuit 50 compares the elapsed time information output from the timer circuit 7 with the time information set in the corresponding time setting registers 51a to 51c and outputs the comparison result, and the time comparison circuits 9a to 9c. And a delay circuit 10.
【0048】変化点検知回路6は、コンパレータ2の出
力信号の変化点を検出するとタイマー回路7、時間設定
レジスタ51a〜51c及び変化点周期検出回路52a
〜52cに対してそれぞれ所定の変化点検知信号Saを
出力する。変化点周期検出回路52a〜52cは、図8
で示した変化点周期検出回路52と同じ回路構成をな
し、該変化点検知信号Saが入力されると、それぞれ内
蔵するシフトレジスタをシフトさせると共に、該シフト
レジスタに格納された各周期の平均値を算出し更に該平
均値からそれぞれ所定の方法で算出した時間情報を対応
する時間設定レジスタ51a〜51cにそれぞれ常時出
力する。時間設定レジスタ51a〜51cは、該変化点
検出信号Saが入力されると、対応する変化点周期検出
回路52a〜52cから出力された該時間情報がそれぞ
れ設定される。When the change point detecting circuit 6 detects the change point of the output signal of the comparator 2, the timer circuit 7, the time setting registers 51a to 51c, and the change point cycle detecting circuit 52a.
The predetermined change point detection signal Sa is output to each of .about.52c. The change point period detection circuits 52a to 52c are the same as those shown in FIG.
The same circuit configuration as that of the change point cycle detection circuit 52 shown in FIG. 3 is formed, and when the change point detection signal Sa is input, the shift registers incorporated therein are shifted, and the average value of each cycle stored in the shift register is changed. And the time information calculated from the average value by a predetermined method is constantly output to the corresponding time setting registers 51a to 51c. When the change point detection signal Sa is input to the time setting registers 51a to 51c, the time information output from the corresponding change point period detection circuits 52a to 52c is set.
【0049】タイマー回路7は、経過時間を示したカウ
ント値を時間比較回路9a〜9c及び変化点周期検出回
路52a〜52cにそれぞれ常時出力しており、変化点
周期検出回路52a〜52cは、タイマー回路7から出
力されるカウント値が初期値にリセットされる間隔、す
なわちコンパレータ2からの出力信号レベルが変化する
周期をそれぞれ検出して格納し、所定の回数格納した該
各周期の平均値を算出し該平均値からそれぞれ所定の方
法で算出した時間情報を対応する時間設定レジスタ51
a〜51cにそれぞれ設定する。The timer circuit 7 constantly outputs the count value indicating the elapsed time to the time comparison circuits 9a to 9c and the change point cycle detection circuits 52a to 52c, respectively, and the change point cycle detection circuits 52a to 52c use the timer. The interval at which the count value output from the circuit 7 is reset to the initial value, that is, the cycle in which the output signal level from the comparator 2 changes is detected and stored, and the average value of each cycle stored a predetermined number of times is calculated. The time setting register 51 corresponding to the time information calculated by the predetermined method from the average value.
a to 51c, respectively.
【0050】時間比較回路9a〜9cは、タイマー回路
7からの経過時間情報を示すカウント値が対応する時間
設定レジスタ51a〜51cに格納されている値になる
と、所定の制御信号を可変抵抗回路5aに出力する。な
お、時間設定レジスタ51aには所定時間T1を示す時
間情報が、時間設定レジスタ51bには所定時間T2を
示す時間情報が、時間設定レジスタ51cには所定時間
T3を示す時間情報がそれぞれ設定される。図9で示し
た電圧比較回路50の動作例を示した図は、図6と同様
であり、図11の従来の電圧比較回路における各波形と
比較すると、入力信号Siの中心値付近で大きな雑音が
乗っている場合においても、コンパレータ2の出力信号
が発振せず、入力信号Siの周波数が変化した場合にお
いても、信号レベルの変化点が遅れることなく耐雑音特
性を向上させることができる。When the count value indicating the elapsed time information from the timer circuit 7 reaches the value stored in the corresponding time setting register 51a to 51c, the time comparison circuits 9a to 9c output a predetermined control signal to the variable resistance circuit 5a. Output to. The time setting register 51a is set with time information indicating the predetermined time T1, the time setting register 51b is set with time information indicating the predetermined time T2, and the time setting register 51c is set with time information indicating the predetermined time T3. . A diagram showing an operation example of the voltage comparison circuit 50 shown in FIG. 9 is similar to FIG. 6, and when compared with each waveform in the conventional voltage comparison circuit of FIG. 11, a large noise is generated near the center value of the input signal Si. The noise-proof characteristic can be improved without delaying the change point of the signal level even when the output signal of the comparator 2 does not oscillate and the frequency of the input signal Si changes even when the input signal Si changes.
【0051】このように、本第2の実施の形態における
電圧比較回路は、前記第1の実施の形態の電圧比較回路
に対して、コンパレータ2の出力信号レベルが変化する
周期を検出して格納し、所定の回数格納した該周期の平
均値を算出して該平均値から所定の方法で算出した時間
情報を対応する時間設定レジスタに設定する変化点周期
検出回路を設けるようにした。このため、入力信号Si
の周波数が変化した場合においても、前記第1の実施の
形態と同様の効果を得ることができる。As described above, the voltage comparison circuit according to the second embodiment detects and stores the cycle in which the output signal level of the comparator 2 changes, as compared with the voltage comparison circuit according to the first embodiment. Then, a change point cycle detection circuit is provided which calculates the average value of the cycles stored a predetermined number of times and sets the time information calculated from the average value by a predetermined method in the corresponding time setting register. Therefore, the input signal Si
Even when the frequency changes, the same effect as that of the first embodiment can be obtained.
【0052】[0052]
【発明の効果】前記の説明から明らかなように、本発明
の電圧比較回路によれば、電圧比較部の出力信号におけ
る信号レベル変化点からの経過時間が所定の時間以上に
なると、電圧比較部のヒステリシス幅を例えば小さくな
るように切り替えるようにした。このことから、電圧比
較結果が変化しないであろう時間帯においては、電圧比
較部のヒステリシス幅を大きくし、電圧比較結果が変化
する時間帯においては、電圧比較部のヒステリシス幅を
小さくすることができるため、小さなヒステリシス幅を
有した耐雑音性に優れた特性を得ることができ、出力信
号レベルの変化点が遅れることなく耐雑音特性を向上さ
せることができる。As is apparent from the above description, according to the voltage comparison circuit of the present invention, when the elapsed time from the signal level change point in the output signal of the voltage comparison unit becomes a predetermined time or more, the voltage comparison unit The hysteresis width of is switched to be smaller, for example. From this, it is possible to increase the hysteresis width of the voltage comparison unit in the time zone in which the voltage comparison result is unlikely to change and decrease the hysteresis width of the voltage comparison unit in the time zone in which the voltage comparison result changes. Therefore, it is possible to obtain a characteristic having excellent noise resistance with a small hysteresis width, and it is possible to improve the noise resistance without delaying the change point of the output signal level.
【0053】また、電圧比較部の出力信号レベルにおけ
る変化点間の各周期の平均値から所定の方法で算出した
時間を、電圧比較部における出力信号レベルの変化点を
検出するごとに時間設定部に更新して設定するようにし
た。このことから、入力信号の周波数が変化した場合に
おいても、出力信号レベルの変化点が遅れることなく耐
雑音特性を向上させることができる。例えば、光ディス
ク装置においてCAV(各速度一定)制御が行われる場
合のウォブル信号を考えると、光ピックアップが内周か
ら外周へ移動すると徐々に周波数が高くなってくる。こ
のような場合の周波数の変化はゆるやかであるので、直
前の変化点の周期を基にしてヒステリシス幅の変更タイ
ミングの時間設定を自動的に更新することができ、入力
信号に対する耐雑音特性を向上させることができる。Further, the time calculated by the predetermined method from the average value of each period between the changing points of the output signal level of the voltage comparing section is set every time the changing point of the output signal level of the voltage comparing section is detected. I updated it and set it. Therefore, even when the frequency of the input signal changes, the noise resistance characteristic can be improved without delaying the change point of the output signal level. For example, considering a wobble signal when CAV (constant speeds) control is performed in an optical disk device, the frequency gradually increases as the optical pickup moves from the inner circumference to the outer circumference. In such a case, the change in frequency is gradual, so the time setting of the change timing of the hysteresis width can be automatically updated based on the cycle of the immediately preceding change point, improving the noise resistance characteristics to the input signal. Can be made.
【0054】また、本発明の電圧比較回路によれば、電
圧比較部の出力信号における信号レベル変化点からの経
過時間に応じて、電圧比較部のヒステリシス幅を例えば
小さくなるように切り替えるようにした。このことか
ら、各時間帯におけるヒステリシス幅を細かく設定する
ことができ、例えば大きな雑音の発生時間帯がはっきり
している場合において、その時間帯におけるヒステリシ
ス幅を大きくすることで、耐雑音特性を向上させること
ができると共に、電圧比較結果が変化する時間帯ではヒ
ステリシス幅を小さくすることができ、小さなヒステリ
シス幅を有した耐雑音性に優れた特性を得ることがで
き、出力信号レベルの変化点が遅れることなく耐雑音特
性を向上させることができる。Further, according to the voltage comparison circuit of the present invention, the hysteresis width of the voltage comparison unit is switched so as to become smaller, for example, according to the elapsed time from the signal level change point in the output signal of the voltage comparison unit. . From this, it is possible to finely set the hysteresis width in each time zone. For example, when the time zone where a large amount of noise is generated is clear, the noise width can be improved by increasing the hysteresis width in that time zone. In addition, it is possible to reduce the hysteresis width in the time period when the voltage comparison result changes, and it is possible to obtain a characteristic having excellent noise resistance with a small hysteresis width, and the change point of the output signal level is Noise resistance can be improved without delay.
【0055】また、電圧比較部の出力信号レベルにおけ
る変化点間の各周期の平均値からそれぞれ所定の方法で
算出した各時間を、電圧比較部における出力信号レベル
の変化点を検出するごとに対応する各時間設定部にそれ
ぞれ更新して設定するようにした。このことから、入力
信号の周波数が変化した場合においても、出力信号レベ
ルの変化点が遅れることなく耐雑音特性を向上させるこ
とができる。例えば、光ディスク装置においてCAV
(各速度一定)制御が行われる場合のウォブル信号を考
えると、光ピックアップが内周から外周へ移動すると徐
々に周波数が高くなってくる。このような場合の周波数
の変化はゆるやかであるので、直前の変化点の周期を基
にしてヒステリシス幅の変更タイミングの時間設定を自
動的に更新することができ、入力信号に対する耐雑音特
性を向上させることができる。Further, each time calculated by a predetermined method from the average value of each period between the change points of the output signal level of the voltage comparison section is corresponded to each time when the change point of the output signal level of the voltage comparison section is detected. Each time setting unit to be updated is updated and set. Therefore, even when the frequency of the input signal changes, the noise resistance characteristic can be improved without delaying the change point of the output signal level. For example, in an optical disk device, CAV
Considering the wobble signal when (variable speed) control is performed, the frequency gradually increases as the optical pickup moves from the inner circumference to the outer circumference. In such a case, the change in frequency is gradual, so the time setting of the change timing of the hysteresis width can be automatically updated based on the cycle of the immediately preceding change point, improving the noise resistance characteristics to the input signal. Can be made.
【0056】一方、電圧比較部の出力信号を遅延させて
出力する信号遅延部を備えることにより、ヒステリシス
幅切替部によるヒステリシス幅の切り替えのタイミング
に対して、内部回路や外部回路に出力する信号の信号レ
ベル変化点を相対的に遅くすることができる。このた
め、電圧比較部からデジタル雑音が発生する時間帯にお
いて、該時間帯の直前にヒステリシス幅が大きくなるよ
うに切り替えることができ、一瞬の大きなデジタル雑音
等に対しても耐雑音特性を向上させることができる。On the other hand, by providing the signal delay section for delaying and outputting the output signal of the voltage comparison section, the signal to be output to the internal circuit or the external circuit at the timing of switching the hysteresis width by the hysteresis width switching section is provided. The signal level change point can be relatively delayed. Therefore, in a time zone in which digital noise is generated from the voltage comparison unit, switching can be performed so that the hysteresis width becomes large immediately before the time zone, and the noise resistance characteristic is improved even for a momentary large digital noise or the like. be able to.
【図1】 本発明の第1の実施の形態における電圧比較
回路の例を示したブロック図である。FIG. 1 is a block diagram showing an example of a voltage comparison circuit according to a first embodiment of the present invention.
【図2】 図1の可変抵抗回路5の回路例を示した図で
ある。FIG. 2 is a diagram showing a circuit example of a variable resistance circuit 5 of FIG.
【図3】 図1及び図2で示した電圧比較回路1の動作
例を示した図である。FIG. 3 is a diagram showing an operation example of the voltage comparison circuit 1 shown in FIGS. 1 and 2.
【図4】 本発明の第1の実施の形態における電圧比較
回路の他の例を示したブロック図である。FIG. 4 is a block diagram showing another example of the voltage comparison circuit according to the first embodiment of the present invention.
【図5】 図4の可変抵抗回路5aの回路例を示した図
である。5 is a diagram showing a circuit example of a variable resistance circuit 5a in FIG.
【図6】 図4及び図5で示した電圧比較回路1の動作
例を示した図である。6 is a diagram showing an operation example of the voltage comparison circuit 1 shown in FIGS. 4 and 5. FIG.
【図7】 本発明の第2の実施の形態における電圧比較
回路の例を示したブロック図である。FIG. 7 is a block diagram showing an example of a voltage comparison circuit according to a second embodiment of the present invention.
【図8】 図7の変化点周期検出回路52の内部構成例
を示したブロック図である。8 is a block diagram showing an internal configuration example of a change point period detection circuit 52 in FIG.
【図9】 本発明の第2の実施の形態における電圧比較
回路の他の例を示したブロック図である。FIG. 9 is a block diagram showing another example of the voltage comparison circuit according to the second embodiment of the present invention.
【図10】 従来の電圧比較回路の例を示した回路図で
ある。FIG. 10 is a circuit diagram showing an example of a conventional voltage comparison circuit.
【図11】 図10で示した電圧比較回路100の動作
例を示した図である。11 is a diagram showing an operation example of the voltage comparison circuit 100 shown in FIG.
1,50 電圧比較回路
2 コンパレータ
3 基準電圧発生回路
4 抵抗
5,5a 可変抵抗回路
6 変化点検知回路
7 タイマー回路
8,8a〜8c,51,51a〜51c 時間設定レジ
スタ
9,9a〜9c 時間比較回路
10 遅延回路
52,52a〜52c 変化点周期検出回路
55 演算回路
FF1〜FF4 フリップフロップ1, 50 Voltage comparison circuit 2 Comparator 3 Reference voltage generation circuit 4 Resistor 5, 5a Variable resistance circuit 6 Change point detection circuit 7 Timer circuit 8, 8a-8c, 51, 51a-51c Time setting register 9, 9a-9c Time comparison Circuit 10 Delay circuit 52, 52a to 52c Change point cycle detection circuit 55 Operation circuit FF1 to FF4 Flip flop
Claims (7)
較し、該比較結果を示す2値の信号を出力する、ヒステ
リシス特性を有した電圧比較回路において、 前記基準電圧と入力信号の電圧とを比較して、該比較結
果を示す2値の信号を出力する電圧比較部と、 入力される制御信号に応じて該電圧比較部におけるヒス
テリシス幅の切り替えを行うヒステリシス幅切替部と、 前記電圧比較部の出力信号レベルの変化点を検知する変
化点検知部と、 該変化点検知部が変化点を検知するたびに、該変化点か
らの経過時間を測定して順次出力する経過時間測定部
と、 所定の時間が設定された時間設定部と、 前記経過時間測定部からの経過時間が該時間設定部に設
定された所定の時間になると、ヒステリシス幅切替部に
対して所定の制御信号を出力して前記ヒステリシス幅を
切り替えさせる時間比較部と、を備えることを特徴とす
る電圧比較回路。1. A voltage comparison circuit having a hysteresis characteristic, which compares a predetermined reference voltage with the voltage of an input signal and outputs a binary signal indicating the comparison result, wherein the voltage of the reference voltage and the voltage of the input signal are And a voltage comparison unit that outputs a binary signal indicating the comparison result, a hysteresis width switching unit that switches the hysteresis width in the voltage comparison unit according to an input control signal, and the voltage A change point detection unit that detects a change point of the output signal level of the comparison unit, and an elapsed time measurement unit that measures and sequentially outputs the elapsed time from the change point each time the change point detection unit detects the change point. And a time setting section for setting a predetermined time, and when the elapsed time from the elapsed time measuring section reaches a predetermined time set for the time setting section, a predetermined control signal is sent to the hysteresis width switching section. Output A voltage comparison circuit comprising: a time comparison unit that switches the hysteresis width.
部から所定の制御信号が入力されている間、ヒステリシ
ス幅が小さくなるように切り替えることを特徴とする請
求項1記載の電圧比較回路。2. The voltage comparison circuit according to claim 1, wherein the hysteresis width switching unit performs switching so that the hysteresis width becomes small while a predetermined control signal is being input from the time comparison unit.
時間から前記電圧比較部における出力信号レベルの変化
点間の周期を検出する変化点周期検出部を備え、該変化
点周期検出部は、該検出した変化点間の各周期の平均値
から所定の方法で算出した時間を、変化点検知部が前記
変化点を検出するたびに前記時間設定部に更新して設定
することを特徴とする請求項1又は2記載の電圧比較回
路。3. A change point period detection unit for detecting a period between change points of the output signal level in the voltage comparison unit from the elapsed time output from the elapsed time measurement unit, the change point period detection unit comprising: The time calculated by a predetermined method from the average value of each cycle between the detected change points is updated and set in the time setting unit each time the change point detection unit detects the change point. The voltage comparison circuit according to claim 1.
較し、該比較結果を示す2値の信号を出力する、ヒステ
リシス特性を有した電圧比較回路において、 前記基準電圧と入力信号の電圧とを比較して、該比較結
果を示す2値の信号を出力する電圧比較部と、 入力される制御信号に応じて該電圧比較部におけるヒス
テリシス幅の切り替えを行うヒステリシス幅切替部と、 前記電圧比較部の出力信号レベルの変化点を検知する変
化点検知部と、 該変化点検知部が変化点を検知するたびに、該変化点か
らの経過時間を測定して順次出力する経過時間測定部
と、 異なる所定の時間がそれぞれ設定された複数の時間設定
部と、 前記経過時間測定部からの経過時間が対応する時間設定
部に設定された所定の時間になると、ヒステリシス幅切
替部に対してそれぞれ所定の制御信号を出力して前記ヒ
ステリシス幅の切り替えを行わせる複数の時間比較部
と、を備えることを特徴とする電圧比較回路。4. A voltage comparison circuit having a hysteresis characteristic, which compares a predetermined reference voltage with a voltage of an input signal and outputs a binary signal indicating the comparison result. And a voltage comparison unit that outputs a binary signal indicating the comparison result, a hysteresis width switching unit that switches the hysteresis width in the voltage comparison unit according to an input control signal, and the voltage A change point detection unit that detects a change point of the output signal level of the comparison unit, and an elapsed time measurement unit that measures and sequentially outputs the elapsed time from the change point each time the change point detection unit detects the change point. A plurality of time setting units each having a different predetermined time set, and when the predetermined time set in the corresponding time setting unit from the elapsed time measuring unit reaches the hysteresis width switching unit, And a plurality of time comparators that respectively output a predetermined control signal to switch the hysteresis width.
較部から入力される各制御信号に応じて、ヒステリシス
幅を段階的に小さくなるように切り替えることを特徴と
する請求項4記載の電圧比較回路。5. The voltage comparison circuit according to claim 4, wherein the hysteresis width switching unit switches the hysteresis width so as to gradually decrease in accordance with each control signal input from each time comparison unit. circuit.
時間から対応する電圧比較部の出力信号レベルにおける
変化点間の周期をそれぞれ検出する各変化点周期検出部
を備え、該各変化点周期検出部は、該検出した変化点間
の各周期の平均値からそれぞれ所定の方法で算出した時
間を対応する前記各時間設定部にそれぞれ設定すること
を特徴とする請求項4又は5記載の電圧比較回路。6. A change point cycle detection unit for detecting a cycle between change points in the output signal level of the corresponding voltage comparison unit from the elapsed time output from the elapsed time measurement unit, and each change point cycle. 6. The voltage according to claim 4, wherein the detection unit sets the time calculated by a predetermined method from the average value of each cycle between the detected change points in each corresponding time setting unit. Comparison circuit.
する信号遅延部を備えることを特徴とする請求項1、
2、3、4、5又は6記載の電圧比較回路。7. A signal delay unit for delaying and outputting the output signal of the voltage comparison unit.
The voltage comparison circuit described in 2, 3, 4, 5 or 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001394431A JP2003198342A (en) | 2001-12-26 | 2001-12-26 | Voltage comparison circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001394431A JP2003198342A (en) | 2001-12-26 | 2001-12-26 | Voltage comparison circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2003198342A true JP2003198342A (en) | 2003-07-11 |
Family
ID=27601167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001394431A Pending JP2003198342A (en) | 2001-12-26 | 2001-12-26 | Voltage comparison circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2003198342A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006262686A (en) * | 2005-02-17 | 2006-09-28 | Canon Inc | Switching power supply, control method for the switching power supply, electronic device equipped with the switching power supply, recording apparatus equipped with switching power supply |
US7518963B2 (en) | 2004-06-09 | 2009-04-14 | Ricoh Company, Ltd | Phase difference detection circuit and optical disk device |
JP2015211270A (en) * | 2014-04-24 | 2015-11-24 | 株式会社東芝 | Reception circuit and communication system |
-
2001
- 2001-12-26 JP JP2001394431A patent/JP2003198342A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7518963B2 (en) | 2004-06-09 | 2009-04-14 | Ricoh Company, Ltd | Phase difference detection circuit and optical disk device |
JP2006262686A (en) * | 2005-02-17 | 2006-09-28 | Canon Inc | Switching power supply, control method for the switching power supply, electronic device equipped with the switching power supply, recording apparatus equipped with switching power supply |
JP2015211270A (en) * | 2014-04-24 | 2015-11-24 | 株式会社東芝 | Reception circuit and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6958639B2 (en) | Digital duty cycle correction circuit and method for multi-phase clock | |
US6914460B1 (en) | Counter-based clock doubler circuits and methods | |
JP2000134071A (en) | Variable delay circuit | |
JPWO2006038468A1 (en) | Phase difference measurement circuit | |
JP3918777B2 (en) | Pulse width modulation circuit | |
JPH10145197A (en) | Input signal read circuit | |
JP2003008414A (en) | Clock edge detection circuit | |
JP3764560B2 (en) | Digital delay circuit and digital PLL circuit | |
JP2003198342A (en) | Voltage comparison circuit | |
JP4245633B2 (en) | Filter adjustment circuit | |
JP4164357B2 (en) | Frequency comparator | |
US20040114469A1 (en) | Multi-phase clock time stamping | |
CN115472204A (en) | Shift register circuit and method for controlling shift register circuit | |
JP3202689B2 (en) | Delay circuit | |
JP3690915B2 (en) | Semiconductor device having random number generation circuit | |
KR0169792B1 (en) | Circuit for compensating a reproduction clock for encoding efm signal | |
JP3934504B2 (en) | Binary circuit | |
JP2000134072A (en) | Variable delay circuit | |
KR100532371B1 (en) | Eccentricity detect circuit | |
CN112217497A (en) | A continuous interference pulse filter circuit | |
US7053687B1 (en) | Binary hysteresis comparator circuits and methods | |
JP2004343291A (en) | Phase adjusting circuit | |
TW494634B (en) | Digital low-pass filter for digital signals and method to process a digital signal | |
JP3060970B2 (en) | Pulse width modulation circuit | |
JPH06104740A (en) | Measuring circuit for edge time of input signal and digital pll device |